sempli-website-lib 4.1.4 → 5.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/README.md +25 -25
  2. package/assets/fonts/Lato/Lato-Black.ttf +0 -0
  3. package/assets/fonts/Lato/Lato-BlackItalic.ttf +0 -0
  4. package/assets/fonts/Lato/Lato-Bold.ttf +0 -0
  5. package/assets/fonts/Lato/Lato-BoldItalic.ttf +0 -0
  6. package/assets/fonts/Lato/Lato-Hairline.ttf +0 -0
  7. package/assets/fonts/Lato/Lato-HairlineItalic.ttf +0 -0
  8. package/assets/fonts/Lato/Lato-Italic.ttf +0 -0
  9. package/assets/fonts/Lato/Lato-Light.ttf +0 -0
  10. package/assets/fonts/Lato/Lato-LightItalic.ttf +0 -0
  11. package/assets/fonts/Lato/Lato-Regular.ttf +0 -0
  12. package/assets/fonts/Lato/OFL.txt +0 -0
  13. package/assets/interface/documents.svg +136 -136
  14. package/assets/interface/icons/alert-success.svg +17 -17
  15. package/assets/interface/icons/arrow-left.svg +8 -8
  16. package/assets/interface/icons/arrow-right-02.svg +10 -10
  17. package/assets/interface/icons/arrow-right.svg +8 -8
  18. package/assets/interface/icons/basic-check-magenta.svg +1 -1
  19. package/assets/interface/icons/bulb-example.svg +20 -20
  20. package/assets/interface/icons/bulb-tip.svg +32 -32
  21. package/assets/interface/icons/check-green-circle-large.svg +23 -23
  22. package/assets/interface/icons/check-green.svg +16 -16
  23. package/assets/interface/icons/check-purple.svg +20 -20
  24. package/assets/interface/icons/cloud-download.svg +20 -20
  25. package/assets/interface/icons/document-pdf.svg +13 -13
  26. package/assets/interface/icons/document-review.svg +20 -20
  27. package/assets/interface/icons/document-status-approved.svg +21 -21
  28. package/assets/interface/icons/document-status-empty.svg +18 -18
  29. package/assets/interface/icons/document-status-error.svg +23 -23
  30. package/assets/interface/icons/document-status-success.svg +19 -19
  31. package/assets/interface/icons/eye-action.svg +1 -1
  32. package/assets/interface/icons/hand-stop.svg +19 -19
  33. package/assets/interface/icons/happy-01.svg +0 -0
  34. package/assets/interface/icons/happy-02.svg +0 -0
  35. package/assets/interface/icons/happy-03.svg +0 -0
  36. package/assets/interface/icons/happy-04.svg +0 -0
  37. package/assets/interface/icons/happy-05.svg +0 -0
  38. package/assets/interface/icons/heart.svg +13 -13
  39. package/assets/interface/icons/intercom-messenger-icon.svg +1 -1
  40. package/assets/interface/icons/lock-icon.svg +1 -1
  41. package/assets/interface/icons/mail-circle.svg +32 -32
  42. package/assets/interface/icons/mail-edit.svg +20 -20
  43. package/assets/interface/icons/pen-edit.svg +22 -22
  44. package/assets/interface/icons/plus-circle.svg +22 -22
  45. package/assets/interface/icons/question-sign.svg +10 -10
  46. package/assets/interface/icons/shield.svg +31 -31
  47. package/assets/interface/icons/signature-modal-approved.svg +17 -17
  48. package/assets/interface/icons/signature-modal-waiting.svg +23 -23
  49. package/assets/interface/icons/signature-pending.svg +25 -25
  50. package/assets/interface/icons/signature-step-active.svg +19 -19
  51. package/assets/interface/icons/signature-step-completed.svg +19 -19
  52. package/assets/interface/icons/signature-step-default.svg +19 -19
  53. package/assets/interface/icons/skull.svg +23 -23
  54. package/assets/interface/icons/step-incomplete.svg +18 -18
  55. package/assets/interface/icons/trash-delete.svg +20 -20
  56. package/assets/interface/icons/warning-sign.svg +22 -22
  57. package/assets/interface/icons/x-circle.svg +14 -14
  58. package/esm2020/lib/sempli-website-lib.module.mjs +16 -0
  59. package/esm2020/public-api.mjs +5 -0
  60. package/esm2020/sempli-website-lib.mjs +5 -0
  61. package/fesm2015/sempli-website-lib.mjs +27 -0
  62. package/fesm2015/sempli-website-lib.mjs.map +1 -0
  63. package/fesm2020/sempli-website-lib.mjs +27 -0
  64. package/fesm2020/sempli-website-lib.mjs.map +1 -0
  65. package/lib/sempli-website-lib.module.d.ts +6 -2
  66. package/package.json +23 -11
  67. package/public-api.d.ts +1 -1
  68. package/sempli-website-lib.d.ts +5 -4
  69. package/styles/_main.scss +2 -2
  70. package/styles/master-app.scss +11962 -9802
  71. package/styles/master-landing.scss +12821 -10661
  72. package/styles/modules/_functions.scss +37 -37
  73. package/styles/modules/_mixins.scss +66 -66
  74. package/styles/modules/_variables.scss +54 -54
  75. package/styles/partials/_base.scss +281 -281
  76. package/styles/partials/_buttons.scss +401 -402
  77. package/styles/partials/_fonts.scss +83 -83
  78. package/styles/partials/_forms.scss +837 -837
  79. package/styles/partials/_icons.scss +12 -12
  80. package/styles/partials/_layout.scss +148 -148
  81. package/styles/partials/_modals.scss +256 -256
  82. package/styles/partials/_panels.scss +51 -51
  83. package/styles/partials/_progress-bars.scss +60 -60
  84. package/styles/partials/_tooltips.scss +128 -128
  85. package/styles/partials/_videos.scss +32 -32
  86. package/styles/partials/animations.scss +122 -122
  87. package/styles/partials/app/_blocks.scss +101 -101
  88. package/styles/partials/app/_cards.scss +155 -155
  89. package/styles/partials/app/_general.scss +1199 -1199
  90. package/styles/partials/app/_header.scss +723 -723
  91. package/styles/partials/app/_layout.scss +227 -227
  92. package/styles/partials/app/_my-account.scss +203 -203
  93. package/styles/partials/app/_my-loan-applications.scss +165 -165
  94. package/styles/partials/app/_my-products.scss +1039 -1039
  95. package/styles/partials/app/_signatures.scss +16 -16
  96. package/styles/partials/landing/_footer.scss +70 -70
  97. package/styles/partials/landing/_general.scss +1375 -1375
  98. package/styles/partials/landing/_header.scss +478 -478
  99. package/styles/partials/landing/_hero-wrappers.scss +616 -616
  100. package/styles/vendor/_modules_export.scss +3252 -1091
  101. package/styles/vendor/_normalize.scss +341 -341
  102. package/bundles/sempli-website-lib.umd.js +0 -33
  103. package/bundles/sempli-website-lib.umd.js.map +0 -1
  104. package/bundles/sempli-website-lib.umd.min.js +0 -2
  105. package/bundles/sempli-website-lib.umd.min.js.map +0 -1
  106. package/esm2015/lib/sempli-website-lib.module.js +0 -11
  107. package/esm2015/public-api.js +0 -5
  108. package/esm2015/sempli-website-lib.js +0 -5
  109. package/fesm2015/sempli-website-lib.js +0 -22
  110. package/fesm2015/sempli-website-lib.js.map +0 -1
  111. package/sempli-website-lib.metadata.json +0 -1
@@ -1,1039 +1,1039 @@
1
- /*#############################################################################
2
- # MY PRODUCTS
3
- #############################################################################*/
4
-
5
-
6
- // Products Box Base Styles
7
- // To be extended
8
- .my-products-base-box {
9
- background-color: #fff;
10
- padding: 20px 30px;
11
- @include border-radius(4px);
12
- @include box-shadow(-2px 2px 6px 0 rgba(black, 0.05));
13
- }
14
-
15
- .my-products-list-wrapper {
16
- max-width: 1000px;
17
- margin: 0 auto;
18
-
19
- .product-box {
20
- display: grid;
21
- grid-template-columns: repeat(4, 1fr) 120px;
22
- justify-items: center;
23
- margin: 0 0 20px;
24
- @extend .my-products-base-box;
25
- // @extend %transition-all;
26
-
27
- @include responsive-max($breakpoint-small) {
28
- grid-template-columns: none;
29
- grid-gap: 1rem;
30
-
31
- .credit-id {
32
- justify-self: center !important;
33
- }
34
-
35
- .product-box-column {
36
- padding: 0 !important;
37
- text-align: center !important;
38
-
39
- .product-box-title {
40
- margin: 0;
41
- }
42
- }
43
-
44
- .credit-actions {
45
- display: flex;
46
- width: 100%;
47
- justify-content: center;
48
- align-items: flex-start;
49
- margin-top: 20px;
50
- a.product-box-action {
51
- opacity: 1;
52
-
53
- &.small {
54
- font-weight: 900;
55
- padding: 10px 20px;
56
- }
57
- }
58
- }
59
- }
60
-
61
- &:last-child {
62
- margin: 0;
63
- }
64
-
65
- // General Box Columns
66
- .product-box-column {
67
- padding: 0 20px;
68
-
69
- &:first-child {
70
- padding-left: 0;
71
- }
72
-
73
- &:last-child {
74
- padding-right: 0;
75
- }
76
- }
77
-
78
- // Specific Box Columns
79
- .credit-id {
80
- justify-self: start;
81
- }
82
-
83
- .credit-payment-progress {
84
-
85
- }
86
-
87
- .credit-installments {
88
-
89
- }
90
-
91
- .credit-payment {
92
-
93
- }
94
-
95
- .credit-actions {
96
-
97
- }
98
-
99
- // Content Elements
100
-
101
- .product-box-title {
102
- color: $color-secondary;
103
- font-size: rem-calc(10px);
104
- text-transform: uppercase;
105
- margin: 0 0 10px;
106
- }
107
-
108
- .product-box-content {
109
- font-size: rem-calc(14px);
110
- margin: 0;
111
- }
112
-
113
- .product-box-credit-amount {
114
- font-size: rem-calc(20px);
115
- margin: 0;
116
- }
117
-
118
- .progress-bar {
119
- min-width: 120px;
120
- margin-top: 18px;
121
- }
122
-
123
- .product-box-payment-status {
124
- font-size: rem-calc(12px);
125
- font-weight: 900;
126
- margin: 0;
127
- }
128
-
129
- a.product-box-action {
130
- display: block;
131
- opacity: 0;
132
- font-size: rem-calc(12px);
133
- text-align: center;
134
- margin: 0 0 12px;
135
-
136
- &:last-child {
137
- margin: 0;
138
- }
139
- }
140
-
141
- // HOVER STATE
142
-
143
- &:hover {
144
- @include box-shadow(-6px 6px 10px 0 rgba(black, 0.075));
145
-
146
- a.product-box-action {
147
- opacity: 1;
148
- }
149
- }
150
- }
151
- }
152
-
153
- header.product-details {
154
- margin: 0 0 40px;
155
-
156
- .product-details-id {
157
- color: $color-secondary;
158
- font-size: rem-calc(14px);
159
- text-transform: uppercase;
160
- margin: 0;
161
- }
162
-
163
- .product-details-amount {
164
- font-size: rem-calc(28px);
165
- margin: 0 0 30px;
166
- }
167
-
168
- // Secondary Info container
169
- .secondary-product-info {
170
- display: flex;
171
- flex-flow: row wrap;
172
-
173
- .product-info-box {
174
- margin-right: 70px;
175
- }
176
-
177
- // Content Elements
178
- .product-info-title {
179
- color: $color-secondary;
180
- font-size: rem-calc(12px);
181
- text-transform: uppercase;
182
- margin: 0;
183
- }
184
-
185
- .product-info-value {
186
- font-size: rem-calc(14px);
187
- font-weight: 900;
188
- margin: 0;
189
- }
190
- }
191
- }
192
-
193
- .product-details-wrapper {
194
- display: grid;
195
- grid-template-columns: 1fr 360px;
196
- grid-column-gap: 30px;
197
- margin: 0 0 40px;
198
-
199
- @include responsive-max($breakpoint-small) {
200
- grid-template-columns: none;
201
- grid-gap: 1rem;
202
- }
203
-
204
- &:last-child {
205
- margin: 0;
206
- }
207
-
208
- // Product Details Box Structure Elements
209
- .product-details-box {
210
- @extend .my-products-base-box;
211
- min-height: 500px;
212
- padding: 0;
213
-
214
- header.product-details-header {
215
- padding: 20px 20px 0;
216
- border-bottom: 1px solid $color-secondary-light;
217
-
218
- nav {
219
- display: flex;
220
- flex-flow: row wrap;
221
- justify-content: space-evenly;
222
-
223
- a {
224
- color: $color-secondary;
225
- font-size: rem-calc(14px);
226
- padding: 0 5px 15px;
227
-
228
- @include responsive-max($breakpoint-small) {
229
- width: 50%;
230
- text-align: center;
231
- margin-bottom: 15px;
232
- }
233
-
234
- &.active {
235
- border-bottom: 2px solid $color-primary;
236
- color: $color-primary;
237
- font-weight: 900;
238
- }
239
-
240
- &:hover {
241
- color: darken($color-secondary, 20%);
242
- }
243
- }
244
- }
245
- }
246
-
247
- .box-content {
248
- padding: 30px;
249
-
250
- .col {
251
- &:first-child {
252
- padding: 0 30px 0 20px;
253
- }
254
-
255
- &:last-child {
256
- padding: 0 20px 0 30px;
257
- }
258
- }
259
- }
260
-
261
- footer.product-details-footer {
262
- border-top: 1px solid $color-secondary-light;
263
- padding: 20px 60px;
264
- @include border-bottom-radius(4px);
265
-
266
- a {
267
- display: inline-block;
268
- font-size: rem-calc(14px);
269
- font-weight: 900;
270
- }
271
- }
272
- }
273
-
274
- // Content Elements
275
-
276
- h5.payments-table-title {
277
- font-size: rem-calc(14px);
278
- margin: 0 0 20px;
279
- }
280
-
281
- header.payment-details-header {
282
- margin-bottom: 20px;
283
- @include pie-clearfix;
284
-
285
- h6 {
286
- font-size: rem-calc(14px);
287
- margin: 0;
288
- @include float(left);
289
- }
290
-
291
- p {
292
- color: $color-secondary;
293
- font-size: rem-calc(14px);
294
- font-weight: 900;
295
- margin: 0;
296
- @include float(right);
297
- }
298
- }
299
-
300
- a.next-installment-pay {
301
- display: block;
302
- text-align: center;
303
- margin: 30px 0;
304
- }
305
-
306
- p.next-installment-text {
307
- font-size: rem-calc(12px);
308
- margin: 0;
309
- }
310
-
311
- footer.next-installment {
312
- border-top: 1px solid $color-secondary-light;
313
- margin-top: 15px;
314
- padding-top: 15px;
315
-
316
- p {
317
- font-size: rem-calc(12px);
318
- margin: 0;
319
-
320
- a {
321
- font-weight: bold;
322
- }
323
- }
324
- }
325
-
326
- p.payment-simulator {
327
- font-size: rem-calc(14px);
328
- margin: 20px 0 0;
329
- padding: 0 20px;
330
- }
331
- }
332
-
333
- ul.payments-table {
334
- border-bottom: 1px solid $color-secondary-light;
335
- list-style: none;
336
- margin: 0 0 15px;
337
- padding: 0 0 15px;
338
-
339
- li {
340
- margin: 0 0 10px;
341
- padding-left: 15px;
342
- position: relative;
343
- @include pie-clearfix;
344
-
345
- &:last-child {
346
- margin: 0;
347
- }
348
-
349
- &::before {
350
- content: "";
351
- display: block;
352
- background-color: $color-primary;
353
- width: 5px;
354
- height: 5px;
355
- position: absolute;
356
- top: 50%;
357
- left: 0;
358
- @include border-radius(10px);
359
- @include transform(translateY(-50%));
360
-
361
- }
362
- }
363
-
364
- &.no-decoration {
365
- li {
366
- padding-left: 0;
367
-
368
- &::before {
369
- display: none;
370
- }
371
- }
372
- }
373
- }
374
-
375
- ul.payments-history {
376
- list-style: none;
377
- margin: 0;
378
- padding: 0;
379
-
380
- li {
381
- display: grid;
382
- grid-template-columns: 1fr 1fr;
383
- grid-column-gap: 30px;
384
- align-items: center;
385
- border-bottom: 1px solid $color-secondary-light;
386
- padding: 10px 0;
387
-
388
- &:last-child {
389
- border-bottom: none;
390
- }
391
-
392
- .history-box {
393
- span {
394
- display: block;
395
-
396
- &.installment {
397
- color: $color-secondary;
398
- font-size: rem-calc(12px);
399
- }
400
-
401
- &.date {
402
- font-size: rem-calc(14px);
403
- }
404
-
405
- &.amount {
406
- font-size: rem-calc(14px);
407
- font-weight: 900;
408
- text-align: right;
409
-
410
- &.penalty {
411
- color: $color-alert;
412
- font-size: rem-calc(12px);
413
- font-weight: 400;
414
- }
415
- }
416
- }
417
-
418
- &.left {
419
- justify-self: start;
420
- }
421
-
422
- &.right {
423
- justify-self: end;
424
- }
425
- }
426
- }
427
- }
428
-
429
- ul.statements-history {
430
- list-style: none;
431
- margin: 0;
432
- padding: 0;
433
-
434
- li {
435
- display: grid;
436
- grid-template-columns: 24px 1fr 1fr;
437
- grid-column-gap: 15px;
438
- align-items: center;
439
- border-bottom: 1px solid $color-secondary-light;
440
- padding: 10px 0;
441
-
442
- &:last-child {
443
- border-bottom: none;
444
- }
445
-
446
- img.icon {
447
- display: block;
448
- width: 100%;
449
- }
450
-
451
- .history-box {
452
- span {
453
- display: block;
454
-
455
- &.statement {
456
- color: $color-secondary;
457
- font-size: rem-calc(12px);
458
- }
459
-
460
- &.date {
461
- font-size: rem-calc(14px);
462
- }
463
-
464
- &.actions {
465
- font-size: rem-calc(14px);
466
- font-weight: 900;
467
- text-align: right;
468
- }
469
- }
470
-
471
- &.left {
472
- justify-self: start;
473
- }
474
-
475
- &.right {
476
- justify-self: end;
477
- }
478
- }
479
- }
480
- }
481
-
482
- ul.documents-history {
483
- list-style: none;
484
- margin: 0;
485
- padding: 0;
486
-
487
- li {
488
- display: grid;
489
- grid-template-columns: 24px 1fr 1fr;
490
- grid-column-gap: 15px;
491
- align-items: center;
492
- border-bottom: 1px solid $color-secondary-light;
493
- padding: 10px 0;
494
-
495
- &:last-child {
496
- border-bottom: none;
497
- }
498
-
499
- img.icon {
500
- display: block;
501
- width: 100%;
502
- }
503
-
504
- .history-box {
505
- span {
506
- display: block;
507
-
508
- &.document {
509
- font-size: rem-calc(14px);
510
- }
511
-
512
- &.file-size {
513
- color: $color-secondary;
514
- font-size: rem-calc(12px);
515
- }
516
-
517
- &.actions {
518
- font-size: rem-calc(14px);
519
- font-weight: 900;
520
- text-align: right;
521
- }
522
- }
523
-
524
- &.left {
525
- justify-self: start;
526
- }
527
-
528
- &.right {
529
- justify-self: end;
530
- }
531
- }
532
- }
533
- }
534
-
535
- span.payments-table-item-title {
536
- font-size: rem-calc(12px);
537
- font-weight: 900;
538
- @include float(left);
539
- }
540
-
541
- span.payments-table-item-value {
542
- font-size: rem-calc(12px);
543
- @include float(right);
544
- }
545
-
546
- .payments-table-totals {
547
- @include pie-clearfix;
548
-
549
- span.item-title {
550
- font-size: rem-calc(13px);
551
- }
552
-
553
- span.item-value {
554
- font-size: rem-calc(13px);
555
- font-weight: 900;
556
- }
557
-
558
- &.large {
559
- span {
560
- font-size: rem-calc(14px);
561
- }
562
- }
563
- }
564
-
565
- p.payment-simulation-result {
566
- font-size: rem-calc(14px);
567
- margin-top: 30px;
568
- }
569
-
570
- // Products Box Base Styles
571
- .virtual-card-section {
572
- padding: 50px 60px 0;
573
- margin-bottom: 30px;
574
- background-color: #fff;
575
- border: 1px solid #E9EAEA;
576
- @include box-shadow(-10px 10px 20px 0 rgba( black, 0.05));
577
- display: grid;
578
- grid-template-columns: 1fr 2fr;
579
- grid-column-gap: 6rem;
580
-
581
- .card-section {
582
- .credit-card-container {
583
- display: flex;
584
- flex-flow: column-reverse nowrap;
585
- align-items: center;
586
-
587
- .v-card {
588
- width: 85.60mm;
589
- height: 52.98mm;
590
- border-radius: 20px;
591
- margin-bottom: 0;
592
- -moz-box-shadow: -3px 6px 12px #4d4c4d;
593
- -webkit-box-shadow: -3px 6px 12px #4d4c4d;
594
- box-shadow: -3px 6px 12px #4d4c4d;
595
- -webkit-transform-style: preserve-3d;
596
- transform-style: preserve-3d;
597
- transition: -webkit-transform 0.6s;
598
- -webkit-transition: -webkit-transform 0.6s;
599
- transition: transform 0.6s, -webkit-transform 0.6s;
600
- cursor: pointer;
601
-
602
- &.disabled {
603
- cursor: not-allowed;
604
- }
605
-
606
- .disabled-layer {
607
- width: 100%;
608
- height: 102%;
609
- position: absolute;
610
- z-index: 2;
611
- background-color: $default-color-hover;
612
- opacity: 0.6;
613
- display: flex;
614
- justify-content: center;
615
- align-items: center;
616
- border-radius: 17px 17px 14px 16px;
617
-
618
- .icon {
619
- width: 72px;
620
- }
621
- }
622
-
623
- .front {
624
- display: flex;
625
- flex-flow: nowrap column;
626
- position: absolute;
627
- width: 85.6mm;
628
- height: 53.98mm;
629
- -webkit-backface-visibility: hidden;
630
- backface-visibility: hidden;
631
- -webkit-font-smoothing: antialiased;
632
- background-size: contain;
633
- padding: 10px;
634
-
635
- .credit-card-data {
636
- color: #CBCECE;
637
- height: 100%;
638
- display: flex;
639
- align-items: flex-end;
640
-
641
- .person-data {
642
- margin: 0 28px;
643
- .name {
644
- font-weight: 600;
645
- font-size: rem-calc(12px);
646
- font-family: 'Montserrat', serif;
647
- }
648
- }
649
- }
650
- }
651
-
652
- .back {
653
- position: absolute;
654
- width: 85.6mm;
655
- height: 53.98mm;
656
- -webkit-backface-visibility: hidden;
657
- backface-visibility: hidden;
658
- -webkit-font-smoothing: antialiased;
659
- background-size: contain;
660
- -webkit-transform: rotateY(180deg);
661
- transform: rotateY(180deg);
662
- padding: 10px;
663
-
664
- .white-space {
665
- height: 30%;
666
- }
667
-
668
- .card-data-back {
669
- color: #CBCECE;
670
- position: relative;
671
- height: 70%;
672
- font-family: 'Karla', serif;
673
-
674
- .pan {
675
- letter-spacing: 1px;
676
- font-size: rem-calc(15px);
677
- text-align: center;
678
- font-weight: 600;
679
- height: 70%;
680
- display: flex;
681
- align-items: flex-end;
682
- justify-content: center;
683
- }
684
-
685
- .security-data {
686
- display: flex;
687
- flex-flow: row nowrap;
688
- height: 30%;
689
- justify-content: flex-end;
690
- align-items: flex-end;
691
- margin-right: 17%;
692
-
693
- .title {
694
- letter-spacing: 0.5px;
695
- font-size: 10px;
696
- }
697
-
698
- .data {
699
- font-size: rem-calc(12px);
700
- }
701
-
702
- .exp-date-wrapper {
703
- margin-right: 10px;
704
- }
705
- }
706
- }
707
- }
708
-
709
-
710
- &.flipped {
711
- -webkit-transform: rotateY(180deg);
712
- transform: rotateY(180deg);
713
- box-shadow: 9px 9px 12px #4d4c4d;
714
- }
715
- }
716
-
717
- .cta-secction {
718
- margin: 0 0 10px;
719
- display: flex;
720
-
721
- .button {
722
- margin: 0 10px;
723
- }
724
-
725
- .view-card-information {
726
- font-size: rem-calc(12px);
727
- font-weight: 900;
728
- cursor: pointer;
729
- color: $color-primary;
730
- }
731
-
732
- .status-container {
733
- width: fit-content;
734
- animation: heartbeat 1s 6;
735
-
736
- .card-status-details {
737
- font-size: rem-calc(12px);
738
- font-weight: bold;
739
- }
740
- }
741
-
742
- .count-down-hide-data {
743
- font-size: rem-calc(12px);
744
- }
745
- }
746
- }
747
-
748
- .credit-card-footer-message {
749
- display: flex;
750
- justify-content: center;
751
- p {
752
- margin-top: 15px;
753
- font-size: rem-calc(12px);
754
- }
755
- }
756
- }
757
-
758
- .summary-section {
759
- display: flex;
760
- flex-direction: column;
761
-
762
- .tab {
763
- .accordion-control {
764
- display: none;
765
- }
766
-
767
- .accordion-label {
768
- display: none;
769
- }
770
- }
771
-
772
- .credit-card-summary {
773
- display: flex;
774
- justify-content: space-around;
775
- flex-flow: row wrap;
776
-
777
- .section-separator {
778
- border-right: 1px solid #afb3c07d;
779
- }
780
-
781
- .separator-line {
782
- border-bottom: 1px solid #afb3c07d;
783
- margin: 15px 0px;
784
- width: 100%;
785
- }
786
-
787
- .title {
788
- color: $color-secondary;
789
- font-size: rem-calc(12px);
790
- margin-bottom: 0;
791
- }
792
-
793
- section.main-summary {
794
- .description {
795
- font-size: rem-calc(14px);
796
- font-weight: 900;
797
- }
798
- }
799
-
800
- section.summary-cta {
801
- margin-top: 20px;
802
- font-size: 14px !important;
803
- }
804
-
805
- section.secondary-summary {
806
- .description {
807
- font-size: rem-calc(12px);
808
- font-weight: 900;
809
- }
810
- }
811
- }
812
-
813
- .summary-footer {
814
- display: flex;
815
- align-items: center;
816
- height: 100%;
817
- justify-content: space-around;
818
-
819
- .toggle-button-with-label {
820
- .onoffswitch {
821
- margin-left: 10px;
822
- }
823
- }
824
- }
825
- }
826
-
827
- @include responsive-max($breakpoint-large) {
828
- padding: 0;
829
- grid-template-columns: 1fr;
830
-
831
- .card-section {
832
- .credit-card-container {
833
- .v-card {
834
- display: flex;
835
- justify-content: center;
836
- width: auto;
837
- height: 40.98mm;
838
-
839
- .disabled-layer {
840
- width: 65.6mm;
841
- height: 40.98mm;
842
- border-radius: 10px;
843
- .icon {
844
- width: 48px;
845
- }
846
- }
847
-
848
- .front {
849
- width: 65.6mm;
850
- height: 40.98mm;
851
-
852
- .credit-card-data {
853
- .person-data {
854
- margin: 0 10px;
855
- font-size: rem-calc(14px);
856
- }
857
- }
858
- }
859
-
860
- .back {
861
- width: 65.6mm;
862
- height: 40.98mm;
863
- }
864
- }
865
-
866
- .cta-secction {
867
- margin: 20px 0 10px;
868
-
869
- .button {
870
- font-size: rem-calc(12px);
871
- }
872
- }
873
- }
874
-
875
- .credit-card-footer-message {
876
- display: flex;
877
- justify-content: center;
878
-
879
- p {
880
- margin-left: unset;
881
- }
882
- }
883
- }
884
-
885
- .summary-section {
886
- /* Accordion styles */
887
- .tab {
888
- .accordion-label {
889
- cursor: pointer;
890
- display: block;
891
- }
892
-
893
- .accordion_container {
894
- &:first-of-type {
895
- border-top-left-radius: 20px;
896
- border-top-right-radius: 20px;
897
- }
898
-
899
- &:last-of-type {
900
- border-bottom-left-radius: 20px;
901
- border-bottom-right-radius: 20px;
902
- border-bottom: none;
903
- }
904
- }
905
-
906
- .accordion-content {
907
- /* Height animation:
908
- only really works well if the height is close to content - too high and the animation still goes to the max-height number, messing up the timing
909
- For widely variable height content, best not to animate. Switch display attribute instead */
910
- max-height: 0;
911
- overflow: hidden;
912
- transition: max-height 0.2s;
913
- background-size: 260px;
914
- background-repeat: no-repeat;
915
- background-position: center;
916
- }
917
-
918
- .accordion-control {
919
- display: none;
920
-
921
- + label {
922
- position: relative;
923
- height: 40px;
924
- margin: 0 15px 0 24px;
925
- display: block;
926
- font-family: arial;
927
- font-size: 1em;
928
- line-height: 1em;
929
- z-index: 0;
930
-
931
- &:before,
932
- &:after {
933
- content: '';
934
- position: absolute;
935
- }
936
-
937
- &:before {
938
- content: attr(data-label-closed);
939
- display: contents;
940
- }
941
-
942
- &::after {
943
- right: 0;
944
- content: "❯";
945
- margin-right: 8px;
946
- height: 1em;
947
- text-align: center;
948
- transition: all 0.35s;
949
- }
950
- }
951
-
952
- &:checked {
953
- + label {
954
- cursor: pointer;
955
-
956
- &:before {
957
- content: attr(data-label-open);
958
- }
959
-
960
- &:after {
961
- transform: rotate(90deg);
962
- }
963
-
964
- + .accordion-content {
965
- max-height: 350px;
966
- }
967
- }
968
- }
969
-
970
- &[type="radio"] {
971
- + label {
972
- &:before,
973
- &:after {
974
- content: '';
975
- }
976
- }
977
-
978
- &:checked {
979
- + label {
980
- cursor: default;
981
-
982
- &:before {
983
- border-left-color: #999;
984
- }
985
- }
986
- }
987
- }
988
- }
989
- }
990
-
991
- .credit-card-summary {
992
- flex-flow: column nowrap;
993
- padding: 0 20px;
994
-
995
- .summary-sections {
996
- display: flex;
997
- justify-content: space-between;
998
- }
999
-
1000
- .summary-cta {
1001
- display: flex;
1002
- justify-content: flex-end;
1003
- }
1004
-
1005
- .separator-line {
1006
- margin: 0;
1007
- width: 0;
1008
- }
1009
-
1010
- .section-separator {
1011
- border-right: unset;
1012
- border-bottom: 1px solid #afb3c07d;
1013
- margin: 15px 0;
1014
- }
1015
- }
1016
-
1017
- .summary-footer {
1018
- justify-content: flex-end;
1019
- flex-wrap: wrap;
1020
- gap: 10px;
1021
- margin: 20px 20px;
1022
-
1023
- .toggle-button-with-label {
1024
- padding-top: unset;
1025
- }
1026
- }
1027
- }
1028
- }
1029
-
1030
- @include responsive-max($breakpoint-medium) {
1031
- .summary-section {
1032
- .summary-footer {
1033
- align-items: flex-end;
1034
- gap: 18px;
1035
- flex-direction: column;
1036
- }
1037
- }
1038
- }
1039
- }
1
+ /*#############################################################################
2
+ # MY PRODUCTS
3
+ #############################################################################*/
4
+
5
+
6
+ // Products Box Base Styles
7
+ // To be extended
8
+ .my-products-base-box {
9
+ background-color: #fff;
10
+ padding: 20px 30px;
11
+ @include border-radius(4px);
12
+ @include box-shadow(-2px 2px 6px 0 rgba(black, 0.05));
13
+ }
14
+
15
+ .my-products-list-wrapper {
16
+ max-width: 1000px;
17
+ margin: 0 auto;
18
+
19
+ .product-box {
20
+ display: grid;
21
+ grid-template-columns: repeat(4, 1fr) 120px;
22
+ justify-items: center;
23
+ margin: 0 0 20px;
24
+ @extend .my-products-base-box;
25
+ // @extend %transition-all;
26
+
27
+ @include responsive-max($breakpoint-small) {
28
+ grid-template-columns: none;
29
+ grid-gap: 1rem;
30
+
31
+ .credit-id {
32
+ justify-self: center !important;
33
+ }
34
+
35
+ .product-box-column {
36
+ padding: 0 !important;
37
+ text-align: center !important;
38
+
39
+ .product-box-title {
40
+ margin: 0;
41
+ }
42
+ }
43
+
44
+ .credit-actions {
45
+ display: flex;
46
+ width: 100%;
47
+ justify-content: center;
48
+ align-items: flex-start;
49
+ margin-top: 20px;
50
+ a.product-box-action {
51
+ opacity: 1;
52
+
53
+ &.small {
54
+ font-weight: 900;
55
+ padding: 10px 20px;
56
+ }
57
+ }
58
+ }
59
+ }
60
+
61
+ &:last-child {
62
+ margin: 0;
63
+ }
64
+
65
+ // General Box Columns
66
+ .product-box-column {
67
+ padding: 0 20px;
68
+
69
+ &:first-child {
70
+ padding-left: 0;
71
+ }
72
+
73
+ &:last-child {
74
+ padding-right: 0;
75
+ }
76
+ }
77
+
78
+ // Specific Box Columns
79
+ .credit-id {
80
+ justify-self: start;
81
+ }
82
+
83
+ .credit-payment-progress {
84
+
85
+ }
86
+
87
+ .credit-installments {
88
+
89
+ }
90
+
91
+ .credit-payment {
92
+
93
+ }
94
+
95
+ .credit-actions {
96
+
97
+ }
98
+
99
+ // Content Elements
100
+
101
+ .product-box-title {
102
+ color: $color-secondary;
103
+ font-size: rem-calc(10px);
104
+ text-transform: uppercase;
105
+ margin: 0 0 10px;
106
+ }
107
+
108
+ .product-box-content {
109
+ font-size: rem-calc(14px);
110
+ margin: 0;
111
+ }
112
+
113
+ .product-box-credit-amount {
114
+ font-size: rem-calc(20px);
115
+ margin: 0;
116
+ }
117
+
118
+ .progress-bar {
119
+ min-width: 120px;
120
+ margin-top: 18px;
121
+ }
122
+
123
+ .product-box-payment-status {
124
+ font-size: rem-calc(12px);
125
+ font-weight: 900;
126
+ margin: 0;
127
+ }
128
+
129
+ a.product-box-action {
130
+ display: block;
131
+ opacity: 0;
132
+ font-size: rem-calc(12px);
133
+ text-align: center;
134
+ margin: 0 0 12px;
135
+
136
+ &:last-child {
137
+ margin: 0;
138
+ }
139
+ }
140
+
141
+ // HOVER STATE
142
+
143
+ &:hover {
144
+ @include box-shadow(-6px 6px 10px 0 rgba(black, 0.075));
145
+
146
+ a.product-box-action {
147
+ opacity: 1;
148
+ }
149
+ }
150
+ }
151
+ }
152
+
153
+ header.product-details {
154
+ margin: 0 0 40px;
155
+
156
+ .product-details-id {
157
+ color: $color-secondary;
158
+ font-size: rem-calc(14px);
159
+ text-transform: uppercase;
160
+ margin: 0;
161
+ }
162
+
163
+ .product-details-amount {
164
+ font-size: rem-calc(28px);
165
+ margin: 0 0 30px;
166
+ }
167
+
168
+ // Secondary Info container
169
+ .secondary-product-info {
170
+ display: flex;
171
+ flex-flow: row wrap;
172
+
173
+ .product-info-box {
174
+ margin-right: 70px;
175
+ }
176
+
177
+ // Content Elements
178
+ .product-info-title {
179
+ color: $color-secondary;
180
+ font-size: rem-calc(12px);
181
+ text-transform: uppercase;
182
+ margin: 0;
183
+ }
184
+
185
+ .product-info-value {
186
+ font-size: rem-calc(14px);
187
+ font-weight: 900;
188
+ margin: 0;
189
+ }
190
+ }
191
+ }
192
+
193
+ .product-details-wrapper {
194
+ display: grid;
195
+ grid-template-columns: 1fr 360px;
196
+ grid-column-gap: 30px;
197
+ margin: 0 0 40px;
198
+
199
+ @include responsive-max($breakpoint-small) {
200
+ grid-template-columns: none;
201
+ grid-gap: 1rem;
202
+ }
203
+
204
+ &:last-child {
205
+ margin: 0;
206
+ }
207
+
208
+ // Product Details Box Structure Elements
209
+ .product-details-box {
210
+ @extend .my-products-base-box;
211
+ min-height: 500px;
212
+ padding: 0;
213
+
214
+ header.product-details-header {
215
+ padding: 20px 20px 0;
216
+ border-bottom: 1px solid $color-secondary-light;
217
+
218
+ nav {
219
+ display: flex;
220
+ flex-flow: row wrap;
221
+ justify-content: space-evenly;
222
+
223
+ a {
224
+ color: $color-secondary;
225
+ font-size: rem-calc(14px);
226
+ padding: 0 5px 15px;
227
+
228
+ @include responsive-max($breakpoint-small) {
229
+ width: 50%;
230
+ text-align: center;
231
+ margin-bottom: 15px;
232
+ }
233
+
234
+ &.active {
235
+ border-bottom: 2px solid $color-primary;
236
+ color: $color-primary;
237
+ font-weight: 900;
238
+ }
239
+
240
+ &:hover {
241
+ color: darken($color-secondary, 20%);
242
+ }
243
+ }
244
+ }
245
+ }
246
+
247
+ .box-content {
248
+ padding: 30px;
249
+
250
+ .col {
251
+ &:first-child {
252
+ padding: 0 30px 0 20px;
253
+ }
254
+
255
+ &:last-child {
256
+ padding: 0 20px 0 30px;
257
+ }
258
+ }
259
+ }
260
+
261
+ footer.product-details-footer {
262
+ border-top: 1px solid $color-secondary-light;
263
+ padding: 20px 60px;
264
+ @include border-bottom-radius(4px);
265
+
266
+ a {
267
+ display: inline-block;
268
+ font-size: rem-calc(14px);
269
+ font-weight: 900;
270
+ }
271
+ }
272
+ }
273
+
274
+ // Content Elements
275
+
276
+ h5.payments-table-title {
277
+ font-size: rem-calc(14px);
278
+ margin: 0 0 20px;
279
+ }
280
+
281
+ header.payment-details-header {
282
+ margin-bottom: 20px;
283
+ @include pie-clearfix;
284
+
285
+ h6 {
286
+ font-size: rem-calc(14px);
287
+ margin: 0;
288
+ @include float(left);
289
+ }
290
+
291
+ p {
292
+ color: $color-secondary;
293
+ font-size: rem-calc(14px);
294
+ font-weight: 900;
295
+ margin: 0;
296
+ @include float(right);
297
+ }
298
+ }
299
+
300
+ a.next-installment-pay {
301
+ display: block;
302
+ text-align: center;
303
+ margin: 30px 0;
304
+ }
305
+
306
+ p.next-installment-text {
307
+ font-size: rem-calc(12px);
308
+ margin: 0;
309
+ }
310
+
311
+ footer.next-installment {
312
+ border-top: 1px solid $color-secondary-light;
313
+ margin-top: 15px;
314
+ padding-top: 15px;
315
+
316
+ p {
317
+ font-size: rem-calc(12px);
318
+ margin: 0;
319
+
320
+ a {
321
+ font-weight: bold;
322
+ }
323
+ }
324
+ }
325
+
326
+ p.payment-simulator {
327
+ font-size: rem-calc(14px);
328
+ margin: 20px 0 0;
329
+ padding: 0 20px;
330
+ }
331
+ }
332
+
333
+ ul.payments-table {
334
+ border-bottom: 1px solid $color-secondary-light;
335
+ list-style: none;
336
+ margin: 0 0 15px;
337
+ padding: 0 0 15px;
338
+
339
+ li {
340
+ margin: 0 0 10px;
341
+ padding-left: 15px;
342
+ position: relative;
343
+ @include pie-clearfix;
344
+
345
+ &:last-child {
346
+ margin: 0;
347
+ }
348
+
349
+ &::before {
350
+ content: "";
351
+ display: block;
352
+ background-color: $color-primary;
353
+ width: 5px;
354
+ height: 5px;
355
+ position: absolute;
356
+ top: 50%;
357
+ left: 0;
358
+ @include border-radius(10px);
359
+ @include transform(translateY(-50%));
360
+
361
+ }
362
+ }
363
+
364
+ &.no-decoration {
365
+ li {
366
+ padding-left: 0;
367
+
368
+ &::before {
369
+ display: none;
370
+ }
371
+ }
372
+ }
373
+ }
374
+
375
+ ul.payments-history {
376
+ list-style: none;
377
+ margin: 0;
378
+ padding: 0;
379
+
380
+ li {
381
+ display: grid;
382
+ grid-template-columns: 1fr 1fr;
383
+ grid-column-gap: 30px;
384
+ align-items: center;
385
+ border-bottom: 1px solid $color-secondary-light;
386
+ padding: 10px 0;
387
+
388
+ &:last-child {
389
+ border-bottom: none;
390
+ }
391
+
392
+ .history-box {
393
+ span {
394
+ display: block;
395
+
396
+ &.installment {
397
+ color: $color-secondary;
398
+ font-size: rem-calc(12px);
399
+ }
400
+
401
+ &.date {
402
+ font-size: rem-calc(14px);
403
+ }
404
+
405
+ &.amount {
406
+ font-size: rem-calc(14px);
407
+ font-weight: 900;
408
+ text-align: right;
409
+
410
+ &.penalty {
411
+ color: $color-alert;
412
+ font-size: rem-calc(12px);
413
+ font-weight: 400;
414
+ }
415
+ }
416
+ }
417
+
418
+ &.left {
419
+ justify-self: start;
420
+ }
421
+
422
+ &.right {
423
+ justify-self: end;
424
+ }
425
+ }
426
+ }
427
+ }
428
+
429
+ ul.statements-history {
430
+ list-style: none;
431
+ margin: 0;
432
+ padding: 0;
433
+
434
+ li {
435
+ display: grid;
436
+ grid-template-columns: 24px 1fr 1fr;
437
+ grid-column-gap: 15px;
438
+ align-items: center;
439
+ border-bottom: 1px solid $color-secondary-light;
440
+ padding: 10px 0;
441
+
442
+ &:last-child {
443
+ border-bottom: none;
444
+ }
445
+
446
+ img.icon {
447
+ display: block;
448
+ width: 100%;
449
+ }
450
+
451
+ .history-box {
452
+ span {
453
+ display: block;
454
+
455
+ &.statement {
456
+ color: $color-secondary;
457
+ font-size: rem-calc(12px);
458
+ }
459
+
460
+ &.date {
461
+ font-size: rem-calc(14px);
462
+ }
463
+
464
+ &.actions {
465
+ font-size: rem-calc(14px);
466
+ font-weight: 900;
467
+ text-align: right;
468
+ }
469
+ }
470
+
471
+ &.left {
472
+ justify-self: start;
473
+ }
474
+
475
+ &.right {
476
+ justify-self: end;
477
+ }
478
+ }
479
+ }
480
+ }
481
+
482
+ ul.documents-history {
483
+ list-style: none;
484
+ margin: 0;
485
+ padding: 0;
486
+
487
+ li {
488
+ display: grid;
489
+ grid-template-columns: 24px 1fr 1fr;
490
+ grid-column-gap: 15px;
491
+ align-items: center;
492
+ border-bottom: 1px solid $color-secondary-light;
493
+ padding: 10px 0;
494
+
495
+ &:last-child {
496
+ border-bottom: none;
497
+ }
498
+
499
+ img.icon {
500
+ display: block;
501
+ width: 100%;
502
+ }
503
+
504
+ .history-box {
505
+ span {
506
+ display: block;
507
+
508
+ &.document {
509
+ font-size: rem-calc(14px);
510
+ }
511
+
512
+ &.file-size {
513
+ color: $color-secondary;
514
+ font-size: rem-calc(12px);
515
+ }
516
+
517
+ &.actions {
518
+ font-size: rem-calc(14px);
519
+ font-weight: 900;
520
+ text-align: right;
521
+ }
522
+ }
523
+
524
+ &.left {
525
+ justify-self: start;
526
+ }
527
+
528
+ &.right {
529
+ justify-self: end;
530
+ }
531
+ }
532
+ }
533
+ }
534
+
535
+ span.payments-table-item-title {
536
+ font-size: rem-calc(12px);
537
+ font-weight: 900;
538
+ @include float(left);
539
+ }
540
+
541
+ span.payments-table-item-value {
542
+ font-size: rem-calc(12px);
543
+ @include float(right);
544
+ }
545
+
546
+ .payments-table-totals {
547
+ @include pie-clearfix;
548
+
549
+ span.item-title {
550
+ font-size: rem-calc(13px);
551
+ }
552
+
553
+ span.item-value {
554
+ font-size: rem-calc(13px);
555
+ font-weight: 900;
556
+ }
557
+
558
+ &.large {
559
+ span {
560
+ font-size: rem-calc(14px);
561
+ }
562
+ }
563
+ }
564
+
565
+ p.payment-simulation-result {
566
+ font-size: rem-calc(14px);
567
+ margin-top: 30px;
568
+ }
569
+
570
+ // Products Box Base Styles
571
+ .virtual-card-section {
572
+ padding: 50px 60px 0;
573
+ margin-bottom: 30px;
574
+ background-color: #fff;
575
+ border: 1px solid #E9EAEA;
576
+ @include box-shadow(-10px 10px 20px 0 rgba( black, 0.05));
577
+ display: grid;
578
+ grid-template-columns: 1fr 2fr;
579
+ grid-column-gap: 6rem;
580
+
581
+ .card-section {
582
+ .credit-card-container {
583
+ display: flex;
584
+ flex-flow: column-reverse nowrap;
585
+ align-items: center;
586
+
587
+ .v-card {
588
+ width: 85.60mm;
589
+ height: 52.98mm;
590
+ border-radius: 20px;
591
+ margin-bottom: 0;
592
+ -moz-box-shadow: -3px 6px 12px #4d4c4d;
593
+ -webkit-box-shadow: -3px 6px 12px #4d4c4d;
594
+ box-shadow: -3px 6px 12px #4d4c4d;
595
+ -webkit-transform-style: preserve-3d;
596
+ transform-style: preserve-3d;
597
+ transition: -webkit-transform 0.6s;
598
+ -webkit-transition: -webkit-transform 0.6s;
599
+ transition: transform 0.6s, -webkit-transform 0.6s;
600
+ cursor: pointer;
601
+
602
+ &.disabled {
603
+ cursor: not-allowed;
604
+ }
605
+
606
+ .disabled-layer {
607
+ width: 100%;
608
+ height: 102%;
609
+ position: absolute;
610
+ z-index: 2;
611
+ background-color: $default-color-hover;
612
+ opacity: 0.6;
613
+ display: flex;
614
+ justify-content: center;
615
+ align-items: center;
616
+ border-radius: 17px 17px 14px 16px;
617
+
618
+ .icon {
619
+ width: 72px;
620
+ }
621
+ }
622
+
623
+ .front {
624
+ display: flex;
625
+ flex-flow: nowrap column;
626
+ position: absolute;
627
+ width: 85.6mm;
628
+ height: 53.98mm;
629
+ -webkit-backface-visibility: hidden;
630
+ backface-visibility: hidden;
631
+ -webkit-font-smoothing: antialiased;
632
+ background-size: contain;
633
+ padding: 10px;
634
+
635
+ .credit-card-data {
636
+ color: #CBCECE;
637
+ height: 100%;
638
+ display: flex;
639
+ align-items: flex-end;
640
+
641
+ .person-data {
642
+ margin: 0 28px;
643
+ .name {
644
+ font-weight: 600;
645
+ font-size: rem-calc(10px);
646
+ font-family: 'Montserrat', serif;
647
+ }
648
+ }
649
+ }
650
+ }
651
+
652
+ .back {
653
+ position: absolute;
654
+ width: 85.6mm;
655
+ height: 53.98mm;
656
+ -webkit-backface-visibility: hidden;
657
+ backface-visibility: hidden;
658
+ -webkit-font-smoothing: antialiased;
659
+ background-size: contain;
660
+ -webkit-transform: rotateY(180deg);
661
+ transform: rotateY(180deg);
662
+ padding: 10px;
663
+
664
+ .white-space {
665
+ height: 30%;
666
+ }
667
+
668
+ .card-data-back {
669
+ color: #CBCECE;
670
+ position: relative;
671
+ height: 70%;
672
+ font-family: 'Karla', serif;
673
+
674
+ .pan {
675
+ letter-spacing: 1px;
676
+ font-size: rem-calc(15px);
677
+ text-align: center;
678
+ font-weight: 600;
679
+ height: 70%;
680
+ display: flex;
681
+ align-items: flex-end;
682
+ justify-content: center;
683
+ }
684
+
685
+ .security-data {
686
+ display: flex;
687
+ flex-flow: row nowrap;
688
+ height: 30%;
689
+ justify-content: flex-end;
690
+ align-items: flex-end;
691
+ margin-right: 17%;
692
+
693
+ .title {
694
+ letter-spacing: 0.5px;
695
+ font-size: 10px;
696
+ }
697
+
698
+ .data {
699
+ font-size: rem-calc(12px);
700
+ }
701
+
702
+ .exp-date-wrapper {
703
+ margin-right: 10px;
704
+ }
705
+ }
706
+ }
707
+ }
708
+
709
+
710
+ &.flipped {
711
+ -webkit-transform: rotateY(180deg);
712
+ transform: rotateY(180deg);
713
+ box-shadow: 9px 9px 12px #4d4c4d;
714
+ }
715
+ }
716
+
717
+ .cta-secction {
718
+ margin: 0 0 10px;
719
+ display: flex;
720
+
721
+ .button {
722
+ margin: 0 10px;
723
+ }
724
+
725
+ .view-card-information {
726
+ font-size: rem-calc(12px);
727
+ font-weight: 900;
728
+ cursor: pointer;
729
+ color: $color-primary;
730
+ }
731
+
732
+ .status-container {
733
+ width: fit-content;
734
+ animation: heartbeat 1s 6;
735
+
736
+ .card-status-details {
737
+ font-size: rem-calc(12px);
738
+ font-weight: bold;
739
+ }
740
+ }
741
+
742
+ .count-down-hide-data {
743
+ font-size: rem-calc(12px);
744
+ }
745
+ }
746
+ }
747
+
748
+ .credit-card-footer-message {
749
+ display: flex;
750
+ justify-content: center;
751
+ p {
752
+ margin-top: 15px;
753
+ font-size: rem-calc(12px);
754
+ }
755
+ }
756
+ }
757
+
758
+ .summary-section {
759
+ display: flex;
760
+ flex-direction: column;
761
+
762
+ .tab {
763
+ .accordion-control {
764
+ display: none;
765
+ }
766
+
767
+ .accordion-label {
768
+ display: none;
769
+ }
770
+ }
771
+
772
+ .credit-card-summary {
773
+ display: flex;
774
+ justify-content: space-around;
775
+ flex-flow: row wrap;
776
+
777
+ .section-separator {
778
+ border-right: 1px solid #afb3c07d;
779
+ }
780
+
781
+ .separator-line {
782
+ border-bottom: 1px solid #afb3c07d;
783
+ margin: 15px 0px;
784
+ width: 100%;
785
+ }
786
+
787
+ .title {
788
+ color: $color-secondary;
789
+ font-size: rem-calc(12px);
790
+ margin-bottom: 0;
791
+ }
792
+
793
+ section.main-summary {
794
+ .description {
795
+ font-size: rem-calc(14px);
796
+ font-weight: 900;
797
+ }
798
+ }
799
+
800
+ section.summary-cta {
801
+ margin-top: 20px;
802
+ font-size: 14px !important;
803
+ }
804
+
805
+ section.secondary-summary {
806
+ .description {
807
+ font-size: rem-calc(12px);
808
+ font-weight: 900;
809
+ }
810
+ }
811
+ }
812
+
813
+ .summary-footer {
814
+ display: flex;
815
+ align-items: center;
816
+ height: 100%;
817
+ justify-content: space-around;
818
+
819
+ .toggle-button-with-label {
820
+ .onoffswitch {
821
+ margin-left: 10px;
822
+ }
823
+ }
824
+ }
825
+ }
826
+
827
+ @include responsive-max($breakpoint-xlarge) {
828
+ padding: 0;
829
+ grid-template-columns: 1fr;
830
+
831
+ .card-section {
832
+ .credit-card-container {
833
+ .v-card {
834
+ display: flex;
835
+ justify-content: center;
836
+ width: auto;
837
+ height: 40.98mm;
838
+
839
+ .disabled-layer {
840
+ width: 65.6mm;
841
+ height: 40.98mm;
842
+ border-radius: 10px;
843
+ .icon {
844
+ width: 48px;
845
+ }
846
+ }
847
+
848
+ .front {
849
+ width: 65.6mm;
850
+ height: 40.98mm;
851
+
852
+ .credit-card-data {
853
+ .person-data {
854
+ margin: 0 10px;
855
+ font-size: rem-calc(14px);
856
+ }
857
+ }
858
+ }
859
+
860
+ .back {
861
+ width: 65.6mm;
862
+ height: 40.98mm;
863
+ }
864
+ }
865
+
866
+ .cta-secction {
867
+ margin: 20px 0 10px;
868
+
869
+ .button {
870
+ font-size: rem-calc(12px);
871
+ }
872
+ }
873
+ }
874
+
875
+ .credit-card-footer-message {
876
+ display: flex;
877
+ justify-content: center;
878
+
879
+ p {
880
+ margin-left: unset;
881
+ }
882
+ }
883
+ }
884
+
885
+ .summary-section {
886
+ /* Accordion styles */
887
+ .tab {
888
+ .accordion-label {
889
+ cursor: pointer;
890
+ display: block;
891
+ }
892
+
893
+ .accordion_container {
894
+ &:first-of-type {
895
+ border-top-left-radius: 20px;
896
+ border-top-right-radius: 20px;
897
+ }
898
+
899
+ &:last-of-type {
900
+ border-bottom-left-radius: 20px;
901
+ border-bottom-right-radius: 20px;
902
+ border-bottom: none;
903
+ }
904
+ }
905
+
906
+ .accordion-content {
907
+ /* Height animation:
908
+ only really works well if the height is close to content - too high and the animation still goes to the max-height number, messing up the timing
909
+ For widely variable height content, best not to animate. Switch display attribute instead */
910
+ max-height: 0;
911
+ overflow: hidden;
912
+ transition: max-height 0.2s;
913
+ background-size: 260px;
914
+ background-repeat: no-repeat;
915
+ background-position: center;
916
+ }
917
+
918
+ .accordion-control {
919
+ display: none;
920
+
921
+ + label {
922
+ position: relative;
923
+ height: 40px;
924
+ margin: 0 15px 0 24px;
925
+ display: block;
926
+ font-family: arial;
927
+ font-size: 1em;
928
+ line-height: 1em;
929
+ z-index: 0;
930
+
931
+ &:before,
932
+ &:after {
933
+ content: '';
934
+ position: absolute;
935
+ }
936
+
937
+ &:before {
938
+ content: attr(data-label-closed);
939
+ display: contents;
940
+ }
941
+
942
+ &::after {
943
+ right: 0;
944
+ content: "❯";
945
+ margin-right: 8px;
946
+ height: 1em;
947
+ text-align: center;
948
+ transition: all 0.35s;
949
+ }
950
+ }
951
+
952
+ &:checked {
953
+ + label {
954
+ cursor: pointer;
955
+
956
+ &:before {
957
+ content: attr(data-label-open);
958
+ }
959
+
960
+ &:after {
961
+ transform: rotate(90deg);
962
+ }
963
+
964
+ + .accordion-content {
965
+ max-height: 450px;
966
+ }
967
+ }
968
+ }
969
+
970
+ &[type="radio"] {
971
+ + label {
972
+ &:before,
973
+ &:after {
974
+ content: '';
975
+ }
976
+ }
977
+
978
+ &:checked {
979
+ + label {
980
+ cursor: default;
981
+
982
+ &:before {
983
+ border-left-color: #999;
984
+ }
985
+ }
986
+ }
987
+ }
988
+ }
989
+ }
990
+
991
+ .credit-card-summary {
992
+ flex-flow: column nowrap;
993
+ padding: 0 20px;
994
+
995
+ .summary-sections {
996
+ display: flex;
997
+ justify-content: space-between;
998
+ }
999
+
1000
+ .summary-cta {
1001
+ display: flex;
1002
+ justify-content: flex-end;
1003
+ }
1004
+
1005
+ .separator-line {
1006
+ margin: 0;
1007
+ width: 0;
1008
+ }
1009
+
1010
+ .section-separator {
1011
+ border-right: unset;
1012
+ border-bottom: 1px solid #afb3c07d;
1013
+ margin: 15px 0;
1014
+ }
1015
+ }
1016
+
1017
+ .summary-footer {
1018
+ justify-content: flex-end;
1019
+ flex-wrap: wrap;
1020
+ gap: 10px;
1021
+ margin: 20px 20px;
1022
+
1023
+ .toggle-button-with-label {
1024
+ padding-top: unset;
1025
+ }
1026
+ }
1027
+ }
1028
+ }
1029
+
1030
+ @include responsive-max($breakpoint-medium) {
1031
+ .summary-section {
1032
+ .summary-footer {
1033
+ align-items: flex-end;
1034
+ gap: 18px;
1035
+ flex-direction: column;
1036
+ }
1037
+ }
1038
+ }
1039
+ }