| 1 | /* This Source Code Form is subject to the terms of the Mozilla Public |
| 2 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 3 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
| 4 | |
| 5 | /* === BEGIN common.inc.css === */ |
| 6 | |
| 7 | @namespace html "http://www.w3.org/1999/xhtml"; |
| 8 | @namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"; |
| 9 | |
| 10 | html|body, |
| 11 | xul|page, |
| 12 | xul|window { |
| 13 | font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif; |
| 14 | -moz-appearance: none; |
| 15 | background-color: #000000; |
| 16 | color: #FF9F00; |
| 17 | } |
| 18 | |
| 19 | html|body { |
| 20 | font-size: 15px; |
| 21 | font-weight: normal; |
| 22 | margin: 0; |
| 23 | } |
| 24 | |
| 25 | html|h1 { |
| 26 | font-size: 2.5em; |
| 27 | font-weight: lighter; |
| 28 | line-height: 1.2; |
| 29 | color: #9C9CFF; |
| 30 | margin: 0; |
| 31 | margin-bottom: .5em; |
| 32 | } |
| 33 | |
| 34 | html|hr { |
| 35 | border-style: solid none none none; |
| 36 | border-color: #9C9CFF; |
| 37 | } |
| 38 | |
| 39 | xul|caption { |
| 40 | } |
| 41 | |
| 42 | xul|caption > xul|checkbox, |
| 43 | xul|caption > xul|label { |
| 44 | margin-top: 0; |
| 45 | margin-bottom: 0; |
| 46 | } |
| 47 | |
| 48 | xul|description { |
| 49 | -moz-margin-start: 0; |
| 50 | } |
| 51 | |
| 52 | *|*.main-content { |
| 53 | padding-top: 40px; |
| 54 | -moz-padding-end: 48px; /* orig is 44px to compensate the 4px margin of child elements */ |
| 55 | padding-bottom: 48px; |
| 56 | -moz-padding-start: 48px; |
| 57 | overflow: auto; |
| 58 | } |
| 59 | |
| 60 | xul|prefpane > xul|*.content-box { |
| 61 | overflow: visible; |
| 62 | } |
| 63 | |
| 64 | /* groupboxes */ |
| 65 | /* |
| 66 | xul|groupbox { |
| 67 | -moz-appearance: none; |
| 68 | border: none; |
| 69 | margin: 15px 0 0; |
| 70 | -moz-padding-start: 0; |
| 71 | -moz-padding-end: 0; |
| 72 | font-size: 1.25rem; |
| 73 | } |
| 74 | |
| 75 | xul|groupbox xul|label { |
| 76 | / !important needed to override toolkit !important rule / |
| 77 | -moz-margin-start: 0 !important; |
| 78 | -moz-margin-end: 0 !important; |
| 79 | } |
| 80 | */ |
| 81 | /* tabpanels and tabs */ |
| 82 | /* |
| 83 | xul|tabpanels { |
| 84 | -moz-appearance: none; |
| 85 | font-size: 1.25rem; |
| 86 | line-height: 22px; |
| 87 | border: none; |
| 88 | padding: 0; |
| 89 | background-color: transparent; |
| 90 | color: inherit; |
| 91 | } |
| 92 | |
| 93 | xul|tabs { |
| 94 | margin-bottom: 15px; |
| 95 | border-top: 1px solid #c1c1c1; |
| 96 | border-bottom: 1px solid #c1c1c1; |
| 97 | background-color: #fbfbfb; |
| 98 | } |
| 99 | |
| 100 | xul|*.tabs-left, |
| 101 | xul|*.tabs-right { |
| 102 | border-bottom: none; |
| 103 | } |
| 104 | |
| 105 | xul|tab { |
| 106 | -moz-appearance: none; |
| 107 | margin-top: 0; |
| 108 | padding: 4px 20px; |
| 109 | min-height: 44px; |
| 110 | color: #424f5a; |
| 111 | background-color: #fbfbfb; |
| 112 | border-width: 0; |
| 113 | transition: background-color 50ms ease 0s; |
| 114 | } |
| 115 | |
| 116 | xul|tab:hover { |
| 117 | background-color: #ebebeb; |
| 118 | } |
| 119 | |
| 120 | xul|tab[selected] { |
| 121 | background-color: #ebebeb; |
| 122 | padding-bottom: 0; / compensate the 4px border / |
| 123 | border-bottom: 4px solid #ff9500; |
| 124 | } |
| 125 | |
| 126 | xul|*.tab-text { |
| 127 | font-size: 1.3rem; |
| 128 | line-height: 22px; |
| 129 | } |
| 130 | */ |
| 131 | /* html buttons */ |
| 132 | |
| 133 | html|button { |
| 134 | border-radius: 300px; |
| 135 | border: none; |
| 136 | background-color: #C09070; |
| 137 | color: #000000; |
| 138 | /* override forms.css */ |
| 139 | font: inherit; |
| 140 | } |
| 141 | |
| 142 | /* xul buttons and menulists */ |
| 143 | /* |
| 144 | *|button, |
| 145 | xul|colorpicker[type="button"], |
| 146 | xul|menulist { |
| 147 | -moz-appearance: none; |
| 148 | height: 30px; |
| 149 | color: #333; |
| 150 | line-height: 20px; |
| 151 | border: 1px solid #c1c1c1; |
| 152 | -moz-border-top-colors: none !important; |
| 153 | -moz-border-right-colors: none !important; |
| 154 | -moz-border-bottom-colors: none !important; |
| 155 | -moz-border-left-colors: none !important; |
| 156 | border-radius: 2px; |
| 157 | background-color: #fbfbfb; |
| 158 | } |
| 159 | */ |
| 160 | html|button:enabled:hover, |
| 161 | xul|button:not([disabled="true"]):hover, |
| 162 | xul|colorpicker[type="button"]:not([disabled="true"]):hover, |
| 163 | xul|menulist:not([disabled="true"]):hover { |
| 164 | background-color: #FFCF00; |
| 165 | color: #000000; |
| 166 | } |
| 167 | |
| 168 | html|button:enabled:hover:active, |
| 169 | xul|button:not([disabled="true"]):hover:active, |
| 170 | xul|colorpicker[type="button"]:not([disabled="true"]):hover:active, |
| 171 | xul|menulist[open="true"]:not([disabled="true"]) { |
| 172 | background-color: #FF9F00; |
| 173 | color: #000000; |
| 174 | } |
| 175 | |
| 176 | html|button:disabled, |
| 177 | xul|button[disabled="true"], |
| 178 | xul|colorpicker[type="button"][disabled="true"], |
| 179 | xul|menulist[disabled="true"] { |
| 180 | cursor: not-allowed; |
| 181 | background-color: #402858; |
| 182 | color: #000000; |
| 183 | } |
| 184 | |
| 185 | *|button.primary { |
| 186 | background-color: #A06060; |
| 187 | } |
| 188 | |
| 189 | html|button.primary:enabled:hover, |
| 190 | xul|button.primary:not([disabled="true"]):hover { |
| 191 | background-color: #FFCF00; |
| 192 | } |
| 193 | |
| 194 | html|button.primary:enabled:hover:active, |
| 195 | xul|button.primary:not([disabled="true"]):hover:active { |
| 196 | background-color: #FF9F00; |
| 197 | } |
| 198 | /* |
| 199 | xul|colorpicker[type="button"] { |
| 200 | padding: 6px; |
| 201 | width: 50px; |
| 202 | } |
| 203 | |
| 204 | xul|button > xul|*.button-box, |
| 205 | xul|menulist > xul|*.menulist-label-box { |
| 206 | padding-right: 10px !important; |
| 207 | padding-left: 10px !important; |
| 208 | } |
| 209 | |
| 210 | xul|menulist > xul|*.menulist-label-box > xul|*.menulist-icon[src] { |
| 211 | -moz-margin-end: 5px; |
| 212 | } |
| 213 | |
| 214 | xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker { |
| 215 | -moz-appearance: none; |
| 216 | margin: 1px 0; |
| 217 | -moz-margin-start: 10px; |
| 218 | padding: 0; |
| 219 | width: 10px; |
| 220 | height: 16px; |
| 221 | border: none; |
| 222 | background-color: transparent; |
| 223 | list-style-image: url("chrome://global/skin/in-content/dropdown.svg#dropdown"); |
| 224 | } |
| 225 | |
| 226 | */ |
| 227 | xul|*.help-button { |
| 228 | /* |
| 229 | min-width: 30px; |
| 230 | border-radius: 2px; |
| 231 | border-width: 0; |
| 232 | background-color: #ffcb00; |
| 233 | background-image: none; |
| 234 | box-shadow: none; |
| 235 | */ |
| 236 | list-style-image: url("chrome://global/skin/in-content/help-glyph.svg"); |
| 237 | } |
| 238 | /* |
| 239 | xul|*.help-button:not([disabled="true"]):hover { |
| 240 | background-color: #f4c200; |
| 241 | background-image: none; |
| 242 | } |
| 243 | |
| 244 | xul|*.help-button:not([disabled="true"]):hover:active { |
| 245 | background-color: #eaba00; |
| 246 | background-image: none; |
| 247 | } |
| 248 | |
| 249 | xul|*.close-icon > xul|*.button-box, |
| 250 | xul|*.help-button > xul|*.button-box { |
| 251 | padding-top: 0; |
| 252 | padding-bottom: 0; |
| 253 | padding-right: 0 !important; |
| 254 | padding-left: 0 !important; |
| 255 | } |
| 256 | */ |
| 257 | xul|*.help-button > xul|*.button-box > xul|*.button-icon { |
| 258 | width: 18px; |
| 259 | height: 18px; |
| 260 | } |
| 261 | |
| 262 | xul|*.help-button > xul|*.button-box > xul|*.button-text { |
| 263 | display: none; |
| 264 | } |
| 265 | /* |
| 266 | xul|*.spinbuttons-button { |
| 267 | -moz-margin-start: 10px !important; |
| 268 | -moz-margin-end: 2px !important; |
| 269 | } |
| 270 | |
| 271 | xul|*.spinbuttons-up { |
| 272 | margin-top: 2px !important; |
| 273 | border-radius: 1px 1px 0 0; |
| 274 | } |
| 275 | |
| 276 | xul|*.spinbuttons-down { |
| 277 | margin-bottom: 2px !important; |
| 278 | border-radius: 0 0 1px 1px; |
| 279 | } |
| 280 | |
| 281 | xul|*.spinbuttons-button > xul|*.button-box { |
| 282 | padding: 1px 5px 2px !important; |
| 283 | } |
| 284 | |
| 285 | xul|*.spinbuttons-up > xul|*.button-box > xul|*.button-icon { |
| 286 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); |
| 287 | } |
| 288 | |
| 289 | xul|*.spinbuttons-up[disabled="true"] > xul|*.button-box > xul|*.button-icon { |
| 290 | list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif"); |
| 291 | } |
| 292 | |
| 293 | xul|*.spinbuttons-down > xul|*.button-box > xul|*.button-icon { |
| 294 | list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); |
| 295 | } |
| 296 | |
| 297 | xul|*.spinbuttons-down[disabled="true"] > xul|*.button-box > xul|*.button-icon { |
| 298 | list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); |
| 299 | } |
| 300 | |
| 301 | xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker { |
| 302 | -moz-appearance: none; |
| 303 | -moz-margin-end: 4px; |
| 304 | padding: 0; |
| 305 | border: none; |
| 306 | background-color: transparent; |
| 307 | list-style-image: url("chrome://global/skin/in-content/dropdown.svg#dropdown"); |
| 308 | } |
| 309 | |
| 310 | xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker > xul|*.dropmarker-icon { |
| 311 | width: 18px; |
| 312 | height: 18px; |
| 313 | } |
| 314 | |
| 315 | xul|menulist[disabled="true"]:not([editable="true"]) > xul|*.menulist-dropmarker { |
| 316 | list-style-image: url("chrome://global/skin/in-content/dropdown.svg#dropdown-disabled") |
| 317 | } |
| 318 | |
| 319 | xul|menulist > xul|menupopup, |
| 320 | xul|button[type="menu"] > xul|menupopup { |
| 321 | -moz-appearance: none; |
| 322 | border: 1px solid #c1c1c1; |
| 323 | border-radius: 2px; |
| 324 | background-color: #fff; |
| 325 | } |
| 326 | |
| 327 | xul|menulist > xul|menupopup xul|menu, |
| 328 | xul|menulist > xul|menupopup xul|menuitem, |
| 329 | xul|button[type="menu"] > xul|menupopup xul|menu, |
| 330 | xul|button[type="menu"] > xul|menupopup xul|menuitem { |
| 331 | -moz-appearance: none; |
| 332 | font-size: 1rem; |
| 333 | color: #333; |
| 334 | padding-top: 0.2em; |
| 335 | padding-bottom: 0.2em; |
| 336 | -moz-padding-start: 10px; |
| 337 | -moz-padding-end: 30px; |
| 338 | } |
| 339 | |
| 340 | xul|menulist > xul|menupopup > xul|menu[_moz-menuactive="true"], |
| 341 | xul|menulist > xul|menupopup > xul|menuitem[_moz-menuactive="true"], |
| 342 | xul|button[type="menu"] > xul|menupopup > xul|menu[_moz-menuactive="true"], |
| 343 | xul|button[type="menu"] > xul|menupopup > xul|menuitem[_moz-menuactive="true"] { |
| 344 | color: #333; |
| 345 | background-color: rgba(0,149,221,0.25); |
| 346 | } |
| 347 | |
| 348 | xul|menulist > xul|menupopup > xul|menu[selected="true"], |
| 349 | xul|menulist > xul|menupopup > xul|menuitem[selected="true"], |
| 350 | xul|button[type="menu"] > xul|menupopup > xul|menu[selected="true"], |
| 351 | xul|button[type="menu"] > xul|menupopup > xul|menuitem[selected="true"] { |
| 352 | color: #fff; |
| 353 | background-color: #0095DD; |
| 354 | } |
| 355 | |
| 356 | xul|menulist > xul|menupopup xul|menuseparator, |
| 357 | xul|button[type="menu"] > xul|menupopup xul|menuseparator { |
| 358 | -moz-appearance: none; |
| 359 | margin: 0; |
| 360 | padding: 0; |
| 361 | border-top: 1px solid #c1c1c1; |
| 362 | border-bottom: none; |
| 363 | } |
| 364 | */ |
| 365 | /* textboxes */ |
| 366 | /* |
| 367 | *|textbox { |
| 368 | -moz-appearance: none; |
| 369 | height: 30px; |
| 370 | color: #333; |
| 371 | line-height: 20px; |
| 372 | padding-right: 10px; |
| 373 | padding-left: 10px; |
| 374 | border: 1px solid #c1c1c1; |
| 375 | -moz-border-top-colors: none !important; |
| 376 | -moz-border-right-colors: none !important; |
| 377 | -moz-border-bottom-colors: none !important; |
| 378 | -moz-border-left-colors: none !important; |
| 379 | border-radius: 2px; |
| 380 | background-color: #fff; |
| 381 | } |
| 382 | |
| 383 | html|textbox:focus, |
| 384 | xul|textbox[focused] { |
| 385 | border-color: #0095dd; |
| 386 | } |
| 387 | |
| 388 | html|textbox:disabled, |
| 389 | xul|textbox[disabled="true"] { |
| 390 | opacity: 0.5; |
| 391 | } |
| 392 | */ |
| 393 | /* Links */ |
| 394 | |
| 395 | html|a, |
| 396 | .text-link, |
| 397 | .inline-link { |
| 398 | /* line-height: 22px;*/ |
| 399 | color: #3333FF; |
| 400 | text-decoration: none; |
| 401 | } |
| 402 | |
| 403 | html|a:hover, |
| 404 | .text-link:hover, |
| 405 | .inline-link:hover { |
| 406 | color: #FFCF00; |
| 407 | text-decoration: underline; |
| 408 | } |
| 409 | |
| 410 | html|a:hover:active, |
| 411 | .text-link:hover:active, |
| 412 | .inline-link:hover:active { |
| 413 | color: #FF9F00; |
| 414 | text-decoration: underline; |
| 415 | } |
| 416 | |
| 417 | /* Checkboxes and radio buttons */ |
| 418 | /* |
| 419 | / Hide the actual checkbox / |
| 420 | html|input[type="checkbox"] { |
| 421 | opacity: 0; |
| 422 | position: absolute; |
| 423 | } |
| 424 | |
| 425 | / Create a box to style as the checkbox / |
| 426 | html|input[type="checkbox"] + html|label:before { |
| 427 | display: inline-block; |
| 428 | content: ""; |
| 429 | vertical-align: middle; |
| 430 | } |
| 431 | |
| 432 | html|input[type="checkbox"] + html|label { |
| 433 | line-height: 0px; |
| 434 | } |
| 435 | |
| 436 | xul|checkbox { |
| 437 | -moz-margin-start: 0; |
| 438 | } |
| 439 | |
| 440 | xul|*.checkbox-check, |
| 441 | html|input[type="checkbox"] + html|label:before { |
| 442 | -moz-appearance: none; |
| 443 | width: 23px; |
| 444 | height: 23px; |
| 445 | border-radius: 2px; |
| 446 | border: 1px solid #c1c1c1; |
| 447 | -moz-margin-end: 10px; |
| 448 | background-color: #f1f1f1; |
| 449 | / !important needed to override toolkit checked !important rule / |
| 450 | background-image: linear-gradient(#fff, rgba(255,255,255,0.8)) !important; |
| 451 | background-position: center center; |
| 452 | background-repeat: no-repeat; |
| 453 | box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03); |
| 454 | } |
| 455 | |
| 456 | xul|checkbox:not([disabled="true"]):hover > xul|*.checkbox-check, |
| 457 | html|input[type="checkbox"]:not(:disabled) + html|label:hover:before { |
| 458 | border-color: #0095dd; |
| 459 | } |
| 460 | |
| 461 | xul|*.checkbox-check[checked] { |
| 462 | background-image: url("chrome://global/skin/in-content/check.png"), |
| 463 | / * !important needed to override toolkit !important rule * / |
| 464 | linear-gradient(#fff, rgba(255,255,255,0.8)) !important; |
| 465 | } |
| 466 | |
| 467 | html|input[type="checkbox"]:checked + html|label:before { |
| 468 | background-image: url("chrome://global/skin/in-content/check.svg#check"), linear-gradient(#fff, rgba(255,255,255,0.8)) !important; |
| 469 | } |
| 470 | |
| 471 | xul|checkbox[disabled="true"] > xul|*.checkbox-check, |
| 472 | html|input[type="checkbox"]:disabled + html|label { |
| 473 | opacity: 0.5; |
| 474 | } |
| 475 | |
| 476 | xul|*.checkbox-label-box { |
| 477 | -moz-margin-start: -1px; / * negative margin for the transparent border * / |
| 478 | -moz-padding-start: 0; |
| 479 | } |
| 480 | |
| 481 | xul|richlistitem > xul|*.checkbox-check { |
| 482 | margin: 3px 6px; |
| 483 | } |
| 484 | |
| 485 | xul|*.radio-check { |
| 486 | -moz-appearance: none; |
| 487 | width: 23px; |
| 488 | height: 23px; |
| 489 | border: 1px solid #c1c1c1; |
| 490 | border-radius: 50%; |
| 491 | -moz-margin-end: 10px; |
| 492 | background-color: #f1f1f1; |
| 493 | background-image: linear-gradient(#fff, rgba(255,255,255,0.80)); |
| 494 | box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03); |
| 495 | } |
| 496 | |
| 497 | xul|radio:not([disabled="true"]):hover > xul|*.radio-check { |
| 498 | border-color: #0095dd; |
| 499 | } |
| 500 | |
| 501 | xul|*.radio-check[selected] { |
| 502 | list-style-image: url("chrome://global/skin/in-content/radio.svg#radio"); |
| 503 | } |
| 504 | |
| 505 | xul|radio[disabled="true"] > xul|*.radio-check { |
| 506 | opacity: 0.5; |
| 507 | } |
| 508 | |
| 509 | xul|*.radio-label-box { |
| 510 | -moz-margin-start: -1px; / * negative margin for the transparent border * / |
| 511 | -moz-margin-end: 10px; |
| 512 | -moz-padding-start: 0; |
| 513 | } |
| 514 | */ |
| 515 | /* Category List */ |
| 516 | /* |
| 517 | xul|*#categories { |
| 518 | -moz-appearance: none; |
| 519 | background-color: #424f5a; |
| 520 | padding-top: 39px; |
| 521 | margin: 0; |
| 522 | border-width: 0; |
| 523 | } |
| 524 | |
| 525 | xul|*.category { |
| 526 | -moz-appearance: none; |
| 527 | color: #c1c1c1; |
| 528 | -moz-border-end-width: 0; |
| 529 | -moz-padding-start: 15px; |
| 530 | -moz-padding-end: 21px; |
| 531 | min-height: 40px; |
| 532 | transition: background-color 150ms; |
| 533 | } |
| 534 | |
| 535 | xul|*.category:hover { |
| 536 | background-color: #5e6972; |
| 537 | } |
| 538 | |
| 539 | xul|*.category[selected] { |
| 540 | background-color: #343f48; |
| 541 | color: #f2f2f2; |
| 542 | -moz-padding-start: 11px; / compensate the 4px border / |
| 543 | -moz-border-start: solid 4px #ff9500; |
| 544 | } |
| 545 | |
| 546 | xul|*#categories[keyboard-navigation="true"]:-moz-focusring > xul|*.category[current] { |
| 547 | border-top: 1px #ffffff dotted; |
| 548 | border-bottom: 1px #ffffff dotted; |
| 549 | } |
| 550 | */ |
| 551 | *|*.category-name { |
| 552 | /* |
| 553 | line-height: 22px; |
| 554 | font-size: 1.25rem; |
| 555 | padding-bottom: 2px; |
| 556 | -moz-padding-start: 9px; |
| 557 | margin: 0; |
| 558 | */ |
| 559 | -moz-user-select: none; |
| 560 | } |
| 561 | /* |
| 562 | *|*.category-icon { |
| 563 | width: 24px; |
| 564 | height: 24px; |
| 565 | } |
| 566 | */ |
| 567 | /* header */ |
| 568 | |
| 569 | *|*.header { |
| 570 | /* -moz-margin-end: 4px; / add the 4px end-margin of other elements / |
| 571 | border-bottom: 1px solid #A09090; |
| 572 | margin-bottom: 15px; |
| 573 | padding-bottom: 15px; */ |
| 574 | } |
| 575 | |
| 576 | *|*.header-name { |
| 577 | font-size: 2.5rem; |
| 578 | font-weight: normal; |
| 579 | line-height: 40px; |
| 580 | margin: 0; |
| 581 | -moz-user-select: none; |
| 582 | } |
| 583 | |
| 584 | /* File fields */ |
| 585 | /* |
| 586 | xul|filefield { |
| 587 | -moz-appearance: none; |
| 588 | background-color: transparent; |
| 589 | border: none; |
| 590 | padding: 0; |
| 591 | } |
| 592 | |
| 593 | xul|*.fileFieldContentBox { |
| 594 | background-color: transparent; |
| 595 | } |
| 596 | |
| 597 | xul|*.fileFieldIcon { |
| 598 | -moz-margin-start: 10px; |
| 599 | -moz-margin-end: 0; |
| 600 | } |
| 601 | |
| 602 | xul|*.fileFieldLabel { |
| 603 | -moz-margin-start: -26px; |
| 604 | -moz-padding-start: 36px; |
| 605 | } |
| 606 | |
| 607 | xul|textbox:-moz-locale-dir(rtl), |
| 608 | xul|*.fileFieldLabel:-moz-locale-dir(rtl), |
| 609 | xul|textbox + xul|button:-moz-locale-dir(ltr), |
| 610 | xul|filefield + xul|button:-moz-locale-dir(ltr) { |
| 611 | border-top-left-radius: 0; |
| 612 | border-bottom-left-radius: 0; |
| 613 | } |
| 614 | |
| 615 | xul|textbox:-moz-locale-dir(ltr), |
| 616 | xul|*.fileFieldLabel:-moz-locale-dir(ltr), |
| 617 | xul|textbox + xul|button:-moz-locale-dir(rtl), |
| 618 | xul|filefield + xul|button:-moz-locale-dir(rtl) { |
| 619 | border-top-right-radius: 0; |
| 620 | border-bottom-right-radius: 0; |
| 621 | } |
| 622 | |
| 623 | xul|textbox + xul|button, |
| 624 | xul|filefield + xul|button { |
| 625 | -moz-border-start: none; |
| 626 | } |
| 627 | */ |
| 628 | /* List boxes */ |
| 629 | /* |
| 630 | xul|richlistbox, |
| 631 | xul|listbox { |
| 632 | -moz-appearance: none; |
| 633 | -moz-margin-start: 0; |
| 634 | background-color: #fff; |
| 635 | border: 1px solid #c1c1c1; |
| 636 | color: #333; |
| 637 | } |
| 638 | |
| 639 | xul|treechildren::-moz-tree-row, |
| 640 | xul|listbox xul|listitem { |
| 641 | padding: 0.3em; |
| 642 | margin: 0; |
| 643 | border: none; |
| 644 | border-radius: 0; |
| 645 | background-image: none; |
| 646 | } |
| 647 | |
| 648 | xul|treechildren::-moz-tree-row(hover), |
| 649 | xul|listbox xul|listitem:hover { |
| 650 | background-color: rgba(0,149,221,0.25); |
| 651 | } |
| 652 | |
| 653 | xul|treechildren::-moz-tree-row(selected), |
| 654 | xul|listbox xul|listitem[selected="true"] { |
| 655 | background-color: #0095dd; |
| 656 | color: #fff; |
| 657 | } |
| 658 | |
| 659 | / This is the only way to increase the height of a tree row unfortunately / |
| 660 | xul|treechildren::-moz-tree-row { |
| 661 | min-height: 2em; |
| 662 | } |
| 663 | |
| 664 | / Color needs to be set on tree cell in order to be applied / |
| 665 | xul|treechildren::-moz-tree-cell-text { |
| 666 | color: #333; |
| 667 | } |
| 668 | |
| 669 | xul|treechildren::-moz-tree-cell-text(selected) { |
| 670 | color: #fff; |
| 671 | } |
| 672 | */ |
| 673 | /* Trees */ |
| 674 | /* |
| 675 | xul|tree { |
| 676 | -moz-appearance: none; |
| 677 | font-size: 1em; |
| 678 | border: 1px solid #c1c1c1; |
| 679 | } |
| 680 | |
| 681 | xul|tree:-moz-focusring, |
| 682 | xul|richlistbox:-moz-focusring { |
| 683 | border: 1px dotted #0095dd; |
| 684 | } |
| 685 | |
| 686 | xul|listheader, |
| 687 | xul|treecols { |
| 688 | -moz-appearance: none; |
| 689 | border: none; |
| 690 | border-bottom: 1px solid #c1c1c1; |
| 691 | padding: 0; |
| 692 | } |
| 693 | |
| 694 | xul|treecol:not([hideheader="true"]), |
| 695 | xul|treecolpicker { |
| 696 | -moz-appearance: none; |
| 697 | border: none; |
| 698 | background-color: #ebebeb; |
| 699 | color: #808080; |
| 700 | padding: 5px 10px; |
| 701 | } |
| 702 | |
| 703 | xul|treecol:not([hideheader="true"]):not([sortable="false"]):hover, |
| 704 | xul|treecolpicker:hover { |
| 705 | background-color: #dadada; |
| 706 | color: #333; |
| 707 | } |
| 708 | |
| 709 | xul|treecol:not([hideheader="true"]):not(:first-child), |
| 710 | xul|treecolpicker { |
| 711 | -moz-border-start-width: 1px; |
| 712 | -moz-border-start-style: solid; |
| 713 | border-image: linear-gradient(transparent 0%, transparent 20%, #c1c1c1 20%, #c1c1c1 80%, transparent 80%, transparent 100%) 1 1; |
| 714 | } |
| 715 | |
| 716 | xul|treecol:not([hideheader="true"]) > xul|*.treecol-sortdirection[sortDirection] { |
| 717 | list-style-image: url("chrome://global/skin/in-content/dropdown.svg#dropdown"); |
| 718 | width: 18px; |
| 719 | height: 18px; |
| 720 | } |
| 721 | |
| 722 | xul|treecol:not([hideheader="true"]) > xul|*.treecol-sortdirection[sortDirection="ascending"] { |
| 723 | transform: scaleY(-1); |
| 724 | } |
| 725 | */ |
| 726 | /* === END common.inc.css === */ |
| 727 | /* |
| 728 | xul|caption { |
| 729 | background-color: transparent; |
| 730 | } |
| 731 | |
| 732 | xul|button, |
| 733 | html|button, |
| 734 | xul|colorpicker[type="button"], |
| 735 | xul|menulist { |
| 736 | margin: 2px 4px; |
| 737 | } |
| 738 | |
| 739 | xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker { |
| 740 | margin-top: 1px; |
| 741 | margin-bottom: 1px; |
| 742 | } |
| 743 | |
| 744 | xul|checkbox { |
| 745 | -moz-padding-start: 0; |
| 746 | } |
| 747 | |
| 748 | xul|radio { |
| 749 | -moz-binding: url("chrome://global/content/bindings/radio.xml#radio"); |
| 750 | -moz-padding-start: 0; |
| 751 | } |
| 752 | |
| 753 | xul|*.radio-icon, |
| 754 | xul|*.checkbox-icon { |
| 755 | -moz-margin-end: 0; |
| 756 | } |
| 757 | */ |
| 758 | html|a:-moz-focusring, |
| 759 | .text-link:-moz-focusring, |
| 760 | .inline-link:-moz-focusring { |
| 761 | /* Don't specify the outline-color, we should always use initial value. */ |
| 762 | outline: 1px dotted; |
| 763 | } |