/
style.css
336 lines (297 loc) · 6.58 KB
/
style.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
body {
font-family: 'Cairo', sans-serif;
position: absolute;
top: 0;
bottom: 0;
right: 0;
left: 0;
background-color: #330055;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 1000'%3E%3Cg %3E%3Ccircle fill='%23330055' cx='50' cy='0' r='50'/%3E%3Cg fill='%233a015d' %3E%3Ccircle cx='0' cy='50' r='50'/%3E%3Ccircle cx='100' cy='50' r='50'/%3E%3C/g%3E%3Ccircle fill='%23410165' cx='50' cy='100' r='50'/%3E%3Cg fill='%2348026e' %3E%3Ccircle cx='0' cy='150' r='50'/%3E%3Ccircle cx='100' cy='150' r='50'/%3E%3C/g%3E%3Ccircle fill='%23500376' cx='50' cy='200' r='50'/%3E%3Cg fill='%2357047e' %3E%3Ccircle cx='0' cy='250' r='50'/%3E%3Ccircle cx='100' cy='250' r='50'/%3E%3C/g%3E%3Ccircle fill='%235f0587' cx='50' cy='300' r='50'/%3E%3Cg fill='%2367068f' %3E%3Ccircle cx='0' cy='350' r='50'/%3E%3Ccircle cx='100' cy='350' r='50'/%3E%3C/g%3E%3Ccircle fill='%236f0798' cx='50' cy='400' r='50'/%3E%3Cg fill='%237707a0' %3E%3Ccircle cx='0' cy='450' r='50'/%3E%3Ccircle cx='100' cy='450' r='50'/%3E%3C/g%3E%3Ccircle fill='%238008a9' cx='50' cy='500' r='50'/%3E%3Cg fill='%238909b1' %3E%3Ccircle cx='0' cy='550' r='50'/%3E%3Ccircle cx='100' cy='550' r='50'/%3E%3C/g%3E%3Ccircle fill='%239109ba' cx='50' cy='600' r='50'/%3E%3Cg fill='%239a09c3' %3E%3Ccircle cx='0' cy='650' r='50'/%3E%3Ccircle cx='100' cy='650' r='50'/%3E%3C/g%3E%3Ccircle fill='%23a309cb' cx='50' cy='700' r='50'/%3E%3Cg fill='%23ad09d4' %3E%3Ccircle cx='0' cy='750' r='50'/%3E%3Ccircle cx='100' cy='750' r='50'/%3E%3C/g%3E%3Ccircle fill='%23b608dc' cx='50' cy='800' r='50'/%3E%3Cg fill='%23c007e5' %3E%3Ccircle cx='0' cy='850' r='50'/%3E%3Ccircle cx='100' cy='850' r='50'/%3E%3C/g%3E%3Ccircle fill='%23c905ee' cx='50' cy='900' r='50'/%3E%3Cg fill='%23d303f6' %3E%3Ccircle cx='0' cy='950' r='50'/%3E%3Ccircle cx='100' cy='950' r='50'/%3E%3C/g%3E%3Ccircle fill='%23D0F' cx='50' cy='1000' r='50'/%3E%3C/g%3E%3C/svg%3E");
background-attachment: fixed;
background-size: contain;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}
.modal-wrapper {
position: relative;
width: 80vw;
/* max-width: 400px; */
height: 90vh;
display: flex;
flex-flow: column wrap;
background-color: #ffffff;
color: #2b2d42;
overflow: hidden;
/* box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.75); */
/* border-radius: 1rem; */
}
.login-wrapper,
.signup-wrapper {
width: 100%;
/* display: flex;
align-items: center;
justify-content: flex-start;
flex-flow: column wrap; */
}
.form-wrapper {
height: 100%;
display: flex;
flex-flow: column wrap;
align-items: center;
justify-content: center;
position: relative;
z-index: 1;
}
.form-heading {
margin: 3vh auto 1vh auto;
}
.other-icons {
margin-bottom: 2vh;
display: flex;
flex-flow: row nowrap;
justify-content: center;
align-items: center;
}
.other-icons a {
text-decoration: none;
}
.other-icons .fab {
font-size: 20px;
margin: auto 1rem;
color: #3c8ce7;
}
.form {
display: flex;
align-items: center;
justify-content: center;
flex-flow: column wrap;
}
.form span {
font-size: 12px;
color: #b8bacf;
}
.form .input-field {
position: relative;
min-width: 200px;
width: 70%;
max-width: 300px;
}
.form .input-field i {
position: absolute;
font-size: 16px;
color: #3c8ce7;
top: 16px;
left: 10px;
}
.form input {
font-size: 12px;
padding: 10px 10px 10px 40px;
background-color: #e8ebe4;
outline: none;
border: none;
border-bottom: 2px solid #b8bacf;
width: 100%;
box-sizing: border-box;
}
.form input:focus {
background-color: #d2d5dd;
}
.form input {
margin: 1vh auto;
}
.form input[type='password'] {
margin-bottom: 2vh;
}
#forgot-password {
font-size: 12px;
text-decoration: none;
color: #b8bacf;
position: relative;
}
#forgot-password::after {
display: block;
position: absolute;
left: 10%;
right: 10%;
bottom: 1px;
border-bottom: 1px solid #3c8ce7;
content: '';
}
.form-btn {
margin: 2vh auto;
background-image: linear-gradient(135deg, #3c8ce7 10%, #00eaff 100%);
color: white;
border: 1px solid white;
outline: none;
border-radius: 20px;
padding: 10px 40px;
transition: all ease-in-out 0.2s;
cursor: pointer;
}
.form-btn:hover {
border: 1px solid #3c8ce7;
color: #3c8ce7;
background: transparent;
}
/* .signup-wrapper .collapsed-section {
border-radius: 0 0 1rem 1rem;
}
.login-wrapper .collapsed-section {
border-radius: 1rem 1rem 0 0;
} */
.collapsed-section {
width: 100%;
height: 100%;
background-image: linear-gradient(135deg, #3c8ce7 10%, #00eaff 100%);
position: relative;
z-index: 2;
}
.hide-section {
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-flow: column wrap;
color: white;
}
.collapsed-heading {
margin: 0;
}
.collapsed-text {
font-size: 12px;
margin: 0;
margin-bottom: 1vh;
margin-top: -10px;
letter-spacing: 1px;
}
.collapsed-btn {
background: transparent;
color: white;
border: 1px solid white;
font-weight: bold;
outline: none;
border-radius: 20px;
padding: 10px 40px;
transition: all ease-in-out 0.5s;
cursor: pointer;
}
.collapsed-btn:hover {
background-color: white;
color: #3c8ce7;
border: 1px solid white;
}
.hidden {
display: none;
}
@media screen and (min-width: 500px) {
.modal-wrapper {
width: 70%;
}
}
@media screen and (min-width: 800px) {
.modal-wrapper {
width: 80%;
height: 70vh;
flex-flow: row nowrap;
}
.collapsed-text {
font-size: 16px;
margin: 1rem;
}
}
@media screen and (min-width: 1000px) {
.modal-wrapper {
width: 70%;
}
}
@media screen and (min-width: 1200px) {
.modal-wrapper {
width: 60%;
}
}
@keyframes moveCollapsedUp {
0% {
height: 100%;
transform: translateY(0);
}
50% {
height: 200%;
transform: translateY(-83.33%);
}
100% {
height: 100%;
transform: translateY(-233.33%);
}
}
@keyframes moveCollapsedDown {
0% {
height: 100%;
transform: translateY(0);
}
50% {
height: 200%;
transform: translateY(33.33%);
}
100% {
height: 100%;
transform: translateY(233.33%);
}
}
@keyframes moveFormUp {
0% {
transform: translateY(0);
}
100% {
transform: translateY(-42.85%);
}
}
@keyframes moveFormDown {
0% {
transform: translateY(0);
}
100% {
transform: translateY(42.85%);
}
}
@keyframes moveLeft {
0% {
width: 100%;
transform: translateX(0%);
}
50% {
width: 150%;
transform: translateX(-50%);
}
100% {
width: 100%;
transform: translateX(-100%);
}
}
@keyframes moveRight {
0% {
width: 100%;
transform: translateX(0%);
}
50% {
width: 150%;
transform: translateX(16.66%);
}
100% {
width: 100%;
transform: translateX(100%);
}
}
@keyframes fade {
0% {
opacity: 1;
}
50% {
opacity: 0;
}
100% {
opacity: 0;
}
}