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