-
Notifications
You must be signed in to change notification settings - Fork 353
Expand file tree
/
Copy pathuse-hash-warning.module.scss
More file actions
60 lines (50 loc) · 1.08 KB
/
use-hash-warning.module.scss
File metadata and controls
60 lines (50 loc) · 1.08 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
@use "@/libs/theme/styles/variables" as *;
@use "@/libs/theme/styles/mixins" as *;
.backdrop {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 100%;
z-index: 9999;
backdrop-filter: blur(0.5rem);
cursor: pointer;
&[aria-hidden="false"] {
visibility: visible;
animation: fadeIn 0.2s linear;
}
&[aria-hidden="true"] {
visibility: hidden;
}
@media #{$breakpoint-dimension-xs} {
min-width: auto;
}
}
.container {
position: fixed;
bottom: 2rem;
right: 2rem;
left: 2rem;
padding: 1.5rem 2rem;
background-color: var(--color_bg_state_danger_subtle);
color: var(--color_fg_on_state_danger_subtle);
border: 1px solid var(--color_border_state_danger);
z-index: 999;
font-size: 0.865rem;
border-radius: 0.5rem;
}
.button {
background-color: transparent;
color: var(--color_fg_on_state_danger_subtle);
border: none;
position: absolute;
top: 0.25rem;
right: 0.75rem;
font-size: 1.5rem;
transform: rotate(45deg);
cursor: pointer;
}