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|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
180 -moz-appearance: none;
182 -moz-margin-start: 10px;
187 background-color: transparent;
188 list-style-image: url("chrome://global/skin/in-content/dropdown.png");
194 border: 1px solid #c1c1c1;
195 background-color: #ffcb00;
196 background-image: none;
200 xul|*.help-button:not([disabled="true"]):hover {
201 background-color: #f4c200;
202 background-image: none;
205 xul|*.help-button:not([disabled="true"]):hover:active {
206 background-color: #eaba00;
207 background-image: none;
210 xul|*.close-icon > xul|*.button-box,
211 xul|*.help-button > xul|*.button-box {
214 padding-right: 0 !important;
215 padding-left: 0 !important;
218 xul|*.help-button > xul|*.button-box > xul|*.button-icon {
221 background-image: url("chrome://global/skin/in-content/help-glyph.png");
222 background-position: center;
225 @media (min-resolution: 2dppx) {
226 xul|*.help-button > xul|*.button-box > xul|*.button-icon {
227 background-size: 26px 26px;
228 background-image: url("chrome://global/skin/in-content/help-glyph@2x.png");
232 xul|*.help-button > xul|*.button-box > xul|*.button-text {
236 xul|*.spinbuttons-button {
237 -moz-margin-start: 10px !important;
238 -moz-margin-end: 2px !important;
241 xul|*.spinbuttons-up {
242 margin-top: 2px !important;
243 border-radius: 1px 1px 0 0;
246 xul|*.spinbuttons-down {
247 margin-bottom: 2px !important;
248 border-radius: 0 0 1px 1px;
251 xul|*.spinbuttons-button > xul|*.button-box {
252 padding: 1px 5px 2px !important;
255 xul|*.spinbuttons-up > xul|*.button-box > xul|*.button-icon {
256 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
259 xul|*.spinbuttons-up[disabled="true"] > xul|*.button-box > xul|*.button-icon {
260 list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif");
263 xul|*.spinbuttons-down > xul|*.button-box > xul|*.button-icon {
264 list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
267 xul|*.spinbuttons-down[disabled="true"] > xul|*.button-box > xul|*.button-icon {
268 list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
271 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
272 -moz-appearance: none;
273 -moz-margin-end: 10px;
276 background-color: transparent;
277 list-style-image: url("chrome://global/skin/in-content/dropdown.png");
280 xul|menulist[disabled="true"]:not([editable="true"]) > xul|*.menulist-dropmarker {
281 list-style-image: url("chrome://global/skin/in-content/dropdown-disabled.png")
284 @media (min-resolution: 2dppx) {
285 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker,
286 xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
287 list-style-image: url("chrome://global/skin/in-content/dropdown@2x.png");
290 xul|menulist[disabled="true"]:not([editable="true"]) > xul|*.menulist-dropmarker {
291 list-style-image: url("chrome://global/skin/in-content/dropdown-disabled@2x.png")
294 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker > xul|*.dropmarker-icon,
295 xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker > xul|*.dropmarker-icon {
301 xul|menulist > xul|menupopup,
302 xul|button[type="menu"] > xul|menupopup {
303 -moz-appearance: none;
304 border: 1px solid rgba(23,50,77,0.4);
306 background-color: #fff;
309 xul|menulist > xul|menupopup xul|menu,
310 xul|menulist > xul|menupopup xul|menuitem,
311 xul|button[type="menu"] > xul|menupopup xul|menu,
312 xul|button[type="menu"] > xul|menupopup xul|menuitem {
313 -moz-appearance: none;
318 -moz-padding-start: 10px;
319 -moz-padding-end: 30px;
322 xul|menulist > xul|menupopup > xul|menu[_moz-menuactive="true"],
323 xul|menulist > xul|menupopup > xul|menuitem[_moz-menuactive="true"],
324 xul|button[type="menu"] > xul|menupopup > xul|menu[_moz-menuactive="true"],
325 xul|button[type="menu"] > xul|menupopup > xul|menuitem[_moz-menuactive="true"] {
327 background-color: transparent;
328 background-image: linear-gradient(rgba(76,177,255,0.25), rgba(23,146,229,0.25));
331 xul|menulist > xul|menupopup > xul|menu[selected="true"],
332 xul|menulist > xul|menupopup > xul|menuitem[selected="true"],
333 xul|button[type="menu"] > xul|menupopup > xul|menu[selected="true"],
334 xul|button[type="menu"] > xul|menupopup > xul|menuitem[selected="true"] {
336 background-image: linear-gradient(#4cb1ff, #1792e5);
339 xul|menulist > xul|menupopup xul|menuseparator,
340 xul|button[type="menu"] > xul|menupopup xul|menuseparator {
341 -moz-appearance: none;
345 border-top: 1px solid rgba(23,50,77,0.4);
352 -moz-appearance: none;
356 text-shadow: 0 1px 1px #fefffe;
359 border: 1px solid #c1c1c1;
360 -moz-border-top-colors: none !important;
361 -moz-border-right-colors: none !important;
362 -moz-border-bottom-colors: none !important;
363 -moz-border-left-colors: none !important;
365 background-color: #fff;
369 xul|textbox[focused] {
370 border-color: #0095dd;
373 html|textbox:disabled,
374 xul|textbox[disabled="true"] {
386 text-decoration: none;
390 xul|*.text-link:hover,
391 xul|*.inline-link:hover {
393 text-decoration: none;
397 xul|*.text-link:hover:active,
398 xul|*.inline-link:hover:active {
400 text-decoration: none;
403 /* Checkboxes and radio buttons */
406 -moz-margin-start: 0;
409 xul|*.checkbox-check {
410 -moz-appearance: none;
414 border: 1px solid #c1c1c1;
415 -moz-margin-end: 10px;
416 background-color: #f1f1f1;
417 background-image: linear-gradient(#fff, rgba(255,255,255,0.8));
418 background-position: center center;
419 background-repeat: no-repeat;
420 box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
423 xul|checkbox:not([disabled="true"]):hover > xul|*.checkbox-check {
424 border-color: #0095dd;
427 xul|*.checkbox-check[checked] {
428 background-image: url("chrome://global/skin/in-content/check.png"),
429 / * !important needed to override toolkit !important rule * /
430 linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
433 xul|checkbox[disabled="true"] > xul|*.checkbox-check {
437 xul|*.checkbox-label-box {
438 -moz-margin-start: -1px; / * negative margin for the transparent border * /
439 -moz-padding-start: 0;
442 @media (min-resolution: 2dppx) {
443 xul|*.checkbox-check[checked] {
444 background-size: 12px 12px, auto;
445 background-image: url("chrome://global/skin/in-content/check@2x.png"),
446 linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
451 -moz-appearance: none;
454 border: 1px solid #c1c1c1;
456 -moz-margin-end: 10px;
457 background-color: #f1f1f1;
458 background-image: linear-gradient(#fff, rgba(255,255,255,0.80));
459 box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
462 xul|radio:not([disabled="true"]):hover > xul|*.radio-check {
463 border-color: #0095dd;
466 xul|*.radio-check[selected] {
467 background-image: radial-gradient(circle, rgb(23,146,229),
468 rgb(76,177,255) 5.5px, rgba(76,177,255,0.2) 6px,
470 linear-gradient(rgb(255,255,255), rgba(255,255,255,0.8));
473 xul|radio[disabled="true"] > xul|*.radio-check {
477 xul|*.radio-label-box {
478 -moz-margin-start: -1px; / * negative margin for the transparent border * /
479 -moz-margin-end: 10px;
480 -moz-padding-start: 0;
486 -moz-appearance: none;
487 background-color: #424f5a;
493 -moz-appearance: none;
495 -moz-border-end-width: 0;
496 -moz-padding-start: 15px;
497 -moz-padding-end: 21px;
499 transition: background-color 150ms;
502 xul|*.category:hover {
503 background-color: #5e6972;
506 xul|*.category[selected] {
507 background-color: #343f48;
509 box-shadow: inset 4px 0 0 0 #ff9500;
512 xul|*#categories[keyboard-navigation="true"]:-moz-focusring > xul|*.category[current] {
513 border-top: 1px #ffffff dotted;
514 border-bottom: 1px #ffffff dotted;
521 -moz-padding-start: 9px;
533 border-bottom: 1px solid #c8c8c8;
535 padding-bottom: 15px;
548 -moz-appearance: none;
549 background-color: transparent;
554 xul|*.fileFieldContentBox {
555 background-color: transparent;
558 xul|*.fileFieldIcon {
559 -moz-margin-start: 10px;
563 xul|*.fileFieldLabel {
564 -moz-margin-start: -26px;
565 -moz-padding-start: 36px;
568 xul|textbox:-moz-locale-dir(rtl),
569 xul|*.fileFieldLabel:-moz-locale-dir(rtl),
570 xul|textbox + xul|button:-moz-locale-dir(ltr),
571 xul|filefield + xul|button:-moz-locale-dir(ltr) {
572 border-top-left-radius: 0;
573 border-bottom-left-radius: 0;
576 xul|textbox:-moz-locale-dir(ltr),
577 xul|*.fileFieldLabel:-moz-locale-dir(ltr),
578 xul|textbox + xul|button:-moz-locale-dir(rtl),
579 xul|filefield + xul|button:-moz-locale-dir(rtl) {
580 border-top-right-radius: 0;
581 border-bottom-right-radius: 0;
584 xul|textbox + xul|button,
585 xul|filefield + xul|button {
586 -moz-border-start: none;
589 /* === END common.inc.css === */
592 background-color: transparent;
596 xul|colorpicker[type="button"],
601 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
607 -moz-padding-start: 0;
611 -moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
612 -moz-margin-start: 0;
613 -moz-padding-start: 0;
617 xul|*.checkbox-icon {
621 html|a:-moz-focusring,
622 xul|*.text-link:-moz-focusring,
623 xul|*.inline-link:-moz-focusring {
624 border: 1px dotted -moz-DialogText;