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