From 4d740c101df2f7a97af3414d275dff9d683112fe Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Tue, 8 Mar 2022 09:07:36 +0900 Subject: [PATCH] Fix: Full Screen - Overlap mode disabled at mac #344 --- userChrome.css | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/userChrome.css b/userChrome.css index ca0bebd..9eafb2e 100644 --- a/userChrome.css +++ b/userChrome.css @@ -3856,19 +3856,21 @@ tab[visuallyselected] > stack::after { } /** Fullscreen - Overlap toolbar **********************************************/ -:root[sizemode="fullscreen"] #navigator-toolbox { - position: fixed !important; /* Needed for content to take up entire height */ - display: block !important; /* Needed for content to take up entire height */ - z-index: 1000 !important; /* Puts the UI above the content */ -} +@supports not -moz-bool-pref("layout.css.osx-font-smoothing.enabled") { + :root[sizemode="fullscreen"] #navigator-toolbox { + position: fixed !important; /* Needed for content to take up entire height */ + display: block !important; /* Needed for content to take up entire height */ + z-index: 1000 !important; /* Puts the UI above the content */ + } -:root[sizemode="fullscreen"] :-moz-any(#navigator-toolbox, #titlebar, #nav-bar, #PersonalToolbar) { - width: 100%; /* Makes the UI take up the entire width */ -} + :root[sizemode="fullscreen"] :-moz-any(#navigator-toolbox, #titlebar, #nav-bar, #PersonalToolbar) { + width: 100%; /* Makes the UI take up the entire width */ + } -:root:not([sizemode="fullscreen"]) #PersonalToolbar[initialized="true"]:not([collapsed="true"]), -:root[sizemode="fullscreen"] #PersonalToolbar[initialized="true"] { - visibility: unset !important; /* Makes the bookmarks toolbar visible if enabled */ + :root:not([sizemode="fullscreen"]) #PersonalToolbar[initialized="true"]:not([collapsed="true"]), + :root[sizemode="fullscreen"] #PersonalToolbar[initialized="true"] { + visibility: unset !important; /* Makes the bookmarks toolbar visible if enabled */ + } } /** Library - Icons Replace ***************************************************/