blob: a6699e6a1361f128246c4b27c59624926f30d189 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
/* - 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/. */
%include ../../../shared/in-content/common.inc.css
@media (prefers-color-scheme: dark) {
/* Don't apply scrollbar-color since it removes the native scrollbar style on Linux */
:root {
scrollbar-color: initial;
}
}
xul|tab[visuallyselected] {
/* Override styles for tab[selected] from
toolkit/themes/linux/global/tabbox.css */
margin-bottom: 0;
}
/* Overriding appearance also avoids incorrect selection background color with
light text. */
xul|button > xul|*.button-box,
xul|menulist::part(label-box),
xul|*.radio-label-box,
xul|*.checkbox-label-box {
appearance: none;
}
xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
appearance: none !important;
}
xul|*.help-button > xul|*.button-box > xul|*.button-icon {
margin-inline-end: 0;
}
xul|menulist {
font-size: inherit;
}
xul|menulist::part(dropmarker) {
display: -moz-box;
margin-block: 6px;
}
xul|menulist:-moz-focusring::part(label-box) {
outline: none;
}
html|input[type="checkbox"]:-moz-focusring + html|label:before {
outline: 1px dotted;
}
html|button {
/* XUL button min-width */
min-width: 6.3em;
}
|