/* 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:-moz-lwtheme > sidebarheader {
  text-shadow: none;
  background-color: rgba(255, 255, 255, 0.3);
  background-image: linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0) 19px);
}

.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 {
  list-style-image: url("chrome://global/skin/icons/close.png") !important;
}

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

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

@media not all and (-moz-mac-yosemite-theme) {
  #todaypane-new-event-button {
    list-style-image: url(chrome://calendar-common/skin/calendar-toolbar.svg#newevent);
  }
}

@media (-moz-mac-yosemite-theme) {
  #todaypane-new-event-button {
    list-style-image: url(chrome://calendar-common/skin/calendar-toolbar.svg#newevent-flat);
  }
}

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

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

#todaypane-new-event-button > .toolbarbutton-icon {
  width: 18px;
  height: 18px;
  margin: -1px;
}

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

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