1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/osx/global/datetimepicker.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,126 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 1.9 +@namespace html url("http://www.w3.org/1999/xhtml"); 1.10 + 1.11 +datepicker, timepicker { 1.12 + padding: 0 0 1px; 1.13 + margin: 4px; 1.14 + border: none; 1.15 +} 1.16 + 1.17 +.datetimepicker-input-box { 1.18 + -moz-appearance: textfield; 1.19 + cursor: text; 1.20 + margin-right: 4px; 1.21 + margin-bottom: 2px; 1.22 + border: 3px solid; 1.23 + -moz-border-top-colors: transparent #888888 #000000; 1.24 + -moz-border-right-colors: transparent #FFFFFF #000000; 1.25 + -moz-border-bottom-colors: transparent #FFFFFF #000000; 1.26 + -moz-border-left-colors: transparent #888888 #000000; 1.27 + border-top-right-radius: 2px; 1.28 + border-bottom-left-radius: 2px; 1.29 + padding: 0px; 1.30 + background-color: -moz-Field; 1.31 + color: -moz-FieldText; 1.32 +} 1.33 + 1.34 +.datetimepicker-input-subbox { 1.35 + width: 1.6em; 1.36 +} 1.37 + 1.38 +html|*.datetimepicker-input { 1.39 + text-align: end; 1.40 +} 1.41 + 1.42 +.datetimepicker-separator { 1.43 + margin: 0 !important; 1.44 +} 1.45 + 1.46 +.datetimepicker-year { 1.47 + width: 3.2em; 1.48 +} 1.49 + 1.50 +.datepicker-dropmarker { 1.51 + margin-bottom: 2px; 1.52 +} 1.53 + 1.54 +datepicker[readonly="true"], 1.55 +timepicker[readonly="true"] { 1.56 + background-color: -moz-Dialog; 1.57 + color: -moz-DialogText; 1.58 +} 1.59 + 1.60 +datepicker[disabled="true"], 1.61 +timepicker[disabled="true"] { 1.62 + cursor: default; 1.63 + -moz-border-top-colors: transparent ThreeDShadow -moz-Dialog; 1.64 + -moz-border-right-colors: transparent ThreeDShadow -moz-Dialog; 1.65 + -moz-border-bottom-colors: transparent ThreeDShadow -moz-Dialog; 1.66 + -moz-border-left-colors: transparent ThreeDShadow -moz-Dialog; 1.67 + background-color: -moz-Dialog; 1.68 + color: GrayText; 1.69 +} 1.70 + 1.71 +.datepicker-mainbox { 1.72 + margin: 2px 4px; 1.73 + border: 2px solid; 1.74 + -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow; 1.75 + -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow; 1.76 + -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow; 1.77 + -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow; 1.78 + background-color: #EEEEEE; 1.79 + color: -moz-DialogText; 1.80 +} 1.81 + 1.82 +.datepicker-popupgrid > .datepicker-mainbox { 1.83 + margin: 0; 1.84 + border: none; 1.85 +} 1.86 + 1.87 +.datepicker-gridlabel, .datepicker-weeklabel { 1.88 + text-align: center; 1.89 +} 1.90 + 1.91 +.datepicker-gridlabel[today="true"] { 1.92 + background-color: darkgrey; 1.93 + color: white; 1.94 +} 1.95 + 1.96 +.datepicker-gridlabel[selected="true"] { 1.97 + background-color: Highlight; 1.98 + color: HighlightText; 1.99 +} 1.100 + 1.101 +.datepicker-button { 1.102 + -moz-appearance: none; 1.103 + min-width: 8px; 1.104 + padding: 0px; 1.105 +} 1.106 + 1.107 +.datepicker-previous { 1.108 + list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif"); 1.109 +} 1.110 + 1.111 +.datepicker-next { 1.112 + list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif"); 1.113 +} 1.114 + 1.115 +.datepicker-previous:hover { 1.116 + list-style-image: url("chrome://global/skin/arrow/arrow-lft-hov.gif"); 1.117 +} 1.118 + 1.119 +.datepicker-next:hover { 1.120 + list-style-image: url("chrome://global/skin/arrow/arrow-rit-hov.gif"); 1.121 +} 1.122 + 1.123 +.datepicker-previous[disabled="true"] { 1.124 + list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif"); 1.125 +} 1.126 + 1.127 +.datepicker-next[disabled="true"] { 1.128 + list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif"); 1.129 +}