wickes-css2 2.94.0-order-summary.18 → 2.94.0-preprod.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 +3 -2
- package/build/css/main.css +1 -1
- package/build/css/my-account-main-v2.css +1 -1
- package/build/css/pages/checkout-new.css +1 -1
- package/build/css/pages/checkout.css +1 -1
- package/build/css/pages/my-account-v2.css +1 -1
- package/build/css/pages/page_checkout_delivery-new.css +1 -1
- package/build/css/pages/page_my-orders.css +1 -0
- package/build/css/pages/page_products-list-combined.css +1 -1
- package/build/css/pages/page_products-list.css +1 -1
- package/build/css/pages/page_shopping-cart-v2.css +1 -1
- package/build/css/pages/tradePro-signup.css +1 -1
- package/build/css/plp-main.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 +53 -1
- package/build/js/general.bundle.min.js +1 -1
- package/build/js/merged-checkout.min.js +2 -2
- package/build/js/my-orders.min.js +1 -0
- package/build/js/page/basket/summary-mobile.js +6 -1
- package/build/js/page/components/order-summary.js +0 -1
- package/build/js/page/my-orders.js +165 -0
- package/build/js/page/quiz.js +20 -11
- 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/build/js/quiz.min.js +1 -1
- package/package.json +10 -2
- package/src/components/date-selection.hbs +1 -1
- package/src/components/flatpickr-calendar.hbs +26 -0
- package/src/components/my-account/active-orders/header.hbs +6 -2
- package/src/components/my-account/active-orders/list-orders.hbs +14 -2
- package/src/components/my-account/active-orders/order-header.hbs +1 -1
- package/src/components/my-account/active-orders/order.hbs +10 -6
- package/src/components/my-account/clipboard-code-card.hbs +1 -1
- package/src/components/my-account/empty-orders.hbs +9 -0
- package/src/components/my-account/mobile-nav.hbs +23 -19
- package/src/components/my-account/orders-nav.hbs +15 -0
- package/src/components/my-account/sort-by.hbs +3 -0
- package/src/components/my-account/user-account-actions.hbs +1 -1
- package/src/components/order-item.hbs +3 -3
- package/src/components/partner-signup-form.hbs +4 -0
- package/src/data/data_delivery-address-v2.json +1 -1
- package/src/data/data_shopping-cart-v2.json +24 -0
- package/src/data/my-account/data_my-orders.json +246 -0
- package/src/elements/dropdown.hbs +1 -1
- package/src/js/components/flatpickr.js +167 -0
- package/src/js/components/general/handleAccordion.js +35 -0
- package/src/js/components/general/is-trade-pro.js +15 -1
- package/src/js/emulation/basket-data.js +1 -1
- package/src/js/emulation/mock.js +10 -0
- package/src/js/emulation/my-orders-local.js +41 -0
- package/src/js/page/basket/summary-mobile.js +6 -1
- package/src/js/page/components/order-summary.js +0 -1
- package/src/js/page/my-orders.js +165 -0
- package/src/js/page/quiz.js +20 -11
- package/src/layouts/checkout-new.hbs +1 -0
- package/src/page_checkout_confirmation-new-marketing-consent-error.html +0 -2
- package/src/page_checkout_delivery-address-customer-journey.html +0 -5
- package/src/page_checkout_delivery-address-v2.html +0 -4
- package/src/page_checkout_delivery-details-v2-asm.html +1 -5
- package/src/page_checkout_delivery-details-v2-calendar-message.html +0 -3
- package/src/page_checkout_delivery-details-v2-oos.html +0 -3
- package/src/page_checkout_delivery-details-v2-wisdom-not-available.html +0 -5
- package/src/page_checkout_delivery-details-v2-wisdom.html +0 -5
- package/src/page_checkout_delivery-details-with-loader-v2.html +0 -3
- package/src/page_checkout_delivery-details_guest-new.html +0 -5
- package/src/page_checkout_delivery_address-asm-new.html +0 -4
- package/src/page_checkout_next-day-delivery-details.html +0 -6
- package/src/page_checkout_payment-details-v2.html +1 -1
- package/src/page_checkout_payment-details_guest-with-checkout-journey.html +0 -2
- package/src/page_checkout_payment-details_login-with-checkout-journey.html +0 -2
- package/src/page_checkout_rapid-delivery-details.html +0 -6
- package/src/page_klarna_payment-details_with-klarna.html +3 -6
- package/src/page_my-orders-empty.html +49 -0
- package/src/page_my-orders.html +64 -0
- package/src/page_payment-details-with-clearpay.html +1 -1
- package/src/page_payment-details_with_apple-pay.html +1 -1
- package/src/page_payment-details_with_google-pay.html +1 -1
- package/src/page_tradePro-signup.html +1 -1
- package/src/scss/components/_marketing-preferences.scss +1 -1
- package/src/scss/components/_order-summary.scss +93 -0
- package/src/scss/components/my-account/_active-orders.scss +263 -0
- package/src/scss/components/my-account/_orders-nav.scss +61 -0
- package/src/scss/helpers/_variables.scss +1 -0
- package/src/scss/libs/flatpickr.scss +235 -0
- package/src/scss/pages/_checkout-widget.scss +100 -4
- package/src/scss/pages/my-account-v2.scss +1 -136
- package/src/scss/pages/page_checkout_delivery-new.scss +12 -3
- package/src/scss/pages/page_my-orders.scss +232 -0
- package/src/scss/pages/page_products-list-combined.scss +0 -1
- package/src/scss/pages/page_products-list.scss +0 -1
- package/src/scss/pages/page_shopping-cart-v2.scss +45 -5
- package/src/scss/pages/tradePro-signup.scss +27 -0
- package/src/sitemap.html +2 -0
- package/src/scss/components/my-account/_order.scss +0 -112
|
@@ -535,31 +535,86 @@
|
|
|
535
535
|
}
|
|
536
536
|
|
|
537
537
|
.voucher {
|
|
538
|
-
|
|
538
|
+
padding-bottom: 10px;
|
|
539
|
+
|
|
540
|
+
.checkout-widget.checkout-voucher.checkout-voucher_fixed {
|
|
541
|
+
padding: 0;
|
|
542
|
+
}
|
|
539
543
|
|
|
540
544
|
.checkout-widget.checkout-voucher {
|
|
545
|
+
margin-bottom: 0;
|
|
546
|
+
|
|
541
547
|
&-hide {
|
|
542
548
|
display: none;
|
|
543
549
|
}
|
|
544
550
|
|
|
551
|
+
&.voucher-applied {
|
|
552
|
+
background: $white;
|
|
553
|
+
height: 40px;
|
|
554
|
+
padding: 8px 0;
|
|
555
|
+
margin: 0;
|
|
556
|
+
|
|
557
|
+
.voucher-applied__inner {
|
|
558
|
+
display: flex;
|
|
559
|
+
align-items: center;
|
|
560
|
+
justify-content: center;
|
|
561
|
+
gap: 8px;
|
|
562
|
+
|
|
563
|
+
& .icon {
|
|
564
|
+
display: inline-block;
|
|
565
|
+
|
|
566
|
+
&__check {
|
|
567
|
+
width: 24px;
|
|
568
|
+
height: 24px;
|
|
569
|
+
display: flex;
|
|
570
|
+
justify-content: center;
|
|
571
|
+
align-items: center;
|
|
572
|
+
|
|
573
|
+
i {
|
|
574
|
+
font-size: 24px;
|
|
575
|
+
line-height: 24px;
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
& .fa-check-circle {
|
|
581
|
+
font-size: 1rem;
|
|
582
|
+
margin: 0;
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
& h5 {
|
|
586
|
+
font-size: .875rem;
|
|
587
|
+
margin: 0;
|
|
588
|
+
}
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
|
|
545
592
|
form {
|
|
546
593
|
display: flex;
|
|
547
594
|
justify-content: space-between;
|
|
548
595
|
width: 100%;
|
|
549
596
|
|
|
550
597
|
.form-row {
|
|
551
|
-
width: 100%;
|
|
598
|
+
max-width: 100%;
|
|
599
|
+
flex: 1;
|
|
552
600
|
margin-right: 16px;
|
|
553
601
|
margin-bottom: 0;
|
|
554
|
-
padding
|
|
602
|
+
padding: 0;
|
|
555
603
|
|
|
556
604
|
&__field {
|
|
557
|
-
margin-
|
|
605
|
+
margin-left: 30px;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
&__error {
|
|
609
|
+
margin-left: 30px;
|
|
610
|
+
font-weight: 400;
|
|
558
611
|
}
|
|
559
612
|
}
|
|
560
613
|
|
|
561
614
|
.voucher__btn {
|
|
562
615
|
margin-top: 0;
|
|
616
|
+
margin-right: 15px;
|
|
617
|
+
height: 40px;
|
|
563
618
|
}
|
|
564
619
|
}
|
|
565
620
|
}
|
|
@@ -572,6 +627,25 @@
|
|
|
572
627
|
}
|
|
573
628
|
}
|
|
574
629
|
|
|
630
|
+
@include media-breakpoint-up(sm) {
|
|
631
|
+
.voucher {
|
|
632
|
+
.checkout-widget.checkout-voucher {
|
|
633
|
+
form {
|
|
634
|
+
.form-row {
|
|
635
|
+
&__field {
|
|
636
|
+
margin-right: 0;
|
|
637
|
+
margin-left: 15px;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
&__error {
|
|
641
|
+
margin-left: 15px;
|
|
642
|
+
}
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
|
|
575
649
|
@include media-breakpoint-up(md) {
|
|
576
650
|
.checkout-widget {
|
|
577
651
|
.accordion {
|
|
@@ -596,6 +670,12 @@
|
|
|
596
670
|
|
|
597
671
|
.checkout-voucher {
|
|
598
672
|
& form {
|
|
673
|
+
.form-row {
|
|
674
|
+
&__error {
|
|
675
|
+
margin-left: 15px;
|
|
676
|
+
}
|
|
677
|
+
}
|
|
678
|
+
|
|
599
679
|
& .voucher__btn {
|
|
600
680
|
max-width: 115px;
|
|
601
681
|
height: 40px;
|
|
@@ -613,6 +693,22 @@
|
|
|
613
693
|
}
|
|
614
694
|
}
|
|
615
695
|
|
|
696
|
+
@include media-breakpoint-up(md) {
|
|
697
|
+
.voucher {
|
|
698
|
+
.checkout-widget.checkout-voucher {
|
|
699
|
+
form {
|
|
700
|
+
.form-row {
|
|
701
|
+
&__field {
|
|
702
|
+
margin-right: 0;
|
|
703
|
+
margin-left: 30px;
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
|
|
616
712
|
@include media-breakpoint-up(xl) {
|
|
617
713
|
.checkout-widget {
|
|
618
714
|
&__detail-value_payment:not(.checkout-widget__details-hidden) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
@import '../helpers/helpers';
|
|
2
2
|
@import '../components/my-account/consignment-info';
|
|
3
3
|
@import '../components/my-account/shipment';
|
|
4
|
-
@import '../components/my-account/order';
|
|
5
4
|
@import '../components/my-account/menu';
|
|
6
5
|
@import '../components/my-account/contacts';
|
|
7
6
|
@import '../components/my-account/mobile-nav';
|
|
7
|
+
@import '../components/my-account/active-orders';
|
|
8
8
|
|
|
9
9
|
.my-account {
|
|
10
10
|
margin: 0;
|
|
@@ -265,81 +265,6 @@
|
|
|
265
265
|
margin-bottom: 0;
|
|
266
266
|
}
|
|
267
267
|
}
|
|
268
|
-
|
|
269
|
-
.active-orders {
|
|
270
|
-
margin-top: 24px;
|
|
271
|
-
|
|
272
|
-
&__title {
|
|
273
|
-
font-weight: 500;
|
|
274
|
-
font-size: 1.25rem;
|
|
275
|
-
line-height: 1rem;
|
|
276
|
-
color: $blue-dark;
|
|
277
|
-
margin-bottom: 0;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
&__item {
|
|
281
|
-
margin-top: 16px;
|
|
282
|
-
padding: 16px;
|
|
283
|
-
background: $white;
|
|
284
|
-
border-radius: 4px;
|
|
285
|
-
|
|
286
|
-
& + & {
|
|
287
|
-
margin-top: 16px;
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
.view-more {
|
|
292
|
-
display: flex;
|
|
293
|
-
align-items: center;
|
|
294
|
-
justify-content: center;
|
|
295
|
-
padding-top: 12px;
|
|
296
|
-
border-top: 1px solid $gray;
|
|
297
|
-
|
|
298
|
-
.link {
|
|
299
|
-
font-weight: 500;
|
|
300
|
-
font-size: .875rem;
|
|
301
|
-
line-height: 1.375rem;
|
|
302
|
-
text-align: center;
|
|
303
|
-
color: $blue;
|
|
304
|
-
text-decoration: none;
|
|
305
|
-
display: flex;
|
|
306
|
-
justify-content: center;
|
|
307
|
-
align-items: center;
|
|
308
|
-
|
|
309
|
-
span:hover {
|
|
310
|
-
text-decoration: underline;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.icon {
|
|
314
|
-
margin-left: 8px;
|
|
315
|
-
font-size: 1rem;
|
|
316
|
-
}
|
|
317
|
-
}
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.btn--all-orders {
|
|
321
|
-
margin-top: 16px;
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
.tooltip {
|
|
325
|
-
filter: drop-shadow(0 0 8px rgba(0, 0, 0, .12));
|
|
326
|
-
position: absolute;
|
|
327
|
-
|
|
328
|
-
.tooltip-inner {
|
|
329
|
-
background: $white;
|
|
330
|
-
color: $gray-dark;
|
|
331
|
-
padding: 8px 16px !important;
|
|
332
|
-
border-radius: 4px;
|
|
333
|
-
font-weight: 400;
|
|
334
|
-
font-size: .75rem;
|
|
335
|
-
line-height: 1rem;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
.arrow:before {
|
|
339
|
-
border-top-color: $white;
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
268
|
}
|
|
344
269
|
|
|
345
270
|
@include media-breakpoint-up(sm) {
|
|
@@ -395,50 +320,6 @@
|
|
|
395
320
|
}
|
|
396
321
|
}
|
|
397
322
|
|
|
398
|
-
.active-orders {
|
|
399
|
-
&__header {
|
|
400
|
-
display: flex;
|
|
401
|
-
justify-content: space-between;
|
|
402
|
-
align-items: center;
|
|
403
|
-
|
|
404
|
-
.btn--all-orders {
|
|
405
|
-
margin-top: 0;
|
|
406
|
-
max-width: 125px;
|
|
407
|
-
}
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
&__item {
|
|
411
|
-
display: grid;
|
|
412
|
-
grid-template-areas:
|
|
413
|
-
'header viewMore'
|
|
414
|
-
'orderDetails orderDetails'
|
|
415
|
-
'consignmentInfo consignmentInfo'
|
|
416
|
-
'shipment shipment';
|
|
417
|
-
|
|
418
|
-
.order-header {
|
|
419
|
-
flex-direction: row-reverse;
|
|
420
|
-
justify-content: flex-end;
|
|
421
|
-
grid-area: header;
|
|
422
|
-
|
|
423
|
-
&__title {
|
|
424
|
-
margin-left: 16px;
|
|
425
|
-
font-weight: 700;
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
.view-more {
|
|
430
|
-
grid-area: viewMore;
|
|
431
|
-
justify-content: flex-end;
|
|
432
|
-
border-top: 0;
|
|
433
|
-
padding: 0;
|
|
434
|
-
|
|
435
|
-
.link .icon {
|
|
436
|
-
margin-left: 13px;
|
|
437
|
-
}
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
}
|
|
441
|
-
|
|
442
323
|
.notification_info-message {
|
|
443
324
|
font-size: .875rem;
|
|
444
325
|
}
|
|
@@ -456,10 +337,6 @@
|
|
|
456
337
|
padding: 24px;
|
|
457
338
|
}
|
|
458
339
|
|
|
459
|
-
.active-orders__title {
|
|
460
|
-
font-size: 1.5rem;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
340
|
.notification_general:not(.notification_info-message) {
|
|
464
341
|
margin-top: 16px;
|
|
465
342
|
margin-bottom: 16px;
|
|
@@ -530,18 +407,6 @@
|
|
|
530
407
|
.clipboard-code.discount-code {
|
|
531
408
|
padding-right: 14px;
|
|
532
409
|
}
|
|
533
|
-
|
|
534
|
-
.active-orders {
|
|
535
|
-
&__item {
|
|
536
|
-
padding: 24px;
|
|
537
|
-
grid-template-areas:
|
|
538
|
-
'header consignmentInfo viewMore'
|
|
539
|
-
'orderDetails orderDetails orderDetails'
|
|
540
|
-
'shipment shipment shipment';
|
|
541
|
-
grid-template-columns: auto auto 1fr;
|
|
542
|
-
align-items: center;
|
|
543
|
-
}
|
|
544
|
-
}
|
|
545
410
|
}
|
|
546
411
|
}
|
|
547
412
|
|
|
@@ -20,11 +20,12 @@
|
|
|
20
20
|
padding: 0;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
.checkout-widget {
|
|
24
|
-
padding: 20px 0
|
|
23
|
+
.checkout-widget.checkout-widget_order-summary {
|
|
24
|
+
padding: 25px 20px 0;
|
|
25
|
+
}
|
|
25
26
|
|
|
27
|
+
.checkout-widget {
|
|
26
28
|
&__details {
|
|
27
|
-
padding-top: 20px;
|
|
28
29
|
font-size: 1rem;
|
|
29
30
|
|
|
30
31
|
.checkout-widget {
|
|
@@ -376,6 +377,7 @@
|
|
|
376
377
|
.continue-btn {
|
|
377
378
|
background: $gray-bg;
|
|
378
379
|
padding: 35px;
|
|
380
|
+
margin-top: 20px;
|
|
379
381
|
|
|
380
382
|
.btn-action {
|
|
381
383
|
height: 50px;
|
|
@@ -472,6 +474,12 @@
|
|
|
472
474
|
|
|
473
475
|
.right-aside {
|
|
474
476
|
.summary {
|
|
477
|
+
&__aside {
|
|
478
|
+
.checkout-widget.checkout-widget_order-summary {
|
|
479
|
+
padding: 20px 0 0;
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
475
483
|
.checkout-widget {
|
|
476
484
|
&.checkout-widget_order-summary {
|
|
477
485
|
.checkout-widget__total {
|
|
@@ -774,6 +782,7 @@
|
|
|
774
782
|
|
|
775
783
|
.continue-btn {
|
|
776
784
|
margin: 0 -15px;
|
|
785
|
+
margin-top: 20px;
|
|
777
786
|
}
|
|
778
787
|
|
|
779
788
|
.billing-payment-block {
|
|
@@ -0,0 +1,232 @@
|
|
|
1
|
+
@import '../helpers/helpers';
|
|
2
|
+
@import '../components/my-account/orders-nav';
|
|
3
|
+
@import '../libs/flatpickr';
|
|
4
|
+
@import '../components/loader';
|
|
5
|
+
|
|
6
|
+
.my-orders {
|
|
7
|
+
padding-top: 0;
|
|
8
|
+
|
|
9
|
+
.notification {
|
|
10
|
+
&_info-message {
|
|
11
|
+
border: 0;
|
|
12
|
+
text-align: center;
|
|
13
|
+
margin: 0;
|
|
14
|
+
background: $virid-darker;
|
|
15
|
+
color: $white;
|
|
16
|
+
padding: 4px 5px;
|
|
17
|
+
font-size: .75rem;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&__wrap {
|
|
22
|
+
padding-top: 16px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&__title {
|
|
26
|
+
margin-bottom: 0;
|
|
27
|
+
text-align: left;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.sort-orders {
|
|
31
|
+
margin-top: 16px;
|
|
32
|
+
|
|
33
|
+
.form-row {
|
|
34
|
+
padding: 0;
|
|
35
|
+
margin: 0;
|
|
36
|
+
|
|
37
|
+
&__label {
|
|
38
|
+
margin-bottom: 8px;
|
|
39
|
+
padding-right: 0;
|
|
40
|
+
padding-left: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&__field {
|
|
44
|
+
padding-right: 0;
|
|
45
|
+
padding-left: 0;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.load-more-wrap {
|
|
51
|
+
margin-bottom: 0;
|
|
52
|
+
margin-top: 24px;
|
|
53
|
+
|
|
54
|
+
@media (hover: none) {
|
|
55
|
+
.btn-primary {
|
|
56
|
+
&:hover {
|
|
57
|
+
color: $white;
|
|
58
|
+
background-color: $blue;
|
|
59
|
+
border-color: $blue;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&:focus {
|
|
63
|
+
color: $blue;
|
|
64
|
+
background-color: $white;
|
|
65
|
+
border-color: $blue;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.active-orders {
|
|
72
|
+
&__item {
|
|
73
|
+
border-radius: 4px;
|
|
74
|
+
border: 1px solid $gray;
|
|
75
|
+
|
|
76
|
+
&:first-child {
|
|
77
|
+
margin-top: 0;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.sort-orders .form-row__field select {
|
|
83
|
+
transition: all .3s;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.empty-orders {
|
|
88
|
+
margin-top: 24px;
|
|
89
|
+
padding: 40px 24px;
|
|
90
|
+
background: $ma-white;
|
|
91
|
+
border-radius: 4px;
|
|
92
|
+
display: flex;
|
|
93
|
+
flex-direction: column;
|
|
94
|
+
justify-content: center;
|
|
95
|
+
align-items: center;
|
|
96
|
+
|
|
97
|
+
&__title {
|
|
98
|
+
font-size: 20px;
|
|
99
|
+
font-style: normal;
|
|
100
|
+
font-weight: 500;
|
|
101
|
+
line-height: 32px;
|
|
102
|
+
margin-bottom: 0;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&__image {
|
|
106
|
+
margin-top: 16px;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&__btn {
|
|
110
|
+
margin-top: 16px;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
@include media-breakpoint-up(sm) {
|
|
115
|
+
.my-orders {
|
|
116
|
+
&__sorts {
|
|
117
|
+
margin-top: 24px;
|
|
118
|
+
display: flex;
|
|
119
|
+
justify-content: space-between;
|
|
120
|
+
grid-gap: 16px;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.flatpickr-datepicker,
|
|
124
|
+
.sort-orders {
|
|
125
|
+
margin-top: 0;
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.flatpickr-datepicker {
|
|
129
|
+
width: 65%;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
&__wrap {
|
|
133
|
+
padding-top: 24px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.active-orders {
|
|
137
|
+
margin-top: 16px;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.notification_info-message {
|
|
141
|
+
font-size: .875rem;
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.empty-orders {
|
|
146
|
+
&__title {
|
|
147
|
+
font-size: 24px;
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@include media-breakpoint-up(md) {
|
|
153
|
+
.my-orders {
|
|
154
|
+
padding-bottom: 70px;
|
|
155
|
+
|
|
156
|
+
.flatpickr-datepicker,
|
|
157
|
+
.sort-orders {
|
|
158
|
+
width: 100%;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
&__wrap {
|
|
162
|
+
padding-top: 40px;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@include media-breakpoint-up(lg) {
|
|
168
|
+
.my-orders {
|
|
169
|
+
&__sorts {
|
|
170
|
+
max-width: 580px;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
@include media-breakpoint-up(xl) {
|
|
176
|
+
.my-orders {
|
|
177
|
+
&__header {
|
|
178
|
+
display: grid;
|
|
179
|
+
grid-template-columns: auto 1fr;
|
|
180
|
+
align-items: center;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&__sorts {
|
|
184
|
+
margin-top: 0;
|
|
185
|
+
width: 100%;
|
|
186
|
+
max-width: 822px;
|
|
187
|
+
justify-content: flex-end;
|
|
188
|
+
margin-left: auto;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.nav-orders {
|
|
192
|
+
grid-column: span 2;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.flatpickr-datepicker__label {
|
|
196
|
+
flex-wrap: nowrap;
|
|
197
|
+
display: flex;
|
|
198
|
+
white-space: nowrap;
|
|
199
|
+
margin-bottom: 0;
|
|
200
|
+
margin-right: 16px;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.flatpickr-datepicker,
|
|
204
|
+
.sort-orders .form-row {
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
flex-wrap: nowrap;
|
|
208
|
+
justify-content: flex-end;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.sort-orders {
|
|
212
|
+
flex: 80%;
|
|
213
|
+
|
|
214
|
+
.form-row__label {
|
|
215
|
+
width: auto;
|
|
216
|
+
white-space: nowrap;
|
|
217
|
+
margin-bottom: 0;
|
|
218
|
+
margin-right: 16px;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.flatpickr-datepicker__field,
|
|
223
|
+
.form-row__field {
|
|
224
|
+
width: 100%;
|
|
225
|
+
max-width: 282px;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.empty-orders {
|
|
230
|
+
margin-top: 40px;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
@@ -74,7 +74,20 @@
|
|
|
74
74
|
|
|
75
75
|
.voucher {
|
|
76
76
|
.checkout-widget {
|
|
77
|
-
margin:
|
|
77
|
+
margin-left: -15px;
|
|
78
|
+
margin-right: -15px;
|
|
79
|
+
|
|
80
|
+
&.checkout-voucher {
|
|
81
|
+
form {
|
|
82
|
+
.form-row {
|
|
83
|
+
padding-right: 0;
|
|
84
|
+
|
|
85
|
+
&__field {
|
|
86
|
+
margin-left: 30px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
78
91
|
}
|
|
79
92
|
}
|
|
80
93
|
|
|
@@ -224,7 +237,6 @@
|
|
|
224
237
|
|
|
225
238
|
.voucher__btn {
|
|
226
239
|
max-width: 100%;
|
|
227
|
-
margin-top: 20px;
|
|
228
240
|
height: 40px;
|
|
229
241
|
}
|
|
230
242
|
|
|
@@ -244,7 +256,6 @@
|
|
|
244
256
|
|
|
245
257
|
& .icon {
|
|
246
258
|
display: inline-block;
|
|
247
|
-
margin-top: 8px;
|
|
248
259
|
|
|
249
260
|
&__check {
|
|
250
261
|
width: 24px;
|
|
@@ -298,10 +309,24 @@
|
|
|
298
309
|
}
|
|
299
310
|
}
|
|
300
311
|
|
|
312
|
+
.voucher {
|
|
313
|
+
.checkout-widget {
|
|
314
|
+
&.checkout-voucher {
|
|
315
|
+
form {
|
|
316
|
+
.form-row {
|
|
317
|
+
&__field {
|
|
318
|
+
margin-left: 15px;
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
|
|
301
326
|
.checkout-widget {
|
|
302
327
|
&.checkout-voucher {
|
|
303
328
|
form {
|
|
304
|
-
display:
|
|
329
|
+
display: flex;
|
|
305
330
|
|
|
306
331
|
.form-row {
|
|
307
332
|
max-width: 100%;
|
|
@@ -316,7 +341,6 @@
|
|
|
316
341
|
|
|
317
342
|
.voucher__btn {
|
|
318
343
|
max-width: 100%;
|
|
319
|
-
margin-top: 20px;
|
|
320
344
|
}
|
|
321
345
|
}
|
|
322
346
|
}
|
|
@@ -351,6 +375,20 @@
|
|
|
351
375
|
|
|
352
376
|
@include media-breakpoint-up(md) {
|
|
353
377
|
.basket {
|
|
378
|
+
.voucher {
|
|
379
|
+
.checkout-widget {
|
|
380
|
+
&.checkout-voucher {
|
|
381
|
+
form {
|
|
382
|
+
.form-row {
|
|
383
|
+
&__field {
|
|
384
|
+
margin-left: 30px;
|
|
385
|
+
}
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
|
|
354
392
|
.right-aside {
|
|
355
393
|
@include make-col(12);
|
|
356
394
|
}
|
|
@@ -392,6 +430,7 @@
|
|
|
392
430
|
|
|
393
431
|
&__field {
|
|
394
432
|
margin-right: 0;
|
|
433
|
+
margin-left: 30px;
|
|
395
434
|
|
|
396
435
|
input {
|
|
397
436
|
&::placeholder {
|
|
@@ -410,6 +449,7 @@
|
|
|
410
449
|
.voucher__btn {
|
|
411
450
|
margin-top: 0;
|
|
412
451
|
margin-left: 16px;
|
|
452
|
+
margin-right: 15px;
|
|
413
453
|
}
|
|
414
454
|
|
|
415
455
|
&.form_invalid {
|