/* 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/. */

@import url(chrome://calendar-common/skin/today-pane.css);

#today-pane-panel > sidebarheader {
  height: 32px;
}

#today-pane-panel:-moz-lwtheme > sidebarheader {
  text-shadow: none;
}

.today-pane-cycler {
  border-radius: 2px;
  margin: 1px;
}

.today-pane-cycler:hover {
  background-color: hsla(0,0%,0%,0.1);
}

.today-pane-cycler:-moz-lwtheme:hover {
  background-color: hsla(0,0%,100%,0.2);
}

.miniday-nav-buttons {
  list-style-image: url("chrome://calendar-common/skin/widgets/nav-arrow.svg");
}

#previous-day-button:-moz-locale-dir(ltr),
#next-day-button:-moz-locale-dir(rtl) {
  transform: scaleX(-1);
}

.today-closebutton > .toolbarbutton-text {
   display: none;
}

.today-subpane {
  border-bottom-color: #b8b8b8;
}

.monthlabel {
  margin-bottom: 1px;
}

#mini-day-image {
  background: linear-gradient(hsl(0, 0%, 93%), hsl(0, 0%, 83%));
}

#agenda-toolbar {
  background-color: -moz-dialog;
  color: -moz-dialogtext;
}

@media (-moz-mac-yosemite-theme) {
  #today-pane-panel:not(:-moz-lwtheme):-moz-window-inactive {
    background-color: hsl(0, 0%, 97%);
  }

  #mini-day-image:-moz-window-inactive {
    background: linear-gradient(hsl(0, 0%, 97%), hsl(0, 0%, 95%));
  }

  #agenda-toolbar:-moz-window-inactive {
    background-color: hsl(0, 0%, 97%);
  }
}

#todaypane-new-event-button[disabled="true"] > .toolbarbutton-icon {
  opacity: .5;
}

#todaypane-new-event-button > .toolbarbutton-text {
  margin-inline-start: 0;
}

#agenda-listbox {
  border-top-color: #b8b8b8;
}

#today-pane-splitter {
  min-height: 9px;
  border-top: 1px solid #b8b8b8;
}
