|
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/. */ |
|
4 |
|
5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
|
6 |
|
7 richlistbox { |
|
8 -moz-appearance: listbox; |
|
9 margin: 2px 4px; |
|
10 background-color: -moz-Field; |
|
11 color: -moz-FieldText; |
|
12 } |
|
13 |
|
14 richlistbox[disabled="true"] { |
|
15 color: GrayText; |
|
16 } |
|
17 |
|
18 richlistitem[selected="true"] { |
|
19 background-color: -moz-cellhighlight; |
|
20 color: -moz-cellhighlighttext; |
|
21 } |
|
22 |
|
23 richlistbox:focus > richlistitem[selected="true"] { |
|
24 background-color: Highlight; |
|
25 color: HighlightText; |
|
26 } |
|
27 |
|
28 richlistbox[seltype="multiple"]:focus > richlistitem[current="true"] { |
|
29 outline: 1px dotted Highlight; |
|
30 outline-offset: -1px; |
|
31 } |
|
32 |
|
33 richlistbox[seltype="multiple"]:focus > richlistitem[current="true"][selected="true"] { |
|
34 outline: 1px dotted #F3D982; /* TODO: find a suitable system color */ |
|
35 } |
|
36 |