/* ***** BEGIN LICENSE BLOCK *****
本功能由FlyWorld设计。
 * ***** END LICENSE BLOCK ***** */

/* ===== myBookmarkCenter.css =====================================================
  == Styles that apply myfirefoxTab.xml ,和 myTabbarright
  ======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* 支持tab栏 */
#myTab-Left-toolbar,
#myTab-Right-toolbar{
  height: 34px !important;
  -moz-appearance: none;  
  border: 0 !important;
}

#myTabBox-Left-toolbox{
  background:transparent !important;
}
#myTabBox-Left-toolbox{
	margin-right: 2px;
}
#myTab-Left-toolbar{
  background:none !important;
}

#sidebar-box[sidebarcommand=""] + #sidebar-splitter + vbox > #content #myTab-Left-toolbar{
  background:transparent url("chrome://browser/skin/ground/myTabBox-Left.png") no-repeat top left !important;
}

#navigator-toolbox[PersonalToolbar="true"]+#browser #sidebar-box[sidebarcommand=""] + #sidebar-splitter + vbox > #content #myTab-Left-toolbar{
  background:transparent url("chrome://browser/skin/ground/myTabBox-BookMarkOpen-Left.png") no-repeat top left !important;
}

#myTab-Right-toolbar{
  background:transparent url("chrome://browser/skin/ground/myTabBox-Right.png") no-repeat top right !important;

}
#navigator-toolbox[PersonalToolbar="true"]+#browser #content #myTab-Right-toolbar{
  background:transparent url("chrome://browser/skin/ground/myTabBox-BookMarkOpen-Right.png") no-repeat top right !important;
}

/* 此处与vista-aero不同*/
.myTabToolBarButton,
.myTabToolBarMenuButton{
  -moz-appearance  : none !important;
  list-style-image: url("chrome://browser/skin/ground/myTabToolBarIcons.png");
  border: 0px ;
}
.myTabToolBarButton{
  margin: 1px 0px 5px 0px  ;
}

.myTabToolBarMenuButton > menupopup, .myTabToolBarButton > menupopup{
   margin-top:-1px
} 
.myTabToolBarButton > .toolbarbutton-menu-dropmarker,
.myTabToolBarButton > .toolbarbutton-menubutton-dropmarker{
  display:none ;
}

.myTabToolBarButton{
  padding:2px 5px 4px 5px ; 
}

.myTabToolBarButton:hover:active,
.myTabToolBarButton[checked="true"],
.myTabToolBarButton[open="true"]{
  padding:3px 4px 3px 6px ; 
}

.myTabToolBarButton>image{
  margin:0px ;
}

.myTabToolBarButton>label,
.myTabToolBarMenuButton>label{
  display:none ;
}

.myTabToolBarButton:hover{
  background:url("chrome://browser/skin/ground/myTabToolButtonHover.png") top center no-repeat ;
}

.myTabToolBarButton:hover:active,
.myTabToolBarButton[open="true"]{
  background:url("chrome://browser/skin/ground/myTabToolButtonActive.png") top center  no-repeat;
}

.myTabToolBarMenuButton:hover{
   background:url("chrome://browser/skin/ground/myTabToolBarMenuButtonGround.png") no-repeat;
}

.myTabToolBarMenuButton:hover:active,
.myTabToolBarMenuButton[open="true"]{
   background:url("chrome://browser/skin/ground/myTabToolBarMenuButtonGround1.png") no-repeat;
}

#mySideBar-toolbar .toolbarbutton-icon{
  margin-top:-2px;
  margin-bottom:3px
} 

#myFeed-button{
  margin: 1px 0px 5px 0px !important;
  padding:0 !important;
  width:24px  !important;
}

#myFeed-button[feeds] {
  list-style-image: url("chrome://browser/skin/feeds/myFeed-button.png");
  -moz-image-region: rect(0px 32px 16px 16px);
}

#myFeed-button[feeds]:hover {
  -moz-image-region: rect(0px 32px 16px 16px);
}

#myFeed-button[feeds][open="true"],
#myFeed-button[feeds]:hover:active {
  -moz-image-region: rect(0px 48px 16px 32px);
}
#myFeed-button:not([feeds]) {
  list-style-image: url("chrome://browser/skin/feeds/myFeed-button.png") !important;
  -moz-image-region: rect(0px 16px 16px 0px);
}

#myFeed-button .button-icon{
	padding:1px ;
}
#myFeed-button > label{
	display:none ;
}
#myFeed-button:hover:active .button-icon,
#myFeed-button[open="true"] .button-icon{
	padding:2px 0px 0px 2px ;
}
#myFeed-button[feeds="true"]:hover{
  background:url("chrome://browser/skin/ground/myTabToolButtonHover.png") no-repeat !important;
}
#myFeed-button[feeds="true"]:hover:active,
#myFeed-button[feeds="true"][open="true"]{
  background:url("chrome://browser/skin/ground/myTabToolButtonActive.png") no-repeat !important;
}

menuitem[feed]{
  list-style-image: url("chrome://browser/skin/feeds/myFeed-button.png");
  -moz-image-region: rect(0px 32px 16px 16px);	
}

#myUndoGoHomePage{
  list-style-image: url("chrome://global/skin/CuteMenus/home.png");	
}
#myTabhome{
  -moz-image-region: rect(0px, 48px, 16px, 32px);
}

#myTabdownloads{
  -moz-image-region: rect(0px, 96px, 16px, 80px);
}

#myPageInfo{
  -moz-image-region: rect(0px, 112px, 16px, 96px);
}
#mySecurity{
  -moz-image-region: rect(0px, 272px, 16px, 258px);
  margin-right:-1px ;
}

#myUndoClose{
  -moz-image-region: rect(0px, 223px, 16px, 209px);
}

#myTabdownloads{
  -moz-image-region: rect(0px, 96px, 16px, 80px);
}
#myTabPrint{
  -moz-image-region: rect(0px, 64px, 16px, 48px);
}

#myFxva-Settings{
  list-style-image: url("chrome://global/skin/CuteMenus/myFxVa.png");
}

#myOptions{
  -moz-image-region: rect(0px, 80px, 16px, 64px);
}

#myExtendButton{ 
  list-style-image: url("chrome://browser/skin/ground/myExtend.png");	
  -moz-image-region: rect(0px, 17px, 27px, 0px);
  margin:0px 2px 5px 0  !important;
  padding:0 !important;
  position:relative  !important;
  z-index:1  !important;   
}
#myExtendButton:hover{
  list-style-image: url("chrome://browser/skin/ground/myExtend.png");		
  -moz-image-region: rect(0px, 34px, 27px, 17px);
  background:none  !important;  
}
#myExtendButton:hover:active,
#myExtendButton[open="true"]{
  list-style-image: url("chrome://browser/skin/ground/myExtend.png");		
  -moz-image-region: rect(0px, 51px, 27px, 34px);
  background:none  !important;
}

#myPrivateBrowser{
  list-style-image: url("chrome://global/skin/CuteMenus/private.png");		
  -moz-image-region: rect(0px, 16px, 16px, 0px);
}



/*两个菜单分隔符时，只显示一个。*/
#myOptions menuseparator+menuseparator{
  display:none;
}

menuitem[command="Browser:ShowAllBookmarks"] {
  list-style-image: url("chrome://browser/skin/ground/myTabToolBarIcons.png");
  -moz-image-region: rect(0px, 240px, 16px, 224px) ;	
}

#mySetPanel{
  color:black;
 }