/* 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://chat/skin/status.css");

tabbox {
  margin: 0 0;
}

tabpanels {
  -moz-appearance: none;
}

%ifndef XP_MACOSX
notification > hbox {
  border: none !important;
  border-bottom: 1px solid ThreeDShadow !important;
}
%endif

/* Tab colors */
tab[unread],
.alltabs-item[unread] {
  color: #d22d2d !important
}

tab[typing],
.alltabs-item[typing] {
  color: #328c3c !important;
}

tab[typed],
.alltabs-item[typed] {
  color: #d2772d !important;
}

tab[attention],
.alltabs-item[attention] {
  color: #2d43d2 !important;
}

/* Tab icons */
.tabbrowser-tab,
.alltabs-item > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://mozapps/skin/places/defaultFavicon.png");
  -moz-image-region: rect(0px, 16px, 16px, 0px);
}

.tabbrowser-tab[type="conversation"],
.alltabs-item[type="conversation"] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://chat/skin/unknown-16.png");
}

.tabbrowser-tab[type="addons"],
.alltabs-item[type="addons"] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png");
}

.tabbrowser-tab[type="newtab"],
.alltabs-item[type="newtab"] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://instantbird/skin/newConversation.png");
}

.tabbrowser-tab {
  text-align: center;
}

.tabbrowser-tab[chat],
.alltabs-item[chat] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://chat/skin/chat-16.png") !important;
}
.tabbrowser-tab[chat][status="joining"],
.alltabs-item[chat][status="joining"] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://global/skin/icons/loading.png") !important;
  -moz-image-region: auto;
}
.tabbrowser-tab[chat][status="left"],
.alltabs-item[chat][status="left"] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://chat/skin/chat-left-16.png") !important;
}
.tabbrowser-tab[chat][prpl="prpl-twitter"],
.alltabs-item[chat][prpl="prpl-twitter"] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://prpl-twitter/skin/icon.png") !important;
}
.tabbrowser-tab[chat][prpl="prpl-twitter"][status="left"],
.alltabs-item[chat][prpl="prpl-twitter"][status="left"] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://prpl-twitter/skin/icon-left.png") !important;
}

.tabbrowser-tab[status="offline"],
.alltabs-item[status="offline"] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://chat/skin/offline-16.png") !important;
}
.tabbrowser-tab[status="available"],
.alltabs-item[status="available"] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://chat/skin/available-16.png") !important;
}
.tabbrowser-tab[status="away"],
.tabbrowser-tab[status="unavailable"],
.alltabs-item[status="away"] > .menu-iconic-left > .menu-iconic-icon,
.alltabs-item[status="unavailable"] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://chat/skin/away-16.png") !important;
}
.tabbrowser-tab[status="idle"],
.alltabs-item[status="idle"] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://chat/skin/idle-16.png") !important;
}
.tabbrowser-tab[status="mobile"],
.alltabs-item[status="mobile"] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://chat/skin/mobile-16.png") !important;
}

.tabbrowser-tab[typing],
.alltabs-item[typing] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://chat/skin/typing-16.png") !important;
}

.tabbrowser-tab[typed],
.alltabs-item[typed] > .menu-iconic-left > .menu-iconic-icon {
  list-style-image: url("chrome://chat/skin/typed-16.png") !important;
}
