sempli-website-lib 6.2.1-beta.1 → 6.2.1-beta.3

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.
@@ -476,3 +476,493 @@ header#main-header {
476
476
  min-height: 70px;
477
477
  }
478
478
  }
479
+
480
+ /*=============== HEADER & NAV SEMPLI 2.0 ===============*/
481
+ .header {
482
+ position: fixed;
483
+ width: 100%;
484
+ top: 0;
485
+ background-color: #fff;
486
+ z-index: 2;
487
+ }
488
+
489
+ .nav-container {
490
+ position: relative;
491
+ height: 3.5rem;
492
+ display: flex;
493
+ justify-content: space-between;
494
+ align-items: center;
495
+ margin-inline: 1.5rem;
496
+
497
+ @media screen and (min-width: 1023px) {
498
+ height: calc(3.5rem + 1rem);
499
+ column-gap: 2rem;
500
+ display: flex;
501
+ }
502
+
503
+ .nav-logo {
504
+ width: 100px;
505
+
506
+ @media screen and (min-width: 1023px) {
507
+ width: 150px;
508
+ margin-left: 15px;
509
+ }
510
+ }
511
+ }
512
+
513
+ .hidden-toggle {
514
+ z-index: -1 !important;
515
+ }
516
+
517
+ .show-toggle {
518
+ z-index: 1 !important;
519
+ }
520
+
521
+ .hidden-close {
522
+ z-index: -1 !important;
523
+ }
524
+
525
+ .show-close {
526
+ z-index: 1 !important;
527
+ }
528
+
529
+ .nav-toggle,
530
+ .nav-close {
531
+ z-index: 1;
532
+ display: inline-flex;
533
+ font-size: 1.25rem;
534
+ color: #434448;
535
+ cursor: pointer;
536
+ }
537
+
538
+ .nav-list {
539
+ background-color: #f7f8fb;
540
+ border-top-left-radius: 20px;
541
+ border-top-right-radius: 20px;
542
+ border-bottom-left-radius: 0;
543
+ border-bottom-right-radius: 0;
544
+ display: flex;
545
+ flex-direction: column;
546
+ text-align: center;
547
+
548
+ @media screen and (max-width: 1023px) {
549
+ gap: 1rem;
550
+ }
551
+
552
+ @media screen and (min-width: 1023px) {
553
+ background-color: #fff;
554
+ max-width: 800px;
555
+ display: flex;
556
+ flex-direction: row;
557
+ align-items: center;
558
+ gap: 10px;
559
+ }
560
+
561
+ .dropdown-item {
562
+ width: 100%;
563
+
564
+ @media screen and (max-width: 1023px) {
565
+ min-height: max-content;
566
+ }
567
+
568
+ @media screen and (min-width: 1023px) {
569
+ min-width: min-content;
570
+ max-width: max-content;
571
+ }
572
+
573
+ .nav-link {
574
+ display: flex;
575
+ text-align: center;
576
+ justify-content: space-between;
577
+ align-items: center;
578
+ transition: background-color 0.3s;
579
+ transition: color 0.3s;
580
+
581
+ &:hover {
582
+ color: #4335f9;
583
+ }
584
+
585
+ @media screen and (max-width: 1023px) {
586
+ padding: 1.25rem 1.5rem !important;
587
+ }
588
+ }
589
+ }
590
+ }
591
+
592
+ .nav-close {
593
+ width: calc(100% - 40px);
594
+ display: flex;
595
+ justify-content: space-between;
596
+ position: absolute;
597
+ top: 1rem;
598
+ }
599
+
600
+ .nav-logo-menu-mobile {
601
+ width: 100px;
602
+ }
603
+
604
+ /*=============== DROPDOWN ===============*/
605
+ .dropdown-custom-title-payments {
606
+ display: flex;
607
+ gap: 10px;
608
+ }
609
+
610
+ .span-soon {
611
+ pointer-events: none;
612
+ background-color: #4d4cfc;
613
+ color: #fff;
614
+ font-size: .625rem;
615
+ font-weight: 900;
616
+ text-transform: uppercase;
617
+ letter-spacing: 1px;
618
+ margin-left: 3px;
619
+ padding: 3px 8px;
620
+ border-radius: 30px;
621
+ }
622
+
623
+ .dropdown-button {
624
+ cursor: pointer;
625
+ padding: 10px 10px;
626
+
627
+ @media screen and (min-width: 1023px) {
628
+ column-gap: 0.25rem;
629
+ }
630
+ }
631
+
632
+ .dropdown-arrow {
633
+ display: flex;
634
+ align-self: flex-end;
635
+ font-size: 1rem;
636
+ font-weight: initial;
637
+ transition: transform 0.4s;
638
+
639
+ @media screen and (min-width: 1023px) {
640
+ display: none;
641
+ }
642
+
643
+ @media screen and (max-width: 1023px) {
644
+ display: initial;
645
+ }
646
+ }
647
+
648
+ .dropdown-group,
649
+ .dropdown-list {
650
+ display: grid;
651
+ }
652
+
653
+ .dropdown-group {
654
+ row-gap: 0.2rem;
655
+ }
656
+
657
+ .dropdown-container {
658
+ width: 100%;
659
+ margin: 0 auto;
660
+ background-color: #f7f8fb;
661
+ height: 0;
662
+ overflow: hidden;
663
+ transition: height 0.4s;
664
+
665
+ @media screen and (max-width: 1023px) {
666
+ border: 1px solid #f7f8fb;
667
+ border-radius: 20px;
668
+ width: 90%;
669
+ }
670
+
671
+ @media screen and (min-width: 1023px) {
672
+ position: absolute;
673
+ height: max-content;
674
+ width: max-content;
675
+ max-width: 450px;
676
+ border-radius: 10px;
677
+ background-color: transparent;
678
+ transition: height 0.4s, opacity 0.3s;
679
+ pointer-events: none;
680
+ opacity: 0;
681
+ }
682
+
683
+ .dropdown-content {
684
+ display: grid;
685
+ row-gap: 1.75rem;
686
+
687
+ @media screen and (max-width: 1023px) {
688
+ border-radius: 20px;
689
+ margin: 0 auto;
690
+ width: 100%;
691
+ }
692
+
693
+ @media screen and (min-width: 1023px) {
694
+ padding: 20px;
695
+ margin: 10px;
696
+ border-radius: 10px;
697
+ background-color: #fff;
698
+ row-gap: 1.5rem;
699
+ box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
700
+ }
701
+ }
702
+
703
+ .links-container {
704
+ display: flex;
705
+ flex-direction: column;
706
+ align-items: center;
707
+
708
+ @media screen and (max-width: 1023px) {
709
+ height: max-content;
710
+ min-height: max-content;
711
+ gap: 1rem;
712
+ }
713
+
714
+ .dropdown-link-a {
715
+ width: 100%;
716
+ padding: 15px;
717
+
718
+ &:hover {
719
+ color: #1414ea;
720
+ }
721
+
722
+ @media screen and (max-width: 1023px) {
723
+ border-radius: 20px;
724
+ background-color: #fff;
725
+ }
726
+ }
727
+ }
728
+ }
729
+
730
+ .dropdown-title {
731
+ font-size: 0.813rem;
732
+ font-weight: 600;
733
+
734
+ @media screen and (min-width: 1023px) {
735
+ width: 100%;
736
+ display: flex;
737
+ text-align: left;
738
+ }
739
+
740
+ @media screen and (max-width: 1023px) {
741
+ width: 100%;
742
+ display: flex;
743
+ text-align: left;
744
+ }
745
+ }
746
+
747
+ .dropdown-custom-title {
748
+ font-size: 0.813rem;
749
+ font-weight: 600;
750
+ display: flex;
751
+ text-align: left;
752
+ }
753
+
754
+ .dropdown-list {
755
+ row-gap: 0.25rem;
756
+ }
757
+
758
+ .dropdown-icon-link {
759
+ display: none;
760
+
761
+ @media screen and (min-width: 1023px) {
762
+ display: unset;
763
+ font-size: 24px;
764
+ padding: 5px 10px 5px 0px;
765
+ }
766
+ }
767
+
768
+ .dropdown-link {
769
+ font-size: 0.813rem;
770
+ font-weight: 500;
771
+ transition: color 0.3s;
772
+ display: flex;
773
+ align-items: center;
774
+ gap: 0.5rem;
775
+ padding: 10px 0px;
776
+
777
+ &:hover {
778
+ color: #1414ea;
779
+ }
780
+
781
+ @media screen and (min-width: 1023px) {
782
+ width: 100%;
783
+ }
784
+ }
785
+
786
+ .dropdown-link-texts {
787
+ display: flex;
788
+ flex-direction: column;
789
+ gap: 0.2rem;
790
+ }
791
+
792
+ .dropdown-link-content {
793
+ display: flex;
794
+ align-items: center;
795
+
796
+ @media screen and (max-width: 1023px) {
797
+ padding: 10px;
798
+ border-radius: 20px;
799
+ background-color: #fff;
800
+ }
801
+ }
802
+
803
+ .show-dropdown .dropdown-arrow {
804
+ transform: rotate(180deg);
805
+ }
806
+
807
+ .dropdown-item:hover .dropdown-arrow {
808
+ transform: rotate(180deg);
809
+ }
810
+
811
+ .dropdown-space-top {
812
+ margin-top: 40px;
813
+
814
+ @media screen and (min-width: 1023px) {
815
+ margin-top: 0px;
816
+ }
817
+ }
818
+
819
+ .nav-button-link {
820
+ display: inline-block;
821
+ color: #4335f9;
822
+
823
+ @media screen and (max-width: 1023px) {
824
+ width: 100%;
825
+ padding-left: 15px;
826
+ display: flex;
827
+ align-items: center;
828
+ gap: 10px;
829
+ color: #434448;
830
+ font-weight: 600;
831
+ }
832
+ }
833
+
834
+ .nav-icon-link {
835
+ display: none;
836
+
837
+ @media screen and (max-width: 1023px) {
838
+ display: initial;
839
+ font-size: 28px;
840
+ animation: changeIconColor 9s infinite;
841
+ }
842
+ }
843
+
844
+ .dropdown-description {
845
+ width: 100%;
846
+ display: flex;
847
+ text-align: left;
848
+ }
849
+
850
+ @keyframes changeIconColor {
851
+ 0%, 100% {
852
+ color: #4335f9;
853
+ }
854
+ 16.67% {
855
+ color: #3F3D56;
856
+ }
857
+ 33.33% {
858
+ color: #4335f9;
859
+ }
860
+ 50% {
861
+ color: #3F3D56;
862
+ }
863
+ 66.67% {
864
+ color: #4335f9;
865
+ }
866
+ 83.33% {
867
+ color: #3F3D56;
868
+ }
869
+ }
870
+
871
+ @media screen and (max-width: 1023px) {
872
+ .nav-menu {
873
+ position: fixed;
874
+ top: -150%;
875
+ left: 0;
876
+ background-color: #fff;
877
+ width: 100%;
878
+ box-shadow: 0 1px 16px hsla(210, 55%, 24%, 0.1);
879
+ padding-block: 3.5rem 2rem;
880
+ display: flex;
881
+ flex-direction: column;
882
+ overflow: auto;
883
+ transition: top 0.4s;
884
+ height: 100vh;
885
+ padding: 70px 20px;
886
+ }
887
+
888
+ .nav-menu::-webkit-scrollbar {
889
+ width: 0.5rem;
890
+ }
891
+
892
+ .nav-menu::-webkit-scrollbar-thumb {
893
+ background-color: hsl(220, 12%, 70%);
894
+ }
895
+
896
+ .dropdown-item-title {
897
+ font-weight: 600;
898
+ }
899
+
900
+ .nav-button-login {
901
+ margin: 0 auto;
902
+ width: 80%;
903
+ }
904
+
905
+ .button-width {
906
+ width: 100%;
907
+ }
908
+
909
+ .show-menu {
910
+ top: 0;
911
+ }
912
+
913
+ .dropdown-group-container {
914
+ display: flex;
915
+ flex-direction: column;
916
+ gap: 1rem;
917
+ }
918
+
919
+ .nav-buttons {
920
+ padding: 30px 10px;
921
+ display: flex;
922
+ flex-direction: column;
923
+ row-gap: 3rem;
924
+ background-color: #f7f8fb;
925
+ border-top-left-radius: 0px;
926
+ border-top-right-radius: 0px;
927
+ border-bottom-left-radius: 20px;
928
+ border-bottom-right-radius: 20px;
929
+ }
930
+
931
+ .nav-link-with-icon {
932
+ display: flex;
933
+ align-items: center;
934
+ gap: 10px;
935
+ }
936
+ }
937
+
938
+ @media screen and (min-width: 1023px) {
939
+ .nav-toggle,
940
+ .nav-close {
941
+ display: none;
942
+ }
943
+
944
+ .nav-menu {
945
+ width: 100%;
946
+ display: flex;
947
+ align-items: center;
948
+ justify-content: space-between;
949
+ }
950
+
951
+ .dropdown-pointer-event {
952
+ pointer-events: none;
953
+ }
954
+
955
+ .nav-buttons {
956
+ display: flex;
957
+ flex-direction: row;
958
+ align-items: center;
959
+ gap: 2rem;
960
+ }
961
+
962
+ .dropdown-item:hover > .dropdown-container {
963
+ opacity: 1;
964
+ pointer-events: initial;
965
+ cursor: initial;
966
+ }
967
+ }
968
+ /*=============== END HEADER & NAV SEMPLI 2.0 ===============*/