wickes-css2 2.111.0-complete-your-project.9 → 2.111.0-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +1 -1
- package/build/css/category-main.css +1 -1
- package/build/css/components/global-search.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_personal-details.css +1 -1
- package/build/css/pages/page_product-details-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/account-hub.min.js +1 -1
- package/build/js/basket.min.js +2 -2
- package/build/js/bundle.min.js +1 -1
- package/build/js/checkout.min.js +2 -2
- package/build/js/emulation.min.js +146 -2870
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/gift-cards.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/page/basket-v2.js +11 -18
- package/build/js/page/components/discounts.js +15 -8
- package/build/js/page/components/mini-basket-slider.js +18 -24
- package/build/js/page/components/voucher.js +56 -2
- package/build/js/page/utils/create-count-stepper.js +9 -30
- package/build/js/pdp-count-stepper.min.js +1 -1
- package/build/js/pdp.bundle.min.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +1 -1
- package/build/js/saving-shopping-list.min.js +1 -1
- package/package.json +1 -1
- package/src/components/base/button.hbs +5 -23
- package/src/components/cart-voucher.hbs +4 -4
- package/src/components/checkout-voucher-remove-modal.hbs +16 -0
- package/src/components/gift-cards.hbs +1 -1
- package/src/components/mini-basket/mini-basket-order-item.hbs +4 -4
- package/src/components/tradepro-discount-banner.hbs +8 -0
- package/src/components/wismo-payment.hbs +50 -7
- package/src/data/data_delivery-address-v2.json +6 -6
- package/src/data/data_discounts.json +6 -6
- package/src/data/data_shopping-cart-v2.json +32 -11
- package/src/data/data_shopping-cart-with-energy.json +12 -12
- package/src/data/data_wismo.json +2 -1
- package/src/elements/checkbox.hbs +1 -8
- package/src/js/components/general/cart-slider.js +6 -19
- package/src/js/components/general/switchVat.js +9 -7
- package/src/js/components/general/tradepro-discount-banner.js +69 -0
- package/src/js/emulation/basket-data.js +11 -1
- package/src/js/emulation/checkout-data.js +3 -0
- package/src/js/emulation/mini-basket-data.js +68 -0
- package/src/js/emulation/mock.js +1 -3098
- package/src/js/emulation/notify-me.js +1 -1
- package/src/js/emulation/tradepro-discount-banner-emulation.js +13 -0
- package/src/js/page/basket-v2.js +11 -18
- package/src/js/page/components/discounts.js +15 -8
- package/src/js/page/components/mini-basket-slider.js +18 -24
- package/src/js/page/components/voucher.js +56 -2
- package/src/js/page/utils/create-count-stepper.js +9 -30
- package/src/layouts/checkout.hbs +1 -0
- package/src/page_basket-energy-efficiency.html +4 -0
- package/src/page_checkout_confirmation-new-marketing-consent-error.html +7 -0
- package/src/page_checkout_confirmation-new-marketing-consent.html +4 -0
- package/src/page_checkout_delivery-address-v2.html +4 -0
- package/src/page_checkout_delivery-details-v2-asm.html +7 -1
- package/src/page_checkout_delivery-details-v2-calendar-message.html +4 -0
- package/src/page_checkout_delivery-details-v2-oos.html +4 -0
- package/src/page_checkout_delivery-details-v2-wisdom-not-available.html +4 -0
- package/src/page_checkout_delivery-details-v2-wisdom.html +4 -0
- package/src/page_checkout_delivery-details-with-loader-v2.html +4 -0
- package/src/page_checkout_delivery-details_guest-new.html +4 -0
- package/src/page_checkout_delivery_address-asm-new.html +4 -0
- package/src/page_checkout_merge-basket-v2.html +6 -3
- package/src/page_checkout_merge-basket-vat-v2.html +6 -1
- package/src/page_checkout_merge-basket-with-energy.html +4 -0
- package/src/page_checkout_next-day-delivery-details.html +4 -0
- package/src/page_checkout_payment-details-v2-asm.html +4 -0
- package/src/page_checkout_payment-details-v2.html +4 -0
- package/src/page_checkout_payment-details_guest-click-collect-icon.html +4 -0
- package/src/page_checkout_payment-details_guest-with-checkout-journey.html +7 -0
- package/src/page_checkout_payment-details_login-with-checkout-journey.html +7 -0
- package/src/page_checkout_payment-details_with-card-loader.html +4 -0
- package/src/page_checkout_payment-details_with-loader-v2.html +4 -0
- package/src/page_checkout_rapid-delivery-details.html +4 -0
- package/src/page_empty-basket-instore.html +4 -0
- package/src/page_homepage-with-global-search-v2-vat.html +1 -0
- package/src/page_instore_progress_bar.html +4 -0
- package/src/page_product-details-banner.html +1 -0
- package/src/page_product-details-big-wins-disabled-delivery.html +1 -0
- package/src/page_product-details-big-wins-non-registered.html +1 -0
- package/src/page_product-details-big-wins-out-nearest.html +1 -0
- package/src/page_product-details-big-wins-unhappy.html +1 -0
- package/src/page_product-details-big-wins.html +1 -0
- package/src/page_product-details-billie.html +1 -0
- package/src/page_product-details-calculator.html +1 -0
- package/src/page_product-details-cashback-v2.html +1 -0
- package/src/page_product-details-clearpay.html +1 -0
- package/src/page_product-details-cnc-error-notification.html +1 -0
- package/src/page_product-details-cnc-success-notification-vat.html +1 -0
- package/src/page_product-details-cnc-success-notification.html +1 -0
- package/src/page_product-details-default-store.html +1 -0
- package/src/page_product-details-energy-efficiency.html +1 -0
- package/src/page_product-details-flooring-with-pr-placeholder.html +1 -0
- package/src/page_product-details-flooring.html +1 -0
- package/src/page_product-details-gallery-actual.html +1 -0
- package/src/page_product-details-mfe-calculator.html +1 -0
- package/src/page_product-details-minimum-v2.html +1 -0
- package/src/page_product-details-mtm-doors.html +1 -0
- package/src/page_product-details-only-clearpay.html +1 -0
- package/src/page_product-details-paint-mixing.html +1 -0
- package/src/page_product-details-saved-pl.html +1 -0
- package/src/page_product-details-tile-steps-klarna-widget-with-method-ids.html +1 -0
- package/src/page_product-details-tile-steps-logout.html +1 -0
- package/src/page_product-details-tile-steps-no-new-project-list.html +1 -0
- package/src/page_product-details-tile-steps-with-klarna.html +1 -0
- package/src/page_product-details-tile-steps.html +1 -0
- package/src/page_product-details-v2.html +1 -0
- package/src/page_product-details-vat.html +1 -0
- package/src/page_product-details-wisdom-mcfc-registered.html +1 -0
- package/src/page_product-details-wisdom-mcfc.html +1 -0
- package/src/page_product-details-wisdom-oos-registered.html +1 -0
- package/src/page_product-details-wisdom-oos.html +1 -0
- package/src/page_product-details-wisdom-registered.html +1 -0
- package/src/page_product-details-wisdom.html +1 -0
- package/src/page_product-details-with-favourite.html +1 -0
- package/src/page_product-details-with-global-search-v2.html +2 -7
- package/src/page_product-details_no-previous-default.html +1 -0
- package/src/page_shopping-cart-registered-v2.html +4 -0
- package/src/page_shopping-cart-v2-vat.html +6 -0
- package/src/page_shopping-cart-v2.html +5 -2
- package/src/page_shopping-cart-v3-instore.html +4 -0
- package/src/page_track-my-order-result.html +0 -1
- package/src/partials/scripts.hbs +0 -1
- package/src/scss/common/_common.scss +0 -1
- package/src/scss/common/_elements.scss +1 -13
- package/src/scss/components/_checkout-voucher-remove-modal.scss +108 -0
- package/src/scss/components/_notifications.scss +5 -86
- package/src/scss/components/_pdp-action-v2-critical.scss +27 -0
- package/src/scss/components/_pdp-action-v2.scss +27 -0
- package/src/scss/components/_tradepro-discount-banner.scss +78 -0
- package/src/scss/components/global-search.scss +11 -0
- package/src/scss/globals/_global-components.scss +1 -0
- package/src/scss/helpers/_variables.scss +0 -1
- package/src/scss/main.scss +2 -0
- package/src/scss/pages/page_product-details-v2.scss +2 -45
- package/src/scss/pdp-main-critical.scss +1 -0
- package/src/scss/pdp-main.scss +1 -1
- package/src/sitemap.html +0 -6
- package/build/js/bloomreach-widget.min.js +0 -1
- package/build/js/page/bloomreach-widget.js +0 -1213
- package/build/js/page/utils/create-loading-button.js +0 -37
- package/build/js/page/utils/create-toast.js +0 -79
- package/build/js/page/utils/custom-dropdown.js +0 -80
- package/src/components/bloomreach/complete-card-dropdown.hbs +0 -47
- package/src/components/bloomreach/complete-card-skeleton.hbs +0 -19
- package/src/components/bloomreach/complete-card.hbs +0 -138
- package/src/components/bloomreach/complete-divider.hbs +0 -3
- package/src/components/bloomreach/complete-summary-skeleton.hbs +0 -12
- package/src/components/bloomreach/complete-summary.hbs +0 -43
- package/src/components/bloomreach/complete-wrapper.hbs +0 -1
- package/src/components/bloomreach/complete-your-project.hbs +0 -21
- package/src/js/emulation/bloomreach-widget-calculations.js +0 -140
- package/src/js/emulation/bloomreach-widget-loading.js +0 -11
- package/src/js/page/bloomreach-widget.js +0 -1213
- package/src/js/page/utils/create-loading-button.js +0 -37
- package/src/js/page/utils/create-toast.js +0 -79
- package/src/js/page/utils/custom-dropdown.js +0 -80
- package/src/page_product-details-bloomreach.html +0 -130
- package/src/scss/common/_loading-button.scss +0 -49
- package/src/scss/components/bloomreach/_bloomreach.scss +0 -3
- package/src/scss/components/bloomreach/_complete-card-dropdown.scss +0 -174
- package/src/scss/components/bloomreach/_complete-card.scss +0 -408
- package/src/scss/components/bloomreach/_complete-your-project.scss +0 -207
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
.voucher-remove-modal {
|
|
2
|
+
.modal-dialog {
|
|
3
|
+
margin-top: 40px;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.modal-box__header {
|
|
7
|
+
&::after {
|
|
8
|
+
left: 0;
|
|
9
|
+
right: 0;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.modal-box__footer {
|
|
14
|
+
display: none;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.modal-box__content {
|
|
18
|
+
border-radius: 0.3rem;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__coupon-name {
|
|
22
|
+
font-weight: 500;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.modal-box__columns {
|
|
26
|
+
flex: 1;
|
|
27
|
+
max-width: 500px;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.modal-box__inner-columns {
|
|
31
|
+
flex: 1;
|
|
32
|
+
max-width: 100%;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.modal-header {
|
|
36
|
+
padding: 16px;
|
|
37
|
+
|
|
38
|
+
.modal-box__inner-columns {
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
|
|
42
|
+
.info-icon {
|
|
43
|
+
@include font-size(27);
|
|
44
|
+
color: $orange;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.close {
|
|
49
|
+
position: absolute;
|
|
50
|
+
top: 8px;
|
|
51
|
+
right: 8px;
|
|
52
|
+
margin: 0;
|
|
53
|
+
padding: 0;
|
|
54
|
+
|
|
55
|
+
.icon svg {
|
|
56
|
+
@include font-size(16);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.modal-title {
|
|
61
|
+
@include font-size(18);
|
|
62
|
+
@include line-height(24);
|
|
63
|
+
margin-left: 15px;
|
|
64
|
+
font-weight: 500;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.modal-body {
|
|
69
|
+
padding: 16px;
|
|
70
|
+
|
|
71
|
+
.description {
|
|
72
|
+
@include font-size(16);
|
|
73
|
+
@include line-height(24);
|
|
74
|
+
margin-bottom: 0;
|
|
75
|
+
font-weight: 400;
|
|
76
|
+
|
|
77
|
+
.new-email {
|
|
78
|
+
font-weight: 700;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&__actions {
|
|
84
|
+
display: flex;
|
|
85
|
+
grid-gap: 16px;
|
|
86
|
+
margin-top: 32px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
@include media-breakpoint-up(sm) {
|
|
91
|
+
.voucher-remove-modal {
|
|
92
|
+
.modal-header {
|
|
93
|
+
padding: 16px 24px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.modal-body {
|
|
97
|
+
padding: 24px 24px 16px;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
&__actions {
|
|
101
|
+
margin-top: 40px;
|
|
102
|
+
|
|
103
|
+
.btn_full {
|
|
104
|
+
width: auto;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
position: absolute;
|
|
16
16
|
right: 8px;
|
|
17
17
|
top: 8px;
|
|
18
|
-
font-size:
|
|
18
|
+
font-size: .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:
|
|
31
|
+
font-size: .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:
|
|
133
|
+
font-size: .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:
|
|
140
|
+
font-size: .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
|
|
152
|
+
transition: max-height .15s ease-out;
|
|
153
153
|
|
|
154
154
|
.notification-item {
|
|
155
155
|
margin: 0;
|
|
@@ -186,84 +186,3 @@
|
|
|
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,27 @@
|
|
|
1
|
+
@import '../helpers/helpers';
|
|
2
|
+
|
|
3
|
+
.pdp {
|
|
4
|
+
&__fulfilment {
|
|
5
|
+
display: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&__aside {
|
|
9
|
+
.pdp__fulfilment {
|
|
10
|
+
display: block;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@include media-breakpoint-up(md) {
|
|
16
|
+
.pdp {
|
|
17
|
+
&__fulfilment {
|
|
18
|
+
display: block;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__aside {
|
|
22
|
+
.pdp__fulfilment {
|
|
23
|
+
display: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
@import '../helpers/mixins';
|
|
2
|
+
|
|
3
|
+
.pdp {
|
|
4
|
+
&__fulfilment {
|
|
5
|
+
display: none;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
&__aside {
|
|
9
|
+
.pdp__fulfilment {
|
|
10
|
+
display: block;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
@include media-breakpoint-up(md) {
|
|
16
|
+
.pdp {
|
|
17
|
+
&__fulfilment {
|
|
18
|
+
display: block;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__aside {
|
|
22
|
+
.pdp__fulfilment {
|
|
23
|
+
display: none;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
.tradepro-discount-banner {
|
|
2
|
+
position: relative;
|
|
3
|
+
z-index: $offer-banner;
|
|
4
|
+
width: 100%;
|
|
5
|
+
background-color: $blue;
|
|
6
|
+
color: $white;
|
|
7
|
+
|
|
8
|
+
&.stuck {
|
|
9
|
+
position: fixed;
|
|
10
|
+
top: 0;
|
|
11
|
+
z-index: $offer-banner-stuck;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__content {
|
|
15
|
+
display: block;
|
|
16
|
+
padding: 4px 25px;
|
|
17
|
+
text-align: center;
|
|
18
|
+
color: $white;
|
|
19
|
+
text-decoration: none;
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
color: $white;
|
|
23
|
+
text-decoration: none;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
strong {
|
|
27
|
+
font-weight: 500;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
&__link {
|
|
32
|
+
white-space: nowrap;
|
|
33
|
+
color: $white;
|
|
34
|
+
text-decoration: none;
|
|
35
|
+
|
|
36
|
+
&:hover {
|
|
37
|
+
color: $white;
|
|
38
|
+
text-decoration: underline;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:not(a) {
|
|
42
|
+
&:hover {
|
|
43
|
+
text-decoration: none;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&-arrow {
|
|
48
|
+
margin-left: 10px;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
& .notification__close {
|
|
53
|
+
right: 4px;
|
|
54
|
+
top: 4px;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.global-search {
|
|
59
|
+
.tradepro-discount-banner {
|
|
60
|
+
position: absolute;
|
|
61
|
+
top: 0;
|
|
62
|
+
left: 0;
|
|
63
|
+
right: 0;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
@media screen and (max-width: 370px) {
|
|
69
|
+
.tradepro-discount-banner {
|
|
70
|
+
&__content {
|
|
71
|
+
padding: 4px 20px 4px 10px;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
&__link-text {
|
|
75
|
+
font-size: 12px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -139,6 +139,12 @@
|
|
|
139
139
|
padding: 0;
|
|
140
140
|
min-height: 150px;
|
|
141
141
|
|
|
142
|
+
@include media-breakpoint-down(sm) {
|
|
143
|
+
&--has-tradepro-banner {
|
|
144
|
+
padding-top: 30px;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
142
148
|
a {
|
|
143
149
|
color: $gray-dark;
|
|
144
150
|
text-decoration: none;
|
|
@@ -412,6 +418,11 @@
|
|
|
412
418
|
box-shadow: 0 1px 5px rgba(0, 0, 0, .12), 0 2px 2px rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2);
|
|
413
419
|
padding: 15px;
|
|
414
420
|
|
|
421
|
+
&--has-tradepro-banner {
|
|
422
|
+
padding-top: 45px;
|
|
423
|
+
overflow: hidden;
|
|
424
|
+
}
|
|
425
|
+
|
|
415
426
|
&__body {
|
|
416
427
|
height: auto;
|
|
417
428
|
border-radius: 10px;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
@import '../components/product-card-preview';
|
|
2
2
|
@import '../components/cookies-policy';
|
|
3
3
|
@import '../components/offer-banner';
|
|
4
|
+
@import '../components/tradepro-discount-banner';
|
|
4
5
|
@import '../components/back-to-top';
|
|
5
6
|
@import '../components/payments';
|
|
6
7
|
@import '../components/popover-mini-basket';
|
package/src/scss/main.scss
CHANGED
|
@@ -20,6 +20,7 @@
|
|
|
20
20
|
@import 'components/account-heading'; //deep dependence
|
|
21
21
|
@import 'components/card-store-locator'; //deep dependence
|
|
22
22
|
@import 'components/offer-banner'; //deep dependence
|
|
23
|
+
@import 'components/tradepro-discount-banner';
|
|
23
24
|
@import 'components/pagination'; //deep dependence
|
|
24
25
|
@import 'components/price-block'; //deep dependence
|
|
25
26
|
@import 'components/back-to-top'; //deep dependence
|
|
@@ -92,6 +93,7 @@
|
|
|
92
93
|
@import 'components/voucher-accordion';
|
|
93
94
|
@import 'components/checkout-chip';
|
|
94
95
|
@import 'components/checkout-payment-repayment-terms';
|
|
96
|
+
@import 'components/checkout-voucher-remove-modal';
|
|
95
97
|
|
|
96
98
|
// Pages
|
|
97
99
|
@import 'pages/contact-us';
|
|
@@ -90,15 +90,7 @@
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
&__fulfilment {
|
|
93
|
-
margin-top:
|
|
94
|
-
|
|
95
|
-
&-mobile {
|
|
96
|
-
display: block;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&-desktop {
|
|
100
|
-
display: none;
|
|
101
|
-
}
|
|
93
|
+
margin-top: 30px;
|
|
102
94
|
}
|
|
103
95
|
|
|
104
96
|
&__similar {
|
|
@@ -174,13 +166,6 @@
|
|
|
174
166
|
&__buyers-gallery {
|
|
175
167
|
overflow: hidden;
|
|
176
168
|
}
|
|
177
|
-
|
|
178
|
-
&__widget {
|
|
179
|
-
margin-top: 16px;
|
|
180
|
-
margin-bottom: 20px;
|
|
181
|
-
margin-left: -15px;
|
|
182
|
-
margin-right: -15px;
|
|
183
|
-
}
|
|
184
169
|
}
|
|
185
170
|
|
|
186
171
|
.recently-viewed {
|
|
@@ -299,37 +284,13 @@
|
|
|
299
284
|
margin-top: auto;
|
|
300
285
|
}
|
|
301
286
|
|
|
302
|
-
@include media-breakpoint-up(sm) {
|
|
303
|
-
.pdp {
|
|
304
|
-
&__widget {
|
|
305
|
-
margin-left: 0;
|
|
306
|
-
margin-right: 0;
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
}
|
|
310
|
-
|
|
311
287
|
@include media-breakpoint-up(md) {
|
|
312
288
|
.pdp {
|
|
313
289
|
&__fulfilment {
|
|
314
290
|
margin-top: 10px;
|
|
315
291
|
margin-bottom: 5px;
|
|
316
|
-
grid-column: 1 / span 4;
|
|
317
|
-
grid-row: 5 / span 1;
|
|
318
|
-
|
|
319
|
-
&-mobile {
|
|
320
|
-
display: none;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
|
-
&-desktop {
|
|
324
|
-
display: block;
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
&__widget {
|
|
329
292
|
grid-column: 1 / span 4;
|
|
330
293
|
grid-row: 4 / span 1;
|
|
331
|
-
margin-top: 20px;
|
|
332
|
-
margin-bottom: 10px;
|
|
333
294
|
}
|
|
334
295
|
}
|
|
335
296
|
}
|
|
@@ -337,11 +298,7 @@
|
|
|
337
298
|
@include media-breakpoint-up(lg) {
|
|
338
299
|
.pdp {
|
|
339
300
|
&__fulfilment {
|
|
340
|
-
margin-top:
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
&__widget {
|
|
344
|
-
margin-bottom: 0;
|
|
301
|
+
margin-top: 30px;
|
|
345
302
|
}
|
|
346
303
|
}
|
|
347
304
|
}
|
package/src/scss/pdp-main.scss
CHANGED
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
@import 'components/search-filter';
|
|
28
28
|
@import 'components/card-color-slider';
|
|
29
29
|
@import 'components/pdp-cta';
|
|
30
|
+
@import 'components/pdp-action-v2';
|
|
30
31
|
@import 'components/pdp-info-v2';
|
|
31
32
|
@import 'components/range-types';
|
|
32
33
|
@import 'components/gallery-pdp';
|
|
@@ -81,7 +82,6 @@
|
|
|
81
82
|
@import 'components/billie-modal';
|
|
82
83
|
@import 'components/input-counter';
|
|
83
84
|
@import 'components/notify-me-modal';
|
|
84
|
-
@import 'components/bloomreach/bloomreach';
|
|
85
85
|
|
|
86
86
|
// Pages
|
|
87
87
|
@import 'pages/page_ti';
|
package/src/sitemap.html
CHANGED
|
@@ -258,12 +258,6 @@
|
|
|
258
258
|
Product details page - Paint Mixing
|
|
259
259
|
</a>
|
|
260
260
|
</li>
|
|
261
|
-
<li>
|
|
262
|
-
<span class="page-id">2.33</span>
|
|
263
|
-
<a href="page_product-details-bloomreach.html" target="_blank">
|
|
264
|
-
Product details page - Bloomreach
|
|
265
|
-
</a>
|
|
266
|
-
</li>
|
|
267
261
|
</ul>
|
|
268
262
|
<h3>Content pages</h3>
|
|
269
263
|
<ul> <!--TBD: after deleting commented pages, appropriate css code needs to be cleaned-->
|