Commit | Line | Data |
---|---|---|
9099c61d RK |
1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
2 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
eec397be RK |
4 | |
5 | window { | |
6 | padding: 0; | |
7 | } | |
8 | ||
82b4252f | 9 | /* Sources and breakpoints pane */ |
eec397be | 10 | |
82b4252f RK |
11 | #sources-pane { |
12 | min-width: 50px; | |
889649fd RK |
13 | } |
14 | ||
3a0880a9 | 15 | #sources-and-editor-splitter { |
82b4252f | 16 | -moz-border-start-color: transparent; |
eec397be RK |
17 | } |
18 | ||
6568957a RK |
19 | #sources-toolbar .devtools-toolbarbutton { |
20 | min-width: 32px; | |
21 | } | |
22 | ||
3a0880a9 | 23 | #pretty-print { |
3a0880a9 RK |
24 | font-weight: bold; |
25 | } | |
26 | ||
7600e0b1 RK |
27 | #black-box { |
28 | list-style-image: url("debugger-blackbox.png"); | |
29 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
fe524e0c RK |
30 | } |
31 | ||
7600e0b1 RK |
32 | #black-box[checked], |
33 | #black-box:hover { | |
34 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
fe524e0c RK |
35 | } |
36 | ||
7600e0b1 | 37 | #sources .black-boxed { |
1b13529a RK |
38 | color: #8050B0; |
39 | } | |
40 | ||
7600e0b1 | 41 | #sources .black-boxed > .dbg-breakpoint { |
fe524e0c RK |
42 | display: none; |
43 | } | |
44 | ||
7600e0b1 | 45 | #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) { |
3a0880a9 RK |
46 | background-image: none; |
47 | /* box-shadow: inset -1px 0 0 #222426; */ | |
48 | } | |
49 | ||
7600e0b1 | 50 | #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) { |
3a0880a9 RK |
51 | background-image: none; |
52 | /* box-shadow: inset 1px 0 0 #222426; */ | |
53 | } | |
54 | ||
55 | /* Black box message and source progress meter */ | |
fe524e0c | 56 | |
3a0880a9 RK |
57 | #black-boxed-message, |
58 | #source-progress-container { | |
59 | background-color: #A09090; | |
fe524e0c RK |
60 | /* Prevent the container deck from aquiring the height from this message. */ |
61 | min-height: 1px; | |
fe524e0c RK |
62 | color: #000000; |
63 | } | |
64 | ||
3a0880a9 RK |
65 | #source-progress { |
66 | min-height: 2em; | |
67 | min-width: 40em; | |
68 | } | |
69 | ||
fe524e0c RK |
70 | #black-boxed-message-label, |
71 | #black-boxed-message-button { | |
72 | text-align: center; | |
73 | font-size: 120%; | |
74 | } | |
75 | ||
76 | #black-boxed-message-button { | |
77 | margin-top: 1em; | |
78 | padding: .25em; | |
79 | } | |
80 | ||
82b4252f | 81 | /* ListWidget items */ |
0142a07b | 82 | |
82b4252f RK |
83 | .list-widget-item { |
84 | padding: 2px; | |
c29b709d RK |
85 | } |
86 | ||
82b4252f RK |
87 | .list-widget-item:not(.selected):not(.empty):hover { |
88 | /* background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.85)), Highlight;*/ | |
c29b709d RK |
89 | } |
90 | ||
82b4252f RK |
91 | .list-widget-item.selected.light { |
92 | /* background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.8)), Highlight; | |
93 | color: #000;*/ | |
c29b709d RK |
94 | } |
95 | ||
82b4252f RK |
96 | .list-widget-item.selected { |
97 | background: #008484; | |
98 | color: #FFCF00; | |
c29b709d RK |
99 | } |
100 | ||
82b4252f | 101 | .list-widget-item.empty { |
b8384c33 | 102 | color: #8050B0; |
82b4252f | 103 | /* padding: 4px; */ |
c29b709d RK |
104 | } |
105 | ||
82b4252f | 106 | /* Stack frames view */ |
eec397be | 107 | |
f7774352 RK |
108 | #stackframes { |
109 | min-height: 25px; | |
110 | } | |
111 | ||
82b4252f | 112 | .dbg-stackframe-details { |
eec397be | 113 | -moz-padding-start: 4px; |
eec397be RK |
114 | } |
115 | ||
82b4252f RK |
116 | .dbg-stackframe-menuitem[checked] { |
117 | margin-top: 3px; | |
118 | margin-bottom: 3px; | |
119 | outline: 1px solid #008484; | |
eec397be RK |
120 | font-weight: 600; |
121 | } | |
122 | ||
82b4252f RK |
123 | .dbg-stackframe-menuitem-details { |
124 | -moz-padding-start: 16px; | |
990cba4b RK |
125 | } |
126 | ||
82b4252f | 127 | /* Sources and breakpoints view */ |
889649fd | 128 | |
82b4252f | 129 | .dbg-breakpoint { |
7600e0b1 | 130 | -moz-margin-start: 4px; |
990cba4b RK |
131 | } |
132 | ||
82b4252f | 133 | .dbg-breakpoint-line { |
889649fd RK |
134 | font-weight: 600; |
135 | } | |
136 | ||
137 | .dbg-breakpoint-text { | |
82b4252f RK |
138 | -moz-margin-start: 10px !important; |
139 | font-style: italic; | |
1b13529a RK |
140 | font-size: 90%; |
141 | } | |
142 | ||
143 | .dbg-breakpoint-checkbox { | |
144 | width: 16px; | |
145 | height: 16px; | |
146 | margin: 2px; | |
990cba4b RK |
147 | } |
148 | ||
d2ce251d RK |
149 | /* Variable bubble view */ |
150 | ||
151 | .devtools-tooltip-simple-text.token-undefined, | |
152 | .devtools-tooltip-simple-text.token-null { | |
153 | text-align: center; | |
154 | color: #A09090 !important; /* Override the theme's color. */ | |
155 | } | |
156 | ||
157 | .devtools-tooltip-simple-text.token-boolean { | |
158 | text-align: center; | |
159 | color: #9C9CFF !important; | |
160 | } | |
161 | ||
162 | .devtools-tooltip-simple-text.token-number { | |
163 | text-align: center; | |
164 | color: #E7ADE7 !important; | |
165 | } | |
166 | ||
167 | .devtools-tooltip-simple-text.token-string { | |
168 | text-align: start; | |
169 | color: #008484 !important; | |
170 | } | |
171 | ||
172 | .devtools-tooltip-simple-text.token-other { | |
173 | text-align: center; | |
174 | color: #FF9F00 !important; | |
175 | } | |
176 | ||
3a0880a9 RK |
177 | /* Instruments pane (watch expressions, variables, event listeners...) */ |
178 | ||
179 | #instruments-pane > tabs > tab { | |
180 | min-height: 25px !important; | |
181 | padding: 0 !important; | |
182 | } | |
183 | ||
184 | #instruments-pane > tabpanels > tabpanel { | |
185 | background: #000000; | |
186 | } | |
187 | ||
82b4252f | 188 | /* Watch expressions view */ |
990cba4b RK |
189 | |
190 | #expressions { | |
990cba4b | 191 | min-height: 10px; |
56ab361a | 192 | max-height: 125px; |
990cba4b RK |
193 | } |
194 | ||
195 | .dbg-expression { | |
196 | height: 20px; | |
990cba4b RK |
197 | } |
198 | ||
199 | .dbg-expression-arrow { | |
b27cc46e | 200 | width: 16px; |
990cba4b | 201 | height: auto; |
3a0880a9 | 202 | background: -moz-image-rect(url("commandline-icon.png"), 0, 32, 16, 16); |
990cba4b RK |
203 | } |
204 | ||
205 | .dbg-expression-input { | |
82b4252f | 206 | -moz-padding-start: 2px !important; |
990cba4b RK |
207 | } |
208 | ||
3a0880a9 RK |
209 | /* Event listeners view */ |
210 | ||
211 | .dbg-event-listener { | |
212 | padding: 4px 8px; | |
213 | } | |
214 | ||
215 | .dbg-event-listener-type { | |
216 | font-weight: 600; | |
217 | } | |
218 | ||
219 | .dbg-event-listener-separator { | |
220 | color: #A09090; | |
221 | } | |
222 | ||
223 | .dbg-event-listener-targets { | |
224 | color: #9C9CFF; | |
225 | } | |
226 | ||
227 | .dbg-event-listener-location { | |
228 | color: #E7ADE7; | |
229 | } | |
230 | ||
82b4252f | 231 | /* Searchbox and the search operations help panel */ |
56ab361a | 232 | |
d2ce251d | 233 | #searchbox { |
82b4252f RK |
234 | min-width: 220px; |
235 | -moz-margin-start: 1px; | |
56ab361a RK |
236 | } |
237 | ||
fe524e0c RK |
238 | #filter-label { |
239 | -moz-margin-start: 2px; | |
240 | } | |
241 | ||
242 | #searchbox-panel-operators { | |
243 | margin-top: 5px; | |
82b4252f RK |
244 | margin-bottom: 8px; |
245 | -moz-margin-start: 2px; | |
c29b709d RK |
246 | } |
247 | ||
82b4252f RK |
248 | .searchbox-panel-operator-button { |
249 | min-width: 26px; | |
250 | margin-top: 0; | |
251 | margin-bottom: 0; | |
252 | -moz-margin-start: 2px; | |
253 | -moz-margin-end: 6px; | |
254 | text-align: center; | |
56ab361a RK |
255 | } |
256 | ||
82b4252f RK |
257 | .searchbox-panel-operator-label { |
258 | padding-bottom: 2px; | |
56ab361a RK |
259 | } |
260 | ||
82b4252f | 261 | /* Searchbox results panel */ |
56ab361a | 262 | |
82b4252f RK |
263 | .results-panel { |
264 | padding: 4px; | |
56ab361a RK |
265 | } |
266 | ||
82b4252f RK |
267 | .results-panel-item { |
268 | border: 1px solid #A09090; | |
269 | border-top-color: #8050B0; | |
270 | padding: 5px; | |
56ab361a RK |
271 | cursor: pointer; |
272 | } | |
eec397be | 273 | |
82b4252f RK |
274 | .results-panel-item:first-of-type { |
275 | border-top-color: #9C9CFF; | |
276 | border-radius: 4px 4px 0 0; | |
eec397be RK |
277 | } |
278 | ||
82b4252f RK |
279 | .results-panel-item:last-of-type { |
280 | border-radius: 0 0 4px 4px; | |
b8384c33 RK |
281 | } |
282 | ||
82b4252f RK |
283 | .results-panel-item:only-of-type { |
284 | border-radius: 4px; | |
c29b709d RK |
285 | } |
286 | ||
82b4252f RK |
287 | .results-panel-item:not(.selected):not(:hover) { |
288 | /* text-shadow: 0 1px #fff;*/ | |
85cfb236 RK |
289 | } |
290 | ||
82b4252f RK |
291 | .results-panel-item-pre { |
292 | -moz-margin-end: 5px !important; | |
293 | color: #A09090; | |
294 | cursor: inherit; | |
56ab361a RK |
295 | } |
296 | ||
82b4252f RK |
297 | .results-panel-item-name { |
298 | color: #9C9CFF; | |
b8384c33 | 299 | font-weight: 600; |
82b4252f | 300 | cursor: inherit; |
85cfb236 RK |
301 | } |
302 | ||
82b4252f | 303 | .results-panel-item-details { |
56ab361a | 304 | color: #FF9F00; |
82b4252f | 305 | cursor: inherit; |
56ab361a RK |
306 | } |
307 | ||
82b4252f | 308 | /* Sources search view */ |
eec397be | 309 | |
82b4252f RK |
310 | #globalsearch { |
311 | min-height: 10px; | |
b8384c33 RK |
312 | } |
313 | ||
82b4252f RK |
314 | #globalsearch > vbox:not(:empty) { |
315 | min-height: 10px; | |
316 | max-height: 125px; | |
eec397be RK |
317 | } |
318 | ||
82b4252f RK |
319 | #globalsearch + .devtools-horizontal-splitter { |
320 | -moz-border-top-colors: #9C9CFF; | |
56ab361a RK |
321 | } |
322 | ||
82b4252f RK |
323 | .dbg-source-results { |
324 | padding: 0; | |
325 | background: none !important; | |
eec397be RK |
326 | } |
327 | ||
82b4252f | 328 | .dbg-results-header { |
b8384c33 | 329 | -moz-padding-start: 6px; |
37953ab4 RK |
330 | } |
331 | ||
82b4252f | 332 | .dbg-results-header-location { |
990cba4b RK |
333 | font-weight: 600; |
334 | } | |
335 | ||
82b4252f RK |
336 | .dbg-results-header-match-count { |
337 | -moz-padding-start: 6px; | |
eec397be RK |
338 | color: #8050B0; |
339 | } | |
340 | ||
82b4252f RK |
341 | .dbg-results-line-number { |
342 | background: #000000; | |
343 | min-width: 40px; | |
344 | -moz-border-end: 1px solid #9C9CFF; | |
345 | -moz-padding-end: 4px; | |
346 | padding-top: 2px; | |
347 | text-align: end; | |
eec397be RK |
348 | color: #FF9F00; |
349 | } | |
350 | ||
82b4252f RK |
351 | .dbg-results-line-contents { |
352 | -moz-padding-start: 4px; | |
353 | padding-top: 1px; | |
354 | padding-bottom: 1px; | |
eec397be RK |
355 | } |
356 | ||
82b4252f RK |
357 | .dbg-results-line-contents-string { |
358 | padding: 1px; | |
eec397be RK |
359 | } |
360 | ||
82b4252f RK |
361 | .dbg-results-line-contents-string[match=true] { |
362 | background: #E7ADE7; | |
363 | color: #000000; | |
364 | padding: 0; | |
365 | border: 1px solid #9C9CFF; | |
366 | border-radius: 4px; | |
367 | cursor: pointer; | |
eec397be RK |
368 | } |
369 | ||
82b4252f RK |
370 | .dbg-results-line-contents-string[match=true][focusing] { |
371 | transition: transform 0.3s ease-in-out; | |
eec397be RK |
372 | } |
373 | ||
82b4252f RK |
374 | .dbg-results-line-contents-string[match=true][focused] { |
375 | transition-duration: 0.1s; | |
376 | transform: scale(1.75, 1.75); | |
b8384c33 RK |
377 | } |
378 | ||
3a0880a9 | 379 | /* Toolbar controls */ |
5322a392 | 380 | |
c29b709d | 381 | #toggle-panes { |
c29b709d RK |
382 | list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); |
383 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
384 | } | |
385 | ||
b8384c33 | 386 | #toggle-panes:not([panesHidden]) { |
c29b709d RK |
387 | list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); |
388 | } | |
389 | ||
390 | #toggle-panes:hover, | |
391 | #toggle-panes:hover:active { | |
392 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
393 | } | |
394 | ||
ed1a91c6 RK |
395 | #resumption-panel-desc { |
396 | width: 200px; | |
397 | } | |
398 | ||
399 | #resumption-order-panel { | |
400 | -moz-margin-start: -8px; | |
401 | } | |
402 | ||
5322a392 | 403 | #resume { |
37953ab4 | 404 | list-style-image: url("chrome://browser/skin/devtools/debugger-play.png"); |
5322a392 RK |
405 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
406 | } | |
407 | ||
408 | #resume[checked=true], | |
409 | #resume:hover { | |
410 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
411 | } | |
412 | ||
413 | #step-over { | |
414 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png"); | |
415 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
416 | } | |
417 | #step-over:hover { | |
418 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
419 | } | |
420 | ||
421 | #step-in { | |
422 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png"); | |
423 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
424 | } | |
425 | #step-in:hover { | |
426 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
427 | } | |
428 | ||
429 | #step-out { | |
430 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png"); | |
431 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
432 | } | |
433 | #step-out:hover { | |
434 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
435 | } | |
436 | ||
7600e0b1 RK |
437 | #debugger-controls > toolbarbutton, |
438 | #sources-controls > toolbarbutton { | |
5322a392 RK |
439 | } |
440 | ||
7600e0b1 RK |
441 | #debugger-controls > toolbarbutton:last-of-type, |
442 | #sources-controls > toolbarbutton:last-of-type { | |
5322a392 RK |
443 | } |
444 | ||
7600e0b1 RK |
445 | #debugger-controls, |
446 | #sources-controls { | |
5322a392 | 447 | } |
82b4252f RK |
448 | |
449 | #instruments-pane-toggle { | |
f7774352 | 450 | /* background: none; |
82b4252f | 451 | box-shadow: none; |
f7774352 | 452 | border: none; */ |
ed1a91c6 | 453 | list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); |
82b4252f RK |
454 | -moz-image-region: rect(0px,16px,16px,0px); |
455 | } | |
456 | ||
ed1a91c6 RK |
457 | #instruments-pane-toggle[pane-collapsed] { |
458 | list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); | |
82b4252f RK |
459 | } |
460 | ||
461 | #instruments-pane-toggle:hover, | |
462 | #instruments-pane-toggle:hover:active { | |
463 | -moz-image-region: rect(0px,32px,16px,16px); | |
464 | } | |
3a0880a9 RK |
465 | |
466 | /* Horizontal vs. vertical layout */ | |
467 | ||
468 | #vertical-layout-panes-container { | |
469 | min-height: 35vh; | |
470 | max-height: 80vh; | |
471 | } | |
472 | ||
473 | #body[layout=vertical] #instruments-pane { | |
474 | margin: 0 !important; | |
475 | /* To prevent all the margin hacks to hide the sidebar. */ | |
476 | } | |
477 | ||
478 | #body[layout=vertical] .side-menu-widget-container { | |
479 | box-shadow: none !important; | |
480 | } | |
481 | ||
482 | #body[layout=vertical] .side-menu-widget-item-arrow { | |
483 | background-image: none !important; | |
484 | } |