wickes-css2 2.94.0-develop.5 → 2.94.0-develop.7
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/components/checkout-payment-details-v2.css +1 -1
- package/build/css/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/pages/page_shopping-cart-v2.css +1 -1
- package/build/css/pdp-main-non-critical.css +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 +3 -3
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/page/basket/summary-mobile.js +17 -0
- package/build/js/page/components/order-summary.js +9 -1
- package/build/js/page/components/voucher.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/package.json +1 -1
- package/src/components/checkout-action.hbs +14 -11
- package/src/components/checkout-voucher-accordion.hbs +15 -0
- package/src/components/checkout_order-summary-new.hbs +4 -2
- package/src/components/checkout_voucher_large.hbs +20 -16
- package/src/components/order-summary.hbs +91 -56
- package/src/components/summary-mobile-bar.hbs +17 -0
- package/src/js/components/general/is-trade-pro.js +21 -1
- package/src/js/components/general/switchVat.js +2 -1
- package/src/js/emulation/basket-data.js +3 -3
- package/src/js/page/basket/summary-mobile.js +17 -0
- package/src/js/page/components/order-summary.js +9 -1
- package/src/js/page/components/voucher.js +1 -1
- package/src/layouts/basket-new.hbs +1 -1
- package/src/page_checkout_payment-details_with-card-loader.html +56 -0
- package/src/page_shopping-cart-v2.html +6 -16
- package/src/scss/barclays-paypage-combined-minified.css +1 -1
- package/src/scss/barclays-paypage-combined.css +9 -15
- package/src/scss/components/_checkout-action.scss +132 -6
- package/src/scss/components/_order-summary.scss +271 -180
- package/src/scss/components/checkout-payment-details-v2.scss +2 -2
- package/src/scss/helpers/_variables.scss +2 -0
- package/src/scss/pages/_checkout-widget.scss +45 -37
- package/src/scss/pages/page_checkout_delivery-new.scss +110 -10
- package/src/scss/pages/page_shopping-cart-v2.scss +93 -32
- package/src/sitemap.html +2 -0
|
@@ -5,18 +5,86 @@
|
|
|
5
5
|
@import '../components/marketing-preferences';
|
|
6
6
|
|
|
7
7
|
.page_checkout-delivery-new {
|
|
8
|
-
.
|
|
9
|
-
.
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
.right-aside {
|
|
9
|
+
.summary {
|
|
10
|
+
.checkout-title__title {
|
|
11
|
+
color: $blue-ocean;
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
line-height: 1.75rem;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&__aside {
|
|
17
|
+
padding: 12px 30px 0;
|
|
18
|
+
|
|
19
|
+
.checkout-info-wrap {
|
|
20
|
+
padding: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.checkout-widget {
|
|
24
|
+
padding: 20px 0 0;
|
|
25
|
+
|
|
26
|
+
&__details {
|
|
27
|
+
padding-top: 20px;
|
|
28
|
+
font-size: 1rem;
|
|
29
|
+
|
|
30
|
+
.checkout-widget {
|
|
31
|
+
&__item {
|
|
32
|
+
display: flex;
|
|
33
|
+
justify-content: space-between;
|
|
34
|
+
font-size: 1rem;
|
|
35
|
+
line-height: 1.125rem;
|
|
36
|
+
font-weight: 400;
|
|
37
|
+
margin-bottom: 20px;
|
|
38
|
+
padding: 0;
|
|
39
|
+
|
|
40
|
+
&-bold {
|
|
41
|
+
font-weight: 500;
|
|
42
|
+
margin-bottom: 20px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&-vat {
|
|
46
|
+
font-size: .75rem;
|
|
47
|
+
margin-top: -15px;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
&__details-discount {
|
|
53
|
+
order: 1;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&__total {
|
|
59
|
+
border: 0;
|
|
60
|
+
display: flex;
|
|
61
|
+
justify-content: space-between;
|
|
62
|
+
margin-left: -25px;
|
|
63
|
+
margin-right: -25px;
|
|
64
|
+
margin-bottom: 0;
|
|
65
|
+
padding: 20px 25px;
|
|
66
|
+
color: #fff;
|
|
67
|
+
background-color: #0a3055;
|
|
68
|
+
font-size: 1.375rem;
|
|
69
|
+
line-height: 1.5rem;
|
|
70
|
+
font-weight: 400;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
14
74
|
|
|
15
|
-
|
|
16
|
-
|
|
75
|
+
&__basked-id {
|
|
76
|
+
padding: 26px 0;
|
|
77
|
+
background: #f8f8f8;
|
|
78
|
+
text-align: center;
|
|
79
|
+
font-size: 1rem;
|
|
17
80
|
|
|
18
|
-
|
|
19
|
-
|
|
81
|
+
.id-number {
|
|
82
|
+
font-weight: 700;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.accordion__header-icon-small {
|
|
87
|
+
left: 85px;
|
|
20
88
|
}
|
|
21
89
|
}
|
|
22
90
|
}
|
|
@@ -401,6 +469,20 @@
|
|
|
401
469
|
}
|
|
402
470
|
}
|
|
403
471
|
}
|
|
472
|
+
|
|
473
|
+
.right-aside {
|
|
474
|
+
.summary {
|
|
475
|
+
.checkout-widget {
|
|
476
|
+
&.checkout-widget_order-summary {
|
|
477
|
+
.checkout-widget__total {
|
|
478
|
+
font-weight: 400;
|
|
479
|
+
margin-left: -20px;
|
|
480
|
+
margin-right: -20px;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
}
|
|
404
486
|
}
|
|
405
487
|
}
|
|
406
488
|
|
|
@@ -555,6 +637,24 @@
|
|
|
555
637
|
}
|
|
556
638
|
}
|
|
557
639
|
}
|
|
640
|
+
|
|
641
|
+
.right-aside {
|
|
642
|
+
.summary {
|
|
643
|
+
.checkout-widget {
|
|
644
|
+
&.checkout-widget_order-summary {
|
|
645
|
+
.checkout-widget__total {
|
|
646
|
+
font-weight: 400;
|
|
647
|
+
margin-left: -30px;
|
|
648
|
+
margin-right: -30px;
|
|
649
|
+
}
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
.summary__basked-id {
|
|
654
|
+
margin-top: 13px;
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
}
|
|
558
658
|
}
|
|
559
659
|
}
|
|
560
660
|
|
|
@@ -25,10 +25,6 @@
|
|
|
25
25
|
|
|
26
26
|
.right-aside {
|
|
27
27
|
margin-top: 0;
|
|
28
|
-
|
|
29
|
-
.voucher {
|
|
30
|
-
display: none;
|
|
31
|
-
}
|
|
32
28
|
}
|
|
33
29
|
|
|
34
30
|
.content {
|
|
@@ -84,8 +80,7 @@
|
|
|
84
80
|
|
|
85
81
|
.summary {
|
|
86
82
|
.checkout-widget_order-summary {
|
|
87
|
-
|
|
88
|
-
margin-right: -20px;
|
|
83
|
+
background-color: $gray-bg;
|
|
89
84
|
|
|
90
85
|
.checkout-widget__details {
|
|
91
86
|
flex-direction: column;
|
|
@@ -98,6 +93,7 @@
|
|
|
98
93
|
&__item {
|
|
99
94
|
&-bold {
|
|
100
95
|
order: -5;
|
|
96
|
+
padding: 0;
|
|
101
97
|
}
|
|
102
98
|
|
|
103
99
|
&-vat {
|
|
@@ -143,6 +139,29 @@
|
|
|
143
139
|
&__item {
|
|
144
140
|
font-weight: 400;
|
|
145
141
|
font-size: .875rem;
|
|
142
|
+
padding: 10px 0;
|
|
143
|
+
margin: 0;
|
|
144
|
+
|
|
145
|
+
&:nth-child(1) {
|
|
146
|
+
margin: 0;
|
|
147
|
+
padding: 0;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
&:nth-child(2) {
|
|
151
|
+
margin: 0;
|
|
152
|
+
padding-bottom: 10px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
&:nth-child(3) {
|
|
156
|
+
margin: 0;
|
|
157
|
+
padding-bottom: 10px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
&:last-child {
|
|
161
|
+
margin: 0;
|
|
162
|
+
padding: 0;
|
|
163
|
+
}
|
|
164
|
+
|
|
146
165
|
|
|
147
166
|
&:not(.checkout-widget__item-vat) {
|
|
148
167
|
margin-top: 0;
|
|
@@ -153,8 +172,8 @@
|
|
|
153
172
|
}
|
|
154
173
|
|
|
155
174
|
&-vat {
|
|
156
|
-
|
|
157
|
-
|
|
175
|
+
margin: 0;
|
|
176
|
+
padding: 0 0 10px;
|
|
158
177
|
color: $warm-grey;
|
|
159
178
|
font-size: .75rem;
|
|
160
179
|
border-bottom: 1px solid #eee;
|
|
@@ -180,7 +199,7 @@
|
|
|
180
199
|
|
|
181
200
|
&__details {
|
|
182
201
|
&-discount {
|
|
183
|
-
margin-top:
|
|
202
|
+
margin-top: 10px;
|
|
184
203
|
}
|
|
185
204
|
}
|
|
186
205
|
|
|
@@ -202,6 +221,54 @@
|
|
|
202
221
|
background-color: transparent;
|
|
203
222
|
padding: 0;
|
|
204
223
|
border: 0;
|
|
224
|
+
|
|
225
|
+
.voucher__btn {
|
|
226
|
+
max-width: 100%;
|
|
227
|
+
margin-top: 20px;
|
|
228
|
+
height: 40px;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.form-row__error {
|
|
232
|
+
font-weight: 400;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
&.voucher-applied {
|
|
236
|
+
background: $white;
|
|
237
|
+
margin-bottom: 8px;
|
|
238
|
+
height: 40px;
|
|
239
|
+
|
|
240
|
+
.voucher-applied__inner {
|
|
241
|
+
display: flex;
|
|
242
|
+
align-items: center;
|
|
243
|
+
justify-content: center;
|
|
244
|
+
|
|
245
|
+
& .icon {
|
|
246
|
+
display: inline-block;
|
|
247
|
+
margin-top: 8px;
|
|
248
|
+
|
|
249
|
+
&__check {
|
|
250
|
+
width: 24px;
|
|
251
|
+
height: 24px;
|
|
252
|
+
|
|
253
|
+
i {
|
|
254
|
+
font-size: 24px;
|
|
255
|
+
line-height: 24px;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
& .fa-check-circle {
|
|
261
|
+
font-size: 1rem;
|
|
262
|
+
margin-bottom: 0;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
& h5 {
|
|
266
|
+
margin: 0;
|
|
267
|
+
margin-top: 8px;
|
|
268
|
+
font-size: .875rem;
|
|
269
|
+
}
|
|
270
|
+
}
|
|
271
|
+
}
|
|
205
272
|
}
|
|
206
273
|
}
|
|
207
274
|
|
|
@@ -293,12 +360,6 @@
|
|
|
293
360
|
max-width: 100%;
|
|
294
361
|
padding-right: 5px;
|
|
295
362
|
}
|
|
296
|
-
|
|
297
|
-
.summary {
|
|
298
|
-
&__aside {
|
|
299
|
-
padding: 20px 20px 0;
|
|
300
|
-
}
|
|
301
|
-
}
|
|
302
363
|
}
|
|
303
364
|
}
|
|
304
365
|
|
|
@@ -316,13 +377,17 @@
|
|
|
316
377
|
.checkout-voucher {
|
|
317
378
|
padding: 0;
|
|
318
379
|
|
|
380
|
+
.form-row__error {
|
|
381
|
+
white-space: pre-line;
|
|
382
|
+
}
|
|
383
|
+
|
|
319
384
|
form {
|
|
320
385
|
display: flex;
|
|
321
386
|
align-items: flex-start;
|
|
322
|
-
margin-bottom: 27px;
|
|
323
387
|
|
|
324
388
|
.form-row {
|
|
325
|
-
|
|
389
|
+
max-width: 100%;
|
|
390
|
+
flex: 1;
|
|
326
391
|
margin-right: 0;
|
|
327
392
|
|
|
328
393
|
&__field {
|
|
@@ -344,27 +409,13 @@
|
|
|
344
409
|
|
|
345
410
|
.voucher__btn {
|
|
346
411
|
margin-top: 0;
|
|
347
|
-
margin-left:
|
|
412
|
+
margin-left: 16px;
|
|
348
413
|
}
|
|
349
414
|
|
|
350
415
|
&.form_invalid {
|
|
351
416
|
margin-bottom: 0;
|
|
352
417
|
}
|
|
353
418
|
}
|
|
354
|
-
|
|
355
|
-
&.voucher-applied {
|
|
356
|
-
background: $white;
|
|
357
|
-
|
|
358
|
-
& .fa-check-circle {
|
|
359
|
-
font-size: 2rem;
|
|
360
|
-
margin-bottom: 0;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
& h3 {
|
|
364
|
-
font-size: 1.25rem;
|
|
365
|
-
margin-bottom: 0;
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
419
|
}
|
|
369
420
|
}
|
|
370
421
|
|
|
@@ -424,6 +475,16 @@
|
|
|
424
475
|
display: flex;
|
|
425
476
|
}
|
|
426
477
|
}
|
|
478
|
+
|
|
479
|
+
.checkout-widget__item-bold {
|
|
480
|
+
margin: 10px 0;
|
|
481
|
+
padding: 5px 0;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.checkout-widget__item-vat {
|
|
485
|
+
padding-bottom: 10px;
|
|
486
|
+
margin-bottom: 10px;
|
|
487
|
+
}
|
|
427
488
|
}
|
|
428
489
|
|
|
429
490
|
.checkout-title {
|
package/src/sitemap.html
CHANGED
|
@@ -1065,6 +1065,8 @@
|
|
|
1065
1065
|
-
|
|
1066
1066
|
Payment Details Marketing Consent Error</a></li>
|
|
1067
1067
|
|
|
1068
|
+
<li><span class="page-id">9.26</span><a href="page_checkout_payment-details_with-card-loader.html"
|
|
1069
|
+
target="_blank">Checkout- Payment Details with card loader</a></li>
|
|
1068
1070
|
</ul>
|
|
1069
1071
|
|
|
1070
1072
|
<h3>App</h3>
|