@sbb-esta/lyne-elements-dev 5.0.0-next.3-dev.1779781429 → 5.0.0-next.3-dev.1779890843

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.
Files changed (180) hide show
  1. package/_index.scss +65 -3
  2. package/alert/{alert/alert.global.scss → _alert.global.scss} +9 -7
  3. package/badge/{badge.global.scss → _badge.global.scss} +4 -2
  4. package/breadcrumb/{breadcrumb-group/breadcrumb-group.global.scss → _breadcrumb.global.scss} +11 -1
  5. package/button/{common/button-common.global.scss → _button.global.scss} +43 -2
  6. package/calendar/{calendar/calendar.global.scss → _calendar.global.scss} +20 -4
  7. package/card/{card.library.global.scss → _card.global.scss} +29 -5
  8. package/carousel/{carousel/carousel.global.scss → _carousel.global.scss} +2 -1
  9. package/carousel/carousel-list/carousel-list.component.js +1 -1
  10. package/{carousel-list.component-7mbfkw4K.js → carousel-list.component-DAPO_Oce.js} +1 -1
  11. package/carousel.js +1 -1
  12. package/carousel.pure.js +1 -1
  13. package/checkbox/{common/checkbox-common.global.scss → _checkbox.global.scss} +5 -1
  14. package/chip/{chip-group/chip-group.global.scss → _chip.global.scss} +12 -2
  15. package/container/{sticky-bar/sticky-bar.global.scss → _container.global.scss} +16 -1
  16. package/core/base-elements/{selection-group-base-element.global.scss → _selection-group-base-element.global.scss} +6 -2
  17. package/core/styles/_index.scss +3 -3
  18. package/core/styles/_theme.scss +359 -10
  19. package/core/styles/features/font-face.scss +3 -0
  20. package/core/styles/features/layout.private.scss +1 -1
  21. package/core/styles/features/typography.private.scss +3 -3
  22. package/core/styles/features/typography.scss +10 -2
  23. package/core/styles/mixins/_core.scss +69 -0
  24. package/core/styles/mixins/_layout.scss +1 -1
  25. package/core/styles/mixins/_lists.scss +2 -2
  26. package/core/styles/mixins/_pearl-chain-bullet.scss +1 -1
  27. package/core/styles/mixins/_scrollbar.scss +1 -1
  28. package/core/styles/mixins/_typo.scss +0 -19
  29. package/custom-elements.json +54 -6
  30. package/development/block-link-common-C0XzZIvS.js +1 -1
  31. package/development/breadcrumb.component-B3XsV_Aq.js +1 -1
  32. package/development/card.component-CVAgqDNK.js +1 -1
  33. package/development/carousel/carousel-list/carousel-list.component.js +1 -1
  34. package/development/carousel-list.component-pJBqbfi9.js +126 -0
  35. package/development/carousel.js +1 -1
  36. package/development/carousel.pure.js +1 -1
  37. package/development/inline-link-common-CXYyREBi.js +1 -1
  38. package/development/link-common-DWTP-lFX.js +1 -1
  39. package/development/selection-group-base-element-govDKjsE.js +1 -1
  40. package/development/styles-BTV2MyrZ.js +1 -1
  41. package/development/tab-label.component-BbQu5sA-.js +233 -0
  42. package/development/tabs/tab-label/tab-label.component.js +1 -1
  43. package/development/tabs.js +1 -1
  44. package/development/tabs.pure.js +1 -1
  45. package/development/tag/tag/tag.component.d.ts +1 -0
  46. package/development/tag/tag/tag.component.d.ts.map +1 -1
  47. package/development/tag/tag/tag.component.js +1 -1
  48. package/development/tag/tag-group/tag-group.component.d.ts +6 -1
  49. package/development/tag/tag-group/tag-group.component.d.ts.map +1 -1
  50. package/development/tag/tag-group/tag-group.component.js +1 -1
  51. package/development/tag-group.component-DTff1eBB.js +225 -0
  52. package/development/{tag.component-D6YowucW.js → tag.component-CDDb2fnV.js} +28 -8
  53. package/development/tag.js +2 -2
  54. package/development/tag.pure.js +2 -2
  55. package/dialog/_dialog.global.scss +77 -0
  56. package/expansion-panel/{expansion-panel-header/expansion-panel-header.global.scss → _expansion-panel.global.scss} +27 -2
  57. package/file-selector/{common/file-selector.global.scss → _file-selector.global.scss} +1 -1
  58. package/flip-card/{flip-card/flip-card.global.scss → _flip-card.global.scss} +15 -2
  59. package/footer/{footer.global.scss → _footer.global.scss} +1 -1
  60. package/form-field/{form-field/form-field.global.scss → _form-field.global.scss} +6 -3
  61. package/header/{header/header.global.scss → _header.global.scss} +41 -2
  62. package/icon-sidebar/{icon-sidebar/icon-sidebar.global.scss → _icon-sidebar.global.scss} +1 -1
  63. package/lead-container/{lead-container.global.scss → _lead-container.global.scss} +1 -1
  64. package/lean-off-brand-theme.css +351 -526
  65. package/lean-safety-theme.css +351 -526
  66. package/lean-theme.css +351 -526
  67. package/link/{link.library.global.scss → _link.global.scss} +18 -4
  68. package/loading-indicator-circle/{loading-indicator-circle.global.scss → _loading-indicator-circle.global.scss} +1 -1
  69. package/logo/{logo.global.scss → _logo.global.scss} +1 -1
  70. package/map-container/{map-container.global.scss → _map-container.global.scss} +1 -1
  71. package/menu/{menu/menu.global.scss → _menu.global.scss} +14 -6
  72. package/mini-calendar/{mini-calendar-month/mini-calendar-month.global.scss → _mini-calendar.global.scss} +4 -1
  73. package/navigation/_navigation.global.scss +78 -0
  74. package/notification/{notification.global.scss → _notification.global.scss} +1 -1
  75. package/off-brand-theme.css +349 -524
  76. package/option/{option/option.global.scss → _option.global.scss} +30 -1
  77. package/package.json +2 -2
  78. package/paginator/_paginator.global.scss +21 -0
  79. package/radio-button/{common/radio-button-common.global.scss → _radio-button.global.scss} +2 -2
  80. package/safety-theme.css +349 -524
  81. package/sidebar/{sidebar-container/sidebar-container.global.scss → _sidebar.global.scss} +20 -1
  82. package/signet/{signet.global.scss → _signet.global.scss} +1 -1
  83. package/slider/{slider.global.scss → _slider.global.scss} +1 -1
  84. package/standard-theme.css +349 -524
  85. package/stepper/{step-label/step-label.global.scss → _stepper.global.scss} +6 -2
  86. package/tab-label.component-C5HCrNFB.js +158 -0
  87. package/tabs/{common/tab-label-common.global.scss → _tabs.global.scss} +24 -1
  88. package/tabs/tab-label/tab-label.component.js +1 -1
  89. package/tabs.js +1 -1
  90. package/tabs.pure.js +1 -1
  91. package/tag/{tag/tag.global.scss → _tag.global.scss} +2 -2
  92. package/tag/tag/tag.component.js +1 -1
  93. package/tag/tag-group/tag-group.component.js +1 -1
  94. package/{tag-group.component-ByRxy8UG.js → tag-group.component-CJwbkP70.js} +38 -23
  95. package/{tag.component-BrKoQeIW.js → tag.component-r8diGGP-.js} +14 -5
  96. package/tag.js +2 -2
  97. package/tag.pure.js +2 -2
  98. package/teaser/_teaser.global.scss +51 -0
  99. package/teaser-hero/{teaser-hero.global.scss → _teaser-hero.global.scss} +2 -0
  100. package/teaser-panel/{teaser-panel.global.scss → _teaser-panel.global.scss} +2 -2
  101. package/teaser-product/{common/teaser-product-common.global.scss → _teaser-product.global.scss} +4 -2
  102. package/time-input/{time-input.global.scss → _time-input.global.scss} +1 -1
  103. package/timetable-form/{timetable-form/timetable-form.global.scss → _timetable-form.global.scss} +11 -1
  104. package/title/{title.global.scss → _title.global.scss} +4 -0
  105. package/toggle/{toggle/toggle.global.scss → _toggle.global.scss} +6 -2
  106. package/toggle-check/{toggle-check.global.scss → _toggle-check.global.scss} +1 -1
  107. package/train/{train-wagon-common.global.scss → _train.global.scss} +24 -0
  108. package/visual-checkbox/{visual-checkbox.global.scss → _visual-checkbox.global.scss} +1 -1
  109. package/alert/alert-group/alert-group.global.scss +0 -8
  110. package/breadcrumb/breadcrumb/breadcrumb.global.scss +0 -16
  111. package/button/common/mini-button-common.global.scss +0 -18
  112. package/button/mini-button-group/mini-button-group.global.scss +0 -35
  113. package/calendar/common/calendar-cell-base-element.global.scss +0 -23
  114. package/card/card/card.global.scss +0 -22
  115. package/card/card-badge/card-badge.global.scss +0 -19
  116. package/checkbox/checkbox.global.scss +0 -10
  117. package/chip/chip/chip.global.scss +0 -16
  118. package/container/container/container.global.scss +0 -21
  119. package/core/styles/features/core.scss +0 -618
  120. package/development/carousel-list.component-BLY3JfDq.js +0 -126
  121. package/development/tab-label.component-QHzOZ28y.js +0 -233
  122. package/development/tag-group.component-jSgluqL-.js +0 -194
  123. package/dialog/dialog/dialog.global.scss +0 -32
  124. package/dialog/dialog-close-button/dialog-close-button.global.scss +0 -35
  125. package/dialog/dialog-content/dialog-content.global.scss +0 -13
  126. package/dialog/dialog-title/dialog-title.global.scss +0 -13
  127. package/expansion-panel/expansion-panel/expansion-panel.global.scss +0 -21
  128. package/expansion-panel/expansion-panel-content/expansion-panel-content.global.scss +0 -16
  129. package/flip-card/flip-card-details/flip-card-details.global.scss +0 -7
  130. package/flip-card/flip-card-summary/flip-card-summary.global.scss +0 -17
  131. package/form-field/error/error.global.scss +0 -9
  132. package/header/common/header-action.global.scss +0 -41
  133. package/header/header-environment/header-environment.global.scss +0 -10
  134. package/link/common/block-link.global.scss +0 -15
  135. package/menu/common/menu-action.global.scss +0 -14
  136. package/mini-calendar/mini-calendar-day/mini-calendar-day.global.scss +0 -9
  137. package/navigation/common/navigation-action.global.scss +0 -11
  138. package/navigation/navigation/navigation.global.scss +0 -36
  139. package/navigation/navigation-list/navigation-list.global.scss +0 -10
  140. package/navigation/navigation-marker/navigation-marker.global.scss +0 -17
  141. package/navigation/navigation-section/navigation-section.global.scss +0 -34
  142. package/option/optgroup/optgroup.global.scss +0 -17
  143. package/option/option-hint/option-hint.global.scss +0 -17
  144. package/option/option-panel-common.global.scss +0 -11
  145. package/paginator/common/paginator-common.global.scss +0 -14
  146. package/paginator/compact-paginator/compact-paginator.global.scss +0 -9
  147. package/paginator/paginator/paginator.global.scss +0 -10
  148. package/sidebar/sidebar/sidebar.global.scss +0 -19
  149. package/sidebar/sidebar-close-button/sidebar-close-button.global.scss +0 -10
  150. package/stepper/stepper/stepper.global.scss +0 -10
  151. package/tab-label.component-BYssa8XI.js +0 -158
  152. package/tabs/common/tab-group-common.global.scss +0 -17
  153. package/tabs/tab-nav-bar/tab-nav-bar.global.scss +0 -10
  154. package/teaser/teaser.global.scss +0 -24
  155. package/timetable-form/timetable-form-details/timetable-form-details.global.scss +0 -12
  156. package/timetable-form/timetable-form-field/timetable-form-field.global.scss +0 -10
  157. package/title/title-common.global.scss +0 -7
  158. package/toggle/toggle-option/toggle-option.global.scss +0 -10
  159. package/train/train-blocked-passage/train-blocked-passage.global.scss +0 -16
  160. package/train/train-formation/train-formation.global.scss +0 -26
  161. /package/chip-label/{chip-label.global.scss → _chip-label.global.scss} +0 -0
  162. /package/clock/{clock.global.scss → _clock.global.scss} +0 -0
  163. /package/core/mixins/{panel-common.global.scss → _panel-common.global.scss} +0 -0
  164. /package/core/styles/{core/functions.scss → mixins/_functions.scss} +0 -0
  165. /package/core/styles/{core/mediaqueries.scss → mixins/_mediaqueries.scss} +0 -0
  166. /package/core/styles/{core → mixins}/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss +0 -0
  167. /package/core/styles/{features/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss → node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss} +0 -0
  168. /package/divider/{divider.global.scss → _divider.global.scss} +0 -0
  169. /package/loading-indicator/{loading-indicator.global.scss → _loading-indicator.global.scss} +0 -0
  170. /package/message/{message.global.scss → _message.global.scss} +0 -0
  171. /package/overlay/{overlay.global.scss → _overlay.global.scss} +0 -0
  172. /package/popover/{popover.global.scss → _popover.global.scss} +0 -0
  173. /package/select/{select.global.scss → _select.global.scss} +0 -0
  174. /package/selection-action-panel/{selection-action-panel.global.scss → _selection-action-panel.global.scss} +0 -0
  175. /package/selection-expansion-panel/{selection-expansion-panel.global.scss → _selection-expansion-panel.global.scss} +0 -0
  176. /package/status/{status.global.scss → _status.global.scss} +0 -0
  177. /package/table/{table.global.scss → _table.global.scss} +0 -0
  178. /package/timetable-occupancy/{timetable-occupancy.global.scss → _timetable-occupancy.global.scss} +0 -0
  179. /package/toast/{toast.global.scss → _toast.global.scss} +0 -0
  180. /package/tooltip/{tooltip.global.scss → _tooltip.global.scss} +0 -0
@@ -1,618 +0,0 @@
1
- $theme: 'standard' !default;
2
-
3
- @use 'sass:string';
4
- @use '../_index' as sbb;
5
-
6
- @use './node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables-as-css.scss' as sbb-css-tokens with (
7
- $theme: $theme
8
- );
9
-
10
- @use '../../../alert/alert-group/alert-group.global' as alert-group with (
11
- $theme: $theme
12
- );
13
- @use '../../../alert/alert/alert.global' as alert with (
14
- $theme: $theme
15
- );
16
- @use '../../base-elements/selection-group-base-element.global' as selection-group with (
17
- $theme: $theme
18
- );
19
- @use '../../../badge/badge.global' as badge;
20
- @use '../../../breadcrumb/breadcrumb-group/breadcrumb-group.global' as breadcrumb-group with (
21
- $theme: $theme
22
- );
23
- @use '../../../breadcrumb/breadcrumb/breadcrumb.global' as breadcrumb with (
24
- $theme: $theme
25
- );
26
- @use '../../../button/common/button-common.global' as button with (
27
- $theme: $theme
28
- );
29
- @use '../../../button/common/mini-button-common.global' as mini-button with (
30
- $theme: $theme
31
- );
32
- @use '../../../button/mini-button-group/mini-button-group.global' as mini-button-group with (
33
- $theme: $theme
34
- );
35
- @use '../../../calendar/calendar/calendar.global' as calendar with (
36
- $theme: $theme
37
- );
38
- @use '../../../calendar/common/calendar-cell-base-element.global' as calendar-cell with (
39
- $theme: $theme
40
- );
41
- @use '../../../card/card-badge/card-badge.global' as card-badge with (
42
- $theme: $theme
43
- );
44
- @use '../../../card/card/card.global' as card with (
45
- $theme: $theme
46
- );
47
- @use '../../../carousel/carousel/carousel.global' as carousel with (
48
- $theme: $theme
49
- );
50
- @use '../../../checkbox/checkbox.global' as checkbox with (
51
- $theme: $theme
52
- );
53
- @use '../../../checkbox/common/checkbox-common.global' as checkbox-common with (
54
- $theme: $theme
55
- );
56
- @use '../../../chip-label/chip-label.global' as chip-label with (
57
- $theme: $theme
58
- );
59
- @use '../../../chip/chip-group/chip-group.global' as chip-group with (
60
- $theme: $theme
61
- );
62
- @use '../../../chip/chip/chip.global' as chip with (
63
- $theme: $theme
64
- );
65
- @use '../../../clock/clock.global' as clock with (
66
- $theme: $theme
67
- );
68
- @use '../../../container/container/container.global' as container with (
69
- $theme: $theme
70
- );
71
- @use '../../../container/sticky-bar/sticky-bar.global' as sticky-bar with (
72
- $theme: $theme
73
- );
74
- @use '../../../dialog/dialog-close-button/dialog-close-button.global' as dialog-close-button with (
75
- $theme: $theme
76
- );
77
- @use '../../../dialog/dialog-content/dialog-content.global' as dialog-content with (
78
- $theme: $theme
79
- );
80
- @use '../../../dialog/dialog-title/dialog-title.global' as dialog-title with (
81
- $theme: $theme
82
- );
83
- @use '../../../dialog/dialog/dialog.global' as dialog with (
84
- $theme: $theme
85
- );
86
- @use '../../../divider/divider.global' as divider with (
87
- $theme: $theme
88
- );
89
- @use '../../../expansion-panel/expansion-panel-content/expansion-panel-content.global' as
90
- expansion-panel-content with (
91
- $theme: $theme
92
- );
93
- @use '../../../expansion-panel/expansion-panel-header/expansion-panel-header.global' as
94
- expansion-panel-header with (
95
- $theme: $theme
96
- );
97
- @use '../../../expansion-panel/expansion-panel/expansion-panel.global' as expansion-panel with (
98
- $theme: $theme
99
- );
100
- @use '../../../file-selector/common/file-selector.global' as file-selector with (
101
- $theme: $theme
102
- );
103
- @use '../../../flip-card/flip-card-details/flip-card-details.global' as flip-card-details with (
104
- $theme: $theme
105
- );
106
- @use '../../../flip-card/flip-card-summary/flip-card-summary.global' as flip-card-summary with (
107
- $theme: $theme
108
- );
109
- @use '../../../flip-card/flip-card/flip-card.global' as flip-card with (
110
- $theme: $theme
111
- );
112
- @use '../../../footer/footer.global' as footer with (
113
- $theme: $theme
114
- );
115
- @use '../../../form-field/error/error.global' as error with (
116
- $theme: $theme
117
- );
118
- @use '../../../form-field/form-field/form-field.global' as form-field with (
119
- $theme: $theme
120
- );
121
- @use '../../../header/common/header-action.global' as header-common with (
122
- $theme: $theme
123
- );
124
- @use '../../../header/header-environment/header-environment.global' as header-environment with (
125
- $theme: $theme
126
- );
127
- @use '../../../header/header/header.global' as header with (
128
- $theme: $theme
129
- );
130
- @use '../../../icon-sidebar/icon-sidebar/icon-sidebar.global' as icon-sidebar with (
131
- $theme: $theme
132
- );
133
- @use '../../../lead-container/lead-container.global' as lead-container with (
134
- $theme: $theme
135
- );
136
- @use '../../../link/common/block-link.global' as block-link with (
137
- $theme: $theme
138
- );
139
- @use '../../../loading-indicator-circle/loading-indicator-circle.global' as loading-indicator-circle
140
- with (
141
- $theme: $theme
142
- );
143
- @use '../../../loading-indicator/loading-indicator.global' as loading-indicator with (
144
- $theme: $theme
145
- );
146
- @use '../../../logo/logo.global' as logo with (
147
- $theme: $theme
148
- );
149
- @use '../../../map-container/map-container.global' as map-container with (
150
- $theme: $theme
151
- );
152
- @use '../../../menu/common/menu-action.global' as menu-action with (
153
- $theme: $theme
154
- );
155
- @use '../../../menu/menu/menu.global' as menu with (
156
- $theme: $theme
157
- );
158
- @use '../../../message/message.global' as message with (
159
- $theme: $theme
160
- );
161
- @use '../../../mini-calendar/mini-calendar-day/mini-calendar-day.global' as mini-calendar-day with (
162
- $theme: $theme
163
- );
164
- @use '../../../mini-calendar/mini-calendar-month/mini-calendar-month.global' as mini-calendar-month
165
- with (
166
- $theme: $theme
167
- );
168
- @use '../../../navigation/common/navigation-action.global' as navigation-action with (
169
- $theme: $theme
170
- );
171
- @use '../../../navigation/navigation-list/navigation-list.global' as navigation-list with (
172
- $theme: $theme
173
- );
174
- @use '../../../navigation/navigation-marker/navigation-marker.global' as navigation-marker with (
175
- $theme: $theme
176
- );
177
- @use '../../../navigation/navigation-section/navigation-section.global' as navigation-section with (
178
- $theme: $theme
179
- );
180
- @use '../../../navigation/navigation/navigation.global' as navigation with (
181
- $theme: $theme
182
- );
183
- @use '../../../notification/notification.global' as notification with (
184
- $theme: $theme
185
- );
186
- @use '../../../option/optgroup/optgroup.global' as optgroup with (
187
- $theme: $theme
188
- );
189
- @use '../../../option/option-hint/option-hint.global' as option-hint with (
190
- $theme: $theme
191
- );
192
- @use '../../../option/option-panel-common.global' as option-panel with (
193
- $theme: $theme
194
- );
195
- @use '../../../option/option/option.global' as option with (
196
- $theme: $theme
197
- );
198
- @use '../../../overlay/overlay.global' as overlay with (
199
- $theme: $theme
200
- );
201
- @use '../../../paginator/common/paginator-common.global' as paginator-common with (
202
- $theme: $theme
203
- );
204
- @use '../../../paginator/compact-paginator/compact-paginator.global' as compact-paginator with (
205
- $theme: $theme
206
- );
207
- @use '../../../paginator/paginator/paginator.global' as paginator with (
208
- $theme: $theme
209
- );
210
- @use '../../mixins/panel-common.global' as panel-common with (
211
- $theme: $theme
212
- );
213
- @use '../../../popover/popover.global' as popover-component with (
214
- $theme: $theme
215
- );
216
- @use '../../../radio-button/common/radio-button-common.global' as radio-button-common with (
217
- $theme: $theme
218
- );
219
- @use '../../../select/select.global' as select with (
220
- $theme: $theme
221
- );
222
- @use '../../../selection-action-panel/selection-action-panel.global' as selection-action-panel with (
223
- $theme: $theme
224
- );
225
- @use '../../../selection-expansion-panel/selection-expansion-panel.global' as
226
- selection-expansion-panel with (
227
- $theme: $theme
228
- );
229
- @use '../../../sidebar/sidebar-close-button/sidebar-close-button.global' as sidebar-close-button
230
- with (
231
- $theme: $theme
232
- );
233
- @use '../../../sidebar/sidebar-container/sidebar-container.global' as sidebar-container with (
234
- $theme: $theme
235
- );
236
- @use '../../../sidebar/sidebar/sidebar.global' as sidebar with (
237
- $theme: $theme
238
- );
239
- @use '../../../signet/signet.global' as signet with (
240
- $theme: $theme
241
- );
242
- @use '../../../slider/slider.global' as slider with (
243
- $theme: $theme
244
- );
245
- @use '../../../status/status.global' as status with (
246
- $theme: $theme
247
- );
248
- @use '../../../stepper/step-label/step-label.global' as step-label with (
249
- $theme: $theme
250
- );
251
- @use '../../../stepper/stepper/stepper.global' as stepper with (
252
- $theme: $theme
253
- );
254
- @use '../../../table/table.global' as table with (
255
- $theme: $theme
256
- );
257
- @use '../../../tabs/common/tab-group-common.global' as tab-group-common with (
258
- $theme: $theme
259
- );
260
- @use '../../../tabs/common/tab-label-common.global' as tab-label-common with (
261
- $theme: $theme
262
- );
263
- @use '../../../tabs/tab-nav-bar/tab-nav-bar.global' as tab-nav-bar with (
264
- $theme: $theme
265
- );
266
- @use '../../../tag/tag/tag.global' as tag with (
267
- $theme: $theme
268
- );
269
- @use '../../../teaser-hero/teaser-hero.global' as teaser-hero with (
270
- $theme: $theme
271
- );
272
- @use '../../../teaser-panel/teaser-panel.global' as teaser-panel with (
273
- $theme: $theme
274
- );
275
- @use '../../../teaser-product/common/teaser-product-common.global' as teaser-product-common with (
276
- $theme: $theme
277
- );
278
- @use '../../../teaser/teaser.global' as teaser with (
279
- $theme: $theme
280
- );
281
- @use '../../../time-input/time-input.global' as time-input with (
282
- $theme: $theme
283
- );
284
- @use '../../../timetable-form/timetable-form-details/timetable-form-details.global' as
285
- timetable-form-details with (
286
- $theme: $theme
287
- );
288
- @use '../../../timetable-form/timetable-form-field/timetable-form-field.global' as
289
- timetable-form-field with (
290
- $theme: $theme
291
- );
292
- @use '../../../timetable-form/timetable-form/timetable-form.global' as timetable-form with (
293
- $theme: $theme
294
- );
295
- @use '../../../timetable-occupancy/timetable-occupancy.global' as timetable-occupancy with (
296
- $theme: $theme
297
- );
298
- @use '../../../title/title-common.global' as title-common with (
299
- $theme: $theme
300
- );
301
- @use '../../../title/title.global' as title with (
302
- $theme: $theme
303
- );
304
- @use '../../../toast/toast.global' as toast with (
305
- $theme: $theme
306
- );
307
- @use '../../../toggle-check/toggle-check.global' as toggle-check with (
308
- $theme: $theme
309
- );
310
- @use '../../../toggle/toggle-option/toggle-option.global' as toggle-option with (
311
- $theme: $theme
312
- );
313
- @use '../../../toggle/toggle/toggle.global' as toggle with (
314
- $theme: $theme
315
- );
316
- @use '../../../tooltip/tooltip.global' as tooltip with (
317
- $theme: $theme
318
- );
319
- @use '../../../train/train-blocked-passage/train-blocked-passage.global' as train-blocked-passage
320
- with (
321
- $theme: $theme
322
- );
323
- @use '../../../train/train-formation/train-formation.global' as train-formation with (
324
- $theme: $theme
325
- );
326
- @use '../../../train/train-wagon-common.global' as train-wagon-common with (
327
- $theme: $theme
328
- );
329
- @use '../../../visual-checkbox/visual-checkbox.global' as visual-checkbox with (
330
- $theme: $theme
331
- );
332
-
333
- @include sbb.box-sizing;
334
-
335
- // Core variables
336
- :root {
337
- // Grab CSS vars defined by `@sbb-esta/lyne-design-tokens` package
338
- @include sbb-css-tokens.base;
339
-
340
- @include alert.base;
341
- @include alert-group.base;
342
- @include breadcrumb.base;
343
- @include breadcrumb-group.base;
344
- @include button.base;
345
- @include mini-button.base;
346
- @include mini-button-group.base;
347
- @include calendar.base;
348
- @include calendar-cell.base;
349
- @include card.base;
350
- @include card-badge.base;
351
- @include carousel.base;
352
- @include chip-label.base;
353
- @include chip.base;
354
- @include chip-group.base;
355
- @include panel-common.base;
356
- @include checkbox.base;
357
- @include checkbox-common.base;
358
- @include container.base;
359
- @include sticky-bar.base;
360
- @include clock.base;
361
- @include dialog.base;
362
- @include dialog-close-button.base;
363
- @include divider.base;
364
- @include error.base;
365
- @include expansion-panel.base;
366
- @include expansion-panel-content.base;
367
- @include expansion-panel-header.base;
368
- @include file-selector.base;
369
- @include flip-card.base;
370
- @include flip-card-details.base;
371
- @include footer.base;
372
- @include form-field.base;
373
- @include header.base;
374
- @include header-common.base;
375
- @include header-environment.base;
376
- @include icon-sidebar.base;
377
- @include lead-container.base;
378
- @include block-link.base;
379
- @include loading-indicator.base;
380
- @include loading-indicator-circle.base;
381
- @include logo.base;
382
- @include map-container.base;
383
- @include menu.base;
384
- @include menu-action.base;
385
- @include message.base;
386
- @include navigation.base;
387
- @include navigation-action.base;
388
- @include navigation-list.base;
389
- @include navigation-marker.base;
390
- @include navigation-section.base;
391
- @include mini-calendar-day.base;
392
- @include mini-calendar-month.base;
393
- @include notification.base;
394
- @include option.base;
395
- @include option-hint.base;
396
- @include option-panel.base;
397
- @include optgroup.base;
398
- @include overlay.base;
399
- @include paginator-common.base;
400
- @include paginator.base;
401
- @include compact-paginator.base;
402
- @include popover-component.base;
403
- @include radio-button-common.base;
404
- @include selection-group.base;
405
- @include selection-action-panel.base;
406
- @include selection-expansion-panel.base;
407
- @include sidebar.base;
408
- @include signet.base;
409
- @include select.base;
410
- @include slider.base;
411
- @include status.base;
412
- @include step-label.base;
413
- @include stepper.base;
414
- @include table.base;
415
- @include tab-group-common.base;
416
- @include tab-label-common.base;
417
- @include train-blocked-passage.base;
418
- @include train-formation.base;
419
- @include train-wagon-common.base;
420
- @include tag.base;
421
- @include teaser.base;
422
- @include teaser-hero.base;
423
- @include teaser-panel.base;
424
- @include teaser-product-common.base;
425
- @include timetable-form.base;
426
- @include timetable-form-details.base;
427
- @include timetable-form-field.base;
428
- @include timetable-occupancy.base;
429
- @include time-input.base;
430
- @include title-common.base;
431
- @include toggle-check.base;
432
- @include toggle.base;
433
- @include toggle-option.base;
434
- @include tooltip.base;
435
- @include toast.base;
436
- @include visual-checkbox.base;
437
-
438
- @media (forced-colors: active) {
439
- @include sbb-css-tokens.forced-colors;
440
-
441
- @include alert.base-forced-colors;
442
- @include breadcrumb.base-forced-colors;
443
- @include card.base-forced-colors;
444
- @include card-badge.base-forced-colors;
445
- @include header-common.base-forced-colors;
446
- @include expansion-panel-header.base-forced-colors;
447
- @include form-field.base-forced-colors;
448
- @include loading-indicator-circle.base-forced-colors;
449
- @include logo.base-forced-colors;
450
- @include visual-checkbox.base-forced-colors;
451
- @include radio-button-common.base-forced-colors;
452
- @include signet.base-forced-colors;
453
- @include slider.base-forced-colors;
454
- @include step-label.base-forced-colors;
455
- @include tag.base-forced-colors;
456
- @include toggle-check.base-forced-colors;
457
- @include toggle.base-forced-colors;
458
- @include train-blocked-passage.forced-colors;
459
- @include train-formation.forced-colors;
460
- @include train-wagon-common.forced-colors;
461
- }
462
-
463
- // Overlay
464
- --sbb-overlay-default-z-index: 1000;
465
-
466
- // Cursor
467
- --sbb-cursor-default: default;
468
- --sbb-cursor-pointer: pointer;
469
-
470
- // Infinity border radius, can be used to achieve rounded border on start and end
471
- --sbb-border-radius-infinity: calc(infinity * 1px);
472
-
473
- // When the input modality is either mouse or touch,
474
- // the focus outline should be hidden.
475
- // We achieve this by setting the outline style to none.
476
- // This is primarily to work around Safari bugs.
477
- &:where(.sbb-focus-modality-mouse, .sbb-focus-modality-touch) {
478
- --sbb-focus-outline-style: none;
479
- }
480
-
481
- @include sbb.mq($from: small) {
482
- @include sbb-css-tokens.breakpoint-small;
483
-
484
- @include alert.base-breakpoint-small;
485
- @include dialog.base-breakpoint-small;
486
- @include footer.base-breakpoint-small;
487
- @include notification.base-breakpoint-small;
488
- }
489
-
490
- @include sbb.mq($from: large) {
491
- @include sbb-css-tokens.breakpoint-large;
492
-
493
- @include alert.base-breakpoint-large;
494
- @include button.base-breakpoint-large;
495
- @include chip-group.base-breakpoint-large;
496
- @include flip-card.base-breakpoint-large;
497
- @include form-field.base-breakpoint-large;
498
- @include header.base-breakpoint-large;
499
- @include navigation.base-breakpoint-large;
500
- @include navigation-section.base-breakpoint-large;
501
- @include menu.base-breakpoint-large;
502
- @include teaser-panel.base-breakpoint-large;
503
- @include teaser-product-common.base-breakpoint-large;
504
- @include time-input.base-breakpoint-large;
505
- }
506
-
507
- @include sbb.mq($from: ultra) {
508
- @include sbb-css-tokens.breakpoint-ultra;
509
-
510
- @include lead-container.base-breakpoint-ultra;
511
- @include map-container.base-breakpoint-ultra;
512
- @include navigation.base-breakpoint-ultra;
513
- @include navigation-section.base-breakpoint-ultra;
514
- @include teaser-panel.base-breakpoint-ultra;
515
- }
516
- }
517
-
518
- @include sbb.font-declarations;
519
-
520
- // Components global styles
521
- @include badge.rules;
522
- @include breadcrumb-group.rules;
523
- @include card.rules;
524
- @include container.rules;
525
- @include dialog-close-button.rules;
526
- @include dialog-content.rules;
527
- @include dialog-title.rules;
528
- @include flip-card.rules;
529
- @include flip-card-summary.rules;
530
- @include form-field.rules;
531
- @include header.rules;
532
- @include icon-sidebar.rules;
533
- @include lead-container.rules;
534
- @include message.rules;
535
- @include option.rules;
536
- @include select.rules;
537
- @include sidebar.rules;
538
- @include sidebar-close-button.rules;
539
- @include sidebar-container.rules;
540
- @include tab-nav-bar.rules;
541
- @include table.rules;
542
- @include teaser.rules;
543
- @include teaser-hero.rules;
544
- @include teaser-product-common.rules;
545
- @include timetable-form.rules;
546
- @include title.rules;
547
- @include toggle.rules;
548
-
549
- html {
550
- @include sbb.text;
551
-
552
- color-scheme: light dark;
553
- color: var(--sbb-font-color-default);
554
- background-color: var(--sbb-background-color-1);
555
- }
556
-
557
- // TODO: Remove if webkit bug is resolved: https://bugs.webkit.org/show_bug.cgi?id=223814
558
- ::placeholder {
559
- @include sbb.placeholder;
560
- }
561
-
562
- // Hiding components until they are instantiated
563
- :is(
564
- sbb-autocomplete,
565
- sbb-autocomplete-grid,
566
- sbb-datepicker,
567
- sbb-dialog,
568
- sbb-menu,
569
- sbb-navigation,
570
- sbb-navigation-section,
571
- sbb-overlay,
572
- sbb-popover,
573
- sbb-select,
574
- sbb-skiplink-list,
575
- sbb-toast,
576
- sbb-tooltip
577
- ):not(:defined) {
578
- display: none;
579
- }
580
-
581
- img {
582
- aspect-ratio: var(--sbb-image-aspect-ratio);
583
- object-fit: var(--sbb-image-object-fit);
584
- object-position: var(--sbb-image-object-position);
585
- }
586
-
587
- // Target the slotted `sbb-image` which are generally wrapped by a <figure> (therefore are not reachable with the :slotted)
588
- // Apply the brightness effect on mouse hover
589
- :is(sbb-teaser, sbb-teaser-hero, sbb-teaser-product) {
590
- --sbb-teaser-image-brightness-hover: var(--sbb-hover-image-brightness);
591
- --sbb-teaser-image-animation-duration: var(
592
- --sbb-disable-animation-duration,
593
- var(--sbb-animation-duration-4x)
594
- );
595
- --sbb-teaser-image-animation-easing: var(--sbb-animation-easing);
596
-
597
- &:hover {
598
- @include sbb.hover-mq($hover: true) {
599
- --sbb-teaser-image-brightness: var(--sbb-teaser-image-brightness-hover);
600
- }
601
- }
602
-
603
- :is(sbb-image, img):not(.sbb-figure-overlap-image) {
604
- // Although only the teaser has a scale property, we do it here, because this rule is
605
- // more specific and overrides would not be respected.
606
- will-change: filter, scale;
607
- filter: brightness(var(--sbb-teaser-image-brightness, 1));
608
- transition:
609
- filter,
610
- scale var(--sbb-teaser-image-animation-duration) var(--sbb-teaser-image-animation-easing);
611
- }
612
- }
613
-
614
- .sbb-overlay-outlet {
615
- position: fixed;
616
- inset: 0;
617
- pointer-events: none;
618
- }