toolkit/themes/windows/global/datetimepicker.css

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/toolkit/themes/windows/global/datetimepicker.css	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,147 @@
     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 +/* ===== datetimepicker.css =============================================
     1.9 +  == Styles used by the XUL datepicker and timepicker elements.
    1.10 +  ======================================================================= */
    1.11 +  
    1.12 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    1.13 +@namespace html url("http://www.w3.org/1999/xhtml");
    1.14 +
    1.15 +datepicker, timepicker {
    1.16 +  margin: 2px 4px;
    1.17 +  padding: 0;
    1.18 +  border: none;
    1.19 +  background: none;
    1.20 +  cursor: default;
    1.21 +}
    1.22 +
    1.23 +.datetimepicker-input-box {
    1.24 +  -moz-appearance: textfield;
    1.25 +  cursor: text;
    1.26 +  -moz-margin-end: 2px;
    1.27 +  border: 2px solid;
    1.28 +  -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
    1.29 +  -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
    1.30 +  -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
    1.31 +  -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
    1.32 +  padding: 2px 0 3px 0;
    1.33 +  -moz-padding-start: 4px;
    1.34 +  -moz-padding-end: 2px;
    1.35 +  background-color: -moz-Field;
    1.36 +  color: -moz-FieldText;
    1.37 +}
    1.38 +
    1.39 +.datetimepicker-input-subbox {
    1.40 +  width: 1.6em;
    1.41 +}
    1.42 +
    1.43 +html|*.datetimepicker-input {
    1.44 +  text-align: end;
    1.45 +}
    1.46 +
    1.47 +.datetimepicker-separator {
    1.48 +  margin: 0 !important;
    1.49 +}
    1.50 +
    1.51 +.datetimepicker-year {
    1.52 +  width: 3.2em;
    1.53 +}
    1.54 +
    1.55 +datepicker[readonly="true"],
    1.56 +timepicker[readonly="true"] {
    1.57 +  background-color: -moz-Dialog;
    1.58 +  color: -moz-DialogText;
    1.59 +}
    1.60 +
    1.61 +datepicker[disabled="true"],
    1.62 +timepicker[disabled="true"] {
    1.63 +  cursor: default;
    1.64 +  background-color: -moz-Dialog;
    1.65 +  color: GrayText;
    1.66 +} 
    1.67 +
    1.68 +.datepicker-mainbox {
    1.69 +  margin: 2px 4px;
    1.70 +  border: 2px solid;
    1.71 +  -moz-border-top-colors: ThreeDShadow ThreeDDarkShadow;
    1.72 +  -moz-border-right-colors: ThreeDHighlight ThreeDLightShadow;
    1.73 +  -moz-border-bottom-colors: ThreeDHighlight ThreeDLightShadow;
    1.74 +  -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
    1.75 +  background-color: -moz-Field;
    1.76 +  color: -moz-FieldText;
    1.77 +}
    1.78 +
    1.79 +.datepicker-popupgrid > .datepicker-mainbox {
    1.80 +  margin: 0;
    1.81 +  border: none;
    1.82 +}
    1.83 +
    1.84 +.datepicker-gridlabel, .datepicker-weeklabel {
    1.85 +  text-align: center;
    1.86 +}
    1.87 +
    1.88 +.datepicker-gridlabel[today="true"] {
    1.89 +  background-color: darkgrey;
    1.90 +  color: white;
    1.91 +}
    1.92 +
    1.93 +.datepicker-gridlabel[selected="true"] {
    1.94 +  background-color: Highlight;
    1.95 +  color: HighlightText;
    1.96 +}
    1.97 +
    1.98 +.datepicker-button {
    1.99 +  -moz-appearance: none;
   1.100 +  min-width: 8px;
   1.101 +  padding: 0px;
   1.102 +}
   1.103 +
   1.104 +.datepicker-previous {
   1.105 +  list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif");
   1.106 +}
   1.107 +
   1.108 +.datepicker-next {
   1.109 +  list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif");
   1.110 +}
   1.111 +
   1.112 +.datepicker-previous:hover {
   1.113 +  list-style-image: url("chrome://global/skin/arrow/arrow-lft-hov.gif");
   1.114 +}
   1.115 +
   1.116 +.datepicker-next:hover {
   1.117 +  list-style-image: url("chrome://global/skin/arrow/arrow-rit-hov.gif");
   1.118 +}
   1.119 +
   1.120 +.datepicker-previous[disabled="true"] {
   1.121 +  list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif");
   1.122 +}
   1.123 +
   1.124 +.datepicker-next[disabled="true"] {
   1.125 +  list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif");
   1.126 +}
   1.127 +
   1.128 +.datepicker-previous:-moz-locale-dir(rtl) {
   1.129 +  list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif");
   1.130 +}
   1.131 +
   1.132 +.datepicker-next:-moz-locale-dir(rtl) {
   1.133 +  list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif");
   1.134 +}
   1.135 +
   1.136 +.datepicker-previous:-moz-locale-dir(rtl) {
   1.137 +  list-style-image: url("chrome://global/skin/arrow/arrow-rit-hov.gif");
   1.138 +}
   1.139 +
   1.140 +.datepicker-next:-moz-locale-dir(rtl):hover {
   1.141 +  list-style-image: url("chrome://global/skin/arrow/arrow-lft-hov.gif");
   1.142 +}
   1.143 +
   1.144 +.datepicker-previous[disabled="true"]:-moz-locale-dir(rtl) {
   1.145 +  list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif");
   1.146 +}
   1.147 +
   1.148 +.datepicker-next[disabled="true"]:-moz-locale-dir(rtl) {
   1.149 +  list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif");
   1.150 +}

mercurial