-
Notifications
You must be signed in to change notification settings - Fork 0
/
modal-styles.css
120 lines (104 loc) · 1.76 KB
/
modal-styles.css
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
.modal {
width: 313px;
top: 50%;
left: 50%;
z-index: 50;
position: fixed;
border-radius: 15px;
padding: 15px;
display: grid;
gap: 10px;
background-color: white;
transform: translate(-50%, -50%) scale(0);
transition: 200ms ease-in-out;
overflow-y: auto;
}
.popup-snapshoot {
display: flex;
justify-content: center;
}
#popup-snapshoot-desktop {
display: none;
}
.modal.active {
transform: translate(-50%, -50%) scale(1);
}
.modal-header {
display: flex;
gap: 10px;
flex-direction: column;
}
.modal-header-content {
display: flex;
}
.modal-header ul li {
display: flex;
align-items: center;
padding: 8px 12px;
background: #ebf0ee;
border-radius: 4px;
color: #3a4a42;
font-size: 12px;
font-weight: 600;
line-height: 16px;
}
.modal-header-title {
font-size: 1.25rem;
font-weight: bold;
}
.modal-header-close-button {
border: none;
outline: none;
background: none;
cursor: pointer;
position: fixed;
top: 34px;
right: 31px;
}
.modal-header-close-button-desktop {
display: none;
}
.modal-body {
padding: 0;
}
.modal-bottom-links {
display: flex;
gap: 20px;
justify-content: center;
}
.modal-bottom-links .btn {
min-width: 100px;
text-align: center;
padding: 10px;
font-weight: 600;
font-size: 15px;
line-height: 20px;
}
.modal-bottom-links .btn a {
display: flex;
align-items: center;
flex-wrap: nowrap;
text-align: center;
gap: 8px;
font-weight: 500;
font-size: 17px;
line-height: 24px;
}
.modal-top-links {
display: none;
}
#overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
opacity: 0;
transition: 200ms ease-in-out;
pointer-events: none;
background-color: rgba(0, 0, 0, 0.5);
}
#overlay.active {
opacity: 1;
pointer-events: all;
}