wickes-css2 2.113.0-develop.12 → 2.113.0-develop.13

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 (29) hide show
  1. package/Readme.md +0 -1
  2. package/build/css/components/checkout-payment-details-v2.css +1 -1
  3. package/build/css/components/checkout-payment-repayment-terms.css +1 -1
  4. package/build/css/main.css +1 -1
  5. package/build/css/pages/checkout-new.css +1 -1
  6. package/build/css/pages/checkout.css +1 -1
  7. package/build/css/pages/page_checkout_delivery-new.css +1 -1
  8. package/package.json +1 -1
  9. package/src/page_checkout_delivery-details-v2-calendar-not-loaded.html +167 -0
  10. package/src/page_checkout_payment-details-v2-asm.html +2 -3
  11. package/src/page_checkout_payment-details-v2.html +2 -3
  12. package/src/page_checkout_payment-details_with-card-loader.html +2 -3
  13. package/src/page_checkout_payment-details_with-klarna-loader.html +2 -3
  14. package/src/page_checkout_payment-details_with-loader-v2.html +2 -3
  15. package/src/page_klarna_payment-details_with-klarna.html +2 -3
  16. package/src/page_payment-details-billie-registered-only.html +2 -3
  17. package/src/page_payment-details-billie-unregistered-only.html +2 -3
  18. package/src/page_payment-details-with-billie.html +2 -3
  19. package/src/page_payment-details-with-clearpay.html +2 -3
  20. package/src/page_payment-details-with-gift-card.html +2 -3
  21. package/src/page_payment-details_with_apple-pay.html +0 -1
  22. package/src/page_payment-details_with_google-pay.html +2 -3
  23. package/src/scss/components/_date-selection-add-new-styles.scss +24 -3
  24. package/src/scss/components/_gift-cards.scss +1 -1
  25. package/src/scss/components/checkout-payment-details-v2.scss +44 -20
  26. package/src/scss/components/checkout-payment-repayment-terms.scss +0 -1
  27. package/src/scss/pages/_checkout_delivery-details.scss +16 -104
  28. package/src/scss/pages/page_checkout_delivery-new.scss +252 -164
  29. package/src/sitemap.html +2 -0
@@ -6,29 +6,37 @@
6
6
 
7
7
  .page_checkout-delivery-new {
8
8
  .right-aside {
9
+ margin-top: 24px;
10
+
9
11
  .summary {
10
12
  .checkout-title__title {
11
13
  color: $blue-ocean;
12
- font-weight: 400;
13
- line-height: 1.75rem;
14
+ margin-bottom: 16px;
14
15
  }
15
16
 
16
17
  &__aside {
17
- padding: 12px 30px 0;
18
+ padding: 0;
18
19
 
19
20
  .checkout-info-wrap {
20
21
  padding: 0;
21
22
  }
22
23
 
23
24
  .checkout-widget.checkout-widget_order-summary {
24
- padding: 25px 20px 0;
25
+ padding: 0;
26
+ margin: 0;
25
27
  }
26
28
 
27
29
  .checkout-widget {
30
+ background-color: $white;
31
+
28
32
  &__details {
33
+ padding: 16px;
29
34
  font-size: 1rem;
30
35
  display: flex;
31
36
  flex-direction: column;
37
+ background-color: $white;
38
+ border: 1px solid $gray;
39
+ border-bottom: 0;
32
40
 
33
41
  .checkout-widget {
34
42
  &__item {
@@ -45,11 +53,6 @@
45
53
  margin-bottom: 20px;
46
54
  }
47
55
 
48
- &-vat {
49
- font-size: 0.75rem;
50
- margin-top: -15px;
51
- }
52
-
53
56
  &-delivery:has(+ .checkout-widget__item-delivery-cost-message) {
54
57
  margin-bottom: 0;
55
58
  }
@@ -68,6 +71,21 @@
68
71
  }
69
72
  }
70
73
 
74
+ &__voucher-accordion,
75
+ &__item {
76
+ margin-top: 12px;
77
+ margin-bottom: 0;
78
+ }
79
+
80
+ &__item:first-child {
81
+ margin-top: 0;
82
+ }
83
+
84
+ &__item-vat {
85
+ font-size: 0.75rem;
86
+ margin-top: 4px;
87
+ }
88
+
71
89
  &__details-discount {
72
90
  order: 1;
73
91
  }
@@ -91,24 +109,23 @@
91
109
  border: 0;
92
110
  display: flex;
93
111
  justify-content: space-between;
94
- margin-left: -25px;
95
- margin-right: -25px;
96
- margin-bottom: 0;
97
- padding: 20px 25px;
112
+ padding: 16px;
98
113
  color: #fff;
99
114
  background-color: #0a3055;
100
115
  font-size: 1.375rem;
101
116
  line-height: 1.5rem;
102
117
  font-weight: 400;
118
+ margin: 0;
103
119
  }
104
120
  }
105
121
  }
106
122
 
107
123
  &__basked-id {
108
- padding: 26px 0;
109
- background: #f8f8f8;
124
+ padding: 16px 0;
110
125
  text-align: center;
111
126
  font-size: 1rem;
127
+ border: 1px solid $gray;
128
+ border-top: 0;
112
129
 
113
130
  .id-number {
114
131
  font-weight: 700;
@@ -126,19 +143,77 @@
126
143
  .billing-payment-block {
127
144
  &__heading {
128
145
  color: $blue-ocean;
129
- font-weight: 400;
130
- margin-bottom: 24px;
131
- font-size: 1.5rem;
132
- line-height: 1.75rem;
146
+ margin-bottom: 16px;
133
147
  }
134
148
 
135
149
  &__wrapper {
136
- background: $gray-bg;
137
- padding: 30px 15px;
150
+ .checkout-order {
151
+ display: flex;
152
+ flex-direction: column;
153
+ gap: 16px;
154
+
155
+ .order-block {
156
+ &__time-head {
157
+ padding: 17px 13px;
158
+ };
159
+
160
+ &__address {
161
+ padding: 20px 15px;
162
+ };
163
+
164
+ &__address,
165
+ &__product-line {
166
+ border: 1px solid $gray;
167
+ border-top: 0;
168
+ margin: 0;
169
+ };
170
+
171
+ &__product-line {
172
+ .show-products,
173
+ .hide-products {
174
+ padding: 16px;
175
+ }
176
+ };
177
+
178
+ &__order-line {
179
+ padding: 24px;
180
+ margin: 0;
181
+ display: flex;
182
+ flex-direction: column;
183
+ gap: 16px;
184
+ border-bottom: 1px solid $gray;
185
+
186
+ .order-line {
187
+ &__wrap,
188
+ &__price,
189
+ &__price-item {
190
+ border-top: 0;
191
+ padding: 0;
192
+ margin: 0;
193
+ };
194
+ }
195
+ }
196
+
197
+ &:last-child,
198
+ &:has(+ .delivery-block__heavy-banners-wrapper.d-none:last-child) {
199
+ .order-block__product-line {
200
+ .show-products {
201
+ padding-bottom: 16px;
202
+ }
203
+ }
204
+ }
205
+ }
206
+ }
138
207
  }
139
208
  }
140
209
 
141
210
  .delivery-block {
211
+ margin-bottom: 24px;
212
+
213
+ .banner-news {
214
+ margin-bottom: 24px;
215
+ }
216
+
142
217
  &__wrapper.customer-journey-block {
143
218
  background: inherit;
144
219
  padding: 0;
@@ -176,17 +251,19 @@
176
251
  }
177
252
 
178
253
  .click-collect-block {
179
- margin-top: 40px;
254
+ &__wrapper {
255
+ margin-bottom: 24px;
256
+ };
180
257
 
181
258
  &__head-info {
182
259
  font-size: 1rem;
183
260
  line-height: 1.125rem;
184
261
  font-weight: 400;
262
+ margin-bottom: 16px;
185
263
 
186
264
  .head-info__wrapper {
187
265
  display: flex;
188
266
  flex-direction: column;
189
- margin: 0 0 50px;
190
267
 
191
268
  &-exclamation {
192
269
  border: 1px solid $gray;
@@ -194,7 +271,7 @@
194
271
  display: flex;
195
272
  align-items: center;
196
273
  flex: 0;
197
- margin-bottom: 20px;
274
+ margin-bottom: 16px;
198
275
 
199
276
  .fa-exclamation-circle {
200
277
  color: $blue;
@@ -207,51 +284,64 @@
207
284
  &-text {
208
285
  display: flex;
209
286
  flex-direction: column;
210
- justify-content: flex-end;
287
+ justify-content: flex-start;
211
288
 
212
- p {
289
+ p:last-child {
213
290
  margin: 0;
214
-
215
- &:first-of-type {
216
- margin-bottom: 26px;
217
- }
218
291
  }
219
292
  }
220
293
  }
221
294
  }
222
295
  }
223
296
 
224
- .billing-payment-block {
225
- margin: 40px 0;
226
- }
227
-
228
297
  .loader-wrapper.page-loader {
229
298
  position: fixed;
230
299
  }
231
300
 
232
301
  .oos-block {
233
302
  @include make-col(12);
303
+ margin-bottom: 24px;
234
304
 
235
305
  &__wrapper {
236
- background: $gray-bg;
237
- margin: 25px 0;
306
+ border: 1px solid $gray;
307
+ padding: 16px;
238
308
 
239
309
  &-products {
240
310
  .checkout-info-wrap {
241
- padding: 25px;
311
+ padding: 0;
312
+ background-color: $white;
242
313
  }
243
314
  }
244
315
 
245
316
  .remove-btn {
246
317
  display: flex;
247
318
  justify-content: flex-end;
248
- margin: 0 25px;
249
- padding-bottom: 25px;
250
319
  }
251
- }
252
320
 
253
- &__info-block {
254
- padding: 25px 25px 0;
321
+ .order-block {
322
+ &__order-line {
323
+ padding: 24px;
324
+ margin: 0;
325
+ display: flex;
326
+ flex-direction: column;
327
+ gap: 16px;
328
+ border-bottom: 1px solid $gray;
329
+
330
+ &:last-child {
331
+ margin-bottom: 16px;
332
+ }
333
+ }
334
+
335
+ .order-line {
336
+ &__wrap,
337
+ &__price,
338
+ &__price-item {
339
+ border-top: 0;
340
+ padding: 0;
341
+ margin: 0;
342
+ };
343
+ }
344
+ }
255
345
  }
256
346
  }
257
347
 
@@ -269,12 +359,6 @@
269
359
  @include make-col(12);
270
360
  }
271
361
 
272
- .right-aside {
273
- .checkout-title__title {
274
- margin-bottom: 24px;
275
- }
276
- }
277
-
278
362
  .content {
279
363
  display: flex;
280
364
  flex-direction: column;
@@ -305,8 +389,7 @@
305
389
  }
306
390
 
307
391
  .add-contact-details {
308
- border-top: 1px solid $gray;
309
- margin-top: 20px;
392
+ margin-top: 16px;
310
393
  font-size: 1rem;
311
394
  line-height: 1.125rem;
312
395
  font-weight: 400;
@@ -314,24 +397,27 @@
314
397
  &__heading {
315
398
  color: $blue-ocean;
316
399
  font-weight: 400;
317
- margin-top: 40px;
400
+ margin-bottom: 16px;
401
+ }
402
+
403
+ & > p {
404
+ margin-bottom: 24px;
318
405
  }
319
406
 
320
407
  &__form {
321
408
  @include make-row;
322
409
  align-items: flex-start;
323
- margin-top: 40px;
410
+ row-gap: 24px;
324
411
 
325
412
  .form-row {
326
413
  @include make-col-ready;
327
414
  @include make-col(12);
328
415
  padding-right: 0;
416
+ margin-bottom: 0;
329
417
 
330
418
  &--locked {
331
419
  @include make-col(12);
332
420
  max-width: 100%;
333
- margin-bottom: 24px;
334
- margin-top: 4px;
335
421
 
336
422
  .form-row__field {
337
423
  .tbx {
@@ -354,31 +440,35 @@
354
440
  max-width: 100%;
355
441
  margin-bottom: 0;
356
442
  }
443
+
444
+ &:last-child {
445
+ margin-bottom: 0;
446
+ }
357
447
  }
358
448
  }
359
449
  }
360
450
 
361
451
  .simplify-collection {
362
- background: $gray-bg;
363
- padding: 0 15px;
364
- margin: 0 0 10px;
452
+ padding-bottom: 24px;
453
+ margin-bottom: 24px;
454
+ border-bottom: 1px solid $gray;
365
455
 
366
456
  &__heading {
367
457
  color: $blue-ocean;
368
- font-weight: 400;
369
- margin-top: 40px;
458
+ margin: 0 0 16px;
370
459
  }
371
460
 
372
461
  &__wrapper {
373
462
  @include make-row;
374
- margin: 20px 0;
463
+ margin: 16px 0;
375
464
 
376
465
  .your-contact-details__checkbox {
377
466
  @include make-col-ready;
378
467
  @include make-col(12);
468
+ padding: 0;
379
469
 
380
470
  label:first-of-type {
381
- margin-bottom: 10px;
471
+ margin-bottom: 16px;
382
472
  }
383
473
 
384
474
  span:first-of-type {
@@ -403,20 +493,12 @@
403
493
 
404
494
  &__info {
405
495
  font-size: 1rem;
406
- line-height: 1.125rem;
496
+ line-height: 1.25rem;
407
497
  font-weight: 400;
408
498
  }
409
-
410
- &__btn {
411
- margin: 10px 0 40px;
412
- }
413
499
  }
414
500
 
415
501
  .continue-btn {
416
- background: $gray-bg;
417
- padding: 35px;
418
- margin-top: 20px;
419
-
420
502
  .btn-action {
421
503
  height: 50px;
422
504
  width: 100%;
@@ -428,20 +510,20 @@
428
510
  font-size: 0.875rem;
429
511
  line-height: 1.125rem;
430
512
  font-weight: 400;
431
- margin-bottom: 23px;
513
+ margin-bottom: 16px;
432
514
  }
433
515
 
434
516
  &__header {
435
517
  color: $blue-ocean;
436
518
  font-weight: 400;
437
- margin-bottom: 13px;
519
+ margin-bottom: 16px;
438
520
  }
439
521
  }
440
522
 
441
523
  .notification {
442
524
  &:only-child,
443
525
  &:last-child {
444
- margin-bottom: 30px;
526
+ margin-bottom: 16px;
445
527
  }
446
528
  }
447
529
  }
@@ -538,18 +620,25 @@
538
620
 
539
621
  .right-aside {
540
622
  .summary {
541
- &__aside {
542
- .checkout-widget.checkout-widget_order-summary {
543
- padding: 20px 0 0;
544
- }
545
- }
546
-
547
623
  .checkout-widget {
548
624
  &.checkout-widget_order-summary {
549
625
  .checkout-widget__total {
550
626
  font-weight: 400;
551
- margin-left: -20px;
552
- margin-right: -20px;
627
+ }
628
+ }
629
+ }
630
+ }
631
+ }
632
+
633
+ .delivery-block,
634
+ .click-collect-block,
635
+ .billing-payment-block {
636
+ &__wrapper {
637
+ .checkout-order {
638
+ .order-block {
639
+ &__order-line {
640
+ border-top: 1px solid $gray;
641
+ border-bottom: 0;
553
642
  }
554
643
  }
555
644
  }
@@ -563,14 +652,29 @@
563
652
  .delivery-block,
564
653
  .click-collect-block,
565
654
  .billing-payment-block {
655
+ &__heading {
656
+ margin-bottom: 24px;
657
+ }
658
+
566
659
  &__wrapper {
567
- padding: 55px 50px 50px;
660
+ .checkout-order {
661
+ gap: 24px;
662
+ }
568
663
  }
569
664
  }
570
665
 
666
+ .date-selection__wrapper {
667
+ margin-bottom: 24px;
668
+ }
669
+
571
670
  .right-aside {
572
671
  @include make-col(12);
573
- margin-top: 20px;
672
+
673
+ .summary {
674
+ .checkout-title__title {
675
+ margin-bottom: 24px;
676
+ };
677
+ };
574
678
  }
575
679
 
576
680
  .content {
@@ -579,6 +683,31 @@
579
683
  padding-right: 5px;
580
684
  }
581
685
 
686
+ .oos-block {
687
+ &__wrapper {
688
+ padding: 24px;
689
+ }
690
+
691
+ .order-block {
692
+ &__order-line:last-child {
693
+ margin-bottom: 24px;
694
+ }
695
+ }
696
+ }
697
+
698
+ .notification {
699
+ &:only-child,
700
+ &:last-child {
701
+ margin-bottom: 24px;
702
+ }
703
+ }
704
+
705
+ .add-contact-details {
706
+ &__heading {
707
+ margin-bottom: 24px;
708
+ }
709
+ }
710
+
582
711
  .basket__voucher {
583
712
  & form {
584
713
  display: flex;
@@ -605,27 +734,36 @@
605
734
 
606
735
  .click-collect-block {
607
736
  &__head-info {
737
+ margin-bottom: 24px;
738
+
608
739
  .head-info__wrapper {
609
740
  flex-direction: row;
610
741
 
611
742
  &-exclamation {
612
743
  flex: 0 0 277px;
613
- margin-right: 34px;
744
+ margin-right: 32px;
614
745
  margin-bottom: 0;
615
746
  }
616
747
 
617
748
  &-text {
618
749
  max-width: 400px;
750
+
751
+ p {
752
+ margin-bottom: 24px;
753
+ }
619
754
  }
620
755
  }
621
756
  }
622
757
  }
623
758
 
624
759
  .simplify-collection {
625
- padding: 0 50px;
760
+ &__heading,
761
+ &__info {
762
+ margin-bottom: 24px;
763
+ }
626
764
 
627
765
  &__wrapper {
628
- margin-top: 40px;
766
+ margin: 24px 0;
629
767
 
630
768
  .your-contact-details__checkbox {
631
769
  @include make-col(6);
@@ -686,8 +824,6 @@
686
824
  &.form-row--locked {
687
825
  @include make-col(12);
688
826
  max-width: 100%;
689
- margin-bottom: 24px;
690
- margin-top: 4px;
691
827
 
692
828
  .form-row__field {
693
829
  .tbx {
@@ -699,7 +835,13 @@
699
835
 
700
836
  &:first-child {
701
837
  .form-row__field {
702
- padding-right: 5px;
838
+ padding-right: 12px;
839
+ }
840
+ }
841
+
842
+ &:nth-child(2) {
843
+ .form-row__field {
844
+ padding-left: 12px;
703
845
  }
704
846
  }
705
847
 
@@ -710,20 +852,37 @@
710
852
  }
711
853
  }
712
854
 
855
+ .click-collect-block {
856
+ &__wrapper {
857
+ margin-bottom: 40px;
858
+ }
859
+ }
860
+
861
+ .oos-block,
862
+ .simplify-collection,
863
+ .delivery-block {
864
+ margin-bottom: 40px;
865
+ }
866
+
713
867
  .right-aside {
714
868
  .summary {
715
869
  .checkout-widget {
716
870
  &.checkout-widget_order-summary {
717
871
  .checkout-widget__total {
718
872
  font-weight: 400;
719
- margin-left: -30px;
720
- margin-right: -30px;
721
873
  }
722
874
  }
723
875
  }
724
876
 
725
- .summary__basked-id {
726
- margin-top: 13px;
877
+ &__payment {
878
+ margin: 0;
879
+
880
+ .footer-checkout-holder {
881
+ background-color: $white;
882
+ border: 1px solid $gray;
883
+ border-top: 0;
884
+ padding: 16px 0;
885
+ }
727
886
  }
728
887
  }
729
888
  }
@@ -735,19 +894,9 @@
735
894
  .delivery-block,
736
895
  .click-collect-block,
737
896
  .billing-payment-block {
738
- &__heading {
739
- margin-bottom: 18px;
740
- }
741
-
742
- &__wrapper {
743
- padding: 25px 15px;
744
- margin: 0 -15px;
745
- }
746
-
747
897
  .order-block {
748
898
  &__time-head {
749
899
  font-size: 1.125rem;
750
- padding: 17px 13px;
751
900
 
752
901
  &-info {
753
902
  font-size: 0.875rem;
@@ -755,20 +904,10 @@
755
904
  }
756
905
  }
757
906
 
758
- &__address {
759
- padding: 20px 15px;
760
- margin: 0;
761
- }
762
-
763
907
  &__product-line {
764
908
  display: flex;
765
909
  flex-direction: column-reverse;
766
910
  align-items: flex-start;
767
-
768
- .show-products,
769
- .hide-products {
770
- padding: 15px 15px 25px;
771
- }
772
911
  }
773
912
 
774
913
  .order-line__product {
@@ -816,22 +955,12 @@
816
955
  }
817
956
  }
818
957
 
819
- .oos-block__wrapper {
820
- margin: 10px -15px;
821
- }
822
-
823
958
  &__wrapper {
824
959
  overflow-x: hidden;
825
960
  }
826
961
  }
827
962
 
828
963
  .add-contact-details {
829
- &__heading {
830
- margin-top: 27px;
831
- font-size: 1.5rem;
832
- line-height: 1.75rem;
833
- }
834
-
835
964
  .marketing-preferences {
836
965
  &__content {
837
966
  .marketing-preferences,
@@ -844,49 +973,12 @@
844
973
  }
845
974
  }
846
975
 
847
- .continue-btn {
848
- margin: 0 -15px;
849
- margin-top: 20px;
850
- }
851
-
852
- .billing-payment-block {
853
- margin-bottom: 0;
854
- }
855
-
856
- .simplify-collection {
857
- margin: 0 -15px;
858
-
859
- &__heading {
860
- margin-top: 27px;
861
- font-size: 1.5rem;
862
- line-height: 1.75rem;
863
- }
864
- }
865
-
866
976
  .right-aside {
867
977
  overflow-x: hidden;
868
978
 
869
979
  .summary {
870
- .checkout-title__title {
871
- margin-bottom: 16px;
872
- font-size: 1.5rem;
873
- line-height: 1.75rem;
874
- }
875
-
876
980
  &__aside {
877
- margin: 0 -15px 10px;
878
- padding: 0;
879
-
880
981
  .checkout-widget {
881
- &_order-summary {
882
- padding: 25px 20px 0;
883
- margin: 0;
884
- }
885
-
886
- &__details {
887
- padding: 0;
888
- }
889
-
890
982
  &__item-bold {
891
983
  .checkout-widget__item-value {
892
984
  font-size: 1.125rem;
@@ -894,10 +986,6 @@
894
986
  }
895
987
  }
896
988
  }
897
-
898
- &__basked-id {
899
- margin: 0 -15px;
900
- }
901
989
  }
902
990
  }
903
991
  }