fix(client): additional background for acrylic popups if unsupported

This commit is contained in:
Andreas Nedbal 2022-05-14 15:00:30 +02:00
parent 9fc5e8688f
commit 0db2051480
1 changed files with 14 additions and 0 deletions

View File

@ -385,6 +385,20 @@ hr {
background: var(--acrylicPanel); background: var(--acrylicPanel);
-webkit-backdrop-filter: var(--blur, blur(15px)); -webkit-backdrop-filter: var(--blur, blur(15px));
backdrop-filter: var(--blur, blur(15px)); backdrop-filter: var(--blur, blur(15px));
@supports not (backdrop-filter: var(--blur, blur(15px))) {
&:after {
content: "";
position: absolute;
top: 0;
right: 0;
left: 0;
bottom: 0;
z-index: -1;
background: var(--bg);
opacity: .75;
}
}
} }
._formBlock { ._formBlock {