@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);
/*rotate icons on hover*/
#identity-box:hover image,#xpinstallheader:hover>.alert-icon,installitem:hover .xpinstallItemIcon,treecol:hover>.treecol-icon,richlistitem:hover .addonIcon>image,hbox[id*="Button"]:hover image,statusbarpanel:hover>image,tab:hover image,checkbox:hover>.checkbox-check,radio:hover>image,radio:hover>*>image,menuitem:hover>hbox>.menu-iconic-icon,menu:hover>image.menubar-left,menu:hover>hbox>.menu-iconic-icon,toolbarbutton:hover .toolbarbutton-icon,button:hover .button-icon, #star-button:hover, #feed-button:hover, #omnibar-defaultEngine:hover, menuitem[type="checkbox"]:hover>.menu-iconic-left
{-moz-transform:rotate(20deg)!important}

/*remove rotate*/
#identity-box:not(:hover):not(:active) image,#xpinstallheader:not(:hover):not(:active)>.alert-icon,installitem:not(:hover):not(:active) .xpinstallItemIcon,treecol:not(:hover):not(:active)>.treecol-icon,richlistitem:not(:hover):not(:active) .addonIcon>image,hbox[id*="Button"]:not(:hover):not(:active) image,statusbarpanel:not(:hover):not(:active)>image,tab:not(:hover):not(:active) image,checkbox:not(:hover):not(:active)>.checkbox-check,radio:not(:hover):not(:active)>image,radio:not(:hover):not(:active)>*>image,menuitem:not(:hover):not(:active)>hbox>.menu-iconic-icon,menu:not(:hover):not(:active)>image.menubar-left,menu:not(:hover):not(:active)>hbox>.menu-iconic-icon,toolbarbutton:not(:hover):not(:active) .toolbarbutton-icon,button:not(:hover):not(:active) .button-icon
{-moz-transform:rotate(0)!important}
/*menu fix for rotate icons*/
popup .box-inherit.scrollbox-innerbox,menupopup .box-inherit.scrollbox-innerbox{margin-bottom:2.5pt!important}

/*stop the back/forward/stop/reload buttons from rotating*/
#reload-button:not(blah) .toolbarbutton-icon,
#stop-button:not(blah) .toolbarbutton-icon,
#back-button:not(blah) .toolbarbutton-icon,
#forward-button:not(blah) .toolbarbutton-icon,
#back-forward-dropmarker:not(blah) .toolbarbutton-icon{-moz-transform:rotate(0)!important}