wickes-css2 2.98.0-billie.1 → 2.98.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.
Files changed (72) hide show
  1. package/Readme.md +0 -1
  2. package/build/css/category-main.css +1 -1
  3. package/build/css/components/checkout-payment-details-v2.css +1 -1
  4. package/build/css/components/global-search.css +1 -1
  5. package/build/css/components/loader.css +1 -1
  6. package/build/css/homepage-main.css +1 -1
  7. package/build/css/main.css +1 -1
  8. package/build/css/my-account-main-v2.css +1 -1
  9. package/build/css/my-account-main.css +1 -1
  10. package/build/css/pages/checkout-new.css +1 -1
  11. package/build/css/pages/my-account-v2.css +1 -1
  12. package/build/css/pages/page_home.css +1 -1
  13. package/build/css/pages/page_my-orders.css +1 -1
  14. package/build/css/pdp-main-before-combine.css +1 -1
  15. package/build/css/pdp-main-non-critical.css +1 -1
  16. package/build/css/pdp-main.css +1 -1
  17. package/build/css/plp-main.css +1 -1
  18. package/build/css/store-locator-main.css +1 -1
  19. package/build/img/calm-primary-logo.png +0 -0
  20. package/build/js/basket.min.js +1 -1
  21. package/build/js/emulation.min.js +0 -5
  22. package/build/js/page/basket-v2.js +15 -8
  23. package/build/js/page/checkout-payment-details.js +0 -3
  24. package/build/js/page/components/charity.js +58 -43
  25. package/package.json +2 -2
  26. package/src/components/basket-charity-donations-new.hbs +40 -0
  27. package/src/components/checkout-payment-details-v2.hbs +54 -100
  28. package/src/components/checkout_payment-new.hbs +1 -10
  29. package/src/components/donation-cart-new.hbs +38 -0
  30. package/src/components/my-account/active-orders/list-orders.hbs +1 -1
  31. package/src/components/my-account/active-orders/order.hbs +0 -2
  32. package/src/components/payment-loader.hbs +0 -4
  33. package/src/components/payments-checkout-v2.hbs +6 -12
  34. package/src/components/payments-checkout.hbs +0 -6
  35. package/src/components/payments.hbs +4 -10
  36. package/src/data/data_shopping-cart-v2.json +51 -0
  37. package/src/img/calm-primary-logo.png +0 -0
  38. package/src/js/emulation/paymentLoader.js +1 -5
  39. package/src/js/page/basket-v2.js +15 -8
  40. package/src/js/page/checkout-payment-details.js +0 -3
  41. package/src/js/page/components/charity.js +58 -43
  42. package/src/page_checkout_delivery-address-customer-journey.html +2 -2
  43. package/src/page_my-account.html +0 -1
  44. package/src/page_shopping-cart-v2.html +3 -4
  45. package/src/scss/components/_charity-donations.scss +114 -186
  46. package/src/scss/components/_donation-cart-new.scss +192 -0
  47. package/src/scss/components/_payments-v2.scss +0 -8
  48. package/src/scss/components/checkout-payment-details-v2.scss +0 -67
  49. package/src/scss/components/loader.scss +0 -8
  50. package/src/scss/components/my-account/_active-orders.scss +0 -2
  51. package/src/scss/pages/_checkout-confirmation-new.scss +3 -10
  52. package/src/scss/pages/checkout-new.scss +1 -0
  53. package/src/scss/pages/my-account-v2.scss +0 -1
  54. package/src/sitemap.html +0 -27
  55. package/build/img/billie-logo.svg +0 -4
  56. package/build/img/billie-spinner.svg +0 -5
  57. package/build/img/billie.svg +0 -4
  58. package/build/img/payment/checkout/billie.svg +0 -4
  59. package/build/img/payment/footer/billie.svg +0 -4
  60. package/src/components/checkout-payment-info-block.hbs +0 -47
  61. package/src/components/checkout-payment-option.hbs +0 -40
  62. package/src/components/my-account/active-orders/payment-status.hbs +0 -8
  63. package/src/img/billie-logo.svg +0 -4
  64. package/src/img/billie-spinner.svg +0 -5
  65. package/src/img/billie.svg +0 -4
  66. package/src/img/payment/checkout/billie.svg +0 -4
  67. package/src/img/payment/footer/billie.svg +0 -4
  68. package/src/page_checkout_confirmation-billie.html +0 -339
  69. package/src/page_payment-details-with-billie.html +0 -66
  70. package/src/page_product-details-billie.html +0 -86
  71. package/src/page_shopping-cart-charity.html +0 -56
  72. package/src/scss/components/my-account/_payment-status.scss +0 -36
@@ -113,238 +113,166 @@
113
113
  max-width: 100%;
114
114
  }
115
115
  }
116
+ }
116
117
 
117
- &.charity-multiple {
118
- .checkout-info-wrap {
119
- padding: 15px;
120
- }
121
-
122
- .title {
123
- margin-bottom: 15px;
124
- }
125
-
126
- .definition {
127
- font-size: .75rem;
128
- font-weight: 400;
129
- line-height: 14px;
130
- margin-bottom: 25px;
131
- }
132
-
133
- .descr {
134
- margin-top: -10px;
135
- }
136
-
137
- .checkout-order {
138
- &__img {
139
- img {
140
- width: 100%;
141
- height: 100%;
142
- object-fit: contain;
143
- object-position: top;
144
- }
145
- }
146
- }
118
+ .charity-donation-new {
119
+ background-color: $gray-bg;
120
+ padding: 16px;
147
121
 
148
- .donation-cart {
149
- &__definition {
150
- display: none;
151
- }
152
- }
153
-
154
- &.charity-added {
155
- .checkout-order {
156
- &__charity {
157
- border-bottom: 1px solid $gray;
158
- padding-bottom: 15px;
159
- }
160
- }
161
- }
122
+ &__wrapper {
123
+ display: flex;
124
+ flex-direction: column;
162
125
  }
163
- }
164
126
 
165
- @include media-breakpoint-up(sm) {
166
- .charity-new {
167
- .checkout-order {
168
- &__img {
169
- img {
170
- max-width: 155px;
171
- max-height: 42px;
172
- width: 155px;
173
- height: 42px;
174
- }
127
+ &__top {
128
+ display: flex;
129
+ align-items: flex-start;
130
+ justify-content: space-between;
131
+ flex-wrap: wrap;
132
+ }
175
133
 
176
- .image {
177
- width: 155px;
178
- }
179
- }
134
+ &__header {
135
+ display: flex;
136
+ gap: 12px;
137
+ }
180
138
 
181
- &__info-wrap {
182
- padding-top: 0;
183
- }
139
+ &__right {
140
+ flex-shrink: 0;
141
+ }
184
142
 
185
- .price-wrap {
186
- align-items: center;
143
+ &__image {
144
+ width: 64px;
145
+ }
187
146
 
188
- label {
189
- margin-top: 0;
190
- }
191
- }
147
+ &__title {
148
+ width: 100%;
149
+ font-size: .875rem;
150
+ font-weight: 500;
151
+ line-height: 1.375rem;
152
+ margin-bottom: 12px;
153
+ }
192
154
 
193
- .title-wrap {
194
- max-width: 100%;
195
- display: flex;
196
- flex-direction: column;
155
+ &__description {
156
+ width: 100%;
157
+ font-size: 0.75rem;
158
+ font-weight: 400;
159
+ line-height: 1rem;
160
+ margin-bottom: 16px;
161
+ }
197
162
 
198
- .title {
199
- order: 1;
200
- }
163
+ &__message {
164
+ font-size: 0.75rem;
165
+ line-height: 1rem;
166
+ }
201
167
 
202
- .descr {
203
- order: 2;
204
- }
168
+ &__body {
169
+ width: 100%;
170
+ }
171
+ }
205
172
 
206
- .definition {
207
- order: 3;
208
- }
209
- }
173
+ @include media-breakpoint-up(sm) {
174
+ .charity-donation-new {
175
+ &__title {
176
+ width: 100%;
177
+ font-weight: 500;
178
+ font-size: 1rem;
179
+ line-height: 1.5rem;
210
180
  }
211
181
 
212
- &.charity-multiple {
213
- .checkout-order {
214
- &__img {
215
- max-width: 184px;
216
-
217
- img {
218
- max-height: initial;
219
- max-width: 100%;
220
- }
221
- }
222
-
223
- &__info-wrap {
224
- align-items: flex-start;
225
- }
226
- }
182
+ &__description {
183
+ width: 100%;
184
+ margin: 0;
185
+ }
227
186
 
228
- .price-wrap {
229
- margin-top: 6px;
187
+ &__message {
188
+ display: block;
189
+ }
230
190
 
231
- .order-item {
232
- &__remove {
233
- margin-top: 0;
234
- }
235
- }
236
- }
191
+ &__image {
192
+ width: 100px;
193
+ }
237
194
 
238
- .title-wrap {
239
- .descr {
240
- margin-bottom: 20px;
241
- }
242
- }
195
+ &__body {
196
+ margin-top: 16px;
243
197
  }
244
198
  }
245
199
  }
246
200
 
247
201
  @include media-breakpoint-up(md) {
248
- .charity-new {
249
- .checkout-order {
250
- &__info-wrap {
251
- padding-left: 15px;
252
- }
253
-
254
- .title-wrap {
255
- max-width: 50%;
256
- }
202
+ .charity-donation-new {
203
+ &__title {
204
+ width: 100%;
257
205
  }
258
206
 
259
- &.charity-multiple {
260
- .checkout-info-wrap {
261
- padding-bottom: 20px;
262
- }
263
-
264
- .donation-cart {
265
- &__definition {
266
- display: block;
267
- }
268
- }
269
-
270
- .definition.definition,
271
- & p:last-of-type {
272
- margin-bottom: 0;
273
- }
207
+ &__body {
208
+ margin-top: 16px;
209
+ width: 668px;
274
210
  }
275
211
 
276
- &.charity-multiple.charity-added {
277
- .checkout-order {
278
- .title-wrap {
279
- max-width: none;
280
- }
281
-
282
- &__charity {
283
- display: grid;
284
- grid-template-columns: 1fr 1fr;
212
+ &__description {
213
+ width: 488px;
214
+ margin-top: -25px;
215
+ }
285
216
 
286
- .definition {
287
- display: none;
288
- }
289
- }
290
- }
217
+ &__message {
218
+ display: block;
219
+ }
291
220
 
292
- .title-wrap {
293
- .descr {
294
- margin-bottom: 0;
295
- }
296
- }
221
+ &__image {
222
+ width: 124px;
297
223
  }
298
224
  }
299
225
  }
300
226
 
301
227
  @include media-breakpoint-up(lg) {
302
- .charity-new {
303
- .checkout-order {
304
- .title-wrap {
305
- max-width: 50%;
306
- }
228
+ .charity-donation-new {
229
+ &__cost {
230
+ height: 24px;
231
+ }
232
+
233
+ &__title {
234
+ width: 100%;
235
+ margin-bottom: 8px;
236
+ }
237
+
238
+ &__body {
239
+ margin-top: 16px;
240
+ width: 588px;
307
241
  }
308
- }
309
242
 
310
- .charity {
311
- &__msg {
312
- margin-bottom: 0;
313
- max-width: 50%;
243
+ &__message {
244
+ margin: 0;
245
+ display: block;
314
246
  }
315
247
  }
316
248
  }
317
249
 
318
250
  @include media-breakpoint-up(xl) {
319
- .charity-new {
320
- &.charity-multiple {
321
- .checkout-order {
322
- .title-wrap {
323
- @include make-col(7);
324
- }
251
+ .charity-donation-new {
252
+ padding: 24px;
325
253
 
326
- &__info-wrap {
327
- @include make-col(5);
328
- }
329
- }
254
+ &__title {
255
+ width: 100%;
256
+ margin-bottom: 8px;
330
257
  }
331
258
 
332
- &.charity-multiple.charity-added {
333
- .checkout-order {
334
- &__info-wrap {
335
- max-width: none;
336
- }
259
+ &__body {
260
+ margin-top: 15px;
261
+ width: 747px;
262
+ }
337
263
 
338
- &__charity {
339
- grid-template-columns: 7fr 5fr;
340
- }
341
- }
264
+ &__description {
265
+ width: 100%;
266
+ margin-top: -30px;
342
267
  }
343
- }
344
268
 
345
- .charity {
346
- &__msg {
347
- max-width: 100%;
269
+ &__message {
270
+ margin-left: 3px;
271
+ display: inline;
272
+ }
273
+
274
+ &__image {
275
+ width: 124px;
348
276
  }
349
277
  }
350
278
  }
@@ -0,0 +1,192 @@
1
+ .donation-cart-new {
2
+ &__cost {
3
+ font-weight: 500;
4
+ font-size: .875rem;
5
+ line-height: 1rem;
6
+ display: flex;
7
+ align-items: center;
8
+ margin-top: 12px;
9
+ height: 24px;
10
+
11
+ &-hide {
12
+ display: none;
13
+ }
14
+ }
15
+
16
+ .order-item__remove {
17
+ position: static;
18
+ margin-left: auto;
19
+ display: block;
20
+
21
+ .btn__text {
22
+ display: inline-block;
23
+ width: 1em;
24
+ text-align: center;
25
+ }
26
+
27
+ i.fas {
28
+ display: inline-block;
29
+ width: 1em;
30
+ }
31
+ }
32
+
33
+ &__price-value,
34
+ &__price {
35
+ display: inline-block;
36
+ line-height: 1rem;
37
+ font-weight: 400;
38
+ font-size: .750rem;
39
+ }
40
+
41
+ &__description {
42
+ font-weight: 500;
43
+ font-size: .875rem;
44
+ margin-bottom: 12px;
45
+ }
46
+
47
+ &__value {
48
+ min-width: 14px;
49
+ margin-left: -3px;
50
+ }
51
+
52
+ &__currency,
53
+ &__value {
54
+ font-size: .750rem;
55
+ }
56
+
57
+ &__divider {
58
+ border: none;
59
+ border-top: 1px solid $gray;
60
+ margin: 16px 0;
61
+ }
62
+
63
+ &__charity-info {
64
+ color: $squant;
65
+ font-weight: 400;
66
+ font-size: .75rem;
67
+ line-height: 1rem;
68
+ margin: 0;
69
+ }
70
+
71
+ &__holder {
72
+ display: flex;
73
+ flex-wrap: wrap;
74
+ gap: 8px;
75
+ }
76
+
77
+ &__btn {
78
+ width: 58px;
79
+ height: 36px;
80
+ margin-bottom: 0;
81
+ font-weight: 700;
82
+ display: flex;
83
+ align-items: center;
84
+ justify-content: center;
85
+
86
+ &:nth-of-type(odd),
87
+ &:nth-of-type(even) {
88
+ margin-left: 0;
89
+ }
90
+
91
+ &:last-of-type {
92
+ margin-right: 0;
93
+ }
94
+
95
+ &.btn-secondary {
96
+ color: $black;
97
+ border-color: $gray;
98
+
99
+ &:hover {
100
+ color: $white;
101
+ border-color: $blue;
102
+ }
103
+ }
104
+
105
+ &.btn-selected {
106
+ color: $white;
107
+ border-color: $blue;
108
+ background: $blue;
109
+ pointer-events: none;
110
+ }
111
+ }
112
+ }
113
+
114
+ @include media-breakpoint-up(sm) {
115
+ .donation-cart-new {
116
+ &__btn {
117
+ width: 52px;
118
+ height: 36px;
119
+ margin-bottom: 0;
120
+ }
121
+
122
+ &__description {
123
+ font-weight: 700;
124
+ font-size: .875rem;
125
+ margin-bottom: 12px;
126
+ }
127
+ }
128
+ }
129
+
130
+ @include media-breakpoint-up(md) {
131
+ .donation-cart-new {
132
+ justify-content: space-between;
133
+
134
+ &:not(.donation-cart__hide) {
135
+ display: flex;
136
+ }
137
+
138
+ &__definition {
139
+ max-width: 50%;
140
+ }
141
+
142
+ &__details {
143
+ width: 100%;
144
+ }
145
+
146
+ &__definition {
147
+ padding-right: 15px;
148
+ }
149
+
150
+ &__btn {
151
+ width: 56px;
152
+ height: 36px;
153
+ margin-bottom: 0;
154
+ }
155
+
156
+ .order-item__remove {
157
+ position: static;
158
+ margin-left: auto;
159
+ display: block;
160
+ }
161
+ }
162
+ }
163
+
164
+ @include media-breakpoint-up(lg) {
165
+ .donation-cart-new {
166
+ &__holder {
167
+ width: 588px;
168
+ }
169
+
170
+ &__btn {
171
+ width: 56px;
172
+ height: 36px;
173
+ margin-bottom: 0;
174
+ }
175
+ }
176
+ }
177
+
178
+ @include media-breakpoint-up(xl) {
179
+ .donation-cart-new {
180
+ &__holder {
181
+ width: 100%;
182
+ }
183
+ }
184
+ }
185
+
186
+ @media (min-width: 350px) and (max-width: 575px) {
187
+ .donation-cart-new {
188
+ &__btn {
189
+ width: 72px;
190
+ }
191
+ }
192
+ }
@@ -52,14 +52,6 @@
52
52
  }
53
53
 
54
54
  @include media-breakpoint-up(sm) {
55
- .payways {
56
- max-width: 100%;
57
- flex-direction: column;
58
- justify-content: center;
59
- }
60
- }
61
-
62
- @include media-breakpoint-up(md) {
63
55
  .payways {
64
56
  max-width: 100%;
65
57
  flex-direction: row;
@@ -125,73 +125,6 @@
125
125
  }
126
126
  }
127
127
 
128
- &__billie {
129
- .billie-info {
130
- background: $white;
131
- margin-bottom: 20px;
132
- padding: 20px;
133
-
134
- &__header {
135
- display: flex;
136
- justify-content: space-between;
137
- align-items: center;
138
- margin-bottom: 20px;
139
- padding-bottom: 20px;
140
- border-bottom: 1px solid $gray;
141
-
142
- &_title {
143
- margin: 0;
144
- font-size: 1rem;
145
- font-weight: 500;
146
- line-height: 1.5rem;
147
- }
148
- }
149
-
150
- &__list {
151
- padding: 0;
152
- margin: 0;
153
- list-style-type: none;
154
- border-bottom: 1px solid $gray;
155
-
156
- &_item {
157
- font-size: 0.875rem;
158
- font-weight: 400;
159
- line-height: 1.375rem;
160
- height: 30px;
161
- display: flex;
162
- align-items: center;
163
-
164
- .fa-check {
165
- margin-right: 10px;
166
- }
167
-
168
- &:last-child {
169
- margin-bottom: 15px;
170
- }
171
- }
172
- }
173
-
174
- &__learn-more {
175
- display: flex;
176
- align-items: center;
177
- border-bottom: 1px solid $gray;
178
- }
179
-
180
- &__accept-info {
181
- margin-top: 15px;
182
- margin-bottom: 10px;
183
- color: $warm-grey;
184
- font-weight: 400;
185
- font-size: 0.75rem;
186
- line-height: 1rem;
187
- }
188
-
189
- &__link {
190
- color: $black;
191
- }
192
- }
193
- }
194
-
195
128
  .apple {
196
129
  &-logo {
197
130
  height: 28px;
@@ -25,7 +25,6 @@
25
25
 
26
26
  .paypal-checkout-logo,
27
27
  .klarna-checkout-logo,
28
- .billie-checkout-logo,
29
28
  .clearpay-checkout-logo {
30
29
  margin-bottom: 25px;
31
30
  }
@@ -114,13 +113,6 @@
114
113
  margin-bottom: 20px;
115
114
  }
116
115
 
117
- .billie-spinner-logo {
118
- display: block;
119
- background: url('../img/billie-spinner.svg') no-repeat;
120
- height: 38px;
121
- width: 111px;
122
- }
123
-
124
116
  .apple-spinner-logo {
125
117
  height: 58px;
126
118
  width: 136px;
@@ -171,7 +171,6 @@
171
171
  'header viewMore'
172
172
  'orderDetails orderDetails'
173
173
  'consignmentInfo consignmentInfo'
174
- 'paymentStatus paymentStatus'
175
174
  'shipment shipment';
176
175
 
177
176
  .order-header {
@@ -237,7 +236,6 @@
237
236
  grid-template-areas:
238
237
  'header consignmentInfo viewMore'
239
238
  'orderDetails orderDetails orderDetails'
240
- 'paymentStatus paymentStatus paymentStatus'
241
239
  'shipment shipment shipment';
242
240
  grid-template-columns: auto auto 1fr;
243
241
  align-items: center;
@@ -253,8 +253,7 @@
253
253
  &__klarna,
254
254
  &__apple,
255
255
  &__google,
256
- &__clearpay,
257
- &__billie {
256
+ &__clearpay {
258
257
  display: flex;
259
258
  flex-direction: column;
260
259
  }
@@ -274,8 +273,7 @@
274
273
  }
275
274
 
276
275
  &__klarna,
277
- &__clearpay,
278
- &__billie {
276
+ &__clearpay {
279
277
  margin-bottom: 0;
280
278
  }
281
279
  }
@@ -327,16 +325,11 @@
327
325
  &__klarna,
328
326
  &__apple,
329
327
  &__google,
330
- &__clearpay,
331
- &__billie {
328
+ &__clearpay {
332
329
  flex-direction: row;
333
330
  justify-content: space-between;
334
331
  }
335
332
 
336
- &__billie {
337
- align-items: center;
338
- }
339
-
340
333
  &__paypal,
341
334
  &__apple,
342
335
  &__google {