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/. */
5 /* === BEGIN common.inc.css === */
7 @namespace html "http://www.w3.org/1999/xhtml";
8 @namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
12 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
13 -moz-appearance: none;
14 background-color: #CCD0DD;
35 xul|caption > xul|label {
41 padding: 40px 48px 48px;
45 xul|prefpane > xul|*.content-box {
52 -moz-appearance: none;
57 -moz-padding-start: 0;
62 xul|groupbox xul|label {
63 / !important needed to override toolkit !important rule /
64 -moz-margin-start: 0 !important;
65 -moz-margin-end: 0 !important;
68 /* tabpanels and tabs */
71 -moz-appearance: none;
76 background-color: transparent;
81 border-top: 1px solid #c1c1c1;
82 border-bottom: 1px solid #c1c1c1;
83 background-color: #fbfbfb;
92 -moz-appearance: none;
97 background-color: #fbfbfb;
99 transition: background-color 50ms ease 0s;
103 background-color: #ebebeb;
107 background-color: #ebebeb;
108 box-shadow: inset 0 -4px 0 0 #ff9500;
120 border: 1px outset #CCD0DD;
121 background-color: #CCD0DD;
123 / * override forms.css * /
127 /* xul buttons and menulists */
130 xul|colorpicker[type="button"],
132 -moz-appearance: none;
136 text-shadow: 0 1px 1px #fefffe;
137 border: 1px solid #c1c1c1;
138 -moz-border-top-colors: none !important;
139 -moz-border-right-colors: none !important;
140 -moz-border-bottom-colors: none !important;
141 -moz-border-left-colors: none !important;
143 background-color: #fbfbfb;
146 html|button:enabled:hover,
147 xul|button:not([disabled="true"]):hover,
148 xul|colorpicker[type="button"]:not([disabled="true"]):hover,
149 xul|menulist:not([disabled="true"]):hover {
152 html|button:enabled:hover:active,
153 xul|button:not([disabled="true"]):hover:active,
154 xul|colorpicker[type="button"]:not([disabled="true"]):hover:active,
155 xul|menulist[open="true"]:not([disabled="true"]) {
156 border: 1px inset #CCD0DD;
159 html|button:disabled,
160 xul|button[disabled="true"],
161 xul|colorpicker[type="button"][disabled="true"],
162 xul|menulist[disabled="true"] {
164 border: 1px outset #CCD0DD;
168 xul|colorpicker[type="button"] {
173 xul|button > xul|*.button-box,
174 xul|menulist > xul|*.menulist-label-box {
175 padding-right: 10px !important;
176 padding-left: 10px !important;
179 xul|menulist > xul|*.menulist-label-box > xul|*.menulist-icon {
180 -moz-margin-end: 5px;
183 xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
184 -moz-appearance: none;
186 -moz-margin-start: 10px;
191 background-color: transparent;
192 list-style-image: url("chrome://global/skin/in-content/dropdown.png");
198 border: 1px solid #c1c1c1;
199 background-color: #ffcb00;
200 background-image: none;
204 xul|*.help-button:not([disabled="true"]):hover {
205 background-color: #f4c200;
206 background-image: none;
209 xul|*.help-button:not([disabled="true"]):hover:active {
210 background-color: #eaba00;
211 background-image: none;
214 xul|*.close-icon > xul|*.button-box,
215 xul|*.help-button > xul|*.button-box {
218 padding-right: 0 !important;
219 padding-left: 0 !important;
222 xul|*.help-button > xul|*.button-box > xul|*.button-icon {
225 background-image: url("chrome://global/skin/in-content/help-glyph.png");
226 background-position: center;
229 @media (min-resolution: 2dppx) {
230 xul|*.help-button > xul|*.button-box > xul|*.button-icon {
231 background-size: 26px 26px;
232 background-image: url("chrome://global/skin/in-content/help-glyph@2x.png");
236 xul|*.help-button > xul|*.button-box > xul|*.button-text {
240 xul|*.spinbuttons-button {
241 -moz-margin-start: 10px !important;
242 -moz-margin-end: 2px !important;
245 xul|*.spinbuttons-up {
246 margin-top: 2px !important;
247 border-radius: 1px 1px 0 0;
250 xul|*.spinbuttons-down {
251 margin-bottom: 2px !important;
252 border-radius: 0 0 1px 1px;
255 xul|*.spinbuttons-button > xul|*.button-box {
256 padding: 1px 5px 2px !important;
259 xul|*.spinbuttons-up > xul|*.button-box > xul|*.button-icon {
260 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
263 xul|*.spinbuttons-up[disabled="true"] > xul|*.button-box > xul|*.button-icon {
264 list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif");
267 xul|*.spinbuttons-down > xul|*.button-box > xul|*.button-icon {
268 list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
271 xul|*.spinbuttons-down[disabled="true"] > xul|*.button-box > xul|*.button-icon {
272 list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
275 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
276 -moz-appearance: none;
277 -moz-margin-end: 10px;
280 background-color: transparent;
281 list-style-image: url("chrome://global/skin/in-content/dropdown.png");
284 xul|menulist[disabled="true"]:not([editable="true"]) > xul|*.menulist-dropmarker {
285 list-style-image: url("chrome://global/skin/in-content/dropdown-disabled.png")
288 @media (min-resolution: 2dppx) {
289 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker,
290 xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
291 list-style-image: url("chrome://global/skin/in-content/dropdown@2x.png");
294 xul|menulist[disabled="true"]:not([editable="true"]) > xul|*.menulist-dropmarker {
295 list-style-image: url("chrome://global/skin/in-content/dropdown-disabled@2x.png")
298 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker > xul|*.dropmarker-icon,
299 xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker > xul|*.dropmarker-icon {
305 xul|menulist > xul|menupopup,
306 xul|button[type="menu"] > xul|menupopup {
307 -moz-appearance: none;
308 border: 1px solid rgba(23,50,77,0.4);
310 background-color: #fff;
313 xul|menulist > xul|menupopup xul|menu,
314 xul|menulist > xul|menupopup xul|menuitem,
315 xul|button[type="menu"] > xul|menupopup xul|menu,
316 xul|button[type="menu"] > xul|menupopup xul|menuitem {
317 -moz-appearance: none;
322 -moz-padding-start: 10px;
323 -moz-padding-end: 30px;
326 xul|menulist > xul|menupopup > xul|menu[_moz-menuactive="true"],
327 xul|menulist > xul|menupopup > xul|menuitem[_moz-menuactive="true"],
328 xul|button[type="menu"] > xul|menupopup > xul|menu[_moz-menuactive="true"],
329 xul|button[type="menu"] > xul|menupopup > xul|menuitem[_moz-menuactive="true"] {
331 background-color: transparent;
332 background-image: linear-gradient(rgba(76,177,255,0.25), rgba(23,146,229,0.25));
335 xul|menulist > xul|menupopup > xul|menu[selected="true"],
336 xul|menulist > xul|menupopup > xul|menuitem[selected="true"],
337 xul|button[type="menu"] > xul|menupopup > xul|menu[selected="true"],
338 xul|button[type="menu"] > xul|menupopup > xul|menuitem[selected="true"] {
340 background-image: linear-gradient(#4cb1ff, #1792e5);
343 xul|menulist > xul|menupopup xul|menuseparator,
344 xul|button[type="menu"] > xul|menupopup xul|menuseparator {
345 -moz-appearance: none;
349 border-top: 1px solid rgba(23,50,77,0.4);
356 -moz-appearance: none;
360 text-shadow: 0 1px 1px #fefffe;
363 border: 1px solid #c1c1c1;
364 -moz-border-top-colors: none !important;
365 -moz-border-right-colors: none !important;
366 -moz-border-bottom-colors: none !important;
367 -moz-border-left-colors: none !important;
369 background-color: #fff;
373 xul|textbox[focused] {
374 border-color: #0095dd;
377 html|textbox:disabled,
378 xul|textbox[disabled="true"] {
390 text-decoration: none;
394 xul|*.text-link:hover,
395 xul|*.inline-link:hover {
397 text-decoration: none;
401 xul|*.text-link:hover:active,
402 xul|*.inline-link:hover:active {
404 text-decoration: none;
407 /* Checkboxes and radio buttons */
410 -moz-margin-start: 0;
413 xul|*.checkbox-check {
414 -moz-appearance: none;
418 border: 1px solid #c1c1c1;
419 -moz-margin-end: 10px;
420 background-color: #f1f1f1;
421 background-image: linear-gradient(#fff, rgba(255,255,255,0.8));
422 background-position: center center;
423 background-repeat: no-repeat;
424 box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
427 xul|checkbox:not([disabled="true"]):hover > xul|*.checkbox-check {
428 border-color: #0095dd;
431 xul|*.checkbox-check[checked] {
432 background-image: url("chrome://global/skin/in-content/check.png"),
433 / * !important needed to override toolkit !important rule * /
434 linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
437 xul|checkbox[disabled="true"] > xul|*.checkbox-check {
441 xul|*.checkbox-label-box {
442 -moz-margin-start: -1px; / * negative margin for the transparent border * /
443 -moz-padding-start: 0;
446 @media (min-resolution: 2dppx) {
447 xul|*.checkbox-check[checked] {
448 background-size: 12px 12px, auto;
449 background-image: url("chrome://global/skin/in-content/check@2x.png"),
450 linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
454 xul|richlistitem > xul|*.checkbox-check {
459 -moz-appearance: none;
462 border: 1px solid #c1c1c1;
464 -moz-margin-end: 10px;
465 background-color: #f1f1f1;
466 background-image: linear-gradient(#fff, rgba(255,255,255,0.80));
467 box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
470 xul|radio:not([disabled="true"]):hover > xul|*.radio-check {
471 border-color: #0095dd;
474 xul|*.radio-check[selected] {
475 background-image: radial-gradient(circle, rgb(23,146,229),
476 rgb(76,177,255) 5.5px, rgba(76,177,255,0.2) 6px,
478 linear-gradient(rgb(255,255,255), rgba(255,255,255,0.8));
481 xul|radio[disabled="true"] > xul|*.radio-check {
485 xul|*.radio-label-box {
486 -moz-margin-start: -1px; / * negative margin for the transparent border * /
487 -moz-margin-end: 10px;
488 -moz-padding-start: 0;
494 -moz-appearance: none;
495 background-color: #424f5a;
501 -moz-appearance: none;
503 -moz-border-end-width: 0;
504 -moz-padding-start: 15px;
505 -moz-padding-end: 21px;
507 transition: background-color 150ms;
510 xul|*.category:hover {
511 background-color: #5e6972;
514 xul|*.category[selected] {
515 background-color: #343f48;
517 box-shadow: inset 4px 0 0 0 #ff9500;
520 xul|*#categories[keyboard-navigation="true"]:-moz-focusring > xul|*.category[current] {
521 border-top: 1px #ffffff dotted;
522 border-bottom: 1px #ffffff dotted;
529 -moz-padding-start: 9px;
541 border-bottom: 1px solid #c8c8c8;
543 padding-bottom: 15px;
556 -moz-appearance: none;
557 background-color: transparent;
562 xul|*.fileFieldContentBox {
563 background-color: transparent;
566 xul|*.fileFieldIcon {
567 -moz-margin-start: 10px;
571 xul|*.fileFieldLabel {
572 -moz-margin-start: -26px;
573 -moz-padding-start: 36px;
576 xul|textbox:-moz-locale-dir(rtl),
577 xul|*.fileFieldLabel:-moz-locale-dir(rtl),
578 xul|textbox + xul|button:-moz-locale-dir(ltr),
579 xul|filefield + xul|button:-moz-locale-dir(ltr) {
580 border-top-left-radius: 0;
581 border-bottom-left-radius: 0;
584 xul|textbox:-moz-locale-dir(ltr),
585 xul|*.fileFieldLabel:-moz-locale-dir(ltr),
586 xul|textbox + xul|button:-moz-locale-dir(rtl),
587 xul|filefield + xul|button:-moz-locale-dir(rtl) {
588 border-top-right-radius: 0;
589 border-bottom-right-radius: 0;
592 xul|textbox + xul|button,
593 xul|filefield + xul|button {
594 -moz-border-start: none;
597 /* === END common.inc.css === */
600 background-color: transparent;
604 xul|colorpicker[type="button"],
609 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
615 -moz-padding-start: 0;
619 -moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
620 -moz-margin-start: 0;
621 -moz-padding-start: 0;
625 xul|*.checkbox-icon {
629 html|a:-moz-focusring,
630 xul|*.text-link:-moz-focusring,
631 xul|*.inline-link:-moz-focusring {
632 border: 1px dotted -moz-DialogText;