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

Side by Side Diff: Source/devtools/front_end/cm/cmdevtools.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
OLDNEW
1 .CodeMirror * { 1 .CodeMirror * {
2 box-sizing: content-box; 2 box-sizing: content-box;
3 } 3 }
4 4
5 .CodeMirror { 5 .CodeMirror {
6 line-height: 1.2em !important; 6 line-height: 1.2em !important;
7 background-color: transparent !important; 7 background-color: transparent !important;
8 } 8 }
9 9
10 .CodeMirror .source-frame-eval-expression { 10 .CodeMirror .source-frame-eval-expression {
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 border-top-right-radius: 1px; 188 border-top-right-radius: 1px;
189 border-bottom-right-radius: 1px; 189 border-bottom-right-radius: 1px;
190 } 190 }
191 191
192 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight:before { 192 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight:before {
193 margin: -1px -1px -1px -1px; 193 margin: -1px -1px -1px -1px;
194 background-color: rgb(241, 234, 0); 194 background-color: rgb(241, 234, 0);
195 z-index: -1; 195 z-index: -1;
196 } 196 }
197 197
198 span.cm-js-keyword {color: rgb(170, 13, 145);}
199 span.cm-js-number {color: rgb(28, 0, 207);}
200 span.cm-js-comment {color: rgb(0, 116, 0);}
201 span.cm-js-string {color: rgb(196, 26, 22);}
202 span.cm-js-string-2 {color: rgb(196, 26, 22);}
203
204 span.cm-css-keyword { color: rgb(7, 144, 154);}
205 span.cm-css-number {color: rgb(50, 0, 255);}
206 span.cm-css-comment {color: rgb(0, 116, 0);}
207 span.cm-css-def {color: rgb(200, 0, 0);}
208 span.cm-css-meta {color: rgb(200, 0, 0);}
209 span.cm-css-atom {color: rgb(7, 144, 154);}
210 span.cm-css-string {color: rgb(7, 144, 154);}
211 span.cm-css-string-2 {color: rgb(7, 144, 154);}
212 span.cm-css-link {color: rgb(7, 144, 154);}
213 span.cm-css-variable {color: rgb(200, 0, 0);}
214 span.cm-css-variable-2 {color: rgb(0, 0, 128);}
215 span.cm-css-property {color: rgb(200, 0, 0);}
216
217 span.cm-xml-meta {color: rgb(192, 192, 192);}
218 span.cm-xml-comment {color: rgb(35, 110, 37);}
219 span.cm-xml-string {color: rgb(26, 26, 166);}
220 span.cm-xml-tag {color: rgb(136, 18, 128);}
221 span.cm-xml-attribute {color: rgb(153, 69, 0);}
222 span.cm-xml-link {color: #00e;}
223
224 .CodeMirror .webkit-html-message-bubble { 198 .CodeMirror .webkit-html-message-bubble {
225 box-shadow: black 0px 2px 5px; 199 box-shadow: black 0px 2px 5px;
226 border-radius: 9px; 200 border-radius: 9px;
227 -webkit-border-fit: lines; 201 -webkit-border-fit: lines;
228 font-size: 10px; 202 font-size: 10px;
229 font-family: Lucida Grande, sans-serif; 203 font-family: Lucida Grande, sans-serif;
230 font-weight: bold; 204 font-weight: bold;
231 margin: 3px 10px; 205 margin: 3px 10px;
232 padding: 1px 2px 0; 206 padding: 1px 2px 0;
233 z-index: 5; 207 z-index: 5;
234 } 208 }
235 209
236 .CodeMirror .webkit-html-message-bubble img { 210 .CodeMirror .webkit-html-message-bubble img {
237 position: relative; 211 position: relative;
238 top: 1px; 212 top: 1px;
239 margin-right: 2px; 213 margin-right: 2px;
240 } 214 }
241 215
242 .CodeMirror .webkit-html-warning-message { 216 .CodeMirror .webkit-html-warning-message {
243 background-color: rgb(100%, 62%, 42%); 217 background-color: rgb(100%, 62%, 42%);
244 border: 2px solid rgb(100%, 52%, 21%); 218 border: 2px solid rgb(100%, 52%, 21%);
245 } 219 }
246 220
247 .CodeMirror .webkit-html-error-message { 221 .CodeMirror .webkit-html-error-message {
248 background-color: rgb(100%, 42%, 42%); 222 background-color: rgb(100%, 42%, 42%);
249 border: 2px solid rgb(100%, 31%, 31%); 223 border: 2px solid rgb(100%, 31%, 31%);
250 } 224 }
OLDNEW
« no previous file with comments | « Source/devtools/front_end/TextEditorModel.js ('k') | Source/devtools/front_end/cm/headlesscodemirror.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698