This commit is contained in:
vinceliuice 2020-08-18 10:51:43 +08:00
parent ba96b456dd
commit 99a4bf1424

View file

@ -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;
}