wickes-css2 2.96.0-develop.3 → 2.96.0-develop.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wickes-css2",
3
- "version": "2.96.0-develop.3",
3
+ "version": "2.96.0-develop.5",
4
4
  "description": "CSS and JS and page templates in use by Wickes",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -108,7 +108,15 @@
108
108
  "branches": [
109
109
  "alt-master",
110
110
  {
111
- "name": "custom-tag/IC-574-meganav-integration",
111
+ "name": "develop",
112
+ "prerelease": true
113
+ },
114
+ {
115
+ "name": "preprod",
116
+ "prerelease": true
117
+ },
118
+ {
119
+ "name": "custom-tag/*",
112
120
  "prerelease": "${name.replace(/^custom-tag\\//g, '')}"
113
121
  }
114
122
  ],
@@ -54,7 +54,10 @@ Wick.VatToggle = {
54
54
  },
55
55
 
56
56
  isToggleVatAvailable: function() {
57
- return window.ACC.app.isVatToggleAvailable;
57
+ //added so that it doesn't trigger in the local environment
58
+ if (!Wick.checkLocalEnv) {
59
+ return window.ACC.app.isVatToggleAvailable;
60
+ }
58
61
  },
59
62
 
60
63
  isOn: function () {
@@ -431,6 +431,442 @@ Wick.BasketData = (function () {
431
431
  "entryGroupNumbers": null,
432
432
  "message": "The Basket quantity of <a href=\"/Blue-Circle-Ready-To-Use-Postcrete---20kg/p/221100\" style=\"text-decoration: underline\">Blue Circle Ready To Use Postcrete - 20kg</a> has been reduced to 74 from 100 due to insufficient stock."
433
433
  },
434
+ initialCartState: {
435
+ "code": "696252000",
436
+ "subTotal": {"value": 19.0, "formattedValue": "£19.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "19.00"},
437
+ "totalTax": {"value": 3.17, "formattedValue": "£3.17", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "3.17"},
438
+ "deliveryCost": {"value": 0.0, "formattedValue": "£0.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "0.00"},
439
+ "charityPrice": {"value": 0.0, "formattedValue": "£0.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "0.00"},
440
+ "totalDiscounts": {"value": 0.0, "formattedValue": "£0.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "0.00"},
441
+ "totalPrice": {"value": 19.0, "formattedValue": "£19.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "19.00"},
442
+ "potentialProductPromotions": [],
443
+ "appliedProductPromotions": [],
444
+ "appliedOrderPromotions": [],
445
+ "promotionsInfo": null,
446
+ "clickAndCollectOnly": true,
447
+ "deliveryItemsQuantity": 1,
448
+ "pickupItemsQuantity": 2,
449
+ "freeDelivery": false,
450
+ "subtotalWithoutCharity": {"value": 19.0, "formattedValue": "£19.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "19.00"},
451
+ "messageForFreeDelivery": null,
452
+ "pickupOrderGroups": [
453
+ {
454
+ "entries": [
455
+ {
456
+ "entryNumber": 0,
457
+ "quantity": 2,
458
+ "basePrice": {
459
+ "value": 100.0,
460
+ "formattedValue": "£100",
461
+ "currencyIso": "GBP",
462
+ "formattedPriceWithoutCurrencySymbol": "100"
463
+ },
464
+ "basePriceExcVat": {
465
+ "value": 99,
466
+ "formattedValue": "£99",
467
+ "currencyIso": "GBP",
468
+ "formattedPriceWithoutCurrencySymbol": "99"
469
+ },
470
+ "product": {
471
+ "code": "221100",
472
+ "name": "Blue Circle Ready To Use Postcrete - 20kg",
473
+ "url": "/Blue-Circle-Ready-To-Use-Postcrete---20kg/p/221100",
474
+ "minOrderQuantity": 0,
475
+ "maxOrderQuantity": null,
476
+ "fulfillmentAttributes": {
477
+ "type": "STANDARD_STORE_DELIVERED",
478
+ "leadTimeDays": 1,
479
+ "supplierDelivered": false
480
+ },
481
+ "price": {
482
+ "value": 100.0,
483
+ "formattedValue": "£100",
484
+ "currencyIso": "GBP",
485
+ "formattedPriceWithoutCurrencySymbol": "100"
486
+ },
487
+ "categoryPath": "Products/Building Materials/Cement & Aggregates/Cement",
488
+ "brandName": "Blue Circle",
489
+ "categories": [
490
+ {
491
+ "code": "1000208",
492
+ "name": "Cement"
493
+ },
494
+ {
495
+ "code": "1000211",
496
+ "name": "Concrete"
497
+ }
498
+ ],
499
+ "image": {
500
+ "url": "//media.dev.wickes.co.uk/is/image/wickes/B3182_221100_00?$normal$",
501
+ "altText": "Blue Circle Ready To Use Postcrete - 20kg"
502
+ },
503
+ "pricePerSqm": 0.0,
504
+ "installationProduct": false
505
+ },
506
+ "updateable": true,
507
+ "deliveryPointOfService": {
508
+ "name": "8901",
509
+ "description": "WX Test Store 12"
510
+ },
511
+ "charity": false,
512
+ "itemTotalWithoutDiscount": {
513
+ "value": 100.0,
514
+ "formattedValue": "£100",
515
+ "currencyIso": "GBP",
516
+ "formattedPriceWithoutCurrencySymbol": "100"
517
+ },
518
+ "itemTotalWithoutDiscountExcVat": {
519
+ "value": 99,
520
+ "formattedValue": "£99",
521
+ "currencyIso": "GBP",
522
+ "formattedPriceWithoutCurrencySymbol": "99"
523
+ },
524
+ "orderFulfilmentControls": {
525
+ "availableForDelivery": true,
526
+ "availableForCollection": true,
527
+ "availableForWickesFulfilment": false
528
+ }
529
+ }
530
+ ],
531
+ "quantity": 1,
532
+ "totalPrice": {
533
+ "value": 100.0,
534
+ "formattedValue": "£100.00",
535
+ "currencyIso": "GBP",
536
+ "formattedPriceWithoutCurrencySymbol": "100.00"
537
+ }
538
+ },
539
+ {
540
+ "entries": [
541
+ {
542
+ "entryNumber": 1,
543
+ "quantity": 2,
544
+ "basePrice": {
545
+ "value": 24.0,
546
+ "formattedValue": "£24",
547
+ "currencyIso": "GBP",
548
+ "formattedPriceWithoutCurrencySymbol": "24"
549
+ },
550
+ "basePriceExcVat": {
551
+ "value": 23,
552
+ "formattedValue": "£23",
553
+ "currencyIso": "GBP",
554
+ "formattedPriceWithoutCurrencySymbol": "23"
555
+ },
556
+ "product": {
557
+ "code": "109450",
558
+ "name": "Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²",
559
+ "url": "/Knauf-Insulation-Space-Standard-Top-Up-170mm-Loft-Roll---6-47m%C2%B2/p/109450",
560
+ "minOrderQuantity": 0,
561
+ "maxOrderQuantity": null,
562
+ "fulfillmentAttributes": {
563
+ "type": "HOURLY_STANDARD",
564
+ "leadTimeDays": 1,
565
+ "supplierDelivered": false
566
+ },
567
+ "price": {
568
+ "value": 24.0,
569
+ "formattedValue": "£24",
570
+ "currencyIso": "GBP",
571
+ "formattedPriceWithoutCurrencySymbol": "24"
572
+ },
573
+ "categoryPath": "Products/Building Materials/Insulation/Loft Insulation",
574
+ "brandName": "Knauf Insulation",
575
+ "categories": [
576
+ {
577
+ "code": "1000270",
578
+ "name": "Loft Insulation"
579
+ }
580
+ ],
581
+ "image": {
582
+ "url": "//media.wickes.co.uk/is/image/wickes/O0032_109450_00?$normal$",
583
+ "altText": "Knauf Insulation Space Standard Top Up 170mm Loft Roll - 6.47m²"
584
+ },
585
+ "pricePerSqm": 0.0,
586
+ "installationProduct": false
587
+ },
588
+ "updateable": true,
589
+ "deliveryPointOfService": {
590
+ "name": "8397",
591
+ "description": "WATFORD"
592
+ },
593
+ "charity": false,
594
+ "itemTotalWithoutDiscount": {
595
+ "value": 24.0,
596
+ "formattedValue": "£24",
597
+ "currencyIso": "GBP",
598
+ "formattedPriceWithoutCurrencySymbol": "24"
599
+ },
600
+ "itemTotalWithoutDiscountExcVat": {
601
+ "value": 23,
602
+ "formattedValue": "£23",
603
+ "currencyIso": "GBP",
604
+ "formattedPriceWithoutCurrencySymbol": "23"
605
+ },
606
+ "orderFulfilmentControls": {
607
+ "availableForDelivery": true,
608
+ "availableForCollection": true,
609
+ "availableForWickesFulfilment": false
610
+ }
611
+ },
612
+ {
613
+ "entryNumber": 2,
614
+ "quantity": 2,
615
+ "basePrice": {
616
+ "value": 0.0,
617
+ "formattedValue": "£0",
618
+ "currencyIso": "GBP",
619
+ "formattedPriceWithoutCurrencySymbol": "0"
620
+ },
621
+ "basePriceExcVat": {
622
+ "value": 0,
623
+ "formattedValue": "£0",
624
+ "currencyIso": "GBP",
625
+ "formattedPriceWithoutCurrencySymbol": "0"
626
+ },
627
+ "product": {
628
+ "code": "103123",
629
+ "name": "Wickes Passage Door Knob Set - Brass 1 Pair",
630
+ "url": "/Wickes-Passage-Door-Knob-Set---Brass-1-Pair/p/103123",
631
+ "minOrderQuantity": 0,
632
+ "maxOrderQuantity": null,
633
+ "fulfillmentAttributes": {
634
+ "type": "STANDARD",
635
+ "leadTimeDays": 1,
636
+ "supplierDelivered": false
637
+ },
638
+ "price": {
639
+ "value": 9.5,
640
+ "formattedValue": "£9.50",
641
+ "currencyIso": "GBP",
642
+ "formattedPriceWithoutCurrencySymbol": "9.50"
643
+ },
644
+ "categoryPath": "Products/Clearance",
645
+ "brandName": "Wickes",
646
+ "categories": [
647
+ {
648
+ "code": "1072000",
649
+ "name": "Clearance"
650
+ },
651
+ {
652
+ "code": "1065002",
653
+ "name": "Security & Hardware Clearance"
654
+ },
655
+ {
656
+ "code": "1022012",
657
+ "name": "Doors & Windows Clearance"
658
+ },
659
+ {
660
+ "code": "1008007",
661
+ "name": "Door Handles"
662
+ }
663
+ ],
664
+ "image": {
665
+ "url": "//media.wickes.co.uk/is/image/wickes/T3274_103123_00?$normal$",
666
+ "altText": "Wickes Passage Door Knob Set - Brass 1 Pair"
667
+ },
668
+ "pricePerSqm": 0.0,
669
+ "installationProduct": false
670
+ },
671
+ "updateable": false,
672
+ "deliveryPointOfService": null,
673
+ "charity": false,
674
+ "itemTotalWithoutDiscount": {
675
+ "value": 0.0,
676
+ "formattedValue": "£0",
677
+ "currencyIso": "GBP",
678
+ "formattedPriceWithoutCurrencySymbol": "0"
679
+ },
680
+ "itemTotalWithoutDiscountExcVat": {
681
+ "value": 0,
682
+ "formattedValue": "£0",
683
+ "currencyIso": "GBP",
684
+ "formattedPriceWithoutCurrencySymbol": "0"
685
+ },
686
+ "orderFulfilmentControls": {
687
+ "availableForDelivery": true,
688
+ "availableForCollection": true,
689
+ "availableForWickesFulfilment": false
690
+ }
691
+ }
692
+ ],
693
+ "quantity": 2,
694
+ "totalPrice": {
695
+ "value": 40.5,
696
+ "formattedValue": "£40.50",
697
+ "currencyIso": "GBP",
698
+ "formattedPriceWithoutCurrencySymbol": "40.50"
699
+ }
700
+ }
701
+ ],
702
+ "deliveryOrderGroups": [
703
+ {
704
+ "entries": [
705
+ {
706
+ "entryNumber": 3,
707
+ "quantity": 3,
708
+ "basePrice": {
709
+ "value": 25.0,
710
+ "formattedValue": "£25",
711
+ "currencyIso": "GBP",
712
+ "formattedPriceWithoutCurrencySymbol": "25"
713
+ },
714
+ "basePriceExcVat": {
715
+ "value": 24,
716
+ "formattedValue": "£24",
717
+ "currencyIso": "GBP",
718
+ "formattedPriceWithoutCurrencySymbol": "24"
719
+ },
720
+ "product": {
721
+ "code": "109451",
722
+ "name": "Knauf Insulation Super Top Up 200mm Loft Roll - 5.61m²",
723
+ "url": "/Knauf-Insulation-Super-Top-Up-200mm-Loft-Roll---5-61m%C2%B2/p/109451",
724
+ "minOrderQuantity": 0,
725
+ "maxOrderQuantity": null,
726
+ "fulfillmentAttributes": {
727
+ "type": "STANDARD",
728
+ "leadTimeDays": 1,
729
+ "supplierDelivered": false
730
+ },
731
+ "price": {
732
+ "value": 25.0,
733
+ "formattedValue": "£25",
734
+ "currencyIso": "GBP",
735
+ "formattedPriceWithoutCurrencySymbol": "25"
736
+ },
737
+ "categoryPath": "Products/Building Materials/Insulation/Loft Insulation",
738
+ "brandName": "Knauf Insulation",
739
+ "categories": [
740
+ {
741
+ "code": "1000270",
742
+ "name": "Loft Insulation"
743
+ }
744
+ ],
745
+ "image": {
746
+ "url": "//media.wickes.co.uk/is/image/wickes/O0032_109451_00?$normal$",
747
+ "altText": "Knauf Insulation Super Top Up 200mm Loft Roll - 5.61m²"
748
+ },
749
+ "pricePerSqm": {
750
+ "value": 17,
751
+ "formattedValue": "£17",
752
+ "currencyIso": "GBP",
753
+ "formattedPriceWithoutCurrencySymbol": "17"
754
+ },
755
+ "pricePerSqmExcVat": {
756
+ "value": 16,
757
+ "formattedValue": "£16",
758
+ "currencyIso": "GBP",
759
+ "formattedPriceWithoutCurrencySymbol": "16"
760
+ },
761
+ "installationProduct": true
762
+ },
763
+ "updateable": true,
764
+ "deliveryPointOfService": null,
765
+ "charity": false,
766
+ "itemTotalWithoutDiscount": {
767
+ "value": 25.0,
768
+ "formattedValue": "£25",
769
+ "currencyIso": "GBP",
770
+ "formattedPriceWithoutCurrencySymbol": "25"
771
+ },
772
+ "itemTotalWithoutDiscountExcVat": {
773
+ "value": 24,
774
+ "formattedValue": "£24",
775
+ "currencyIso": "GBP",
776
+ "formattedPriceWithoutCurrencySymbol": "24"
777
+ },
778
+ "orderFulfilmentControls": {
779
+ "availableForDelivery": true,
780
+ "availableForCollection": true,
781
+ "availableForWickesFulfilment": false
782
+ }
783
+ },
784
+ {
785
+ "entryNumber": 4,
786
+ "quantity": 1,
787
+ "basePrice": {
788
+ "value": 25.0,
789
+ "formattedValue": "£25",
790
+ "currencyIso": "GBP",
791
+ "formattedPriceWithoutCurrencySymbol": "25"
792
+ },
793
+ "basePriceExcVat": {
794
+ "value": 24,
795
+ "formattedValue": "£24",
796
+ "currencyIso": "GBP",
797
+ "formattedPriceWithoutCurrencySymbol": "24"
798
+ },
799
+ "product": {
800
+ "code": "123143",
801
+ "name": "6 Wickes General Purpose Claw test",
802
+ "url": "/Knauf-Insulation-Super-Top-Up-200mm-Loft-Roll---5-61m%C2%B2/p/109451",
803
+ "minOrderQuantity": 0,
804
+ "maxOrderQuantity": null,
805
+ "fulfillmentAttributes": {
806
+ "type": "STANDARD",
807
+ "leadTimeDays": 1,
808
+ "supplierDelivered": false
809
+ },
810
+ "price": {
811
+ "value": 25.0,
812
+ "formattedValue": "£25",
813
+ "currencyIso": "GBP",
814
+ "formattedPriceWithoutCurrencySymbol": "25"
815
+ },
816
+ "categoryPath": "Products/Building Materials/Insulation/Loft Insulation",
817
+ "brandName": "Knauf Insulation",
818
+ "categories": [
819
+ {
820
+ "code": "1000270",
821
+ "name": "Loft Insulation"
822
+ }
823
+ ],
824
+ "image": {
825
+ "url": "//media.wickes.co.uk/is/image/wickes/O0032_109451_00?$normal$",
826
+ "altText": "Knauf Insulation Super Top Up 200mm Loft Roll - 5.61m²"
827
+ },
828
+ "pricePerSqm": 0.0,
829
+ "installationProduct": false
830
+ },
831
+ "updateable": true,
832
+ "deliveryPointOfService": null,
833
+ "charity": false,
834
+ "itemTotalWithoutDiscount": {
835
+ "value": 25.0,
836
+ "formattedValue": "£25",
837
+ "currencyIso": "GBP",
838
+ "formattedPriceWithoutCurrencySymbol": "25"
839
+ },
840
+ "itemTotalWithoutDiscountExcVat": {
841
+ "value": 24,
842
+ "formattedValue": "£24",
843
+ "currencyIso": "GBP",
844
+ "formattedPriceWithoutCurrencySymbol": "24"
845
+ },
846
+ "orderFulfilmentControls": {
847
+ "availableForDelivery": true,
848
+ "availableForCollection": true,
849
+ "availableForWickesFulfilment": false
850
+ }
851
+ }
852
+ ],
853
+ "quantity": null,
854
+ "totalPrice": {
855
+ "value": 25.0,
856
+ "formattedValue": "£25.00",
857
+ "currencyIso": "GBP",
858
+ "formattedPriceWithoutCurrencySymbol": "25.00"
859
+ }
860
+ }
861
+ ],
862
+ "paymentInfos": {"payPalEnabled": true, "payPalPaymentInfo": {"id": 123, "payer": "John.doe123@gmail.com"}},
863
+ "payPalEnabled": true,
864
+ "deliveryAddress": null,
865
+ "pickupUniqueItemsNumber": 3,
866
+ "deliveryUniqueItemsNumber": 1,
867
+ "totalUnitCount": 2,
868
+ "orderType": "CC"
869
+ },
434
870
  updateCart: {
435
871
  "code": "696252000",
436
872
  "subTotal": {"value": 19.0, "formattedValue": "£19.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "19.00"},
@@ -385,9 +385,9 @@ Wick.BasketPage = {
385
385
  callAction(payload, actionCallback, info)
386
386
  } else {
387
387
  if (initial) {
388
- Wick.BasketPage.getCartEntries(Wick.BasketData.updateCart);
389
- addClassToSummaryAside(Wick.BasketData.updateCart);
390
- const initialTotalPrice = Wick.BasketData.updateCart.totalPrice.value;
388
+ Wick.BasketPage.getCartEntries(Wick.BasketData.initialCartState);
389
+ addClassToSummaryAside(Wick.BasketData.initialCartState);
390
+ const initialTotalPrice = Wick.BasketData.initialCartState.totalPrice.value;
391
391
  updateClearpayVisibility(initialTotalPrice);
392
392
  } else {
393
393
  updateBasketDataQuantity();
@@ -1,5 +1,4 @@
1
1
  import {updateDiscount} from "./discounts";
2
- import {addClassToSummaryAside} from "../basket/summary-mobile";
3
2
 
4
3
  const osEl = {
5
4
  $summarySection: $('.summary'),
@@ -22,8 +22,8 @@ export function initStickyObserver(observedElements, stickyElements, collapseSel
22
22
  if ('IntersectionObserver' in window) {
23
23
  io = new IntersectionObserver(
24
24
  entries => {
25
- const anyInView = entries.some(e => e.isIntersecting);
26
- toggle(anyInView);
25
+ const shouldBeHidden = entries.some(e => e.isIntersecting || e.boundingClientRect.y < 0);
26
+ toggle(shouldBeHidden);
27
27
  },
28
28
  { rootMargin: '0px 0px -20% 0px', threshold: 0 }
29
29
  );
@@ -31,15 +31,15 @@ export function initStickyObserver(observedElements, stickyElements, collapseSel
31
31
  } else {
32
32
  // Fallback for older browsers
33
33
  function check() {
34
- let anyInView = false;
34
+ let anyInViewOrAbove = false;
35
35
  $observed.each(function () {
36
36
  const r = this.getBoundingClientRect();
37
- if (r.top < window.innerHeight * 0.8 && r.bottom > 0) {
38
- anyInView = true;
39
- return false; // break
37
+ if ((r.top < window.innerHeight * 0.8 && r.bottom > 0) || r.bottom < 0) {
38
+ anyInViewOrAbove = true;
39
+ return false;
40
40
  }
41
41
  });
42
- toggle(anyInView);
42
+ toggle(anyInViewOrAbove);
43
43
  }
44
44
  $(window)
45
45
  .off('scroll.sticky resize.sticky')
@@ -33,6 +33,38 @@
33
33
  height: auto;
34
34
  }
35
35
  }
36
+
37
+ body:has(.summary__aside) & {
38
+ bottom: 193px !important;
39
+
40
+ &.single-button {
41
+ bottom: 141px !important;
42
+ }
43
+ }
44
+
45
+ body.summary-hidden & {
46
+ bottom: 16px !important;
47
+ right: 16px !important;
48
+ }
49
+ }
50
+
51
+ @include media-breakpoint-up(sm) {
52
+ .back-to-top {
53
+ body:has(.summary__aside) & {
54
+ bottom: 198px !important;
55
+
56
+ &.single-button {
57
+ bottom: 146px !important;
58
+ }
59
+ }
60
+
61
+ // Required to resolve a specificity tie. By coming last, this 'hidden'
62
+ // state correctly overrides the ':has' state above.
63
+ body.summary-hidden & {
64
+ bottom: 16px !important;
65
+ right: 16px !important;
66
+ }
67
+ }
36
68
  }
37
69
 
38
70
  @include media-breakpoint-up(lg) {
@@ -43,5 +75,18 @@
43
75
  &--with-chat {
44
76
  bottom: 120px !important;
45
77
  }
78
+
79
+ body:has(.summary__aside):not(.summary-hidden) & {
80
+ &,
81
+ &.single-button {
82
+ right: 48px !important;
83
+ bottom: 24px !important;
84
+ }
85
+ }
86
+
87
+ body.summary-hidden & {
88
+ right: 48px !important;
89
+ bottom: 24px !important;
90
+ }
46
91
  }
47
92
  }
@@ -3,11 +3,6 @@
3
3
  $android-offset: 60px !default;
4
4
  $ios-notch-offset: 80px !default;
5
5
 
6
- body.summary-hidden .back-to-top {
7
- bottom: 20px !important;
8
- right: 16px !important;
9
- }
10
-
11
6
  .summary {
12
7
  &__aside {
13
8
  padding: 15px;
@@ -294,14 +289,6 @@ body.summary-hidden .back-to-top {
294
289
  transition: transform .3s ease;
295
290
  }
296
291
 
297
- .back-to-top {
298
- bottom: 193px !important;
299
- }
300
-
301
- .back-to-top.single-button {
302
- bottom: 141px !important;
303
- }
304
-
305
292
  .summary:not(.summary--mobile) {
306
293
  .summary__aside {
307
294
  padding: 20px 20px 0;
@@ -330,14 +317,6 @@ body.summary-hidden .back-to-top {
330
317
  }
331
318
  }
332
319
  }
333
-
334
- .back-to-top {
335
- bottom: 198px !important;
336
- }
337
-
338
- .back-to-top.single-button {
339
- bottom: 146px !important;
340
- }
341
320
  }
342
321
 
343
322
  @include media-breakpoint-up(md) {
@@ -421,16 +400,6 @@ body.summary-hidden .back-to-top {
421
400
  box-shadow: none;
422
401
  }
423
402
 
424
- .back-to-top {
425
- right: 48px !important;
426
- bottom: 24px !important;
427
- }
428
-
429
- .back-to-top.single-button {
430
- right: 48px !important;
431
- bottom: 24px !important;
432
- }
433
-
434
403
  .basket {
435
404
  .summary {
436
405
  & .summary__payment {
@@ -7,7 +7,7 @@
7
7
  opacity: 0;
8
8
  pointer-events: none;
9
9
  will-change: transform, opacity;
10
- transition: transform 0.5s ease, opacity 0.5s ease;
10
+ transition: transform .5s ease, opacity .5s ease;
11
11
 
12
12
  &:not(.is-hidden) {
13
13
  transform: translateY(0);
@@ -18,8 +18,7 @@
18
18
  &.is-hidden {
19
19
  transform: translateY(100%);
20
20
  opacity: 0;
21
- transition: transform 0.5s ease 0s,
22
- opacity 0.5s ease 5s;
21
+ transition: transform .5s ease 0s, opacity .5s ease 5s;
23
22
  pointer-events: none;
24
23
  }
25
24
  }