diff --git a/src/other/firefox/chrome/WhiteSur/parts/headerbar-private-urlbar.css b/src/other/firefox/chrome/WhiteSur/parts/headerbar-private-urlbar.css index ae9c0e1..caedecd 100644 --- a/src/other/firefox/chrome/WhiteSur/parts/headerbar-private-urlbar.css +++ b/src/other/firefox/chrome/WhiteSur/parts/headerbar-private-urlbar.css @@ -14,9 +14,26 @@ opacity: 0.3; transform: translate(15px, 0); } + :root[privatebrowsingmode="temporary"] #nav-bar toolbarspring:first-of-type:-moz-lwtheme-brighttext:before { background-image: url("../icons/user-not-tracked-dark.svg"); } + +@media (prefers-color-scheme: dark) { + :root[privatebrowsingmode="temporary"] #nav-bar toolbarspring:first-of-type:before { + background: url("../icons/user-not-tracked-dark.svg") no-repeat; + background-size: contain; + content: ""; + display: block; + position: absolute; + width: 32px; + height: 32px; + top: 8px; + opacity: 0.3; + transform: translate(15px, 0); + } +} + :root[privatebrowsingmode="temporary"] #nav-bar { overflow: hidden; }