wickes-css2 2.94.0-order-summary.3 → 2.94.0
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 +0 -1
- 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 +3 -3
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/page/basket-v2.js +0 -2
- package/build/js/page/components/order-summary.js +1 -9
- 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 +1 -1
- package/src/components/checkout-action.hbs +11 -14
- package/src/components/checkout_order-summary-new.hbs +2 -4
- package/src/components/checkout_voucher_large.hbs +16 -20
- package/src/components/order-summary.hbs +56 -91
- package/src/js/components/general/switchVat.js +1 -2
- package/src/js/emulation/basket-data.js +3 -3
- package/src/js/page/basket-v2.js +0 -2
- package/src/js/page/components/order-summary.js +1 -9
- package/src/js/page/components/voucher.js +1 -1
- package/src/layouts/basket-new.hbs +1 -1
- package/src/page_shopping-cart-v2.html +16 -6
- package/src/scss/components/_checkout-action.scss +6 -132
- package/src/scss/components/_order-summary.scss +180 -224
- package/src/scss/helpers/_variables.scss +0 -2
- package/src/scss/pages/_checkout-widget.scss +37 -45
- package/src/scss/pages/page_checkout_delivery-new.scss +10 -110
- package/src/scss/pages/page_shopping-cart-v2.scss +32 -93
- package/build/js/page/basket/summary-mobile.js +0 -17
- package/src/components/checkout-voucher-accordion.hbs +0 -15
- package/src/components/summary-mobile-bar.hbs +0 -17
- package/src/js/page/basket/summary-mobile.js +0 -17
package/package.json
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
<div class="checkout-action__wrapper {{
|
|
1
|
+
<div class="checkout-action__wrapper {{mod}}">
|
|
2
2
|
{{#if head}}
|
|
3
3
|
{{> checkout-section-title title=head}}
|
|
4
4
|
{{/if}}
|
|
5
|
-
<div class="checkout-action
|
|
5
|
+
<div class="checkout-action">
|
|
6
6
|
<div class="checkout-action__section">
|
|
7
7
|
<a href="#" class="btn btn_full btn-action btn-checkout">
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
</span>
|
|
8
|
+
Checkout
|
|
9
|
+
<span class="icon">
|
|
10
|
+
<i class="fas fa-arrow-right"></i>
|
|
11
|
+
</span>
|
|
13
12
|
</a>
|
|
14
13
|
</div>
|
|
15
14
|
<div class="checkout-action__section checkout-widget__basket-block">
|
|
@@ -24,15 +23,13 @@
|
|
|
24
23
|
</div>
|
|
25
24
|
</div>
|
|
26
25
|
</a>
|
|
27
|
-
{{#unless hidePaypalEmail}}
|
|
28
26
|
<div class="pay-pal_container-email">
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
27
|
+
<div class="pay-pal_email-heading">Your PayPal email: </div>
|
|
28
|
+
<div class="pay-pal_email-value">John.doe@gmail.com</div>
|
|
29
|
+
<div class="pay-pal_email-link">
|
|
30
|
+
<a href="#" title="" target="_blank">Don't use this email</a>
|
|
31
|
+
</div>
|
|
34
32
|
</div>
|
|
35
|
-
{{/unless}}
|
|
36
33
|
</div>
|
|
37
34
|
</div>
|
|
38
35
|
</div>
|
|
@@ -12,13 +12,12 @@
|
|
|
12
12
|
{{/each}}
|
|
13
13
|
{{else}}
|
|
14
14
|
{{#each info}}
|
|
15
|
-
<li class="checkout-widget__item {{#if
|
|
15
|
+
<li class="checkout-widget__item {{#if mod}}checkout-widget__item-{{mod}}{{/if}}">
|
|
16
16
|
<span>{{title}}</span>
|
|
17
17
|
<span class="checkout-widget__item-value">{{value}}</span>
|
|
18
18
|
</li>
|
|
19
19
|
{{/each}}
|
|
20
20
|
{{/if}}
|
|
21
|
-
{{> checkout-voucher-accordion id=id}}
|
|
22
21
|
{{#if discounts}}
|
|
23
22
|
<li class="checkout-widget__accordion-wrap checkout-widget__details-discount">
|
|
24
23
|
<span class="checkout-widget__detail-name checkout-widget__detail-name_accordion collapsed" data-toggle="collapse"
|
|
@@ -36,7 +35,6 @@
|
|
|
36
35
|
</li>
|
|
37
36
|
{{/if}}
|
|
38
37
|
</ul>
|
|
39
|
-
{{#unless mobile}}
|
|
40
38
|
<div class="checkout-widget__total">
|
|
41
39
|
{{#if confirmationSummary}}
|
|
42
40
|
<div> {{ confirmation-summary.total.title }}</div>
|
|
@@ -46,5 +44,5 @@
|
|
|
46
44
|
<div class="checkout-widget__total-value">{{ total.value }}</div>
|
|
47
45
|
{{/if}}
|
|
48
46
|
</div>
|
|
49
|
-
|
|
47
|
+
|
|
50
48
|
</div>
|
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
<div class="voucher">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
</div>
|
|
13
|
-
{{#unless voucherApplied}}
|
|
14
|
-
<div class="checkout-widget checkout-voucher voucher-applied checkout-voucher-hide">
|
|
15
|
-
<div class="voucher-applied__inner">
|
|
16
|
-
<span class="icon icon__check">
|
|
17
|
-
<i class="fas fa-check-circle"></i>
|
|
18
|
-
</span>
|
|
19
|
-
<h5 class="heading-5 text-center">Voucher has been applied</h5>
|
|
20
|
-
</div>
|
|
2
|
+
{{#if title}}
|
|
3
|
+
{{> checkout-section-title}}
|
|
4
|
+
{{/if}}
|
|
5
|
+
<div class="checkout-widget checkout-voucher checkout-voucher_fixed">
|
|
6
|
+
<form id="form-checkout-voucher{{id}}">
|
|
7
|
+
{{> form-row id=(concat 'voucher-code' id) label="Voucher" label-hidden="true" required="true" placeholder="Enter code"}}
|
|
8
|
+
<button class="voucher__btn btn btn-secondary btn_full">
|
|
9
|
+
<span class="btn__text">Apply</span>
|
|
10
|
+
</button>
|
|
11
|
+
</form>
|
|
21
12
|
</div>
|
|
22
|
-
|
|
13
|
+
{{#unless voucherApplied}}
|
|
14
|
+
<div class="checkout-widget checkout-voucher voucher-applied checkout-voucher-hide">
|
|
15
|
+
<i class="fas fa-check-circle"></i>
|
|
16
|
+
<h3 class="heading-3 text-center">Voucher has been applied</h3>
|
|
17
|
+
</div>
|
|
18
|
+
{{/unless}}
|
|
23
19
|
</div>
|
|
@@ -1,101 +1,66 @@
|
|
|
1
|
-
{{#if basket}}
|
|
2
|
-
<div class="summary summary--mobile d-lg-none" id="summary-mobile-{{id}}">
|
|
3
|
-
{{> summary-mobile-bar}}
|
|
4
|
-
<div class="collapse summary__aside container" id="checkout-summary-mobile-accordion-{{id}}">
|
|
5
|
-
|
|
6
|
-
{{> checkout_order-summary-new head=title mod=mod id=(concat id "-mobile") mobile="true"}}
|
|
7
|
-
{{#unless basket}}
|
|
8
|
-
<div class="summary__payment footer-checkout">
|
|
9
|
-
{{#unless merged}}
|
|
10
|
-
{{#if paymentsCheckoutV2}}
|
|
11
|
-
<div class="footer-checkout-holder footer-checkout-holder--payways">
|
|
12
|
-
{{> payments-checkout-v2}}
|
|
13
|
-
</div>
|
|
14
|
-
{{else}}
|
|
15
|
-
<div class="footer-checkout-holder">
|
|
16
|
-
{{> payments-checkout clearPayIcon="true"}}
|
|
17
|
-
<span class="footer-checkout__copyright">
|
|
18
|
-
Copyright ©
|
|
19
|
-
<span class="current-year"></span> Wickes.co.uk
|
|
20
|
-
</span>
|
|
21
|
-
</div>
|
|
22
|
-
{{/if}}
|
|
23
|
-
{{else}}
|
|
24
|
-
<div class="summary__payment-message">
|
|
25
|
-
<p class="summary__payment-main">{{vat-message.main}}</p>
|
|
26
|
-
<p class="summary__payment-additional">{{vat-message.additional}}</p>
|
|
27
|
-
</div>
|
|
28
|
-
{{/unless}}
|
|
29
|
-
</div>
|
|
30
|
-
{{/unless}}
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
{{/if}}
|
|
34
|
-
|
|
35
|
-
|
|
36
1
|
<div class="summary {{#if mod}}summary-large{{/if}} {{#if paymentsCheckoutV2 }}summary--payways{{/if}}">
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
2
|
+
{{> checkout-section-title}}
|
|
3
|
+
{{#if mod}}
|
|
4
|
+
<div class="summary__accordion collapsed"
|
|
5
|
+
data-toggle="collapse"
|
|
6
|
+
data-target="#checkout-details-accordion-{{id}}"
|
|
7
|
+
>
|
|
8
|
+
<span class="summary__accordion-text">Show full summary</span>
|
|
9
|
+
<span class="icon summary-icon-small">
|
|
45
10
|
<i class="fas fa-angle-up"></i>
|
|
46
11
|
</span>
|
|
47
|
-
|
|
48
|
-
{{/if}}
|
|
49
|
-
<div class="summary__aside">
|
|
50
|
-
{{> checkout_order-summary-new head=title mod=mod id=id}}
|
|
51
|
-
|
|
52
|
-
{{#if klarna-placement}}
|
|
53
|
-
<div class="summary__klarna">
|
|
54
|
-
<klarna-placement
|
|
55
|
-
data-key="credit-promotion-badge"
|
|
56
|
-
data-locale="en-GB"
|
|
57
|
-
data-purchase-amount="12000"
|
|
58
|
-
></klarna-placement>
|
|
59
|
-
</div>
|
|
12
|
+
</div>
|
|
60
13
|
{{/if}}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
14
|
+
<div class="summary__aside">
|
|
15
|
+
{{> checkout_order-summary-new head=title mod=mod id=id}}
|
|
16
|
+
|
|
17
|
+
{{#if klarna-placement}}
|
|
18
|
+
<div class="summary__klarna">
|
|
19
|
+
<klarna-placement
|
|
20
|
+
data-key="credit-promotion-badge"
|
|
21
|
+
data-locale="en-GB"
|
|
22
|
+
data-purchase-amount="12000"
|
|
23
|
+
></klarna-placement>
|
|
70
24
|
</div>
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
25
|
+
{{/if}}
|
|
26
|
+
{{#if clearpay-placement}}
|
|
27
|
+
{{> clearpay applyMargin=true hasKlarna=true}}
|
|
28
|
+
{{/if}}
|
|
29
|
+
{{#unless basket}}
|
|
30
|
+
<div class="summary__payment footer-checkout">
|
|
31
|
+
{{#unless merged}}
|
|
32
|
+
{{#if paymentsCheckoutV2 }}
|
|
33
|
+
<div class="footer-checkout-holder footer-checkout-holder--payways">
|
|
34
|
+
{{> payments-checkout-v2 }}
|
|
35
|
+
</div>
|
|
36
|
+
{{else}}
|
|
37
|
+
<div class="footer-checkout-holder">
|
|
38
|
+
{{> payments-checkout clearPayIcon="true" }}
|
|
39
|
+
<span class="footer-checkout__copyright">Copyright © <span class="current-year"></span> Wickes.co.uk</span>
|
|
40
|
+
</div>
|
|
41
|
+
{{/if}}
|
|
42
|
+
{{else}}
|
|
43
|
+
<div class="summary__payment-message">
|
|
44
|
+
<p class="summary__payment-main">{{vat-message.main}}</p>
|
|
45
|
+
<p class="summary__payment-additional">{{vat-message.additional}}</p>
|
|
46
|
+
</div>
|
|
47
|
+
{{/unless}}
|
|
75
48
|
</div>
|
|
76
|
-
{{/if}}
|
|
77
|
-
{{else}}
|
|
78
|
-
<div class="summary__payment-message">
|
|
79
|
-
<p class="summary__payment-main">{{vat-message.main}}</p>
|
|
80
|
-
<p class="summary__payment-additional">{{vat-message.additional}}</p>
|
|
81
|
-
</div>
|
|
82
49
|
{{/unless}}
|
|
83
|
-
</div>
|
|
84
|
-
{{/unless}}
|
|
85
|
-
</div>
|
|
86
|
-
|
|
87
|
-
{{#if basket-id}}
|
|
88
|
-
<div class="summary__basked-id">
|
|
89
|
-
Basket ID: <span class="id-number">136589003</span>
|
|
90
50
|
</div>
|
|
91
|
-
{{/if}}
|
|
92
51
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
52
|
+
{{#if basket-id}}
|
|
53
|
+
<div class="summary__basked-id">
|
|
54
|
+
Basket ID: <span class="id-number">136589003</span>
|
|
55
|
+
</div>
|
|
56
|
+
{{/if}}
|
|
57
|
+
|
|
58
|
+
{{#if email}}
|
|
59
|
+
<div class="summary__email">
|
|
60
|
+
<h3 class="heading-3">Email</h3>
|
|
61
|
+
<div class="summary__email-info">
|
|
62
|
+
Examplemail@wickes.co.uk
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
{{/if}}
|
|
101
66
|
</div>
|
|
@@ -43,7 +43,7 @@ Wick.BasketData = (function () {
|
|
|
43
43
|
"status": 400,
|
|
44
44
|
"responseJSON": {
|
|
45
45
|
"globalMessage": {
|
|
46
|
-
"message": "Delivery is already free
|
|
46
|
+
"message": "Delivery is already free. Coupon can’t be applied",
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
},
|
|
@@ -443,8 +443,8 @@ Wick.BasketData = (function () {
|
|
|
443
443
|
"appliedProductPromotions": [],
|
|
444
444
|
"appliedOrderPromotions": [],
|
|
445
445
|
"promotionsInfo": null,
|
|
446
|
-
"clickAndCollectOnly":
|
|
447
|
-
"deliveryItemsQuantity":
|
|
446
|
+
"clickAndCollectOnly": true,
|
|
447
|
+
"deliveryItemsQuantity": 0,
|
|
448
448
|
"pickupItemsQuantity": 2,
|
|
449
449
|
"freeDelivery": false,
|
|
450
450
|
"subtotalWithoutCharity": {"value": 19.0, "formattedValue": "£19.00", "currencyIso": "GBP", "formattedPriceWithoutCurrencySymbol": "19.00"},
|
package/src/js/page/basket-v2.js
CHANGED
|
@@ -29,7 +29,6 @@ import {
|
|
|
29
29
|
} from './basket/session-sync'
|
|
30
30
|
import {displayEnergyEfficiency} from "./basket/display-energy-efficiency";
|
|
31
31
|
import {appendLoader, hideLoader, showLoader} from "./utils/loader";
|
|
32
|
-
import {addClassToSummaryAside} from "./basket/summary-mobile";
|
|
33
32
|
|
|
34
33
|
var Wick = window.Wick || {};
|
|
35
34
|
Wick.BasketPage = {
|
|
@@ -1293,7 +1292,6 @@ $(document).ready(function () {
|
|
|
1293
1292
|
$(Wick.BasketPage.el.voucherRemove).unbind('click');
|
|
1294
1293
|
Wick.BasketPage.paintActionButton();
|
|
1295
1294
|
Wick.BasketPage.updateCart(...Array(3), true);
|
|
1296
|
-
addClassToSummaryAside(Wick.BasketData.updateCart);
|
|
1297
1295
|
setDefaultCharityValue();
|
|
1298
1296
|
if (!$(Wick.BasketPage.el.loader).length) {
|
|
1299
1297
|
appendLoader(Wick.BasketPage.loaderPayload);
|
|
@@ -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'),
|
|
@@ -10,9 +9,9 @@ const osEl = {
|
|
|
10
9
|
itemFree: '.checkout-widget__item-free',
|
|
11
10
|
itemDeficit: '.checkout-widget__item-deficit',
|
|
12
11
|
summaryDelivery: '.checkout-widget__item-delivery',
|
|
13
|
-
summaryMobileTotal: '.summary__mobile-bar-total',
|
|
14
12
|
}
|
|
15
13
|
|
|
14
|
+
|
|
16
15
|
export function updateOrderSummary(data, equalMap, isVoucher) {
|
|
17
16
|
equalMap.forEach((obj) => {
|
|
18
17
|
if ($(obj.item).length) {
|
|
@@ -33,13 +32,9 @@ export function updateOrderSummary(data, equalMap, isVoucher) {
|
|
|
33
32
|
}
|
|
34
33
|
})
|
|
35
34
|
|
|
36
|
-
const value = data.totalPrice?.formattedValue || data.total;
|
|
37
|
-
|
|
38
35
|
updateDiscount(data, isVoucher);
|
|
39
36
|
hideUnusedDeliveryTypeCost(data, isVoucher);
|
|
40
37
|
calculateFreeDelivery(data);
|
|
41
|
-
updateSummaryMobileBarTotal(value);
|
|
42
|
-
addClassToSummaryAside(data);
|
|
43
38
|
}
|
|
44
39
|
|
|
45
40
|
function createCheckoutWidgetItem(obj) {
|
|
@@ -102,6 +97,3 @@ function calculateFreeDelivery(data) {
|
|
|
102
97
|
})
|
|
103
98
|
}
|
|
104
99
|
|
|
105
|
-
function updateSummaryMobileBarTotal(formattedValue) {
|
|
106
|
-
$(osEl.summaryMobileTotal).text(formattedValue);
|
|
107
|
-
}
|
|
@@ -15,7 +15,7 @@ const voucherEl = {
|
|
|
15
15
|
formInvalid: 'form_invalid',
|
|
16
16
|
fieldRow: '.form-row[data-row-required]',
|
|
17
17
|
rowValidationError: 'form-row_validation-error',
|
|
18
|
-
voucherHide: 'checkout-voucher-hide',
|
|
18
|
+
voucherHide: '.checkout-voucher-hide',
|
|
19
19
|
fieldError: '.form-row__error',
|
|
20
20
|
subtotal: '.checkout-widget__item-bold',
|
|
21
21
|
vat: '.checkout-widget__item-vat',
|
|
@@ -19,14 +19,15 @@
|
|
|
19
19
|
{{/content}}
|
|
20
20
|
{{#content "aside"}}
|
|
21
21
|
{{> order-summary
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
shopping-cart-v2.checkout
|
|
23
|
+
id=1
|
|
24
|
+
title="Order Summary"
|
|
25
|
+
basket=true
|
|
26
26
|
}}
|
|
27
27
|
{{> checkout-action mod="mounted"}}
|
|
28
|
-
{{> checkout-action mod="mounted" view="mobile"}}
|
|
29
28
|
{{> summary-payment paymentsCheckoutV2=true}}
|
|
29
|
+
{{> checkout_voucher_large title="Voucher Code" id="1"}}
|
|
30
|
+
{{> checkout-action mod="large checkout-action-payways"}}
|
|
30
31
|
{{/content}}
|
|
31
32
|
{{#content "main"}}
|
|
32
33
|
<input type="hidden" id="SUPPLIER_DELIVERED_7_DAYS" value="<b> Wickes Supplier </b> - Delivery within 7 days">
|
|
@@ -40,7 +41,16 @@
|
|
|
40
41
|
{{/each}}
|
|
41
42
|
</section>
|
|
42
43
|
{{/each}}
|
|
43
|
-
{{> charity-donations-multiple shopping-cart-v2.charityDonationMultiple}}
|
|
44
|
+
{{> charity-donations-multiple shopping-cart-v2.charityDonationMultiple}}
|
|
45
|
+
{{> checkout_voucher_large title="Voucher Code" id="2"}}
|
|
46
|
+
{{> order-summary
|
|
47
|
+
shopping-cart-v2.checkout
|
|
48
|
+
title="Order Summary"
|
|
49
|
+
id=2
|
|
50
|
+
mod="large"
|
|
51
|
+
basket=true
|
|
52
|
+
}}
|
|
53
|
+
{{> checkout-action mod="checkout-action-payways"}}
|
|
44
54
|
{{/content}}
|
|
45
55
|
{{#content "foot" mode="append"}}
|
|
46
56
|
<script defer src="./js/basket.min.js"></script>
|
|
@@ -1,45 +1,16 @@
|
|
|
1
1
|
@import '../helpers/helpers';
|
|
2
2
|
|
|
3
3
|
.checkout-action {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.checkout-text--mixed {
|
|
8
|
-
display: none;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.checkout-text--collect {
|
|
12
|
-
display: inline;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&:not(:has(.checkout-widget__basket-block)) {
|
|
17
|
-
.btn-checkout {
|
|
18
|
-
.checkout-text--mixed {
|
|
19
|
-
display: inline;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.checkout-text--collect {
|
|
23
|
-
display: none;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&:not(:has(.checkout-widget__basket-block)) {
|
|
29
|
-
.btn-checkout {
|
|
30
|
-
margin-bottom: 0;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
4
|
+
margin-top: 5px;
|
|
5
|
+
padding-bottom: 20px;
|
|
6
|
+
border-bottom: 1px solid $gray;
|
|
33
7
|
|
|
34
8
|
& .btn-checkout {
|
|
35
9
|
display: flex;
|
|
36
10
|
justify-content: center;
|
|
37
11
|
align-items: center;
|
|
38
|
-
height:
|
|
39
|
-
margin-bottom:
|
|
40
|
-
font-weight: 500;
|
|
41
|
-
font-size: 16px;
|
|
42
|
-
line-height: 1.5rem;
|
|
12
|
+
height: 40px;
|
|
13
|
+
margin-bottom: 20px;
|
|
43
14
|
|
|
44
15
|
.icon {
|
|
45
16
|
padding-left: 5px;
|
|
@@ -56,21 +27,18 @@
|
|
|
56
27
|
|
|
57
28
|
& .paypal-button {
|
|
58
29
|
padding-top: 0;
|
|
59
|
-
height: 42px;
|
|
60
30
|
}
|
|
61
31
|
|
|
62
32
|
& .paypal-button-text {
|
|
63
33
|
padding-left: 3px;
|
|
64
|
-
font-size:
|
|
34
|
+
font-size: .875rem;
|
|
65
35
|
font-weight: 500;
|
|
66
|
-
line-height: 1rem;
|
|
67
36
|
}
|
|
68
37
|
}
|
|
69
38
|
}
|
|
70
39
|
|
|
71
40
|
&__wrapper {
|
|
72
41
|
order: -2;
|
|
73
|
-
background-color: $white;
|
|
74
42
|
|
|
75
43
|
&.large {
|
|
76
44
|
order: inherit;
|
|
@@ -83,30 +51,6 @@
|
|
|
83
51
|
&.mounted {
|
|
84
52
|
display: none;
|
|
85
53
|
}
|
|
86
|
-
|
|
87
|
-
&.mobile {
|
|
88
|
-
display: block;
|
|
89
|
-
position: static;
|
|
90
|
-
order: 1;
|
|
91
|
-
|
|
92
|
-
.checkout-action {
|
|
93
|
-
margin-top: 20px;
|
|
94
|
-
padding: 0;
|
|
95
|
-
padding-bottom: 20px;
|
|
96
|
-
|
|
97
|
-
.btn-checkout {
|
|
98
|
-
margin-bottom: 20px;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
&:not(:has(.checkout-widget__basket-block)) {
|
|
102
|
-
padding-bottom: 0;
|
|
103
|
-
|
|
104
|
-
.btn-checkout {
|
|
105
|
-
margin-bottom: 0;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
54
|
}
|
|
111
55
|
|
|
112
56
|
&__large {
|
|
@@ -149,66 +93,6 @@
|
|
|
149
93
|
}
|
|
150
94
|
}
|
|
151
95
|
|
|
152
|
-
@include media-breakpoint-up(sm) {
|
|
153
|
-
|
|
154
|
-
.checkout-action {
|
|
155
|
-
margin-top: 0;
|
|
156
|
-
padding: 0;
|
|
157
|
-
border-bottom: 0;
|
|
158
|
-
|
|
159
|
-
&__wrapper {
|
|
160
|
-
padding: 20px 0 24px;
|
|
161
|
-
background-color: $white;
|
|
162
|
-
order: -2;
|
|
163
|
-
|
|
164
|
-
&.large {
|
|
165
|
-
order: inherit;
|
|
166
|
-
|
|
167
|
-
.checkout-action {
|
|
168
|
-
margin-top: 20px;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&.mounted {
|
|
173
|
-
display: none;
|
|
174
|
-
}
|
|
175
|
-
|
|
176
|
-
&.mobile {
|
|
177
|
-
display: block;
|
|
178
|
-
position: static;
|
|
179
|
-
order: 1;
|
|
180
|
-
padding: 0;
|
|
181
|
-
|
|
182
|
-
.checkout-action {
|
|
183
|
-
margin-top: 20px;
|
|
184
|
-
padding: 0;
|
|
185
|
-
padding-bottom: 20px;
|
|
186
|
-
|
|
187
|
-
.btn-checkout {
|
|
188
|
-
margin-bottom: 20px;
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
&:not(:has(.checkout-widget__basket-block)) {
|
|
192
|
-
padding-bottom: 0;
|
|
193
|
-
|
|
194
|
-
.btn-checkout {
|
|
195
|
-
margin-bottom: 0;
|
|
196
|
-
}
|
|
197
|
-
}
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
.checkout-action .btn-checkout {
|
|
204
|
-
margin-bottom: 10px;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.checkout-action--single .btn-checkout {
|
|
208
|
-
margin-bottom: 0;
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
96
|
@include media-breakpoint-up(md) {
|
|
213
97
|
.checkout-action {
|
|
214
98
|
.pay-pal_wrap {
|
|
@@ -221,13 +105,8 @@
|
|
|
221
105
|
|
|
222
106
|
@include media-breakpoint-up(lg) {
|
|
223
107
|
.checkout-action {
|
|
224
|
-
margin-top: 5px;
|
|
225
|
-
padding-bottom: 20px;
|
|
226
|
-
border-bottom: 1px solid $gray;
|
|
227
|
-
|
|
228
108
|
&__wrapper {
|
|
229
109
|
order: inherit;
|
|
230
|
-
position: static;
|
|
231
110
|
|
|
232
111
|
&.large {
|
|
233
112
|
order: -2;
|
|
@@ -236,7 +115,6 @@
|
|
|
236
115
|
|
|
237
116
|
&.mounted {
|
|
238
117
|
display: block;
|
|
239
|
-
padding: 0;
|
|
240
118
|
padding-top: 15px;
|
|
241
119
|
background: $white;
|
|
242
120
|
|
|
@@ -244,10 +122,6 @@
|
|
|
244
122
|
border-bottom: 0;
|
|
245
123
|
}
|
|
246
124
|
}
|
|
247
|
-
|
|
248
|
-
&.mobile {
|
|
249
|
-
display: none;
|
|
250
|
-
}
|
|
251
125
|
}
|
|
252
126
|
|
|
253
127
|
&__large {
|