@sbb-esta/lyne-elements-dev 4.7.0-dev.1773208987 → 4.7.0-dev.1773217409
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/core/styles/core.scss +18 -127
- package/core.css +104 -71
- package/custom-elements.json +695 -695
- package/development/form-field/error/error.component.js +6 -12
- package/development/form-field/form-field/form-field.component.js +33 -60
- package/development/lead-container/lead-container.component.d.ts.map +1 -1
- package/development/lead-container/lead-container.component.js +9 -28
- package/form-field/error/error.component.js +2 -2
- package/form-field/form-field/form-field.component.js +18 -18
- package/lead-container/lead-container.component.js +9 -11
- package/off-brand-theme.css +104 -71
- package/package.json +2 -2
- package/safety-theme.css +104 -71
- package/standard-theme.css +104 -71
package/safety-theme.css
CHANGED
|
@@ -1540,6 +1540,9 @@ summary {
|
|
|
1540
1540
|
--sbb-divider-color: var(--sbb-background-color-4);
|
|
1541
1541
|
--sbb-divider-color-negative: var(--sbb-background-color-4-negative);
|
|
1542
1542
|
--sbb-divider-border-width: var(--sbb-border-width-1x);
|
|
1543
|
+
--sbb-error-color: var(--sbb-color-error);
|
|
1544
|
+
--sbb-error-icon-size: 1.0625rem;
|
|
1545
|
+
--sbb-error-font-size: var(--sbb-text-font-size-xs);
|
|
1543
1546
|
--sbb-expansion-panel-background-color: var(--sbb-background-color-1);
|
|
1544
1547
|
--sbb-expansion-panel-background-color-hover: var(--sbb-background-color-3);
|
|
1545
1548
|
--sbb-expansion-panel-border-radius: var(--sbb-border-radius-4x);
|
|
@@ -1580,8 +1583,37 @@ summary {
|
|
|
1580
1583
|
--sbb-footer-gap-horizontal: var(--sbb-grid-base-gutter-responsive);
|
|
1581
1584
|
--sbb-footer-gap-vertical: var(--sbb-spacing-responsive-l);
|
|
1582
1585
|
--sbb-footer-padding-block: var(--sbb-spacing-responsive-l);
|
|
1586
|
+
--sbb-form-field-background-color: var(--sbb-background-color-1);
|
|
1587
|
+
--sbb-form-field-border-color: var(--sbb-border-color-5);
|
|
1588
|
+
--sbb-form-field-border-style: solid;
|
|
1589
|
+
--sbb-form-field-border-radius: var(--sbb-border-radius-4x);
|
|
1590
|
+
--sbb-form-field-border-width: var(--sbb-border-width-1x);
|
|
1591
|
+
--sbb-form-field-color: var(--sbb-color-3);
|
|
1592
|
+
--sbb-form-field-label-color: var(--sbb-color-metal);
|
|
1593
|
+
--sbb-form-field-label-color: light-dark(var(--sbb-color-metal), var(--sbb-color-smoke));
|
|
1594
|
+
--sbb-form-field-prefix-color: var(--sbb-color-metal);
|
|
1595
|
+
--sbb-form-field-prefix-color: light-dark(var(--sbb-color-metal), var(--sbb-color-smoke));
|
|
1596
|
+
--sbb-form-field-text-color: var(--sbb-color-3);
|
|
1597
|
+
--sbb-form-field-arrow-color: var(--sbb-color-3);
|
|
1598
|
+
--sbb-form-field-gap: var(--sbb-spacing-fixed-2x);
|
|
1599
|
+
--sbb-form-field-icon-size: var(--sbb-size-icon-ui-small);
|
|
1600
|
+
--sbb-form-field-min-height: var(--sbb-size-element-m);
|
|
1601
|
+
--sbb-form-field-padding-inline: var(--sbb-spacing-fixed-3x);
|
|
1602
|
+
--sbb-form-field-input-text-size: var(--sbb-text-font-size-m);
|
|
1603
|
+
--sbb-form-field-label-text-size: var(--sbb-text-font-size-xs);
|
|
1604
|
+
--_sbb-form-field-label-to-input-overlapping: var(--sbb-spacing-fixed-1x);
|
|
1605
|
+
--_sbb-form-field-floating-label-transform: 0.53125rem;
|
|
1606
|
+
--_sbb-form-field-spacer-margin-block-end: calc(-1 * var(--_sbb-form-field-label-to-input-overlapping));
|
|
1583
1607
|
--sbb-icon-sidebar-background-color: var(--sbb-background-color-1);
|
|
1584
1608
|
--sbb-icon-sidebar-border-radius: var(--sbb-border-radius-8x);
|
|
1609
|
+
--sbb-lead-container-background-color: var(--sbb-background-color-1);
|
|
1610
|
+
--sbb-lead-container-image-ratio: 2 / 1;
|
|
1611
|
+
--sbb-lead-container-image-overlap: var(--sbb-spacing-fixed-24x);
|
|
1612
|
+
--sbb-lead-container-content-padding-block: var(--sbb-spacing-responsive-l);
|
|
1613
|
+
--sbb-lead-container-padding-block: 0 var(--sbb-spacing-responsive-l);
|
|
1614
|
+
--sbb-lead-container-padding-inline: var(--sbb-layout-base-offset-responsive);
|
|
1615
|
+
--sbb-lead-container-border-radius: var(--sbb-border-radius-6x);
|
|
1616
|
+
--sbb-lead-container-image-border-radius: 0;
|
|
1585
1617
|
--sbb-option-color: var(--sbb-color-3);
|
|
1586
1618
|
--sbb-option-background-color: inherit;
|
|
1587
1619
|
--sbb-option-background-color-hover: var(--sbb-background-color-3);
|
|
@@ -1703,6 +1735,7 @@ summary {
|
|
|
1703
1735
|
--sbb-card-badge-border-display: block;
|
|
1704
1736
|
--sbb-card-badge-inline-border-display: none;
|
|
1705
1737
|
--sbb-expansion-panel-header-text-color: ButtonText;
|
|
1738
|
+
--sbb-form-field-border-color: ButtonBorder;
|
|
1706
1739
|
--sbb-visual-checkbox-selection-color: Canvas;
|
|
1707
1740
|
--sbb-visual-checkbox-selection-color-negative: Canvas;
|
|
1708
1741
|
--sbb-visual-checkbox-selection-color-disabled: Canvas;
|
|
@@ -1812,6 +1845,9 @@ summary {
|
|
|
1812
1845
|
--sbb-dialog-padding-inline: var(--sbb-spacing-responsive-s);
|
|
1813
1846
|
--sbb-dialog-max-height: calc(100vh - var(--sbb-spacing-fixed-16x));
|
|
1814
1847
|
--sbb-flip-card-min-height: 20rem;
|
|
1848
|
+
--_sbb-form-field-label-to-input-overlapping: var(--sbb-spacing-fixed-1x);
|
|
1849
|
+
--_sbb-form-field-floating-label-transform: 0.65625rem;
|
|
1850
|
+
--_sbb-form-field-spacer-margin-block-end: calc(-1 * var(--_sbb-form-field-label-to-input-overlapping));
|
|
1815
1851
|
}
|
|
1816
1852
|
:root.sbb-lean {
|
|
1817
1853
|
--sbb-title-font-size-level-6-lean: var(--sbb-typo-scale-0-875x);
|
|
@@ -1837,6 +1873,8 @@ summary {
|
|
|
1837
1873
|
--sbb-layout-base-offset-responsive: var(--sbb-layout-base-offset-responsive-ultra);
|
|
1838
1874
|
--sbb-grid-base-columns: var(--sbb-layout-base-grid-columns-ultra);
|
|
1839
1875
|
--sbb-grid-base-gutter-responsive: var(--sbb-layout-base-grid-gutter-responsive-ultra);
|
|
1876
|
+
--sbb-lead-container-image-ratio: 21 / 9;
|
|
1877
|
+
--sbb-lead-container-image-border-radius: var(--sbb-lead-container-border-radius);
|
|
1840
1878
|
}
|
|
1841
1879
|
}
|
|
1842
1880
|
|
|
@@ -1904,70 +1942,7 @@ sbb-flip-card-summary > [slot=image] :is(sbb-image, img):not(.sbb-figure-overlap
|
|
|
1904
1942
|
height: 100%;
|
|
1905
1943
|
}
|
|
1906
1944
|
|
|
1907
|
-
sbb-icon-sidebar-content + sbb-icon-sidebar :is(sbb-icon-sidebar-link, sbb-icon-sidebar-button) {
|
|
1908
|
-
--sbb-icon-sidebar-button__current-border-inset-inline-start: auto;
|
|
1909
|
-
}
|
|
1910
|
-
|
|
1911
|
-
sbb-icon-sidebar-content + sbb-icon-sidebar {
|
|
1912
|
-
border-start-end-radius: 0;
|
|
1913
|
-
border-start-start-radius: var(--sbb-icon-sidebar-border-radius);
|
|
1914
|
-
}
|
|
1915
|
-
|
|
1916
|
-
:where(sbb-select, sbb-autocomplete, sbb-autocomplete-grid)[size=s] :where(sbb-option, sbb-autocomplete-grid-option) {
|
|
1917
|
-
--sbb-option-min-height: var(--sbb-size-element-xxs);
|
|
1918
|
-
--sbb-focus-outline-offset: calc(-1 * var(--sbb-spacing-fixed-1x));
|
|
1919
|
-
--sbb-option-focus-outline-inset: 0 var(--sbb-spacing-fixed-1x);
|
|
1920
|
-
}
|
|
1921
|
-
:where(sbb-select, sbb-autocomplete, sbb-autocomplete-grid)[size=s] sbb-optgroup {
|
|
1922
|
-
--sbb-optgroup-label-padding-end: var(--sbb-spacing-fixed-1x);
|
|
1923
|
-
}
|
|
1924
|
-
:where(sbb-select, sbb-autocomplete, sbb-autocomplete-grid)[size=s] sbb-option-hint {
|
|
1925
|
-
--sbb-option-hint-padding-block-end: var(--sbb-spacing-fixed-1x);
|
|
1926
|
-
}
|
|
1927
|
-
|
|
1928
|
-
sbb-tab-nav-bar .sbb-tab-amount {
|
|
1929
|
-
margin: 0;
|
|
1930
|
-
color: var(--sbb-tab-label-amount-color);
|
|
1931
|
-
font-weight: normal;
|
|
1932
|
-
text-decoration: var(--sbb-tab-label-text-decoration);
|
|
1933
|
-
}
|
|
1934
|
-
|
|
1935
|
-
.sbb-dark {
|
|
1936
|
-
color-scheme: dark;
|
|
1937
|
-
}
|
|
1938
|
-
|
|
1939
|
-
.sbb-light {
|
|
1940
|
-
color-scheme: light;
|
|
1941
|
-
}
|
|
1942
|
-
|
|
1943
|
-
.sbb-light-dark {
|
|
1944
|
-
color-scheme: light dark;
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
html {
|
|
1948
|
-
font-family: var(--sbb-typo-font-family);
|
|
1949
|
-
font-weight: normal;
|
|
1950
|
-
line-height: var(--sbb-typo-line-height-text);
|
|
1951
|
-
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
1952
|
-
font-size: var(--sbb-text-font-size);
|
|
1953
|
-
color-scheme: light dark;
|
|
1954
|
-
color: var(--sbb-font-color-default);
|
|
1955
|
-
background-color: var(--sbb-background-color-1);
|
|
1956
|
-
}
|
|
1957
|
-
|
|
1958
|
-
::placeholder {
|
|
1959
|
-
color: var(--sbb-color-5);
|
|
1960
|
-
-webkit-text-fill-color: var(--sbb-color-5);
|
|
1961
|
-
opacity: 1;
|
|
1962
|
-
}
|
|
1963
|
-
|
|
1964
1945
|
:is(sbb-form-field, sbb-timetable-form-field) :where(input, select, textarea, sbb-select, sbb-date-input, sbb-time-input) {
|
|
1965
|
-
--sbb-text-font-size: var(--sbb-text-font-size-m);
|
|
1966
|
-
font-family: var(--sbb-typo-font-family);
|
|
1967
|
-
font-weight: normal;
|
|
1968
|
-
line-height: var(--sbb-typo-line-height-text);
|
|
1969
|
-
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
1970
|
-
font-size: var(--sbb-text-font-size);
|
|
1971
1946
|
overflow: hidden;
|
|
1972
1947
|
white-space: nowrap;
|
|
1973
1948
|
text-overflow: ellipsis;
|
|
@@ -1977,7 +1952,7 @@ html {
|
|
|
1977
1952
|
padding: 0;
|
|
1978
1953
|
appearance: none;
|
|
1979
1954
|
outline: none !important;
|
|
1980
|
-
overflow: var(--sbb-form-field-overflow);
|
|
1955
|
+
overflow: var(--sbb-form-field-overflow, hidden);
|
|
1981
1956
|
width: 100%;
|
|
1982
1957
|
box-sizing: border-box;
|
|
1983
1958
|
color: var(--sbb-form-field-text-color);
|
|
@@ -1985,6 +1960,7 @@ html {
|
|
|
1985
1960
|
opacity: 1;
|
|
1986
1961
|
background-color: transparent;
|
|
1987
1962
|
font-size: var(--sbb-form-field-input-text-size) !important;
|
|
1963
|
+
letter-spacing: var(--sbb-typo-letter-spacing-text) !important;
|
|
1988
1964
|
font-family: var(--sbb-typo-font-family) !important;
|
|
1989
1965
|
line-height: var(--sbb-typo-line-height-text) !important;
|
|
1990
1966
|
}
|
|
@@ -2135,6 +2111,70 @@ html {
|
|
|
2135
2111
|
}
|
|
2136
2112
|
}
|
|
2137
2113
|
|
|
2114
|
+
sbb-icon-sidebar-content + sbb-icon-sidebar :is(sbb-icon-sidebar-link, sbb-icon-sidebar-button) {
|
|
2115
|
+
--sbb-icon-sidebar-button__current-border-inset-inline-start: auto;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
sbb-icon-sidebar-content + sbb-icon-sidebar {
|
|
2119
|
+
border-start-end-radius: 0;
|
|
2120
|
+
border-start-start-radius: var(--sbb-icon-sidebar-border-radius);
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
sbb-lead-container > [slot=image]:is(sbb-image, img, picture),
|
|
2124
|
+
sbb-lead-container > [slot=image] :is(sbb-image, img, picture):not(.sbb-figure-overlap-image) {
|
|
2125
|
+
--sbb-image-aspect-ratio: var(--sbb-lead-container-image-ratio);
|
|
2126
|
+
--sbb-image-object-fit: cover;
|
|
2127
|
+
border-radius: var(--sbb-lead-container-image-border-radius);
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
:where(sbb-select, sbb-autocomplete, sbb-autocomplete-grid)[size=s] :where(sbb-option, sbb-autocomplete-grid-option) {
|
|
2131
|
+
--sbb-option-min-height: var(--sbb-size-element-xxs);
|
|
2132
|
+
--sbb-focus-outline-offset: calc(-1 * var(--sbb-spacing-fixed-1x));
|
|
2133
|
+
--sbb-option-focus-outline-inset: 0 var(--sbb-spacing-fixed-1x);
|
|
2134
|
+
}
|
|
2135
|
+
:where(sbb-select, sbb-autocomplete, sbb-autocomplete-grid)[size=s] sbb-optgroup {
|
|
2136
|
+
--sbb-optgroup-label-padding-end: var(--sbb-spacing-fixed-1x);
|
|
2137
|
+
}
|
|
2138
|
+
:where(sbb-select, sbb-autocomplete, sbb-autocomplete-grid)[size=s] sbb-option-hint {
|
|
2139
|
+
--sbb-option-hint-padding-block-end: var(--sbb-spacing-fixed-1x);
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
sbb-tab-nav-bar .sbb-tab-amount {
|
|
2143
|
+
margin: 0;
|
|
2144
|
+
color: var(--sbb-tab-label-amount-color);
|
|
2145
|
+
font-weight: normal;
|
|
2146
|
+
text-decoration: var(--sbb-tab-label-text-decoration);
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
.sbb-dark {
|
|
2150
|
+
color-scheme: dark;
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
.sbb-light {
|
|
2154
|
+
color-scheme: light;
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
.sbb-light-dark {
|
|
2158
|
+
color-scheme: light dark;
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
html {
|
|
2162
|
+
font-family: var(--sbb-typo-font-family);
|
|
2163
|
+
font-weight: normal;
|
|
2164
|
+
line-height: var(--sbb-typo-line-height-text);
|
|
2165
|
+
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
2166
|
+
font-size: var(--sbb-text-font-size);
|
|
2167
|
+
color-scheme: light dark;
|
|
2168
|
+
color: var(--sbb-font-color-default);
|
|
2169
|
+
background-color: var(--sbb-background-color-1);
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
::placeholder {
|
|
2173
|
+
color: var(--sbb-color-5);
|
|
2174
|
+
-webkit-text-fill-color: var(--sbb-color-5);
|
|
2175
|
+
opacity: 1;
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2138
2178
|
:is(sbb-autocomplete,
|
|
2139
2179
|
sbb-autocomplete-grid,
|
|
2140
2180
|
sbb-datepicker,
|
|
@@ -2203,13 +2243,6 @@ img {
|
|
|
2203
2243
|
object-position: var(--sbb-image-object-position);
|
|
2204
2244
|
}
|
|
2205
2245
|
|
|
2206
|
-
sbb-lead-container > [slot=image]:is(sbb-image, img, picture),
|
|
2207
|
-
sbb-lead-container > [slot=image] :is(sbb-image, img, picture):not(.sbb-figure-overlap-image) {
|
|
2208
|
-
--sbb-image-aspect-ratio: var(--sbb-lead-container-image-ratio);
|
|
2209
|
-
--sbb-image-object-fit: cover;
|
|
2210
|
-
border-radius: var(--sbb-lead-container-image-border-radius);
|
|
2211
|
-
}
|
|
2212
|
-
|
|
2213
2246
|
sbb-message > [slot=image]:is(sbb-image, img),
|
|
2214
2247
|
sbb-message > [slot=image] :is(sbb-image, img):not(.sbb-figure-overlap-image) {
|
|
2215
2248
|
border-radius: var(--sbb-message-image-border-radius);
|
package/standard-theme.css
CHANGED
|
@@ -1540,6 +1540,9 @@ summary {
|
|
|
1540
1540
|
--sbb-divider-color: var(--sbb-background-color-4);
|
|
1541
1541
|
--sbb-divider-color-negative: var(--sbb-background-color-4-negative);
|
|
1542
1542
|
--sbb-divider-border-width: var(--sbb-border-width-1x);
|
|
1543
|
+
--sbb-error-color: var(--sbb-color-error);
|
|
1544
|
+
--sbb-error-icon-size: 1.0625rem;
|
|
1545
|
+
--sbb-error-font-size: var(--sbb-text-font-size-xs);
|
|
1543
1546
|
--sbb-expansion-panel-background-color: var(--sbb-background-color-1);
|
|
1544
1547
|
--sbb-expansion-panel-background-color-hover: var(--sbb-background-color-3);
|
|
1545
1548
|
--sbb-expansion-panel-border-radius: var(--sbb-border-radius-4x);
|
|
@@ -1580,8 +1583,37 @@ summary {
|
|
|
1580
1583
|
--sbb-footer-gap-horizontal: var(--sbb-grid-base-gutter-responsive);
|
|
1581
1584
|
--sbb-footer-gap-vertical: var(--sbb-spacing-responsive-l);
|
|
1582
1585
|
--sbb-footer-padding-block: var(--sbb-spacing-responsive-l);
|
|
1586
|
+
--sbb-form-field-background-color: var(--sbb-background-color-1);
|
|
1587
|
+
--sbb-form-field-border-color: var(--sbb-border-color-5);
|
|
1588
|
+
--sbb-form-field-border-style: solid;
|
|
1589
|
+
--sbb-form-field-border-radius: var(--sbb-border-radius-4x);
|
|
1590
|
+
--sbb-form-field-border-width: var(--sbb-border-width-1x);
|
|
1591
|
+
--sbb-form-field-color: var(--sbb-color-3);
|
|
1592
|
+
--sbb-form-field-label-color: var(--sbb-color-metal);
|
|
1593
|
+
--sbb-form-field-label-color: light-dark(var(--sbb-color-metal), var(--sbb-color-smoke));
|
|
1594
|
+
--sbb-form-field-prefix-color: var(--sbb-color-metal);
|
|
1595
|
+
--sbb-form-field-prefix-color: light-dark(var(--sbb-color-metal), var(--sbb-color-smoke));
|
|
1596
|
+
--sbb-form-field-text-color: var(--sbb-color-3);
|
|
1597
|
+
--sbb-form-field-arrow-color: var(--sbb-color-3);
|
|
1598
|
+
--sbb-form-field-gap: var(--sbb-spacing-fixed-2x);
|
|
1599
|
+
--sbb-form-field-icon-size: var(--sbb-size-icon-ui-small);
|
|
1600
|
+
--sbb-form-field-min-height: var(--sbb-size-element-m);
|
|
1601
|
+
--sbb-form-field-padding-inline: var(--sbb-spacing-fixed-3x);
|
|
1602
|
+
--sbb-form-field-input-text-size: var(--sbb-text-font-size-m);
|
|
1603
|
+
--sbb-form-field-label-text-size: var(--sbb-text-font-size-xs);
|
|
1604
|
+
--_sbb-form-field-label-to-input-overlapping: var(--sbb-spacing-fixed-1x);
|
|
1605
|
+
--_sbb-form-field-floating-label-transform: 0.53125rem;
|
|
1606
|
+
--_sbb-form-field-spacer-margin-block-end: calc(-1 * var(--_sbb-form-field-label-to-input-overlapping));
|
|
1583
1607
|
--sbb-icon-sidebar-background-color: var(--sbb-background-color-1);
|
|
1584
1608
|
--sbb-icon-sidebar-border-radius: var(--sbb-border-radius-8x);
|
|
1609
|
+
--sbb-lead-container-background-color: var(--sbb-background-color-1);
|
|
1610
|
+
--sbb-lead-container-image-ratio: 2 / 1;
|
|
1611
|
+
--sbb-lead-container-image-overlap: var(--sbb-spacing-fixed-24x);
|
|
1612
|
+
--sbb-lead-container-content-padding-block: var(--sbb-spacing-responsive-l);
|
|
1613
|
+
--sbb-lead-container-padding-block: 0 var(--sbb-spacing-responsive-l);
|
|
1614
|
+
--sbb-lead-container-padding-inline: var(--sbb-layout-base-offset-responsive);
|
|
1615
|
+
--sbb-lead-container-border-radius: var(--sbb-border-radius-6x);
|
|
1616
|
+
--sbb-lead-container-image-border-radius: 0;
|
|
1585
1617
|
--sbb-option-color: var(--sbb-color-3);
|
|
1586
1618
|
--sbb-option-background-color: inherit;
|
|
1587
1619
|
--sbb-option-background-color-hover: var(--sbb-background-color-3);
|
|
@@ -1703,6 +1735,7 @@ summary {
|
|
|
1703
1735
|
--sbb-card-badge-border-display: block;
|
|
1704
1736
|
--sbb-card-badge-inline-border-display: none;
|
|
1705
1737
|
--sbb-expansion-panel-header-text-color: ButtonText;
|
|
1738
|
+
--sbb-form-field-border-color: ButtonBorder;
|
|
1706
1739
|
--sbb-visual-checkbox-selection-color: Canvas;
|
|
1707
1740
|
--sbb-visual-checkbox-selection-color-negative: Canvas;
|
|
1708
1741
|
--sbb-visual-checkbox-selection-color-disabled: Canvas;
|
|
@@ -1812,6 +1845,9 @@ summary {
|
|
|
1812
1845
|
--sbb-dialog-padding-inline: var(--sbb-spacing-responsive-s);
|
|
1813
1846
|
--sbb-dialog-max-height: calc(100vh - var(--sbb-spacing-fixed-16x));
|
|
1814
1847
|
--sbb-flip-card-min-height: 20rem;
|
|
1848
|
+
--_sbb-form-field-label-to-input-overlapping: var(--sbb-spacing-fixed-1x);
|
|
1849
|
+
--_sbb-form-field-floating-label-transform: 0.65625rem;
|
|
1850
|
+
--_sbb-form-field-spacer-margin-block-end: calc(-1 * var(--_sbb-form-field-label-to-input-overlapping));
|
|
1815
1851
|
}
|
|
1816
1852
|
:root.sbb-lean {
|
|
1817
1853
|
--sbb-title-font-size-level-6-lean: var(--sbb-typo-scale-0-875x);
|
|
@@ -1837,6 +1873,8 @@ summary {
|
|
|
1837
1873
|
--sbb-layout-base-offset-responsive: var(--sbb-layout-base-offset-responsive-ultra);
|
|
1838
1874
|
--sbb-grid-base-columns: var(--sbb-layout-base-grid-columns-ultra);
|
|
1839
1875
|
--sbb-grid-base-gutter-responsive: var(--sbb-layout-base-grid-gutter-responsive-ultra);
|
|
1876
|
+
--sbb-lead-container-image-ratio: 21 / 9;
|
|
1877
|
+
--sbb-lead-container-image-border-radius: var(--sbb-lead-container-border-radius);
|
|
1840
1878
|
}
|
|
1841
1879
|
}
|
|
1842
1880
|
|
|
@@ -1904,70 +1942,7 @@ sbb-flip-card-summary > [slot=image] :is(sbb-image, img):not(.sbb-figure-overlap
|
|
|
1904
1942
|
height: 100%;
|
|
1905
1943
|
}
|
|
1906
1944
|
|
|
1907
|
-
sbb-icon-sidebar-content + sbb-icon-sidebar :is(sbb-icon-sidebar-link, sbb-icon-sidebar-button) {
|
|
1908
|
-
--sbb-icon-sidebar-button__current-border-inset-inline-start: auto;
|
|
1909
|
-
}
|
|
1910
|
-
|
|
1911
|
-
sbb-icon-sidebar-content + sbb-icon-sidebar {
|
|
1912
|
-
border-start-end-radius: 0;
|
|
1913
|
-
border-start-start-radius: var(--sbb-icon-sidebar-border-radius);
|
|
1914
|
-
}
|
|
1915
|
-
|
|
1916
|
-
:where(sbb-select, sbb-autocomplete, sbb-autocomplete-grid)[size=s] :where(sbb-option, sbb-autocomplete-grid-option) {
|
|
1917
|
-
--sbb-option-min-height: var(--sbb-size-element-xxs);
|
|
1918
|
-
--sbb-focus-outline-offset: calc(-1 * var(--sbb-spacing-fixed-1x));
|
|
1919
|
-
--sbb-option-focus-outline-inset: 0 var(--sbb-spacing-fixed-1x);
|
|
1920
|
-
}
|
|
1921
|
-
:where(sbb-select, sbb-autocomplete, sbb-autocomplete-grid)[size=s] sbb-optgroup {
|
|
1922
|
-
--sbb-optgroup-label-padding-end: var(--sbb-spacing-fixed-1x);
|
|
1923
|
-
}
|
|
1924
|
-
:where(sbb-select, sbb-autocomplete, sbb-autocomplete-grid)[size=s] sbb-option-hint {
|
|
1925
|
-
--sbb-option-hint-padding-block-end: var(--sbb-spacing-fixed-1x);
|
|
1926
|
-
}
|
|
1927
|
-
|
|
1928
|
-
sbb-tab-nav-bar .sbb-tab-amount {
|
|
1929
|
-
margin: 0;
|
|
1930
|
-
color: var(--sbb-tab-label-amount-color);
|
|
1931
|
-
font-weight: normal;
|
|
1932
|
-
text-decoration: var(--sbb-tab-label-text-decoration);
|
|
1933
|
-
}
|
|
1934
|
-
|
|
1935
|
-
.sbb-dark {
|
|
1936
|
-
color-scheme: dark;
|
|
1937
|
-
}
|
|
1938
|
-
|
|
1939
|
-
.sbb-light {
|
|
1940
|
-
color-scheme: light;
|
|
1941
|
-
}
|
|
1942
|
-
|
|
1943
|
-
.sbb-light-dark {
|
|
1944
|
-
color-scheme: light dark;
|
|
1945
|
-
}
|
|
1946
|
-
|
|
1947
|
-
html {
|
|
1948
|
-
font-family: var(--sbb-typo-font-family);
|
|
1949
|
-
font-weight: normal;
|
|
1950
|
-
line-height: var(--sbb-typo-line-height-text);
|
|
1951
|
-
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
1952
|
-
font-size: var(--sbb-text-font-size);
|
|
1953
|
-
color-scheme: light dark;
|
|
1954
|
-
color: var(--sbb-font-color-default);
|
|
1955
|
-
background-color: var(--sbb-background-color-1);
|
|
1956
|
-
}
|
|
1957
|
-
|
|
1958
|
-
::placeholder {
|
|
1959
|
-
color: var(--sbb-color-5);
|
|
1960
|
-
-webkit-text-fill-color: var(--sbb-color-5);
|
|
1961
|
-
opacity: 1;
|
|
1962
|
-
}
|
|
1963
|
-
|
|
1964
1945
|
:is(sbb-form-field, sbb-timetable-form-field) :where(input, select, textarea, sbb-select, sbb-date-input, sbb-time-input) {
|
|
1965
|
-
--sbb-text-font-size: var(--sbb-text-font-size-m);
|
|
1966
|
-
font-family: var(--sbb-typo-font-family);
|
|
1967
|
-
font-weight: normal;
|
|
1968
|
-
line-height: var(--sbb-typo-line-height-text);
|
|
1969
|
-
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
1970
|
-
font-size: var(--sbb-text-font-size);
|
|
1971
1946
|
overflow: hidden;
|
|
1972
1947
|
white-space: nowrap;
|
|
1973
1948
|
text-overflow: ellipsis;
|
|
@@ -1977,7 +1952,7 @@ html {
|
|
|
1977
1952
|
padding: 0;
|
|
1978
1953
|
appearance: none;
|
|
1979
1954
|
outline: none !important;
|
|
1980
|
-
overflow: var(--sbb-form-field-overflow);
|
|
1955
|
+
overflow: var(--sbb-form-field-overflow, hidden);
|
|
1981
1956
|
width: 100%;
|
|
1982
1957
|
box-sizing: border-box;
|
|
1983
1958
|
color: var(--sbb-form-field-text-color);
|
|
@@ -1985,6 +1960,7 @@ html {
|
|
|
1985
1960
|
opacity: 1;
|
|
1986
1961
|
background-color: transparent;
|
|
1987
1962
|
font-size: var(--sbb-form-field-input-text-size) !important;
|
|
1963
|
+
letter-spacing: var(--sbb-typo-letter-spacing-text) !important;
|
|
1988
1964
|
font-family: var(--sbb-typo-font-family) !important;
|
|
1989
1965
|
line-height: var(--sbb-typo-line-height-text) !important;
|
|
1990
1966
|
}
|
|
@@ -2135,6 +2111,70 @@ html {
|
|
|
2135
2111
|
}
|
|
2136
2112
|
}
|
|
2137
2113
|
|
|
2114
|
+
sbb-icon-sidebar-content + sbb-icon-sidebar :is(sbb-icon-sidebar-link, sbb-icon-sidebar-button) {
|
|
2115
|
+
--sbb-icon-sidebar-button__current-border-inset-inline-start: auto;
|
|
2116
|
+
}
|
|
2117
|
+
|
|
2118
|
+
sbb-icon-sidebar-content + sbb-icon-sidebar {
|
|
2119
|
+
border-start-end-radius: 0;
|
|
2120
|
+
border-start-start-radius: var(--sbb-icon-sidebar-border-radius);
|
|
2121
|
+
}
|
|
2122
|
+
|
|
2123
|
+
sbb-lead-container > [slot=image]:is(sbb-image, img, picture),
|
|
2124
|
+
sbb-lead-container > [slot=image] :is(sbb-image, img, picture):not(.sbb-figure-overlap-image) {
|
|
2125
|
+
--sbb-image-aspect-ratio: var(--sbb-lead-container-image-ratio);
|
|
2126
|
+
--sbb-image-object-fit: cover;
|
|
2127
|
+
border-radius: var(--sbb-lead-container-image-border-radius);
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2130
|
+
:where(sbb-select, sbb-autocomplete, sbb-autocomplete-grid)[size=s] :where(sbb-option, sbb-autocomplete-grid-option) {
|
|
2131
|
+
--sbb-option-min-height: var(--sbb-size-element-xxs);
|
|
2132
|
+
--sbb-focus-outline-offset: calc(-1 * var(--sbb-spacing-fixed-1x));
|
|
2133
|
+
--sbb-option-focus-outline-inset: 0 var(--sbb-spacing-fixed-1x);
|
|
2134
|
+
}
|
|
2135
|
+
:where(sbb-select, sbb-autocomplete, sbb-autocomplete-grid)[size=s] sbb-optgroup {
|
|
2136
|
+
--sbb-optgroup-label-padding-end: var(--sbb-spacing-fixed-1x);
|
|
2137
|
+
}
|
|
2138
|
+
:where(sbb-select, sbb-autocomplete, sbb-autocomplete-grid)[size=s] sbb-option-hint {
|
|
2139
|
+
--sbb-option-hint-padding-block-end: var(--sbb-spacing-fixed-1x);
|
|
2140
|
+
}
|
|
2141
|
+
|
|
2142
|
+
sbb-tab-nav-bar .sbb-tab-amount {
|
|
2143
|
+
margin: 0;
|
|
2144
|
+
color: var(--sbb-tab-label-amount-color);
|
|
2145
|
+
font-weight: normal;
|
|
2146
|
+
text-decoration: var(--sbb-tab-label-text-decoration);
|
|
2147
|
+
}
|
|
2148
|
+
|
|
2149
|
+
.sbb-dark {
|
|
2150
|
+
color-scheme: dark;
|
|
2151
|
+
}
|
|
2152
|
+
|
|
2153
|
+
.sbb-light {
|
|
2154
|
+
color-scheme: light;
|
|
2155
|
+
}
|
|
2156
|
+
|
|
2157
|
+
.sbb-light-dark {
|
|
2158
|
+
color-scheme: light dark;
|
|
2159
|
+
}
|
|
2160
|
+
|
|
2161
|
+
html {
|
|
2162
|
+
font-family: var(--sbb-typo-font-family);
|
|
2163
|
+
font-weight: normal;
|
|
2164
|
+
line-height: var(--sbb-typo-line-height-text);
|
|
2165
|
+
letter-spacing: var(--sbb-typo-letter-spacing-text);
|
|
2166
|
+
font-size: var(--sbb-text-font-size);
|
|
2167
|
+
color-scheme: light dark;
|
|
2168
|
+
color: var(--sbb-font-color-default);
|
|
2169
|
+
background-color: var(--sbb-background-color-1);
|
|
2170
|
+
}
|
|
2171
|
+
|
|
2172
|
+
::placeholder {
|
|
2173
|
+
color: var(--sbb-color-5);
|
|
2174
|
+
-webkit-text-fill-color: var(--sbb-color-5);
|
|
2175
|
+
opacity: 1;
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2138
2178
|
:is(sbb-autocomplete,
|
|
2139
2179
|
sbb-autocomplete-grid,
|
|
2140
2180
|
sbb-datepicker,
|
|
@@ -2203,13 +2243,6 @@ img {
|
|
|
2203
2243
|
object-position: var(--sbb-image-object-position);
|
|
2204
2244
|
}
|
|
2205
2245
|
|
|
2206
|
-
sbb-lead-container > [slot=image]:is(sbb-image, img, picture),
|
|
2207
|
-
sbb-lead-container > [slot=image] :is(sbb-image, img, picture):not(.sbb-figure-overlap-image) {
|
|
2208
|
-
--sbb-image-aspect-ratio: var(--sbb-lead-container-image-ratio);
|
|
2209
|
-
--sbb-image-object-fit: cover;
|
|
2210
|
-
border-radius: var(--sbb-lead-container-image-border-radius);
|
|
2211
|
-
}
|
|
2212
|
-
|
|
2213
2246
|
sbb-message > [slot=image]:is(sbb-image, img),
|
|
2214
2247
|
sbb-message > [slot=image] :is(sbb-image, img):not(.sbb-figure-overlap-image) {
|
|
2215
2248
|
border-radius: var(--sbb-message-image-border-radius);
|