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

/* ===== myBookmarkCenter.css =====================================================
  == Styles that apply myBookmarkCenter.xml
  ======================================================================= */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

toolbarbutton{
  -moz-appearance: none !important;
  -moz-box-orient: horizontal !important ;
  margin:0 1px 0 1px ;
  padding:0 !important;
  border:none !important;
}
toolbarbutton > hbox {
  height: 24px  !important;
  min-height: 24px  !important;
}
toolbarbutton image{
  margin-left:1px ;
  margin-right:1px ;
}
toolbarbutton[type="menu-button"] .button-icon{
  margin-left:4px ;
  margin-right:3px ;
}

toolbarbutton[type="menu-button"] dropmarker{
  margin-left:2px ;
  margin-right:0px ;
}

toolbarbutton[type="menu"] .toolbarbutton-icon{
  margin-left:0px ;
  margin-right:0px ;
}

toolbarbutton[type="menu"] .toolbarbutton-menu-dropmarker{
	margin:0
}
toolbarbutton .button-icon,
toolbarbutton .button-text,
toolbarbutton > .myButton-arrowBox > dropmarker,
toolbarbutton .toolbarbutton-icon,
toolbarbutton .toolbarbutton-text,
toolbarbutton .toolbarbutton-menu-dropmarker {
  padding:1px ;
}
toolbarbutton:hover > toolbarbutton:active  .button-icon,
toolbarbutton:hover > toolbarbutton:active  .button-text,
toolbarbutton:hover:active .toolbarbutton-icon,
toolbarbutton:hover:active .toolbarbutton-text,
toolbarbutton:hover:active .toolbarbutton-menu-dropmarker,
toolbarbutton[type="menu"][open="true"] .toolbarbutton-icon,
toolbarbutton[type="menu"][open="true"] .toolbarbutton-text,
toolbarbutton[type="menu"][open="true"] .toolbarbutton-menu-dropmarker{
  padding:2px 0px 0px 2px ;
}

toolbarbutton >  dropmarker{
  list-style-image: url("chrome://global/skin/icons/menubutton-dropmarker.png") ;
}

toolbarbutton > .myButton-arrowBox > dropmarker{
  list-style-image: url("chrome://global/skin/icons/menubutton-dropmarker.png") ;
}
toolbarbutton:hover {
  background:url("chrome://global/skin/myFirefox/myToolBarButton/myTbBody.png") repeat-x center center ;
}
toolbarbutton:hover > .myButton-left{
  background:url("chrome://global/skin/myFirefox/myToolBarButton/myTbLeft.png") no-repeat center center ;
}
toolbarbutton:hover > .myButton-right{
  background:url("chrome://global/skin/myFirefox/myToolBarButton/myTbRight.png") no-repeat center center ;
}
toolbarbutton:hover > .myButton-middle{
  background:url("chrome://global/skin/myFirefox/myToolBarButton/myTbMiddle.png") no-repeat center center ;
}
toolbarbutton[type="menu"][open="true"],
toolbarbutton[checked="true"],
toolbarbutton:hover:active {
  background:url("chrome://global/skin/myFirefox/myToolBarButton/myTbBodyActive.png") repeat-x center center ;
}

toolbarbutton[type="menu"][open="true"] > .myButton-left ,
toolbarbutton[checked="true"] > .myButton-left ,
toolbarbutton:hover:active > .myButton-left{
  background:url("chrome://global/skin/myFirefox/myToolBarButton/myTbLeftActive.png") no-repeat center center ;
}
toolbarbutton[type="menu"][open="true"] > .myButton-right,
toolbarbutton[checked="true"] > .myButton-right,
toolbarbutton:hover:active > .myButton-right{
  background:url("chrome://global/skin/myFirefox/myToolBarButton/myTbRightActive.png") no-repeat center center ;
}
toolbarbutton[checked="true"] >  .myButton-middle,
toolbarbutton:hover:active > .myButton-middle{
  background:url("chrome://global/skin/myFirefox/myToolBarButton/myTbMiddleActive.png") no-repeat center center ;
}
toolbarbutton[type="menu-button"][open="true"],
toolbarbutton[type="menu-button"][open="true"]{
  background:url("chrome://global/skin/myFirefox/myToolBarButton/myTbBody.png") repeat-x center center ;
}
toolbarbutton[type="menu-button"][open="true"]  > .myButton-left,
toolbarbutton[type="menu-button"][open="true"]:hover:active  > .myButton-left{
  background:url("chrome://global/skin/myFirefox/myToolBarButton/myTbLeft.png") no-repeat center center ;
}
toolbarbutton[type="menu-button"][open="true"] > .myButton-right,
toolbarbutton[type="menu-button"][open="true"]:hover:active > .myButton-right{
  background:url("chrome://global/skin/myFirefox/myToolBarButton/myTbRightOpen.png") no-repeat center center ;
}
toolbarbutton[type="menu-button"][open="true"] > .myButton-middle,
toolbarbutton[type="menu-button"][open="true"]:hover:active > .myButton-middle{
  background:url("chrome://global/skin/myFirefox/myToolBarButton/myTbMiddleOpen.png") no-repeat center center ;
}
toolbarbutton[type="menu-button"][open="true"] > .myButton-arrowBox,
toolbarbutton[type="menu-button"][open="true"]:hover:active > .myButton-arrowBox{
  background:url("chrome://global/skin/myFirefox/myToolBarButton/myTbDropmarkerOpen.png") repeat-x center center ;
}

toolbarbutton  label{
  margin-right:4px !important;
  margin-top:0px ;
  text-align: left ;
}
toolbarbutton  label{
  margin-right:4px ;
  margin-top:0px ;
  text-align: left ;
}
toolbarbutton:not([label]) label{
	display:none;
}