Commit | Line | Data |
---|---|---|
cc7e70eb RK |
1 | /* vim:set ts=2 sw=2 sts=2 et: */ |
2 | /* This Source Code Form is subject to the terms of the Mozilla Public | |
3 | * License, v. 2.0. If a copy of the MPL was not distributed with this | |
4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | |
5 | ||
6 | /* Generic pane helpers */ | |
7 | ||
8 | .generic-toggled-side-pane { | |
9 | min-width: 50px; | |
10 | -moz-margin-start: 0px !important; | |
11 | /* Unfortunately, transitions don't work properly with locale-aware properties, | |
12 | so both the left and right margins are set via js, while the start margin | |
13 | is always overridden here. */ | |
14 | } | |
15 | ||
16 | .generic-toggled-side-pane[animated] { | |
17 | transition: margin 0.25s ease-in-out; | |
18 | } | |
19 | ||
20 | /* BreacrumbsWidget */ | |
21 | ||
22 | .breadcrumbs-widget-container { | |
23 | -moz-margin-end: 3px; | |
24 | /* A fake 1px-shadow is included in the border-images of the | |
25 | breadcrumbs-widget-items, to match toolbar-buttons style. | |
26 | This negative margin compensates the extra row of pixels created | |
27 | by the shadow.*/ | |
f7774352 | 28 | /* margin: -1px 0;*/ |
cc7e70eb RK |
29 | } |
30 | ||
31 | /* Preloading hack, LTR */ | |
32 | ||
33 | .breadcrumbs-widget-container:-moz-locale-dir(ltr)::after { | |
34 | content: ''; | |
35 | display: block; | |
36 | background-image: | |
37 | url("breadcrumbs/ltr-start.png"), | |
38 | url("breadcrumbs/ltr-start-selected.png"), | |
39 | url("breadcrumbs/ltr-start-pressed.png"), | |
40 | url("breadcrumbs/ltr-start-selected-pressed.png"), | |
41 | url("breadcrumbs/ltr-middle.png"), | |
42 | url("breadcrumbs/ltr-middle-selected.png"), | |
43 | url("breadcrumbs/ltr-middle-pressed.png"), | |
44 | url("breadcrumbs/ltr-middle-selected-pressed.png"), | |
45 | url("breadcrumbs/ltr-end.png"), | |
46 | url("breadcrumbs/ltr-end-selected.png"), | |
47 | url("breadcrumbs/ltr-end-pressed.png"), | |
48 | url("breadcrumbs/ltr-end-selected-pressed.png"); | |
49 | } | |
50 | ||
51 | /* Preloading hack, RTL */ | |
52 | ||
53 | .breadcrumbs-widget-container:-moz-locale-dir(rtl)::after { | |
54 | content: ''; | |
55 | display: block; | |
56 | background-image: | |
57 | url("breadcrumbs/rtl-start.png"), | |
58 | url("breadcrumbs/rtl-start-selected.png"), | |
59 | url("breadcrumbs/rtl-start-pressed.png"), | |
60 | url("breadcrumbs/rtl-start-selected-pressed.png"), | |
61 | url("breadcrumbs/rtl-middle.png"), | |
62 | url("breadcrumbs/rtl-middle-selected.png"), | |
63 | url("breadcrumbs/rtl-middle-pressed.png"), | |
64 | url("breadcrumbs/rtl-middle-selected-pressed.png"), | |
65 | url("breadcrumbs/rtl-end.png"), | |
66 | url("breadcrumbs/rtl-end-selected.png"), | |
67 | url("breadcrumbs/rtl-end-pressed.png"), | |
68 | url("breadcrumbs/rtl-end-selected-pressed.png"); | |
69 | } | |
70 | ||
71 | .scrollbutton-up, | |
72 | .scrollbutton-down { | |
73 | min-height: 25px; | |
74 | margin-top: 0; | |
75 | margin-bottom: 0; | |
76 | } | |
77 | ||
78 | .scrollbutton-up { | |
79 | -moz-margin-end: 1px; | |
80 | } | |
81 | ||
82 | .scrollbutton-down { | |
83 | -moz-margin-end: 0; | |
84 | } | |
85 | ||
86 | .scrollbutton-up:not([disabled]):active:hover, | |
87 | .scrollbutton-down:not([disabled]):active:hover { | |
88 | } | |
89 | ||
90 | .scrollbutton-up > .toolbarbutton-icon, | |
91 | .scrollbutton-down > .toolbarbutton-icon { | |
92 | /* margin: 0 5px; */ | |
93 | } | |
94 | ||
95 | .scrollbutton-up:not([disabled]):active:hover > .toolbarbutton-icon, | |
96 | .scrollbutton-down:not([disabled]):active:hover > .toolbarbutton-icon { | |
97 | } | |
98 | ||
99 | .scrollbutton-up[disabled] > .toolbarbutton-icon, | |
100 | .scrollbutton-down[disabled] > .toolbarbutton-icon { | |
101 | } | |
102 | ||
103 | .scrollbutton-up:-moz-locale-dir(ltr) { | |
104 | border-top-right-radius: 0; | |
105 | border-bottom-right-radius: 0; | |
106 | } | |
107 | ||
108 | .scrollbutton-down:-moz-locale-dir(ltr) { | |
109 | border-top-left-radius: 0; | |
110 | border-bottom-left-radius: 0; | |
111 | } | |
112 | ||
113 | .scrollbutton-up:-moz-locale-dir(rtl) { | |
114 | border-top-left-radius: 0; | |
115 | border-bottom-left-radius: 0; | |
116 | } | |
117 | ||
118 | .scrollbutton-down:-moz-locale-dir(rtl) { | |
119 | border-top-right-radius: 0; | |
120 | border-bottom-right-radius: 0; | |
121 | } | |
122 | ||
123 | .scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl), | |
124 | .scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) { | |
125 | /* transform: scaleX(-1); */ | |
126 | } | |
127 | ||
128 | .breadcrumbs-widget-item { | |
129 | background-color: #000000; | |
130 | overflow: hidden; | |
131 | min-width: 85px; | |
132 | max-width: 250px; | |
133 | min-height: 25px; | |
134 | border-style: solid; | |
135 | border-width: 2px 13px; | |
136 | border-radius: 0; | |
137 | margin: 0 -11px 0 0; | |
138 | padding: 0 9px; | |
139 | outline: none; | |
140 | color: #FF9F00; | |
141 | } | |
142 | ||
143 | .breadcrumbs-widget-item:hover { | |
144 | background-color: #FFCF00; | |
145 | color: #000000; | |
146 | } | |
147 | ||
148 | .breadcrumbs-widget-item[checked]:not(:hover) { | |
149 | background-color: #008484; | |
150 | color: #000000; | |
151 | } | |
152 | ||
153 | .breadcrumbs-widget-item[siblings-menu-open], | |
154 | .breadcrumbs-widget-item:active { | |
155 | background-color: #FF9F00; | |
156 | color: #000000; | |
157 | } | |
158 | ||
159 | .breadcrumbs-widget-item:-moz-focusring > label { | |
160 | border-bottom: 1px dotted #008484; | |
161 | } | |
162 | ||
163 | .breadcrumbs-widget-item:-moz-focusring > .button-box { | |
164 | border-width: 0; | |
165 | } | |
166 | ||
167 | .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-tag { | |
168 | /* color: hsl(208,100%,60%); */ | |
169 | } | |
170 | ||
171 | .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-id { | |
172 | /* color: hsl(205,100%,70%); */ | |
173 | } | |
174 | ||
175 | .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-pseudo-classes { | |
176 | color: #FF9F00; | |
177 | } | |
178 | ||
179 | .breadcrumbs-widget-item-id, | |
180 | .breadcrumbs-widget-item-classes { | |
181 | /* color: #8d99a6; */ | |
182 | } | |
183 | ||
184 | .breadcrumbs-widget-item-pseudo-classes { | |
185 | color: #FFCF00; | |
186 | } | |
187 | ||
188 | /* Breadcrumbs LTR */ | |
189 | ||
190 | .breadcrumbs-widget-item:-moz-locale-dir(ltr) { | |
191 | border-image: url("breadcrumbs/ltr-middle.png") 2 13 2 13 fill stretch; | |
192 | } | |
193 | ||
194 | .breadcrumbs-widget-item:not([checked]):hover:active:-moz-locale-dir(ltr) { | |
195 | border-image: url("breadcrumbs/ltr-middle-pressed.png") 2 13 2 13 fill stretch; | |
196 | } | |
197 | ||
198 | .breadcrumbs-widget-item[checked]:-moz-locale-dir(ltr) { | |
199 | border-image: url("breadcrumbs/ltr-middle-selected.png") 2 13 2 13 fill stretch; | |
200 | } | |
201 | ||
202 | .breadcrumbs-widget-item[checked]:hover:active:-moz-locale-dir(ltr) { | |
203 | border-image: url("breadcrumbs/ltr-middle-selected-pressed.png") 2 13 2 13 fill stretch; | |
204 | } | |
205 | ||
206 | .breadcrumbs-widget-item:first-of-type:-moz-locale-dir(ltr) { | |
207 | border-image: url("breadcrumbs/ltr-start.png") 2 13 2 13 fill stretch; | |
208 | } | |
209 | ||
210 | .breadcrumbs-widget-item:first-of-type:not([checked]):hover:active:-moz-locale-dir(ltr) { | |
211 | border-image: url("breadcrumbs/ltr-start-pressed.png") 2 13 2 13 fill stretch; | |
212 | } | |
213 | ||
214 | .breadcrumbs-widget-item:first-of-type[checked]:-moz-locale-dir(ltr) { | |
215 | border-image: url("breadcrumbs/ltr-start-selected.png") 2 13 2 13 fill stretch; | |
216 | } | |
217 | ||
218 | .breadcrumbs-widget-item:first-of-type[checked]:hover:active:-moz-locale-dir(ltr) { | |
219 | border-image: url("breadcrumbs/ltr-start-selected-pressed.png") 2 13 2 13 fill stretch; | |
220 | } | |
221 | ||
222 | .breadcrumbs-widget-item:last-of-type:-moz-locale-dir(ltr) { | |
223 | border-image: url("breadcrumbs/ltr-end.png") 2 13 2 13 fill stretch; | |
224 | } | |
225 | ||
226 | .breadcrumbs-widget-item:last-of-type:not([checked]):hover:active:-moz-locale-dir(ltr) { | |
227 | border-image: url("breadcrumbs/ltr-end-pressed.png") 2 13 2 13 fill stretch; | |
228 | } | |
229 | ||
230 | .breadcrumbs-widget-item:last-of-type[checked]:-moz-locale-dir(ltr) { | |
231 | border-image: url("breadcrumbs/ltr-end-selected.png") 2 13 2 13 fill stretch; | |
232 | } | |
233 | ||
234 | .breadcrumbs-widget-item:last-of-type[checked]:hover:active:-moz-locale-dir(ltr) { | |
235 | border-image: url("breadcrumbs/ltr-end-selected-pressed.png") 2 13 2 13 fill stretch; | |
236 | } | |
237 | ||
238 | .breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:first-of-type:-moz-locale-dir(ltr) { | |
239 | } | |
240 | ||
241 | .breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:last-of-type:-moz-locale-dir(ltr) { | |
242 | } | |
243 | ||
244 | /* Breadcrumbs RTL */ | |
245 | ||
246 | .breadcrumbs-widget-item:-moz-locale-dir(rtl) { | |
247 | border-image: url("breadcrumbs/rtl-middle.png") 2 13 2 13 fill stretch; | |
248 | } | |
249 | ||
250 | .breadcrumbs-widget-item:not([checked]):hover:active:-moz-locale-dir(rtl) { | |
251 | border-image: url("breadcrumbs/rtl-middle-pressed.png") 2 13 2 13 fill stretch; | |
252 | } | |
253 | ||
254 | .breadcrumbs-widget-item[checked]:-moz-locale-dir(rtl) { | |
255 | border-image: url("breadcrumbs/rtl-middle-selected.png") 2 13 2 13 fill stretch; | |
256 | } | |
257 | ||
258 | .breadcrumbs-widget-item[checked]:hover:active:-moz-locale-dir(rtl) { | |
259 | border-image: url("breadcrumbs/rtl-middle-selected-pressed.png") 2 13 2 13 fill stretch; | |
260 | } | |
261 | ||
262 | .breadcrumbs-widget-item:first-of-type:-moz-locale-dir(rtl) { | |
263 | border-image: url("breadcrumbs/rtl-start.png") 2 13 2 13 fill stretch; | |
264 | } | |
265 | ||
266 | .breadcrumbs-widget-item:first-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) { | |
267 | border-image: url("breadcrumbs/rtl-start-pressed.png") 2 13 2 13 fill stretch; | |
268 | } | |
269 | ||
270 | .breadcrumbs-widget-item:first-of-type[checked]:-moz-locale-dir(rtl) { | |
271 | border-image: url("breadcrumbs/rtl-start-selected.png") 2 13 2 13 fill stretch; | |
272 | } | |
273 | ||
274 | .breadcrumbs-widget-item:first-of-type[checked]:hover:active:-moz-locale-dir(rtl) { | |
275 | border-image: url("breadcrumbs/rtl-start-selected-pressed.png") 2 13 2 13 fill stretch; | |
276 | } | |
277 | ||
278 | .breadcrumbs-widget-item:last-of-type:-moz-locale-dir(rtl) { | |
279 | border-image: url("breadcrumbs/rtl-end.png") 2 13 2 13 fill stretch; | |
280 | } | |
281 | ||
282 | .breadcrumbs-widget-item:last-of-type:not([checked]):hover:active:-moz-locale-dir(rtl) { | |
283 | border-image: url("breadcrumbs/rtl-end-pressed.png") 2 13 2 13 fill stretch; | |
284 | } | |
285 | ||
286 | .breadcrumbs-widget-item:last-of-type[checked]:-moz-locale-dir(rtl) { | |
287 | border-image: url("breadcrumbs/rtl-end-selected.png") 2 13 2 13 fill stretch; | |
288 | } | |
289 | ||
290 | .breadcrumbs-widget-item:last-of-type[checked]:hover:active:-moz-locale-dir(rtl) { | |
291 | border-image: url("breadcrumbs/rtl-end-selected-pressed.png") 2 13 2 13 fill stretch; | |
292 | } | |
293 | ||
294 | .breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:first-of-type:-moz-locale-dir(rtl) { | |
295 | } | |
296 | ||
297 | .breadcrumbs-widget-container[overflows] > .breadcrumbs-widget-item:last-of-type:-moz-locale-dir(rtl) { | |
298 | } | |
299 | ||
300 | /* SideMenuWidget */ | |
301 | ||
302 | .side-menu-widget-container { | |
303 | background-color: #000000; | |
304 | color: #FF9F00; | |
305 | } | |
306 | ||
7600e0b1 RK |
307 | /* SideMenuWidget container */ |
308 | ||
3a0880a9 | 309 | .side-menu-widget-container[with-arrows=true]:-moz-locale-dir(ltr) { |
cc7e70eb RK |
310 | } |
311 | ||
3a0880a9 | 312 | .side-menu-widget-container[with-arrows=true]:-moz-locale-dir(rtl) { |
cc7e70eb RK |
313 | } |
314 | ||
7600e0b1 RK |
315 | .side-menu-widget-container[with-arrows=true] .side-menu-widget-group { |
316 | /* To allow visibility of the dark margin shadow. */ | |
317 | /* -moz-margin-end: 1px; */ | |
318 | } | |
319 | ||
320 | .side-menu-widget-container[with-arrows=true] .side-menu-widget-item { | |
321 | /* To compensate for the arrow image's dark margin. */ | |
322 | /* -moz-margin-end: -1px; */ | |
323 | } | |
324 | ||
325 | /* SideMenuWidget groups */ | |
326 | ||
cc7e70eb | 327 | .side-menu-widget-group-title { |
cc7e70eb | 328 | padding: 4px; |
3a0880a9 RK |
329 | |
330 | background-color: #A09090; | |
cc7e70eb | 331 | color: #000000; |
cc7e70eb RK |
332 | } |
333 | ||
7600e0b1 RK |
334 | /* SideMenuWidget items */ |
335 | ||
cc7e70eb RK |
336 | .side-menu-widget-item { |
337 | border-top: 1px solid #9C9CFF; | |
1b13529a RK |
338 | margin-top: -1px; |
339 | margin-bottom: -1px; | |
cc7e70eb RK |
340 | } |
341 | ||
342 | .side-menu-widget-item:last-of-type { | |
343 | border-bottom: 1px solid #9C9CFF; | |
344 | } | |
345 | ||
346 | .side-menu-widget-item.selected { | |
347 | background-color: #008484 !important; | |
348 | color: #000000; | |
349 | } | |
350 | ||
351 | .side-menu-widget-item.selected > .side-menu-widget-item-arrow { | |
352 | background-size: auto, 1px 100%; | |
353 | background-repeat: no-repeat; | |
354 | } | |
355 | ||
356 | .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(ltr) { | |
357 | background-image: url("itemArrow-ltr.png"), linear-gradient(to right, #000000, #000000); | |
358 | background-position: center right, top right; | |
359 | } | |
360 | ||
361 | .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) { | |
362 | background-image: url("itemArrow-rtl.png"), linear-gradient(to right, #000000, #000000); | |
363 | background-position: center left, top left; | |
364 | } | |
365 | ||
7600e0b1 RK |
366 | /* SideMenuWidget items contents */ |
367 | ||
1b13529a RK |
368 | .side-menu-widget-item-label { |
369 | padding: 4px 0px; | |
1b13529a RK |
370 | } |
371 | ||
cc7e70eb RK |
372 | .side-menu-widget-item-arrow { |
373 | -moz-margin-start: -8px; | |
374 | width: 8px; | |
375 | } | |
376 | ||
cc7e70eb RK |
377 | .side-menu-widget-item-other { |
378 | background-color: #000000; | |
379 | margin: 0 -4px; | |
380 | -moz-padding-start: 5px; | |
381 | } | |
382 | ||
383 | .side-menu-widget-item-other.selected { | |
384 | background-color: #008484; | |
385 | color: #000000; | |
386 | } | |
387 | ||
cc7e70eb | 388 | .side-menu-widget-item-other:first-of-type { |
1b13529a | 389 | /* border-top-left-radius: 4px; */ |
cc7e70eb RK |
390 | } |
391 | ||
392 | .side-menu-widget-item-other:not(.selected) > label { | |
393 | color: #9C9CFF; | |
394 | } | |
395 | ||
6568957a RK |
396 | /* SideMenuWidget checkboxes */ |
397 | ||
398 | .side-menu-widget-group-checkbox { | |
399 | margin: 0; | |
400 | -moz-margin-end: 4px; | |
401 | } | |
402 | ||
403 | .side-menu-widget-item-checkbox { | |
404 | margin: 0; | |
405 | -moz-margin-start: 4px; | |
406 | -moz-margin-end: -4px; | |
407 | } | |
408 | ||
7600e0b1 RK |
409 | /* SideMenuWidget misc */ |
410 | ||
cc7e70eb | 411 | .side-menu-widget-empty-notice-container { |
cc7e70eb | 412 | padding: 12px; |
3a0880a9 RK |
413 | |
414 | background-color: #000000; | |
cc7e70eb | 415 | font-weight: 600; |
3a0880a9 | 416 | color: #A09090; |
cc7e70eb RK |
417 | } |
418 | ||
419 | /* VariablesView */ | |
420 | ||
421 | .variables-view-container { | |
422 | background: #000000; | |
423 | } | |
424 | ||
425 | .variables-view-empty-notice { | |
426 | color: #A09090; | |
427 | padding: 2px; | |
428 | } | |
429 | ||
430 | .variables-view-scope > .title { | |
431 | background-color: #A09090; | |
432 | color: #000000; | |
433 | } | |
434 | ||
435 | .variables-view-scope:focus > .title { | |
436 | background-color: #008484; | |
437 | color: #000000; | |
438 | } | |
439 | ||
440 | .variables-view-scope > .variables-view-element-details:not(:empty) { | |
cc7e70eb RK |
441 | -moz-margin-start: 2px; |
442 | -moz-margin-end: 1px; | |
443 | } | |
444 | ||
cc7e70eb RK |
445 | /* Generic traits applied to both variables and properties */ |
446 | ||
447 | .variable-or-property { | |
448 | transition: background 1s ease-in-out; | |
449 | color: #FF9F00; | |
450 | } | |
451 | ||
452 | .variable-or-property[changed] { | |
453 | background: rgba(255, 207, 0, 0.3); | |
454 | transition-duration: 0.4s; | |
455 | } | |
456 | ||
457 | .variable-or-property > .title > .value { | |
458 | -moz-padding-start: 6px; | |
459 | -moz-padding-end: 4px; | |
460 | } | |
461 | ||
462 | .variable-or-property:focus > .title { | |
463 | background-color: #008484; | |
464 | color: #000000; | |
465 | border-radius: 5px; | |
466 | } | |
467 | ||
468 | .variable-or-property[editable] > .title > .value { | |
469 | cursor: text; | |
470 | } | |
471 | ||
472 | .variable-or-property:not([non-header]) > .variables-view-element-details { | |
473 | -moz-margin-start: 10px; | |
474 | } | |
475 | ||
476 | /* Custom variables and properties traits */ | |
477 | ||
478 | .variables-view-variable { | |
479 | -moz-margin-start: 1px; | |
480 | -moz-margin-end: 1px; | |
481 | border-bottom: 1px solid #A09090; | |
482 | } | |
483 | ||
484 | .variables-view-variable > .title > .name { | |
485 | font-weight: 600; | |
486 | } | |
487 | ||
488 | .variables-view-variable:not(:focus) > .title > .name { | |
489 | color: #FF9F00; | |
490 | } | |
491 | ||
492 | .variables-view-property:not(:focus) > .title > .name { | |
493 | color: #E7ADE7; | |
494 | } | |
495 | ||
496 | /* Token value colors */ | |
497 | ||
498 | .variable-or-property:not(:focus) > .title > .token-undefined { | |
499 | color: #8050B0; | |
500 | } | |
501 | ||
502 | .variable-or-property:not(:focus) > .title > .token-null { | |
503 | color: #008484; | |
504 | } | |
505 | ||
506 | .variable-or-property:not(:focus) > .title > .token-boolean { | |
507 | color: #FFCF00; | |
508 | } | |
509 | ||
510 | .variable-or-property:not(:focus) > .title > .token-number { | |
511 | color: #E7ADE7; | |
512 | } | |
513 | ||
514 | .variable-or-property:not(:focus) > .title > .token-string { | |
515 | color: #9C9CFF; | |
516 | } | |
517 | ||
518 | .variable-or-property:not(:focus) > .title > .token-other { | |
519 | color: #FF9F00; | |
520 | } | |
521 | ||
e2734cc7 RK |
522 | /* Custom configurable/enumerable/writable or frozen/sealed/extensible |
523 | * variables and properties */ | |
cc7e70eb | 524 | |
3a0880a9 | 525 | .variable-or-property[non-enumerable]:not([self]):not([exception]):not([return]):not([scope]) > .title > .name { |
cc7e70eb RK |
526 | opacity: 0.5; |
527 | } | |
528 | ||
529 | .variable-or-property[non-configurable] > .title > .name { | |
530 | border-bottom: 1px dashed #9C9CFF; | |
531 | } | |
532 | ||
e2734cc7 | 533 | .variable-or-property[non-writable] > .title > .name { |
cc7e70eb RK |
534 | border-bottom: 1px dashed #FF0000; |
535 | } | |
536 | ||
e2734cc7 | 537 | .variable-or-property-non-writable-icon { |
cc7e70eb RK |
538 | background: url("chrome://browser/skin/identity-icons-https.png") no-repeat; |
539 | width: 16px; | |
540 | height: 16px; | |
541 | opacity: 0.5; | |
542 | } | |
543 | ||
544 | @media (min-resolution: 2dppx) { | |
e2734cc7 | 545 | .variable-or-property-non-writable-icon > .title:after { |
cc7e70eb RK |
546 | background-image: url("chrome://browser/skin/identity-icons-https@2x.png"); |
547 | background-size: 32px; | |
548 | } | |
549 | } | |
550 | ||
e2734cc7 RK |
551 | .variable-or-property-frozen-label, |
552 | .variable-or-property-sealed-label, | |
553 | .variable-or-property-non-extensible-label { | |
554 | -moz-padding-end: 4px; | |
b27cc46e RK |
555 | } |
556 | ||
557 | .variable-or-property:not(:focus) > .title > .variable-or-property-frozen-label, | |
558 | .variable-or-property:not(:focus) > .title > .variable-or-property-sealed-label, | |
559 | .variable-or-property:not(:focus) > .title > .variable-or-property-non-extensible-label { | |
e2734cc7 RK |
560 | color: #A09090; |
561 | } | |
562 | ||
563 | /* Special variables and properties */ | |
564 | ||
565 | .variable-or-property[safe-getter] > .title > .name { | |
566 | border-bottom: 1px dashed #A09090; | |
567 | } | |
568 | ||
cc7e70eb RK |
569 | .variable-or-property[exception]:not(:focus) > .title > .name { |
570 | color: #FF0000; | |
571 | } | |
572 | ||
e2734cc7 RK |
573 | .variable-or-property[return]:not(:focus) > .title > .name { |
574 | color: #008484; | |
575 | } | |
576 | ||
3a0880a9 RK |
577 | .variable-or-property[scope]:not(:focus) > .title > .name { |
578 | color: #9C9CFF; | |
579 | } | |
580 | ||
7600e0b1 RK |
581 | /* Aligned values */ |
582 | ||
583 | .variables-view-container[aligned-values] .title > .separator { | |
584 | -moz-box-flex: 1; | |
585 | } | |
586 | ||
587 | .variables-view-container[aligned-values] .title > .value { | |
588 | width: 70vw; | |
589 | } | |
590 | ||
591 | .variables-view-container[aligned-values] .title > .element-value-input { | |
592 | width: calc(70vw - 10px); | |
593 | } | |
594 | ||
595 | /* Actions first */ | |
596 | ||
597 | .variables-view-container[actions-first] .variables-view-delete { | |
598 | -moz-box-ordinal-group: 0; | |
599 | } | |
600 | ||
cc7e70eb RK |
601 | /* Variables and properties tooltips */ |
602 | ||
603 | .variable-or-property > tooltip > label { | |
604 | margin: 0 2px 0 2px; | |
605 | } | |
606 | ||
607 | .variable-or-property[non-enumerable] > tooltip > label[value=enumerable], | |
608 | .variable-or-property[non-configurable] > tooltip > label[value=configurable], | |
e2734cc7 RK |
609 | .variable-or-property[non-writable] > tooltip > label[value=writable] |
610 | .variable-or-property[non-extensible] > tooltip > label[value=extensible] { | |
611 | color: #A09090; | |
cc7e70eb RK |
612 | text-decoration: line-through; |
613 | } | |
614 | ||
e2734cc7 RK |
615 | .variable-or-property[safe-getter] > tooltip > label[value=WebIDL] { |
616 | -moz-padding-start: 4px; | |
617 | -moz-border-start: 1px dotted #9C9CFF; | |
618 | color: #008484; | |
c4460289 RK |
619 | } |
620 | ||
cc7e70eb RK |
621 | /* Variables and properties editing */ |
622 | ||
623 | .variables-view-delete { | |
b27cc46e | 624 | list-style-image: url("chrome://browser/skin/devtools/vview-delete.png"); |
cc7e70eb | 625 | -moz-image-region: rect(0, 16px, 16px, 0); |
cc7e70eb RK |
626 | } |
627 | ||
628 | .variables-view-delete:hover { | |
b27cc46e | 629 | -moz-image-region: rect(0, 32px, 16px, 16px); |
cc7e70eb RK |
630 | } |
631 | ||
b27cc46e RK |
632 | .variables-view-delete:active { |
633 | -moz-image-region: rect(0, 48px, 16px, 32px); | |
634 | } | |
635 | ||
cc7e70eb RK |
636 | .variables-view-delete > .toolbarbutton-text { |
637 | display: none; | |
638 | } | |
639 | ||
640 | .variables-view-edit { | |
b27cc46e | 641 | background: url("chrome://browser/skin/devtools/vview-edit.png") center no-repeat; |
cc7e70eb RK |
642 | width: 20px; |
643 | height: 16px; | |
644 | cursor: pointer; | |
645 | } | |
646 | ||
647 | .variables-view-throbber { | |
648 | background: url("chrome://global/skin/icons/loading_16.png") center no-repeat; | |
649 | width: 16px; | |
650 | height: 16px; | |
651 | } | |
652 | ||
653 | .element-value-input { | |
654 | -moz-margin-start: 4px !important; | |
655 | -moz-margin-end: 2px !important; | |
656 | } | |
657 | ||
658 | .element-name-input { | |
659 | -moz-margin-start: -2px !important; | |
660 | -moz-margin-end: 2px !important; | |
661 | color: #E7ADE7; | |
662 | font-weight: 600; | |
663 | } | |
664 | ||
665 | .element-value-input, | |
666 | .element-name-input { | |
667 | border: 1px solid #008484 !important; | |
668 | } | |
669 | ||
670 | /* Variables and properties searching */ | |
671 | ||
672 | .variables-view-searchinput { | |
673 | min-height: 24px; | |
674 | } | |
675 | ||
676 | .variable-or-property[non-match] { | |
677 | border: none; | |
678 | margin: 0; | |
679 | } | |
680 | ||
681 | /* Expand/collapse arrow */ | |
682 | ||
683 | .arrow { | |
82b4252f | 684 | background: url("chrome://global/skin/tree/twisty-closed.gif") center center no-repeat; |
cc7e70eb RK |
685 | width: 9px; |
686 | height: 20px; | |
687 | -moz-margin-start: 5px; | |
688 | -moz-margin-end: 5px; | |
689 | } | |
690 | ||
691 | .variables-view-scope > .title > .arrow { | |
692 | background-image: url("chrome://global/skin/tree/twisty-closed-selected.gif"); | |
693 | } | |
694 | ||
695 | .arrow[open] { | |
696 | background-image: url("chrome://global/skin/tree/twisty-open.png"); | |
697 | } | |
698 | ||
699 | .variables-view-scope > .title > .arrow[open] { | |
700 | background-image: url("chrome://global/skin/tree/twisty-open-selected.gif"); | |
701 | } | |
702 | ||
703 | .arrow[invisible] { | |
704 | visibility: hidden; | |
705 | } | |
7600e0b1 RK |
706 | |
707 | /* === BEGIN manifest-editor.inc.css === */ | |
708 | ||
709 | /* Manifest Editor overrides */ | |
710 | ||
711 | .variables-view-container.manifest-editor { | |
712 | background-color: #000000; | |
713 | padding: 20px 13px; | |
714 | } | |
715 | ||
716 | .manifest-editor .variable-or-property:focus > .title { | |
717 | /* background-color: #EDEDED; | |
718 | color: #000; */ | |
719 | border-radius: 4px; | |
720 | } | |
721 | ||
722 | .manifest-editor .variables-view-property > .title > .name { | |
723 | /* color: #27406A; */ | |
724 | } | |
725 | ||
726 | .manifest-editor .variable-or-property > .title > label { | |
727 | font-family: monospace; | |
728 | } | |
729 | ||
730 | .manifest-editor .variable-or-property > .title > .token-string { | |
731 | /* color: #54BC6A; */ | |
732 | font-weight: bold; | |
733 | } | |
734 | ||
735 | .manifest-editor .variable-or-property > .title > .token-boolean, | |
736 | .manifest-editor .variable-or-property > .title > .token-number { | |
737 | /* color: #009BD4; */ | |
738 | font-weight: bold; | |
739 | } | |
740 | ||
741 | .manifest-editor .variable-or-property > .title > .token-undefined { | |
742 | /* color: #bbb; */ | |
743 | } | |
744 | ||
745 | .manifest-editor .variable-or-property > .title > .token-null { | |
746 | /* color: #999; */ | |
747 | } | |
748 | ||
749 | .manifest-editor .variable-or-property > .title > .token-other { | |
750 | /* color: #333; */ | |
751 | } | |
752 | ||
753 | .manifest-editor .variables-view-variable { | |
754 | border-bottom: none; | |
755 | } | |
756 | ||
757 | .manifest-editor .variables-view-delete, | |
758 | .manifest-editor .variables-view-delete:hover, | |
759 | .manifest-editor .variables-view-delete:active { | |
760 | list-style-image: none; | |
761 | -moz-image-region: initial; | |
762 | } | |
763 | ||
764 | .manifest-editor .variables-view-delete::before { | |
765 | width: 12px; | |
766 | height: 12px; | |
767 | content: ""; | |
768 | display: inline-block; | |
769 | background-image: url("app-manager/remove.svg"); | |
770 | background-size: 12px auto; | |
771 | } | |
772 | ||
773 | /* === END manifest-editor.inc.css === */ |