From 58d9f24a278d8a49a7811b5d70249271980efb07 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Fri, 22 Aug 2014 00:19:50 +0200 Subject: [PATCH] correct some Mac adaptations --- LCARStrek/browser/browser.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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. */ } -- 2.43.0