wickes-css2 2.105.0-develop.1 → 2.105.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/category-main.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/page_checkout_delivery-new.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/page/klarna-modal-scroll-disable.js +2 -2
- package/build/js/page/online-exclusive.js +0 -1
- package/package.json +1 -1
- package/src/components/date-selection.hbs +25 -6
- package/src/js/page/klarna-modal-scroll-disable.js +2 -2
- package/src/js/page/online-exclusive.js +0 -1
- package/src/scss/common/_common.scss +5 -0
- package/src/scss/components/_custom-slider.scss +10 -10
- package/src/scss/components/_date-selection-add-new-styles.scss +42 -0
- package/src/scss/components/_date-selection.scss +79 -0
- package/src/scss/helpers/_variables.scss +2 -0
- package/src/scss/kitchen-plp-main.scss +0 -1
|
@@ -2,8 +2,8 @@ var Wick = Wick || {};
|
|
|
2
2
|
|
|
3
3
|
Wick.KlarnaModalScrollDisable = (function () {
|
|
4
4
|
const $body = $('body'),
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
klarnaPopUp = 'klarna-osm-interstitial',
|
|
6
|
+
scrollDisableClass = 'overflow-hidden';
|
|
7
7
|
|
|
8
8
|
window.addEventListener(klarnaPopUp, (e) => {
|
|
9
9
|
let isKlarnaPopUpActive = e.detail.action === 'show';
|
package/package.json
CHANGED
|
@@ -28,7 +28,18 @@
|
|
|
28
28
|
<div class="calendar__row">
|
|
29
29
|
<div class="calendar__row_days">
|
|
30
30
|
{{/if}}
|
|
31
|
-
|
|
31
|
+
<span class="calendar__cell calendar__cell_cnt{{#if isInactive}} calendar__cell_inactive{{/if}}{{#if (eq day '1')}}{{#unless isInactive}} calendar__cell_rapid{{/unless}}{{/if}}">
|
|
32
|
+
{{#if (eq day '1')}}
|
|
33
|
+
{{#unless isInactive}}
|
|
34
|
+
{{day}}
|
|
35
|
+
<span class="label-rapid">Rapid</span>
|
|
36
|
+
{{else}}
|
|
37
|
+
{{day}}
|
|
38
|
+
{{/unless}}
|
|
39
|
+
{{else}}
|
|
40
|
+
{{day}}
|
|
41
|
+
{{/if}}
|
|
42
|
+
</span>
|
|
32
43
|
{{#if (eq (mod_inc @index 7) 0)}}
|
|
33
44
|
</div>
|
|
34
45
|
</div>
|
|
@@ -53,11 +64,19 @@
|
|
|
53
64
|
</div>
|
|
54
65
|
</div>
|
|
55
66
|
<div class="delivery-time">
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
67
|
+
<div class="delivery-time__rapid-hint">
|
|
68
|
+
<span class="icon-wrap icon-wrap--large">
|
|
69
|
+
<i class="fas fa-shipping-fast icon"></i>
|
|
70
|
+
</span>
|
|
71
|
+
<p class="description">
|
|
72
|
+
Select todays’ day on the calendar to get Wickes Rapid delivery
|
|
73
|
+
</p>
|
|
74
|
+
</div>
|
|
75
|
+
{{> delivery-types
|
|
76
|
+
title=titleDelivery
|
|
77
|
+
subtitle=subtitleDelivery
|
|
78
|
+
classImg=imgDelivery
|
|
79
|
+
}}
|
|
61
80
|
</div>
|
|
62
81
|
</div>
|
|
63
82
|
</div>
|
|
@@ -2,8 +2,8 @@ var Wick = Wick || {};
|
|
|
2
2
|
|
|
3
3
|
Wick.KlarnaModalScrollDisable = (function () {
|
|
4
4
|
const $body = $('body'),
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
klarnaPopUp = 'klarna-osm-interstitial',
|
|
6
|
+
scrollDisableClass = 'overflow-hidden';
|
|
7
7
|
|
|
8
8
|
window.addEventListener(klarnaPopUp, (e) => {
|
|
9
9
|
let isKlarnaPopUpActive = e.detail.action === 'show';
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
.messages {
|
|
119
119
|
display: flex;
|
|
120
120
|
flex-direction: column;
|
|
121
|
-
border:
|
|
121
|
+
border: 0;
|
|
122
122
|
background: none;
|
|
123
123
|
|
|
124
124
|
&__text {
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
justify-content: space-between;
|
|
152
152
|
grid-gap: 8px;
|
|
153
153
|
padding: 8px 0;
|
|
154
|
-
border:
|
|
154
|
+
border: 0;
|
|
155
155
|
|
|
156
156
|
& + .products__item {
|
|
157
157
|
border-top: 1px solid $gray-light;
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
min-width: 24px;
|
|
185
185
|
padding: 4px;
|
|
186
186
|
background: 0 0;
|
|
187
|
-
border:
|
|
187
|
+
border: 0;
|
|
188
188
|
display: flex;
|
|
189
189
|
align-items: center;
|
|
190
190
|
justify-content: center;
|
|
@@ -290,8 +290,8 @@
|
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
&[disabled] {
|
|
293
|
-
border:
|
|
294
|
-
opacity:
|
|
293
|
+
border: 0;
|
|
294
|
+
opacity: .6;
|
|
295
295
|
}
|
|
296
296
|
}
|
|
297
297
|
}
|
|
@@ -299,7 +299,7 @@
|
|
|
299
299
|
.btn--remove,
|
|
300
300
|
.btn--quantity {
|
|
301
301
|
&:hover {
|
|
302
|
-
opacity:
|
|
302
|
+
opacity: .7;
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
|
|
@@ -335,7 +335,7 @@
|
|
|
335
335
|
transition: all .3s ease;
|
|
336
336
|
|
|
337
337
|
&.footer-fixed {
|
|
338
|
-
box-shadow:
|
|
338
|
+
box-shadow: 0 -4px 12px 0 rgba(0, 0, 0, .08);
|
|
339
339
|
position: fixed;
|
|
340
340
|
width: 100%;
|
|
341
341
|
left: 0;
|
|
@@ -406,7 +406,7 @@
|
|
|
406
406
|
}
|
|
407
407
|
|
|
408
408
|
.custom-slider__footer {
|
|
409
|
-
box-shadow:
|
|
409
|
+
box-shadow: 0 -4px 12px 0 rgba(0, 0, 0, .08);
|
|
410
410
|
flex-direction: column;
|
|
411
411
|
}
|
|
412
412
|
}
|
|
@@ -436,7 +436,7 @@
|
|
|
436
436
|
font-weight: 700;
|
|
437
437
|
}
|
|
438
438
|
|
|
439
|
-
&[aria-expanded=
|
|
439
|
+
&[aria-expanded='true'] {
|
|
440
440
|
.icon-wrap .arrow-icon {
|
|
441
441
|
transform: rotate(180deg);
|
|
442
442
|
}
|
|
@@ -534,7 +534,7 @@
|
|
|
534
534
|
transform: rotate(180deg);
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
-
&[aria-expanded=
|
|
537
|
+
&[aria-expanded='true'] {
|
|
538
538
|
.icon {
|
|
539
539
|
transform: rotate(0);
|
|
540
540
|
}
|
|
@@ -142,6 +142,48 @@
|
|
|
142
142
|
font-weight: 500;
|
|
143
143
|
font-size: 1rem;
|
|
144
144
|
}
|
|
145
|
+
|
|
146
|
+
&_rapid {
|
|
147
|
+
display: inline;
|
|
148
|
+
align-items: center;
|
|
149
|
+
position: relative;
|
|
150
|
+
|
|
151
|
+
&::after {
|
|
152
|
+
content: '';
|
|
153
|
+
position: relative;
|
|
154
|
+
display: block;
|
|
155
|
+
background: $ma-white;
|
|
156
|
+
border-radius: 50%;
|
|
157
|
+
width: 34px;
|
|
158
|
+
height: 34px;
|
|
159
|
+
top: -34px;
|
|
160
|
+
left: calc(50% - 34px / 2);
|
|
161
|
+
z-index: $circle-z-index;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.label-rapid {
|
|
165
|
+
@include font-size(10);
|
|
166
|
+
@include line-height(10);
|
|
167
|
+
border-radius: 30px;
|
|
168
|
+
border: 1px solid $white;
|
|
169
|
+
background: $pacific-depths;
|
|
170
|
+
position: absolute;
|
|
171
|
+
bottom: -8px;
|
|
172
|
+
left: 50%;
|
|
173
|
+
font-weight: 700;
|
|
174
|
+
transform: translate(-50%, 0);
|
|
175
|
+
padding: 2px 4px;
|
|
176
|
+
color: $white;
|
|
177
|
+
z-index: $label-z-index;
|
|
178
|
+
pointer-events: none;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&.calendar__cell_selected {
|
|
182
|
+
&::after {
|
|
183
|
+
background: $blue;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
}
|
|
145
187
|
}
|
|
146
188
|
|
|
147
189
|
&.date-selection_selected {
|
|
@@ -29,6 +29,36 @@
|
|
|
29
29
|
display: none;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
+
|
|
33
|
+
&__rapid-hint {
|
|
34
|
+
border-top: 1px dashed $blue-dark;
|
|
35
|
+
display: flex;
|
|
36
|
+
padding: 24px;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
justify-content: center;
|
|
39
|
+
align-items: center;
|
|
40
|
+
gap: 8px;
|
|
41
|
+
align-self: stretch;
|
|
42
|
+
|
|
43
|
+
.description {
|
|
44
|
+
@include font-size(14);
|
|
45
|
+
@include line-height(22);
|
|
46
|
+
text-align: center;
|
|
47
|
+
font-weight: 400;
|
|
48
|
+
max-width: 226px;
|
|
49
|
+
margin-bottom: 0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.icon {
|
|
53
|
+
font-size: 2rem;
|
|
54
|
+
height: auto;
|
|
55
|
+
color: $blue-satin;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.date-selection_selected & {
|
|
59
|
+
display: none;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
32
62
|
}
|
|
33
63
|
|
|
34
64
|
.calendar {
|
|
@@ -81,6 +111,49 @@
|
|
|
81
111
|
background: $blue;
|
|
82
112
|
color: $white;
|
|
83
113
|
}
|
|
114
|
+
|
|
115
|
+
&_rapid {
|
|
116
|
+
display: inline;
|
|
117
|
+
align-items: center;
|
|
118
|
+
position: relative;
|
|
119
|
+
|
|
120
|
+
&::after {
|
|
121
|
+
content: '';
|
|
122
|
+
position: relative;
|
|
123
|
+
display: block;
|
|
124
|
+
background: $ma-white;
|
|
125
|
+
border-radius: 50%;
|
|
126
|
+
width: 34px;
|
|
127
|
+
height: 34px;
|
|
128
|
+
top: -34px;
|
|
129
|
+
left: calc(50% - 34px / 2);
|
|
130
|
+
z-index: $circle-z-index;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.label-rapid {
|
|
134
|
+
@include font-size(10);
|
|
135
|
+
@include line-height(10);
|
|
136
|
+
border-radius: 30px;
|
|
137
|
+
border: 1px solid $white;
|
|
138
|
+
background: $pacific-depths;
|
|
139
|
+
position: absolute;
|
|
140
|
+
bottom: -8px;
|
|
141
|
+
left: 50%;
|
|
142
|
+
font-style: normal;
|
|
143
|
+
font-weight: 700;
|
|
144
|
+
transform: translate(-50%, 0);
|
|
145
|
+
padding: 2px 4px;
|
|
146
|
+
color: $white;
|
|
147
|
+
z-index: $label-z-index;
|
|
148
|
+
pointer-events: none;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&.calendar__cell_selected {
|
|
152
|
+
&:after {
|
|
153
|
+
background: $blue;
|
|
154
|
+
}
|
|
155
|
+
}
|
|
156
|
+
}
|
|
84
157
|
}
|
|
85
158
|
}
|
|
86
159
|
|
|
@@ -249,6 +322,12 @@
|
|
|
249
322
|
|
|
250
323
|
.delivery-time {
|
|
251
324
|
width: 100%;
|
|
325
|
+
|
|
326
|
+
&__rapid-hint {
|
|
327
|
+
border-top: 0;
|
|
328
|
+
background: $white;
|
|
329
|
+
height: 100%;
|
|
330
|
+
}
|
|
252
331
|
}
|
|
253
332
|
|
|
254
333
|
.date-selection {
|