wickes-css2 2.98.0-develop.7 → 2.98.0-develop.9
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 +3 -3
- package/build/css/category-main.css +1 -1
- package/build/css/components/checkout-payment-details-v2.css +1 -1
- package/build/css/components/energy-efficiency.css +1 -1
- package/build/css/components/global-search.css +1 -1
- package/build/css/components/legal-info.css +1 -1
- package/build/css/components/loader.css +1 -1
- package/build/css/components/price-block-v2-critical.css +1 -1
- package/build/css/components/price-block-v2.css +1 -1
- package/build/css/homepage-main.css +1 -1
- package/build/css/main.css +1 -1
- package/build/css/my-account-main-v2.css +1 -1
- package/build/css/my-account-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/my-account-v2.css +1 -1
- package/build/css/pages/page_home.css +1 -1
- package/build/css/pages/page_my-order.css +1 -1
- package/build/css/pages/page_my-orders.css +1 -1
- package/build/css/pages/page_quiz.css +1 -1
- package/build/css/pages/page_track-my-order.css +1 -1
- package/build/css/pages/page_wismo-details.css +1 -1
- package/build/css/pdp-main-before-combine.css +1 -1
- package/build/css/pdp-main-critical.css +1 -1
- package/build/css/pdp-main-non-critical.css +1 -1
- package/build/css/pdp-main.css +1 -1
- package/build/css/plp-main.css +1 -1
- package/build/css/store-locator-main.css +1 -1
- package/build/img/billie-logo.svg +4 -0
- package/build/img/billie-modal.svg +4 -0
- package/build/img/billie-pdp.svg +11 -0
- package/build/img/billie-spinner.svg +5 -0
- package/build/img/billie.svg +4 -0
- package/build/img/calm-primary-logo.png +0 -0
- package/build/img/payment/checkout/billie.svg +4 -0
- package/build/img/payment/footer/billie.svg +4 -0
- package/build/js/basket.min.js +2 -2
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +1 -1
- package/build/js/emulation.min.js +55 -131
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/merged-checkout.min.js +1 -1
- package/build/js/page/basket-v2.js +16 -7
- package/build/js/page/billie-business-type.js +34 -0
- package/build/js/page/checkout-payment-details.js +8 -0
- package/build/js/page/components/charity.js +58 -43
- package/build/js/page/components/modal-observer.js +51 -0
- package/build/js/page/pdp.js +1 -4
- 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 -2
- package/src/components/address-billie.hbs +42 -0
- package/src/components/address-postcode-look-up.hbs +2 -2
- package/src/components/basket-charity-donations-new.hbs +40 -0
- package/src/components/billie-modal.hbs +41 -0
- package/src/components/billie-online-messaging.hbs +14 -0
- package/src/components/checkout-edit-billing-address.hbs +20 -6
- package/src/components/checkout-payment-details-v2.hbs +94 -55
- package/src/components/checkout-payment-info-block.hbs +49 -0
- package/src/components/checkout-payment-option.hbs +40 -0
- package/src/components/checkout_order-summary-new.hbs +13 -18
- package/src/components/checkout_payment-new.hbs +10 -1
- package/src/components/donation-cart-new.hbs +38 -0
- package/src/components/header-minicart.hbs +3 -3
- package/src/components/legal-info.hbs +25 -22
- package/src/components/modal.hbs +4 -1
- package/src/components/my-account/active-orders/list-orders.hbs +1 -1
- package/src/components/my-account/active-orders/order.hbs +2 -0
- package/src/components/my-account/active-orders/payment-status.hbs +17 -0
- package/src/components/my-account/payment-status.hbs +19 -0
- package/src/components/my-account/saving-totaliser.hbs +52 -0
- package/src/components/order-summary.hbs +3 -0
- package/src/components/payment-loader.hbs +59 -21
- package/src/components/payments-checkout-v2.hbs +12 -6
- package/src/components/payments-checkout.hbs +6 -0
- package/src/components/payments.hbs +10 -4
- package/src/components/pdp-price-actions.hbs +1 -1
- package/src/components/price-block-v2.hbs +14 -8
- package/src/components/track-my-order-info.hbs +3 -1
- package/src/components/wismo-payment.hbs +16 -0
- package/src/data/data_confirmation-summary.json +3 -3
- package/src/data/data_latest-offers.json +1 -1
- package/src/data/data_mini-basket.json +6 -80
- package/src/data/data_page-category.json +1 -2
- package/src/data/data_page-merge-basket.json +1 -1
- package/src/data/data_shopping-cart-v2.json +51 -0
- package/src/data/data_store-locator-v2.json +1 -1
- package/src/data/data_wismo.json +53 -0
- package/src/data/my-account/data_my-account.json +57 -0
- package/src/elements/radiobutton.hbs +7 -0
- package/src/img/billie-logo.svg +4 -0
- package/src/img/billie-modal.svg +4 -0
- package/src/img/billie-pdp.svg +11 -0
- package/src/img/billie-spinner.svg +5 -0
- package/src/img/billie.svg +4 -0
- package/src/img/calm-primary-logo.png +0 -0
- package/src/img/payment/checkout/billie.svg +4 -0
- package/src/img/payment/footer/billie.svg +4 -0
- package/src/js/components/general/text-clamp.js +1 -2
- package/src/js/emulation/big-wins.js +29 -29
- package/src/js/emulation/mock.js +1 -60
- package/src/js/emulation/paymentLoader.js +22 -11
- package/src/js/emulation/popover-mini-basket.js +2 -2
- package/src/js/page/basket-v2.js +16 -7
- package/src/js/page/billie-business-type.js +34 -0
- package/src/js/page/checkout-payment-details.js +8 -0
- package/src/js/page/components/charity.js +58 -43
- package/src/js/page/components/modal-observer.js +51 -0
- package/src/js/page/pdp.js +1 -4
- package/src/layouts/base.hbs +0 -6
- package/src/layouts/my-account-v2.hbs +0 -7
- package/src/page_basket-billie.html +54 -0
- package/src/page_checkout_confirmation-billie.html +339 -0
- package/src/page_checkout_delivery-address-customer-journey.html +2 -2
- package/src/page_my-account-trade-pro-components.html +27 -0
- package/src/page_my-account-trade-pro.html +7 -0
- package/src/page_my-account.html +1 -0
- package/src/page_my-order.html +1 -1
- package/src/page_payment-details-with-billie.html +67 -0
- package/src/page_product-details-billie.html +87 -0
- package/src/page_product-details-saved-pl.html +13 -16
- package/src/page_product-details-with-global-search-v2.html +0 -1
- package/src/page_shopping-cart-v2.html +4 -3
- package/src/page_wismo-details.html +2 -2
- package/src/partials/head.hbs +1 -5
- package/src/scss/common/_app.scss +0 -1
- package/src/scss/common/_elements.scss +4 -0
- package/src/scss/common/_scroll-disable.scss +2 -4
- package/src/scss/components/_billie-modal.scss +181 -0
- package/src/scss/components/_billie-online-messaging.scss +46 -0
- package/src/scss/components/_charity-donations.scss +114 -186
- package/src/scss/components/_donation-cart-new.scss +192 -0
- package/src/scss/components/_payments-checkout.scss +2 -1
- package/src/scss/components/_payments-v2.scss +8 -0
- package/src/scss/components/_tooltip.scss +19 -0
- package/src/scss/components/checkout-payment-details-v2.scss +237 -0
- package/src/scss/components/legal-info.scss +0 -61
- package/src/scss/components/loader.scss +8 -0
- package/src/scss/components/my-account/_active-orders.scss +2 -0
- package/src/scss/components/my-account/_payment-status.scss +84 -0
- package/src/scss/components/my-account/_saving-totaliser.scss +175 -0
- package/src/scss/components/price-block-v2-critical.scss +4 -0
- package/src/scss/components/price-block-v2.scss +4 -0
- package/src/scss/globals/_global-components.scss +0 -1
- package/src/scss/helpers/_mixins.scss +0 -8
- package/src/scss/helpers/_variables.scss +0 -1
- package/src/scss/homepage-main.scss +0 -1
- package/src/scss/main.scss +0 -1
- package/src/scss/pages/_checkout-confirmation-new.scss +10 -3
- package/src/scss/pages/checkout-new.scss +3 -0
- package/src/scss/pages/my-account-v2.scss +3 -0
- package/src/scss/pages/page_track-my-order.scss +0 -21
- package/src/scss/pages/page_wismo-details.scss +1 -0
- package/src/scss/partials/_header-critical.scss +0 -14
- package/src/scss/partials/_header.scss +0 -14
- package/src/scss/pdp-main-critical.scss +1 -0
- package/src/scss/pdp-main.scss +2 -0
- package/src/sitemap.html +32 -2
- package/src/components/mini-basket/mini-basket-empty.hbs +0 -17
- package/src/components/mini-basket/mini-basket.hbs +0 -39
- package/src/components/mini-basket/product-item.hbs +0 -24
- package/src/js/components/general/backdrop.js +0 -23
- package/src/js/components/general/cart-slider.js +0 -16
- package/src/js/components/general/create-popup-slider.js +0 -196
- package/src/js/components/general/mini-basket-slider.js +0 -8
- package/src/js/emulation/custom-slider-emulation.js +0 -28
- package/src/page_shopping-cart-charity.html +0 -56
- package/src/scss/components/_custom-slider.scss +0 -541
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{{#extend
|
|
2
|
+
"my-account-v2"
|
|
3
|
+
iconUserClass=my_account.tradepro.icons.tradeproID
|
|
4
|
+
dataBreadcrumbs=my_account.tradepro.breadcrumbs
|
|
5
|
+
pageClass="page_my-account_new"
|
|
6
|
+
title=my_account.tradepro.title
|
|
7
|
+
pageMyAcc=true
|
|
8
|
+
myAccV2=true
|
|
9
|
+
isLoggedIn=true
|
|
10
|
+
mainClass="my-account"
|
|
11
|
+
switch-vat=true
|
|
12
|
+
}}
|
|
13
|
+
{{#content "main"}}
|
|
14
|
+
<div class="container">
|
|
15
|
+
<div class="row">
|
|
16
|
+
<div class="col-12">
|
|
17
|
+
{{> my-account/saving-totaliser this-last-year=true}}
|
|
18
|
+
{{> my-account/saving-totaliser this-year-only=true}}
|
|
19
|
+
{{> my-account/saving-totaliser no-savings=true}}
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
{{/content}}
|
|
24
|
+
{{#content "foot" mode="append"}}
|
|
25
|
+
<script defer src="./js/my-account.min.js"></script>
|
|
26
|
+
{{/content}}
|
|
27
|
+
{{/extend}}
|
|
@@ -69,6 +69,13 @@
|
|
|
69
69
|
</div>
|
|
70
70
|
</div>
|
|
71
71
|
</div>
|
|
72
|
+
<div class="container">
|
|
73
|
+
<div class="row">
|
|
74
|
+
<div class="col-12">
|
|
75
|
+
{{> my-account/saving-totaliser this-last-year=true}}
|
|
76
|
+
</div>
|
|
77
|
+
</div>
|
|
78
|
+
</div>
|
|
72
79
|
<div class="account-actions">
|
|
73
80
|
<div class="container">
|
|
74
81
|
<div class="row">
|
package/src/page_my-account.html
CHANGED
package/src/page_my-order.html
CHANGED
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{{#extend "checkout" pageClass="page_checkout-delivery-new page_checkout-confirmation-new" title="Checkout - Payment details with Billie" isAsideSticky="true" clearPayIcon=true billieIcon=true}}
|
|
2
|
+
|
|
3
|
+
{{#content "head" mode="append"}}
|
|
4
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/checkout-new.css">
|
|
5
|
+
<link type="text/css" rel="stylesheet" href="./css/pages/page_checkout_delivery-new.css">
|
|
6
|
+
<link type="text/css" rel="stylesheet" href="./css/components/payment-details-BPS-form.css">
|
|
7
|
+
<link type="text/css" rel="stylesheet" href="./css/components/checkout-payment-details-v2.css">
|
|
8
|
+
|
|
9
|
+
<script src="https://applepay.cdn-apple.com/jsapi/v1/apple-pay-sdk.js"></script>
|
|
10
|
+
{{/content}}
|
|
11
|
+
{{#content "notification"}}
|
|
12
|
+
{{> notifications notification-page.error text="Sorry, there are errors on this page. Please review the information you've entered and update sections marked in red."}}
|
|
13
|
+
{{/content}}
|
|
14
|
+
{{#content "steps"}}
|
|
15
|
+
{{> steps-three-steps active-step-index="2"}}
|
|
16
|
+
{{/content}}
|
|
17
|
+
|
|
18
|
+
{{#content "aside"}}
|
|
19
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true clearPayIcon=clearPayIcon billieIcon=true paymentsCheckoutV2=true}}
|
|
20
|
+
{{/content}}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
{{#content "main"}}
|
|
24
|
+
<div class="delivery-block">
|
|
25
|
+
<h3 class="delivery-block__heading">Delivery Information</h3>
|
|
26
|
+
<div class="delivery-block__wrapper">
|
|
27
|
+
{{#with checkoutOrder.deliveryPayments.[0]}}
|
|
28
|
+
<div class="checkout-order">
|
|
29
|
+
{{> checkout-order-block}}
|
|
30
|
+
</div>
|
|
31
|
+
{{/with}}
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div class="click-collect-block">
|
|
36
|
+
<h3 class="click-collect-block__heading">Click & Collect</h3>
|
|
37
|
+
<div class="click-collect-block__wrapper">
|
|
38
|
+
{{#with checkoutOrder.clickCollectDeliveryAddress.[0]}}
|
|
39
|
+
<div class="checkout-order">
|
|
40
|
+
{{> checkout-order-block}}
|
|
41
|
+
</div>
|
|
42
|
+
{{/with}}
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
|
|
46
|
+
<div class="billing-payment-block">
|
|
47
|
+
<h3 class="billing-payment-block__heading">Billing & Payment</h3>
|
|
48
|
+
<div class="billing-payment-block__wrapper">
|
|
49
|
+
{{> checkout-payment-details-v2 apple-pay=true google-pay=true clear-pay=true billie=true edit-bill-mod=true billie-form=true open-delivery-block=true}}
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
{{/content}}
|
|
54
|
+
|
|
55
|
+
{{#content "foot" mode="append"}}
|
|
56
|
+
<script
|
|
57
|
+
async
|
|
58
|
+
src="https://pay.google.com/gp/p/js/pay.js">
|
|
59
|
+
</script>
|
|
60
|
+
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
61
|
+
<script defer src="./js/page/checkout-payment-details.js"></script>
|
|
62
|
+
<script defer src="./js/page/klarna-modal-scroll-disable.js"></script>
|
|
63
|
+
<script defer src="./js/page/billie-business-type.js"></script>
|
|
64
|
+
{{> checkout-terms-and-conditions-modal }}
|
|
65
|
+
{{> payment-loader hidden=true spinnerTypes=(array "billie-logo" "clearpay-logo" "paypal-logo")}}
|
|
66
|
+
{{/content}}
|
|
67
|
+
{{/extend}}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{{#extend "base" pageClass="page-product-details" title="Product details page new with Billie"
|
|
2
|
+
isDiscount=true
|
|
3
|
+
isSQM=true
|
|
4
|
+
isDescription=true
|
|
5
|
+
isCashback=false
|
|
6
|
+
isSize=true
|
|
7
|
+
hourly-delivery=true
|
|
8
|
+
badge-text='15% off'
|
|
9
|
+
badge-color='yellow'
|
|
10
|
+
badge-text-color='gray'
|
|
11
|
+
step3=true
|
|
12
|
+
currentlyInStock=true
|
|
13
|
+
pagePdp=true
|
|
14
|
+
}}
|
|
15
|
+
{{#content "body"}}
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
<main class="pdp__main">
|
|
19
|
+
<div class="container">
|
|
20
|
+
<div class="pdp">
|
|
21
|
+
<div class="pdp__title">
|
|
22
|
+
<h1 class="pdp__heading">Bosch PSB 1800 LI-2 18V Li-Ion Cordless Combi Drill Example with long
|
|
23
|
+
title in two rows
|
|
24
|
+
</h1>
|
|
25
|
+
<div class="pdp__reviews_small">
|
|
26
|
+
<span class="product-code product-code-v2">Product code: <strong id="product-code-val">236334</strong></span>
|
|
27
|
+
<div class="product-card__reviews review-star">
|
|
28
|
+
<div class="product-rating product-rating-v2">
|
|
29
|
+
<div class="rating-bg">
|
|
30
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
31
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
32
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
33
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
34
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
35
|
+
<div class="rating-overlay"
|
|
36
|
+
data-rating="{{#if review-rating}}{{review-rating}}{{else}}0{{/if}}">
|
|
37
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
38
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
39
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
40
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
41
|
+
<i class="fa fa-star" aria-hidden="true"></i>
|
|
42
|
+
</div>
|
|
43
|
+
</div>
|
|
44
|
+
</div>
|
|
45
|
+
<span class="review-star-average review-star-average-v2">(4.6)</span>
|
|
46
|
+
</div>
|
|
47
|
+
<span class="pdp__reviews-link-wrap"><a href="#" data-link="#pdp-reviews" id="open-review">82 reviews</a></span>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
<div class="pdp__gallery">
|
|
52
|
+
{{> gallery-pdp-v2 }}
|
|
53
|
+
</div>
|
|
54
|
+
<div class="pdp__aside">
|
|
55
|
+
{{> price-block-v2
|
|
56
|
+
isProductSaved=false
|
|
57
|
+
isUserLogedOut=true
|
|
58
|
+
install=true
|
|
59
|
+
sample=true
|
|
60
|
+
big-wins=true
|
|
61
|
+
stock-accordion="stock-accordion"
|
|
62
|
+
cc=false
|
|
63
|
+
nearestAmount=12
|
|
64
|
+
isUserNonRegistered=true
|
|
65
|
+
delivery=true
|
|
66
|
+
nearest-purchase=true
|
|
67
|
+
clearpay-placement=true
|
|
68
|
+
billie-placement=true
|
|
69
|
+
}}
|
|
70
|
+
{{> fulfilment-accordions }}
|
|
71
|
+
</div>
|
|
72
|
+
<div class="pdp__description">
|
|
73
|
+
{{> product-main-info-v2 isAdvice=true}}
|
|
74
|
+
</div>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
</main>
|
|
78
|
+
{{/content}}
|
|
79
|
+
{{#content "foot" mode="append"}}
|
|
80
|
+
<script type="text/html" id="mini-basket-popup">
|
|
81
|
+
{{> popover-mini-basket mod="popover-mini-basket_just-added" products=mini-basket.just-added just-added=true}}
|
|
82
|
+
</script>
|
|
83
|
+
<script defer src="./js/page/pdp.js"></script>
|
|
84
|
+
<script defer src="./js/page/components/modal-observer.js"></script>
|
|
85
|
+
{{> billie-modal }}
|
|
86
|
+
{{/content}}
|
|
87
|
+
{{/extend}}
|
|
@@ -1,19 +1,16 @@
|
|
|
1
|
-
{{#extend "base"
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
currentlyInStock=true
|
|
15
|
-
pagePdp=true
|
|
16
|
-
miniBasketEmpty=true
|
|
1
|
+
{{#extend "base" pageClass="page-product-details" title="Product details page new"
|
|
2
|
+
isDiscount=true
|
|
3
|
+
isSQM=true
|
|
4
|
+
isDescription=true
|
|
5
|
+
isCashback=false
|
|
6
|
+
isSize=true
|
|
7
|
+
isGuide=true
|
|
8
|
+
hourly-delivery=true
|
|
9
|
+
badge-text='15% off'
|
|
10
|
+
badge-color='yellow'
|
|
11
|
+
badge-text-color='gray'
|
|
12
|
+
currentlyInStock=true
|
|
13
|
+
pagePdp=true
|
|
17
14
|
}}
|
|
18
15
|
{{#content "head" mode="append" pagePdp=true}}{{/content}}
|
|
19
16
|
{{#content "body"}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
{{#extend "basket-new" page_shopping-cart pageClass="page_basket basket" title="Basket"}}
|
|
1
|
+
{{#extend "basket-new" page_shopping-cart pageClass="page_basket basket" title="Basket" billieIcon=true}}
|
|
2
2
|
{{#content "head" mode="append"}}
|
|
3
3
|
<link type="text/css" rel="stylesheet" href="./css/pages/page_shopping-cart-v2.css">
|
|
4
4
|
<link type="text/css" rel="stylesheet" href="./css/pages/checkout-new.css">
|
|
@@ -23,10 +23,11 @@
|
|
|
23
23
|
id=1
|
|
24
24
|
title="Order Summary"
|
|
25
25
|
basket=true
|
|
26
|
+
billie=true
|
|
26
27
|
}}
|
|
27
28
|
{{> checkout-action mod="mounted"}}
|
|
28
29
|
{{> checkout-action mod="mounted" view="mobile"}}
|
|
29
|
-
{{> summary-payment paymentsCheckoutV2=true}}
|
|
30
|
+
{{> summary-payment paymentsCheckoutV2=true billieIcon=true}}
|
|
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,7 @@
|
|
|
40
41
|
{{/each}}
|
|
41
42
|
</section>
|
|
42
43
|
{{/each}}
|
|
43
|
-
{{> charity-donations-
|
|
44
|
+
{{> basket-charity-donations-new shopping-cart-v2.charityDonationNew }}
|
|
44
45
|
{{/content}}
|
|
45
46
|
{{#content "foot" mode="append"}}
|
|
46
47
|
<script defer src="./js/basket.min.js"></script>
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
<svg class="svg-inline--fa fa-info-circle fa-w-16" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="info-circle" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" data-fa-i2svg=""><path fill="currentColor" d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"></path></svg><!-- <i class="fas fa-info-circle"></i> -->
|
|
39
39
|
</span>
|
|
40
40
|
<span class="ref-msg">
|
|
41
|
-
The total refund issued for your recent order cancellation or amendments was
|
|
41
|
+
The total refund issued for your recent order cancellation or amendments was
|
|
42
42
|
£20.00
|
|
43
43
|
</span>
|
|
44
44
|
</div>
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
</div>
|
|
50
50
|
<aside class="right-aside">
|
|
51
51
|
{{> wismo_order-summary }}
|
|
52
|
-
{{> wismo-payment }}
|
|
52
|
+
{{> wismo-payment payment-billie=true}}
|
|
53
53
|
</aside>
|
|
54
54
|
</div>
|
|
55
55
|
</div>
|
package/src/partials/head.hbs
CHANGED
|
@@ -32,11 +32,7 @@
|
|
|
32
32
|
{{/if}}
|
|
33
33
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
|
34
34
|
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet" media="print" onload="this.media='all'">
|
|
35
|
-
<script
|
|
36
|
-
async
|
|
37
|
-
src="https://eu-library.playground.klarnaservices.com/lib.js"
|
|
38
|
-
data-client-id="63bb2358-8698-5b0d-b6c0-e8dd2b49d915"
|
|
39
|
-
></script>
|
|
35
|
+
<script async="" src="https://js.klarna.com/web-sdk/v1/klarna.js" data-client-id="63bb2358-8698-5b0d-b6c0-e8dd2b49d915" data-environment="playground"></script>
|
|
40
36
|
{{#if pageBasket}}
|
|
41
37
|
<script async src="https://js-sandbox.squarecdn.com/square-marketplace.js"></script>
|
|
42
38
|
{{/if}}
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
.modal.billie-modal {
|
|
2
|
+
.modal-header,
|
|
3
|
+
.modal-footer {
|
|
4
|
+
position: sticky;
|
|
5
|
+
background-color: $white;
|
|
6
|
+
z-index: 10;
|
|
7
|
+
box-shadow: none;
|
|
8
|
+
border-bottom: 0;
|
|
9
|
+
transition: box-shadow .3s ease;
|
|
10
|
+
padding: 0;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.modal-dialog {
|
|
14
|
+
width: 100%;
|
|
15
|
+
max-width: 100%;
|
|
16
|
+
margin: 0;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.modal-content {
|
|
20
|
+
width: 100%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.modal-box__content {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
max-height: 100vh;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.modal-box__header::after {
|
|
30
|
+
border: 0;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.modal-header {
|
|
34
|
+
top: 0;
|
|
35
|
+
border-bottom: 1px solid $gray-200;
|
|
36
|
+
margin-right: -15px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.billie-modal__heading {
|
|
40
|
+
margin-bottom: 8px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.modal-box__footer-row {
|
|
44
|
+
width: 100%;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
ul.billie-modal__list,
|
|
48
|
+
ol.billie-modal__list {
|
|
49
|
+
padding-left: 20px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.modal-footer {
|
|
53
|
+
justify-content: center;
|
|
54
|
+
bottom: 0;
|
|
55
|
+
border-top: 0;
|
|
56
|
+
|
|
57
|
+
.modal-box__inner-columns {
|
|
58
|
+
margin: 0;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.modal-box__container {
|
|
63
|
+
padding: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.modal-box__inner-columns {
|
|
67
|
+
padding: 16px;
|
|
68
|
+
margin: 0 16px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.modal-box__header .close {
|
|
72
|
+
right: 23px;
|
|
73
|
+
top: 8px;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.modal-box__inner-columns .btn {
|
|
77
|
+
width: 100%;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.modal-body {
|
|
81
|
+
flex-grow: 1;
|
|
82
|
+
overflow-y: auto;
|
|
83
|
+
overflow-x: hidden;
|
|
84
|
+
|
|
85
|
+
.modal-box__inner-columns {
|
|
86
|
+
padding: 16px 16px 24px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.modal-content {
|
|
91
|
+
&[data-scroll-state="middle"],
|
|
92
|
+
&[data-scroll-state="bottom"] {
|
|
93
|
+
.modal-header {
|
|
94
|
+
box-shadow: 0 0 15px rgba(0, 0, 0, .2);
|
|
95
|
+
border-bottom: 0;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&[data-scroll-state="middle"],
|
|
100
|
+
&[data-scroll-state="top"] {
|
|
101
|
+
.modal-footer {
|
|
102
|
+
box-shadow: 0 -2px 4px rgba(0, 0, 0, .05);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@include media-breakpoint-up(sm) {
|
|
109
|
+
.modal.billie-modal {
|
|
110
|
+
.modal-content {
|
|
111
|
+
width: 476px;
|
|
112
|
+
height: 628px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.modal-dialog {
|
|
116
|
+
margin: 0 auto;
|
|
117
|
+
justify-content: center;
|
|
118
|
+
max-width: 100%;
|
|
119
|
+
height: auto;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.modal-box__header .close {
|
|
123
|
+
right: 8px;
|
|
124
|
+
top: 8px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.modal-body {
|
|
128
|
+
margin-right: 0;
|
|
129
|
+
|
|
130
|
+
.modal-box__inner-columns {
|
|
131
|
+
margin: 0;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.modal-header {
|
|
136
|
+
margin-right: 0;
|
|
137
|
+
|
|
138
|
+
.modal-box__inner-columns {
|
|
139
|
+
margin: 0;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.modal-footer {
|
|
144
|
+
margin-right: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.modal-box__container {
|
|
148
|
+
margin: 0 auto;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.modal.billie-modal.modal-box_full {
|
|
153
|
+
background: transparent;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
@include media-breakpoint-up(md) {
|
|
158
|
+
.modal.billie-modal {
|
|
159
|
+
.modal-content {
|
|
160
|
+
height: auto;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.modal-dialog {
|
|
164
|
+
justify-content: center;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.modal-box__inner-row {
|
|
168
|
+
margin: 0;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.modal-box__columns,
|
|
172
|
+
.modal-box__inner-columns {
|
|
173
|
+
flex: 0 0 100%;
|
|
174
|
+
max-width: 100%;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.modal-box__inner-columns .btn {
|
|
178
|
+
width: auto;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.billie {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
border: 1px solid $gray;
|
|
5
|
+
background-color: $white;
|
|
6
|
+
padding: 8px;
|
|
7
|
+
gap: 8px;
|
|
8
|
+
|
|
9
|
+
&__logo {
|
|
10
|
+
height: 25px;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
&.billie-basket {
|
|
14
|
+
margin: -20px -20px 0;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.billie__logo {
|
|
18
|
+
height: 25px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__content {
|
|
22
|
+
display: flex;
|
|
23
|
+
flex-direction: column;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__title {
|
|
27
|
+
font-size: .75rem;
|
|
28
|
+
font-weight: 500;
|
|
29
|
+
line-height: 1rem;
|
|
30
|
+
color: $gray-dark;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&__link {
|
|
34
|
+
color: inherit;
|
|
35
|
+
text-decoration: underline;
|
|
36
|
+
font-weight: 400;
|
|
37
|
+
white-space: nowrap;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
&__subtitle {
|
|
41
|
+
font-size: .75rem;
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
line-height: 1rem;
|
|
44
|
+
color: $squant;
|
|
45
|
+
}
|
|
46
|
+
}
|