@digital-b2c/coreui-kit 0.4.6 → 0.5.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.
package/dist/index.css CHANGED
@@ -72,8 +72,8 @@ html {
72
72
  --font-size-lg: 1.25rem;
73
73
  --font-size-xl: 1.5rem;
74
74
  --font-size-2xl: 2rem;
75
- --font-size-3xl: 2.25rem;
76
- --font-size-4xl: 2.5rem;
75
+ --font-size-3xl: 2.5rem;
76
+ --font-size-4xl: 3rem;
77
77
  --line-height-normal: 1.5;
78
78
  --line-height-tight-1: 1.4;
79
79
  --line-height-tight-2: 1.33;
@@ -98,7 +98,7 @@ body {
98
98
  }
99
99
  h1,
100
100
  .h1 {
101
- font-size: 2.5rem;
101
+ font-size: 3rem;
102
102
  font-weight: 600;
103
103
  line-height: 1.17;
104
104
  }
@@ -110,7 +110,7 @@ h1,
110
110
  }
111
111
  h2,
112
112
  .h2 {
113
- font-size: 2.25rem;
113
+ font-size: 2.5rem;
114
114
  font-weight: 600;
115
115
  line-height: 1.2;
116
116
  }
@@ -174,6 +174,7 @@ small,
174
174
  a {
175
175
  color: var(--color-link);
176
176
  text-decoration: none;
177
+ cursor: pointer;
177
178
  }
178
179
  a:hover {
179
180
  text-decoration: underline;
@@ -719,6 +720,9 @@ a:hover {
719
720
  .CardCollection_module_card-collection.CardCollection_module_threeCols .CardCollection_module_cardWrapper {
720
721
  grid-template-columns: repeat(3, 1fr);
721
722
  }
723
+ .CardCollection_module_card-collection.CardCollection_module_fourCols .CardCollection_module_cardWrapper {
724
+ grid-template-columns: repeat(4, 1fr);
725
+ }
722
726
  .CardCollection_module_card-collection.CardCollection_module_examCard .CardCollection_module_wrapper .CardCollection_module_cardWrapper {
723
727
  position: relative;
724
728
  display: flex;
@@ -1775,4 +1779,352 @@ article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_descrip
1775
1779
  .EventList_module_section.EventList_module_grey .swiper-wrapper {
1776
1780
  flex-direction: row;
1777
1781
  }
1782
+
1783
+ /* src/widgets/TextEvent/TextEvent.module.scss */
1784
+ html,
1785
+ body {
1786
+ font-family: "Instrument Sans", sans-serif;
1787
+ font-size: 1rem;
1788
+ font-weight: 500;
1789
+ line-height: 1.5;
1790
+ color: #4d4d4d;
1791
+ }
1792
+ h1,
1793
+ .TextEvent_module_h1 {
1794
+ font-size: 3rem;
1795
+ font-weight: 600;
1796
+ line-height: 1.17;
1797
+ }
1798
+ @media (max-width: 768px) {
1799
+ h1,
1800
+ .TextEvent_module_h1 {
1801
+ font-size: 2rem;
1802
+ }
1803
+ }
1804
+ h2,
1805
+ .TextEvent_module_h2 {
1806
+ font-size: 2.5rem;
1807
+ font-weight: 600;
1808
+ line-height: 1.2;
1809
+ }
1810
+ @media (max-width: 768px) {
1811
+ h2,
1812
+ .TextEvent_module_h2 {
1813
+ font-size: 1.5rem;
1814
+ }
1815
+ }
1816
+ h3,
1817
+ .TextEvent_module_h3,
1818
+ .TextEvent_module_textEvent .TextEvent_module_richText h2 {
1819
+ font-size: 2rem;
1820
+ font-weight: 600;
1821
+ line-height: 1.25;
1822
+ }
1823
+ @media (max-width: 768px) {
1824
+ h3,
1825
+ .TextEvent_module_h3,
1826
+ .TextEvent_module_textEvent .TextEvent_module_richText h2 {
1827
+ font-size: 1.25rem;
1828
+ }
1829
+ }
1830
+ h4,
1831
+ .TextEvent_module_h4 {
1832
+ font-size: 1.5rem;
1833
+ font-weight: 600;
1834
+ line-height: 1.33;
1835
+ }
1836
+ @media (max-width: 768px) {
1837
+ h4,
1838
+ .TextEvent_module_h4 {
1839
+ font-size: 18px;
1840
+ }
1841
+ }
1842
+ .TextEvent_module_subheading,
1843
+ .TextEvent_module_textEvent .TextEvent_module_richText p,
1844
+ .TextEvent_module_textEvent .TextEvent_module_richText h3,
1845
+ .TextEvent_module_textEvent .TextEvent_module_richText td {
1846
+ font-size: 1.25rem;
1847
+ font-weight: 500;
1848
+ line-height: 1.4;
1849
+ }
1850
+ @media (max-width: 768px) {
1851
+ .TextEvent_module_subheading,
1852
+ .TextEvent_module_textEvent .TextEvent_module_richText p,
1853
+ .TextEvent_module_textEvent .TextEvent_module_richText h3,
1854
+ .TextEvent_module_textEvent .TextEvent_module_richText td {
1855
+ font-size: 18px;
1856
+ }
1857
+ }
1858
+ p,
1859
+ .TextEvent_module_body {
1860
+ font-size: 1rem;
1861
+ font-weight: 500;
1862
+ line-height: 1.5;
1863
+ }
1864
+ small,
1865
+ .TextEvent_module_small {
1866
+ font-size: 0.875rem;
1867
+ font-weight: 500;
1868
+ line-height: 1.5;
1869
+ }
1870
+ .TextEvent_module_smallest {
1871
+ font-size: 0.75rem;
1872
+ font-weight: 500;
1873
+ line-height: 1.5;
1874
+ }
1875
+ a {
1876
+ color: var(--color-link);
1877
+ text-decoration: none;
1878
+ cursor: pointer;
1879
+ }
1880
+ a:hover {
1881
+ text-decoration: underline;
1882
+ }
1883
+ .TextEvent_module_textEvent {
1884
+ width: 100%;
1885
+ padding: var(--spacing-3xl) var(--spacing-7xl);
1886
+ }
1887
+ @media (max-width: 768px) {
1888
+ .TextEvent_module_textEvent {
1889
+ padding: var(--spacing-lg) var(--spacing-md);
1890
+ }
1891
+ }
1892
+ .TextEvent_module_textEvent .TextEvent_module_title {
1893
+ margin-bottom: var(--spacing-xl);
1894
+ color: var(--color-black);
1895
+ }
1896
+ @media (max-width: 768px) {
1897
+ .TextEvent_module_textEvent .TextEvent_module_title {
1898
+ font-size: var(--font-size-xl);
1899
+ margin-bottom: var(--spacing-lg);
1900
+ }
1901
+ }
1902
+ .TextEvent_module_textEvent .TextEvent_module_richText p {
1903
+ margin-bottom: var(--spacing-xl);
1904
+ color: var(--color-gray);
1905
+ }
1906
+ @media (max-width: 768px) {
1907
+ .TextEvent_module_textEvent .TextEvent_module_richText p {
1908
+ font-size: var(--font-size-md);
1909
+ }
1910
+ }
1911
+ .TextEvent_module_textEvent .TextEvent_module_richText p:first-child {
1912
+ line-height: 140%;
1913
+ margin-bottom: var(--spacing-xl);
1914
+ }
1915
+ .TextEvent_module_textEvent .TextEvent_module_richText p:last-child {
1916
+ margin-bottom: 0;
1917
+ }
1918
+ .TextEvent_module_textEvent .TextEvent_module_richText p:empty {
1919
+ display: none;
1920
+ margin: 0;
1921
+ }
1922
+ .TextEvent_module_textEvent .TextEvent_module_richText a {
1923
+ font-weight: var(--font-weight-medium);
1924
+ }
1925
+ .TextEvent_module_textEvent .TextEvent_module_richText strong {
1926
+ color: var(--color-black);
1927
+ }
1928
+ .TextEvent_module_textEvent .TextEvent_module_richText h2 {
1929
+ margin-bottom: var(--spacing-xl);
1930
+ color: var(--color-black);
1931
+ }
1932
+ .TextEvent_module_textEvent .TextEvent_module_richText h3 {
1933
+ margin-bottom: var(--spacing-lg);
1934
+ color: var(--color-gray);
1935
+ }
1936
+ @media (max-width: 768px) {
1937
+ .TextEvent_module_textEvent .TextEvent_module_richText h3 {
1938
+ font-size: var(--font-size-md);
1939
+ }
1940
+ }
1941
+ .TextEvent_module_textEvent .TextEvent_module_richText br {
1942
+ display: block;
1943
+ content: "";
1944
+ margin-bottom: var(--spacing-sm);
1945
+ }
1946
+ .TextEvent_module_textEvent .TextEvent_module_richText table {
1947
+ width: 100%;
1948
+ border-collapse: collapse;
1949
+ margin-bottom: var(--spacing-xl);
1950
+ }
1951
+ .TextEvent_module_textEvent .TextEvent_module_richText table:last-child {
1952
+ margin-bottom: 0 !important;
1953
+ }
1954
+ .TextEvent_module_textEvent .TextEvent_module_richText tr {
1955
+ border-bottom: 1px solid transparent;
1956
+ }
1957
+ .TextEvent_module_textEvent .TextEvent_module_richText td {
1958
+ padding-bottom: var(--spacing-lg);
1959
+ vertical-align: top;
1960
+ color: var(--color-black);
1961
+ }
1962
+ @media (max-width: 768px) {
1963
+ .TextEvent_module_textEvent .TextEvent_module_richText td {
1964
+ font-size: var(--font-size-md);
1965
+ }
1966
+ }
1967
+ .TextEvent_module_textEvent .TextEvent_module_richText td:first-child {
1968
+ width: 17.5625rem;
1969
+ text-align: right;
1970
+ padding-right: var(--spacing-xl);
1971
+ white-space: nowrap;
1972
+ }
1973
+ @media (max-width: 768px) {
1974
+ .TextEvent_module_textEvent .TextEvent_module_richText td:first-child {
1975
+ padding: var(--spacing-lg) 0;
1976
+ width: unset;
1977
+ text-align: left;
1978
+ padding-right: var(--spacing-lg);
1979
+ white-space: normal;
1980
+ border-bottom: 1px solid #e3e3e3;
1981
+ }
1982
+ }
1983
+ .TextEvent_module_textEvent .TextEvent_module_richText td:last-child {
1984
+ border-left: 1px solid #e3e3e3;
1985
+ padding-left: var(--spacing-xl);
1986
+ }
1987
+ @media (max-width: 768px) {
1988
+ .TextEvent_module_textEvent .TextEvent_module_richText td:last-child {
1989
+ border-left: unset;
1990
+ padding: 0.5rem 0;
1991
+ border-bottom: 1px solid #e3e3e3;
1992
+ text-align: left;
1993
+ padding-left: var(--spacing-lg);
1994
+ }
1995
+ }
1996
+ .TextEvent_module_textEvent .TextEvent_module_richText tbody tr:last-child td {
1997
+ padding-bottom: 0 !important;
1998
+ }
1999
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table {
2000
+ display: flex;
2001
+ flex-direction: column;
2002
+ align-items: center;
2003
+ width: auto;
2004
+ }
2005
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table tr:first-child td:first-child {
2006
+ padding-top: 14px;
2007
+ }
2008
+ @media (max-width: 768px) {
2009
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table tr:first-child td:first-child {
2010
+ padding-top: 0px;
2011
+ }
2012
+ }
2013
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table tr:first-child td:last-child {
2014
+ padding-top: 14px;
2015
+ }
2016
+ @media (max-width: 768px) {
2017
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table tr:first-child td:last-child {
2018
+ padding-top: 0px;
2019
+ }
2020
+ }
2021
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table td:first-child {
2022
+ text-align: right;
2023
+ }
2024
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table td:last-child {
2025
+ text-align: left;
2026
+ border-left: 1px solid #e3e3e3;
2027
+ }
2028
+ @media (max-width: 768px) {
2029
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table td:last-child {
2030
+ border-left: unset;
2031
+ }
2032
+ }
2033
+ @media (max-width: 768px) {
2034
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table tr {
2035
+ display: grid;
2036
+ grid-template-columns: 1fr 1fr;
2037
+ border-bottom: 1px solid #e3e3e3;
2038
+ column-gap: 32px;
2039
+ align-items: center;
2040
+ padding: 8px 0;
2041
+ }
2042
+ }
2043
+ @media (max-width: 768px) {
2044
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table td {
2045
+ font-size: 1.125rem;
2046
+ padding: 0;
2047
+ border: none !important;
2048
+ width: auto;
2049
+ }
2050
+ }
2051
+
2052
+ /* src/widgets/TextCenterCtaInBottom/TextCenterCtaInBottom.module.scss */
2053
+ .TextCenterCtaInBottom_module_textCenterCta {
2054
+ display: block;
2055
+ width: 100%;
2056
+ background-color: var(--color-white);
2057
+ }
2058
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_container {
2059
+ display: flex;
2060
+ flex-direction: column;
2061
+ align-items: center;
2062
+ justify-content: center;
2063
+ padding: var(--spacing-3xl) var(--spacing-7xl);
2064
+ gap: var(--spacing-xl);
2065
+ }
2066
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_content {
2067
+ display: flex;
2068
+ flex-direction: column;
2069
+ align-items: center;
2070
+ text-align: center;
2071
+ max-width: 866px;
2072
+ gap: var(--spacing-xl);
2073
+ }
2074
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_title {
2075
+ font-size: var(--font-size-xl);
2076
+ font-weight: 600;
2077
+ line-height: var(--line-height-tight-2);
2078
+ color: var(--color-black);
2079
+ }
2080
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_subtitle {
2081
+ font-size: var(--font-size-lg);
2082
+ font-weight: 500;
2083
+ line-height: var(--line-height-tight-1);
2084
+ color: var(--color-neutral-700);
2085
+ }
2086
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_ctaWrapper {
2087
+ display: flex;
2088
+ gap: var(--spacing-md);
2089
+ }
2090
+ @media (max-width: 768px) {
2091
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_ctaWrapper {
2092
+ display: grid;
2093
+ gap: var(--spacing-sm);
2094
+ }
2095
+ }
2096
+ @media (max-width: 768px) {
2097
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_ctaWrapper.TextCenterCtaInBottom_module_iconOnly {
2098
+ display: flex;
2099
+ justify-content: center;
2100
+ }
2101
+ }
2102
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_cta img {
2103
+ height: var(--font-size-xs);
2104
+ width: var(--font-size-xs);
2105
+ }
2106
+ @media (max-width: 768px) {
2107
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_container {
2108
+ padding: var(--spacing-lg) var(--spacing-md);
2109
+ gap: var(--spacing-md);
2110
+ }
2111
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_content {
2112
+ max-width: 343px;
2113
+ gap: var(--spacing-md);
2114
+ }
2115
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_title {
2116
+ font-size: var(--font-size-lg);
2117
+ line-height: var(--line-height-tight-3);
2118
+ }
2119
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_subtitle {
2120
+ font-size: 18px;
2121
+ line-height: var(--line-height-normal);
2122
+ }
2123
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_cta {
2124
+ width: 100%;
2125
+ }
2126
+ .TextCenterCtaInBottom_module_textCenterCta .TextCenterCtaInBottom_module_iconOnly .TextCenterCtaInBottom_module_cta {
2127
+ width: auto;
2128
+ }
2129
+ }
1778
2130
  /*# sourceMappingURL=index.css.map */