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/. */
5 @namespace url
("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
9 -moz-default-appearance: listbox
;
11 background-color: Field
;
15 richlistbox
[disabled
="true"] {
19 richlistitem
[selected
="true"] {
20 background-color: -moz-cellhighlight
;
21 color: -moz-cellhighlighttext
;
24 richlistbox:where
(:focus
) > richlistitem
[selected
="true"] {
25 background-color: SelectedItem
;
26 color: SelectedItemText
;
29 richlistbox
[seltype
="multiple"]:focus
> richlistitem
[current
="true"],
30 richlistbox
.theme-listbox:focus
> richlistitem
[current
="true"] {
31 outline: var
(--default-focusring
);
32 outline-color: SelectedItem
;
33 outline-offset: calc
(-1 * var
(--default-focusring-width
));
36 richlistbox
[seltype
="multiple"]:focus
> richlistitem
[current
="true"][selected
="true"],
37 richlistbox
.theme-listbox:focus
> richlistitem
[current
="true"][selected
="true"] {
38 outline-color: #F3D982; /* TODO: find a suitable system color */
41 richlistbox
.theme-listbox:not
(:focus
) > richlistitem
[selected
="true"] {
42 background-color: -moz-cellhighlight
;
43 color: -moz-cellhighlighttext
;
46 richlistbox
.theme-listbox
> richlistitem
> label
{
50 padding-inline-start: 4px;
51 padding-inline-end: 0px;
56 background-color: -moz-Dialog
;
57 color: -moz-DialogText
;