/* ***** BEGIN LICENSE BLOCK *****
本功能由FlyWorld设计。
* ***** END LICENSE BLOCK ***** */
/* ===== Tmp.css ========================================================================== */

/* 以下是新tab标签按钮的内容 */
.tabbrowser-tabs[flowing="scrollbutton"] #tabs-newbutton-box > .tabs-newtab-button {
	margin-top:4px !important;
	height:24px !important;
	margin-right:0 !important;
}

.tabbrowser-tabs[multibar="true"] .tabs-frame .tabs-newtab-button {
	margin-top:2px !important;
	margin-bottom:6px !important;
	max-height:24px !important;
	height:24px !important;
}

.tabbrowser-tabs[flowing="scrollbutton"][newtab_side="right"]:not([overflow="true"]) #tabs-newbutton-box > #tabs-newbutton{
  margin-left:-4px !important ;
}
.tabbrowser-tabs[flowing=multibar] #tabs-newbutton-box > #tabs-newbutton{
	margin:4px 0 0 -1px !important;
	height:24px !important;
	border:none !important;
}


#tabs-newTab{
  margin:0 -2px 0 0 !important ;
  padding:0 !important ;  
}



/*关闭tab按钮*/
#myTabBarClose{
  padding:0px 2px 0 0px ;
  border:none ;
  background:url(chrome://global/skin/myFirefox/Tmp/myTabClose.png)  ;
  margin-top:4px ;
  margin-right:0 ;
  height:24px ;
  margin-left:-7px ;
}
.tabbrowser-tabs[newtab_side="right"] #myTabBarClose,
.tabbrowser-tabs[overflow="true"] #myTabBarClose{
  margin-left:-1px ;
}

#myTabBarClose:hover{
  background:url(chrome://global/skin/myFirefox/Tmp/myTabCloseHover.png)  ;
}

#myTabBarClose image{
  margin-top:1px ;
}

/*标签栏和按钮*/
.tabbrowser-tabs {
  margin-left:5px !important;
  margin-right:5px !important;
}

.tabbrowser-tabs[overflow="true"][scrollbutton-up="left"]{
  margin-left:8px !important;
}

.tabbrowser-tabs[overflow="true"]:not([scrollbutton-up="left"]){
  margin-left:5px !important;
}

.tabbrowser-tabs > .tabbrowser-tab .tab-middle .tab-text ,
.tabbrowser-tabs > .tabbrowser-tab[selected="true"]:focus .tab-middle .tab-text{
  border: 1px dotted transparent !important;
}

.tabbrowser-tabs > .tabbrowser-tab[selected="true"] .tab-middle .tab-text{
  margin-bottom:2px !important ;
}

#myShowCaseButton{
  margin-top:4px !important;
}

.tabbrowser-tab[busy] > .tab-image-middle > .tab-icon > .tab-icon-image {
  list-style-image: url("chrome://global/skin/throbber/Throbber-small-new.gif") !important;
  background:url("chrome://global/skin/throbber/Throbber-small.png") no-repeat center center ;
}

/* all tab box */
.tabbrowser-tabs[hideAllTabsButton="true"] #myShowCaseButton,
.tabbrowser-tabs[hideAllTabsButton="true"] .myTabs-alltabs-box{
	display:none ;
}

.tabs-alltabs-topbox{
  margin: 4px -1px  0px -1px ;
}

.tabs-alltabs-topbox > *{
  margin:0 !important;
  padding:0 !important;
}

.tabs-scroll{
  -moz-appearance: none !important;
  margin:0px 0px 3px -1px !important ;
  padding:0 !important ;
  position:relative ;
  z-index:1 ;
}

.tabs-right{
  display:none !important;
}

/*单行tabbar*/
.tabs-frame{
  margin-left:-3px !important;
  margin-right:0px ;
}
.tabbrowser-tabs[flowing="scrollbutton"][overflow="true"] .tabs-frame{
  margin-left:-3px  !important;;
}

.tabbrowser-tabs[flowing="scrollbutton"][overflow="true"] .tabs-frame > box{
  padding-left:3px  !important;
}

.tabbrowser-tabs[flowing="scrollbutton"][overflow="true"][disableScrollTabsLeft="true"] .tabs-frame{
  margin-left:-6px !important;
}
.tabbrowser-tabs[flowing="scrollbutton"][scrollbutton-up="left"][overflow="true"][disableScrollTabsLeft="true"] .tabs-frame{
  margin-left:-5px  !important;;
}

.tabbrowser-tabs[flowing="scrollbutton"][overflow="true"][disableScrollTabsRight=true] .tabs-frame {
  margin-right:-4px  !important ;
}

tabs[flowing=scrollbutton][overflow="true"] .tabbrowser-tab:not([collapsed="true"]){
  margin-left:0px !important;
  margin-right:-1px !important ;
}
tabs[flowing=scrollbutton] .tabbrowser-tab:not([collapsed="true"]):first-child{
  margin-left:3px !important;
}
tabs[flowing=scrollbutton] .tabbrowser-tab:not([collapsed="true"]):last-child{
  margin-right:0px !important;
}
.tabbrowser-tabs[flowing=scrollbutton][overflow="true"] .tabbrowser-tab:last-child > .myTab-right-corner {
	margin-right:-3px !important; ;
}

tabs[flowing=scrollbutton][disableScrollTabsRight="true"] .tabs-frame > box{
	padding-right:3px !important;
}
tabs[flowing=scrollbutton][disableScrollTabsRight="true"] .tabs-frame{	
	z-index:1000  !important;
}

.tabbrowser-arrowscrollbox > toolbarbutton{
  border:none !important;
  padding:0 !important;
}

.tabbrowser-arrowscrollbox > .scrollbutton-up{
   margin: 3px 0px  0px 0px !important;
}

.tabbrowser-arrowscrollbox[_side="right"] > .scrollbutton-up[disabled="true"] {
  display:-moz-box !important ;
}

.tabbrowser-arrowscrollbox[flowing="scrollbutton"][_side="left"][scrollbutton-up="left"]{
  margin-right:-1px !important;
}

.tabbrowser-arrowscrollbox[flowing="scrollbutton"][_side="left"][scrollbutton-up="left"] .scrollbutton-up {
  margin-left:0px !important;
}

.tabbrowser-arrowscrollbox[scrollbutton-up="left"][_side="right"]  .scrollbutton-down {
  margin: 3px 0px 0px 0px !important ;
}
.tabbrowser-tabs:not([flowing=multibar]) .tabbrowser-arrowscrollbox:not([scrollbutton-up="left"])[_side="right"]  .scrollbutton-down {
  margin: 3px 0px 0px -1px !important ;
}

tab progressmeter{
  background: transparent !important; 
}

tabs[useProgressColor=true] .tabbrowser-tab .tab-progress{
background:none !important;
}

/*多行tabbar*/
.tabbrowser-tabs[flowing=multibar][overflow="true"] .tabbrowser-tab[first-tab="true"] {
  margin-left:0px !important;
}
.tabbrowser-tabs[flowing=multibar][overflow="true"] .tabbrowser-tab[last-tab="true"] {
  margin-right:0px !important;
}
.tabbrowser-tabs[multibar] .tabs-frame{
  margin-left:0px  !important;;
}

.tabbrowser-tabs[multibar="true"]:not([newtab_side="afterlast"])  .tabs-frame .tabs-newtab-button{
  height:0px !important;
  visibility: collapse !important;
}

.tabbrowser-tabs[multibar="true"][overflow="true"][disableScrollTabsLeft="true"]  .tabbrowser-arrowscrollbox[_side=left]:not([scrollbutton-up=left]) + .tabs-frame{
  padding-left:0px !important;
}

 .tabbrowser-tabs[flowing=multibar][multibar][classic=v3] .tabs-frame {
  margin-left:0px !important;
  margin-top: 0px !important;
  margin-bottom: 0px !important;
}

.tabbrowser-tabs[multibar="true"] .tabbrowser-tab ,
.tabbrowser-tabs[flowing=multibar][inline=true] > .tabbrowser-tab,
.tabbrowser-tabs[flowing=multibar][multibar] > .tabbrowser-tab {
  min-height:27px !important;
  height:27px !important;
  max-height:27px !important;
  margin-top:2px !important;
  margin-bottom:5px !important;
  margin-left:0 !important;
  margin-right:-1px !important;
}

.tabbrowser-tabs[multibar="true"] .tabbrowser-tab:not([selected="true"]) ,
.tabbrowser-tabs[flowing=multibar][inline=true] > .tabbrowser-tab:not([selected="true"]),
.tabbrowser-tabs[flowing=multibar][multibar] > .tabbrowser-tab:not([selected="true"]) {
  min-height:24px !important;
  height:24px !important;
  max-height:24px !important;
  margin-top:4px !important;
  margin-bottom:6px !important;
}

.tabbrowser-tabs[flowing=multibar][multibar] .tabs-bottom{
	height:6px !important;
}

 .tabbrowser-arrowscrollbox[flowing=multibar] > .scrollbutton-up {
	 height:25px !important;
   margin:4px 0px  0px 0px !important;
} 

 .tabbrowser-arrowscrollbox[flowing=multibar]  .scrollbutton-down {
	 height:25px !important;	 
   margin:9px 1px  0px 0px !important;
}
