Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 -moz-appearance: listbox;
9 margin: 2px 4px;
10 background-color: -moz-Field;
11 color: -moz-FieldText;
12 }
14 richlistbox[disabled="true"] {
15 color: GrayText;
16 }
18 richlistitem[selected="true"] {
19 background-color: -moz-cellhighlight;
20 color: -moz-cellhighlighttext;
21 }
23 richlistbox:focus > richlistitem[selected="true"] {
24 background-color: Highlight;
25 color: HighlightText;
26 }
28 richlistbox[seltype="multiple"]:focus > richlistitem[current="true"] {
29 outline: 1px dotted Highlight;
30 outline-offset: -1px;
31 }
33 richlistbox[seltype="multiple"]:focus > richlistitem[current="true"][selected="true"] {
34 outline: 1px dotted #F3D982; /* TODO: find a suitable system color */
35 }