| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 The Chromium Authors. All rights reserved. | 2 * Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 * Use of this source code is governed by a BSD-style license that can be | 3 * Use of this source code is governed by a BSD-style license that can be |
| 4 * found in the LICENSE file. | 4 * found in the LICENSE file. |
| 5 */ | 5 */ |
| 6 | 6 |
| 7 .responsive-design { | 7 .responsive-design { |
| 8 overflow: hidden; | |
| 9 position: relative; | 8 position: relative; |
| 10 } | 9 } |
| 11 | 10 |
| 12 .responsive-design-sliders-container { | 11 .responsive-design-sliders-container { |
| 13 position: absolute; | 12 position: absolute; |
| 14 overflow: visible; | 13 overflow: visible; |
| 15 } | 14 } |
| 16 | 15 |
| 17 .responsive-design-slider-width, | 16 .responsive-design-slider-width, |
| 18 .responsive-design-slider-height { | 17 .responsive-design-slider-height { |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 428 .responsive-design-warning > div { | 427 .responsive-design-warning > div { |
| 429 flex: none; | 428 flex: none; |
| 430 } | 429 } |
| 431 | 430 |
| 432 .responsive-design-ruler-glasspane { | 431 .responsive-design-ruler-glasspane { |
| 433 position: absolute; | 432 position: absolute; |
| 434 left: 0px; | 433 left: 0px; |
| 435 right: 0px; | 434 right: 0px; |
| 436 top: 0px; | 435 top: 0px; |
| 437 background-color: transparent; | 436 background-color: transparent; |
| 438 overflow: hidden; | |
| 439 } | 437 } |
| 440 | 438 |
| 441 .responsive-design-toggle-media-inspector .glyph { | 439 .responsive-design-toggle-media-inspector .glyph { |
| 442 background-color: rgb(180, 180, 180); | 440 background-color: rgb(180, 180, 180); |
| 443 -webkit-mask-position: -128px -48px; | 441 -webkit-mask-position: -128px -48px; |
| 444 } | 442 } |
| 445 | 443 |
| 446 .responsive-design-toolbar button.responsive-design-toggle-media-inspector.toggl
ed-on .glyph:not(.shadow) { | 444 .responsive-design-toolbar button.responsive-design-toggle-media-inspector.toggl
ed-on .glyph:not(.shadow) { |
| 447 background-color: rgb(105, 194, 236) !important; | 445 background-color: rgb(105, 194, 236) !important; |
| 448 } | 446 } |
| 449 | 447 |
| 450 /* media */ | 448 /* Media query inspector */ |
| 451 | 449 |
| 452 .responsive-design-media-container { | 450 .responsive-design-media-container { |
| 453 flex: none; | 451 flex: none; |
| 454 } | 452 } |
| 455 | 453 |
| 456 .view.media-inspector-view { | 454 .view.media-inspector-view { |
| 457 overflow-y: auto; | 455 overflow: hidden; |
| 458 overflow-x: hidden; | |
| 459 background-color: rgb(0, 0, 0); | 456 background-color: rgb(0, 0, 0); |
| 460 max-height: 100px; | |
| 461 } | 457 } |
| 462 | 458 |
| 463 .media-inspector-view:not(.media-inspector-view-empty) { | 459 .media-inspector-view:not(.media-inspector-view-empty) { |
| 464 border-bottom: 1px solid rgb(104, 104, 104); | 460 border-bottom: 1px solid rgb(104, 104, 104); |
| 465 } | 461 } |
| 466 | 462 |
| 467 .media-inspector-view::-webkit-scrollbar { | 463 /* Media query bars */ |
| 468 background: rgb(54, 54, 54); | |
| 469 } | |
| 470 | |
| 471 .media-inspector-view::-webkit-scrollbar-thumb { | |
| 472 background: rgb(94, 94, 94); | |
| 473 } | |
| 474 | 464 |
| 475 .media-inspector-marker-container { | 465 .media-inspector-marker-container { |
| 476 position: relative; | 466 position: relative; |
| 477 margin: 2px 0 2px 0; | 467 margin: 2px 0 2px 0; |
| 468 height: 16px; |
| 478 } | 469 } |
| 479 | 470 |
| 480 .media-inspector-marker { | 471 .media-inspector-marker { |
| 481 position: absolute; | 472 position: absolute; |
| 482 top: 0px; | 473 top: 0px; |
| 483 bottom: 0px; | 474 bottom: 0px; |
| 484 white-space: nowrap; | 475 white-space: nowrap; |
| 485 border-radius: 2px; | 476 border-radius: 2px; |
| 477 padding-right: 1px; |
| 478 box-sizing: content-box; |
| 486 } | 479 } |
| 487 | 480 |
| 488 .media-inspector-marker-inactive { | 481 .media-inspector-marker-inactive { |
| 489 -webkit-filter: brightness(75%); | 482 -webkit-filter: brightness(85%); |
| 490 } | 483 } |
| 491 | 484 |
| 492 .media-inspector-marker-inactive:hover { | 485 .media-inspector-marker-highlight { |
| 493 -webkit-filter: brightness(100%); | 486 -webkit-filter: brightness(115%) !important; |
| 494 } | 487 } |
| 495 | 488 |
| 496 .media-inspector-marker-container:hover { | 489 .media-inspector-marker-max-width { |
| 497 background-color: rgb(32, 32, 32); | 490 background: linear-gradient(to bottom, rgb(72, 139, 249), rgb(26, 113, 233))
; |
| 498 } | 491 box-shadow: rgb(0, 0, 0) 1px 0 3px; |
| 499 | |
| 500 .media-inspector-marker-container:hover .media-inspector-marker { | |
| 501 -webkit-filter: brightness(125%); | |
| 502 } | |
| 503 | |
| 504 .media-inspector-marker-container-max-width .media-inspector-marker { | |
| 505 background: linear-gradient(to bottom, rgb(72,139,249), rgb(26,113,233)); | |
| 506 border-right: 3px solid rgb(51,148,242); | |
| 507 border-radius: 0 2px 2px 0; | 492 border-radius: 0 2px 2px 0; |
| 508 } | 493 } |
| 509 | 494 |
| 510 .media-inspector-marker-container-min-max-width .media-inspector-marker { | 495 .media-inspector-marker-min-max-width { |
| 511 background: linear-gradient(to bottom, rgb(102,186,11), rgb(4,166,0)); | 496 background: linear-gradient(to bottom, rgb(102, 186, 11), rgb(4, 166, 0)); |
| 512 border-left: 3px solid rgb(109,219,85); | 497 box-shadow: rgb(0, 0, 0) -1px 0 3px, rgb(0, 0, 0) 1px 0 3px; |
| 513 border-right: 3px solid rgb(109,219,85); | 498 border-radius: 2px; |
| 514 } | 499 } |
| 515 | 500 |
| 516 .media-inspector-marker-container-min-width .media-inspector-marker { | 501 .media-inspector-marker-min-width { |
| 517 background: linear-gradient(to bottom, rgb(222,129,30), rgb(204,104,31)); | 502 background: linear-gradient(to bottom, rgb(222, 129, 30), rgb(204, 104, 31))
; |
| 518 border-left: 3px solid rgb(243,170,42); | 503 box-shadow: rgb(0, 0, 0) -1px 0 3px; |
| 519 border-radius: 2px 0 0 2px; | 504 border-radius: 2px 0 0 2px; |
| 520 } | 505 } |
| 521 | 506 |
| 522 .media-inspector-marker-container:not(.media-inspector-marker-container-max-widt
h) .media-inspector-max-label-filler, | 507 .media-inspector-marker-under-highlighted { |
| 523 .media-inspector-marker-container:not(.media-inspector-marker-container-max-widt
h) .media-inspector-min-label-filler { | 508 background: transparent !important; |
| 524 min-width: 50px; | 509 box-shadow: none !important; |
| 525 } | 510 } |
| 526 | 511 |
| 527 .media-inspector-max-label-filler { | 512 /* Media query serifs on ruler */ |
| 528 flex: auto; | |
| 529 } | |
| 530 | 513 |
| 531 .media-inspector-min-label-filler { | 514 .media-inspector-threshold { |
| 532 display: flex; | |
| 533 justify-content: flex-end; | |
| 534 } | |
| 535 | |
| 536 .media-inspector-marker-label { | |
| 537 color: rgb(180, 180, 180); | |
| 538 position: relative; | |
| 539 text-shadow: 0px 0px 2px black; | |
| 540 } | |
| 541 | |
| 542 .media-inspector-min-label { | |
| 543 padding-right: 11px; | |
| 544 } | |
| 545 | |
| 546 .media-inspector-min-label::after { | |
| 547 position: absolute; | |
| 548 padding-left: 2px; | |
| 549 right: -1px; | |
| 550 height: 6px; | |
| 551 content: url(Images/graphLabelCalloutLeft.png); | |
| 552 -webkit-filter: invert(0.8); | |
| 553 box-sizing: border-box; | |
| 554 } | |
| 555 | |
| 556 .media-inspector-max-label { | |
| 557 padding-left: 11px; | |
| 558 } | |
| 559 | |
| 560 .media-inspector-max-label::before { | |
| 561 position: absolute; | |
| 562 padding-right: 2px; | |
| 563 left: -1px; | |
| 564 height: 6px; | |
| 565 content: url(Images/graphLabelCalloutRight.png); | |
| 566 -webkit-filter: invert(0.8); | |
| 567 } | |
| 568 | |
| 569 .media-inspector-threshold-serif { | |
| 570 position: absolute; | 515 position: absolute; |
| 571 top: 0px; | 516 top: 0px; |
| 572 bottom: 0px; | 517 bottom: 0px; |
| 573 width: 5px; | 518 width: 5px; |
| 574 margin-left: -2px; | 519 margin-left: -2px; |
| 575 } | 520 } |
| 576 | 521 |
| 577 .media-inspector-threshold-serif::before { | 522 .media-inspector-threshold::before { |
| 578 content: "."; | 523 content: "."; |
| 579 color: transparent; | 524 color: transparent; |
| 580 position: absolute; | 525 position: absolute; |
| 581 left: 2px; | 526 left: 2px; |
| 582 right: 2px; | 527 right: 2px; |
| 583 top: 0px; | 528 top: 0px; |
| 584 bottom: 0px; | 529 bottom: 0px; |
| 585 border-left: 1px solid rgba(225, 124, 0, 0.86); | |
| 586 box-sizing: border-box; | 530 box-sizing: border-box; |
| 587 } | 531 } |
| 588 | 532 |
| 589 .media-inspector-threshold-serif:hover { | 533 .media-inspector-threshold-max:hover { |
| 590 background-color: rgba(225, 124, 0, 0.86); | 534 background-color: rgb(26, 113, 233); |
| 591 } | 535 } |
| 592 | 536 |
| 593 .media-inspector-marker-highlight-1 { | 537 .media-inspector-threshold-min-max:hover { |
| 594 -webkit-animation: media-inspector-animation-highlight-1 0.7s 1; | 538 background-color: rgb(4, 166, 0); |
| 595 } | 539 } |
| 596 | 540 |
| 597 .media-inspector-marker-highlight-2 { | 541 .media-inspector-threshold-min:hover { |
| 598 -webkit-animation: media-inspector-animation-highlight-2 0.7s 1; | 542 background-color: rgb(204, 104, 31); |
| 599 } | 543 } |
| 600 | 544 |
| 601 | 545 .media-inspector-threshold-max::before { |
| 602 @-webkit-keyframes media-inspector-animation-highlight-1 { | 546 border-left: 1px solid rgb(26, 113, 233); |
| 603 from { -webkit-filter: brightness(135%); } | |
| 604 to { -webkit-filter: brightness(100%); } | |
| 605 } | 547 } |
| 606 | 548 |
| 607 @-webkit-keyframes media-inspector-animation-highlight-2 { | 549 .media-inspector-threshold-min-max::before { |
| 608 from { -webkit-filter: brightness(135%); } | 550 border-left: 1px solid rgb(4, 166, 0); |
| 609 to { -webkit-filter: brightness(100%); } | |
| 610 } | 551 } |
| 552 |
| 553 .media-inspector-threshold-min::before { |
| 554 border-left: 1px solid rgb(204, 104, 31); |
| 555 } |
| 556 |
| 557 /* Media query extension lines on ruler */ |
| 558 |
| 559 .media-inspector-highlight-threshold { |
| 560 position: absolute; |
| 561 bottom: 0; |
| 562 width: 1px; |
| 563 -webkit-filter: brightness(115%); |
| 564 } |
| 565 |
| 566 .media-inspector-highlight-threshold-one-row { |
| 567 top: -4px; |
| 568 } |
| 569 |
| 570 .media-inspector-highlight-threshold-two-rows { |
| 571 top: -22px; |
| 572 } |
| 573 |
| 574 .media-inspector-highlight-threshold-three-rows { |
| 575 top: -40px; |
| 576 } |
| 577 |
| 578 .media-inspector-highlight-threshold-max { |
| 579 background-color: rgb(26, 113, 233); |
| 580 } |
| 581 |
| 582 .media-inspector-highlight-threshold-min-max { |
| 583 background-color: rgb(4, 166, 0); |
| 584 } |
| 585 |
| 586 .media-inspector-highlight-threshold-min { |
| 587 background-color: rgb(204, 104, 31); |
| 588 } |
| 589 |
| 590 .media-inspector-highlight-threshold-label { |
| 591 position: absolute; |
| 592 color: rgb(255, 255, 255); |
| 593 font-size: 13px; |
| 594 bottom: 8px; |
| 595 } |
| 596 |
| 597 .media-inspector-highlight-threshold-left .media-inspector-highlight-threshold-l
abel { |
| 598 right: 2px; |
| 599 } |
| 600 |
| 601 .media-inspector-highlight-threshold-right .media-inspector-highlight-threshold-
label { |
| 602 left: 2px; |
| 603 } |
| OLD | NEW |