@asante-org/leybold-design-system 1.2.1 → 1.3.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.
@@ -515,6 +515,8 @@
515
515
  padding: 0.25rem 0.375rem;
516
516
  font-size: 0.625rem;
517
517
  line-height: 1.2;
518
+ min-width: 80px;
519
+ min-height: 30px;
518
520
  }
519
521
  .Button-module__button--extra-small___R0QTM.Button-module__button--carousel-arrow-left___Wx-Jo, .Button-module__button--extra-small___R0QTM.Button-module__button--carousel-arrow-right___3ZtgT {
520
522
  padding: 0.25rem;
@@ -527,6 +529,8 @@
527
529
  .Button-module__button--small___ADJQe {
528
530
  padding: 0.25rem 0.5rem;
529
531
  font-size: 0.75rem;
532
+ min-width: 120px;
533
+ min-height: 41px;
530
534
  }
531
535
  .Button-module__button--small___ADJQe.Button-module__button--carousel-arrow-left___Wx-Jo, .Button-module__button--small___ADJQe.Button-module__button--carousel-arrow-right___3ZtgT {
532
536
  padding: 0.25rem;
@@ -537,6 +541,8 @@
537
541
  .Button-module__button--medium___ZuR4Z {
538
542
  padding: 0.5rem 1rem;
539
543
  font-size: 0.875rem;
544
+ min-width: 215px;
545
+ min-height: 56px;
540
546
  }
541
547
  .Button-module__button--medium___ZuR4Z.Button-module__button--carousel-arrow-left___Wx-Jo, .Button-module__button--medium___ZuR4Z.Button-module__button--carousel-arrow-right___3ZtgT {
542
548
  padding: 0.5rem;
@@ -547,6 +553,8 @@
547
553
  .Button-module__button--large___-FaV5 {
548
554
  padding: 1rem 1.5rem;
549
555
  font-size: 1rem;
556
+ min-width: 310px;
557
+ min-height: 73px;
550
558
  }
551
559
  .Button-module__button--large___-FaV5.Button-module__button--carousel-arrow-left___Wx-Jo, .Button-module__button--large___-FaV5.Button-module__button--carousel-arrow-right___3ZtgT {
552
560
  padding: 1rem;
@@ -1419,8 +1427,8 @@
1419
1427
  flex-direction: column;
1420
1428
  gap: 0.5rem;
1421
1429
  padding: 0.5rem !important;
1422
- background-color: transparent;
1423
- box-shadow: none;
1430
+ background-color: white;
1431
+ box-shadow: 2.7px 2.7px 5px 0 rgba(0, 0, 0, 0.1);
1424
1432
  }
1425
1433
  @media (max-width: 768px) {
1426
1434
  .ProductCardHorizontal-module__productWrapper___gs8fn {
@@ -1430,7 +1438,7 @@
1430
1438
  padding: 0 6px 0 0;
1431
1439
  }
1432
1440
  }
1433
- .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withImage___pPFw2 {
1441
+ .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withImage___pPFw2, .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withPlaceholder___x8IUh {
1434
1442
  display: grid;
1435
1443
  grid-template-columns: 75px repeat(2, minmax(80px, 1fr));
1436
1444
  grid-template-rows: repeat(3, auto);
@@ -1438,19 +1446,19 @@
1438
1446
  row-gap: 0.125rem;
1439
1447
  }
1440
1448
  @media (max-width: 768px) {
1441
- .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withImage___pPFw2 {
1449
+ .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withImage___pPFw2, .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withPlaceholder___x8IUh {
1442
1450
  display: flex;
1443
1451
  flex-direction: row;
1444
1452
  align-items: center;
1445
1453
  }
1446
1454
  }
1447
- .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withImage___pPFw2 .ProductCardHorizontal-module__productTitle___xBuu7 {
1455
+ .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withImage___pPFw2 .ProductCardHorizontal-module__productTitle___xBuu7, .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withPlaceholder___x8IUh .ProductCardHorizontal-module__productTitle___xBuu7 {
1448
1456
  font-size: 16px;
1449
1457
  }
1450
- .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withImage___pPFw2 .ProductCardHorizontal-module__productDescription___CA35O {
1458
+ .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withImage___pPFw2 .ProductCardHorizontal-module__productDescription___CA35O, .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withPlaceholder___x8IUh .ProductCardHorizontal-module__productDescription___CA35O {
1451
1459
  font-size: 16px;
1452
1460
  }
1453
- .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withImage___pPFw2 .ProductCardHorizontal-module__productPrice___lf32A {
1461
+ .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withImage___pPFw2 .ProductCardHorizontal-module__productPrice___lf32A, .ProductCardHorizontal-module__productWrapper___gs8fn.ProductCardHorizontal-module__withPlaceholder___x8IUh .ProductCardHorizontal-module__productPrice___lf32A {
1454
1462
  font-size: 16px;
1455
1463
  }
1456
1464
 
@@ -1471,6 +1479,14 @@
1471
1479
  }
1472
1480
  }
1473
1481
 
1482
+ .ProductCardHorizontal-module__placeholderImage___kT1sp {
1483
+ width: 100%;
1484
+ height: 100%;
1485
+ background-color: var(--leybold-white-aluminium);
1486
+ padding: 0 5px;
1487
+ border-radius: 0 !important;
1488
+ }
1489
+
1474
1490
  .ProductCardHorizontal-module__productContent___Np2cY {
1475
1491
  flex: 1;
1476
1492
  min-width: 0;
@@ -1479,7 +1495,7 @@
1479
1495
  .ProductCardHorizontal-module__productTitle___xBuu7,
1480
1496
  h3.ProductCardHorizontal-module__productTitle___xBuu7 {
1481
1497
  margin: 0 0 0.25rem 0;
1482
- font-size: 16px;
1498
+ font-size: var(--body-mobile-size);
1483
1499
  font-weight: 600;
1484
1500
  color: #111827;
1485
1501
  line-height: 1.4;
@@ -1487,8 +1503,8 @@ h3.ProductCardHorizontal-module__productTitle___xBuu7 {
1487
1503
 
1488
1504
  .ProductCardHorizontal-module__productId___3oOQV {
1489
1505
  margin: 0 0 0.25rem 0;
1490
- font-size: 9px;
1491
- color: #6b7280;
1506
+ font-size: 14px;
1507
+ color: var(--leybold-slate-Grey);
1492
1508
  }
1493
1509
 
1494
1510
  .ProductCardHorizontal-module__productDescription___CA35O {
@@ -1504,7 +1520,7 @@ h3.ProductCardHorizontal-module__productTitle___xBuu7 {
1504
1520
 
1505
1521
  .ProductCardHorizontal-module__productPrice___lf32A {
1506
1522
  margin: 0;
1507
- font-size: clamp(14px, 1.25vw, 1.5rem);
1523
+ font-size: var(--body-mobile-size);
1508
1524
  font-weight: 700;
1509
1525
  color: #111827;
1510
1526
  }
@@ -1929,6 +1945,179 @@ h3.ProductCardHorizontal-module__productTitle___xBuu7 {
1929
1945
  --text-xxl-line-height: 1;
1930
1946
  }
1931
1947
 
1948
+ .ContentCardVertical-module__contentCard___EoYej {
1949
+ display: flex;
1950
+ flex-direction: column;
1951
+ text-decoration: none;
1952
+ color: inherit;
1953
+ background-color: white;
1954
+ padding: 16px;
1955
+ width: 100%;
1956
+ gap: 0.5rem;
1957
+ /* Gen List Card Shadow */
1958
+ box-shadow: 1px 0 6.7px 2px rgba(0, 0, 0, 0.08);
1959
+ transition: box-shadow 0.2s ease-in-out;
1960
+ }
1961
+ .ContentCardVertical-module__contentCard___EoYej:hover {
1962
+ box-shadow: 3px 6px 8px -5px rgba(0, 0, 0, 0.3);
1963
+ }
1964
+ .ContentCardVertical-module__contentCard___EoYej:focus-visible {
1965
+ outline: 2px solid #000000;
1966
+ outline-offset: 2px;
1967
+ }
1968
+ .ContentCardVertical-module__contentCard___EoYej:focus:not(:focus-visible) {
1969
+ border: 1px solid #000000;
1970
+ }
1971
+ .ContentCardVertical-module__contentCard___EoYej .content-card-image-wrapper {
1972
+ aspect-ratio: 16/9;
1973
+ overflow: hidden;
1974
+ background-color: #dae0e3;
1975
+ }
1976
+ .ContentCardVertical-module__contentCard___EoYej .content-card-image {
1977
+ width: 100%;
1978
+ height: 100%;
1979
+ -o-object-fit: cover;
1980
+ object-fit: cover;
1981
+ display: block;
1982
+ }
1983
+ .ContentCardVertical-module__contentCard___EoYej button {
1984
+ width: 100%;
1985
+ min-width: 0;
1986
+ min-height: 44px;
1987
+ margin-top: auto;
1988
+ }
1989
+ .ContentCardVertical-module__contentCard___EoYej .career-button {
1990
+ justify-content: flex-start;
1991
+ }
1992
+
1993
+ .ContentCardVertical-module__contentCard--instant-view___dsIUf,
1994
+ .ContentCardVertical-module__contentCard--results-view___6mSHQ {
1995
+ gap: 0.5rem;
1996
+ }
1997
+
1998
+ .ContentCardVertical-module__contentMeta___l2GtO {
1999
+ display: flex;
2000
+ flex-direction: column;
2001
+ align-items: flex-start;
2002
+ gap: 0.25rem;
2003
+ margin: 0;
2004
+ }
2005
+
2006
+ .ContentCardVertical-module__contentCategory___78vrj,
2007
+ .ContentCardVertical-module__contentMetaText___Rl-ln {
2008
+ margin: 0;
2009
+ font-size: var(--body-desktop-size);
2010
+ line-height: var(--body-desktop-line-height);
2011
+ color: #4a4e54;
2012
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
2013
+ }
2014
+
2015
+ .ContentCardVertical-module__contentCategory___78vrj {
2016
+ font-weight: 300;
2017
+ }
2018
+
2019
+ .ContentCardVertical-module__contentTitle___rEiHm {
2020
+ margin: 0;
2021
+ font-size: var(--h3-mobile-size);
2022
+ font-weight: 900;
2023
+ line-height: var(--h3-mobile-line-height);
2024
+ color: #4a4e54;
2025
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
2026
+ }
2027
+
2028
+ .ContentCardVertical-module__contentExcerpt___5Gb2G {
2029
+ margin: 0;
2030
+ font-size: var(--body-desktop-size);
2031
+ font-weight: 400;
2032
+ line-height: var(--body-desktop-line-height);
2033
+ color: #4a4e54;
2034
+ font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
2035
+ }
2036
+
2037
+ @media (max-width: 768px) {
2038
+ .ContentCardVertical-module__contentCard___EoYej {
2039
+ max-width: 100%;
2040
+ padding: 1rem;
2041
+ }
2042
+ .ContentCardVertical-module__contentCategory___78vrj,
2043
+ .ContentCardVertical-module__contentMetaText___Rl-ln,
2044
+ .ContentCardVertical-module__contentExcerpt___5Gb2G {
2045
+ font-size: 1rem;
2046
+ }
2047
+ .ContentCardVertical-module__contentTitle___rEiHm {
2048
+ font-size: var(--h3-mobile-size);
2049
+ }
2050
+ }
2051
+ :root {
2052
+ --leybold-red: #e2001a;
2053
+ --leybold-black: #000000;
2054
+ --leybold-white: #ffffff;
2055
+ --leybold-blue-grey: #546672;
2056
+ --leybold-white-aluminium: #dae0e3;
2057
+ --leybold-window-gray: #99a1ab;
2058
+ --leybold-light-grey: #c5c7c4;
2059
+ --leybold-very-light-grey: #f5f5f5;
2060
+ --leybold-slate-gray: #4a4e54;
2061
+ --leybold-anthracite-gray: #383e42;
2062
+ --leybold-orange: #d18e56;
2063
+ --leybold-yellow: #edd163;
2064
+ --leybold-green: #6ea67b;
2065
+ --leybold-purple: #732d5d;
2066
+ --leybold-purple-gray: #945e67;
2067
+ --leybold-blue: #2b4679;
2068
+ --leybold-light-blue: #3f6a98;
2069
+ --leybold-blue-green: #39788e;
2070
+ --leybold-green-gray: #6d8f9f;
2071
+ --color-primary: #e2001a;
2072
+ --color-secondary: #546672;
2073
+ --color-success: #6ea67b;
2074
+ --color-danger: #e2001a;
2075
+ --color-warning: #d18e56;
2076
+ --color-info: #3f6a98;
2077
+ --text-primary: #000000;
2078
+ --text-secondary: #4a4e54;
2079
+ --text-muted: #99a1ab;
2080
+ --text-inverse: #ffffff;
2081
+ --bg-primary: #ffffff;
2082
+ --bg-secondary: #dae0e3;
2083
+ --bg-dark: #383e42;
2084
+ --border-color: #c5c7c4;
2085
+ --border-color-dark: #4a4e54;
2086
+ --font-family-base: Inter, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans, Helvetica Neue, sans-serif;
2087
+ --h1-mobile-size: 32px;
2088
+ --h1-mobile-line-height: 1.2;
2089
+ --h2-mobile-size: 24px;
2090
+ --h2-mobile-line-height: 1.2;
2091
+ --h3-mobile-size: 18px;
2092
+ --h3-mobile-line-height: 1.6;
2093
+ --h4-mobile-size: 16px;
2094
+ --h4-mobile-line-height: 1.55;
2095
+ --h5-mobile-size: 14px;
2096
+ --h5-mobile-line-height: 1.5;
2097
+ --body-mobile-size: 14px;
2098
+ --body-mobile-line-height: 1.5;
2099
+ --h1-desktop-size: 55px;
2100
+ --h1-desktop-line-height: 1.15;
2101
+ --h1-desktop-letter-spacing: -0.02em;
2102
+ --h2-desktop-size: 40px;
2103
+ --h2-desktop-line-height: 1.2;
2104
+ --h2-desktop-letter-spacing: -0.01em;
2105
+ --h3-desktop-size: 32px;
2106
+ --h3-desktop-line-height: 1.2;
2107
+ --h4-desktop-size: 24px;
2108
+ --h4-desktop-line-height: 1.2;
2109
+ --h5-desktop-size: 18px;
2110
+ --h5-desktop-line-height: 1.6;
2111
+ --body-desktop-size: 18px;
2112
+ --body-desktop-line-height: 1.6;
2113
+ --text-lg-size: 27px;
2114
+ --text-lg-line-height: 1.4;
2115
+ --text-xl-size: 36px;
2116
+ --text-xl-line-height: 1.4;
2117
+ --text-xxl-size: 64px;
2118
+ --text-xxl-line-height: 1;
2119
+ }
2120
+
1932
2121
  @keyframes loading {
1933
2122
  0% {
1934
2123
  transform: skewX(-10deg) translateX(-100%);
@@ -1954,6 +2143,24 @@ h3.ProductCardHorizontal-module__productTitle___xBuu7 {
1954
2143
  opacity: 0;
1955
2144
  z-index: -1;
1956
2145
  }
2146
+ .cmpAlgoliaDynamicSearchWidget.hasStyleSilverGradientBackground {
2147
+ background: #c5c7c4;
2148
+ }
2149
+ .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground {
2150
+ background: #383e42;
2151
+ }
2152
+ .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text {
2153
+ color: white;
2154
+ }
2155
+ .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text h1,
2156
+ .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text h2,
2157
+ .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text h3,
2158
+ .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text h4,
2159
+ .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text h5,
2160
+ .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text h6,
2161
+ .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text p {
2162
+ color: white;
2163
+ }
1957
2164
 
1958
2165
  .cmpAlgoliaDynamicSearchWidget__container {
1959
2166
  margin-left: auto;
@@ -1990,7 +2197,10 @@ h3.ProductCardHorizontal-module__productTitle___xBuu7 {
1990
2197
  .cmpAlgoliaDynamicSearchWidget__header h6,
1991
2198
  .cmpAlgoliaDynamicSearchWidget__header p {
1992
2199
  margin: 0;
1993
- color: #546672;
2200
+ color: var(--leybold-anthracite-gray);
2201
+ }
2202
+ .cmpAlgoliaDynamicSearchWidget__header p {
2203
+ line-height: 160%;
1994
2204
  }
1995
2205
 
1996
2206
  .cmpAlgoliaDynamicSearchWidget__header__text {
@@ -2000,53 +2210,46 @@ h3.ProductCardHorizontal-module__productTitle___xBuu7 {
2000
2210
  }
2001
2211
  @media screen and (min-width: 768px) {
2002
2212
  .cmpAlgoliaDynamicSearchWidget__header__text {
2003
- max-width: 75%;
2213
+ max-width: 66.66%;
2004
2214
  }
2005
2215
  }
2006
2216
 
2007
2217
  .cmpAlgoliaDynamicSearchWidget__cards {
2008
2218
  display: grid;
2009
2219
  gap: 1rem;
2010
- grid-template-columns: 1fr;
2220
+ grid-template-columns: minmax(0, 1fr);
2221
+ }
2222
+ .cmpAlgoliaDynamicSearchWidget__cards > * {
2223
+ min-width: 0;
2224
+ width: 100%;
2011
2225
  }
2012
2226
  @media (min-width: 768px) {
2013
2227
  .cmpAlgoliaDynamicSearchWidget__cards {
2014
- grid-template-columns: repeat(2, 1fr);
2228
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2015
2229
  }
2016
2230
  }
2017
2231
  @media (min-width: 961px) {
2018
2232
  .cmpAlgoliaDynamicSearchWidget__cards {
2019
- grid-template-columns: repeat(3, 1fr);
2233
+ grid-template-columns: repeat(3, minmax(0, 1fr));
2020
2234
  }
2021
2235
  }
2022
2236
 
2023
2237
  .cmpAlgoliaDynamicSearchWidget.isQueryContent .cmpAlgoliaDynamicSearchWidget__cards {
2024
- grid-template-columns: repeat(2, 1fr);
2238
+ grid-template-columns: repeat(1, minmax(0, 1fr));
2239
+ }
2240
+ @media (min-width: 768px) {
2241
+ .cmpAlgoliaDynamicSearchWidget.isQueryContent .cmpAlgoliaDynamicSearchWidget__cards {
2242
+ grid-template-columns: repeat(2, minmax(0, 1fr));
2243
+ }
2025
2244
  }
2026
2245
  @media (min-width: 961px) {
2027
2246
  .cmpAlgoliaDynamicSearchWidget.isQueryContent .cmpAlgoliaDynamicSearchWidget__cards {
2028
- grid-template-columns: repeat(4, 1fr);
2247
+ grid-template-columns: repeat(3, minmax(0, 1fr));
2029
2248
  }
2030
2249
  }
2031
2250
 
2032
2251
  .cmpAlgoliaDynamicSearchWidget.hasStyleSilverGradientBackground {
2033
- background: #3f6a98;
2034
- }
2035
-
2036
- .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground {
2037
- background: #546672;
2038
- }
2039
- .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text {
2040
- color: white;
2041
- }
2042
- .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text h1,
2043
- .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text h2,
2044
- .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text h3,
2045
- .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text h4,
2046
- .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text h5,
2047
- .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text h6,
2048
- .cmpAlgoliaDynamicSearchWidget.hasStyleGreyBackground .cmpAlgoliaDynamicSearchWidget__header__text p {
2049
- color: white;
2252
+ background: #c5c7c4;
2050
2253
  }
2051
2254
 
2052
2255
  .cmpAlgoliaDynamicSearchWidget__placeholder {