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.*/ | |
28 | margin: -1px 0; | |
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 | ||
307 | .side-menu-widget-container[with-arrow=true]:-moz-locale-dir(ltr), | |
308 | .side-menu-widget-item-or-group[with-arrow=true]:-moz-locale-dir(ltr) { | |
309 | } | |
310 | ||
311 | .side-menu-widget-container[with-arrow=true]:-moz-locale-dir(rtl), | |
312 | .side-menu-widget-item-or-group[with-arrow=true]:-moz-locale-dir(rtl) { | |
313 | } | |
314 | ||
315 | .side-menu-widget-group-title { | |
316 | background-color: #A09090; | |
317 | padding: 4px; | |
318 | color: #000000; | |
319 | transition-property: background-color; | |
320 | transition-duration: 0.3s; | |
321 | } | |
322 | ||
323 | .side-menu-widget-group:hover > .side-menu-widget-group-title { | |
324 | background-color: #FFCF00; | |
325 | } | |
326 | ||
327 | .side-menu-widget-item { | |
328 | border-top: 1px solid #9C9CFF; | |
329 | cursor: pointer; | |
330 | } | |
331 | ||
332 | .side-menu-widget-item:last-of-type { | |
333 | border-bottom: 1px solid #9C9CFF; | |
334 | } | |
335 | ||
336 | .side-menu-widget-item.selected { | |
337 | background-color: #008484 !important; | |
338 | color: #000000; | |
339 | } | |
340 | ||
341 | .side-menu-widget-item.selected > .side-menu-widget-item-arrow { | |
342 | background-size: auto, 1px 100%; | |
343 | background-repeat: no-repeat; | |
344 | } | |
345 | ||
346 | .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(ltr) { | |
347 | background-image: url("itemArrow-ltr.png"), linear-gradient(to right, #000000, #000000); | |
348 | background-position: center right, top right; | |
349 | } | |
350 | ||
351 | .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) { | |
352 | background-image: url("itemArrow-rtl.png"), linear-gradient(to right, #000000, #000000); | |
353 | background-position: center left, top left; | |
354 | } | |
355 | ||
356 | .side-menu-widget-item-arrow { | |
357 | -moz-margin-start: -8px; | |
358 | width: 8px; | |
359 | } | |
360 | ||
361 | .side-menu-widget-item-contents { | |
362 | padding: 4px; | |
363 | } | |
364 | ||
365 | .side-menu-widget-item label { | |
366 | cursor: inherit; | |
367 | } | |
368 | ||
369 | .side-menu-widget-item-other { | |
370 | background-color: #000000; | |
371 | margin: 0 -4px; | |
372 | -moz-padding-start: 5px; | |
373 | } | |
374 | ||
375 | .side-menu-widget-item-other.selected { | |
376 | background-color: #008484; | |
377 | color: #000000; | |
378 | } | |
379 | ||
380 | .side-menu-widget-item.selected .side-menu-widget-item-other:first-of-type { | |
381 | border-top: 1px dotted #9C9CFF; | |
382 | margin-top: 3px; | |
383 | } | |
384 | ||
385 | .side-menu-widget-item-other:first-of-type { | |
386 | margin-top: 4px; | |
387 | } | |
388 | ||
389 | .side-menu-widget-item-other:last-of-type { | |
390 | margin-bottom: -4px; | |
391 | } | |
392 | ||
393 | .side-menu-widget-item-other:not(.selected) > label { | |
394 | color: #9C9CFF; | |
395 | } | |
396 | ||
397 | .side-menu-widget-empty-notice-container { | |
398 | background-color: #000000; | |
399 | padding: 12px; | |
400 | color: #A09090; | |
401 | font-weight: 600; | |
402 | } | |
403 | ||
404 | /* VariablesView */ | |
405 | ||
406 | .variables-view-container { | |
407 | background: #000000; | |
408 | } | |
409 | ||
410 | .variables-view-empty-notice { | |
411 | color: #A09090; | |
412 | padding: 2px; | |
413 | } | |
414 | ||
415 | .variables-view-scope > .title { | |
416 | background-color: #A09090; | |
417 | color: #000000; | |
418 | } | |
419 | ||
420 | .variables-view-scope:focus > .title { | |
421 | background-color: #008484; | |
422 | color: #000000; | |
423 | } | |
424 | ||
425 | .variables-view-scope > .variables-view-element-details:not(:empty) { | |
426 | margin-top: 1px; | |
427 | -moz-margin-start: 2px; | |
428 | -moz-margin-end: 1px; | |
429 | } | |
430 | ||
431 | .variables-view-scope > .variables-view-element-details.enum:not(:empty) { | |
432 | border-bottom: 1px solid #9C9CFF; | |
433 | } | |
434 | ||
435 | /* Generic traits applied to both variables and properties */ | |
436 | ||
437 | .variable-or-property { | |
438 | transition: background 1s ease-in-out; | |
439 | color: #FF9F00; | |
440 | } | |
441 | ||
442 | .variable-or-property[changed] { | |
443 | background: rgba(255, 207, 0, 0.3); | |
444 | transition-duration: 0.4s; | |
445 | } | |
446 | ||
447 | .variable-or-property > .title > .value { | |
448 | -moz-padding-start: 6px; | |
449 | -moz-padding-end: 4px; | |
450 | } | |
451 | ||
452 | .variable-or-property:focus > .title { | |
453 | background-color: #008484; | |
454 | color: #000000; | |
455 | border-radius: 5px; | |
456 | } | |
457 | ||
458 | .variable-or-property[editable] > .title > .value { | |
459 | cursor: text; | |
460 | } | |
461 | ||
462 | .variable-or-property:not([non-header]) > .variables-view-element-details { | |
463 | -moz-margin-start: 10px; | |
464 | } | |
465 | ||
466 | /* Custom variables and properties traits */ | |
467 | ||
468 | .variables-view-variable { | |
469 | -moz-margin-start: 1px; | |
470 | -moz-margin-end: 1px; | |
471 | border-bottom: 1px solid #A09090; | |
472 | } | |
473 | ||
474 | .variables-view-variable > .title > .name { | |
475 | font-weight: 600; | |
476 | } | |
477 | ||
478 | .variables-view-variable:not(:focus) > .title > .name { | |
479 | color: #FF9F00; | |
480 | } | |
481 | ||
482 | .variables-view-property:not(:focus) > .title > .name { | |
483 | color: #E7ADE7; | |
484 | } | |
485 | ||
486 | /* Token value colors */ | |
487 | ||
488 | .variable-or-property:not(:focus) > .title > .token-undefined { | |
489 | color: #8050B0; | |
490 | } | |
491 | ||
492 | .variable-or-property:not(:focus) > .title > .token-null { | |
493 | color: #008484; | |
494 | } | |
495 | ||
496 | .variable-or-property:not(:focus) > .title > .token-boolean { | |
497 | color: #FFCF00; | |
498 | } | |
499 | ||
500 | .variable-or-property:not(:focus) > .title > .token-number { | |
501 | color: #E7ADE7; | |
502 | } | |
503 | ||
504 | .variable-or-property:not(:focus) > .title > .token-string { | |
505 | color: #9C9CFF; | |
506 | } | |
507 | ||
508 | .variable-or-property:not(:focus) > .title > .token-other { | |
509 | color: #FF9F00; | |
510 | } | |
511 | ||
512 | /* Non enumerable, configurable and writable variables and properties */ | |
513 | ||
514 | .variable-or-property[proto] > .title > .name, | |
515 | .variable-or-property[non-enumerable]:not([self]):not([exception]) > .title > .name { | |
516 | opacity: 0.5; | |
517 | } | |
518 | ||
519 | .variable-or-property[non-configurable] > .title > .name { | |
520 | border-bottom: 1px dashed #9C9CFF; | |
521 | } | |
522 | ||
523 | .variable-or-property[non-configurable][non-writable] > .title > .name { | |
524 | border-bottom: 1px dashed #FF0000; | |
525 | } | |
526 | ||
527 | .variable-or-property[non-writable] > .title:after { | |
528 | content: " "; | |
529 | display: inline-block; | |
530 | background: url("chrome://browser/skin/identity-icons-https.png") no-repeat; | |
531 | width: 16px; | |
532 | height: 16px; | |
533 | opacity: 0.5; | |
534 | } | |
535 | ||
536 | @media (min-resolution: 2dppx) { | |
537 | .variable-or-property[non-writable] > .title:after { | |
538 | background-image: url("chrome://browser/skin/identity-icons-https@2x.png"); | |
539 | background-size: 32px; | |
540 | } | |
541 | } | |
542 | ||
543 | .variable-or-property[exception]:not(:focus) > .title > .name { | |
544 | color: #FF0000; | |
545 | } | |
546 | ||
547 | /* Variables and properties tooltips */ | |
548 | ||
549 | .variable-or-property > tooltip > label { | |
550 | margin: 0 2px 0 2px; | |
551 | } | |
552 | ||
553 | .variable-or-property[non-enumerable] > tooltip > label[value=enumerable], | |
554 | .variable-or-property[non-configurable] > tooltip > label[value=configurable], | |
555 | .variable-or-property[non-writable] > tooltip > label[value=writable] { | |
556 | text-decoration: line-through; | |
557 | } | |
558 | ||
559 | /* Variables and properties editing */ | |
560 | ||
561 | .variables-view-delete { | |
562 | list-style-image: url("chrome://global/skin/icons/close.png"); | |
563 | -moz-image-region: rect(0, 16px, 16px, 0); | |
564 | opacity: 0; | |
565 | } | |
566 | ||
567 | .variables-view-delete:hover { | |
568 | opacity: 1; | |
569 | } | |
570 | ||
571 | *:hover > .title > .variables-view-delete:not(:hover), | |
572 | *:focus > .title > .variables-view-delete:not(:hover) { | |
573 | opacity: 0.5; | |
574 | transition: opacity 0.2s ease-in-out; | |
575 | } | |
576 | ||
577 | .variables-view-delete > .toolbarbutton-text { | |
578 | display: none; | |
579 | } | |
580 | ||
581 | .variables-view-edit { | |
582 | background: url("chrome://browser/skin/tabview/edit-light.png") center no-repeat; | |
583 | width: 20px; | |
584 | height: 16px; | |
585 | cursor: pointer; | |
586 | } | |
587 | ||
588 | .variables-view-throbber { | |
589 | background: url("chrome://global/skin/icons/loading_16.png") center no-repeat; | |
590 | width: 16px; | |
591 | height: 16px; | |
592 | } | |
593 | ||
594 | .element-value-input { | |
595 | -moz-margin-start: 4px !important; | |
596 | -moz-margin-end: 2px !important; | |
597 | } | |
598 | ||
599 | .element-name-input { | |
600 | -moz-margin-start: -2px !important; | |
601 | -moz-margin-end: 2px !important; | |
602 | color: #E7ADE7; | |
603 | font-weight: 600; | |
604 | } | |
605 | ||
606 | .element-value-input, | |
607 | .element-name-input { | |
608 | border: 1px solid #008484 !important; | |
609 | } | |
610 | ||
611 | /* Variables and properties searching */ | |
612 | ||
613 | .variables-view-searchinput { | |
614 | min-height: 24px; | |
615 | } | |
616 | ||
617 | .variable-or-property[non-match] { | |
618 | border: none; | |
619 | margin: 0; | |
620 | } | |
621 | ||
622 | /* Expand/collapse arrow */ | |
623 | ||
624 | .arrow { | |
82b4252f | 625 | background: url("chrome://global/skin/tree/twisty-closed.gif") center center no-repeat; |
cc7e70eb RK |
626 | width: 9px; |
627 | height: 20px; | |
628 | -moz-margin-start: 5px; | |
629 | -moz-margin-end: 5px; | |
630 | } | |
631 | ||
632 | .variables-view-scope > .title > .arrow { | |
633 | background-image: url("chrome://global/skin/tree/twisty-closed-selected.gif"); | |
634 | } | |
635 | ||
636 | .arrow[open] { | |
637 | background-image: url("chrome://global/skin/tree/twisty-open.png"); | |
638 | } | |
639 | ||
640 | .variables-view-scope > .title > .arrow[open] { | |
641 | background-image: url("chrome://global/skin/tree/twisty-open-selected.gif"); | |
642 | } | |
643 | ||
644 | .arrow[invisible] { | |
645 | visibility: hidden; | |
646 | } |