/* ***** BEGIN LICENSE BLOCK *****
 * Version: MPL 1.1/GPL 2.0/LGPL 2.1
 *
 * The contents of this file are subject to the Mozilla Public License Version
 * 1.1 (the "License"); you may not use this file except in compliance with
 * the License. You may obtain a copy of the License at
 * http://www.mozilla.org/MPL/
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 *
 * The Original Code is OEone Calendar Code, released October 31st, 2001.
 *
 * The Initial Developer of the Original Code is
 * OEone Corporation.
 * Portions created by the Initial Developer are Copyright (C) 2001
 * the Initial Developer. All Rights Reserved.
 *
 * Contributor(s):
 *   Matthew Willis (mattwillis@gmail.com)
 *   Philipp Kewisch <mozilla@kewis.ch>
 *   Christian Jansen <christian.jansen@sun.com>
 *   Berend Cornelius <berend.cornelius@sun.com>
 *   Richard Marti <richard.marti@gmail.com>
 *
 * Alternatively, the contents of this file may be used under the terms of
 * either the GNU General Public License Version 2 or later (the "GPL"), or
 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
 * in which case the provisions of the GPL or the LGPL are applicable instead
 * of those above. If you wish to allow use of your version of this file only
 * under the terms of either the GPL or the LGPL, and not to allow others to
 * use your version of this file under the terms of the MPL, indicate your
 * decision by deleting the provisions above and replace them with the notice
 * and other provisions required by the GPL or the LGPL. If you do not delete
 * the provisions above, a recipient may use your version of this file under
 * the terms of any one of the MPL, the GPL or the LGPL.
 *
 * ***** END LICENSE BLOCK ***** */

minimonth {
  background-color: #FFFFFF;
  border: 0px;
  padding: 4px;
}

window[systemcolors] minimonth {
  background-color: -moz-field;
}

.minimonth-month-box {
  background-color: #F5F5F6;
  border: 1px dotted #C0C0C0;
}

window[systemcolors] .minimonth-month-box {
  background-color: -moz-Dialog;
  border-color: ThreeDShadow;
}

.minimonth-month-name {
  font-weight: bold;
  padding: 0px;
  -moz-user-focus: normal;
}

.minimonth-month-name-readonly {
  text-align: right;
  font-weight: bold;
}

.minimonth-year-name {
  min-width: 4em;
  font-weight: bold;
  padding: 0px;
  -moz-user-focus: normal;
}

.minimonth-year-name-readonly {
  min-width: 4em;
  font-weight: bold;
  -moz-padding-start: 4px;
}

.minimonth-month-name > .toolbarbutton-text {
  text-align: right;
}

.minimonth-month-name > .toolbarbutton-icon,
.minimonth-year-name > .toolbarbutton-icon {
  display: none;
}

.minimonth-nav-btns > .toolbarbutton-icon {
  margin: 1px;
}

.minimonth-nav-btns {
  padding: 0px;
  min-width: 19px;
  list-style-image: url("chrome://calendar/skin/widgets/nav-arrow.svg");
  -moz-user-focus: normal;
}

.minimonth-nav-btns > .toolbarbutton-text  {
  display: none;
}

.minimonth-nav-btns[disabled] {
  opacity: .3;
}

.minimonth-nav-btns:-moz-locale-dir(ltr)[dir="-1"],
.minimonth-nav-btns:-moz-locale-dir(rtl)[dir="1"] {
  -moz-transform: scaleX(-1);
}

.minimonth-nav-btns[dir="0"] {
  list-style-image: url("chrome://calendar/skin/widgets/nav-today.svg");
}

.minimonth-row-header {
  text-align: center;
}

.minimonth-day {
  color: #2E4E73;
  text-align: center;
  border: 1px solid #FFFFFF;
  background-color: #FFFFFF;
  min-height: 16px;
}

window[systemcolors] .minimonth-day {
  color: WindowText;
  border: 1px solid Window;
  background-color: -moz-field;
}

.minimonth-day[othermonth="true"] {
  color: #b2b2b2;
  background-color: #F0F0F0;
  border: 1px solid #F0F0F0;
}

window[systemcolors] .minimonth-day[othermonth="true"] {
  color: GrayText;
  background-color: ButtonFace;
  border: 1px solid transparent;
}

.minimonth-day[today="true"] {
  background-color: #dfeaf4;
  border: 1px solid #67ACD8;
}

window[systemcolors] .minimonth-day[today="true"] {
  background-color: -moz-field;
  border: 1px solid Highlight;
}

.minimonth-day[selected="true"] {
  background-color: #FFFABC;
  color: #2E4E73;
  border: 1px solid #D9C585;
}

.minimonth-day[selected="true"][today="true"] {
  background-color: #F2EDB2;
  border: 1px solid #67ACD8;
 }

window[systemcolors] .minimonth-day[selected="true"],
window[systemcolors] .minimonth-day[selected="true"][today="true"] {
  background-color: Highlight;
  color: HighlightText;
  border: 1px solid ButtonFace;
}

.minimonth-day[busy] {
  font-weight: bold;
}

.minimonth-day:hover[interactive] {
  cursor: pointer;
  border: 1px solid Highlight;
}

.minimonth-day:active[interactive] {
  background-color: Highlight;
  color: HighlightText;
}

window[systemcolors] .minimonth-day:hover[interactive],
window[systemcolors] .minimonth-day:active[interactive] {
  cursor: pointer;
  color: HighlightText;
  background-color: Highlight;
  background-clip: padding-box;
}

.minimonth-list {
  -moz-padding-start: 1em;
  -moz-padding-end: 1em;
}

.minimonth-list[current="true"] {
  font-weight: bold;
}

.minimonth-list:hover {
  background-color: Highlight;
  color: HighlightText;
  cursor: pointer;
}
