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

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

	toolbar .toolbarbutton-1:not([type="menu-button"]),
	toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
	toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker,
	toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],#back-button,#forward-button)),
	toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-button,
	toolbar .toolbarbutton-1 > .toolbarbutton-menubutton-dropmarker,
	toolbar #restore-button,
	toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],[disabled],[open],#back-button,#forward-button)):hover,
	toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open])):hover > .toolbarbutton-menubutton-button,
	toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open])):hover > .toolbarbutton-menubutton-dropmarker,
	toolbar .toolbaritem-combined-buttons:hover > .toolbarbutton-combined,
	toolbar #restore-button:not([disabled]):hover,
	toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],[disabled],[open],#back-button,#forward-button)):hover,
	toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open]))[buttonover] > .toolbarbutton-menubutton-button,
	toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open],[buttonover])):hover > .toolbarbutton-menubutton-dropmarker,
	toolbar #restore-button:not([disabled]):hover,
	toolbar .toolbarbutton-1:not(:-moz-any([type="menu-button"],[disabled],#back-button,#forward-button)):-moz-any(:hover:active,[open]),
	toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open]))[buttonover]:active > .toolbarbutton-menubutton-button,
	toolbar .toolbarbutton-1[type="menu-button"]:not(:-moz-any([disabled],[open],[buttonover])):hover:active > .toolbarbutton-menubutton-dropmarker,
	toolbar .toolbarbutton-1[type="menu-button"][open] > .toolbarbutton-menubutton-dropmarker,
	toolbar #restore-button:not([disabled]):hover:active {
	  -moz-appearance: none !important;
	  border: 1px solid transparent !important;
	  background: none !important;
	  border-color: none !important;
	  box-shadow: none !important;
	  transition-duration: 0ms !important;
	  transition-property: none !important;
	}

	#nav-bar .toolbarbutton-1:not([type="menu-button"]) .toolbarbutton-icon {
	  min-width: 18px !important;
	  height: 18px !important;
	  padding: 0 !important;
	  margin: 0 !important;
	}
	#nav-bar .toolbarbutton-1[type="menu-button"] .toolbarbutton-icon {
	  min-width: 18px !important;
	  height: 18px !important;
	  padding: 0 !important;
	  margin: 0 !important;
	}

	#nav-bar .toolbarbutton-1 .toolbarbutton-text {
	  padding: 4px 0 0 0 !important;
	  margin: 0px !important;
	}
	
	#nav-bar .toolbarbutton-1 dropmarker {
	  padding: 0px !important;
	  margin: 0px !important;
	}

	#nav-bar .toolbarbutton-1 {
	  margin: 1px 0 !important;
	}
	
	#navigator-toolbox #nav-bar #urlbar-container{
	  -moz-margin-start: 4px !important;
	}

	#navigator-toolbox #nav-bar #urlbar{
	  border-radius: 3px !important;
	}

	#main-window[defaultfxtheme="true"] #nav-bar #urlbar[focused]{
	  border-color: -moz-mac-focusring !important;
	}

	#ctraddon_addon-bar toolbarbutton {
	  max-height: 38px !important;
	  margin-top: 0px !important;
	}

	toolbar[id^=ctraddon_extra-bar] {
	  padding-bottom: 3px !important;
	}
	
	#main-window toolbar #ctraddon_back-forward-dropmarker .toolbarbutton-icon {
	  padding:0px 4px !important;
	}
	
	#main-window #navigator-toolbox #PersonalToolbar .toolbarbutton-1 .toolbarbutton-icon {
	  margin:0px !important;
	  padding:0px !important;
	}
	
	#main-window #navigator-toolbox #nav-bar #PanelUI-menu-button .toolbarbutton-badge,
	#main-window #navigator-toolbox #nav-bar #PanelUI-menu-button .toolbarbutton-badge-container,
	#main-window #navigator-toolbox #nav-bar #loop-button .toolbarbutton-badge,
	#main-window #navigator-toolbox #nav-bar #loop-button .toolbarbutton-badge-container,
	#main-window #navigator-toolbox #nav-bar #loop-button-throttled .toolbarbutton-badge,
	#main-window #navigator-toolbox #nav-bar #loop-button-throttled .toolbarbutton-badge-container,
	#main-window #navigator-toolbox #nav-bar #PanelUI-menu-button > .toolbarbutton-badge-stack,
	#main-window #navigator-toolbox #nav-bar #loop-button > .toolbarbutton-badge-stack {
	  border:0px solid transparent !important;
	  padding:0 !important;
	}
}
