Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / devtools / front_end / source_frame / cmdevtools.css
blob1054ee5b1c8f810e356eba7676a0a0e28b429a11
1 .CodeMirror {
2 line-height: 1.2em !important;
3 background-color: transparent !important;
6 .CodeMirror-linewidget {
7 overflow: visible !important;
10 .CodeMirror .source-frame-eval-expression {
11 outline: 0;
12 border: 1px solid rgb(163, 41, 34);
13 border-left-width: 0;
14 border-right-width: 0;
15 background-color: rgb(255, 255, 194);
18 .CodeMirror .source-frame-eval-expression-end {
19 border-right-width: 1px;
20 margin-right: -1px;
23 .CodeMirror .source-frame-eval-expression-start {
24 border-left-width: 1px;
25 margin-left: -1px;
28 .CodeMirror-readonly .CodeMirror-cursor {
29 display: none;
32 .CodeMirror .CodeMirror-gutters {
33 border-right: 1px solid rgb(187, 187, 187);
34 background-color: #eee;
37 .CodeMirror .CodeMirror-linenumber {
38 color: rgb(128, 128, 128);
41 .CodeMirror-linenumber {
42 min-width: 22px !important;
45 .cm-highlight {
46 -webkit-animation: fadeout 2s 0s;
48 @-webkit-keyframes fadeout {
49 from {background-color: rgb(255, 255, 120); }
50 to { background-color: white; }
53 .cm-highlight.cm-execution-line {
54 -webkit-animation: fadeout-execution-line 1s 0s;
56 @-webkit-keyframes fadeout-execution-line {
57 from {background-color: rgb(121, 141, 254); }
58 to { background-color: rgb(171, 191, 254); }
61 .cm-breakpoint .CodeMirror-linenumber {
62 color: white;
63 border-width: 1px 4px 1px 1px !important;
64 -webkit-border-image: url(Images/breakpoint.png) 1 4 1 1;
65 margin: 0 0 0 3px !important;
66 padding-right: 3px;
67 padding-left: 1px;
68 height: 11px;
69 line-height: 12px !important;
72 .cm-line-without-source-mapping {
73 background-color: #fafafa;
76 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber {
77 -webkit-border-image: url(Images/breakpointConditional.png) 1 4 1 1;
80 @media (-webkit-min-device-pixel-ratio: 1.5) {
81 .cm-breakpoint .CodeMirror-linenumber {
82 -webkit-border-image: url(Images/breakpoint_2x.png) 2 8 2 2;
84 .cm-breakpoint.cm-breakpoint-conditional .CodeMirror-linenumber {
85 -webkit-border-image: url(Images/breakpointConditional_2x.png) 2 8 2 2;
87 } /* media */
89 .cm-breakpoint-disabled .CodeMirror-linenumber {
90 opacity: 0.5;
93 .breakpoints-deactivated .cm-breakpoint .CodeMirror-linenumber {
94 opacity: 0.5;
97 .breakpoints-deactivated .cm-breakpoint-disabled .CodeMirror-linenumber {
98 opacity: 0.3;
101 .CodeMirror-matchingbracket {
102 border-bottom: 1px solid black;
103 color: #222 !important;
106 .CodeMirror-nonmatchingbracket {
107 color: #222 !important;
110 .cm-whitespace::before {
111 position: absolute;
112 pointer-events: none;
113 color: rgb(175, 175, 175);
116 .cm-tab {
117 position: relative;
120 .cm-tab:before {
121 display: none;
122 content: ".";
123 color: transparent;
124 border-bottom: 1px solid rgb(175, 175, 175);
125 position: absolute;
126 width: 90%;
127 bottom: 50%;
128 left: 5%;
131 .show-whitespaces .CodeMirror .cm-tab:before {
132 display: block !important;
135 .cm-execution-line {
136 background-color: rgb(230, 236, 255);
137 outline: 1px solid rgb(64, 115, 244);
140 .cm-execution-line-tail {
141 background-color: rgb(171, 191, 254);
144 .cm-execution-line .CodeMirror-linenumber {
145 border-right: 1px solid rgb(64, 115, 244);
148 .cm-token-highlight {
149 position: relative;
152 .cm-token-highlight:before {
153 position: absolute;
154 border: 1px solid gray;
155 border-radius: 3px;
156 top: 0;
157 bottom: -1px;
158 left: 0;
159 right: 0;
160 content: "";
163 .cm-line-with-selection .cm-column-with-selection:before {
164 border: none;
167 .cm-search-highlight {
168 position: relative;
171 .cm-search-highlight:before {
172 position: absolute;
173 border-top-style: solid;
174 border-bottom-style: solid;
175 border-top-color: gray;
176 border-bottom-color: gray;
177 border-top-width: 1px;
178 border-bottom-width: 1px;
179 top: -1px;
180 bottom: 0;
181 left: 0;
182 right: 0;
183 content: "";
186 .cm-search-highlight-full:before {
187 border: 1px solid gray;
188 border-radius: 3px;
191 .cm-search-highlight-start:before {
192 border-left-width: 1px;
193 border-top-left-radius: 2px;
194 border-bottom-left-radius: 2px;
195 border-left-style: solid;
196 border-left-color: gray;
199 .cm-search-highlight-end:before {
200 border-right-width: 1px;
201 border-top-right-radius: 2px;
202 border-bottom-right-radius: 2px;
203 border-right-style: solid;
204 border-right-color: gray;
207 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight-full:before {
208 border-radius: 1px;
211 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight-start:before {
212 border-top-left-radius: 1px;
213 border-bottom-left-radius: 1px;
216 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight-end:before {
217 border-top-right-radius: 1px;
218 border-bottom-right-radius: 1px;
221 .cm-line-with-selection .cm-column-with-selection.cm-search-highlight:before {
222 margin: -1px -1px -1px -1px;
223 background-color: rgb(241, 234, 0);
224 z-index: -1;
227 .CodeMirror .text-editor-line-decoration {
228 position: absolute;
231 .CodeMirror .text-editor-line-decoration-wave {
232 position: absolute;
233 top: -2px;
234 cursor: pointer;
235 height: 4px;
238 .CodeMirror .text-editor-value-decoration {
239 position: absolute;
240 bottom: 0;
241 white-space: nowrap;
242 overflow: hidden;
243 text-overflow: ellipsis;
244 max-width: 1000px;
245 opacity: 0.8;
246 background-color: #FFE3C7;
247 margin-left: 10px;
248 padding-left: 5px;
249 color: #222;
250 -webkit-user-select: text;
253 .CodeMirror .cm-execution-line .text-editor-value-decoration {
254 background-color: transparent;
255 opacity: 0.5;
258 .text-editor-messages-description-container {
259 display: inline-block;
262 .text-editor-row-message:first-child {
263 border-top-width: 0;
266 .text-editor-row-message {
267 border-top: 1px solid rgb(215, 215, 215);
268 line-height: 1.2;
269 white-space: nowrap;
270 display: flex;
273 .text-editor-row-message .bubble-repeat-count {
274 margin-right: 1ex;
275 margin-top: -1px;
278 .CodeMirror .text-editor-line-decoration-icon {
279 position: absolute;
280 cursor: pointer;
281 right: -16px;
282 top: -9px;
285 .CodeMirror .text-editor-line-with-warning:not(.cm-execution-line) {
286 background-color: rgba(241, 230, 0, 0.1);
289 .CodeMirror .text-editor-line-with-error:not(.cm-execution-line) {
290 background-color: rgba(255, 0, 0, 0.05);
293 .CodeMirror .text-editor-line-decoration-wave {
294 background-image: url(Images/errorWave.png);
295 background-repeat: repeat-x;
296 background-size: contain;
299 @media (-webkit-min-device-pixel-ratio: 1.5) {
300 .CodeMirror .text-editor-line-decoration-wave {
301 background-image: url(Images/errorWave_2x.png);
303 } /* media */
305 /** @see crbug.com/358161 */
306 .CodeMirror .CodeMirror-vscrollbar, .CodeMirror .CodeMirror-hscrollbar {
307 transform: translateZ(0);
310 .CodeMirror .CodeMirror-activeline-background {
311 background-color: transparent;
314 .cm-trailing-whitespace {
315 background-color: rgba(255, 0, 0, 0.05);
318 .CodeMirror-activeline .cm-trailing-whitespace {
319 background-color: transparent;