summaryrefslogtreecommitdiffstats
path: root/src/objects/_backdrop.scss
diff options
context:
space:
mode:
Diffstat (limited to 'src/objects/_backdrop.scss')
-rw-r--r--src/objects/_backdrop.scss33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/objects/_backdrop.scss b/src/objects/_backdrop.scss
deleted file mode 100644
index ac23d63..0000000
--- a/src/objects/_backdrop.scss
+++ /dev/null
@@ -1,33 +0,0 @@
1@use 'iro-sass/src/index' as iro;
2@use '../functions' as fn;
3
4@include iro.props-namespace('backdrop') {
5 @include iro.props-store((
6 --dims: (
7 --z-index: 10000,
8 --blur: 2em,
9 ),
10 ), 'dims');
11
12 @include iro.props-store((
13 --colors: (
14 --bg: rgba(#000, .75),
15 ),
16 ), 'colors');
17
18 @include iro.bem-object(iro.props-namespace()) {
19 display: flex;
20 position: fixed;
21 z-index: fn.dim(--z-index);
22 top: 0;
23 right: 0;
24 bottom: 0;
25 left: 0;
26 box-sizing: border-box;
27 flex-direction: column;
28 overflow: auto;
29 background-color: fn.color(--bg);
30 color: fn.global-color(--fg);
31 backdrop-filter: blur(fn.dim(--blur));
32 }
33}