blob: 2912012b25f21b4c73059e3a5933b40a7bad718b (
plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
.libra-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
padding: 1rem;
transition: opacity ease-in-out;
backdrop-filter: blur(2rem);
background-color: rgba(255, 255, 255, 0.75);
display: flex;
justify-content: center;
align-items: center;
}
.libra-overlay.libra-visible {
opacity: 1;
z-index: 900;
}
.libra-overlay.libra-hidden {
opacity: 0;
z-index: -100;
}
@media (prefers-color-scheme: dark) {
.libra-overlay {
background-color: rgba(0, 0, 0, 0.75);
}
}
.libra-shadow {
position: absolute;
transition-property: transform;
z-index: 1000;
}
.libra-shadow.open {
box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
}
|