1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

fixed blur bug on firefox

This commit is contained in:
Fedor Katurov 2021-06-21 16:48:00 +07:00
parent 92b273f377
commit f1d05b1da9
2 changed files with 2 additions and 9 deletions

View file

@ -6,12 +6,4 @@
box-sizing: border-box; box-sizing: border-box;
flex-direction: column; flex-direction: column;
min-height: 100vh; min-height: 100vh;
&.is_blurred {
filter: blur(15px);
@include can_backdrop {
filter: blur(0);
}
}
} }

View file

@ -51,11 +51,12 @@
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
background: transparentize($color: #000000, $amount: 0.9); background: transparentize($color: $content_bg, $amount: 0.1);
cursor: pointer; cursor: pointer;
animation: appear 0.25s forwards; animation: appear 0.25s forwards;
@include can_backdrop { @include can_backdrop {
backdrop-filter: blur(15px); backdrop-filter: blur(15px);
background: transparentize($color: $content_bg, $amount: 0.9);
} }
} }