summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorSpockFan02 <aidanboyle@comcast.net>2018-07-03 17:06:41 +0000
committerGitHub <noreply@github.com>2018-07-03 17:06:41 +0000
commitb7dc3016ec14a772ec4b1c64aff37b4d4bd08c71 (patch)
tree8000d59286fce433574d4b7ce91836f372a62f08 /application
parenta003b2be94b2f32b1e7527227a39e3714f8168a3 (diff)
downloadUXP-b7dc3016ec14a772ec4b1c64aff37b4d4bd08c71.tar
UXP-b7dc3016ec14a772ec4b1c64aff37b4d4bd08c71.tar.gz
UXP-b7dc3016ec14a772ec4b1c64aff37b4d4bd08c71.tar.lz
UXP-b7dc3016ec14a772ec4b1c64aff37b4d4bd08c71.tar.xz
UXP-b7dc3016ec14a772ec4b1c64aff37b4d4bd08c71.zip
Mac: Do not hide caption buttons or titlebar
on private browsing windows or with a lightweight theme installed. This resolves #491. This resolves #584. Tag https://github.com/MoonchildProductions/Pale-Moon/issues/623
Diffstat (limited to 'application')
-rw-r--r--application/palemoon/themes/osx/browser.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/application/palemoon/themes/osx/browser.css b/application/palemoon/themes/osx/browser.css
index a8e86ff5c..b35d38bc0 100644
--- a/application/palemoon/themes/osx/browser.css
+++ b/application/palemoon/themes/osx/browser.css
@@ -127,8 +127,8 @@
}
/* ensure extra titlebar doesn't appear on normal (e.g. non-privacy) windows */
-#titlebar-buttonbox-container,
-#main-window:not([drawintitlebar=true]) > #titlebar {
+#main-window:not([privatebrowsingmode=temporary]) > #titlebar > #titlebar-content > #titlebar-buttonbox-container,
+#main-window:not([drawintitlebar=true]):not(:-moz-lwtheme) > #titlebar {
display: none;
}