-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmodal.module.css
More file actions
67 lines (60 loc) · 1.05 KB
/
modal.module.css
File metadata and controls
67 lines (60 loc) · 1.05 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
61
62
63
64
65
66
67
/* Header */
.header {
align-items: start;
border-bottom: 1px solid var(--border-glass);
box-shadow: var(--drop-shadow-black);
display: flex;
gap: 24px;
justify-content: space-between;
padding: 16px;
position: sticky;
top: 0;
z-index: 1;
@media (min-width: 576px) {
padding: 16px 24px;
}
}
/* Body */
.body {
display: flex;
flex-direction: column;
gap: 16px;
overflow-y: auto;
padding: 16px;
@media (min-width: 576px) {
gap: 24px;
padding: 24px;
}
}
/* Title */
.title {
font-size: 20px;
font-weight: 600;
margin: 0;
}
/* Close Button */
.closeButton {
align-items: center;
background: transparent;
border: none;
border-radius: 8px;
color: var(--text-secondary);
cursor: pointer;
display: flex;
justify-content: center;
padding: 4px;
position: relative;
right: -8px;
top: -8px;
transition:
color 0.2s,
background-color 0.2s;
.icon {
height: 16px;
width: 16px;
}
}
.closeButton:hover {
color: var(--text-primary);
background-color: var(--background-glass);
}