wickes-css2 2.117.0-develop.1 → 2.117.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/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_product_search.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/pdp-main-before-combine.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/bloomreach-widget.min.js +1 -1
- package/build/js/emulation.min.js +208 -30
- package/build/js/page/bloomreach-widget/why-not-add-widget.js +1 -1
- package/build/js/page/components/store-locator.js +165 -0
- package/build/js/store-locator.min.js +1 -0
- package/package.json +1 -1
- package/src/components/bloomreach/complete-your-project-skeleton.hbs +1 -1
- package/src/components/find-a-store.hbs +48 -32
- package/src/js/emulation/bloomreach-widget-loading.js +1 -1
- package/src/js/emulation/complete-your-project-loading.js +1 -1
- package/src/js/emulation/forms.js +81 -12
- package/src/js/emulation/gift-cards.js +1 -0
- package/src/js/emulation/store-locator-geo-emulation.js +185 -0
- package/src/js/emulation/store-locator-load-more.js +9 -1
- package/src/js/page/bloomreach-widget/why-not-add-widget.js +1 -1
- package/src/js/page/components/store-locator.js +165 -0
- package/src/page_product-details-bloomreach.html +1 -1
- package/src/page_product-details-with-why-not-add-single.html +1 -1
- package/src/page_store-locator-list.html +13 -13
- package/src/page_store-locator.html +12 -9
- package/src/scss/components/_account-heading.scss +1 -1
- package/src/scss/components/_find-a-store.scss +253 -49
- package/src/scss/components/_map.scss +30 -3
- package/src/scss/components/_shop-colour.scss +1 -1
- package/src/scss/pages/page_product_search.scss +11 -1
- package/src/scss/pages/page_store-locator-details.scss +1 -1
- package/src/scss/pages/page_store-locator.scss +249 -10
- package/src/scss/pages/page_ti.scss +1 -1
- package/src/scss/store-locator-main.scss +0 -5
|
@@ -1,11 +1,47 @@
|
|
|
1
1
|
@import '../helpers/helpers';
|
|
2
2
|
@import '../components/special-opening-schedule';
|
|
3
3
|
|
|
4
|
+
.store-locator {
|
|
5
|
+
.container {
|
|
6
|
+
padding-top: 0;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.notification {
|
|
10
|
+
margin-top: 24px;
|
|
11
|
+
margin-bottom: 0;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
4
15
|
h1 {
|
|
5
|
-
margin-bottom:
|
|
16
|
+
margin-bottom: 24px;
|
|
17
|
+
font-size: 1.625rem;
|
|
18
|
+
font-weight: $btn-font-weight;
|
|
19
|
+
line-height: 36px;
|
|
20
|
+
text-align: left;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.store-locator-wrapper {
|
|
24
|
+
display: flex;
|
|
25
|
+
flex-direction: column;
|
|
26
|
+
|
|
27
|
+
.row-holder {
|
|
28
|
+
margin-top: 24px;
|
|
29
|
+
|
|
30
|
+
.map-container {
|
|
31
|
+
margin: 0;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.store-locator__content {
|
|
37
|
+
padding-top: 24px;
|
|
6
38
|
}
|
|
7
39
|
|
|
8
40
|
.cards-store {
|
|
41
|
+
&-holder {
|
|
42
|
+
scroll-margin-top: 60px;
|
|
43
|
+
}
|
|
44
|
+
|
|
9
45
|
&-list {
|
|
10
46
|
padding-right: 0;
|
|
11
47
|
padding-left: 0;
|
|
@@ -17,7 +53,7 @@ h1 {
|
|
|
17
53
|
}
|
|
18
54
|
|
|
19
55
|
&-wrapper {
|
|
20
|
-
padding-top:
|
|
56
|
+
padding-top: 24px;
|
|
21
57
|
|
|
22
58
|
.row {
|
|
23
59
|
display: grid;
|
|
@@ -25,13 +61,23 @@ h1 {
|
|
|
25
61
|
gap: 16px;
|
|
26
62
|
margin-right: 0;
|
|
27
63
|
margin-left: 0;
|
|
28
|
-
align-items: start;
|
|
64
|
+
align-items: flex-start;
|
|
29
65
|
}
|
|
30
66
|
}
|
|
31
67
|
}
|
|
32
68
|
|
|
33
69
|
.locator {
|
|
34
70
|
.forms-locator {
|
|
71
|
+
button {
|
|
72
|
+
&:focus {
|
|
73
|
+
outline: none;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
&:focus-visible {
|
|
77
|
+
outline: 5px auto -webkit-focus-ring-color;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
|
|
35
81
|
.form-row__field {
|
|
36
82
|
.header-search__submit {
|
|
37
83
|
color: $blue;
|
|
@@ -51,11 +97,52 @@ h1 {
|
|
|
51
97
|
}
|
|
52
98
|
|
|
53
99
|
.btn_store-near-me {
|
|
54
|
-
|
|
55
|
-
|
|
100
|
+
display: none;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
@include media-breakpoint-down(md) {
|
|
105
|
+
.store-locator_search-collapsed {
|
|
106
|
+
.form-locator-wrapper {
|
|
107
|
+
display: none;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.locator__open-search {
|
|
111
|
+
display: flex;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
56
114
|
}
|
|
57
115
|
|
|
58
116
|
@include media-breakpoint-down(sm) {
|
|
117
|
+
.store-locator-wrapper {
|
|
118
|
+
.row-holder {
|
|
119
|
+
.map-container,
|
|
120
|
+
.map,
|
|
121
|
+
.map__google-map {
|
|
122
|
+
width: 100%;
|
|
123
|
+
min-height: 252px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.map-container {
|
|
127
|
+
margin-top: 0;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.map__google-map {
|
|
131
|
+
background-size: cover !important;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.store-locator_geo-off,
|
|
137
|
+
.store-locator-wrapper.store-locator_geo-off {
|
|
138
|
+
.store-locator-wrapper,
|
|
139
|
+
& {
|
|
140
|
+
.row-holder {
|
|
141
|
+
display: none;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
59
146
|
.cards-store {
|
|
60
147
|
&-list {
|
|
61
148
|
&__actions {
|
|
@@ -100,6 +187,62 @@ h1 {
|
|
|
100
187
|
grid-template-columns: repeat(2, 1fr);
|
|
101
188
|
}
|
|
102
189
|
}
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
@include media-breakpoint-up(md) {
|
|
194
|
+
.store-locator {
|
|
195
|
+
.notification {
|
|
196
|
+
margin-bottom: -16px;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
h1 {
|
|
201
|
+
font-size: 2.125rem;
|
|
202
|
+
line-height: 46px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.store-locator__content {
|
|
206
|
+
padding-top: 40px;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.store-locator-wrapper {
|
|
210
|
+
.row-holder {
|
|
211
|
+
padding-right: 0;
|
|
212
|
+
padding-left: 0;
|
|
213
|
+
|
|
214
|
+
.map-container,
|
|
215
|
+
.map,
|
|
216
|
+
.map__google-map {
|
|
217
|
+
width: 100%;
|
|
218
|
+
min-height: 266px;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.map__google-map {
|
|
222
|
+
background-size: cover !important;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.store-locator_geo-off,
|
|
228
|
+
.store-locator-wrapper.store-locator_geo-off {
|
|
229
|
+
.store-locator-wrapper,
|
|
230
|
+
& {
|
|
231
|
+
.row-holder {
|
|
232
|
+
display: none;
|
|
233
|
+
}
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.cards-store {
|
|
238
|
+
&-wrapper {
|
|
239
|
+
padding-top: 40px;
|
|
240
|
+
|
|
241
|
+
.row {
|
|
242
|
+
grid-template-columns: repeat(2, 1fr);
|
|
243
|
+
gap: 24px;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
103
246
|
|
|
104
247
|
&-list__actions {
|
|
105
248
|
margin: 24px 0 0;
|
|
@@ -114,13 +257,89 @@ h1 {
|
|
|
114
257
|
}
|
|
115
258
|
}
|
|
116
259
|
|
|
117
|
-
@include media-breakpoint-up(
|
|
118
|
-
.
|
|
119
|
-
|
|
260
|
+
@include media-breakpoint-up(lg) {
|
|
261
|
+
.store-locator {
|
|
262
|
+
&.store-locator_geo-off {
|
|
263
|
+
.notification {
|
|
264
|
+
margin-bottom: -16px;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.notification {
|
|
269
|
+
margin-bottom: 24px;
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.store-locator-wrapper {
|
|
274
|
+
.row-holder {
|
|
275
|
+
margin-top: 0;
|
|
276
|
+
padding-right: 31px;
|
|
277
|
+
padding-left: 31px;
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.store-locator-wrapper {
|
|
282
|
+
display: grid;
|
|
283
|
+
grid-template-columns: 50vw 50vw;
|
|
284
|
+
align-items: stretch;
|
|
285
|
+
width: 100vw;
|
|
286
|
+
margin-right: calc(50% - 50vw);
|
|
287
|
+
margin-left: calc(50% - 50vw);
|
|
288
|
+
|
|
289
|
+
.store-locator__content,
|
|
290
|
+
.row-holder {
|
|
291
|
+
width: auto;
|
|
292
|
+
min-width: 0;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.store-locator__content {
|
|
296
|
+
padding-left: calc((100vw - 930px) / 2);
|
|
297
|
+
padding-right: 40px;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.row-holder {
|
|
301
|
+
padding-right: 0;
|
|
302
|
+
padding-left: 0;
|
|
303
|
+
|
|
304
|
+
.map-container,
|
|
305
|
+
.map,
|
|
306
|
+
.map__google-map {
|
|
307
|
+
height: 100%;
|
|
308
|
+
min-height: 563px;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.map-container {
|
|
312
|
+
margin: 0;
|
|
313
|
+
}
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.store-locator_geo-off {
|
|
318
|
+
.store-locator-wrapper {
|
|
319
|
+
display: block;
|
|
320
|
+
width: auto;
|
|
321
|
+
margin-right: 0;
|
|
322
|
+
margin-left: 0;
|
|
323
|
+
|
|
324
|
+
.store-locator__content {
|
|
325
|
+
padding-left: 0;
|
|
326
|
+
padding-right: 0;
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.store-locator-wrapper.store-locator_geo-off {
|
|
332
|
+
display: block;
|
|
333
|
+
width: auto;
|
|
334
|
+
margin-right: 0;
|
|
335
|
+
margin-left: 0;
|
|
336
|
+
|
|
337
|
+
.store-locator__content {
|
|
338
|
+
padding-left: 0;
|
|
339
|
+
padding-right: 0;
|
|
340
|
+
}
|
|
120
341
|
}
|
|
121
|
-
}
|
|
122
342
|
|
|
123
|
-
@include media-breakpoint-up(lg) {
|
|
124
343
|
.cards-store {
|
|
125
344
|
&-wrapper {
|
|
126
345
|
.row {
|
|
@@ -131,6 +350,26 @@ h1 {
|
|
|
131
350
|
}
|
|
132
351
|
|
|
133
352
|
@include media-breakpoint-up(xl) {
|
|
353
|
+
.store-locator {
|
|
354
|
+
.notification {
|
|
355
|
+
margin-bottom: 24px;
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.store-locator-wrapper {
|
|
360
|
+
.store-locator__content {
|
|
361
|
+
padding-left: calc((100vw - 1110px) / 2);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
.row-holder {
|
|
365
|
+
.map-container,
|
|
366
|
+
.map,
|
|
367
|
+
.map__google-map {
|
|
368
|
+
min-height: 507px;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
134
373
|
.cards-store {
|
|
135
374
|
&-wrapper {
|
|
136
375
|
.row {
|