michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: @namespace html url("http://www.w3.org/1999/xhtml"); michael@0: michael@0: datepicker, timepicker { michael@0: padding: 0 0 1px; michael@0: margin: 4px; michael@0: border: none; michael@0: } michael@0: michael@0: .datetimepicker-input-box { michael@0: -moz-appearance: textfield; michael@0: cursor: text; michael@0: margin-right: 4px; michael@0: margin-bottom: 2px; michael@0: border: 3px solid; michael@0: -moz-border-top-colors: transparent #888888 #000000; michael@0: -moz-border-right-colors: transparent #FFFFFF #000000; michael@0: -moz-border-bottom-colors: transparent #FFFFFF #000000; michael@0: -moz-border-left-colors: transparent #888888 #000000; michael@0: border-top-right-radius: 2px; michael@0: border-bottom-left-radius: 2px; michael@0: padding: 0px; michael@0: background-color: -moz-Field; michael@0: color: -moz-FieldText; michael@0: } michael@0: michael@0: .datetimepicker-input-subbox { michael@0: width: 1.6em; michael@0: } michael@0: michael@0: html|*.datetimepicker-input { michael@0: text-align: end; michael@0: } michael@0: michael@0: .datetimepicker-separator { michael@0: margin: 0 !important; michael@0: } michael@0: michael@0: .datetimepicker-year { michael@0: width: 3.2em; michael@0: } michael@0: michael@0: .datepicker-dropmarker { michael@0: margin-bottom: 2px; michael@0: } michael@0: michael@0: datepicker[readonly="true"], michael@0: timepicker[readonly="true"] { michael@0: background-color: -moz-Dialog; michael@0: color: -moz-DialogText; michael@0: } michael@0: michael@0: datepicker[disabled="true"], michael@0: timepicker[disabled="true"] { michael@0: cursor: default; michael@0: -moz-border-top-colors: transparent ThreeDShadow -moz-Dialog; michael@0: -moz-border-right-colors: transparent ThreeDShadow -moz-Dialog; michael@0: -moz-border-bottom-colors: transparent ThreeDShadow -moz-Dialog; michael@0: -moz-border-left-colors: transparent ThreeDShadow -moz-Dialog; michael@0: background-color: -moz-Dialog; michael@0: color: GrayText; michael@0: } michael@0: michael@0: .datepicker-mainbox { michael@0: margin: 2px 4px; michael@0: border: 2px solid; michael@0: -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow; michael@0: -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow; michael@0: -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow; michael@0: -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; michael@0: background-color: #EEEEEE; michael@0: color: -moz-DialogText; michael@0: } michael@0: michael@0: .datepicker-popupgrid > .datepicker-mainbox { michael@0: margin: 0; michael@0: border: none; michael@0: } michael@0: michael@0: .datepicker-gridlabel, .datepicker-weeklabel { michael@0: text-align: center; michael@0: } michael@0: michael@0: .datepicker-gridlabel[today="true"] { michael@0: background-color: darkgrey; michael@0: color: white; michael@0: } michael@0: michael@0: .datepicker-gridlabel[selected="true"] { michael@0: background-color: Highlight; michael@0: color: HighlightText; michael@0: } michael@0: michael@0: .datepicker-button { michael@0: -moz-appearance: none; michael@0: min-width: 8px; michael@0: padding: 0px; michael@0: } michael@0: michael@0: .datepicker-previous { michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif"); michael@0: } michael@0: michael@0: .datepicker-next { michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif"); michael@0: } michael@0: michael@0: .datepicker-previous:hover { michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-lft-hov.gif"); michael@0: } michael@0: michael@0: .datepicker-next:hover { michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-rit-hov.gif"); michael@0: } michael@0: michael@0: .datepicker-previous[disabled="true"] { michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif"); michael@0: } michael@0: michael@0: .datepicker-next[disabled="true"] { michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif"); michael@0: }