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-gutter {
824 border-right: 1px solid #9C9CFF;
825 pointer-events: none;
828 .line-graph-widget-gutter-line {
831 border-top: 1px solid;
834 .line-graph-widget-gutter-line[type=maximum] {
835 border-color: #008484;
838 .line-graph-widget-gutter-line[type=minimum] {
839 border-color: #FF0000;
842 .line-graph-widget-gutter-line[type=average] {
843 border-color: #FF9F00;
846 .line-graph-widget-tooltip {
851 -moz-padding-start: 6px;
852 -moz-padding-end: 6px;
853 transform: translateY(-50%);
856 pointer-events: none;
859 .line-graph-widget-tooltip[with-arrows=true]::before {
862 border-top: 3px solid transparent;
863 border-bottom: 3px solid transparent;
864 top: calc(50% - 3px);
867 .line-graph-widget-tooltip[arrow=start][with-arrows=true]::before {
868 -moz-border-end: 3px solid #9C9CFF;
872 .line-graph-widget-tooltip[arrow=end][with-arrows=true]::before {
873 -moz-border-start: 3px solid #9C9CFF;
877 .line-graph-widget-tooltip[type=maximum] {
881 .line-graph-widget-tooltip[type=minimum] {
885 .line-graph-widget-tooltip[type=average] {
889 .line-graph-widget-tooltip[type=maximum][with-arrows=true] {
893 .line-graph-widget-tooltip[type=minimum][with-arrows=true] {
897 .line-graph-widget-tooltip[type=average][with-arrows=true] {
901 .line-graph-widget-tooltip > [text=info] {
905 .line-graph-widget-tooltip > [text=value] {
906 -moz-margin-start: 3px;
909 .line-graph-widget-tooltip > [text=metric] {
910 -moz-margin-start: 1px;
914 .line-graph-widget-tooltip > [text=value],
915 .line-graph-widget-tooltip > [text=metric] {
916 /* text-shadow: 1px 0px rgba(255,255,255,0.6),
917 -1px 0px rgba(255,255,255,0.6),
918 0px -1px rgba(255,255,255,0.6),
919 0px 1px rgba(255,255,255,0.6);*/
922 .line-graph-widget-tooltip[type=maximum] > [text=value] {
926 .line-graph-widget-tooltip[type=minimum] > [text=value] {
930 .line-graph-widget-tooltip[type=average] > [text=value] {
934 /* Bar graph widget */
936 .bar-graph-widget-canvas {
940 .bar-graph-widget-legend {
946 pointer-events: none;
949 .bar-graph-widget-legend-item {
951 -moz-margin-end: 8px;
954 .bar-graph-widget-legend-item > [view="color"],
955 .bar-graph-widget-legend-item > [view="label"] {
956 vertical-align: middle;
959 .bar-graph-widget-legend-item > [view="color"] {
960 display: inline-block;
963 border: 1px solid #9C9CFF;
965 -moz-margin-end: 4px;
966 pointer-events: none;
969 .bar-graph-widget-legend-item > [view="label"] {
970 /* text-shadow: 1px 0px rgba(255,255,255,0.8),
971 -1px 0px rgba(255,255,255,0.8),
972 0px -1px rgba(255,255,255,0.8),
973 0px 1px rgba(255,255,255,0.8);*/
978 .generic-chart-container {
979 /* Hack: force hardware acceleration */
980 transform: translateZ(1px);
983 .generic-chart-container {
984 color: #A09090; /* Light foreground text */
987 .chart-colored-blob {
988 fill: #9C9CFF; /* Light content text */
1003 .pie-chart-slice[largest] {
1009 text-anchor: middle;
1010 dominant-baseline: middle;
1011 pointer-events: none;
1018 .pie-chart-container[slices="1"] > .pie-chart-slice {
1024 transition: all 0.1s ease-out;
1027 .pie-chart-slice:not(:hover):not([focused]),
1028 .pie-chart-slice:not(:hover):not([focused]) + .pie-chart-label {
1029 transform: none !important;
1034 .table-chart-title {
1035 padding-bottom: 10px;
1045 .table-chart-grid:hover > .table-chart-row {
1046 transition: opacity 0.1s ease-in-out;
1049 .table-chart-grid:not(:hover) > .table-chart-row {
1050 transition: opacity 0.2s ease-in-out;
1053 .generic-chart-container:hover > .table-chart-grid:hover > .table-chart-row:not(:hover),
1054 .generic-chart-container:hover ~ .table-chart-container > .table-chart-grid > .table-chart-row:not([focused]) {
1058 .table-chart-row-box {
1061 -moz-margin-end: 10px;
1064 .table-chart-row-label {
1066 -moz-padding-end: 6px;
1070 .table-chart-totals {
1075 .table-chart-totals {
1076 border-top: 1px solid #A09090; /* Grey foreground text */
1079 .table-chart-summary-label {
1084 .table-chart-summary-label {
1085 color: #A09090; /* Light foreground text */
1092 .table-widget-body > .devtools-side-splitter {
1096 .table-widget-body {
1100 .table-widget-body {
1101 background: #000000; /* Background-Sidebar */
1104 .table-widget-body:-moz-locale-dir(ltr) {
1105 /* box-shadow: inset -1px 0 0 @smw_marginDark@;*/
1108 .table-widget-body:-moz-locale-dir(rtl) {
1109 /* box-shadow: inset 1px 0 0 @smw_marginDark@;*/
1112 .table-widget-body:-moz-locale-dir(ltr) {
1113 /* box-shadow: inset -1px 0 0 @smw_marginLight@;*/
1116 .table-widget-body:-moz-locale-dir(rtl) {
1117 /* box-shadow: inset 1px 0 0 @smw_marginLight@;*/
1120 /* Column Headers */
1122 .table-widget-column-header,
1123 .table-widget-cell {
1124 -moz-border-end: 1px solid #A09090;
1127 /* Table widget column header colors are taken from netmonitor.inc.css to match
1128 the look of both the tables. This needs to be updated along with netmonitor
1129 header colors in bug 951714 */
1131 .table-widget-column-header {
1132 background: rgba(0,0,0,0);
1138 padding: 8px 0 0 !important;
1141 font-weight: inherit !important;
1142 transition: background-color 0.1s ease-in-out;
1145 .table-widget-column-header:hover {
1146 background: #FFCF00;
1149 .table-widget-column-header:hover:active {
1150 background: #FF9F00;
1153 .table-widget-column-header:not(:active)[sorted] {
1154 background: #008484;
1157 .table-widget-column-header:not(:active)[sorted=ascending] {
1158 background-image: radial-gradient(farthest-side at center top, hsla(0,0%,0%,.7), hsla(0,0%,0%,0.3));
1159 background-size: 100% 1px;
1160 background-repeat: no-repeat;
1163 .table-widget-column-header:not(:active)[sorted=descending] {
1164 background-image: radial-gradient(farthest-side at center bottom, hsla(0,0%,0%,.7), hsla(0,0%,0%,0.3));
1165 background-size: 100% 1px;
1166 background-repeat: no-repeat;
1167 background-position: bottom;
1172 .table-widget-cell {
1174 margin: -1px 0 !important;
1176 background-clip: padding-box;
1178 -moz-user-focus: normal;
1181 .table-widget-cell {
1182 border-top: 1px solid #A09090;
1183 border-bottom: 1px solid #A09090;
1184 color: #FF9F00; /* Light foreground text */
1187 .theme-dark:not(.filtering) .table-widget-cell:nth-child(odd):not(.theme-selected),
1188 .theme-light:not(.filtering) .table-widget-cell:nth-child(odd):not(.theme-selected),
1189 .table-widget-cell:not(.theme-selected)[odd] {
1190 background: #404000;
1193 .table-widget-cell:last-of-type {
1194 /* box-shadow: inset 0 -1px 0 @smw_itemDarkTopBorder@;*/
1197 .table-widget-cell.flash-out {
1198 animation: flash-out 0.5s ease-in;
1201 @keyframes flash-out {
1203 background: #795900;
1207 /* Empty text and initial text */
1209 .table-widget-empty-text {
1213 margin-top: -20px !important;
1216 .table-widget-body:empty + .table-widget-empty-text:not([value=""]),
1217 .table-widget-body[empty] + .table-widget-empty-text:not([value=""]) {
1223 .tree-widget-container {
1230 -moz-margin-end: 40px;
1233 .tree-widget-container:-moz-focusring,
1234 .tree-widget-container *:-moz-focusring {
1235 outline-style: none;
1238 .tree-widget-empty-text {
1241 background: transparent;
1242 pointer-events: none;
1247 .tree-widget-container .tree-widget-item {
1248 padding: 2px 0px 4px;
1249 /* OSX has line-height 14px by default, which causes weird alignment issues
1250 * because of 20px high icons. thus making line-height consistent with that of
1253 line-height: 17px !important;
1254 display: inline-block;
1256 word-break: keep-all; /* To prevent long urls like http://foo.com/bar from
1257 breaking in multiple lines */
1260 .tree-widget-container .tree-widget-children {
1266 .tree-widget-item[level="1"] {
1271 .tree-widget-item:before {
1276 margin: 3px 2px -3px;
1277 background-repeat: no-repeat;
1278 background-image: url("chrome://browser/skin/devtools/controls.png");
1279 background-size: 56px 28px;
1281 background-position: -28px -14px;
1284 .tree-widget-item:-moz-locale-dir(rtl):before {
1286 transform: scaleX(-1);
1289 .theme-light .tree-widget-item:before {
1290 background-position: 0 -14px;
1293 .tree-widget-item[empty]:before {
1294 background: transparent;
1297 .tree-widget-item[expanded]:before {
1298 background-position: -42px -14px;
1301 .theme-light .tree-widget-item[expanded]:before {
1302 background-position: -14px -14px;
1305 .tree-widget-item + ul {
1307 animation: collapse-tree-item 0.2s;
1311 .tree-widget-item[expanded] + ul {
1312 animation: expand-tree-item 0.3s;
1316 @keyframes collapse-tree-item {
1325 @keyframes expand-tree-item {
1334 @media (min-resolution: 2dppx) {
1335 .tree-widget-item:before {
1336 background-image: url("chrome://browser/skin/devtools/controls@2x.png");
1340 /* Indentation of child items in the tree */
1343 .tree-widget-item[level] + ul > li > .tree-widget-item {
1344 -moz-padding-start: 98px;
1348 .tree-widget-item[level="1"] + ul > li > .tree-widget-item {
1349 -moz-padding-start: 14px;
1353 .tree-widget-item[level="2"] + ul > li > .tree-widget-item {
1354 -moz-padding-start: 28px;
1358 .tree-widget-item[level="3"] + ul > li > .tree-widget-item {
1359 -moz-padding-start: 42px;
1363 .tree-widget-item[level="4"] + ul > li > .tree-widget-item {
1364 -moz-padding-start: 56px;
1368 .tree-widget-item[level="5"] + ul > li > .tree-widget-item {
1369 -moz-padding-start: 70px;
1373 .tree-widget-item[level="6"] + ul > li > .tree-widget-item {
1374 -moz-padding-start: 84px;
1377 /* Custom icons for certain tree items indicating the type of the item */
1379 .tree-widget-item[type]:after {
1384 -moz-margin-end: 4px;
1385 background-repeat: no-repeat;
1386 background-size: 20px auto;
1387 filter: url('filters.svg#invert');
1388 background-position: 0 0;
1389 background-size: auto 20px;
1392 .tree-widget-item:-moz-locale-dir(rtl):after {
1396 .theme-dark .tree-widget-item[type]:after {
1397 filter: url('filters.svg#invert-white');
1400 .tree-widget-item[type="dir"]:after {
1401 background-image: url("chrome://browser/skin/devtools/filetype-dir-close.svg");
1402 background-position: 2px 0;
1403 background-size: auto 16px;
1407 .tree-widget-item[type="dir"][expanded]:not([empty]):after {
1408 background-image: url("chrome://browser/skin/devtools/filetype-dir-open.svg");
1411 .tree-widget-item[type="url"]:after {
1412 background-image: url("chrome://browser/skin/devtools/filetype-globe.svg");
1413 background-size: auto 18px;
1417 /* === BEGIN manifest-editor.inc.css === */
1419 /* Manifest Editor overrides */
1421 .variables-view-container.manifest-editor {
1422 background-color: #000000;
1426 .manifest-editor .variable-or-property:focus > .title {
1427 /* background-color: #EDEDED;
1432 .manifest-editor .variables-view-property > .title > .name {
1433 /* color: #27406A; */
1436 .manifest-editor .variable-or-property > .title > label,
1437 .manifest-editor textbox {
1438 font-family: monospace;
1441 .manifest-editor .variable-or-property > .title > .token-string {
1442 /* color: #54BC6A; */
1446 .manifest-editor .variable-or-property > .title > .token-boolean,
1447 .manifest-editor .variable-or-property > .title > .token-number {
1448 /* color: #009BD4; */
1452 .manifest-editor .variable-or-property > .title > .token-undefined {
1456 .manifest-editor .variable-or-property > .title > .token-null {
1460 .manifest-editor .variable-or-property > .title > .token-other {
1464 .manifest-editor .variables-view-variable {
1465 border-bottom: none;
1468 .manifest-editor .variables-view-delete,
1469 .manifest-editor .variables-view-delete:hover,
1470 .manifest-editor .variables-view-delete:active,
1471 .manifest-editor .variable-or-property:focus .variables-view-delete,
1472 .manifest-editor .variables-view-add-property,
1473 .manifest-editor .variables-view-add-property:hover,
1474 .manifest-editor .variables-view-add-property:active,
1475 .manifest-editor .variable-or-property:focus .variables-view-add-property {
1476 list-style-image: none;
1477 -moz-image-region: initial;
1480 .manifest-editor .variables-view-delete::before,
1481 .manifest-editor .variables-view-add-property::before {
1485 display: inline-block;
1486 background-size: 11px auto;
1489 .manifest-editor .variables-view-delete::before {
1490 background-image: url("app-manager/remove.svg");
1491 background-size: 12px auto;
1494 .manifest-editor .variables-view-add-property::before {
1495 background-image: url("app-manager/add.svg");
1496 -moz-margin-end: 2px;
1499 /* === END manifest-editor.inc.css === */
1501 /* === END widgets.inc.css === */