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 | %if 0 |
michael@0 | 2 | /* This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | %endif |
michael@0 | 6 | |
michael@0 | 7 | @import url("chrome://global/skin/"); |
michael@0 | 8 | |
michael@0 | 9 | /* View buttons */ |
michael@0 | 10 | #viewGroup > radio { |
michael@0 | 11 | list-style-image: url("chrome://browser/skin/pageInfo.png"); |
michael@0 | 12 | -moz-box-orient: vertical; |
michael@0 | 13 | -moz-box-align: center; |
michael@0 | 14 | -moz-appearance: none; |
michael@0 | 15 | min-width: 4.5em; |
michael@0 | 16 | margin: 0; |
michael@0 | 17 | padding: 3px; |
michael@0 | 18 | color: -moz-FieldText; |
michael@0 | 19 | } |
michael@0 | 20 | |
michael@0 | 21 | #viewGroup > radio[selected="true"] { |
michael@0 | 22 | background-color: Highlight; |
michael@0 | 23 | color: HighlightText; |
michael@0 | 24 | } |
michael@0 | 25 | |
michael@0 | 26 | #topBar { |
michael@0 | 27 | -moz-appearance: listbox; |
michael@0 | 28 | margin: 8px 8px 0; |
michael@0 | 29 | } |
michael@0 | 30 | |
michael@0 | 31 | #generalTab { |
michael@0 | 32 | -moz-image-region: rect(0px, 32px, 32px, 0px) |
michael@0 | 33 | } |
michael@0 | 34 | |
michael@0 | 35 | #mediaTab { |
michael@0 | 36 | -moz-image-region: rect(0px, 64px, 32px, 32px) |
michael@0 | 37 | } |
michael@0 | 38 | |
michael@0 | 39 | #feedTab { |
michael@0 | 40 | -moz-image-region: rect(0px, 96px, 32px, 64px) |
michael@0 | 41 | } |
michael@0 | 42 | |
michael@0 | 43 | #permTab { |
michael@0 | 44 | -moz-image-region: rect(0px, 128px, 32px, 96px) |
michael@0 | 45 | } |
michael@0 | 46 | |
michael@0 | 47 | #securityTab { |
michael@0 | 48 | -moz-image-region: rect(0px, 160px, 32px, 128px) |
michael@0 | 49 | } |
michael@0 | 50 | |
michael@0 | 51 | #mainDeck { |
michael@0 | 52 | padding-left: 2px; |
michael@0 | 53 | padding-right: 2px; |
michael@0 | 54 | } |
michael@0 | 55 | |
michael@0 | 56 | deck { |
michael@0 | 57 | padding: 10px 10px 10px 10px; |
michael@0 | 58 | } |
michael@0 | 59 | |
michael@0 | 60 | /* Misc */ |
michael@0 | 61 | tree { |
michael@0 | 62 | margin: .5em; |
michael@0 | 63 | } |
michael@0 | 64 | |
michael@0 | 65 | .gridSeparator { |
michael@0 | 66 | width: .5em; |
michael@0 | 67 | } |
michael@0 | 68 | |
michael@0 | 69 | textbox { |
michael@0 | 70 | background: transparent !important; |
michael@0 | 71 | border: none; |
michael@0 | 72 | padding: 0px; |
michael@0 | 73 | margin-top: 1px; |
michael@0 | 74 | -moz-appearance: none; |
michael@0 | 75 | } |
michael@0 | 76 | |
michael@0 | 77 | textbox.header { |
michael@0 | 78 | -moz-margin-start: 0; |
michael@0 | 79 | } |
michael@0 | 80 | |
michael@0 | 81 | .iframe { |
michael@0 | 82 | margin: .5em; |
michael@0 | 83 | background: white; |
michael@0 | 84 | overflow: auto; |
michael@0 | 85 | } |
michael@0 | 86 | |
michael@0 | 87 | .fixedsize { |
michael@0 | 88 | height: 8.5em; |
michael@0 | 89 | } |
michael@0 | 90 | |
michael@0 | 91 | textbox[disabled] { |
michael@0 | 92 | font-style: italic; |
michael@0 | 93 | } |
michael@0 | 94 | |
michael@0 | 95 | /* General Tab */ |
michael@0 | 96 | #generalPanel > #titletext { |
michael@0 | 97 | -moz-margin-start: 5px; |
michael@0 | 98 | } |
michael@0 | 99 | |
michael@0 | 100 | groupbox.collapsable caption .caption-icon { |
michael@0 | 101 | width: 9px; |
michael@0 | 102 | height: 9px; |
michael@0 | 103 | background-repeat: no-repeat; |
michael@0 | 104 | background-position: center; |
michael@0 | 105 | -moz-margin-start: 1px; |
michael@0 | 106 | -moz-margin-end: 3px; |
michael@0 | 107 | background-image: url("chrome://global/skin/tree/twisty-open.png"); |
michael@0 | 108 | } |
michael@0 | 109 | |
michael@0 | 110 | groupbox.collapsable[closed="true"] { |
michael@0 | 111 | border: none; |
michael@0 | 112 | } |
michael@0 | 113 | |
michael@0 | 114 | groupbox.collapsable[closed="true"] caption .caption-icon { |
michael@0 | 115 | background-image: url("chrome://global/skin/tree/twisty-clsd.png"); |
michael@0 | 116 | } |
michael@0 | 117 | |
michael@0 | 118 | groupbox tree { |
michael@0 | 119 | margin: 0; |
michael@0 | 120 | border: none; |
michael@0 | 121 | } |
michael@0 | 122 | |
michael@0 | 123 | groupbox.treebox .groupbox-body { |
michael@0 | 124 | -moz-margin-start: 5px; |
michael@0 | 125 | -moz-margin-end: 1px; |
michael@0 | 126 | padding-top: 0; |
michael@0 | 127 | } |
michael@0 | 128 | |
michael@0 | 129 | #securityBox description { |
michael@0 | 130 | -moz-margin-start: 10px; |
michael@0 | 131 | } |
michael@0 | 132 | |
michael@0 | 133 | #general-security-identity { |
michael@0 | 134 | white-space: pre-wrap; |
michael@0 | 135 | line-height: 2em; |
michael@0 | 136 | } |
michael@0 | 137 | |
michael@0 | 138 | /* Media Tab */ |
michael@0 | 139 | #imagetree { |
michael@0 | 140 | min-height: 10em; |
michael@0 | 141 | margin-top: 2px; |
michael@0 | 142 | margin-bottom: 0; |
michael@0 | 143 | } |
michael@0 | 144 | |
michael@0 | 145 | #mediaSplitter { |
michael@0 | 146 | -moz-appearance: none; |
michael@0 | 147 | height: .8em; |
michael@0 | 148 | } |
michael@0 | 149 | |
michael@0 | 150 | #mediaGrid { |
michael@0 | 151 | min-height: 9em; |
michael@0 | 152 | } |
michael@0 | 153 | |
michael@0 | 154 | #mediaLabelColumn { |
michael@0 | 155 | min-width: 10em; |
michael@0 | 156 | } |
michael@0 | 157 | |
michael@0 | 158 | #thepreviewimage { |
michael@0 | 159 | margin: 1em; |
michael@0 | 160 | } |
michael@0 | 161 | |
michael@0 | 162 | treechildren::-moz-tree-cell-text(broken) { |
michael@0 | 163 | font-style: italic; |
michael@0 | 164 | color: graytext; |
michael@0 | 165 | } |
michael@0 | 166 | |
michael@0 | 167 | #mediaPreviewBox .inset { |
michael@0 | 168 | -moz-appearance: listbox; |
michael@0 | 169 | margin-bottom: 0; |
michael@0 | 170 | } |
michael@0 | 171 | |
michael@0 | 172 | /* Feeds Tab */ |
michael@0 | 173 | #feedPanel { |
michael@0 | 174 | margin-left: 2px; |
michael@0 | 175 | margin-right: 2px; |
michael@0 | 176 | } |
michael@0 | 177 | |
michael@0 | 178 | #feedtree { |
michael@0 | 179 | margin-bottom: 0px; |
michael@0 | 180 | } |
michael@0 | 181 | |
michael@0 | 182 | #feedListbox richlistitem { |
michael@0 | 183 | padding-top: 6px; |
michael@0 | 184 | padding-bottom: 6px; |
michael@0 | 185 | -moz-padding-start: 7px; |
michael@0 | 186 | -moz-padding-end: 7px; |
michael@0 | 187 | min-height: 25px; |
michael@0 | 188 | border-bottom: 1px dotted #C0C0C0; |
michael@0 | 189 | color: -moz-FieldText; |
michael@0 | 190 | } |
michael@0 | 191 | |
michael@0 | 192 | #feedListbox richlistitem[selected="true"] { |
michael@0 | 193 | background-color: -moz-Dialog; |
michael@0 | 194 | color: -moz-DialogText; |
michael@0 | 195 | } |
michael@0 | 196 | |
michael@0 | 197 | #feedListbox { |
michael@0 | 198 | margin-bottom: 0; |
michael@0 | 199 | border: 2px solid; |
michael@0 | 200 | -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow; |
michael@0 | 201 | -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow; |
michael@0 | 202 | -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow; |
michael@0 | 203 | -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; |
michael@0 | 204 | } |
michael@0 | 205 | |
michael@0 | 206 | .feedTitle { |
michael@0 | 207 | font-weight: bold; |
michael@0 | 208 | } |
michael@0 | 209 | |
michael@0 | 210 | /* Permissions Tab */ |
michael@0 | 211 | #permPanel { |
michael@0 | 212 | margin-left: 6px; |
michael@0 | 213 | margin-right: 6px; |
michael@0 | 214 | } |
michael@0 | 215 | |
michael@0 | 216 | #permList { |
michael@0 | 217 | -moz-appearance: listbox; |
michael@0 | 218 | margin-top: .5em; |
michael@0 | 219 | overflow: auto; |
michael@0 | 220 | border: 2px solid; |
michael@0 | 221 | -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow; |
michael@0 | 222 | -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow; |
michael@0 | 223 | -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow; |
michael@0 | 224 | -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; |
michael@0 | 225 | background-color: -moz-field; |
michael@0 | 226 | color: -moz-FieldText; |
michael@0 | 227 | } |
michael@0 | 228 | |
michael@0 | 229 | .permission { |
michael@0 | 230 | padding-top: 6px; |
michael@0 | 231 | padding-bottom: 6px; |
michael@0 | 232 | -moz-padding-start: 7px; |
michael@0 | 233 | -moz-padding-end: 7px; |
michael@0 | 234 | min-height: 25px; |
michael@0 | 235 | border-bottom: 1px dotted #C0C0C0; |
michael@0 | 236 | } |
michael@0 | 237 | |
michael@0 | 238 | .permissionLabel { |
michael@0 | 239 | font-weight: bold; |
michael@0 | 240 | } |
michael@0 | 241 | |
michael@0 | 242 | .permission:hover { |
michael@0 | 243 | background-color: -moz-dialog; |
michael@0 | 244 | color: -moz-DialogText; |
michael@0 | 245 | } |
michael@0 | 246 | |
michael@0 | 247 | /* Security Tab */ |
michael@0 | 248 | #securityPanel .caption-icon { |
michael@0 | 249 | display: none; |
michael@0 | 250 | } |
michael@0 | 251 | |
michael@0 | 252 | #securityPanel .header { |
michael@0 | 253 | font-size: 120%; |
michael@0 | 254 | } |
michael@0 | 255 | |
michael@0 | 256 | #securityPanel .fieldLabel { |
michael@0 | 257 | margin: 2px 10px 3px 10px; |
michael@0 | 258 | } |
michael@0 | 259 | |
michael@0 | 260 | #securityPanel .fieldValue { |
michael@0 | 261 | font-weight: bold; |
michael@0 | 262 | margin: 2px 10px 0px 10px; |
michael@0 | 263 | } |
michael@0 | 264 | |
michael@0 | 265 | /* Icons for context menus */ |
michael@0 | 266 | menuitem:not([type]) { |
michael@0 | 267 | -moz-binding: url("chrome://global/content/bindings/menu.xml#menuitem-iconic"); |
michael@0 | 268 | } |
michael@0 | 269 | |
michael@0 | 270 | #menu_selectall { |
michael@0 | 271 | list-style-image: url("moz-icon://stock/gtk-select-all?size=menu"); |
michael@0 | 272 | } |
michael@0 | 273 | |
michael@0 | 274 | #menu_copy { |
michael@0 | 275 | list-style-image: url("moz-icon://stock/gtk-copy?size=menu"); |
michael@0 | 276 | } |