blob: d0eaf52d238b5f0cbbcb7286a469cfae13c06b98 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
@use 'iro-sass/src/index' as iro;
@use '../functions' as fn;
@include iro.props-namespace('backdrop') {
@include iro.props-store((
--dims: (
--z-index: 10000,
--blur: 2em,
),
--colors: (
--bg: rgba(#000, .75),
),
));
@include iro.bem-object(iro.props-namespace()) {
display: flex;
position: fixed;
z-index: fn.dim(--z-index);
inset: 0;
box-sizing: border-box;
flex-direction: column;
overflow: auto;
background-color: fn.color(--bg);
backdrop-filter: blur(fn.dim(--blur));
}
}
|