Bug 1869043 allow a device to be specified with MediaTrackGraph::NotifyWhenDeviceStar...
[gecko.git] / toolkit / themes / linux / global / richlistbox.css
blob358643c28e22358c8f5bb769188cf637cb1102fa
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");
7 richlistbox {
8 appearance: auto;
9 -moz-default-appearance: listbox;
10 margin: 2px 4px;
11 background-color: Field;
12 color: FieldText;
15 richlistbox[disabled="true"] {
16 color: GrayText;
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 {
47 margin: 0px;
48 padding-top: 0px;
49 padding-bottom: 1px;
50 padding-inline-start: 4px;
51 padding-inline-end: 0px;
52 white-space: nowrap;
55 listheader {
56 background-color: -moz-Dialog;
57 color: -moz-DialogText;