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,723 +1,723 @@
1
- /*#############################################################################
2
- # HEADER
3
- #############################################################################*/
4
-
5
- header.app-header {
6
- border-bottom: 1px solid #E9EAEA;
7
- display: grid;
8
- grid-template-columns: 180px 1fr minmax(180px, auto);
9
- grid-template-rows: 50px;
10
-
11
- .progress-bar & {
12
- grid-template-rows: 50px 10px;
13
- }
14
-
15
- h1.sempli-logo {
16
- grid-column: 1;
17
- grid-row: 1;
18
- width: 130px;
19
- margin: 0;
20
- border-right: 1px solid #E9EAEA;
21
-
22
- a {
23
- display: block;
24
- background: url("^assets/swl/interface/sempli-logo.svg") no-repeat 50% 50%;
25
- background-size: 87px 22px;
26
- height: 0;
27
- width: 130px;
28
- padding-top: 50px;
29
- margin: 0;
30
- overflow: hidden;
31
- }
32
- }
33
-
34
- .header-step-title {
35
- grid-column: 2;
36
- grid-row: 1;
37
- height: 50px;
38
- padding: 0 20px 0 32px;
39
- @include pie-clearfix;
40
-
41
- > * {
42
- height: 50px;
43
- line-height: 50px;
44
- margin: 0;
45
- @include float(left);
46
- }
47
-
48
- h2.header-block-name {
49
- color: #434448;
50
- font-size: 18px;
51
- font-weight: 400;
52
- }
53
-
54
- h3.header-step-name {
55
- color: #AFB3C0;
56
- font-size: 16px;
57
- font-weight: 400;
58
- margin-left: 15px;
59
- padding-left: 20px;
60
- position: relative;
61
-
62
- &::before {
63
- content: "";
64
- display: block;
65
- background-color: #AFB3C0;
66
- width: 5px;
67
- height: 5px;
68
- position: absolute;
69
- top: 50%;
70
- left: 0;
71
- @include border-radius(100%);
72
- @include transform(translateY(-50%));
73
- }
74
- }
75
- }
76
-
77
- .header-save-progress {
78
- grid-column: 3;
79
- grid-row: 1;
80
- height: 50px;
81
- padding: 0 20px;
82
-
83
- a.save-progress {
84
- display: block;
85
- height: 50px;
86
- line-height: 50px;
87
- margin: 0;
88
- position: relative;
89
-
90
- span.tooltip {
91
- display: none;
92
- background: $color-primary;
93
- color: #fff;
94
- font-size: rem-calc(14px);
95
- line-height: 20px;
96
- width: 320px;
97
- padding: 10px 20px;
98
- position: absolute;
99
- right: 0;
100
- z-index: 1;
101
- @include border-radius(6px);
102
- @include transform(translateY(-10px));
103
- @include box-shadow(-2px 4px 10px 0 rgba(black, 0.1));
104
-
105
- &::before {
106
- content: "";
107
- display: block;
108
- width: 0;
109
- height: 0;
110
- border-style: solid;
111
- border-width: 0 10px 10px 10px;
112
- border-color: transparent transparent $color-primary transparent;
113
- position: absolute;
114
- top: 0;
115
- right: 60px;
116
- @include transform(translateY(-100%));
117
- }
118
- }
119
-
120
- &:hover,
121
- &.tooltip-active {
122
- span.tooltip {
123
- display: block;
124
- }
125
- }
126
- }
127
- }
128
-
129
- .header-nav {
130
- grid-column: 2;
131
- grid-row: 1;
132
- height: 50px;
133
- display: flex;
134
- flex-direction: row;
135
- flex-wrap: nowrap;
136
- justify-content: center;
137
-
138
- @include responsive-max($breakpoint-medium) {
139
- display: none;
140
- }
141
-
142
- a.nav-link {
143
- display: block;
144
- color: $color-secondary;
145
- font-weight: 900;
146
- height: 50px;
147
- line-height: 50px;
148
- margin-right: 35px;
149
-
150
- &:last-child {
151
- margin-right: 0;
152
- }
153
-
154
- &:hover {
155
- color: $color-text;
156
- }
157
-
158
- // Active State
159
- &.active {
160
- color: $color-text;
161
- border-bottom: 2px solid $color-text;
162
- }
163
- }
164
-
165
- > div {
166
- margin-right: 30px;
167
- position: relative;
168
- @include float(left);
169
-
170
- &:last-child {
171
- margin-right: 0;
172
- }
173
-
174
- // Dropdown Container
175
- ul.dropdown-container {
176
- background: #fff;
177
- list-style: none;
178
- margin: 0;
179
- padding: 0;
180
- padding: 15px 25px;
181
- visibility: hidden;
182
- opacity: 0;
183
- z-index: 1;
184
- position: absolute;
185
- top: 0;
186
- left: 0;
187
- @include border-radius(5px);
188
- @include box-shadow(
189
- 2px 2px 25px 0 rgba(black, 0.1),
190
- 0 0 0 1px rgba(black,0.015)
191
- );
192
- @include transform(translate(0, 50px));
193
- @include transition(
194
- opacity 0.3s cubic-bezier(.7, 0, .175, 1) 0s,
195
- transform 0.3s cubic-bezier(.7, 0, .175, 1) 0s
196
- );
197
-
198
- &::after {
199
- content: "";
200
- display: block;
201
- border-style: solid;
202
- border-width: 0 8px 8px 8px;
203
- border-color: transparent transparent #ffffff transparent;
204
- width: 0;
205
- height: 0;
206
- position: absolute;
207
- top: 0;
208
- left: 20px;
209
- z-index: 2;
210
- @include transform(translateY(-100%));
211
- }
212
-
213
- &::before {
214
- content: "";
215
- display: block;
216
- border-style: solid;
217
- border-width: 0 9px 9px 9px;
218
- border-color: transparent transparent rgba(black,0.025) transparent;
219
- width: 0;
220
- height: 0;
221
- position: absolute;
222
- top: 0;
223
- left: 19px;
224
- z-index: 1;
225
- @include transform(translateY(-100%));
226
- }
227
-
228
- li {
229
- line-height: 30px;
230
- margin-bottom: 10px;
231
-
232
- &:last-child {
233
- margin-bottom: 0;
234
- }
235
-
236
- // LINK ITEM WITH ICON
237
- a.link-item {
238
- &.with-icon {
239
- display: grid;
240
- grid-template-columns: 40px 1fr;
241
- grid-template-rows: 20px 1fr;
242
- grid-column-gap: 20px;
243
- grid-row-gap: 5px;
244
- height: auto;
245
- padding: 15px;
246
- line-height: initial;
247
- white-space: normal;
248
- @include border-radius(5px);
249
-
250
- img.link-item-icon,
251
- picture.link-item-icon {
252
- grid-column: 1;
253
- grid-row: 1 / 3;
254
- align-self: center;
255
- display: block;
256
- width: 40px;
257
- }
258
-
259
- span.link-item-label {
260
- grid-column: 2;
261
- grid-row: 1;
262
- color: $color-text;
263
- font-weight: 900;
264
- }
265
-
266
- span.link-item-description {
267
- grid-column: 2;
268
- grid-row: 2;
269
- font-size: rem-calc(14px);
270
- }
271
-
272
- &.active {
273
- background: $default-color-hover;
274
- }
275
-
276
- &:hover {
277
- background: $default-color-hover;
278
- }
279
- }
280
- }
281
-
282
- // Coming Soon / Disabled
283
- &.disabled {
284
- a.link-item {
285
- &.with-icon {
286
- img.link-item-icon {
287
- opacity: 0.5;
288
- @include filter(grayscale(100%));
289
- }
290
-
291
- span.link-item-label {
292
- color: $color-secondary;
293
- }
294
-
295
- span.link-item-description {
296
- color: $color-secondary;
297
- }
298
- }
299
- }
300
- }
301
- }
302
-
303
- // Dropdown Specific
304
- &.products {
305
- width: 480px;
306
-
307
- & > li {
308
- // margin-bottom: 25px;
309
-
310
- &:last-child {
311
- margin: 0;
312
- }
313
- }
314
- }
315
- }
316
-
317
- // With Dropdown State
318
- &.with-dropdown {
319
- &:hover {
320
- ul.dropdown-container {
321
- visibility: visible;
322
- opacity: 1;
323
- z-index: 2;
324
- @include transform(translate(0, 55px));
325
- }
326
- }
327
-
328
- > .nav-link {
329
- padding-right: 15px;
330
- margin-right: 0 !important;
331
- &::after {
332
- content: "";
333
- display: block;
334
- width: 0;
335
- height: 0;
336
- border-style: solid;
337
- border-width: 5px 4px 0 4px;
338
- border-color: $color-secondary-dark transparent transparent transparent;
339
- position: absolute;
340
- top: 50%;
341
- right: 0;
342
- @include transform(translateY(-50%));
343
- }
344
-
345
- &:hover {
346
- &::after {
347
- border-width: 0 4px 5px 4px;
348
- border-color: transparent transparent $color-text transparent;
349
- }
350
- }
351
- }
352
- }
353
- }
354
- }
355
-
356
- a.link-item {
357
- display: block;
358
- color: $color-secondary-dark;
359
- font-weight: 400;
360
- line-height: 40px;
361
- height: 40px;
362
- white-space: nowrap;
363
-
364
- &:hover {
365
- color: $color-text;
366
- }
367
- }
368
-
369
-
370
- .mobile-nav {
371
- grid-column: 2;
372
- grid-row: 1;
373
- height: 50px;
374
- display: flex;
375
- flex-direction: row;
376
- flex-wrap: nowrap;
377
- justify-content: center;
378
- nav {
379
- display: flex;
380
- justify-content: center;
381
- align-items: center;
382
- flex-direction: column;
383
- }
384
-
385
- a.nav-link, .nav-title {
386
- display: flex;
387
- justify-content: center;
388
- color: $color-secondary;
389
- font-size: 25px;
390
- font-weight: 900;
391
- height: 50px;
392
- line-height: 50px;
393
-
394
- // Active State
395
- &.active {
396
- color: $color-text;
397
- border-bottom: none;
398
- }
399
- }
400
- }
401
-
402
- .mobile-nav, .header-nav {
403
- ul.links-group , .dropdown-container {
404
- li {
405
- a.link-item {
406
- span.coming-soon {
407
- background-color: $color-primary;
408
- color: #ffffff;
409
- font-size: rem-calc(10px);
410
- font-weight: 900;
411
- text-transform: uppercase;
412
- letter-spacing: 1px;
413
- margin-left: 3px;
414
- padding: 3px 8px;
415
- @include border-radius(3px);
416
- }
417
- }
418
-
419
- // Coming Soon / Disabled
420
- &.disabled {
421
- a.link-item {
422
- span.coming-soon {
423
- background-color: #00C8E1;
424
- }
425
-
426
- &:hover {
427
- background: transparent;
428
- cursor: no-drop;
429
- }
430
- }
431
- }
432
- }
433
- }
434
- }
435
-
436
- .header-sign-in-button {
437
- grid-column: 3;
438
- grid-row: 1;
439
- display: flex;
440
- align-items: center;
441
- justify-content: center;
442
- padding: 0 20px;
443
- height: 100%;
444
- gap: 25px;
445
- margin-right: 10px;
446
-
447
- .button {
448
- margin: 0;
449
- }
450
-
451
- @include responsive-max($breakpoint-medium) {
452
- display: none;
453
- }
454
- }
455
-
456
- .header-account {
457
- grid-column: 3;
458
- grid-row: 1;
459
- display: flex;
460
- align-items: center;
461
- justify-content: flex-end;
462
- height: 50px;
463
- padding: 0 20px;
464
- grid-gap: 20px;
465
-
466
- .option-separator {
467
- border-right: 1px solid #E9EAEA;
468
- height: 50%;
469
- }
470
-
471
- .profile {
472
- &:hover {
473
- .profile-photo {
474
- content:url("^assets/swl/interface/icons/profile-user-active-icon.svg");
475
- }
476
- }
477
-
478
- &.active {
479
- .profile-photo {
480
- content:url("^assets/swl/interface/icons/profile-user-active-icon.svg");
481
- }
482
- }
483
- }
484
-
485
-
486
- @include responsive-max($breakpoint-medium) {
487
- display: none;
488
- }
489
-
490
- img.profile-photo {
491
- display: block;
492
- width: 34px;
493
- height: 34px;
494
- @include border-radius(100%);
495
- }
496
- }
497
-
498
- .progress-bar {
499
- grid-column: 1/4;
500
- grid-row: 2;
501
- border: none;
502
- border-top: 1px solid #E9EAEA;
503
- height: 10px;
504
- margin: 0;
505
- @include border-radius(0);
506
-
507
- .progress {
508
- height: 9px;
509
- @include border-radius(0);
510
- @include border-right-radius(4.5px);
511
- }
512
- }
513
-
514
- @include responsive($breakpoint-medium) {
515
- grid-template-rows: 70px;
516
-
517
- .progress-bar & {
518
- grid-template-rows: 70px 10px;
519
- }
520
-
521
- h1.sempli-logo {
522
- width: 180px;
523
-
524
- a {
525
- background-size: 119px 30px;
526
- width: 180px;
527
- padding-top: 70px;
528
- }
529
- }
530
-
531
- .header-step-title {
532
- height: 70px;
533
-
534
- > * {
535
- height: 70px;
536
- line-height: 70px;
537
- }
538
- }
539
-
540
- .header-save-progress {
541
- height: 70px;
542
-
543
- a.save-progress {
544
- height: 70px;
545
- line-height: 70px;
546
- }
547
- }
548
-
549
- .header-nav {
550
- height: 70px;
551
-
552
- a.nav-link {
553
- height: 70px;
554
- line-height: 70px;
555
- }
556
- }
557
-
558
- .header-account {
559
- height: 70px;
560
- }
561
- }
562
-
563
- @include responsive-max($breakpoint-small) {
564
- .header-step-title {
565
- display: none;
566
- }
567
- }
568
-
569
- @include responsive-max($breakpoint-medium) {
570
- grid-template-columns: auto;
571
- }
572
-
573
- // Payment Header
574
- &.payment, &.empty-header {
575
- grid-template-columns: 1fr;
576
-
577
- h1.sempli-logo {
578
- border-right: none;
579
- margin: 0 auto;
580
- }
581
- }
582
-
583
- // Mobile Navigation
584
- .mobile-nav {
585
- @include responsive($breakpoint-medium) {
586
- display: none;
587
- }
588
- }
589
-
590
- // Mobile Navigation
591
- .mobile-nav {
592
- @include responsive($breakpoint-medium) {
593
- display: none;
594
- }
595
- }
596
-
597
- input#burger {
598
- opacity: 0;
599
- }
600
-
601
- input#burger + label {
602
- position: absolute;
603
- top: 16px;
604
- right: 20px;
605
- height: 20px;
606
- width: 15px;
607
- z-index: 1002;
608
-
609
- span {
610
- position: absolute;
611
- width: 100%;
612
- height: 2px;
613
- top: 50%;
614
- margin-top: -1px;
615
- left: 0;
616
- display: block;
617
- background: $color-secondary;
618
- transition: 0.5s;
619
- @include border-radius(2px);
620
-
621
- &:nth-child(2) {
622
- @include transform(translateY(-50%));
623
- }
624
-
625
- &:first-child {
626
- top: 3px;
627
- }
628
-
629
- &:last-child {
630
- top: 15px;
631
- }
632
- }
633
- }
634
-
635
- label:hover {
636
- cursor: pointer;
637
- }
638
-
639
- input#burger:checked + label {
640
- span {
641
- opacity: 0;
642
- top: 50%;
643
- }
644
- span:first-child {
645
- opacity: 1;
646
- transform: rotate(405deg);
647
- }
648
- span:last-child {
649
- opacity: 1;
650
- transform: rotate(-405deg);
651
- }
652
- }
653
-
654
- input#burger ~ nav {
655
- background: white;
656
- width: 100%;
657
- height: 50px;
658
- transition: 0.5s;
659
- transition-delay: 0.5s;
660
- overflow: hidden;
661
- opacity: 0;
662
- position: fixed;
663
- top: 0;
664
- left: 0;
665
- right: 0;
666
- z-index: 1001;
667
-
668
- .links-group-wrapper {
669
- margin-top: 15px;
670
- &:last-child {
671
- border: none;
672
- padding-bottom: 0;
673
- }
674
- }
675
-
676
- .nav-title {
677
- text-align: center;
678
- opacity: 0;
679
- transition: 0.5s;
680
- transition-delay: 0s;
681
- margin: 0 0 10px;
682
- }
683
-
684
- ul {
685
- text-align: center;
686
- list-style: none;
687
- margin: 0;
688
- padding: 0;
689
-
690
- > li {
691
- opacity: 0;
692
- transition: 0.5s;
693
- transition-delay: 0s;
694
-
695
- a.button {
696
- display: block;
697
- margin: 10px 20px 0;
698
- }
699
-
700
- a.link-item {
701
- line-height: 30px;
702
- height: 30px;
703
- }
704
- }
705
- }
706
- }
707
-
708
- input#burger:checked ~ nav {
709
- height: 100%;
710
- opacity: 1;
711
- transition-delay: 0s;
712
- .nav-title {
713
- opacity: 1;
714
- transition-delay: 0.5s;
715
- }
716
- ul {
717
- > li {
718
- opacity: 1;
719
- transition-delay: 0.75s;
720
- }
721
- }
722
- }
723
- }
1
+ /*#############################################################################
2
+ # HEADER
3
+ #############################################################################*/
4
+
5
+ header.app-header {
6
+ border-bottom: 1px solid #E9EAEA;
7
+ display: grid;
8
+ grid-template-columns: 180px 1fr minmax(180px, auto);
9
+ grid-template-rows: 50px;
10
+
11
+ .progress-bar & {
12
+ grid-template-rows: 50px 10px;
13
+ }
14
+
15
+ h1.sempli-logo {
16
+ grid-column: 1;
17
+ grid-row: 1;
18
+ width: 130px;
19
+ margin: 0;
20
+ border-right: 1px solid #E9EAEA;
21
+
22
+ a {
23
+ display: block;
24
+ background: url("^assets/swl/interface/sempli-logo.svg") no-repeat 50% 50%;
25
+ background-size: 87px 22px;
26
+ height: 0;
27
+ width: 130px;
28
+ padding-top: 50px;
29
+ margin: 0;
30
+ overflow: hidden;
31
+ }
32
+ }
33
+
34
+ .header-step-title {
35
+ grid-column: 2;
36
+ grid-row: 1;
37
+ height: 50px;
38
+ padding: 0 20px 0 32px;
39
+ @include pie-clearfix;
40
+
41
+ > * {
42
+ height: 50px;
43
+ line-height: 50px;
44
+ margin: 0;
45
+ @include float(left);
46
+ }
47
+
48
+ h2.header-block-name {
49
+ color: #434448;
50
+ font-size: 18px;
51
+ font-weight: 400;
52
+ }
53
+
54
+ h3.header-step-name {
55
+ color: #AFB3C0;
56
+ font-size: 16px;
57
+ font-weight: 400;
58
+ margin-left: 15px;
59
+ padding-left: 20px;
60
+ position: relative;
61
+
62
+ &::before {
63
+ content: "";
64
+ display: block;
65
+ background-color: #AFB3C0;
66
+ width: 5px;
67
+ height: 5px;
68
+ position: absolute;
69
+ top: 50%;
70
+ left: 0;
71
+ @include border-radius(100%);
72
+ @include transform(translateY(-50%));
73
+ }
74
+ }
75
+ }
76
+
77
+ .header-save-progress {
78
+ grid-column: 3;
79
+ grid-row: 1;
80
+ height: 50px;
81
+ padding: 0 20px;
82
+
83
+ a.save-progress {
84
+ display: block;
85
+ height: 50px;
86
+ line-height: 50px;
87
+ margin: 0;
88
+ position: relative;
89
+
90
+ span.tooltip {
91
+ display: none;
92
+ background: $color-primary;
93
+ color: #fff;
94
+ font-size: rem-calc(14px);
95
+ line-height: 20px;
96
+ width: 320px;
97
+ padding: 10px 20px;
98
+ position: absolute;
99
+ right: 0;
100
+ z-index: 1;
101
+ @include border-radius(6px);
102
+ @include transform(translateY(-10px));
103
+ @include box-shadow(-2px 4px 10px 0 rgba(black, 0.1));
104
+
105
+ &::before {
106
+ content: "";
107
+ display: block;
108
+ width: 0;
109
+ height: 0;
110
+ border-style: solid;
111
+ border-width: 0 10px 10px 10px;
112
+ border-color: transparent transparent $color-primary transparent;
113
+ position: absolute;
114
+ top: 0;
115
+ right: 60px;
116
+ @include transform(translateY(-100%));
117
+ }
118
+ }
119
+
120
+ &:hover,
121
+ &.tooltip-active {
122
+ span.tooltip {
123
+ display: block;
124
+ }
125
+ }
126
+ }
127
+ }
128
+
129
+ .header-nav {
130
+ grid-column: 2;
131
+ grid-row: 1;
132
+ height: 50px;
133
+ display: flex;
134
+ flex-direction: row;
135
+ flex-wrap: nowrap;
136
+ justify-content: center;
137
+
138
+ @include responsive-max($breakpoint-medium) {
139
+ display: none;
140
+ }
141
+
142
+ a.nav-link {
143
+ display: block;
144
+ color: $color-secondary;
145
+ font-weight: 900;
146
+ height: 50px;
147
+ line-height: 50px;
148
+ margin-right: 35px;
149
+
150
+ &:last-child {
151
+ margin-right: 0;
152
+ }
153
+
154
+ &:hover {
155
+ color: $color-text;
156
+ }
157
+
158
+ // Active State
159
+ &.active {
160
+ color: $color-text;
161
+ border-bottom: 2px solid $color-text;
162
+ }
163
+ }
164
+
165
+ > div {
166
+ margin-right: 30px;
167
+ position: relative;
168
+ @include float(left);
169
+
170
+ &:last-child {
171
+ margin-right: 0;
172
+ }
173
+
174
+ // Dropdown Container
175
+ ul.dropdown-container {
176
+ background: #fff;
177
+ list-style: none;
178
+ margin: 0;
179
+ padding: 0;
180
+ padding: 15px 25px;
181
+ visibility: hidden;
182
+ opacity: 0;
183
+ z-index: 1;
184
+ position: absolute;
185
+ top: 0;
186
+ left: 0;
187
+ @include border-radius(5px);
188
+ @include box-shadow(
189
+ 2px 2px 25px 0 rgba(black, 0.1),
190
+ 0 0 0 1px rgba(black,0.015)
191
+ );
192
+ @include transform(translate(0, 50px));
193
+ @include transition(
194
+ opacity 0.3s cubic-bezier(.7, 0, .175, 1) 0s,
195
+ transform 0.3s cubic-bezier(.7, 0, .175, 1) 0s
196
+ );
197
+
198
+ &::after {
199
+ content: "";
200
+ display: block;
201
+ border-style: solid;
202
+ border-width: 0 8px 8px 8px;
203
+ border-color: transparent transparent #ffffff transparent;
204
+ width: 0;
205
+ height: 0;
206
+ position: absolute;
207
+ top: 0;
208
+ left: 20px;
209
+ z-index: 2;
210
+ @include transform(translateY(-100%));
211
+ }
212
+
213
+ &::before {
214
+ content: "";
215
+ display: block;
216
+ border-style: solid;
217
+ border-width: 0 9px 9px 9px;
218
+ border-color: transparent transparent rgba(black,0.025) transparent;
219
+ width: 0;
220
+ height: 0;
221
+ position: absolute;
222
+ top: 0;
223
+ left: 19px;
224
+ z-index: 1;
225
+ @include transform(translateY(-100%));
226
+ }
227
+
228
+ li {
229
+ line-height: 30px;
230
+ margin-bottom: 10px;
231
+
232
+ &:last-child {
233
+ margin-bottom: 0;
234
+ }
235
+
236
+ // LINK ITEM WITH ICON
237
+ a.link-item {
238
+ &.with-icon {
239
+ display: grid;
240
+ grid-template-columns: 40px 1fr;
241
+ grid-template-rows: 20px 1fr;
242
+ grid-column-gap: 20px;
243
+ grid-row-gap: 5px;
244
+ height: auto;
245
+ padding: 15px;
246
+ line-height: initial;
247
+ white-space: normal;
248
+ @include border-radius(5px);
249
+
250
+ img.link-item-icon,
251
+ picture.link-item-icon {
252
+ grid-column: 1;
253
+ grid-row: 1 / 3;
254
+ align-self: center;
255
+ display: block;
256
+ width: 40px;
257
+ }
258
+
259
+ span.link-item-label {
260
+ grid-column: 2;
261
+ grid-row: 1;
262
+ color: $color-text;
263
+ font-weight: 900;
264
+ }
265
+
266
+ span.link-item-description {
267
+ grid-column: 2;
268
+ grid-row: 2;
269
+ font-size: rem-calc(14px);
270
+ }
271
+
272
+ &.active {
273
+ background: $default-color-hover;
274
+ }
275
+
276
+ &:hover {
277
+ background: $default-color-hover;
278
+ }
279
+ }
280
+ }
281
+
282
+ // Coming Soon / Disabled
283
+ &.disabled {
284
+ a.link-item {
285
+ &.with-icon {
286
+ img.link-item-icon {
287
+ opacity: 0.5;
288
+ @include filter(grayscale(100%));
289
+ }
290
+
291
+ span.link-item-label {
292
+ color: $color-secondary;
293
+ }
294
+
295
+ span.link-item-description {
296
+ color: $color-secondary;
297
+ }
298
+ }
299
+ }
300
+ }
301
+ }
302
+
303
+ // Dropdown Specific
304
+ &.products {
305
+ width: 480px;
306
+
307
+ & > li {
308
+ // margin-bottom: 25px;
309
+
310
+ &:last-child {
311
+ margin: 0;
312
+ }
313
+ }
314
+ }
315
+ }
316
+
317
+ // With Dropdown State
318
+ &.with-dropdown {
319
+ &:hover {
320
+ ul.dropdown-container {
321
+ visibility: visible;
322
+ opacity: 1;
323
+ z-index: 2;
324
+ @include transform(translate(0, 55px));
325
+ }
326
+ }
327
+
328
+ > .nav-link {
329
+ padding-right: 15px;
330
+ margin-right: 0 !important;
331
+ &::after {
332
+ content: "";
333
+ display: block;
334
+ width: 0;
335
+ height: 0;
336
+ border-style: solid;
337
+ border-width: 5px 4px 0 4px;
338
+ border-color: $color-secondary-dark transparent transparent transparent;
339
+ position: absolute;
340
+ top: 50%;
341
+ right: 0;
342
+ @include transform(translateY(-50%));
343
+ }
344
+
345
+ &:hover {
346
+ &::after {
347
+ border-width: 0 4px 5px 4px;
348
+ border-color: transparent transparent $color-text transparent;
349
+ }
350
+ }
351
+ }
352
+ }
353
+ }
354
+ }
355
+
356
+ a.link-item {
357
+ display: block;
358
+ color: $color-secondary-dark;
359
+ font-weight: 400;
360
+ line-height: 40px;
361
+ height: 40px;
362
+ white-space: nowrap;
363
+
364
+ &:hover {
365
+ color: $color-text;
366
+ }
367
+ }
368
+
369
+
370
+ .mobile-nav {
371
+ grid-column: 2;
372
+ grid-row: 1;
373
+ height: 50px;
374
+ display: flex;
375
+ flex-direction: row;
376
+ flex-wrap: nowrap;
377
+ justify-content: center;
378
+ nav {
379
+ display: flex;
380
+ justify-content: center;
381
+ align-items: center;
382
+ flex-direction: column;
383
+ }
384
+
385
+ a.nav-link, .nav-title {
386
+ display: flex;
387
+ justify-content: center;
388
+ color: $color-secondary;
389
+ font-size: 25px;
390
+ font-weight: 900;
391
+ height: 50px;
392
+ line-height: 50px;
393
+
394
+ // Active State
395
+ &.active {
396
+ color: $color-text;
397
+ border-bottom: none;
398
+ }
399
+ }
400
+ }
401
+
402
+ .mobile-nav, .header-nav {
403
+ ul.links-group , .dropdown-container {
404
+ li {
405
+ a.link-item {
406
+ span.coming-soon {
407
+ background-color: $color-primary;
408
+ color: #ffffff;
409
+ font-size: rem-calc(10px);
410
+ font-weight: 900;
411
+ text-transform: uppercase;
412
+ letter-spacing: 1px;
413
+ margin-left: 3px;
414
+ padding: 3px 8px;
415
+ @include border-radius(3px);
416
+ }
417
+ }
418
+
419
+ // Coming Soon / Disabled
420
+ &.disabled {
421
+ a.link-item {
422
+ span.coming-soon {
423
+ background-color: #00C8E1;
424
+ }
425
+
426
+ &:hover {
427
+ background: transparent;
428
+ cursor: no-drop;
429
+ }
430
+ }
431
+ }
432
+ }
433
+ }
434
+ }
435
+
436
+ .header-sign-in-button {
437
+ grid-column: 3;
438
+ grid-row: 1;
439
+ display: flex;
440
+ align-items: center;
441
+ justify-content: center;
442
+ padding: 0 20px;
443
+ height: 100%;
444
+ gap: 25px;
445
+ margin-right: 10px;
446
+
447
+ .button {
448
+ margin: 0;
449
+ }
450
+
451
+ @include responsive-max($breakpoint-medium) {
452
+ display: none;
453
+ }
454
+ }
455
+
456
+ .header-account {
457
+ grid-column: 3;
458
+ grid-row: 1;
459
+ display: flex;
460
+ align-items: center;
461
+ justify-content: flex-end;
462
+ height: 50px;
463
+ padding: 0 20px;
464
+ grid-gap: 20px;
465
+
466
+ .option-separator {
467
+ border-right: 1px solid #E9EAEA;
468
+ height: 50%;
469
+ }
470
+
471
+ .profile {
472
+ &:hover {
473
+ .profile-photo {
474
+ content:url("^assets/swl/interface/icons/profile-user-active-icon.svg");
475
+ }
476
+ }
477
+
478
+ &.active {
479
+ .profile-photo {
480
+ content:url("^assets/swl/interface/icons/profile-user-active-icon.svg");
481
+ }
482
+ }
483
+ }
484
+
485
+
486
+ @include responsive-max($breakpoint-medium) {
487
+ display: none;
488
+ }
489
+
490
+ img.profile-photo {
491
+ display: block;
492
+ width: 34px;
493
+ height: 34px;
494
+ @include border-radius(100%);
495
+ }
496
+ }
497
+
498
+ .progress-bar {
499
+ grid-column: 1/4;
500
+ grid-row: 2;
501
+ border: none;
502
+ border-top: 1px solid #E9EAEA;
503
+ height: 10px;
504
+ margin: 0;
505
+ @include border-radius(0);
506
+
507
+ .progress {
508
+ height: 9px;
509
+ @include border-radius(0);
510
+ @include border-right-radius(4.5px);
511
+ }
512
+ }
513
+
514
+ @include responsive($breakpoint-medium) {
515
+ grid-template-rows: 70px;
516
+
517
+ .progress-bar & {
518
+ grid-template-rows: 70px 10px;
519
+ }
520
+
521
+ h1.sempli-logo {
522
+ width: 180px;
523
+
524
+ a {
525
+ background-size: 119px 30px;
526
+ width: 180px;
527
+ padding-top: 70px;
528
+ }
529
+ }
530
+
531
+ .header-step-title {
532
+ height: 70px;
533
+
534
+ > * {
535
+ height: 70px;
536
+ line-height: 70px;
537
+ }
538
+ }
539
+
540
+ .header-save-progress {
541
+ height: 70px;
542
+
543
+ a.save-progress {
544
+ height: 70px;
545
+ line-height: 70px;
546
+ }
547
+ }
548
+
549
+ .header-nav {
550
+ height: 70px;
551
+
552
+ a.nav-link {
553
+ height: 70px;
554
+ line-height: 70px;
555
+ }
556
+ }
557
+
558
+ .header-account {
559
+ height: 70px;
560
+ }
561
+ }
562
+
563
+ @include responsive-max($breakpoint-small) {
564
+ .header-step-title {
565
+ display: none;
566
+ }
567
+ }
568
+
569
+ @include responsive-max($breakpoint-medium) {
570
+ grid-template-columns: auto;
571
+ }
572
+
573
+ // Payment Header
574
+ &.payment, &.empty-header {
575
+ grid-template-columns: 1fr;
576
+
577
+ h1.sempli-logo {
578
+ border-right: none;
579
+ margin: 0 auto;
580
+ }
581
+ }
582
+
583
+ // Mobile Navigation
584
+ .mobile-nav {
585
+ @include responsive($breakpoint-medium) {
586
+ display: none;
587
+ }
588
+ }
589
+
590
+ // Mobile Navigation
591
+ .mobile-nav {
592
+ @include responsive($breakpoint-medium) {
593
+ display: none;
594
+ }
595
+ }
596
+
597
+ input#burger {
598
+ opacity: 0;
599
+ }
600
+
601
+ input#burger + label {
602
+ position: absolute;
603
+ top: 16px;
604
+ right: 20px;
605
+ height: 20px;
606
+ width: 15px;
607
+ z-index: 1002;
608
+
609
+ span {
610
+ position: absolute;
611
+ width: 100%;
612
+ height: 2px;
613
+ top: 50%;
614
+ margin-top: -1px;
615
+ left: 0;
616
+ display: block;
617
+ background: $color-secondary;
618
+ transition: 0.5s;
619
+ @include border-radius(2px);
620
+
621
+ &:nth-child(2) {
622
+ @include transform(translateY(-50%));
623
+ }
624
+
625
+ &:first-child {
626
+ top: 3px;
627
+ }
628
+
629
+ &:last-child {
630
+ top: 15px;
631
+ }
632
+ }
633
+ }
634
+
635
+ label:hover {
636
+ cursor: pointer;
637
+ }
638
+
639
+ input#burger:checked + label {
640
+ span {
641
+ opacity: 0;
642
+ top: 50%;
643
+ }
644
+ span:first-child {
645
+ opacity: 1;
646
+ transform: rotate(405deg);
647
+ }
648
+ span:last-child {
649
+ opacity: 1;
650
+ transform: rotate(-405deg);
651
+ }
652
+ }
653
+
654
+ input#burger ~ nav {
655
+ background: white;
656
+ width: 100%;
657
+ height: 50px;
658
+ transition: 0.5s;
659
+ transition-delay: 0.5s;
660
+ overflow: hidden;
661
+ opacity: 0;
662
+ position: fixed;
663
+ top: 0;
664
+ left: 0;
665
+ right: 0;
666
+ z-index: 1001;
667
+
668
+ .links-group-wrapper {
669
+ margin-top: 15px;
670
+ &:last-child {
671
+ border: none;
672
+ padding-bottom: 0;
673
+ }
674
+ }
675
+
676
+ .nav-title {
677
+ text-align: center;
678
+ opacity: 0;
679
+ transition: 0.5s;
680
+ transition-delay: 0s;
681
+ margin: 0 0 10px;
682
+ }
683
+
684
+ ul {
685
+ text-align: center;
686
+ list-style: none;
687
+ margin: 0;
688
+ padding: 0;
689
+
690
+ > li {
691
+ opacity: 0;
692
+ transition: 0.5s;
693
+ transition-delay: 0s;
694
+
695
+ a.button {
696
+ display: block;
697
+ margin: 10px 20px 0;
698
+ }
699
+
700
+ a.link-item {
701
+ line-height: 30px;
702
+ height: 30px;
703
+ }
704
+ }
705
+ }
706
+ }
707
+
708
+ input#burger:checked ~ nav {
709
+ height: 100%;
710
+ opacity: 1;
711
+ transition-delay: 0s;
712
+ .nav-title {
713
+ opacity: 1;
714
+ transition-delay: 0.5s;
715
+ }
716
+ ul {
717
+ > li {
718
+ opacity: 1;
719
+ transition-delay: 0.75s;
720
+ }
721
+ }
722
+ }
723
+ }