1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/osx/global/listbox.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,113 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 1.9 + 1.10 +listbox { 1.11 + -moz-appearance: listbox; 1.12 + margin: 2px 4px; 1.13 + background-color: #FFFFFF; 1.14 + color: -moz-FieldText; 1.15 +} 1.16 + 1.17 +.listcell-label { 1.18 + margin: 0px !important; 1.19 + padding-bottom: 1px; 1.20 + -moz-padding-start: 4px; 1.21 + white-space: nowrap; 1.22 +} 1.23 + 1.24 +/* ::::: listitem ::::: */ 1.25 + 1.26 +listitem { 1.27 + border: 1px solid transparent; 1.28 +} 1.29 + 1.30 +listitem[selected="true"] { 1.31 + background-color: -moz-mac-secondaryhighlight; 1.32 + color: -moz-DialogText; 1.33 +} 1.34 + 1.35 +listbox:focus > listitem[selected="true"] { 1.36 + background-color: Highlight; 1.37 + color: HighlightText; 1.38 +} 1.39 + 1.40 +/* ::::: listheader ::::: */ 1.41 + 1.42 +listheader { 1.43 + -moz-appearance: treeheadercell; 1.44 + -moz-box-align: center; 1.45 + border: 2px solid; 1.46 + -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow; 1.47 + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; 1.48 + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; 1.49 + -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow; 1.50 + background-color: -moz-Dialog; 1.51 + color: -moz-DialogText; 1.52 + padding: 0 4px; 1.53 +} 1.54 + 1.55 +listheader[sortable="true"]:hover:active { 1.56 + border-top: 2px solid; 1.57 + border-right: 1px solid; 1.58 + border-bottom: 1px solid; 1.59 + border-left: 2px solid; 1.60 + -moz-border-top-colors: ThreeDShadow -moz-Dialog; 1.61 + -moz-border-right-colors: ThreeDShadow; 1.62 + -moz-border-bottom-colors: ThreeDShadow; 1.63 + -moz-border-left-colors: ThreeDShadow -moz-Dialog; 1.64 + padding-top: 1px; 1.65 + -moz-padding-start: 5px; 1.66 + -moz-padding-end: 4px; 1.67 +} 1.68 + 1.69 +.listheader-icon { 1.70 + -moz-margin-end: 2px; 1.71 +} 1.72 + 1.73 +.listheader-label { 1.74 + margin: 0px !important; 1.75 +} 1.76 + 1.77 +/* ::::: listcell ::::: */ 1.78 + 1.79 +.listcell-label { 1.80 + margin: 0px !important; 1.81 + padding-bottom: 1px; 1.82 + -moz-padding-start: 4px; 1.83 + white-space: nowrap; 1.84 +} 1.85 + 1.86 +.listcell-icon { 1.87 + -moz-margin-end: 2px; 1.88 +} 1.89 + 1.90 +.listcell-label[disabled="true"] { 1.91 + color: GrayText; 1.92 +} 1.93 + 1.94 +/* ::::: listcell checkbox ::::: */ 1.95 + 1.96 +.listcell-check { 1.97 + -moz-appearance: checkbox; 1.98 + -moz-box-align: center; 1.99 + margin: 0px 2px; 1.100 + border: 1px solid -moz-DialogText; 1.101 + min-width: 13px; 1.102 + min-height: 13px; 1.103 + background: -moz-Field no-repeat 50% 50%; 1.104 +} 1.105 + 1.106 +.listcell-check[checked="true"] { 1.107 + background-image: url("chrome://global/skin/checkbox/cbox-check.gif"); 1.108 +} 1.109 + 1.110 +.listcell-check[disabled="true"] { 1.111 + border-color: GrayText; 1.112 +} 1.113 + 1.114 +.listcell-check[disabled="true"][checked="true"] { 1.115 + background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif"); 1.116 +}