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: #000000;
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;
119 border-radius: 300px;
121 background-color: #C09070;
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 {
150 background-color: #FFCF00;
154 html|button:enabled:hover:active,
155 xul|button:not([disabled="true"]):hover:active,
156 xul|colorpicker[type="button"]:not([disabled="true"]):hover:active,
157 xul|menulist[open="true"]:not([disabled="true"]) {
158 background-color: #FF9F00;
162 html|button:disabled,
163 xul|button[disabled="true"],
164 xul|colorpicker[type="button"][disabled="true"],
165 xul|menulist[disabled="true"] {
167 background-color: #402858;
171 xul|colorpicker[type="button"] {
176 xul|button > xul|*.button-box,
177 xul|menulist > xul|*.menulist-label-box {
178 padding-right: 10px !important;
179 padding-left: 10px !important;
182 xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
183 -moz-appearance: none;
185 -moz-margin-start: 10px;
190 background-color: transparent;
191 list-style-image: url("chrome://global/skin/in-content/dropdown.png");
197 border: 1px solid #c1c1c1;
198 background-color: #ffcb00;
199 background-image: none;
203 xul|*.help-button:not([disabled="true"]):hover {
204 background-color: #f4c200;
205 background-image: none;
208 xul|*.help-button:not([disabled="true"]):hover:active {
209 background-color: #eaba00;
210 background-image: none;
213 xul|*.close-icon > xul|*.button-box,
214 xul|*.help-button > xul|*.button-box {
217 padding-right: 0 !important;
218 padding-left: 0 !important;
221 xul|*.help-button > xul|*.button-box > xul|*.button-icon {
224 background-image: url("chrome://global/skin/in-content/help-glyph.png");
225 background-position: center;
228 @media (min-resolution: 2dppx) {
229 xul|*.help-button > xul|*.button-box > xul|*.button-icon {
230 background-size: 26px 26px;
231 background-image: url("chrome://global/skin/in-content/help-glyph@2x.png");
235 xul|*.help-button > xul|*.button-box > xul|*.button-text {
239 xul|*.spinbuttons-button {
240 -moz-margin-start: 10px !important;
241 -moz-margin-end: 2px !important;
244 xul|*.spinbuttons-up {
245 margin-top: 2px !important;
246 border-radius: 1px 1px 0 0;
249 xul|*.spinbuttons-down {
250 margin-bottom: 2px !important;
251 border-radius: 0 0 1px 1px;
254 xul|*.spinbuttons-button > xul|*.button-box {
255 padding: 1px 5px 2px !important;
258 xul|*.spinbuttons-up > xul|*.button-box > xul|*.button-icon {
259 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
262 xul|*.spinbuttons-up[disabled="true"] > xul|*.button-box > xul|*.button-icon {
263 list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif");
266 xul|*.spinbuttons-down > xul|*.button-box > xul|*.button-icon {
267 list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
270 xul|*.spinbuttons-down[disabled="true"] > xul|*.button-box > xul|*.button-icon {
271 list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
274 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
275 -moz-appearance: none;
276 -moz-margin-end: 10px;
279 background-color: transparent;
280 list-style-image: url("chrome://global/skin/in-content/dropdown.png");
283 xul|menulist[disabled="true"]:not([editable="true"]) > xul|*.menulist-dropmarker {
284 list-style-image: url("chrome://global/skin/in-content/dropdown-disabled.png")
287 @media (min-resolution: 2dppx) {
288 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker,
289 xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
290 list-style-image: url("chrome://global/skin/in-content/dropdown@2x.png");
293 xul|menulist[disabled="true"]:not([editable="true"]) > xul|*.menulist-dropmarker {
294 list-style-image: url("chrome://global/skin/in-content/dropdown-disabled@2x.png")
297 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker > xul|*.dropmarker-icon,
298 xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker > xul|*.dropmarker-icon {
304 xul|menulist > xul|menupopup,
305 xul|button[type="menu"] > xul|menupopup {
306 -moz-appearance: none;
307 border: 1px solid rgba(23,50,77,0.4);
309 background-color: #fff;
312 xul|menulist > xul|menupopup xul|menu,
313 xul|menulist > xul|menupopup xul|menuitem,
314 xul|button[type="menu"] > xul|menupopup xul|menu,
315 xul|button[type="menu"] > xul|menupopup xul|menuitem {
316 -moz-appearance: none;
321 -moz-padding-start: 10px;
322 -moz-padding-end: 30px;
325 xul|menulist > xul|menupopup > xul|menu[_moz-menuactive="true"],
326 xul|menulist > xul|menupopup > xul|menuitem[_moz-menuactive="true"],
327 xul|button[type="menu"] > xul|menupopup > xul|menu[_moz-menuactive="true"],
328 xul|button[type="menu"] > xul|menupopup > xul|menuitem[_moz-menuactive="true"] {
330 background-color: transparent;
331 background-image: linear-gradient(rgba(76,177,255,0.25), rgba(23,146,229,0.25));
334 xul|menulist > xul|menupopup > xul|menu[selected="true"],
335 xul|menulist > xul|menupopup > xul|menuitem[selected="true"],
336 xul|button[type="menu"] > xul|menupopup > xul|menu[selected="true"],
337 xul|button[type="menu"] > xul|menupopup > xul|menuitem[selected="true"] {
339 background-image: linear-gradient(#4cb1ff, #1792e5);
342 xul|menulist > xul|menupopup xul|menuseparator,
343 xul|button[type="menu"] > xul|menupopup xul|menuseparator {
344 -moz-appearance: none;
348 border-top: 1px solid rgba(23,50,77,0.4);
355 -moz-appearance: none;
359 text-shadow: 0 1px 1px #fefffe;
362 border: 1px solid #c1c1c1;
363 -moz-border-top-colors: none !important;
364 -moz-border-right-colors: none !important;
365 -moz-border-bottom-colors: none !important;
366 -moz-border-left-colors: none !important;
368 background-color: #fff;
372 xul|textbox[focused] {
373 border-color: #0095dd;
376 html|textbox:disabled,
377 xul|textbox[disabled="true"] {
389 text-decoration: none;
393 xul|*.text-link:hover,
394 xul|*.inline-link:hover {
396 text-decoration: none;
400 xul|*.text-link:hover:active,
401 xul|*.inline-link:hover:active {
403 text-decoration: none;
406 /* Checkboxes and radio buttons */
409 -moz-margin-start: 0;
412 xul|*.checkbox-check {
413 -moz-appearance: none;
417 border: 1px solid #c1c1c1;
418 -moz-margin-end: 10px;
419 background-color: #f1f1f1;
420 background-image: linear-gradient(#fff, rgba(255,255,255,0.8));
421 background-position: center center;
422 background-repeat: no-repeat;
423 box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
426 xul|checkbox:not([disabled="true"]):hover > xul|*.checkbox-check {
427 border-color: #0095dd;
430 xul|*.checkbox-check[checked] {
431 background-image: url("chrome://global/skin/in-content/check.png"),
432 / * !important needed to override toolkit !important rule * /
433 linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
436 xul|checkbox[disabled="true"] > xul|*.checkbox-check {
440 xul|*.checkbox-label-box {
441 -moz-margin-start: -1px; / * negative margin for the transparent border * /
442 -moz-padding-start: 0;
445 @media (min-resolution: 2dppx) {
446 xul|*.checkbox-check[checked] {
447 background-size: 12px 12px, auto;
448 background-image: url("chrome://global/skin/in-content/check@2x.png"),
449 linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
454 -moz-appearance: none;
457 border: 1px solid #c1c1c1;
459 -moz-margin-end: 10px;
460 background-color: #f1f1f1;
461 background-image: linear-gradient(#fff, rgba(255,255,255,0.80));
462 box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
465 xul|radio:not([disabled="true"]):hover > xul|*.radio-check {
466 border-color: #0095dd;
469 xul|*.radio-check[selected] {
470 background-image: radial-gradient(circle, rgb(23,146,229),
471 rgb(76,177,255) 5.5px, rgba(76,177,255,0.2) 6px,
473 linear-gradient(rgb(255,255,255), rgba(255,255,255,0.8));
476 xul|radio[disabled="true"] > xul|*.radio-check {
480 xul|*.radio-label-box {
481 -moz-margin-start: -1px; / * negative margin for the transparent border * /
482 -moz-margin-end: 10px;
483 -moz-padding-start: 0;
489 -moz-appearance: none;
490 background-color: #424f5a;
496 -moz-appearance: none;
498 -moz-border-end-width: 0;
499 -moz-padding-start: 15px;
500 -moz-padding-end: 21px;
502 transition: background-color 150ms;
505 xul|*.category:hover {
506 background-color: #5e6972;
509 xul|*.category[selected] {
510 background-color: #343f48;
512 box-shadow: inset 4px 0 0 0 #ff9500;
515 xul|*#categories[keyboard-navigation="true"]:-moz-focusring > xul|*.category[current] {
516 border-top: 1px #ffffff dotted;
517 border-bottom: 1px #ffffff dotted;
524 -moz-padding-start: 9px;
536 /* border-bottom: 1px solid #A09090;
538 padding-bottom: 15px; */
551 -moz-appearance: none;
552 background-color: transparent;
557 xul|*.fileFieldContentBox {
558 background-color: transparent;
561 xul|*.fileFieldIcon {
562 -moz-margin-start: 10px;
566 xul|*.fileFieldLabel {
567 -moz-margin-start: -26px;
568 -moz-padding-start: 36px;
571 xul|textbox:-moz-locale-dir(rtl),
572 xul|*.fileFieldLabel:-moz-locale-dir(rtl),
573 xul|textbox + xul|button:-moz-locale-dir(ltr),
574 xul|filefield + xul|button:-moz-locale-dir(ltr) {
575 border-top-left-radius: 0;
576 border-bottom-left-radius: 0;
579 xul|textbox:-moz-locale-dir(ltr),
580 xul|*.fileFieldLabel:-moz-locale-dir(ltr),
581 xul|textbox + xul|button:-moz-locale-dir(rtl),
582 xul|filefield + xul|button:-moz-locale-dir(rtl) {
583 border-top-right-radius: 0;
584 border-bottom-right-radius: 0;
587 xul|textbox + xul|button,
588 xul|filefield + xul|button {
589 -moz-border-start: none;
592 /* === END common.inc.css === */
595 background-color: transparent;
599 xul|colorpicker[type="button"],
604 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
610 -moz-padding-start: 0;
614 -moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
615 -moz-margin-start: 0;
616 -moz-padding-start: 0;
620 xul|*.checkbox-icon {
624 html|a:-moz-focusring,
625 xul|*.text-link:-moz-focusring,
626 xul|*.inline-link:-moz-focusring {
627 border: 1px dotted -moz-DialogText;