michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: michael@0: richlistbox { michael@0: -moz-appearance: listbox; michael@0: margin: 2px 4px; michael@0: background-color: -moz-Field; michael@0: color: -moz-FieldText; michael@0: } michael@0: michael@0: richlistbox[disabled="true"] { michael@0: color: GrayText; michael@0: } michael@0: michael@0: richlistitem[selected="true"] { michael@0: background-color: -moz-cellhighlight; michael@0: color: -moz-cellhighlighttext; michael@0: } michael@0: michael@0: richlistbox:focus > richlistitem[selected="true"] { michael@0: background-color: Highlight; michael@0: color: HighlightText; michael@0: } michael@0: michael@0: richlistbox[seltype="multiple"]:focus > richlistitem[current="true"] { michael@0: outline: 1px dotted Highlight; michael@0: outline-offset: -1px; michael@0: } michael@0: michael@0: richlistbox[seltype="multiple"]:focus > richlistitem[current="true"][selected="true"] { michael@0: outline: 1px dotted #F3D982; /* TODO: find a suitable system color */ michael@0: } michael@0: