* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-/* === BEGIN widgets.inc.css === */
-
.theme-dark,
.theme-light {
--table-splitter-color: #A09090;
--table-zebra-background: rgba(255,159,0,0.1);
+ --sidemenu-separator-color: rgba(160,144,144,0.15);
+ --sidemenu-selected-arrow: url(images/itemArrow-dark-ltr.svg);
+ --sidemenu-selected-arrow-rtl: url(images/itemArrow-dark-rtl.svg);
+ --delete-icon: url(chrome://devtools/skin/images/vview-delete.png);
+ --delete-icon-2x: url(chrome://devtools/skin/images/vview-delete@2x.png);
}
/* Generic pane helpers */
-.generic-toggled-side-pane {
- -moz-margin-start: 0px !important;
+.generic-toggled-pane {
+ margin-inline-start: 0 !important;
/* Unfortunately, transitions don't work properly with locale-aware properties,
so both the left and right margins are set via js, while the start margin
is always overridden here. */
}
-.generic-toggled-side-pane[animated] {
+.generic-toggled-pane[animated] {
transition: margin 0.25s ease-in-out;
}
position: relative;
}
+@media (min-width: 701px) {
+ .devtools-responsive-container .generic-toggled-pane {
+ /* To hide generic-toggled-pane, negative margins are applied dynamically.
+ * In the default horizontal layout, the pane is on the side and should be
+ * hidden using negative margin-inline-end only.
+ */
+ margin-top: 0 !important;
+ margin-bottom: 0 !important;
+ }
+}
@media (max-width: 700px) {
.devtools-responsive-container {
-moz-box-orient: vertical;
.devtools-responsive-container > .devtools-side-splitter {
/* This is a normally vertical splitter, but we have turned it horizontal
due to the smaller resolution */
- border: 0;
- margin: 0;
- min-height: 3px;
- height: 3px;
- margin-top: -3px;
+ min-height: calc(var(--devtools-splitter-top-width) +
+ var(--devtools-splitter-bottom-width) + 1px);
+ border-top-width: var(--devtools-splitter-top-width);
+ border-bottom-width: var(--devtools-splitter-bottom-width);
+ margin-top: calc(-1 * var(--devtools-splitter-top-width) - 1px);
+ margin-bottom: calc(-1 * var(--devtools-splitter-bottom-width));
/* Reset the vertical splitter styles */
width: auto;
min-width: 0;
+ border-inline-end-width: 0;
+ border-inline-start-width: 0;
+ margin-inline-end: 0;
+ margin-inline-start: 0;
/* In some edge case the cursor is not changed to n-resize */
cursor: n-resize;
}
- .devtools-responsive-container > .devtools-sidebar-tabs {
+ .devtools-responsive-container > .devtools-sidebar-tabs:not(.pane-collapsed) {
+ /* When the panel is collapsed min/max height should not be applied because
+ collapsing relies on negative margins, which implies constant height. */
min-height: 35vh;
max-height: 75vh;
}
+
+ .devtools-responsive-container .generic-toggled-pane {
+ /* To hide generic-toggled-pane, negative margins are applied dynamically.
+ * If a vertical layout, the pane is on the bottom and should be hidden
+ * using negative bottom margin only.
+ */
+ margin-inline-end: 0 !important;
+ }
}
/* BreacrumbsWidget */
.breadcrumbs-widget-container {
- -moz-margin-start: 2px;
- -moz-margin-start: 2px;
+ margin-inline-start: 2px;
max-height: 24px; /* Set max-height for proper sizing on linux */
height: 24px; /* Set height to prevent starting small waiting for content */
}
}
.scrollbutton-up {
- -moz-margin-end: 1px;
+ margin-inline-end: 1px;
}
.scrollbutton-down {
- -moz-margin-end: 0;
+ margin-inline-end: 0;
}
.scrollbutton-up > .toolbarbutton-icon,
.scrollbutton-down > .toolbarbutton-icon {
- /* margin: 0 5px; */
+ /* margin: 0 8px; */
}
.scrollbutton-up:not([disabled]):active:hover > .toolbarbutton-icon,
* we can handle RTL support with a CSS transform).
*/
#breadcrumb-separator-normal {
- background: url("breadcrumbs-divider@2x.png") no-repeat center right;
+ background: url("images/breadcrumbs-divider@2x.png") no-repeat center right;
background-size: 12px 24px;
}
}
.breadcrumbs-widget-item {
- background-color: var(--theme-toolbar-background);
+ background-color: var(--theme-capped-toolbar-background);
min-height: 24px;
min-width: 65px;
margin: 0;
.breadcrumbs-widget-item[siblings-menu-open],
.breadcrumbs-widget-item:active {
- background-color: #FF9F00;
- color: #000000;
+ background-color: var(--theme-active-background);
+ color: var(--theme-active-color);
+}
+
+.breadcrumbs-widget-item:-moz-focusring {
+ outline: none;
+}
+
+.breadcrumbs-widget-item[checked]:-moz-focusring > .button-box {
+ outline: var(--theme-focus-outline);
+ outline-offset: -1px;
}
.breadcrumbs-widget-item > .button-box {
padding-bottom: 0;
}
+:root[platform="win"] .breadcrumbs-widget-item:-moz-focusring > .button-box {
+ border-width: 0;
+}
+
.breadcrumbs-widget-item:not([checked]) {
background-image: -moz-element(#breadcrumb-separator-normal);
background-repeat: no-repeat;
background-image: -moz-element(#breadcrumb-separator-before);
background-repeat: no-repeat;
background-position: 0 0;
- background-color: #008484; /* Select Highlight Blue */
+ background-color: var(--theme-selection-background); /* Select Highlight Blue */
}
.breadcrumbs-widget-item:first-child {
.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-tag,
.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-pseudo-classes,
.breadcrumbs-widget-item[checked] .breadcrumbs-widget-item-classes {
- color: var(--theme-highlight-lightorange);
+ color: var(--theme-button-color); /* --theme-highlight-lightorange */
}
-.breadcrumbs-widget-item:not([checked]):hover .breadcrumbs-widget-item-id,
-.breadcrumbs-widget-item:not([checked]):hover .breadcrumbs-widget-item-tag,
-.breadcrumbs-widget-item:not([checked]):hover .breadcrumbs-widget-item-pseudo-classes,
-.breadcrumbs-widget-item:not([checked]):hover .breadcrumbs-widget-item-classes {
- color: var(--theme-hover-color) !important;
+.breadcrumbs-widget-item {
+ color: var(--theme-button-color); /* tag name, --theme-highlight-lightorange */
}
-.breadcrumbs-widget-item {
- color: var(--theme-highlight-lightorange);
+.breadcrumbs-widget-item:not([checked]):hover span,
+.breadcrumbs-widget-item:not([checked]):hover label {
+ color: var(--theme-hover-color) !important;
}
.breadcrumbs-widget-item-id {
- color: var(--theme-body-color-alt);
+ color: var(--theme-highlight-red); /* --theme-body-color-alt */
}
.breadcrumbs-widget-item-classes {
- color: var(--theme-content-color1);
+ color: var(#402800); /* --theme-content-color1 */
}
.breadcrumbs-widget-item-pseudo-classes {
- color: var(--theme-highlight-lightorange);
+ color: var(--theme-button-color); /* --theme-highlight-lightorange */
}
/* SimpleListWidget */
.simple-list-widget-perma-text,
.simple-list-widget-empty-text {
- color: var(--theme-body-color-alt);
padding: 4px 8px;
}
+.simple-list-widget-perma-text,
+.simple-list-widget-empty-text {
+ color: var(--theme-body-color-alt);
+}
+
/* FastListWidget */
.fast-list-widget-container {
transform: translateZ(1px);
}
-/* dark/light theme */
.fast-list-widget-empty-text {
- padding: 12px;
- font-weight: 600;
+ padding: 4px 8px;
+}
+
+.fast-list-widget-empty-text {
color: var(--theme-body-color-alt);
}
/* SideMenuWidget */
-/* SideMenuWidget container */
-
.side-menu-widget-container {
/* Hack: force hardware acceleration */
transform: translateZ(1px);
}
-.side-menu-widget-container:-moz-locale-dir(ltr),
-.side-menu-widget-empty-text:-moz-locale-dir(ltr) {
-}
-
-.side-menu-widget-container:-moz-locale-dir(rtl),
-.side-menu-widget-empty-text:-moz-locale-dir(rtl)[with-arrows=true]:-moz-locale-dir(rtl) {
-}
-
-.side-menu-widget-group {
- /* To allow visibility of the dark margin shadow. */
-/* -moz-margin-end: 1px; */
-}
+/* SideMenuWidget container */
.side-menu-widget-container[with-arrows=true] .side-menu-widget-item {
/* To compensate for the arrow image's dark margin. */
-/* -moz-margin-end: -1px; */
+/* margin-inline-end: -1px;*/
}
/* SideMenuWidget groups */
.side-menu-widget-group-title {
padding: 4px;
- background-color: var(--theme-contrastsidebar-background);
- color: var(--theme-contrastsidebar-color);
+ font-weight: 600;
+ border-bottom: 1px solid var(--sidemenu-separator-color);
+}
+
+.side-menu-widget-group-title + .side-menu-widget-group-list .side-menu-widget-item-contents {
+ padding-inline-start: 20px;
}
/* SideMenuWidget items */
.side-menu-widget-item {
- border-top: 1px solid #9C9CFF;
- /* To compensate for the top and bottom borders */
- margin-top: -1px;
- margin-bottom: -1px;
+ border-bottom: 1px solid var(--sidemenu-separator-color);
background-clip: padding-box;
}
-.side-menu-widget-item:last-of-type {
- border-bottom: 1px solid #9C9CFF;
-}
-
.side-menu-widget-item.selected {
background-color: var(--theme-selection-background);
color: var(--theme-selection-color);
}
.side-menu-widget-item-arrow {
- -moz-margin-start: -7px;
+ margin-inline-start: -7px;
width: 7px; /* The image's width is 7 pixels */
- /* Cover the border of the side-menu-widget-item */
- margin-top: -1px;
- margin-bottom: -1px;
}
.side-menu-widget-item.selected > .side-menu-widget-item-arrow {
- background-size: auto, 1px 100%;
+ background-image: var(--sidemenu-selected-arrow);
+ background-size: auto;
background-repeat: no-repeat;
-}
-
-.side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
background-position: center right;
}
.side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
+ background-image: var(--sidemenu-selected-arrow-rtl);
background-position: center left;
}
-.side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(ltr) {
- background-image: url("itemArrow-ltr.svg");
-}
-
-.side-menu-widget-item.selected > .side-menu-widget-item-arrow:-moz-locale-dir(rtl) {
- background-image: url("itemArrow-rtl.svg");
-}
-
/* SideMenuWidget items contents */
.side-menu-widget-item-contents {
padding: 4px;
/* To avoid having content overlapping the arrow image. */
- -moz-padding-end: 8px;
+ padding-inline-end: 8px;
}
.side-menu-widget-item-other {
/* To avoid having content overlapping the arrow image. */
- -moz-padding-end: 8px;
+ padding-inline-end: 8px;
/* To compensate for the .side-menu-widget-item-contents padding. */
- -moz-margin-start: -4px;
- -moz-margin-end: -8px;
+ margin-inline-start: -4px;
+ margin-inline-end: -8px;
color: var(--theme-selection-color);
}
-.side-menu-widget-item-other.selected {
+.side-menu-widget-group-title + .side-menu-widget-group-list .side-menu-widget-item-other {
+ /* To compensate for the .side-menu-widget-item-contents padding. */
+ margin-inline-start: -20px;
+}
+
+.side-menu-widget-item.selected .side-menu-widget-item-other:not(.selected) {
+ background-color: var(--theme-sidebar-background);
+ box-shadow: inset 2px 0 0 var(--theme-selection-background);
+ color: var(--theme-body-color);
+}
+
+.side-menu-widget-item.selected .side-menu-widget-item-other.selected {
background-color: var(--theme-selection-background);
color: var(--theme-selection-color);
}
.side-menu-widget-group-checkbox {
margin: 0;
- -moz-margin-end: 4px;
+ margin-inline-end: 4px;
}
.side-menu-widget-item-checkbox {
margin: 0;
- -moz-margin-start: 4px;
- -moz-margin-end: -4px;
+ margin-inline-start: 4px;
+ margin-inline-end: -4px;
}
/* SideMenuWidget misc */
-.theme-dark .side-menu-widget-container,
-.theme-dark .side-menu-widget-empty-text {
- background-color: var(--theme-toolbar-background);
-}
-
.side-menu-widget-empty-text {
- padding: 12px;
+ padding: 4px 8px;
+ background-color: var(--theme-sidebar-background);
}
/* VariablesView */
-.variables-view-container:not([empty]) {
+.variables-view-container {
/* Hack: force hardware acceleration */
transform: translateZ(1px);
}
.variables-view-empty-notice {
- color: var(--theme-body-color-alt);
padding: 2px;
}
+.variables-view-empty-notice {
+ color: var(--theme-body-color-alt);
+}
+
.variables-view-scope:focus > .title,
.theme-dark .variable-or-property:focus > .title {
background-color: var(--theme-selection-background);
color: #000000;
}
+/* Custom scope stylings */
+
+.variables-view-watch-expressions .title > .name {
+ max-width: 14em;
+}
+
/* Generic variables traits */
.variables-view-variable:not(:last-child) {
}
.variable-or-property > .title > .theme-twisty {
- -moz-margin-start: 5px;
+ margin-inline-start: 5px;
}
.variable-or-property:not([untitled]) > .variables-view-element-details {
- -moz-margin-start: 7px;
+ margin-inline-start: 7px;
}
/* Traits applied when variables or properties are changed or overridden */
background-size: cover;
width: 16px;
height: 16px;
- opacity: 0.5;
}
@media (min-resolution: 1.1dppx) {
- .variable-or-property-non-writable-icon > .title:after {
+ .variable-or-property-non-writable-icon {
background-image: url("chrome://devtools/skin/images/vview-lock@2x.png");
}
}
.variable-or-property-sealed-label,
.variable-or-property-non-extensible-label {
height: 16px;
- -moz-padding-end: 4px;
+ padding-inline-end: 4px;
}
.variable-or-property:not(:focus) > .title > .variable-or-property-frozen-label,
.variable-or-property[non-enumerable] > tooltip > label.enumerable,
.variable-or-property[non-configurable] > tooltip > label.configurable,
-.variable-or-property[non-writable] > tooltip > label.writable
+.variable-or-property[non-writable] > tooltip > label.writable,
.variable-or-property[non-extensible] > tooltip > label.extensible {
color: #A09090;
text-decoration: line-through;
}
.variable-or-property[overridden] > tooltip > label.overridden {
- -moz-padding-start: 4px;
- -moz-border-start: 1px dotted #9C9CFF;
+ padding-inline-start: 4px;
+ border-inline-start: 1px dotted #9C9CFF;
}
.variable-or-property[safe-getter] > tooltip > label.WebIDL {
- -moz-padding-start: 4px;
- -moz-border-start: 1px dotted #9C9CFF;
+ padding-inline-start: 4px;
+ border-inline-start: 1px dotted #9C9CFF;
color: #008484;
}
}
.variables-view-delete {
- background-image: url("chrome://devtools/skin/images/vview-delete.png");
+ background-image: var(--delete-icon);
}
@media (min-resolution: 1.1dppx) {
.variables-view-delete {
- background-image: url("chrome://devtools/skin/images/vview-delete@2x.png");
+ background-image: var(--delete-icon-2x);
}
}
background-image: url("chrome://devtools/skin/images/vview-open-inspector.png");
}
+@media (min-resolution: 1.1dppx) {
+ .variables-view-open-inspector {
+ background-image: url("chrome://devtools/skin/images/vview-open-inspector@2x.png");
+ }
+}
+
/* Variables and properties input boxes */
.variable-or-property > .title > .separator + .element-value-input {
- -moz-margin-start: -2px !important;
- -moz-margin-end: 2px !important;
+ margin-inline-start: -2px !important;
+ margin-inline-end: 2px !important;
}
.variable-or-property > .title > .separator[hidden=true] + .element-value-input {
- -moz-margin-start: 4px !important;
- -moz-margin-end: 2px !important;
+ margin-inline-start: 4px !important;
+ margin-inline-end: 2px !important;
}
.element-name-input {
- -moz-margin-start: -2px !important;
- -moz-margin-end: 2px !important;
+ margin-inline-start: -2px !important;
+ margin-inline-end: 2px !important;
font-weight: 600;
}
pointer-events: none;
background: #000000;
- -moz-border-end: 1px solid #9C9CFF;
+ border-inline-end: 1px solid #9C9CFF;
}
.line-graph-widget-gutter-line {
position: absolute;
border-radius: 2px;
line-height: 15px;
- -moz-padding-start: 6px;
- -moz-padding-end: 6px;
+ padding-inline-start: 6px;
+ padding-inline-end: 6px;
transform: translateY(-50%);
font-size: 0.8rem !important;
z-index: 1;
}
.line-graph-widget-tooltip[arrow=start][with-arrows=true]::before {
- -moz-border-end: 3px solid #9C9CFF;
+ border-inline-end: 3px solid #9C9CFF;
left: -3px;
}
.line-graph-widget-tooltip[arrow=end][with-arrows=true]::before {
- -moz-border-start: 3px solid #9C9CFF;
+ border-inline-start: 3px solid #9C9CFF;
right: -3px;
}
}
.line-graph-widget-tooltip > [text=value] {
- -moz-margin-start: 3px;
+ margin-inline-start: 3px;
}
.line-graph-widget-tooltip > [text=metric] {
- -moz-margin-start: 1px;
+ margin-inline-start: 1px;
color: var(--theme-content-color4);
}
.bar-graph-widget-legend-item {
float: left;
- -moz-margin-end: 8px;
+ margin-inline-end: 8px;
}
.bar-graph-widget-legend-item > [view="color"],
height: 8px;
border: 1px solid #9C9CFF;
border-radius: 1px;
- -moz-margin-end: 4px;
- pointer-events: none;
+ margin-inline-end: 4px;
+ pointer-events: all;
+ cursor: pointer;
}
.bar-graph-widget-legend-item > [view="label"] {
.table-chart-row-box {
width: 8px;
height: 1.5em;
- -moz-margin-end: 10px;
+ margin-inline-end: 10px;
}
.table-chart-row-label {
width: 8em;
- -moz-padding-end: 6px;
+ padding-inline-end: 6px;
cursor: inherit;
}
overflow: auto;
}
-table-widget-body,
+.table-widget-body,
.table-widget-empty-text {
background-color: var(--theme-body-background);
}
.table-widget-column-header,
.table-widget-cell {
- -moz-border-end: 1px solid var(--table-splitter-color) !important;
+ border-inline-end: 1px solid var(--table-splitter-color) !important;
}
/* Table widget column header colors are taken from netmonitor.inc.css to match
- the look of both the tables. This needs to be updated along with netmonitor
- header colors in bug 951714 */
+ the look of both the tables. */
.table-widget-column-header {
- background: rgba(0,0,0,0);
position: sticky;
top: 0;
width: 100%;
+ margin: 0;
padding: 5px 0 0 !important;
color: inherit;
text-align: center;
font-weight: inherit !important;
- transition: background-color 0.1s ease-in-out;
+ border-image: linear-gradient(transparent 15%,
+ var(--theme-splitter-color) 15%,
+ var(--theme-splitter-color) 85%,
+ transparent 85%,
+ transparent calc(100% - 1px),
+ var(--theme-splitter-color) calc(100% - 1px)) 1 1;
+ background-repeat: no-repeat;
}
-.table-widget-column-header:hover {
- background: var(--theme-hover-background);
+.table-widget-column-header:not([sorted]):hover {
+/* background-image: linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1));*/
}
-.table-widget-column-header:hover:active {
- background: var(--theme-active-background);
+.table-widget-column-header[sorted] {
+ background-color: var(--theme-selection-background);
+ color: var(--theme-selection-color);
+ border-image: linear-gradient(var(--theme-splitter-color), var(--theme-splitter-color)) 1 1;
+/* box-shadow: -0.5px 0 0 0.5px var(--theme-splitter-color);*/
+ background-position: right 6px center;
}
-.table-widget-column-header:not(:active)[sorted] {
- background: var(--theme-selection-background);
+.table-widget-column-header[sorted]:-moz-locale-dir(rtl) {
+ background-position: 6px center;
}
-.table-widget-column-header:not(:active)[sorted=ascending] {
- background-image: radial-gradient(farthest-side at center top, hsla(0,0%,0%,.7), hsla(0,0%,0%,0.3));
- background-size: 100% 1px;
- background-repeat: no-repeat;
+.table-widget-column-header[sorted=ascending] {
+ background-image: url("chrome://devtools/skin/images/sort-arrows.svg#ascending");
}
-.table-widget-column-header:not(:active)[sorted=descending] {
- background-image: radial-gradient(farthest-side at center bottom, hsla(0,0%,0%,.7), hsla(0,0%,0%,0.3));
- background-size: 100% 1px;
- background-repeat: no-repeat;
- background-position: bottom;
+.table-widget-column-header[sorted=descending] {
+ background-image: url("chrome://devtools/skin/images/sort-arrows.svg#descending");
+}
+
+.table-widget-column[readonly] {
+ background-color: #402800;
+}
+
+.table-widget-body .devtools-side-splitter:last-of-type {
+ display: none;
}
/* Cells */
.table-widget-cell {
width: 100%;
padding: 3px 4px;
- background-clip: padding-box;
min-width: 100px;
-moz-user-focus: normal;
+ color: var(--theme-body-color);
+}
- margin-bottom: -1px !important;
- border-bottom: 1px solid transparent;
- color: var(--theme-body-color);
+.table-widget-cell[hidden] {
+ display: none;
+}
+
+.table-widget-column-header + .table-widget-cell {
+ border-top: 1px solid var(--theme-splitter-color);
}
.table-widget-cell:last-child {
border-bottom: 1px solid var(--table-splitter-color);
}
-:root:not(.filtering) .table-widget-cell:nth-child(odd):not(.theme-selected),
-.table-widget-cell:not(.theme-selected)[odd] {
- background: var(--table-zebra-background);
+.table-widget-cell.even:not(.theme-selected) {
+ background-color: var(--table-zebra-background);
}
-.table-widget-cell.flash-out {
+:root:not(.no-animate) .table-widget-cell.flash-out {
animation: flash-out 0.5s ease-in;
}
height: 100%;
list-style: none;
overflow: hidden;
- -moz-margin-end: 40px;
+ margin-inline-end: 40px;
}
.tree-widget-container:-moz-focusring,
float: left;
margin: 3px 2px -3px;
background-repeat: no-repeat;
- background-image: url("chrome://devtools/skin/controls.png");
+ background-image: url("chrome://devtools/skin/images/controls.png");
background-size: 56px 28px;
cursor: pointer;
background-position: -28px -14px;
@media (min-resolution: 1.1dppx) {
.tree-widget-item:before {
- background-image: url("chrome://devtools/skin/controls@2x.png");
+ background-image: url("chrome://devtools/skin/images/controls@2x.png");
}
}
/* For level > 6 */
.tree-widget-item[level] + ul > li > .tree-widget-item {
- -moz-padding-start: 98px;
+ padding-inline-start: 98px;
}
/* First level */
.tree-widget-item[level="1"] + ul > li > .tree-widget-item {
- -moz-padding-start: 14px;
+ padding-inline-start: 14px;
}
/* Second level */
.tree-widget-item[level="2"] + ul > li > .tree-widget-item {
- -moz-padding-start: 28px;
+ padding-inline-start: 28px;
}
/* Third level */
.tree-widget-item[level="3"] + ul > li > .tree-widget-item {
- -moz-padding-start: 42px;
+ padding-inline-start: 42px;
}
/* Fourth level */
.tree-widget-item[level="4"] + ul > li > .tree-widget-item {
- -moz-padding-start: 56px;
+ padding-inline-start: 56px;
}
/* Fifth level */
.tree-widget-item[level="5"] + ul > li > .tree-widget-item {
- -moz-padding-start: 70px;
+ padding-inline-start: 70px;
}
/* Sixth level */
.tree-widget-item[level="6"] + ul > li > .tree-widget-item {
- -moz-padding-start: 84px;
+ padding-inline-start: 84px;
}
/* Custom icons for certain tree items indicating the type of the item */
float: left;
width: 16px;
height: 17px;
- -moz-margin-end: 4px;
+ margin-inline-end: 4px;
background-repeat: no-repeat;
background-size: 20px auto;
background-position: 0 0;
}
.tree-widget-item[type="dir"]::after {
- background-image: url("chrome://devtools/skin/filetype-dir-close.svg");
+ background-image: url("chrome://devtools/skin/images/filetypes/dir-close.svg");
background-position: 2px 0;
background-size: auto 16px;
width: 20px;
}
.tree-widget-item[type="dir"][expanded]:not([empty])::after {
- background-image: url("chrome://devtools/skin/filetype-dir-open.svg");
+ background-image: url("chrome://devtools/skin/images/filetypes/dir-open.svg");
}
.tree-widget-item[type="url"]::after {
- background-image: url("chrome://devtools/skin/filetype-globe.svg");
+ background-image: url("chrome://devtools/skin/images/filetypes/globe.svg");
background-size: auto 18px;
width: 18px;
}
-
-/* === BEGIN manifest-editor.inc.css === */
-
-/* Manifest Editor overrides */
-
-.variables-view-container.manifest-editor {
- background-color: #000000;
- padding: 20px 2px;
-}
-
-.manifest-editor .variable-or-property:focus > .title {
-/* background-color: #EDEDED;
- color: #000; */
- border-radius: 4px;
-}
-
-.manifest-editor .variables-view-property > .title > .name {
-/* color: #27406A; */
-}
-
-.manifest-editor .variable-or-property > .title > label,
-.manifest-editor textbox {
- font-family: monospace;
-}
-
-.manifest-editor .variable-or-property > .title > .token-string {
-/* color: #54BC6A; */
- font-weight: bold;
-}
-
-.manifest-editor .variable-or-property > .title > .token-boolean,
-.manifest-editor .variable-or-property > .title > .token-number {
-/* color: #009BD4; */
- font-weight: bold;
-}
-
-.manifest-editor .variable-or-property > .title > .token-undefined {
-/* color: #bbb; */
-}
-
-.manifest-editor .variable-or-property > .title > .token-null {
-/* color: #999; */
-}
-
-.manifest-editor .variable-or-property > .title > .token-other {
-/* color: #333; */
-}
-
-.manifest-editor .variables-view-variable {
- border-bottom: none;
-}
-
-.manifest-editor .variables-view-delete,
-.manifest-editor .variables-view-delete:hover,
-.manifest-editor .variables-view-delete:active,
-.manifest-editor .variable-or-property:focus .variables-view-delete,
-.manifest-editor .variables-view-add-property,
-.manifest-editor .variables-view-add-property:hover,
-.manifest-editor .variables-view-add-property:active,
-.manifest-editor .variable-or-property:focus .variables-view-add-property {
- list-style-image: none;
- -moz-image-region: initial;
-}
-
-.manifest-editor .variables-view-delete::before,
-.manifest-editor .variables-view-add-property::before {
- width: 11px;
- height: 11px;
- content: "";
- display: inline-block;
- background-size: 11px auto;
-}
-
-.manifest-editor .variables-view-delete::before {
- background-image: url("app-manager/remove.svg");
- background-size: 12px auto;
-}
-
-.manifest-editor .variables-view-add-property::before {
- background-image: url("app-manager/add.svg");
- -moz-margin-end: 2px;
-}
-
-/* === END manifest-editor.inc.css === */
-
-/* === END widgets.inc.css === */