From 4711fba5c2eb7c0a3102288c81f86d9dc557b3a9 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Fri, 22 Aug 2014 00:15:21 +0200 Subject: [PATCH] try even more mac-specific toolbar adjustments --- LCARStrek/browser/browser.css | 18 +++++++++--------- LCARStrek/browser/mac-fullscreen-icon.png | Bin 0 -> 259 bytes LCARStrek/browser/mac-fullscreen-icon@2x.png | Bin 0 -> 320 bytes 3 files changed, 9 insertions(+), 9 deletions(-) create mode 100644 LCARStrek/browser/mac-fullscreen-icon.png create mode 100644 LCARStrek/browser/mac-fullscreen-icon@2x.png 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 0000000000000000000000000000000000000000..bbaad6db50a76b44e80252d59ae584f8cba6e99e GIT binary patch literal 259 zcmeAS@N?(olHy`uVBq!ia0vp^3P3Et#0(_4@}`~wQk(%kA+G<=GXN0~Jkw6O2Ba8E zg8YIR9G=}s196hP-CYGb5u?K~CK16IQW6Xdcbf$c?`yyN5M-UFtDnm{r-UW|-=jy? literal 0 HcmV?d00001 diff --git a/LCARStrek/browser/mac-fullscreen-icon@2x.png b/LCARStrek/browser/mac-fullscreen-icon@2x.png new file mode 100644 index 0000000000000000000000000000000000000000..324c2425dfe1776228ad3373f35a426e7bd64d79 GIT binary patch literal 320 zcmeAS@N?(olHy`uVBq!ia0vp^4nVBH#0(_wf1V}|q&Ne7LR=Xb(t*tX=NarfQjP;z zj3q&S!3+-1Zlr-YN#5=*3>~bp9w6lf9+AZi417mGm~pB$pEOXAy~NYkmHi%vsHm>) z8UL6`Kq1-8kcblJ{M_8syb>Unfx)>bHL)Z$MWH;iBtya7(>EYRFO?lA-tOt*7@~2$ z_xxGj1_d702g^Cd-|0OR={eB&?y-i9=khPh`FmHoRV)6~c+31FbaU3-^PVd9&MGZ@ z%84%+nBorF7CPUJQa!;sQGg@YM1wg!h&q{%-mTZw|ctzxvX