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 margin-inline-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 margin-inline-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 margin-inline-end: 0 !important;
99 /* BreacrumbsWidget */
101 .breadcrumbs-widget-container {
102 margin-inline-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 margin-inline-end: 1px;
121 margin-inline-end: 0;
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-body-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-capped-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: var(--theme-active-background);
258 color: var(--theme-active-color);
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-image: -moz-element(#breadcrumb-separator-normal);
273 background-repeat: no-repeat;
274 background-position: center left;
277 .breadcrumbs-widget-item[checked] + .breadcrumbs-widget-item {
278 background-image: -moz-element(#breadcrumb-separator-after);
279 background-repeat: no-repeat;
280 background-position: 0 0;
283 .breadcrumbs-widget-item[checked] {
284 background-image: -moz-element(#breadcrumb-separator-before);
285 background-repeat: no-repeat;
286 background-position: 0 0;
287 background-color: var(--theme-selection-background); /* Select Highlight Blue */
290 .breadcrumbs-widget-item:first-child {
291 background-image: none;
294 /* RTL support: move the images that were on the left to the right,
295 * and move images that were on the right to the left.
297 .breadcrumbs-widget-item:-moz-locale-dir(rtl) {
298 padding: 0 20px 0 8px;
301 .breadcrumbs-widget-item:-moz-locale-dir(rtl),
302 .breadcrumbs-widget-item[checked] + .breadcrumbs-widget-item:-moz-locale-dir(rtl) {
303 background-position: center right;
306 #breadcrumb-separator-before:-moz-locale-dir(rtl),
307 #breadcrumb-separator-after:-moz-locale-dir(rtl),
308 #breadcrumb-separator-normal:-moz-locale-dir(rtl) {
309 transform: scaleX(-1);
312 #breadcrumb-separator-before:-moz-locale-dir(rtl):after,
313 #breadcrumb-separator-after:-moz-locale-dir(rtl):after {
314 transform: translateX(-5px) rotate(45deg);
317 .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-id,
318 .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-tag,
319 .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-pseudo-classes,
320 .breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-classes {
321 color: var(--theme-button-color); /* --theme-highlight-lightorange */
324 .breadcrumbs-widget-item {
325 color: var(--theme-button-color); /* tag name, --theme-highlight-lightorange */
328 .breadcrumbs-widget-item:not([checked]):hover span,
329 .breadcrumbs-widget-item:not([checked]):hover label {
330 color: var(--theme-hover-color) !important;
333 .breadcrumbs-widget-item-id {
334 color: var(--theme-highlight-red); /* --theme-body-color-alt */
337 .breadcrumbs-widget-item-classes {
338 color: #402800; /* --theme-content-color1 */
341 .breadcrumbs-widget-item-pseudo-classes {
342 color: var(--theme-button-color); /* --theme-highlight-lightorange */
345 /* SimpleListWidget */
347 .simple-list-widget-container {
348 /* Hack: force hardware acceleration */
349 transform: translateZ(1px);
352 .simple-list-widget-item.selected {
353 background-color: var(--theme-selection-background);
354 color: var(--theme-selection-color);
357 .simple-list-widget-item:not(.selected):hover {
358 background-color: var(--theme-hover-background);
359 color: var(--theme-hover-color);
362 .simple-list-widget-perma-text,
363 .simple-list-widget-empty-text {
367 .simple-list-widget-perma-text,
368 .simple-list-widget-empty-text {
369 color: var(--theme-body-color-alt);
374 .fast-list-widget-container {
375 /* Hack: force hardware acceleration */
376 transform: translateZ(1px);
379 .fast-list-widget-empty-text {
383 .fast-list-widget-empty-text {
384 color: var(--theme-body-color-alt);
389 .side-menu-widget-container {
390 /* Hack: force hardware acceleration */
391 transform: translateZ(1px);
394 /* SideMenuWidget container */
396 .side-menu-widget-container[with-arrows=true] .side-menu-widget-item {
397 /* To compensate for the arrow image's dark margin. */
398 /* margin-inline-end: -1px;*/
401 /* SideMenuWidget groups */
403 .side-menu-widget-group-title {
406 border-bottom: 1px solid var(--sidemenu-separator-color);
409 .side-menu-widget-group-title + .side-menu-widget-group-list .side-menu-widget-item-contents {
410 padding-inline-start: 20px;
413 /* SideMenuWidget items */
415 .side-menu-widget-item {
416 border-bottom: 1px solid var(--sidemenu-separator-color);
417 background-clip: padding-box;
420 .side-menu-widget-item.selected {
421 background-color: var(--theme-selection-background);
422 color: var(--theme-selection-color);
425 .side-menu-widget-item-arrow {
426 margin-inline-start: -7px;
427 width: 7px; /* The image's width is 7 pixels */
430 .side-menu-widget-item.selected > .side-menu-widget-item-arrow {
431 background-image: var(--sidemenu-selected-arrow);
432 background-size: auto;
433 background-repeat: no-repeat;
434 background-position: center right;
437 .side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
438 background-image: var(--sidemenu-selected-arrow-rtl);
439 background-position: center left;
442 /* SideMenuWidget items contents */
444 .side-menu-widget-item-contents {
446 /* To avoid having content overlapping the arrow image. */
447 padding-inline-end: 8px;
450 .side-menu-widget-item-other {
451 /* To avoid having content overlapping the arrow image. */
452 padding-inline-end: 8px;
453 /* To compensate for the .side-menu-widget-item-contents padding. */
454 margin-inline-start: -4px;
455 margin-inline-end: -8px;
456 color: var(--theme-selection-color);
459 .side-menu-widget-group-title + .side-menu-widget-group-list .side-menu-widget-item-other {
460 /* To compensate for the .side-menu-widget-item-contents padding. */
461 margin-inline-start: -20px;
464 .side-menu-widget-item.selected .side-menu-widget-item-other:not(.selected) {
465 background-color: var(--theme-sidebar-background);
466 box-shadow: inset 2px 0 0 var(--theme-selection-background);
467 color: var(--theme-body-color);
470 .side-menu-widget-item.selected .side-menu-widget-item-other.selected {
471 background-color: var(--theme-selection-background);
472 color: var(--theme-selection-color);
475 .side-menu-widget-item-other:first-of-type {
477 /* border-top-left-radius: 4px; */
480 .side-menu-widget-item-other:last-of-type {
484 .side-menu-widget-item-other:not(.selected) > label {
488 /* SideMenuWidget checkboxes */
490 .side-menu-widget-group-checkbox {
492 margin-inline-end: 4px;
495 .side-menu-widget-item-checkbox {
497 margin-inline-start: 4px;
498 margin-inline-end: -4px;
501 /* SideMenuWidget misc */
503 .side-menu-widget-empty-text {
505 background-color: var(--theme-sidebar-background);
510 .variables-view-container {
511 /* Hack: force hardware acceleration */
512 transform: translateZ(1px);
515 .variables-view-empty-notice {
519 .variables-view-empty-notice {
520 color: var(--theme-body-color-alt);
523 .variables-view-scope:focus > .title,
524 .theme-dark .variable-or-property:focus > .title {
525 background-color: var(--theme-selection-background);
526 color: var(--theme-selection-color);
529 .variables-view-scope > .title {
530 background-color: #A09090;
534 /* Custom scope stylings */
536 .variables-view-watch-expressions .title > .name {
540 /* Generic variables traits */
542 .variables-view-variable:not(:last-child) {
543 border-bottom: 1px solid #A09090;
546 .variables-view-variable > .title > .name {
550 /* Generic variables *and* properties traits */
552 .variable-or-property:focus > .title > label {
553 color: inherit !important;
556 .variables-view-container .theme-twisty {
560 .variable-or-property > .title > .theme-twisty {
561 margin-inline-start: 5px;
564 .variable-or-property:not([untitled]) > .variables-view-element-details {
565 margin-inline-start: 7px;
568 /* Traits applied when variables or properties are changed or overridden */
570 .variable-or-property:not([overridden]) {
571 transition: background 1s ease-in-out, color 1s ease-in-out;
574 .variable-or-property:not([overridden])[changed] {
576 transition-duration: .4s;
579 .variable-or-property[overridden] {
580 background: rgba(160,144,144,0.5);
583 .variable-or-property[overridden] .title > label {
584 /* Cross out the title for this variable and all child properties. */
586 text-decoration: line-through;
587 border-bottom: none !important;
592 /* Traits applied when variables or properties are editable */
594 .variable-or-property[editable] > .title > .value {
598 .variable-or-property[overridden] .title > .value {
599 /* Disallow editing this variable and all child properties. */
600 pointer-events: none;
603 /* Custom configurable/enumerable/writable or frozen/sealed/extensible
604 * variables and properties */
606 .variable-or-property[non-enumerable]:not([self]):not([pseudo-item]) > .title > .name {
610 .variable-or-property-non-writable-icon {
611 background: url("chrome://devtools/skin/images/vview-lock.png") no-repeat;
612 background-size: cover;
617 @media (min-resolution: 1.1dppx) {
618 .variable-or-property-non-writable-icon {
619 background-image: url("chrome://devtools/skin/images/vview-lock@2x.png");
623 .variable-or-property-frozen-label,
624 .variable-or-property-sealed-label,
625 .variable-or-property-non-extensible-label {
627 padding-inline-end: 4px;
630 .variable-or-property:not(:focus) > .title > .variable-or-property-frozen-label,
631 .variable-or-property:not(:focus) > .title > .variable-or-property-sealed-label,
632 .variable-or-property:not(:focus) > .title > .variable-or-property-non-extensible-label {
638 .variables-view-container[aligned-values] .title > .separator {
642 .variables-view-container[aligned-values] .title > .value {
647 .variables-view-container[aligned-values] .title > .element-value-input {
648 width: calc(70vw - 10px);
653 .variables-view-open-inspector {
654 -moz-box-ordinal-group: 1;
657 .variables-view-edit,
658 .variables-view-add-property {
659 -moz-box-ordinal-group: 2;
662 .variable-or-property-frozen-label,
663 .variable-or-property-sealed-label,
664 .variable-or-property-non-extensible-label,
665 .variable-or-property-non-writable-icon {
666 -moz-box-ordinal-group: 3;
669 .variables-view-delete {
670 -moz-box-ordinal-group: 4;
673 .variables-view-container[actions-first] .variables-view-delete,
674 .variables-view-container[actions-first] .variables-view-add-property,
675 .variables-view-container[actions-first] .variables-view-open-inspector {
676 -moz-box-ordinal-group: 0;
679 .variables-view-container[actions-first] [invisible] {
683 /* Variables and properties tooltips */
685 .variable-or-property > tooltip > label {
689 .variable-or-property[non-enumerable] > tooltip > label.enumerable,
690 .variable-or-property[non-configurable] > tooltip > label.configurable,
691 .variable-or-property[non-writable] > tooltip > label.writable,
692 .variable-or-property[non-extensible] > tooltip > label.extensible {
694 text-decoration: line-through;
697 .variable-or-property[overridden] > tooltip > label.overridden {
698 padding-inline-start: 4px;
699 border-inline-start: 1px dotted #9C9CFF;
702 .variable-or-property[safe-getter] > tooltip > label.WebIDL {
703 padding-inline-start: 4px;
704 border-inline-start: 1px dotted #9C9CFF;
708 /* Variables and properties editing */
709 .variables-view-delete,
710 .variables-view-edit,
711 .variables-view-open-inspector {
714 background-size: cover;
718 .variables-view-delete:hover,
719 .variables-view-edit:hover,
720 .variables-view-open-inspector:hover {
721 filter: url(images/filters.svg#checked-icon-state);
724 .variables-view-delete:active,
725 .variables-view-edit:active,
726 .variables-view-open-inspector:active {
727 filter: url(images/filters.svg#checked-icon-state);
730 .variable-or-property:focus > .title > .variables-view-delete,
731 .variable-or-property:focus > .title > .variables-view-edit,
732 .variable-or-property:focus > .title > .variables-view-open-inspector {
736 .variables-view-delete {
737 background-image: var(--delete-icon);
740 @media (min-resolution: 1.1dppx) {
741 .variables-view-delete {
742 background-image: var(--delete-icon-2x);
746 .variables-view-edit {
747 background-image: url("chrome://devtools/skin/images/vview-edit.png");
750 @media (min-resolution: 1.1dppx) {
751 .variables-view-edit {
752 background-image: url("chrome://devtools/skin/images/vview-edit@2x.png");
756 .variables-view-open-inspector {
757 background-image: url("chrome://devtools/skin/images/vview-open-inspector.png");
760 @media (min-resolution: 1.1dppx) {
761 .variables-view-open-inspector {
762 background-image: url("chrome://devtools/skin/images/vview-open-inspector@2x.png");
766 /* Variables and properties input boxes */
768 .variable-or-property > .title > .separator + .element-value-input {
769 margin-inline-start: -2px !important;
770 margin-inline-end: 2px !important;
773 .variable-or-property > .title > .separator[hidden=true] + .element-value-input {
774 margin-inline-start: 4px !important;
775 margin-inline-end: 2px !important;
778 .element-name-input {
779 margin-inline-start: -2px !important;
780 margin-inline-end: 2px !important;
784 .element-value-input,
785 .element-name-input {
786 border: 1px solid #008484 !important;
790 /* Variables and properties searching */
792 .variable-or-property[unmatched] {
799 .graph-widget-container {
803 .graph-widget-canvas {
808 .graph-widget-canvas[input=hovering-background] {
812 .graph-widget-canvas[input=hovering-region] {
816 .graph-widget-canvas[input=hovering-selection-start-boundary],
817 .graph-widget-canvas[input=hovering-selection-end-boundary],
818 .graph-widget-canvas[input=adjusting-selection-boundary] {
822 .graph-widget-canvas[input=adjusting-view-area] {
826 .graph-widget-canvas[input=hovering-selection-contents] {
830 .graph-widget-canvas[input=dragging-selection-contents] {
834 /* Line graph widget */
836 .line-graph-widget-gutter {
842 pointer-events: none;
845 border-inline-end: 1px solid #9C9CFF;
848 .line-graph-widget-gutter-line {
851 border-top: 1px solid;
854 .line-graph-widget-gutter-line[type=maximum] {
855 border-color: #008484;
858 .line-graph-widget-gutter-line[type=minimum] {
859 border-color: #FF0000;
862 .line-graph-widget-gutter-line[type=average] {
863 border-color: #FF9F00;
866 .line-graph-widget-tooltip {
870 padding-inline-start: 6px;
871 padding-inline-end: 6px;
872 transform: translateY(-50%);
873 font-size: 0.8rem !important;
875 pointer-events: none;
880 .line-graph-widget-tooltip[with-arrows=true]::before {
883 border-top: 3px solid transparent;
884 border-bottom: 3px solid transparent;
885 top: calc(50% - 3px);
888 .line-graph-widget-tooltip[arrow=start][with-arrows=true]::before {
889 border-inline-end: 3px solid #9C9CFF;
893 .line-graph-widget-tooltip[arrow=end][with-arrows=true]::before {
894 border-inline-start: 3px solid #9C9CFF;
898 .line-graph-widget-tooltip[type=maximum] {
902 .line-graph-widget-tooltip[type=minimum] {
906 .line-graph-widget-tooltip[type=average] {
910 .line-graph-widget-tooltip > [text=info] {
911 color: var(--theme-content-color2);
914 .line-graph-widget-tooltip > [text=value] {
915 margin-inline-start: 3px;
918 .line-graph-widget-tooltip > [text=metric] {
919 margin-inline-start: 1px;
920 color: var(--theme-content-color4);
923 .line-graph-widget-tooltip > [text=value],
924 .line-graph-widget-tooltip > [text=metric] {
925 /* text-shadow: 1px 0px rgba(255,255,255,0.6),
926 -1px 0px rgba(255,255,255,0.6),
927 0px -1px rgba(255,255,255,0.6),
928 0px 1px rgba(255,255,255,0.6);*/
931 .line-graph-widget-tooltip[type=maximum] > [text=value] {
932 color: var(--theme-highlight-green);
935 .line-graph-widget-tooltip[type=minimum] > [text=value] {
936 color: var(--theme-highlight-red);
939 .line-graph-widget-tooltip[type=average] > [text=value] {
940 color: var(--theme-highlight-orange);
943 /* Bar graph widget */
945 .bar-graph-widget-legend {
950 font-size: 0.8rem !important;
951 pointer-events: none;
954 .bar-graph-widget-legend-item {
956 margin-inline-end: 8px;
959 .bar-graph-widget-legend-item > [view="color"],
960 .bar-graph-widget-legend-item > [view="label"] {
961 vertical-align: middle;
964 .bar-graph-widget-legend-item > [view="color"] {
965 display: inline-block;
968 border: 1px solid #9C9CFF;
970 margin-inline-end: 4px;
975 .bar-graph-widget-legend-item > [view="label"] {
976 /* text-shadow: 1px 0px rgba(255,255,255,0.8),
977 -1px 0px rgba(255,255,255,0.8),
978 0px -1px rgba(255,255,255,0.8),
979 0px 1px rgba(255,255,255,0.8);*/
984 .generic-chart-container {
985 /* Hack: force hardware acceleration */
986 transform: translateZ(1px);
989 .generic-chart-container {
990 color: var(--theme-body-color-alt);
993 .chart-colored-blob {
994 fill: var(--theme-highlight-blue);
995 background: var(--theme-highlight-blue);
1009 .pie-chart-slice[largest] {
1015 text-anchor: middle;
1016 dominant-baseline: middle;
1017 pointer-events: none;
1024 .pie-chart-container[slices="1"] > .pie-chart-slice {
1030 transition: all 0.1s ease-out;
1033 .pie-chart-slice:not(:hover):not([focused]),
1034 .pie-chart-slice:not(:hover):not([focused]) + .pie-chart-label {
1035 transform: none !important;
1040 .table-chart-title {
1041 padding-bottom: 10px;
1051 .table-chart-grid:hover > .table-chart-row {
1052 transition: opacity 0.1s ease-in-out;
1055 .table-chart-grid:not(:hover) > .table-chart-row {
1056 transition: opacity 0.2s ease-in-out;
1059 .generic-chart-container:hover > .table-chart-grid:hover > .table-chart-row:not(:hover),
1060 .generic-chart-container:hover ~ .table-chart-container > .table-chart-grid > .table-chart-row:not([focused]) {
1064 .table-chart-row-box {
1067 margin-inline-end: 10px;
1070 .table-chart-row-label {
1072 padding-inline-end: 6px;
1076 .table-chart-totals {
1081 .table-chart-totals {
1082 border-top: 1px solid var(--theme-body-color-alt); /* Grey foreground text */
1085 .table-chart-summary-label {
1090 .table-chart-summary-label {
1091 color: var(--theme-content-color2);
1098 .table-widget-body > .devtools-side-splitter {
1102 .table-widget-body {
1107 .table-widget-empty-text {
1108 background-color: var(--theme-body-background);
1111 /* Column Headers */
1113 .table-widget-column-header,
1114 .table-widget-cell {
1115 border-inline-end: 1px solid var(--table-splitter-color) !important;
1118 /* Table widget column header colors are taken from netmonitor.inc.css to match
1119 the look of both the tables. */
1121 .table-widget-column-header {
1126 padding: 5px 0 0 !important;
1129 font-weight: inherit !important;
1130 border-image: linear-gradient(transparent 15%,
1131 var(--theme-splitter-color) 15%,
1132 var(--theme-splitter-color) 85%,
1134 transparent calc(100% - 1px),
1135 var(--theme-splitter-color) calc(100% - 1px)) 1 1;
1136 background-repeat: no-repeat;
1139 .table-widget-column-header:not([sorted]):hover {
1140 /* background-image: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1));*/
1143 .table-widget-column-header[sorted] {
1144 background-color: var(--theme-selection-background);
1145 color: var(--theme-selection-color);
1146 border-image: linear-gradient(var(--theme-splitter-color), var(--theme-splitter-color)) 1 1;
1147 /* box-shadow: -0.5px 0 0 0.5px var(--theme-splitter-color);*/
1148 background-position: right 6px center;
1151 .table-widget-column-header[sorted]:-moz-locale-dir(rtl) {
1152 background-position: 6px center;
1155 .table-widget-column-header[sorted=ascending] {
1156 background-image: url("chrome://devtools/skin/images/sort-arrows.svg#ascending");
1159 .table-widget-column-header[sorted=descending] {
1160 background-image: url("chrome://devtools/skin/images/sort-arrows.svg#descending");
1163 .table-widget-column[readonly] {
1164 background-color: #402800;
1167 .table-widget-body .devtools-side-splitter:last-of-type {
1173 .table-widget-cell {
1177 -moz-user-focus: normal;
1178 color: var(--theme-body-color);
1181 .table-widget-cell[hidden] {
1185 .table-widget-column-header + .table-widget-cell {
1186 border-top: 1px solid var(--theme-splitter-color);
1189 .table-widget-cell:last-child {
1190 border-bottom: 1px solid var(--table-splitter-color);
1193 .table-widget-cell.even:not(.theme-selected) {
1194 background-color: var(--table-zebra-background);
1197 :root:not(.no-animate) .table-widget-cell.flash-out {
1198 animation: flash-out 0.5s ease-in;
1201 @keyframes flash-out {
1203 background: var(--theme-contrast-background2);
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 margin-inline-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://devtools/skin/images/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 .tree-widget-item[empty]::before {
1290 background: transparent;
1293 .tree-widget-item[expanded]::before {
1294 background-position: -42px -14px;
1297 .tree-widget-item + ul {
1299 animation: collapse-tree-item 0.2s;
1303 .tree-widget-item[expanded] + ul {
1304 animation: expand-tree-item 0.3s;
1308 @keyframes collapse-tree-item {
1317 @keyframes expand-tree-item {
1326 @media (min-resolution: 1.1dppx) {
1327 .tree-widget-item:before {
1328 background-image: url("chrome://devtools/skin/images/controls@2x.png");
1332 /* Indentation of child items in the tree */
1335 .tree-widget-item[level] + ul > li > .tree-widget-item {
1336 padding-inline-start: 98px;
1340 .tree-widget-item[level="1"] + ul > li > .tree-widget-item {
1341 padding-inline-start: 14px;
1345 .tree-widget-item[level="2"] + ul > li > .tree-widget-item {
1346 padding-inline-start: 28px;
1350 .tree-widget-item[level="3"] + ul > li > .tree-widget-item {
1351 padding-inline-start: 42px;
1355 .tree-widget-item[level="4"] + ul > li > .tree-widget-item {
1356 padding-inline-start: 56px;
1360 .tree-widget-item[level="5"] + ul > li > .tree-widget-item {
1361 padding-inline-start: 70px;
1365 .tree-widget-item[level="6"] + ul > li > .tree-widget-item {
1366 padding-inline-start: 84px;
1369 /* Custom icons for certain tree items indicating the type of the item */
1371 .tree-widget-item[type]::after {
1376 margin-inline-end: 4px;
1377 background-repeat: no-repeat;
1378 background-size: 20px auto;
1379 background-position: 0 0;
1380 background-size: auto 20px;
1384 .tree-widget-item.theme-selected[type]::after {
1388 .tree-widget-item:-moz-locale-dir(rtl)::after {
1392 /*.theme-light .tree-widget-item.theme-selected[type]::after,*/
1393 .tree-widget-item[type]::after {
1397 .tree-widget-item[type="dir"]::after {
1398 background-image: url("chrome://devtools/skin/images/filetypes/dir-close.svg");
1399 background-position: 2px 0;
1400 background-size: auto 16px;
1404 .tree-widget-item[type="dir"][expanded]:not([empty])::after {
1405 background-image: url("chrome://devtools/skin/images/filetypes/dir-open.svg");
1408 .tree-widget-item[type="url"]::after {
1409 background-image: url("chrome://devtools/skin/images/filetypes/globe.svg");
1410 background-size: auto 18px;