wickes-css2 2.113.0-develop.1 → 2.113.0-develop.10
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/global-search.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/store-locator-facilities.css +1 -1
- package/build/css/components/store-locator-lookup.css +1 -1
- package/build/css/components/tile-calculator.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/checkout.css +1 -1
- package/build/css/pages/my-account-v2.css +1 -1
- package/build/css/pages/my-account.css +1 -1
- package/build/css/pages/page_address-book.css +1 -1
- package/build/css/pages/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_default-store.css +1 -1
- package/build/css/pages/page_discount.css +1 -1
- package/build/css/pages/page_fi.css +1 -1
- package/build/css/pages/page_in-store-checkout.css +1 -1
- package/build/css/pages/page_merged-basket.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_product-details-critical.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_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/pages/page_ti.css +1 -1
- package/build/css/pages/tradePro-discount.css +1 -1
- package/build/css/pages/tradePro-rewards-old.css +1 -1
- package/build/css/pages/tradePro-rewards.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/shopping-list-pdf.css +1 -1
- package/build/css/store-locator-main.css +1 -1
- package/build/img/emulation/low-trees.png +0 -0
- package/build/img/emulation/overhead-power-cables.png +0 -0
- package/build/img/emulation/parked-vehicles.png +0 -0
- package/build/img/emulation/traffic-access-issues.png +0 -0
- package/build/img/emulation/walls-or-fences.png +0 -0
- package/build/js/account-members.min.js +1 -1
- package/build/js/add-project-list-id.min.js +1 -1
- package/build/js/address-book.min.js +1 -1
- package/build/js/basket.min.js +2 -2
- package/build/js/bloomreach-widget.min.js +1 -1
- package/build/js/bundle.min.js +1 -1
- package/build/js/change-password.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/emulation.min.js +456 -3270
- 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/package-bulk-add.min.js +1 -0
- package/build/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +318 -0
- package/build/js/page/bloomreach-widget/bloomreach-widget-core.js +370 -0
- package/build/js/page/bloomreach-widget/bloomreach-widget-tracking.js +16 -13
- package/build/js/page/bloomreach-widget/bloomreach-widget.js +8 -237
- package/build/js/page/bloomreach-widget/complete-your-project/cards.js +308 -0
- package/build/js/page/bloomreach-widget/complete-your-project/config.js +60 -0
- package/build/js/page/bloomreach-widget/complete-your-project/model.js +140 -0
- package/build/js/page/bloomreach-widget/complete-your-project/presenter.js +69 -0
- package/build/js/page/bloomreach-widget/complete-your-project/quantity.js +80 -0
- package/build/js/page/bloomreach-widget/complete-your-project/view.js +179 -0
- package/build/js/page/bloomreach-widget/complete-your-project/widget.js +185 -0
- package/build/js/page/bloomreach-widget/dont-forget-widget.js +15 -0
- package/build/js/page/bloomreach-widget/why-not-add-widget.js +10 -228
- package/build/js/page/plp-load-more.js +81 -66
- package/build/js/page/ripple/bulk-add.js +71 -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/validation.js +1 -1
- package/build/js/pdp.bundle.min.js +2 -2
- package/build/js/personal-details.min.js +1 -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 +2 -2
- package/build/js/quiz.min.js +1 -1
- package/build/js/track-my-order.min.js +1 -1
- package/package.json +4 -2
- package/src/badges-ripple.html +120 -0
- package/src/badges.html +9 -18
- package/src/components/base/button.hbs +7 -0
- package/src/components/bloomreach/complete-your-project-skeleton.hbs +21 -0
- package/src/components/bloomreach/complete-your-project.hbs +6 -21
- package/src/components/bloomreach/why-not-add-card-skeleton.hbs +2 -2
- package/src/components/bloomreach/why-not-add-card.hbs +79 -60
- package/src/components/bloomreach/why-not-add-content.hbs +3 -3
- package/src/components/bloomreach/why-not-add.hbs +1 -1
- package/src/components/date-selection.hbs +19 -10
- package/src/components/fulfilment-accordions.hbs +1 -1
- package/src/components/heavy-banners-wrapper.hbs +21 -0
- package/src/components/image-accordion.hbs +18 -0
- package/src/components/kitchen/price.hbs +49 -29
- package/src/components/kitchen/strip-stickers.hbs +9 -3
- 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/price-badges.hbs +12 -10
- package/src/components/price-block-v2.hbs +274 -202
- package/src/components/product-main-info-v2.hbs +2 -0
- package/src/components/suite-includes.hbs +66 -0
- package/src/components/suite-product-card.hbs +47 -0
- 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_heavy-banner.json +29 -0
- package/src/data/data_suite-includes-products.json +134 -0
- package/src/data/my-account/data_my-account.json +1 -1
- package/src/data/my-account/data_my-order.json +1 -1
- package/src/data/my-account/data_my-orders.json +1 -1
- package/src/img/emulation/low-trees.png +0 -0
- package/src/img/emulation/overhead-power-cables.png +0 -0
- package/src/img/emulation/parked-vehicles.png +0 -0
- package/src/img/emulation/traffic-access-issues.png +0 -0
- package/src/img/emulation/walls-or-fences.png +0 -0
- package/src/js/components/banner-placement-manager.js +25 -9
- package/src/js/components/general/cart-slider.js +41 -4
- package/src/js/components/general/image-accordion.js +54 -0
- package/src/js/components/general/switchVat.js +8 -1
- 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 +219 -188
- package/src/js/emulation/complete-your-project-loading.js +16 -0
- package/src/js/emulation/custom-slider-emulation.js +21 -8
- package/src/js/emulation/date-selection.js +2 -2
- package/src/js/emulation/dont-forget-loading.js +36 -0
- package/src/js/emulation/just-added-scenarios-emulation.js +131 -0
- package/src/js/emulation/mini-basket.js +34 -34
- package/src/js/emulation/mock.js +429 -4
- package/src/js/emulation/plp-load-more.js +13 -4
- package/src/js/emulation/postcode-checker.js +11 -0
- package/src/js/emulation/why-not-add-loading.js +14 -3
- package/src/js/emulation/why-not-add.js +12 -14
- package/src/js/page/bloomreach-widget/bloomreach-recommendation-carousel-widget.js +318 -0
- package/src/js/page/bloomreach-widget/bloomreach-widget-core.js +370 -0
- package/src/js/page/bloomreach-widget/bloomreach-widget-tracking.js +16 -13
- package/src/js/page/bloomreach-widget/bloomreach-widget.js +8 -237
- package/src/js/page/bloomreach-widget/complete-your-project/cards.js +308 -0
- package/src/js/page/bloomreach-widget/complete-your-project/config.js +60 -0
- package/src/js/page/bloomreach-widget/complete-your-project/model.js +140 -0
- package/src/js/page/bloomreach-widget/complete-your-project/presenter.js +69 -0
- package/src/js/page/bloomreach-widget/complete-your-project/quantity.js +80 -0
- package/src/js/page/bloomreach-widget/complete-your-project/view.js +179 -0
- package/src/js/page/bloomreach-widget/complete-your-project/widget.js +185 -0
- package/src/js/page/bloomreach-widget/dont-forget-widget.js +15 -0
- package/src/js/page/bloomreach-widget/why-not-add-widget.js +10 -228
- package/src/js/page/plp-load-more.js +81 -66
- package/src/js/page/ripple/bulk-add.js +71 -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/validation.js +1 -1
- 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_big-bulky-delivery-details.html +272 -0
- package/src/page_checkout_premium-delivery-details.html +2 -2
- package/src/page_product-details-banner.html +1 -3
- package/src/page_product-details-big-wins-disabled-delivery.html +1 -3
- package/src/page_product-details-big-wins-non-registered.html +1 -3
- package/src/page_product-details-big-wins-out-nearest.html +1 -3
- package/src/page_product-details-big-wins-unhappy.html +1 -3
- package/src/page_product-details-big-wins.html +1 -3
- package/src/page_product-details-billie.html +1 -3
- package/src/page_product-details-calculator.html +1 -3
- package/src/page_product-details-cashback-v2.html +1 -3
- package/src/page_product-details-clearpay.html +1 -3
- package/src/page_product-details-cnc-error-notification.html +1 -3
- package/src/page_product-details-cnc-success-notification-vat.html +1 -4
- package/src/page_product-details-cnc-success-notification.html +1 -3
- package/src/page_product-details-default-store.html +1 -3
- package/src/page_product-details-energy-efficiency.html +1 -3
- package/src/page_product-details-flooring-with-pr-placeholder.html +1 -3
- package/src/page_product-details-flooring.html +1 -3
- package/src/page_product-details-gallery-actual.html +1 -3
- package/src/page_product-details-mfe-calculator.html +1 -3
- package/src/page_product-details-mtm-doors.html +1 -3
- package/src/page_product-details-only-clearpay.html +1 -3
- package/src/page_product-details-paint-mixing.html +1 -3
- package/src/page_product-details-ripple-gallery.html +121 -0
- package/src/page_product-details-saved-pl.html +1 -3
- package/src/page_product-details-suite-includes-banners.html +139 -0
- package/src/page_product-details-suite-includes-billie.html +128 -0
- package/src/page_product-details-suite-includes-klarna.html +120 -0
- package/src/page_product-details-suite-includes-vat.html +126 -0
- package/src/page_product-details-suite-includes.html +122 -0
- package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +1 -3
- package/src/page_product-details-tile-steps-logout.html +1 -3
- package/src/page_product-details-tile-steps-no-new-project-list.html +1 -3
- package/src/page_product-details-tile-steps-with-klarna.html +1 -3
- package/src/page_product-details-tile-steps.html +1 -3
- package/src/page_product-details-v2.html +1 -3
- package/src/page_product-details-vat.html +1 -3
- package/src/page_product-details-wisdom-mcfc-registered.html +1 -3
- package/src/page_product-details-wisdom-mcfc.html +1 -3
- package/src/page_product-details-wisdom-oos-registered.html +1 -3
- package/src/page_product-details-wisdom-oos.html +1 -3
- package/src/page_product-details-wisdom-registered.html +1 -3
- package/src/page_product-details-wisdom.html +1 -3
- package/src/page_product-details-with-favourite.html +1 -3
- package/src/page_product-details-with-global-search-v2.html +6 -9
- package/src/page_product-details-with-why-not-add-single.html +2 -1
- package/src/page_product-details_no-previous-default.html +1 -3
- package/src/scss/components/_cards-slider.scss +3 -1
- package/src/scss/components/_checkout_order.scss +2 -1
- package/src/scss/components/_date-selection-add-new-styles.scss +29 -0
- package/src/scss/components/_heavy-banners.scss +216 -0
- package/src/scss/components/_image-accordion.scss +54 -0
- package/src/scss/components/_kitchen-card.scss +1 -0
- package/src/scss/components/_lines-group.scss +1 -1
- package/src/scss/components/_package-card.scss +63 -0
- package/src/scss/components/_package-plp.scss +88 -0
- package/src/scss/components/_postcode-checker.scss +115 -0
- package/src/scss/components/_price-badges-critical.scss +10 -0
- package/src/scss/components/_price-badges.scss +10 -0
- package/src/scss/components/_price-block-critical.scss +1 -0
- package/src/scss/components/_price-block.scss +1 -0
- package/src/scss/components/_sticky-element-appearance.scss +6 -2
- package/src/scss/components/_suite-includes.scss +141 -0
- package/src/scss/components/_suite-product-card.scss +98 -0
- 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 +1 -0
- package/src/scss/components/bloomreach/_card-shared.scss +24 -0
- package/src/scss/components/bloomreach/_complete-card.scss +1 -9
- package/src/scss/components/bloomreach/_reviews.scss +0 -2
- package/src/scss/components/bloomreach/_why-not-add-card.scss +137 -10
- package/src/scss/components/bloomreach/_why-not-add.scss +31 -2
- package/src/scss/components/energy-efficiency.scss +2 -2
- package/src/scss/components/global-search.scss +6 -2
- 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/_active-orders.scss +9 -9
- package/src/scss/components/price-block-v2-critical.scss +58 -0
- package/src/scss/components/price-block-v2.scss +58 -0
- package/src/scss/helpers/helpers-pdp-critical/_helpers-critical-pdp.scss +13 -8
- package/src/scss/libs/_bootstrap-extracted.scss +5 -0
- package/src/scss/main.scss +1 -0
- package/src/scss/pages/iframe-paypage.scss +9 -11
- package/src/scss/pages/page_checkout_delivery-new.scss +4 -0
- package/src/scss/pages/page_cms_homepage.scss +10 -4
- package/src/scss/pages/page_installation.scss +2 -2
- package/src/scss/pages/page_online-exclusive.scss +7 -3
- package/src/scss/pages/page_product-details-v2-critical.scss +216 -109
- package/src/scss/pages/page_product-details-v2.scss +168 -107
- package/src/scss/pages/page_product-details.scss +11 -0
- package/src/scss/pages/page_top-rated.scss +38 -23
- package/src/scss/pdp-main-critical.scss +1 -0
- package/src/scss/pdp-main.scss +6 -0
- package/src/scss/plp-main.scss +5 -0
- 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/build/js/page/bloomreach-widget/complete-your-project-widget.js +0 -1100
- package/src/js/page/bloomreach-widget/complete-your-project-widget.js +0 -1100
- package/src/scss/components/kitchen/strip-stickers.scss +0 -18
- package/src/scss/components/strip-stickers.scss +0 -18
|
@@ -136,8 +136,37 @@
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
+
|
|
140
|
+
&--dont-forget {
|
|
141
|
+
padding: 0;
|
|
142
|
+
margin-bottom: 0;
|
|
143
|
+
|
|
144
|
+
.why-not-add {
|
|
145
|
+
&__title {
|
|
146
|
+
@include font-size(16);
|
|
147
|
+
@include line-height(24);
|
|
148
|
+
|
|
149
|
+
font-weight: 500;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@include media-breakpoint-up(md) {
|
|
156
|
+
.why-not-add {
|
|
157
|
+
&--dont-forget {
|
|
158
|
+
.why-not-add {
|
|
159
|
+
&__title {
|
|
160
|
+
@include font-size(18);
|
|
161
|
+
@include line-height(22);
|
|
162
|
+
|
|
163
|
+
font-weight: 700;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
139
168
|
}
|
|
140
169
|
|
|
141
170
|
[data-why-not-add-widget] + .pdp-price__quantity-calculator {
|
|
142
|
-
margin-top: 20px
|
|
143
|
-
}
|
|
171
|
+
margin-top: 20px;
|
|
172
|
+
}
|
|
@@ -80,7 +80,8 @@
|
|
|
80
80
|
|
|
81
81
|
&:before {
|
|
82
82
|
content: '';
|
|
83
|
-
background: $white url('../../img/energy-efficiency/energy-marker.svg') no-repeat center /
|
|
83
|
+
background: $white url('../../img/energy-efficiency/energy-marker.svg') no-repeat center /
|
|
84
|
+
cover;
|
|
84
85
|
width: 9px;
|
|
85
86
|
height: 100%;
|
|
86
87
|
position: absolute;
|
|
@@ -310,7 +311,6 @@
|
|
|
310
311
|
}
|
|
311
312
|
}
|
|
312
313
|
|
|
313
|
-
|
|
314
314
|
@media print {
|
|
315
315
|
.energy-efficiency {
|
|
316
316
|
display: none !important;
|
|
@@ -409,7 +409,10 @@
|
|
|
409
409
|
left: 50%;
|
|
410
410
|
transform: translate(-50%, 0);
|
|
411
411
|
border-radius: 10px;
|
|
412
|
-
box-shadow:
|
|
412
|
+
box-shadow:
|
|
413
|
+
0 1px 5px rgba(0, 0, 0, 0.12),
|
|
414
|
+
0 2px 2px rgba(0, 0, 0, 0.14),
|
|
415
|
+
0 3px 1px -2px rgba(0, 0, 0, 0.2);
|
|
413
416
|
padding: 15px;
|
|
414
417
|
|
|
415
418
|
&--has-tradepro-banner {
|
|
@@ -572,7 +575,8 @@
|
|
|
572
575
|
}
|
|
573
576
|
|
|
574
577
|
.global-search__body-head {
|
|
575
|
-
.nav-item:nth-of-type(2),
|
|
578
|
+
.nav-item:nth-of-type(2),
|
|
579
|
+
#content-page-tab {
|
|
576
580
|
display: none;
|
|
577
581
|
}
|
|
578
582
|
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.strip-stickers {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-wrap: wrap;
|
|
4
|
+
gap: 8px;
|
|
5
|
+
|
|
6
|
+
.strip-sticker {
|
|
7
|
+
padding: 4px 12px;
|
|
8
|
+
font-size: 0.875rem;
|
|
9
|
+
font-weight: 500;
|
|
10
|
+
white-space: nowrap;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
text-overflow: ellipsis;
|
|
13
|
+
|
|
14
|
+
&--green {
|
|
15
|
+
background: $green-light;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&--yellow {
|
|
19
|
+
background: $yellow;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&--blue {
|
|
23
|
+
background: $blue-badge;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&--blue-dark {
|
|
27
|
+
background: $pacific-depths;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&--red {
|
|
31
|
+
background: $red;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&--text-gray {
|
|
35
|
+
color: $gray-dark;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&--text-white {
|
|
39
|
+
color: $white;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&--right {
|
|
44
|
+
justify-content: flex-end;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -168,11 +168,11 @@
|
|
|
168
168
|
&__item {
|
|
169
169
|
display: grid;
|
|
170
170
|
grid-template-areas:
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
171
|
+
'header viewMore'
|
|
172
|
+
'orderDetails orderDetails'
|
|
173
|
+
'consignmentInfo consignmentInfo'
|
|
174
|
+
'paymentStatus paymentStatus'
|
|
175
|
+
'shipment shipment';
|
|
176
176
|
|
|
177
177
|
.order-header {
|
|
178
178
|
flex-direction: row-reverse;
|
|
@@ -235,10 +235,10 @@
|
|
|
235
235
|
&__item {
|
|
236
236
|
padding: 24px;
|
|
237
237
|
grid-template-areas:
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
238
|
+
'header consignmentInfo viewMore'
|
|
239
|
+
'orderDetails orderDetails orderDetails'
|
|
240
|
+
'paymentStatus paymentStatus paymentStatus'
|
|
241
|
+
'shipment shipment shipment';
|
|
242
242
|
grid-template-columns: auto auto 1fr;
|
|
243
243
|
align-items: center;
|
|
244
244
|
}
|
|
@@ -3,6 +3,27 @@
|
|
|
3
3
|
.pdp-price-container {
|
|
4
4
|
position: relative;
|
|
5
5
|
|
|
6
|
+
.pdp__badges-wrapper {
|
|
7
|
+
&:has(.pdp__badges--static) {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
justify-content: end;
|
|
11
|
+
gap: 8px;
|
|
12
|
+
margin: -20px 0 10px;
|
|
13
|
+
background: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.pdp__badges {
|
|
17
|
+
&--static {
|
|
18
|
+
position: static;
|
|
19
|
+
width: fit-content;
|
|
20
|
+
max-width: 100%;
|
|
21
|
+
min-width: auto;
|
|
22
|
+
margin-right: 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
6
27
|
&__badges.pdp-price-container__badges {
|
|
7
28
|
@include price-block-badge;
|
|
8
29
|
|
|
@@ -67,3 +88,40 @@
|
|
|
67
88
|
padding-bottom: $btn-padding-y;
|
|
68
89
|
}
|
|
69
90
|
}
|
|
91
|
+
|
|
92
|
+
.pdp--ripple {
|
|
93
|
+
.pdp-price {
|
|
94
|
+
&__value {
|
|
95
|
+
margin-bottom: 16px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&__message-wrapper {
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
row-gap: 8px;
|
|
102
|
+
padding: 12px 0;
|
|
103
|
+
margin: 16px 0;
|
|
104
|
+
border-bottom: 1px solid $gray;
|
|
105
|
+
border-top: 1px solid $gray;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&__delivery-message {
|
|
109
|
+
font-weight: 500;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&__control-holder {
|
|
113
|
+
padding-top: 0;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
@include media-breakpoint-up(md) {
|
|
119
|
+
.pdp-price-container {
|
|
120
|
+
.pdp__badges-wrapper {
|
|
121
|
+
&:has(.pdp__badges--static) {
|
|
122
|
+
margin-right: -20px;
|
|
123
|
+
margin-left: -20px;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -3,6 +3,27 @@
|
|
|
3
3
|
.pdp-price-container {
|
|
4
4
|
position: relative;
|
|
5
5
|
|
|
6
|
+
.pdp__badges-wrapper {
|
|
7
|
+
&:has(.pdp__badges--static) {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
justify-content: end;
|
|
11
|
+
gap: 8px;
|
|
12
|
+
margin: -20px 0 10px;
|
|
13
|
+
background: none;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.pdp__badges {
|
|
17
|
+
&--static {
|
|
18
|
+
position: static;
|
|
19
|
+
width: fit-content;
|
|
20
|
+
max-width: 100%;
|
|
21
|
+
min-width: auto;
|
|
22
|
+
margin-right: 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
6
27
|
&__badges.pdp-price-container__badges {
|
|
7
28
|
@include price-block-badge;
|
|
8
29
|
|
|
@@ -104,3 +125,40 @@
|
|
|
104
125
|
}
|
|
105
126
|
}
|
|
106
127
|
}
|
|
128
|
+
|
|
129
|
+
.pdp--ripple {
|
|
130
|
+
.pdp-price {
|
|
131
|
+
&__value {
|
|
132
|
+
margin-bottom: 16px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
&__message-wrapper {
|
|
136
|
+
display: flex;
|
|
137
|
+
flex-direction: column;
|
|
138
|
+
row-gap: 8px;
|
|
139
|
+
padding: 12px 0;
|
|
140
|
+
margin: 16px 0;
|
|
141
|
+
border-bottom: 1px solid $gray;
|
|
142
|
+
border-top: 1px solid $gray;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
&__delivery-message {
|
|
146
|
+
font-weight: 500;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
&__control-holder {
|
|
150
|
+
padding-top: 0;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
@include media-breakpoint-up(md) {
|
|
156
|
+
.pdp-price-container {
|
|
157
|
+
.pdp__badges-wrapper {
|
|
158
|
+
&:has(.pdp__badges--static) {
|
|
159
|
+
margin-right: -20px;
|
|
160
|
+
margin-left: -20px;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
@@ -26,11 +26,12 @@
|
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
@function str-replace($string, $search, $replace:
|
|
29
|
+
@function str-replace($string, $search, $replace: '') {
|
|
30
30
|
$index: str-index($string, $search);
|
|
31
31
|
|
|
32
32
|
@if $index {
|
|
33
|
-
@return str-slice($string, 1, $index - 1) + $replace +
|
|
33
|
+
@return str-slice($string, 1, $index - 1) + $replace +
|
|
34
|
+
str-replace(str-slice($string, $index + str-length($search)), $search, $replace);
|
|
34
35
|
}
|
|
35
36
|
|
|
36
37
|
@return $string;
|
|
@@ -50,19 +51,19 @@
|
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
|
|
53
|
-
@function color($key:
|
|
54
|
+
@function color($key: 'blue') {
|
|
54
55
|
@return map-get($colors, $key);
|
|
55
56
|
}
|
|
56
57
|
|
|
57
|
-
@function theme-color($key:
|
|
58
|
+
@function theme-color($key: 'primary') {
|
|
58
59
|
@return map-get($theme-colors, $key);
|
|
59
60
|
}
|
|
60
61
|
|
|
61
|
-
@function gray($key:
|
|
62
|
+
@function gray($key: '100') {
|
|
62
63
|
@return map-get($grays, $key);
|
|
63
64
|
}
|
|
64
65
|
|
|
65
|
-
@function theme-color-level($color-name:
|
|
66
|
+
@function theme-color-level($color-name: 'primary', $level: 0) {
|
|
66
67
|
$color: theme-color($color-name);
|
|
67
68
|
$color-base: if($level > 0, #000, #fff);
|
|
68
69
|
$level: abs($level);
|
|
@@ -72,7 +73,11 @@
|
|
|
72
73
|
//functions import
|
|
73
74
|
|
|
74
75
|
//mixins import
|
|
75
|
-
@function breakpoint-next(
|
|
76
|
+
@function breakpoint-next(
|
|
77
|
+
$name,
|
|
78
|
+
$breakpoints: $grid-breakpoints,
|
|
79
|
+
$breakpoint-names: map-keys($breakpoints)
|
|
80
|
+
) {
|
|
76
81
|
$n: index($breakpoint-names, $name);
|
|
77
82
|
@return if($n < length($breakpoint-names), nth($breakpoint-names, $n + 1), null);
|
|
78
83
|
}
|
|
@@ -88,7 +93,7 @@
|
|
|
88
93
|
}
|
|
89
94
|
|
|
90
95
|
@function breakpoint-infix($name, $breakpoints: $grid-breakpoints) {
|
|
91
|
-
@return if(breakpoint-min($name, $breakpoints) == null,
|
|
96
|
+
@return if(breakpoint-min($name, $breakpoints) == null, '', '-#{$name}');
|
|
92
97
|
}
|
|
93
98
|
// sass-lint:enable-all
|
|
94
99
|
|
|
@@ -120,22 +120,27 @@ h1,
|
|
|
120
120
|
.h1 {
|
|
121
121
|
font-size: $h1-font-size;
|
|
122
122
|
}
|
|
123
|
+
|
|
123
124
|
h2,
|
|
124
125
|
.h2 {
|
|
125
126
|
font-size: $h2-font-size;
|
|
126
127
|
}
|
|
128
|
+
|
|
127
129
|
h3,
|
|
128
130
|
.h3 {
|
|
129
131
|
font-size: $h3-font-size;
|
|
130
132
|
}
|
|
133
|
+
|
|
131
134
|
h4,
|
|
132
135
|
.h4 {
|
|
133
136
|
font-size: $h4-font-size;
|
|
134
137
|
}
|
|
138
|
+
|
|
135
139
|
h5,
|
|
136
140
|
.h5 {
|
|
137
141
|
font-size: $h5-font-size;
|
|
138
142
|
}
|
|
143
|
+
|
|
139
144
|
h6,
|
|
140
145
|
.h6 {
|
|
141
146
|
font-size: $h6-font-size;
|
package/src/scss/main.scss
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
@font-face {
|
|
4
4
|
font-family: Roboto;
|
|
5
|
-
src:
|
|
5
|
+
src:
|
|
6
|
+
url('../fonts/Roboto-Regular.woff2') format('woff2'),
|
|
7
|
+
url('../fonts/Roboto-Regular.woff') format('woff');
|
|
6
8
|
font-weight: 500;
|
|
7
9
|
font-style: normal;
|
|
8
10
|
}
|
|
@@ -294,7 +296,7 @@ label.labelError {
|
|
|
294
296
|
|
|
295
297
|
#expiryYearLabel:after {
|
|
296
298
|
font-size: 16px;
|
|
297
|
-
content:
|
|
299
|
+
content: '/';
|
|
298
300
|
}
|
|
299
301
|
|
|
300
302
|
#issue {
|
|
@@ -318,7 +320,7 @@ label.labelError {
|
|
|
318
320
|
}
|
|
319
321
|
|
|
320
322
|
#cscSection:after {
|
|
321
|
-
content:
|
|
323
|
+
content: '';
|
|
322
324
|
width: 38%;
|
|
323
325
|
height: 51px;
|
|
324
326
|
display: block;
|
|
@@ -341,11 +343,7 @@ label.labelError {
|
|
|
341
343
|
border-color: #626d75;
|
|
342
344
|
background-color: #eee !important;
|
|
343
345
|
background-image: linear-gradient(bottom, #f5a30d, #ffd786 82%) !important;
|
|
344
|
-
background-image: -ms-linear-gradient(
|
|
345
|
-
bottom,
|
|
346
|
-
#f5a30d 0,
|
|
347
|
-
#ffd786 82%
|
|
348
|
-
) !important;
|
|
346
|
+
background-image: -ms-linear-gradient(bottom, #f5a30d 0, #ffd786 82%) !important;
|
|
349
347
|
background-image: -webkit-gradient(
|
|
350
348
|
linear,
|
|
351
349
|
left bottom,
|
|
@@ -853,7 +851,7 @@ span#amount {
|
|
|
853
851
|
}
|
|
854
852
|
|
|
855
853
|
#confirmCheck2Label:after {
|
|
856
|
-
content:
|
|
854
|
+
content: '';
|
|
857
855
|
width: 15px;
|
|
858
856
|
height: 15px;
|
|
859
857
|
position: relative;
|
|
@@ -894,7 +892,7 @@ textarea {
|
|
|
894
892
|
}
|
|
895
893
|
|
|
896
894
|
#cardNumberHelpPanel:before {
|
|
897
|
-
content:
|
|
895
|
+
content: '*';
|
|
898
896
|
display: block;
|
|
899
897
|
}
|
|
900
898
|
|
|
@@ -915,7 +913,7 @@ textarea {
|
|
|
915
913
|
position: relative;
|
|
916
914
|
}
|
|
917
915
|
|
|
918
|
-
input[type=
|
|
916
|
+
input[type='radio'] {
|
|
919
917
|
margin: 1em 0.25em;
|
|
920
918
|
}
|
|
921
919
|
|
|
@@ -529,7 +529,9 @@ p {
|
|
|
529
529
|
// sass-lint:disable no-vendor-prefixes
|
|
530
530
|
// sass-lint:disable no-misspelled-properties
|
|
531
531
|
.hero-banner-karcher {
|
|
532
|
-
background: $white
|
|
532
|
+
background: $white
|
|
533
|
+
url('https://media.wickes.co.uk/is/image/wickes/10519-3241-Karcher-Homepage-banner-withouttext-1400x400?fmt=png-alpha&wid=1400&hei=400&fit=crop')
|
|
534
|
+
no-repeat center;
|
|
533
535
|
-webkit-background-size: cover;
|
|
534
536
|
-moz-background-size: cover;
|
|
535
537
|
-o-background-size: cover;
|
|
@@ -540,7 +542,8 @@ p {
|
|
|
540
542
|
|
|
541
543
|
.hero-overlay-image {
|
|
542
544
|
position: relative;
|
|
543
|
-
background: url('https://media.wickes.co.uk/is/image/wickes/2519-3241-Karcher-Homepage-element?fmt=png-alpha&wid=320&hei=400&fit=crop')
|
|
545
|
+
background: url('https://media.wickes.co.uk/is/image/wickes/2519-3241-Karcher-Homepage-element?fmt=png-alpha&wid=320&hei=400&fit=crop')
|
|
546
|
+
no-repeat center top;
|
|
544
547
|
width: 320px;
|
|
545
548
|
height: 400px;
|
|
546
549
|
margin-left: auto;
|
|
@@ -601,11 +604,14 @@ p {
|
|
|
601
604
|
|
|
602
605
|
@media screen and (max-width: 1010px) {
|
|
603
606
|
.hero-banner-karcher {
|
|
604
|
-
background: $white
|
|
607
|
+
background: $white
|
|
608
|
+
url('https://media.wickes.co.uk/is/image/wickes/10519-3241-Karcher-Homepagebanner-Background-Blank-1400x400?fmt=png-alpha&wid=1400&hei=400&fit=crop')
|
|
609
|
+
no-repeat center top;
|
|
605
610
|
}
|
|
606
611
|
|
|
607
612
|
.hero-overlay-image {
|
|
608
|
-
background: url('https://media.wickes.co.uk/is/image/wickes/10519-3241-Karcher-Homepagebanner-messaging-d3-320x400-1?fmt=png-alpha&wid=320&hei=400&fit=crop')
|
|
613
|
+
background: url('https://media.wickes.co.uk/is/image/wickes/10519-3241-Karcher-Homepagebanner-messaging-d3-320x400-1?fmt=png-alpha&wid=320&hei=400&fit=crop')
|
|
614
|
+
no-repeat center top;
|
|
609
615
|
}
|
|
610
616
|
}
|
|
611
617
|
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
@import '../components/proposition';
|
|
3
3
|
|
|
4
4
|
.installation-page {
|
|
5
|
-
|
|
6
5
|
img {
|
|
7
6
|
max-width: 100%;
|
|
8
7
|
}
|
|
@@ -13,7 +12,8 @@
|
|
|
13
12
|
li {
|
|
14
13
|
// sass-lint:disable no-url-domains
|
|
15
14
|
// sass-lint:disable no-url-protocols
|
|
16
|
-
background: url('//media.wickes.co.uk/is/image/wickes/Kitchens_Check_Icon?wid=13') no-repeat
|
|
15
|
+
background: url('//media.wickes.co.uk/is/image/wickes/Kitchens_Check_Icon?wid=13') no-repeat
|
|
16
|
+
left center;
|
|
17
17
|
padding: 0 0 8px 22px;
|
|
18
18
|
list-style: none;
|
|
19
19
|
margin: 0;
|
|
@@ -14,7 +14,8 @@ $round-img-measure: 290px;
|
|
|
14
14
|
|
|
15
15
|
.online-exclusive {
|
|
16
16
|
&__banner {
|
|
17
|
-
background: url('https://media.wickes.co.uk/is/image/wickes/Online-exclusive-header-banner-final-mobile')
|
|
17
|
+
background: url('https://media.wickes.co.uk/is/image/wickes/Online-exclusive-header-banner-final-mobile')
|
|
18
|
+
center / auto 502px no-repeat;
|
|
18
19
|
height: 502px;
|
|
19
20
|
margin: 0 -15px;
|
|
20
21
|
display: block;
|
|
@@ -353,7 +354,9 @@ $round-img-measure: 290px;
|
|
|
353
354
|
display: flex;
|
|
354
355
|
flex-direction: column;
|
|
355
356
|
justify-content: center;
|
|
356
|
-
transition:
|
|
357
|
+
transition:
|
|
358
|
+
0.55s opacity,
|
|
359
|
+
0.55s visibility;
|
|
357
360
|
position: absolute;
|
|
358
361
|
width: 100%;
|
|
359
362
|
height: 100%;
|
|
@@ -442,7 +445,8 @@ $round-img-measure: 290px;
|
|
|
442
445
|
.page_online-exclusive {
|
|
443
446
|
.online-exclusive {
|
|
444
447
|
&__banner {
|
|
445
|
-
background: url('https://media.wickes.co.uk/is/image/wickes/Online-exclusive-header-desktop-new')
|
|
448
|
+
background: url('https://media.wickes.co.uk/is/image/wickes/Online-exclusive-header-desktop-new')
|
|
449
|
+
center no-repeat;
|
|
446
450
|
background-size: contain;
|
|
447
451
|
margin: 0;
|
|
448
452
|
height: 360px;
|