Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
michael@0 | 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 4 | |
michael@0 | 5 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
michael@0 | 6 | |
michael@0 | 7 | listbox { |
michael@0 | 8 | -moz-appearance: listbox; |
michael@0 | 9 | margin: 2px 4px; |
michael@0 | 10 | background-color: #FFFFFF; |
michael@0 | 11 | color: -moz-FieldText; |
michael@0 | 12 | } |
michael@0 | 13 | |
michael@0 | 14 | .listcell-label { |
michael@0 | 15 | margin: 0px !important; |
michael@0 | 16 | padding-bottom: 1px; |
michael@0 | 17 | -moz-padding-start: 4px; |
michael@0 | 18 | white-space: nowrap; |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | /* ::::: listitem ::::: */ |
michael@0 | 22 | |
michael@0 | 23 | listitem { |
michael@0 | 24 | border: 1px solid transparent; |
michael@0 | 25 | } |
michael@0 | 26 | |
michael@0 | 27 | listitem[selected="true"] { |
michael@0 | 28 | background-color: -moz-mac-secondaryhighlight; |
michael@0 | 29 | color: -moz-DialogText; |
michael@0 | 30 | } |
michael@0 | 31 | |
michael@0 | 32 | listbox:focus > listitem[selected="true"] { |
michael@0 | 33 | background-color: Highlight; |
michael@0 | 34 | color: HighlightText; |
michael@0 | 35 | } |
michael@0 | 36 | |
michael@0 | 37 | /* ::::: listheader ::::: */ |
michael@0 | 38 | |
michael@0 | 39 | listheader { |
michael@0 | 40 | -moz-appearance: treeheadercell; |
michael@0 | 41 | -moz-box-align: center; |
michael@0 | 42 | border: 2px solid; |
michael@0 | 43 | -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow; |
michael@0 | 44 | -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; |
michael@0 | 45 | -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; |
michael@0 | 46 | -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow; |
michael@0 | 47 | background-color: -moz-Dialog; |
michael@0 | 48 | color: -moz-DialogText; |
michael@0 | 49 | padding: 0 4px; |
michael@0 | 50 | } |
michael@0 | 51 | |
michael@0 | 52 | listheader[sortable="true"]:hover:active { |
michael@0 | 53 | border-top: 2px solid; |
michael@0 | 54 | border-right: 1px solid; |
michael@0 | 55 | border-bottom: 1px solid; |
michael@0 | 56 | border-left: 2px solid; |
michael@0 | 57 | -moz-border-top-colors: ThreeDShadow -moz-Dialog; |
michael@0 | 58 | -moz-border-right-colors: ThreeDShadow; |
michael@0 | 59 | -moz-border-bottom-colors: ThreeDShadow; |
michael@0 | 60 | -moz-border-left-colors: ThreeDShadow -moz-Dialog; |
michael@0 | 61 | padding-top: 1px; |
michael@0 | 62 | -moz-padding-start: 5px; |
michael@0 | 63 | -moz-padding-end: 4px; |
michael@0 | 64 | } |
michael@0 | 65 | |
michael@0 | 66 | .listheader-icon { |
michael@0 | 67 | -moz-margin-end: 2px; |
michael@0 | 68 | } |
michael@0 | 69 | |
michael@0 | 70 | .listheader-label { |
michael@0 | 71 | margin: 0px !important; |
michael@0 | 72 | } |
michael@0 | 73 | |
michael@0 | 74 | /* ::::: listcell ::::: */ |
michael@0 | 75 | |
michael@0 | 76 | .listcell-label { |
michael@0 | 77 | margin: 0px !important; |
michael@0 | 78 | padding-bottom: 1px; |
michael@0 | 79 | -moz-padding-start: 4px; |
michael@0 | 80 | white-space: nowrap; |
michael@0 | 81 | } |
michael@0 | 82 | |
michael@0 | 83 | .listcell-icon { |
michael@0 | 84 | -moz-margin-end: 2px; |
michael@0 | 85 | } |
michael@0 | 86 | |
michael@0 | 87 | .listcell-label[disabled="true"] { |
michael@0 | 88 | color: GrayText; |
michael@0 | 89 | } |
michael@0 | 90 | |
michael@0 | 91 | /* ::::: listcell checkbox ::::: */ |
michael@0 | 92 | |
michael@0 | 93 | .listcell-check { |
michael@0 | 94 | -moz-appearance: checkbox; |
michael@0 | 95 | -moz-box-align: center; |
michael@0 | 96 | margin: 0px 2px; |
michael@0 | 97 | border: 1px solid -moz-DialogText; |
michael@0 | 98 | min-width: 13px; |
michael@0 | 99 | min-height: 13px; |
michael@0 | 100 | background: -moz-Field no-repeat 50% 50%; |
michael@0 | 101 | } |
michael@0 | 102 | |
michael@0 | 103 | .listcell-check[checked="true"] { |
michael@0 | 104 | background-image: url("chrome://global/skin/checkbox/cbox-check.gif"); |
michael@0 | 105 | } |
michael@0 | 106 | |
michael@0 | 107 | .listcell-check[disabled="true"] { |
michael@0 | 108 | border-color: GrayText; |
michael@0 | 109 | } |
michael@0 | 110 | |
michael@0 | 111 | .listcell-check[disabled="true"][checked="true"] { |
michael@0 | 112 | background-image: url("chrome://global/skin/checkbox/cbox-check-dis.gif"); |
michael@0 | 113 | } |