Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
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 file, |
michael@0 | 4 | - You can obtain one at http://mozilla.org/MPL/2.0/. */ |
michael@0 | 5 | %endif |
michael@0 | 6 | @namespace html "http://www.w3.org/1999/xhtml"; |
michael@0 | 7 | |
michael@0 | 8 | @font-face { |
michael@0 | 9 | font-family: "Clear Sans"; |
michael@0 | 10 | src: url("chrome://browser/content/fonts/ClearSans-Regular.woff") format('woff'); |
michael@0 | 11 | } |
michael@0 | 12 | |
michael@0 | 13 | page { |
michael@0 | 14 | -moz-appearance: none; |
michael@0 | 15 | background-image: linear-gradient(#FFFFFF, #EDEDED 100px); |
michael@0 | 16 | } |
michael@0 | 17 | |
michael@0 | 18 | caption { |
michael@0 | 19 | -moz-appearance: none; |
michael@0 | 20 | margin: 0; |
michael@0 | 21 | } |
michael@0 | 22 | |
michael@0 | 23 | .caption-text { |
michael@0 | 24 | font-size: 1.3rem; |
michael@0 | 25 | font-weight: bold; |
michael@0 | 26 | line-height: 22px; |
michael@0 | 27 | margin: 0 !important; |
michael@0 | 28 | } |
michael@0 | 29 | |
michael@0 | 30 | .main-content { |
michael@0 | 31 | padding: 40px 48px 48px; |
michael@0 | 32 | overflow: auto; |
michael@0 | 33 | } |
michael@0 | 34 | |
michael@0 | 35 | prefpane { |
michael@0 | 36 | max-width: 800px; |
michael@0 | 37 | padding: 0; |
michael@0 | 38 | font-family: "Clear Sans", sans-serif; |
michael@0 | 39 | font-size: 1.25rem; |
michael@0 | 40 | line-height: 22px; |
michael@0 | 41 | color: #424E5A; |
michael@0 | 42 | } |
michael@0 | 43 | |
michael@0 | 44 | prefpane > .content-box { |
michael@0 | 45 | overflow: visible; |
michael@0 | 46 | } |
michael@0 | 47 | |
michael@0 | 48 | /* groupboxes */ |
michael@0 | 49 | |
michael@0 | 50 | groupbox { |
michael@0 | 51 | -moz-appearance: none; |
michael@0 | 52 | border: none; |
michael@0 | 53 | margin-top: 15px; |
michael@0 | 54 | margin-bottom: 15px; |
michael@0 | 55 | -moz-margin-start: 60px; |
michael@0 | 56 | -moz-padding-start: 0; |
michael@0 | 57 | font-size: 1.25rem; |
michael@0 | 58 | } |
michael@0 | 59 | |
michael@0 | 60 | groupbox label { |
michael@0 | 61 | -moz-margin-start: 0; |
michael@0 | 62 | } |
michael@0 | 63 | |
michael@0 | 64 | /* tabpanels and tabs */ |
michael@0 | 65 | |
michael@0 | 66 | tabpanels { |
michael@0 | 67 | -moz-appearance: none; |
michael@0 | 68 | font-size: 1.25rem; |
michael@0 | 69 | line-height: 22px; |
michael@0 | 70 | color: #424E5A; |
michael@0 | 71 | border: none; |
michael@0 | 72 | padding: 0; |
michael@0 | 73 | background-color: transparent; |
michael@0 | 74 | } |
michael@0 | 75 | |
michael@0 | 76 | tabs { |
michael@0 | 77 | -moz-margin-start: 60px; |
michael@0 | 78 | margin-bottom: 15px; |
michael@0 | 79 | border-top: 2px solid; |
michael@0 | 80 | border-bottom: 2px solid; |
michael@0 | 81 | -moz-border-top-colors: #BBBBBB #F9F9F9; |
michael@0 | 82 | -moz-border-bottom-colors: #F9F9F9 #BBBBBB; |
michael@0 | 83 | } |
michael@0 | 84 | |
michael@0 | 85 | .tabs-left, |
michael@0 | 86 | .tabs-right { |
michael@0 | 87 | border-bottom: none; |
michael@0 | 88 | } |
michael@0 | 89 | |
michael@0 | 90 | tab { |
michael@0 | 91 | -moz-appearance: none; |
michael@0 | 92 | margin-top: 0; |
michael@0 | 93 | padding: 0; |
michael@0 | 94 | -moz-margin-end: 30px; |
michael@0 | 95 | min-height: 60px; |
michael@0 | 96 | background-color: transparent; |
michael@0 | 97 | border-width: 0; |
michael@0 | 98 | border-bottom: 3px solid transparent; |
michael@0 | 99 | } |
michael@0 | 100 | |
michael@0 | 101 | tab[selected] { |
michael@0 | 102 | border-bottom-color: #FF9500; |
michael@0 | 103 | } |
michael@0 | 104 | |
michael@0 | 105 | .tab-text { |
michael@0 | 106 | font-size: 1.3rem; |
michael@0 | 107 | line-height: 22px; |
michael@0 | 108 | color: #737980; |
michael@0 | 109 | border: 1px solid transparent; |
michael@0 | 110 | border-radius: 5px; |
michael@0 | 111 | } |
michael@0 | 112 | |
michael@0 | 113 | tab:not([selected]):hover > .tab-middle > .tab-text { |
michael@0 | 114 | background-color: rgba(255,255,255,0.5); |
michael@0 | 115 | border-color: #FFFFFF; |
michael@0 | 116 | } |
michael@0 | 117 | |
michael@0 | 118 | tab:not([selected]):hover:active > .tab-middle > .tab-text { |
michael@0 | 119 | background-color: rgba(0,0,0,0.03); |
michael@0 | 120 | } |
michael@0 | 121 | |
michael@0 | 122 | tab[selected] > .tab-middle > .tab-text { |
michael@0 | 123 | font-weight: bold; |
michael@0 | 124 | color: #424E5A; |
michael@0 | 125 | } |
michael@0 | 126 | |
michael@0 | 127 | /* buttons and menulists */ |
michael@0 | 128 | |
michael@0 | 129 | button, |
michael@0 | 130 | menulist { |
michael@0 | 131 | -moz-appearance: none; |
michael@0 | 132 | height: 30px; |
michael@0 | 133 | color: #737980; |
michael@0 | 134 | line-height: 20px; |
michael@0 | 135 | text-shadow: 0 1px 1px #FEFFFE; |
michael@0 | 136 | border: 1px solid rgba(23,50,77,0.4); |
michael@0 | 137 | -moz-border-top-colors: none !important; |
michael@0 | 138 | -moz-border-right-colors: none !important; |
michael@0 | 139 | -moz-border-bottom-colors: none !important; |
michael@0 | 140 | -moz-border-left-colors: none !important; |
michael@0 | 141 | border-radius: 5px; |
michael@0 | 142 | box-shadow: 0 1px 1px 0 #FFFFFF, inset 0 2px 2px 0 #FFFFFF; |
michael@0 | 143 | background-color: #F1F1F1; |
michael@0 | 144 | background-image: linear-gradient(#FFFFFF, rgba(255,255,255,0.1)); |
michael@0 | 145 | } |
michael@0 | 146 | |
michael@0 | 147 | button:not([disabled="true"]):hover, |
michael@0 | 148 | menulist:not([disabled="true"]):hover { |
michael@0 | 149 | background-image: linear-gradient(#FFFFFF, rgba(255,255,255,0.6)); |
michael@0 | 150 | } |
michael@0 | 151 | |
michael@0 | 152 | button:not([disabled="true"]):hover:active, |
michael@0 | 153 | menulist[open="true"]:not([disabled="true"]) { |
michael@0 | 154 | background-image: linear-gradient(rgba(255,255,255,0.1), |
michael@0 | 155 | rgba(255,255,255,0.6)); |
michael@0 | 156 | } |
michael@0 | 157 | |
michael@0 | 158 | button[disabled="true"], |
michael@0 | 159 | menulist[disabled="true"] { |
michael@0 | 160 | background-image: linear-gradient(rgba(255,255,255,0.5), |
michael@0 | 161 | rgba(255,255,255,0.1)); |
michael@0 | 162 | border-color: rgba(23,50,77,0.25); |
michael@0 | 163 | color: rgba(115,121,128,0.5); |
michael@0 | 164 | text-shadow: 0 1px 1px #FFFFFF; |
michael@0 | 165 | } |
michael@0 | 166 | |
michael@0 | 167 | button > .button-box, |
michael@0 | 168 | menulist > .menulist-label-box { |
michael@0 | 169 | padding-right: 10px !important; |
michael@0 | 170 | padding-left: 10px !important; |
michael@0 | 171 | } |
michael@0 | 172 | |
michael@0 | 173 | button[type="menu"] > .button-box > .button-menu-dropmarker { |
michael@0 | 174 | -moz-appearance: none; |
michael@0 | 175 | margin: 1px 0; |
michael@0 | 176 | -moz-margin-start: 10px; |
michael@0 | 177 | padding: 0; |
michael@0 | 178 | width: 10px; |
michael@0 | 179 | height: 16px; |
michael@0 | 180 | border: none; |
michael@0 | 181 | background-color: transparent; |
michael@0 | 182 | list-style-image: url("chrome://browser/skin/preferences/in-content/dropdown.png"); |
michael@0 | 183 | } |
michael@0 | 184 | |
michael@0 | 185 | .spinbuttons-button { |
michael@0 | 186 | -moz-margin-start: 10px !important; |
michael@0 | 187 | -moz-margin-end: 2px !important; |
michael@0 | 188 | } |
michael@0 | 189 | |
michael@0 | 190 | .spinbuttons-up { |
michael@0 | 191 | margin-top: 2px !important; |
michael@0 | 192 | border-radius: 4px 4px 0 0; |
michael@0 | 193 | } |
michael@0 | 194 | |
michael@0 | 195 | .spinbuttons-down { |
michael@0 | 196 | margin-bottom: 2px !important; |
michael@0 | 197 | border-radius: 0 0 4px 4px; |
michael@0 | 198 | } |
michael@0 | 199 | |
michael@0 | 200 | .spinbuttons-button > .button-box { |
michael@0 | 201 | padding: 1px 5px 2px !important; |
michael@0 | 202 | } |
michael@0 | 203 | |
michael@0 | 204 | .spinbuttons-up > .button-box > .button-icon { |
michael@0 | 205 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); |
michael@0 | 206 | } |
michael@0 | 207 | |
michael@0 | 208 | .spinbuttons-up[disabled="true"] > .button-box > .button-icon { |
michael@0 | 209 | list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif"); |
michael@0 | 210 | } |
michael@0 | 211 | |
michael@0 | 212 | .spinbuttons-down > .button-box > .button-icon { |
michael@0 | 213 | list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); |
michael@0 | 214 | } |
michael@0 | 215 | |
michael@0 | 216 | .spinbuttons-down[disabled="true"] > .button-box > .button-icon { |
michael@0 | 217 | list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); |
michael@0 | 218 | } |
michael@0 | 219 | |
michael@0 | 220 | menulist:not([editable="true"]) > .menulist-dropmarker { |
michael@0 | 221 | -moz-appearance: none; |
michael@0 | 222 | -moz-margin-end: 10px; |
michael@0 | 223 | padding: 0; |
michael@0 | 224 | border: none; |
michael@0 | 225 | background-color: transparent; |
michael@0 | 226 | list-style-image: url("chrome://browser/skin/preferences/in-content/dropdown.png") |
michael@0 | 227 | } |
michael@0 | 228 | |
michael@0 | 229 | menulist[disabled="true"]:not([editable="true"]) > .menulist-dropmarker { |
michael@0 | 230 | list-style-image: url("chrome://browser/skin/preferences/in-content/dropdown-disabled.png") |
michael@0 | 231 | } |
michael@0 | 232 | |
michael@0 | 233 | @media (min-resolution: 2dppx) { |
michael@0 | 234 | menulist:not([editable="true"]) > .menulist-dropmarker, |
michael@0 | 235 | button[type="menu"] > .button-box > .button-menu-dropmarker { |
michael@0 | 236 | list-style-image: url("chrome://browser/skin/preferences/in-content/dropdown@2x.png"); |
michael@0 | 237 | } |
michael@0 | 238 | |
michael@0 | 239 | menulist[disabled="true"]:not([editable="true"]) > .menulist-dropmarker { |
michael@0 | 240 | list-style-image: url("chrome://browser/skin/preferences/in-content/dropdown-disabled@2x.png") |
michael@0 | 241 | } |
michael@0 | 242 | |
michael@0 | 243 | menulist:not([editable="true"]) > .menulist-dropmarker > .dropmarker-icon, |
michael@0 | 244 | button[type="menu"] > .button-box > .button-menu-dropmarker > .dropmarker-icon { |
michael@0 | 245 | width: 10px; |
michael@0 | 246 | height: 16px; |
michael@0 | 247 | } |
michael@0 | 248 | } |
michael@0 | 249 | |
michael@0 | 250 | menulist > menupopup, |
michael@0 | 251 | button[type="menu"] > menupopup { |
michael@0 | 252 | -moz-appearance: none; |
michael@0 | 253 | border: 1px solid rgba(23,50,77,0.4); |
michael@0 | 254 | border-radius: 5px; |
michael@0 | 255 | background-color: #FFFFFF; |
michael@0 | 256 | } |
michael@0 | 257 | |
michael@0 | 258 | menulist > menupopup menu, |
michael@0 | 259 | menulist > menupopup menuitem, |
michael@0 | 260 | button[type="menu"] > menupopup menu, |
michael@0 | 261 | button[type="menu"] > menupopup menuitem { |
michael@0 | 262 | -moz-appearance: none; |
michael@0 | 263 | font-size: 1.25rem; |
michael@0 | 264 | line-height: 22px; |
michael@0 | 265 | height: 40px; |
michael@0 | 266 | color: #737980; |
michael@0 | 267 | } |
michael@0 | 268 | |
michael@0 | 269 | menulist > menupopup > menu[_moz-menuactive="true"], |
michael@0 | 270 | menulist > menupopup > menuitem[_moz-menuactive="true"], |
michael@0 | 271 | button[type="menu"] > menupopup > menu[_moz-menuactive="true"], |
michael@0 | 272 | button[type="menu"] > menupopup > menuitem[_moz-menuactive="true"] { |
michael@0 | 273 | color: #FFFFFF; |
michael@0 | 274 | background-image: linear-gradient(#4CB1FF, #1792E5); |
michael@0 | 275 | } |
michael@0 | 276 | |
michael@0 | 277 | menulist > menupopup menuseparator, |
michael@0 | 278 | button[type="menu"] > menupopup menuseparator { |
michael@0 | 279 | -moz-appearance: none; |
michael@0 | 280 | margin-top: 2px; |
michael@0 | 281 | margin-bottom: 2px; |
michael@0 | 282 | padding: 0; |
michael@0 | 283 | border-top: 1px solid rgba(23,50,77,0.4); |
michael@0 | 284 | border-bottom: none; |
michael@0 | 285 | } |
michael@0 | 286 | |
michael@0 | 287 | /* textboxes */ |
michael@0 | 288 | |
michael@0 | 289 | textbox { |
michael@0 | 290 | -moz-appearance: none; |
michael@0 | 291 | height: 30px; |
michael@0 | 292 | color: #737980; |
michael@0 | 293 | line-height: 20px; |
michael@0 | 294 | text-shadow: 0 1px 1px #FEFFFE; |
michael@0 | 295 | padding-right: 10px; |
michael@0 | 296 | padding-left: 10px; |
michael@0 | 297 | border: 1px solid rgba(23,50,77,0.4); |
michael@0 | 298 | -moz-border-top-colors: none !important; |
michael@0 | 299 | -moz-border-right-colors: none !important; |
michael@0 | 300 | -moz-border-bottom-colors: none !important; |
michael@0 | 301 | -moz-border-left-colors: none !important; |
michael@0 | 302 | border-radius: 5px; |
michael@0 | 303 | box-shadow: 0 1px 1px 0 #FFFFFF, inset 0 2px 2px 0 rgba(0,0,0,0.03); |
michael@0 | 304 | background-color: #F1F1F1; |
michael@0 | 305 | background-image: linear-gradient(#FFFFFF, rgba(255,255,255,0.8)); |
michael@0 | 306 | } |
michael@0 | 307 | |
michael@0 | 308 | textbox[focused] { |
michael@0 | 309 | color: #424E5A; |
michael@0 | 310 | border-color: #0096DC; |
michael@0 | 311 | box-shadow: 0 0 2px 2px rgba(0,150,220,0.35), inset 0 0 2px 0 #0096DC; |
michael@0 | 312 | } |
michael@0 | 313 | |
michael@0 | 314 | textbox[disabled="true"] { |
michael@0 | 315 | color: rgba(115,121,128,0.5); |
michael@0 | 316 | border-color: rgba(23,50,77,0.25); |
michael@0 | 317 | background-image: linear-gradient(rgba(255,255,255,0.5), rgba(255,255,255,0.4)); |
michael@0 | 318 | } |
michael@0 | 319 | |
michael@0 | 320 | /* Links */ |
michael@0 | 321 | |
michael@0 | 322 | .text-link, |
michael@0 | 323 | .inline-link, |
michael@0 | 324 | html|a.inline-link { |
michael@0 | 325 | font-size: 1.25rem; |
michael@0 | 326 | line-height: 22px; |
michael@0 | 327 | color: #0096DC; |
michael@0 | 328 | } |
michael@0 | 329 | |
michael@0 | 330 | .text-link:hover, |
michael@0 | 331 | .inline-link:hover { |
michael@0 | 332 | color: #4CB1FF; |
michael@0 | 333 | text-decoration: none; |
michael@0 | 334 | } |
michael@0 | 335 | |
michael@0 | 336 | .text-link:hover:active, |
michael@0 | 337 | .inline-link:hover:active { |
michael@0 | 338 | color: #FF9500; |
michael@0 | 339 | text-decoration: none; |
michael@0 | 340 | } |
michael@0 | 341 | |
michael@0 | 342 | /* Checkboxes and radio buttons */ |
michael@0 | 343 | |
michael@0 | 344 | checkbox { |
michael@0 | 345 | -moz-margin-start: 0; |
michael@0 | 346 | position: relative; |
michael@0 | 347 | } |
michael@0 | 348 | |
michael@0 | 349 | .checkbox-check { |
michael@0 | 350 | -moz-appearance: none; |
michael@0 | 351 | width: 23px; |
michael@0 | 352 | height: 23px; |
michael@0 | 353 | border-radius: 2px; |
michael@0 | 354 | border: 1px solid rgba(23,50,77,0.40); |
michael@0 | 355 | -moz-margin-end: 10px; |
michael@0 | 356 | background-color: #f1f1f1; |
michael@0 | 357 | background-image: linear-gradient(#ffffff 0%, rgba(255,255,255,0.80) 100%); |
michael@0 | 358 | box-shadow: 0 1px 1px 0 #ffffff, inset 0 2px 0 0 rgba(0,0,0,0.03); |
michael@0 | 359 | } |
michael@0 | 360 | |
michael@0 | 361 | .checkbox-check[checked] { |
michael@0 | 362 | border-color: #0096dc; |
michael@0 | 363 | box-shadow: 0 0 2px 2px rgba(0,150,220,0.35), inset 0 0 2px 0 #0096dc; |
michael@0 | 364 | } |
michael@0 | 365 | |
michael@0 | 366 | .checkbox-label-box { |
michael@0 | 367 | -moz-margin-start: -1px; /* negative margin for the transparent border */ |
michael@0 | 368 | -moz-padding-start: 0; |
michael@0 | 369 | } |
michael@0 | 370 | |
michael@0 | 371 | checkbox:hover::before, |
michael@0 | 372 | checkbox[checked]::before { |
michael@0 | 373 | position: absolute; |
michael@0 | 374 | content: ""; |
michael@0 | 375 | width: 15px; |
michael@0 | 376 | height: 10px; |
michael@0 | 377 | background-image: url("chrome://browser/skin/preferences/in-content/check.png"); |
michael@0 | 378 | } |
michael@0 | 379 | |
michael@0 | 380 | checkbox[checked]::before { |
michael@0 | 381 | background-position: -15px 0; |
michael@0 | 382 | } |
michael@0 | 383 | |
michael@0 | 384 | @media (min-resolution: 2dppx) { |
michael@0 | 385 | checkbox:hover::before { |
michael@0 | 386 | background-size: cover; |
michael@0 | 387 | background-image: -moz-image-rect(url("chrome://browser/skin/preferences/in-content/check@2x.png"), 0, 30, 30, 0); |
michael@0 | 388 | } |
michael@0 | 389 | |
michael@0 | 390 | checkbox[checked]::before { |
michael@0 | 391 | background-size: cover; |
michael@0 | 392 | background-image: -moz-image-rect(url("chrome://browser/skin/preferences/in-content/check@2x.png"), 0, 60, 30, 30); |
michael@0 | 393 | } |
michael@0 | 394 | } |
michael@0 | 395 | |
michael@0 | 396 | .radio-check { |
michael@0 | 397 | -moz-appearance: none; |
michael@0 | 398 | width: 23px; |
michael@0 | 399 | height: 23px; |
michael@0 | 400 | border: 1px solid rgba(23,50,77,0.40); |
michael@0 | 401 | border-radius: 50%; |
michael@0 | 402 | -moz-margin-end: 10px; |
michael@0 | 403 | background-color: #f1f1f1; |
michael@0 | 404 | background-image: linear-gradient(#ffffff 0%, rgba(255,255,255,0.80) 100%); |
michael@0 | 405 | box-shadow: 0 1px 1px 0 #ffffff, inset 0 2px 0 0 rgba(0,0,0,0.03); |
michael@0 | 406 | } |
michael@0 | 407 | |
michael@0 | 408 | .radio-check[selected] { |
michael@0 | 409 | border-color: #0096dc; |
michael@0 | 410 | box-shadow: 0 0 2px 2px rgba(0,150,220,0.35), inset 0 0 2px 0 #0096dc; |
michael@0 | 411 | } |
michael@0 | 412 | |
michael@0 | 413 | .radio-label-box { |
michael@0 | 414 | -moz-margin-start: -1px; /* negative margin for the transparent border */ |
michael@0 | 415 | -moz-margin-end: 10px; |
michael@0 | 416 | -moz-padding-start: 0; |
michael@0 | 417 | } |
michael@0 | 418 | |
michael@0 | 419 | radio { |
michael@0 | 420 | position: relative; |
michael@0 | 421 | } |
michael@0 | 422 | |
michael@0 | 423 | radio:hover::before, |
michael@0 | 424 | radio[selected]::before { |
michael@0 | 425 | position: absolute; |
michael@0 | 426 | content: ""; |
michael@0 | 427 | width: 11px; |
michael@0 | 428 | height: 11px; |
michael@0 | 429 | border-radius: 50%; |
michael@0 | 430 | background-image: linear-gradient(rgba(76,177,255,0.25) 0%, rgba(23,146,229,0.25) 100%); |
michael@0 | 431 | } |
michael@0 | 432 | |
michael@0 | 433 | radio[selected]::before { |
michael@0 | 434 | background-image: linear-gradient(#4cb1ff 0%, #1792e5 100%); |
michael@0 | 435 | } |
michael@0 | 436 | |
michael@0 | 437 | /* Category List */ |
michael@0 | 438 | |
michael@0 | 439 | #categories { |
michael@0 | 440 | -moz-appearance: none; |
michael@0 | 441 | background-color: #424e5a; |
michael@0 | 442 | -moz-border-end: 1px solid rgba(0,0,0,0.20); |
michael@0 | 443 | padding-top: 39px; |
michael@0 | 444 | margin: 0; |
michael@0 | 445 | } |
michael@0 | 446 | |
michael@0 | 447 | .category { |
michael@0 | 448 | -moz-appearance: none; |
michael@0 | 449 | color: rgba(241,241,241,0.70); |
michael@0 | 450 | border: 1px solid transparent; |
michael@0 | 451 | -moz-border-end-width: 0; |
michael@0 | 452 | -moz-padding-start: 14px; |
michael@0 | 453 | -moz-padding-end: 21px; |
michael@0 | 454 | margin-bottom: -1px; |
michael@0 | 455 | min-height: 40px; |
michael@0 | 456 | } |
michael@0 | 457 | |
michael@0 | 458 | .category:hover { |
michael@0 | 459 | background-color: rgba(255,255,255,0.15); |
michael@0 | 460 | border-color: rgba(255,255,255,0.20); |
michael@0 | 461 | } |
michael@0 | 462 | |
michael@0 | 463 | .category[selected] { |
michael@0 | 464 | background-color: rgba(0,0,0,0.20); |
michael@0 | 465 | border-color: rgba(255,255,255,0.20); |
michael@0 | 466 | -moz-border-start-width: 3px; |
michael@0 | 467 | -moz-border-start-color: #ff9500; |
michael@0 | 468 | -moz-padding-start: 12px; |
michael@0 | 469 | color: #f1f1f1; |
michael@0 | 470 | } |
michael@0 | 471 | |
michael@0 | 472 | .category-name { |
michael@0 | 473 | line-height: 22px; |
michael@0 | 474 | font-family: "Clear Sans", sans-serif; |
michael@0 | 475 | font-size: 1.25rem; |
michael@0 | 476 | padding-bottom: 2px; |
michael@0 | 477 | -moz-padding-start: 9px; |
michael@0 | 478 | margin: 0; |
michael@0 | 479 | } |
michael@0 | 480 | |
michael@0 | 481 | .category-icon { |
michael@0 | 482 | width: 24px; |
michael@0 | 483 | height: 24px; |
michael@0 | 484 | list-style-image: url("chrome://browser/skin/preferences/in-content/icons.png"); |
michael@0 | 485 | } |
michael@0 | 486 | |
michael@0 | 487 | #category-general > .category-icon { |
michael@0 | 488 | -moz-image-region: rect(0, 24px, 24px, 0); |
michael@0 | 489 | } |
michael@0 | 490 | |
michael@0 | 491 | #category-general[selected] > .category-icon { |
michael@0 | 492 | -moz-image-region: rect(24px, 24px, 48px, 0); |
michael@0 | 493 | } |
michael@0 | 494 | |
michael@0 | 495 | #category-content > .category-icon { |
michael@0 | 496 | -moz-image-region: rect(0, 48px, 24px, 24px); |
michael@0 | 497 | } |
michael@0 | 498 | |
michael@0 | 499 | #category-content[selected] > .category-icon { |
michael@0 | 500 | -moz-image-region: rect(24px, 48px, 48px, 24px); |
michael@0 | 501 | } |
michael@0 | 502 | |
michael@0 | 503 | #category-application > .category-icon { |
michael@0 | 504 | -moz-image-region: rect(0, 72px, 24px, 48px); |
michael@0 | 505 | } |
michael@0 | 506 | |
michael@0 | 507 | #category-application[selected] > .category-icon { |
michael@0 | 508 | -moz-image-region: rect(24px, 72px, 48px, 48px); |
michael@0 | 509 | } |
michael@0 | 510 | |
michael@0 | 511 | #category-privacy > .category-icon { |
michael@0 | 512 | -moz-image-region: rect(0, 96px, 24px, 72px); |
michael@0 | 513 | } |
michael@0 | 514 | |
michael@0 | 515 | #category-privacy[selected] > .category-icon { |
michael@0 | 516 | -moz-image-region: rect(24px, 96px, 48px, 72px); |
michael@0 | 517 | } |
michael@0 | 518 | |
michael@0 | 519 | #category-security > .category-icon { |
michael@0 | 520 | -moz-image-region: rect(0, 120px, 24px, 96px); |
michael@0 | 521 | } |
michael@0 | 522 | |
michael@0 | 523 | #category-security[selected] > .category-icon { |
michael@0 | 524 | -moz-image-region: rect(24px, 120px, 48px, 96px); |
michael@0 | 525 | } |
michael@0 | 526 | |
michael@0 | 527 | #category-sync > .category-icon { |
michael@0 | 528 | -moz-image-region: rect(0, 144px, 24px, 120px); |
michael@0 | 529 | } |
michael@0 | 530 | |
michael@0 | 531 | #category-sync[selected] > .category-icon { |
michael@0 | 532 | -moz-image-region: rect(24px, 144px, 48px, 120px); |
michael@0 | 533 | } |
michael@0 | 534 | |
michael@0 | 535 | #category-advanced > .category-icon { |
michael@0 | 536 | -moz-image-region: rect(0, 168px, 24px, 144px); |
michael@0 | 537 | } |
michael@0 | 538 | |
michael@0 | 539 | #category-advanced[selected] > .category-icon { |
michael@0 | 540 | -moz-image-region: rect(24px, 168px, 48px, 144px); |
michael@0 | 541 | } |
michael@0 | 542 | |
michael@0 | 543 | @media (min-resolution: 2dppx) { |
michael@0 | 544 | .category-icon { |
michael@0 | 545 | list-style-image: url("chrome://browser/skin/preferences/in-content/icons@2x.png"); |
michael@0 | 546 | } |
michael@0 | 547 | |
michael@0 | 548 | #category-general > .category-icon { |
michael@0 | 549 | -moz-image-region: rect(0, 48px, 48px, 0); |
michael@0 | 550 | } |
michael@0 | 551 | |
michael@0 | 552 | #category-general[selected] > .category-icon { |
michael@0 | 553 | -moz-image-region: rect(48px, 48px, 96px, 0); |
michael@0 | 554 | } |
michael@0 | 555 | |
michael@0 | 556 | #category-content > .category-icon { |
michael@0 | 557 | -moz-image-region: rect(0, 96px, 48px, 48px); |
michael@0 | 558 | } |
michael@0 | 559 | |
michael@0 | 560 | #category-content[selected] > .category-icon { |
michael@0 | 561 | -moz-image-region: rect(48px, 96px, 96px, 48px); |
michael@0 | 562 | } |
michael@0 | 563 | |
michael@0 | 564 | #category-application > .category-icon { |
michael@0 | 565 | -moz-image-region: rect(0, 144px, 48px, 96px); |
michael@0 | 566 | } |
michael@0 | 567 | |
michael@0 | 568 | #category-application[selected] > .category-icon { |
michael@0 | 569 | -moz-image-region: rect(48px, 144px, 96px, 96px); |
michael@0 | 570 | } |
michael@0 | 571 | |
michael@0 | 572 | #category-privacy > .category-icon { |
michael@0 | 573 | -moz-image-region: rect(0, 192px, 48px, 144px); |
michael@0 | 574 | } |
michael@0 | 575 | |
michael@0 | 576 | #category-privacy[selected] > .category-icon { |
michael@0 | 577 | -moz-image-region: rect(48px, 192px, 96px, 144px); |
michael@0 | 578 | } |
michael@0 | 579 | |
michael@0 | 580 | #category-security > .category-icon { |
michael@0 | 581 | -moz-image-region: rect(0, 240px, 48px, 192px); |
michael@0 | 582 | } |
michael@0 | 583 | |
michael@0 | 584 | #category-security[selected] > .category-icon { |
michael@0 | 585 | -moz-image-region: rect(48px, 240px, 96px, 192px); |
michael@0 | 586 | } |
michael@0 | 587 | |
michael@0 | 588 | #category-sync > .category-icon { |
michael@0 | 589 | -moz-image-region: rect(0, 288px, 48px, 240px); |
michael@0 | 590 | } |
michael@0 | 591 | |
michael@0 | 592 | #category-sync[selected] > .category-icon { |
michael@0 | 593 | -moz-image-region: rect(48px, 288px, 96px, 240px); |
michael@0 | 594 | } |
michael@0 | 595 | |
michael@0 | 596 | #category-advanced > .category-icon { |
michael@0 | 597 | -moz-image-region: rect(0, 336px, 48px, 288px); |
michael@0 | 598 | } |
michael@0 | 599 | |
michael@0 | 600 | #category-advanced[selected] > .category-icon { |
michael@0 | 601 | -moz-image-region: rect(48px, 336px, 96px, 288px); |
michael@0 | 602 | } |
michael@0 | 603 | } |
michael@0 | 604 | |
michael@0 | 605 | /* header */ |
michael@0 | 606 | |
michael@0 | 607 | .header { |
michael@0 | 608 | margin-bottom: 15px; |
michael@0 | 609 | } |
michael@0 | 610 | |
michael@0 | 611 | .header-icon { |
michael@0 | 612 | width: 40px; |
michael@0 | 613 | max-height: 40px; |
michael@0 | 614 | -moz-margin-end: 20px; |
michael@0 | 615 | list-style-image: url("chrome://browser/skin/preferences/in-content/header.png"); |
michael@0 | 616 | } |
michael@0 | 617 | |
michael@0 | 618 | .header-name { |
michael@0 | 619 | font-size: 2.5rem; |
michael@0 | 620 | font-weight: normal; |
michael@0 | 621 | line-height: 40px; |
michael@0 | 622 | margin: 0; |
michael@0 | 623 | } |
michael@0 | 624 | |
michael@0 | 625 | #header-general > .header-icon { |
michael@0 | 626 | -moz-image-region: rect(0, 40px, 40px, 0); |
michael@0 | 627 | } |
michael@0 | 628 | |
michael@0 | 629 | #header-content > .header-icon { |
michael@0 | 630 | -moz-image-region: rect(0, 80px, 40px, 40px); |
michael@0 | 631 | } |
michael@0 | 632 | |
michael@0 | 633 | #header-application > .header-icon { |
michael@0 | 634 | -moz-image-region: rect(0, 120px, 40px, 80px); |
michael@0 | 635 | } |
michael@0 | 636 | |
michael@0 | 637 | #header-privacy > .header-icon { |
michael@0 | 638 | -moz-image-region: rect(0, 160px, 40px, 120px); |
michael@0 | 639 | } |
michael@0 | 640 | |
michael@0 | 641 | #header-security > .header-icon { |
michael@0 | 642 | -moz-image-region: rect(0, 200px, 40px, 160px); |
michael@0 | 643 | } |
michael@0 | 644 | |
michael@0 | 645 | #header-sync > .header-icon { |
michael@0 | 646 | -moz-image-region: rect(0, 240px, 40px, 200px); |
michael@0 | 647 | } |
michael@0 | 648 | |
michael@0 | 649 | #header-advanced > .header-icon { |
michael@0 | 650 | -moz-image-region: rect(0, 280px, 40px, 240px); |
michael@0 | 651 | } |
michael@0 | 652 | |
michael@0 | 653 | @media (min-resolution: 2dppx) { |
michael@0 | 654 | .header-icon { |
michael@0 | 655 | list-style-image: url("chrome://browser/skin/preferences/in-content/header@2x.png"); |
michael@0 | 656 | } |
michael@0 | 657 | |
michael@0 | 658 | #header-general > .header-icon { |
michael@0 | 659 | -moz-image-region: rect(0, 80px, 80px, 0); |
michael@0 | 660 | } |
michael@0 | 661 | |
michael@0 | 662 | #header-content > .header-icon { |
michael@0 | 663 | -moz-image-region: rect(0, 160px, 80px, 80px); |
michael@0 | 664 | } |
michael@0 | 665 | |
michael@0 | 666 | #header-application > .header-icon { |
michael@0 | 667 | -moz-image-region: rect(0, 240px, 80px, 160px); |
michael@0 | 668 | } |
michael@0 | 669 | |
michael@0 | 670 | #header-privacy > .header-icon { |
michael@0 | 671 | -moz-image-region: rect(0, 320px, 80px, 240px); |
michael@0 | 672 | } |
michael@0 | 673 | |
michael@0 | 674 | #header-security > .header-icon { |
michael@0 | 675 | -moz-image-region: rect(0, 400px, 80px, 320px); |
michael@0 | 676 | } |
michael@0 | 677 | |
michael@0 | 678 | #header-sync > .header-icon { |
michael@0 | 679 | -moz-image-region: rect(0, 480px, 80px, 400px); |
michael@0 | 680 | } |
michael@0 | 681 | |
michael@0 | 682 | #header-advanced > .header-icon { |
michael@0 | 683 | -moz-image-region: rect(0, 560px, 80px, 480px); |
michael@0 | 684 | } |
michael@0 | 685 | } |
michael@0 | 686 | |
michael@0 | 687 | /* General Pane */ |
michael@0 | 688 | |
michael@0 | 689 | filefield { |
michael@0 | 690 | -moz-appearance: none; |
michael@0 | 691 | background-color: transparent; |
michael@0 | 692 | border: none; |
michael@0 | 693 | padding: 0; |
michael@0 | 694 | } |
michael@0 | 695 | |
michael@0 | 696 | .fileFieldContentBox { |
michael@0 | 697 | background-color: transparent; |
michael@0 | 698 | } |
michael@0 | 699 | |
michael@0 | 700 | .fileFieldIcon { |
michael@0 | 701 | -moz-margin-start: 10px; |
michael@0 | 702 | -moz-margin-end: 0; |
michael@0 | 703 | } |
michael@0 | 704 | |
michael@0 | 705 | .fileFieldLabel { |
michael@0 | 706 | -moz-margin-start: -26px; |
michael@0 | 707 | -moz-padding-start: 36px; |
michael@0 | 708 | } |
michael@0 | 709 | |
michael@0 | 710 | /* Applications Pane Styles */ |
michael@0 | 711 | |
michael@0 | 712 | #applications-content { |
michael@0 | 713 | -moz-margin-start: 60px; |
michael@0 | 714 | padding: 15px; |
michael@0 | 715 | } |
michael@0 | 716 | |
michael@0 | 717 | #handlersView { |
michael@0 | 718 | -moz-appearance: none; |
michael@0 | 719 | font-size: 1.25rem; |
michael@0 | 720 | line-height: 22px; |
michael@0 | 721 | color: #737980; |
michael@0 | 722 | border: 1px solid rgba(23,50,77,0.4); |
michael@0 | 723 | border-radius: 5px; |
michael@0 | 724 | background-color: #F1F1F1; |
michael@0 | 725 | overflow-y: auto; |
michael@0 | 726 | } |
michael@0 | 727 | |
michael@0 | 728 | #typeColumn, |
michael@0 | 729 | #actionColumn { |
michael@0 | 730 | -moz-appearance: none; |
michael@0 | 731 | font-family: "Clear Sans", sans-serif; |
michael@0 | 732 | line-height: 20px; |
michael@0 | 733 | color: #737980; |
michael@0 | 734 | height: 36px; |
michael@0 | 735 | padding: 0 10px; |
michael@0 | 736 | background-color: #F7F7F7; |
michael@0 | 737 | border: 1px solid #CCCCCC; |
michael@0 | 738 | -moz-border-top-colors: none; |
michael@0 | 739 | -moz-border-right-colors: none; |
michael@0 | 740 | -moz-border-bottom-colors: none; |
michael@0 | 741 | -moz-border-left-colors: none; |
michael@0 | 742 | text-shadow: 0 1px 1px #FFFFFF; |
michael@0 | 743 | } |
michael@0 | 744 | |
michael@0 | 745 | #typeColumn:-moz-locale-dir(ltr), |
michael@0 | 746 | #actionColumn:-moz-locale-dir(rtl) { |
michael@0 | 747 | border-top-left-radius: 5px; |
michael@0 | 748 | } |
michael@0 | 749 | |
michael@0 | 750 | #typeColumn:-moz-locale-dir(rtl), |
michael@0 | 751 | #actionColumn:-moz-locale-dir(ltr) { |
michael@0 | 752 | border-top-right-radius: 5px; |
michael@0 | 753 | } |
michael@0 | 754 | |
michael@0 | 755 | #typeColumn:hover, |
michael@0 | 756 | #actionColumn:hover { |
michael@0 | 757 | border-color: #737980; |
michael@0 | 758 | } |
michael@0 | 759 | |
michael@0 | 760 | #typeColumn:hover:active, |
michael@0 | 761 | #actionColumn:hover:active { |
michael@0 | 762 | padding: 0 10px; |
michael@0 | 763 | border-color: #0096DC; |
michael@0 | 764 | box-shadow: 0 0 2px 2px rgba(0,150,220,0.35), inset 0 0 2px 0 #0096DC; |
michael@0 | 765 | } |
michael@0 | 766 | |
michael@0 | 767 | #typeColumn > .treecol-sortdirection[sortDirection=ascending], |
michael@0 | 768 | #actionColumn > .treecol-sortdirection[sortDirection=ascending], |
michael@0 | 769 | #typeColumn > .treecol-sortdirection[sortDirection=descending], |
michael@0 | 770 | #actionColumn > .treecol-sortdirection[sortDirection=descending] { |
michael@0 | 771 | -moz-appearance: none; |
michael@0 | 772 | list-style-image: url("chrome://browser/skin/preferences/in-content/sorter.png"); |
michael@0 | 773 | } |
michael@0 | 774 | |
michael@0 | 775 | #typeColumn > .treecol-sortdirection[sortDirection=descending], |
michael@0 | 776 | #actionColumn > .treecol-sortdirection[sortDirection=descending] { |
michael@0 | 777 | transform: scaleY(-1); |
michael@0 | 778 | } |
michael@0 | 779 | |
michael@0 | 780 | @media (min-resolution: 2dppx) { |
michael@0 | 781 | #typeColumn > .treecol-sortdirection[sortDirection=ascending], |
michael@0 | 782 | #actionColumn > .treecol-sortdirection[sortDirection=ascending], |
michael@0 | 783 | #typeColumn > .treecol-sortdirection[sortDirection=descending], |
michael@0 | 784 | #actionColumn > .treecol-sortdirection[sortDirection=descending] { |
michael@0 | 785 | width: 12px; |
michael@0 | 786 | height: 8px; |
michael@0 | 787 | list-style-image: url("chrome://browser/skin/preferences/in-content/sorter@2x.png"); |
michael@0 | 788 | } |
michael@0 | 789 | } |
michael@0 | 790 | |
michael@0 | 791 | #handlersView > richlistitem { |
michael@0 | 792 | min-height: 40px !important; |
michael@0 | 793 | } |
michael@0 | 794 | |
michael@0 | 795 | .typeIcon { |
michael@0 | 796 | -moz-margin-start: 10px !important; |
michael@0 | 797 | -moz-margin-end: 9px !important; |
michael@0 | 798 | } |
michael@0 | 799 | |
michael@0 | 800 | .actionIcon { |
michael@0 | 801 | -moz-margin-start: 11px !important; |
michael@0 | 802 | -moz-margin-end: 8px !important; |
michael@0 | 803 | } |
michael@0 | 804 | |
michael@0 | 805 | .actionsMenu { |
michael@0 | 806 | height: 40px; |
michael@0 | 807 | max-height: 40px; |
michael@0 | 808 | } |
michael@0 | 809 | |
michael@0 | 810 | .actionsMenu > menupopup > menuitem { |
michael@0 | 811 | -moz-padding-start: 10px !important; |
michael@0 | 812 | } |
michael@0 | 813 | |
michael@0 | 814 | .actionsMenu > menupopup > menuitem > .menu-iconic-left { |
michael@0 | 815 | -moz-margin-end: 8px !important; |
michael@0 | 816 | } |
michael@0 | 817 | |
michael@0 | 818 | /* XXX This style is for bug 740213 and should be removed once that |
michael@0 | 819 | bug has a solution. */ |
michael@0 | 820 | description > html|a { |
michael@0 | 821 | cursor: pointer; |
michael@0 | 822 | } |
michael@0 | 823 | |
michael@0 | 824 | /* Content Pane */ |
michael@0 | 825 | |
michael@0 | 826 | #defaultFontSize { |
michael@0 | 827 | min-width: 5.5em; |
michael@0 | 828 | } |
michael@0 | 829 | |
michael@0 | 830 | /* Sync Pane */ |
michael@0 | 831 | |
michael@0 | 832 | #syncEnginesList { |
michael@0 | 833 | -moz-appearance: none; |
michael@0 | 834 | color: #737980; |
michael@0 | 835 | padding: 10px; |
michael@0 | 836 | border: 1px solid rgba(23,50,77,0.4); |
michael@0 | 837 | border-radius: 5px; |
michael@0 | 838 | background-color: #F1F1F1; |
michael@0 | 839 | } |
michael@0 | 840 | |
michael@0 | 841 | /* Advanced Pane */ |
michael@0 | 842 | |
michael@0 | 843 | #advancedPrefs { |
michael@0 | 844 | padding-bottom: 0; /* no padding needed in inContent prefs */ |
michael@0 | 845 | } |
michael@0 | 846 | |
michael@0 | 847 | #encryptionPanel { |
michael@0 | 848 | margin-top: 15px; |
michael@0 | 849 | -moz-margin-start: 60px; |
michael@0 | 850 | } |
michael@0 | 851 | |
michael@0 | 852 | #offlineAppsList { |
michael@0 | 853 | -moz-appearance: none; |
michael@0 | 854 | color: #737980; |
michael@0 | 855 | padding: 2px; |
michael@0 | 856 | border: 1px solid rgba(23,50,77,0.4); |
michael@0 | 857 | border-radius: 5px; |
michael@0 | 858 | background-color: #F1F1F1; |
michael@0 | 859 | } |
michael@0 | 860 | |
michael@0 | 861 | #telemetryLearnMore, |
michael@0 | 862 | #FHRLearnMore, |
michael@0 | 863 | #crashReporterLearnMore { |
michael@0 | 864 | /* center the links */ |
michael@0 | 865 | margin-top: 8px; |
michael@0 | 866 | margin-bottom: 8px; |
michael@0 | 867 | } |