From: Robert Kaiser Date: Thu, 21 Aug 2014 22:15:21 +0000 (+0200) Subject: try even more mac-specific toolbar adjustments X-Git-Tag: LCARStrek-2.29~17 X-Git-Url: https://git-public.kairo.at/?a=commitdiff_plain;h=4711fba5c2eb7c0a3102288c81f86d9dc557b3a9;p=themes.git try even more mac-specific toolbar adjustments --- diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 2c0adee8..5e14a676 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -18,7 +18,7 @@ toolbar[customizable="true"] { } @supports ( -moz-appearance: -moz-mac-unified-toolbar ) { - /* this is a usable workaround to detect we're on Mac OS */ + /* This is a usable workaround to detect we're on Mac OS X. */ toolbar[customizable="true"]:not([nowindowdrag="true"]) { -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); } @@ -75,11 +75,11 @@ menubar { } @supports ( not(-moz-appearance: -moz-mac-unified-toolbar) ) { - /* this is a usable workaround to detect we're not on Mac OS */ + /* This is a usable workaround to detect we're not on Mac OS X. */ #toolbar-menubar:not([autohide="true"]) { -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); } - #main-window[tabsintitlebar]:not([inFullscreen]) #TabsToolbar { + #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar { padding-left: 60px; } } @@ -110,7 +110,7 @@ menubar { } @supports ( not(-moz-appearance: -moz-mac-unified-toolbar) ) { - /* this is a usable workaround to detect we're not on Mac OS */ + /* This is a usable workaround to detect we're not on Mac OS X. */ /* indent also due to non-applicable aero rule */ #toolbar-menubar { background-color: transparent !important; @@ -148,7 +148,7 @@ menubar { } @supports ( -moz-appearance: -moz-mac-unified-toolbar ) { - /* this is a usable workaround to detect we're on Mac OS */ + /* This is a usable workaround to detect we're on Mac OS X. */ #titlebar-buttonbox > .titlebar-button { display: none; } @@ -193,10 +193,10 @@ menubar { } @supports ( -moz-appearance: -moz-mac-unified-toolbar ) { - /* this is a usable workaround to detect we're on Mac OS */ + /* This is a usable workaround to detect we're on Mac OS X. */ #main-window[sizemode="normal"] > #titlebar { - margin-top: 4px; - margin-bottom: 0; + margin-top: 19px; + /* There is a margin-bottom set to -23 by code. */ } } @@ -257,7 +257,7 @@ menubar { } @supports ( -moz-appearance: -moz-mac-unified-toolbar ) { - /* this is a usable workaround to detect we're on Mac OS */ + /* This is a usable workaround to detect we're on Mac OS X. */ #titlebar-fullscreen-button { -moz-appearance: none; list-style-image: url("chrome://browser/skin/icons/mac-fullscreen-icon.png"); diff --git a/LCARStrek/browser/mac-fullscreen-icon.png b/LCARStrek/browser/mac-fullscreen-icon.png new file mode 100644 index 00000000..bbaad6db Binary files /dev/null and b/LCARStrek/browser/mac-fullscreen-icon.png differ diff --git a/LCARStrek/browser/mac-fullscreen-icon@2x.png b/LCARStrek/browser/mac-fullscreen-icon@2x.png new file mode 100644 index 00000000..324c2425 Binary files /dev/null and b/LCARStrek/browser/mac-fullscreen-icon@2x.png differ