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 {
23 border: 1px inset #CCD0DD;
25 -moz-padding-start: 4px;
26 -moz-padding-end: 2px;
27 background-color: #FFFFFF;
31 .datetimepicker-input-subbox {
35 html|*.datetimepicker-input {
39 .datetimepicker-separator {
43 .datetimepicker-year {
47 datepicker[readonly="true"],
48 timepicker[readonly="true"] {
49 background-color: #CCCCCC;
53 datepicker[disabled="true"],
54 timepicker[disabled="true"] {
56 background-color: #FFFFFF;
62 border: 1px inset #CCD0DD;
63 background-color: #FFFFFF;
67 .datepicker-popupgrid > .datepicker-mainbox {
72 .datepicker-gridlabel, .datepicker-weeklabel {
76 .datepicker-gridlabel[today="true"] {
77 background-color: #808080;
81 .datepicker-gridlabel[selected="true"] {
82 background-color: #336699;
91 .datepicker-previous {
92 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif");
96 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif");
99 .datepicker-previous[disabled="true"] {
100 list-style-image: url("chrome://global/skin/arrow/arrow-left-disabled.gif");
103 .datepicker-next[disabled="true"] {
104 list-style-image: url("chrome://global/skin/arrow/arrow-right-disabled.gif");
107 .datepicker-previous:-moz-locale-dir(rtl) {
108 list-style-image: url("chrome://global/skin/arrow/arrow-right.gif");
111 .datepicker-next:-moz-locale-dir(rtl) {
112 list-style-image: url("chrome://global/skin/arrow/arrow-left.gif");
115 .datepicker-previous[disabled="true"]:-moz-locale-dir(rtl) {
116 list-style-image: url("chrome://global/skin/arrow/arrow-right-disabled.gif");
119 .datepicker-next[disabled="true"]:-moz-locale-dir(rtl) {
120 list-style-image: url("chrome://global/skin/arrow/arrow-left-disabled.gif");