blob: 9e0cc1e55602b9cb00caec6b00b84e8f4e9f0efa (
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/iro-sass' 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()) {
position: fixed;
inset: 0;
z-index: fn.dim(--z-index);
box-sizing: border-box;
display: flex;
flex-direction: column;
overflow: auto;
background-color: fn.color(--bg);
backdrop-filter: blur(fn.dim(--blur));
}
}
|