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

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

	/* tab colors */
	.tabbrowser-tab[selected]:not(:-moz-lwtheme) .tab-content {
	  background-image: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.4) 50%),
						linear-gradient(-moz-dialog, -moz-dialog) !important;
	}

	@media all and (-moz-windows-theme:aero) {
		#main-window:not([fx57plus="true"]) .tabbrowser-tab[selected]:not(:-moz-lwtheme) .tab-content {
		  background-image: linear-gradient(to top,#eaf2fb,#eef5fc,#fbfdff) !important;
		}
	}
	
	@media all and (-moz-windows-classic) {
		.tabs-newtab-button:not(:-moz-lwtheme):not(#privateTab-afterTabs-openNewPrivateTab),
		#TabsToolbar > #new-tab-button:not(:-moz-lwtheme) {
		  list-style-image: url(chrome://browser/skin/tabbrowser/newtab.svg) !important;
		}

	}

	/* tab colors lightweight theme */
	.tabbrowser-tab[selected]:-moz-lwtheme .tab-content {
	  background-image: linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.46) 50%) !important;
	}
	
	/* tab tweaks */
	.tabbrowser-tab .tab-stack {
	  -moz-appearance: none !important;
	  margin-top: 0px !important;
	  margin-bottom: -5px !important;
	}
    
	#TabsToolbar .tabbrowser-tab .tab-content{
	  -moz-appearance: none !important;
	  -moz-border-image: none !important;
	  margin: 0 0 5px 0 !important;
	}

    /* lightweight theme tweaks*/
	#navigator-toolbox #TabsToolbar:-moz-lwtheme{
	  box-shadow:none !important;
	  border-bottom: 1px solid transparent !important;
	}
	#navigator-toolbox #nav-bar:-moz-lwtheme{
      box-shadow:none !important;
	  border-top: 1px solid transparent !important;
	}
	
	/* other */
	@media all and (-moz-windows-theme:aero) {
		@media all and (-moz-windows-glass) {
			#navigator-toolbox #nav-bar:not(:-moz-lwtheme){
			  box-shadow:none !important;
			}
		}
		@media not all and (-moz-windows-glass) {
			#navigator-toolbox #nav-bar:not(:-moz-lwtheme){
			  box-shadow:none !important;
			  border-top: 1px solid grey !important;
			}
		}
	}

	@media all and (-moz-windows-classic) {
		#navigator-toolbox #nav-bar:not(:-moz-lwtheme){
		  box-shadow:none !important;
		  border-top: 1px solid transparent !important;
		}
	}

	#TabsToolbar:not([tabsontop="false"]):not(:-moz-lwtheme) {
	  margin-bottom:0px !important;
	}
	
	/* Tabs toolbar tab close button (Fx31+) */
	#ctraddon_tabs-closebutton{
	  -moz-image-region: rect(0, 16px, 16px, 0) !important;
	  -moz-appearance: none !important;
	  border: none !important;
	  padding: 0px !important;
	  list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
	}
	#ctraddon_tabs-closebutton:hover{
	  -moz-image-region: rect(0, 32px, 16px, 16px) !important;
	}
	#ctraddon_tabs-closebutton:hover:active {
	  -moz-image-region: rect(0, 48px, 16px, 32px) !important;
	}
	
	/* Tab close button */
	.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button {
	  -moz-appearance: none !important;
	  -moz-image-region: rect(0, 64px, 16px, 48px) !important;
	  border: none !important;
	  padding: 0px !important;
	  list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
	}
	
	.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover,
	.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover[selected="true"] {
	  -moz-image-region: rect(0, 32px, 16px, 16px) !important;
	}
	
	.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active,
	.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active[selected="true"] {
	  -moz-image-region: rect(0, 48px, 16px, 32px) !important;
	}
	
	.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button[selected="true"] {
	  -moz-image-region: rect(0, 16px, 16px, 0) !important;
	}
	
	/*TabUtilities autoreload extra*/
	.tabbrowser-tab:not([pinned]):not([protected])[autoReload] .tab-close-button:hover,
	.tabbrowser-tab:not([pinned]):not([protected])[autoReload] .tab-close-button:hover[selected="true"] {
	  -moz-image-region: rect(0, 32px, 16px, 16px) !important;
	  border: none !important;
	  padding: 0px !important;
	  list-style-image: url("chrome://classic_theme_restorer/content/images/close.png") !important;
	}
	
	@media (min-resolution: 1.1dppx) {
		#ctraddon_tabs-closebutton{
		  -moz-image-region: rect(0, 32px, 32px, 0) !important;
		  list-style-image: url("chrome://classic_theme_restorer/content/images/close@2x.png") !important;
		}
		#ctraddon_tabs-closebutton:hover{
		  -moz-image-region: rect(0, 64px, 32px, 32px) !important;
		}
		#ctraddon_tabs-closebutton:hover:active {
		  -moz-image-region: rect(0, 96px, 32px, 64px) !important;
		}
		
		.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button {
		  -moz-image-region: rect(0, 128px, 32px, 96px) !important;
		  list-style-image: url("chrome://classic_theme_restorer/content/images/close@2x.png") !important;
		}
		
		.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover,
		.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover[selected="true"] {
		  -moz-image-region: rect(0, 64px, 32px, 32px) !important;
		}
		
		.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active,
		.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button:hover:active[selected="true"] {
		  -moz-image-region: rect(0, 96px, 32px, 64px) !important;
		}
		
		.tabbrowser-tab:not([pinned]):not([protected]):not([autoReload]) .tab-close-button[selected="true"] {
		  -moz-image-region: rect(0, 32px, 32px, 0) !important;
		}
		
		/*TabUtilities autoreload extra*/
		.tabbrowser-tab:not([pinned]):not([protected])[autoReload] .tab-close-button:hover,
		.tabbrowser-tab:not([pinned]):not([protected])[autoReload] .tab-close-button:hover[selected="true"] {
		  -moz-image-region: rect(0, 64px, 32px, 32px) !important;
		  list-style-image: url("chrome://classic_theme_restorer/content/images/close@2x.png") !important;
		}
		
	}

	.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
	  -moz-padding-start: 3px !important;
	}
	@media all and (-moz-windows-classic) {
		#TabsToolbar[currentset*="tabbrowser-tabs,tabmixScrollBox"]:not([orient="vertical"]) .tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox {
		  -moz-padding-end: 3px !important;
		}
	}
		
	.tabs-newtab-button{
	  -moz-margin-end:-12px !important;
	}
	
	/* TU workaround */
	#PinnedTabsBarItems {
	  -moz-margin-start:-15px !important;
	  -moz-margin-end:0px !important;
	}
	#tabbrowser-tabs[overflow] #PinnedTabsBarItems {
	  -moz-margin-end:-15px !important;
	}
	/**/

	/* TMP tweaks */
	@media all and (-moz-windows-glass) {
		#navigator-toolbox #TabsToolbar[multibar][tabsontop="false"]:not(:-moz-lwtheme)  {
		  margin-bottom: -1px !important;
		}
	}
	@media not all and (-moz-windows-glass) {
		#navigator-toolbox #TabsToolbar[multibar][tabsontop="false"]:not(:-moz-lwtheme)  {
		  margin-bottom: 0px !important;
		}
	}
}
