From 99a4bf1424592aa6e83e325f9c87726942535089 Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Tue, 18 Aug 2020 10:51:43 +0800 Subject: [PATCH] update --- .../WhiteSur/parts/headerbar-private-urlbar.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 ae9c0e15..caedecd5 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; }