wickes-css2 2.94.0-develop.13 → 2.94.0-develop.16
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.
- package/Readme.md +2 -2
- package/build/css/main.css +1 -1
- package/build/css/pages/checkout-new.css +1 -1
- package/build/css/pages/checkout.css +1 -1
- package/build/css/pages/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_shopping-cart-v2.css +1 -1
- package/build/css/pdp-main-non-critical.css +1 -1
- package/build/js/basket.min.js +2 -2
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/emulation.min.js +2 -2
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/page/basket/summary-mobile.js +22 -0
- package/build/js/page/basket-v2.js +13 -0
- package/build/js/page/components/order-summary.js +8 -1
- package/build/js/page/components/sticky-order-observer.js +49 -0
- package/build/js/page/components/voucher.js +1 -1
- package/build/js/pdp.bundle.min.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +1 -1
- package/package.json +2 -10
- package/src/components/checkout-action.hbs +14 -11
- package/src/components/checkout-voucher-accordion.hbs +15 -0
- package/src/components/checkout_order-summary-new.hbs +5 -3
- package/src/components/checkout_voucher_large.hbs +20 -16
- package/src/components/order-summary.hbs +91 -56
- package/src/components/summary-mobile-bar.hbs +17 -0
- package/src/data/data_delivery-address-v2.json +1 -1
- package/src/js/components/general/is-trade-pro.js +15 -1
- package/src/js/emulation/basket-data.js +2 -2
- package/src/js/page/basket/summary-mobile.js +22 -0
- package/src/js/page/basket-v2.js +13 -0
- package/src/js/page/components/order-summary.js +8 -1
- package/src/js/page/components/sticky-order-observer.js +49 -0
- package/src/js/page/components/voucher.js +1 -1
- package/src/layouts/basket-new.hbs +1 -1
- package/src/layouts/checkout-new.hbs +1 -0
- package/src/page_checkout_confirmation-new-marketing-consent-error.html +0 -2
- package/src/page_checkout_delivery-address-customer-journey.html +0 -5
- package/src/page_checkout_delivery-address-v2.html +0 -4
- package/src/page_checkout_delivery-details-v2-asm.html +1 -5
- package/src/page_checkout_delivery-details-v2-calendar-message.html +0 -3
- package/src/page_checkout_delivery-details-v2-oos.html +0 -3
- package/src/page_checkout_delivery-details-v2-wisdom-not-available.html +0 -5
- package/src/page_checkout_delivery-details-v2-wisdom.html +0 -5
- package/src/page_checkout_delivery-details-with-loader-v2.html +0 -3
- package/src/page_checkout_delivery-details_guest-new.html +0 -5
- package/src/page_checkout_delivery_address-asm-new.html +0 -4
- package/src/page_checkout_next-day-delivery-details.html +0 -6
- package/src/page_checkout_payment-details-v2.html +1 -1
- package/src/page_checkout_payment-details_guest-with-checkout-journey.html +0 -2
- package/src/page_checkout_payment-details_login-with-checkout-journey.html +0 -2
- package/src/page_checkout_rapid-delivery-details.html +0 -6
- package/src/page_klarna_payment-details_with-klarna.html +3 -6
- package/src/page_payment-details-with-clearpay.html +1 -1
- package/src/page_payment-details_with_apple-pay.html +1 -1
- package/src/page_payment-details_with_google-pay.html +1 -1
- package/src/page_shopping-cart-v2.html +6 -16
- package/src/scss/components/_checkout-action.scss +132 -6
- package/src/scss/components/_order-summary.scss +329 -178
- package/src/scss/components/_sticky-element-appearance.scss +25 -0
- package/src/scss/helpers/_variables.scss +2 -0
- package/src/scss/main.scss +1 -0
- package/src/scss/pages/_checkout-widget.scss +137 -28
- package/src/scss/pages/page_checkout_delivery-new.scss +119 -10
- package/src/scss/pages/page_shopping-cart-v2.scss +137 -34
|
@@ -83,10 +83,20 @@
|
|
|
83
83
|
margin-bottom: 0;
|
|
84
84
|
list-style-type: none;
|
|
85
85
|
|
|
86
|
-
& > li:
|
|
86
|
+
& > li:last-child {
|
|
87
|
+
margin: 0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
& >li:not(:first-of-type) {
|
|
87
91
|
margin-top: 5px;
|
|
88
92
|
}
|
|
89
93
|
|
|
94
|
+
& > .checkout-widget__accordion-wrap {
|
|
95
|
+
&.checkout-widget__details-discount {
|
|
96
|
+
margin-top: 8px;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
90
100
|
.checkout-widget__details-hidden {
|
|
91
101
|
padding-left: 15px;
|
|
92
102
|
list-style: disc;
|
|
@@ -426,7 +436,7 @@
|
|
|
426
436
|
text-align: center;
|
|
427
437
|
width: 100%;
|
|
428
438
|
color: $green;
|
|
429
|
-
font-size:
|
|
439
|
+
font-size: 1rem;
|
|
430
440
|
margin-bottom: 10px;
|
|
431
441
|
}
|
|
432
442
|
}
|
|
@@ -515,10 +525,6 @@
|
|
|
515
525
|
padding-right: 0;
|
|
516
526
|
}
|
|
517
527
|
|
|
518
|
-
&-hide {
|
|
519
|
-
display: none;
|
|
520
|
-
}
|
|
521
|
-
|
|
522
528
|
input {
|
|
523
529
|
text-transform: uppercase;
|
|
524
530
|
|
|
@@ -528,6 +534,92 @@
|
|
|
528
534
|
}
|
|
529
535
|
}
|
|
530
536
|
|
|
537
|
+
.voucher {
|
|
538
|
+
padding-bottom: 10px;
|
|
539
|
+
|
|
540
|
+
.checkout-widget.checkout-voucher.checkout-voucher_fixed {
|
|
541
|
+
padding: 0;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
.checkout-widget.checkout-voucher {
|
|
545
|
+
margin-bottom: 0;
|
|
546
|
+
|
|
547
|
+
&-hide {
|
|
548
|
+
display: none;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
&.voucher-applied {
|
|
552
|
+
background: $white;
|
|
553
|
+
height: 40px;
|
|
554
|
+
padding: 8px 0;
|
|
555
|
+
margin: 0;
|
|
556
|
+
|
|
557
|
+
.voucher-applied__inner {
|
|
558
|
+
display: flex;
|
|
559
|
+
align-items: center;
|
|
560
|
+
justify-content: center;
|
|
561
|
+
gap: 8px;
|
|
562
|
+
|
|
563
|
+
& .icon {
|
|
564
|
+
display: inline-block;
|
|
565
|
+
|
|
566
|
+
&__check {
|
|
567
|
+
width: 24px;
|
|
568
|
+
height: 24px;
|
|
569
|
+
display: flex;
|
|
570
|
+
justify-content: center;
|
|
571
|
+
align-items: center;
|
|
572
|
+
|
|
573
|
+
i {
|
|
574
|
+
font-size: 24px;
|
|
575
|
+
line-height: 24px;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
& .fa-check-circle {
|
|
581
|
+
font-size: 1rem;
|
|
582
|
+
margin: 0;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
& h5 {
|
|
586
|
+
font-size: .875rem;
|
|
587
|
+
margin: 0;
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
form {
|
|
593
|
+
display: flex;
|
|
594
|
+
justify-content: space-between;
|
|
595
|
+
width: 100%;
|
|
596
|
+
|
|
597
|
+
.form-row {
|
|
598
|
+
max-width: 100%;
|
|
599
|
+
flex: 1;
|
|
600
|
+
margin-right: 16px;
|
|
601
|
+
margin-bottom: 0;
|
|
602
|
+
padding: 0;
|
|
603
|
+
|
|
604
|
+
&__field {
|
|
605
|
+
margin-left: 30px;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
&__error {
|
|
609
|
+
margin-left: 30px;
|
|
610
|
+
font-weight: 400;
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.voucher__btn {
|
|
615
|
+
margin-top: 0;
|
|
616
|
+
margin-right: 15px;
|
|
617
|
+
height: 40px;
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
}
|
|
622
|
+
|
|
531
623
|
.voucher {
|
|
532
624
|
.checkout-widget {
|
|
533
625
|
margin-left: -15px;
|
|
@@ -537,17 +629,17 @@
|
|
|
537
629
|
|
|
538
630
|
@include media-breakpoint-up(sm) {
|
|
539
631
|
.voucher {
|
|
540
|
-
.checkout-widget {
|
|
541
|
-
margin: 0 0 20px;
|
|
542
|
-
|
|
632
|
+
.checkout-widget.checkout-voucher {
|
|
543
633
|
form {
|
|
544
|
-
display: flex;
|
|
545
|
-
justify-content: space-between;
|
|
546
|
-
align-items: center;
|
|
547
|
-
|
|
548
634
|
.form-row {
|
|
549
|
-
|
|
550
|
-
|
|
635
|
+
&__field {
|
|
636
|
+
margin-right: 0;
|
|
637
|
+
margin-left: 15px;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
&__error {
|
|
641
|
+
margin-left: 15px;
|
|
642
|
+
}
|
|
551
643
|
}
|
|
552
644
|
}
|
|
553
645
|
}
|
|
@@ -578,6 +670,12 @@
|
|
|
578
670
|
|
|
579
671
|
.checkout-voucher {
|
|
580
672
|
& form {
|
|
673
|
+
.form-row {
|
|
674
|
+
&__error {
|
|
675
|
+
margin-left: 15px;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
|
|
581
679
|
& .voucher__btn {
|
|
582
680
|
max-width: 115px;
|
|
583
681
|
height: 40px;
|
|
@@ -595,6 +693,22 @@
|
|
|
595
693
|
}
|
|
596
694
|
}
|
|
597
695
|
|
|
696
|
+
@include media-breakpoint-up(md) {
|
|
697
|
+
.voucher {
|
|
698
|
+
.checkout-widget.checkout-voucher {
|
|
699
|
+
form {
|
|
700
|
+
.form-row {
|
|
701
|
+
&__field {
|
|
702
|
+
margin-right: 0;
|
|
703
|
+
margin-left: 30px;
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
|
|
598
712
|
@include media-breakpoint-up(xl) {
|
|
599
713
|
.checkout-widget {
|
|
600
714
|
&__detail-value_payment:not(.checkout-widget__details-hidden) {
|
|
@@ -626,6 +740,14 @@
|
|
|
626
740
|
}
|
|
627
741
|
}
|
|
628
742
|
|
|
743
|
+
@include media-breakpoint-up(lg) {
|
|
744
|
+
.checkout-voucher {
|
|
745
|
+
display: flex;
|
|
746
|
+
justify-content: center;
|
|
747
|
+
align-items: center;
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
|
|
629
751
|
@include media-breakpoint-down(md) {
|
|
630
752
|
.checkout-widget {
|
|
631
753
|
&__secure {
|
|
@@ -698,7 +820,6 @@
|
|
|
698
820
|
}
|
|
699
821
|
|
|
700
822
|
&_order-summary {
|
|
701
|
-
padding: 20px 30px;
|
|
702
823
|
|
|
703
824
|
.accordion__header-text {
|
|
704
825
|
margin-left: 4px;
|
|
@@ -733,12 +854,6 @@
|
|
|
733
854
|
|
|
734
855
|
@include media-breakpoint-down(xs) {
|
|
735
856
|
.checkout-widget {
|
|
736
|
-
&_order-summary {
|
|
737
|
-
padding: 20px 45px;
|
|
738
|
-
margin-left: -15px;
|
|
739
|
-
margin-right: -15px;
|
|
740
|
-
}
|
|
741
|
-
|
|
742
857
|
&__payment-wrapper {
|
|
743
858
|
margin-left: -30px;
|
|
744
859
|
margin-right: -25px;
|
|
@@ -773,12 +888,6 @@
|
|
|
773
888
|
padding-bottom: 20px;
|
|
774
889
|
}
|
|
775
890
|
|
|
776
|
-
&__detail-name_accordion + .checkout-widget__details-hidden + span {
|
|
777
|
-
right: auto;
|
|
778
|
-
left: 0;
|
|
779
|
-
top: 20px;
|
|
780
|
-
}
|
|
781
|
-
|
|
782
891
|
&__detail-name,
|
|
783
892
|
&__detail-value:not(.checkout-widget__details-hidden) {
|
|
784
893
|
display: block;
|
|
@@ -5,18 +5,87 @@
|
|
|
5
5
|
@import '../components/marketing-preferences';
|
|
6
6
|
|
|
7
7
|
.page_checkout-delivery-new {
|
|
8
|
-
.
|
|
9
|
-
.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
.right-aside {
|
|
9
|
+
.summary {
|
|
10
|
+
.checkout-title__title {
|
|
11
|
+
color: $blue-ocean;
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
line-height: 1.75rem;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__aside {
|
|
17
|
+
padding: 12px 30px 0;
|
|
18
|
+
|
|
19
|
+
.checkout-info-wrap {
|
|
20
|
+
padding: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.checkout-widget.checkout-widget_order-summary {
|
|
24
|
+
padding: 25px 20px 0;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.checkout-widget {
|
|
28
|
+
&__details {
|
|
29
|
+
font-size: 1rem;
|
|
30
|
+
|
|
31
|
+
.checkout-widget {
|
|
32
|
+
&__item {
|
|
33
|
+
display: flex;
|
|
34
|
+
justify-content: space-between;
|
|
35
|
+
font-size: 1rem;
|
|
36
|
+
line-height: 1.125rem;
|
|
37
|
+
font-weight: 400;
|
|
38
|
+
margin-bottom: 20px;
|
|
39
|
+
padding: 0;
|
|
40
|
+
|
|
41
|
+
&-bold {
|
|
42
|
+
font-weight: 500;
|
|
43
|
+
margin-bottom: 20px;
|
|
44
|
+
}
|
|
14
45
|
|
|
15
|
-
|
|
16
|
-
|
|
46
|
+
&-vat {
|
|
47
|
+
font-size: .75rem;
|
|
48
|
+
margin-top: -15px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
&__details-discount {
|
|
54
|
+
order: 1;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
17
58
|
|
|
18
|
-
|
|
19
|
-
|
|
59
|
+
&__total {
|
|
60
|
+
border: 0;
|
|
61
|
+
display: flex;
|
|
62
|
+
justify-content: space-between;
|
|
63
|
+
margin-left: -25px;
|
|
64
|
+
margin-right: -25px;
|
|
65
|
+
margin-bottom: 0;
|
|
66
|
+
padding: 20px 25px;
|
|
67
|
+
color: #fff;
|
|
68
|
+
background-color: #0a3055;
|
|
69
|
+
font-size: 1.375rem;
|
|
70
|
+
line-height: 1.5rem;
|
|
71
|
+
font-weight: 400;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&__basked-id {
|
|
77
|
+
padding: 26px 0;
|
|
78
|
+
background: #f8f8f8;
|
|
79
|
+
text-align: center;
|
|
80
|
+
font-size: 1rem;
|
|
81
|
+
|
|
82
|
+
.id-number {
|
|
83
|
+
font-weight: 700;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.accordion__header-icon-small {
|
|
88
|
+
left: 85px;
|
|
20
89
|
}
|
|
21
90
|
}
|
|
22
91
|
}
|
|
@@ -308,6 +377,7 @@
|
|
|
308
377
|
.continue-btn {
|
|
309
378
|
background: $gray-bg;
|
|
310
379
|
padding: 35px;
|
|
380
|
+
margin-top: 20px;
|
|
311
381
|
|
|
312
382
|
.btn-action {
|
|
313
383
|
height: 50px;
|
|
@@ -401,6 +471,26 @@
|
|
|
401
471
|
}
|
|
402
472
|
}
|
|
403
473
|
}
|
|
474
|
+
|
|
475
|
+
.right-aside {
|
|
476
|
+
.summary {
|
|
477
|
+
&__aside {
|
|
478
|
+
.checkout-widget.checkout-widget_order-summary {
|
|
479
|
+
padding: 20px 0 0;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
.checkout-widget {
|
|
484
|
+
&.checkout-widget_order-summary {
|
|
485
|
+
.checkout-widget__total {
|
|
486
|
+
font-weight: 400;
|
|
487
|
+
margin-left: -20px;
|
|
488
|
+
margin-right: -20px;
|
|
489
|
+
}
|
|
490
|
+
}
|
|
491
|
+
}
|
|
492
|
+
}
|
|
493
|
+
}
|
|
404
494
|
}
|
|
405
495
|
}
|
|
406
496
|
|
|
@@ -555,6 +645,24 @@
|
|
|
555
645
|
}
|
|
556
646
|
}
|
|
557
647
|
}
|
|
648
|
+
|
|
649
|
+
.right-aside {
|
|
650
|
+
.summary {
|
|
651
|
+
.checkout-widget {
|
|
652
|
+
&.checkout-widget_order-summary {
|
|
653
|
+
.checkout-widget__total {
|
|
654
|
+
font-weight: 400;
|
|
655
|
+
margin-left: -30px;
|
|
656
|
+
margin-right: -30px;
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
.summary__basked-id {
|
|
662
|
+
margin-top: 13px;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
}
|
|
558
666
|
}
|
|
559
667
|
}
|
|
560
668
|
|
|
@@ -674,6 +782,7 @@
|
|
|
674
782
|
|
|
675
783
|
.continue-btn {
|
|
676
784
|
margin: 0 -15px;
|
|
785
|
+
margin-top: 20px;
|
|
677
786
|
}
|
|
678
787
|
|
|
679
788
|
.billing-payment-block {
|
|
@@ -25,10 +25,6 @@
|
|
|
25
25
|
|
|
26
26
|
.right-aside {
|
|
27
27
|
margin-top: 0;
|
|
28
|
-
|
|
29
|
-
.voucher {
|
|
30
|
-
display: none;
|
|
31
|
-
}
|
|
32
28
|
}
|
|
33
29
|
|
|
34
30
|
.content {
|
|
@@ -78,14 +74,26 @@
|
|
|
78
74
|
|
|
79
75
|
.voucher {
|
|
80
76
|
.checkout-widget {
|
|
81
|
-
margin:
|
|
77
|
+
margin-left: -15px;
|
|
78
|
+
margin-right: -15px;
|
|
79
|
+
|
|
80
|
+
&.checkout-voucher {
|
|
81
|
+
form {
|
|
82
|
+
.form-row {
|
|
83
|
+
padding-right: 0;
|
|
84
|
+
|
|
85
|
+
&__field {
|
|
86
|
+
margin-left: 30px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
82
91
|
}
|
|
83
92
|
}
|
|
84
93
|
|
|
85
94
|
.summary {
|
|
86
95
|
.checkout-widget_order-summary {
|
|
87
|
-
|
|
88
|
-
margin-right: -20px;
|
|
96
|
+
background-color: $gray-bg;
|
|
89
97
|
|
|
90
98
|
.checkout-widget__details {
|
|
91
99
|
flex-direction: column;
|
|
@@ -98,6 +106,7 @@
|
|
|
98
106
|
&__item {
|
|
99
107
|
&-bold {
|
|
100
108
|
order: -5;
|
|
109
|
+
padding: 0;
|
|
101
110
|
}
|
|
102
111
|
|
|
103
112
|
&-vat {
|
|
@@ -137,12 +146,35 @@
|
|
|
137
146
|
|
|
138
147
|
.checkout-widget_order-summary,
|
|
139
148
|
.checkout-info-wrap.checkout-widget__details {
|
|
140
|
-
padding
|
|
149
|
+
padding: 0;
|
|
141
150
|
|
|
142
151
|
.checkout-widget {
|
|
143
152
|
&__item {
|
|
144
153
|
font-weight: 400;
|
|
145
154
|
font-size: .875rem;
|
|
155
|
+
padding: 10px 0;
|
|
156
|
+
margin: 0;
|
|
157
|
+
|
|
158
|
+
&:nth-child(1) {
|
|
159
|
+
margin: 0;
|
|
160
|
+
padding: 0;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
&:nth-child(2) {
|
|
164
|
+
margin: 0;
|
|
165
|
+
padding-bottom: 10px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
&:nth-child(3) {
|
|
169
|
+
margin: 0;
|
|
170
|
+
padding-bottom: 10px;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
&:last-child {
|
|
174
|
+
margin: 0;
|
|
175
|
+
padding: 0;
|
|
176
|
+
}
|
|
177
|
+
|
|
146
178
|
|
|
147
179
|
&:not(.checkout-widget__item-vat) {
|
|
148
180
|
margin-top: 0;
|
|
@@ -153,8 +185,8 @@
|
|
|
153
185
|
}
|
|
154
186
|
|
|
155
187
|
&-vat {
|
|
156
|
-
|
|
157
|
-
|
|
188
|
+
margin: 0;
|
|
189
|
+
padding: 0 0 10px;
|
|
158
190
|
color: $warm-grey;
|
|
159
191
|
font-size: .75rem;
|
|
160
192
|
border-bottom: 1px solid #eee;
|
|
@@ -180,7 +212,7 @@
|
|
|
180
212
|
|
|
181
213
|
&__details {
|
|
182
214
|
&-discount {
|
|
183
|
-
margin-top:
|
|
215
|
+
margin-top: 10px;
|
|
184
216
|
}
|
|
185
217
|
}
|
|
186
218
|
|
|
@@ -202,6 +234,53 @@
|
|
|
202
234
|
background-color: transparent;
|
|
203
235
|
padding: 0;
|
|
204
236
|
border: 0;
|
|
237
|
+
|
|
238
|
+
.voucher__btn {
|
|
239
|
+
max-width: 100%;
|
|
240
|
+
margin-top: 20px;
|
|
241
|
+
height: 40px;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.form-row__error {
|
|
245
|
+
font-weight: 400;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
&.voucher-applied {
|
|
249
|
+
background: $white;
|
|
250
|
+
margin-bottom: 8px;
|
|
251
|
+
height: 40px;
|
|
252
|
+
|
|
253
|
+
.voucher-applied__inner {
|
|
254
|
+
display: flex;
|
|
255
|
+
align-items: center;
|
|
256
|
+
justify-content: center;
|
|
257
|
+
|
|
258
|
+
& .icon {
|
|
259
|
+
display: inline-block;
|
|
260
|
+
|
|
261
|
+
&__check {
|
|
262
|
+
width: 24px;
|
|
263
|
+
height: 24px;
|
|
264
|
+
|
|
265
|
+
i {
|
|
266
|
+
font-size: 24px;
|
|
267
|
+
line-height: 24px;
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
& .fa-check-circle {
|
|
273
|
+
font-size: 1rem;
|
|
274
|
+
margin-bottom: 0;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
& h5 {
|
|
278
|
+
margin: 0;
|
|
279
|
+
margin-top: 8px;
|
|
280
|
+
font-size: .875rem;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
}
|
|
205
284
|
}
|
|
206
285
|
}
|
|
207
286
|
|
|
@@ -231,6 +310,20 @@
|
|
|
231
310
|
}
|
|
232
311
|
}
|
|
233
312
|
|
|
313
|
+
.voucher {
|
|
314
|
+
.checkout-widget {
|
|
315
|
+
&.checkout-voucher {
|
|
316
|
+
form {
|
|
317
|
+
.form-row {
|
|
318
|
+
&__field {
|
|
319
|
+
margin-left: 15px;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
234
327
|
.checkout-widget {
|
|
235
328
|
&.checkout-voucher {
|
|
236
329
|
form {
|
|
@@ -284,6 +377,20 @@
|
|
|
284
377
|
|
|
285
378
|
@include media-breakpoint-up(md) {
|
|
286
379
|
.basket {
|
|
380
|
+
.voucher {
|
|
381
|
+
.checkout-widget {
|
|
382
|
+
&.checkout-voucher {
|
|
383
|
+
form {
|
|
384
|
+
.form-row {
|
|
385
|
+
&__field {
|
|
386
|
+
margin-left: 30px;
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
|
|
287
394
|
.right-aside {
|
|
288
395
|
@include make-col(12);
|
|
289
396
|
}
|
|
@@ -293,12 +400,6 @@
|
|
|
293
400
|
max-width: 100%;
|
|
294
401
|
padding-right: 5px;
|
|
295
402
|
}
|
|
296
|
-
|
|
297
|
-
.summary {
|
|
298
|
-
&__aside {
|
|
299
|
-
padding: 20px 20px 0;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
403
|
}
|
|
303
404
|
}
|
|
304
405
|
|
|
@@ -316,17 +417,22 @@
|
|
|
316
417
|
.checkout-voucher {
|
|
317
418
|
padding: 0;
|
|
318
419
|
|
|
420
|
+
.form-row__error {
|
|
421
|
+
white-space: pre-line;
|
|
422
|
+
}
|
|
423
|
+
|
|
319
424
|
form {
|
|
320
425
|
display: flex;
|
|
321
426
|
align-items: flex-start;
|
|
322
|
-
margin-bottom: 27px;
|
|
323
427
|
|
|
324
428
|
.form-row {
|
|
325
|
-
|
|
429
|
+
max-width: 100%;
|
|
430
|
+
flex: 1;
|
|
326
431
|
margin-right: 0;
|
|
327
432
|
|
|
328
433
|
&__field {
|
|
329
434
|
margin-right: 0;
|
|
435
|
+
margin-left: 30px;
|
|
330
436
|
|
|
331
437
|
input {
|
|
332
438
|
&::placeholder {
|
|
@@ -344,27 +450,14 @@
|
|
|
344
450
|
|
|
345
451
|
.voucher__btn {
|
|
346
452
|
margin-top: 0;
|
|
347
|
-
margin-left:
|
|
453
|
+
margin-left: 16px;
|
|
454
|
+
margin-right: 15px;
|
|
348
455
|
}
|
|
349
456
|
|
|
350
457
|
&.form_invalid {
|
|
351
458
|
margin-bottom: 0;
|
|
352
459
|
}
|
|
353
460
|
}
|
|
354
|
-
|
|
355
|
-
&.voucher-applied {
|
|
356
|
-
background: $white;
|
|
357
|
-
|
|
358
|
-
& .fa-check-circle {
|
|
359
|
-
font-size: 2rem;
|
|
360
|
-
margin-bottom: 0;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
& h3 {
|
|
364
|
-
font-size: 1.25rem;
|
|
365
|
-
margin-bottom: 0;
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
461
|
}
|
|
369
462
|
}
|
|
370
463
|
|
|
@@ -424,6 +517,16 @@
|
|
|
424
517
|
display: flex;
|
|
425
518
|
}
|
|
426
519
|
}
|
|
520
|
+
|
|
521
|
+
.checkout-widget__item-bold {
|
|
522
|
+
margin: 10px 0;
|
|
523
|
+
padding: 5px 0;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.checkout-widget__item-vat {
|
|
527
|
+
padding-bottom: 10px;
|
|
528
|
+
margin-bottom: 10px;
|
|
529
|
+
}
|
|
427
530
|
}
|
|
428
531
|
|
|
429
532
|
.checkout-title {
|