diff options
author | SpockMan02 <aidanboyle@comcast.net> | 2018-07-08 18:15:30 -0700 |
---|---|---|
committer | SpockMan02 <aidanboyle@comcast.net> | 2018-07-08 18:15:30 -0700 |
commit | 86d78f68c961cfecdeecc9d950079e3dc4ca4581 (patch) | |
tree | 048daab5eb2df7a6d0ce2a189e6a62dd6cfcd5c7 /application/palemoon/themes/osx/browser.css | |
parent | accd3f8c073f221ec0c7cde3c15007f2c9a13843 (diff) | |
download | UXP-86d78f68c961cfecdeecc9d950079e3dc4ca4581.tar UXP-86d78f68c961cfecdeecc9d950079e3dc4ca4581.tar.gz UXP-86d78f68c961cfecdeecc9d950079e3dc4ca4581.tar.lz UXP-86d78f68c961cfecdeecc9d950079e3dc4ca4581.tar.xz UXP-86d78f68c961cfecdeecc9d950079e3dc4ca4581.zip |
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; + } +} |