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

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

Issue 596323002: DevTools: make ElementsTreeOutline shadow dom-based. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: tests fixed Created 6 years, 2 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 12 matching lines...) Expand all
23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
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: 2px 0 0 0;
34 transform: translateZ(0); 34 transform: translateZ(0);
35 } 35 }
36 36
37 #elements-crumbs { 37 #elements-crumbs {
38 flex: 0 0 19px; 38 flex: 0 0 19px;
39 background-color: white; 39 background-color: white;
40 border-top: 1px solid #ccc; 40 border-top: 1px solid #ccc;
41 overflow: hidden; 41 overflow: hidden;
42 height: 19px; 42 height: 19px;
43 width: 100%; 43 width: 100%;
44 } 44 }
45 45
46 #elements-content > ol {
47 display: inline-block;
48 min-height: 100%;
49 transform: translateZ(0);
50 }
51
52 .elements-tree-outline.pick-node-mode {
53 cursor: pointer;
54 }
55
56 #elements-content .editing {
57 margin-left: 8px;
58 }
59
60 #elements-content .elements-gutter-decoration {
61 position: absolute;
62 left: 1px;
63 margin-top: 2px;
64 height: 8px;
65 width: 8px;
66 border-radius: 4px;
67 border: 1px solid orange;
68 background-color: orange;
69 }
70
71 #elements-content .elements-gutter-decoration.elements-has-decorated-children {
72 opacity: 0.5;
73 }
74
75 #elements-content .CodeMirror {
76 /* Consistent with the .editing class in inspectorStyle.css */
77 box-shadow: rgba(0, 0, 0, .5) 3px 3px 4px;
78 outline: 1px solid rgb(66%, 66%, 66%) !important;
79 background-color: white;
80 }
81
82 #elements-content .CodeMirror pre {
83 padding: 0;
84 }
85
86 #elements-content .CodeMirror-lines {
87 padding: 0;
88 }
89
90 .elements-tree-editor {
91 -webkit-user-select: text;
92 -webkit-user-modify: read-write-plaintext-only;
93 }
94
95 .metrics { 46 .metrics {
96 padding: 8px; 47 padding: 8px;
97 font-size: 10px; 48 font-size: 10px;
98 text-align: center; 49 text-align: center;
99 white-space: nowrap; 50 white-space: nowrap;
100 } 51 }
101 52
102 .metrics .label { 53 .metrics .label {
103 position: absolute; 54 position: absolute;
104 font-size: 10px; 55 font-size: 10px;
(...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 } 439 }
489 440
490 .body .styles-section .properties .inherited { 441 .body .styles-section .properties .inherited {
491 display: none; 442 display: none;
492 } 443 }
493 444
494 .styles-section.styles-show-inherited .properties .inherited { 445 .styles-section.styles-show-inherited .properties .inherited {
495 display: block; 446 display: block;
496 } 447 }
497 448
498 .add-attribute {
499 margin-left: 1px;
500 margin-right: 1px;
501 white-space: nowrap;
502 }
503
504 .section .event-bars { 449 .section .event-bars {
505 display: none; 450 display: none;
506 } 451 }
507 452
508 .section.expanded .event-bars { 453 .section.expanded .event-bars {
509 display: block; 454 display: block;
510 } 455 }
511 456
512 .event-bar { 457 .event-bar {
513 position: relative; 458 position: relative;
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
753 .crumbs .crumb.selected, .crumbs .crumb.selected:hover { 698 .crumbs .crumb.selected, .crumbs .crumb.selected:hover {
754 background-color: rgb(56, 121, 217); 699 background-color: rgb(56, 121, 217);
755 color: white; 700 color: white;
756 text-shadow: rgba(255, 255, 255, 0.5) 0 0 0; 701 text-shadow: rgba(255, 255, 255, 0.5) 0 0 0;
757 } 702 }
758 703
759 .crumbs .crumb:hover { 704 .crumbs .crumb:hover {
760 background-color: rgb(216, 216, 216); 705 background-color: rgb(216, 216, 216);
761 } 706 }
762 707
763 .elements-tree-element-pick-node-1 {
764 border-radius: 3px;
765 padding: 1px 0 1px 0;
766 -webkit-animation: elements-tree-element-pick-node-animation-1 0.5s 1;
767 }
768
769 .elements-tree-element-pick-node-2 {
770 border-radius: 3px;
771 padding: 1px 0 1px 0;
772 -webkit-animation: elements-tree-element-pick-node-animation-2 0.5s 1;
773 }
774
775 @-webkit-keyframes elements-tree-element-pick-node-animation-1 {
776 from { background-color: rgb(255, 210, 126); }
777 to { background-color: inherit; }
778 }
779
780 @-webkit-keyframes elements-tree-element-pick-node-animation-2 {
781 from { background-color: rgb(255, 210, 126); }
782 to { background-color: inherit; }
783 }
784
785 .sidebar-separator { 708 .sidebar-separator {
786 background-color: rgb(230, 230, 230); 709 background-color: rgb(230, 230, 230);
787 padding: 0 5px; 710 padding: 0 5px;
788 border-top: 1px solid rgb(189, 189, 189); 711 border-top: 1px solid rgb(189, 189, 189);
789 border-bottom: 1px solid rgb(189, 189, 189); 712 border-bottom: 1px solid rgb(189, 189, 189);
790 color: rgb(50, 50, 50); 713 color: rgb(50, 50, 50);
791 white-space: nowrap; 714 white-space: nowrap;
792 text-overflow: ellipsis; 715 text-overflow: ellipsis;
793 overflow: hidden; 716 overflow: hidden;
794 line-height: 16px; 717 line-height: 16px;
795 } 718 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/elements/ElementsTreeOutline.js ('k') | Source/devtools/front_end/elementsTreeOutline.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698