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

no more backdrop filter

This commit is contained in:
Fedor Katurov 2023-06-11 20:27:24 +06:00
parent 811e7740a9
commit 70332cb035
3 changed files with 8 additions and 2 deletions

View file

@ -109,6 +109,11 @@
}
@mixin can_backdrop {
@supports ((bla-bla-bla: 4px)) {
@content;
}
// uncomment if you like blur performance again :-)
/*
@supports (
(-webkit-backdrop-filter: blur(5px)) or (backdrop-filter: blur(5px))
) {
@ -123,6 +128,7 @@
}
}
}
*/
}
@mixin blur($color: $content_bg_backdrop, $radius: 15px) {

View file

@ -63,7 +63,7 @@ $_brown: #23201f;
--content_bg_success: #{transparentize($_wisegreen, 0.7)};
--content_bg_info: #{transparentize($_blue, 0.5)};
--content_bg_danger: #{transparentize($_red, 0.5)};
--content_bg_backdrop: #{transparentize($_brown, 0.2)};
--content_bg_backdrop: #{transparentize($_brown, 0.05)};
// white shades (move to --vars)
--white: white;

File diff suppressed because one or more lines are too long