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