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

Side by Side Diff: third_party/WebKit/Source/devtools/front_end/source_frame/cmdevtools.css

Issue 2271683003: DevTools: Move CodeMirrorTextEditor into text_editor module (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge Created 4 years, 3 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
OLDNEW
(Empty)
1 .CodeMirror {
2 line-height: 1.2em !important;
3 background-color: transparent !important;
4 color: #222;
5 }
6
7 .CodeMirror-linewidget {
8 overflow: visible !important;
9 }
10
11 .CodeMirror-gutter-performance {
12 width: 74px;
13 background-color: white;
14 margin-left: 3px;
15 }
16
17 .CodeMirror .source-frame-eval-expression {
18 outline: 0;
19 border: 1px solid rgb(163, 41, 34);
20 border-left-width: 0;
21 border-right-width: 0;
22 background-color: rgb(255, 255, 194);
23 }
24
25 .CodeMirror .source-frame-eval-expression-end {
26 border-right-width: 1px;
27 margin-right: -1px;
28 }
29
30 .CodeMirror .source-frame-eval-expression-start {
31 border-left-width: 1px;
32 margin-left: -1px;
33 }
34
35 .CodeMirror-readonly .CodeMirror-cursor {
36 display: none;
37 }
38
39 .CodeMirror .CodeMirror-gutters {
40 border-right: 1px solid rgb(187, 187, 187);
41 background-color: #eee;
42 }
43
44 .CodeMirror .CodeMirror-linenumber {
45 color: rgb(128, 128, 128);
46 }
47
48 .CodeMirror-linenumber {
49 min-width: 22px !important;
50 }
51
52 .cm-highlight {
53 -webkit-animation: fadeout 2s 0s;
54 }
55 .-theme-with-dark-background .cm-highlight {
56 -webkit-animation: fadeout-dark 2s 0s;
57 }
58 @-webkit-keyframes fadeout {
59 from {background-color: rgb(255, 255, 120); }
60 to { background-color: white; }
61 }
62 @-webkit-keyframes fadeout-dark {
63 from {background-color: hsla(133, 100%, 30%, 0.5); }
64 to { background-color: transparent; }
65 }
66
67 .cm-highlight.cm-execution-line {
68 -webkit-animation: fadeout-execution-line 1s 0s;
69 }
70 @-webkit-keyframes fadeout-execution-line {
71 from {background-color: rgb(121, 141, 254); }
72 to { background-color: rgb(171, 191, 254); }
73 }
74
75 .cm-breakpoint .CodeMirror-gutter-wrapper .CodeMirror-linenumber {
76 color: white;
77 border-width: 1px 4px 1px 1px !important;
78 -webkit-border-image: url(Images/breakpoint.png) 1 4 1 1;
79 margin: 0 0 0 3px !important;
80 padding-right: 3px;
81 padding-left: 1px;
82 height: 11px;
83 line-height: 12px !important;
84 border-style: solid;
85 }
86
87 .cm-line-without-source-mapping .CodeMirror-linenumber {
88 color: rgba(128, 128, 128, 0.4);
89 }
90
91 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber {
92 -webkit-border-image: url(Images/breakpointConditional.png) 1 4 1 1;
93 }
94
95 @media (-webkit-min-device-pixel-ratio: 1.5) {
96 .cm-breakpoint .CodeMirror-gutter-wrapper .CodeMirror-linenumber {
97 -webkit-border-image: url(Images/breakpoint_2x.png) 2 8 2 2;
98 }
99 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber {
100 -webkit-border-image: url(Images/breakpointConditional_2x.png) 2 8 2 2;
101 }
102 } /* media */
103
104 .cm-breakpoint-disabled .CodeMirror-linenumber {
105 opacity: 0.5;
106 }
107
108 .breakpoints-deactivated .cm-breakpoint .CodeMirror-linenumber {
109 opacity: 0.5;
110 }
111
112 .breakpoints-deactivated .cm-breakpoint-disabled .CodeMirror-linenumber {
113 opacity: 0.3;
114 }
115
116 .CodeMirror-matchingbracket {
117 border-bottom: 1px solid black;
118 color: #222 !important;
119 }
120
121 .CodeMirror-nonmatchingbracket {
122 color: #222 !important;
123 }
124
125 .cm-whitespace::before {
126 position: absolute;
127 pointer-events: none;
128 color: rgb(175, 175, 175);
129 }
130
131 .cm-tab {
132 position: relative;
133 }
134
135 .cm-tab:before {
136 display: none;
137 content: ".";
138 color: transparent;
139 border-bottom: 1px solid rgb(175, 175, 175);
140 position: absolute;
141 width: 90%;
142 bottom: 50%;
143 left: 5%;
144 }
145
146 .show-whitespaces .CodeMirror .cm-tab:before {
147 display: block !important;
148 }
149
150 .cm-execution-line,
151 .-theme-selection-color {
152 background-color: rgb(230, 236, 255);
153 outline: 1px solid rgb(64, 115, 244);
154 }
155
156 .cm-execution-line-tail,
157 .-theme-selection-color {
158 background-color: rgb(171, 191, 254);
159 }
160
161 .cm-execution-line .CodeMirror-linenumber,
162 .-theme-selection-color {
163 border-right: 1px solid rgb(64, 115, 244);
164 }
165
166 .cm-token-highlight {
167 position: relative;
168 }
169
170 .cm-token-highlight:before {
171 position: absolute;
172 border: 1px solid gray;
173 border-radius: 3px;
174 top: 0;
175 bottom: -1px;
176 left: 0;
177 right: 0;
178 content: "";
179 }
180
181 .cm-line-with-selection .cm-column-with-selection:before {
182 border: none;
183 }
184
185 .cm-search-highlight {
186 position: relative;
187 }
188
189 .cm-search-highlight:before {
190 position: absolute;
191 border-top-style: solid;
192 border-bottom-style: solid;
193 border-top-color: gray;
194 border-bottom-color: gray;
195 border-top-width: 1px;
196 border-bottom-width: 1px;
197 top: -1px;
198 bottom: 0;
199 left: 0;
200 right: 0;
201 content: "";
202 }
203
204 .cm-search-highlight-full:before {
205 border: 1px solid gray;
206 border-radius: 3px;
207 }
208
209 .cm-search-highlight-start:before {
210 border-left-width: 1px;
211 border-top-left-radius: 2px;
212 border-bottom-left-radius: 2px;
213 border-left-style: solid;
214 border-left-color: gray;
215 }
216
217 .cm-search-highlight-end:before {
218 border-right-width: 1px;
219 border-top-right-radius: 2px;
220 border-bottom-right-radius: 2px;
221 border-right-style: solid;
222 border-right-color: gray;
223 }
224
225 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight-full:befor e {
226 border-radius: 1px;
227 }
228
229 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight-start:befo re {
230 border-top-left-radius: 1px;
231 border-bottom-left-radius: 1px;
232 }
233
234 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight-end:before {
235 border-top-right-radius: 1px;
236 border-bottom-right-radius: 1px;
237 }
238
239 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight:before {
240 margin: -1px -1px -1px -1px;
241 background-color: rgb(241, 234, 0);
242 z-index: -1;
243 }
244
245 .-theme-with-dark-background .cm-line-with-selection .cm-column-with-selection.c m-search-highlight:before {
246 background-color: hsl(133, 100%, 30%);
247 }
248
249 .-theme-with-dark-background .cm-line-with-selection .cm-search-highlight {
250 color: #eee;
251 }
252
253 .CodeMirror .text-editor-line-marker-performance {
254 text-align: right;
255 padding-right: 3px;
256 }
257
258 .CodeMirror .text-editor-line-decoration {
259 position: absolute;
260 }
261
262 .CodeMirror .text-editor-line-decoration-wave {
263 position: absolute;
264 top: -2px;
265 right: -4px;
266 left: 4px;
267 cursor: pointer;
268 height: 4px;
269 }
270
271 .CodeMirror .text-editor-value-decoration {
272 position: absolute;
273 bottom: 0;
274 white-space: nowrap;
275 overflow: hidden;
276 text-overflow: ellipsis;
277 max-width: 1000px;
278 opacity: 0.8;
279 background-color: #FFE3C7;
280 margin-left: 10px;
281 padding-left: 5px;
282 color: #222;
283 -webkit-user-select: text;
284 }
285
286 .CodeMirror .cm-execution-line .text-editor-value-decoration {
287 background-color: transparent;
288 opacity: 0.5;
289 }
290
291 .text-editor-messages-description-container {
292 display: inline-block;
293 }
294
295 .text-editor-row-message:first-child {
296 border-top-width: 0;
297 }
298
299 .text-editor-row-message {
300 border-top: 1px solid rgb(215, 215, 215);
301 line-height: 1.2;
302 white-space: nowrap;
303 display: flex;
304 align-items: center;
305 justify-content: flex-start;
306 }
307
308 .text-editor-row-message .message-repeat-count {
309 margin-right: 0.5em;
310 }
311
312 .CodeMirror .text-editor-line-decoration-icon {
313 position: absolute;
314 cursor: pointer;
315 right: -16px;
316 top: -9px;
317 }
318
319 .CodeMirror .text-editor-line-with-warning:not(.cm-execution-line) {
320 background-color: rgba(241, 230, 0, 0.1);
321 }
322
323 .CodeMirror .text-editor-line-with-error:not(.cm-execution-line) {
324 background-color: rgba(255, 0, 0, 0.05);
325 }
326
327 .CodeMirror .text-editor-line-decoration-wave {
328 background-image: url(Images/errorWave.png);
329 background-repeat: repeat-x;
330 background-size: contain;
331 }
332
333 @media (-webkit-min-device-pixel-ratio: 1.5) {
334 .CodeMirror .text-editor-line-decoration-wave {
335 background-image: url(Images/errorWave_2x.png);
336 }
337 } /* media */
338
339 /** @see crbug.com/358161 */
340 .CodeMirror .CodeMirror-vscrollbar, .CodeMirror .CodeMirror-hscrollbar {
341 transform: translateZ(0);
342 }
343
344 .CodeMirror .CodeMirror-activeline-background {
345 background-color: transparent;
346 }
347
348 .cm-trailing-whitespace {
349 background-color: rgba(255, 0, 0, 0.05);
350 }
351
352 .CodeMirror-activeline .cm-trailing-whitespace {
353 background-color: transparent;
354 }
355
356 .-theme-with-dark-background .CodeMirror .CodeMirror-selected {
357 background-color: #454545;
358 }
359
360 .CodeMirror .auto-complete-text{
361 color: rgb(128,128,128);
362 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698