OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> | 3 * Copyright (C) 2009 Anthony Ricaud <rik@webkit.org> |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 } | 212 } |
213 | 213 |
214 .styles-section .properties li.not-parsed-ok { | 214 .styles-section .properties li.not-parsed-ok { |
215 margin-left: 0; | 215 margin-left: 0; |
216 } | 216 } |
217 | 217 |
218 .styles-section.computed-style .properties li.not-parsed-ok { | 218 .styles-section.computed-style .properties li.not-parsed-ok { |
219 margin-left: -6px; | 219 margin-left: -6px; |
220 } | 220 } |
221 | 221 |
222 .styles-section .properties li.filter-match, | |
223 .styles-section .simple-selector.filter-match { | |
224 background-color: rgba(255, 255, 0, 0.5); | |
225 } | |
226 | |
227 .styles-section .properties li.overloaded.filter-match { | |
228 background-color: rgba(255, 255, 0, 0.25); | |
229 } | |
230 | |
231 .styles-section .properties li.not-parsed-ok .exclamation-mark { | 222 .styles-section .properties li.not-parsed-ok .exclamation-mark { |
232 display: inline-block; | 223 display: inline-block; |
233 position: relative; | 224 position: relative; |
234 width: 11px; | 225 width: 11px; |
235 height: 10px; | 226 height: 10px; |
236 margin: 0 7px 0 0; | 227 margin: 0 7px 0 0; |
237 top: 1px; | 228 top: 1px; |
238 left: -36px; /* outdent to compensate for the top-level property indent */ | 229 left: -36px; /* outdent to compensate for the top-level property indent */ |
239 -webkit-user-select: none; | 230 -webkit-user-select: none; |
240 cursor: default; | 231 cursor: default; |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
432 .styles-section .properties .inactive, | 423 .styles-section .properties .inactive, |
433 .styles-section .properties .disabled, | 424 .styles-section .properties .disabled, |
434 .styles-section .properties .not-parsed-ok:not(.has-ignorable-error) { | 425 .styles-section .properties .not-parsed-ok:not(.has-ignorable-error) { |
435 text-decoration: line-through; | 426 text-decoration: line-through; |
436 } | 427 } |
437 | 428 |
438 .styles-section .properties .has-ignorable-error .webkit-css-property { | 429 .styles-section .properties .has-ignorable-error .webkit-css-property { |
439 color: inherit; | 430 color: inherit; |
440 } | 431 } |
441 | 432 |
| 433 .styles-section.computed-style .properties { |
| 434 margin-top: 18px; |
| 435 } |
| 436 |
442 .styles-section.computed-style .properties .disabled { | 437 .styles-section.computed-style .properties .disabled { |
443 text-decoration: none; | 438 text-decoration: none; |
444 opacity: 0.5; | 439 opacity: 0.5; |
445 } | 440 } |
446 | 441 |
447 .styles-section .properties .implicit, | 442 .styles-section .properties .implicit, |
448 .styles-section .properties .inherited { | 443 .styles-section .properties .inherited { |
449 opacity: 0.5; | 444 opacity: 0.5; |
450 } | 445 } |
451 | 446 |
452 .styles-section .properties .has-ignorable-error { | 447 .styles-section .properties .has-ignorable-error { |
453 color: gray; | 448 color: gray; |
454 } | 449 } |
455 | 450 |
456 .styles-element-state-pane { | 451 .styles-element-state-pane { |
| 452 background-color: rgb(240, 240, 240); |
457 overflow: hidden; | 453 overflow: hidden; |
458 margin-top: -56px; | 454 margin-top: -56px; |
459 padding-top: 18px; | 455 padding-top: 18px; |
460 height: 56px; | 456 height: 56px; |
461 -webkit-transition: margin-top 0.1s ease-in-out; | 457 -webkit-transition: margin-top 0.1s ease-in-out; |
462 padding-left: 2px; | 458 padding-left: 2px; |
463 } | 459 } |
464 | 460 |
465 .styles-element-state-pane.expanded { | 461 .styles-element-state-pane.expanded { |
466 border-bottom: 1px solid rgb(189, 189, 189); | 462 border-bottom: 1px solid rgb(189, 189, 189); |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
576 position: absolute; | 572 position: absolute; |
577 } | 573 } |
578 | 574 |
579 .sidebar-pane.composite > .body { | 575 .sidebar-pane.composite > .body { |
580 height: 100%; | 576 height: 100%; |
581 } | 577 } |
582 | 578 |
583 .sidebar-pane.composite .metrics { | 579 .sidebar-pane.composite .metrics { |
584 border-bottom: 1px solid rgb(64%, 64%, 64%); | 580 border-bottom: 1px solid rgb(64%, 64%, 64%); |
585 height: 206px; | 581 height: 206px; |
586 display: flex; | 582 display: -webkit-flex; |
587 flex-direction: column; | 583 -webkit-flex-direction: column; |
588 -webkit-align-items: center; | 584 -webkit-align-items: center; |
589 -webkit-justify-content: center; | 585 -webkit-justify-content: center; |
590 } | 586 } |
591 | 587 |
592 .sidebar-pane .metrics-and-styles, | |
593 .sidebar-pane .metrics-and-computed { | |
594 display: flex !important; | |
595 flex-direction: column !important; | |
596 position: relative; | |
597 } | |
598 | |
599 .sidebar-pane .style-panes-wrapper { | |
600 flex: 1; | |
601 overflow-y: auto; | |
602 position: relative; | |
603 } | |
604 | |
605 .sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar, | |
606 .sidebar-pane.composite .metrics-and-styles .sidebar-pane-toolbar { | |
607 position: absolute; | |
608 } | |
609 | |
610 input.filter-box { | |
611 outline: none !important; | |
612 } | |
613 | |
614 .sidebar-pane .filter-box-container > .filter-box { | |
615 margin: 1px 1px 1px 2px; | |
616 } | |
617 | |
618 .sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar { | 588 .sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar { |
619 margin-top: 4px; | 589 margin-top: 4px; |
620 margin-bottom: -4px; | 590 margin-bottom: -4px; |
621 position: relative; | 591 position: relative; |
622 } | 592 } |
623 | 593 |
624 .sidebar-pane.composite .platform-fonts .body { | 594 .sidebar-pane.composite .platform-fonts .body { |
625 padding: 1ex; | 595 padding: 1ex; |
626 -webkit-user-select: text; | 596 -webkit-user-select: text; |
627 } | 597 } |
(...skipping 16 matching lines...) Expand all Loading... |
644 | 614 |
645 .sidebar-pane.composite .platform-fonts .font-stats-item .delimeter { | 615 .sidebar-pane.composite .platform-fonts .font-stats-item .delimeter { |
646 margin: 0 1ex 0 1ex; | 616 margin: 0 1ex 0 1ex; |
647 } | 617 } |
648 | 618 |
649 .sidebar-pane.composite .metrics-and-styles .metrics { | 619 .sidebar-pane.composite .metrics-and-styles .metrics { |
650 border-bottom: none; | 620 border-bottom: none; |
651 } | 621 } |
652 | 622 |
653 .styles-section.computed-style > .header > .sidebar-pane-subtitle { | 623 .styles-section.computed-style > .header > .sidebar-pane-subtitle { |
654 line-height: 17px; | 624 top: 4px; |
655 margin: 2px; | 625 left: 8px; |
656 -webkit-user-select: none; | 626 -webkit-user-select: none; |
657 } | 627 } |
658 | 628 |
659 .styles-section.computed-style > .header > .sidebar-pane-subtitle > input { | 629 .styles-section.computed-style > .header > .sidebar-pane-subtitle > input { |
660 vertical-align: middle; | 630 vertical-align: middle; |
661 } | 631 } |
662 | 632 |
663 .sidebar-pane.composite .sidebar-pane-toolbar > .sidebar-pane-subtitle { | 633 .sidebar-pane.composite .sidebar-pane-toolbar > .sidebar-pane-subtitle { |
664 left: 8px; | 634 left: 8px; |
665 } | 635 } |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
716 | 686 |
717 .styles-clipboard-only { | 687 .styles-clipboard-only { |
718 display: inline-block; | 688 display: inline-block; |
719 width: 0; | 689 width: 0; |
720 opacity: 0; | 690 opacity: 0; |
721 } | 691 } |
722 | 692 |
723 li.child-editing .styles-clipboard-only { | 693 li.child-editing .styles-clipboard-only { |
724 display: none; | 694 display: none; |
725 } | 695 } |
OLD | NEW |