forked from extern/the-glorious-startpage
blur overlay css update
This commit is contained in:
parent
60ebe8c57a
commit
a9329109e5
@ -1,7 +1,8 @@
|
||||
#centeredBoxOverlay {
|
||||
background: transparent;
|
||||
opacity: 0;
|
||||
backdrop-filter: blur(var(--blur-strength));
|
||||
backdrop-filter: blur(0);
|
||||
filter: brightness(70%);
|
||||
|
||||
position: absolute;
|
||||
top: 0;
|
||||
@ -12,12 +13,13 @@
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
z-index: -1;
|
||||
filter: brightness(70%);
|
||||
transition: opacity var(--transition-speed), z-index var(--transition-speed);
|
||||
transition: opacity var(--transition-speed),
|
||||
z-index var(--transition-speed),
|
||||
backdrop-filter var(--transition-speed);
|
||||
}
|
||||
|
||||
#centeredBoxOverlay.showOverlay {
|
||||
transition: opacity var(--transition-speed);
|
||||
opacity: 1;
|
||||
z-index: 0;
|
||||
backdrop-filter: blur(var(--blur-strength))
|
||||
}
|
Loading…
Reference in New Issue
Block a user