xpi/content/css/appbutton2wt.css
@import url(appbutton2.css);
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

@-moz-document url(chrome://browser/content/browser.xul) {

	#ctraddon_appbutton2{
	  width: 95px !important;
	}

	#ctraddon_appbutton2:-moz-locale-dir(ltr) > label{
	  -moz-appearance: none !important;
      margin: 0 -26px 0 -34px !important;
	}
	#ctraddon_appbutton2:-moz-locale-dir(rtl) > label{
	  -moz-appearance: none !important;
      margin: 0 -34px 0 -26px !important;
	}

	@media (-moz-os-version: windows-win8) {
		#ctraddon_appbutton2:-moz-locale-dir(ltr) > label{
		  -moz-appearance: none !important;
		  margin: -4px -26px 0 -34px !important;
		  padding-top: 4px !important;
		}
		#ctraddon_appbutton2:-moz-locale-dir(rtl) > label{
		  -moz-appearance: none !important;
		  margin: -4px -34px 0 -26px !important;
		  padding-top: 4px !important;
		}
	}

	@media (-moz-os-version: windows-win10) {
		#ctraddon_appbutton2:-moz-locale-dir(ltr) > label{
		  -moz-appearance: none !important;
		  margin: -4px -26px 0 -34px !important;
		  padding-top: 4px !important;
		}
		#ctraddon_appbutton2:-moz-locale-dir(rtl) > label{
		  -moz-appearance: none !important;
		  margin: -4px -34px 0 -26px !important;
		  padding-top: 4px !important;
		}
		
		#ctraddon_appbutton2 > .toolbarbutton-menu-dropmarker{
		  -moz-appearance: none !important;
		  margin-top: 0px !important;
		  padding-top: 2px !important;
		}
		
		@media not all and (-moz-windows-theme:aero) {
		  #main-window[tabsintitlebar][sizemode="normal"] #TabsToolbar .titlebar-placeholder{
			visibility:collapse !important;
		  }
		}
	}

	#ctraddon_appbutton2 > .toolbarbutton-menu-dropmarker,
	#ctraddon_appbutton2:hover:active > .toolbarbutton-menu-dropmarker,
	#ctraddon_appbutton2[open] > .toolbarbutton-menu-dropmarker{
	  list-style-image: url(chrome://classic_theme_restorer/content/images/appmenu-dropmarker.png) !important;
	}
	
	#main-window:not([tabsintitlebar]) #titlebar-buttonbox-container{
	  -moz-appearance: none !important;
	  visibility:collapse !important;
	}
	
	#main-window[tabsintitlebar] #titlebar:not([hidden]) ~ * #toolbar-menubar {
	  -moz-margin-start: 99px !important;
	}

	#main-window[tabsintitlebar][customizing][sizemode="maximized"] #titlebar:not([hidden]) ~ * #toolbar-menubar {
	  -moz-margin-start: 26px !important;
	}
	
	#main-window[tabsintitlebar][chromehidden~="menubar"][sizemode="maximized"]:not([tabsontop="false"]) #toolbar-menubar ~ #TabsToolbar,
	#main-window[tabsintitlebar][sizemode="maximized"]:not([tabsontop="false"]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
	  -moz-margin-start: 97px;
	}
	
	@media all and (-moz-windows-theme:aero) {

		@media all and (-moz-windows-compositor) {
		
			#main-window[tabsintitlebar][sizemode="normal"] #TabsToolbar .titlebar-placeholder{
			  visibility:collapse !important;
			}
			#main-window[tabsintitlebar][chromehidden~="menubar"][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar ~ #TabsToolbar,
			#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
			  margin-top: 20px !important;
			}
			
		}
		@media not all and (-moz-windows-compositor) {

			#main-window[tabsintitlebar][sizemode="normal"] #TabsToolbar .titlebar-placeholder{
			  visibility:collapse !important;
			}

			#main-window[tabsintitlebar][chromehidden~="menubar"][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar ~ #TabsToolbar,
			#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
			  margin-top: 26px !important;
			}
		}

	}
	
	@media (-moz-os-version: windows-win7){
	  @media (-moz-windows-classic){
	
		#main-window[tabsintitlebar][sizemode="normal"] #TabsToolbar .titlebar-placeholder{
		  visibility:collapse !important;
		}
		#main-window[tabsintitlebar][chromehidden~="menubar"][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar ~ #TabsToolbar,
		#main-window[tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
		  margin-top: 16px !important;
		}
	
	  }
	}
	
	@media (-moz-os-version: windows-win10) {
		
		#main-window[sizemode="normal"][developertheme="true"]:not([tabsontop="false"]) #navigator-toolbox {
		  margin-top: 2px !important;
		}
		
		/*#main-window[fx57plus="true"][tabsintitlebar][chromehidden~="menubar"][sizemode="normal"]:not([tabsontop="false"]) #toolbar-menubar ~ #TabsToolbar,
		#main-window[fx57plus="true"][tabsintitlebar][sizemode="normal"]:not([tabsontop="false"]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
		  -moz-margin-start: 97px;
		}
		
		#main-window[fx57plus="true"][tabsintitlebar][sizemode="normal"] #TabsToolbar .titlebar-placeholder{
		  visibility: visible !important;
		}*/
		
	}
	
	/* for LavaFox themes */
	#main-window[currenttheme^="LavaFox"][tabsintitlebar][chromehidden~="menubar"][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar ~ #TabsToolbar,
	#main-window[currenttheme^="LavaFox"][tabsintitlebar][sizemode="normal"]:not([inFullscreen]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
	  margin-top: 0px !important;
	}
	#main-window[currenttheme^="LavaFox"][tabsintitlebar][sizemode="normal"] #titlebar:not([hidden]) ~ * #toolbar-menubar {
	 -moz-margin-start: 0px !important;
	}
	#main-window[currenttheme^="LavaFox"][tabsintitlebar][chromehidden~="menubar"][sizemode="maximized"]:not([tabsontop="false"]) #toolbar-menubar ~ #TabsToolbar,
	#main-window[currenttheme^="LavaFox"][tabsintitlebar][sizemode="maximized"]:not([tabsontop="false"]) #toolbar-menubar[autohide="true"][inactive] ~ #TabsToolbar {
	 -moz-margin-start: 97px !important;
	}

}