/* 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;
  font: inherit;
  cursor: default;
}

.datetimepicker-input-box {
  border: 2px solid;
  -moz-border-top-colors: #BEC3D3 #5D616E;
  -moz-border-right-colors: #F8FAFE #5D616E;
  -moz-border-bottom-colors: #F8FAFE #5D616E;
  -moz-border-left-colors: #BEC3D3 #5D616E;
  padding: 1px;
  background-color: #FFFFFF;
  color: #000000;
}

html|*.datetimepicker-input {
  text-align: right;
  width: 1.6em;
  padding: 0;
  margin: 0;
}

.datetimepicker-separator {
  margin: 0 !important;
}

.datetimepicker-year {
  width: 3.2em;
}

datepicker[readonly="true"],
timepicker[readonly="true"] {
  background-color: #C7D0D9;
}

datepicker[disabled="true"],
timepicker[disabled="true"] {
  background-color: #C7D0D9;
  color: #999999;
  cursor: default !important;
} 

.datepicker-gridlabel, .datepicker-weeklabel {
  margin: 0;
  text-align: center;
}

.datepicker-gridlabel[today="true"] {
  background-color: darkgrey;
  color: white;
}

.datepicker-gridlabel[selected="true"] {
  background-color: #424F63;
  color: #000000;
}

.datepicker-button {
  min-width: 4px;
  padding: 0px;
}

.datepicker-button .button-text {
  visibility: collapse;
}

.datepicker-previous {
  list-style-image: url("chrome://global/skin/arrow/arrow-lft.gif");
}

.datepicker-next {
  list-style-image: url("chrome://global/skin/arrow/arrow-rit.gif");
}

.datepicker-previous[disabled="true"] {
  list-style-image: url("chrome://global/skin/arrow/arrow-lft-dis.gif");
}

.datepicker-next[disabled="true"] {
  list-style-image: url("chrome://global/skin/arrow/arrow-rit-dis.gif");
}
