wickes-css2 2.117.0-develop.1 → 2.117.0-develop.3

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.
Files changed (119) hide show
  1. package/build/css/main.css +1 -1
  2. package/build/css/my-account-main-v2.css +1 -1
  3. package/build/css/my-account-main.css +1 -1
  4. package/build/css/pages/checkout-new.css +1 -1
  5. package/build/css/pages/checkout.css +1 -1
  6. package/build/css/pages/page_in-store-checkout.css +1 -1
  7. package/build/css/pages/page_product_search.css +1 -1
  8. package/build/css/pages/page_store-locator-details.css +1 -1
  9. package/build/css/pages/page_store-locator.css +1 -1
  10. package/build/css/pages/page_ti.css +1 -1
  11. package/build/css/pdp-main-before-combine.css +1 -1
  12. package/build/css/pdp-main-non-critical.css +1 -1
  13. package/build/css/pdp-main.css +1 -1
  14. package/build/css/plp-main.css +1 -1
  15. package/build/css/store-locator-main.css +1 -1
  16. package/build/js/basket.min.js +1 -1
  17. package/build/js/bloomreach-widget.min.js +1 -1
  18. package/build/js/bundle.min.js +1 -1
  19. package/build/js/checkout.min.js +1 -1
  20. package/build/js/emulation.min.js +254 -212
  21. package/build/js/merged-checkout.min.js +1 -1
  22. package/build/js/page/bloomreach-widget/why-not-add-widget.js +1 -1
  23. package/build/js/page/components/store-locator.js +165 -0
  24. package/build/js/project-list.min.js +1 -1
  25. package/build/js/store-locator.min.js +1 -0
  26. package/package.json +1 -1
  27. package/src/components/bloomreach/complete-your-project-skeleton.hbs +1 -1
  28. package/src/components/find-a-store.hbs +48 -32
  29. package/src/js/emulation/bloomreach-widget-loading.js +1 -1
  30. package/src/js/emulation/complete-your-project-loading.js +1 -1
  31. package/src/js/emulation/forms.js +81 -28
  32. package/src/js/emulation/gift-cards.js +1 -0
  33. package/src/js/emulation/store-locator-geo-emulation.js +185 -0
  34. package/src/js/emulation/store-locator-load-more.js +9 -1
  35. package/src/js/page/bloomreach-widget/why-not-add-widget.js +1 -1
  36. package/src/js/page/components/store-locator.js +165 -0
  37. package/src/page_checkout_confirmation.html +0 -53
  38. package/src/page_checkout_confirmation_paypal.html +0 -53
  39. package/src/page_checkout_delivery-address-ASM.html +0 -81
  40. package/src/page_checkout_delivery-details-v2-asm.html +1 -1
  41. package/src/page_checkout_delivery-details-v2-calendar-message.html +1 -1
  42. package/src/page_checkout_delivery-details-v2-oos.html +1 -1
  43. package/src/page_checkout_delivery-details-v2-wisdom-not-available.html +1 -1
  44. package/src/page_checkout_delivery-details-v2-wisdom.html +1 -1
  45. package/src/page_checkout_delivery-details-with-loader-v2.html +1 -1
  46. package/src/page_checkout_delivery-details_guest-new.html +1 -1
  47. package/src/page_checkout_payment-details-ASM.html +0 -7
  48. package/src/page_checkout_payment-details-v2-asm.html +3 -3
  49. package/src/page_checkout_payment-details_guest-BPS.html +1 -4
  50. package/src/page_checkout_payment-details_guest-click-collect-icon.html +0 -3
  51. package/src/page_checkout_payment-details_guest.html +0 -6
  52. package/src/page_checkout_payment-details_with-loader.html +0 -7
  53. package/src/page_in-store_MVP_order-summary-submitted.html +0 -16
  54. package/src/page_instore_progress_bar-three-steps.html +0 -3
  55. package/src/page_new-checkout-form-secure.html +10 -11
  56. package/src/page_product-details-bloomreach.html +1 -1
  57. package/src/page_product-details-with-why-not-add-single.html +1 -1
  58. package/src/page_store-locator-list.html +13 -13
  59. package/src/page_store-locator.html +12 -9
  60. package/src/scss/components/_account-heading.scss +1 -1
  61. package/src/scss/components/_find-a-store.scss +253 -49
  62. package/src/scss/components/_map.scss +30 -3
  63. package/src/scss/components/_shop-colour.scss +1 -1
  64. package/src/scss/main.scss +0 -1
  65. package/src/scss/pages/checkout-new.scss +1 -4
  66. package/src/scss/pages/checkout.scss +0 -1
  67. package/src/scss/pages/page_in-store-checkout.scss +0 -56
  68. package/src/scss/pages/page_product_search.scss +11 -1
  69. package/src/scss/pages/page_store-locator-details.scss +1 -1
  70. package/src/scss/pages/page_store-locator.scss +249 -10
  71. package/src/scss/pages/page_ti.scss +1 -1
  72. package/src/scss/pdp-main.scss +0 -1
  73. package/src/scss/store-locator-main.scss +0 -5
  74. package/src/sitemap.html +33 -82
  75. package/build/css/pages/page_in-store_MVP_order-summary-submitted.css +0 -1
  76. package/build/css/pages/page_in-store_MVP_order-summary.css +0 -1
  77. package/build/css/pages/page_new-checkout-forgot.css +0 -1
  78. package/build/js/page/checkout-confirmation.js +0 -8
  79. package/build/js/page/checkout-delivery-address.js +0 -41
  80. package/build/js/page/checkout-sign-in.js +0 -17
  81. package/build/js/page/instore-checkout.js +0 -11
  82. package/src/components/checkout-deleted-payment-details.hbs +0 -77
  83. package/src/components/checkout-deleted-payment-method-card.hbs +0 -58
  84. package/src/components/checkout-edit-billing-address-modal.hbs +0 -30
  85. package/src/components/checkout-in-store-customer-details.hbs +0 -18
  86. package/src/components/checkout_delivery.hbs +0 -11
  87. package/src/components/checkout_your-details.hbs +0 -36
  88. package/src/components/in-store-terms-and-conditions-modal.hbs +0 -308
  89. package/src/components/steps.hbs +0 -32
  90. package/src/js/components/checkout_your-details.js +0 -78
  91. package/src/js/emulation/checkout-sign-in-emulation.js +0 -43
  92. package/src/js/emulation/checkout_your-details.js +0 -90
  93. package/src/js/page/checkout-confirmation.js +0 -8
  94. package/src/js/page/checkout-delivery-address.js +0 -41
  95. package/src/js/page/checkout-sign-in.js +0 -17
  96. package/src/js/page/instore-checkout.js +0 -11
  97. package/src/page_checkout_confirmation_guest.html +0 -140
  98. package/src/page_checkout_delivery-address-customer-journey.html +0 -66
  99. package/src/page_checkout_delivery-address-v2.html +0 -48
  100. package/src/page_checkout_delivery-address_guest.html +0 -35
  101. package/src/page_checkout_delivery_address-asm-new.html +0 -54
  102. package/src/page_checkout_half-sign-in.html +0 -53
  103. package/src/page_checkout_payment-details-confirm-delete.html +0 -27
  104. package/src/page_checkout_payment-details.html +0 -27
  105. package/src/page_checkout_sign-in-password-popup.html +0 -98
  106. package/src/page_checkout_sign-in-popup.html +0 -99
  107. package/src/page_checkout_sign-in.html +0 -53
  108. package/src/page_in-store_MVP_order-summary.html +0 -19
  109. package/src/page_in-store_payment-checkout.html +0 -35
  110. package/src/page_in-store_sign-in.html +0 -30
  111. package/src/page_instore_progress_bar.html +0 -30
  112. package/src/page_new-checkout-forgot-password.html +0 -45
  113. package/src/page_new-checkout-form-login-guest.html +0 -105
  114. package/src/page_new-checkout-form-login-wickes.html +0 -48
  115. package/src/scss/components/_steps.scss +0 -207
  116. package/src/scss/pages/_checkout_your-details.scss +0 -48
  117. package/src/scss/pages/page_in-store_MVP_order-summary-submitted.scss +0 -14
  118. package/src/scss/pages/page_in-store_MVP_order-summary.scss +0 -150
  119. package/src/scss/pages/page_new-checkout-forgot.scss +0 -49
@@ -53,7 +53,7 @@
53
53
  @include media-breakpoint-up(md) {
54
54
  @include make-col-ready;
55
55
  display: flex;
56
- align-items: end;
56
+ align-items: flex-end;
57
57
  justify-content: flex-end;
58
58
  }
59
59
 
@@ -1,22 +1,111 @@
1
1
  .locator {
2
2
  &__header-wrapper {
3
- padding-bottom: 40px;
3
+ padding-bottom: 24px;
4
4
 
5
5
  h2 {
6
- margin-bottom: 20px;
6
+ margin-bottom: 16px;
7
+ font-size: 1.125rem;
8
+ font-weight: $headings-font-weight;
9
+ line-height: 24px;
10
+ text-align: left;
7
11
  }
8
12
 
9
13
  p {
10
14
  margin-bottom: 0;
11
15
  font-size: 1rem;
12
- line-height: 1.5rem;
13
- text-align: center;
16
+ line-height: 20px;
17
+ text-align: left;
14
18
  }
15
19
  }
20
+
21
+ &__form-wrapper {
22
+ display: flex;
23
+ flex-direction: column;
24
+ gap: 16px;
25
+ }
26
+
27
+ &__near-me,
28
+ &__open-search {
29
+ border: 0;
30
+ background: transparent;
31
+ color: $blue;
32
+ cursor: pointer;
33
+ display: inline-flex;
34
+ align-items: center;
35
+ justify-content: center;
36
+ gap: 8px;
37
+ padding: 0;
38
+ font-size: 0.875rem;
39
+ font-weight: $btn-font-weight;
40
+ line-height: 22px;
41
+ text-align: center;
42
+
43
+ &:hover {
44
+ color: $blue-dark;
45
+ }
46
+ }
47
+
48
+ &__near-me {
49
+ align-self: flex-start;
50
+ }
51
+
52
+ &__near-me-icon,
53
+ &__open-search-icon {
54
+ display: inline-flex;
55
+ align-items: center;
56
+ justify-content: center;
57
+ width: 24px;
58
+ height: 24px;
59
+ font-size: 1rem;
60
+ }
61
+
62
+ &__divider {
63
+ width: 100%;
64
+ height: 1px;
65
+ background-color: $gray-border;
66
+ }
67
+
68
+ &__select-store {
69
+ display: flex;
70
+ flex-direction: column;
71
+ gap: 16px;
72
+ align-items: stretch;
73
+ width: 100%;
74
+ }
75
+
76
+ .form-row,
77
+ &__select-row {
78
+ padding: 0;
79
+ margin-bottom: 0;
80
+ }
81
+
82
+ &__details-button {
83
+ height: 40px;
84
+ padding-right: 16px;
85
+ padding-left: 16px;
86
+ font-size: 0.875rem;
87
+ font-weight: $btn-font-weight;
88
+ line-height: 22px;
89
+ width: 100%;
90
+ margin-top: 0;
91
+ }
92
+
93
+
94
+ &__open-search {
95
+ display: none;
96
+ width: 100%;
97
+ min-height: 72px;
98
+ background-color: $gray-bg;
99
+ padding: 24px 40px;
100
+ }
16
101
  }
17
102
 
18
103
  .form-locator-wrapper {
19
- // No asterisk for required fields on this page
104
+ margin-left: -15px;
105
+ margin-right: -15px;
106
+ padding: 24px;
107
+ background-color: $gray-bg;
108
+
20
109
  .form-row__label_required::before {
21
110
  content: none;
22
111
  }
@@ -25,85 +114,200 @@
25
114
  .forms-locator {
26
115
  @include make-col(12);
27
116
 
117
+ display: flex;
118
+ flex-direction: column;
119
+ padding: 0;
120
+ margin: 0 auto;
121
+
122
+ .form-locator-list,
123
+ .form-locator {
124
+ margin: 0;
125
+ }
126
+
127
+ .form-row {
128
+ margin-bottom: 0;
129
+ }
130
+
28
131
  .form-row__label,
29
132
  .form-row__field,
30
133
  .form-row__error {
31
134
  @include make-col-ready;
135
+ @include make-col(12);
136
+ @include make-col-offset(0);
32
137
  }
33
138
 
34
- // TODO: delete after adding that control to the elemetns component
35
- .header-search__submit {
36
- right: 30px;
139
+ .form-row__label {
140
+ padding-bottom: 8px;
141
+ margin-bottom: 0;
142
+ font-size: 1rem;
143
+ font-weight: $btn-font-weight;
144
+ line-height: 24px;
37
145
  }
38
146
 
39
- // ie11, edge remove default clear button
40
- // sass-lint:disable no-vendor-prefixes
41
- .form-locator__search-inp::-ms-clear {
42
- display: none;
43
- }
44
- }
147
+ .form-row__field {
148
+ input,
149
+ select {
150
+ height: 40px;
151
+ font-size: 1rem;
152
+ line-height: 24px;
153
+ }
45
154
 
46
- @include media-breakpoint-down(sm) {
47
- .locator {
48
- &__header-wrapper {
49
- padding-bottom: 20px;
155
+ .header-search__submit {
156
+ right: 31px;
157
+ color: $blue;
158
+ font-size: 0.875rem;
159
+ font-weight: $btn-font-weight;
160
+ line-height: 22px;
161
+ padding: 0;
162
+
163
+ &-label {
164
+ padding-left: 12px;
165
+ }
50
166
 
51
- p {
52
- text-align: left;
53
- font-size: inherit;
167
+ &-icon {
168
+ font-size: 1rem;
54
169
  }
55
170
  }
56
171
  }
57
172
 
58
- .forms-locator {
59
- padding-top: 20px;
173
+ .form-row_validation-error {
174
+ .form-row__field {
175
+ input,
176
+ select {
177
+ border-color: $red;
178
+ }
179
+ }
60
180
 
61
- .form-row__label,
62
- .form-row__field,
63
181
  .form-row__error {
64
- @include make-col(12);
65
- @include make-col-offset(0);
182
+ color: $red;
183
+ font-size: 0.75rem;
184
+ line-height: 20px;
66
185
  }
186
+ }
187
+ }
67
188
 
68
- .form-row__col-btn {
69
- @include make-col(12);
70
- padding: 0;
189
+ .store-locator_geo-off {
190
+ .locator__select-store {
191
+ flex-direction: column;
192
+ }
193
+ }
71
194
 
72
- &:first-child {
73
- @include make-col-offset(0);
195
+ @include media-breakpoint-up(sm) {
196
+ .forms-locator {
197
+ .form-row__field {
198
+ .header-search__submit {
199
+ &-label {
200
+ display: initial !important;
201
+ }
74
202
  }
75
203
  }
76
204
  }
205
+
206
+ .form-locator-wrapper {
207
+ margin: 0;
208
+ }
209
+
210
+ .store-locator_geo-on,
211
+ .store-locator_geo-off {
212
+ .locator__select-store {
213
+ flex-direction: row;
214
+ }
215
+ }
216
+
217
+ .locator__details-button {
218
+ width: auto;
219
+ margin-top: 32px;
220
+ }
77
221
  }
222
+
78
223
  @include media-breakpoint-up(md) {
224
+ .store-locator .container {
225
+ padding-bottom: 72px;
226
+ }
227
+
79
228
  .forms-locator {
80
- .form-row__label,
81
- .form-row__field,
82
- .form-row__error {
83
- @include make-col(10);
84
- @include make-col-offset(1);
85
- }
229
+ max-width: 435px;
230
+ }
231
+
232
+ .form-locator-wrapper {
233
+ padding: 40px;
234
+ }
86
235
 
87
- .form-row__col-btn {
88
- @include make-col(6);
236
+ .locator {
237
+ &__select-row {
238
+ flex-grow: 1;
89
239
  }
90
240
  }
241
+
242
+ .forms-locator {
243
+ max-width: none;
244
+ }
91
245
  }
92
246
 
93
247
  @include media-breakpoint-up(lg) {
248
+ .store-locator_geo-on {
249
+ .locator__select-store {
250
+ flex-direction: column;
251
+ }
252
+ }
253
+
254
+ .locator__select-row {
255
+ flex-grow: initial;
256
+ }
257
+
94
258
  .forms-locator {
95
- .form-row__label,
96
- .form-row__field,
97
- .form-row__error {
98
- @include make-col(6);
99
- @include make-col-offset(3);
259
+ max-width: 435px;
260
+ }
261
+
262
+ .locator {
263
+ &__select-row {
264
+ flex: 1 1 auto;
265
+ min-width: 212px;
266
+ }
267
+
268
+ &__header-wrapper p {
269
+ max-width: none;
270
+ }
271
+
272
+ &__details-button {
273
+ width: 100%;
274
+ margin-top: 0;
275
+ }
276
+ }
277
+
278
+ .store-locator_geo-off {
279
+ .forms-locator {
280
+ max-width: 435px;
281
+ }
282
+
283
+ .locator__details-button {
284
+ width: auto;
285
+ margin-top: 32px;
286
+ }
287
+
288
+ .form_invalid {
289
+ margin-bottom: 24px;
100
290
  }
101
291
  }
102
292
  }
103
293
 
104
- @include media-breakpoint-down(xs) {
105
- .form-locator-wrapper {
106
- margin-left: -15px;
107
- margin-right: -15px;
294
+ @include media-breakpoint-up(xl) {
295
+ .locator {
296
+ &__select-store {
297
+ flex-direction: row;
298
+ }
299
+ }
300
+
301
+ .store-locator_geo-on {
302
+ .locator__select-store {
303
+ flex-direction: row;
304
+ }
305
+ }
306
+
307
+ .locator {
308
+ &__details-button {
309
+ width: auto;
310
+ margin-top: 32px;
311
+ }
108
312
  }
109
313
  }
@@ -173,18 +173,30 @@
173
173
  max-height: 130px !important;
174
174
  min-height: 0 !important;
175
175
  margin-right: 30px;
176
+ overflow: hidden !important;
176
177
 
177
- div div:nth-of-type(2) {
178
+ > div > div:nth-of-type(2) {
179
+ display: flow-root;
180
+ width: max-content;
181
+ max-width: 100%;
178
182
  min-height: 0 !important;
183
+
184
+ > div:first-of-type {
185
+ width: 49% !important;
186
+ box-sizing: border-box;
187
+ }
179
188
  }
180
189
  }
181
190
 
182
191
  &.gm-style-iw-c {
183
192
  min-height: 0 !important;
193
+ min-width: 310px !important;
194
+ max-width: 320px !important;
184
195
  }
185
196
  }
186
197
 
187
- &-ui-hover-effect {
198
+ &-ui-hover-effect,
199
+ button {
188
200
  position: absolute !important;
189
201
  top: 0;
190
202
  right: 0;
@@ -197,4 +209,19 @@
197
209
  outline: 5px auto #005fcc !important;
198
210
  }
199
211
  }
200
- }
212
+ }
213
+
214
+ @media screen and (max-width: 375px) {
215
+ .gm {
216
+ &-style-iw {
217
+ &-d > div > div:nth-of-type(2) {
218
+ min-width: 255px !important;
219
+ }
220
+ }
221
+
222
+ &.gm-style-iw-c {
223
+ min-width: 287px !important;
224
+ max-width: 220px !important;
225
+ }
226
+ }
227
+ }
@@ -77,7 +77,7 @@
77
77
  }
78
78
 
79
79
  &__wrapper {
80
- justify-content: end;
80
+ justify-content: flex-end;
81
81
  }
82
82
  }
83
83
  }
@@ -42,7 +42,6 @@
42
42
  @import 'components/pagination__shopping-list'; //only shopping list
43
43
  @import 'components/search-filter'; //plp & product-search & search result
44
44
  @import 'components/category-tree'; //product-search & plp
45
- @import 'components/steps'; //checkout & in-store & tradePro
46
45
  @import 'components/steps-three'; //checkout progress bar for three steps
47
46
  @import 'components/modal-box'; //pdp & checkout & kitchen-claims
48
47
  @import 'components/legal-info'; //plp + product search + search result
@@ -1,6 +1,6 @@
1
1
  @import '../helpers/helpers';
2
2
  @import '../partials/header_checkout';
3
- @import '../components/steps';
3
+ @import '../components/steps-three';
4
4
  @import '../partials/footer_checkout';
5
5
  @import '../components/new-checkout-form';
6
6
  @import 'checkout-confirmation-new';
@@ -15,7 +15,6 @@
15
15
  @import 'checkout_delivery-details';
16
16
  @import 'checkout_delivery-address';
17
17
  @import 'checkout_delivery-address-asm';
18
- @import 'checkout_your-details';
19
18
  @import 'checkout-widget';
20
19
  @import 'checkout_edit-delivery-address';
21
20
  @import 'checkout_terms-and-conditions';
@@ -45,8 +44,6 @@ body {
45
44
  }
46
45
  // --------
47
46
 
48
- .new-checkout-login-wickes,
49
- .new-checkout-login-guest,
50
47
  .new-checkout-login-secure {
51
48
  .full-width-content {
52
49
  padding-bottom: 10px;
@@ -5,7 +5,6 @@
5
5
  @import 'checkout_delivery-details';
6
6
  @import 'checkout_delivery-address';
7
7
  @import 'checkout_delivery-address-asm';
8
- @import 'checkout_your-details';
9
8
  @import 'checkout-confirmation';
10
9
  @import 'checkout-widget';
11
10
  @import 'checkout_edit-delivery-address';
@@ -71,37 +71,6 @@
71
71
  }
72
72
  }
73
73
 
74
- .in-store-checkout {
75
- &__wrapper {
76
- @include make-col-ready;
77
- @include make-col(12);
78
-
79
- @include media-breakpoint-up(md) {
80
- @include make-col(10);
81
- @include make-col-offset(1);
82
- }
83
- }
84
-
85
- &__title {
86
- font-size: 20px;
87
- margin-bottom: 30px;
88
- }
89
-
90
- &__submit {
91
- @include make-col-ready;
92
- @include make-col(12);
93
-
94
- @include media-breakpoint-up(md) {
95
- @include make-col(5);
96
- @include make-col-offset(1);
97
- }
98
-
99
- @include media-breakpoint-up(lg) {
100
- @include make-col(3);
101
- }
102
- }
103
- }
104
-
105
74
  .checkout-in-store-details {
106
75
  @include make-col-ready;
107
76
  @include make-col(12);
@@ -111,28 +80,3 @@
111
80
  @include make-col-offset(1);
112
81
  }
113
82
  }
114
-
115
- .barcode {
116
- &__wrapper {
117
- padding: 20px;
118
- display: flex;
119
- align-items: center;
120
- justify-content: center;
121
- flex-direction: column;
122
- background-color: $white;
123
- }
124
-
125
- &__order-total {
126
- font-size: 1rem;
127
- font-weight: 800;
128
-
129
- @include media-breakpoint-up(sm) {
130
- font-size: 18px;
131
- }
132
-
133
- @include media-breakpoint-up(md) {
134
- font-size: 24px;
135
- margin: 20px 0;
136
- }
137
- }
138
- }
@@ -312,6 +312,16 @@
312
312
  padding-left: 5px;
313
313
  padding-right: 5px;
314
314
  position: relative;
315
+
316
+ &:nth-of-type(1)::before,
317
+ &:nth-of-type(2)::before {
318
+ content: '';
319
+ position: absolute;
320
+ top: -20px;
321
+ left: 5px;
322
+ width: calc(100% - 10px);
323
+ border-bottom: 1px solid $gray;
324
+ }
315
325
  }
316
326
  }
317
327
  }
@@ -334,7 +344,7 @@
334
344
  .sort-products-list {
335
345
  &__section {
336
346
  @include make-col(6);
337
- color: #000000;
347
+ color: $black;
338
348
  border: 0;
339
349
 
340
350
  > .form-row {
@@ -6,7 +6,7 @@
6
6
  @import '../components/store-locator-lookup';
7
7
 
8
8
  h1 {
9
- margin-bottom: 30px;
9
+ margin-bottom: 24px;
10
10
  }
11
11
 
12
12
  .store-locator {