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/. */
8 --table-splitter-color: #A09090;
9 --table-zebra-background: rgba(255,159,0,0.1);
10 --sidemenu-separator-color: rgba(160,144,144,0.15);
11 --sidemenu-selected-arrow: url(images/itemArrow-dark-ltr.svg);
12 --sidemenu-selected-arrow-rtl: url(images/itemArrow-dark-rtl.svg);
13 --delete-icon: url(chrome://devtools/skin/images/vview-delete.png);
14 --delete-icon-2x: url(chrome://devtools/skin/images/vview-delete@2x.png);
17 /* Generic pane helpers */
19 .generic-toggled-pane {
20 -moz-margin-start: 0 !important;
21 /* Unfortunately, transitions don't work properly with locale-aware properties,
22 so both the left and right margins are set via js, while the start margin
23 is always overridden here. */
26 .generic-toggled-pane[animated] {
27 transition: margin 0.25s ease-in-out;
30 /* Responsive container */
32 .devtools-responsive-container {
33 -moz-box-orient: horizontal;
36 .devtools-main-content {
40 .devtools-main-content,
41 .devtools-sidebar-tabs {
42 /* Prevent some children that should be hidden from remaining visible as this is shrunk (Bug 971959) */
46 @media (min-width: 701px) {
47 .devtools-responsive-container .generic-toggled-pane {
48 /* To hide generic-toggled-pane, negative margins are applied dynamically.
49 * In the default horizontal layout, the pane is on the side and should be
50 * hidden using negative -moz-margin-end only.
52 margin-top: 0 !important;
53 margin-bottom: 0 !important;
56 @media (max-width: 700px) {
57 .devtools-responsive-container {
58 -moz-box-orient: vertical;
61 .devtools-responsive-container > .devtools-side-splitter {
62 /* This is a normally vertical splitter, but we have turned it horizontal
63 due to the smaller resolution */
64 min-height: calc(var(--devtools-splitter-top-width) +
65 var(--devtools-splitter-bottom-width) + 1px);
66 border-top-width: var(--devtools-splitter-top-width);
67 border-bottom-width: var(--devtools-splitter-bottom-width);
68 margin-top: calc(-1 * var(--devtools-splitter-top-width) - 1px);
69 margin-bottom: calc(-1 * var(--devtools-splitter-bottom-width));
71 /* Reset the vertical splitter styles */
74 border-inline-end-width: 0;
75 border-inline-start-width: 0;
77 margin-inline-start: 0;
79 /* In some edge case the cursor is not changed to n-resize */
83 .devtools-responsive-container > .devtools-sidebar-tabs:not([pane-collapsed]) {
84 /* When the panel is collapsed min/max height should not be applied because
85 collapsing relies on negative margins, which implies constant height. */
90 .devtools-responsive-container .generic-toggled-pane {
91 /* To hide generic-toggled-pane, negative margins are applied dynamically.
92 * If a vertical layout, the pane is on the bottom and should be hidden
93 * using negative bottom margin only.
95 -moz-margin-end: 0 !important;
99 /* BreacrumbsWidget */
101 .breadcrumbs-widget-container {
102 -moz-margin-start: 2px;
103 max-height: 24px; /* Set max-height for proper sizing on linux */
104 height: 24px; /* Set height to prevent starting small waiting for content */
109 background: transparent;
117 -moz-margin-end: 1px;
124 .scrollbutton-up > .toolbarbutton-icon,
125 .scrollbutton-down > .toolbarbutton-icon {
129 .scrollbutton-up:not([disabled]):active:hover > .toolbarbutton-icon,
130 .scrollbutton-down:not([disabled]):active:hover > .toolbarbutton-icon {
133 .scrollbutton-up[disabled] > .toolbarbutton-icon,
134 .scrollbutton-down[disabled] > .toolbarbutton-icon {
137 .scrollbutton-up:-moz-locale-dir(ltr) {
138 border-top-right-radius: 0;
139 border-bottom-right-radius: 0;
142 .scrollbutton-down:-moz-locale-dir(ltr) {
143 border-top-left-radius: 0;
144 border-bottom-left-radius: 0;
147 .scrollbutton-up:-moz-locale-dir(rtl) {
148 border-top-left-radius: 0;
149 border-bottom-left-radius: 0;
152 .scrollbutton-down:-moz-locale-dir(rtl) {
153 border-top-right-radius: 0;
154 border-bottom-right-radius: 0;
157 /* Draw shadows to indicate there is more content 'behind' scrollbuttons. */
159 .scrollbutton-up:-moz-locale-dir(ltr),
160 .scrollbutton-down:-moz-locale-dir(rtl) {
161 border-right: solid 1px rgba(255, 255, 255, .1);
162 border-left: solid 1px transparent;
163 box-shadow: 3px 0px 3px -3px var(--theme-sidebar-background);
166 .scrollbutton-down:-moz-locale-dir(ltr),
167 .scrollbutton-up:-moz-locale-dir(rtl) {
168 border-right: solid 1px transparent;
169 border-left: solid 1px rgba(255, 255, 255, .1);
170 box-shadow: -3px 0px 3px -3px var(--theme-sidebar-background);
173 .scrollbutton-up[disabled],
174 .scrollbutton-down[disabled] {
176 border-color: transparent;
180 .scrollbutton-up > .toolbarbutton-icon:-moz-locale-dir(rtl),
181 .scrollbutton-down > .toolbarbutton-icon:-moz-locale-dir(ltr) {
182 /* transform: scaleX(-1); */
185 /* The breadcrumb separator elements are used as background images with
186 * -moz-element, so we position them offscreen since we don't care about
187 * seeing the original elements.
189 .breadcrumb-separator-container {
195 #breadcrumb-separator-before,
196 #breadcrumb-separator-after,
197 #breadcrumb-separator-normal {
203 #breadcrumb-separator-before,
204 #breadcrumb-separator-after:after {
205 background: var(--theme-selection-background);
208 #breadcrumb-separator-after,
209 #breadcrumb-separator-before:after {
210 background: var(--theme-toolbar-background);
213 /* This chevron arrow cannot be replicated easily in CSS, so we are using
214 * a background image for it (still keeping it in a separate element so
215 * we can handle RTL support with a CSS transform).
217 #breadcrumb-separator-normal {
218 background: url("images/breadcrumbs-divider@2x.png") no-repeat center right;
219 background-size: 12px 24px;
222 /* Fake a triangle by rotating a rectangle inside the elements */
223 #breadcrumb-separator-before:after,
224 #breadcrumb-separator-after:after {
229 transform: translateX(-18px) rotate(45deg);
230 box-sizing: border-box;
233 .breadcrumbs-widget-item {
234 background-color: var(--theme-toolbar-background);
238 padding: 0 8px 0 20px;
242 color: var(--theme-content-color1);
245 .breadcrumbs-widget-item:hover {
246 background-color: var(--theme-hover-background);
247 color: var(--theme-hover-color);
250 .breadcrumbs-widget-item[checked]:not(:hover) {
251 background-color: var(--theme-selection-background);
252 color: var(--theme-selection-color);
255 .breadcrumbs-widget-item[siblings-menu-open],
256 .breadcrumbs-widget-item:active {
257 background-color: #FF9F00;
261 .breadcrumbs-widget-item > .button-box {
267 :root[platform="win"] .breadcrumbs-widget-item:-moz-focusring > .button-box {
271 .breadcrumbs-widget-item:not([checked]) {
272 background: -moz-element(#breadcrumb-separator-normal) no-repeat center left;
275 .breadcrumbs-widget-item[checked] + .breadcrumbs-widget-item {
276 background: -moz-element(#breadcrumb-separator-after) no-repeat 0 0;
279 .breadcrumbs-widget-item[checked] {
280 background: -moz-element(#breadcrumb-separator-before) no-repeat 0 0;
281 background-color: #008484; /* Select Highlight Blue */
284 .breadcrumbs-widget-item:first-child {
285 background-image: none;
288 /* RTL support: move the images that were on the left to the right,
289 * and move images that were on the right to the left.
291 .breadcrumbs-widget-item:-moz-locale-dir(rtl) {
292 padding: 0 20px 0 8px;
295 .breadcrumbs-widget-item:-moz-locale-dir(rtl),
296 .breadcrumbs-widget-item[checked] + .breadcrumbs-widget-item:-moz-locale-dir(rtl) {
297 background-position: center right;
300 #breadcrumb-separator-before:-moz-locale-dir(rtl),
301 #breadcrumb-separator-after:-moz-locale-dir(rtl),
302 #breadcrumb-separator-normal:-moz-locale-dir(rtl) {
303 transform: scaleX(-1);
306 #breadcrumb-separator-before:-moz-locale-dir(rtl):after,
307 #breadcrumb-separator-after:-moz-locale-dir(rtl):after {
308 transform: translateX(-5px) rotate(45deg);
311 .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-id,
312 .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-tag,
313 .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-pseudo-classes,
314 .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-classes {
315 color: var(--theme-highlight-lightorange);
318 .breadcrumbs-widget-item {
319 color: var(--theme-highlight-lightorange);
322 .breadcrumbs-widget-item:not([checked]):hover label {
323 color: var(--theme-hover-color) !important;
326 .breadcrumbs-widget-item-id {
327 color: var(--theme-body-color-alt);
330 .breadcrumbs-widget-item-classes {
331 color: var(--theme-content-color1);
334 .breadcrumbs-widget-item-pseudo-classes {
335 color: var(--theme-highlight-lightorange);
338 /* SimpleListWidget */
340 .simple-list-widget-container {
341 /* Hack: force hardware acceleration */
342 transform: translateZ(1px);
345 .simple-list-widget-item.selected {
346 background-color: var(--theme-selection-background);
347 color: var(--theme-selection-color);
350 .simple-list-widget-item:not(.selected):hover {
351 background-color: var(--theme-hover-background);
352 color: var(--theme-hover-color);
355 .simple-list-widget-perma-text,
356 .simple-list-widget-empty-text {
360 .simple-list-widget-perma-text,
361 .simple-list-widget-empty-text {
362 color: var(--theme-body-color-alt);
367 .fast-list-widget-container {
368 /* Hack: force hardware acceleration */
369 transform: translateZ(1px);
372 .fast-list-widget-empty-text {
376 .fast-list-widget-empty-text {
377 color: var(--theme-body-color-alt);
382 .side-menu-widget-container {
383 /* Hack: force hardware acceleration */
384 transform: translateZ(1px);
387 /* SideMenuWidget container */
389 .side-menu-widget-container[with-arrows=true] .side-menu-widget-item {
390 /* To compensate for the arrow image's dark margin. */
391 /* margin-inline-end: -1px;*/
394 /* SideMenuWidget groups */
396 .side-menu-widget-group-title {
399 border-bottom: 1px solid var(--sidemenu-separator-color);
402 .side-menu-widget-group-title + .side-menu-widget-group-list .side-menu-widget-item-contents {
403 padding-inline-start: 20px;
406 /* SideMenuWidget items */
408 .side-menu-widget-item {
409 border-bottom: 1px solid var(--sidemenu-separator-color);
410 background-clip: padding-box;
413 .side-menu-widget-item.selected {
414 background-color: var(--theme-selection-background);
415 color: var(--theme-selection-color);
418 .side-menu-widget-item-arrow {
419 -moz-margin-start: -7px;
420 width: 7px; /* The image's width is 7 pixels */
423 .side-menu-widget-item.selected > .side-menu-widget-item-arrow {
424 background-image: var(--sidemenu-selected-arrow);
425 background-size: auto;
426 background-repeat: no-repeat;
427 background-position: center right;
430 .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
431 background-image: var(--sidemenu-selected-arrow-rtl);
432 background-position: center left;
435 /* SideMenuWidget items contents */
437 .side-menu-widget-item-contents {
439 /* To avoid having content overlapping the arrow image. */
440 padding-inline-end: 8px;
443 .side-menu-widget-item-other {
444 /* To avoid having content overlapping the arrow image. */
445 padding-inline-end: 8px;
446 /* To compensate for the .side-menu-widget-item-contents padding. */
447 margin-inline-start: -4px;
448 margin-inline-end: -8px;
449 color: var(--theme-selection-color);
452 .side-menu-widget-group-title + .side-menu-widget-group-list .side-menu-widget-item-other {
453 /* To compensate for the .side-menu-widget-item-contents padding. */
454 margin-inline-start: -20px;
457 .side-menu-widget-item.selected .side-menu-widget-item-other:not(.selected) {
458 background-color: var(--theme-sidebar-background);
459 box-shadow: inset 2px 0 0 var(--theme-selection-background);
460 color: var(--theme-body-color);
463 .side-menu-widget-item.selected .side-menu-widget-item-other.selected {
464 background-color: var(--theme-selection-background);
465 color: var(--theme-selection-color);
468 .side-menu-widget-item-other:first-of-type {
470 /* border-top-left-radius: 4px; */
473 .side-menu-widget-item-other:last-of-type {
477 .side-menu-widget-item-other:not(.selected) > label {
481 /* SideMenuWidget checkboxes */
483 .side-menu-widget-group-checkbox {
485 -moz-margin-end: 4px;
488 .side-menu-widget-item-checkbox {
490 -moz-margin-start: 4px;
491 -moz-margin-end: -4px;
494 /* SideMenuWidget misc */
496 .side-menu-widget-empty-text {
498 background-color: var(--theme-sidebar-background);
503 .variables-view-container {
504 /* Hack: force hardware acceleration */
505 transform: translateZ(1px);
508 .variables-view-empty-notice {
512 .variables-view-empty-notice {
513 color: var(--theme-body-color-alt);
516 .variables-view-scope:focus > .title,
517 .theme-dark .variable-or-property:focus > .title {
518 background-color: var(--theme-selection-background);
519 color: var(--theme-selection-color);
522 .variables-view-scope > .title {
523 background-color: #A09090;
527 /* Generic variables traits */
529 .variables-view-variable:not(:last-child) {
530 border-bottom: 1px solid #A09090;
533 .variables-view-variable > .title > .name {
537 /* Generic variables *and* properties traits */
539 .variable-or-property:focus > .title > label {
540 color: inherit !important;
543 .variables-view-container .theme-twisty {
547 .variable-or-property > .title > .theme-twisty {
548 -moz-margin-start: 5px;
551 .variable-or-property:not([untitled]) > .variables-view-element-details {
552 -moz-margin-start: 7px;
555 /* Traits applied when variables or properties are changed or overridden */
557 .variable-or-property:not([overridden]) {
558 transition: background 1s ease-in-out, color 1s ease-in-out;
561 .variable-or-property:not([overridden])[changed] {
563 transition-duration: .4s;
566 .variable-or-property[overridden] {
567 background: rgba(160,144,144,0.5);
570 .variable-or-property[overridden] .title > label {
571 /* Cross out the title for this variable and all child properties. */
573 text-decoration: line-through;
574 border-bottom: none !important;
579 /* Traits applied when variables or properties are editable */
581 .variable-or-property[editable] > .title > .value {
585 .variable-or-property[overridden] .title > .value {
586 /* Disallow editing this variable and all child properties. */
587 pointer-events: none;
590 /* Custom configurable/enumerable/writable or frozen/sealed/extensible
591 * variables and properties */
593 .variable-or-property[non-enumerable]:not([self]):not([pseudo-item]) > .title > .name {
597 .variable-or-property-non-writable-icon {
598 background: url("chrome://devtools/skin/images/vview-lock.png") no-repeat;
599 background-size: cover;
604 @media (min-resolution: 1.1dppx) {
605 .variable-or-property-non-writable-icon {
606 background-image: url("chrome://devtools/skin/images/vview-lock@2x.png");
610 .variable-or-property-frozen-label,
611 .variable-or-property-sealed-label,
612 .variable-or-property-non-extensible-label {
614 -moz-padding-end: 4px;
617 .variable-or-property:not(:focus) > .title > .variable-or-property-frozen-label,
618 .variable-or-property:not(:focus) > .title > .variable-or-property-sealed-label,
619 .variable-or-property:not(:focus) > .title > .variable-or-property-non-extensible-label {
625 .variables-view-container[aligned-values] .title > .separator {
629 .variables-view-container[aligned-values] .title > .value {
634 .variables-view-container[aligned-values] .title > .element-value-input {
635 width: calc(70vw - 10px);
640 .variables-view-open-inspector {
641 -moz-box-ordinal-group: 1;
644 .variables-view-edit,
645 .variables-view-add-property {
646 -moz-box-ordinal-group: 2;
649 .variable-or-property-frozen-label,
650 .variable-or-property-sealed-label,
651 .variable-or-property-non-extensible-label,
652 .variable-or-property-non-writable-icon {
653 -moz-box-ordinal-group: 3;
656 .variables-view-delete {
657 -moz-box-ordinal-group: 4;
660 .variables-view-container[actions-first] .variables-view-delete,
661 .variables-view-container[actions-first] .variables-view-add-property,
662 .variables-view-container[actions-first] .variables-view-open-inspector {
663 -moz-box-ordinal-group: 0;
666 .variables-view-container[actions-first] [invisible] {
670 /* Variables and properties tooltips */
672 .variable-or-property > tooltip > label {
676 .variable-or-property[non-enumerable] > tooltip > label.enumerable,
677 .variable-or-property[non-configurable] > tooltip > label.configurable,
678 .variable-or-property[non-writable] > tooltip > label.writable,
679 .variable-or-property[non-extensible] > tooltip > label.extensible {
681 text-decoration: line-through;
684 .variable-or-property[overridden] > tooltip > label.overridden {
685 -moz-padding-start: 4px;
686 -moz-border-start: 1px dotted #9C9CFF;
689 .variable-or-property[safe-getter] > tooltip > label.WebIDL {
690 -moz-padding-start: 4px;
691 -moz-border-start: 1px dotted #9C9CFF;
695 /* Variables and properties editing */
696 .variables-view-delete,
697 .variables-view-edit,
698 .variables-view-open-inspector {
701 background-size: cover;
705 .variables-view-delete:hover,
706 .variables-view-edit:hover,
707 .variables-view-open-inspector:hover {
708 filter: url(images/filters.svg#checked-icon-state);
711 .variables-view-delete:active,
712 .variables-view-edit:active,
713 .variables-view-open-inspector:active {
714 filter: url(images/filters.svg#checked-icon-state);
717 .variable-or-property:focus > .title > .variables-view-delete,
718 .variable-or-property:focus > .title > .variables-view-edit,
719 .variable-or-property:focus > .title > .variables-view-open-inspector {
723 .variables-view-delete {
724 background-image: var(--delete-icon);
727 @media (min-resolution: 1.1dppx) {
728 .variables-view-delete {
729 background-image: var(--delete-icon-2x);
733 .variables-view-edit {
734 background-image: url("chrome://devtools/skin/images/vview-edit.png");
737 @media (min-resolution: 1.1dppx) {
738 .variables-view-edit {
739 background-image: url("chrome://devtools/skin/images/vview-edit@2x.png");
743 .variables-view-open-inspector {
744 background-image: url("chrome://devtools/skin/images/vview-open-inspector.png");
747 @media (min-resolution: 1.1dppx) {
748 .variables-view-open-inspector {
749 background-image: url("chrome://devtools/skin/images/vview-open-inspector@2x.png");
753 /* Variables and properties input boxes */
755 .variable-or-property > .title > .separator + .element-value-input {
756 -moz-margin-start: -2px !important;
757 -moz-margin-end: 2px !important;
760 .variable-or-property > .title > .separator[hidden=true] + .element-value-input {
761 -moz-margin-start: 4px !important;
762 -moz-margin-end: 2px !important;
765 .element-name-input {
766 -moz-margin-start: -2px !important;
767 -moz-margin-end: 2px !important;
771 .element-value-input,
772 .element-name-input {
773 border: 1px solid #008484 !important;
777 /* Variables and properties searching */
779 .variable-or-property[unmatched] {
786 .graph-widget-container {
790 .graph-widget-canvas {
795 .graph-widget-canvas[input=hovering-background] {
799 .graph-widget-canvas[input=hovering-region] {
803 .graph-widget-canvas[input=hovering-selection-start-boundary],
804 .graph-widget-canvas[input=hovering-selection-end-boundary],
805 .graph-widget-canvas[input=adjusting-selection-boundary] {
809 .graph-widget-canvas[input=adjusting-view-area] {
813 .graph-widget-canvas[input=hovering-selection-contents] {
817 .graph-widget-canvas[input=dragging-selection-contents] {
821 /* Line graph widget */
823 .line-graph-widget-gutter {
829 pointer-events: none;
832 -moz-border-end: 1px solid #9C9CFF;
835 .line-graph-widget-gutter-line {
838 border-top: 1px solid;
841 .line-graph-widget-gutter-line[type=maximum] {
842 border-color: #008484;
845 .line-graph-widget-gutter-line[type=minimum] {
846 border-color: #FF0000;
849 .line-graph-widget-gutter-line[type=average] {
850 border-color: #FF9F00;
853 .line-graph-widget-tooltip {
857 -moz-padding-start: 6px;
858 -moz-padding-end: 6px;
859 transform: translateY(-50%);
860 font-size: 0.8rem !important;
862 pointer-events: none;
867 .line-graph-widget-tooltip[with-arrows=true]::before {
870 border-top: 3px solid transparent;
871 border-bottom: 3px solid transparent;
872 top: calc(50% - 3px);
875 .line-graph-widget-tooltip[arrow=start][with-arrows=true]::before {
876 -moz-border-end: 3px solid #9C9CFF;
880 .line-graph-widget-tooltip[arrow=end][with-arrows=true]::before {
881 -moz-border-start: 3px solid #9C9CFF;
885 .line-graph-widget-tooltip[type=maximum] {
889 .line-graph-widget-tooltip[type=minimum] {
893 .line-graph-widget-tooltip[type=average] {
897 .line-graph-widget-tooltip > [text=info] {
898 color: var(--theme-content-color2);
901 .line-graph-widget-tooltip > [text=value] {
902 -moz-margin-start: 3px;
905 .line-graph-widget-tooltip > [text=metric] {
906 -moz-margin-start: 1px;
907 color: var(--theme-content-color4);
910 .line-graph-widget-tooltip > [text=value],
911 .line-graph-widget-tooltip > [text=metric] {
912 /* text-shadow: 1px 0px rgba(255,255,255,0.6),
913 -1px 0px rgba(255,255,255,0.6),
914 0px -1px rgba(255,255,255,0.6),
915 0px 1px rgba(255,255,255,0.6);*/
918 .line-graph-widget-tooltip[type=maximum] > [text=value] {
919 color: var(--theme-highlight-green);
922 .line-graph-widget-tooltip[type=minimum] > [text=value] {
923 color: var(--theme-highlight-red);
926 .line-graph-widget-tooltip[type=average] > [text=value] {
927 color: var(--theme-highlight-orange);
930 /* Bar graph widget */
932 .bar-graph-widget-legend {
937 font-size: 0.8rem !important;
938 pointer-events: none;
941 .bar-graph-widget-legend-item {
943 -moz-margin-end: 8px;
946 .bar-graph-widget-legend-item > [view="color"],
947 .bar-graph-widget-legend-item > [view="label"] {
948 vertical-align: middle;
951 .bar-graph-widget-legend-item > [view="color"] {
952 display: inline-block;
955 border: 1px solid #9C9CFF;
957 -moz-margin-end: 4px;
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: var(--theme-body-color-alt);
980 .chart-colored-blob {
981 fill: var(--theme-highlight-blue);
982 background: var(--theme-highlight-blue);
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 var(--theme-body-color-alt); /* Grey foreground text */
1072 .table-chart-summary-label {
1077 .table-chart-summary-label {
1078 color: var(--theme-content-color2);
1085 .table-widget-body > .devtools-side-splitter {
1089 .table-widget-body {
1094 .table-widget-empty-text {
1095 background-color: var(--theme-body-background);
1098 /* Column Headers */
1100 .table-widget-column-header,
1101 .table-widget-cell {
1102 border-inline-end: 1px solid var(--table-splitter-color) !important;
1105 /* Table widget column header colors are taken from netmonitor.inc.css to match
1106 the look of both the tables. */
1108 .table-widget-column-header {
1113 padding: 5px 0 0 !important;
1116 font-weight: inherit !important;
1117 border-image: linear-gradient(transparent 15%,
1118 var(--theme-splitter-color) 15%,
1119 var(--theme-splitter-color) 85%,
1121 transparent calc(100% - 1px),
1122 var(--theme-splitter-color) calc(100% - 1px)) 1 1;
1123 background-repeat: no-repeat;
1126 .table-widget-column-header:not([sorted]):hover {
1127 /* background-image: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1));*/
1130 .table-widget-column-header[sorted] {
1131 background-color: var(--theme-selection-background);
1132 color: var(--theme-selection-color);
1133 border-image: linear-gradient(var(--theme-splitter-color), var(--theme-splitter-color)) 1 1;
1134 /* box-shadow: -0.5px 0 0 0.5px var(--theme-splitter-color);*/
1135 background-position: right 6px center;
1138 .table-widget-column-header[sorted]:-moz-locale-dir(rtl) {
1139 background-position: 6px center;
1142 .table-widget-column-header[sorted=ascending] {
1143 background-image: url("chrome://devtools/skin/images/sort-arrows.svg#ascending");
1146 .table-widget-column-header[sorted=descending] {
1147 background-image: url("chrome://devtools/skin/images/sort-arrows.svg#descending");
1150 .table-widget-column[readonly] {
1151 background-color: #402800;
1154 .table-widget-body .devtools-side-splitter:last-of-type {
1160 .table-widget-cell {
1164 -moz-user-focus: normal;
1165 color: var(--theme-body-color);
1168 .table-widget-cell[hidden] {
1172 .table-widget-column-header + .table-widget-cell {
1173 border-top: 1px solid var(--theme-splitter-color);
1176 .table-widget-cell:last-child {
1177 border-bottom: 1px solid var(--table-splitter-color);
1180 .table-widget-cell.even:not(.theme-selected) {
1181 background-color: var(--table-zebra-background);
1184 :root:not(.no-animate) .table-widget-cell.flash-out {
1185 animation: flash-out 0.5s ease-in;
1188 @keyframes flash-out {
1190 background: var(--theme-contrast-background2);
1194 /* Empty text and initial text */
1196 .table-widget-empty-text {
1200 margin-top: -20px !important;
1203 .table-widget-body:empty + .table-widget-empty-text:not([value=""]),
1204 .table-widget-body[empty] + .table-widget-empty-text:not([value=""]) {
1210 .tree-widget-container {
1217 -moz-margin-end: 40px;
1220 .tree-widget-container:-moz-focusring,
1221 .tree-widget-container *:-moz-focusring {
1222 outline-style: none;
1225 .tree-widget-empty-text {
1228 background: transparent;
1229 pointer-events: none;
1234 .tree-widget-container .tree-widget-item {
1235 padding: 2px 0px 4px;
1236 /* OSX has line-height 14px by default, which causes weird alignment issues
1237 * because of 20px high icons. thus making line-height consistent with that of
1240 line-height: 17px !important;
1241 display: inline-block;
1243 word-break: keep-all; /* To prevent long urls like http://foo.com/bar from
1244 breaking in multiple lines */
1247 .tree-widget-container .tree-widget-children {
1253 .tree-widget-item[level="1"] {
1258 .tree-widget-item::before {
1263 margin: 3px 2px -3px;
1264 background-repeat: no-repeat;
1265 background-image: url("chrome://devtools/skin/images/controls.png");
1266 background-size: 56px 28px;
1268 background-position: -28px -14px;
1271 .tree-widget-item:-moz-locale-dir(rtl)::before {
1273 transform: scaleX(-1);
1276 .tree-widget-item[empty]::before {
1277 background: transparent;
1280 .tree-widget-item[expanded]::before {
1281 background-position: -42px -14px;
1284 .tree-widget-item + ul {
1286 animation: collapse-tree-item 0.2s;
1290 .tree-widget-item[expanded] + ul {
1291 animation: expand-tree-item 0.3s;
1295 @keyframes collapse-tree-item {
1304 @keyframes expand-tree-item {
1313 @media (min-resolution: 1.1dppx) {
1314 .tree-widget-item:before {
1315 background-image: url("chrome://devtools/skin/images/controls@2x.png");
1319 /* Indentation of child items in the tree */
1322 .tree-widget-item[level] + ul > li > .tree-widget-item {
1323 -moz-padding-start: 98px;
1327 .tree-widget-item[level="1"] + ul > li > .tree-widget-item {
1328 -moz-padding-start: 14px;
1332 .tree-widget-item[level="2"] + ul > li > .tree-widget-item {
1333 -moz-padding-start: 28px;
1337 .tree-widget-item[level="3"] + ul > li > .tree-widget-item {
1338 -moz-padding-start: 42px;
1342 .tree-widget-item[level="4"] + ul > li > .tree-widget-item {
1343 -moz-padding-start: 56px;
1347 .tree-widget-item[level="5"] + ul > li > .tree-widget-item {
1348 -moz-padding-start: 70px;
1352 .tree-widget-item[level="6"] + ul > li > .tree-widget-item {
1353 -moz-padding-start: 84px;
1356 /* Custom icons for certain tree items indicating the type of the item */
1358 .tree-widget-item[type]::after {
1363 -moz-margin-end: 4px;
1364 background-repeat: no-repeat;
1365 background-size: 20px auto;
1366 background-position: 0 0;
1367 background-size: auto 20px;
1371 .tree-widget-item.theme-selected[type]::after {
1375 .tree-widget-item:-moz-locale-dir(rtl)::after {
1379 /*.theme-light .tree-widget-item.theme-selected[type]::after,*/
1380 .tree-widget-item[type]::after {
1384 .tree-widget-item[type="dir"]::after {
1385 background-image: url("chrome://devtools/skin/images/filetypes/dir-close.svg");
1386 background-position: 2px 0;
1387 background-size: auto 16px;
1391 .tree-widget-item[type="dir"][expanded]:not([empty])::after {
1392 background-image: url("chrome://devtools/skin/images/filetypes/dir-open.svg");
1395 .tree-widget-item[type="url"]::after {
1396 background-image: url("chrome://devtools/skin/images/filetypes/globe.svg");
1397 background-size: auto 18px;