-
Notifications
You must be signed in to change notification settings - Fork 54
/
menulist.css
64 lines (50 loc) · 1.47 KB
/
menulist.css
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
/* 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/. */
/* ===== menulist.css ===================================================
== Styles used by the XUL menulist element.
======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
@namespace html url("http://www.w3.org/1999/xhtml");
/* :::::::::: menulist :::::::::: */
menulist {
-moz-appearance: menulist;
margin: 2px 4px;
color: -moz-FieldText;
text-shadow: none;
}
.menulist-label-box {
-moz-box-align: center;
-moz-box-pack: center;
}
.menulist-label {
margin: 0 3px !important;
}
/* ..... focused state ..... */
menulist:focus:not([open="true"]) > .menulist-label-box {
background-color: Highlight;
color: HighlightText;
}
menulist:-moz-focusring:not([open="true"]) > .menulist-label-box {
outline: 1px dotted;
}
/* ..... disabled state ..... */
menulist[disabled="true"] {
background-color: -moz-Dialog;
color: GrayText;
}
@media (-moz-windows-default-theme) {
.menulist-label-box {
background-color: transparent !important;
color: inherit !important;
}
.menulist-icon,
.menulist-label {
margin-top: -1px !important;
margin-bottom: -1px !important;
}
.menulist-dropmarker {
margin-top: -2px;
margin-inline: 3px -3px;
}
}