1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
7 -moz-default-appearance: toolbarbutton
;
8 background-color: transparent
;
12 @media
(-moz-platform: macos
) {
18 @media
(-moz-platform: windows
) {
20 outline: var
(--default-focusring
);
21 outline-offset: calc
(-1 * var
(--default-focusring-width
) - 1px);
25 @media
(-moz-platform: linux
) {
27 color: -moz-buttonhovertext
;
29 &:where
([checked
="true"], :hover:active
, [open
="true"]) {
34 &:where
([disabled
="true"]) {
43 vertical-align: middle
;
46 /* ::::: toolbarbutton menu ::::: */
48 .toolbarbutton-menu-dropmarker
,
49 .toolbarbutton-combined-buttons-dropmarker {
51 -moz-context-properties: fill
;
55 .toolbarbutton-menu-dropmarker {
56 content: url
("chrome://global/skin/icons/arrow-down-12.svg");
59 .toolbarbutton-combined-buttons-dropmarker {
60 list-style-image: url
("chrome://global/skin/icons/arrow-down-12.svg");
63 /* ::::: toolbarbutton badged ::::: */
65 .toolbarbutton-badge {
66 box-sizing: border-box
;
69 background-color: #d90000;
75 box-shadow: 0 1px 0 hsla
(0, 100%, 100%, .2) inset
,
76 0 -1px 0 hsla
(0, 0%, 0%, .1) inset
,
77 0 1px 0 hsla
(206, 50%, 10%, .2);
78 margin: -5px 0 0 !important
;
79 margin-inline-end: -4px !important
;
87 @media
(-moz-platform: windows
) {
91 @media
(-moz-platform: macos
) {
95 toolbar
[mode
="icons"] > *|
* > & {
96 margin-inline-end: -10px !important
;