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

Side by Side Diff: Source/devtools/front_end/inspectorSyntaxHighlight.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) 2009 Apple Inc. All rights reserved. 2 * Copyright (C) 2009 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the 11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution. 12 * documentation and/or other materials provided with the distribution.
13 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of 13 * 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
14 * its contributors may be used to endorse or promote products derived 14 * its contributors may be used to endorse or promote products derived
15 * from this software without specific prior written permission. 15 * from this software without specific prior written permission.
16 * 16 *
17 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY 17 * THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
18 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 18 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
20 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY 20 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 21 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 22 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 23 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 */ 27 */
28 .cm-js-keyword {color: rgb(170, 13, 145);} 28 body /deep/ .cm-js-keyword {color: rgb(170, 13, 145);}
29 .cm-js-number {color: rgb(28, 0, 207);} 29 body /deep/ .cm-js-number {color: rgb(28, 0, 207);}
30 .cm-js-comment {color: rgb(0, 116, 0);} 30 body /deep/ .cm-js-comment {color: rgb(0, 116, 0);}
31 .cm-js-string {color: rgb(196, 26, 22);} 31 body /deep/ .cm-js-string {color: rgb(196, 26, 22);}
32 .cm-js-string-2 {color: rgb(196, 26, 22);} 32 body /deep/ .cm-js-string-2 {color: rgb(196, 26, 22);}
33 33
34 .cm-css-keyword { color: rgb(7, 144, 154);} 34 body /deep/ .cm-css-keyword { color: rgb(7, 144, 154);}
35 .cm-css-number {color: rgb(50, 0, 255);} 35 body /deep/ .cm-css-number {color: rgb(50, 0, 255);}
36 .cm-css-comment {color: rgb(0, 116, 0);} 36 body /deep/ .cm-css-comment {color: rgb(0, 116, 0);}
37 .cm-css-def {color: rgb(200, 0, 0);} 37 body /deep/ .cm-css-def {color: rgb(200, 0, 0);}
38 .cm-css-meta {color: rgb(200, 0, 0);} 38 body /deep/ .cm-css-meta {color: rgb(200, 0, 0);}
39 .cm-css-atom {color: rgb(7, 144, 154);} 39 body /deep/ .cm-css-atom {color: rgb(7, 144, 154);}
40 .cm-css-string {color: rgb(7, 144, 154);} 40 body /deep/ .cm-css-string {color: rgb(7, 144, 154);}
41 .cm-css-string-2 {color: rgb(7, 144, 154);} 41 body /deep/ .cm-css-string-2 {color: rgb(7, 144, 154);}
42 .cm-css-link {color: rgb(7, 144, 154);} 42 body /deep/ .cm-css-link {color: rgb(7, 144, 154);}
43 .cm-css-variable {color: rgb(200, 0, 0);} 43 body /deep/ .cm-css-variable {color: rgb(200, 0, 0);}
44 .cm-css-variable-2 {color: rgb(0, 0, 128);} 44 body /deep/ .cm-css-variable-2 {color: rgb(0, 0, 128);}
45 .cm-css-property, .webkit-css-property {color: rgb(200, 0, 0);} 45 body /deep/ .cm-css-property, .webkit-css-property {color: rgb(200, 0, 0);}
46 46
47 .cm-xml-meta {color: rgb(192, 192, 192);} 47 body /deep/ .cm-xml-meta {color: rgb(192, 192, 192);}
48 .cm-xml-comment {color: rgb(35, 110, 37);} 48 body /deep/ .cm-xml-comment {color: rgb(35, 110, 37);}
49 .cm-xml-string {color: rgb(26, 26, 166);} 49 body /deep/ .cm-xml-string {color: rgb(26, 26, 166);}
50 .cm-xml-tag {color: rgb(136, 18, 128);} 50 body /deep/ .cm-xml-tag {color: rgb(136, 18, 128);}
51 .cm-xml-attribute {color: rgb(153, 69, 0);} 51 body /deep/ .cm-xml-attribute {color: rgb(153, 69, 0);}
52 .cm-xml-link {color: #00e;} 52 body /deep/ .cm-xml-link {color: #00e;}
53 53
54 .webkit-html-comment { 54 body /deep/ .webkit-html-comment {
55 /* Keep this in sync with view-source.css (.webkit-html-comment) */ 55 /* Keep this in sync with view-source.css (.webkit-html-comment) */
56 color: rgb(35, 110, 37); 56 color: rgb(35, 110, 37);
57 } 57 }
58 58
59 .webkit-html-tag { 59 body /deep/ .webkit-html-tag {
60 /* Keep this in sync with view-source.css (.webkit-html-tag) */ 60 /* Keep this in sync with view-source.css (.webkit-html-tag) */
61 color: rgb(136, 18, 128); 61 color: rgb(136, 18, 128);
62 } 62 }
63 63
64 .webkit-html-pseudo-element { 64 body /deep/ .webkit-html-pseudo-element {
65 /* This one is non-standard. */ 65 /* This one is non-standard. */
66 color: brown; 66 color: brown;
67 } 67 }
68 68
69 .webkit-html-text-node { 69 body /deep/ .webkit-html-text-node {
70 unicode-bidi: -webkit-isolate; 70 unicode-bidi: -webkit-isolate;
71 } 71 }
72 72
73 .webkit-html-entity-value { 73 body /deep/ .webkit-html-entity-value {
74 /* This one is non-standard. */ 74 /* This one is non-standard. */
75 background-color: rgba(0, 0, 0, 0.15); 75 background-color: rgba(0, 0, 0, 0.15);
76 unicode-bidi: -webkit-isolate; 76 unicode-bidi: -webkit-isolate;
77 } 77 }
78 78
79 .webkit-html-doctype { 79 body /deep/ .webkit-html-doctype {
80 /* Keep this in sync with view-source.css (.webkit-html-doctype) */ 80 /* Keep this in sync with view-source.css (.webkit-html-doctype) */
81 color: rgb(192, 192, 192); 81 color: rgb(192, 192, 192);
82 } 82 }
83 83
84 .webkit-html-attribute-name { 84 body /deep/ .webkit-html-attribute-name {
85 /* Keep this in sync with view-source.css (.webkit-html-attribute-name) */ 85 /* Keep this in sync with view-source.css (.webkit-html-attribute-name) */
86 color: rgb(153, 69, 0); 86 color: rgb(153, 69, 0);
87 unicode-bidi: -webkit-isolate; 87 unicode-bidi: -webkit-isolate;
88 } 88 }
89 89
90 .webkit-html-attribute-value { 90 body /deep/ .webkit-html-attribute-value {
91 /* Keep this in sync with view-source.css (.webkit-html-attribute-value) */ 91 /* Keep this in sync with view-source.css (.webkit-html-attribute-value) */
92 color: rgb(26, 26, 166); 92 color: rgb(26, 26, 166);
93 unicode-bidi: -webkit-isolate; 93 unicode-bidi: -webkit-isolate;
94 } 94 }
95 95
96 .webkit-html-external-link, 96 body /deep/ .webkit-html-external-link,
97 .webkit-html-resource-link { 97 body /deep/ .webkit-html-resource-link {
98 /* Keep this in sync with view-source.css (.webkit-html-external-link, .webk it-html-resource-link) */ 98 /* Keep this in sync with view-source.css (.webkit-html-external-link, .webk it-html-resource-link) */
99 color: #00e; 99 color: #00e;
100 } 100 }
101 101
102 .webkit-html-resource-link { 102 body /deep/ .webkit-html-resource-link {
103 /* Required for consistency with view-source.css, since anchors may not have href attributes */ 103 /* Required for consistency with view-source.css, since anchors may not have href attributes */
104 text-decoration: underline; 104 text-decoration: underline;
105 cursor: pointer; 105 cursor: pointer;
106 } 106 }
107 107
108 .webkit-html-external-link { 108 body /deep/ .webkit-html-external-link {
109 /* Keep this in sync with view-source.css (.webkit-html-external-link) */ 109 /* Keep this in sync with view-source.css (.webkit-html-external-link) */
110 text-decoration: none; 110 text-decoration: none;
111 } 111 }
112 112
113 .webkit-html-external-link:hover { 113 body /deep/ .webkit-html-external-link:hover {
114 /* Keep this in sync with view-source.css (.webkit-html-external-link:hover) */ 114 /* Keep this in sync with view-source.css (.webkit-html-external-link:hover) */
115 text-decoration: underline; 115 text-decoration: underline;
116 } 116 }
117 117
118 .webkit-html-end-of-file { 118 body /deep/ .webkit-html-end-of-file {
119 /* Keep this in sync with view-source.css (.webkit-html-end-of-file) */ 119 /* Keep this in sync with view-source.css (.webkit-html-end-of-file) */
120 color: rgb(255, 0, 0); 120 color: rgb(255, 0, 0);
121 font-weight: bold; 121 font-weight: bold;
122 } 122 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/inspectorStyle.css ('k') | Source/devtools/front_end/ui/DOMExtension.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698