| 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: #CCD0DD; |
| 16 | color: #000000; |
| 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: #000000; |
| 30 | margin: 0; |
| 31 | margin-bottom: .5em; |
| 32 | } |
| 33 | |
| 34 | html|hr { |
| 35 | border-style: solid none none none; |
| 36 | border-color: #666699; |
| 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: 0px; |
| 135 | border: 1px outset #CCD0DD; |
| 136 | background-color: #CCD0DD; |
| 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 | } |
| 165 | |
| 166 | html|button:enabled:hover:active, |
| 167 | xul|button:not([disabled="true"]):hover:active, |
| 168 | xul|colorpicker[type="button"]:not([disabled="true"]):hover:active, |
| 169 | xul|menulist[open="true"]:not([disabled="true"]) { |
| 170 | border: 1px inset #CCD0DD; |
| 171 | } |
| 172 | |
| 173 | html|button:disabled, |
| 174 | xul|button[disabled="true"], |
| 175 | xul|colorpicker[type="button"][disabled="true"], |
| 176 | xul|menulist[disabled="true"] { |
| 177 | cursor: not-allowed; |
| 178 | border: 1px outset #CCD0DD; |
| 179 | color: #999999; |
| 180 | } |
| 181 | /* |
| 182 | *|button.primary { |
| 183 | background-color: #0095dd; |
| 184 | border-color: transparent; |
| 185 | color: #fff; |
| 186 | } |
| 187 | |
| 188 | html|button.primary:enabled:hover, |
| 189 | xul|button.primary:not([disabled="true"]):hover { |
| 190 | background-color: #008acb; |
| 191 | } |
| 192 | |
| 193 | html|button.primary:enabled:hover:active, |
| 194 | xul|button.primary:not([disabled="true"]):hover:active { |
| 195 | background-color: #006b9d; |
| 196 | } |
| 197 | |
| 198 | xul|colorpicker[type="button"] { |
| 199 | padding: 6px; |
| 200 | width: 50px; |
| 201 | } |
| 202 | |
| 203 | xul|button > xul|*.button-box, |
| 204 | xul|menulist > xul|*.menulist-label-box { |
| 205 | padding-right: 10px !important; |
| 206 | padding-left: 10px !important; |
| 207 | } |
| 208 | |
| 209 | xul|menulist > xul|*.menulist-label-box > xul|*.menulist-icon[src] { |
| 210 | -moz-margin-end: 5px; |
| 211 | } |
| 212 | |
| 213 | xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker { |
| 214 | -moz-appearance: none; |
| 215 | margin: 1px 0; |
| 216 | -moz-margin-start: 10px; |
| 217 | padding: 0; |
| 218 | width: 10px; |
| 219 | height: 16px; |
| 220 | border: none; |
| 221 | background-color: transparent; |
| 222 | list-style-image: url("chrome://global/skin/in-content/dropdown.svg#dropdown"); |
| 223 | } |
| 224 | |
| 225 | xul|*.help-button { |
| 226 | min-width: 30px; |
| 227 | border-radius: 2px; |
| 228 | border-width: 0; |
| 229 | background-color: #ffcb00; |
| 230 | background-image: none; |
| 231 | box-shadow: none; |
| 232 | list-style-image: url("chrome://global/skin/in-content/help-glyph.svg"); |
| 233 | } |
| 234 | |
| 235 | xul|*.help-button:not([disabled="true"]):hover { |
| 236 | background-color: #f4c200; |
| 237 | background-image: none; |
| 238 | } |
| 239 | |
| 240 | xul|*.help-button:not([disabled="true"]):hover:active { |
| 241 | background-color: #eaba00; |
| 242 | background-image: none; |
| 243 | } |
| 244 | |
| 245 | xul|*.close-icon > xul|*.button-box, |
| 246 | xul|*.help-button > xul|*.button-box { |
| 247 | padding-top: 0; |
| 248 | padding-bottom: 0; |
| 249 | padding-right: 0 !important; |
| 250 | padding-left: 0 !important; |
| 251 | } |
| 252 | |
| 253 | xul|*.help-button > xul|*.button-box > xul|*.button-icon { |
| 254 | width: 18px; |
| 255 | height: 18px; |
| 256 | } |
| 257 | |
| 258 | xul|*.help-button > xul|*.button-box > xul|*.button-text { |
| 259 | display: none; |
| 260 | } |
| 261 | |
| 262 | xul|*.spinbuttons-button { |
| 263 | -moz-margin-start: 10px !important; |
| 264 | -moz-margin-end: 2px !important; |
| 265 | } |
| 266 | |
| 267 | xul|*.spinbuttons-up { |
| 268 | margin-top: 2px !important; |
| 269 | border-radius: 1px 1px 0 0; |
| 270 | } |
| 271 | |
| 272 | xul|*.spinbuttons-down { |
| 273 | margin-bottom: 2px !important; |
| 274 | border-radius: 0 0 1px 1px; |
| 275 | } |
| 276 | |
| 277 | xul|*.spinbuttons-button > xul|*.button-box { |
| 278 | padding: 1px 5px 2px !important; |
| 279 | } |
| 280 | |
| 281 | xul|*.spinbuttons-up > xul|*.button-box > xul|*.button-icon { |
| 282 | list-style-image: url("chrome://global/skin/arrow/arrow-up.gif"); |
| 283 | } |
| 284 | |
| 285 | xul|*.spinbuttons-up[disabled="true"] > xul|*.button-box > xul|*.button-icon { |
| 286 | list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif"); |
| 287 | } |
| 288 | |
| 289 | xul|*.spinbuttons-down > xul|*.button-box > xul|*.button-icon { |
| 290 | list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif"); |
| 291 | } |
| 292 | |
| 293 | xul|*.spinbuttons-down[disabled="true"] > xul|*.button-box > xul|*.button-icon { |
| 294 | list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif"); |
| 295 | } |
| 296 | |
| 297 | xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker { |
| 298 | -moz-appearance: none; |
| 299 | -moz-margin-end: 4px; |
| 300 | padding: 0; |
| 301 | border: none; |
| 302 | background-color: transparent; |
| 303 | list-style-image: url("chrome://global/skin/in-content/dropdown.svg#dropdown"); |
| 304 | } |
| 305 | |
| 306 | xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker > xul|*.dropmarker-icon { |
| 307 | width: 18px; |
| 308 | height: 18px; |
| 309 | } |
| 310 | |
| 311 | xul|menulist[disabled="true"]:not([editable="true"]) > xul|*.menulist-dropmarker { |
| 312 | list-style-image: url("chrome://global/skin/in-content/dropdown.svg#dropdown-disabled") |
| 313 | } |
| 314 | |
| 315 | xul|menulist > xul|menupopup, |
| 316 | xul|button[type="menu"] > xul|menupopup { |
| 317 | -moz-appearance: none; |
| 318 | border: 1px solid #c1c1c1; |
| 319 | border-radius: 2px; |
| 320 | background-color: #fff; |
| 321 | } |
| 322 | |
| 323 | xul|menulist > xul|menupopup xul|menu, |
| 324 | xul|menulist > xul|menupopup xul|menuitem, |
| 325 | xul|button[type="menu"] > xul|menupopup xul|menu, |
| 326 | xul|button[type="menu"] > xul|menupopup xul|menuitem { |
| 327 | -moz-appearance: none; |
| 328 | font-size: 1rem; |
| 329 | color: #333; |
| 330 | padding-top: 0.2em; |
| 331 | padding-bottom: 0.2em; |
| 332 | -moz-padding-start: 10px; |
| 333 | -moz-padding-end: 30px; |
| 334 | } |
| 335 | |
| 336 | xul|menulist > xul|menupopup > xul|menu[_moz-menuactive="true"], |
| 337 | xul|menulist > xul|menupopup > xul|menuitem[_moz-menuactive="true"], |
| 338 | xul|button[type="menu"] > xul|menupopup > xul|menu[_moz-menuactive="true"], |
| 339 | xul|button[type="menu"] > xul|menupopup > xul|menuitem[_moz-menuactive="true"] { |
| 340 | color: #333; |
| 341 | background-color: rgba(0,149,221,0.25); |
| 342 | } |
| 343 | |
| 344 | xul|menulist > xul|menupopup > xul|menu[selected="true"], |
| 345 | xul|menulist > xul|menupopup > xul|menuitem[selected="true"], |
| 346 | xul|button[type="menu"] > xul|menupopup > xul|menu[selected="true"], |
| 347 | xul|button[type="menu"] > xul|menupopup > xul|menuitem[selected="true"] { |
| 348 | color: #fff; |
| 349 | background-color: #0095DD; |
| 350 | } |
| 351 | |
| 352 | xul|menulist > xul|menupopup xul|menuseparator, |
| 353 | xul|button[type="menu"] > xul|menupopup xul|menuseparator { |
| 354 | -moz-appearance: none; |
| 355 | margin: 0; |
| 356 | padding: 0; |
| 357 | border-top: 1px solid #c1c1c1; |
| 358 | border-bottom: none; |
| 359 | } |
| 360 | */ |
| 361 | /* textboxes */ |
| 362 | /* |
| 363 | *|textbox { |
| 364 | -moz-appearance: none; |
| 365 | height: 30px; |
| 366 | color: #333; |
| 367 | line-height: 20px; |
| 368 | padding-right: 10px; |
| 369 | padding-left: 10px; |
| 370 | border: 1px solid #c1c1c1; |
| 371 | -moz-border-top-colors: none !important; |
| 372 | -moz-border-right-colors: none !important; |
| 373 | -moz-border-bottom-colors: none !important; |
| 374 | -moz-border-left-colors: none !important; |
| 375 | border-radius: 2px; |
| 376 | background-color: #fff; |
| 377 | } |
| 378 | |
| 379 | html|textbox:focus, |
| 380 | xul|textbox[focused] { |
| 381 | border-color: #0095dd; |
| 382 | } |
| 383 | |
| 384 | html|textbox:disabled, |
| 385 | xul|textbox[disabled="true"] { |
| 386 | opacity: 0.5; |
| 387 | } |
| 388 | */ |
| 389 | /* Links */ |
| 390 | /* |
| 391 | html|a, |
| 392 | .text-link, |
| 393 | .inline-link { |
| 394 | line-height: 22px; |
| 395 | color: #0095dd; |
| 396 | text-decoration: none; |
| 397 | } |
| 398 | |
| 399 | html|a:hover, |
| 400 | .text-link:hover, |
| 401 | .inline-link:hover { |
| 402 | color: #4cb1ff; |
| 403 | text-decoration: none; |
| 404 | } |
| 405 | |
| 406 | html|a:hover:active, |
| 407 | .text-link:hover:active, |
| 408 | .inline-link:hover:active { |
| 409 | color: #ff9500; |
| 410 | text-decoration: none; |
| 411 | } |
| 412 | */ |
| 413 | /* Checkboxes and radio buttons */ |
| 414 | /* |
| 415 | / Hide the actual checkbox / |
| 416 | html|input[type="checkbox"] { |
| 417 | opacity: 0; |
| 418 | position: absolute; |
| 419 | } |
| 420 | |
| 421 | / Create a box to style as the checkbox / |
| 422 | html|input[type="checkbox"] + html|label:before { |
| 423 | display: inline-block; |
| 424 | content: ""; |
| 425 | vertical-align: middle; |
| 426 | } |
| 427 | |
| 428 | html|input[type="checkbox"] + html|label { |
| 429 | line-height: 0px; |
| 430 | } |
| 431 | |
| 432 | xul|checkbox { |
| 433 | -moz-margin-start: 0; |
| 434 | } |
| 435 | |
| 436 | xul|*.checkbox-check, |
| 437 | html|input[type="checkbox"] + html|label:before { |
| 438 | -moz-appearance: none; |
| 439 | width: 23px; |
| 440 | height: 23px; |
| 441 | border-radius: 2px; |
| 442 | border: 1px solid #c1c1c1; |
| 443 | -moz-margin-end: 10px; |
| 444 | background-color: #f1f1f1; |
| 445 | / !important needed to override toolkit checked !important rule / |
| 446 | background-image: linear-gradient(#fff, rgba(255,255,255,0.8)) !important; |
| 447 | background-position: center center; |
| 448 | background-repeat: no-repeat; |
| 449 | box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03); |
| 450 | } |
| 451 | |
| 452 | xul|checkbox:not([disabled="true"]):hover > xul|*.checkbox-check, |
| 453 | html|input[type="checkbox"]:not(:disabled) + html|label:hover:before { |
| 454 | border-color: #0095dd; |
| 455 | } |
| 456 | |
| 457 | xul|*.checkbox-check[checked] { |
| 458 | background-image: url("chrome://global/skin/in-content/check.png"), |
| 459 | / * !important needed to override toolkit !important rule * / |
| 460 | linear-gradient(#fff, rgba(255,255,255,0.8)) !important; |
| 461 | } |
| 462 | |
| 463 | html|input[type="checkbox"]:checked + html|label:before { |
| 464 | background-image: url("chrome://global/skin/in-content/check.svg#check"), linear-gradient(#fff, rgba(255,255,255,0.8)) !important; |
| 465 | } |
| 466 | |
| 467 | xul|checkbox[disabled="true"] > xul|*.checkbox-check, |
| 468 | html|input[type="checkbox"]:disabled + html|label { |
| 469 | opacity: 0.5; |
| 470 | } |
| 471 | |
| 472 | xul|*.checkbox-label-box { |
| 473 | -moz-margin-start: -1px; / * negative margin for the transparent border * / |
| 474 | -moz-padding-start: 0; |
| 475 | } |
| 476 | |
| 477 | xul|richlistitem > xul|*.checkbox-check { |
| 478 | margin: 3px 6px; |
| 479 | } |
| 480 | |
| 481 | xul|*.radio-check { |
| 482 | -moz-appearance: none; |
| 483 | width: 23px; |
| 484 | height: 23px; |
| 485 | border: 1px solid #c1c1c1; |
| 486 | border-radius: 50%; |
| 487 | -moz-margin-end: 10px; |
| 488 | background-color: #f1f1f1; |
| 489 | background-image: linear-gradient(#fff, rgba(255,255,255,0.80)); |
| 490 | box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03); |
| 491 | } |
| 492 | |
| 493 | xul|radio:not([disabled="true"]):hover > xul|*.radio-check { |
| 494 | border-color: #0095dd; |
| 495 | } |
| 496 | |
| 497 | xul|*.radio-check[selected] { |
| 498 | list-style-image: url("chrome://global/skin/in-content/radio.svg#radio"); |
| 499 | } |
| 500 | |
| 501 | xul|radio[disabled="true"] > xul|*.radio-check { |
| 502 | opacity: 0.5; |
| 503 | } |
| 504 | |
| 505 | xul|*.radio-label-box { |
| 506 | -moz-margin-start: -1px; / * negative margin for the transparent border * / |
| 507 | -moz-margin-end: 10px; |
| 508 | -moz-padding-start: 0; |
| 509 | } |
| 510 | */ |
| 511 | /* Category List */ |
| 512 | /* |
| 513 | xul|*#categories { |
| 514 | -moz-appearance: none; |
| 515 | background-color: #424f5a; |
| 516 | padding-top: 39px; |
| 517 | margin: 0; |
| 518 | border-width: 0; |
| 519 | } |
| 520 | |
| 521 | xul|*.category { |
| 522 | -moz-appearance: none; |
| 523 | color: #c1c1c1; |
| 524 | -moz-border-end-width: 0; |
| 525 | -moz-padding-start: 15px; |
| 526 | -moz-padding-end: 21px; |
| 527 | min-height: 40px; |
| 528 | transition: background-color 150ms; |
| 529 | } |
| 530 | |
| 531 | xul|*.category:hover { |
| 532 | background-color: #5e6972; |
| 533 | } |
| 534 | |
| 535 | xul|*.category[selected] { |
| 536 | background-color: #343f48; |
| 537 | color: #f2f2f2; |
| 538 | -moz-padding-start: 11px; / compensate the 4px border / |
| 539 | -moz-border-start: solid 4px #ff9500; |
| 540 | } |
| 541 | |
| 542 | xul|*#categories[keyboard-navigation="true"]:-moz-focusring > xul|*.category[current] { |
| 543 | border-top: 1px #ffffff dotted; |
| 544 | border-bottom: 1px #ffffff dotted; |
| 545 | } |
| 546 | |
| 547 | *|*.category-name { |
| 548 | line-height: 22px; |
| 549 | font-size: 1.25rem; |
| 550 | padding-bottom: 2px; |
| 551 | -moz-padding-start: 9px; |
| 552 | margin: 0; |
| 553 | -moz-user-select: none; |
| 554 | } |
| 555 | |
| 556 | *|*.category-icon { |
| 557 | width: 24px; |
| 558 | height: 24px; |
| 559 | } |
| 560 | */ |
| 561 | /* header */ |
| 562 | /* |
| 563 | *|*.header { |
| 564 | -moz-margin-end: 4px; / add the 4px end-margin of other elements / |
| 565 | border-bottom: 1px solid #c8c8c8; |
| 566 | margin-bottom: 15px; |
| 567 | padding-bottom: 15px; |
| 568 | } |
| 569 | |
| 570 | *|*.header-name { |
| 571 | font-size: 2.5rem; |
| 572 | font-weight: normal; |
| 573 | line-height: 40px; |
| 574 | margin: 0; |
| 575 | -moz-user-select: none; |
| 576 | } |
| 577 | */ |
| 578 | /* File fields */ |
| 579 | /* |
| 580 | xul|filefield { |
| 581 | -moz-appearance: none; |
| 582 | background-color: transparent; |
| 583 | border: none; |
| 584 | padding: 0; |
| 585 | } |
| 586 | |
| 587 | xul|*.fileFieldContentBox { |
| 588 | background-color: transparent; |
| 589 | } |
| 590 | |
| 591 | xul|*.fileFieldIcon { |
| 592 | -moz-margin-start: 10px; |
| 593 | -moz-margin-end: 0; |
| 594 | } |
| 595 | |
| 596 | xul|*.fileFieldLabel { |
| 597 | -moz-margin-start: -26px; |
| 598 | -moz-padding-start: 36px; |
| 599 | } |
| 600 | |
| 601 | xul|textbox:-moz-locale-dir(rtl), |
| 602 | xul|*.fileFieldLabel:-moz-locale-dir(rtl), |
| 603 | xul|textbox + xul|button:-moz-locale-dir(ltr), |
| 604 | xul|filefield + xul|button:-moz-locale-dir(ltr) { |
| 605 | border-top-left-radius: 0; |
| 606 | border-bottom-left-radius: 0; |
| 607 | } |
| 608 | |
| 609 | xul|textbox:-moz-locale-dir(ltr), |
| 610 | xul|*.fileFieldLabel:-moz-locale-dir(ltr), |
| 611 | xul|textbox + xul|button:-moz-locale-dir(rtl), |
| 612 | xul|filefield + xul|button:-moz-locale-dir(rtl) { |
| 613 | border-top-right-radius: 0; |
| 614 | border-bottom-right-radius: 0; |
| 615 | } |
| 616 | |
| 617 | xul|textbox + xul|button, |
| 618 | xul|filefield + xul|button { |
| 619 | -moz-border-start: none; |
| 620 | } |
| 621 | */ |
| 622 | /* List boxes */ |
| 623 | /* |
| 624 | xul|richlistbox, |
| 625 | xul|listbox { |
| 626 | -moz-appearance: none; |
| 627 | -moz-margin-start: 0; |
| 628 | background-color: #fff; |
| 629 | border: 1px solid #c1c1c1; |
| 630 | color: #333; |
| 631 | } |
| 632 | |
| 633 | xul|treechildren::-moz-tree-row, |
| 634 | xul|listbox xul|listitem { |
| 635 | padding: 0.3em; |
| 636 | margin: 0; |
| 637 | border: none; |
| 638 | border-radius: 0; |
| 639 | background-image: none; |
| 640 | } |
| 641 | |
| 642 | xul|treechildren::-moz-tree-row(hover), |
| 643 | xul|listbox xul|listitem:hover { |
| 644 | background-color: rgba(0,149,221,0.25); |
| 645 | } |
| 646 | |
| 647 | xul|treechildren::-moz-tree-row(selected), |
| 648 | xul|listbox xul|listitem[selected="true"] { |
| 649 | background-color: #0095dd; |
| 650 | color: #fff; |
| 651 | } |
| 652 | */ |
| 653 | /* Trees */ |
| 654 | /* |
| 655 | xul|tree { |
| 656 | -moz-appearance: none; |
| 657 | font-size: 1em; |
| 658 | border: 1px solid #c1c1c1; |
| 659 | } |
| 660 | |
| 661 | xul|tree:-moz-focusring, |
| 662 | xul|richlistbox:-moz-focusring { |
| 663 | border: 1px dotted #0095dd; |
| 664 | } |
| 665 | |
| 666 | xul|listheader, |
| 667 | xul|treecols { |
| 668 | -moz-appearance: none; |
| 669 | border: none; |
| 670 | border-bottom: 1px solid #c1c1c1; |
| 671 | padding: 0; |
| 672 | } |
| 673 | |
| 674 | xul|treecol:not([hideheader="true"]), |
| 675 | xul|treecolpicker { |
| 676 | -moz-appearance: none; |
| 677 | border: none; |
| 678 | background-color: #ebebeb; |
| 679 | color: #808080; |
| 680 | padding: 5px 10px; |
| 681 | } |
| 682 | |
| 683 | xul|treecol:not([hideheader="true"]):not([sortable="false"]):hover, |
| 684 | xul|treecolpicker:hover { |
| 685 | background-color: #dadada; |
| 686 | color: #333; |
| 687 | } |
| 688 | |
| 689 | xul|treecol:not([hideheader="true"]):not(:first-child), |
| 690 | xul|treecolpicker { |
| 691 | -moz-border-start-width: 1px; |
| 692 | -moz-border-start-style: solid; |
| 693 | border-image: linear-gradient(transparent 0%, transparent 20%, #c1c1c1 20%, #c1c1c1 80%, transparent 80%, transparent 100%) 1 1; |
| 694 | } |
| 695 | |
| 696 | xul|treecol:not([hideheader="true"]) > xul|*.treecol-sortdirection[sortDirection] { |
| 697 | list-style-image: url("chrome://global/skin/in-content/dropdown.svg#dropdown"); |
| 698 | width: 18px; |
| 699 | height: 18px; |
| 700 | } |
| 701 | |
| 702 | xul|treecol:not([hideheader="true"]) > xul|*.treecol-sortdirection[sortDirection="ascending"] { |
| 703 | transform: scaleY(-1); |
| 704 | } |
| 705 | |
| 706 | / This is the only way to increase the height of a tree row unfortunately / |
| 707 | xul|treechildren::-moz-tree-row { |
| 708 | min-height: 2em; |
| 709 | } |
| 710 | |
| 711 | / Color needs to be set on tree cell in order to be applied / |
| 712 | xul|treechildren::-moz-tree-cell-text { |
| 713 | color: #333; |
| 714 | } |
| 715 | |
| 716 | xul|treechildren::-moz-tree-cell-text(selected) { |
| 717 | color: #fff; |
| 718 | } |
| 719 | */ |
| 720 | /* === END common.inc.css === */ |
| 721 | /* |
| 722 | xul|caption { |
| 723 | background-color: transparent; |
| 724 | } |
| 725 | |
| 726 | xul|button, |
| 727 | html|button, |
| 728 | xul|colorpicker[type="button"], |
| 729 | xul|menulist { |
| 730 | margin: 2px 4px; |
| 731 | } |
| 732 | |
| 733 | xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker { |
| 734 | margin-top: 1px; |
| 735 | margin-bottom: 1px; |
| 736 | } |
| 737 | |
| 738 | xul|checkbox { |
| 739 | -moz-padding-start: 0; |
| 740 | } |
| 741 | |
| 742 | xul|radio { |
| 743 | -moz-binding: url("chrome://global/content/bindings/radio.xml#radio"); |
| 744 | -moz-padding-start: 0; |
| 745 | } |
| 746 | |
| 747 | xul|*.radio-icon, |
| 748 | xul|*.checkbox-icon { |
| 749 | -moz-margin-end: 0; |
| 750 | } |
| 751 | |
| 752 | html|a:-moz-focusring, |
| 753 | .text-link:-moz-focusring, |
| 754 | .inline-link:-moz-focusring { |
| 755 | border: 1px dotted -moz-DialogText; |
| 756 | } |
| 757 | */ |