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/. */
6 /* === BEGIN widgets.inc.css === */
8 /* Generic pane helpers */
10 .generic-toggled-side-pane {
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. */
17 .generic-toggled-side-pane[animated] {
18 transition: margin 0.25s ease-in-out;
21 /* Responsive container */
23 .devtools-responsive-container {
24 -moz-box-orient: horizontal;
27 .devtools-main-content {
31 .devtools-main-content,
32 .devtools-sidebar-tabs {
33 /* Prevent some children that should be hidden from remaining visible as this is shrunk (Bug 971959) */
37 @media (max-width: 700px) {
38 .devtools-responsive-container {
39 -moz-box-orient: vertical;
42 .devtools-responsive-container > .devtools-side-splitter {
48 /* In some edge case the cursor is not changed to n-resize */
52 .devtools-responsive-container > .devtools-sidebar-tabs {
58 /* BreacrumbsWidget */
60 .breadcrumbs-widget-container {
61 -moz-margin-start: 2px;
62 -moz-margin-start: 2px;
63 max-height: 24px; /* Set max-height for proper sizing on linux */
64 height: 24px; /* Set height to prevent starting small waiting for content */
69 background: transparent;
84 .scrollbutton-up > .toolbarbutton-icon,
85 .scrollbutton-down > .toolbarbutton-icon {
89 .scrollbutton-up:not([disabled]):active:hover > .toolbarbutton-icon,
90 .scrollbutton-down:not([disabled]):active:hover > .toolbarbutton-icon {
93 .scrollbutton-up[disabled] > .toolbarbutton-icon,
94 .scrollbutton-down[disabled] > .toolbarbutton-icon {
97 .scrollbutton-up:-moz-locale-dir(ltr) {
98 border-top-right-radius: 0;
99 border-bottom-right-radius: 0;
102 .scrollbutton-down:-moz-locale-dir(ltr) {
103 border-top-left-radius: 0;
104 border-bottom-left-radius: 0;
107 .scrollbutton-up:-moz-locale-dir(rtl) {
108 border-top-left-radius: 0;
109 border-bottom-left-radius: 0;
112 .scrollbutton-down:-moz-locale-dir(rtl) {
113 border-top-right-radius: 0;
114 border-bottom-right-radius: 0;
117 /* Draw shadows to indicate there is more content 'behind' scrollbuttons. */
119 .scrollbutton-up:-moz-locale-dir(ltr),
120 .scrollbutton-down:-moz-locale-dir(rtl) {
121 border-right: solid 1px rgba(255, 255, 255, .1);
122 border-left: solid 1px transparent;
123 box-shadow: 3px 0px 3px -3px #181d20;
126 .scrollbutton-down:-moz-locale-dir(ltr),
127 .scrollbutton-up:-moz-locale-dir(rtl) {
128 border-right: solid 1px transparent;
129 border-left: solid 1px rgba(255, 255, 255, .1);
130 box-shadow: -3px 0px 3px -3px #181d20;
133 .scrollbutton-up[disabled],
134 .scrollbutton-down[disabled] {
136 border-color: transparent;
140 .scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl),
141 .scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) {
142 /* transform: scaleX(-1); */
145 /* The breadcrumb separator elements are used as background images with
146 * -moz-element, so we position them offscreen since we don't care about
147 * seeing the original elements.
149 .breadcrumb-separator-container {
155 #breadcrumb-separator-before,
156 #breadcrumb-separator-after,
157 #breadcrumb-separator-normal {
163 #breadcrumb-separator-before,
164 #breadcrumb-separator-after:after {
165 background: #008484; /* Select Highlight Blue */
168 #breadcrumb-separator-after,
169 #breadcrumb-separator-before:after {
170 background: #000000; /* Toolbars */
173 /* This chevron arrow cannot be replicated easily in CSS, so we are using
174 * a background image for it (still keeping it in a separate element so
175 * we can handle RTL support with a CSS transform).
177 #breadcrumb-separator-normal {
178 background: url("breadcrumbs-divider@2x.png") no-repeat center right;
179 background-size: 12px 24px;
182 /* Fake a triangle by rotating a rectangle inside the elements */
183 #breadcrumb-separator-before:after,
184 #breadcrumb-separator-after:after {
189 transform: translateX(-18px) rotate(45deg);
190 box-sizing: border-box;
193 .breadcrumbs-widget-item {
194 background-color: #000000;
198 padding: 0 8px 0 20px;
205 .breadcrumbs-widget-item:hover {
206 background-color: #FFCF00;
210 .breadcrumbs-widget-item[checked]:not(:hover) {
211 background-color: #008484;
215 .breadcrumbs-widget-item[siblings-menu-open],
216 .breadcrumbs-widget-item:active {
217 background-color: #FF9F00;
221 .breadcrumbs-widget-item > .button-box {
227 .breadcrumbs-widget-item:not([checked]) {
228 background-image: -moz-element(#breadcrumb-separator-normal);
229 background-repeat: no-repeat;
230 background-position: center left;
233 .breadcrumbs-widget-item[checked] + .breadcrumbs-widget-item {
234 background-image: -moz-element(#breadcrumb-separator-after);
235 background-repeat: no-repeat;
236 background-position: 0 0;
239 .breadcrumbs-widget-item[checked] {
240 background-image: -moz-element(#breadcrumb-separator-before);
241 background-repeat: no-repeat;
242 background-position: 0 0;
243 background-color: #008484; /* Select Highlight Blue */
246 .breadcrumbs-widget-item:first-child {
247 background-image: none;
250 /* RTL support: move the images that were on the left to the right,
251 * and move images that were on the right to the left.
253 .breadcrumbs-widget-item:-moz-locale-dir(rtl) {
254 padding: 0 20px 0 8px;
257 .breadcrumbs-widget-item:-moz-locale-dir(rtl),
258 .breadcrumbs-widget-item[checked] + .breadcrumbs-widget-item:-moz-locale-dir(rtl) {
259 background-position: center right;
262 #breadcrumb-separator-before:-moz-locale-dir(rtl),
263 #breadcrumb-separator-after:-moz-locale-dir(rtl),
264 #breadcrumb-separator-normal:-moz-locale-dir(rtl) {
265 transform: scaleX(-1);
268 #breadcrumb-separator-before:-moz-locale-dir(rtl):after,
269 #breadcrumb-separator-after:-moz-locale-dir(rtl):after {
270 transform: translateX(-5px) rotate(45deg);
273 .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-id,
274 .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-tag,
275 .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-pseudo-classes,
276 .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-classes {
277 color: #FF9F00; /* Foreground (Text) - Light */
280 .breadcrumbs-widget-item:not([checked]):hover .breadcrumbs-widget-item-id,
281 .breadcrumbs-widget-item:not([checked]):hover .breadcrumbs-widget-item-tag,
282 .breadcrumbs-widget-item:not([checked]):hover .breadcrumbs-widget-item-pseudo-classes,
283 .breadcrumbs-widget-item:not([checked]):hover .breadcrumbs-widget-item-classes {
284 color: #000000 !important;
287 .breadcrumbs-widget-item {
288 color: #FFCF00; /* Foreground (Text) - Light */
291 .breadcrumbs-widget-item-id {
292 color: #A09090; /* Foreground (Text) - Grey */
295 .breadcrumbs-widget-item-classes {
296 color: #FF9F00; /* Content (Text) - Light */
299 .breadcrumbs-widget-item-pseudo-classes {
300 color: #FFCF00; /* Light Orange */
303 /* SimpleListWidget */
305 .simple-list-widget-container {
306 /* Hack: force hardware acceleration */
307 transform: translateZ(1px);
310 .simple-list-widget-item.selected {
311 background-color: #008484; /* Select Highlight Blue */
312 color: #FFCF00; /* Light foreground text */
315 .simple-list-widget-item:not(.selected):hover {
316 background-color: #FFCF00;
320 .simple-list-widget-perma-text,
321 .simple-list-widget-empty-text {
328 .fast-list-widget-container {
329 /* Hack: force hardware acceleration */
330 transform: translateZ(1px);
333 /* dark/light theme */
334 .fast-list-widget-empty-text {
342 /* SideMenuWidget container */
344 .side-menu-widget-container {
345 /* Hack: force hardware acceleration */
346 transform: translateZ(1px);
348 background-color: #000000;
352 .side-menu-widget-container:-moz-locale-dir(ltr),
353 .side-menu-widget-empty-text:-moz-locale-dir(ltr) {
356 .side-menu-widget-container:-moz-locale-dir(rtl),
357 .side-menu-widget-empty-text:-moz-locale-dir(rtl)[with-arrows=true]:-moz-locale-dir(rtl) {
360 .side-menu-widget-group {
361 /* To allow visibility of the dark margin shadow. */
362 /* -moz-margin-end: 1px; */
365 .side-menu-widget-container[with-arrows=true] .side-menu-widget-item {
366 /* To compensate for the arrow image's dark margin. */
367 /* -moz-margin-end: -1px; */
370 /* SideMenuWidget groups */
372 .side-menu-widget-group-title {
375 background-color: #A09090;
379 /* SideMenuWidget items */
381 .side-menu-widget-item {
382 border-top: 1px solid #9C9CFF;
383 /* To compensate for the top and bottom borders */
386 background-clip: padding-box;
389 .side-menu-widget-item:last-of-type {
390 border-bottom: 1px solid #9C9CFF;
393 .side-menu-widget-item.selected {
394 background-color: #008484 !important;
398 .side-menu-widget-item-arrow {
399 -moz-margin-start: -7px;
400 width: 7px; /* The image's width is 7 pixels */
401 /* Cover the border of the side-menu-widget-item */
406 .side-menu-widget-item.selected > .side-menu-widget-item-arrow {
407 background-size: auto, 1px 100%;
408 background-repeat: no-repeat;
411 .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
412 background-position: center right;
415 .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
416 background-position: center left;
419 .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
420 background-image: url("itemArrow-ltr.svg");
423 .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
424 background-image: url("itemArrow-rtl.svg");
427 /* SideMenuWidget items contents */
429 .side-menu-widget-item-contents {
431 /* To avoid having content overlapping the arrow image. */
432 -moz-padding-end: 8px;
435 .side-menu-widget-item-other {
436 /* To avoid having content overlapping the arrow image. */
437 -moz-padding-end: 8px;
438 /* To compensate for the .side-menu-widget-item-contents padding. */
439 -moz-margin-start: -4px;
440 -moz-margin-end: -8px;
442 background-color: #000000;
445 .side-menu-widget-item-other.selected {
446 background-color: #008484;
450 .side-menu-widget-item-other:first-of-type {
452 /* border-top-left-radius: 4px; */
455 .side-menu-widget-item-other:last-of-type {
459 .side-menu-widget-item-other:not(.selected) > label {
463 /* SideMenuWidget checkboxes */
465 .side-menu-widget-group-checkbox {
467 -moz-margin-end: 4px;
470 .side-menu-widget-item-checkbox {
472 -moz-margin-start: 4px;
473 -moz-margin-end: -4px;
476 /* SideMenuWidget misc */
478 .side-menu-widget-empty-text {
481 background-color: #000000;
488 .variables-view-container:not([empty]) {
489 /* Hack: force hardware acceleration */
490 transform: translateZ(1px);
493 .variables-view-empty-notice {
498 .variables-view-scope:focus > .title,
499 .theme-dark .variable-or-property:focus > .title {
500 background-color: #008484; /* Selection colors */
504 .variables-view-scope > .title {
505 background-color: #A09090;
509 /* Generic variables traits */
511 .variables-view-variable:not(:last-child) {
512 border-bottom: 1px solid #A09090;
515 .variables-view-variable > .title > .name {
519 /* Generic variables *and* properties traits */
521 .variable-or-property:focus > .title > label {
522 color: inherit !important;
525 .variables-view-container .theme-twisty {
529 .variable-or-property > .title > .theme-twisty {
530 -moz-margin-start: 5px;
533 .variable-or-property:not([untitled]) > .variables-view-element-details {
534 -moz-margin-start: 7px;
537 /* Traits applied when variables or properties are changed or overridden */
539 .variable-or-property:not([overridden]) {
540 transition: background 1s ease-in-out, color 1s ease-in-out;
543 .variable-or-property:not([overridden])[changed] {
545 transition-duration: .4s;
548 .variable-or-property[overridden] {
549 background: rgba(160,144,144,0.0.5);
552 .variable-or-property[overridden] .title > label {
553 /* Cross out the title for this variable and all child properties. */
555 text-decoration: line-through;
556 border-bottom: none !important;
561 /* Traits applied when variables or properties are editable */
563 .variable-or-property[editable] > .title > .value {
567 .variable-or-property[overridden] .title > .value {
568 /* Disallow editing this variable and all child properties. */
569 pointer-events: none;
572 /* Custom configurable/enumerable/writable or frozen/sealed/extensible
573 * variables and properties */
575 .variable-or-property[non-enumerable]:not([self]):not([pseudo-item]) > .title > .name {
579 .variable-or-property-non-writable-icon {
580 background: url("chrome://browser/skin/devtools/vview-lock.png") no-repeat;
581 background-size: cover;
587 @media (min-resolution: 2dppx) {
588 .variable-or-property-non-writable-icon > .title:after {
589 background-image: url("chrome://browser/skin/devtools/vview-lock@2x.png");
593 .variable-or-property-frozen-label,
594 .variable-or-property-sealed-label,
595 .variable-or-property-non-extensible-label {
597 -moz-padding-end: 4px;
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 {
608 .variables-view-container[aligned-values] .title > .separator {
612 .variables-view-container[aligned-values] .title > .value {
617 .variables-view-container[aligned-values] .title > .element-value-input {
618 width: calc(70vw - 10px);
623 .variables-view-open-inspector {
624 -moz-box-ordinal-group: 1;
627 .variables-view-edit,
628 .variables-view-add-property {
629 -moz-box-ordinal-group: 2;
632 .variable-or-property-frozen-label,
633 .variable-or-property-sealed-label,
634 .variable-or-property-non-extensible-label,
635 .variable-or-property-non-writable-icon {
636 -moz-box-ordinal-group: 3;
639 .variables-view-delete {
640 -moz-box-ordinal-group: 4;
643 .variables-view-container[actions-first] .variables-view-delete,
644 .variables-view-container[actions-first] .variables-view-add-property,
645 .variables-view-container[actions-first] .variables-view-open-inspector {
646 -moz-box-ordinal-group: 0;
649 .variables-view-container[actions-first] [invisible] {
653 /* Variables and properties tooltips */
655 .variable-or-property > tooltip > label {
659 .variable-or-property[non-enumerable] > tooltip > label.enumerable,
660 .variable-or-property[non-configurable] > tooltip > label.configurable,
661 .variable-or-property[non-writable] > tooltip > label.writable
662 .variable-or-property[non-extensible] > tooltip > label.extensible {
664 text-decoration: line-through;
667 .variable-or-property[overridden] > tooltip > label.overridden {
668 -moz-padding-start: 4px;
669 -moz-border-start: 1px dotted #9C9CFF;
672 .variable-or-property[safe-getter] > tooltip > label.WebIDL {
673 -moz-padding-start: 4px;
674 -moz-border-start: 1px dotted #9C9CFF;
678 /* Variables and properties editing */
680 .variables-view-delete {
681 background: url("chrome://browser/skin/devtools/vview-delete.png");
682 background-size: cover;
687 @media (min-resolution: 2dppx) {
688 .variables-view-delete {
689 background-image: url("chrome://browser/skin/devtools/vview-delete@2x.png");
693 .variables-view-delete:hover {
694 background-position: 32px;
697 .variables-view-delete:active {
698 background-position: 16px;
701 .variable-or-property:focus > .title > .variables-view-delete {
702 /* background-position: 0px; */
705 .variables-view-edit {
706 background: url("chrome://browser/skin/devtools/vview-edit.png");
707 background-size: cover;
713 @media (min-resolution: 2dppx) {
714 .variables-view-edit {
715 background-image: url("chrome://browser/skin/devtools/vview-edit@2x.png");
719 .variables-view-edit:hover {
720 background-position: 32px;
723 .variables-view-edit:active {
724 background-position: 16px;
727 .variable-or-property:focus > .title > .variables-view-edit {
728 /* background-position: 0px; */
731 .variables-view-open-inspector {
732 background: url("chrome://browser/skin/devtools/vview-open-inspector.png");
733 background-size: cover;
739 .variables-view-open-inspector:hover {
740 background-position: 32px;
743 .variables-view-open-inspector:active {
744 background-position: 16px;
747 .variable-or-property:focus > .title > .variables-view-open-inspector {
748 /* background-position: 0px; */
751 /* Variables and properties input boxes */
753 .variable-or-property > .title > .separator + .element-value-input {
754 -moz-margin-start: -2px !important;
755 -moz-margin-end: 2px !important;
758 .variable-or-property > .title > .separator[hidden=true] + .element-value-input {
759 -moz-margin-start: 4px !important;
760 -moz-margin-end: 2px !important;
763 .element-name-input {
764 -moz-margin-start: -2px !important;
765 -moz-margin-end: 2px !important;
769 .element-value-input,
770 .element-name-input {
771 border: 1px solid #008484 !important;
775 /* Variables and properties searching */
777 .variable-or-property[unmatched] {
784 .graph-widget-container {
788 .graph-widget-canvas {
793 .graph-widget-canvas[input=hovering-background] {
797 .graph-widget-canvas[input=hovering-region] {
801 .graph-widget-canvas[input=hovering-selection-start-boundary],
802 .graph-widget-canvas[input=hovering-selection-end-boundary],
803 .graph-widget-canvas[input=adjusting-selection-boundary] {
807 .graph-widget-canvas[input=hovering-selection-contents] {
811 .graph-widget-canvas[input=dragging-selection-contents] {
815 /* Line graph widget */
817 .line-graph-widget-canvas {
821 .line-graph-widget-gutter {
828 border-right: 1px solid #9C9CFF;
829 pointer-events: none;
832 .line-graph-widget-gutter-line {
835 border-top: 1px solid;
836 transform: translateY(-1px);
839 .line-graph-widget-gutter-line[type=maximum] {
840 border-color: #008484;
843 .line-graph-widget-gutter-line[type=minimum] {
844 border-color: #FF0000;
847 .line-graph-widget-gutter-line[type=average] {
848 border-color: #FF9F00;
851 .line-graph-widget-tooltip {
856 -moz-padding-start: 6px;
857 -moz-padding-end: 6px;
858 transform: translateY(-50%);
861 pointer-events: none;
864 .line-graph-widget-tooltip::before {
867 border-top: 3px solid transparent;
868 border-bottom: 3px solid transparent;
869 top: calc(50% - 3px);
872 .line-graph-widget-tooltip[arrow=start]::before {
873 -moz-border-end: 3px solid #9C9CFF;
877 .line-graph-widget-tooltip[arrow=end]::before {
878 -moz-border-start: 3px solid #9C9CFF;
882 .line-graph-widget-tooltip[type=maximum] {
883 left: calc(10px + 6px);
886 .line-graph-widget-tooltip[type=minimum] {
887 left: calc(10px + 6px);
890 .line-graph-widget-tooltip[type=average] {
894 .line-graph-widget-tooltip > [text=info] {
898 .line-graph-widget-tooltip > [text=value] {
899 -moz-margin-start: 3px;
902 .line-graph-widget-tooltip > [text=metric] {
903 -moz-margin-start: 1px;
907 .line-graph-widget-tooltip > [text=value],
908 .line-graph-widget-tooltip > [text=metric] {
909 /* text-shadow: 1px 0px rgba(255,255,255,0.6),
910 -1px 0px rgba(255,255,255,0.6),
911 0px -1px rgba(255,255,255,0.6),
912 0px 1px rgba(255,255,255,0.6);*/
915 .line-graph-widget-tooltip[type=maximum] > [text=value] {
919 .line-graph-widget-tooltip[type=minimum] > [text=value] {
923 .line-graph-widget-tooltip[type=average] > [text=value] {
927 /* Bar graph widget */
929 .bar-graph-widget-canvas {
933 .bar-graph-widget-legend {
939 pointer-events: none;
942 .bar-graph-widget-legend-item {
944 -moz-margin-end: 8px;
947 .bar-graph-widget-legend-item > [view="color"],
948 .bar-graph-widget-legend-item > [view="label"] {
949 vertical-align: middle;
952 .bar-graph-widget-legend-item > [view="color"] {
953 display: inline-block;
956 border: 1px solid #9C9CFF;
958 -moz-margin-end: 4px;
959 pointer-events: none;
962 .bar-graph-widget-legend-item > [view="label"] {
963 /* text-shadow: 1px 0px rgba(255,255,255,0.8),
964 -1px 0px rgba(255,255,255,0.8),
965 0px -1px rgba(255,255,255,0.8),
966 0px 1px rgba(255,255,255,0.8);*/
971 .generic-chart-container {
972 /* Hack: force hardware acceleration */
973 transform: translateZ(1px);
976 .generic-chart-container {
977 color: #A09090; /* Light foreground text */
980 .chart-colored-blob {
981 fill: #9C9CFF; /* Light content text */
996 .pie-chart-slice[largest] {
1002 text-anchor: middle;
1003 dominant-baseline: middle;
1004 pointer-events: none;
1011 .pie-chart-container[slices="1"] > .pie-chart-slice {
1017 transition: all 0.1s ease-out;
1020 .pie-chart-slice:not(:hover):not([focused]),
1021 .pie-chart-slice:not(:hover):not([focused]) + .pie-chart-label {
1022 transform: none !important;
1027 .table-chart-title {
1028 padding-bottom: 10px;
1038 .table-chart-grid:hover > .table-chart-row {
1039 transition: opacity 0.1s ease-in-out;
1042 .table-chart-grid:not(:hover) > .table-chart-row {
1043 transition: opacity 0.2s ease-in-out;
1046 .generic-chart-container:hover > .table-chart-grid:hover > .table-chart-row:not(:hover),
1047 .generic-chart-container:hover ~ .table-chart-container > .table-chart-grid > .table-chart-row:not([focused]) {
1051 .table-chart-row-box {
1054 -moz-margin-end: 10px;
1057 .table-chart-row-label {
1059 -moz-padding-end: 6px;
1063 .table-chart-totals {
1068 .table-chart-totals {
1069 border-top: 1px solid #A09090; /* Grey foreground text */
1072 .table-chart-summary-label {
1077 .table-chart-summary-label {
1078 color: #A09090; /* Light foreground text */
1085 .table-widget-body > .devtools-side-splitter {
1089 .table-widget-body {
1093 .table-widget-body {
1094 background: #000000; /* Background-Sidebar */
1097 .table-widget-body:-moz-locale-dir(ltr) {
1098 /* box-shadow: inset -1px 0 0 @smw_marginDark@;*/
1101 .table-widget-body:-moz-locale-dir(rtl) {
1102 /* box-shadow: inset 1px 0 0 @smw_marginDark@;*/
1105 .table-widget-body:-moz-locale-dir(ltr) {
1106 /* box-shadow: inset -1px 0 0 @smw_marginLight@;*/
1109 .table-widget-body:-moz-locale-dir(rtl) {
1110 /* box-shadow: inset 1px 0 0 @smw_marginLight@;*/
1113 /* Column Headers */
1115 .table-widget-column-header,
1116 .table-widget-cell {
1117 -moz-border-end: 1px solid #A09090;
1120 /* Table widget column header colors are taken from netmonitor.inc.css to match
1121 the look of both the tables. This needs to be updated along with netmonitor
1122 header colors in bug 951714 */
1124 .table-widget-column-header {
1125 background: rgba(0,0,0,0);
1131 padding: 8px 0 0 !important;
1134 font-weight: inherit !important;
1135 transition: background-color 0.1s ease-in-out;
1138 .table-widget-column-header:hover {
1139 background: #FFCF00;
1142 .table-widget-column-header:hover:active {
1143 background: #FF9F00;
1146 .table-widget-column-header:not(:active)[sorted] {
1147 background: #008484;
1150 .table-widget-column-header:not(:active)[sorted=ascending] {
1151 background-image: radial-gradient(farthest-side at center top, hsla(0,0%,0%,.7), hsla(0,0%,0%,0.3));
1152 background-size: 100% 1px;
1153 background-repeat: no-repeat;
1156 .table-widget-column-header:not(:active)[sorted=descending] {
1157 background-image: radial-gradient(farthest-side at center bottom, hsla(0,0%,0%,.7), hsla(0,0%,0%,0.3));
1158 background-size: 100% 1px;
1159 background-repeat: no-repeat;
1160 background-position: bottom;
1165 .table-widget-cell {
1167 margin: -1px 0 !important;
1169 background-clip: padding-box;
1171 -moz-user-focus: normal;
1174 .table-widget-cell {
1175 border-top: 1px solid #A09090;
1176 border-bottom: 1px solid #A09090;
1177 color: #FF9F00; /* Light foreground text */
1180 .theme-dark:not(.filtering) .table-widget-cell:nth-child(odd):not(.theme-selected),
1181 .theme-light:not(.filtering) .table-widget-cell:nth-child(odd):not(.theme-selected),
1182 .table-widget-cell:not(.theme-selected)[odd] {
1183 background: #404000;
1186 .table-widget-cell:last-of-type {
1187 /* box-shadow: inset 0 -1px 0 @smw_itemDarkTopBorder@;*/
1190 .table-widget-cell.flash-out {
1191 animation: flash-out 0.5s ease-in;
1194 @keyframes flash-out {
1196 background: #795900;
1200 /* Empty text and initial text */
1202 .table-widget-empty-text {
1206 margin-top: -20px !important;
1209 .table-widget-body:empty + .table-widget-empty-text:not([value=""]),
1210 .table-widget-body[empty] + .table-widget-empty-text:not([value=""]) {
1216 .tree-widget-container {
1223 -moz-margin-end: 40px;
1226 .tree-widget-container:-moz-focusring,
1227 .tree-widget-container *:-moz-focusring {
1228 outline-style: none;
1231 .tree-widget-empty-text {
1234 background: transparent;
1235 pointer-events: none;
1240 .tree-widget-container .tree-widget-item {
1241 padding: 2px 0px 4px;
1242 /* OSX has line-height 14px by default, which causes weird alignment issues
1243 * because of 20px high icons. thus making line-height consistent with that of
1246 line-height: 17px !important;
1247 display: inline-block;
1249 word-break: keep-all; /* To prevent long urls like http://foo.com/bar from
1250 breaking in multiple lines */
1253 .tree-widget-container .tree-widget-children {
1259 .tree-widget-item[level="1"] {
1264 .tree-widget-item:before {
1269 margin: 3px 2px -3px;
1270 background-repeat: no-repeat;
1271 background-image: url("chrome://browser/skin/devtools/controls.png");
1272 background-size: 56px 28px;
1274 background-position: -28px -14px;
1277 .tree-widget-item:-moz-locale-dir(rtl):before {
1279 transform: scaleX(-1);
1282 .theme-light .tree-widget-item:before {
1283 background-position: 0 -14px;
1286 .tree-widget-item[empty]:before {
1287 background: transparent;
1290 .tree-widget-item[expanded]:before {
1291 background-position: -42px -14px;
1294 .theme-light .tree-widget-item[expanded]:before {
1295 background-position: -14px -14px;
1298 .tree-widget-item + ul {
1300 animation: collapse-tree-item 0.2s;
1304 .tree-widget-item[expanded] + ul {
1305 animation: expand-tree-item 0.3s;
1309 @keyframes collapse-tree-item {
1318 @keyframes expand-tree-item {
1327 @media (min-resolution: 2dppx) {
1328 .tree-widget-item:before {
1329 background-image: url("chrome://browser/skin/devtools/controls@2x.png");
1333 /* Indentation of child items in the tree */
1336 .tree-widget-item[level] + ul > li > .tree-widget-item {
1337 -moz-padding-start: 98px;
1341 .tree-widget-item[level="1"] + ul > li > .tree-widget-item {
1342 -moz-padding-start: 14px;
1346 .tree-widget-item[level="2"] + ul > li > .tree-widget-item {
1347 -moz-padding-start: 28px;
1351 .tree-widget-item[level="3"] + ul > li > .tree-widget-item {
1352 -moz-padding-start: 42px;
1356 .tree-widget-item[level="4"] + ul > li > .tree-widget-item {
1357 -moz-padding-start: 56px;
1361 .tree-widget-item[level="5"] + ul > li > .tree-widget-item {
1362 -moz-padding-start: 70px;
1366 .tree-widget-item[level="6"] + ul > li > .tree-widget-item {
1367 -moz-padding-start: 84px;
1370 /* Custom icons for certain tree items indicating the type of the item */
1372 .tree-widget-item[type]:after {
1377 -moz-margin-end: 4px;
1378 background-repeat: no-repeat;
1379 background-size: 20px auto;
1380 filter: url('filters.svg#invert');
1381 background-position: 0 0;
1382 background-size: auto 20px;
1385 .tree-widget-item:-moz-locale-dir(rtl):after {
1389 .theme-dark .tree-widget-item[type]:after {
1390 filter: url('filters.svg#invert-white');
1393 .tree-widget-item[type="dir"]:after {
1394 background-image: url("chrome://browser/skin/devtools/filetype-dir-close.svg");
1395 background-position: 2px 0;
1396 background-size: auto 16px;
1400 .tree-widget-item[type="dir"][expanded]:not([empty]):after {
1401 background-image: url("chrome://browser/skin/devtools/filetype-dir-open.svg");
1404 .tree-widget-item[type="url"]:after {
1405 background-image: url("chrome://browser/skin/devtools/filetype-globe.svg");
1406 background-size: auto 18px;
1410 /* === BEGIN manifest-editor.inc.css === */
1412 /* Manifest Editor overrides */
1414 .variables-view-container.manifest-editor {
1415 background-color: #000000;
1419 .manifest-editor .variable-or-property:focus > .title {
1420 /* background-color: #EDEDED;
1425 .manifest-editor .variables-view-property > .title > .name {
1426 /* color: #27406A; */
1429 .manifest-editor .variable-or-property > .title > label,
1430 .manifest-editor textbox {
1431 font-family: monospace;
1434 .manifest-editor .variable-or-property > .title > .token-string {
1435 /* color: #54BC6A; */
1439 .manifest-editor .variable-or-property > .title > .token-boolean,
1440 .manifest-editor .variable-or-property > .title > .token-number {
1441 /* color: #009BD4; */
1445 .manifest-editor .variable-or-property > .title > .token-undefined {
1449 .manifest-editor .variable-or-property > .title > .token-null {
1453 .manifest-editor .variable-or-property > .title > .token-other {
1457 .manifest-editor .variables-view-variable {
1458 border-bottom: none;
1461 .manifest-editor .variables-view-delete,
1462 .manifest-editor .variables-view-delete:hover,
1463 .manifest-editor .variables-view-delete:active,
1464 .manifest-editor .variable-or-property:focus .variables-view-delete,
1465 .manifest-editor .variables-view-add-property,
1466 .manifest-editor .variables-view-add-property:hover,
1467 .manifest-editor .variables-view-add-property:active,
1468 .manifest-editor .variable-or-property:focus .variables-view-add-property {
1469 list-style-image: none;
1470 -moz-image-region: initial;
1473 .manifest-editor .variables-view-delete::before,
1474 .manifest-editor .variables-view-add-property::before {
1478 display: inline-block;
1479 background-size: 11px auto;
1482 .manifest-editor .variables-view-delete::before {
1483 background-image: url("app-manager/remove.svg");
1484 background-size: 12px auto;
1487 .manifest-editor .variables-view-add-property::before {
1488 background-image: url("app-manager/add.svg");
1489 -moz-margin-end: 2px;
1492 /* === END manifest-editor.inc.css === */
1494 /* === END widgets.inc.css === */