1
0
Fork 0
firefox/toolkit/themes/linux/global/in-content/common.css
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

33 lines
918 B
CSS

/* - This Source Code Form is subject to the terms of the Mozilla Public
- 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/. */
@import url("chrome://global/skin/in-content/common-shared.css");
@namespace html "http://www.w3.org/1999/xhtml";
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
@media (prefers-color-scheme: dark) {
/* Don't apply scrollbar-color since it removes the native scrollbar style on Linux */
:root {
scrollbar-color: initial;
}
}
/* Overriding appearance also avoids incorrect selection background color with
light text. */
xul|menulist::part(label-box),
xul|*.radio-label-box,
xul|*.checkbox-label-box,
xul|*.button-menu-dropmarker {
appearance: none;
}
xul|menulist {
font-size: inherit;
}
html|button {
/* XUL button min-width */
min-width: 6.3em;
}