diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-07-09 20:06:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-09 20:06:40 +0200 |
commit | 4483ac5c5f082e4efb21ab711aec9a0a74d20448 (patch) | |
tree | b088670967265ae2893aa896c47fe082c97e6369 /application/palemoon/themes/osx/browser.css | |
parent | 48ee9becf4298f8c13862b2ce596019033f1c886 (diff) | |
parent | 86d78f68c961cfecdeecc9d950079e3dc4ca4581 (diff) | |
download | UXP-4483ac5c5f082e4efb21ab711aec9a0a74d20448.tar UXP-4483ac5c5f082e4efb21ab711aec9a0a74d20448.tar.gz UXP-4483ac5c5f082e4efb21ab711aec9a0a74d20448.tar.lz UXP-4483ac5c5f082e4efb21ab711aec9a0a74d20448.tar.xz UXP-4483ac5c5f082e4efb21ab711aec9a0a74d20448.zip |
Merge pull request #613 from SpockMan02/mac-privatebrowsing-mask
Pale Moon: Restore osx private browsing indicator
Diffstat (limited to 'application/palemoon/themes/osx/browser.css')
-rw-r--r-- | application/palemoon/themes/osx/browser.css | 64 |
1 files changed, 53 insertions, 11 deletions
diff --git a/application/palemoon/themes/osx/browser.css b/application/palemoon/themes/osx/browser.css index 8d3784afd..bf26be077 100644 --- a/application/palemoon/themes/osx/browser.css +++ b/application/palemoon/themes/osx/browser.css @@ -27,6 +27,11 @@ border-top: none; } +#main-window { + -moz-appearance: none; + background-color: #eeeeee; +} + #navigator-toolbox::after { content: ""; display: -moz-box; @@ -79,7 +84,7 @@ /* ::::: titlebar ::::: */ -#main-window[sizemode="normal"] > #titlebar { +#main-window[sizemode="normal"]:not([privatebrowsingmode=temporary]) > #titlebar { -moz-appearance: -moz-window-titlebar; } @@ -2405,19 +2410,56 @@ toolbar[brighttext] #addonbar-closebutton { right: auto; } -#main-window[privatebrowsingmode=temporary] #toolbar-menubar { - background-image: url("chrome://browser/skin/privatebrowsing-dark.png"); - background-position: top right; - background-repeat: no-repeat; +#main-window[privatebrowsingmode=temporary] { + background-image: url("chrome://browser/skin/privatebrowsing-mask.png"); + background-position: top right; + background-repeat: no-repeat; + background-color: moz-mac-chrome-active; } -#main-window[privatebrowsingmode=temporary] #toolbar-menubar:-moz-locale-dir(rtl) { - background-position: top left; +@media (min-resolution: 2dppx) { + #main-window[privatebrowsingmode=temporary] { + background-image: url("chrome://browser/skin/privatebrowsing-mask@2x.png"); + background-size: 38px; + } } -#main-window[privatebrowsingmode=temporary] #appmenu-button > .button-box > .box-inherit > .button-icon { - list-style-image: url("chrome://browser/skin/privatebrowsing-light.png"); - width: 20px; - height: 16px; +#main-window[privatebrowsingmode=temporary] { + background-position: top right 40px; +} + +#main-window[privatebrowsingmode=temporary][inFullscreen] { + background-position: top right 10px; +} + +#main-window[privatebrowsingmode=temporary]:-moz-locale-dir(rtl) { + background-position: top left 70px; +} + +#main-window[privatebrowsingmode=temporary][inFullscreen]:-moz-locale-dir(rtl) { + background-position: top left 10px; } +#main-window[privatebrowsingmode=temporary]:-moz-window-inactive { + background-color: -moz-mac-chrome-inactive; +} + +#main-window[privatebrowsingmode=temporary][inFullscreen] #nav-bar[tabsontop=false] { + -moz-padding-end: 50px !important; +} + +@media (-moz-mac-lion-theme) { + #main-window[privatebrowsingmode=temporary][inFullscreen] #TabsToolbar[tabsontop=true] { + -moz-padding-end: 50px; + } +} + +@media not all and (-moz-mac-lion-theme) { + #main-window[privatebrowsingmode=temporary] { + background-position: top right 10px; + } + + #main-window[privatebrowsingmode=temporary][inFullscreen][tabsontop=true] #window-controls { + -moz-padding-end: 50px; + } +} |