Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Side by Side Diff: Source/devtools/front_end/elementsPanel.css

Issue 129793013: DevTools: Implement Styles search and Computed style filter (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Move Computed style filter to the bottom Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 16 matching lines...) Expand all
27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28 */ 28 */
29 29
30 #elements-content { 30 #elements-content {
31 flex: 1 1; 31 flex: 1 1;
32 overflow: auto; 32 overflow: auto;
33 padding-left: 0; 33 padding-left: 0;
34 } 34 }
35 35
36 #elements-crumbs { 36 #elements-crumbs {
37 flex: 0 0 19px; 37 flex: 0 0 23px;
38 background-color: rgb(236, 236, 236); 38 background-color: rgb(236, 236, 236);
39 border-top: 1px solid #ccc; 39 border-top: 1px solid #ccc;
40 } 40 }
41 41
42 #elements-content > ol { 42 #elements-content > ol {
43 display: inline-block; 43 display: inline-block;
44 min-height: 100%; 44 min-height: 100%;
45 } 45 }
46 46
47 #elements-content .editing { 47 #elements-content .editing {
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 } 209 }
210 210
211 .styles-section .properties li.not-parsed-ok { 211 .styles-section .properties li.not-parsed-ok {
212 margin-left: 0; 212 margin-left: 0;
213 } 213 }
214 214
215 .styles-section.computed-style .properties li.not-parsed-ok { 215 .styles-section.computed-style .properties li.not-parsed-ok {
216 margin-left: -6px; 216 margin-left: -6px;
217 } 217 }
218 218
219 .styles-section .properties li.filter-match,
220 .styles-section .simple-selector.filter-match {
221 background-color: rgba(255, 255, 0, 0.5);
222 }
223
224 .styles-section .properties li.overloaded.filter-match {
225 background-color: rgba(255, 255, 0, 0.25);
226 }
227
219 .styles-section .properties li.not-parsed-ok .exclamation-mark { 228 .styles-section .properties li.not-parsed-ok .exclamation-mark {
220 display: inline-block; 229 display: inline-block;
221 position: relative; 230 position: relative;
222 width: 11px; 231 width: 11px;
223 height: 10px; 232 height: 10px;
224 margin: 0 7px 0 0; 233 margin: 0 7px 0 0;
225 top: 1px; 234 top: 1px;
226 left: -36px; /* outdent to compensate for the top-level property indent */ 235 left: -36px; /* outdent to compensate for the top-level property indent */
227 -webkit-user-select: none; 236 -webkit-user-select: none;
228 cursor: default; 237 cursor: default;
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 .styles-section .properties .inactive, 429 .styles-section .properties .inactive,
421 .styles-section .properties .disabled, 430 .styles-section .properties .disabled,
422 .styles-section .properties .not-parsed-ok:not(.has-ignorable-error) { 431 .styles-section .properties .not-parsed-ok:not(.has-ignorable-error) {
423 text-decoration: line-through; 432 text-decoration: line-through;
424 } 433 }
425 434
426 .styles-section .properties .has-ignorable-error .webkit-css-property { 435 .styles-section .properties .has-ignorable-error .webkit-css-property {
427 color: inherit; 436 color: inherit;
428 } 437 }
429 438
430 .styles-section.computed-style .properties {
431 margin-top: 18px;
432 }
433
434 .styles-section.computed-style .properties .disabled { 439 .styles-section.computed-style .properties .disabled {
435 text-decoration: none; 440 text-decoration: none;
436 opacity: 0.5; 441 opacity: 0.5;
437 } 442 }
438 443
439 .styles-section .properties .implicit, 444 .styles-section .properties .implicit,
440 .styles-section .properties .inherited { 445 .styles-section .properties .inherited {
441 opacity: 0.5; 446 opacity: 0.5;
442 } 447 }
443 448
444 .styles-section .properties .has-ignorable-error { 449 .styles-section .properties .has-ignorable-error {
445 color: gray; 450 color: gray;
446 } 451 }
447 452
448 .styles-element-state-pane { 453 .styles-element-state-pane {
449 background-color: rgb(240, 240, 240);
450 overflow: hidden; 454 overflow: hidden;
451 margin-top: -56px; 455 margin-top: -56px;
452 padding-top: 18px; 456 padding-top: 18px;
453 height: 56px; 457 height: 56px;
454 -webkit-transition: margin-top 0.1s ease-in-out; 458 -webkit-transition: margin-top 0.1s ease-in-out;
455 padding-left: 2px; 459 padding-left: 2px;
456 } 460 }
457 461
458 .styles-element-state-pane.expanded { 462 .styles-element-state-pane.expanded {
459 border-bottom: 1px solid rgb(189, 189, 189); 463 border-bottom: 1px solid rgb(189, 189, 189);
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 position: absolute; 574 position: absolute;
571 } 575 }
572 576
573 .sidebar-pane.composite > .body { 577 .sidebar-pane.composite > .body {
574 height: 100%; 578 height: 100%;
575 } 579 }
576 580
577 .sidebar-pane.composite .metrics { 581 .sidebar-pane.composite .metrics {
578 border-bottom: 1px solid rgb(64%, 64%, 64%); 582 border-bottom: 1px solid rgb(64%, 64%, 64%);
579 height: 206px; 583 height: 206px;
580 display: -webkit-flex; 584 display: flex;
581 -webkit-flex-direction: column; 585 flex-direction: column;
582 -webkit-align-items: center; 586 -webkit-align-items: center;
583 -webkit-justify-content: center; 587 -webkit-justify-content: center;
584 } 588 }
585 589
590 .sidebar-pane .metrics-and-styles,
591 .sidebar-pane .metrics-and-computed {
592 display: flex !important;
593 flex-direction: column !important;
594 position: relative;
595 }
596
597 .sidebar-pane .style-panes-wrapper {
598 flex: 1;
599 overflow-y: auto;
600 position: relative;
601 }
602
603 .sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar,
604 .sidebar-pane.composite .metrics-and-styles .sidebar-pane-toolbar {
605 position: absolute;
606 }
607
608 input.filter-box {
609 outline: none !important;
610 }
611
612 .sidebar-pane .filter-box-container > .filter-box {
613 flex: auto;
614 margin: 1px;
615 }
616
586 .sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar { 617 .sidebar-pane.composite .metrics-and-computed .sidebar-pane-toolbar {
587 margin-top: 4px; 618 margin-top: 4px;
588 margin-bottom: -4px; 619 margin-bottom: -4px;
589 position: relative; 620 position: relative;
590 } 621 }
591 622
592 .sidebar-pane.composite .platform-fonts .body { 623 .sidebar-pane.composite .platform-fonts .body {
593 padding: 1ex; 624 padding: 1ex;
594 -webkit-user-select: text; 625 -webkit-user-select: text;
595 } 626 }
(...skipping 16 matching lines...) Expand all
612 643
613 .sidebar-pane.composite .platform-fonts .font-stats-item .delimeter { 644 .sidebar-pane.composite .platform-fonts .font-stats-item .delimeter {
614 margin: 0 1ex 0 1ex; 645 margin: 0 1ex 0 1ex;
615 } 646 }
616 647
617 .sidebar-pane.composite .metrics-and-styles .metrics { 648 .sidebar-pane.composite .metrics-and-styles .metrics {
618 border-bottom: none; 649 border-bottom: none;
619 } 650 }
620 651
621 .styles-section.computed-style > .header > .sidebar-pane-subtitle { 652 .styles-section.computed-style > .header > .sidebar-pane-subtitle {
622 top: 4px; 653 line-height: 17px;
623 left: 8px; 654 margin: 2px;
624 -webkit-user-select: none; 655 -webkit-user-select: none;
625 } 656 }
626 657
627 .styles-section.computed-style > .header > .sidebar-pane-subtitle > input { 658 .styles-section.computed-style > .header > .sidebar-pane-subtitle > input {
628 vertical-align: middle; 659 vertical-align: middle;
629 } 660 }
630 661
631 .sidebar-pane.composite .sidebar-pane-toolbar > .sidebar-pane-subtitle { 662 .sidebar-pane.composite .sidebar-pane-toolbar > .sidebar-pane-subtitle {
632 left: 8px; 663 left: 8px;
633 } 664 }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
684 715
685 .styles-clipboard-only { 716 .styles-clipboard-only {
686 display: inline-block; 717 display: inline-block;
687 width: 0; 718 width: 0;
688 opacity: 0; 719 opacity: 0;
689 } 720 }
690 721
691 li.child-editing .styles-clipboard-only { 722 li.child-editing .styles-clipboard-only {
692 display: none; 723 display: none;
693 } 724 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698