apirocket 0.3.0 → 0.3.1

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,121 +392,7 @@
392
392
 
393
393
  .apirocket-cart-header-continue { display: none; }
394
394
  .apirocket-cart-header-login { display: none; }
395
- }
396
- .apirocket-button,
397
- button.apirocket-button {
398
- box-sizing: border-box !important;
399
- display: block;
400
- width: 100%;
401
- padding: var(--cart-button-padding-y, 16px) var(--cart-button-padding-x, 16px);
402
- margin: 0px;
403
- border-radius: var(--cart-button-border-radius, 4px);
404
- background-color: var(--cart-button-background-color, transparent);
405
- border: 1px solid var(--cart-button-border-color, #e5e5e5);
406
- color: var(--cart-button-font-color, #737373);
407
- line-height: 1;
408
- font-size: var(--cart-button-font-size, 16px);
409
- font-weight: var(--cart-button-font-weight, normal);
410
- text-align: center;
411
- transition-property: color, border-color, background-color, box-shadow;
412
- transition-timing-function: ease;
413
- transition-duration: 350ms;
414
- cursor: pointer;
415
- }
416
-
417
- .apirocket-button:hover {
418
- background-color: var(--cart-button-background-color-hover, transparent);
419
- border-color: var(--cart-button-border-color-hover, #404040);
420
- color: var(--cart-button-font-color-hover, #404040);
421
- }
422
-
423
- .apirocket-button:focus {
424
- outline: none;
425
- text-decoration: underline;
426
- }
427
- /*
428
- .apirocket-button-loading {
429
- position: relative;
430
- } */
431
-
432
- .apirocket-button-wraper {
433
- position: relative;
434
- display: inline-block;
435
- width: 32px;
436
- }
437
-
438
- .apirocket-button-spinner {
439
- position: absolute;
440
- width: 22px;
441
- height: 22px;
442
- top: -11px;
443
- left: 0;
444
- right: 0;
445
- bottom: 0;
446
- margin: auto;
447
- border: 4px solid currentColor;
448
- border-top-color: transparent !important;
449
- border-radius: 50%;
450
- animation: button-loading-spinner 1s ease infinite;
451
- }
452
-
453
- @keyframes button-loading-spinner {
454
- from { transform: rotate(0turn) }
455
- to { transform: rotate(1turn) }
456
- }
457
-
458
- .apirocket-button-link,
459
- button.apirocket-button-link {
460
- display: flex;
461
- align-items: center;
462
- text-align: left;
463
- justify-content: flex-start;
464
- align-items: center;
465
- border: none;
466
- padding-left: 0;
467
- padding-right: 0;
468
- width: auto;
469
- overflow: hidden;
470
- white-space: nowrap;
471
- text-overflow: ellipsis;
472
- }
473
-
474
- .apirocket-button-link span {
475
- margin-left: 16px;
476
- margin-right: 16px;
477
- }
478
-
479
- .apirocket-button-primary,
480
- button.apirocket-button-primary {
481
- background-color: var(--cart-button-primary-background-color, #1d4ed8);
482
- border-color: var(--cart-button-primary-border-color, #1d4ed8);
483
- color: var(--cart-button-primary-text-color, #fff);
484
- }
485
-
486
- button.apirocket-button-primary:disabled {
487
- background-color: #eee;
488
- border-color: #eee;
489
- color: #ccc;
490
- }
491
-
492
- .apirocket-button-primary:hover {
493
- background-color: var(--cart-button-primary-background-color-hover, #1d4ed8);
494
- border-color: var(--cart-button-primary-border-color-hover, #1d4ed8);
495
- color: var(--cart-button-primary-text-color-hover, #fff);
496
- box-shadow: var(--cart-shadow-button-primary-hover, none);
497
- }
498
-
499
-
500
- @media (max-width: 720px) {
501
-
502
- .apirocket-button-link {
503
- width: 100%;
504
- justify-content: center;
505
- }
506
-
507
- }
508
-
509
- .apirocket-summary {}
395
+ }.apirocket-summary {}
510
396
 
511
397
  .apirocket-summary-top {
512
398
  margin-top: 56px;
@@ -618,16 +504,12 @@ button.apirocket-button-primary:disabled {
618
504
  font-size: 28px;
619
505
  margin-bottom: 8px;
620
506
  }
621
- }.apirocket-modal *,
622
- .apirocket-modal *::before,
623
- .apirocket-modal *::after { box-sizing: border-box; }
507
+ }.apirocket-checkout * { box-sizing: content-box; }
624
508
 
625
- .apirocket-modal {
626
- display: flex;
627
- justify-content: center;
628
- align-items: flex-start;
509
+ .apirocket-checkout {
510
+ display: block;
629
511
  position: fixed;
630
- z-index: 10001;
512
+ z-index: 10000;
631
513
  right: 0;
632
514
  top: 0;
633
515
  overflow: hidden;
@@ -635,313 +517,112 @@ button.apirocket-button-primary:disabled {
635
517
  width: 100%;
636
518
  height: 100vh;
637
519
  font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
638
- background-color: #f5f5f5;
520
+ background-color: #fff;
639
521
  }
640
522
 
641
- .apirocket-modal-nav {
642
- position: absolute;
523
+ .apirocket-checkout-wrap {
643
524
  display: flex;
644
- align-items: center;
525
+ margin: 0 auto;
645
526
  width: 90%;
527
+ min-height: 100%;
646
528
  max-width: 1100px;
647
- height: 96px;
529
+ padding: 0 5%;
530
+
648
531
  }
649
532
 
650
- .apirocket-modal-nav-button {
533
+ .apirocket-checkout-main {
534
+ order: 1;
535
+ width: 52%;
536
+ padding-right: 48px;
537
+ }
538
+
539
+ .apirocket-checkout-summary {
540
+ order: 2;
541
+ position: relative;
542
+ width: 40%;
543
+ padding-left: 48px;
544
+ }
545
+
546
+ .apirocket-checkout-summary::after {
547
+ position: absolute;
548
+ display: block;
549
+ top: 0;
550
+ left: 0;
551
+ content: "";
552
+ width: 300%;
553
+ height: 100%;
554
+ background: #f5f5f5;
555
+ z-index: -1;
556
+ }
557
+
558
+ .apirocket-checkout-continue {
651
559
  display: flex;
652
560
  align-items: center;
653
561
  text-align: left;
562
+ margin-top: 40px;
563
+ margin-bottom: 40px;
654
564
  color: #737373;
655
565
  font-size: 16px;
656
566
  font-weight: normal;
657
- cursor: pointer;
567
+ cursor: pointer;
658
568
  }
659
569
 
660
- .apirocket-modal-nav-button svg { margin-right: 16px; }
570
+ .apirocket-checkout-close {
571
+ display: none;
572
+ cursor: pointer;
573
+ position: absolute;
574
+ top: 16px;
575
+ right: 32px;
576
+ }
661
577
 
662
- .apirocket-modal-content {
578
+ .apirocket-checkout-summary-container {
663
579
  display: flex;
664
580
  flex-flow: column;
665
- width: 480px;
666
- height: auto;
667
- padding: 32px;
668
- background-color: #fff;
669
- margin-top: 96px;
670
- margin-bottom: 32px;
671
- }
672
-
673
- .apirocket-modal-header {
674
- position: relative;
675
- padding-bottom: 32px;
676
- }
677
-
678
- .apirocket-modal-title {
679
- font-size: 18px;
680
- font-weight: bold;
681
- line-height: 1;
682
- color: #404040;
683
- margin-bottom: 8px;
581
+ max-height: calc(100vh - 5%);
582
+ overflow: hidden;
684
583
  }
685
584
 
686
- .apirocket-modal-subtitle {
687
- font-size: 14px;
688
- font-weight: normal;
689
- line-height: 16px;
690
- color: #737373;
585
+ .apirocket-checkout-summary-top {
586
+ flex: 0 0 auto;
691
587
  }
692
588
 
693
- .apirocket-modal-close {
694
- position: absolute;
695
- right: -16px;
696
- top: -16px;
589
+ .apirocket-checkout-summary-content {
590
+ flex: 1 1 auto;
591
+ overflow-y: scroll;
697
592
  }
698
593
 
699
- .apirocket-modal-close-icon {
700
- height: var(--cart-header-text-close-icon-size, 24px);
701
- width: var(--cart-header-text-close-icon-size, 24px);
702
- color: var(--cart-header-text-close-icon-color, #a3a3a3);
703
- cursor: pointer;
594
+ .apirocket-checkout-summary-footer {
595
+ flex: 0 0 auto;
704
596
  }
705
597
 
706
- .apirocket-modal-body-text-password {
707
- color: #404040;
708
- font-size: 14px;
598
+ .apirocket-checkout-summary-login {
599
+ display: flex;
600
+ align-items: center;
601
+ justify-content: end;
602
+ text-align: right;
603
+ margin-top: 40px;
604
+ margin-bottom: 40px;
605
+ color: #737373;
606
+ font-size: 16px;
709
607
  font-weight: normal;
710
- line-height: 16px;
711
- margin-top: -8px;text-align: right;
712
608
  cursor: pointer;
713
609
  }
714
610
 
715
- .apirocket-modal-body-text-password:hover { text-decoration: underline; }
611
+ .apirocket-checkout-summary-login svg,
612
+ .apirocket-checkout-continue svg { margin-right: 16px; }
716
613
 
717
- .apirocket-modal-footer-text {
718
- color: #a3a3a3;
719
- font-size: 14px;
720
- font-weight: normal;
721
- line-height: 16px;
722
- text-align: center;
723
- margin-top: 16px;
614
+ .apirocket-checkout-summary-header {
615
+ display: flex;
616
+ justify-content: space-between;
617
+ align-items: center;
618
+ margin-top: 56px;
619
+ margin-bottom: 48px;
724
620
  }
725
621
 
726
- .apirocket-modal-footer-text span {
727
- color: #404040;
728
- cursor: pointer;
729
- }
730
-
731
- .apirocket-modal-footer-text span:hover { text-decoration: underline; }
732
-
733
-
734
- .apirocket-modal-body {}
735
-
736
- .apirocket-modal-footer {
737
- padding-top: 32px;
738
- }
739
-
740
- .apirocket-modal-row {
741
- display: flex;
742
- justify-content: space-between;
743
- align-items: flex-start;
744
- }
745
-
746
- .apirocket-modal-row > * {
747
- flex: 1 1;
748
- margin-right: 16px;
749
- }
750
-
751
- .apirocket-modal-row > *:last-child { margin-right: 0; }
752
-
753
-
754
- @media (max-width: 720px) {
755
- .apirocket-modal-row { display: block; }
756
- .apirocket-modal-row > * { margin-right: 0; }
757
-
758
- .apirocket-modal-nav { display: none; }
759
-
760
- .apirocket-modal-content {
761
- width: 95%;
762
- margin-top: 32px;
763
- padding: 24px;
764
- }
765
-
766
- .apirocket-modal-close {
767
- right: -8px;
768
- top: -8px;
769
- }
770
- }
771
-
772
- .apirocket-modal-messaje {
773
- margin-top: 32px;
774
- margin-bottom: 32px;
775
- text-align: center;
776
- }
777
-
778
- .apirocket-modal-message-icon {
779
- display: inline-flex;
780
- justify-content: center;
781
- align-items: center;
782
- width: 48px;
783
- height: 48px;
784
- border-radius: 24px;
785
- margin: auto;
786
- margin-bottom: 32px;
787
- }
788
-
789
- .apirocket-modal-message-icon-ok {
790
- background-color: #d1fae5;
791
- color: #10b981;
792
- }
793
-
794
- .apirocket-modal-message-title {
795
- font-size: 18px;
796
- font-weight: bold;
797
- line-height: 1;
798
- text-align: center;
799
- color: #404040;
800
- margin-bottom: 16px;
801
- }
802
-
803
- .apirocket-modal-message-text {
804
- color: #737373;
805
- font-size: 14px;
806
- font-weight: normal;
807
- text-align: center;
808
- line-height: 16px;
809
- margin-bottom: 32px;
810
- }.apirocket-error-block {
811
- display: flex;
812
- justify-content: start;
813
- align-items: center;
814
- background-color: #fef2f2;
815
- padding: 16px;
816
- color: #dc2626;
817
- font-size: 14px;
818
- line-height: 18px;
819
- border-radius: 8px;
820
- margin-top: 16px;
821
- margin-bottom: 0px;
822
- }
823
-
824
- .apirocket-error-block-icon {
825
- margin-right: 12px;
826
- }.apirocket-checkout * { box-sizing: content-box; }
827
-
828
- .apirocket-checkout {
829
- display: block;
830
- position: fixed;
831
- z-index: 10000;
832
- right: 0;
833
- top: 0;
834
- overflow: hidden;
835
- overflow-y: auto;
836
- width: 100%;
837
- height: 100vh;
838
- font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
839
- background-color: #fff;
840
- }
841
-
842
- .apirocket-checkout-wrap {
843
- display: flex;
844
- margin: 0 auto;
845
- width: 90%;
846
- min-height: 100%;
847
- max-width: 1100px;
848
- padding: 0 5%;
849
-
850
- }
851
-
852
- .apirocket-checkout-main {
853
- order: 1;
854
- width: 52%;
855
- padding-right: 48px;
856
- }
857
-
858
- .apirocket-checkout-summary {
859
- order: 2;
860
- position: relative;
861
- width: 40%;
862
- padding-left: 48px;
863
- }
864
-
865
- .apirocket-checkout-summary::after {
866
- position: absolute;
867
- display: block;
868
- top: 0;
869
- left: 0;
870
- content: "";
871
- width: 300%;
872
- height: 100%;
873
- background: #f5f5f5;
874
- z-index: -1;
875
- }
876
-
877
- .apirocket-checkout-continue {
878
- display: flex;
879
- align-items: center;
880
- text-align: left;
881
- margin-top: 40px;
882
- margin-bottom: 40px;
883
- color: #737373;
884
- font-size: 16px;
885
- font-weight: normal;
886
- cursor: pointer;
887
- }
888
-
889
- .apirocket-checkout-close {
890
- display: none;
891
- cursor: pointer;
892
- position: absolute;
893
- top: 16px;
894
- right: 32px;
895
- }
896
-
897
- .apirocket-checkout-summary-container {
898
- display: flex;
899
- flex-flow: column;
900
- max-height: calc(100vh - 5%);
901
- overflow: hidden;
902
- }
903
-
904
- .apirocket-checkout-summary-top {
905
- flex: 0 0 auto;
906
- }
907
-
908
- .apirocket-checkout-summary-content {
909
- flex: 1 1 auto;
910
- overflow-y: scroll;
911
- }
912
-
913
- .apirocket-checkout-summary-footer {
914
- flex: 0 0 auto;
915
- }
916
-
917
- .apirocket-checkout-summary-login {
918
- display: flex;
919
- align-items: center;
920
- justify-content: end;
921
- text-align: right;
922
- margin-top: 40px;
923
- margin-bottom: 40px;
924
- color: #737373;
925
- font-size: 16px;
926
- font-weight: normal;
927
- cursor: pointer;
928
- }
929
-
930
- .apirocket-checkout-summary-login svg,
931
- .apirocket-checkout-continue svg { margin-right: 16px; }
932
-
933
- .apirocket-checkout-summary-header {
934
- display: flex;
935
- justify-content: space-between;
936
- align-items: center;
937
- margin-top: 56px;
938
- margin-bottom: 48px;
939
- }
940
-
941
- .apirocket-checkout-summary-header :last-child a {
942
- font-size: 14px;
943
- font-weight: normal;
944
- color: #737373;
622
+ .apirocket-checkout-summary-header :last-child a {
623
+ font-size: 14px;
624
+ font-weight: normal;
625
+ color: #737373;
945
626
  }
946
627
 
947
628
  .apirocket-checkout-summary-item {
@@ -1505,7 +1186,23 @@ button.apirocket-button-primary:disabled {
1505
1186
  }
1506
1187
 
1507
1188
 
1508
- .apirocket-form-input {
1189
+ .apirocket-error-block {
1190
+ display: flex;
1191
+ justify-content: start;
1192
+ align-items: center;
1193
+ background-color: #fef2f2;
1194
+ padding: 16px;
1195
+ color: #dc2626;
1196
+ font-size: 14px;
1197
+ line-height: 18px;
1198
+ border-radius: 8px;
1199
+ margin-top: 16px;
1200
+ margin-bottom: 0px;
1201
+ }
1202
+
1203
+ .apirocket-error-block-icon {
1204
+ margin-right: 12px;
1205
+ }.apirocket-form-input {
1509
1206
  display: block;
1510
1207
  position: relative;
1511
1208
  margin-bottom: 16px;
@@ -1894,4 +1591,307 @@ button.apirocket-button-primary:disabled {
1894
1591
  .apirocket-form-select.invalid.touched .apirocket-form-select-placeholder { color: #dc2626; }
1895
1592
  .apirocket-form-select.invalid.touched .apirocket-form-select-error-message { display: block; }
1896
1593
 
1594
+ .apirocket-modal *,
1595
+ .apirocket-modal *::before,
1596
+ .apirocket-modal *::after { box-sizing: border-box; }
1597
+
1598
+ .apirocket-modal {
1599
+ display: flex;
1600
+ justify-content: center;
1601
+ align-items: flex-start;
1602
+ position: fixed;
1603
+ z-index: 10001;
1604
+ right: 0;
1605
+ top: 0;
1606
+ overflow: hidden;
1607
+ overflow-y: auto;
1608
+ width: 100%;
1609
+ height: 100vh;
1610
+ font-family: var(--cart-font-family, "Arial, Helvetica, sans-serif");
1611
+ background-color: #f5f5f5;
1612
+ }
1613
+
1614
+ .apirocket-modal-nav {
1615
+ position: absolute;
1616
+ display: flex;
1617
+ align-items: center;
1618
+ width: 90%;
1619
+ max-width: 1100px;
1620
+ height: 96px;
1621
+ }
1622
+
1623
+ .apirocket-modal-nav-button {
1624
+ display: flex;
1625
+ align-items: center;
1626
+ text-align: left;
1627
+ color: #737373;
1628
+ font-size: 16px;
1629
+ font-weight: normal;
1630
+ cursor: pointer;
1631
+ }
1632
+
1633
+ .apirocket-modal-nav-button svg { margin-right: 16px; }
1634
+
1635
+ .apirocket-modal-content {
1636
+ display: flex;
1637
+ flex-flow: column;
1638
+ width: 480px;
1639
+ height: auto;
1640
+ padding: 32px;
1641
+ background-color: #fff;
1642
+ margin-top: 96px;
1643
+ margin-bottom: 32px;
1644
+ }
1645
+
1646
+ .apirocket-modal-header {
1647
+ position: relative;
1648
+ padding-bottom: 32px;
1649
+ }
1650
+
1651
+ .apirocket-modal-title {
1652
+ font-size: 18px;
1653
+ font-weight: bold;
1654
+ line-height: 1;
1655
+ color: #404040;
1656
+ margin-bottom: 8px;
1657
+ }
1658
+
1659
+ .apirocket-modal-subtitle {
1660
+ font-size: 14px;
1661
+ font-weight: normal;
1662
+ line-height: 16px;
1663
+ color: #737373;
1664
+ }
1665
+
1666
+ .apirocket-modal-close {
1667
+ position: absolute;
1668
+ right: -16px;
1669
+ top: -16px;
1670
+ }
1671
+
1672
+ .apirocket-modal-close-icon {
1673
+ height: var(--cart-header-text-close-icon-size, 24px);
1674
+ width: var(--cart-header-text-close-icon-size, 24px);
1675
+ color: var(--cart-header-text-close-icon-color, #a3a3a3);
1676
+ cursor: pointer;
1677
+ }
1678
+
1679
+ .apirocket-modal-body-text-password {
1680
+ color: #404040;
1681
+ font-size: 14px;
1682
+ font-weight: normal;
1683
+ line-height: 16px;
1684
+ margin-top: -8px;text-align: right;
1685
+ cursor: pointer;
1686
+ }
1687
+
1688
+ .apirocket-modal-body-text-password:hover { text-decoration: underline; }
1689
+
1690
+ .apirocket-modal-footer-text {
1691
+ color: #a3a3a3;
1692
+ font-size: 14px;
1693
+ font-weight: normal;
1694
+ line-height: 16px;
1695
+ text-align: center;
1696
+ margin-top: 16px;
1697
+ }
1698
+
1699
+ .apirocket-modal-footer-text span {
1700
+ color: #404040;
1701
+ cursor: pointer;
1702
+ }
1703
+
1704
+ .apirocket-modal-footer-text span:hover { text-decoration: underline; }
1705
+
1706
+
1707
+ .apirocket-modal-body {}
1708
+
1709
+ .apirocket-modal-footer {
1710
+ padding-top: 32px;
1711
+ }
1712
+
1713
+ .apirocket-modal-row {
1714
+ display: flex;
1715
+ justify-content: space-between;
1716
+ align-items: flex-start;
1717
+ }
1718
+
1719
+ .apirocket-modal-row > * {
1720
+ flex: 1 1;
1721
+ margin-right: 16px;
1722
+ }
1723
+
1724
+ .apirocket-modal-row > *:last-child { margin-right: 0; }
1725
+
1726
+
1727
+ @media (max-width: 720px) {
1728
+ .apirocket-modal-row { display: block; }
1729
+ .apirocket-modal-row > * { margin-right: 0; }
1730
+
1731
+ .apirocket-modal-nav { display: none; }
1732
+
1733
+ .apirocket-modal-content {
1734
+ width: 95%;
1735
+ margin-top: 32px;
1736
+ padding: 24px;
1737
+ }
1738
+
1739
+ .apirocket-modal-close {
1740
+ right: -8px;
1741
+ top: -8px;
1742
+ }
1743
+ }
1744
+
1745
+ .apirocket-modal-messaje {
1746
+ margin-top: 32px;
1747
+ margin-bottom: 32px;
1748
+ text-align: center;
1749
+ }
1750
+
1751
+ .apirocket-modal-message-icon {
1752
+ display: inline-flex;
1753
+ justify-content: center;
1754
+ align-items: center;
1755
+ width: 48px;
1756
+ height: 48px;
1757
+ border-radius: 24px;
1758
+ margin: auto;
1759
+ margin-bottom: 32px;
1760
+ }
1761
+
1762
+ .apirocket-modal-message-icon-ok {
1763
+ background-color: #d1fae5;
1764
+ color: #10b981;
1765
+ }
1766
+
1767
+ .apirocket-modal-message-title {
1768
+ font-size: 18px;
1769
+ font-weight: bold;
1770
+ line-height: 1;
1771
+ text-align: center;
1772
+ color: #404040;
1773
+ margin-bottom: 16px;
1774
+ }
1775
+
1776
+ .apirocket-modal-message-text {
1777
+ color: #737373;
1778
+ font-size: 14px;
1779
+ font-weight: normal;
1780
+ text-align: center;
1781
+ line-height: 16px;
1782
+ margin-bottom: 32px;
1783
+ }
1784
+ .apirocket-button,
1785
+ button.apirocket-button {
1786
+ box-sizing: border-box !important;
1787
+ display: block;
1788
+ width: 100%;
1789
+ padding: var(--cart-button-padding-y, 16px) var(--cart-button-padding-x, 16px);
1790
+ margin: 0px;
1791
+ border-radius: var(--cart-button-border-radius, 4px);
1792
+ background-color: var(--cart-button-background-color, transparent);
1793
+ border: 1px solid var(--cart-button-border-color, #e5e5e5);
1794
+ color: var(--cart-button-font-color, #737373);
1795
+ line-height: 1;
1796
+ font-size: var(--cart-button-font-size, 16px);
1797
+ font-weight: var(--cart-button-font-weight, normal);
1798
+ text-align: center;
1799
+ transition-property: color, border-color, background-color, box-shadow;
1800
+ transition-timing-function: ease;
1801
+ transition-duration: 350ms;
1802
+ cursor: pointer;
1803
+ }
1804
+
1805
+ .apirocket-button:hover {
1806
+ background-color: var(--cart-button-background-color-hover, transparent);
1807
+ border-color: var(--cart-button-border-color-hover, #404040);
1808
+ color: var(--cart-button-font-color-hover, #404040);
1809
+ }
1810
+
1811
+ .apirocket-button:focus {
1812
+ outline: none;
1813
+ text-decoration: underline;
1814
+ }
1815
+ /*
1816
+ .apirocket-button-loading {
1817
+ position: relative;
1818
+ } */
1819
+
1820
+ .apirocket-button-wraper {
1821
+ position: relative;
1822
+ display: inline-block;
1823
+ width: 32px;
1824
+ }
1825
+
1826
+ .apirocket-button-spinner {
1827
+ position: absolute;
1828
+ width: 22px;
1829
+ height: 22px;
1830
+ top: -11px;
1831
+ left: 0;
1832
+ right: 0;
1833
+ bottom: 0;
1834
+ margin: auto;
1835
+ border: 4px solid currentColor;
1836
+ border-top-color: transparent !important;
1837
+ border-radius: 50%;
1838
+ animation: button-loading-spinner 1s ease infinite;
1839
+ }
1840
+
1841
+ @keyframes button-loading-spinner {
1842
+ from { transform: rotate(0turn) }
1843
+ to { transform: rotate(1turn) }
1844
+ }
1845
+
1846
+ .apirocket-button-link,
1847
+ button.apirocket-button-link {
1848
+ display: flex;
1849
+ align-items: center;
1850
+ text-align: left;
1851
+ justify-content: flex-start;
1852
+ align-items: center;
1853
+ border: none;
1854
+ padding-left: 0;
1855
+ padding-right: 0;
1856
+ width: auto;
1857
+ overflow: hidden;
1858
+ white-space: nowrap;
1859
+ text-overflow: ellipsis;
1860
+ }
1861
+
1862
+ .apirocket-button-link span {
1863
+ margin-left: 16px;
1864
+ margin-right: 16px;
1865
+ }
1866
+
1867
+ .apirocket-button-primary,
1868
+ button.apirocket-button-primary {
1869
+ background-color: var(--cart-button-primary-background-color, #1d4ed8);
1870
+ border-color: var(--cart-button-primary-border-color, #1d4ed8);
1871
+ color: var(--cart-button-primary-text-color, #fff);
1872
+ }
1873
+
1874
+ button.apirocket-button-primary:disabled {
1875
+ background-color: #eee;
1876
+ border-color: #eee;
1877
+ color: #ccc;
1878
+ }
1879
+
1880
+ .apirocket-button-primary:hover {
1881
+ background-color: var(--cart-button-primary-background-color-hover, #1d4ed8);
1882
+ border-color: var(--cart-button-primary-border-color-hover, #1d4ed8);
1883
+ color: var(--cart-button-primary-text-color-hover, #fff);
1884
+ box-shadow: var(--cart-shadow-button-primary-hover, none);
1885
+ }
1886
+
1887
+
1888
+ @media (max-width: 720px) {
1889
+
1890
+ .apirocket-button-link {
1891
+ width: 100%;
1892
+ justify-content: center;
1893
+ }
1894
+
1895
+ }
1896
+
1897
1897
  .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}}