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

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

Issue 22638008: DevTools: Use CodeMirror modes instead of highlight tokenizers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: address comments Created 7 years, 4 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
« no previous file with comments | « Source/devtools/front_end/inspector.html ('k') | Source/devtools/scripts/compile_frontend.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 span.cm-js-keyword {color: rgb(170, 13, 145);}
29 span.cm-js-number {color: rgb(28, 0, 207);}
30 span.cm-js-comment {color: rgb(0, 116, 0);}
31 span.cm-js-string {color: rgb(196, 26, 22);}
32 span.cm-js-string-2 {color: rgb(196, 26, 22);}
28 33
29 .webkit-css-comment { 34 span.cm-css-keyword { color: rgb(7, 144, 154);}
30 color: rgb(0, 116, 0); 35 span.cm-css-number {color: rgb(50, 0, 255);}
31 } 36 span.cm-css-comment {color: rgb(0, 116, 0);}
37 span.cm-css-def {color: rgb(200, 0, 0);}
38 span.cm-css-meta {color: rgb(200, 0, 0);}
39 span.cm-css-atom {color: rgb(7, 144, 154);}
40 span.cm-css-string {color: rgb(7, 144, 154);}
41 span.cm-css-string-2 {color: rgb(7, 144, 154);}
42 span.cm-css-link {color: rgb(7, 144, 154);}
43 span.cm-css-variable {color: rgb(200, 0, 0);}
44 span.cm-css-variable-2 {color: rgb(0, 0, 128);}
45 span.cm-css-property {color: rgb(200, 0, 0);}
32 46
33 .webkit-css-url, 47 span.cm-xml-meta {color: rgb(192, 192, 192);}
34 .webkit-css-color, 48 span.cm-xml-comment {color: rgb(35, 110, 37);}
35 .webkit-css-string, 49 span.cm-xml-string {color: rgb(26, 26, 166);}
36 .webkit-css-keyword { 50 span.cm-xml-tag {color: rgb(136, 18, 128);}
37 color: rgb(7, 144, 154); 51 span.cm-xml-attribute {color: rgb(153, 69, 0);}
38 } 52 span.cm-xml-link {color: #00e;}
39
40 .webkit-css-number {
41 color: rgb(50, 0, 255);
42 }
43
44 .webkit-css-property,
45 .webkit-css-at-rule {
46 color: rgb(200, 0, 0);
47 }
48
49 .webkit-css-selector {
50 color: #222;
51 }
52
53 .webkit-css-bang-keyword {
54 color: rgb(200, 0, 180);
55 }
56
57 .webkit-javascript-undef {
58 color: rgb(123, 123, 123);
59 }
60
61 .webkit-javascript-comment {
62 color: rgb(0, 116, 0);
63 }
64
65 .webkit-javascript-keyword {
66 color: rgb(170, 13, 145);
67 }
68
69 .webkit-javascript-number {
70 color: rgb(28, 0, 207);
71 }
72
73 .webkit-javascript-string,
74 .webkit-javascript-regexp {
75 color: rgb(196, 26, 22);
76 }
77
78 .webkit-javascript-ident {
79 color: #222;
80 }
81
82 .webkit-whitespace-1::before {
83 content: "·";
84 }
85
86 .webkit-whitespace-2::before {
87 content: "··";
88 }
89
90 .webkit-whitespace-4::before {
91 content: "····";
92 }
93
94 .webkit-whitespace-8::before {
95 content: "········";
96 }
97
98 .webkit-whitespace-16::before {
99 content: "················";
100 }
101
102 .webkit-whitespace::before {
103 position: absolute;
104 pointer-events: none;
105 color: rgb(175, 175, 175);
106 }
107 53
108 .webkit-html-comment { 54 .webkit-html-comment {
109 /* Keep this in sync with view-source.css (.webkit-html-comment) */ 55 /* Keep this in sync with view-source.css (.webkit-html-comment) */
110 color: rgb(35, 110, 37); 56 color: rgb(35, 110, 37);
111 } 57 }
112 58
113 .webkit-html-tag { 59 .webkit-html-tag {
114 /* Keep this in sync with view-source.css (.webkit-html-tag) */ 60 /* Keep this in sync with view-source.css (.webkit-html-tag) */
115 color: rgb(136, 18, 128); 61 color: rgb(136, 18, 128);
116 } 62 }
(...skipping 21 matching lines...) Expand all
138 84
139 .webkit-html-external-link { 85 .webkit-html-external-link {
140 /* Keep this in sync with view-source.css (.webkit-html-external-link) */ 86 /* Keep this in sync with view-source.css (.webkit-html-external-link) */
141 text-decoration: none; 87 text-decoration: none;
142 } 88 }
143 89
144 .webkit-html-external-link:hover { 90 .webkit-html-external-link:hover {
145 /* Keep this in sync with view-source.css (.webkit-html-external-link:hover) */ 91 /* Keep this in sync with view-source.css (.webkit-html-external-link:hover) */
146 text-decoration: underline; 92 text-decoration: underline;
147 } 93 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/inspector.html ('k') | Source/devtools/scripts/compile_frontend.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698