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

/* ::::: tabs ::::: */

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

#calendar-tab-button[disabled] {
  -moz-image-region: rect(32px 64px 48px 48px);
}

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

#task-tab-button[disabled] {
  -moz-image-region: rect(32px 80px 48px 64px);
}

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

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

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

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

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

.imipDetailsButton {
  list-style-image: url(chrome://calendar/skin/toolbar-small.png);
  -moz-image-region: rect(0px 352px 16px 336px);
}

.imipAddButton {
  list-style-image: url(chrome://calendar/skin/toolbar-small.png);
  -moz-image-region: rect(0px 16px 16px 0px);
}

.imipUpdateButton {
  list-style-image: url(chrome://calendar/skin/toolbar-small.png);
  -moz-image-region: rect(0px 432px 16px 416px);
}

.imipDeleteButton {
  list-style-image: url(chrome://calendar/skin/toolbar-small.png);
  -moz-image-region: rect(0px 48px 16px 32px);
}

.imipReconfirmButton {
  list-style-image: url(chrome://calendar/skin/toolbar-small.png);
  -moz-image-region: rect(0px 400px 16px 385px);
}
