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 /* ===== datetimepicker.css =============================================
6 == Styles used by the XUL datepicker and timepicker elements.
7 ======================================================================= */
9 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
10 @namespace html url("http://www.w3.org/1999/xhtml");
12 datepicker, timepicker {
20 .datetimepicker-input-box {
24 border: 1px solid #9C9CFF;
26 -moz-padding-start: 4px;
27 -moz-padding-end: 2px;
28 background-color: #000000;
32 .datetimepicker-input-subbox {
36 html|*.datetimepicker-input {
40 .datetimepicker-separator {
44 .datetimepicker-year {
48 datepicker[readonly="true"],
49 timepicker[readonly="true"] {
50 background-color: #000000;
54 datepicker[disabled="true"],
55 timepicker[disabled="true"] {
57 background-color: #000000;
64 border: 1px solid #9C9CFF;
65 background-color: #000000;
69 .datepicker-popupgrid > .datepicker-mainbox {
74 .datepicker-gridlabel, .datepicker-weeklabel {
78 .datepicker-gridlabel[today="true"] {
79 background-color: #000000;
83 .datepicker-gridlabel[selected="true"] {
84 background-color: #008484;
93 .datepicker-previous {
94 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif");
98 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif");
101 .datepicker-previous[disabled="true"] {
102 list-style-image: url("chrome://global/skin/arrow/arrow-left-disabled.gif");
105 .datepicker-next[disabled="true"] {
106 list-style-image: url("chrome://global/skin/arrow/arrow-right-disabled.gif");
109 .datepicker-previous:-moz-locale-dir(rtl) {
110 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif");
113 .datepicker-next:-moz-locale-dir(rtl) {
114 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif");
117 .datepicker-previous[disabled="true"]:-moz-locale-dir(rtl) {
118 list-style-image: url("chrome://global/skin/arrow/arrow-right-disabled.gif");
121 .datepicker-next[disabled="true"]:-moz-locale-dir(rtl) {
122 list-style-image: url("chrome://global/skin/arrow/arrow-left-disabled.gif");