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

#newMsgButton-mail-menuitem {
  list-style-image: url(chrome://messenger/skin/icons/mail-toolbar.png) !important;
  -moz-image-region: rect(1px 35px 17px 19px) !important;
}

#calendar-tab-button {
  list-style-image: url(chrome://lightning/skin/mode-switch-icons-aero.png);
  -moz-image-region: rect(0px 16px 16px 0px);
}

.icon-holder[type="calendar"],
.tabmail-tab[type="calendar"] {
  list-style-image: url(chrome://lightning/skin/mode-switch-icons-aero.png);
  -moz-image-region: rect(16px 16px 32px 0px);
}

#task-tab-button {
  list-style-image: url(chrome://lightning/skin/mode-switch-icons-aero.png);
  -moz-image-region: rect(0px 32px 16px 16px);
}

.icon-holder[type="tasks"],
.tabmail-tab[type="tasks"] {
  list-style-image: url(chrome://lightning/skin/mode-switch-icons-aero.png);
  -moz-image-region: rect(16px 32px 32px 16px);
}

#button-newmsg #newMsgButton-calendar-menuitem,
#button-newmsg #newMsgButton-task-menuitem,
#calendar-show-todaypane-panel > #calendar-status-todaypane-button > stack > .toolbarbutton-icon-begin {
  list-style-image: url(chrome://calendar/skin/toolbar-small-aero.png);
}

#tabs-toolbar[brighttext] #calendar-tab-button,
#tabs-toolbar[brighttext] #task-tab-button {
  list-style-image: url(chrome://lightning/skin/mode-switch-icons-inverted.png);
}

.imipAcceptButton {
  list-style-image: url(chrome://lightning/skin/imip-aero.png);
  -moz-image-region: rect(0px 16px 16px 0px);
}

.imipDeclineButton {
  list-style-image: url(chrome://lightning/skin/imip-aero.png);
  -moz-image-region: rect(0px 32px 16px 16px);
}

.imipTentativeButton {
  list-style-image: url(chrome://lightning/skin/imip-aero.png);
  -moz-image-region: rect(0px 48px 16px 32px);
}

/* These buttons may also deserve an icon:
   .imipDetailsButton
       (-> open the event or summary dialog)
   .imipMoreButton
       (-> dropdown button to offer more options to the user)
   .imipAddButton
       (-> add an event to the calendar)
   .imipUpdateButton
       (-> ipdate an event in the calendar)
   .imipDeleteButton
       (-> delete an event from the calendar)
   .imipReconfirmButton
       (-> re-confirm the own participation status on organizer's request)
   .imipAcceptRecurrencesButton
   .imipDeclineRecurrencesButton
   .imipTentativeRecurrencesButton
       (-> the same functionality as above, but for recurring events)
*/
