wickes-css2 2.107.0-ripple.2 → 2.107.0-ripple.21
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/components/checkout-chip.css +1 -1
- package/build/css/components/checkout-payment-details-v2.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/components/special-opening-schedule-v2.css +1 -1
- package/build/css/components/special-opening-schedule.css +1 -1
- package/build/css/emulation.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/checkout-new.css +1 -1
- package/build/css/pages/my-account-v2.css +1 -1
- package/build/css/pages/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_merged-basket.css +1 -1
- package/build/css/pages/page_personal-details.css +1 -1
- package/build/css/pages/page_product-details-v2-critical.css +1 -1
- package/build/css/pages/page_product-details-v2.css +1 -1
- package/build/css/pages/page_product-details.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/pages/page_store-locator-details.css +1 -1
- package/build/css/pages/page_store-locator.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/account-hub.min.js +1 -1
- package/build/js/basket.min.js +2 -2
- package/build/js/bloomreach-widget.min.js +1 -0
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/components/general/accordion.js +69 -0
- package/build/js/components/general/back-to-top.js +45 -0
- package/build/js/components/general/backdrop.js +23 -0
- package/build/js/components/general/cart-slider.js +36 -0
- package/build/js/components/general/clamp-content.js +95 -0
- package/build/js/components/general/clamp.js +216 -0
- package/build/js/components/general/clear-input.js +33 -0
- package/build/js/components/general/cookie-chat-back.js +51 -0
- package/build/js/components/general/cookies-policy.js +9 -0
- package/build/js/components/general/create-popup-slider.js +194 -0
- package/build/js/components/general/device-type.js +6 -0
- package/build/js/components/general/footer.js +67 -0
- package/build/js/components/general/handleAccordion.js +35 -0
- package/build/js/components/general/image-accordion.js +54 -0
- package/build/js/components/general/is-trade-pro.js +38 -0
- package/build/js/components/general/main-nav.js +16 -0
- package/build/js/components/general/main-navigation.js +275 -0
- package/build/js/components/general/notification.js +70 -0
- package/build/js/components/general/offer-banner.js +74 -0
- package/build/js/components/general/scroll-disable.js +54 -0
- package/build/js/components/general/search.js +43 -0
- package/build/js/components/general/snack-bar.js +160 -0
- package/build/js/components/general/sticky_header.js +62 -0
- package/build/js/components/general/switchVat.js +161 -0
- package/build/js/components/general/text-clamp.js +102 -0
- package/build/js/components/general/tooltips.js +8 -0
- package/build/js/components/general/validation.js +48 -0
- package/build/js/emulation.min.js +3377 -164
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/gift-cards.min.js +1 -1
- package/build/js/kitchen/kitchen-plp.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/mini-basket-slider.min.js +1 -1
- package/build/js/package-bulk-add.min.js +1 -0
- package/build/js/page/basket/mini-basket-total.js +17 -2
- package/build/js/page/bloomreach-widget.js +1148 -0
- package/build/js/page/checkout-payment-details.js +12 -1
- package/build/js/page/checkout.js +1 -1
- package/build/js/page/components/notify-me.js +99 -0
- package/build/js/page/components/order-summary.js +35 -0
- package/build/js/page/plp-load-more.js +81 -66
- package/build/js/page/ripple/bulk-add.js +63 -0
- package/build/js/page/ripple/package-bulk-add.js +43 -0
- package/build/js/page/ripple/postcode-checker.js +83 -0
- package/build/js/page/ripple/thumb-gallery.js +168 -0
- package/build/js/page/utils/create-count-stepper.js +30 -9
- package/build/js/page/utils/create-loading-button.js +37 -0
- package/build/js/page/utils/create-toast.js +79 -0
- package/build/js/page/utils/custom-dropdown.js +80 -0
- package/build/js/pdp-count-stepper.min.js +1 -1
- package/build/js/pdp.bundle.min.js +2 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/postcode-checker.min.js +1 -0
- package/build/js/project-list.min.js +1 -1
- package/build/js/saving-shopping-list.min.js +1 -1
- package/build/js/wickes-dc.js +1 -0
- package/package.json +1 -4
- package/src/badges-ripple.html +120 -0
- package/src/badges.html +9 -18
- package/src/components/base/button.hbs +23 -5
- package/src/components/bloomreach/complete-card-dropdown.hbs +47 -0
- package/src/components/bloomreach/complete-card-skeleton.hbs +19 -0
- package/src/components/bloomreach/complete-card.hbs +138 -0
- package/src/components/bloomreach/complete-divider.hbs +3 -0
- package/src/components/bloomreach/complete-summary-skeleton.hbs +12 -0
- package/src/components/bloomreach/complete-summary.hbs +43 -0
- package/src/components/bloomreach/complete-wrapper.hbs +1 -0
- package/src/components/bloomreach/complete-your-project.hbs +21 -0
- package/src/components/card-store-locator.hbs +70 -33
- package/src/components/card_bloomreach_media_banner.hbs +10 -0
- package/src/components/card_product_banner_v2.hbs +4 -1
- package/src/components/card_sponsor_banner.hbs +4 -1
- package/src/components/cart-voucher.hbs +10 -1
- package/src/components/checkout_order-summary-new.hbs +11 -2
- 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/fulfilment-accordions.hbs +1 -1
- package/src/components/gift-cards.hbs +1 -1
- package/src/components/injected-content.hbs +6 -1
- package/src/components/kitchen/price.hbs +49 -29
- package/src/components/kitchen/strip-stickers.hbs +9 -3
- package/src/components/modal.hbs +1 -1
- package/src/components/modals/notify-me-modal.hbs +76 -0
- package/src/components/order-item.hbs +18 -5
- package/src/components/order-summary.hbs +2 -2
- package/src/components/package-card.hbs +30 -0
- package/src/components/pdp-price-actions.hbs +17 -0
- package/src/components/postcode-checker.hbs +24 -0
- package/src/components/potential-promotion.hbs +12 -3
- package/src/components/price-badges.hbs +14 -0
- package/src/components/price-block-v2.hbs +91 -31
- package/src/components/product-main-info-v2.hbs +2 -0
- package/src/components/sponsor-top-banner.hbs +10 -0
- package/src/components/suite-includes.hbs +43 -12
- package/src/components/suite-product-card.hbs +37 -15
- package/src/components/thumb-gallery.hbs +23 -0
- package/src/data/data_badges.json +143 -0
- package/src/data/data_bathroom-plp.json +814 -0
- package/src/data/data_delivery-address-v2.json +1 -1
- package/src/data/data_locators.json +441 -135
- package/src/data/data_search-results_v2.json +20 -2
- package/src/data/data_shopping-cart-v2.json +23 -5
- package/src/data/data_spr_injected_content.json +4 -0
- package/src/data/data_suite-includes-products.json +73 -2
- package/src/elements/checkbox.hbs +8 -1
- package/src/js/components/banner-placement-manager.js +25 -9
- package/src/js/components/general/accordion.js +25 -2
- package/src/js/components/general/cart-slider.js +19 -6
- package/src/js/components/package-card.js +69 -0
- package/src/js/components/store-locator-cards.js +76 -0
- package/src/js/emulation/banner-placement-manager.js +285 -53
- package/src/js/emulation/bloomreach-widget-calculations.js +132 -0
- package/src/js/emulation/bloomreach-widget-loading.js +11 -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/gift-cards.js +1 -1
- package/src/js/emulation/mini-basket-data.js +3 -3
- package/src/js/emulation/mock.js +3112 -4
- package/src/js/emulation/notify-me.js +9 -0
- package/src/js/emulation/plp-load-more.js +13 -4
- package/src/js/emulation/postcode-checker.js +11 -0
- package/src/js/emulation/store-locator-load-more.js +69 -0
- package/src/js/emulation/switchCalendar.js +12 -8
- package/src/js/page/basket/mini-basket-total.js +17 -2
- package/src/js/page/bloomreach-widget.js +1148 -0
- package/src/js/page/checkout-payment-details.js +12 -1
- package/src/js/page/checkout.js +1 -1
- package/src/js/page/components/notify-me.js +99 -0
- package/src/js/page/components/order-summary.js +35 -0
- package/src/js/page/plp-load-more.js +81 -66
- package/src/js/page/ripple/bulk-add.js +63 -0
- package/src/js/page/ripple/package-bulk-add.js +43 -0
- package/src/js/page/ripple/postcode-checker.js +83 -0
- package/src/js/page/ripple/thumb-gallery.js +168 -0
- package/src/js/page/utils/create-count-stepper.js +30 -9
- package/src/js/page/utils/create-loading-button.js +37 -0
- package/src/js/page/utils/create-toast.js +79 -0
- package/src/js/page/utils/custom-dropdown.js +80 -0
- package/src/page_bathroom-plp-vat.html +81 -0
- package/src/page_bathroom-plp-without-load-more.html +83 -0
- package/src/page_bathroom-plp.html +98 -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_my-account-installer-carousel.html +131 -0
- 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_bloomreach.html +81 -0
- package/src/page_plp_v2.html +6 -0
- package/src/page_product-details-banner.html +1 -4
- package/src/page_product-details-big-wins-disabled-delivery.html +1 -4
- package/src/page_product-details-big-wins-non-registered.html +1 -4
- package/src/page_product-details-big-wins-out-nearest.html +1 -4
- package/src/page_product-details-big-wins-unhappy.html +1 -4
- package/src/page_product-details-big-wins.html +1 -4
- package/src/page_product-details-billie.html +1 -4
- package/src/page_product-details-bloomreach.html +130 -0
- package/src/page_product-details-calculator.html +1 -4
- package/src/page_product-details-cashback-v2.html +1 -4
- package/src/page_product-details-clearpay.html +1 -4
- package/src/page_product-details-cnc-error-notification.html +1 -4
- package/src/page_product-details-cnc-success-notification-vat.html +1 -5
- package/src/page_product-details-cnc-success-notification.html +1 -4
- package/src/page_product-details-default-store.html +1 -4
- package/src/page_product-details-energy-efficiency.html +1 -4
- package/src/page_product-details-flooring-with-pr-placeholder.html +1 -4
- package/src/page_product-details-flooring.html +1 -4
- package/src/page_product-details-gallery-actual.html +1 -4
- package/src/page_product-details-mfe-calculator.html +10 -7
- package/src/page_product-details-minimum-v2.html +0 -1
- package/src/page_product-details-mtm-doors.html +1 -4
- package/src/page_product-details-only-clearpay.html +1 -4
- package/src/page_product-details-paint-mixing.html +1 -4
- package/src/page_product-details-ripple-gallery.html +119 -0
- package/src/page_product-details-saved-pl.html +1 -4
- package/src/page_product-details-suite-includes-banners.html +139 -0
- package/src/page_product-details-suite-includes-vat.html +126 -0
- package/src/page_product-details-suite-includes.html +32 -20
- package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +1 -4
- package/src/page_product-details-tile-steps-logout.html +1 -4
- package/src/page_product-details-tile-steps-no-new-project-list.html +1 -4
- package/src/page_product-details-tile-steps-with-klarna.html +1 -4
- package/src/page_product-details-tile-steps.html +1 -4
- package/src/page_product-details-v2.html +1 -4
- package/src/page_product-details-vat.html +1 -4
- package/src/page_product-details-wisdom-mcfc-registered.html +1 -4
- package/src/page_product-details-wisdom-mcfc.html +1 -4
- package/src/page_product-details-wisdom-oos-registered.html +1 -4
- package/src/page_product-details-wisdom-oos.html +1 -4
- package/src/page_product-details-wisdom-registered.html +1 -4
- package/src/page_product-details-wisdom.html +1 -4
- package/src/page_product-details-with-favourite.html +1 -4
- package/src/page_product-details-with-global-search-v2.html +8 -4
- package/src/page_product-details_no-previous-default.html +1 -4
- package/src/page_shopping-cart-v2-vat.html +2 -1
- package/src/page_store-locator-list.html +17 -28
- package/src/page_track-my-order-result.html +1 -0
- package/src/partials/scripts.hbs +1 -0
- package/src/scss/common/_CTAs.scss +7 -3
- package/src/scss/common/_common.scss +1 -0
- package/src/scss/common/_elements.scss +13 -1
- package/src/scss/common/_loading-button.scss +49 -0
- package/src/scss/components/_card-store-locator.scss +139 -32
- 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/_image-accordion.scss +5 -2
- package/src/scss/components/_kitchen-card.scss +5 -4
- package/src/scss/components/_notifications.scss +86 -5
- package/src/scss/components/_notify-me-modal.scss +139 -0
- package/src/scss/components/_order-summary.scss +25 -12
- package/src/scss/components/_package-card.scss +63 -0
- package/src/scss/components/_package-plp.scss +88 -0
- package/src/scss/components/_pdp-action-v2-critical.scss +12 -0
- package/src/scss/components/_pdp-action-v2.scss +12 -0
- package/src/scss/components/_postcode-checker.scss +115 -0
- package/src/scss/components/_price-badges-critical.scss +10 -1
- package/src/scss/components/_price-badges.scss +10 -2
- package/src/scss/components/_price-block-critical.scss +11 -3
- package/src/scss/components/_price-block.scss +15 -4
- package/src/scss/components/_suite-includes.scss +29 -26
- package/src/scss/components/_suite-product-card.scss +33 -23
- package/src/scss/components/_thumb-gallery-critical.scss +34 -0
- package/src/scss/components/_thumb-gallery.scss +192 -0
- package/src/scss/components/bloomreach/_bloomreach.scss +3 -0
- package/src/scss/components/bloomreach/_complete-card-dropdown.scss +174 -0
- package/src/scss/components/bloomreach/_complete-card.scss +402 -0
- package/src/scss/components/bloomreach/_complete-your-project.scss +207 -0
- package/src/scss/components/card-product-banner.scss +35 -27
- package/src/scss/components/checkout-chip.scss +1 -0
- package/src/scss/components/checkout-payment-details-v2.scss +12 -0
- package/src/scss/components/kitchen/_price.scss +10 -0
- package/src/scss/components/kitchen/_strip-stickers.scss +46 -0
- package/src/scss/components/my-account/_clipboard-code.scss +4 -0
- package/src/scss/components/price-block-v2-critical.scss +54 -1
- package/src/scss/components/price-block-v2.scss +54 -3
- package/src/scss/components/special-opening-schedule-v2.scss +2 -6
- package/src/scss/components/special-opening-schedule.scss +17 -4
- package/src/scss/emulation.scss +0 -6
- package/src/scss/helpers/_CTAs.scss +15 -5
- package/src/scss/helpers/_variables.scss +1 -0
- package/src/scss/pages/page_checkout_delivery-new.scss +36 -0
- package/src/scss/pages/page_product-details-v2-critical.scss +217 -111
- package/src/scss/pages/page_product-details-v2.scss +200 -109
- package/src/scss/pages/page_product-details.scss +0 -2
- 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/pages/page_store-locator.scss +48 -26
- package/src/scss/pdp-main-critical.scss +1 -1
- package/src/scss/pdp-main.scss +5 -1
- package/src/scss/plp-main.scss +5 -0
- package/src/scss/store-locator-main.scss +15 -1
- package/src/sitemap.html +15 -0
- package/build/css/components/kitchen/strip-stickers.css +0 -1
- package/build/css/components/strip-stickers.css +0 -1
- package/src/js/emulation/store-locator-list.js +0 -19
- package/src/scss/components/kitchen/strip-stickers.scss +0 -18
- package/src/scss/components/strip-stickers.scss +0 -18
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
position: absolute;
|
|
16
16
|
right: 8px;
|
|
17
17
|
top: 8px;
|
|
18
|
-
font-size: .875rem;
|
|
18
|
+
font-size: 0.875rem;
|
|
19
19
|
color: $warm-grey;
|
|
20
20
|
cursor: pointer;
|
|
21
21
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
position: absolute;
|
|
29
29
|
right: 8px;
|
|
30
30
|
top: 8px;
|
|
31
|
-
font-size: .875rem;
|
|
31
|
+
font-size: 0.875rem;
|
|
32
32
|
color: $warm-grey;
|
|
33
33
|
cursor: pointer;
|
|
34
34
|
}
|
|
@@ -130,14 +130,14 @@
|
|
|
130
130
|
|
|
131
131
|
.title {
|
|
132
132
|
font-weight: 500;
|
|
133
|
-
font-size: .875rem;
|
|
133
|
+
font-size: 0.875rem;
|
|
134
134
|
line-height: 1.5rem;
|
|
135
135
|
margin-bottom: 0;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
.description {
|
|
139
139
|
font-weight: 400;
|
|
140
|
-
font-size: .875rem;
|
|
140
|
+
font-size: 0.875rem;
|
|
141
141
|
line-height: 1.375rem;
|
|
142
142
|
margin-bottom: 0;
|
|
143
143
|
}
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
min-height: 0;
|
|
150
150
|
max-height: 0;
|
|
151
151
|
overflow: hidden;
|
|
152
|
-
transition: max-height .15s ease-out;
|
|
152
|
+
transition: max-height 0.15s ease-out;
|
|
153
153
|
|
|
154
154
|
.notification-item {
|
|
155
155
|
margin: 0;
|
|
@@ -186,3 +186,84 @@
|
|
|
186
186
|
cursor: pointer;
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
+
|
|
190
|
+
.toast-container {
|
|
191
|
+
background-color: $white;
|
|
192
|
+
position: fixed;
|
|
193
|
+
left: 50%;
|
|
194
|
+
bottom: 48px;
|
|
195
|
+
z-index: $zindex-modal;
|
|
196
|
+
max-width: 640px;
|
|
197
|
+
transform: translate(-50%, calc(100% + 48px));
|
|
198
|
+
animation: toast-slide-up 0.25s ease-out forwards;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.toast {
|
|
202
|
+
@include font-size(14);
|
|
203
|
+
@include line-height(22);
|
|
204
|
+
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
min-height: 48px;
|
|
208
|
+
margin-bottom: 0 !important;
|
|
209
|
+
padding: 8px;
|
|
210
|
+
border: 5px solid $white;
|
|
211
|
+
box-shadow: none;
|
|
212
|
+
font-weight: 500;
|
|
213
|
+
|
|
214
|
+
.notification__icon {
|
|
215
|
+
@include font-size(16);
|
|
216
|
+
|
|
217
|
+
position: static;
|
|
218
|
+
display: flex;
|
|
219
|
+
flex: 0 0 24px;
|
|
220
|
+
align-items: center;
|
|
221
|
+
justify-content: center;
|
|
222
|
+
width: 24px;
|
|
223
|
+
height: 24px;
|
|
224
|
+
margin-right: 8px;
|
|
225
|
+
transform: none;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
&.notification_success {
|
|
229
|
+
background-color: rgba($green, 0.05);
|
|
230
|
+
|
|
231
|
+
.notification__icon {
|
|
232
|
+
color: $green;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
&.notification_warning {
|
|
237
|
+
background-color: rgba($orange, 0.05);
|
|
238
|
+
|
|
239
|
+
.notification__icon {
|
|
240
|
+
color: $yellow;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
&.notification_error {
|
|
245
|
+
background-color: rgba($red, 0.05);
|
|
246
|
+
|
|
247
|
+
.notification__icon {
|
|
248
|
+
color: $red;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
@keyframes toast-slide-up {
|
|
254
|
+
from {
|
|
255
|
+
transform: translate(-50%, calc(100% + 48px));
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
to {
|
|
259
|
+
transform: translate(-50%, 0);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
@include media-breakpoint-down(sm) {
|
|
264
|
+
.toast-container {
|
|
265
|
+
bottom: 48px;
|
|
266
|
+
width: max-content;
|
|
267
|
+
max-width: calc(100% - 32px);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
@@ -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 {
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
.package-card {
|
|
2
|
+
display: grid;
|
|
3
|
+
grid-template-rows: subgrid;
|
|
4
|
+
grid-row: span 5;
|
|
5
|
+
gap: 0;
|
|
6
|
+
|
|
7
|
+
border: 1px solid $gray;
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
|
|
10
|
+
&.has-stickers-row {
|
|
11
|
+
grid-row: span 6;
|
|
12
|
+
|
|
13
|
+
.package-card__content {
|
|
14
|
+
grid-row: span 5;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__image {
|
|
19
|
+
width: 100%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&__content {
|
|
23
|
+
display: grid;
|
|
24
|
+
grid-template-rows: subgrid;
|
|
25
|
+
grid-row: span 4;
|
|
26
|
+
row-gap: 12px;
|
|
27
|
+
padding: 16px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__title {
|
|
31
|
+
margin-bottom: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__usp {
|
|
35
|
+
display: flex;
|
|
36
|
+
flex-direction: column;
|
|
37
|
+
row-gap: 8px;
|
|
38
|
+
|
|
39
|
+
margin-bottom: 0;
|
|
40
|
+
padding-left: 0;
|
|
41
|
+
list-style: none;
|
|
42
|
+
|
|
43
|
+
&-item {
|
|
44
|
+
display: flex;
|
|
45
|
+
align-items: baseline;
|
|
46
|
+
column-gap: 8px;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&__icon {
|
|
51
|
+
font-size: 1rem;
|
|
52
|
+
flex-shrink: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__price,
|
|
56
|
+
&__button {
|
|
57
|
+
align-self: end;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&__stickers {
|
|
61
|
+
min-width: 0;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
.package-plp {
|
|
2
|
+
margin-bottom: 24px;
|
|
3
|
+
|
|
4
|
+
&__cards {
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
row-gap: 16px;
|
|
8
|
+
margin-top: 16px;
|
|
9
|
+
margin-bottom: 32px;
|
|
10
|
+
|
|
11
|
+
.card-product-banner,
|
|
12
|
+
.card-sponsor-banner,
|
|
13
|
+
.card-bloomreach-media-banner {
|
|
14
|
+
flex: unset;
|
|
15
|
+
max-width: initial;
|
|
16
|
+
width: 100%;
|
|
17
|
+
margin-bottom: 0;
|
|
18
|
+
padding: 0;
|
|
19
|
+
grid-row: span 5;
|
|
20
|
+
align-self: start;
|
|
21
|
+
|
|
22
|
+
&.has-stickers-row {
|
|
23
|
+
grid-row: span 6;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&__link {
|
|
27
|
+
padding: 0;
|
|
28
|
+
display: block;
|
|
29
|
+
height: max-content;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&__picture {
|
|
33
|
+
display: block;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__image {
|
|
37
|
+
display: block;
|
|
38
|
+
width: 100%;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@include media-breakpoint-up(md) {
|
|
45
|
+
.package-plp {
|
|
46
|
+
&__container {
|
|
47
|
+
display: flex;
|
|
48
|
+
column-gap: 32px;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&__search-filter {
|
|
52
|
+
min-width: 210px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
&__content {
|
|
56
|
+
flex-basis: 100%;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&__cards {
|
|
60
|
+
row-gap: 24px;
|
|
61
|
+
margin-top: 24px;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@include media-breakpoint-up(md) {
|
|
67
|
+
.package-plp {
|
|
68
|
+
margin-bottom: 40px;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@include media-breakpoint-up(lg) {
|
|
73
|
+
.package-plp {
|
|
74
|
+
&__cards {
|
|
75
|
+
display: grid;
|
|
76
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
77
|
+
gap: 24px;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@include media-breakpoint-up(xl) {
|
|
83
|
+
.package-plp {
|
|
84
|
+
&__cards {
|
|
85
|
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
.postcode-checker {
|
|
2
|
+
padding: 16px;
|
|
3
|
+
background-color: $white;
|
|
4
|
+
border: 1px solid $gray;
|
|
5
|
+
display: grid;
|
|
6
|
+
grid-template-columns: 1fr;
|
|
7
|
+
grid-template-areas:
|
|
8
|
+
"title"
|
|
9
|
+
"field"
|
|
10
|
+
"error"
|
|
11
|
+
"action";
|
|
12
|
+
gap: 8px 16px;
|
|
13
|
+
|
|
14
|
+
&__title {
|
|
15
|
+
grid-area: title;
|
|
16
|
+
margin-bottom: 8px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__field {
|
|
20
|
+
grid-area: field;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__action {
|
|
24
|
+
grid-area: action;
|
|
25
|
+
margin-top: 8px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__input {
|
|
29
|
+
display: block;
|
|
30
|
+
width: 100%;
|
|
31
|
+
outline: none;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__error {
|
|
35
|
+
grid-area: error;
|
|
36
|
+
display: none;
|
|
37
|
+
color: $red;
|
|
38
|
+
margin-bottom: 0;
|
|
39
|
+
line-height: 1rem;
|
|
40
|
+
font-size: .75rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&--error {
|
|
44
|
+
.postcode-checker__input {
|
|
45
|
+
border-color: $red;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.postcode-checker__error {
|
|
49
|
+
display: block;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&__button {
|
|
54
|
+
margin-top: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&--mobile-only {
|
|
58
|
+
display: grid;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&--desktop-only {
|
|
62
|
+
display: none;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
@include media-breakpoint-up(sm) {
|
|
67
|
+
.postcode-checker {
|
|
68
|
+
grid-template-columns: 1fr 1fr;
|
|
69
|
+
grid-template-areas:
|
|
70
|
+
"title title"
|
|
71
|
+
"field action"
|
|
72
|
+
"error error";
|
|
73
|
+
|
|
74
|
+
&__action {
|
|
75
|
+
margin-top: 0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
@include media-breakpoint-up(md) {
|
|
81
|
+
.postcode-checker {
|
|
82
|
+
grid-template-columns: 1fr;
|
|
83
|
+
grid-template-areas:
|
|
84
|
+
"title"
|
|
85
|
+
"field"
|
|
86
|
+
"error"
|
|
87
|
+
"action";
|
|
88
|
+
|
|
89
|
+
&__action {
|
|
90
|
+
margin-top: 8px;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&--mobile-only {
|
|
94
|
+
display: none;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&--desktop-only {
|
|
98
|
+
display: grid;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@include media-breakpoint-up(xl) {
|
|
104
|
+
.postcode-checker {
|
|
105
|
+
grid-template-columns: 1fr 1fr;
|
|
106
|
+
grid-template-areas:
|
|
107
|
+
"title title"
|
|
108
|
+
"field action"
|
|
109
|
+
"error error";
|
|
110
|
+
|
|
111
|
+
&__action {
|
|
112
|
+
margin-top: 0;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -4,6 +4,16 @@
|
|
|
4
4
|
width: 140px;
|
|
5
5
|
padding: 0;
|
|
6
6
|
|
|
7
|
+
&.pdp__badges--static .pdp__badge {
|
|
8
|
+
min-width: auto;
|
|
9
|
+
padding: 4px 12px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
text-overflow: ellipsis;
|
|
12
|
+
white-space: nowrap;
|
|
13
|
+
font-size: 0.875rem;
|
|
14
|
+
line-height: 1.375rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
7
17
|
&-cashback {
|
|
8
18
|
width: auto;
|
|
9
19
|
padding: 0 10px;
|
|
@@ -35,7 +45,6 @@
|
|
|
35
45
|
|
|
36
46
|
& .products-list-v2__badge {
|
|
37
47
|
background: $yellow;
|
|
38
|
-
|
|
39
48
|
}
|
|
40
49
|
}
|
|
41
50
|
|