apirocket 0.4.2 → 0.5.0

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.
@@ -392,948 +392,534 @@
392
392
 
393
393
  .apirocket-cart-header-continue { display: none; }
394
394
  .apirocket-cart-header-login { display: none; }
395
- }.apirocket-summary {}
396
-
397
- .apirocket-summary-top {
398
- margin-top: 56px;
399
- margin-bottom: 32px;
400
- }
401
-
402
- .apirocket-summary-header {
403
- display: flex;
404
- justify-content: flex-start;
405
- align-items: center;
406
- margin-bottom: 32px;
407
395
  }
396
+ .apirocket-checkout * { box-sizing: content-box; }
408
397
 
409
- .apirocket-summary-header-icon {
410
- flex: 0 1;
411
- margin-right: 16px;
398
+ .apirocket-checkout {
399
+ display: block;
400
+ position: fixed;
401
+ z-index: 10000;
402
+ right: 0;
403
+ top: 0;
404
+ overflow: hidden;
405
+ overflow-y: auto;
406
+ width: 100%;
407
+ height: 100vh;
408
+ font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
409
+ background-color: #fff;
412
410
  }
413
411
 
414
- .apirocket-summary-header-content {}
412
+ .apirocket-checkout-wrap {
413
+ display: flex;
414
+ margin: 0 auto;
415
+ width: 90%;
416
+ min-height: 100%;
417
+ max-width: 1100px;
418
+ padding: 0 5%;
415
419
 
416
- .apirocket-summary-header-title {
417
- font-size: 24px;
418
- font-weight: bold;
419
- line-height: 1.2;
420
- color: #404040;
421
- margin-bottom: 4px;
422
420
  }
423
421
 
424
- .apirocket-summary-header-subtitle {
425
- font-size: 18px;
426
- font-weight: normal;
427
- line-height: 1.2;
428
- color: #737373;
422
+ .apirocket-checkout-main {
423
+ order: 1;
424
+ width: 52%;
425
+ padding-right: 48px;
429
426
  }
430
427
 
431
- .apirocket-summary-section {
432
- margin-top: 16px;
433
- border: 1px solid #d9d9d9;
434
- border-radius: 4px;
435
- padding: 24px;
428
+ .apirocket-checkout-summary {
429
+ order: 2;
430
+ position: relative;
431
+ width: 40%;
432
+ padding-left: 48px;
436
433
  }
437
434
 
438
- .apirocket-summary-section .apirocket-checkout-row { margin-bottom: 32px; }
439
- .apirocket-summary-section .apirocket-checkout-row:last-child { margin-bottom: 0px; }
440
-
441
- .apirocket-summary-section-title {
442
- font-size: 18px;
443
- font-weight: bold;
444
- line-height: 1.2;
445
- color: #404040;
446
- margin-bottom: 24px;
435
+ .apirocket-checkout-summary::after {
436
+ position: absolute;
437
+ display: block;
438
+ top: 0;
439
+ left: 0;
440
+ content: "";
441
+ width: 300%;
442
+ height: 100%;
443
+ background: #f5f5f5;
444
+ z-index: -1;
447
445
  }
448
446
 
449
- .apirocket-summary-section-subtitle {
447
+ .apirocket-checkout-continue {
448
+ display: flex;
449
+ align-items: center;
450
+ text-align: left;
451
+ margin-top: 40px;
452
+ margin-bottom: 40px;
453
+ color: #737373;
450
454
  font-size: 16px;
451
- font-weight: bold;
452
- line-height: 1;
453
- color: #404040;
454
- margin-bottom: 16px;
455
- }
456
-
457
- .apirocket-summary-section-text {
458
- font-size: 14px;
459
455
  font-weight: normal;
460
- line-height: 18px;
461
- color: #404040;
456
+ cursor: pointer;
462
457
  }
463
458
 
464
- .apirocket-summary-help {
465
- display: flex;
466
- justify-content: flex-start;
467
- align-items: center;
459
+ .apirocket-checkout-close {
460
+ display: none;
461
+ cursor: pointer;
462
+ position: absolute;
463
+ top: 16px;
464
+ right: 32px;
468
465
  }
469
466
 
470
- .apirocket-summary-help-icon {
471
- flex: 0 1;
472
- padding-right: 12px;
467
+ .apirocket-checkout-summary-container {
468
+ display: flex;
469
+ flex-flow: column;
470
+ max-height: calc(100vh - 5%);
471
+ overflow: hidden;
473
472
  }
474
473
 
475
- .apirocket-summary-help-content {
476
- font-size: 14px;
477
- font-weight: normal;
478
- line-height: 1.2;
479
- color: #404040;
474
+ .apirocket-checkout-summary-top {
475
+ flex: 0 0 auto;
480
476
  }
481
477
 
482
- .apirocket-summary-help-content a {
483
- display: block;
484
- color: #737373;
478
+ .apirocket-checkout-summary-content {
479
+ flex: 1 1 auto;
480
+ overflow-y: scroll;
485
481
  }
486
482
 
487
- @media (max-width: 1000px) {
488
- .apirocket-summary-top { display: none; }
489
- .apirocket-summary-header { margin-top: 32px; }
483
+ .apirocket-checkout-summary-footer {
484
+ flex: 0 0 auto;
490
485
  }
491
486
 
492
- @media (max-width: 720px) {
493
- .apirocket-summary-section-subtitle { margin-top: 24px; }
494
- .apirocket-summary-header {
495
- flex-direction: column;
496
- align-items: center;
497
- text-align: center;
498
- }
499
- .apirocket-summary-header-icon {
500
- margin-right: 0px;
501
- margin-bottom: 16px;
502
- }
503
- .apirocket-summary-header-title {
504
- font-size: 28px;
505
- margin-bottom: 8px;
506
- }
507
- }.apirocket-modal *,
508
- .apirocket-modal *::before,
509
- .apirocket-modal *::after { box-sizing: border-box; }
510
-
511
- .apirocket-modal {
487
+ .apirocket-checkout-summary-login {
512
488
  display: flex;
513
- justify-content: center;
514
- align-items: flex-start;
515
- position: fixed;
516
- z-index: 10001;
517
- right: 0;
518
- top: 0;
519
- overflow: hidden;
520
- overflow-y: auto;
521
- width: 100%;
522
- height: 100vh;
523
- font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
524
- background-color: #f5f5f5;
489
+ align-items: center;
490
+ justify-content: end;
491
+ text-align: right;
492
+ margin-top: 40px;
493
+ margin-bottom: 40px;
494
+ color: #737373;
495
+ font-size: 16px;
496
+ font-weight: normal;
497
+ cursor: pointer;
525
498
  }
526
499
 
527
- .apirocket-modal-nav {
528
- position: absolute;
500
+ .apirocket-checkout-summary-login svg,
501
+ .apirocket-checkout-continue svg { margin-right: 16px; }
502
+
503
+ .apirocket-checkout-summary-header {
529
504
  display: flex;
505
+ justify-content: space-between;
530
506
  align-items: center;
531
- width: 90%;
532
- max-width: 1100px;
533
- height: 96px;
507
+ margin-top: 56px;
508
+ margin-bottom: 48px;
534
509
  }
535
510
 
536
- .apirocket-modal-nav-button {
537
- display: flex;
538
- align-items: center;
539
- text-align: left;
540
- color: #737373;
541
- font-size: 16px;
511
+ .apirocket-checkout-summary-header :last-child a {
512
+ font-size: 14px;
542
513
  font-weight: normal;
543
- cursor: pointer;
514
+ color: #737373;
544
515
  }
545
516
 
546
- .apirocket-modal-nav-button svg { margin-right: 16px; }
547
-
548
- .apirocket-modal-content {
517
+ .apirocket-checkout-summary-item {
549
518
  display: flex;
550
- flex-flow: column;
551
- width: 480px;
552
- height: auto;
553
- padding: 32px;
554
- background-color: #fff;
555
- margin-top: 96px;
556
- margin-bottom: 32px;
519
+ justify-content: stretch;
520
+ align-items: flex-start;
521
+ padding-bottom: 16px;
522
+ border-bottom: 1px solid #d9d9d9;
523
+ margin-bottom: 16px;
557
524
  }
558
525
 
559
- .apirocket-modal-header {
560
- position: relative;
561
- padding-bottom: 32px;
526
+ .apirocket-checkout-summary-item-col-image {
527
+ flex: 0 0 auto;
528
+ max-width: 100px;
529
+ border: 1px solid #e5e5e5;
530
+ border-radius: 4px;
531
+ overflow: hidden;
562
532
  }
563
533
 
564
- .apirocket-modal-title {
565
- font-size: 18px;
534
+ .apirocket-checkout-summary-item-col-image img {
535
+ display: block;
536
+ max-width: 100%;
537
+ max-height: 100px;
538
+ }
539
+
540
+ .apirocket-checkout-summary-item-col-description {
541
+ flex: 1 1 auto;
542
+ padding-left: 16px;
543
+ padding-right: 8px;
544
+ font-size: 14px;
566
545
  font-weight: bold;
567
- line-height: 1;
568
- color: #404040;
569
- margin-bottom: 8px;
546
+ line-height: 18px;
570
547
  }
571
548
 
572
- .apirocket-modal-subtitle {
549
+ .apirocket-checkout-summary-item-col-description small {
550
+ display: block;
573
551
  font-size: 14px;
574
552
  font-weight: normal;
575
- line-height: 16px;
576
- color: #737373;
553
+ color: #a3a3a3;
577
554
  }
578
555
 
579
- .apirocket-modal-close {
580
- position: absolute;
581
- right: -16px;
582
- top: -16px;
556
+ .apirocket-checkout-summary-item-col-quantity {
557
+ flex: 0 0 50px;
558
+ font-size: 16px;
559
+ font-weight: normal;
560
+ color: #a3a3a3;
561
+ text-align: right;
583
562
  }
584
563
 
585
- .apirocket-modal-close-icon {
586
- height: var(--cart-header-text-close-icon-size, 24px);
587
- width: var(--cart-header-text-close-icon-size, 24px);
588
- color: var(--cart-header-text-close-icon-color, #a3a3a3);
589
- cursor: pointer;
564
+ .apirocket-checkout-summary-item-col-price {
565
+ flex: 0 0 100px;
566
+ font-size: 16px;
567
+ font-weight: bold;
568
+ color: #404040;
569
+ text-align: right;
590
570
  }
591
571
 
592
- .apirocket-modal-body-text-password {
572
+ .apirocket-checkout-summary-row {
573
+ display: flex;
574
+ justify-content: space-between;
575
+ align-items: center;
576
+ padding-top: 16px;
577
+ }
578
+
579
+ .apirocket-checkout-summary-label {
580
+ font-size: 16px;
581
+ font-weight: normal;
582
+ line-height: 18px;
583
+ color: #404040;
584
+ }
585
+
586
+ .apirocket-checkout-summary-value {
587
+ font-size: 18px;
588
+ font-weight: bold;
589
+ line-height: 18px;
590
+ color: #404040;
591
+ }
592
+
593
+ .apirocket-checkout-summary-row-total {
594
+ display: flex;
595
+ justify-content: space-between;
596
+ align-items: flex-start;
597
+ border-top: 1px solid #d9d9d9;
598
+ margin-top: 24px;
599
+ padding-top: 24px;
600
+ }
601
+
602
+ .apirocket-checkout-summary-label-total {
603
+ font-size: 18px;
604
+ font-weight: bold;
605
+ line-height: 21px;
593
606
  color: #404040;
607
+ }
608
+ .apirocket-checkout-summary-label-total small {
609
+ display: block;
594
610
  font-size: 14px;
595
- font-weight: normal;
596
611
  line-height: 16px;
597
- margin-top: -8px;text-align: right;
598
- cursor: pointer;
612
+ font-weight: normal;
613
+ color: #a3a3a3;
599
614
  }
600
615
 
601
- .apirocket-modal-body-text-password:hover { text-decoration: underline; }
616
+ .apirocket-checkout-summary-value-total {
617
+ font-size: 24px;
618
+ font-weight: bold;
619
+ line-height: 24px;
620
+ color: #404040;
621
+ }
602
622
 
603
- .apirocket-modal-footer-text {
623
+ .apirocket-checkout-breadcrumbs ol {
624
+ display: flex;
625
+ align-items: center;
626
+ list-style: none;
627
+ padding: 0;
628
+ margin: 0;
629
+ margin-top: 24px;
630
+ }
631
+
632
+ .apirocket-checkout-breadcrumbs ol li {
633
+ cursor: pointer;
604
634
  color: #a3a3a3;
605
635
  font-size: 14px;
606
- font-weight: normal;
607
- line-height: 16px;
608
- text-align: center;
609
- margin-top: 16px;
636
+ line-height: 1;
610
637
  }
611
638
 
612
- .apirocket-modal-footer-text span {
613
- color: #404040;
614
- cursor: pointer;
639
+ .apirocket-checkout-breadcrumbs ol li::after {
640
+ width: 5px;
641
+ height: 9px;
642
+ display: inline-block;
643
+ content: "";
644
+ background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 9'%3E%3Cpath d='M1.164.2a.682.682 0 00-.964.964l3.154 3.154L.2 7.472a.682.682 0 10.964.965L4.8 4.8a.682.682 0 000-.964L1.164.2z' fill='%23A3A3A3'/%3E%3C/svg%3E");
645
+ background-repeat: no-repeat;
646
+ background-position: center;
647
+ padding: 0 8px;
615
648
  }
616
649
 
617
- .apirocket-modal-footer-text span:hover { text-decoration: underline; }
650
+ .apirocket-checkout-breadcrumbs ol li:last-child::after { display: none; }
618
651
 
652
+ .apirocket-checkout-breadcrumbs ol li a {
653
+ color: #a3a3a3;
654
+ text-decoration: underline;
655
+ }
619
656
 
620
- .apirocket-modal-body {}
657
+ .apirocket-checkout-breadcrumbs-active {
658
+ font-weight: bold;
659
+ color: #404040 !important;
660
+ }
621
661
 
622
- .apirocket-modal-footer {
623
- padding-top: 32px;
662
+ .apirocket-checkout-steps-summary {
663
+ border: 1px solid #d9d9d9;
664
+ border-radius: 4px;
665
+ overflow: hidden;
666
+ margin-top: 48px;
624
667
  }
625
668
 
626
- .apirocket-modal-row {
669
+ .apirocket-checkout-steps-summary-row {
627
670
  display: flex;
628
- justify-content: space-between;
629
- align-items: flex-start;
671
+ position: relative;
672
+ border-bottom: 1px solid #d9d9d9;
673
+ padding: 16px;
630
674
  }
631
675
 
632
- .apirocket-modal-row > * {
633
- flex: 1 1;
634
- margin-right: 16px;
676
+ .apirocket-checkout-steps-summary-label {
677
+ flex: 0 0 90px;
678
+ font-size: 14px;
679
+ font-weight: normal;
680
+ line-height: 14px;
681
+ color: #a3a3a3;
635
682
  }
636
683
 
637
- .apirocket-modal-row > *:last-child { margin-right: 0; }
638
-
639
-
640
- @media (max-width: 720px) {
641
- .apirocket-modal-row { display: block; }
642
- .apirocket-modal-row > * { margin-right: 0; }
643
-
644
- .apirocket-modal-nav { display: none; }
645
-
646
- .apirocket-modal-content {
647
- width: 95%;
648
- margin-top: 32px;
649
- padding: 24px;
650
- }
651
-
652
- .apirocket-modal-close {
653
- right: -8px;
654
- top: -8px;
655
- }
684
+ .apirocket-checkout-steps-summary-text {
685
+ flex: 1 1 auto;
686
+ font-size: 14px;
687
+ font-weight: normal;
688
+ line-height: 18px;
689
+ color: #404040;
656
690
  }
657
691
 
658
- .apirocket-modal-messaje {
659
- margin-top: 32px;
660
- margin-bottom: 32px;
661
- text-align: center;
692
+ .apirocket-checkout-steps-summary-link {
693
+ flex: 0 0 60px;
694
+ text-align: right;
695
+ font-size: 12px;
696
+ font-weight: normal;
697
+ line-height: 1;
698
+ text-decoration: underline;
699
+ color: #737373;
700
+ cursor: pointer;
662
701
  }
663
702
 
664
- .apirocket-modal-message-icon {
665
- display: inline-flex;
666
- justify-content: center;
667
- align-items: center;
668
- width: 48px;
669
- height: 48px;
670
- border-radius: 24px;
671
- margin: auto;
672
- margin-bottom: 32px;
703
+ .apirocket-checkout-section {
704
+ margin-top: 48px;
673
705
  }
674
706
 
675
- .apirocket-modal-message-icon-ok {
676
- background-color: #d1fae5;
677
- color: #10b981;
707
+ .apirocket-checkout-section-header {
708
+ margin-bottom: 24px;
678
709
  }
679
710
 
680
- .apirocket-modal-message-title {
711
+ .apirocket-checkout-section-title {
681
712
  font-size: 18px;
682
713
  font-weight: bold;
683
714
  line-height: 1;
684
- text-align: center;
685
715
  color: #404040;
686
- margin-bottom: 16px;
687
716
  }
688
717
 
689
- .apirocket-modal-message-text {
690
- color: #737373;
691
- font-size: 14px;
718
+ .apirocket-checkout-section-subtitle {
719
+ font-size: 12px;
692
720
  font-weight: normal;
693
- text-align: center;
694
- line-height: 16px;
695
- margin-bottom: 32px;
696
- }
697
- .apirocket-button,
698
- button.apirocket-button {
699
- box-sizing: border-box !important;
700
- display: block;
701
- width: 100%;
702
- padding: var(--cart-button-padding-y, 16px) var(--cart-button-padding-x, 16px);
703
- margin: 0px;
704
- border-radius: var(--cart-button-border-radius, 4px);
705
- background-color: var(--cart-button-background-color, transparent);
706
- border: 1px solid var(--cart-button-border-color, #e5e5e5);
707
- color: var(--cart-button-font-color, #737373);
721
+ padding-top: 4px;
708
722
  line-height: 1;
709
- font-size: var(--cart-button-font-size, 16px);
710
- font-weight: var(--cart-button-font-weight, normal);
711
- text-align: center;
712
- transition-property: color, border-color, background-color, box-shadow;
713
- transition-timing-function: ease;
714
- transition-duration: 350ms;
723
+ color: #a3a3a3;
724
+ text-align: right;
725
+ }
726
+
727
+ .apirocket-checkout-button-edit {
715
728
  cursor: pointer;
716
729
  }
717
730
 
718
- .apirocket-button:hover {
719
- background-color: var(--cart-button-background-color-hover, transparent);
720
- border-color: var(--cart-button-border-color-hover, #404040);
721
- color: var(--cart-button-font-color-hover, #404040);
731
+ .apirocket-checkout-button-edit:hover {
732
+ text-decoration: underline;
722
733
  }
723
734
 
724
- .apirocket-button:focus {
735
+ .apirocket-checkout-section a {
736
+ color: #404040;
725
737
  outline: none;
726
738
  text-decoration: underline;
727
739
  }
728
- /*
729
- .apirocket-button-loading {
730
- position: relative;
731
- } */
732
740
 
733
- .apirocket-button-wraper {
734
- position: relative;
735
- display: inline-block;
736
- width: 32px;
741
+ .apirocket-checkout-section-text {
742
+ font-size: 14px;
743
+ line-height: 1;
744
+ margin-top: 4px;
745
+ color: #737373;
737
746
  }
738
747
 
739
- .apirocket-button-spinner {
740
- position: absolute;
741
- width: 22px;
742
- height: 22px;
743
- top: -11px;
744
- left: 0;
745
- right: 0;
746
- bottom: 0;
747
- margin: auto;
748
- border: 4px solid currentColor;
749
- border-top-color: transparent !important;
750
- border-radius: 50%;
751
- animation: button-loading-spinner 1s ease infinite;
748
+ .apirocket-checkout-actions {
749
+ display: flex;
750
+ margin-top: 64px;
751
+ align-items: center;
752
+ max-width: 100%;
752
753
  }
753
754
 
754
- @keyframes button-loading-spinner {
755
- from { transform: rotate(0turn) }
756
- to { transform: rotate(1turn) }
755
+ .apirocket-checkout-actions > * { flex: 1 1; }
756
+
757
+ .apirocket-checkout-footer {
758
+ margin-top: 72px;
759
+ border-top: 1px solid #d9d9d9;
760
+ margin-bottom: 64px;
761
+ padding-top: 16px;
757
762
  }
758
763
 
759
- .apirocket-button-link,
760
- button.apirocket-button-link {
764
+ .apirocket-checkout-footer ul {
761
765
  display: flex;
762
766
  align-items: center;
763
- text-align: left;
764
- justify-content: flex-start;
765
- align-items: center;
766
- border: none;
767
- padding-left: 0;
768
- padding-right: 0;
769
- width: auto;
770
- overflow: hidden;
771
- white-space: nowrap;
772
- text-overflow: ellipsis;
767
+ list-style: none;
768
+ padding: 0;
769
+ margin: 0;
773
770
  }
774
771
 
775
- .apirocket-button-link span {
776
- margin-left: 16px;
777
- margin-right: 16px;
778
- }
772
+ .apirocket-checkout-footer ul li { margin-right: 16px; }
779
773
 
780
- .apirocket-button-primary,
781
- button.apirocket-button-primary {
782
- background-color: var(--cart-button-primary-background-color, #1d4ed8);
783
- border-color: var(--cart-button-primary-border-color, #1d4ed8);
784
- color: var(--cart-button-primary-text-color, #fff);
774
+ .apirocket-checkout-footer ul li a {
775
+ color: #404040;
776
+ font-size: 14px;
777
+ line-height: 1;
778
+ text-decoration: none;
785
779
  }
786
780
 
787
- button.apirocket-button-primary:disabled {
788
- background-color: #eee;
789
- border-color: #eee;
790
- color: #ccc;
781
+ .apirocket-checkout-footer ul li a:focus {
782
+ outline: none;
783
+ text-decoration: underline;
791
784
  }
792
785
 
793
- .apirocket-button-primary:hover {
794
- background-color: var(--cart-button-primary-background-color-hover, #1d4ed8);
795
- border-color: var(--cart-button-primary-border-color-hover, #1d4ed8);
796
- color: var(--cart-button-primary-text-color-hover, #fff);
797
- box-shadow: var(--cart-shadow-button-primary-hover, none);
786
+ .apircoket-checkout-legal {
787
+ margin-top: 16px;
788
+ font-size: 14px;
789
+ color: #737373;
790
+ font-weight: normal;
791
+ line-height: 1.4;
798
792
  }
799
793
 
800
-
801
- @media (max-width: 720px) {
802
-
803
- .apirocket-button-link {
804
- width: 100%;
805
- justify-content: center;
806
- }
807
-
794
+ .apircoket-checkout-legal a {
795
+ text-decoration: underline;
796
+ color: #404040;
808
797
  }
809
798
 
810
- .apirocket-checkout * { box-sizing: content-box; }
811
-
812
- .apirocket-checkout {
799
+ .apirocket-checkout-logo img {
813
800
  display: block;
814
- position: fixed;
815
- z-index: 10000;
816
- right: 0;
817
- top: 0;
818
- overflow: hidden;
819
- overflow-y: auto;
820
- width: 100%;
821
- height: 100vh;
822
- font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
823
- background-color: #fff;
801
+ max-height: 80px;
824
802
  }
825
803
 
826
- .apirocket-checkout-wrap {
827
- display: flex;
828
- margin: 0 auto;
829
- width: 90%;
830
- min-height: 100%;
831
- max-width: 1100px;
832
- padding: 0 5%;
804
+ .apirocket-checkout-mobile { display: none; }
833
805
 
806
+ .apirocket-checkout-mobile .apirocket-checkout-logo {
807
+ display: block;
808
+ margin-top: 16px;
809
+ margin-bottom: 16px;
834
810
  }
835
-
836
- .apirocket-checkout-main {
837
- order: 1;
838
- width: 52%;
839
- padding-right: 48px;
811
+ .apirocket-checkout-mobile .apirocket-checkout-logo img {
812
+ display: block;
813
+ margin: auto;
814
+ max-height: 80px;
840
815
  }
841
816
 
842
- .apirocket-checkout-summary {
843
- order: 2;
844
- position: relative;
845
- width: 40%;
846
- padding-left: 48px;
817
+ .apirocket-checkout-mobile-menu {
818
+ background-color: #f5f5f5;
819
+ border-top: 1px solid #d9d9d9;
847
820
  }
848
821
 
849
- .apirocket-checkout-summary::after {
850
- position: absolute;
851
- display: block;
852
- top: 0;
853
- left: 0;
854
- content: "";
855
- width: 300%;
856
- height: 100%;
857
- background: #f5f5f5;
858
- z-index: -1;
822
+ .apirocket-checkout-mobile-wrapper {
823
+ display: flex;
824
+ justify-content: space-between;
825
+ align-items: center;
826
+ width: 90%;
827
+ max-width: 560px;
828
+ margin: 0 auto;
829
+ padding: 16px 0px;
830
+ color: #404040;
859
831
  }
860
832
 
861
- .apirocket-checkout-continue {
862
- display: flex;
833
+ .apirocket-checkout-mobile-wrapper-cart {
834
+ display: inline-flex;
863
835
  align-items: center;
864
- text-align: left;
865
- margin-top: 40px;
866
- margin-bottom: 40px;
867
- color: #737373;
868
- font-size: 16px;
869
- font-weight: normal;
836
+ color: #404040;
870
837
  cursor: pointer;
871
838
  }
872
839
 
873
- .apirocket-checkout-close {
874
- display: none;
875
- cursor: pointer;
876
- position: absolute;
877
- top: 16px;
878
- right: 32px;
840
+ .apirocket-checkout-mobile-wrapper-cart svg { margin-right: 8px; }
841
+
842
+ .apirocket-checkout-mobile-wrapper-total {
843
+ line-height: 20px;
844
+ font-size: 20px;
845
+ font-weight: bold;
879
846
  }
880
847
 
881
- .apirocket-checkout-summary-container {
882
- display: flex;
883
- flex-flow: column;
884
- max-height: calc(100vh - 5%);
848
+ .apirocket-checkout-mobile-summary {
849
+ background-color: #f5f5f5;
850
+ transition-property: max-height;
851
+ transition-timing-function: ease-in;
852
+ transition-duration: 350ms;
853
+ max-height: 0px;
885
854
  overflow: hidden;
855
+ border-bottom: 1px solid #d9d9d9;
886
856
  }
887
857
 
888
- .apirocket-checkout-summary-top {
889
- flex: 0 0 auto;
858
+ .apirocket-checkout-mobile-summary--show {
859
+ max-height: 1000px;
860
+ overflow: auto;
890
861
  }
891
862
 
892
- .apirocket-checkout-summary-content {
893
- flex: 1 1 auto;
894
- overflow-y: scroll;
863
+ .apirocket-checkout-mobile-summary-wrapper {
864
+ width: 90%;
865
+ max-width: 560px;
866
+ padding: 16px 0px;
867
+ margin: 0 auto;
895
868
  }
896
869
 
897
- .apirocket-checkout-summary-footer {
898
- flex: 0 0 auto;
899
- }
900
870
 
901
- .apirocket-checkout-summary-login {
902
- display: flex;
903
- align-items: center;
904
- justify-content: end;
905
- text-align: right;
906
- margin-top: 40px;
907
- margin-bottom: 40px;
908
- color: #737373;
909
- font-size: 16px;
910
- font-weight: normal;
911
- cursor: pointer;
912
- }
913
871
 
914
- .apirocket-checkout-summary-login svg,
915
- .apirocket-checkout-continue svg { margin-right: 16px; }
872
+ /* Utils */
916
873
 
917
- .apirocket-checkout-summary-header {
874
+ .apirocket-checkout-row {
918
875
  display: flex;
919
876
  justify-content: space-between;
920
- align-items: center;
921
- margin-top: 56px;
922
- margin-bottom: 48px;
877
+ align-items: flex-start;
878
+ }
879
+ .apirocket-checkout-row > * {
880
+ flex: 1 1;
881
+ margin-right: 16px;
923
882
  }
924
883
 
925
- .apirocket-checkout-summary-header :last-child a {
926
- font-size: 14px;
927
- font-weight: normal;
928
- color: #737373;
884
+ .apirocket-checkout-row > *:last-child { margin-right: 0; }
885
+
886
+ .apirocket-checkout-fieldset {
887
+ border: 1px solid #d9d9d9;
888
+ border-radius: 4px;
889
+ overflow: hidden;
929
890
  }
930
891
 
931
- .apirocket-checkout-summary-item {
932
- display: flex;
933
- justify-content: stretch;
934
- align-items: flex-start;
935
- padding-bottom: 16px;
892
+ .apirocket-checkout-fieldset > :last-child { border-bottom: none; }
893
+
894
+ .apirocket-checkout-fieldset .apirocket-form-input,
895
+ .apirocket-checkout-fieldset .apirocket-form-select,
896
+ .apirocket-checkout-fieldset .apirocket-form-checkbox,
897
+ .apirocket-checkout-fieldset .apirocket-form-radio { margin-bottom: 0; }
898
+ .apirocket-checkout-fieldset .apirocket-form-radio .form-radio-label { font-size: 16px; }
899
+
900
+ .apirocket-checkout-fieldset > * {
901
+ padding: 16px;
936
902
  border-bottom: 1px solid #d9d9d9;
937
- margin-bottom: 16px;
938
903
  }
939
-
940
- .apirocket-checkout-summary-item-col-image {
904
+ .apirocket-checkout-fieldset-row {
905
+ display: flex;
906
+ justify-content: space-between;
907
+ align-items: flex-start;
908
+ }
909
+ .apirocket-checkout-fieldset-row > * { flex: 1 1; margin-right: 16px; }
910
+ .apirocket-checkout-fieldset-row > :first-child { flex: 1 1 auto;}
911
+ .apirocket-checkout-fieldset-row > :last-child {
941
912
  flex: 0 0 auto;
942
- max-width: 100px;
943
- border: 1px solid #e5e5e5;
944
- border-radius: 4px;
945
- overflow: hidden;
913
+ margin-right: 0px;
914
+ font-size: 16px;
915
+ font-weight: bold;
916
+ line-height: 20px;
917
+ color: #404040;
946
918
  }
947
919
 
948
- .apirocket-checkout-summary-item-col-image img {
920
+ .apirocket-checkout-fieldset-row > :last-child img {
949
921
  display: block;
950
- max-width: 100%;
951
- max-height: 100px;
952
- }
953
-
954
- .apirocket-checkout-summary-item-col-description {
955
- flex: 1 1 auto;
956
- padding-left: 16px;
957
- padding-right: 8px;
958
- font-size: 14px;
959
- font-weight: bold;
960
- line-height: 18px;
961
- }
962
-
963
- .apirocket-checkout-summary-item-col-description small {
964
- display: block;
965
- font-size: 14px;
966
- font-weight: normal;
967
- color: #a3a3a3;
968
- }
969
-
970
- .apirocket-checkout-summary-item-col-quantity {
971
- flex: 0 0 50px;
972
- font-size: 16px;
973
- font-weight: normal;
974
- color: #a3a3a3;
975
- text-align: right;
976
- }
977
-
978
- .apirocket-checkout-summary-item-col-price {
979
- flex: 0 0 100px;
980
- font-size: 16px;
981
- font-weight: bold;
982
- color: #404040;
983
- text-align: right;
984
- }
985
-
986
- .apirocket-checkout-summary-row {
987
- display: flex;
988
- justify-content: space-between;
989
- align-items: center;
990
- padding-top: 16px;
991
- }
992
-
993
- .apirocket-checkout-summary-label {
994
- font-size: 16px;
995
- font-weight: normal;
996
- line-height: 18px;
997
- color: #404040;
998
- }
999
-
1000
- .apirocket-checkout-summary-value {
1001
- font-size: 18px;
1002
- font-weight: bold;
1003
- line-height: 18px;
1004
- color: #404040;
1005
- }
1006
-
1007
- .apirocket-checkout-summary-row-total {
1008
- display: flex;
1009
- justify-content: space-between;
1010
- align-items: flex-start;
1011
- border-top: 1px solid #d9d9d9;
1012
- margin-top: 24px;
1013
- padding-top: 24px;
1014
- }
1015
-
1016
- .apirocket-checkout-summary-label-total {
1017
- font-size: 18px;
1018
- font-weight: bold;
1019
- line-height: 21px;
1020
- color: #404040;
1021
- }
1022
- .apirocket-checkout-summary-label-total small {
1023
- display: block;
1024
- font-size: 14px;
1025
- line-height: 16px;
1026
- font-weight: normal;
1027
- color: #a3a3a3;
1028
- }
1029
-
1030
- .apirocket-checkout-summary-value-total {
1031
- font-size: 24px;
1032
- font-weight: bold;
1033
- line-height: 24px;
1034
- color: #404040;
1035
- }
1036
-
1037
- .apirocket-checkout-breadcrumbs ol {
1038
- display: flex;
1039
- align-items: center;
1040
- list-style: none;
1041
- padding: 0;
1042
- margin: 0;
1043
- margin-top: 24px;
1044
- }
1045
-
1046
- .apirocket-checkout-breadcrumbs ol li {
1047
- cursor: pointer;
1048
- color: #a3a3a3;
1049
- font-size: 14px;
1050
- line-height: 1;
1051
- }
1052
-
1053
- .apirocket-checkout-breadcrumbs ol li::after {
1054
- width: 5px;
1055
- height: 9px;
1056
- display: inline-block;
1057
- content: "";
1058
- background-image: url("data:image/svg+xml,%3Csvg fill='none' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 5 9'%3E%3Cpath d='M1.164.2a.682.682 0 00-.964.964l3.154 3.154L.2 7.472a.682.682 0 10.964.965L4.8 4.8a.682.682 0 000-.964L1.164.2z' fill='%23A3A3A3'/%3E%3C/svg%3E");
1059
- background-repeat: no-repeat;
1060
- background-position: center;
1061
- padding: 0 8px;
1062
- }
1063
-
1064
- .apirocket-checkout-breadcrumbs ol li:last-child::after { display: none; }
1065
-
1066
- .apirocket-checkout-breadcrumbs ol li a {
1067
- color: #a3a3a3;
1068
- text-decoration: underline;
1069
- }
1070
-
1071
- .apirocket-checkout-breadcrumbs-active {
1072
- font-weight: bold;
1073
- color: #404040 !important;
1074
- }
1075
-
1076
- .apirocket-checkout-steps-summary {
1077
- border: 1px solid #d9d9d9;
1078
- border-radius: 4px;
1079
- overflow: hidden;
1080
- margin-top: 48px;
1081
- }
1082
-
1083
- .apirocket-checkout-steps-summary-row {
1084
- display: flex;
1085
- position: relative;
1086
- border-bottom: 1px solid #d9d9d9;
1087
- padding: 16px;
1088
- }
1089
-
1090
- .apirocket-checkout-steps-summary-label {
1091
- flex: 0 0 90px;
1092
- font-size: 14px;
1093
- font-weight: normal;
1094
- line-height: 14px;
1095
- color: #a3a3a3;
1096
- }
1097
-
1098
- .apirocket-checkout-steps-summary-text {
1099
- flex: 1 1 auto;
1100
- font-size: 14px;
1101
- font-weight: normal;
1102
- line-height: 18px;
1103
- color: #404040;
1104
- }
1105
-
1106
- .apirocket-checkout-steps-summary-link {
1107
- flex: 0 0 60px;
1108
- text-align: right;
1109
- font-size: 12px;
1110
- font-weight: normal;
1111
- line-height: 1;
1112
- text-decoration: underline;
1113
- color: #737373;
1114
- cursor: pointer;
1115
- }
1116
-
1117
- .apirocket-checkout-section {
1118
- margin-top: 48px;
1119
- }
1120
-
1121
- .apirocket-checkout-section-header {
1122
- margin-bottom: 24px;
1123
- }
1124
-
1125
- .apirocket-checkout-section-title {
1126
- font-size: 18px;
1127
- font-weight: bold;
1128
- line-height: 1;
1129
- color: #404040;
1130
- }
1131
-
1132
- .apirocket-checkout-section-subtitle {
1133
- font-size: 12px;
1134
- font-weight: normal;
1135
- padding-top: 4px;
1136
- line-height: 1;
1137
- color: #a3a3a3;
1138
- text-align: right;
1139
- }
1140
-
1141
- .apirocket-checkout-button-edit {
1142
- cursor: pointer;
1143
- }
1144
-
1145
- .apirocket-checkout-button-edit:hover {
1146
- text-decoration: underline;
1147
- }
1148
-
1149
- .apirocket-checkout-section a {
1150
- color: #404040;
1151
- outline: none;
1152
- text-decoration: underline;
1153
- }
1154
-
1155
- .apirocket-checkout-section-text {
1156
- font-size: 14px;
1157
- line-height: 1;
1158
- margin-top: 4px;
1159
- color: #737373;
1160
- }
1161
-
1162
- .apirocket-checkout-actions {
1163
- display: flex;
1164
- margin-top: 64px;
1165
- align-items: center;
1166
- max-width: 100%;
1167
- }
1168
-
1169
- .apirocket-checkout-actions > * { flex: 1 1; }
1170
-
1171
- .apirocket-checkout-footer {
1172
- margin-top: 72px;
1173
- border-top: 1px solid #d9d9d9;
1174
- margin-bottom: 64px;
1175
- padding-top: 16px;
1176
- }
1177
-
1178
- .apirocket-checkout-footer ul {
1179
- display: flex;
1180
- align-items: center;
1181
- list-style: none;
1182
- padding: 0;
1183
- margin: 0;
1184
- }
1185
-
1186
- .apirocket-checkout-footer ul li { margin-right: 16px; }
1187
-
1188
- .apirocket-checkout-footer ul li a {
1189
- color: #404040;
1190
- font-size: 14px;
1191
- line-height: 1;
1192
- text-decoration: none;
1193
- }
1194
-
1195
- .apirocket-checkout-footer ul li a:focus {
1196
- outline: none;
1197
- text-decoration: underline;
1198
- }
1199
-
1200
- .apircoket-checkout-legal {
1201
- margin-top: 16px;
1202
- font-size: 14px;
1203
- color: #737373;
1204
- font-weight: normal;
1205
- line-height: 1.4;
1206
- }
1207
-
1208
- .apircoket-checkout-legal a {
1209
- text-decoration: underline;
1210
- color: #404040;
1211
- }
1212
-
1213
- .apirocket-checkout-logo img {
1214
- display: block;
1215
- max-height: 80px;
1216
- }
1217
-
1218
- .apirocket-checkout-mobile { display: none; }
1219
-
1220
- .apirocket-checkout-mobile .apirocket-checkout-logo {
1221
- display: block;
1222
- margin-top: 16px;
1223
- margin-bottom: 16px;
1224
- }
1225
- .apirocket-checkout-mobile .apirocket-checkout-logo img {
1226
- display: block;
1227
- margin: auto;
1228
- max-height: 80px;
1229
- }
1230
-
1231
- .apirocket-checkout-mobile-menu {
1232
- background-color: #f5f5f5;
1233
- border-top: 1px solid #d9d9d9;
1234
- }
1235
-
1236
- .apirocket-checkout-mobile-wrapper {
1237
- display: flex;
1238
- justify-content: space-between;
1239
- align-items: center;
1240
- width: 90%;
1241
- max-width: 560px;
1242
- margin: 0 auto;
1243
- padding: 16px 0px;
1244
- color: #404040;
1245
- }
1246
-
1247
- .apirocket-checkout-mobile-wrapper-cart {
1248
- display: inline-flex;
1249
- align-items: center;
1250
- color: #404040;
1251
- cursor: pointer;
1252
- }
1253
-
1254
- .apirocket-checkout-mobile-wrapper-cart svg { margin-right: 8px; }
1255
-
1256
- .apirocket-checkout-mobile-wrapper-total {
1257
- line-height: 20px;
1258
- font-size: 20px;
1259
- font-weight: bold;
1260
- }
1261
-
1262
- .apirocket-checkout-mobile-summary {
1263
- background-color: #f5f5f5;
1264
- transition-property: max-height;
1265
- transition-timing-function: ease-in;
1266
- transition-duration: 350ms;
1267
- max-height: 0px;
1268
- overflow: hidden;
1269
- border-bottom: 1px solid #d9d9d9;
1270
- }
1271
-
1272
- .apirocket-checkout-mobile-summary--show {
1273
- max-height: 1000px;
1274
- overflow: auto;
1275
- }
1276
-
1277
- .apirocket-checkout-mobile-summary-wrapper {
1278
- width: 90%;
1279
- max-width: 560px;
1280
- padding: 16px 0px;
1281
- margin: 0 auto;
1282
- }
1283
-
1284
-
1285
-
1286
- /* Utils */
1287
-
1288
- .apirocket-checkout-row {
1289
- display: flex;
1290
- justify-content: space-between;
1291
- align-items: flex-start;
1292
- }
1293
- .apirocket-checkout-row > * {
1294
- flex: 1 1;
1295
- margin-right: 16px;
1296
- }
1297
-
1298
- .apirocket-checkout-row > *:last-child { margin-right: 0; }
1299
-
1300
- .apirocket-checkout-fieldset {
1301
- border: 1px solid #d9d9d9;
1302
- border-radius: 4px;
1303
- overflow: hidden;
1304
- }
1305
-
1306
- .apirocket-checkout-fieldset > :last-child { border-bottom: none; }
1307
-
1308
- .apirocket-checkout-fieldset .apirocket-form-input,
1309
- .apirocket-checkout-fieldset .apirocket-form-select,
1310
- .apirocket-checkout-fieldset .apirocket-form-checkbox,
1311
- .apirocket-checkout-fieldset .apirocket-form-radio { margin-bottom: 0; }
1312
- .apirocket-checkout-fieldset .apirocket-form-radio .form-radio-label { font-size: 16px; }
1313
-
1314
- .apirocket-checkout-fieldset > * {
1315
- padding: 16px;
1316
- border-bottom: 1px solid #d9d9d9;
1317
- }
1318
- .apirocket-checkout-fieldset-row {
1319
- display: flex;
1320
- justify-content: space-between;
1321
- align-items: flex-start;
1322
- }
1323
- .apirocket-checkout-fieldset-row > * { flex: 1 1; margin-right: 16px; }
1324
- .apirocket-checkout-fieldset-row > :first-child { flex: 1 1 auto;}
1325
- .apirocket-checkout-fieldset-row > :last-child {
1326
- flex: 0 0 auto;
1327
- margin-right: 0px;
1328
- font-size: 16px;
1329
- font-weight: bold;
1330
- line-height: 20px;
1331
- color: #404040;
1332
- }
1333
-
1334
- .apirocket-checkout-fieldset-row > :last-child img {
1335
- display: block;
1336
- max-height: 24px;
922
+ max-height: 24px;
1337
923
  }
1338
924
 
1339
925
  .apirocket-checkout-fieldset-row-wrapper {
@@ -1495,245 +1081,489 @@ button.apirocket-button-primary:disabled {
1495
1081
  }
1496
1082
 
1497
1083
 
1498
- .apirocket-tabs {
1084
+
1085
+ .apirocket-summary {}
1086
+
1087
+ .apirocket-summary-top {
1088
+ margin-top: 56px;
1089
+ margin-bottom: 32px;
1090
+ }
1091
+
1092
+ .apirocket-summary-header {
1499
1093
  display: flex;
1500
- position: relative;
1501
- justify-content: center;
1502
- border-bottom: 1px solid #e5e5e5;
1503
- overflow-x: auto;
1094
+ justify-content: flex-start;
1095
+ align-items: center;
1096
+ margin-bottom: 32px;
1504
1097
  }
1505
1098
 
1506
- .apirocket-tab {
1099
+ .apirocket-summary-header-icon {
1100
+ flex: 0 1;
1101
+ margin-right: 16px;
1102
+ }
1103
+
1104
+ .apirocket-summary-header-content {}
1105
+
1106
+ .apirocket-summary-header-title {
1107
+ font-size: 24px;
1108
+ font-weight: bold;
1109
+ line-height: 1.2;
1110
+ color: #404040;
1111
+ margin-bottom: 4px;
1112
+ }
1113
+
1114
+ .apirocket-summary-header-subtitle {
1115
+ font-size: 18px;
1116
+ font-weight: normal;
1117
+ line-height: 1.2;
1507
1118
  color: #737373;
1508
- padding: 16px 24px 13px 24px;
1119
+ }
1120
+
1121
+ .apirocket-summary-section {
1122
+ margin-top: 16px;
1123
+ border: 1px solid #d9d9d9;
1124
+ border-radius: 4px;
1125
+ padding: 24px;
1126
+ }
1127
+
1128
+ .apirocket-summary-section .apirocket-checkout-row { margin-bottom: 32px; }
1129
+ .apirocket-summary-section .apirocket-checkout-row:last-child { margin-bottom: 0px; }
1130
+
1131
+ .apirocket-summary-section-title {
1132
+ font-size: 18px;
1133
+ font-weight: bold;
1134
+ line-height: 1.2;
1135
+ color: #404040;
1136
+ margin-bottom: 24px;
1137
+ }
1138
+
1139
+ .apirocket-summary-section-subtitle {
1509
1140
  font-size: 16px;
1510
- border-bottom: 3px solid #fff;
1511
- cursor: pointer;
1512
- white-space: nowrap;
1141
+ font-weight: bold;
1142
+ line-height: 1;
1143
+ color: #404040;
1144
+ margin-bottom: 16px;
1513
1145
  }
1514
1146
 
1515
- .apirocket-tab-active {
1147
+ .apirocket-summary-section-text {
1148
+ font-size: 14px;
1149
+ font-weight: normal;
1150
+ line-height: 18px;
1151
+ color: #404040;
1152
+ }
1153
+
1154
+ .apirocket-summary-help {
1155
+ display: flex;
1156
+ justify-content: flex-start;
1157
+ align-items: center;
1158
+ }
1159
+
1160
+ .apirocket-summary-help-icon {
1161
+ flex: 0 1;
1162
+ padding-right: 12px;
1163
+ }
1164
+
1165
+ .apirocket-summary-help-content {
1166
+ font-size: 14px;
1167
+ font-weight: normal;
1168
+ line-height: 1.2;
1516
1169
  color: #404040;
1170
+ }
1171
+
1172
+ .apirocket-summary-help-content a {
1173
+ display: block;
1174
+ color: #737373;
1175
+ }
1176
+
1177
+ @media (max-width: 1000px) {
1178
+ .apirocket-summary-top { display: none; }
1179
+ .apirocket-summary-header { margin-top: 32px; }
1180
+ }
1181
+
1182
+ @media (max-width: 720px) {
1183
+ .apirocket-summary-section-subtitle { margin-top: 24px; }
1184
+ .apirocket-summary-header {
1185
+ flex-direction: column;
1186
+ align-items: center;
1187
+ text-align: center;
1188
+ }
1189
+ .apirocket-summary-header-icon {
1190
+ margin-right: 0px;
1191
+ margin-bottom: 16px;
1192
+ }
1193
+ .apirocket-summary-header-title {
1194
+ font-size: 28px;
1195
+ margin-bottom: 8px;
1196
+ }
1197
+ }
1198
+ .apirocket-modal *,
1199
+ .apirocket-modal *::before,
1200
+ .apirocket-modal *::after { box-sizing: border-box; }
1201
+
1202
+ .apirocket-modal {
1203
+ display: flex;
1204
+ justify-content: center;
1205
+ align-items: flex-start;
1206
+ position: fixed;
1207
+ z-index: 10001;
1208
+ right: 0;
1209
+ top: 0;
1210
+ overflow: hidden;
1211
+ overflow-y: auto;
1212
+ width: 100%;
1213
+ height: 100vh;
1214
+ font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
1215
+ background-color: #f5f5f5;
1216
+ }
1217
+
1218
+ .apirocket-modal-nav {
1219
+ position: absolute;
1220
+ display: flex;
1221
+ align-items: center;
1222
+ width: 90%;
1223
+ max-width: 1100px;
1224
+ height: 96px;
1225
+ }
1226
+
1227
+ .apirocket-modal-nav-button {
1228
+ display: flex;
1229
+ align-items: center;
1230
+ text-align: left;
1231
+ color: #737373;
1232
+ font-size: 16px;
1233
+ font-weight: normal;
1234
+ cursor: pointer;
1235
+ }
1236
+
1237
+ .apirocket-modal-nav-button svg { margin-right: 16px; }
1238
+
1239
+ .apirocket-modal-content {
1240
+ display: flex;
1241
+ flex-flow: column;
1242
+ width: 480px;
1243
+ height: auto;
1244
+ padding: 32px;
1245
+ background-color: #fff;
1246
+ margin-top: 96px;
1247
+ margin-bottom: 32px;
1248
+ }
1249
+
1250
+ .apirocket-modal-header {
1251
+ position: relative;
1252
+ padding-bottom: 32px;
1253
+ }
1254
+
1255
+ .apirocket-modal-title {
1256
+ font-size: 18px;
1517
1257
  font-weight: bold;
1518
- border-bottom: 3px solid #404040;
1258
+ line-height: 1;
1259
+ color: #404040;
1260
+ margin-bottom: 8px;
1519
1261
  }
1520
1262
 
1521
- .apirocket-tab-menu {
1263
+ .apirocket-modal-subtitle {
1264
+ font-size: 14px;
1265
+ font-weight: normal;
1266
+ line-height: 16px;
1267
+ color: #737373;
1268
+ }
1269
+
1270
+ .apirocket-modal-close {
1522
1271
  position: absolute;
1523
- display: none;
1524
- right: 32px;
1525
- top: 16px;
1272
+ right: -16px;
1273
+ top: -16px;
1274
+ }
1275
+
1276
+ .apirocket-modal-close-icon {
1277
+ height: var(--cart-header-text-close-icon-size, 24px);
1278
+ width: var(--cart-header-text-close-icon-size, 24px);
1279
+ color: var(--cart-header-text-close-icon-color, #a3a3a3);
1280
+ cursor: pointer;
1281
+ }
1282
+
1283
+ .apirocket-modal-body-text-password {
1526
1284
  color: #404040;
1285
+ font-size: 14px;
1286
+ font-weight: normal;
1287
+ line-height: 16px;
1288
+ margin-top: -8px;text-align: right;
1289
+ cursor: pointer;
1527
1290
  }
1528
1291
 
1529
- .apirocket-tab-panel {
1530
- display: none;
1531
- padding: 32px;
1292
+ .apirocket-modal-body-text-password:hover { text-decoration: underline; }
1293
+
1294
+ .apirocket-modal-footer-text {
1295
+ color: #a3a3a3;
1296
+ font-size: 14px;
1297
+ font-weight: normal;
1298
+ line-height: 16px;
1299
+ text-align: center;
1300
+ margin-top: 16px;
1301
+ }
1302
+
1303
+ .apirocket-modal-footer-text span {
1304
+ color: #404040;
1305
+ cursor: pointer;
1306
+ }
1307
+
1308
+ .apirocket-modal-footer-text span:hover { text-decoration: underline; }
1309
+
1310
+
1311
+ .apirocket-modal-body {}
1312
+
1313
+ .apirocket-modal-footer {
1314
+ padding-top: 32px;
1532
1315
  }
1533
1316
 
1534
- .apirocket-tab-panel-active {
1535
- display: block ;
1317
+ .apirocket-modal-row {
1318
+ display: flex;
1319
+ justify-content: space-between;
1320
+ align-items: flex-start;
1536
1321
  }
1537
1322
 
1538
- .apirocket-tab-panel-max-with {
1539
- width: 100%;
1540
- max-width: 592px;
1541
- margin: auto;
1323
+ .apirocket-modal-row > * {
1324
+ flex: 1 1;
1325
+ margin-right: 16px;
1542
1326
  }
1543
1327
 
1328
+ .apirocket-modal-row > *:last-child { margin-right: 0; }
1329
+
1330
+
1544
1331
  @media (max-width: 720px) {
1545
-
1546
- .apirocket-tabs {
1547
- display: block;
1548
- padding-left: 32px;
1549
- padding-right: 32px;
1550
- }
1332
+ .apirocket-modal-row { display: block; }
1333
+ .apirocket-modal-row > * { margin-right: 0; }
1551
1334
 
1552
-
1553
- .apirocket-tab {
1554
- border-bottom-color: #fff;
1555
- padding-left: 0px;
1556
- padding-right: 0;
1335
+ .apirocket-modal-nav { display: none; }
1336
+
1337
+ .apirocket-modal-content {
1338
+ width: 95%;
1339
+ margin-top: 32px;
1340
+ padding: 24px;
1557
1341
  }
1558
1342
 
1559
- .apirocket-tab:not(.apirocket-tab-active) { display: none; }
1560
- .apirocket-tabs.apirocket-tabs-menu-active .apirocket-tab { display: block; }
1561
- .apirocket-tab-menu { display: block !important; }
1343
+ .apirocket-modal-close {
1344
+ right: -8px;
1345
+ top: -8px;
1346
+ }
1562
1347
  }
1563
- .apirocket-my-account * { box-sizing: content-box; }
1564
1348
 
1565
- .apirocket-my-account {
1566
- position: fixed;
1567
- z-index: 10000;
1568
- right: 0;
1569
- top: 0;
1570
- overflow: hidden;
1571
- width: 100%;
1572
- height: 100vh;
1573
- font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
1574
- background-color: #fff;
1349
+ .apirocket-modal-messaje {
1350
+ margin-top: 32px;
1351
+ margin-bottom: 32px;
1352
+ text-align: center;
1575
1353
  }
1576
1354
 
1577
- .apirocket-my-account-content {
1578
- display: flex;
1579
- flex-direction: column;
1580
- justify-content: space-between;
1581
- height: 100%;
1582
- overflow: hidden;
1355
+ .apirocket-modal-message-icon {
1356
+ display: inline-flex;
1357
+ justify-content: center;
1358
+ align-items: center;
1359
+ width: 48px;
1360
+ height: 48px;
1361
+ border-radius: 24px;
1362
+ margin: auto;
1363
+ margin-bottom: 32px;
1583
1364
  }
1584
1365
 
1585
-
1586
- .apirocket-my-account-header {
1587
- display: flex;
1588
- flex: none;
1589
- height: 96px;
1590
- align-items: center;
1591
- justify-content: space-between;
1592
- padding: 0px 32px;
1593
- margin-bottom: 16px;
1594
- background-color: #f5f5f5;
1366
+ .apirocket-modal-message-icon-ok {
1367
+ background-color: #d1fae5;
1368
+ color: #10b981;
1595
1369
  }
1596
1370
 
1597
- .apirocket-my-account-header-title {
1371
+ .apirocket-modal-message-title {
1598
1372
  font-size: 18px;
1599
- font-weight: normal;
1373
+ font-weight: bold;
1374
+ line-height: 1;
1375
+ text-align: center;
1600
1376
  color: #404040;
1377
+ margin-bottom: 16px;
1601
1378
  }
1602
1379
 
1603
- .apirocket-my-account-header-close-icon {
1604
- height: var(--cart-header-text-close-icon-size, 24px);
1605
- width: var(--cart-header-text-close-icon-size, 24px);
1606
- color: var(--cart-header-text-close-icon-color, #a3a3a3);
1607
- cursor: pointer;
1608
- }
1609
-
1610
- .apirocket-my-account-header-continue {
1611
- display: none;
1612
- align-items: center;
1613
- text-align: left;
1380
+ .apirocket-modal-message-text {
1614
1381
  color: #737373;
1615
- font-size: 16px;
1382
+ font-size: 14px;
1616
1383
  font-weight: normal;
1617
- cursor: pointer;
1384
+ text-align: center;
1385
+ line-height: 16px;
1386
+ margin-bottom: 32px;
1618
1387
  }
1619
1388
 
1620
- .apirocket-my-account-header-logout {
1621
- display: none;
1622
- align-items: center;
1623
- text-align: right;
1624
- color: #737373;
1625
- font-size: 16px;
1626
- font-weight: normal;
1389
+ .apirocket-button,
1390
+ button.apirocket-button {
1391
+ box-sizing: border-box !important;
1392
+ display: block;
1393
+ width: 100%;
1394
+ padding: var(--cart-button-padding-y, 16px) var(--cart-button-padding-x, 16px);
1395
+ margin: 0px;
1396
+ border-radius: var(--cart-button-border-radius, 4px);
1397
+ background-color: var(--cart-button-background-color, transparent);
1398
+ border: 1px solid var(--cart-button-border-color, #e5e5e5);
1399
+ color: var(--cart-button-font-color, #737373);
1400
+ line-height: 1;
1401
+ font-size: var(--cart-button-font-size, 16px);
1402
+ font-weight: var(--cart-button-font-weight, normal);
1403
+ text-align: center;
1404
+ transition-property: color, border-color, background-color, box-shadow;
1405
+ transition-timing-function: ease;
1406
+ transition-duration: 350ms;
1627
1407
  cursor: pointer;
1628
1408
  }
1629
1409
 
1630
- .apirocket-my-account-header-logout svg,
1631
- .apirocket-my-account-header-continue svg { margin-right: 16px; }
1410
+ .apirocket-button:hover {
1411
+ background-color: var(--cart-button-background-color-hover, transparent);
1412
+ border-color: var(--cart-button-border-color-hover, #404040);
1413
+ color: var(--cart-button-font-color-hover, #404040);
1414
+ }
1632
1415
 
1416
+ .apirocket-button:focus {
1417
+ outline: none;
1418
+ text-decoration: underline;
1419
+ }
1420
+ /*
1421
+ .apirocket-button-loading {
1422
+ position: relative;
1423
+ } */
1633
1424
 
1425
+ .apirocket-button-wraper {
1426
+ position: relative;
1427
+ display: inline-block;
1428
+ width: 32px;
1429
+ }
1634
1430
 
1635
- .apirocket-my-account-body {
1636
- flex: 1 1;
1637
- display: flex;
1638
- flex-direction: column;
1639
- overflow: hidden;
1640
- padding: 0px;
1431
+ .apirocket-button-spinner {
1432
+ position: absolute;
1433
+ width: 22px;
1434
+ height: 22px;
1435
+ top: -11px;
1436
+ left: 0;
1437
+ right: 0;
1438
+ bottom: 0;
1439
+ margin: auto;
1440
+ border: 4px solid currentColor;
1441
+ border-top-color: transparent !important;
1442
+ border-radius: 50%;
1443
+ animation: button-loading-spinner 1s ease infinite;
1641
1444
  }
1642
1445
 
1643
- .apirocket-my-account-body .apirocket-tabs { flex: none; }
1446
+ @keyframes button-loading-spinner {
1447
+ from { transform: rotate(0turn) }
1448
+ to { transform: rotate(1turn) }
1449
+ }
1644
1450
 
1645
- .apirocket-my-account-body .apirocket-tabs-panels {
1646
- flex: 1 1;
1647
- overflow-y: auto;
1451
+ .apirocket-button-link,
1452
+ button.apirocket-button-link {
1453
+ display: flex;
1454
+ align-items: center;
1455
+ text-align: left;
1456
+ justify-content: flex-start;
1457
+ align-items: center;
1458
+ border: none;
1459
+ padding-left: 0;
1460
+ padding-right: 0;
1461
+ width: auto;
1462
+ overflow: hidden;
1463
+ white-space: nowrap;
1464
+ text-overflow: ellipsis;
1648
1465
  }
1649
1466
 
1650
- .apirocket-my-account-address {
1651
- border: 1px solid #d9d9d9;
1652
- padding: 16px 24px;
1653
- margin-bottom: 24px;
1654
- border-radius: 8px;
1467
+ .apirocket-button-link span {
1468
+ margin-left: 16px;
1469
+ margin-right: 16px;
1655
1470
  }
1656
1471
 
1657
- .apirocket-my-account-address-head {
1658
- display: flex;
1659
- justify-content: space-between;
1660
- margin-bottom: 16px;
1661
- font-size: 14px;
1662
- color: #404040;
1663
- font-weight: bold;
1472
+ .apirocket-button-primary,
1473
+ button.apirocket-button-primary {
1474
+ background-color: var(--cart-button-primary-background-color, #1d4ed8);
1475
+ border-color: var(--cart-button-primary-border-color, #1d4ed8);
1476
+ color: var(--cart-button-primary-text-color, #fff);
1664
1477
  }
1665
1478
 
1666
- .apirocket-my-account-address-content {
1667
- display: block;
1668
- font-size: 14px;
1669
- color: #737373;
1670
- font-weight: normal;
1671
- line-height: 1.5;
1672
- margin-bottom: 24px;
1479
+ button.apirocket-button-primary:disabled {
1480
+ background-color: #eee;
1481
+ border-color: #eee;
1482
+ color: #ccc;
1673
1483
  }
1674
1484
 
1675
- .apirocket-my-account-address-content strong {
1676
- display: inline-block;
1677
- color: #404040;
1678
- margin-bottom: 8px;
1485
+ .apirocket-button-primary:hover {
1486
+ background-color: var(--cart-button-primary-background-color-hover, #1d4ed8);
1487
+ border-color: var(--cart-button-primary-border-color-hover, #1d4ed8);
1488
+ color: var(--cart-button-primary-text-color-hover, #fff);
1489
+ box-shadow: var(--cart-shadow-button-primary-hover, none);
1679
1490
  }
1680
1491
 
1681
- .apirocket-my-account-address-content div:nth-child(2) {
1682
- margin-bottom: 8px;
1492
+
1493
+ @media (max-width: 720px) {
1494
+
1495
+ .apirocket-button-link {
1496
+ width: 100%;
1497
+ justify-content: center;
1498
+ }
1499
+
1683
1500
  }
1684
1501
 
1685
- .apirocket-my-account-address-content > div { width: 100%; }
1686
1502
 
1687
- .apirocket-my-account-address-footer {
1503
+ .apirocket-tabs {
1688
1504
  display: flex;
1689
- justify-content: space-between;
1690
- font-size: 14px;
1505
+ position: relative;
1506
+ justify-content: center;
1507
+ border-bottom: 1px solid #e5e5e5;
1508
+ overflow-x: auto;
1509
+ }
1510
+
1511
+ .apirocket-tab {
1691
1512
  color: #737373;
1692
- font-weight: normal;
1693
- line-height: 1.5;
1513
+ padding: 16px 24px 13px 24px;
1514
+ font-size: 16px;
1515
+ border-bottom: 3px solid #fff;
1516
+ cursor: pointer;
1517
+ white-space: nowrap;
1694
1518
  }
1695
1519
 
1696
- .apirocket-my-account-address-footer > div {
1697
- text-decoration: underline;
1698
- cursor: pointer;
1520
+ .apirocket-tab-active {
1521
+ color: #404040;
1522
+ font-weight: bold;
1523
+ border-bottom: 3px solid #404040;
1699
1524
  }
1700
1525
 
1701
- .apirocket-my-account-address-footer .apirocket-my-account-address-default {
1702
- display: inline-block;
1703
- background-color: #E4E4E7;
1704
- font-size: 12px;
1705
- color: #737373;
1706
- font-weight: normal;
1707
- line-height: 1;
1708
- text-decoration: none;
1709
- padding: 5px 12px;
1710
- border-radius: 6px;
1526
+ .apirocket-tab-menu {
1527
+ position: absolute;
1528
+ display: none;
1529
+ right: 32px;
1530
+ top: 16px;
1531
+ color: #404040;
1711
1532
  }
1712
1533
 
1534
+ .apirocket-tab-panel {
1535
+ display: none;
1536
+ padding: 32px;
1537
+ }
1713
1538
 
1539
+ .apirocket-tab-panel-active {
1540
+ display: block ;
1541
+ }
1714
1542
 
1715
- @media (min-width: 720px) {
1543
+ .apirocket-tab-panel-max-with {
1544
+ width: 100%;
1545
+ max-width: 592px;
1546
+ margin: auto;
1547
+ }
1716
1548
 
1717
- .apirocket-my-account-content {
1718
- width: 90%;
1719
- max-width: 980px;
1720
- margin: 0 auto;
1549
+ @media (max-width: 720px) {
1550
+
1551
+ .apirocket-tabs {
1552
+ display: block;
1553
+ padding-left: 32px;
1554
+ padding-right: 32px;
1721
1555
  }
1722
1556
 
1723
- .apirocket-my-account-header {
1724
- height: 102px;
1725
- background-color: #fff;
1726
- margin-bottom: 0px;
1727
- }
1728
-
1729
- .apirocket-my-account-header-continue { display: flex; }
1730
- .apirocket-my-account-header-logout { display: flex; }
1731
- .apirocket-my-account-header-close { display: none; }
1732
- }
1557
+
1558
+ .apirocket-tab {
1559
+ border-bottom-color: #fff;
1560
+ padding-left: 0px;
1561
+ padding-right: 0;
1562
+ }
1733
1563
 
1734
- @media (max-width: 720px) {
1735
- .apirocket-my-account-header-continue { display: none; }
1736
- .apirocket-my-account-header-login { display: none; }
1564
+ .apirocket-tab:not(.apirocket-tab-active) { display: none; }
1565
+ .apirocket-tabs.apirocket-tabs-menu-active .apirocket-tab { display: block; }
1566
+ .apirocket-tab-menu { display: block !important; }
1737
1567
  }
1738
1568
  .apirocket-form-input {
1739
1569
  display: block;
@@ -2124,6 +1954,7 @@ button.apirocket-button-primary:disabled {
2124
1954
  .apirocket-form-select.invalid.touched .apirocket-form-select-placeholder { color: #dc2626; }
2125
1955
  .apirocket-form-select.invalid.touched .apirocket-form-select-error-message { display: block; }
2126
1956
 
1957
+
2127
1958
  .apirocket-error-block {
2128
1959
  display: flex;
2129
1960
  justify-content: start;
@@ -2140,4 +1971,182 @@ button.apirocket-button-primary:disabled {
2140
1971
 
2141
1972
  .apirocket-error-block-icon {
2142
1973
  margin-right: 12px;
2143
- }.spinner.svelte-15qwtf3.svelte-15qwtf3{animation:svelte-15qwtf3-rotate 2s linear infinite;z-index:2;position:absolute;top:50%;left:50%;margin:-25px 0 0 -25px;width:50px;height:50px}.spinner.svelte-15qwtf3 .path.svelte-15qwtf3{stroke:rgb(161, 161, 170);stroke-linecap:round;animation:svelte-15qwtf3-dash 1.5s ease-in-out infinite}@keyframes svelte-15qwtf3-rotate{100%{transform:rotate(360deg)}}@keyframes svelte-15qwtf3-dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}
1974
+ }
1975
+
1976
+ .apirocket-my-account * { box-sizing: content-box; }
1977
+
1978
+ .apirocket-my-account {
1979
+ position: fixed;
1980
+ z-index: 10000;
1981
+ right: 0;
1982
+ top: 0;
1983
+ overflow: hidden;
1984
+ width: 100%;
1985
+ height: 100vh;
1986
+ font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
1987
+ background-color: #fff;
1988
+ }
1989
+
1990
+ .apirocket-my-account-content {
1991
+ display: flex;
1992
+ flex-direction: column;
1993
+ justify-content: space-between;
1994
+ height: 100%;
1995
+ overflow: hidden;
1996
+ }
1997
+
1998
+
1999
+ .apirocket-my-account-header {
2000
+ display: flex;
2001
+ flex: none;
2002
+ height: 96px;
2003
+ align-items: center;
2004
+ justify-content: space-between;
2005
+ padding: 0px 32px;
2006
+ margin-bottom: 16px;
2007
+ background-color: #f5f5f5;
2008
+ }
2009
+
2010
+ .apirocket-my-account-header-title {
2011
+ font-size: 18px;
2012
+ font-weight: normal;
2013
+ color: #404040;
2014
+ }
2015
+
2016
+ .apirocket-my-account-header-close-icon {
2017
+ height: var(--cart-header-text-close-icon-size, 24px);
2018
+ width: var(--cart-header-text-close-icon-size, 24px);
2019
+ color: var(--cart-header-text-close-icon-color, #a3a3a3);
2020
+ cursor: pointer;
2021
+ }
2022
+
2023
+ .apirocket-my-account-header-continue {
2024
+ display: none;
2025
+ align-items: center;
2026
+ text-align: left;
2027
+ color: #737373;
2028
+ font-size: 16px;
2029
+ font-weight: normal;
2030
+ cursor: pointer;
2031
+ }
2032
+
2033
+ .apirocket-my-account-header-logout {
2034
+ display: none;
2035
+ align-items: center;
2036
+ text-align: right;
2037
+ color: #737373;
2038
+ font-size: 16px;
2039
+ font-weight: normal;
2040
+ cursor: pointer;
2041
+ }
2042
+
2043
+ .apirocket-my-account-header-logout svg,
2044
+ .apirocket-my-account-header-continue svg { margin-right: 16px; }
2045
+
2046
+
2047
+
2048
+ .apirocket-my-account-body {
2049
+ flex: 1 1;
2050
+ display: flex;
2051
+ flex-direction: column;
2052
+ overflow: hidden;
2053
+ padding: 0px;
2054
+ }
2055
+
2056
+ .apirocket-my-account-body .apirocket-tabs { flex: none; }
2057
+
2058
+ .apirocket-my-account-body .apirocket-tabs-panels {
2059
+ flex: 1 1;
2060
+ overflow-y: auto;
2061
+ }
2062
+
2063
+ .apirocket-my-account-address {
2064
+ border: 1px solid #d9d9d9;
2065
+ padding: 16px 24px;
2066
+ margin-bottom: 24px;
2067
+ border-radius: 8px;
2068
+ }
2069
+
2070
+ .apirocket-my-account-address-head {
2071
+ display: flex;
2072
+ justify-content: space-between;
2073
+ margin-bottom: 16px;
2074
+ font-size: 14px;
2075
+ color: #404040;
2076
+ font-weight: bold;
2077
+ }
2078
+
2079
+ .apirocket-my-account-address-content {
2080
+ display: block;
2081
+ font-size: 14px;
2082
+ color: #737373;
2083
+ font-weight: normal;
2084
+ line-height: 1.5;
2085
+ margin-bottom: 24px;
2086
+ }
2087
+
2088
+ .apirocket-my-account-address-content strong {
2089
+ display: inline-block;
2090
+ color: #404040;
2091
+ margin-bottom: 8px;
2092
+ }
2093
+
2094
+ .apirocket-my-account-address-content div:nth-child(2) {
2095
+ margin-bottom: 8px;
2096
+ }
2097
+
2098
+ .apirocket-my-account-address-content > div { width: 100%; }
2099
+
2100
+ .apirocket-my-account-address-footer {
2101
+ display: flex;
2102
+ justify-content: space-between;
2103
+ font-size: 14px;
2104
+ color: #737373;
2105
+ font-weight: normal;
2106
+ line-height: 1.5;
2107
+ }
2108
+
2109
+ .apirocket-my-account-address-footer > div {
2110
+ text-decoration: underline;
2111
+ cursor: pointer;
2112
+ }
2113
+
2114
+ .apirocket-my-account-address-footer .apirocket-my-account-address-default {
2115
+ display: inline-block;
2116
+ background-color: #E4E4E7;
2117
+ font-size: 12px;
2118
+ color: #737373;
2119
+ font-weight: normal;
2120
+ line-height: 1;
2121
+ text-decoration: none;
2122
+ padding: 5px 12px;
2123
+ border-radius: 6px;
2124
+ }
2125
+
2126
+
2127
+
2128
+ @media (min-width: 720px) {
2129
+
2130
+ .apirocket-my-account-content {
2131
+ width: 90%;
2132
+ max-width: 980px;
2133
+ margin: 0 auto;
2134
+ }
2135
+
2136
+ .apirocket-my-account-header {
2137
+ height: 102px;
2138
+ background-color: #fff;
2139
+ margin-bottom: 0px;
2140
+ }
2141
+
2142
+ .apirocket-my-account-header-continue { display: flex; }
2143
+ .apirocket-my-account-header-logout { display: flex; }
2144
+ .apirocket-my-account-header-close { display: none; }
2145
+ }
2146
+
2147
+ @media (max-width: 720px) {
2148
+ .apirocket-my-account-header-continue { display: none; }
2149
+ .apirocket-my-account-header-login { display: none; }
2150
+ }
2151
+
2152
+ .spinner.svelte-15qwtf3.svelte-15qwtf3{animation:svelte-15qwtf3-rotate 2s linear infinite;z-index:2;position:absolute;top:50%;left:50%;margin:-25px 0 0 -25px;width:50px;height:50px}.spinner.svelte-15qwtf3 .path.svelte-15qwtf3{stroke:rgb(161, 161, 170);stroke-linecap:round;animation:svelte-15qwtf3-dash 1.5s ease-in-out infinite}@keyframes svelte-15qwtf3-rotate{100%{transform:rotate(360deg)}}@keyframes svelte-15qwtf3-dash{0%{stroke-dasharray:1, 150;stroke-dashoffset:0}50%{stroke-dasharray:90, 150;stroke-dashoffset:-35}100%{stroke-dasharray:90, 150;stroke-dashoffset:-124}}