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";
13 font: 11px "Liberation Sans",Arial,Tahoma,Helvetica,sans-serif;
14 -moz-appearance: none;
15 background-color: #000000;
35 border-style: solid none none none;
36 border-color: #9C9CFF;
42 xul|caption > xul|checkbox,
43 xul|caption > xul|label {
54 -moz-padding-end: 48px; /* orig is 44px to compensate the 4px margin of child elements */
56 -moz-padding-start: 48px;
60 xul|prefpane > xul|*.content-box {
67 -moz-appearance: none;
70 -moz-padding-start: 0;
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;
81 /* tabpanels and tabs */
84 -moz-appearance: none;
89 background-color: transparent;
95 border-top: 1px solid #c1c1c1;
96 border-bottom: 1px solid #c1c1c1;
97 background-color: #fbfbfb;
106 -moz-appearance: none;
111 background-color: #fbfbfb;
113 transition: background-color 50ms ease 0s;
117 background-color: #ebebeb;
120 xul|tab[visuallyselected] {
121 background-color: #ebebeb;
122 padding-bottom: 0; / compensate the 4px border /
123 border-bottom: 4px solid #ff9500;
134 border-radius: 300px;
136 background-color: #C09070;
138 /* override forms.css */
142 /* xul buttons and menulists */
145 xul|colorpicker[type="button"],
147 -moz-appearance: none;
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;
157 background-color: #fbfbfb;
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;
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;
176 html|button:disabled,
177 xul|button[disabled="true"],
178 xul|colorpicker[type="button"][disabled="true"],
179 xul|menulist[disabled="true"] {
181 background-color: #402858;
186 background-color: #A06060;
189 html|button.primary:enabled:hover,
190 xul|button.primary:not([disabled="true"]):hover {
191 background-color: #FFCF00;
194 html|button.primary:enabled:hover:active,
195 xul|button.primary:not([disabled="true"]):hover:active {
196 background-color: #FF9F00;
199 xul|colorpicker[type="button"] {
204 xul|button > xul|*.button-box,
205 xul|menulist > xul|*.menulist-label-box {
206 padding-right: 10px !important;
207 padding-left: 10px !important;
210 xul|menulist > xul|*.menulist-label-box > xul|*.menulist-icon[src] {
211 -moz-margin-end: 5px;
214 xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
215 -moz-appearance: none;
217 -moz-margin-start: 10px;
222 background-color: transparent;
223 list-style-image: url("chrome://global/skin/in-content/dropdown.svg#dropdown");
232 background-color: #ffcb00;
233 background-image: none;
236 list-style-image: url("chrome://global/skin/in-content/help-glyph.svg");
239 xul|*.help-button:not([disabled="true"]):hover {
240 background-color: #f4c200;
241 background-image: none;
244 xul|*.help-button:not([disabled="true"]):hover:active {
245 background-color: #eaba00;
246 background-image: none;
249 xul|*.close-icon > xul|*.button-box,
250 xul|*.help-button > xul|*.button-box {
253 padding-right: 0 !important;
254 padding-left: 0 !important;
257 xul|*.help-button > xul|*.button-box > xul|*.button-icon {
262 xul|*.help-button > xul|*.button-box > xul|*.button-text {
266 xul|*.spinbuttons-button {
267 -moz-margin-start: 10px !important;
268 -moz-margin-end: 2px !important;
271 xul|*.spinbuttons-up {
272 margin-top: 2px !important;
273 border-radius: 1px 1px 0 0;
276 xul|*.spinbuttons-down {
277 margin-bottom: 2px !important;
278 border-radius: 0 0 1px 1px;
281 xul|*.spinbuttons-button > xul|*.button-box {
282 padding: 1px 5px 2px !important;
285 xul|*.spinbuttons-up > xul|*.button-box > xul|*.button-icon {
286 list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
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");
293 xul|*.spinbuttons-down > xul|*.button-box > xul|*.button-icon {
294 list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
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");
301 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
302 -moz-appearance: none;
303 -moz-margin-end: 4px;
306 background-color: transparent;
307 list-style-image: url("chrome://global/skin/in-content/dropdown.svg#dropdown");
310 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker > xul|*.dropmarker-icon {
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")
319 xul|menulist > xul|menupopup,
320 xul|button[type="menu"] > xul|menupopup {
321 -moz-appearance: none;
322 border: 1px solid #c1c1c1;
324 background-color: #fff;
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;
335 padding-bottom: 0.2em;
336 -moz-padding-start: 10px;
337 -moz-padding-end: 30px;
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"] {
345 background-color: rgba(0,149,221,0.25);
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"] {
353 background-color: #0095DD;
356 xul|menulist > xul|menupopup xul|menuseparator,
357 xul|button[type="menu"] > xul|menupopup xul|menuseparator {
358 -moz-appearance: none;
361 border-top: 1px solid #c1c1c1;
368 -moz-appearance: none;
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;
380 background-color: #fff;
384 xul|textbox[focused] {
385 border-color: #0095dd;
388 html|textbox:disabled,
389 xul|textbox[disabled="true"] {
398 /* line-height: 22px;*/
400 text-decoration: none;
407 text-decoration: underline;
411 .text-link:hover:active,
412 .inline-link:hover:active {
414 text-decoration: underline;
417 /* Checkboxes and radio buttons */
418 /* Hide the actual checkbox */
419 html|input[type="checkbox"] {
424 /* Create a box to style as the checkbox */
425 html|input[type="checkbox"] + html|label:before {
426 display: inline-block;
428 vertical-align: middle;
431 html|input[type="checkbox"] + html|label {
436 -moz-margin-start: 0;
439 /* xul|*.checkbox-check, */
440 html|input[type="checkbox"] + html|label:before {
441 -moz-appearance: none;
445 border: 1px solid #FF9F00;
446 -moz-margin-end: 10px;
447 background-color: #000000;
448 background-position: center center;
449 background-repeat: no-repeat;
452 /* xul|checkbox:not([disabled="true"]):hover > xul|*.checkbox-check, */
453 html|input[type="checkbox"]:not(:disabled) + html|label:hover:before {
454 border-color: #FFCF00;
456 html|input[type="checkbox"]:not(:disabled) + html|label:hover {
460 xul|*.checkbox-check[checked] {
461 background-image: url("chrome://global/skin/in-content/check.png"),
462 / * !important needed to override toolkit !important rule * /
463 linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
466 html|input[type="checkbox"]:checked + html|label:before {
467 background-image: url("chrome://global/skin/in-content/check.svg#check");
470 /*xul|checkbox[checked][disabled="true"] > xul|*.checkbox-check,*/
471 html|input[type="checkbox"]:checked:disabled + html|label:before {
472 background-image: url("chrome://global/skin/in-content/check.svg#check-disabled");
474 html|input[type="checkbox"]:not(:disabled) + html|label:hover:before {
475 background-image: url("chrome://global/skin/in-content/check.svg#check-hover");
477 html|input[type="checkbox"]:disabled + html|label:before {
478 border-color: #8050B0;
480 html|input[type="checkbox"]:disabled + html|label {
484 xul|*.checkbox-label-box {
485 -moz-margin-start: -1px; / * negative margin for the transparent border * /
486 -moz-padding-start: 0;
489 xul|richlistitem > xul|*.checkbox-check {
494 -moz-margin-start: 0;
498 -moz-appearance: none;
501 border: 1px solid #c1c1c1;
503 -moz-margin-end: 10px;
504 background-color: #f1f1f1;
505 background-image: linear-gradient(#fff, rgba(255,255,255,0.80));
506 box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
509 xul|radio:not([disabled="true"]):hover > xul|*.radio-check {
510 border-color: #0095dd;
513 xul|*.radio-check[selected] {
514 list-style-image: url("chrome://global/skin/in-content/radio.svg#radio");
517 xul|radio[disabled="true"] > xul|*.radio-check {
521 xul|*.radio-label-box {
522 -moz-margin-start: -1px; / * negative margin for the transparent border * /
523 -moz-margin-end: 10px;
524 -moz-padding-start: 0;
530 -moz-appearance: none;
531 background-color: #424f5a;
538 -moz-appearance: none;
540 -moz-border-end-width: 0;
541 -moz-padding-start: 15px;
542 -moz-padding-end: 21px;
544 transition: background-color 150ms;
547 xul|*.category:hover {
548 background-color: #5e6972;
551 xul|*.category[selected] {
552 background-color: #343f48;
554 -moz-padding-start: 11px; / compensate the 4px border /
555 -moz-border-start: solid 4px #ff9500;
558 xul|*#categories[keyboard-navigation="true"]:-moz-focusring > xul|*.category[current] {
559 border-top: 1px #ffffff dotted;
560 border-bottom: 1px #ffffff dotted;
568 -moz-padding-start: 9px;
571 -moz-user-select: none;
582 /* -moz-margin-end: 4px; / add the 4px end-margin of other elements /
583 border-bottom: 1px solid #A09090;
585 padding-bottom: 15px; */
593 -moz-user-select: none;
599 -moz-appearance: none;
600 background-color: transparent;
605 xul|*.fileFieldContentBox {
606 background-color: transparent;
609 xul|*.fileFieldIcon {
610 -moz-margin-start: 10px;
614 xul|*.fileFieldLabel {
615 -moz-margin-start: -26px;
616 -moz-padding-start: 36px;
619 xul|textbox:-moz-locale-dir(rtl),
620 xul|*.fileFieldLabel:-moz-locale-dir(rtl),
621 xul|textbox + xul|button:-moz-locale-dir(ltr),
622 xul|filefield + xul|button:-moz-locale-dir(ltr) {
623 border-top-left-radius: 0;
624 border-bottom-left-radius: 0;
627 xul|textbox:-moz-locale-dir(ltr),
628 xul|*.fileFieldLabel:-moz-locale-dir(ltr),
629 xul|textbox + xul|button:-moz-locale-dir(rtl),
630 xul|filefield + xul|button:-moz-locale-dir(rtl) {
631 border-top-right-radius: 0;
632 border-bottom-right-radius: 0;
635 xul|textbox + xul|button,
636 xul|filefield + xul|button {
637 -moz-border-start: none;
644 -moz-appearance: none;
645 -moz-margin-start: 0;
646 background-color: #fff;
647 border: 1px solid #c1c1c1;
651 xul|treechildren::-moz-tree-row,
652 xul|listbox xul|listitem {
657 background-image: none;
660 xul|treechildren::-moz-tree-row(hover),
661 xul|listbox xul|listitem:hover {
662 background-color: rgba(0,149,221,0.25);
665 xul|treechildren::-moz-tree-row(selected),
666 xul|listbox xul|listitem[selected="true"] {
667 background-color: #0095dd;
671 / This is the only way to increase the height of a tree row unfortunately /
672 xul|treechildren::-moz-tree-row {
676 / Color needs to be set on tree cell in order to be applied /
677 xul|treechildren::-moz-tree-cell-text {
681 xul|treechildren::-moz-tree-cell-text(selected) {
688 -moz-appearance: none;
690 border: 1px solid #c1c1c1;
694 xul|tree:-moz-focusring,
695 xul|richlistbox:-moz-focusring {
696 border: 1px dotted #0095dd;
701 -moz-appearance: none;
703 border-bottom: 1px solid #c1c1c1;
707 xul|treecol:not([hideheader="true"]),
709 -moz-appearance: none;
711 background-color: #ebebeb;
716 xul|treecol:not([hideheader="true"]):not([sortable="false"]):hover,
717 xul|treecolpicker:hover {
718 background-color: #dadada;
722 xul|treecol:not([hideheader="true"]):not(:first-child),
724 -moz-border-start-width: 1px;
725 -moz-border-start-style: solid;
726 border-image: linear-gradient(transparent 0%, transparent 20%, #c1c1c1 20%, #c1c1c1 80%, transparent 80%, transparent 100%) 1 1;
729 xul|treecol:not([hideheader="true"]) > xul|*.treecol-sortdirection[sortDirection] {
730 list-style-image: url("chrome://global/skin/in-content/dropdown.svg#dropdown");
735 xul|treecol:not([hideheader="true"]) > xul|*.treecol-sortdirection[sortDirection="ascending"] {
736 transform: scaleY(-1);
739 /* === END common.inc.css === */
742 background-color: transparent;
747 xul|colorpicker[type="button"],
752 xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
758 -moz-padding-start: 0;
762 -moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
763 -moz-padding-start: 0;
767 xul|*.checkbox-icon {
771 html|a:-moz-focusring,
772 .text-link:-moz-focusring,
773 .inline-link:-moz-focusring {
774 /* Don't specify the outline-color, we should always use initial value. */