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