From: Robert Kaiser Date: Thu, 21 Aug 2014 22:19:50 +0000 (+0200) Subject: correct some Mac adaptations X-Git-Tag: LCARStrek-2.29~16 X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=commitdiff_plain;h=58d9f24a278d8a49a7811b5d70249271980efb07 correct some Mac adaptations --- diff --git a/LCARStrek/browser/browser.css b/LCARStrek/browser/browser.css index 5e14a676..48225130 100644 --- a/LCARStrek/browser/browser.css +++ b/LCARStrek/browser/browser.css @@ -79,6 +79,10 @@ menubar { #toolbar-menubar:not([autohide="true"]) { -moz-binding: url("chrome://global/skin/globalBindings.xml#toolbar-drag-browsercustom"); } +} + +@supports ( -moz-appearance: -moz-mac-unified-toolbar ) { + /* This is a usable workaround to detect we're on Mac OS X. */ #main-window[tabsintitlebar]:not([inFullscreen="true"]) #TabsToolbar { padding-left: 60px; } @@ -194,7 +198,8 @@ menubar { @supports ( -moz-appearance: -moz-mac-unified-toolbar ) { /* This is a usable workaround to detect we're on Mac OS X. */ - #main-window[sizemode="normal"] > #titlebar { + #main-window[sizemode="normal"] > #titlebar, + #main-window[sizemode="maximized"] > #titlebar { margin-top: 19px; /* There is a margin-bottom set to -23 by code. */ }