| 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 |
| 222 .styles-section .properties li.not-parsed-ok .exclamation-mark { | 231 .styles-section .properties li.not-parsed-ok .exclamation-mark { |
| 223 display: inline-block; | 232 display: inline-block; |
| 224 position: relative; | 233 position: relative; |
| 225 width: 11px; | 234 width: 11px; |
| 226 height: 10px; | 235 height: 10px; |
| 227 margin: 0 7px 0 0; | 236 margin: 0 7px 0 0; |
| 228 top: 1px; | 237 top: 1px; |
| 229 left: -36px; /* outdent to compensate for the top-level property indent */ | 238 left: -36px; /* outdent to compensate for the top-level property indent */ |
| 230 -webkit-user-select: none; | 239 -webkit-user-select: none; |
| 231 cursor: default; | 240 cursor: default; |
| (...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 .styles-section .properties .inactive, | 432 .styles-section .properties .inactive, |
| 424 .styles-section .properties .disabled, | 433 .styles-section .properties .disabled, |
| 425 .styles-section .properties .not-parsed-ok:not(.has-ignorable-error) { | 434 .styles-section .properties .not-parsed-ok:not(.has-ignorable-error) { |
| 426 text-decoration: line-through; | 435 text-decoration: line-through; |
| 427 } | 436 } |
| 428 | 437 |
| 429 .styles-section .properties .has-ignorable-error .webkit-css-property { | 438 .styles-section .properties .has-ignorable-error .webkit-css-property { |
| 430 color: inherit; | 439 color: inherit; |
| 431 } | 440 } |
| 432 | 441 |
| 433 .styles-section.computed-style .properties { | |
| 434 margin-top: 18px; | |
| 435 } | |
| 436 | |
| 437 .styles-section.computed-style .properties .disabled { | 442 .styles-section.computed-style .properties .disabled { |
| 438 text-decoration: none; | 443 text-decoration: none; |
| 439 opacity: 0.5; | 444 opacity: 0.5; |
| 440 } | 445 } |
| 441 | 446 |
| 442 .styles-section .properties .implicit, | 447 .styles-section .properties .implicit, |
| 443 .styles-section .properties .inherited { | 448 .styles-section .properties .inherited { |
| 444 opacity: 0.5; | 449 opacity: 0.5; |
| 445 } | 450 } |
| 446 | 451 |
| 447 .styles-section .properties .has-ignorable-error { | 452 .styles-section .properties .has-ignorable-error { |
| 448 color: gray; | 453 color: gray; |
| 449 } | 454 } |
| 450 | 455 |
| 451 .styles-element-state-pane { | 456 .styles-element-state-pane { |
| 452 background-color: rgb(240, 240, 240); | |
| 453 overflow: hidden; | 457 overflow: hidden; |
| 454 margin-top: -56px; | 458 margin-top: -56px; |
| 455 padding-top: 18px; | 459 padding-top: 18px; |
| 456 height: 56px; | 460 height: 56px; |
| 457 -webkit-transition: margin-top 0.1s ease-in-out; | 461 -webkit-transition: margin-top 0.1s ease-in-out; |
| 458 padding-left: 2px; | 462 padding-left: 2px; |
| 459 } | 463 } |
| 460 | 464 |
| 461 .styles-element-state-pane.expanded { | 465 .styles-element-state-pane.expanded { |
| 462 border-bottom: 1px solid rgb(189, 189, 189); | 466 border-bottom: 1px solid rgb(189, 189, 189); |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 position: absolute; | 576 position: absolute; |
| 573 } | 577 } |
| 574 | 578 |
| 575 .sidebar-pane.composite > .body { | 579 .sidebar-pane.composite > .body { |
| 576 height: 100%; | 580 height: 100%; |
| 577 } | 581 } |
| 578 | 582 |
| 579 .sidebar-pane.composite .metrics { | 583 .sidebar-pane.composite .metrics { |
| 580 border-bottom: 1px solid rgb(64%, 64%, 64%); | 584 border-bottom: 1px solid rgb(64%, 64%, 64%); |
| 581 height: 206px; | 585 height: 206px; |
| 582 display: -webkit-flex; | 586 display: flex; |
| 583 -webkit-flex-direction: column; | 587 flex-direction: column; |
| 584 -webkit-align-items: center; | 588 -webkit-align-items: center; |
| 585 -webkit-justify-content: center; | 589 -webkit-justify-content: center; |
| 586 } | 590 } |
| 587 | 591 |
| 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 |
| 588 .sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar { | 618 .sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar { |
| 589 margin-top: 4px; | 619 margin-top: 4px; |
| 590 margin-bottom: -4px; | 620 margin-bottom: -4px; |
| 591 position: relative; | 621 position: relative; |
| 592 } | 622 } |
| 593 | 623 |
| 594 .sidebar-pane.composite .platform-fonts .body { | 624 .sidebar-pane.composite .platform-fonts .body { |
| 595 padding: 1ex; | 625 padding: 1ex; |
| 596 -webkit-user-select: text; | 626 -webkit-user-select: text; |
| 597 } | 627 } |
| (...skipping 16 matching lines...) Expand all Loading... |
| 614 | 644 |
| 615 .sidebar-pane.composite .platform-fonts .font-stats-item .delimeter { | 645 .sidebar-pane.composite .platform-fonts .font-stats-item .delimeter { |
| 616 margin: 0 1ex 0 1ex; | 646 margin: 0 1ex 0 1ex; |
| 617 } | 647 } |
| 618 | 648 |
| 619 .sidebar-pane.composite .metrics-and-styles .metrics { | 649 .sidebar-pane.composite .metrics-and-styles .metrics { |
| 620 border-bottom: none; | 650 border-bottom: none; |
| 621 } | 651 } |
| 622 | 652 |
| 623 .styles-section.computed-style > .header > .sidebar-pane-subtitle { | 653 .styles-section.computed-style > .header > .sidebar-pane-subtitle { |
| 624 top: 4px; | 654 line-height: 17px; |
| 625 left: 8px; | 655 margin: 2px; |
| 626 -webkit-user-select: none; | 656 -webkit-user-select: none; |
| 627 } | 657 } |
| 628 | 658 |
| 629 .styles-section.computed-style > .header > .sidebar-pane-subtitle > input { | 659 .styles-section.computed-style > .header > .sidebar-pane-subtitle > input { |
| 630 vertical-align: middle; | 660 vertical-align: middle; |
| 631 } | 661 } |
| 632 | 662 |
| 633 .sidebar-pane.composite .sidebar-pane-toolbar > .sidebar-pane-subtitle { | 663 .sidebar-pane.composite .sidebar-pane-toolbar > .sidebar-pane-subtitle { |
| 634 left: 8px; | 664 left: 8px; |
| 635 } | 665 } |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 686 | 716 |
| 687 .styles-clipboard-only { | 717 .styles-clipboard-only { |
| 688 display: inline-block; | 718 display: inline-block; |
| 689 width: 0; | 719 width: 0; |
| 690 opacity: 0; | 720 opacity: 0; |
| 691 } | 721 } |
| 692 | 722 |
| 693 li.child-editing .styles-clipboard-only { | 723 li.child-editing .styles-clipboard-only { |
| 694 display: none; | 724 display: none; |
| 695 } | 725 } |
| OLD | NEW |