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

.tabbrowser-strip {

}

tabpanels {
  -moz-appearance: none;
}

.tabbrowser-tabs {
  padding-top: 1px;
  background: transparent url("chrome://global/skin/icons/tabstrip-bottom.png") repeat-x bottom center !important;
  -moz-padding-start: 2px;
  border-bottom: 2px solid;
  -moz-border-bottom-colors: threedshadow threedlightshadow;
}

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

.tab-icon {
  margin-top: 1px;
  -moz-margin-end: 3px;
  width: 16px;
  height: 16px;
  list-style-image: url("chrome://global/skin/icons/folder-item.png");
  -moz-image-region: rect(0px, 16px, 16px, 0px);
}

tab[busy] > .tab-middle > .tab-icon {
  list-style-image: url("chrome://global/skin/throbber/Throbber-small.gif");
  opacity: 0.5;
}

tab[selected="true"] {
  font-weight: bold;
  margin-bottom: 0px;
  -moz-padding-start: 3px;
}

.tabbrowser-tabs[tiny="true"] > .tabbrowser-tab[selected="true"],
.tabborwser-tabs[singlechild="true"] > .tabbrowser-tab[selected="true"] {
  min-width: 50px; /* approximately favicon + close icon + slop for tab boundaries */
}

tab {
  margin-bottom: 1px;
}

.tab-drop-indicator-bar {
    display:none;
    height: 9px;
    margin-top: -9px;
    position: relative;
}

.tab-drop-indicator {
    height: 9px;
    width: 9px;
    margin-bottom: -5px;
    position: relative;
    background: url('chrome://global/skin/tabDragDrop/tabDragIndicator.png') 50% 50% no-repeat;
}

.tab-drop-indicator-bar[dragging="true"] {
    display: -moz-box;
}

browsermessage {
  background-color: InfoBackground;
  color: InfoText;
  padding: 3px;
}

browsermessage[type="top"] {
  border-bottom: 1px solid ThreeDDarkShadow;
}

browsermessage[type="bottom"] {
  border-top: 1px solid ThreeDDarkShadow;
}

.messageImage {
  width: 16px;
  height: 16px;
}

.messageText {
  -moz-margin-start: 5px;
}

.messageButton {
  margin: 0px 5px 0px 5px;
}

/**
 * In-tab close button
 */
.tab-close-button > .toolbarbutton-icon {
  -moz-margin-end: 0px !important;
}

.tab-close-button {
  list-style-image: url("chrome://global/skin/icons/close.png");
  -moz-appearance: none;
  -moz-image-region: rect(0px, 64px, 16px, 48px);
  -moz-margin-start: 2px;
  margin-top: 2px;
  border: none !important;
  padding: 0px;
  opacity: 0.7;
}

.tab-close-button:hover,
.tabbrowser-tab[selected="true"] > .tab-close-button:hover {
  -moz-image-region: rect(0px, 32px, 16px, 16px);
  opacity: 1.0;
}

.tab-close-button:hover:active,
.tabbrowser-tab[selected="true"] > .tab-close-button:hover:active {
  -moz-image-region: rect(0px, 48px, 16px, 32px);
  opacity: 1.0;
}

.tab-close-button-placeholder {
  list-style-image: url("chrome://global/skin/icons/close.png");
  -moz-image-region: rect(0px, 64px, 16px, 48px);
  opacity: 0.7;
  -moz-margin-start: 2px;
  margin-top: 2px;
  border: none !important;
  padding: 0px;
}

.tabbrowser-tab[selected="true"] > .tab-close-button {
  -moz-margin-start: 2px;
  margin-top: 0px;
  opacity: 1.0;
  -moz-image-region: rect(0px, 16px, 16px, 0px);
}

/**
 * Tabbrowser Tabs
 */
.tabbrowser-tab[selected="true"] {
  -moz-padding-end: 4px; 
  padding-top: 4px;
  padding-bottom: 1px;
}

.tabbrowser-tab[selected="true"] > .tab-middle {
  padding-bottom: 1px;
  -moz-padding-start: 1px;
  margin-bottom: 1px;
}
