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 | ||
82b4252f RK |
19 | #sources-pane + .devtools-side-splitter { |
20 | -moz-border-start-color: transparent; | |
eec397be RK |
21 | } |
22 | ||
fe524e0c RK |
23 | .side-menu-widget-item-checkbox { |
24 | -moz-appearance: none; | |
25 | padding: 0; | |
26 | margin: 0 -4px 0 4px; | |
27 | opacity: 0; | |
28 | transition: opacity .25s ease 0s; | |
29 | } | |
30 | ||
31 | /* Only show the checkbox when the source is hovered over, is selected, or if it | |
32 | * is not checked. */ | |
33 | .side-menu-widget-item:hover > .side-menu-widget-item-checkbox, | |
34 | .side-menu-widget-item.selected > .side-menu-widget-item-checkbox, | |
35 | .side-menu-widget-item-checkbox:not([checked]) { | |
36 | opacity: 1; | |
37 | transition: opacity .25s ease-out 0s; | |
38 | } | |
39 | ||
40 | .side-menu-widget-item-checkbox > .checkbox-check { | |
41 | -moz-appearance: none; | |
42 | background: none; | |
43 | background-image: url("itemToggle.png"); | |
44 | background-repeat: no-repeat; | |
45 | background-clip: content-box; | |
46 | background-position: -24px 0; | |
47 | width: 24px; | |
48 | height: 24px; | |
49 | border: 0; | |
50 | } | |
51 | ||
52 | .side-menu-widget-item-checkbox[checked] > .checkbox-check { | |
53 | background-position: 0 0; | |
54 | } | |
55 | ||
56 | .side-menu-widget-item-checkbox:not([checked]) ~ .side-menu-widget-item-contents > .dbg-breakpoint { | |
57 | display: none; | |
58 | } | |
59 | ||
60 | /* Black box message */ | |
61 | ||
62 | #black-boxed-message { | |
63 | /* Prevent the container deck from aquiring the height from this message. */ | |
64 | min-height: 1px; | |
65 | background-color: #A09090; | |
66 | padding: 25vh 0; | |
67 | color: #000000; | |
68 | } | |
69 | ||
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 RK |
129 | .dbg-breakpoint { |
130 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
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; | |
990cba4b RK |
140 | } |
141 | ||
82b4252f | 142 | /* Watch expressions view */ |
990cba4b RK |
143 | |
144 | #expressions { | |
990cba4b | 145 | min-height: 10px; |
56ab361a | 146 | max-height: 125px; |
990cba4b RK |
147 | } |
148 | ||
149 | .dbg-expression { | |
150 | height: 20px; | |
990cba4b RK |
151 | } |
152 | ||
153 | .dbg-expression-arrow { | |
b27cc46e | 154 | width: 16px; |
990cba4b | 155 | height: auto; |
b27cc46e | 156 | background: -moz-image-rect(url("chrome://browser/skin/devtools/commandline-icon.png"), 0, 32, 16, 16); |
990cba4b RK |
157 | } |
158 | ||
159 | .dbg-expression-input { | |
82b4252f RK |
160 | -moz-padding-start: 2px !important; |
161 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
990cba4b RK |
162 | } |
163 | ||
82b4252f | 164 | /* Searchbox and the search operations help panel */ |
56ab361a | 165 | |
82b4252f RK |
166 | .devtools-searchinput { |
167 | min-width: 220px; | |
168 | -moz-margin-start: 1px; | |
56ab361a RK |
169 | } |
170 | ||
fe524e0c RK |
171 | #filter-label { |
172 | -moz-margin-start: 2px; | |
173 | } | |
174 | ||
175 | #searchbox-panel-operators { | |
176 | margin-top: 5px; | |
82b4252f RK |
177 | margin-bottom: 8px; |
178 | -moz-margin-start: 2px; | |
c29b709d RK |
179 | } |
180 | ||
82b4252f RK |
181 | .searchbox-panel-operator-button { |
182 | min-width: 26px; | |
183 | margin-top: 0; | |
184 | margin-bottom: 0; | |
185 | -moz-margin-start: 2px; | |
186 | -moz-margin-end: 6px; | |
187 | text-align: center; | |
188 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
56ab361a RK |
189 | } |
190 | ||
82b4252f RK |
191 | .searchbox-panel-operator-label { |
192 | padding-bottom: 2px; | |
56ab361a RK |
193 | } |
194 | ||
82b4252f | 195 | /* Searchbox results panel */ |
56ab361a | 196 | |
82b4252f RK |
197 | .results-panel { |
198 | padding: 4px; | |
56ab361a RK |
199 | } |
200 | ||
82b4252f RK |
201 | .results-panel-item { |
202 | border: 1px solid #A09090; | |
203 | border-top-color: #8050B0; | |
204 | padding: 5px; | |
56ab361a RK |
205 | cursor: pointer; |
206 | } | |
eec397be | 207 | |
82b4252f RK |
208 | .results-panel-item:first-of-type { |
209 | border-top-color: #9C9CFF; | |
210 | border-radius: 4px 4px 0 0; | |
eec397be RK |
211 | } |
212 | ||
82b4252f RK |
213 | .results-panel-item:last-of-type { |
214 | border-radius: 0 0 4px 4px; | |
b8384c33 RK |
215 | } |
216 | ||
82b4252f RK |
217 | .results-panel-item:only-of-type { |
218 | border-radius: 4px; | |
c29b709d RK |
219 | } |
220 | ||
82b4252f RK |
221 | .results-panel-item:not(.selected):not(:hover) { |
222 | /* text-shadow: 0 1px #fff;*/ | |
85cfb236 RK |
223 | } |
224 | ||
82b4252f RK |
225 | .results-panel-item-pre { |
226 | -moz-margin-end: 5px !important; | |
227 | color: #A09090; | |
228 | cursor: inherit; | |
56ab361a RK |
229 | } |
230 | ||
82b4252f RK |
231 | .results-panel-item-name { |
232 | color: #9C9CFF; | |
b8384c33 | 233 | font-weight: 600; |
82b4252f | 234 | cursor: inherit; |
85cfb236 RK |
235 | } |
236 | ||
82b4252f | 237 | .results-panel-item-details { |
56ab361a | 238 | color: #FF9F00; |
82b4252f | 239 | cursor: inherit; |
56ab361a RK |
240 | } |
241 | ||
82b4252f | 242 | /* Sources search view */ |
eec397be | 243 | |
82b4252f RK |
244 | #globalsearch { |
245 | min-height: 10px; | |
b8384c33 RK |
246 | } |
247 | ||
82b4252f RK |
248 | #globalsearch > vbox:not(:empty) { |
249 | min-height: 10px; | |
250 | max-height: 125px; | |
eec397be RK |
251 | } |
252 | ||
82b4252f RK |
253 | #globalsearch + .devtools-horizontal-splitter { |
254 | -moz-border-top-colors: #9C9CFF; | |
56ab361a RK |
255 | } |
256 | ||
82b4252f RK |
257 | .dbg-source-results { |
258 | padding: 0; | |
259 | background: none !important; | |
eec397be RK |
260 | } |
261 | ||
82b4252f | 262 | .dbg-results-header { |
b8384c33 | 263 | -moz-padding-start: 6px; |
37953ab4 RK |
264 | } |
265 | ||
82b4252f | 266 | .dbg-results-header-location { |
990cba4b RK |
267 | font-weight: 600; |
268 | } | |
269 | ||
82b4252f RK |
270 | .dbg-results-header-match-count { |
271 | -moz-padding-start: 6px; | |
eec397be RK |
272 | color: #8050B0; |
273 | } | |
274 | ||
82b4252f RK |
275 | .dbg-results-line-number { |
276 | background: #000000; | |
277 | min-width: 40px; | |
278 | -moz-border-end: 1px solid #9C9CFF; | |
279 | -moz-padding-end: 4px; | |
280 | padding-top: 2px; | |
281 | text-align: end; | |
282 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
eec397be RK |
283 | color: #FF9F00; |
284 | } | |
285 | ||
82b4252f RK |
286 | .dbg-results-line-contents { |
287 | -moz-padding-start: 4px; | |
288 | padding-top: 1px; | |
289 | padding-bottom: 1px; | |
290 | font-family: "Liberation Mono", Consolas, "Courier New", monospace; | |
eec397be RK |
291 | } |
292 | ||
82b4252f RK |
293 | .dbg-results-line-contents-string { |
294 | padding: 1px; | |
eec397be RK |
295 | } |
296 | ||
82b4252f RK |
297 | .dbg-results-line-contents-string[match=true] { |
298 | background: #E7ADE7; | |
299 | color: #000000; | |
300 | padding: 0; | |
301 | border: 1px solid #9C9CFF; | |
302 | border-radius: 4px; | |
303 | cursor: pointer; | |
eec397be RK |
304 | } |
305 | ||
82b4252f RK |
306 | .dbg-results-line-contents-string[match=true][focusing] { |
307 | transition: transform 0.3s ease-in-out; | |
eec397be RK |
308 | } |
309 | ||
82b4252f RK |
310 | .dbg-results-line-contents-string[match=true][focused] { |
311 | transition-duration: 0.1s; | |
312 | transform: scale(1.75, 1.75); | |
b8384c33 RK |
313 | } |
314 | ||
82b4252f | 315 | /* Toolbar Controls */ |
5322a392 | 316 | |
c29b709d | 317 | #toggle-panes { |
c29b709d RK |
318 | list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); |
319 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
320 | } | |
321 | ||
b8384c33 | 322 | #toggle-panes:not([panesHidden]) { |
c29b709d RK |
323 | list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); |
324 | } | |
325 | ||
326 | #toggle-panes:hover, | |
327 | #toggle-panes:hover:active { | |
328 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
329 | } | |
330 | ||
ed1a91c6 RK |
331 | #resumption-panel-desc { |
332 | width: 200px; | |
333 | } | |
334 | ||
335 | #resumption-order-panel { | |
336 | -moz-margin-start: -8px; | |
337 | } | |
338 | ||
5322a392 | 339 | #resume { |
37953ab4 | 340 | list-style-image: url("chrome://browser/skin/devtools/debugger-play.png"); |
5322a392 RK |
341 | -moz-image-region: rect(0px, 16px, 16px, 0px); |
342 | } | |
343 | ||
344 | #resume[checked=true], | |
345 | #resume:hover { | |
346 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
347 | } | |
348 | ||
349 | #step-over { | |
350 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-over.png"); | |
351 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
352 | } | |
353 | #step-over:hover { | |
354 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
355 | } | |
356 | ||
357 | #step-in { | |
358 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-in.png"); | |
359 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
360 | } | |
361 | #step-in:hover { | |
362 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
363 | } | |
364 | ||
365 | #step-out { | |
366 | list-style-image: url("chrome://browser/skin/devtools/debugger-step-out.png"); | |
367 | -moz-image-region: rect(0px, 16px, 16px, 0px); | |
368 | } | |
369 | #step-out:hover { | |
370 | -moz-image-region: rect(0px, 32px, 16px, 16px); | |
371 | } | |
372 | ||
373 | #debugger-controls > toolbarbutton { | |
374 | } | |
375 | ||
376 | #debugger-controls > toolbarbutton:last-of-type { | |
377 | } | |
378 | ||
379 | #debugger-controls { | |
380 | } | |
82b4252f RK |
381 | |
382 | #instruments-pane-toggle { | |
f7774352 | 383 | /* background: none; |
82b4252f | 384 | box-shadow: none; |
f7774352 | 385 | border: none; */ |
ed1a91c6 | 386 | list-style-image: url("chrome://browser/skin/devtools/debugger-collapse.png"); |
82b4252f RK |
387 | -moz-image-region: rect(0px,16px,16px,0px); |
388 | } | |
389 | ||
ed1a91c6 RK |
390 | #instruments-pane-toggle[pane-collapsed] { |
391 | list-style-image: url("chrome://browser/skin/devtools/debugger-expand.png"); | |
82b4252f RK |
392 | } |
393 | ||
394 | #instruments-pane-toggle:hover, | |
395 | #instruments-pane-toggle:hover:active { | |
396 | -moz-image-region: rect(0px,32px,16px,16px); | |
397 | } |