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: listbox { michael@0: -moz-appearance: listbox; michael@0: margin: 2px 4px; michael@0: background-color: #FFFFFF; michael@0: color: -moz-FieldText; michael@0: } michael@0: michael@0: .listcell-label { michael@0: margin: 0px !important; michael@0: padding-bottom: 1px; michael@0: -moz-padding-start: 4px; michael@0: white-space: nowrap; michael@0: } michael@0: michael@0: /* ::::: listitem ::::: */ michael@0: michael@0: listitem { michael@0: border: 1px solid transparent; michael@0: } michael@0: michael@0: listitem[selected="true"] { michael@0: background-color: -moz-mac-secondaryhighlight; michael@0: color: -moz-DialogText; michael@0: } michael@0: michael@0: listbox:focus > listitem[selected="true"] { michael@0: background-color: Highlight; michael@0: color: HighlightText; michael@0: } michael@0: michael@0: /* ::::: listheader ::::: */ michael@0: michael@0: listheader { michael@0: -moz-appearance: treeheadercell; michael@0: -moz-box-align: center; michael@0: border: 2px solid; michael@0: -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow; michael@0: -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; michael@0: -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; michael@0: -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow; michael@0: background-color: -moz-Dialog; michael@0: color: -moz-DialogText; michael@0: padding: 0 4px; michael@0: } michael@0: michael@0: listheader[sortable="true"]:hover:active { michael@0: border-top: 2px solid; michael@0: border-right: 1px solid; michael@0: border-bottom: 1px solid; michael@0: border-left: 2px solid; michael@0: -moz-border-top-colors: ThreeDShadow -moz-Dialog; michael@0: -moz-border-right-colors: ThreeDShadow; michael@0: -moz-border-bottom-colors: ThreeDShadow; michael@0: -moz-border-left-colors: ThreeDShadow -moz-Dialog; michael@0: padding-top: 1px; michael@0: -moz-padding-start: 5px; michael@0: -moz-padding-end: 4px; michael@0: } michael@0: michael@0: .listheader-icon { michael@0: -moz-margin-end: 2px; michael@0: } michael@0: michael@0: .listheader-label { michael@0: margin: 0px !important; michael@0: } michael@0: michael@0: /* ::::: listcell ::::: */ michael@0: michael@0: .listcell-label { michael@0: margin: 0px !important; michael@0: padding-bottom: 1px; michael@0: -moz-padding-start: 4px; michael@0: white-space: nowrap; michael@0: } michael@0: michael@0: .listcell-icon { michael@0: -moz-margin-end: 2px; michael@0: } michael@0: michael@0: .listcell-label[disabled="true"] { michael@0: color: GrayText; michael@0: } michael@0: michael@0: /* ::::: listcell checkbox ::::: */ michael@0: michael@0: .listcell-check { michael@0: -moz-appearance: checkbox; michael@0: -moz-box-align: center; michael@0: margin: 0px 2px; michael@0: border: 1px solid -moz-DialogText; michael@0: min-width: 13px; michael@0: min-height: 13px; michael@0: background: -moz-Field no-repeat 50% 50%; michael@0: } michael@0: michael@0: .listcell-check[checked="true"] { michael@0: background-image: url("chrome://global/skin/checkbox/cbox-check.gif"); michael@0: } michael@0: michael@0: .listcell-check[disabled="true"] { michael@0: border-color: GrayText; michael@0: } michael@0: michael@0: .listcell-check[disabled="true"][checked="true"] { michael@0: background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif"); michael@0: }