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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
/* - 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
xul|caption {
background-color: transparent;
}
xul|button,
html|button,
xul|colorpicker[type="button"],
xul|menulist {
margin: 2px 4px;
}
xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
margin-top: 1px;
margin-bottom: 1px;
}
xul|checkbox {
padding-inline-start: 0;
}
@media not all and (-moz-windows-default-theme) {
xul|*.checkbox-check {
background-image: none !important;
}
xul|*.checkbox-check[checked] {
list-style-image: url("chrome://global/skin/in-content/check.svg#check-native");
background-color: -moz-dialog;
}
}
xul|radio {
-moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
padding-inline-start: 0;
}
@media not all and (-moz-windows-default-theme) {
xul|*.radio-check {
background-image: none;
}
xul|*.radio-check[selected] {
list-style-image: url("chrome://global/skin/in-content/radio.svg#radio-native");
background-color: -moz-dialog;
}
}
xul|*.radio-icon,
xul|*.checkbox-icon {
margin-inline-end: 0;
}
/* Never draw a border for the focusring, use outline instead */
xul|*.button-box,
xul|*.menulist-label-box,
xul|*.radio-label-box,
xul|*.checkbox-label-box {
border-style: none;
}
xul|button:-moz-focusring > xul|*.button-box,
xul|menulist:-moz-focusring > xul|*.menulist-label-box,
xul|radio[focused="true"] > xul|*.radio-label-box,
html|input[type="checkbox"]:-moz-focusring + html|label:before,
xul|checkbox:-moz-focusring > xul|*.checkbox-label-box {
outline: 1px dotted;
}
/* Use a 2px border so that selected row highlight is still visible behind
an existing high-contrast border that uses the background color */
@media not all and (-moz-windows-default-theme) {
xul|treechildren::-moz-tree-row(selected),
xul|listbox xul|listitem[selected="true"] {
border: 2px dotted Highlight;
}
}
|