
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

.tabbrowser-strip {
  min-height: 0px;
  padding: 0px;
  /* 1px ThreeDShadow bottom border that doesn't take up space and that
     selected panel can just draw over */
  box-shadow: 0px -1px ThreeDShadow inset;
}

tabpanels {
  -moz-appearance: none;
}

.tabbrowser-tabs {
  padding-top: 1px;
}

.tabs-left,
.tabs-right {
  width: 3px;
  border-bottom: none;
}

.tab-icon {
  margin-top: 1px;
  -moz-margin-start: 1px;
  -moz-margin-end: 4px;
  width: 16px;
  height: 16px;
}

.tabbrowser-tab {
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.png"); 
  padding: 0px 2px 2px;
  margin-bottom: 1px;
  border-bottom: none;
}

.tabbrowser-tab[busy] {
  list-style-image: url("chrome://communicator/skin/icons/loading.gif");
}

.tabbrowser-tab[selected="true"] {
  margin-bottom: 0px;
  padding-top: 2px; /* compensates the top margin of background tabs */
  padding-bottom: 3px; /* compensates the bottom margin of background tabs */
}

.tabbrowser-tab:-moz-lwtheme {
  text-shadow: none;
}

.scrollbutton-up:-moz-lwtheme,
.scrollbutton-down:-moz-lwtheme:not([selected="true"]),
.tabbrowser-tab:-moz-lwtheme:not([selected="true"]) {
  opacity: .8;
}

.toolbarbutton-text {
  display: none;
}

.toolbarbutton-icon {
  margin: 0px !important; /* needs to override communicator.css */
}

/* ::::: Tab scrollbox arrow, and all-tabs buttons ::::: */

.scrollbutton-up,
.scrollbutton-down {
  -moz-appearance: tab;
  margin: 2px 0px 1px;
  padding: 0px;
  border-top: 2px solid;
  border-right: 2px solid;
  border-left: 2px solid;
  border-bottom: 1px solid ThreeDHighlight;
  -moz-border-top-colors: ThreeDHighlight ThreeDLightShadow;
  -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
  -moz-border-left-colors: ThreeDHighlight ThreeDLightShadow;
  border-radius: 2px 2px 0px 0px;
}

@media all and (-moz-windows-theme: aero) {
  .scrollbutton-up,
  .scrollbutton-down {
    padding: 0px 2px;
  }
}

.scrollbutton-up:-moz-locale-dir(rtl),
.scrollbutton-down:-moz-locale-dir(ltr) {
  -moz-border-right-colors: ThreeDHighlight ThreeDShadow;
}

.scrollbutton-up:-moz-locale-dir(ltr),
.scrollbutton-down:-moz-locale-dir(rtl) {
  -moz-border-left-colors: ThreeDHighlight ThreeDShadow;
}

.scrollbutton-up,
.scrollbutton-down:-moz-locale-dir(rtl) {
  list-style-image: url("chrome://navigator/skin/icons/tab-arrow-left.gif");
}

.scrollbutton-down,
.scrollbutton-up:-moz-locale-dir(rtl) {
  list-style-image: url("chrome://navigator/skin/icons/tab-arrow-right.gif");
}

.scrollbutton-up,
.scrollbutton-down {
  -moz-image-region: rect(0px, 8px, 12px, 0px);
}

.scrollbutton-up[disabled="true"],
.scrollbutton-down[disabled="true"] {
  -moz-image-region: rect(0px, 16px, 12px, 8px);
}

.scrollbutton-down {
  box-shadow: 0px 0px 0px 9px transparent inset;
  -moz-transition: box-shadow 1s ease-out;
}

.scrollbutton-down:hover,
.scrollbutton-down[notifybgtab="true"],
.scrollbutton-down[disabled="true"] {
  -moz-transition: none;
}

.scrollbutton-up:not([disabled="true"]):hover:active,
.scrollbutton-down:not([disabled="true"]):hover:active,
.scrollbutton-down[notifybgtab="true"] {
  box-shadow: 0px 0px 0px 9px ThreeDShadow inset;
}

.tabs-alltabs-button {
  margin: 2px 0px 1px;
}

/* All tabs menupopup */
.alltabs-item {
  list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.png");
}

.alltabs-item[selected="true"] {
  font-weight: bold;
}

.alltabs-item[busy] {
  list-style-image: url("chrome://communicator/skin/icons/loading.gif");
}

/* ::::: close button ::::: */

.tabs-closebutton {
  margin: 3px;
  list-style-image: url("chrome://communicator/skin/icons/close-button.gif");
}

.tabs-newbutton {
  margin: 0px;
  list-style-image: url("chrome://navigator/skin/icons/tab-new.gif");
}

.tab-drop-indicator-bar {
    height: 11px;
    margin-top: -11px;
    -moz-margin-start: -6px;
    position: relative;
}

.tab-drop-indicator {
    height: 11px;
    width: 11px;
    margin-bottom: -5px;
    position: relative;
    list-style-image: url('chrome://navigator/skin/icons/tab-drag-indicator.gif');
}

tooltip[tabpreview="true"] {
  max-width: none;
}
