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:
parent
811e7740a9
commit
70332cb035
3 changed files with 8 additions and 2 deletions
|
@ -109,6 +109,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin can_backdrop {
|
@mixin can_backdrop {
|
||||||
|
@supports ((bla-bla-bla: 4px)) {
|
||||||
|
@content;
|
||||||
|
}
|
||||||
|
// uncomment if you like blur performance again :-)
|
||||||
|
/*
|
||||||
@supports (
|
@supports (
|
||||||
(-webkit-backdrop-filter: blur(5px)) or (backdrop-filter: blur(5px))
|
(-webkit-backdrop-filter: blur(5px)) or (backdrop-filter: blur(5px))
|
||||||
) {
|
) {
|
||||||
|
@ -123,6 +128,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin blur($color: $content_bg_backdrop, $radius: 15px) {
|
@mixin blur($color: $content_bg_backdrop, $radius: 15px) {
|
||||||
|
|
|
@ -63,7 +63,7 @@ $_brown: #23201f;
|
||||||
--content_bg_success: #{transparentize($_wisegreen, 0.7)};
|
--content_bg_success: #{transparentize($_wisegreen, 0.7)};
|
||||||
--content_bg_info: #{transparentize($_blue, 0.5)};
|
--content_bg_info: #{transparentize($_blue, 0.5)};
|
||||||
--content_bg_danger: #{transparentize($_red, 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 shades (move to --vars)
|
||||||
--white: white;
|
--white: white;
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue