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

.tabbrowser-tabs[treestyletab-style~="color"][treestyletab-mode="vertical"]
  .tabbrowser-tab {
	-moz-border-right-colors: transparent transparent !important;
	-moz-border-left-colors: transparent transparent !important;
}

.tabbrowser-tabs[treestyletab-style~="color"]:not([treestyletab-tabbar-position="top"])
  .tabbrowser-tab:not([selected="true"]):hover {
	-moz-border-top-colors: #e0e8f6 transparent !important;
	-moz-border-left-colors: #e0e8f6 transparent !important;
}
.tabbrowser-tabs[treestyletab-style~="color"]:not([treestyletab-tabbar-position="top"])
  .tabbrowser-tab:not([selected="true"]):not([pinned]):hover,
.tabbrowser-tabs[treestyletab-style~="color"]:not([treestyletab-tabbar-position="top"])
  .tabbrowser-tab:not([selected="true"])[pinned]:not([titlechanged]):hover {
	background-color: #e0e8f6 !important;
}
.tabbrowser-tabs[treestyletab-style~="color"][treestyletab-mode="vertical"][treestyletab-firsttab-border="true"]
  .tabbrowser-tab:first-child:not([selected="true"]):hover {
	-moz-border-top-colors: ThreeDShadow #e0e8f6 !important;
}
.tabbrowser-tabs[treestyletab-style~="color"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"]
  .tabbrowser-tab:not([selected="true"]):hover {
	-moz-border-right-colors: #e0e8f6 transparent !important;
}

.tabbrowser-tabs[treestyletab-style~="color"]:not([treestyletab-tabbar-position="top"])
  .tabbrowser-tab[selected="true"] {
	-moz-border-top-colors: #c1d2ee transparent !important;
	-moz-border-left-colors: #c1d2ee transparent !important;
}
.tabbrowser-tabs[treestyletab-style~="color"]:not([treestyletab-tabbar-position="top"])
  .tabbrowser-tab[selected="true"] {
	background-color: #c1d2ee !important;
}
.tabbrowser-tabs[treestyletab-style~="color"][treestyletab-mode="vertical"][treestyletab-firsttab-border="true"]
  .tabbrowser-tab:first-child[selected="true"] {
	-moz-border-top-colors: ThreeDShadow #c1d2ee !important;
}
.tabbrowser-tabs[treestyletab-style~="color"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"]
  .tabbrowser-tab[selected="true"] {
	-moz-border-right-colors: #c1d2ee transparent !important;
}

.tabbrowser-tabs[treestyletab-style~="color"]:not([treestyletab-tabbar-position="top"])
  .tabbrowser-tab[selected="true"]:hover {
	-moz-border-top-colors: #d1e2fe transparent !important;
	-moz-border-left-colors: #d1e2fe transparent !important;
}
.tabbrowser-tabs[treestyletab-style~="color"]:not([treestyletab-tabbar-position="top"])
  .tabbrowser-tab[selected="true"]:hover {
	background-color: #d1e2fe !important;
}
.tabbrowser-tabs[treestyletab-style~="color"][treestyletab-mode="vertical"][treestyletab-firsttab-border="true"]
  .tabbrowser-tab:first-child[selected="true"]:hover {
	-moz-border-top-colors: ThreeDShadow #d1e2fe !important;
}
.tabbrowser-tabs[treestyletab-style~="color"][treestyletab-mode="vertical"][treestyletab-tab-inverted="true"]
  .tabbrowser-tab[selected="true"]:hover {
	-moz-border-right-colors: #d1e2fe transparent !important;
}
