first part of syncing LCARStrek with Firefox 31 windows theme changes
[themes.git] / LCARStrek / browser / devtools / widgets.css
CommitLineData
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
45dc7657
RK
6/* === BEGIN widgets.inc.css === */
7
cc7e70eb
RK
8/* Generic pane helpers */
9
10.generic-toggled-side-pane {
cc7e70eb
RK
11 -moz-margin-start: 0px !important;
12 /* Unfortunately, transitions don't work properly with locale-aware properties,
13 so both the left and right margins are set via js, while the start margin
14 is always overridden here. */
15}
16
17.generic-toggled-side-pane[animated] {
18 transition: margin 0.25s ease-in-out;
19}
20
c1d2ce3e
RK
21/* Responsive container */
22
23.devtools-responsive-container {
24 -moz-box-orient: horizontal;
25}
26
27@media (max-width: 700px) {
28 .devtools-responsive-container {
29 -moz-box-orient: vertical;
30 }
31
32 .devtools-responsive-container > .devtools-side-splitter {
33 border: 0;
34 margin: 0;
35 min-height: 3px;
36 height: 3px;
37 margin-bottom: -3px;
38 /* In some edge case the cursor is not changed to n-resize */
39 cursor: n-resize;
40 }
41
42 .devtools-responsive-container > .devtools-sidebar-tabs {
43 min-height: 35vh;
44 max-height: 75vh;
45 }
46}
47
cc7e70eb
RK
48/* BreacrumbsWidget */
49
50.breadcrumbs-widget-container {
fff8097b
RK
51 -moz-margin-start: 2px;
52 -moz-margin-start: 2px;
45dc7657
RK
53 max-height: 25px; /* Set max-height for proper sizing on linux */
54 height: 25px; /* Set height to prevent starting small waiting for content */
cc7e70eb
RK
55 /* A fake 1px-shadow is included in the border-images of the
56 breadcrumbs-widget-items, to match toolbar-buttons style.
57 This negative margin compensates the extra row of pixels created
58 by the shadow.*/
f7774352 59/* margin: -1px 0;*/
cc7e70eb
RK
60}
61
cc7e70eb
RK
62.scrollbutton-up,
63.scrollbutton-down {
45dc7657
RK
64 background: transparent;
65 box-shadow: none;
66 border: none;
67 margin: 0;
68 padding: 0;
cc7e70eb
RK
69}
70
71.scrollbutton-up {
72 -moz-margin-end: 1px;
73}
74
75.scrollbutton-down {
76 -moz-margin-end: 0;
77}
78
cc7e70eb
RK
79.scrollbutton-up > .toolbarbutton-icon,
80.scrollbutton-down > .toolbarbutton-icon {
81 /* margin: 0 5px; */
82}
83
84.scrollbutton-up:not([disabled]):active:hover > .toolbarbutton-icon,
85.scrollbutton-down:not([disabled]):active:hover > .toolbarbutton-icon {
86}
87
88.scrollbutton-up[disabled] > .toolbarbutton-icon,
89.scrollbutton-down[disabled] > .toolbarbutton-icon {
90}
91
92.scrollbutton-up:-moz-locale-dir(ltr) {
93 border-top-right-radius: 0;
94 border-bottom-right-radius: 0;
95}
96
97.scrollbutton-down:-moz-locale-dir(ltr) {
98 border-top-left-radius: 0;
99 border-bottom-left-radius: 0;
100}
101
102.scrollbutton-up:-moz-locale-dir(rtl) {
103 border-top-left-radius: 0;
104 border-bottom-left-radius: 0;
105}
106
107.scrollbutton-down:-moz-locale-dir(rtl) {
108 border-top-right-radius: 0;
109 border-bottom-right-radius: 0;
110}
111
45dc7657
RK
112/* Draw shadows to indicate there is more content 'behind' scrollbuttons. */
113/*
114.scrollbutton-up:-moz-locale-dir(ltr),
115.scrollbutton-down:-moz-locale-dir(rtl) {
116 border-right: solid 1px rgba(255, 255, 255, .1);
117 border-left: solid 1px transparent;
118 box-shadow: 3px 0px 3px -3px #181d20;
cc7e70eb
RK
119}
120
45dc7657
RK
121.scrollbutton-down:-moz-locale-dir(ltr),
122.scrollbutton-up:-moz-locale-dir(rtl) {
123 border-right: solid 1px transparent;
124 border-left: solid 1px rgba(255, 255, 255, .1);
125 box-shadow: -3px 0px 3px -3px #181d20;
cc7e70eb
RK
126}
127
45dc7657
RK
128.scrollbutton-up[disabled],
129.scrollbutton-down[disabled] {
130 box-shadow: none;
131 border-color: transparent;
cc7e70eb 132}
45dc7657 133*/
cc7e70eb 134
45dc7657
RK
135.scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl),
136.scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) {
137/* transform: scaleX(-1); */
cc7e70eb
RK
138}
139
45dc7657
RK
140/* The breadcrumb separator elements are used as background images with
141 * -moz-element, so we position them offscreen since we don't care about
142 * seeing the original elements.
143 */
144.breadcrumb-separator-container {
145 position: fixed;
146 top: -1000px;
147 left: -1000px;
cc7e70eb
RK
148}
149
45dc7657
RK
150#breadcrumb-separator-before,
151#breadcrumb-separator-after,
152#breadcrumb-separator-normal {
153 width: 12px;
154 height: 25px;
155 overflow: hidden;
cc7e70eb
RK
156}
157
45dc7657
RK
158#breadcrumb-separator-before,
159#breadcrumb-separator-after:after {
fff8097b 160 background: #008484; /* Select Highlight Blue */
cc7e70eb
RK
161}
162
45dc7657
RK
163#breadcrumb-separator-after,
164#breadcrumb-separator-before:after {
fff8097b 165 background: #000000; /* Toolbars */
cc7e70eb
RK
166}
167
45dc7657
RK
168/* This chevron arrow cannot be replicated easily in CSS, so we are using
169 * a background image for it (still keeping it in a separate element so
170 * we can handle RTL support with a CSS transform).
171 */
172#breadcrumb-separator-normal {
173 background: url("breadcrumbs-divider@2x.png") no-repeat center right;
174 background-size: 12px 24px;
cc7e70eb
RK
175}
176
45dc7657
RK
177/* Fake a triangle by rotating a rectangle inside the elements */
178#breadcrumb-separator-before:after,
179#breadcrumb-separator-after:after {
180 content: "";
181 display: block;
182 width: 25px;
183 height: 25px;
184 transform: translateX(-18px) rotate(45deg);
1783ea50 185 box-sizing: border-box;
cc7e70eb
RK
186}
187
45dc7657
RK
188.breadcrumbs-widget-item {
189 background-color: #000000;
190 min-height: 25px;
191 min-width: 65px;
192 margin: 0;
193 padding: 0 8px 0 20px;
194 border: none;
fff8097b 195 border-radius: 0;
45dc7657
RK
196 outline: none;
197 color: #FF9F00;
cc7e70eb
RK
198}
199
45dc7657
RK
200.breadcrumbs-widget-item:hover {
201 background-color: #FFCF00;
202 color: #000000;
cc7e70eb
RK
203}
204
45dc7657
RK
205.breadcrumbs-widget-item[checked]:not(:hover) {
206 background-color: #008484;
207 color: #000000;
cc7e70eb
RK
208}
209
45dc7657
RK
210.breadcrumbs-widget-item[siblings-menu-open],
211.breadcrumbs-widget-item:active {
212 background-color: #FF9F00;
213 color: #000000;
cc7e70eb
RK
214}
215
45dc7657 216.breadcrumbs-widget-item:not([checked]) {
fff8097b
RK
217 background-image: -moz-element(#breadcrumb-separator-normal);
218 background-repeat: no-repeat;
219 background-position: center left;
220}
221
45dc7657 222.breadcrumbs-widget-item[checked] + .breadcrumbs-widget-item {
fff8097b
RK
223 background-image: -moz-element(#breadcrumb-separator-after);
224 background-repeat: no-repeat;
225 background-position: 0 0;
cc7e70eb
RK
226}
227
45dc7657 228.breadcrumbs-widget-item[checked] {
fff8097b
RK
229 background-image: -moz-element(#breadcrumb-separator-before);
230 background-repeat: no-repeat;
231 background-position: 0 0;
45dc7657 232 background-color: #008484; /* Select Highlight Blue */
cc7e70eb
RK
233}
234
45dc7657
RK
235.breadcrumbs-widget-item:first-child {
236 background-image: none;
cc7e70eb
RK
237}
238
45dc7657
RK
239/* RTL support: move the images that were on the left to the right,
240 * and move images that were on the right to the left.
241 */
cc7e70eb 242.breadcrumbs-widget-item:-moz-locale-dir(rtl) {
45dc7657 243 padding: 0 20px 0 8px;
cc7e70eb
RK
244}
245
45dc7657
RK
246.breadcrumbs-widget-item:-moz-locale-dir(rtl),
247.breadcrumbs-widget-item[checked] + .breadcrumbs-widget-item:-moz-locale-dir(rtl) {
248 background-position: center right;
cc7e70eb
RK
249}
250
45dc7657
RK
251#breadcrumb-separator-before:-moz-locale-dir(rtl),
252#breadcrumb-separator-after:-moz-locale-dir(rtl),
253#breadcrumb-separator-normal:-moz-locale-dir(rtl) {
254 transform: scaleX(-1);
cc7e70eb
RK
255}
256
45dc7657
RK
257#breadcrumb-separator-before:-moz-locale-dir(rtl):after,
258#breadcrumb-separator-after:-moz-locale-dir(rtl):after {
259 transform: translateX(-5px) rotate(45deg);
cc7e70eb
RK
260}
261
45dc7657
RK
262.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-id,
263.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-tag,
264.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-pseudo-classes,
265.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-classes {
266 color: #FF9F00; /* Foreground (Text) - Light */
cc7e70eb
RK
267}
268
fff8097b
RK
269.breadcrumbs-widget-item:not([checked]):hover .breadcrumbs-widget-item-id,
270.breadcrumbs-widget-item:not([checked]):hover .breadcrumbs-widget-item-tag,
271.breadcrumbs-widget-item:not([checked]):hover .breadcrumbs-widget-item-pseudo-classes,
272.breadcrumbs-widget-item:not([checked]):hover .breadcrumbs-widget-item-classes {
273 color: #000000 !important;
274}
275
46e71434 276.breadcrumbs-widget-item {
fff8097b 277 color: #FFCF00; /* Foreground (Text) - Light */
46e71434
RK
278}
279
280.breadcrumbs-widget-item-id {
45dc7657 281 color: #A09090; /* Foreground (Text) - Grey */
cc7e70eb
RK
282}
283
46e71434
RK
284.breadcrumbs-widget-item-classes {
285 color: #FF9F00; /* Content (Text) - Light */
286}
287
45dc7657
RK
288.breadcrumbs-widget-item-pseudo-classes {
289 color: #FFCF00; /* Light Orange */
cc7e70eb
RK
290}
291
45dc7657 292/* SimpleListWidget */
cc7e70eb 293
46e71434
RK
294.simple-list-widget-container {
295 /* Hack: force hardware acceleration */
296 transform: translateZ(1px);
cc7e70eb
RK
297}
298
45dc7657 299.simple-list-widget-item.selected {
46e71434
RK
300 background-color: #008484; /* Select Highlight Blue */
301 color: #FFCF00; /* Light foreground text */
302}
303
304.simple-list-widget-item:not(.selected):hover {
305 background-color: #FFCF00;
45dc7657 306 color: #FFCF00;
cc7e70eb
RK
307}
308
45dc7657
RK
309.simple-list-widget-perma-text,
310.simple-list-widget-empty-text {
311 color: #8050B0;
312 padding: 4px 8px;
cc7e70eb
RK
313}
314
45dc7657 315/* FastListWidget */
cc7e70eb 316
45dc7657
RK
317.fast-list-widget-container {
318 /* Hack: force hardware acceleration */
319 transform: translateZ(1px);
cc7e70eb
RK
320}
321
45dc7657
RK
322/* dark/light theme */
323.fast-list-widget-empty-text {
324 padding: 12px;
325 font-weight: 600;
326 color: #8050B0;
cc7e70eb
RK
327}
328
329/* SideMenuWidget */
330
45dc7657
RK
331/* SideMenuWidget container */
332
cc7e70eb 333.side-menu-widget-container {
dfa34f73
RK
334 /* Hack: force hardware acceleration */
335 transform: translateZ(1px);
336
cc7e70eb
RK
337 background-color: #000000;
338 color: #FF9F00;
339}
340
de57e474 341.side-menu-widget-container:-moz-locale-dir(ltr),
45dc7657 342.side-menu-widget-empty-text:-moz-locale-dir(ltr) {
cc7e70eb
RK
343}
344
de57e474 345.side-menu-widget-container:-moz-locale-dir(rtl),
45dc7657 346.side-menu-widget-empty-text:-moz-locale-dir(rtl)[with-arrows=true]:-moz-locale-dir(rtl) {
cc7e70eb
RK
347}
348
de57e474 349.side-menu-widget-group {
7600e0b1
RK
350 /* To allow visibility of the dark margin shadow. */
351/* -moz-margin-end: 1px; */
352}
353
354.side-menu-widget-container[with-arrows=true] .side-menu-widget-item {
355 /* To compensate for the arrow image's dark margin. */
356/* -moz-margin-end: -1px; */
357}
358
359/* SideMenuWidget groups */
360
cc7e70eb 361.side-menu-widget-group-title {
cc7e70eb 362 padding: 4px;
3a0880a9
RK
363
364 background-color: #A09090;
cc7e70eb 365 color: #000000;
cc7e70eb
RK
366}
367
7600e0b1
RK
368/* SideMenuWidget items */
369
cc7e70eb
RK
370.side-menu-widget-item {
371 border-top: 1px solid #9C9CFF;
45dc7657 372 /* To compensate for the top and bottom borders */
1b13529a
RK
373 margin-top: -1px;
374 margin-bottom: -1px;
45dc7657 375 background-clip: padding-box;
cc7e70eb
RK
376}
377
378.side-menu-widget-item:last-of-type {
379 border-bottom: 1px solid #9C9CFF;
380}
381
382.side-menu-widget-item.selected {
383 background-color: #008484 !important;
384 color: #000000;
385}
386
45dc7657
RK
387.side-menu-widget-item-arrow {
388 -moz-margin-start: -7px;
389 width: 7px; /* The image's width is 7 pixels */
390 /* Cover the border of the side-menu-widget-item */
391 margin-top: -1px;
392 margin-bottom: -1px;
393}
394
cc7e70eb
RK
395.side-menu-widget-item.selected > .side-menu-widget-item-arrow {
396 background-size: auto, 1px 100%;
397 background-repeat: no-repeat;
398}
399
400.side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
45dc7657 401 background-position: center right;
cc7e70eb
RK
402}
403
404.side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
45dc7657 405 background-position: center left;
cc7e70eb
RK
406}
407
5401f433 408.side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
45dc7657 409 background-image: url("itemArrow-ltr.svg");
e447dcba
RK
410}
411
5401f433 412.side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
45dc7657 413 background-image: url("itemArrow-rtl.svg");
1b13529a
RK
414}
415
45dc7657
RK
416/* SideMenuWidget items contents */
417
418.side-menu-widget-item-contents {
419 padding: 4px;
420 /* To avoid having content overlapping the arrow image. */
421 -moz-padding-end: 8px;
cc7e70eb
RK
422}
423
cc7e70eb 424.side-menu-widget-item-other {
45dc7657
RK
425 /* To avoid having content overlapping the arrow image. */
426 -moz-padding-end: 8px;
427 /* To compensate for the .side-menu-widget-item-contents padding. */
428 -moz-margin-start: -4px;
429 -moz-margin-end: -8px;
430
cc7e70eb 431 background-color: #000000;
cc7e70eb
RK
432}
433
434.side-menu-widget-item-other.selected {
435 background-color: #008484;
436 color: #000000;
437}
438
cc7e70eb 439.side-menu-widget-item-other:first-of-type {
45dc7657 440 margin-top: 4px;
1b13529a 441/* border-top-left-radius: 4px; */
cc7e70eb
RK
442}
443
45dc7657
RK
444.side-menu-widget-item-other:last-of-type {
445 margin-bottom: -4px;
446}
447
cc7e70eb
RK
448.side-menu-widget-item-other:not(.selected) > label {
449 color: #9C9CFF;
450}
451
6568957a
RK
452/* SideMenuWidget checkboxes */
453
454.side-menu-widget-group-checkbox {
455 margin: 0;
456 -moz-margin-end: 4px;
457}
458
459.side-menu-widget-item-checkbox {
460 margin: 0;
461 -moz-margin-start: 4px;
462 -moz-margin-end: -4px;
463}
464
7600e0b1
RK
465/* SideMenuWidget misc */
466
45dc7657 467.side-menu-widget-empty-text {
cc7e70eb 468 padding: 12px;
3a0880a9
RK
469
470 background-color: #000000;
cc7e70eb 471 font-weight: 600;
3a0880a9 472 color: #A09090;
cc7e70eb
RK
473}
474
475/* VariablesView */
476
dfa34f73
RK
477.variables-view-container:not([empty]) {
478 /* Hack: force hardware acceleration */
479 transform: translateZ(1px);
480}
481
cc7e70eb
RK
482.variables-view-empty-notice {
483 color: #A09090;
484 padding: 2px;
485}
486
c1d2ce3e
RK
487.variables-view-scope:focus > .title,
488.theme-dark .variable-or-property:focus > .title {
489 background-color: #008484; /* Selection colors */
490 color: #FFCF00;
491}
492
cc7e70eb
RK
493.variables-view-scope > .title {
494 background-color: #A09090;
495 color: #000000;
496}
497
dfa34f73 498/* Generic variables traits */
cc7e70eb 499
dfa34f73
RK
500.variables-view-variable:not(:last-child) {
501 border-bottom: 1px solid #A09090;
502}
cc7e70eb 503
dfa34f73
RK
504.variables-view-variable > .title > .name {
505 font-weight: 600;
cc7e70eb
RK
506}
507
dfa34f73
RK
508/* Generic variables *and* properties traits */
509
510.variable-or-property:focus > .title > label {
511 color: inherit !important;
cc7e70eb
RK
512}
513
514.variable-or-property > .title > .value {
d2ce251d 515 -moz-box-flex: 1;
cc7e70eb
RK
516}
517
dfa34f73
RK
518.variable-or-property > .title > .arrow {
519 -moz-margin-start: 3px;
cc7e70eb
RK
520}
521
2a8b2b48 522.variable-or-property:not([untitled]) > .variables-view-element-details {
dfa34f73 523 -moz-margin-start: 7px;
cc7e70eb
RK
524}
525
dfa34f73 526/* Traits applied when variables or properties are changed or overridden */
cc7e70eb 527
dfa34f73
RK
528.variable-or-property:not([overridden]) {
529 transition: background 1s ease-in-out, color 1s ease-in-out;
d2ce251d
RK
530}
531
dfa34f73
RK
532.variable-or-property:not([overridden])[changed] {
533 color: #000000;
534 transition-duration: .4s;
cc7e70eb
RK
535}
536
dfa34f73
RK
537.variable-or-property[overridden] {
538 background: rgba(160,144,144,0.0.5);
cc7e70eb
RK
539}
540
dfa34f73
RK
541.variable-or-property[overridden] .title > label {
542 /* Cross out the title for this variable and all child properties. */
543 font-style: italic;
544 text-decoration: line-through;
545 border-bottom: none !important;
546 color: #A09090;
547 opacity: 0.7;
cc7e70eb
RK
548}
549
dfa34f73
RK
550/* Traits applied when variables or properties are editable */
551
552.variable-or-property[editable] > .title > .value {
553 cursor: text;
554}
555
556.variable-or-property[overridden] .title > .value {
557 /* Disallow editing this variable and all child properties. */
558 pointer-events: none;
559}
cc7e70eb 560
e2734cc7
RK
561/* Custom configurable/enumerable/writable or frozen/sealed/extensible
562 * variables and properties */
cc7e70eb 563
dfa34f73 564.variable-or-property[non-enumerable]:not([self]):not([pseudo-item]) > .title > .name {
de57e474 565 opacity: 0.6;
cc7e70eb
RK
566}
567
dfa34f73 568.variable-or-property[non-configurable]:not([pseudo-item]) > .title > .name {
cc7e70eb
RK
569 border-bottom: 1px dashed #9C9CFF;
570}
571
dfa34f73 572.variable-or-property[non-writable]:not([pseudo-item]) > .title > .name {
cc7e70eb
RK
573 border-bottom: 1px dashed #FF0000;
574}
575
dfa34f73 576.variable-or-property[safe-getter]:not([pseudo-item]) > .title > .name {
de57e474
RK
577 border-bottom: 1px dashed #A09090;
578}
579
e2734cc7 580.variable-or-property-non-writable-icon {
46e71434 581 background: url("chrome://browser/skin/devtools/vview-lock.png") no-repeat;
cc7e70eb
RK
582 width: 16px;
583 height: 16px;
584 opacity: 0.5;
585}
586
587@media (min-resolution: 2dppx) {
e2734cc7 588 .variable-or-property-non-writable-icon > .title:after {
46e71434 589 background-image: url("chrome://browser/skin/devtools/vview-lock@2x.png");
cc7e70eb
RK
590 background-size: 32px;
591 }
592}
593
e2734cc7
RK
594.variable-or-property-frozen-label,
595.variable-or-property-sealed-label,
596.variable-or-property-non-extensible-label {
597 -moz-padding-end: 4px;
b27cc46e
RK
598}
599
600.variable-or-property:not(:focus) > .title > .variable-or-property-frozen-label,
601.variable-or-property:not(:focus) > .title > .variable-or-property-sealed-label,
602.variable-or-property:not(:focus) > .title > .variable-or-property-non-extensible-label {
e2734cc7
RK
603 color: #A09090;
604}
605
7600e0b1
RK
606/* Aligned values */
607
608.variables-view-container[aligned-values] .title > .separator {
609 -moz-box-flex: 1;
610}
611
612.variables-view-container[aligned-values] .title > .value {
d2ce251d 613 -moz-box-flex: 0;
7600e0b1
RK
614 width: 70vw;
615}
616
617.variables-view-container[aligned-values] .title > .element-value-input {
618 width: calc(70vw - 10px);
619}
620
621/* Actions first */
622
d2ce251d 623.variables-view-container[actions-first] .variables-view-delete,
46e71434 624.variables-view-container[actions-first] .variables-view-open-inspector,
d2ce251d 625.variables-view-container[actions-first] .variables-view-add-property {
7600e0b1
RK
626 -moz-box-ordinal-group: 0;
627}
628
d2ce251d
RK
629.variables-view-container[actions-first] [invisible] {
630 visibility: hidden;
631}
632
cc7e70eb
RK
633/* Variables and properties tooltips */
634
635.variable-or-property > tooltip > label {
636 margin: 0 2px 0 2px;
637}
638
dfa34f73
RK
639.variable-or-property[non-enumerable] > tooltip > label.enumerable,
640.variable-or-property[non-configurable] > tooltip > label.configurable,
641.variable-or-property[non-writable] > tooltip > label.writable
642.variable-or-property[non-extensible] > tooltip > label.extensible {
e2734cc7 643 color: #A09090;
cc7e70eb
RK
644 text-decoration: line-through;
645}
646
dfa34f73
RK
647.variable-or-property[overridden] > tooltip > label.overridden {
648 -moz-padding-start: 4px;
649 -moz-border-start: 1px dotted #9C9CFF;
650}
651
652.variable-or-property[safe-getter] > tooltip > label.WebIDL {
e2734cc7
RK
653 -moz-padding-start: 4px;
654 -moz-border-start: 1px dotted #9C9CFF;
655 color: #008484;
c4460289
RK
656}
657
cc7e70eb
RK
658/* Variables and properties editing */
659
660.variables-view-delete {
b27cc46e 661 list-style-image: url("chrome://browser/skin/devtools/vview-delete.png");
46e71434 662 -moz-image-region: rect(0,16px,16px,0);
cc7e70eb
RK
663}
664
665.variables-view-delete:hover {
46e71434 666 -moz-image-region: rect(0,48px,16px,32px);
cc7e70eb
RK
667}
668
b27cc46e 669.variables-view-delete:active {
46e71434
RK
670 -moz-image-region: rect(0,32px,16px,16px);
671}
672
673.variable-or-property:focus .variables-view-delete {
674/* -moz-image-region: rect(0,16px,16px,0); */
b27cc46e
RK
675}
676
cc7e70eb 677.variables-view-edit {
46e71434
RK
678 list-style-image: url("chrome://browser/skin/devtools/vview-edit.png");
679 -moz-image-region: rect(0,16px,16px,0);
680 cursor: pointer;
681 padding-left: 2px;
682}
683
684.variables-view-edit:hover {
685 -moz-image-region: rect(0,48px,16px,32px);
686}
687
688.variables-view-edit:active {
689 -moz-image-region: rect(0,32px,16px,16px);
690}
691
692.variable-or-property:focus .variables-view-edit {
693/* -moz-image-region: rect(0,16px,16px,0); */
694}
695
696.variables-view-open-inspector {
697 list-style-image: url("chrome://browser/skin/devtools/vview-open-inspector.png");
698 -moz-image-region: rect(0,16px,16px,0);
cc7e70eb
RK
699 cursor: pointer;
700}
701
46e71434
RK
702.variables-view-open-inspector:hover {
703 -moz-image-region: rect(0,48px,16px,32px);
704}
705
706.variables-view-open-inspector:active {
707 -moz-image-region: rect(0,32px,16px,16px);
708}
709
710.variable-or-property:focus .variables-view-open-inspector {
711/* -moz-image-region: rect(0,16px,16px,0); */
712}
713
cc7e70eb
RK
714.variables-view-throbber {
715 background: url("chrome://global/skin/icons/loading_16.png") center no-repeat;
716 width: 16px;
717 height: 16px;
718}
719
720.element-value-input {
dfa34f73 721 -moz-margin-start: -2px !important;
cc7e70eb
RK
722 -moz-margin-end: 2px !important;
723}
724
725.element-name-input {
726 -moz-margin-start: -2px !important;
727 -moz-margin-end: 2px !important;
cc7e70eb
RK
728 font-weight: 600;
729}
730
731.element-value-input,
732.element-name-input {
733 border: 1px solid #008484 !important;
de57e474 734 color: inherit;
cc7e70eb
RK
735}
736
737/* Variables and properties searching */
738
739.variables-view-searchinput {
740 min-height: 24px;
741}
742
2a8b2b48 743.variable-or-property[unmatched] {
cc7e70eb
RK
744 border: none;
745 margin: 0;
746}
747
748/* Expand/collapse arrow */
749
750.arrow {
82b4252f 751 background: url("chrome://global/skin/tree/twisty-closed.gif") center center no-repeat;
cc7e70eb 752 width: 9px;
e447dcba 753 height: 16px;
cc7e70eb
RK
754 -moz-margin-start: 5px;
755 -moz-margin-end: 5px;
756}
757
758.variables-view-scope > .title > .arrow {
759 background-image: url("chrome://global/skin/tree/twisty-closed-selected.gif");
760}
761
762.arrow[open] {
e447dcba 763 background-image: url("chrome://global/skin/tree/twisty-open.gif");
cc7e70eb
RK
764}
765
766.variables-view-scope > .title > .arrow[open] {
767 background-image: url("chrome://global/skin/tree/twisty-open-selected.gif");
768}
769
770.arrow[invisible] {
771 visibility: hidden;
772}
7600e0b1 773
46e71434
RK
774/* Charts */
775
776.generic-chart-container {
777 /* Hack: force hardware acceleration */
778 transform: translateZ(1px);
779}
780
5401f433 781.generic-chart-container {
46e71434
RK
782 color: #A09090; /* Light foreground text */
783}
784
5401f433 785.chart-colored-blob {
46e71434
RK
786 fill: #9C9CFF; /* Light content text */
787 background: #9C9CFF;
788}
789
790/* Charts: Pie */
791
792.pie-chart-slice {
793 stroke-width: 1px;
794 cursor: pointer;
795}
796
5401f433 797.pie-chart-slice {
46e71434
RK
798 stroke: #A09090;
799}
800
5401f433 801.pie-chart-slice[largest] {
46e71434
RK
802 stroke-width: 2px;
803 stroke: #9C9CFF;
804}
805
806.pie-chart-label {
807 text-anchor: middle;
808 dominant-baseline: middle;
809 pointer-events: none;
810}
811
5401f433 812.pie-chart-label {
46e71434
RK
813 fill: #000;
814}
815
816.pie-chart-container[slices="1"] > .pie-chart-slice {
817 stroke-width: 0px;
818}
819
820.pie-chart-slice,
821.pie-chart-label {
822 transition: all 0.1s ease-out;
823}
824
825.pie-chart-slice:not(:hover):not([focused]),
826.pie-chart-slice:not(:hover):not([focused]) + .pie-chart-label {
827 transform: none !important;
828}
829
830/* Charts: Table */
831
832.table-chart-title {
833 padding-bottom: 10px;
834 font-size: 120%;
835 font-weight: 600;
836}
837
838.table-chart-row {
839 margin-top: 1px;
840 cursor: pointer;
841}
842
843.table-chart-grid:hover > .table-chart-row {
844 transition: opacity 0.1s ease-in-out;
845}
846
847.table-chart-grid:not(:hover) > .table-chart-row {
848 transition: opacity 0.2s ease-in-out;
849}
850
851.generic-chart-container:hover > .table-chart-grid:hover > .table-chart-row:not(:hover),
852.generic-chart-container:hover ~ .table-chart-container > .table-chart-grid > .table-chart-row:not([focused]) {
853 opacity: 0.4;
854}
855
856.table-chart-row-box {
857 width: 8px;
858 height: 1.5em;
859 -moz-margin-end: 10px;
860}
861
862.table-chart-row-label {
863 width: 8em;
864 -moz-padding-end: 6px;
865 cursor: inherit;
866}
867
868.table-chart-totals {
869 margin-top: 8px;
870 padding-top: 6px;
871}
872
873.table-chart-totals {
874 border-top: 1px solid #A09090; /* Grey foreground text */
875}
876
877.table-chart-summary-label {
878 font-weight: 600;
879 padding: 1px 0px;
880}
881
882.table-chart-summary-label {
883 color: #A09090; /* Light foreground text */
884}
885
7600e0b1
RK
886/* === BEGIN manifest-editor.inc.css === */
887
888/* Manifest Editor overrides */
889
890.variables-view-container.manifest-editor {
891 background-color: #000000;
d2ce251d 892 padding: 20px 2px;
7600e0b1
RK
893}
894
895.manifest-editor .variable-or-property:focus > .title {
896/* background-color: #EDEDED;
897 color: #000; */
898 border-radius: 4px;
899}
900
901.manifest-editor .variables-view-property > .title > .name {
902/* color: #27406A; */
903}
904
d2ce251d
RK
905.manifest-editor .variable-or-property > .title > label,
906.manifest-editor textbox {
7600e0b1
RK
907 font-family: monospace;
908}
909
910.manifest-editor .variable-or-property > .title > .token-string {
911/* color: #54BC6A; */
912 font-weight: bold;
913}
914
915.manifest-editor .variable-or-property > .title > .token-boolean,
916.manifest-editor .variable-or-property > .title > .token-number {
917/* color: #009BD4; */
918 font-weight: bold;
919}
920
921.manifest-editor .variable-or-property > .title > .token-undefined {
922/* color: #bbb; */
923}
924
925.manifest-editor .variable-or-property > .title > .token-null {
926/* color: #999; */
927}
928
929.manifest-editor .variable-or-property > .title > .token-other {
930/* color: #333; */
931}
932
933.manifest-editor .variables-view-variable {
934 border-bottom: none;
935}
936
937.manifest-editor .variables-view-delete,
938.manifest-editor .variables-view-delete:hover,
d2ce251d 939.manifest-editor .variables-view-delete:active,
46e71434 940.manifest-editor .variable-or-property:focus .variables-view-delete,
c1d2ce3e 941.manifest-editor .variables-view-add-property,
d2ce251d 942.manifest-editor .variables-view-add-property:hover,
46e71434
RK
943.manifest-editor .variables-view-add-property:active,
944.manifest-editor .variable-or-property:focus .variables-view-add-property {
7600e0b1
RK
945 list-style-image: none;
946 -moz-image-region: initial;
947}
948
d2ce251d
RK
949.manifest-editor .variables-view-delete::before,
950.manifest-editor .variables-view-add-property::before {
951 width: 11px;
952 height: 11px;
7600e0b1
RK
953 content: "";
954 display: inline-block;
d2ce251d
RK
955 background-size: 11px auto;
956}
957
958.manifest-editor .variables-view-delete::before {
7600e0b1
RK
959 background-image: url("app-manager/remove.svg");
960 background-size: 12px auto;
961}
962
d2ce251d
RK
963.manifest-editor .variables-view-add-property::before {
964 background-image: url("app-manager/add.svg");
965 -moz-margin-end: 2px;
966}
967
7600e0b1 968/* === END manifest-editor.inc.css === */
45dc7657
RK
969
970/* === END widgets.inc.css === */