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

	#ctraddon_bookmarks-menu-toolbar-button,
	#ctraddon_bookmarks-button {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/bookmarks_mac.png");
	}
	#ctraddon_bookmarks-menu-toolbar-button:active,
	#ctraddon_bookmarks-button:active {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/bookmarks2_mac.png");
	}
	#ctraddon_bookmarks-menu-toolbar-button:-moz-lwtheme-brighttext,
	#ctraddon_bookmarks-button:-moz-lwtheme-brighttext{
	  list-style-image: url("chrome://classic_theme_restorer/content/images/bookmarks-inv.png");
	}
	#ctraddon_bookmarks-menu-toolbar-button[open],
	#ctraddon_bookmarks-menu-toolbar-button[open]:active,
	#ctraddon_bookmarks-menu-toolbar-button[open]:-moz-lwtheme-brighttext,
	#ctraddon_bookmarks-menu-toolbar-button[open]:active:-moz-lwtheme-brighttext{
	  list-style-image: url("chrome://classic_theme_restorer/content/images/bookmarks3_mac.png");
	}
	#ctraddon_history-menu-toolbar-button,
	#ctraddon_history-button {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/history_mac.png");
	}
	#ctraddon_history-menu-toolbar-button:active ,
	#ctraddon_history-button:active  {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/history2_mac.png");
	}
	#ctraddon_history-menu-toolbar-button:-moz-lwtheme-brighttext,
	#ctraddon_history-button:-moz-lwtheme-brighttext {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/history-inv.png");
	}
	#ctraddon_back-button {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/back_mac.png");
	}
	#ctraddon_back-button:active  {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/back2_mac.png");
	}
	#ctraddon_back-button:-moz-lwtheme-brighttext {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/back-inv.png");
	}
	#ctraddon_forward-button,
	#ctraddon_go-button {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/forward_mac.png");
	}
	#ctraddon_forward-button:active,
	#ctraddon_go-button:active{
	  list-style-image: url("chrome://classic_theme_restorer/content/images/forward2_mac.png");
	}
	#ctraddon_forward-button:-moz-lwtheme-brighttext,
	#ctraddon_go-button:-moz-lwtheme-brighttext {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/forward-inv.png");
	}
	#ctraddon_stop-button {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/stop_mac.png");
	}
	#ctraddon_stop-button:active {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/stop2_mac.png");
	}
	#ctraddon_stop-button:-moz-lwtheme-brighttext {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/stop-inv.png");
	}
	#ctraddon_reload-button {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/reload_mac.png");
	}
	#ctraddon_reload-button:active  {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/reload2_mac.png");
	}
	#ctraddon_reload-button:-moz-lwtheme-brighttext {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/reload-inv.png");
	}
	
	#ctraddon_restart-button {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/ctrrestart.png");
	}
	
	/* for Retina display */
	@media (min-resolution: 2dppx) {
		#main-window[defaultfxtheme="true"] :-moz-any(#ctraddon_bookmarks-menu-toolbar-button,#ctraddon_bookmarks-button,#ctraddon_history-button,#ctraddon_history-menu-toolbar-button,#ctraddon_back-button,#ctraddon_forward-button,#ctraddon_stop-button,#ctraddon_reload-button,#ctraddon_go-button) {
		  list-style-image: url("chrome://browser/skin/Toolbar@2x.png");
		}
		
		#main-window[defaultfxtheme="true"] :-moz-any(#ctraddon_bookmarks-menu-toolbar-button,#ctraddon_bookmarks-button,#ctraddon_history-button,#ctraddon_history-menu-toolbar-button,#ctraddon_back-button,#ctraddon_forward-button,#ctraddon_stop-button,#ctraddon_reload-button,#ctraddon_go-button):-moz-lwtheme-brighttext {
		  list-style-image: url("chrome://browser/skin/Toolbar-inverted@2x.png");
		}
		
		#main-window[defaultfxtheme="true"][fx55plus="true"]  :-moz-any(#ctraddon_bookmarks-menu-toolbar-button,#ctraddon_bookmarks-button,#ctraddon_history-button,#ctraddon_history-menu-toolbar-button,#ctraddon_back-button,#ctraddon_forward-button,#ctraddon_stop-button,#ctraddon_reload-button,#ctraddon_go-button) {
		  list-style-image: url("chrome://classic_theme_restorer/content/images/Toolbar@2x.png");
		}
		
		#main-window[defaultfxtheme="true"][fx55plus="true"]  :-moz-any(#ctraddon_bookmarks-menu-toolbar-button,#ctraddon_bookmarks-button,#ctraddon_history-button,#ctraddon_history-menu-toolbar-button,#ctraddon_back-button,#ctraddon_forward-button,#ctraddon_stop-button,#ctraddon_reload-button,#ctraddon_go-button):-moz-lwtheme-brighttext {
		  list-style-image: url("chrome://classic_theme_restorer/content/images/Toolbar-inverted@2x.png");
		}
	  
	  #main-window[defaultfxtheme="true"] #ctraddon_back-button {
		-moz-image-region: rect(0, 108px, 36px, 72px) !important;
	  }

	  #main-window[defaultfxtheme="true"] #ctraddon_back-button:hover:active:not([disabled="true"]) {
		-moz-image-region: rect(36px, 108px, 72px, 72px) !important;
	  }

	  #main-window[defaultfxtheme="true"] #ctraddon_forward-button,
	  #main-window[defaultfxtheme="true"] #ctraddon_go-button {
		-moz-image-region: rect(0, 144px, 36px, 108px) !important;
	  }

	  #main-window[defaultfxtheme="true"] #ctraddon_forward-button:hover:active:not([disabled="true"]),
	  #main-window[defaultfxtheme="true"] #ctraddon_go-button:hover:active:not([disabled="true"]){
		-moz-image-region: rect(36px, 144px, 72px, 108px) !important;
	  }
	  
	  #main-window[defaultfxtheme="true"] #ctraddon_bookmarks-button,
	  #main-window[defaultfxtheme="true"] #ctraddon_bookmarks-menu-toolbar-button {
		-moz-image-region: rect(0, 288px, 36px, 252px) !important;
	  }
	  
	  #main-window[defaultfxtheme="true"] #ctraddon_bookmarks-button:hover:active:not([disabled="true"]),
	  #main-window[defaultfxtheme="true"] #ctraddon_bookmarks-menu-toolbar-button:hover:active:not([disabled="true"]) {
		-moz-image-region: rect(36px, 288px, 72px, 252px) !important;
	  }
	  #main-window[defaultfxtheme="true"] #ctraddon_history-menu-toolbar-button,
	  #main-window[defaultfxtheme="true"] #ctraddon_history-button {
		-moz-image-region: rect(0, 360px, 36px, 324px) !important;
	  }
	  
	  #main-window[defaultfxtheme="true"] #ctraddon_history-menu-toolbar-button:hover:active:not([disabled="true"]),
	  #main-window[defaultfxtheme="true"] #ctraddon_history-button:hover:active:not([disabled="true"]) {
		-moz-image-region: rect(36px, 360px, 72px, 324px) !important;
	  }

	  #main-window[defaultfxtheme="true"] #ctraddon_reload-button {
		-moz-image-region: rect(0, 180px, 36px, 144px) !important;
	  }
	  
	  #main-window[defaultfxtheme="true"] #ctraddon_reload-button:hover:active:not([disabled="true"]) {
		-moz-image-region: rect(36px, 180px, 72px, 144px) !important;
	  }
	  
	  #main-window[defaultfxtheme="true"] #ctraddon_stop-button {
		-moz-image-region: rect(0, 216px, 36px, 180px) !important;
	  }
	  
	  #main-window[defaultfxtheme="true"] #ctraddon_stop-button:hover:active:not([disabled="true"]) {
		-moz-image-region: rect(36px, 216px, 72px, 180px) !important;
	  }
		
	  #main-window[defaultfxtheme="true"] #ctraddon_restart-button {
		list-style-image: url("chrome://classic_theme_restorer/content/images/ctrrestart@2x.png");
	  }

	  #main-window[defaultfxtheme="true"] :-moz-any(#ctraddon_back-button, #ctraddon_forward-button, #ctraddon_bookmarks-menu-toolbar-button, #ctraddon_bookmarks-button, #ctraddon_history-button,#ctraddon_history-menu-toolbar-button, #ctraddon_reload-button, #ctraddon_stop-button,#ctraddon_ctr-button,#ctraddon_go-button,#ctraddon_preferences-button,#ctraddon_restart-button) > .toolbarbutton-icon {
		width: 18px !important;
	  }
	  
	  #main-window[defaultfxtheme="true"][fx55plus="true"] #nav-bar :-moz-any(#ctraddon_back-button, #ctraddon_forward-button, #ctraddon_bookmarks-menu-toolbar-button, #ctraddon_bookmarks-button, #ctraddon_history-button,#ctraddon_history-menu-toolbar-button, #ctraddon_reload-button, #ctraddon_stop-button,#ctraddon_ctr-button,#ctraddon_go-button,#ctraddon_preferences-button,#ctraddon_restart-button) > .toolbarbutton-icon {
		width: 32px !important;
	  }
	  
	  #main-window[defaultfxtheme="true"][fx57plus="true"] #nav-bar :-moz-any(#ctraddon_back-button, #ctraddon_forward-button, #ctraddon_bookmarks-menu-toolbar-button, #ctraddon_bookmarks-button, #ctraddon_history-button,#ctraddon_history-menu-toolbar-button, #ctraddon_reload-button, #ctraddon_stop-button,#ctraddon_ctr-button,#ctraddon_go-button,#ctraddon_preferences-button,#ctraddon_restart-button) > .toolbarbutton-icon {
		width: 28px !important;
	  }
	  
	  #main-window #ctraddon_ctr-button > .toolbarbutton-icon {
	    list-style-image: url("chrome://classic_theme_restorer/content/images/palette_ctr.png");
		width: 18px !important;
	  }
	  
	}
	
	/* prefwindow button clone */
	#ctraddon_preferences-button {
	  list-style-image: url("chrome://browser/skin/Toolbar.png");
	}

	toolbar[brighttext] #ctraddon_preferences-button {
	  list-style-image: url("chrome://browser/skin/Toolbar-inverted.png");
	}
	
	#main-window[fx55plus="true"] #ctraddon_preferences-button {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/Toolbar.png");
	}

	#main-window[fx55plus="true"] toolbar[brighttext] #ctraddon_preferences-button {
	  list-style-image: url("chrome://classic_theme_restorer/content/images/Toolbar-inverted.png");
	}

	#ctraddon_preferences-button[cui-areatype="toolbar"] {
	  -moz-image-region: rect(0, 468px, 18px, 450px);
	}

	@media (min-resolution: 2dppx) {
	  #ctraddon_preferences-button {
		list-style-image: url("chrome://browser/skin/Toolbar@2x.png");
	  }

	  toolbar[brighttext] #ctraddon_preferences-button {
		list-style-image: url("chrome://browser/skin/Toolbar-inverted@2x.png");
	  }
	  
	  #main-window[fx55plus="true"] #ctraddon_preferences-button {
		list-style-image: url("chrome://classic_theme_restorer/content/images/Toolbar@2x.png");
	  }

	  #main-window[fx55plus="true"] toolbar[brighttext] #ctraddon_preferences-button {
		list-style-image: url("chrome://classic_theme_restorer/content/images/Toolbar-inverted@2x.png");
	  }
	  #ctraddon_preferences-button[cui-areatype="toolbar"] {
		-moz-image-region: rect(0, 936px, 36px, 900px);
	  }
	}

	@media not all and (min-resolution: 2dppx) {

	  #ctraddon_preferences-button[cui-areatype="menu-panel"],
	  toolbarpaletteitem[place="palette"] > #ctraddon_preferences-button {
		list-style-image: var(--menupanel-list-style-image);
	  }
	  
	  #ctraddon_preferences-button[cui-areatype="menu-panel"],
	  toolbarpaletteitem[place="palette"] > #ctraddon_preferences-button {
		-moz-image-region: rect(0px, 768px, 32px, 736px);
	  }
	 
	}

	/* Menu panel and palette styles */
	@media (min-resolution: 2dppx) {
	  #ctraddon_preferences-button[cui-areatype="menu-panel"],
	  toolbarpaletteitem[place="palette"] > #ctraddon_preferences-button {
		list-style-image: var(--menupanel-list-style-image-2x);
	  }
	  
	  #ctraddon_preferences-button[cui-areatype="menu-panel"],
	  toolbarpaletteitem[place="palette"] > #ctraddon_preferences-button {
		-moz-image-region: rect(0px, 1536px, 64px, 1472px);
	  }
	}
	
	/**/
	
	#TabsToolbar #ctraddon_appbutton{
	  -moz-appearance:none !important;
	  border:1px solid #727475 !important;
	  border-color: hsla(214,89%,21%,.5) !important;
	  border-radius: 2.5px 2.5px 0 0 !important;
	  margin-top:2px !important;
	}
	
	#navigator-toolbox #nav-bar #ctraddon_appbutton image{
	  margin-left: 0px !important;
	  margin-right: 0px !important;
	}
	
	#appmenu-popup #appmenu_newPrivateWindow {
	  list-style-image:url("chrome://classic_theme_restorer/content/images/appmenu_private.png");
	}
	#appmenu-popup #appmenu_addons {
	  list-style-image:url("chrome://classic_theme_restorer/content/images/appmenu_addons.png");
	}
	@media (min-resolution: 1.1dppx) {
		#appmenu-popup #appmenu_newPrivateWindow > .menu-iconic-left > .menu-iconic-icon {
		  list-style-image:url("chrome://classic_theme_restorer/content/images/appmenu_private@2x.png");
		  width: 16px !important;
		}
		#appmenu-popup #appmenu_addons > .menu-iconic-left > .menu-iconic-icon {
		  list-style-image:url("chrome://classic_theme_restorer/content/images/appmenu_addons@2x.png");
		  width: 16px !important;
		}
	}

	#main-window[defaultfxtheme="true"] #appmenu-popup #appmenu-editmenu,
	#main-window[defaultfxtheme="true"] #appmenu-popup #appmenu-editmenu .menu-right{
	  -moz-padding-start: 0px !important;
	  -moz-margin-start: 0px !important;	
	}
	
	/* ctr addonbar */
	#ctraddon_addon-bar:not(:-moz-lwtheme),
	#ctraddon_addon-bar:not(:-moz-lwtheme)[customizing] {
	  background:linear-gradient(to bottom,#d2d2d2,#d9d9d9,#e9e9e9);
	}
	
	#ctraddon_addon-bar{
	  -moz-appearance: none;
	  padding: 0px !important;
	  margin: 0 0 -1px 0 !important;
	  border-top-style: none;
	  border-bottom-style: none;
	  background-image: linear-gradient(rgba(0,0,0,.15) 1px, rgba(255,255,255,.15) 1px);
	  background-size: 100% 2px;
	  background-repeat: no-repeat;
	}
	#ctraddon_addon-bar .toolbarbutton-1,
	#ctraddon_addon-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button  {
	  -moz-appearance: none !important;
	  border-style: none !important;
	  padding: 0 3px !important;;
	}

	#ctraddon_addon-bar .toolbarbutton-1:not([disabled]):hover,
	#ctraddon_addon-bar .toolbarbutton-1[open],
	#ctraddon_addon-bar .toolbarbutton-1 > .toolbarbutton-menubutton-button:not([disabled]):hover {
	  background-image: linear-gradient(to top, transparent, rgba(0,0,0,.15)),
						linear-gradient(to top, transparent, rgba(0,0,0,.15) 30%),
						linear-gradient(to top, transparent, rgba(0,0,0,.15) 30%);
	  background-position: left, left, right;
	  background-size: auto, 1px 100%, 1px 100%;
	  background-repeat: no-repeat;
	}
	
	#main-window[defaultfxtheme="true"] #ctraddon_addon-bar toolbarbutton[type="menu-button"] > toolbarbutton,
	#main-window[defaultfxtheme="true"] #ctraddon_addon-bar toolbarbutton[type="menu-button"] > dropmarker {
	  -moz-appearance: none !important;
	  border-style: none !important;
	  background: none !important;
	  box-shadow: none !important;
	}
	
	/* Hide Windows OS window controls*/
	#main-window toolbar #ctraddon_window-controls,
	#ctraddon_window-controls,
	#wrapper-ctraddon_window-controls{
	  visibility:collapse !important;
	  display:none !important;
	}

	#main-window .ctraddon_winlinonly,
	#main-window .ctraddon_linuxonly,
	#main-window .ctraddon_windowsonly{
	  visibility: collapse !important;
	}
	
	/* adust webdeveloper menu inside appmenu popup */
	#appmenu-popup #webDeveloperMenu:not(.menu-iconic) > label {
	  -moz-padding-start: 22px !important;
	}
	
	/* disable window dragging feature tab bar in customizing mode, if springs, seperators or spacers are on it */
	#main-window[tabsintitlebar][customizing="true"] #TabsToolbar:-moz-any([currentset*="customizableui-special-spring"],[currentset*="customizableui-special-separator"],[currentset*="customizableui-special-spacer"]){
	  -moz-window-dragging: no-drag !important;
	}

	
	#main-window[defaultfxtheme="true"][fx55plus="true"] #PlacesToolbarItems toolbarbutton .toolbarbutton-menu-dropmarker {
	  display: block !important;
	}
	#main-window[defaultfxtheme="true"][fx55plus="true"] #PlacesToolbarItems .toolbarbutton-text {
	  margin-left: 2px !important;
	  margin-right: 2px !important;
	} 