fix: add :not pseudo (#2507)

This commit is contained in:
Max Peintner 2021-10-13 15:17:24 +02:00 committed by GitHub
parent 425a8b5fd5
commit 623c8e58b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,12 +60,12 @@
color: #6b7280;
}
.navbar {
.navbar:not(.navbar-sidebar--show) {
background-color: hsla(0,0%,100%,.8);
backdrop-filter: saturate(110%) blur(5px);
}
:root[data-theme="dark"] .navbar {
:root[data-theme="dark"] .navbar:not(.navbar-sidebar--show) {
background-color: rgba(31,41,55,.5019607843137255);
backdrop-filter: saturate(110%) blur(5px);
}