@digital-b2c/coreui-kit 0.4.5 → 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.
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;
@@ -1274,16 +1275,12 @@ a:hover {
1274
1275
 
1275
1276
  /* src/widgets/MiniBanner/MiniBanner.module.scss */
1276
1277
  .MiniBanner_module_minibanner {
1277
- display: flex;
1278
- flex-direction: column;
1279
- align-items: center;
1280
1278
  width: 100%;
1281
1279
  background-color: #f3f3f3;
1282
1280
  min-height: 192px;
1283
1281
  position: relative;
1284
1282
  color: var(--color-white);
1285
- text-align: center;
1286
- gap: var(--spacing-xl);
1283
+ padding: var(--spacing-3xl) var(--spacing-7xl);
1287
1284
  }
1288
1285
  .MiniBanner_module_minibanner .MiniBanner_module_background {
1289
1286
  position: absolute;
@@ -1294,64 +1291,81 @@ a:hover {
1294
1291
  object-fit: cover;
1295
1292
  z-index: 1;
1296
1293
  }
1297
- .MiniBanner_module_minibanner .MiniBanner_module_textContainer {
1294
+ .MiniBanner_module_minibanner .MiniBanner_module_wrapper {
1295
+ width: 100%;
1296
+ max-width: 1440px;
1297
+ margin: 0 auto;
1298
+ text-align: center;
1299
+ display: flex;
1300
+ flex-direction: column;
1301
+ align-items: center;
1302
+ gap: var(--spacing-xl);
1303
+ }
1304
+ .MiniBanner_module_minibanner .MiniBanner_module_wrapper .MiniBanner_module_textContainer {
1298
1305
  position: relative;
1299
1306
  display: flex;
1300
1307
  flex-direction: column;
1301
1308
  justify-items: center;
1309
+ align-items: center;
1302
1310
  gap: var(--spacing-lg);
1303
1311
  z-index: 2;
1304
1312
  }
1305
- .MiniBanner_module_minibanner .MiniBanner_module_textContainer .MiniBanner_module_logo {
1313
+ .MiniBanner_module_minibanner .MiniBanner_module_wrapper .MiniBanner_module_textContainer .MiniBanner_module_logo {
1314
+ width: 100%;
1306
1315
  max-width: 384px;
1307
1316
  }
1308
- .MiniBanner_module_minibanner .MiniBanner_module_textContainer .MiniBanner_module_headingWrapper {
1317
+ .MiniBanner_module_minibanner .MiniBanner_module_wrapper .MiniBanner_module_textContainer .MiniBanner_module_pretitle {
1318
+ color: var(--color-light-gray);
1319
+ }
1320
+ .MiniBanner_module_minibanner .MiniBanner_module_wrapper .MiniBanner_module_textContainer .MiniBanner_module_headingWrapper {
1309
1321
  display: flex;
1310
1322
  gap: var(--spacing-md);
1311
1323
  }
1312
- .MiniBanner_module_minibanner .MiniBanner_module_textContainer .MiniBanner_module_headingWrapper .MiniBanner_module_title {
1324
+ .MiniBanner_module_minibanner .MiniBanner_module_wrapper .MiniBanner_module_textContainer .MiniBanner_module_headingWrapper .MiniBanner_module_title {
1313
1325
  font-weight: 400;
1314
1326
  }
1315
- .MiniBanner_module_minibanner .MiniBanner_module_textContainer * {
1316
- max-width: 100%;
1317
- }
1318
- .MiniBanner_module_minibanner .MiniBanner_module_ctaContainer {
1327
+ .MiniBanner_module_minibanner .MiniBanner_module_wrapper .MiniBanner_module_ctaContainer {
1319
1328
  position: relative;
1320
1329
  width: 100%;
1321
1330
  z-index: 2;
1322
1331
  }
1323
1332
  .MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG {
1324
1333
  color: var(--color-black);
1334
+ padding: var(--spacing-5xl) var(--spacing-7xl);
1325
1335
  }
1326
- .MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .MiniBanner_module_textContainer {
1327
- gap: var(--spacing-lg);
1328
- padding: var(--spacing-5xl) 0;
1336
+ .MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .MiniBanner_module_wrapper .MiniBanner_module_textContainer {
1337
+ gap: var(--spacing-xl);
1329
1338
  }
1330
- .MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .MiniBanner_module_textContainer .MiniBanner_module_headingWrapper {
1339
+ .MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .MiniBanner_module_wrapper .MiniBanner_module_textContainer .MiniBanner_module_headingWrapper {
1331
1340
  gap: var(--spacing-sm);
1332
1341
  }
1333
- .MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .MiniBanner_module_textContainer .MiniBanner_module_headingWrapper .MiniBanner_module_title {
1342
+ .MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .MiniBanner_module_wrapper .MiniBanner_module_textContainer .MiniBanner_module_headingWrapper .MiniBanner_module_title {
1334
1343
  font-weight: 600;
1335
1344
  }
1336
- @media (max-width: 768px) {
1337
- .MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .MiniBanner_module_textContainer {
1338
- padding: var(--spacing-5xl) var(--spacing-md);
1339
- }
1340
- }
1341
1345
  .MiniBanner_module_minibanner.MiniBanner_module_miniBannerTextLeft {
1342
- align-items: flex-start;
1343
- text-align: left;
1344
1346
  padding: var(--spacing-5xl) var(--spacing-7xl);
1345
1347
  }
1346
- .MiniBanner_module_minibanner.MiniBanner_module_miniBannerTextLeft .MiniBanner_module_textContainer {
1348
+ .MiniBanner_module_minibanner.MiniBanner_module_miniBannerTextLeft .MiniBanner_module_wrapper {
1349
+ flex-direction: column;
1350
+ align-items: flex-start;
1351
+ }
1352
+ .MiniBanner_module_minibanner.MiniBanner_module_miniBannerTextLeft .MiniBanner_module_wrapper .MiniBanner_module_textContainer {
1347
1353
  gap: var(--spacing-sm);
1348
1354
  max-width: unset;
1355
+ align-items: flex-start;
1356
+ text-align: left;
1349
1357
  }
1350
- .MiniBanner_module_minibanner.MiniBanner_module_miniBannerTextLeft .MiniBanner_module_textContainer .MiniBanner_module_title {
1358
+ .MiniBanner_module_minibanner.MiniBanner_module_miniBannerTextLeft .MiniBanner_module_wrapper .MiniBanner_module_textContainer .MiniBanner_module_title {
1351
1359
  font-weight: 600;
1352
1360
  }
1353
1361
  @media (max-width: 768px) {
1354
- .MiniBanner_module_minibanner.MiniBanner_module_miniBannerTextLeft {
1362
+ .MiniBanner_module_minibanner {
1363
+ padding-inline: var(--spacing-md);
1364
+ }
1365
+ .MiniBanner_module_minibanner.MiniBanner_module_miniBannerNoBG .MiniBanner_module_wrapper .MiniBanner_module_textContainer {
1366
+ padding: var(--spacing-5xl) var(--spacing-md);
1367
+ }
1368
+ .MiniBanner_module_minibanner.MiniBanner_module_miniBannerTextLeft .MiniBanner_module_wrapper .MiniBanner_module_textContainer {
1355
1369
  padding: var(--spacing-md) var(--spacing-lg);
1356
1370
  gap: var(--spacing-xl);
1357
1371
  }
@@ -1607,6 +1621,7 @@ a:hover {
1607
1621
  article {
1608
1622
  display: flex;
1609
1623
  flex-direction: row-reverse;
1624
+ justify-content: space-between;
1610
1625
  border: 1px solid var(--color-extra-light-gray);
1611
1626
  overflow: hidden;
1612
1627
  border-radius: 0.5rem;
@@ -1718,6 +1733,8 @@ article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_descrip
1718
1733
  /* src/widgets/EventList/EventList.module.scss */
1719
1734
  .EventList_module_section {
1720
1735
  padding: 1.5rem 1rem;
1736
+ max-width: 1440px;
1737
+ margin: 0 auto;
1721
1738
  }
1722
1739
  .EventList_module_section h2 {
1723
1740
  color: var(--color-black);
@@ -1759,4 +1776,273 @@ article .UpcomingEventCard_module_text-content .UpcomingEventCard_module_descrip
1759
1776
  .EventList_module_section.EventList_module_grey .swiper-wrapper {
1760
1777
  flex-direction: row;
1761
1778
  }
1779
+
1780
+ /* src/widgets/TextEvent/TextEvent.module.scss */
1781
+ html,
1782
+ body {
1783
+ font-family: "Instrument Sans", sans-serif;
1784
+ font-size: 1rem;
1785
+ font-weight: 500;
1786
+ line-height: 1.5;
1787
+ color: #4d4d4d;
1788
+ }
1789
+ h1,
1790
+ .TextEvent_module_h1 {
1791
+ font-size: 3rem;
1792
+ font-weight: 600;
1793
+ line-height: 1.17;
1794
+ }
1795
+ @media (max-width: 768px) {
1796
+ h1,
1797
+ .TextEvent_module_h1 {
1798
+ font-size: 2rem;
1799
+ }
1800
+ }
1801
+ h2,
1802
+ .TextEvent_module_h2 {
1803
+ font-size: 2.5rem;
1804
+ font-weight: 600;
1805
+ line-height: 1.2;
1806
+ }
1807
+ @media (max-width: 768px) {
1808
+ h2,
1809
+ .TextEvent_module_h2 {
1810
+ font-size: 1.5rem;
1811
+ }
1812
+ }
1813
+ h3,
1814
+ .TextEvent_module_h3,
1815
+ .TextEvent_module_textEvent .TextEvent_module_richText h2 {
1816
+ font-size: 2rem;
1817
+ font-weight: 600;
1818
+ line-height: 1.25;
1819
+ }
1820
+ @media (max-width: 768px) {
1821
+ h3,
1822
+ .TextEvent_module_h3,
1823
+ .TextEvent_module_textEvent .TextEvent_module_richText h2 {
1824
+ font-size: 1.25rem;
1825
+ }
1826
+ }
1827
+ h4,
1828
+ .TextEvent_module_h4 {
1829
+ font-size: 1.5rem;
1830
+ font-weight: 600;
1831
+ line-height: 1.33;
1832
+ }
1833
+ @media (max-width: 768px) {
1834
+ h4,
1835
+ .TextEvent_module_h4 {
1836
+ font-size: 18px;
1837
+ }
1838
+ }
1839
+ .TextEvent_module_subheading,
1840
+ .TextEvent_module_textEvent .TextEvent_module_richText p,
1841
+ .TextEvent_module_textEvent .TextEvent_module_richText h3,
1842
+ .TextEvent_module_textEvent .TextEvent_module_richText td {
1843
+ font-size: 1.25rem;
1844
+ font-weight: 500;
1845
+ line-height: 1.4;
1846
+ }
1847
+ @media (max-width: 768px) {
1848
+ .TextEvent_module_subheading,
1849
+ .TextEvent_module_textEvent .TextEvent_module_richText p,
1850
+ .TextEvent_module_textEvent .TextEvent_module_richText h3,
1851
+ .TextEvent_module_textEvent .TextEvent_module_richText td {
1852
+ font-size: 18px;
1853
+ }
1854
+ }
1855
+ p,
1856
+ .TextEvent_module_body {
1857
+ font-size: 1rem;
1858
+ font-weight: 500;
1859
+ line-height: 1.5;
1860
+ }
1861
+ small,
1862
+ .TextEvent_module_small {
1863
+ font-size: 0.875rem;
1864
+ font-weight: 500;
1865
+ line-height: 1.5;
1866
+ }
1867
+ .TextEvent_module_smallest {
1868
+ font-size: 0.75rem;
1869
+ font-weight: 500;
1870
+ line-height: 1.5;
1871
+ }
1872
+ a {
1873
+ color: var(--color-link);
1874
+ text-decoration: none;
1875
+ cursor: pointer;
1876
+ }
1877
+ a:hover {
1878
+ text-decoration: underline;
1879
+ }
1880
+ .TextEvent_module_textEvent {
1881
+ width: 100%;
1882
+ padding: var(--spacing-3xl) var(--spacing-7xl);
1883
+ }
1884
+ @media (max-width: 768px) {
1885
+ .TextEvent_module_textEvent {
1886
+ padding: var(--spacing-lg) var(--spacing-md);
1887
+ }
1888
+ }
1889
+ .TextEvent_module_textEvent .TextEvent_module_title {
1890
+ margin-bottom: var(--spacing-xl);
1891
+ color: var(--color-black);
1892
+ }
1893
+ @media (max-width: 768px) {
1894
+ .TextEvent_module_textEvent .TextEvent_module_title {
1895
+ font-size: var(--font-size-xl);
1896
+ margin-bottom: var(--spacing-lg);
1897
+ }
1898
+ }
1899
+ .TextEvent_module_textEvent .TextEvent_module_richText p {
1900
+ margin-bottom: var(--spacing-xl);
1901
+ color: var(--color-gray);
1902
+ }
1903
+ @media (max-width: 768px) {
1904
+ .TextEvent_module_textEvent .TextEvent_module_richText p {
1905
+ font-size: var(--font-size-md);
1906
+ }
1907
+ }
1908
+ .TextEvent_module_textEvent .TextEvent_module_richText p:first-child {
1909
+ line-height: 140%;
1910
+ margin-bottom: var(--spacing-xl);
1911
+ }
1912
+ .TextEvent_module_textEvent .TextEvent_module_richText p:last-child {
1913
+ margin-bottom: 0;
1914
+ }
1915
+ .TextEvent_module_textEvent .TextEvent_module_richText p:empty {
1916
+ display: none;
1917
+ margin: 0;
1918
+ }
1919
+ .TextEvent_module_textEvent .TextEvent_module_richText a {
1920
+ font-weight: var(--font-weight-medium);
1921
+ }
1922
+ .TextEvent_module_textEvent .TextEvent_module_richText strong {
1923
+ color: var(--color-black);
1924
+ }
1925
+ .TextEvent_module_textEvent .TextEvent_module_richText h2 {
1926
+ margin-bottom: var(--spacing-xl);
1927
+ color: var(--color-black);
1928
+ }
1929
+ .TextEvent_module_textEvent .TextEvent_module_richText h3 {
1930
+ margin-bottom: var(--spacing-lg);
1931
+ color: var(--color-gray);
1932
+ }
1933
+ @media (max-width: 768px) {
1934
+ .TextEvent_module_textEvent .TextEvent_module_richText h3 {
1935
+ font-size: var(--font-size-md);
1936
+ }
1937
+ }
1938
+ .TextEvent_module_textEvent .TextEvent_module_richText br {
1939
+ display: block;
1940
+ content: "";
1941
+ margin-bottom: var(--spacing-sm);
1942
+ }
1943
+ .TextEvent_module_textEvent .TextEvent_module_richText table {
1944
+ width: 100%;
1945
+ border-collapse: collapse;
1946
+ margin-bottom: var(--spacing-xl);
1947
+ }
1948
+ .TextEvent_module_textEvent .TextEvent_module_richText table:last-child {
1949
+ margin-bottom: 0 !important;
1950
+ }
1951
+ .TextEvent_module_textEvent .TextEvent_module_richText tr {
1952
+ border-bottom: 1px solid transparent;
1953
+ }
1954
+ .TextEvent_module_textEvent .TextEvent_module_richText td {
1955
+ padding-bottom: var(--spacing-lg);
1956
+ vertical-align: top;
1957
+ color: var(--color-black);
1958
+ }
1959
+ @media (max-width: 768px) {
1960
+ .TextEvent_module_textEvent .TextEvent_module_richText td {
1961
+ font-size: var(--font-size-md);
1962
+ }
1963
+ }
1964
+ .TextEvent_module_textEvent .TextEvent_module_richText td:first-child {
1965
+ width: 17.5625rem;
1966
+ text-align: right;
1967
+ padding-right: var(--spacing-xl);
1968
+ white-space: nowrap;
1969
+ }
1970
+ @media (max-width: 768px) {
1971
+ .TextEvent_module_textEvent .TextEvent_module_richText td:first-child {
1972
+ padding: var(--spacing-lg) 0;
1973
+ width: unset;
1974
+ text-align: left;
1975
+ padding-right: var(--spacing-lg);
1976
+ white-space: normal;
1977
+ border-bottom: 1px solid #e3e3e3;
1978
+ }
1979
+ }
1980
+ .TextEvent_module_textEvent .TextEvent_module_richText td:last-child {
1981
+ border-left: 1px solid #e3e3e3;
1982
+ padding-left: var(--spacing-xl);
1983
+ }
1984
+ @media (max-width: 768px) {
1985
+ .TextEvent_module_textEvent .TextEvent_module_richText td:last-child {
1986
+ border-left: unset;
1987
+ padding: 0.5rem 0;
1988
+ border-bottom: 1px solid #e3e3e3;
1989
+ text-align: left;
1990
+ padding-left: var(--spacing-lg);
1991
+ }
1992
+ }
1993
+ .TextEvent_module_textEvent .TextEvent_module_richText tbody tr:last-child td {
1994
+ padding-bottom: 0 !important;
1995
+ }
1996
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table {
1997
+ display: flex;
1998
+ flex-direction: column;
1999
+ align-items: center;
2000
+ width: auto;
2001
+ }
2002
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table tr:first-child td:first-child {
2003
+ padding-top: 14px;
2004
+ }
2005
+ @media (max-width: 768px) {
2006
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table tr:first-child td:first-child {
2007
+ padding-top: 0px;
2008
+ }
2009
+ }
2010
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table tr:first-child td:last-child {
2011
+ padding-top: 14px;
2012
+ }
2013
+ @media (max-width: 768px) {
2014
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table tr:first-child td:last-child {
2015
+ padding-top: 0px;
2016
+ }
2017
+ }
2018
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table td:first-child {
2019
+ text-align: right;
2020
+ }
2021
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table td:last-child {
2022
+ text-align: left;
2023
+ border-left: 1px solid #e3e3e3;
2024
+ }
2025
+ @media (max-width: 768px) {
2026
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table td:last-child {
2027
+ border-left: unset;
2028
+ }
2029
+ }
2030
+ @media (max-width: 768px) {
2031
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table tr {
2032
+ display: grid;
2033
+ grid-template-columns: 1fr 1fr;
2034
+ border-bottom: 1px solid #e3e3e3;
2035
+ column-gap: 32px;
2036
+ align-items: center;
2037
+ padding: 8px 0;
2038
+ }
2039
+ }
2040
+ @media (max-width: 768px) {
2041
+ .TextEvent_module_textEvent .TextEvent_module_richText.TextEvent_module_table-center table td {
2042
+ font-size: 1.125rem;
2043
+ padding: 0;
2044
+ border: none !important;
2045
+ width: auto;
2046
+ }
2047
+ }
1762
2048
  /*# sourceMappingURL=index.css.map */