/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* ===== datetimepicker.css ============================================= == Styles used by the XUL datepicker and timepicker elements. ======================================================================= */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @namespace html url("http://www.w3.org/1999/xhtml"); datepicker, timepicker { margin: 2px 4px; padding: 0; border: none; background: none; cursor: default; } .datetimepicker-input-box { cursor: text; margin-inline-end: 2px; border: 1px inset #CCD0DD; padding: 2px 0 3px; padding-inline-start: 4px; padding-inline-end: 2px; background-color: #FFFFFF; color: #000000; } .datetimepicker-input-subbox { width: 1.6em; } html|*.datetimepicker-input { text-align: right; } .datetimepicker-separator { margin: 0 !important; } .datetimepicker-year { width: 3.2em; } datepicker[readonly="true"], timepicker[readonly="true"] { background-color: #CCCCCC; color: #000000; } datepicker[disabled="true"], timepicker[disabled="true"] { cursor: default; background-color: #FFFFFF; color: #CCCCCC; } .datepicker-mainbox { margin: 2px 4px; border: 1px inset #CCD0DD; background-color: #FFFFFF; color: #000000; } .datepicker-popupgrid > .datepicker-mainbox { margin: 0; border: none; } .datepicker-gridlabel, .datepicker-weeklabel { text-align: center; } .datepicker-gridlabel[today="true"] { background-color: #808080; color: #FFFFFF; } .datepicker-gridlabel[selected="true"] { background-color: #336699; color: #FFFFFF; } .datepicker-button { min-width: 8px; padding: 0px; } .datepicker-previous { list-style-image: url("chrome://global/skin/arrow/arrow-left.gif"); } .datepicker-next { list-style-image: url("chrome://global/skin/arrow/arrow-right.gif"); } .datepicker-previous[disabled="true"] { list-style-image: url("chrome://global/skin/arrow/arrow-left-disabled.gif"); } .datepicker-next[disabled="true"] { list-style-image: url("chrome://global/skin/arrow/arrow-right-disabled.gif"); } .datepicker-previous:-moz-locale-dir(rtl) { list-style-image: url("chrome://global/skin/arrow/arrow-right.gif"); } .datepicker-next:-moz-locale-dir(rtl) { list-style-image: url("chrome://global/skin/arrow/arrow-left.gif"); } .datepicker-previous[disabled="true"]:-moz-locale-dir(rtl) { list-style-image: url("chrome://global/skin/arrow/arrow-right-disabled.gif"); } .datepicker-next[disabled="true"]:-moz-locale-dir(rtl) { list-style-image: url("chrome://global/skin/arrow/arrow-left-disabled.gif"); }