wickes-css2 2.103.0-lg-788-no-extra-req-empty-cart.1 → 2.103.0-rg-1802-gift-card-error-codes.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 -2
- package/build/css/category-main.css +1 -1
- package/build/css/components/checkout-payment-details-v2.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_checkout_delivery-new.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-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/img/giftcard.svg +28 -0
- package/build/img/klarna.svg +10 -0
- package/build/img/payment/checkout/klarna.svg +10 -0
- package/build/img/payment/footer/klarna.svg +10 -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/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 +282 -970
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/gift-cards.min.js +1 -0
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/page/basket-v2.js +244 -138
- package/build/js/page/components/discounts.js +6 -6
- package/build/js/page/components/gift-cards.js +895 -0
- package/build/js/page/components/order-summary.js +42 -25
- package/build/js/page/components/toggle-password-visibility.js +22 -0
- package/build/js/page/utils/gift-cards-utils.js +183 -0
- package/build/js/page/utils/input-handling.js +92 -0
- package/build/js/page/utils/show-hide-input.js +28 -0
- package/build/js/page/utils/validation.js +46 -1
- package/build/js/pdp.bundle.min.js +1 -1
- package/build/js/personal-details.min.js +1 -1
- package/build/js/plp.bundle.min.js +1 -1
- package/build/js/project-list.min.js +44 -1
- package/build/js/quiz.min.js +1 -1
- package/build/js/toggle-password-visibility.min.js +1 -0
- package/build/js/track-my-order.min.js +1 -1
- package/package.json +2 -2
- package/src/components/checkout-payment-details-v2.hbs +10 -11
- package/src/components/checkout_payment-new.hbs +1 -4
- package/src/components/checkout_payment-other-methods.hbs +1 -4
- package/src/components/gift-cards-hint.hbs +9 -0
- package/src/components/gift-cards.hbs +90 -0
- package/src/components/giftcard-chip.hbs +23 -0
- package/src/components/giftcard-summary.hbs +6 -0
- package/src/components/mini-basket/mini-basket-empty.hbs +13 -3
- package/src/components/mini-basket/mini-basket.hbs +13 -32
- package/src/components/mini-basket/product-item.hbs +16 -37
- package/src/components/payments-checkout-v2.hbs +2 -7
- package/src/components/payments-checkout.hbs +1 -6
- package/src/components/payments.hbs +1 -5
- package/src/components/table_order-details-klarna.hbs +1 -1
- package/src/components/table_payment.hbs +1 -4
- package/src/data/data_confirmation-summary.json +2 -4
- package/src/data/data_mini-basket.json +80 -4
- package/src/data/data_wismo.json +1 -1
- package/src/elements/form-row.hbs +1 -1
- package/src/elements/input.hbs +31 -2
- package/src/img/giftcard.svg +28 -0
- package/src/img/klarna.svg +10 -0
- package/src/img/payment/checkout/klarna.svg +10 -0
- package/src/img/payment/footer/klarna.svg +10 -0
- package/src/js/components/general/cart-slider.js +0 -4
- package/src/js/components/general/create-popup-slider.js +2 -5
- package/src/js/components/general/mini-basket-slider.js +8 -0
- package/src/js/components/general/notification.js +2 -1
- package/src/js/emulation/checkout-data.js +35 -0
- package/src/js/emulation/checkout-payment-details.js +23 -14
- package/src/js/emulation/custom-slider-emulation.js +10 -4
- package/src/js/emulation/forms.js +7 -2
- package/src/js/emulation/gift-cards.js +205 -0
- package/src/js/page/basket-v2.js +244 -138
- package/src/js/page/components/discounts.js +6 -6
- package/src/js/page/components/gift-cards.js +895 -0
- package/src/js/page/components/order-summary.js +42 -25
- package/src/js/page/components/toggle-password-visibility.js +22 -0
- package/src/js/page/utils/gift-cards-utils.js +183 -0
- package/src/js/page/utils/input-handling.js +92 -0
- package/src/js/page/utils/show-hide-input.js +28 -0
- package/src/js/page/utils/validation.js +46 -1
- package/src/layouts/base.hbs +6 -0
- package/src/layouts/checkout.hbs +1 -5
- package/src/page_checkout_payment-details_guest-with-checkout-journey.html +1 -1
- package/src/page_my-account_change-password.html +1 -0
- package/src/page_my-order.html +1 -1
- package/src/page_payment-details-with-clearpay.html +2 -2
- package/src/page_payment-details-with-gift-card.html +8 -5
- package/src/page_shopping-cart-v2.html +2 -2
- package/src/partials/scripts.hbs +0 -1
- package/src/scss/components/_custom-slider.scss +3 -131
- package/src/scss/components/_gift-cards.scss +360 -0
- package/src/scss/components/_popover-mini-basket.scss +4 -0
- package/src/scss/components/checkout-payment-details-v2.scss +2 -0
- package/src/scss/pages/page_checkout_delivery-new.scss +26 -0
- package/src/scss/pages/page_product-details-v2.scss +4 -0
- package/src/sitemap.html +0 -6
- package/build/js/mini-basket-slider.min.js +0 -1
- package/build/js/page/basket/basket-update-cart-action.js +0 -59
- package/build/js/page/basket/basket-update-cart.js +0 -29
- package/build/js/page/basket/basket-utils.js +0 -50
- package/build/js/page/basket/mini-basket-total.js +0 -97
- package/build/js/page/basket/quantity-change-handler.js +0 -64
- package/build/js/page/basket/update-quantity-operation.js +0 -37
- package/build/js/page/basket/update-quantity.js +0 -65
- package/build/js/page/components/mini-basket-slider.js +0 -569
- package/src/components/mini-basket/mini-basket-order-item.hbs +0 -73
- package/src/js/components/toggle-password-visibility.js +0 -58
- package/src/js/emulation/mini-basket-data.js +0 -949
- package/src/js/page/basket/basket-update-cart-action.js +0 -59
- package/src/js/page/basket/basket-update-cart.js +0 -29
- package/src/js/page/basket/basket-utils.js +0 -50
- package/src/js/page/basket/mini-basket-total.js +0 -97
- package/src/js/page/basket/quantity-change-handler.js +0 -64
- package/src/js/page/basket/update-quantity-operation.js +0 -37
- package/src/js/page/basket/update-quantity.js +0 -65
- package/src/js/page/components/mini-basket-slider.js +0 -569
- package/src/page_split-orders-klarna.html +0 -106
|
@@ -80,19 +80,6 @@
|
|
|
80
80
|
}
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
&__notifications {
|
|
84
|
-
&:has(.notification) {
|
|
85
|
-
margin-top: 16px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
.notification:only-child {
|
|
89
|
-
@include font-size(14);
|
|
90
|
-
@include line-height(24);
|
|
91
|
-
margin-bottom: 0;
|
|
92
|
-
border-width: 1px;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
83
|
&__message {
|
|
97
84
|
margin-top: 8px;
|
|
98
85
|
display: flex;
|
|
@@ -172,32 +159,6 @@
|
|
|
172
159
|
&__details {
|
|
173
160
|
flex: 1;
|
|
174
161
|
|
|
175
|
-
&-header {
|
|
176
|
-
display: flex;
|
|
177
|
-
align-items: flex-start;
|
|
178
|
-
justify-content: space-between;
|
|
179
|
-
grid-gap: 8px;
|
|
180
|
-
|
|
181
|
-
.btn--remove {
|
|
182
|
-
min-width: 24px;
|
|
183
|
-
padding: 4px;
|
|
184
|
-
background: 0 0;
|
|
185
|
-
border: none;
|
|
186
|
-
display: flex;
|
|
187
|
-
align-items: center;
|
|
188
|
-
justify-content: center;
|
|
189
|
-
|
|
190
|
-
.remove-icon {
|
|
191
|
-
color: $blue;
|
|
192
|
-
font-size: 1rem;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&-body {
|
|
198
|
-
margin-top: 4px;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
162
|
.item,
|
|
202
163
|
.price {
|
|
203
164
|
margin-bottom: 0;
|
|
@@ -229,8 +190,8 @@
|
|
|
229
190
|
}
|
|
230
191
|
|
|
231
192
|
.price {
|
|
232
|
-
@include font-size(
|
|
233
|
-
@include line-height(
|
|
193
|
+
@include font-size(18);
|
|
194
|
+
@include line-height(24);
|
|
234
195
|
margin-top: 8px;
|
|
235
196
|
font-weight: 700;
|
|
236
197
|
color: $blue-dark;
|
|
@@ -240,88 +201,23 @@
|
|
|
240
201
|
@include line-height(16);
|
|
241
202
|
font-weight: 500;
|
|
242
203
|
}
|
|
243
|
-
|
|
244
|
-
.product-card__price-value {
|
|
245
|
-
font-size: inherit;
|
|
246
|
-
line-height: inherit;
|
|
247
|
-
}
|
|
248
204
|
}
|
|
249
205
|
|
|
250
206
|
&.product-card__content {
|
|
251
207
|
margin-top: 0;
|
|
252
208
|
padding: 0;
|
|
253
|
-
height: 100%;
|
|
254
|
-
display: flex;
|
|
255
|
-
flex-direction: column;
|
|
256
|
-
}
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
&__quantity-control {
|
|
260
|
-
display: flex;
|
|
261
|
-
align-items: center;
|
|
262
|
-
margin-top: 8px;
|
|
263
|
-
|
|
264
|
-
.quantity {
|
|
265
|
-
margin-bottom: 0;
|
|
266
|
-
min-width: 40px;
|
|
267
|
-
text-align: center;
|
|
268
|
-
padding: 0 5px;
|
|
269
|
-
|
|
270
|
-
.product-card__quantity-value {
|
|
271
|
-
margin: 0;
|
|
272
|
-
font-weight: 400;
|
|
273
|
-
}
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
.btn--quantity {
|
|
277
|
-
background: none;
|
|
278
|
-
padding: 0;
|
|
279
|
-
width: 24px;
|
|
280
|
-
min-height: 24px;
|
|
281
|
-
display: inline-flex;
|
|
282
|
-
align-items: center;
|
|
283
|
-
justify-content: center;
|
|
284
|
-
|
|
285
|
-
.quantity-cta-icon {
|
|
286
|
-
font-size: 1.35rem;
|
|
287
|
-
color: $blue;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
&[disabled] {
|
|
291
|
-
border: none;
|
|
292
|
-
opacity: 0.6;
|
|
293
|
-
}
|
|
294
|
-
}
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
.btn--remove,
|
|
298
|
-
.btn--quantity {
|
|
299
|
-
&:hover {
|
|
300
|
-
opacity: 0.7;
|
|
301
209
|
}
|
|
302
210
|
}
|
|
303
211
|
|
|
304
212
|
&.popover-mini-basket__cards-holder {
|
|
305
213
|
.card {
|
|
306
214
|
margin-bottom: 0;
|
|
307
|
-
display: flex;
|
|
308
215
|
|
|
309
216
|
& + .card {
|
|
310
217
|
border-top: 1px solid $gray-light;
|
|
311
218
|
}
|
|
312
219
|
}
|
|
313
220
|
}
|
|
314
|
-
|
|
315
|
-
&__offers {
|
|
316
|
-
margin-top: 4px;
|
|
317
|
-
|
|
318
|
-
.products__promo {
|
|
319
|
-
@include font-size(12);
|
|
320
|
-
@include line-height(16);
|
|
321
|
-
color: $red;
|
|
322
|
-
font-weight: 400;
|
|
323
|
-
}
|
|
324
|
-
}
|
|
325
221
|
}
|
|
326
222
|
|
|
327
223
|
&__footer {
|
|
@@ -428,7 +324,7 @@
|
|
|
428
324
|
font-weight: 500;
|
|
429
325
|
}
|
|
430
326
|
|
|
431
|
-
|
|
327
|
+
.value {
|
|
432
328
|
@include font-size(18);
|
|
433
329
|
@include line-height(24);
|
|
434
330
|
font-weight: 700;
|
|
@@ -558,30 +454,6 @@
|
|
|
558
454
|
}
|
|
559
455
|
}
|
|
560
456
|
|
|
561
|
-
@include media-breakpoint-up(sm) {
|
|
562
|
-
.custom-slider {
|
|
563
|
-
.products__details {
|
|
564
|
-
.price {
|
|
565
|
-
@include font-size(18);
|
|
566
|
-
@include line-height(24);
|
|
567
|
-
|
|
568
|
-
.inc {
|
|
569
|
-
@include font-size(12);
|
|
570
|
-
@include line-height(16);
|
|
571
|
-
font-weight: 500;
|
|
572
|
-
}
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
&-footer {
|
|
576
|
-
display: flex;
|
|
577
|
-
align-items: center;
|
|
578
|
-
justify-content: space-between;
|
|
579
|
-
margin-top: auto;
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
|
|
585
457
|
@include media-breakpoint-up(sm) {
|
|
586
458
|
.custom-slider {
|
|
587
459
|
&__wrap {
|
|
@@ -0,0 +1,360 @@
|
|
|
1
|
+
.giftcard-row {
|
|
2
|
+
position: relative;
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: 16px;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.giftcard {
|
|
8
|
+
border: 1px solid $gray;
|
|
9
|
+
border-radius: 4px;
|
|
10
|
+
background: $white;
|
|
11
|
+
padding: 12px 16px;
|
|
12
|
+
width: 100%;
|
|
13
|
+
order: 3;
|
|
14
|
+
position: relative;
|
|
15
|
+
|
|
16
|
+
.giftcard__field {
|
|
17
|
+
.form-row {
|
|
18
|
+
margin-bottom: 0;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.giftcard-add {
|
|
24
|
+
display: inline-flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
gap: 8px;
|
|
27
|
+
color: $blue;
|
|
28
|
+
text-decoration: none;
|
|
29
|
+
cursor: pointer;
|
|
30
|
+
|
|
31
|
+
&__icon {
|
|
32
|
+
width: 16px;
|
|
33
|
+
height: 16px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&__text {
|
|
37
|
+
font-size: .875rem;
|
|
38
|
+
line-height: 1.375rem;
|
|
39
|
+
font-weight: 500;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.giftcard-hint {
|
|
44
|
+
display: block;
|
|
45
|
+
color: $squant;
|
|
46
|
+
font-size: .875rem;
|
|
47
|
+
line-height: 1.375rem;
|
|
48
|
+
font-weight: 400;
|
|
49
|
+
margin-left: 32px;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.giftcard-inline {
|
|
53
|
+
padding: 12px 8px;
|
|
54
|
+
|
|
55
|
+
&__header {
|
|
56
|
+
display: flex;
|
|
57
|
+
justify-content: space-between;
|
|
58
|
+
margin-bottom: 16px;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&__title {
|
|
62
|
+
font-weight: 500;
|
|
63
|
+
font-size: 1.125rem;
|
|
64
|
+
line-height: 1.5rem;
|
|
65
|
+
white-space: nowrap;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
&__balance {
|
|
69
|
+
color: $blue;
|
|
70
|
+
font-weight: 400;
|
|
71
|
+
font-size: .875rem;
|
|
72
|
+
line-height: 1.375rem;
|
|
73
|
+
text-decoration: underline;
|
|
74
|
+
white-space: nowrap;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
&__close {
|
|
78
|
+
position: absolute;
|
|
79
|
+
width: 24px;
|
|
80
|
+
height: 24px;
|
|
81
|
+
top: 8px;
|
|
82
|
+
right: 8px;
|
|
83
|
+
cursor: pointer;
|
|
84
|
+
display: flex;
|
|
85
|
+
justify-content: center;
|
|
86
|
+
align-items: center;
|
|
87
|
+
color: $warm-grey;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&__fields {
|
|
91
|
+
display: flex;
|
|
92
|
+
flex-direction: column;
|
|
93
|
+
gap: 24px;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.notification {
|
|
97
|
+
margin-bottom: 16px;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.form-row__label {
|
|
102
|
+
margin-bottom: 8px;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.giftcard__btn {
|
|
106
|
+
width: 100%;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.giftcard__field {
|
|
110
|
+
position: relative;
|
|
111
|
+
display: flex;
|
|
112
|
+
flex-direction: column;
|
|
113
|
+
padding-bottom: 18px;
|
|
114
|
+
min-width: 0;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.giftcard-inline .giftcard-inline__fields > .form-row.giftcard__field {
|
|
118
|
+
margin-bottom: 0;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.giftcard-field--error .giftcard__input {
|
|
122
|
+
border-color: $red;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.giftcard__error-text {
|
|
126
|
+
font-weight: 400;
|
|
127
|
+
font-size: .75rem;
|
|
128
|
+
line-height: 1rem;
|
|
129
|
+
color: $red;
|
|
130
|
+
margin-top: 8px;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.giftcard .toggle-show svg {
|
|
134
|
+
pointer-events: none;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.form-row .toggle-show {
|
|
138
|
+
font-size: 1rem;
|
|
139
|
+
cursor: pointer;
|
|
140
|
+
position: absolute;
|
|
141
|
+
right: 8px;
|
|
142
|
+
top: 0;
|
|
143
|
+
height: 100%;
|
|
144
|
+
display: inline-flex;
|
|
145
|
+
align-items: center;
|
|
146
|
+
justify-content: center;
|
|
147
|
+
width: 24px;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.giftcard-applied {
|
|
151
|
+
width: 100%;
|
|
152
|
+
border: 1px solid $gray-light;
|
|
153
|
+
border-radius: 4px;
|
|
154
|
+
background: $white;
|
|
155
|
+
padding: 15px 16px;
|
|
156
|
+
order: 2;
|
|
157
|
+
|
|
158
|
+
&__inner {
|
|
159
|
+
display: flex;
|
|
160
|
+
align-items: center;
|
|
161
|
+
justify-content: center;
|
|
162
|
+
gap: 12px;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&__icon {
|
|
166
|
+
display: inline-flex;
|
|
167
|
+
align-items: center;
|
|
168
|
+
justify-content: center;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.fa-check-circle {
|
|
172
|
+
text-align: center;
|
|
173
|
+
color: $green;
|
|
174
|
+
font-size: 1rem;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
&__text {
|
|
178
|
+
margin: 0;
|
|
179
|
+
font-size: .875rem;
|
|
180
|
+
line-height: 1.5rem;
|
|
181
|
+
font-weight: 500;
|
|
182
|
+
word-break: break-word;
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.giftcard-summary {
|
|
187
|
+
position: relative;
|
|
188
|
+
width: 100%;
|
|
189
|
+
|
|
190
|
+
&__hint {
|
|
191
|
+
margin-top: 16px;
|
|
192
|
+
margin-bottom: 0;
|
|
193
|
+
font-size: .875rem;
|
|
194
|
+
font-weight: 400;
|
|
195
|
+
line-height: 1.375rem;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&__add {
|
|
199
|
+
text-decoration: underline;
|
|
200
|
+
cursor: pointer;
|
|
201
|
+
color: $blue;
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.giftcard-chip-list {
|
|
206
|
+
display: flex;
|
|
207
|
+
flex-direction: column;
|
|
208
|
+
gap: 16px;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.giftcard-chip {
|
|
212
|
+
display: flex;
|
|
213
|
+
align-items: center;
|
|
214
|
+
width: 100%;
|
|
215
|
+
gap: 12px;
|
|
216
|
+
padding: 12px 16px;
|
|
217
|
+
border: 1px solid $gray;
|
|
218
|
+
border-radius: 4px;
|
|
219
|
+
background: $white;
|
|
220
|
+
min-height: 44px;
|
|
221
|
+
position: relative;
|
|
222
|
+
|
|
223
|
+
&__close {
|
|
224
|
+
position: absolute;
|
|
225
|
+
width: 24px;
|
|
226
|
+
height: 24px;
|
|
227
|
+
top: 8px;
|
|
228
|
+
right: 8px;
|
|
229
|
+
cursor: pointer;
|
|
230
|
+
display: flex;
|
|
231
|
+
justify-content: center;
|
|
232
|
+
align-items: center;
|
|
233
|
+
color: $warm-grey;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.giftcard-chip__icon {
|
|
238
|
+
width: 48px;
|
|
239
|
+
height: 30px;
|
|
240
|
+
display: inline-flex;
|
|
241
|
+
align-items: center;
|
|
242
|
+
justify-content: center;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.giftcard-chip__content {
|
|
246
|
+
flex: 1 1 auto;
|
|
247
|
+
min-width: 0;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
.giftcard-chip__line {
|
|
251
|
+
display: block;
|
|
252
|
+
line-height: 1.25rem;
|
|
253
|
+
|
|
254
|
+
.giftcard-chip__applied {
|
|
255
|
+
font-size: .875rem;
|
|
256
|
+
font-weight: 400;
|
|
257
|
+
line-height: 1.5rem;
|
|
258
|
+
color: $gray-dark;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.giftcard-chip__number {
|
|
263
|
+
font-weight: 500;
|
|
264
|
+
line-height: 1.5rem;
|
|
265
|
+
font-size: 1rem;
|
|
266
|
+
color: $gray-dark;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.giftcard-chip__applied {
|
|
270
|
+
white-space: nowrap;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
@include media-breakpoint-up(sm) {
|
|
274
|
+
.giftcard-inline__fields {
|
|
275
|
+
display: flex;
|
|
276
|
+
flex-direction: row;
|
|
277
|
+
justify-content: space-between;
|
|
278
|
+
gap: 16px;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.giftcard-inline__fields > .form-row.giftcard__field--pin.giftcard__field--pin {
|
|
282
|
+
width: 116px;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.giftcard-inline__fields > .form-row.giftcard__field--number.giftcard__field--number {
|
|
286
|
+
width: 224px;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.giftcard__actions {
|
|
290
|
+
display: flex;
|
|
291
|
+
align-items: flex-end;
|
|
292
|
+
height: 72px;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.giftcard-summary {
|
|
296
|
+
&__hint {
|
|
297
|
+
width: 354px;
|
|
298
|
+
|
|
299
|
+
&--max {
|
|
300
|
+
width: 100%;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
@include media-breakpoint-up(md) {
|
|
307
|
+
.giftcard-inline__fields > .form-row.giftcard__field--pin.giftcard__field--pin {
|
|
308
|
+
width: 214px;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.giftcard-inline__fields > .form-row.giftcard__field--number.giftcard__field--number {
|
|
312
|
+
width: 240px;
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
.giftcard-inline__title {
|
|
317
|
+
font-weight: 700;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.giftcard-summary {
|
|
321
|
+
&__hint {
|
|
322
|
+
width: 100%;
|
|
323
|
+
|
|
324
|
+
&--max {
|
|
325
|
+
width: 460px;
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
@include media-breakpoint-up(lg) {
|
|
332
|
+
.giftcard-inline__fields {
|
|
333
|
+
max-width: 470px;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
.giftcard-summary {
|
|
337
|
+
&__hint {
|
|
338
|
+
width: 100%;
|
|
339
|
+
|
|
340
|
+
&--max {
|
|
341
|
+
width: 100%;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
@include media-breakpoint-up(xl) {
|
|
348
|
+
.giftcard-inline__fields {
|
|
349
|
+
max-width: 100%;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.giftcard__btn {
|
|
353
|
+
width: 140px;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.giftcard__field--number,
|
|
357
|
+
.giftcard__field--pin {
|
|
358
|
+
width: 100%;
|
|
359
|
+
}
|
|
360
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
@import '../helpers/helpers';
|
|
2
2
|
@import '../components/tooltip';
|
|
3
|
+
@import '../components/gift-cards';
|
|
3
4
|
|
|
4
5
|
.checkout-payment-details-v2 {
|
|
5
6
|
.checkout-payment-details {
|
|
@@ -73,6 +74,7 @@
|
|
|
73
74
|
font-size: 14px;
|
|
74
75
|
font-weight: 400;
|
|
75
76
|
line-height: 24px;
|
|
77
|
+
vertical-align: top;
|
|
76
78
|
}
|
|
77
79
|
|
|
78
80
|
.form-row {
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
.checkout-widget {
|
|
28
28
|
&__details {
|
|
29
29
|
font-size: 1rem;
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
30
32
|
|
|
31
33
|
.checkout-widget {
|
|
32
34
|
&__item {
|
|
@@ -53,6 +55,19 @@
|
|
|
53
55
|
&__details-discount {
|
|
54
56
|
order: 1;
|
|
55
57
|
}
|
|
58
|
+
|
|
59
|
+
&__gift-card {
|
|
60
|
+
order: 2;
|
|
61
|
+
margin-bottom: 0;
|
|
62
|
+
margin-top: 20px;
|
|
63
|
+
font-weight: 700;
|
|
64
|
+
|
|
65
|
+
.checkout-widget__item-value {
|
|
66
|
+
::first-letter {
|
|
67
|
+
font-size: 1rem;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
56
71
|
}
|
|
57
72
|
}
|
|
58
73
|
|
|
@@ -194,6 +209,10 @@
|
|
|
194
209
|
margin: 40px 0;
|
|
195
210
|
}
|
|
196
211
|
|
|
212
|
+
.loader-wrapper.page-loader {
|
|
213
|
+
position: fixed;
|
|
214
|
+
}
|
|
215
|
+
|
|
197
216
|
.oos-block {
|
|
198
217
|
@include make-col(12);
|
|
199
218
|
|
|
@@ -399,6 +418,13 @@
|
|
|
399
418
|
margin-bottom: 13px;
|
|
400
419
|
}
|
|
401
420
|
}
|
|
421
|
+
|
|
422
|
+
.notification {
|
|
423
|
+
&:only-child,
|
|
424
|
+
&:last-child {
|
|
425
|
+
margin-bottom: 30px;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
402
428
|
}
|
|
403
429
|
|
|
404
430
|
#modalDeliveryEdit,
|
package/src/sitemap.html
CHANGED
|
@@ -805,12 +805,6 @@
|
|
|
805
805
|
Klarna TradePro Payment Details
|
|
806
806
|
</a>
|
|
807
807
|
</li>
|
|
808
|
-
<li>
|
|
809
|
-
<span class="page-id">6</span>
|
|
810
|
-
<a href="page_split-orders-klarna.html" target="_blank">
|
|
811
|
-
Klarna Split Orders
|
|
812
|
-
</a>
|
|
813
|
-
</li>
|
|
814
808
|
<li>
|
|
815
809
|
<span class="page-id">7</span>
|
|
816
810
|
<a href="page_checkout_confirmation-new-klarna.html" target="_blank">
|