--theme-toolbar-background: #000000;
--theme-hover-background: #FFCF00;
--theme-hover-color: #000000;
+ --theme-active-background: #FFCF00;
+ --theme-active-color: #000000;
--theme-selection-background: #008484;
--theme-selection-color: #000000;
--theme-selection-background2: #004242;
border-bottom: 0;
}
-.devtools-horizontal-splitter {
-/* border-bottom: 1px solid var(--theme-splitter-color); */
-}
-
-.devtools-side-splitter {
-/* -moz-border-end: 1px solid var(--theme-splitter-color);
- border-color: var(--theme-splitter-color); / Needed for responsive container at low width. */
-}
-
.devtools-textinput,
.devtools-searchinput {
background-color: #000000;
}
/* Button States */
-.devtools-toolbarbutton:hover,
-#toolbox-buttons .devtools-toolbarbutton[text-as-image]:hover,
-.devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]):hover {
+.devtools-toolbarbutton:not([disabled]):hover,
+#toolbox-buttons .devtools-toolbarbutton:not([disabled])[text-as-image]:hover,
+.devtools-toolbarbutton:not([disabled])[label]:not([text-as-image]):not([type=menu-button]):hover {
/* background: rgba(0, 0, 0, .3); / Splitters */
}
-.devtools-toolbarbutton:hover:active,
-#toolbox-buttons .devtools-toolbarbutton[text-as-image]:hover:active,
-.devtools-toolbarbutton[label]:not([text-as-image]):not([type=menu-button]):hover:active {
+.devtools-toolbarbutton:not([disabled]):hover:active,
+#toolbox-buttons .devtools-toolbarbutton:not([disabled])[text-as-image]:hover:active,
+.devtools-toolbarbutton:not([disabled])[label]:not([text-as-image]):not([type=menu-button]):hover:active {
/* background: rgba(0, 0, 0, .4); / Splitters */
}
.devtools-separator + .devtools-toolbarbutton {
}
+/* HTML buttons, similar to toolbar buttons, but work in HTML documents */
+
+.devtools-button {
+ border: 0 solid var(--theme-splitter-color);
+ background: var(--theme-toolbar-background);
+ margin: 0;
+ padding: 0;
+ min-width: 32px;
+ min-height: 18px;
+ /* The icon is absolutely positioned in the button using ::before */
+ position: relative;
+}
+
+.devtools-button[standalone] {
+ min-height: 32px;
+ border-width: 1px;
+}
+
+/* Button States */
+.devtools-button:not([disabled]):hover {
+ background: var(--theme-hover-background);
+ color: var(--theme-hover-color);
+}
+
+.devtools-button:not([disabled]):hover:active {
+ background: var(--theme-active-background);
+ color: var(--theme-active-color);
+}
+
+/* Menu type buttons and checked states */
+.devtools-button[checked] {
+ background: var(--theme-selection-background);
+ color: var(--theme-selection-color);
+}
+
+.devtools-button::before {
+ content: "";
+ display: block;
+ width: 16px;
+ height: 16px;
+ position: absolute;
+ left: 50%;
+ top: 50%;
+ margin: -8px 0 0 -8px;
+ background-repeat: no-repeat;
+}
+
+@media (min-resolution: 2dppx) {
+ .devtools-button::before {
+ background-size: 32px;
+ }
+}
+
/* Text input */
.devtools-textinput,
display: none;
}
+.devtools-horizontal-splitter {
+/* border-bottom: 1px solid var(--theme-splitter-color); */
+}
+
+.devtools-side-splitter {
+/* -moz-border-end: 1px solid var(--theme-splitter-color);
+ border-color: var(--theme-splitter-color); / Needed for responsive container at low width. */
+}
+
/* === END toolbars.inc.css === */