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 | ||
45dc7657 | 9 | /* === BEGIN debugger.inc.css === */ |
eec397be | 10 | |
45dc7657 | 11 | /* Sources and breakpoints pane */ |
de57e474 | 12 | |
dfa34f73 RK |
13 | #sources-pane[selectedIndex="0"] + #sources-and-editor-splitter { |
14 | border-color: transparent; | |
eec397be RK |
15 | } |
16 | ||
45dc7657 RK |
17 | #sources-pane > tabs { |
18 | -moz-border-end: 1px solid #9C9CFF; /* Match the splitter color. */ | |
19 | } | |
20 | ||
2a8b2b48 RK |
21 | #sources-toolbar > .devtools-toolbarbutton, |
22 | #sources-controls > .devtools-toolbarbutton { | |
6568957a RK |
23 | min-width: 32px; |
24 | } | |
25 | ||
2a8b2b48 RK |
26 | #black-box { |
27 | list-style-image: url("debugger-blackbox.png"); | |
28 | } | |
29 | ||
dccbbf95 RK |
30 | @media (min-resolution: 2dppx) { |
31 | #black-box { | |
32 | list-style-image: url(debugger-blackbox@2x.png); | |
33 | } | |
34 | } | |
35 | ||
3a0880a9 | 36 | #pretty-print { |
3a0880a9 RK |
37 | font-weight: bold; |
38 | } | |
39 | ||
2a8b2b48 RK |
40 | #toggle-breakpoints { |
41 | list-style-image: url("debugger-toggleBreakpoints.png"); | |
42 | } | |
43 | ||
dccbbf95 RK |
44 | @media (min-resolution: 2dppx) { |
45 | #toggle-breakpoints { | |
46 | list-style-image: url(debugger-toggleBreakpoints@2x.png); | |
47 | } | |
48 | } | |
49 | ||
2a8b2b48 | 50 | #sources-toolbar .devtools-toolbarbutton:not([label]) { |
7600e0b1 | 51 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
fe524e0c RK |
52 | } |
53 | ||
2a8b2b48 RK |
54 | #sources-toolbar .devtools-toolbarbutton:not([label]):hover { |
55 | -moz-image-region: rect(16px, 16px, 32px, 0px); | |
56 | } | |
57 | ||
58 | #sources-toolbar .devtools-toolbarbutton:not([label])[checked] { | |
7600e0b1 | 59 | -moz-image-region: rect(0px, 32px, 16px, 16px); |
fe524e0c RK |
60 | } |
61 | ||
2a8b2b48 RK |
62 | #sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover { |
63 | -moz-image-region: rect(16px, 32px, 32px, 16px); | |
64 | } | |
65 | ||
dccbbf95 RK |
66 | @media (min-resolution: 2dppx) { |
67 | #sources-toolbar .devtools-toolbarbutton:not([label]) { | |
68 | -moz-image-region: rect(0px,32px,32px,0px); | |
69 | } | |
70 | ||
71 | #sources-toolbar .devtools-toolbarbutton:not([label]):hover { | |
72 | -moz-image-region: rect(32px,32px,64px,0px); | |
73 | } | |
74 | ||
75 | #sources-toolbar .devtools-toolbarbutton:not([label])[checked] { | |
76 | -moz-image-region: rect(0px,64px,32px,32px); | |
77 | } | |
78 | ||
79 | #sources-toolbar .devtools-toolbarbutton:not([label])[checked]:hover { | |
80 | -moz-image-region: rect(32px,64px,64px,32px); | |
81 | } | |
82 | } | |
83 | ||
7600e0b1 | 84 | #sources .black-boxed { |
1b13529a RK |
85 | color: #8050B0; |
86 | } | |
87 | ||
45dc7657 RK |
88 | #sources .selected > .black-boxed { |
89 | color: #000000; | |
90 | } | |
91 | ||
7600e0b1 | 92 | #sources .black-boxed > .dbg-breakpoint { |
fe524e0c RK |
93 | display: none; |
94 | } | |
95 | ||
7600e0b1 | 96 | #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(ltr) { |
3a0880a9 RK |
97 | background-image: none; |
98 | /* box-shadow: inset -1px 0 0 #222426; */ | |
99 | } | |
100 | ||
7600e0b1 | 101 | #sources .black-boxed + .side-menu-widget-item-arrow:-moz-locale-dir(rtl) { |
3a0880a9 RK |
102 | background-image: none; |
103 | /* box-shadow: inset 1px 0 0 #222426; */ | |
104 | } | |
105 | ||
3d64e0ce RK |
106 | /* Debugger unblackbox button */ |
107 | ||
108 | #black-boxed-message-button > .button-box > .button-icon { | |
109 | width: 16px; | |
110 | height: 16px; | |
111 | background-image: url("debugger-blackbox.png"); | |
832af407 RK |
112 | background-position: -16px -16px; |
113 | background-size: 32px 32px; | |
3d64e0ce RK |
114 | background-repeat: no-repeat; |
115 | -moz-margin-end: 5px; | |
116 | } | |
117 | ||
118 | @media (min-resolution: 2dppx) { | |
119 | #black-boxed-message-button > .button-box > .button-icon { | |
120 | background-image: url("debugger-blackbox@2x.png"); | |
121 | } | |
122 | } | |
123 | ||
3a0880a9 | 124 | /* Black box message and source progress meter */ |
fe524e0c | 125 | |
3a0880a9 RK |
126 | #black-boxed-message, |
127 | #source-progress-container { | |
128 | background-color: #A09090; | |
dfa34f73 RK |
129 | /* Prevent the container deck from aquiring the size from this message. */ |
130 | min-width: 1px; | |
fe524e0c | 131 | min-height: 1px; |
fe524e0c RK |
132 | color: #000000; |
133 | } | |
134 | ||
3a0880a9 RK |
135 | #source-progress { |
136 | min-height: 2em; | |
137 | min-width: 40em; | |
138 | } | |
139 | ||
fe524e0c RK |
140 | #black-boxed-message-label, |
141 | #black-boxed-message-button { | |
142 | text-align: center; | |
143 | font-size: 120%; | |
144 | } | |
145 | ||
146 | #black-boxed-message-button { | |
147 | margin-top: 1em; | |
148 | padding: .25em; | |
149 | } | |
150 | ||
dfa34f73 RK |
151 | /* Tracer */ |
152 | ||
153 | #trace { | |
154 | list-style-image: url("tracer-icon.png"); | |
155 | -moz-image-region: rect(0px,16px,16px,0px); | |
156 | } | |
157 | ||
158 | #trace:hover, | |
159 | #trace[checked] { | |
160 | -moz-image-region: rect(0px,32px,16px,16px); | |
161 | } | |
162 | ||
dccbbf95 RK |
163 | @media (min-resolution: 2dppx) { |
164 | #trace { | |
165 | list-style-image: url(tracer-icon@2x.png); | |
166 | -moz-image-region: rect(0px,32px,32px,0px); | |
167 | } | |
168 | ||
169 | #trace:hover, | |
170 | #trace[checked] { | |
171 | -moz-image-region: rect(0px,64px,32px,32px); | |
172 | } | |
173 | } | |
174 | ||
dfa34f73 RK |
175 | #clear-tracer { |
176 | /* Make this button as narrow as the text inside it. */ | |
177 | min-width: 1px; | |
178 | } | |
179 | ||
dfa34f73 RK |
180 | .trace-name { |
181 | -moz-padding-start: 4px !important; | |
182 | } | |
183 | ||
dfa34f73 RK |
184 | /* Tracer dark+light theme */ |
185 | ||
dfa34f73 RK |
186 | .trace-item { |
187 | color: #FF9F00; /* Light foreground text */ | |
188 | } | |
189 | ||
a21f2959 RK |
190 | .trace-item.black-boxed { |
191 | color: #A09090; | |
192 | } | |
193 | ||
dfa34f73 RK |
194 | .trace-item.selected-matching { |
195 | background-color: #004242; /* Select highlight blue at 40% alpha */ | |
196 | } | |
197 | ||
198 | .selected > .trace-item { | |
199 | background-color: #004242; /* Select highlight blue at 75% alpha */ | |
200 | } | |
201 | ||
202 | .trace-call { | |
203 | color: #9C9CFF; /* highlight blue */ | |
204 | } | |
205 | ||
206 | .trace-return, | |
207 | .trace-yield { | |
208 | color: #008484; /* highlight green */ | |
209 | } | |
210 | ||
211 | .trace-throw { | |
212 | color: #FF0000; /* highlight red */ | |
213 | } | |
214 | ||
215 | .trace-param { | |
216 | color: #E7ADE7; /* Content text light */ | |
217 | } | |
218 | ||
219 | .trace-syntax { | |
220 | color: #A09090; /* highlight grey */ | |
221 | } | |
222 | ||
de57e474 RK |
223 | /* Breadcrumbs stack frames view */ |
224 | ||
225 | .breadcrumbs-widget-item { | |
226 | max-width: none; | |
227 | } | |
eec397be | 228 | |
f7774352 RK |
229 | #stackframes { |
230 | min-height: 25px; | |
231 | } | |
232 | ||
82b4252f | 233 | .dbg-stackframe-details { |
eec397be | 234 | -moz-padding-start: 4px; |
eec397be RK |
235 | } |
236 | ||
de57e474 RK |
237 | /* Classic stack frames view */ |
238 | ||
239 | .dbg-classic-stackframe { | |
240 | display: block; | |
45dc7657 | 241 | padding: 0 4px; |
de57e474 RK |
242 | } |
243 | ||
244 | .dbg-classic-stackframe-title { | |
eec397be | 245 | font-weight: 600; |
de57e474 RK |
246 | color: #9C9CFF; |
247 | } | |
248 | ||
249 | .dbg-classic-stackframe-details:-moz-locale-dir(ltr) { | |
250 | float: right; | |
251 | } | |
252 | ||
253 | .dbg-classic-stackframe-details:-moz-locale-dir(rtl) { | |
254 | float: left; | |
eec397be RK |
255 | } |
256 | ||
de57e474 RK |
257 | .dbg-classic-stackframe-details-url { |
258 | max-width: 90%; | |
259 | text-align: end; | |
260 | color: #3333FF; | |
261 | } | |
262 | ||
263 | .dbg-classic-stackframe-details-sep { | |
264 | color: #A09090; | |
265 | } | |
266 | ||
267 | .dbg-classic-stackframe-details-line { | |
268 | color: #9C9CFF; | |
269 | } | |
270 | ||
271 | #callstack-list .side-menu-widget-item.selected label { | |
272 | color: #FFCF00; | |
990cba4b RK |
273 | } |
274 | ||
82b4252f | 275 | /* Sources and breakpoints view */ |
889649fd | 276 | |
82b4252f | 277 | .dbg-breakpoint { |
7600e0b1 | 278 | -moz-margin-start: 4px; |
990cba4b RK |
279 | } |
280 | ||
82b4252f | 281 | .dbg-breakpoint-line { |
889649fd RK |
282 | font-weight: 600; |
283 | } | |
284 | ||
285 | .dbg-breakpoint-text { | |
82b4252f RK |
286 | -moz-margin-start: 10px !important; |
287 | font-style: italic; | |
1b13529a RK |
288 | font-size: 90%; |
289 | } | |
290 | ||
291 | .dbg-breakpoint-checkbox { | |
292 | width: 16px; | |
293 | height: 16px; | |
294 | margin: 2px; | |
990cba4b RK |
295 | } |
296 | ||
d2ce251d RK |
297 | /* Variable bubble view */ |
298 | ||
299 | .devtools-tooltip-simple-text.token-undefined, | |
300 | .devtools-tooltip-simple-text.token-null { | |
301 | text-align: center; | |
302 | color: #A09090 !important; /* Override the theme's color. */ | |
303 | } | |
304 | ||
305 | .devtools-tooltip-simple-text.token-boolean { | |
306 | text-align: center; | |
307 | color: #9C9CFF !important; | |
308 | } | |
309 | ||
310 | .devtools-tooltip-simple-text.token-number { | |
311 | text-align: center; | |
312 | color: #E7ADE7 !important; | |
313 | } | |
314 | ||
315 | .devtools-tooltip-simple-text.token-string { | |
316 | text-align: start; | |
317 | color: #008484 !important; | |
318 | } | |
319 | ||
320 | .devtools-tooltip-simple-text.token-other { | |
321 | text-align: center; | |
322 | color: #FF9F00 !important; | |
323 | } | |
324 | ||
3a0880a9 RK |
325 | /* Instruments pane (watch expressions, variables, event listeners...) */ |
326 | ||
de57e474 | 327 | #instruments-pane .side-menu-widget-container, |
45dc7657 | 328 | #instruments-pane .side-menu-widget-empty-text { |
de57e474 | 329 | /* box-shadow: none !important; */ |
3a0880a9 RK |
330 | } |
331 | ||
82b4252f | 332 | /* Watch expressions view */ |
990cba4b RK |
333 | |
334 | #expressions { | |
990cba4b | 335 | min-height: 10px; |
56ab361a | 336 | max-height: 125px; |
990cba4b RK |
337 | } |
338 | ||
339 | .dbg-expression { | |
340 | height: 20px; | |
990cba4b RK |
341 | } |
342 | ||
343 | .dbg-expression-arrow { | |
dccbbf95 | 344 | background-image: url("commandline-icon.png"); |
ed88669c | 345 | background-position: -16px 0; |
dccbbf95 RK |
346 | background-repeat: no-repeat; |
347 | background-size: 32px 16px; | |
b27cc46e | 348 | width: 16px; |
dccbbf95 | 349 | height: 16px; |
45dc7657 | 350 | margin: 2px; |
dccbbf95 RK |
351 | } |
352 | ||
353 | @media (min-resolution: 2dppx) { | |
354 | .dbg-expression-arrow { | |
355 | background-image: url(commandline-icon@2x.png); | |
356 | } | |
990cba4b RK |
357 | } |
358 | ||
359 | .dbg-expression-input { | |
de57e474 | 360 | color: inherit; |
990cba4b RK |
361 | } |
362 | ||
45dc7657 RK |
363 | .dbg-expression-button { |
364 | border: none; | |
365 | background: none; | |
45dc7657 | 366 | text-decoration: underline; |
dccbbf95 | 367 | cursor: pointer; |
45dc7657 | 368 | |
45dc7657 RK |
369 | color: #9C9CFF; /* Blue highlight color */ |
370 | } | |
371 | ||
3a0880a9 RK |
372 | /* Event listeners view */ |
373 | ||
374 | .dbg-event-listener { | |
45dc7657 | 375 | padding: 0 8px; |
3a0880a9 RK |
376 | } |
377 | ||
378 | .dbg-event-listener-type { | |
379 | font-weight: 600; | |
380 | } | |
381 | ||
382 | .dbg-event-listener-separator { | |
383 | color: #A09090; | |
384 | } | |
385 | ||
386 | .dbg-event-listener-targets { | |
387 | color: #9C9CFF; | |
388 | } | |
389 | ||
390 | .dbg-event-listener-location { | |
391 | color: #E7ADE7; | |
392 | } | |
393 | ||
de57e474 RK |
394 | #event-listeners .side-menu-widget-item.selected { |
395 | background: none !important; | |
396 | } | |
397 | ||
82b4252f | 398 | /* Searchbox and the search operations help panel */ |
56ab361a | 399 | |
d2ce251d | 400 | #searchbox { |
82b4252f RK |
401 | min-width: 220px; |
402 | -moz-margin-start: 1px; | |
56ab361a RK |
403 | } |
404 | ||
fe524e0c RK |
405 | #filter-label { |
406 | -moz-margin-start: 2px; | |
407 | } | |
408 | ||
409 | #searchbox-panel-operators { | |
410 | margin-top: 5px; | |
82b4252f RK |
411 | margin-bottom: 8px; |
412 | -moz-margin-start: 2px; | |
c29b709d RK |
413 | } |
414 | ||
82b4252f RK |
415 | .searchbox-panel-operator-button { |
416 | min-width: 26px; | |
417 | margin-top: 0; | |
418 | margin-bottom: 0; | |
419 | -moz-margin-start: 2px; | |
420 | -moz-margin-end: 6px; | |
421 | text-align: center; | |
56ab361a RK |
422 | } |
423 | ||
82b4252f RK |
424 | .searchbox-panel-operator-label { |
425 | padding-bottom: 2px; | |
56ab361a RK |
426 | } |
427 | ||
82b4252f | 428 | /* Searchbox results panel */ |
56ab361a | 429 | |
82b4252f RK |
430 | .results-panel { |
431 | padding: 4px; | |
56ab361a RK |
432 | } |
433 | ||
82b4252f RK |
434 | .results-panel-item { |
435 | border: 1px solid #A09090; | |
436 | border-top-color: #8050B0; | |
437 | padding: 5px; | |
56ab361a RK |
438 | cursor: pointer; |
439 | } | |
eec397be | 440 | |
82b4252f RK |
441 | .results-panel-item:first-of-type { |
442 | border-top-color: #9C9CFF; | |
443 | border-radius: 4px 4px 0 0; | |
eec397be RK |
444 | } |
445 | ||
82b4252f RK |
446 | .results-panel-item:last-of-type { |
447 | border-radius: 0 0 4px 4px; | |
b8384c33 RK |
448 | } |
449 | ||
82b4252f RK |
450 | .results-panel-item:only-of-type { |
451 | border-radius: 4px; | |
c29b709d RK |
452 | } |
453 | ||
82b4252f RK |
454 | .results-panel-item:not(.selected):not(:hover) { |
455 | /* text-shadow: 0 1px #fff;*/ | |
85cfb236 RK |
456 | } |
457 | ||
45dc7657 | 458 | .results-panel-item-label-before { |
82b4252f RK |
459 | -moz-margin-end: 5px !important; |
460 | color: #A09090; | |
461 | cursor: inherit; | |
56ab361a RK |
462 | } |
463 | ||
45dc7657 | 464 | .results-panel-item-label { |
82b4252f | 465 | color: #9C9CFF; |
b8384c33 | 466 | font-weight: 600; |
82b4252f | 467 | cursor: inherit; |
85cfb236 RK |
468 | } |
469 | ||
45dc7657 | 470 | .results-panel-item-label-below { |
56ab361a | 471 | color: #FF9F00; |
82b4252f | 472 | cursor: inherit; |
56ab361a RK |
473 | } |
474 | ||
82b4252f | 475 | /* Sources search view */ |
eec397be | 476 | |
82b4252f RK |
477 | #globalsearch { |
478 | min-height: 10px; | |
82b4252f | 479 | max-height: 125px; |
eec397be RK |
480 | } |
481 | ||
82b4252f RK |
482 | #globalsearch + .devtools-horizontal-splitter { |
483 | -moz-border-top-colors: #9C9CFF; | |
56ab361a RK |
484 | } |
485 | ||
82b4252f RK |
486 | .dbg-source-results { |
487 | padding: 0; | |
488 | background: none !important; | |
eec397be RK |
489 | } |
490 | ||
46e71434 RK |
491 | .dbg-source-results:not(.selected):hover { |
492 | background-color: #000000; /* Sidebar background */ | |
493 | } | |
494 | ||
82b4252f | 495 | .dbg-results-header { |
b8384c33 | 496 | -moz-padding-start: 6px; |
37953ab4 RK |
497 | } |
498 | ||
82b4252f | 499 | .dbg-results-header-location { |
990cba4b RK |
500 | font-weight: 600; |
501 | } | |
502 | ||
82b4252f RK |
503 | .dbg-results-header-match-count { |
504 | -moz-padding-start: 6px; | |
eec397be RK |
505 | color: #8050B0; |
506 | } | |
507 | ||
82b4252f RK |
508 | .dbg-results-line-number { |
509 | background: #000000; | |
510 | min-width: 40px; | |
511 | -moz-border-end: 1px solid #9C9CFF; | |
512 | -moz-padding-end: 4px; | |
513 | padding-top: 2px; | |
514 | text-align: end; | |
eec397be RK |
515 | color: #FF9F00; |
516 | } | |
517 | ||
82b4252f RK |
518 | .dbg-results-line-contents { |
519 | -moz-padding-start: 4px; | |
520 | padding-top: 1px; | |
521 | padding-bottom: 1px; | |
eec397be RK |
522 | } |
523 | ||
82b4252f RK |
524 | .dbg-results-line-contents-string { |
525 | padding: 1px; | |
eec397be RK |
526 | } |
527 | ||
82b4252f RK |
528 | .dbg-results-line-contents-string[match=true] { |
529 | background: #E7ADE7; | |
530 | color: #000000; | |
531 | padding: 0; | |
532 | border: 1px solid #9C9CFF; | |
533 | border-radius: 4px; | |
534 | cursor: pointer; | |
eec397be RK |
535 | } |
536 | ||
82b4252f RK |
537 | .dbg-results-line-contents-string[match=true][focusing] { |
538 | transition: transform 0.3s ease-in-out; | |
eec397be RK |
539 | } |
540 | ||
82b4252f RK |
541 | .dbg-results-line-contents-string[match=true][focused] { |
542 | transition-duration: 0.1s; | |
543 | transform: scale(1.75, 1.75); | |
b8384c33 RK |
544 | } |
545 | ||
3a0880a9 | 546 | /* Toolbar controls */ |
5322a392 | 547 | |
c29b709d | 548 | #toggle-panes { |
c29b709d RK |
549 | list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); |
550 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
551 | } | |
552 | ||
b8384c33 | 553 | #toggle-panes:not([panesHidden]) { |
c29b709d RK |
554 | list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); |
555 | } | |
556 | ||
557 | #toggle-panes:hover, | |
558 | #toggle-panes:hover:active { | |
559 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
560 | } | |
561 | ||
dccbbf95 RK |
562 | #debugger-toolbar .devtools-toolbarbutton:not([label]) > .toolbarbutton-icon, |
563 | #sources-toolbar .devtools-toolbarbutton:not([label]) > .toolbarbutton-icon { | |
564 | width: 16px; | |
565 | height: 16px; | |
566 | } | |
567 | ||
5322a392 | 568 | #resume { |
3886293f | 569 | list-style-image: url("chrome://browser/skin/devtools/debugger-pause.png"); |
5322a392 RK |
570 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
571 | } | |
572 | ||
5322a392 RK |
573 | #resume:hover { |
574 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
575 | } | |
576 | ||
3886293f | 577 | #resume[checked=true] { |
3886293f | 578 | list-style-image: url("chrome://browser/skin/devtools/debugger-play.png"); |
3886293f RK |
579 | } |
580 | ||
dccbbf95 RK |
581 | @media (min-resolution: 2dppx) { |
582 | #resume { | |
583 | list-style-image: url(debugger-pause@2x.png); | |
584 | -moz-image-region: rect(0px, 32px, 32px, 0px); | |
585 | } | |
586 | ||
587 | #resume:hover { | |
588 | -moz-image-region: rect(0px, 64px, 32px, 32px); | |
589 | } | |
590 | ||
591 | #resume[checked=true] { | |
592 | list-style-image: url(debugger-play@2x.png); | |
dccbbf95 RK |
593 | } |
594 | } | |
595 | ||
3886293f RK |
596 | #resume ~ toolbarbutton { |
597 | /* transition: opacity 0.15s ease-in-out; */ | |
598 | } | |
599 | ||
600 | #resume:not([checked]) ~ toolbarbutton { | |
601 | /* opacity: 0.5; */ | |
602 | } | |
603 | ||
5322a392 RK |
604 | #step-over { |
605 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png"); | |
606 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
607 | } | |
608 | #step-over:hover { | |
609 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
610 | } | |
611 | ||
612 | #step-in { | |
613 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png"); | |
614 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
615 | } | |
616 | #step-in:hover { | |
617 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
618 | } | |
619 | ||
620 | #step-out { | |
621 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png"); | |
622 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
623 | } | |
624 | #step-out:hover { | |
625 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
626 | } | |
627 | ||
dccbbf95 RK |
628 | @media (min-resolution: 2dppx) { |
629 | #step-over { | |
630 | list-style-image: url(debugger-step-over@2x.png); | |
631 | -moz-image-region: rect(0px, 32px, 32px, 0); | |
632 | } | |
633 | ||
634 | #step-over:hover { | |
635 | -moz-image-region: rect(0px, 64px, 32px, 32px); | |
636 | } | |
637 | ||
638 | #step-in { | |
639 | list-style-image: url(debugger-step-in@2x.png); | |
640 | -moz-image-region: rect(0px, 32px, 32px, 0); | |
641 | } | |
642 | ||
643 | #step-in:hover { | |
644 | -moz-image-region: rect(0px, 64px, 32px, 32px); | |
645 | } | |
646 | ||
647 | #step-out { | |
648 | list-style-image: url(debugger-step-out@2x.png); | |
649 | -moz-image-region: rect(0px, 32px, 32px, 0); | |
650 | } | |
651 | ||
652 | #step-out:hover { | |
653 | -moz-image-region: rect(0px, 64px, 32px, 32px); | |
654 | } | |
655 | } | |
656 | ||
82b4252f | 657 | #instruments-pane-toggle { |
f7774352 | 658 | /* background: none; |
82b4252f | 659 | box-shadow: none; |
f7774352 | 660 | border: none; */ |
ed1a91c6 | 661 | list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); |
82b4252f RK |
662 | -moz-image-region: rect(0px,16px,16px,0px); |
663 | } | |
664 | ||
ed1a91c6 RK |
665 | #instruments-pane-toggle[pane-collapsed] { |
666 | list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); | |
82b4252f RK |
667 | } |
668 | ||
dccbbf95 | 669 | #instruments-pane-toggle:hover { |
82b4252f RK |
670 | -moz-image-region: rect(0px,32px,16px,16px); |
671 | } | |
3a0880a9 | 672 | |
dccbbf95 RK |
673 | @media (min-resolution: 2dppx) { |
674 | #instruments-pane-toggle { | |
675 | list-style-image: url(debugger-collapse@2x.png); | |
676 | -moz-image-region: rect(0px,32px,32px,0px); | |
677 | } | |
678 | ||
679 | #instruments-pane-toggle[pane-collapsed] { | |
680 | list-style-image: url(debugger-expand@2x.png); | |
681 | } | |
682 | ||
683 | #instruments-pane-toggle:hover { | |
684 | -moz-image-region: rect(0px,64px,32px,32px); | |
685 | } | |
686 | } | |
687 | ||
3a0880a9 RK |
688 | /* Horizontal vs. vertical layout */ |
689 | ||
690 | #vertical-layout-panes-container { | |
691 | min-height: 35vh; | |
692 | max-height: 80vh; | |
693 | } | |
694 | ||
695 | #body[layout=vertical] #instruments-pane { | |
696 | margin: 0 !important; | |
697 | /* To prevent all the margin hacks to hide the sidebar. */ | |
698 | } | |
699 | ||
de57e474 RK |
700 | #body[layout=vertical] #sources-pane > tabs { |
701 | -moz-border-end: none; | |
702 | } | |
703 | ||
704 | #body[layout=vertical] .side-menu-widget-container, | |
45dc7657 | 705 | #body[layout=vertical] .side-menu-widget-empty-text { |
3a0880a9 RK |
706 | box-shadow: none !important; |
707 | } | |
708 | ||
709 | #body[layout=vertical] .side-menu-widget-item-arrow { | |
710 | background-image: none !important; | |
711 | } | |
45dc7657 RK |
712 | |
713 | /* === END debugger.inc.css === */ |