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

/* Lightning "Calendar" Toolbarbutton */
#lightning-button-calendar {
  list-style-image: url(chrome://lightning/skin/mode-switch-icons-aero.png);
  -moz-image-region: rect(0 64px 16px 48px);
}

/* Lightning "Tasks" Toolbarbutton */
#lightning-button-tasks {
  list-style-image: url(chrome://lightning/skin/mode-switch-icons-aero.png);
  -moz-image-region: rect(0 80px 16px 64px);
}

/* Toolbar buttons */

.calbar-toolbarbutton-1 {
  list-style-image: url(chrome://calendar/skin/toolbar-aero.png);
}

#calendar-synchronize-button,
#task-synchronize-button {
  -moz-image-region: rect(1px 17px 17px 1px);
}

#calendar-newevent-button,
#task-newevent-button {
  -moz-image-region: rect(1px 35px 17px 19px);
}

#calendar-newtask-button,
#task-newtask-button {
  -moz-image-region: rect(1px 71px 17px 55px);
}

#calendar-edit-button,
#task-edit-button {
  -moz-image-region: rect(1px 89px 17px 73px);
}

#calendar-delete-button,
#task-delete-button {
  -moz-image-region: rect(1px 107px 17px 91px);
}

#calendar-goto-today-button {
  -moz-image-region: rect(1px 53px 17px 37px);
}

#calendar-print-button,
#task-print-button {
  -moz-image-region: rect(1px 125px 17px 109px);
}

#calendar-unifinder-button {
  -moz-image-region: rect(1px 143px 17px 127px);
}

@media (-moz-windows-compositor) {
    #tabbar-toolbar #lightning-button-calendar,
    #tabbar-toolbar #lightning-button-tasks {
      list-style-image: url(chrome://lightning/skin/mode-switch-icons-inverted.png) !important;
  }

  #calendar-toolbox {
    border-bottom-color: #AABCCF;
  }
}
