wickes-css2 2.109.0-develop.2 → 2.109.0-develop.4
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/build/css/category-main.css +1 -1
- package/build/css/components/card-product-banner.css +1 -1
- package/build/css/homepage-main.css +1 -1
- package/build/css/kitchen-plp-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/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_products-list-combined.css +1 -1
- package/build/css/pages/page_products-list.css +1 -1
- package/build/css/pages/page_shopping-cart-v2.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/js/basket.min.js +1 -1
- package/build/js/checkout.min.js +1 -1
- package/build/js/emulation.min.js +490 -56
- package/build/js/gift-cards.min.js +1 -1
- package/build/js/merged-checkout.min.js +1 -1
- package/build/js/mini-basket-slider.min.js +1 -1
- package/build/js/page/basket/mini-basket-total.js +17 -2
- package/build/js/page/basket-v2.js +30 -26
- package/build/js/page/components/notify-me.js +99 -0
- package/build/js/page/components/order-summary.js +35 -0
- package/build/js/pdp.bundle.min.js +2 -1
- package/build/js/wickes-dc.js +1 -0
- package/package.json +1 -3
- package/src/components/base/button.hbs +1 -1
- package/src/components/card_product_banner_v2.hbs +4 -1
- package/src/components/card_sponsor_banner.hbs +4 -1
- package/src/components/checkout_order-summary-new.hbs +10 -1
- package/src/components/click-and-collect-modal.hbs +0 -14
- package/src/components/date-selection.hbs +1 -1
- package/src/components/delivery-types.hbs +11 -3
- package/src/components/injected-content.hbs +6 -1
- package/src/components/modal.hbs +1 -1
- package/src/components/modals/notify-me-modal.hbs +76 -0
- package/src/components/order-item.hbs +7 -7
- package/src/components/order-summary.hbs +2 -2
- package/src/components/potential-promotion.hbs +4 -4
- package/src/components/price-block-v2.hbs +211 -214
- package/src/components/sponsor-top-banner.hbs +10 -0
- package/src/data/data_delivery-address-v2.json +1 -1
- package/src/data/data_search-results_v2.json +9 -2
- package/src/data/data_shopping-cart-v2.json +46 -2
- package/src/data/data_shopping-cart-with-energy.json +26 -2
- package/src/data/data_spr_injected_content.json +4 -0
- package/src/js/emulation/basket-data.js +312 -0
- package/src/js/emulation/checkout-delivery-details.js +28 -25
- package/src/js/emulation/custom-slider-emulation.js +1 -1
- package/src/js/emulation/date-selection.js +136 -24
- package/src/js/emulation/forms.js +12 -0
- package/src/js/emulation/mini-basket-data.js +3 -3
- package/src/js/emulation/notify-me.js +9 -0
- package/src/js/emulation/switchCalendar.js +12 -8
- package/src/js/page/basket/mini-basket-total.js +17 -2
- package/src/js/page/basket-v2.js +30 -26
- package/src/js/page/components/notify-me.js +99 -0
- package/src/js/page/components/order-summary.js +35 -0
- package/src/page_checkout_next-day-delivery-details.html +2 -2
- package/src/page_checkout_payment-details-v2-asm.html +1 -1
- package/src/page_checkout_payment-details-v2.html +1 -1
- package/src/page_checkout_payment-details_with-card-loader.html +1 -1
- package/src/page_checkout_payment-details_with-klarna-loader.html +1 -1
- package/src/page_checkout_payment-details_with-loader-v2.html +1 -1
- package/src/page_checkout_rapid-delivery-details.html +7 -5
- package/src/page_klarna_payment-details_with-klarna.html +1 -1
- package/src/page_payment-details-with-billie.html +1 -1
- package/src/page_payment-details-with-clearpay.html +1 -1
- package/src/page_payment-details-with-gift-card.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_plp_v2.html +1 -0
- package/src/page_product-details-mfe-calculator.html +9 -3
- package/src/scss/common/_CTAs.scss +7 -3
- package/src/scss/components/_custom-slider.scss +18 -0
- package/src/scss/components/_date-selection-add-new-styles.scss +43 -1
- package/src/scss/components/_notify-me-modal.scss +139 -0
- package/src/scss/components/_order-summary.scss +25 -12
- package/src/scss/components/_price-block-critical.scss +2 -2
- package/src/scss/components/_price-block.scss +14 -4
- package/src/scss/components/card-product-banner.scss +8 -0
- package/src/scss/helpers/_CTAs.scss +15 -5
- package/src/scss/pages/page_checkout_delivery-new.scss +36 -0
- package/src/scss/pages/page_products-list-combined.scss +8 -1
- package/src/scss/pages/page_products-list.scss +8 -1
- package/src/scss/pages/page_shopping-cart-v2.scss +34 -10
- package/src/scss/pdp-main.scss +1 -0
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
Please choose a date for delivery from the calendar below.
|
|
24
24
|
</p>
|
|
25
25
|
<p class="date-selection__info-block">
|
|
26
|
-
Our delivery slots are currently available up to 8 days in advance
|
|
26
|
+
Our delivery slots are currently available up to 8 days in advance.<br> We release additional delivery slots daily.
|
|
27
27
|
</p>
|
|
28
28
|
<p class="date-selection__annotation">
|
|
29
29
|
*Individual couriers will provide more information on delivery times, closer to your chosen delivery date.
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
|
|
33
33
|
<div class="component component-date-selection">
|
|
34
34
|
{{> date-selection
|
|
35
|
-
titleDelivery="Next
|
|
35
|
+
titleDelivery="Next or Named day delivery"
|
|
36
36
|
subtitleDelivery="Delivery between 7am - 7pm for £7*"
|
|
37
37
|
wisdom=true
|
|
38
38
|
}}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
{{/content}}
|
|
12
12
|
|
|
13
13
|
{{#content "aside"}}
|
|
14
|
-
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true email=true}}
|
|
14
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true email=true hideDeliveryCostMessage=true}}
|
|
15
15
|
{{/content}}
|
|
16
16
|
|
|
17
17
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
{{/content}}
|
|
12
12
|
|
|
13
13
|
{{#content "aside"}}
|
|
14
|
-
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true clearPayIcon=clearPayIcon paymentsCheckoutV2="true"}}
|
|
14
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true clearPayIcon=clearPayIcon paymentsCheckoutV2="true" hideDeliveryCostMessage=true}}
|
|
15
15
|
{{/content}}
|
|
16
16
|
|
|
17
17
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
{{/content}}
|
|
12
12
|
|
|
13
13
|
{{#content "aside"}}
|
|
14
|
-
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true}}
|
|
14
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true hideDeliveryCostMessage=true}}
|
|
15
15
|
{{/content}}
|
|
16
16
|
|
|
17
17
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
{{/content}}
|
|
12
12
|
|
|
13
13
|
{{#content "aside"}}
|
|
14
|
-
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true}}
|
|
14
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true hideDeliveryCostMessage=true}}
|
|
15
15
|
{{/content}}
|
|
16
16
|
|
|
17
17
|
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
{{/content}}
|
|
12
12
|
|
|
13
13
|
{{#content "aside"}}
|
|
14
|
-
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true}}
|
|
14
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true hideDeliveryCostMessage=true}}
|
|
15
15
|
{{/content}}
|
|
16
16
|
|
|
17
17
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div class="delivery-block">
|
|
18
18
|
<h3 class="delivery-block__heading">Delivery Information</h3>
|
|
19
19
|
{{> banner-news
|
|
20
|
-
description="<b>Your order qualifies for
|
|
20
|
+
description="<b>Your order qualifies for Rapid delivery.</b></br>Alternative delivery options are available."
|
|
21
21
|
classImg="fas fa-shipping-fast"
|
|
22
22
|
}}
|
|
23
23
|
<div class="delivery-block__wrapper">
|
|
@@ -27,14 +27,15 @@
|
|
|
27
27
|
Please choose a date for delivery from the calendar below.
|
|
28
28
|
</p>
|
|
29
29
|
<p class="date-selection__info-block">
|
|
30
|
-
Our delivery slots are currently available up to 8 days in advance
|
|
30
|
+
Our delivery slots are currently available up to 8 days in advance.<br> We release additional delivery slots daily.
|
|
31
31
|
</p>
|
|
32
|
+
<p>*Individual couriers will provide more information on delivery times, closer to your chosen delivery date.</p>
|
|
32
33
|
</div>
|
|
33
34
|
|
|
34
35
|
<div class="component component-date-selection">
|
|
35
36
|
{{> date-selection
|
|
36
|
-
titleDelivery="
|
|
37
|
-
subtitleDelivery="Delivery
|
|
37
|
+
titleDelivery="Next or Named day delivery"
|
|
38
|
+
subtitleDelivery="Delivery between 7am - 7pm for £12.00"
|
|
38
39
|
imgDelivery="fas fa-shipping-fast"
|
|
39
40
|
wisdom=true
|
|
40
41
|
}}
|
|
@@ -131,10 +132,11 @@
|
|
|
131
132
|
<div class="continue-btn">
|
|
132
133
|
<button class="btn btn-action">Continue to Payment Details</button>
|
|
133
134
|
</div>
|
|
134
|
-
|
|
135
135
|
{{/content}}
|
|
136
136
|
|
|
137
137
|
{{#content "foot" mode="append"}}
|
|
138
|
+
{{> loader titleLoader="Loading Rapid delivery..." hidden=true modifier="basket-loader rapid-loader"}}
|
|
139
|
+
|
|
138
140
|
<script defer src="./js/page/checkout-confirmation-new.js"></script>
|
|
139
141
|
<script defer src="./js/page/select-address.js"></script>
|
|
140
142
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
{{/content}}
|
|
14
14
|
|
|
15
15
|
{{#content "aside"}}
|
|
16
|
-
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true}}
|
|
16
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true hideDeliveryCostMessage=true}}
|
|
17
17
|
{{/content}}
|
|
18
18
|
|
|
19
19
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
{{/content}}
|
|
17
17
|
|
|
18
18
|
{{#content "aside"}}
|
|
19
|
-
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true clearPayIcon=clearPayIcon billieIcon=true paymentsCheckoutV2=true}}
|
|
19
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true clearPayIcon=clearPayIcon billieIcon=true paymentsCheckoutV2=true hideDeliveryCostMessage=true}}
|
|
20
20
|
{{/content}}
|
|
21
21
|
|
|
22
22
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
{{/content}}
|
|
17
17
|
|
|
18
18
|
{{#content "aside"}}
|
|
19
|
-
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true clearPayIcon=clearPayIcon paymentsCheckoutV2=true checkout=true}}
|
|
19
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true clearPayIcon=clearPayIcon paymentsCheckoutV2=true checkout=true hideDeliveryCostMessage=true}}
|
|
20
20
|
{{/content}}
|
|
21
21
|
|
|
22
22
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
{{/content}}
|
|
19
19
|
|
|
20
20
|
{{#content "aside"}}
|
|
21
|
-
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true clearPayIcon=clearPayIcon billieIcon=true paymentsCheckoutV2=true checkout=true}}
|
|
21
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true clearPayIcon=clearPayIcon billieIcon=true paymentsCheckoutV2=true checkout=true hideDeliveryCostMessage=true}}
|
|
22
22
|
{{/content}}
|
|
23
23
|
|
|
24
24
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
{{/content}}
|
|
14
14
|
|
|
15
15
|
{{#content "aside"}}
|
|
16
|
-
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true basket="true"}}
|
|
16
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true basket="true" hideDeliveryCostMessage=true}}
|
|
17
17
|
{{/content}}
|
|
18
18
|
|
|
19
19
|
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
{{/content}}
|
|
14
14
|
|
|
15
15
|
{{#content "aside"}}
|
|
16
|
-
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true}}
|
|
16
|
+
{{> order-summary delivery-address-v2.summary no-action=true id=1 basket-id=true hideDeliveryCostMessage=true}}
|
|
17
17
|
{{/content}}
|
|
18
18
|
|
|
19
19
|
|
package/src/page_plp_v2.html
CHANGED
|
@@ -3,13 +3,14 @@ isDiscount=true
|
|
|
3
3
|
isSQM=true
|
|
4
4
|
isDescription=false
|
|
5
5
|
isCashback=false
|
|
6
|
-
isSize=
|
|
6
|
+
isSize=false
|
|
7
7
|
isGuide=true
|
|
8
|
+
isQuantity=true
|
|
8
9
|
hourly-delivery=true
|
|
9
10
|
badge-text='15% off'
|
|
10
11
|
badge-color='yellow'
|
|
11
12
|
badge-text-color='gray'
|
|
12
|
-
currentlyInStock=
|
|
13
|
+
currentlyInStock=false
|
|
13
14
|
pagePdp=true
|
|
14
15
|
}}
|
|
15
16
|
{{#content "head" mode="append" pagePdp=true}}
|
|
@@ -81,6 +82,10 @@ pagePdp=true
|
|
|
81
82
|
more-stores-present=true
|
|
82
83
|
mfeProductCalculator=true
|
|
83
84
|
default-store=true
|
|
85
|
+
isExcludingDelivery=true
|
|
86
|
+
notifyMe=true
|
|
87
|
+
klarna-placement=true
|
|
88
|
+
clearpay-placement=true
|
|
84
89
|
}}
|
|
85
90
|
{{> fulfilment-accordions }}
|
|
86
91
|
</div>
|
|
@@ -121,7 +126,8 @@ pagePdp=true
|
|
|
121
126
|
<script type="text/html" id="mini-basket-popup">
|
|
122
127
|
{{> popover-mini-basket mod="popover-mini-basket_just-added" products=mini-basket.just-added just-added=true}}
|
|
123
128
|
</script>
|
|
124
|
-
|
|
129
|
+
{{> modals/notify-me-modal mod="modal-notify-me"}}
|
|
130
|
+
<script defer src="./js/pdp.bundle.min.js"></script>
|
|
125
131
|
<script defer src="./js/energy-efficiency.min.js"></script>
|
|
126
132
|
{{> click-and-collect-modal pdp=pdp}}
|
|
127
133
|
{{> wisdom-modal-mcfc }}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
.btn {
|
|
12
12
|
position: relative;
|
|
13
13
|
text-decoration: none;
|
|
14
|
-
transition: all .2s ease;
|
|
14
|
+
transition: all 0.2s ease;
|
|
15
15
|
|
|
16
16
|
&_full {
|
|
17
17
|
@include button-full;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
:focus > &,
|
|
35
35
|
:active > & {
|
|
36
36
|
color: $white;
|
|
37
|
-
opacity: .6;
|
|
37
|
+
opacity: 0.6;
|
|
38
38
|
bottom: auto; //IE fix
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -55,6 +55,10 @@
|
|
|
55
55
|
@include button-primary;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
+
.btn-outline-primary {
|
|
59
|
+
@include button-outline-primary;
|
|
60
|
+
}
|
|
61
|
+
|
|
58
62
|
.btn-secondary {
|
|
59
63
|
@include button-secondary;
|
|
60
64
|
}
|
|
@@ -85,7 +89,7 @@
|
|
|
85
89
|
}
|
|
86
90
|
|
|
87
91
|
.btn-pending {
|
|
88
|
-
@include button-pending
|
|
92
|
+
@include button-pending;
|
|
89
93
|
}
|
|
90
94
|
|
|
91
95
|
.btn--icon {
|
|
@@ -501,6 +501,24 @@
|
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
|
+
|
|
505
|
+
&-delivery:has(+ .checkout-widget__item-delivery-cost-message) {
|
|
506
|
+
padding-bottom: 0;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
&-delivery-cost-message {
|
|
510
|
+
margin-top: 4px !important;
|
|
511
|
+
padding-top: 0;
|
|
512
|
+
justify-content: flex-end;
|
|
513
|
+
|
|
514
|
+
#order-delivery-cost-message {
|
|
515
|
+
@include font-size(10);
|
|
516
|
+
@include line-height(12);
|
|
517
|
+
|
|
518
|
+
font-weight: 700;
|
|
519
|
+
color: $squant;
|
|
520
|
+
}
|
|
521
|
+
}
|
|
504
522
|
}
|
|
505
523
|
|
|
506
524
|
&__details-discount {
|
|
@@ -248,16 +248,50 @@
|
|
|
248
248
|
height: auto;
|
|
249
249
|
}
|
|
250
250
|
}
|
|
251
|
+
|
|
252
|
+
.rapid-info-icon {
|
|
253
|
+
display: inline-flex;
|
|
254
|
+
align-items: center;
|
|
255
|
+
vertical-align: bottom;
|
|
256
|
+
pointer-events: auto;
|
|
257
|
+
margin-left: 4px;
|
|
258
|
+
cursor: pointer;
|
|
259
|
+
color: $white;
|
|
260
|
+
font-size: 1rem;
|
|
261
|
+
|
|
262
|
+
[data-prefix='fas'],
|
|
263
|
+
[data-prefix='far'] {
|
|
264
|
+
color: $white;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
&:hover {
|
|
268
|
+
opacity: 0.8;
|
|
269
|
+
|
|
270
|
+
[data-prefix='far'] {
|
|
271
|
+
color: $white;
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
&__image {
|
|
277
|
+
position: absolute;
|
|
278
|
+
right: 12px;
|
|
279
|
+
}
|
|
251
280
|
}
|
|
252
281
|
|
|
253
282
|
.delivery-container {
|
|
254
283
|
.btn.btn_full {
|
|
255
284
|
display: flex;
|
|
256
|
-
padding: 16px
|
|
285
|
+
padding: 16px 12px;
|
|
257
286
|
align-items: center;
|
|
258
287
|
justify-content: center;
|
|
259
288
|
border: 0;
|
|
260
289
|
border-radius: 0;
|
|
290
|
+
position: relative;
|
|
291
|
+
|
|
292
|
+
&:has(.delivery-btn__image:not(.d-none)) {
|
|
293
|
+
padding: 16px 64px 16px 12px;
|
|
294
|
+
}
|
|
261
295
|
}
|
|
262
296
|
}
|
|
263
297
|
|
|
@@ -271,6 +305,14 @@
|
|
|
271
305
|
}
|
|
272
306
|
}
|
|
273
307
|
|
|
308
|
+
@include media-breakpoint-only(sm) {
|
|
309
|
+
.delivery-types .delivery-container {
|
|
310
|
+
.subtitle br {
|
|
311
|
+
display: none;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
|
|
274
316
|
@include media-breakpoint-up(md) {
|
|
275
317
|
.date-selection {
|
|
276
318
|
.delivery-date,
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
.modal-notify-me {
|
|
2
|
+
.modal-dialog {
|
|
3
|
+
height: 100%;
|
|
4
|
+
margin: 0 auto;
|
|
5
|
+
max-width: 100%;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&.modal-box_wide {
|
|
9
|
+
.modal-box__columns {
|
|
10
|
+
max-width: 520px;
|
|
11
|
+
padding: 0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.modal-box__inner-row {
|
|
16
|
+
margin: 0;
|
|
17
|
+
|
|
18
|
+
.modal-box__inner-columns {
|
|
19
|
+
padding: 0;
|
|
20
|
+
max-width: 100%;
|
|
21
|
+
flex: 0 0 100%;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.modal-header {
|
|
26
|
+
padding: 16px 35px 16px 24px;
|
|
27
|
+
|
|
28
|
+
.modal-title {
|
|
29
|
+
@include font-size(18);
|
|
30
|
+
@include line-height(24);
|
|
31
|
+
color: $gray-dark;
|
|
32
|
+
font-weight: 700;
|
|
33
|
+
display: flex;
|
|
34
|
+
align-items: center;
|
|
35
|
+
gap: 14px;
|
|
36
|
+
|
|
37
|
+
.icon-wrap {
|
|
38
|
+
width: 40px;
|
|
39
|
+
height: 40px;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.icon {
|
|
43
|
+
@include font-size(30);
|
|
44
|
+
color: $blue;
|
|
45
|
+
height: auto;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.close {
|
|
50
|
+
opacity: 1;
|
|
51
|
+
outline: 0;
|
|
52
|
+
right: 10px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&:after {
|
|
56
|
+
left: 0;
|
|
57
|
+
right: 0;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.modal-body {
|
|
62
|
+
padding: 24px;
|
|
63
|
+
|
|
64
|
+
.form-row__label {
|
|
65
|
+
margin-bottom: 8px;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.notify-me-form {
|
|
69
|
+
&__note {
|
|
70
|
+
@include font-size(12);
|
|
71
|
+
@include line-height(16);
|
|
72
|
+
color: $squant;
|
|
73
|
+
font-weight: 400;
|
|
74
|
+
margin-bottom: 0;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&__ctas {
|
|
78
|
+
margin-top: 40px;
|
|
79
|
+
display: flex;
|
|
80
|
+
gap: 16px;
|
|
81
|
+
|
|
82
|
+
& > div {
|
|
83
|
+
display: contents;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.notify-me-result {
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
gap: 15px;
|
|
92
|
+
|
|
93
|
+
&__img {
|
|
94
|
+
width: 64px;
|
|
95
|
+
height: 64px;
|
|
96
|
+
object-fit: cover;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&__title {
|
|
100
|
+
@include font-size(14);
|
|
101
|
+
@include line-height(22);
|
|
102
|
+
font-weight: 700;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
& + .btn--notify-close {
|
|
106
|
+
margin-top: 40px;
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@include media-breakpoint-down(xl) {
|
|
113
|
+
.modal-notify-me {
|
|
114
|
+
height: auto;
|
|
115
|
+
margin: 40px 16px 0;
|
|
116
|
+
|
|
117
|
+
&.modal-box_full .modal-box__inner-row {
|
|
118
|
+
margin: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.modal-body {
|
|
122
|
+
.form-row {
|
|
123
|
+
padding: 0;
|
|
124
|
+
margin: 0 0 16px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.form-row__label,
|
|
128
|
+
.form-row__field,
|
|
129
|
+
.form-row__error {
|
|
130
|
+
padding: 0;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.modal-body .notify-me-form__ctas,
|
|
135
|
+
.notify-me-result .btn--notify-close {
|
|
136
|
+
margin-top: 32px;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@import '../helpers/helpers';
|
|
2
2
|
|
|
3
|
-
$android-offset:
|
|
3
|
+
$android-offset: 60px !default;
|
|
4
4
|
$ios-notch-offset: 80px !default;
|
|
5
5
|
|
|
6
6
|
.summary {
|
|
@@ -9,7 +9,7 @@ $ios-notch-offset: 80px !default;
|
|
|
9
9
|
background: $gray-bg;
|
|
10
10
|
margin: 0 auto;
|
|
11
11
|
z-index: $summary-aside;
|
|
12
|
-
box-shadow: 4px 4px 16px rgba(0, 0, 0, .25);
|
|
12
|
+
box-shadow: 4px 4px 16px rgba(0, 0, 0, 0.25);
|
|
13
13
|
|
|
14
14
|
& .form-row__col-btn {
|
|
15
15
|
padding-right: 0;
|
|
@@ -55,7 +55,7 @@ $ios-notch-offset: 80px !default;
|
|
|
55
55
|
|
|
56
56
|
&-message {
|
|
57
57
|
padding-bottom: 20px;
|
|
58
|
-
font-size: .75rem;
|
|
58
|
+
font-size: 0.75rem;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
&-main {
|
|
@@ -93,7 +93,7 @@ $ios-notch-offset: 80px !default;
|
|
|
93
93
|
align-items: center;
|
|
94
94
|
width: 24px;
|
|
95
95
|
height: 24px;
|
|
96
|
-
transition: transform .3s ease;
|
|
96
|
+
transition: transform 0.3s ease;
|
|
97
97
|
transform: rotate(180deg);
|
|
98
98
|
|
|
99
99
|
&-up,
|
|
@@ -149,7 +149,7 @@ $ios-notch-offset: 80px !default;
|
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.checkout-widget__item-vat {
|
|
152
|
-
font-size: .875rem;
|
|
152
|
+
font-size: 0.875rem;
|
|
153
153
|
margin: 0;
|
|
154
154
|
padding: 0;
|
|
155
155
|
}
|
|
@@ -158,11 +158,25 @@ $ios-notch-offset: 80px !default;
|
|
|
158
158
|
text-align: right;
|
|
159
159
|
}
|
|
160
160
|
|
|
161
|
-
.checkout-widget__item-cc,
|
|
161
|
+
.checkout-widget__item-cc,
|
|
162
|
+
.checkout-widget__item-delivery {
|
|
162
163
|
font-size: 1rem;
|
|
163
164
|
margin-top: 5px;
|
|
164
165
|
}
|
|
165
166
|
|
|
167
|
+
.checkout-widget__item-delivery-cost-message {
|
|
168
|
+
margin-top: 4px;
|
|
169
|
+
justify-content: flex-end;
|
|
170
|
+
|
|
171
|
+
#order-delivery-cost-message {
|
|
172
|
+
@include font-size(10);
|
|
173
|
+
@include line-height(12);
|
|
174
|
+
|
|
175
|
+
font-weight: 700;
|
|
176
|
+
color: $squant;
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
166
180
|
.checkout-widget__total {
|
|
167
181
|
display: flex;
|
|
168
182
|
justify-content: space-between;
|
|
@@ -183,7 +197,7 @@ $ios-notch-offset: 80px !default;
|
|
|
183
197
|
right: 0;
|
|
184
198
|
overflow: hidden;
|
|
185
199
|
display: block !important;
|
|
186
|
-
transition: height .3s ease-in-out;
|
|
200
|
+
transition: height 0.3s ease-in-out;
|
|
187
201
|
max-height: calc(100vh - 177px);
|
|
188
202
|
overflow-y: auto;
|
|
189
203
|
-webkit-overflow-scrolling: touch;
|
|
@@ -218,12 +232,12 @@ $ios-notch-offset: 80px !default;
|
|
|
218
232
|
.collapsing {
|
|
219
233
|
height: 0;
|
|
220
234
|
overflow: hidden;
|
|
221
|
-
transition: height .3s ease-in-out;
|
|
235
|
+
transition: height 0.3s ease-in-out;
|
|
222
236
|
}
|
|
223
237
|
|
|
224
238
|
.collapse.show {
|
|
225
239
|
height: auto;
|
|
226
|
-
transition: height .3s ease-in-out;
|
|
240
|
+
transition: height 0.3s ease-in-out;
|
|
227
241
|
}
|
|
228
242
|
}
|
|
229
243
|
|
|
@@ -233,7 +247,7 @@ $ios-notch-offset: 80px !default;
|
|
|
233
247
|
left: 0;
|
|
234
248
|
right: 0;
|
|
235
249
|
z-index: $summary-mobile-bar;
|
|
236
|
-
transition: transform .3s ease;
|
|
250
|
+
transition: transform 0.3s ease;
|
|
237
251
|
}
|
|
238
252
|
|
|
239
253
|
.summary__mobile-order {
|
|
@@ -245,7 +259,7 @@ $ios-notch-offset: 80px !default;
|
|
|
245
259
|
height: 44px;
|
|
246
260
|
cursor: pointer;
|
|
247
261
|
color: $white;
|
|
248
|
-
transition: transform .3s ease;
|
|
262
|
+
transition: transform 0.3s ease;
|
|
249
263
|
}
|
|
250
264
|
|
|
251
265
|
.summary:not(.summary--mobile) {
|
|
@@ -316,7 +330,6 @@ $ios-notch-offset: 80px !default;
|
|
|
316
330
|
display: none;
|
|
317
331
|
}
|
|
318
332
|
}
|
|
319
|
-
|
|
320
333
|
}
|
|
321
334
|
|
|
322
335
|
.checkout-widget.checkout-widget_order-summary {
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
|
|
22
22
|
.pdp-price__oos {
|
|
23
23
|
border-top: 1px solid $gray;
|
|
24
|
-
margin-bottom:
|
|
24
|
+
margin-bottom: 12px;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
.pdp-price__value_extended,
|
|
28
28
|
.pdp-price__oos,
|
|
29
29
|
.pdp-price__in-store-only {
|
|
30
|
-
padding:
|
|
30
|
+
padding: 12px 0;
|
|
31
31
|
|
|
32
32
|
p {
|
|
33
33
|
margin-bottom: 0;
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
.pdp-price__from {
|
|
18
|
-
font-size: .6em;
|
|
18
|
+
font-size: 0.6em;
|
|
19
19
|
margin-right: 4px;
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -32,18 +32,29 @@
|
|
|
32
32
|
|
|
33
33
|
.pdp-price__oos {
|
|
34
34
|
border-top: 1px solid $gray;
|
|
35
|
-
margin-bottom:
|
|
35
|
+
margin-bottom: 12px;
|
|
36
36
|
|
|
37
37
|
& + .pdp-price__controls,
|
|
38
38
|
&:last-child {
|
|
39
39
|
margin-bottom: 0;
|
|
40
40
|
}
|
|
41
|
+
|
|
42
|
+
.btn--notify-open {
|
|
43
|
+
display: flex;
|
|
44
|
+
align-items: center;
|
|
45
|
+
justify-content: center;
|
|
46
|
+
gap: 12px;
|
|
47
|
+
|
|
48
|
+
.fa-bell {
|
|
49
|
+
@include font-size(18);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
41
52
|
}
|
|
42
53
|
|
|
43
54
|
.pdp-price__value_extended,
|
|
44
55
|
.pdp-price__oos,
|
|
45
56
|
.pdp-price__in-store-only {
|
|
46
|
-
padding:
|
|
57
|
+
padding: 12px 0;
|
|
47
58
|
|
|
48
59
|
p {
|
|
49
60
|
margin-bottom: 0;
|
|
@@ -250,7 +261,6 @@
|
|
|
250
261
|
border-bottom-color: $red;
|
|
251
262
|
}
|
|
252
263
|
}
|
|
253
|
-
|
|
254
264
|
}
|
|
255
265
|
}
|
|
256
266
|
|
|
@@ -36,6 +36,10 @@
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
+
&__picture {
|
|
40
|
+
display: flex;
|
|
41
|
+
}
|
|
42
|
+
|
|
39
43
|
&__image {
|
|
40
44
|
display: inline-block;
|
|
41
45
|
width: 100%;
|
|
@@ -57,6 +61,10 @@
|
|
|
57
61
|
padding: 0 15px;
|
|
58
62
|
}
|
|
59
63
|
|
|
64
|
+
&__picture {
|
|
65
|
+
display: flex;
|
|
66
|
+
}
|
|
67
|
+
|
|
60
68
|
&__image {
|
|
61
69
|
display: inline-block;
|
|
62
70
|
width: 100%;
|