-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
379 lines (347 loc) · 8.49 KB
/
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
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
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
@import url("https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&display=swap");
:root {
--background: #EEF5FF;
--grey-light: #dedede;
--grey: #AEAFB4;
--grey-dark: #909196;
--blue-light: #BFE0FF;
--blue: #433DFF;
--blue-dark: #00275A;
--blue-darker: #15253F;
--purple: #5D56B3;
--purple-light: #F8F9FE;
--red: #D54461;
--main-font: "Ubuntu", sans-serif;
}
h1, h2, .title {
color: var(--blue-dark);
}
h3, h4 {
margin-bottom: 10px;
}
p {
color: var(--grey);
}
hr {
margin: 20px 0px;
}
.link {
margin-top: 10px;
font-size: 16px;
text-decoration: underline;
color: var(--grey);
}
.link:hover {
cursor: pointer;
}
.blue-text {
color: var(--blue-dark);
}
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body {
background: var(--background);
font-family: var(--main-font);
}
main {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
}
.container {
width: 100%;
height: 100vh;
background: none;
}
@media (min-width: 750px) {
.container {
background: #fff;
display: flex;
width: 90%;
height: 70%;
padding: 20px;
border-radius: 10px;
}
}
@media (min-width: 1100px) {
.container {
width: 70%;
}
}
nav {
height: 150px;
padding: 20px;
color: #fff;
width: 100%;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='375' height='172' viewBox='0 0 375 172'%3E%3Cdefs%3E%3Cpath id='a' d='M0 0h375v172H0z'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cmask id='b' fill='%23fff'%3E%3Cuse xlink:href='%23a'/%3E%3C/mask%3E%3Cuse xlink:href='%23a' fill='%23483EFF'/%3E%3Cg mask='url(%23b)'%3E%3Cg transform='translate(-151.029 -133.957)'%3E%3Cpath fill='%236259FF' d='M79.546 349.634c54.547 128.646 292.524 204.132 354.626 99.852 62.102-104.28-95.035-123.204-150.583-230.963-55.547-107.759-98.711-175.015-178.973-150.466C24.354 92.607 25 220.987 79.546 349.634Z'/%3E%3Cellipse cx='129.864' cy='258.711' fill='%23FFAF7E' rx='96.329' ry='96.373'/%3E%3Cpath fill='%23F9818E' d='M464.88 433.146c87.31-40.69 133.585-206.525 60.253-246.82-73.333-40.293-82.587 68.465-155.485 109.343-72.898 40.877-118.192 72.245-99.348 126.973 18.845 54.728 107.27 51.194 194.58 10.504Z'/%3E%3Cg stroke='%23FFF' stroke-linecap='round' stroke-linejoin='bevel' stroke-width='5'%3E%3Cpath d='m367.336 243.125 15.263-15.549M430.872 251.016l-17.995-15.112M399.36 271.751l-9.94 21.293'/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
background-size: cover;
display: flex;
justify-content: center;
align-items: center;
position: relative;
}
nav .step-description {
display: none;
}
@media (min-width: 750px) {
nav {
width: 35%;
height: 100%;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='274' height='568' fill='none' viewBox='0 0 274 568'%3E%3Crect width='274' height='568' fill='%23483EFF' rx='10'/%3E%3Cmask id='a' width='274' height='568' x='0' y='0' maskUnits='userSpaceOnUse' style='mask-type:alpha'%3E%3Crect width='274' height='568' fill='%23fff' rx='10'/%3E%3C/mask%3E%3Cg mask='url(%23a)'%3E%3Cpath fill='%236259FF' fill-rule='evenodd' d='M-34.692 543.101C3.247 632.538 168.767 685.017 211.96 612.52c43.194-72.497-66.099-85.653-104.735-160.569-38.635-74.916-68.657-121.674-124.482-104.607-55.824 17.068-55.375 106.32-17.436 195.757Z' clip-rule='evenodd'/%3E%3Cpath fill='%23F9818E' fill-rule='evenodd' d='M233.095 601.153c60.679-28.278 92.839-143.526 41.875-171.528-50.965-28.003-57.397 47.579-108.059 75.987-50.662 28.408-82.14 50.207-69.044 88.241 13.096 38.034 74.549 35.578 135.228 7.3Z' clip-rule='evenodd'/%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='bevel' stroke-width='5' d='m165.305 469.097 10.607-10.806M209.461 474.581l-12.506-10.503M187.56 488.991l-6.908 14.798'/%3E%3Cpath fill='%23FFAF7E' d='M.305 546.891c37.003 0 67-29.997 67-67s-29.997-67-67-67-67 29.997-67 67 29.997 67 67 67Z'/%3E%3C/g%3E%3C/svg%3E");
border-radius: 10px;
flex-direction: column;
justify-content: flex-start;
align-items: flex-start;
text-transform: uppercase;
}
nav .step-description {
display: block;
}
}
.step {
letter-spacing: 1.01px;
display: flex;
margin-bottom: 30px;
align-items: center;
}
.step .circle {
margin-right: 10px;
padding: 8px 12px;
border: 1px solid var(--blue-light);
border-radius: 50%;
font-weight: bold;
font-size: 14px;
}
.step .circle.selected {
background: var(--blue-light);
color: var(--blue-dark);
}
.step .step-number {
font-size: 12px;
font-weight: 300;
}
.step .step-title {
color: #fff;
font-size: 14px;
}
.form {
width: 90%;
height: 80%;
flex-grow: 1;
margin: 0 auto;
padding: 30px 25px;
background: #fff;
position: relative;
top: -50px;
border-radius: 10px;
}
@media (min-width: 750px) {
.form {
height: auto;
padding: 20px 25px;
flex-grow: 1;
width: 100%;
top: 0px;
}
}
@media (min-width: 1000px) {
.form {
padding: 20px 80px;
}
}
.tab {
height: 100%;
}
.tab.hidden {
display: none;
}
.tab .tab-content {
background: #fff;
height: 100%;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.tab .tab-content.center {
align-items: center;
text-align: center;
justify-content: center;
}
.tab .tab-content.center .completion-icon {
width: 80px;
margin-bottom: 20px;
}
.top {
margin-bottom: 30px;
}
.top h1 {
margin-bottom: 10px;
}
.input-group {
display: flex;
flex-direction: column;
margin-bottom: 20px;
}
.input-group input[type=text], .input-group input[type=number] {
padding: 15px 10px;
border: 1px solid var(--grey);
border-radius: 10px;
color: var(--blue-dark);
font-size: 16px;
font-weight: bold;
}
.input-group input[type=text]::placeholder, .input-group input[type=number]::placeholder {
color: var(--grey);
font-weight: bold;
font-size: 16px;
}
.input-group label {
color: var(--blue-dark);
margin-bottom: 5px;
}
#finalPrice {
color: var(--purple);
font-weight: bold;
}
.buttons {
margin-top: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.buttons.flex-end {
justify-content: flex-end;
}
.btn {
padding: 14px 25px;
border-radius: 8px;
color: var(--grey-dark);
}
.btn:hover {
cursor: pointer;
}
.btn.btn-next {
background: var(--blue-dark);
color: #fff;
}
.btn.btn-confirm {
background: var(--blue);
color: #fff;
}
.btn-back {
color: var(--grey-dark);
}
.btn-back:hover {
cursor: pointer;
}
.card {
padding: 15px;
border-radius: 8px;
}
.card-border {
border: 1px solid var(--grey-light);
}
.card-background {
background: var(--purple-light);
}
.flex {
display: flex;
justify-content: space-between;
align-items: center;
}
.plans-container {
display: grid;
grid-template-columns: 1fr;
grid-gap: 10px;
}
@media (min-width: 750px) {
.plans-container {
grid-template-columns: repeat(3, 1fr);
}
}
.plans-container input {
display: none;
}
.plans-container label {
display: flex;
align-items: flex-start;
}
@media (min-width: 750px) {
.plans-container label {
height: 200px;
flex-direction: column;
justify-content: space-between;
}
}
.plans-container label img {
margin-right: 20px;
width: 50px;
}
.plans-container label .plan-price {
margin-top: 10px;
color: var(--grey);
font-weight: 300;
font-size: 16px;
}
.plans-container label:hover {
cursor: pointer;
}
.plans-container input:checked + label {
border: 1px solid var(--purple);
background: var(--purple-light);
}
.yearly-discount, .yearly-plan {
display: none;
}
.yearly-discount {
margin-top: 10px;
font-size: 14px;
color: var(--blue-dark);
}
.radio-buttons {
margin-top: 20px;
padding: 15px;
border-radius: 8px;
text-align: center;
width: 100%;
background: var(--purple-light);
}
.inline {
display: inline;
}
.addons-container .option {
margin-bottom: 20px;
width: 100%;
display: flex;
justify-content: flex-start;
align-items: center;
}
.addons-container .option label {
margin-left: 20px;
flex-grow: 1;
display: flex;
justify-content: space-between;
align-items: center;
}
.addons-container .option .addon-price {
color: var(--purple);
}
.addons-container .option .addon-price.yearly-addon {
display: none;
}
.addons-container .option:hover {
cursor: pointer;
border: 1px solid var(--purple);
}
.addons-container .option.selected {
border: 1px solid var(--purple);
background-color: var(--purple-light);
}
#confirm-addon > div {
margin-bottom: 10px;
}
/*# sourceMappingURL=styles.css.map */