| 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: none; |
| 9 | margin: 2px 4px; |
| 10 | background-color: #FFFFFF; |
| 11 | color: #000000; |
| 12 | } |
| 13 | |
| 14 | richlistbox[disabled="true"] { |
| 15 | color: #999999; |
| 16 | } |
| 17 | |
| 18 | richlistitem[selected="true"] { |
| 19 | background-color: #CCD0DD; |
| 20 | color: #000000; |
| 21 | } |
| 22 | |
| 23 | richlistbox:focus > richlistitem[selected="true"] { |
| 24 | background-color: #336699; |
| 25 | color: #FFFFFF; |
| 26 | } |
| 27 | |
| 28 | richlistbox[seltype="multiple"]:-moz-focusring > richlistitem[current="true"] { |
| 29 | outline: 1px dotted #666699; |
| 30 | outline-offset: -1px; |
| 31 | } |
| 32 | |
| 33 | richlistbox[seltype="multiple"]:-moz-focusring > richlistitem[current="true"][selected="true"] { |
| 34 | outline: 1px dotted #666699; |
| 35 | } |
| 36 | |