@digital-b2c/coreui-kit 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.css CHANGED
@@ -16,6 +16,7 @@ html {
16
16
  --color-white: #ffffff;
17
17
  --color-black: #080808;
18
18
  --color-gray: #4d4d4d;
19
+ --color-light-gray-2: #cecece;
19
20
  --color-light-gray: #cec3c3;
20
21
  --color-link: #0035ba;
21
22
  --color-darkerbg: #f1f1f1;
@@ -506,10 +507,14 @@ a:hover {
506
507
  background: var(--color-gradient-black);
507
508
  min-width: 308px;
508
509
  }
510
+ .Card_module_card .Card_module_logo {
511
+ width: 40px;
512
+ height: 40px;
513
+ }
509
514
  .Card_module_card h3 {
510
515
  color: var(--color-white);
511
516
  }
512
- .Card_module_card p {
517
+ .Card_module_card .Card_module_subtitle {
513
518
  color: #cecece;
514
519
  }
515
520
 
@@ -722,27 +727,107 @@ a:hover {
722
727
  .CardCollection_module_card-collection .CardCollection_module_content {
723
728
  margin-bottom: var(--spacing-xl);
724
729
  }
725
- .CardCollection_module_card-collection .CardCollection_module_wrapper {
730
+ .CardCollection_module_card-collection .CardCollection_module_wrapper .CardCollection_module_cardWrapper {
726
731
  display: grid;
727
732
  grid-template-columns: repeat(2, 1fr);
728
733
  gap: var(--spacing-md);
729
734
  }
730
- .CardCollection_module_card-collection.CardCollection_module_threeCols .CardCollection_module_wrapper {
735
+ .CardCollection_module_card-collection.CardCollection_module_threeCols .CardCollection_module_cardWrapper {
731
736
  grid-template-columns: repeat(3, 1fr);
732
737
  }
733
- .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper {
734
- grid-template-columns: repeat(auto-fit, minmax(314px, 1fr));
738
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper {
739
+ position: relative;
740
+ display: flex;
741
+ flex-wrap: wrap;
742
+ align-items: stretch;
743
+ max-height: none;
744
+ height: 296px;
745
+ overflow: hidden;
746
+ }
747
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_reveal-wrapper {
748
+ width: 100%;
749
+ height: 0;
750
+ overflow: hidden;
751
+ }
752
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_reveal-inner {
753
+ display: flex;
754
+ flex-wrap: wrap;
755
+ gap: var(--spacing-md);
756
+ width: 100%;
757
+ }
758
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_card {
759
+ display: flex;
760
+ flex-direction: column;
761
+ justify-content: flex-start;
762
+ min-height: 160px;
763
+ min-width: 258px;
764
+ flex: 1 1 calc(25% - var(--spacing-md));
765
+ position: relative;
766
+ overflow: hidden;
767
+ border-radius: 12px;
768
+ }
769
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_card:nth-child(n+5):nth-child(-n+8)::after {
770
+ content: "";
771
+ position: absolute;
772
+ inset: 0;
773
+ pointer-events: none;
774
+ background:
775
+ linear-gradient(
776
+ 180deg,
777
+ rgba(0, 0, 0, 0) 0%,
778
+ rgb(0, 0, 0) 45%);
779
+ z-index: 3;
780
+ }
781
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_card h3,
782
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_card p {
783
+ position: relative;
784
+ z-index: 3;
785
+ color: var(--color-white);
786
+ }
787
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper.CardCollection_module_is-expanded .CardCollection_module_card::after {
788
+ opacity: 0;
789
+ transition: opacity 0.3s ease-out;
790
+ }
791
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper .CardCollection_module_cta {
792
+ position: absolute;
793
+ bottom: 32px;
794
+ left: 50%;
795
+ transform: translateX(-50%);
796
+ z-index: 10;
735
797
  }
736
798
  @media (max-width: 768px) {
737
799
  .CardCollection_module_card-collection {
738
800
  padding: var(--spacing-lg);
739
801
  }
740
- .CardCollection_module_card-collection .CardCollection_module_wrapper {
802
+ .CardCollection_module_card-collection .CardCollection_module_wrapper .CardCollection_module_cardWrapper {
741
803
  grid-template-columns: 1fr;
742
804
  }
743
- .CardCollection_module_card-collection.CardCollection_module_threeCols .CardCollection_module_wrapper {
805
+ .CardCollection_module_card-collection.CardCollection_module_threeCols .CardCollection_module_wrapper .CardCollection_module_cardWrapper {
744
806
  grid-template-columns: 1fr;
745
807
  }
808
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper {
809
+ overflow-x: auto;
810
+ overflow-y: hidden;
811
+ }
812
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper {
813
+ width: 1100px;
814
+ height: auto;
815
+ max-height: none;
816
+ gap: var(--spacing-md);
817
+ padding-bottom: var(--spacing-sm);
818
+ }
819
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_card {
820
+ flex: 1 1 calc(25% - var(--spacing-md));
821
+ min-height: auto;
822
+ }
823
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_reveal-wrapper,
824
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_reveal-inner {
825
+ display: contents;
826
+ }
827
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_cta,
828
+ .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_card::after {
829
+ display: none;
830
+ }
746
831
  }
747
832
 
748
833
  /* src/widgets/ContactModule/ContactModule.module.scss */
@@ -821,6 +906,250 @@ a:hover {
821
906
  }
822
907
  }
823
908
 
909
+ /* src/widgets/Footer/Footer.module.scss */
910
+ .Footer_module_footer {
911
+ display: block;
912
+ width: 100%;
913
+ background-color: var(--color-black);
914
+ color: var(--color-white);
915
+ }
916
+ .Footer_module_container {
917
+ display: flex;
918
+ flex-direction: column;
919
+ gap: 80px;
920
+ padding-top: 48px;
921
+ padding-bottom: 48px;
922
+ }
923
+ @media (max-width: 768px) {
924
+ .Footer_module_container {
925
+ gap: 40px;
926
+ padding-top: 24px;
927
+ padding-bottom: 24px;
928
+ }
929
+ }
930
+ .Footer_module_support {
931
+ display: flex;
932
+ justify-content: space-between;
933
+ gap: 32px;
934
+ }
935
+ @media (max-width: 768px) {
936
+ .Footer_module_support {
937
+ flex-direction: column;
938
+ gap: 24px;
939
+ }
940
+ }
941
+ .Footer_module_support-group {
942
+ flex: 1;
943
+ }
944
+ .Footer_module_support-title {
945
+ font-size: var(--font-size-sm);
946
+ font-weight: var(--font-weight-bold);
947
+ text-transform: uppercase;
948
+ letter-spacing: 0.05em;
949
+ margin-bottom: 16px;
950
+ color: var(--color-white);
951
+ }
952
+ .Footer_module_support-list {
953
+ list-style: none;
954
+ padding: 0;
955
+ margin: 0;
956
+ display: flex;
957
+ flex-direction: column;
958
+ gap: 8px;
959
+ }
960
+ .Footer_module_support-item {
961
+ display: flex;
962
+ flex-direction: column;
963
+ gap: 2px;
964
+ }
965
+ .Footer_module_support-value {
966
+ font-size: var(--font-size-sm);
967
+ color: var(--color-white);
968
+ text-decoration: none;
969
+ }
970
+ .Footer_module_support-value:hover {
971
+ text-decoration: underline;
972
+ }
973
+ .Footer_module_bottom {
974
+ display: flex;
975
+ justify-content: space-between;
976
+ flex-wrap: wrap;
977
+ gap: clamp(32px, 4vw, 80px);
978
+ }
979
+ @media (max-width: 768px) {
980
+ .Footer_module_bottom {
981
+ flex-direction: column;
982
+ flex-wrap: nowrap;
983
+ align-items: center;
984
+ text-align: center;
985
+ gap: 55px;
986
+ }
987
+ }
988
+ .Footer_module_bottom-left {
989
+ display: flex;
990
+ flex-direction: column;
991
+ gap: 24px;
992
+ flex: 1 1 320px;
993
+ min-width: 0;
994
+ }
995
+ @media (max-width: 768px) {
996
+ .Footer_module_bottom-left {
997
+ display: contents;
998
+ }
999
+ }
1000
+ .Footer_module_bottom-right {
1001
+ display: flex;
1002
+ flex-wrap: wrap;
1003
+ gap: clamp(24px, 6vw, 108px);
1004
+ min-width: 0;
1005
+ }
1006
+ @media (max-width: 768px) {
1007
+ .Footer_module_bottom-right {
1008
+ flex-direction: column;
1009
+ flex-wrap: nowrap;
1010
+ gap: 16px;
1011
+ align-items: center;
1012
+ order: 2;
1013
+ }
1014
+ }
1015
+ .Footer_module_supporters {
1016
+ position: relative;
1017
+ display: flex;
1018
+ flex-direction: row;
1019
+ align-items: center;
1020
+ gap: 32px;
1021
+ }
1022
+ @media (max-width: 768px) {
1023
+ .Footer_module_supporters {
1024
+ order: 1;
1025
+ flex-direction: column;
1026
+ align-items: center;
1027
+ gap: 16px;
1028
+ width: 50vw;
1029
+ margin-bottom: 1.5rem;
1030
+ }
1031
+ }
1032
+ .Footer_module_supporters-label {
1033
+ font-size: var(--font-size-xs);
1034
+ font-weight: var(--font-weight-medium);
1035
+ text-transform: uppercase;
1036
+ letter-spacing: 0.1em;
1037
+ color: var(--color-light-gray-2);
1038
+ }
1039
+ @media (max-width: 768px) {
1040
+ .Footer_module_supporters-label {
1041
+ margin-bottom: var(--spacing-xl);
1042
+ font-size: var(--font-size-sm);
1043
+ }
1044
+ }
1045
+ .Footer_module_supporters-logos {
1046
+ display: flex;
1047
+ align-items: center;
1048
+ gap: clamp(16px, 2vw, 32px);
1049
+ flex-wrap: nowrap;
1050
+ min-width: 0;
1051
+ }
1052
+ .Footer_module_supporters-logos img {
1053
+ height: clamp(18px, 2.5vw, 30px);
1054
+ width: auto;
1055
+ filter: brightness(0) invert(1);
1056
+ }
1057
+ @media (max-width: 768px) {
1058
+ .Footer_module_supporters-logos {
1059
+ flex-direction: column;
1060
+ flex-wrap: nowrap;
1061
+ align-items: center;
1062
+ justify-content: center;
1063
+ }
1064
+ .Footer_module_supporters-logos img {
1065
+ height: 2.5rem;
1066
+ width: auto;
1067
+ }
1068
+ }
1069
+ .Footer_module_supporter-link-primary {
1070
+ display: flex;
1071
+ align-items: center;
1072
+ min-width: 0;
1073
+ flex-shrink: 1;
1074
+ }
1075
+ .Footer_module_supporter-link-primary img {
1076
+ height: auto;
1077
+ width: 60%;
1078
+ max-height: clamp(28px, 3.5vw, 50px);
1079
+ filter: brightness(0) invert(1);
1080
+ margin: auto;
1081
+ }
1082
+ @media (max-width: 768px) {
1083
+ .Footer_module_supporter-link-primary {
1084
+ margin-bottom: var(--spacing-xl);
1085
+ }
1086
+ .Footer_module_supporter-link-primary img {
1087
+ width: 80%;
1088
+ max-height: none;
1089
+ }
1090
+ }
1091
+ .Footer_module_supporter-link {
1092
+ display: flex;
1093
+ align-items: center;
1094
+ min-width: 0;
1095
+ flex-shrink: 1;
1096
+ }
1097
+ .Footer_module_disclaimer {
1098
+ font-size: var(--font-size-xs);
1099
+ color: var(--color-light-gray);
1100
+ line-height: 1.5;
1101
+ margin-top: var(--spacing-xl);
1102
+ }
1103
+ @media (max-width: 768px) {
1104
+ .Footer_module_disclaimer {
1105
+ order: 3;
1106
+ max-width: 343px;
1107
+ text-align: left;
1108
+ font-size: var(--font-size-md);
1109
+ line-height: 150%;
1110
+ letter-spacing: -0.08px;
1111
+ margin-top: var(--spacing-xs);
1112
+ }
1113
+ }
1114
+ .Footer_module_copyright {
1115
+ font-size: var(--font-size-xs);
1116
+ color: var(--color-light-gray);
1117
+ }
1118
+ @media (max-width: 768px) {
1119
+ .Footer_module_copyright {
1120
+ order: 4;
1121
+ text-align: left;
1122
+ max-width: 343px;
1123
+ font-size: var(--font-size-md);
1124
+ line-height: 150%;
1125
+ letter-spacing: -0.08px;
1126
+ }
1127
+ }
1128
+ .Footer_module_nav-list {
1129
+ list-style: none;
1130
+ padding: 0;
1131
+ margin: 0;
1132
+ display: flex;
1133
+ flex-direction: column;
1134
+ gap: 16px;
1135
+ }
1136
+ @media (max-width: 768px) {
1137
+ .Footer_module_nav-list {
1138
+ align-items: center;
1139
+ }
1140
+ }
1141
+ .Footer_module_nav-link {
1142
+ font-size: var(--font-size-md);
1143
+ line-height: 150%;
1144
+ letter-spacing: -0.08px;
1145
+ color: var(--color-light-gray);
1146
+ text-decoration: none;
1147
+ white-space: nowrap;
1148
+ }
1149
+ .Footer_module_nav-link:hover {
1150
+ text-decoration: underline;
1151
+ }
1152
+
824
1153
  /* src/widgets/HeroBanner/HeroBanner.module.scss */
825
1154
  .HeroBanner_module_heroBanner {
826
1155
  width: 100%;