@entur/form 8.3.2-beta.9 → 8.3.2

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/styles.css CHANGED
@@ -1,689 +1,364 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-form-control__field-and-feedback-text {
4
- display: flex;
5
- flex-direction: column;
6
- height: -moz-fit-content;
7
- height: fit-content;
8
- width: 100%;
9
- }
10
- .eds-form-control__field-and-feedback-text--has-tooltip {
11
- padding-right: 2rem;
12
- }
13
- .eds-form-control__field-and-feedback-text:has(.eds-form-control-wrapper--disabled):not(:has(.eds-form-control-wrapper--readonly)) {
14
- cursor: not-allowed;
15
- }
16
- .eds-form-control-wrapper {
17
- display: flex;
18
- align-items: center;
19
- position: relative;
20
- flex: 1;
21
- min-height: 3rem;
22
- padding-left: 1rem;
23
- padding-right: 1rem;
24
- background-color: var(--components-form-baseform-standard-fill-default);
25
- border-radius: 0.25rem;
26
- border: 0.125rem solid var(--components-form-baseform-standard-border-default);
27
- box-shadow: 0 0 0 transparent;
28
- color: var(--components-form-baseform-standard-text-content);
29
- transition: border-color 0.1s ease-in-out;
30
- }
31
- .eds-form-control-wrapper:hover {
32
- border-color: var(--components-form-baseform-standard-border-interactive);
33
- }
34
- .eds-contrast .eds-form-control-wrapper:hover {
35
- border-color: var(--components-form-baseform-contrast-border-interactive);
36
- }
37
- .eds-form-control-wrapper:focus-within:not(.eds-form-control-wrapper--readonly) {
38
- border-color: var(--components-form-baseform-standard-border-interactive);
39
- outline: 2px solid var(--components-form-baseform-standard-border-interactive);
40
- }
41
- .eds-contrast .eds-form-control-wrapper:focus-within:not(.eds-form-control-wrapper--readonly) {
42
- border-color: var(--components-form-baseform-contrast-border-interactive);
43
- outline-color: var(--components-form-baseform-contrast-border-interactive);
44
- }
45
- .eds-form-control-wrapper ::-moz-placeholder {
46
- color: var(--components-form-baseform-standard-text-label);
47
- }
48
- .eds-form-control-wrapper ::placeholder {
49
- color: var(--components-form-baseform-standard-text-label);
50
- }
51
- .eds-form-control-wrapper--disabled {
52
- border-color: transparent;
53
- background-color: var(--components-form-baseform-standard-fill-disabled);
54
- pointer-events: none;
55
- color: var(--components-form-baseform-standard-text-disabled);
56
- }
57
- .eds-form-control-wrapper--disabled .eds-input-group__label {
58
- color: var(--components-form-baseform-standard-text-disabled);
59
- }
60
- .eds-contrast .eds-form-control-wrapper--disabled {
61
- border-color: transparent;
62
- background-color: var(--components-form-baseform-contrast-fill-disabled);
63
- color: var(--components-form-baseform-contrast-text-disabled);
64
- }
65
- .eds-contrast .eds-form-control-wrapper--disabled .eds-input-group__label {
66
- color: var(--components-form-baseform-contrast-text-disabled);
67
- }
68
- .eds-form-control-wrapper--disabled::before, .eds-form-control-wrapper--disabled::after {
69
- display: none;
70
- }
71
- .eds-form-control-wrapper--disabled:focus-within {
72
- border-color: transparent;
73
- outline: none;
74
- }
75
- .eds-contrast .eds-form-control-wrapper--disabled:focus-within {
76
- border-color: transparent;
77
- outline: none;
78
- }
79
- .eds-form-control-wrapper--readonly {
80
- border-color: transparent;
81
- cursor: default;
82
- background: var(--components-form-baseform-standard-fill-readonly);
83
- border: var(--components-form-baseform-standard-fill-readonly);
84
- }
85
- .eds-form-control-wrapper--readonly:focus-visible {
86
- outline: none;
87
- }
88
- .eds-contrast .eds-form-control-wrapper--readonly {
89
- background: var(--components-form-baseform-contrast-fill-readonly);
90
- border: var(--components-form-baseform-contrast-fill-readonly);
91
- color: var(--components-form-baseform-contrast-text-description);
92
- }
93
- .eds-contrast .eds-form-control-wrapper--readonly .eds-form-control {
94
- color: var(--components-form-baseform-contrast-text-description);
95
- }
96
- .eds-contrast .eds-form-control-wrapper--readonly .eds-input-group__label {
97
- color: var(--components-form-baseform-contrast-text-description);
98
- }
99
- .eds-form-control-wrapper--readonly::before, .eds-form-control-wrapper--readonly::after {
100
- display: none;
101
- }
102
- .eds-form-control-wrapper--size-medium .eds-form-control,
103
- .eds-form-control-wrapper--size-medium .eds-form-control__append,
104
- .eds-form-control-wrapper--size-medium .eds-form-control__prepend {
105
- font-size: 1rem;
106
- line-height: 1rem;
107
- }
108
- .eds-form-control-wrapper--size-large {
109
- min-height: 4rem;
110
- }
111
- .eds-form-control-wrapper--size-large .eds-form-control,
112
- .eds-form-control-wrapper--size-large .eds-form-control__append,
113
- .eds-form-control-wrapper--size-large .eds-form-control__prepend {
114
- font-size: 1.5rem;
115
- }
116
- .eds-form-control-wrapper--success {
117
- border-color: var(--components-form-baseform-standard-border-success);
118
- }
119
- .eds-form-control-wrapper--success:focus-within {
120
- border-color: var(--components-form-baseform-standard-border-success);
121
- outline-color: var(--components-form-baseform-standard-border-success);
122
- }
123
- .eds-contrast .eds-form-control-wrapper--success {
124
- border-color: var(--components-form-baseform-standard-border-success);
125
- }
126
- .eds-contrast .eds-form-control-wrapper--success:focus-within {
127
- border-color: var(--components-form-baseform-contrast-border-success);
128
- outline-color: var(--components-form-baseform-contrast-border-success);
129
- }
130
- .eds-form-control-wrapper--error, .eds-form-control-wrapper--negative {
131
- border-color: var(--components-form-baseform-standard-border-negative);
132
- }
133
- .eds-form-control-wrapper--error:focus-within, .eds-form-control-wrapper--negative:focus-within {
134
- border-color: var(--components-form-baseform-standard-border-negative);
135
- outline-color: var(--components-form-baseform-standard-border-negative);
136
- }
137
- .eds-contrast .eds-form-control-wrapper--error, .eds-contrast .eds-form-control-wrapper--negative {
138
- border-color: var(--components-form-baseform-contrast-border-negative);
139
- }
140
- .eds-contrast .eds-form-control-wrapper--error:focus-within, .eds-contrast .eds-form-control-wrapper--negative:focus-within {
141
- border-color: var(--components-form-baseform-contrast-border-negative);
142
- outline-color: var(--components-form-baseform-contrast-border-negative);
143
- }
144
- .eds-contrast .eds-form-control .eds-tooltip {
145
- background: var(--components-tooltip-tooltip-standard-fill);
146
- color: var(--components-tooltip-tooltip-standard-text);
147
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
148
- }
149
- .eds-form-control .eds-tooltip::after {
150
- background: var(--components-tooltip-tooltip-standard-fill);
151
- }
152
-
153
- .eds-form-control {
154
- display: block;
155
- -webkit-appearance: none;
156
- -moz-appearance: none;
157
- appearance: none;
158
- width: 100%;
159
- height: 100%;
160
- padding: 20px 0rem 0.25rem;
161
- font-family: inherit;
162
- font-size: 1rem;
163
- line-height: 1rem;
164
- border: 0;
165
- color: var(--components-form-baseform-standard-text-content);
166
- background-color: transparent;
167
- }
168
- .eds-form-control::-moz-placeholder {
169
- opacity: 0;
170
- -moz-transition: opacity 0.2s ease-in-out;
171
- transition: opacity 0.2s ease-in-out;
172
- }
173
- .eds-form-control::placeholder {
174
- opacity: 0;
175
- transition: opacity 0.2s ease-in-out;
176
- }
177
- .eds-form-control:focus {
178
- outline: none;
179
- }
180
- .eds-form-control:focus::-moz-placeholder {
181
- opacity: 1;
182
- }
183
- .eds-form-control:focus::placeholder {
184
- opacity: 1;
185
- }
186
- .eds-form-control__prepend, .eds-form-control__append {
187
- position: relative;
188
- line-height: inherit;
189
- }
190
- .eds-form-control__prepend--tooltip, .eds-form-control__append--tooltip {
191
- all: unset;
192
- position: absolute;
193
- display: flex;
194
- align-items: center;
195
- justify-content: center;
196
- height: 1.5rem;
197
- width: 1.5rem;
198
- right: -2rem;
199
- border-radius: 100%;
200
- color: var(--primary-text-color);
201
- cursor: pointer;
202
- }
203
- .eds-form-control__prepend {
204
- margin-right: 0.75rem;
205
- margin-left: 0;
206
- }
207
- .eds-form-control__append {
208
- margin-right: 0;
209
- margin-left: 0.75rem;
210
- }
211
3
  /* DO NOT CHANGE!*/
212
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
213
- .eds-input-group {
214
- color: inherit;
215
- display: block;
216
- position: relative;
217
- }
218
- .eds-input-group__label {
219
- color: var(--components-form-baseform-standard-text-label);
220
- display: flex;
221
- font-size: 1rem;
222
- position: absolute;
223
- line-height: 1rem;
224
- height: 3rem;
225
- padding-left: 0;
226
- top: 1rem;
227
- transition: top 0.2s ease-in-out, font-size 0.2s ease-in-out, padding 0.2s ease-in-out, line-height ease-in-out 0.2s;
228
- -webkit-user-select: none;
229
- -moz-user-select: none;
230
- user-select: none;
231
- pointer-events: none;
232
- }
233
- .eds-form-control-wrapper--is-filled .eds-input-group__label {
234
- top: 0.375rem;
235
- font-size: 0.75rem;
236
- line-height: 0.75rem;
237
- height: 10px;
238
- padding: 0;
239
- }
240
- .eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
241
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
242
- background: var(--textarea-label-background);
243
- width: calc(100% - 1rem - 1rem - 4px);
244
- }
245
- .eds-form-control-wrapper--is-filled.eds-form-control-wrapper--size-large .eds-input-group__label {
246
- top: 0.5rem;
247
- font-size: 0.875rem;
248
- line-height: 1rem;
249
- padding: 0;
250
- }
251
- .eds-form-control-wrapper--size-large .eds-input-group__label {
252
- top: 0.75rem;
253
- font-size: 1.5rem;
254
- line-height: 2.25rem;
255
- }
256
- .eds-input-group__label--filled {
257
- top: 0.375rem;
258
- font-size: 0.75rem;
259
- line-height: 0.75rem;
260
- height: 10px;
261
- padding: 0;
262
- }
263
- .eds-textarea__label .eds-input-group__label--filled {
264
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
265
- background: var(--textarea-label-background);
266
- width: calc(100% - 1rem - 1rem - 4px);
267
- }
268
- .eds-form-control-wrapper--size-large .eds-input-group__label--filled {
269
- top: 0.5rem;
270
- font-size: 0.875rem;
271
- line-height: 1rem;
272
- padding: 0;
273
- }
274
-
275
- .eds-form-control-wrapper:focus-within .eds-input-group__label {
276
- top: 0.375rem;
277
- font-size: 0.75rem;
278
- line-height: 0.75rem;
279
- height: 10px;
280
- padding: 0;
281
- }
282
- .eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
283
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
284
- background: var(--textarea-label-background);
285
- width: calc(100% - 1rem - 1rem - 4px);
286
- }
287
- .eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
288
- top: 0.5rem;
289
- font-size: 0.875rem;
290
- line-height: 1rem;
291
- padding: 0;
292
- }
293
- .eds-form-control-wrapper--disabled:focus-within .eds-input-group__label {
294
- top: 1rem;
295
- font-size: 1rem;
296
- height: 3rem;
297
- line-height: 1rem;
298
- }
299
5
  /* DO NOT CHANGE!*/
300
6
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
301
- .eds-feedback-text {
302
- display: flex;
303
- align-items: center;
304
- margin-top: 0.25rem;
305
- }
306
- .eds-feedback-text--info, .eds-feedback-text--information {
307
- padding-left: calc(1rem + 0.125rem);
308
- }
309
- .eds-feedback-text__text {
310
- color: var(--components-form-feedbacktext-information-standard-text);
311
- }
312
- .eds-contrast .eds-feedback-text__text {
313
- color: var(--components-form-feedbacktext-information-contrast-text);
7
+ [data-color-mode=light],
8
+ :root {
9
+ --components-form-baseform-contrast-border-default: #8284ab;
10
+ --components-form-baseform-contrast-border-interactive: #aeb7e2;
11
+ --components-form-baseform-contrast-border-negative: #ff9494;
12
+ --components-form-baseform-contrast-border-success: #5ac39a;
13
+ --components-form-baseform-contrast-fill-default: #ffffff;
14
+ --components-form-baseform-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
15
+ --components-form-baseform-contrast-fill-readonly: rgba(255, 255, 255, 0);
16
+ --components-form-baseform-contrast-icon: #181c56;
17
+ --components-form-baseform-contrast-icon-disabled: #6e6f73;
18
+ --components-form-baseform-contrast-text-content: #181c56;
19
+ --components-form-baseform-contrast-text-description: #ffffff;
20
+ --components-form-baseform-contrast-text-label: #626493;
21
+ --components-form-baseform-contrast-text-disabled: #6e6f73;
22
+ --components-form-baseform-standard-border-default: #8284ab;
23
+ --components-form-baseform-standard-border-interactive: #181c56;
24
+ --components-form-baseform-standard-border-negative: #d31b1b;
25
+ --components-form-baseform-standard-border-success: #1a8e60;
26
+ --components-form-baseform-standard-fill-default: #ffffff;
27
+ --components-form-baseform-standard-fill-disabled: #cfd2d4;
28
+ --components-form-baseform-standard-fill-readonly: rgba(255, 255, 255, 0);
29
+ --components-form-baseform-standard-icon: #181c56;
30
+ --components-form-baseform-standard-icon-disabled: #6e6f73;
31
+ --components-form-baseform-standard-text-content: #181c56;
32
+ --components-form-baseform-standard-text-description: #181c56;
33
+ --components-form-baseform-standard-text-label: #626493;
34
+ --components-form-baseform-standard-text-disabled: #6e6f73;
35
+ --components-form-basemenu-border: #8284ab;
36
+ --components-form-basemenu-fill-default: #f2f5f7;
37
+ --components-form-basemenu-fill-hover: #d9ddf2;
38
+ --components-form-basemenu-fill-selected: #aeb7e2;
39
+ --components-form-basemenu-icon: #181c56;
40
+ --components-form-basemenu-icon-disabled: #6e6f73;
41
+ --components-form-basemenu-text: #181c56;
42
+ --components-form-basemenu-text-disabled: #6e6f73;
43
+ --components-form-basepanel-contrast-border-default: #8284ab;
44
+ --components-form-basepanel-contrast-border-disabled: #949699;
45
+ --components-form-basepanel-contrast-border-selected: #aeb7e2;
46
+ --components-form-basepanel-contrast-fill-default: rgba(255, 255, 255, 0);
47
+ --components-form-basepanel-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
48
+ --components-form-basepanel-contrast-fill-expired: rgba(255, 148, 148, 0.2);
49
+ --components-form-basepanel-contrast-fill-hover: #54568c;
50
+ --components-form-basepanel-contrast-fill-selected: #393d79;
51
+ --components-form-basepanel-contrast-text-accent: #ffffff;
52
+ --components-form-basepanel-contrast-text-disabled: #b6b8ba;
53
+ --components-form-basepanel-contrast-text-rebate: #5ac39a;
54
+ --components-form-basepanel-contrast-text-subdued: #d9dae8;
55
+ --components-form-basepanel-standard-border-default: #8284ab;
56
+ --components-form-basepanel-standard-border-disabled: #949699;
57
+ --components-form-basepanel-standard-border-selected: #181c56;
58
+ --components-form-basepanel-standard-fill-default: rgba(255, 255, 255, 0);
59
+ --components-form-basepanel-standard-fill-disabled: #cfd2d4;
60
+ --components-form-basepanel-standard-fill-expired: rgba(255, 148, 148, 0.2);
61
+ --components-form-basepanel-standard-fill-hover: #eaeaf1;
62
+ --components-form-basepanel-standard-fill-selected: #f6f6f9;
63
+ --components-form-basepanel-standard-text-accent: #181c56;
64
+ --components-form-basepanel-standard-text-disabled: #6e6f73;
65
+ --components-form-basepanel-standard-text-rebate: #1a8e60;
66
+ --components-form-basepanel-standard-text-subdued: #626493;
67
+ --components-form-checkbox-contrast-border: #aeb7e2;
68
+ --components-form-checkbox-contrast-border-disabled: #6e6f73;
69
+ --components-form-checkbox-contrast-border-negative: #ff9494;
70
+ --components-form-checkbox-contrast-border-readonly: #6e6f73;
71
+ --components-form-checkbox-contrast-fill-default: rgba(255, 255, 255, 0);
72
+ --components-form-checkbox-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
73
+ --components-form-checkbox-contrast-fill-hover: #626493;
74
+ --components-form-checkbox-contrast-fill-selected: #aeb7e2;
75
+ --components-form-checkbox-contrast-fill-selectedhover: #c7cdeb;
76
+ --components-form-checkbox-contrast-icon: #181c56;
77
+ --components-form-checkbox-contrast-icon-disabled: #949699;
78
+ --components-form-checkbox-contrast-icon-readonly: #ffffff;
79
+ --components-form-checkbox-contrast-text: #ffffff;
80
+ --components-form-checkbox-contrast-text-disabled: #949699;
81
+ --components-form-checkbox-standard-border: #181c56;
82
+ --components-form-checkbox-standard-border-disabled: #e3e6e8;
83
+ --components-form-checkbox-standard-border-negative: #d31b1b;
84
+ --components-form-checkbox-standard-border-readonly: #e3e6e8;
85
+ --components-form-checkbox-standard-fill-default: rgba(255, 255, 255, 0);
86
+ --components-form-checkbox-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
87
+ --components-form-checkbox-standard-fill-hover: #d9ddf2;
88
+ --components-form-checkbox-standard-fill-selected: #181c56;
89
+ --components-form-checkbox-standard-fill-selectedhover: #393d79;
90
+ --components-form-checkbox-standard-icon: #ffffff;
91
+ --components-form-checkbox-standard-icon-disabled: #b6b8ba;
92
+ --components-form-checkbox-standard-icon-readonly: #181c56;
93
+ --components-form-checkbox-standard-text: #181c56;
94
+ --components-form-checkbox-standard-text-disabled: #b6b8ba;
95
+ --components-form-feedbacktext-information-contrast-icon-fill: #64b3e7;
96
+ --components-form-feedbacktext-information-contrast-icon-symbol: #181c56;
97
+ --components-form-feedbacktext-information-contrast-stroke: #181c56;
98
+ --components-form-feedbacktext-information-contrast-text: #ffffff;
99
+ --components-form-feedbacktext-information-standard-icon-fill: #067eb2;
100
+ --components-form-feedbacktext-information-standard-icon-symbol: #ffffff;
101
+ --components-form-feedbacktext-information-standard-stroke: #ffffff;
102
+ --components-form-feedbacktext-information-standard-text: #181c56;
103
+ --components-form-feedbacktext-negative-contrast-icon-fill: #ff9494;
104
+ --components-form-feedbacktext-negative-contrast-icon-symbol: #181c56;
105
+ --components-form-feedbacktext-negative-contrast-stroke: #181c56;
106
+ --components-form-feedbacktext-negative-contrast-text: #ffffff;
107
+ --components-form-feedbacktext-negative-standard-icon-fill: #d31b1b;
108
+ --components-form-feedbacktext-negative-standard-stroke: #ffffff;
109
+ --components-form-feedbacktext-negative-standard-symbol: #ffffff;
110
+ --components-form-feedbacktext-negative-standard-text: #181c56;
111
+ --components-form-feedbacktext-success-contrast-icon-fill: #5ac39a;
112
+ --components-form-feedbacktext-success-contrast-icon-stroke: #181c56;
113
+ --components-form-feedbacktext-success-contrast-icon-symbol: #181c56;
114
+ --components-form-feedbacktext-success-contrast-text: #ffffff;
115
+ --components-form-feedbacktext-success-standard-icon-fill: #1a8e60;
116
+ --components-form-feedbacktext-success-standard-icon-stroke: #ffffff;
117
+ --components-form-feedbacktext-success-standard-icon-symbol: #ffffff;
118
+ --components-form-feedbacktext-success-standard-text: #181c56;
119
+ --components-form-feedbacktext-warning-contrast-icon: #ffe082;
120
+ --components-form-feedbacktext-warning-contrast-icon-symbol: #181c56;
121
+ --components-form-feedbacktext-warning-contrast-stroke: #181c56;
122
+ --components-form-feedbacktext-warning-contrast-text: #ffffff;
123
+ --components-form-feedbacktext-warning-standard-icon-fill: #ffca28;
124
+ --components-form-feedbacktext-warning-standard-icon-symbol: #181c56;
125
+ --components-form-feedbacktext-warning-standard-stroke: #ffffff;
126
+ --components-form-feedbacktext-warning-standard-text: #181c56;
127
+ --components-form-radio-contrast-border: #aeb7e2;
128
+ --components-form-radio-contrast-border-disabled: #6e6f73;
129
+ --components-form-radio-contrast-border-negative: #ff9494;
130
+ --components-form-radio-contrast-border-readonly: #6e6f73;
131
+ --components-form-radio-contrast-fill-default: rgba(255, 255, 255, 0);
132
+ --components-form-radio-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
133
+ --components-form-radio-contrast-fill-hover: #626493;
134
+ --components-form-radio-contrast-fill-selected: #aeb7e2;
135
+ --components-form-radio-contrast-fill-selectedhover: #c7cdeb;
136
+ --components-form-radio-contrast-icon: #ffffff;
137
+ --components-form-radio-contrast-icon-disabled: #949699;
138
+ --components-form-radio-contrast-icon-readonly: #ffffff;
139
+ --components-form-radio-contrast-text: #ffffff;
140
+ --components-form-radio-contrast-text-disabled: #949699;
141
+ --components-form-radio-standard-border: #181c56;
142
+ --components-form-radio-standard-border-disabled: #e3e6e8;
143
+ --components-form-radio-standard-border-negative: #d31b1b;
144
+ --components-form-radio-standard-border-readonly: #e3e6e8;
145
+ --components-form-radio-standard-fill-default: rgba(255, 255, 255, 0);
146
+ --components-form-radio-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
147
+ --components-form-radio-standard-fill-hover: #d9ddf2;
148
+ --components-form-radio-standard-fill-selected: #181c56;
149
+ --components-form-radio-standard-icon: #181c56;
150
+ --components-form-radio-standard-icon-disabled: #b6b8ba;
151
+ --components-form-radio-standard-icon-readonly: #181c56;
152
+ --components-form-radio-standard-selectedhover: #393d79;
153
+ --components-form-radio-standard-text: #181c56;
154
+ --components-form-radio-standard-text-disabled: #b6b8ba;
155
+ --components-form-segmentedcontrol-contrast-background: #393d79;
156
+ --components-form-segmentedcontrol-contrast-fill-hover: #626493;
157
+ --components-form-segmentedcontrol-contrast-fill-selected: #ffffff;
158
+ --components-form-segmentedcontrol-contrast-fill-unselected: rgba(255, 255, 255, 0);
159
+ --components-form-segmentedcontrol-contrast-icon-selected: #181c56;
160
+ --components-form-segmentedcontrol-contrast-icon-unselected: #ffffff;
161
+ --components-form-segmentedcontrol-contrast-text-selected: #181c56;
162
+ --components-form-segmentedcontrol-contrast-text-unselected: #ffffff;
163
+ --components-form-segmentedcontrol-standard-background: #d9dae8;
164
+ --components-form-segmentedcontrol-standard-fill-hover: #eaeaf1;
165
+ --components-form-segmentedcontrol-standard-fill-selected: #ffffff;
166
+ --components-form-segmentedcontrol-standard-fill-unselected: rgba(255, 255, 255, 0);
167
+ --components-form-segmentedcontrol-standard-icon-selected: #181c56;
168
+ --components-form-segmentedcontrol-standard-icon-unselected: #181c56;
169
+ --components-form-segmentedcontrol-standard-text-selected: #181c56;
170
+ --components-form-segmentedcontrol-standard-text-unselected: #181c56;
171
+ --components-form-switch-contrast-fill-false: #9ea0bd;
172
+ --components-form-switch-contrast-fill-true: #5ac39a;
173
+ --components-form-switch-contrast-icon-false: #626493;
174
+ --components-form-switch-contrast-icon-true: #181c56;
175
+ --components-form-switch-contrast-switch: #ffffff;
176
+ --components-form-switch-contrast-text: #ffffff;
177
+ --components-form-switch-standard-fill-false: #949699;
178
+ --components-form-switch-standard-fill-true: #1a8e60;
179
+ --components-form-switch-standard-icon-false: #6e6f73;
180
+ --components-form-switch-standard-icon-true: #181c56;
181
+ --components-form-switch-standard-switch: #ffffff;
182
+ --components-form-switch-standard-text: #181c56;
314
183
  }
315
184
 
316
- .eds-feedback-text__icon {
317
- font-size: 1.5rem;
318
- min-height: 1.5rem;
319
- min-width: 1.5rem;
320
- padding-right: 0.5rem;
321
- position: relative;
322
- top: -0.1rem;
323
- }
324
- .eds-feedback-text__icon--success {
325
- color: var(--components-form-feedbacktext-success-standard-icon-fill);
326
- }
327
- .eds-feedback-text__icon--success circle {
328
- fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
329
- }
330
- .eds-contrast .eds-feedback-text__icon--success {
331
- color: var(--components-form-feedbacktext-success-contrast-icon-fill);
332
- }
333
- .eds-contrast .eds-feedback-text__icon--success circle {
334
- fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
335
- }
336
- .eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
337
- color: var(--components-form-feedbacktext-negative-standard-icon-fill);
338
- }
339
- .eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
340
- fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
341
- }
342
- .eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
343
- color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
344
- }
345
- .eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
346
- fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
347
- }
348
- .eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
349
- color: var(--components-form-feedbacktext-information-standard-icon-fill);
350
- }
351
- .eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
352
- fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
353
- }
354
- .eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
355
- color: var(--components-form-feedbacktext-information-contrast-icon-fill);
356
- }
357
- .eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
358
- fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
359
- }
360
- .eds-feedback-text__icon--warning {
361
- color: var(--components-form-feedbacktext-warning-standard-icon-fill);
362
- }
363
- .eds-feedback-text__icon--warning .svg-exclamation {
364
- fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
365
- }
366
- .eds-contrast .eds-feedback-text__icon--warning {
367
- color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
368
- }
369
- .eds-contrast .eds-feedback-text__icon--warning circle {
370
- fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
371
- }
372
- .eds-fieldset {
373
- margin: 0;
374
- padding: 0;
375
- border: 0;
376
- }
377
- /* DO NOT CHANGE!*/
378
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
379
- .eds-form-component--radio__container {
380
- display: flex;
381
- justify-content: center;
382
- align-items: center;
383
- position: relative;
384
- cursor: pointer;
385
- height: 2rem;
386
- width: -moz-fit-content;
387
- width: fit-content;
388
- -webkit-user-select: none;
389
- -moz-user-select: none;
390
- user-select: none;
391
- }
392
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
393
- background-color: var(--components-form-radio-standard-fill-hover);
394
- }
395
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
396
- background-color: var(--components-form-radio-contrast-fill-hover);
397
- }
398
- .eds-form-component--radio__container input {
399
- position: absolute;
400
- opacity: 0;
401
- cursor: pointer;
402
- height: 0;
403
- width: 0;
404
- }
405
- .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
406
- height: 0.625rem;
407
- width: 0.625rem;
408
- }
409
- .eds-form-component--radio__container input:focus-visible ~ .eds-form-component--radio__radio {
410
- outline: 2px solid #181c56;
411
- outline-color: var(--basecolors-stroke-focus-standard);
412
- outline-offset: 0.125rem;
413
- }
414
- .eds-contrast .eds-form-component--radio__container input:focus-visible ~ .eds-form-component--radio__radio {
415
- outline-color: var(--basecolors-stroke-focus-contrast);
416
- }
417
- .eds-form-component--radio__container:has(input:disabled) {
418
- cursor: not-allowed;
419
- }
420
- .eds-form-component--radio__container:has(.eds-form-component--radio__radio--readonly) {
421
- cursor: default;
422
- -webkit-user-select: text;
423
- -moz-user-select: text;
424
- user-select: text;
425
- }
426
- .eds-form-component--radio__container .eds-form-component--radio__radio {
427
- position: relative;
428
- height: 1.25rem;
429
- width: 1.25rem;
430
- margin-right: 1rem;
431
- background-color: var(--components-form-radio-standard-fill-default);
432
- border: 0.125rem solid var(--components-form-radio-standard-border);
433
- border-radius: 50%;
434
- display: flex;
435
- align-items: center;
436
- justify-content: center;
437
- }
438
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
439
- background-color: var(--components-form-radio-contrast-fill-default);
440
- border-color: var(--components-form-radio-contrast-border);
441
- }
442
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
443
- background: var(--components-form-radio-contrast-fill-disabled);
444
- border-color: var(--components-form-radio-contrast-text-disabled);
445
- }
446
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
447
- border-color: var(--components-form-radio-contrast-text-disabled);
448
- }
449
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
450
- background: var(--components-form-radio-contrast-fill-disabled);
451
- border-color: var(--components-form-radio-contrast-text-disabled);
452
- }
453
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
454
- color: var(--components-form-radio-contrast-text-disabled);
455
- }
456
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
457
- background-color: var(--components-form-radio-standard-icon-disabled);
458
- border-color: var(--components-form-radio-contrast-text-disabled);
459
- }
460
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled .eds-form-component--radio__circle {
461
- background-color: var(--components-form-radio-standard-icon-disabled);
462
- }
463
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled .eds-form-component--radio__circle {
464
- background-color: var(--components-form-radio-contrast-icon-disabled);
465
- }
466
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--readonly {
467
- background: var(--components-form-radio-standard-fill-disabled);
468
- border-color: var(--components-form-radio-standard-border-readonly);
469
- }
470
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--readonly {
471
- background: var(--components-form-radio-contrast-fill-disabled);
472
- border-color: var(--components-form-radio-contrast-border-readonly);
473
- }
474
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--readonly:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
475
- background-color: var(--components-form-radio-standard-icon);
476
- border-color: var(--components-form-radio-standard-border-readonly);
477
- }
478
- .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
479
- display: block;
480
- width: 0;
481
- height: 0;
482
- border-radius: 50%;
483
- background-color: var(--components-form-radio-standard-fill-selected);
484
- transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
485
- }
486
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
487
- background-color: var(--components-form-radio-contrast-icon);
488
- }
489
- /* DO NOT CHANGE!*/
490
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
491
- .eds-checkbox__container {
492
- display: flex;
493
- align-items: center;
494
- position: relative;
495
- -webkit-appearance: none;
496
- -moz-appearance: none;
497
- appearance: none;
498
- cursor: pointer;
499
- -webkit-user-select: none;
500
- -moz-user-select: none;
501
- user-select: none;
502
- width: -moz-fit-content;
503
- width: fit-content;
504
- margin: 0.5rem 0;
505
- }
506
- .eds-checkbox__container--reduced-click-area {
507
- height: -moz-fit-content;
508
- height: fit-content;
509
- }
510
- .eds-checkbox__container input {
511
- position: absolute;
512
- opacity: 0;
513
- height: 0;
514
- width: 0;
515
- }
516
- .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
517
- background-color: var(--components-form-checkbox-standard-fill-selected);
518
- }
519
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
520
- visibility: visible;
521
- }
522
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
523
- stroke: var(--components-form-checkbox-standard-icon);
524
- animation: stroke ease-in-out 0.2s 0.1s forwards;
525
- }
526
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
527
- fill: var(--components-form-checkbox-standard-icon);
528
- }
529
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast {
530
- color: var(--components-form-checkbox-contrast-fill-selected);
531
- }
532
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast path {
533
- stroke: var(--components-form-checkbox-contrast-icon);
534
- }
535
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast rect {
536
- fill: var(--components-form-checkbox-contrast-icon);
537
- }
538
- .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
539
- background-color: var(--components-form-checkbox-standard-icon-disabled);
540
- }
541
- .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
542
- background-color: var(--components-form-checkbox-standard-icon-disabled);
543
- }
544
- .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
545
- background-color: var(--components-form-checkbox-standard-icon-disabled);
546
- }
547
- .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
548
- background-color: var(--components-form-checkbox-standard-icon-disabled);
549
- }
550
- .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
551
- background-color: var(--components-form-checkbox-standard-icon-disabled);
552
- }
553
- .eds-checkbox__container input:checked + .eds-checkbox__icon--readonly, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--readonly {
554
- background-color: var(--components-form-checkbox-standard-fill-disabled);
555
- }
556
- .eds-checkbox__container input:checked + .eds-checkbox__icon--readonly .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--readonly .eds-checkbox-icon path {
557
- stroke: var(--components-form-checkbox-standard-icon-readonly);
558
- }
559
- .eds-checkbox__container input:checked + .eds-checkbox__icon--readonly .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--readonly .eds-checkbox-icon rect {
560
- fill: var(--components-form-checkbox-standard-icon-readonly);
561
- }
562
- .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon--readonly .eds-checkbox-icon path, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--readonly .eds-checkbox-icon path {
563
- stroke: var(--components-form-checkbox-contrast-icon-readonly);
564
- }
565
- .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon--readonly .eds-checkbox-icon rect, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--readonly .eds-checkbox-icon rect {
566
- fill: var(--components-form-checkbox-contrast-icon-readonly);
567
- }
568
- .eds-checkbox__container:hover(:not(:has(input:disabled))) input + .eds-checkbox__icon {
569
- border-color: var(--components-form-checkbox-standard-border);
570
- background-color: var(--components-form-checkbox-standard-fill-hover);
571
- }
572
- .eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input + .eds-checkbox__icon {
573
- border-color: var(--components-form-checkbox-contrast-border);
574
- background-color: var(--components-form-checkbox-contrast-fill-hover);
575
- }
576
- .eds-checkbox__container:hover(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
577
- .eds-checkbox__container:hover(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon:not(.eds-checkbox--disabled) {
578
- border-color: transparent;
579
- background-color: var(--components-form-checkbox-standard-fill-selectedhover);
580
- }
581
- .eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
582
- .eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon:not(.eds-checkbox--disabled) {
583
- background-color: var(--components-form-checkbox-contrast-fill-selectedhover);
584
- }
585
- .eds-checkbox__container:active(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
586
- .eds-checkbox__container:active(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon {
587
- background-color: var(--components-form-checkbox-standard-fill-selected);
588
- }
589
- .eds-contrast .eds-checkbox__container:active(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
590
- .eds-contrast .eds-checkbox__container:active(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon {
591
- background-color: var(--components-form-checkbox-contrast-fill-selected);
592
- }
593
- .eds-checkbox__container:has(:focus-visible) .eds-checkbox__icon {
594
- outline: 2px solid #181c56;
595
- outline-color: var(--basecolors-stroke-focus-standard);
596
- outline-offset: 0.125rem;
597
- }
598
- .eds-contrast .eds-checkbox__container:has(:focus-visible) .eds-checkbox__icon {
599
- outline-color: var(--basecolors-stroke-focus-contrast);
600
- }
601
- .eds-checkbox--disabled {
602
- cursor: not-allowed;
603
- }
604
- .eds-checkbox--disabled input {
605
- pointer-events: none;
606
- }
607
- .eds-checkbox--disabled .eds-checkbox__label {
608
- opacity: 0.5;
609
- }
610
- .eds-checkbox--disabled .eds-checkbox__icon {
611
- border-color: var(--components-form-checkbox-standard-icon-disabled);
612
- }
613
- .eds-contrast .eds-checkbox--disabled .eds-checkbox__icon {
614
- border-color: var(--components-form-checkbox-contrast-icon-disabled);
615
- }
616
- .eds-checkbox--readonly {
617
- cursor: default;
618
- pointer-events: auto;
619
- -webkit-user-select: text;
620
- -moz-user-select: text;
621
- user-select: text;
622
- }
623
- .eds-checkbox--readonly input {
624
- pointer-events: auto;
625
- -webkit-user-select: text;
626
- -moz-user-select: text;
627
- user-select: text;
628
- }
629
- .eds-checkbox--readonly .eds-checkbox__icon {
630
- border-color: var(--components-form-checkbox-standard-border-readonly);
631
- }
632
- .eds-contrast .eds-checkbox--readonly .eds-checkbox__icon {
633
- border-color: var(--components-form-checkbox-contrast-border-readonly);
634
- }
635
- .eds-checkbox__icon {
636
- box-sizing: border-box;
637
- display: inline-flex;
638
- justify-content: center;
639
- align-items: center;
640
- position: relative;
641
- margin-right: 1rem;
642
- height: 1.25rem;
643
- width: 1.25rem;
644
- border: 0.125rem solid var(--components-form-checkbox-standard-border);
645
- border-radius: 0.125rem;
646
- background-color: transparent;
647
- transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
648
- }
649
- .eds-checkbox__icon--reduced-click-area {
650
- margin-right: 0;
651
- }
652
- .eds-contrast .eds-checkbox__icon {
653
- border-color: var(--components-form-checkbox-contrast-border);
654
- }
655
- .eds-checkbox__icon .eds-checkbox-icon {
656
- height: 1rem;
657
- width: 1rem;
658
- visibility: hidden;
659
- }
660
- .eds-checkbox__icon .eds-checkbox-icon path {
661
- transform-origin: 50% 50%;
662
- stroke-dasharray: 48;
663
- stroke-dashoffset: 48;
664
- stroke-width: 0.375rem;
665
- }
666
- .eds-checkbox__icon--no-animation .eds-checkbox-icon path {
667
- animation: none !important;
668
- transition: none !important;
669
- stroke-dasharray: 48;
670
- stroke-dashoffset: 0;
671
- }
672
- .eds-checkbox__icon--no-animation .eds-checkbox-icon rect {
673
- transition: none !important;
674
- }
675
-
676
- @keyframes stroke {
677
- 100% {
678
- stroke-dashoffset: 0;
679
- }
185
+ [data-color-mode=dark] {
186
+ --components-form-baseform-contrast-border-default: #8284ab;
187
+ --components-form-baseform-contrast-border-interactive: #aeb7e2;
188
+ --components-form-baseform-contrast-border-negative: #ff9494;
189
+ --components-form-baseform-contrast-border-success: #5ac39a;
190
+ --components-form-baseform-contrast-fill-default: rgba(255, 255, 255, 0);
191
+ --components-form-baseform-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
192
+ --components-form-baseform-contrast-fill-readonly: rgba(255, 255, 255, 0);
193
+ --components-form-baseform-contrast-icon: #e5e5e9;
194
+ --components-form-baseform-contrast-icon-disabled: #6e6f73;
195
+ --components-form-baseform-contrast-text-content: #e5e5e9;
196
+ --components-form-baseform-contrast-text-description: #e5e5e9;
197
+ --components-form-baseform-contrast-text-label: #b3b4bd;
198
+ --components-form-baseform-contrast-text-disabled: #6e6f73;
199
+ --components-form-baseform-standard-border-default: #8284ab;
200
+ --components-form-baseform-standard-border-interactive: #aeb7e2;
201
+ --components-form-baseform-standard-border-negative: #ff9494;
202
+ --components-form-baseform-standard-border-success: #5ac39a;
203
+ --components-form-baseform-standard-fill-default: rgba(255, 255, 255, 0);
204
+ --components-form-baseform-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
205
+ --components-form-baseform-standard-fill-readonly: rgba(255, 255, 255, 0);
206
+ --components-form-baseform-standard-icon: #e5e5e9;
207
+ --components-form-baseform-standard-icon-disabled: #6e6f73;
208
+ --components-form-baseform-standard-text-content: #e5e5e9;
209
+ --components-form-baseform-standard-text-description: #e5e5e9;
210
+ --components-form-baseform-standard-text-label: #b3b4bd;
211
+ --components-form-baseform-standard-text-disabled: #6e6f73;
212
+ --components-form-basemenu-border: rgba(255, 255, 255, 0);
213
+ --components-form-basemenu-fill-default: #464755;
214
+ --components-form-basemenu-fill-hover: #626493;
215
+ --components-form-basemenu-fill-selected: #8794d4;
216
+ --components-form-basemenu-icon: #e5e5e9;
217
+ --components-form-basemenu-icon-disabled: #949699;
218
+ --components-form-basemenu-text: #e5e5e9;
219
+ --components-form-basemenu-text-disabled: #949699;
220
+ --components-form-basepanel-contrast-border-default: #81828f;
221
+ --components-form-basepanel-contrast-border-disabled: #949699;
222
+ --components-form-basepanel-contrast-border-selected: #aeb7e2;
223
+ --components-form-basepanel-contrast-fill-default: rgba(255, 255, 255, 0);
224
+ --components-form-basepanel-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
225
+ --components-form-basepanel-contrast-fill-expired: rgba(255, 148, 148, 0.2);
226
+ --components-form-basepanel-contrast-fill-hover: #393a49;
227
+ --components-form-basepanel-contrast-fill-selected: rgba(229, 229, 233, 0.1490196078);
228
+ --components-form-basepanel-contrast-text-accent: #e5e5e9;
229
+ --components-form-basepanel-contrast-text-disabled: #b6b8ba;
230
+ --components-form-basepanel-contrast-text-rebate: #5ac39a;
231
+ --components-form-basepanel-contrast-text-subdued: #b3b4bd;
232
+ --components-form-basepanel-standard-border-default: #81828f;
233
+ --components-form-basepanel-standard-border-disabled: #949699;
234
+ --components-form-basepanel-standard-border-selected: #aeb7e2;
235
+ --components-form-basepanel-standard-fill-default: rgba(255, 255, 255, 0);
236
+ --components-form-basepanel-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
237
+ --components-form-basepanel-standard-fill-expired: rgba(255, 148, 148, 0.2);
238
+ --components-form-basepanel-standard-fill-hover: #393a49;
239
+ --components-form-basepanel-standard-fill-selected: rgba(229, 229, 233, 0.1490196078);
240
+ --components-form-basepanel-standard-text-accent: #e5e5e9;
241
+ --components-form-basepanel-standard-text-disabled: #b6b8ba;
242
+ --components-form-basepanel-standard-text-rebate: #5ac39a;
243
+ --components-form-basepanel-standard-text-subdued: #b3b4bd;
244
+ --components-form-checkbox-contrast-border: #aeb7e2;
245
+ --components-form-checkbox-contrast-border-disabled: #6e6f73;
246
+ --components-form-checkbox-contrast-border-negative: #ff9494;
247
+ --components-form-checkbox-contrast-border-readonly: #6e6f73;
248
+ --components-form-checkbox-contrast-fill-default: rgba(255, 255, 255, 0);
249
+ --components-form-checkbox-contrast-fill-disabled: rgba(204, 205, 212, 0.3019607843);
250
+ --components-form-checkbox-contrast-fill-hover: #626493;
251
+ --components-form-checkbox-contrast-fill-selected: #aeb7e2;
252
+ --components-form-checkbox-contrast-fill-selectedhover: #c7cdeb;
253
+ --components-form-checkbox-contrast-icon: #181c56;
254
+ --components-form-checkbox-contrast-icon-disabled: #6e6f73;
255
+ --components-form-checkbox-contrast-icon-readonly: #e5e5e9;
256
+ --components-form-checkbox-contrast-text: #e5e5e9;
257
+ --components-form-checkbox-contrast-text-disabled: #6e6f73;
258
+ --components-form-checkbox-standard-border: #aeb7e2;
259
+ --components-form-checkbox-standard-border-disabled: #6e6f73;
260
+ --components-form-checkbox-standard-border-negative: #ff9494;
261
+ --components-form-checkbox-standard-border-readonly: #6e6f73;
262
+ --components-form-checkbox-standard-fill-default: rgba(255, 255, 255, 0);
263
+ --components-form-checkbox-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
264
+ --components-form-checkbox-standard-fill-hover: #626493;
265
+ --components-form-checkbox-standard-fill-selected: #aeb7e2;
266
+ --components-form-checkbox-standard-fill-selectedhover: #c7cdeb;
267
+ --components-form-checkbox-standard-icon: #181c56;
268
+ --components-form-checkbox-standard-icon-disabled: #6e6f73;
269
+ --components-form-checkbox-standard-icon-readonly: #e5e5e9;
270
+ --components-form-checkbox-standard-text: #e5e5e9;
271
+ --components-form-checkbox-standard-text-disabled: #6e6f73;
272
+ --components-form-feedbacktext-information-contrast-icon-fill: #64b3e7;
273
+ --components-form-feedbacktext-information-contrast-icon-symbol: #08091c;
274
+ --components-form-feedbacktext-information-contrast-stroke: #08091c;
275
+ --components-form-feedbacktext-information-contrast-text: #e5e5e9;
276
+ --components-form-feedbacktext-information-standard-icon-fill: #64b3e7;
277
+ --components-form-feedbacktext-information-standard-icon-symbol: #08091c;
278
+ --components-form-feedbacktext-information-standard-stroke: #08091c;
279
+ --components-form-feedbacktext-information-standard-text: #e5e5e9;
280
+ --components-form-feedbacktext-negative-contrast-icon-fill: #ff9494;
281
+ --components-form-feedbacktext-negative-contrast-icon-symbol: #08091c;
282
+ --components-form-feedbacktext-negative-contrast-stroke: #08091c;
283
+ --components-form-feedbacktext-negative-contrast-text: #e5e5e9;
284
+ --components-form-feedbacktext-negative-standard-icon-fill: #ff9494;
285
+ --components-form-feedbacktext-negative-standard-stroke: #08091c;
286
+ --components-form-feedbacktext-negative-standard-symbol: #08091c;
287
+ --components-form-feedbacktext-negative-standard-text: #e5e5e9;
288
+ --components-form-feedbacktext-success-contrast-icon-fill: #5ac39a;
289
+ --components-form-feedbacktext-success-contrast-icon-stroke: #08091c;
290
+ --components-form-feedbacktext-success-contrast-icon-symbol: #08091c;
291
+ --components-form-feedbacktext-success-contrast-text: #e5e5e9;
292
+ --components-form-feedbacktext-success-standard-icon-fill: #5ac39a;
293
+ --components-form-feedbacktext-success-standard-icon-stroke: #08091c;
294
+ --components-form-feedbacktext-success-standard-icon-symbol: #08091c;
295
+ --components-form-feedbacktext-success-standard-text: #e5e5e9;
296
+ --components-form-feedbacktext-warning-contrast-icon: #ffe082;
297
+ --components-form-feedbacktext-warning-contrast-icon-symbol: #08091c;
298
+ --components-form-feedbacktext-warning-contrast-stroke: #08091c;
299
+ --components-form-feedbacktext-warning-contrast-text: #e5e5e9;
300
+ --components-form-feedbacktext-warning-standard-icon-fill: #ffe082;
301
+ --components-form-feedbacktext-warning-standard-icon-symbol: #08091c;
302
+ --components-form-feedbacktext-warning-standard-stroke: #08091c;
303
+ --components-form-feedbacktext-warning-standard-text: #e5e5e9;
304
+ --components-form-radio-contrast-border: #aeb7e2;
305
+ --components-form-radio-contrast-border-disabled: #6e6f73;
306
+ --components-form-radio-contrast-border-negative: #ff9494;
307
+ --components-form-radio-contrast-border-readonly: #6e6f73;
308
+ --components-form-radio-contrast-fill-default: rgba(255, 255, 255, 0);
309
+ --components-form-radio-contrast-fill-disabled: rgba(204, 205, 212, 0.3019607843);
310
+ --components-form-radio-contrast-fill-hover: #626493;
311
+ --components-form-radio-contrast-fill-selected: #aeb7e2;
312
+ --components-form-radio-contrast-fill-selectedhover: #c7cdeb;
313
+ --components-form-radio-contrast-icon: #e5e5e9;
314
+ --components-form-radio-contrast-icon-disabled: #6e6f73;
315
+ --components-form-radio-contrast-icon-readonly: #e5e5e9;
316
+ --components-form-radio-contrast-text: #e5e5e9;
317
+ --components-form-radio-contrast-text-disabled: #6e6f73;
318
+ --components-form-radio-standard-border: #aeb7e2;
319
+ --components-form-radio-standard-border-disabled: #6e6f73;
320
+ --components-form-radio-standard-border-negative: #ff9494;
321
+ --components-form-radio-standard-border-readonly: #6e6f73;
322
+ --components-form-radio-standard-fill-default: rgba(255, 255, 255, 0);
323
+ --components-form-radio-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
324
+ --components-form-radio-standard-fill-hover: #626493;
325
+ --components-form-radio-standard-fill-selected: #aeb7e2;
326
+ --components-form-radio-standard-icon: #e5e5e9;
327
+ --components-form-radio-standard-icon-disabled: #6e6f73;
328
+ --components-form-radio-standard-icon-readonly: #e5e5e9;
329
+ --components-form-radio-standard-selectedhover: #c7cdeb;
330
+ --components-form-radio-standard-text: #e5e5e9;
331
+ --components-form-radio-standard-text-disabled: #6e6f73;
332
+ --components-form-segmentedcontrol-contrast-background: rgba(229, 229, 233, 0.1490196078);
333
+ --components-form-segmentedcontrol-contrast-fill-hover: rgba(229, 229, 233, 0.1490196078);
334
+ --components-form-segmentedcontrol-contrast-fill-selected: #e5e5e9;
335
+ --components-form-segmentedcontrol-contrast-fill-unselected: rgba(255, 255, 255, 0);
336
+ --components-form-segmentedcontrol-contrast-icon-selected: #08091c;
337
+ --components-form-segmentedcontrol-contrast-icon-unselected: #e5e5e9;
338
+ --components-form-segmentedcontrol-contrast-text-selected: #08091c;
339
+ --components-form-segmentedcontrol-contrast-text-unselected: #e5e5e9;
340
+ --components-form-segmentedcontrol-standard-background: rgba(229, 229, 233, 0.1490196078);
341
+ --components-form-segmentedcontrol-standard-fill-hover: rgba(229, 229, 233, 0.1490196078);
342
+ --components-form-segmentedcontrol-standard-fill-selected: #e5e5e9;
343
+ --components-form-segmentedcontrol-standard-fill-unselected: rgba(255, 255, 255, 0);
344
+ --components-form-segmentedcontrol-standard-icon-selected: #08091c;
345
+ --components-form-segmentedcontrol-standard-icon-unselected: #e5e5e9;
346
+ --components-form-segmentedcontrol-standard-text-selected: #08091c;
347
+ --components-form-segmentedcontrol-standard-text-unselected: #e5e5e9;
348
+ --components-form-switch-contrast-fill-false: rgba(229, 229, 233, 0.3490196078);
349
+ --components-form-switch-contrast-fill-true: #5ac39a;
350
+ --components-form-switch-contrast-icon-false: #b3b4bd;
351
+ --components-form-switch-contrast-icon-true: #e5e5e9;
352
+ --components-form-switch-contrast-switch: #08091c;
353
+ --components-form-switch-contrast-text: #e5e5e9;
354
+ --components-form-switch-standard-fill-false: rgba(229, 229, 233, 0.3490196078);
355
+ --components-form-switch-standard-fill-true: #5ac39a;
356
+ --components-form-switch-standard-icon-false: #b3b4bd;
357
+ --components-form-switch-standard-icon-true: #e5e5e9;
358
+ --components-form-switch-standard-switch: #08091c;
359
+ --components-form-switch-standard-text: #e5e5e9;
680
360
  }
681
- /* DO NOT CHANGE!*/
682
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
683
- /* DO NOT CHANGE!*/
684
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
685
- /* DO NOT CHANGE!*/
686
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
361
+
687
362
  /* DO NOT CHANGE!*/
688
363
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
689
364
  /* DO NOT CHANGE!*/
@@ -821,792 +496,1004 @@
821
496
  --basecolors-text-subduedalt: #b3b4bd;
822
497
  }
823
498
 
824
- .eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
825
- background: #ffffff;
826
- background: var(--basecolors-frame-default);
827
- width: -moz-fit-content;
828
- width: fit-content;
829
- height: -moz-fit-content;
830
- height: fit-content;
831
- padding: 0.15rem;
832
- margin: -0.15rem;
833
- }
834
- *[data-color-mode=dark] .eds-contrast .eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled):not(.eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
835
- background-color: #181c56;
836
- background-color: var(--basecolors-frame-contrast);
837
- }
838
- .eds-textarea__wrapper textarea.eds-form-control.eds-textarea {
839
- min-height: 7.75rem;
840
- resize: vertical;
841
- line-height: 1.5rem;
842
- }
843
- .eds-textarea__wrapper .eds-form-control-wrapper {
844
- padding-right: 0;
845
- cursor: text;
846
- }
847
499
  /* DO NOT CHANGE!*/
848
500
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
849
- .eds-input-panel:has(:focus-visible) .eds-input-panel__container {
850
- outline: 2px solid #181c56;
851
- outline-color: var(--basecolors-stroke-focus-standard);
852
- outline-offset: 0.125rem;
853
- }
854
- .eds-contrast .eds-input-panel:has(:focus-visible) .eds-input-panel__container {
855
- outline-color: var(--basecolors-stroke-focus-contrast);
856
- }
857
- .eds-input-panel > input {
858
- position: absolute;
859
- opacity: 0;
860
- cursor: pointer;
861
- height: 0;
862
- width: 0;
863
- }
864
- .eds-input-panel > input:checked + .eds-input-panel__container {
865
- border-color: var(--components-form-basepanel-standard-border-selected);
866
- background: var(--components-form-basepanel-standard-fill-selected);
867
- }
868
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container {
869
- border-color: var(--components-form-basepanel-contrast-border-selected);
870
- background: var(--components-form-basepanel-contrast-fill-selected);
871
- }
872
- .eds-input-panel > input:checked + .eds-input-panel__container .eds-form-component--radio__circle {
873
- width: 0.75rem;
874
- height: 0.75rem;
875
- }
876
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container .eds-form-component--radio__circle {
877
- background-color: var(--components-form-radio-contrast-icon);
878
- }
879
- .eds-input-panel > input:checked + .eds-input-panel__container:hover {
880
- background-color: var(--components-form-basepanel-standard-fill-hover);
881
- /* The following styling is needed to sync the inner checkbox/radiobutton's
882
- hover state styling with the inputPanel container */
883
- }
884
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover {
885
- background-color: var(--components-form-basepanel-contrast-fill-hover);
501
+ :root {
502
+ --contrast-bicycle: #00db9b;
503
+ --contrast-bus: #ff6392;
504
+ --contrast-bus-transparent: #ff639226;
505
+ --contrast-cableway: #b482fb;
506
+ --contrast-cableway-transparent: #b482fb26;
507
+ --contrast-carferry: #6fdfff;
508
+ --contrast-carferry-transparent: #6fdfff26;
509
+ --contrast-citybike: #00db9b;
510
+ --contrast-ferry: #6fdfff;
511
+ --contrast-ferry-transparent: #6fdfff26;
512
+ --contrast-funicular: #b482fb;
513
+ --contrast-funicular-transparent: #b482fb26;
514
+ --contrast-helicopter: #fbafea;
515
+ --contrast-helicopter-transparent: #fbafea26;
516
+ --contrast-metro: #f08901;
517
+ --contrast-metro-transparent: #f0890126;
518
+ --contrast-mobility: #00db9b;
519
+ --contrast-neutral: #ffffff;
520
+ --contrast-plane: #fbafea;
521
+ --contrast-plane-transparent: #fbafea26;
522
+ --contrast-taxi: #ffe082;
523
+ --contrast-taxi-transparent: #ffe08226;
524
+ --contrast-train: #42a5f5;
525
+ --contrast-train-transparent: #42a5f526;
526
+ --contrast-tram: #b482fb;
527
+ --contrast-tram-transparent: #b482fb26;
528
+ --contrast-walk: #8284ab;
529
+ --contrast-airportlinkbus: #fbafea;
530
+ --contrast-airportlinkbus-transparent: #fbafea26;
531
+ --contrast-airportlinkrail: #fbafea;
532
+ --contrast-airportlinkrail-transparent: #fbafea26;
533
+ --dark-bicycle: #4db295;
534
+ --dark-bus: #ef7398;
535
+ --dark-bus-transparent: #ef739826;
536
+ --dark-cableway: #b898e5;
537
+ --dark-cableway-transparent: #b898e526;
538
+ --dark-carferry: #8ccfe2;
539
+ --dark-carferry-transparent: #8ccfe226;
540
+ --dark-citybike: #4db295;
541
+ --dark-ferry: #8ccfe2;
542
+ --dark-ferry-transparent: #8ccfe226;
543
+ --dark-funicular: #b898e5;
544
+ --dark-funicular-transparent: #b898e526;
545
+ --dark-helicopter: #f2b8e5;
546
+ --dark-helicopter-transparent: #f2b8e526;
547
+ --dark-metro: #dd973c;
548
+ --dark-metro-transparent: #dd973c26;
549
+ --dark-mobility: #4db295;
550
+ --dark-neutral: #e5e5e9;
551
+ --dark-plane: #f2b8e5;
552
+ --dark-plane-transparent: #f2b8e526;
553
+ --dark-taxi: #ffe082;
554
+ --dark-taxi-transparent: #ffe08226;
555
+ --dark-train: #60a2d7;
556
+ --dark-train-transparent: #60a2d726;
557
+ --dark-tram: #b898e5;
558
+ --dark-tram-transparent: #b898e526;
559
+ --dark-walk: #8d8e9c;
560
+ --dark-airportlinkbus: #f2b8e5;
561
+ --dark-airportlinkbus-transparent: #f2b8e526;
562
+ --dark-airportlinkrail: #f2b8e5;
563
+ --dark-airportlinkrail-transparent: #f2b8e526;
564
+ --standard-bicycle: #388f76;
565
+ --standard-bus: #c5044e;
566
+ --standard-bus-transparent: #c5044e26;
567
+ --standard-cableway: #78469a;
568
+ --standard-cableway-transparent: #78469a26;
569
+ --standard-carferry: #0c6693;
570
+ --standard-carferry-transparent: #0c669326;
571
+ --standard-citybike: #388f76;
572
+ --standard-ferry: #0c6693;
573
+ --standard-ferry-transparent: #0c669326;
574
+ --standard-funicular: #78469a;
575
+ --standard-funicular-transparent: #78469a26;
576
+ --standard-helicopter: #800664;
577
+ --standard-helicopter-transparent: #80066426;
578
+ --standard-metro: #bf5826;
579
+ --standard-metro-transparent: #bf582626;
580
+ --standard-mobility: #388f76;
581
+ --standard-neutral: #181c56;
582
+ --standard-plane: #800664;
583
+ --standard-plane-transparent: #80066426;
584
+ --standard-taxi: #3d3e40;
585
+ --standard-taxi-transparent: #3d3e4026;
586
+ --standard-train: #00367f;
587
+ --standard-train-transparent: #00367f26;
588
+ --standard-tram: #78469a;
589
+ --standard-tram-transparent: #78469a26;
590
+ --standard-walk: #8d8e9c;
591
+ --standard-airportlinkbus: #800664;
592
+ --standard-airportlinkbus-transparent: #80066426;
593
+ --standard-airportlinkrail: #800664;
594
+ --standard-airportlinkrail-transparent: #80066426;
886
595
  }
887
- .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio {
888
- background-color: var(--components-form-basepanel-standard-fill-hover);
889
- border-color: var(--components-form-basepanel-standard-border-selected);
596
+
597
+ :root {
598
+ --eds-form: 1;
599
+ }/* DO NOT CHANGE!*/
600
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
601
+ .eds-feedback-text {
602
+ display: flex;
603
+ align-items: center;
604
+ margin-top: 0.25rem;
890
605
  }
891
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio {
892
- background-color: var(--components-form-basepanel-contrast-fill-hover);
893
- border-color: var(--components-form-basepanel-contrast-border-selected);
606
+ .eds-feedback-text--info, .eds-feedback-text--information {
607
+ padding-left: calc(1rem + 0.125rem);
894
608
  }
895
- .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
896
- border-color: transparent;
609
+ .eds-feedback-text__text {
610
+ color: var(--components-form-feedbacktext-information-standard-text);
897
611
  }
898
- .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
899
- background-color: var(--components-form-checkbox-contrast-fill-selectedhover);
612
+ .eds-contrast .eds-feedback-text__text {
613
+ color: var(--components-form-feedbacktext-information-contrast-text);
900
614
  }
901
- .eds-input-panel__container {
902
- background: var(--components-form-basepanel-standard-fill-default);
903
- border: 0.125rem solid var(--components-form-basepanel-standard-border-default);
904
- color: var(--components-form-basepanel-standard-text-accent);
905
- border-radius: 0.25rem;
906
- display: flex;
907
- flex-direction: column;
908
- justify-content: flex-start;
909
- min-width: 20rem;
615
+
616
+ .eds-feedback-text__icon {
617
+ font-size: 1.5rem;
618
+ min-height: 1.5rem;
619
+ min-width: 1.5rem;
620
+ padding-right: 0.5rem;
910
621
  position: relative;
911
- padding: 1rem;
912
- -webkit-user-select: none;
913
- -moz-user-select: none;
914
- user-select: none;
915
- width: -moz-fit-content;
916
- width: fit-content;
917
- transition: background ease-in-out 0.1s, border-color ease-in-out 0.1s;
918
- }
919
- .eds-contrast .eds-input-panel__container {
920
- background-color: var(--components-form-basepanel-contrast-fill-default);
921
- border-color: var(--components-form-basepanel-contrast-border-default);
922
- color: var(--components-form-basepanel-contrast-text-accent);
622
+ top: -0.1rem;
923
623
  }
924
- .eds-input-panel__container:hover {
925
- background-color: var(--components-form-basepanel-standard-fill-hover);
926
- /* The following styling is needed to sync the inner checkbox/radiobutton's
927
- hover state styling with the inputPanel container */
624
+ .eds-feedback-text__icon--success {
625
+ color: var(--components-form-feedbacktext-success-standard-icon-fill);
928
626
  }
929
- .eds-contrast .eds-input-panel__container:hover {
930
- background-color: var(--components-form-basepanel-contrast-fill-hover);
627
+ .eds-feedback-text__icon--success circle {
628
+ fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
931
629
  }
932
- .eds-input-panel__container:hover .eds-checkbox__icon,
933
- .eds-input-panel__container:hover .eds-form-component--radio__radio {
934
- background-color: var(--components-form-basepanel-standard-fill-hover);
935
- border-color: var(--components-form-basepanel-standard-border-selected);
630
+ .eds-contrast .eds-feedback-text__icon--success {
631
+ color: var(--components-form-feedbacktext-success-contrast-icon-fill);
936
632
  }
937
- .eds-contrast .eds-input-panel__container:hover .eds-checkbox__icon,
938
- .eds-contrast .eds-input-panel__container:hover .eds-form-component--radio__radio {
939
- background-color: var(--components-form-basepanel-contrast-fill-hover);
940
- border-color: var(--components-form-basepanel-contrast-border-selected);
633
+ .eds-contrast .eds-feedback-text__icon--success circle {
634
+ fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
941
635
  }
942
- input:disabled + .eds-input-panel__container {
943
- background: var(--components-form-basepanel-standard-fill-disabled);
944
- border-color: var(--components-form-basepanel-standard-border-disabled);
945
- color: var(--components-form-basepanel-standard-text-disabled);
946
- cursor: not-allowed;
636
+ .eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
637
+ color: var(--components-form-feedbacktext-negative-standard-icon-fill);
947
638
  }
948
- .eds-contrast input:disabled + .eds-input-panel__container {
949
- background: var(--components-form-basepanel-contrast-fill-disabled);
950
- border-style: dashed;
951
- border-color: var(--components-form-basepanel-contrast-border-disabled);
952
- color: var(--components-form-basepanel-contrast-text-disabled);
639
+ .eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
640
+ fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
953
641
  }
954
- .eds-input-panel__container .eds-checkbox__icon,
955
- .eds-input-panel__container .eds-checkbox__icon .eds-checkbox__icon,
956
- .eds-input-panel__container .eds-form-component--radio__radio {
957
- width: 1.5rem;
958
- height: 1.5rem;
959
- margin-right: 0;
642
+ .eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
643
+ color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
960
644
  }
961
- .eds-input-panel--medium .eds-input-panel__title {
962
- font-size: 1rem;
963
- font-weight: 500;
645
+ .eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
646
+ fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
964
647
  }
965
- .eds-input-panel--medium.eds-input-panel__container {
966
- padding-bottom: 1rem;
967
- min-height: 3.75rem;
648
+ .eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
649
+ color: var(--components-form-feedbacktext-information-standard-icon-fill);
968
650
  }
969
- .eds-input-panel--large.eds-input-panel__container {
970
- min-height: 6rem;
651
+ .eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
652
+ fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
971
653
  }
972
- .eds-input-panel--large .eds-input-panel__title {
973
- font-size: 1.25rem;
974
- font-weight: 500;
975
- line-height: 1.875rem;
654
+ .eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
655
+ color: var(--components-form-feedbacktext-information-contrast-icon-fill);
976
656
  }
977
- .eds-input-panel__title-wrapper {
978
- display: flex;
979
- justify-content: space-between;
980
- align-items: center;
657
+ .eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
658
+ fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
981
659
  }
982
- .eds-input-panel__secondary-label-and-icon-wrapper {
983
- display: flex;
984
- justify-content: center;
985
- align-items: center;
986
- gap: 0.75rem;
660
+ .eds-feedback-text__icon--warning {
661
+ color: var(--components-form-feedbacktext-warning-standard-icon-fill);
987
662
  }
988
- .eds-input-panel__secondary-label-and-icon-wrapper .eds-checkbox__container {
989
- margin: 0;
663
+ .eds-feedback-text__icon--warning .svg-exclamation {
664
+ fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
990
665
  }
991
- .eds-input-panel__additional-content {
992
- margin-top: 0.25rem;
993
- word-wrap: break-word;
666
+ .eds-contrast .eds-feedback-text__icon--warning {
667
+ color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
994
668
  }
995
- /* DO NOT CHANGE!*/
669
+ .eds-contrast .eds-feedback-text__icon--warning circle {
670
+ fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
671
+ }/* DO NOT CHANGE!*/
996
672
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
997
- .eds-switch {
998
- cursor: pointer;
999
- -webkit-user-select: none;
1000
- -moz-user-select: none;
1001
- user-select: none;
1002
- padding: 0.5rem 0;
1003
- width: -moz-fit-content;
1004
- width: fit-content;
673
+ .eds-input-group {
674
+ color: inherit;
675
+ display: block;
676
+ position: relative;
1005
677
  }
1006
- .eds-switch input {
1007
- opacity: 0;
1008
- pointer-events: none;
678
+ .eds-input-group__label {
679
+ color: var(--components-form-baseform-standard-text-label);
680
+ display: flex;
681
+ font-size: 1rem;
1009
682
  position: absolute;
683
+ line-height: 1rem;
684
+ height: 3rem;
685
+ padding-left: 0;
686
+ top: 1rem;
687
+ transition: top 0.2s ease-in-out, font-size 0.2s ease-in-out, padding 0.2s ease-in-out, line-height ease-in-out 0.2s;
688
+ user-select: none;
689
+ pointer-events: none;
1010
690
  }
1011
- .eds-switch--right {
1012
- display: flex;
1013
- flex-direction: row;
1014
- align-items: center;
691
+ .eds-form-control-wrapper--is-filled .eds-input-group__label {
692
+ top: 0.375rem;
693
+ font-size: 0.75rem;
694
+ line-height: 0.75rem;
695
+ height: 10px;
696
+ padding: 0;
1015
697
  }
1016
- .eds-switch--bottom {
1017
- display: flex;
1018
- flex-direction: column;
1019
- align-items: center;
698
+ .eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
699
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
700
+ background: var(--textarea-label-background);
701
+ width: calc(100% - 1rem - 1rem - 4px);
1020
702
  }
1021
- .eds-switch__circle {
1022
- border-radius: 50%;
1023
- height: 1.25rem;
1024
- width: 1.25rem;
1025
- content: "";
1026
- display: flex;
1027
- align-items: center;
1028
- justify-content: center;
1029
- transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
1030
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
1031
- background-color: var(--components-form-switch-standard-switch);
1032
- top: 0.125rem;
1033
- left: 0.125rem;
1034
- position: relative;
703
+ .eds-form-control-wrapper--is-filled.eds-form-control-wrapper--size-large .eds-input-group__label {
704
+ top: 0.5rem;
705
+ font-size: 0.875rem;
706
+ line-height: 1rem;
707
+ padding: 0;
1035
708
  }
1036
- .eds-switch__switch--large .eds-switch__circle {
1037
- height: 1.75rem;
1038
- width: 1.75rem;
709
+ .eds-form-control-wrapper--size-large .eds-input-group__label {
710
+ top: 0.75rem;
711
+ font-size: 1.5rem;
712
+ line-height: 2.25rem;
1039
713
  }
1040
- .eds-contrast .eds-switch__circle {
1041
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
714
+ .eds-input-group__label--filled {
715
+ top: 0.375rem;
716
+ font-size: 0.75rem;
717
+ line-height: 0.75rem;
718
+ height: 10px;
719
+ padding: 0;
1042
720
  }
1043
- .eds-switch__switch {
1044
- position: relative;
1045
- background-color: var(--components-form-switch-standard-fill-false);
1046
- content: "";
1047
- display: block;
1048
- transition: background-color 0.1s ease-in-out;
1049
- height: 1.5rem;
1050
- width: 3rem;
1051
- border-radius: 1.5rem;
1052
- box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
721
+ .eds-textarea__label .eds-input-group__label--filled {
722
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
723
+ background: var(--textarea-label-background);
724
+ width: calc(100% - 1rem - 1rem - 4px);
1053
725
  }
1054
- .eds-contrast .eds-switch__switch {
1055
- background-color: var(--components-form-switch-contrast-fill-false);
726
+ .eds-form-control-wrapper--size-large .eds-input-group__label--filled {
727
+ top: 0.5rem;
728
+ font-size: 0.875rem;
729
+ line-height: 1rem;
730
+ padding: 0;
1056
731
  }
1057
- .eds-switch--right .eds-switch__switch {
1058
- margin-right: 0.75rem;
732
+
733
+ .eds-form-control-wrapper:focus-within .eds-input-group__label {
734
+ top: 0.375rem;
735
+ font-size: 0.75rem;
736
+ line-height: 0.75rem;
737
+ height: 10px;
738
+ padding: 0;
1059
739
  }
1060
- .eds-switch__switch svg g,
1061
- .eds-switch__switch path {
1062
- fill: var(--components-form-switch-standard-icon-false);
1063
- transition: fill ease-in-out 0.1s;
740
+ .eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
741
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
742
+ background: var(--textarea-label-background);
743
+ width: calc(100% - 1rem - 1rem - 4px);
1064
744
  }
1065
- .eds-contrast .eds-switch__switch svg g,
1066
- .eds-contrast .eds-switch__switch path {
1067
- fill: var(--components-form-switch-contrast-icon-false);
745
+ .eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
746
+ top: 0.5rem;
747
+ font-size: 0.875rem;
748
+ line-height: 1rem;
749
+ padding: 0;
1068
750
  }
1069
- :checked + .eds-switch__switch {
1070
- background-color: var(--eds-switch-color);
751
+ .eds-form-control-wrapper--disabled:focus-within .eds-input-group__label {
752
+ top: 1rem;
753
+ font-size: 1rem;
754
+ height: 3rem;
755
+ line-height: 1rem;
756
+ }/* DO NOT CHANGE!*/
757
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
758
+ .eds-form-control__field-and-feedback-text {
759
+ display: flex;
760
+ flex-direction: column;
761
+ height: fit-content;
762
+ width: 100%;
1071
763
  }
1072
- :checked + .eds-switch__switch .eds-switch__circle {
1073
- left: 1.625rem;
764
+ .eds-form-control__field-and-feedback-text--has-tooltip {
765
+ padding-right: 2rem;
1074
766
  }
1075
- :checked + .eds-switch__switch .eds-switch__circle svg g,
1076
- :checked + .eds-switch__switch .eds-switch__circle path {
1077
- fill: var(--eds-switch-color);
767
+ .eds-form-control__field-and-feedback-text:has(.eds-form-control-wrapper--disabled):not(:has(.eds-form-control-wrapper--readonly)) {
768
+ cursor: not-allowed;
1078
769
  }
1079
- .eds-contrast :checked + .eds-switch__switch {
1080
- background-color: var(--eds-switch-contrast-color);
770
+ .eds-form-control-wrapper {
771
+ display: flex;
772
+ align-items: center;
773
+ position: relative;
774
+ flex: 1;
775
+ min-height: 3rem;
776
+ padding-inline: 1rem;
777
+ background-color: var(--components-form-baseform-standard-fill-default);
778
+ border-radius: 0.25rem;
779
+ border: 0.125rem solid var(--components-form-baseform-standard-border-default);
780
+ box-shadow: 0 0 0 transparent;
781
+ color: var(--components-form-baseform-standard-text-content);
782
+ transition: border-color 0.1s ease-in-out;
1081
783
  }
1082
- :focus-visible + .eds-switch__switch {
1083
- outline: 2px solid #181c56;
1084
- outline-color: var(--basecolors-stroke-focus-standard);
1085
- outline-offset: 0.125rem;
784
+ .eds-form-control-wrapper:hover {
785
+ border-color: var(--components-form-baseform-standard-border-interactive);
1086
786
  }
1087
- .eds-contrast :focus-visible + .eds-switch__switch {
1088
- outline-color: var(--basecolors-stroke-focus-contrast);
787
+ .eds-contrast .eds-form-control-wrapper:hover {
788
+ border-color: var(--components-form-baseform-contrast-border-interactive);
1089
789
  }
1090
- .eds-switch__switch--large {
1091
- width: 3.75rem;
1092
- height: 2rem;
1093
- border-radius: 3.75rem;
790
+ .eds-form-control-wrapper:focus-within:not(.eds-form-control-wrapper--readonly) {
791
+ border-color: var(--components-form-baseform-standard-border-interactive);
792
+ outline: 2px solid var(--components-form-baseform-standard-border-interactive);
1094
793
  }
1095
- :checked + .eds-switch__switch--large .eds-switch__circle {
1096
- left: 1.875rem;
794
+ .eds-contrast .eds-form-control-wrapper:focus-within:not(.eds-form-control-wrapper--readonly) {
795
+ border-color: var(--components-form-baseform-contrast-border-interactive);
796
+ outline-color: var(--components-form-baseform-contrast-border-interactive);
1097
797
  }
1098
- .eds-switch__switch--large svg {
1099
- position: relative;
1100
- right: 0.05rem;
798
+ .eds-form-control-wrapper ::placeholder {
799
+ color: var(--components-form-baseform-standard-text-label);
1101
800
  }
1102
- .eds-switch__label--large--right {
1103
- font-size: 1rem;
801
+ .eds-form-control-wrapper--disabled {
802
+ border-color: transparent;
803
+ background-color: var(--components-form-baseform-standard-fill-disabled);
804
+ pointer-events: none;
805
+ color: var(--components-form-baseform-standard-text-disabled);
1104
806
  }
1105
- .eds-switch__label--large--bottom {
1106
- font-size: 0.875rem;
807
+ .eds-form-control-wrapper--disabled .eds-input-group__label {
808
+ color: var(--components-form-baseform-standard-text-disabled);
1107
809
  }
1108
- .eds-switch__label--medium--right {
1109
- font-size: 0.875rem;
810
+ .eds-contrast .eds-form-control-wrapper--disabled {
811
+ border-color: transparent;
812
+ background-color: var(--components-form-baseform-contrast-fill-disabled);
813
+ color: var(--components-form-baseform-contrast-text-disabled);
1110
814
  }
1111
- .eds-switch__label--medium--bottom {
1112
- font-size: 0.75rem;
815
+ .eds-contrast .eds-form-control-wrapper--disabled .eds-input-group__label {
816
+ color: var(--components-form-baseform-contrast-text-disabled);
1113
817
  }
1114
- /* DO NOT CHANGE!*/
1115
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1116
- .eds-textfield__clear-button {
1117
- background: none;
1118
- border: none;
1119
- border-radius: 50%;
1120
- color: inherit;
1121
- cursor: pointer;
1122
- display: flex;
1123
- font: inherit;
1124
- font-size: 1rem;
1125
- line-height: 1rem;
1126
- padding: 0.5rem;
1127
- margin-right: -0.75rem;
818
+ .eds-form-control-wrapper--disabled::before, .eds-form-control-wrapper--disabled::after {
819
+ display: none;
1128
820
  }
1129
- .eds-textfield__clear-button:hover {
1130
- background: var(--components-form-basepanel-standard-fill-hover);
821
+ .eds-form-control-wrapper--disabled:focus-within {
822
+ border-color: transparent;
823
+ outline: none;
1131
824
  }
1132
- .eds-textfield__clear-button:focus-visible {
1133
- outline: 2px solid #181c56;
1134
- outline-color: var(--basecolors-stroke-focus-standard);
1135
- outline-offset: 0.125rem;
825
+ .eds-contrast .eds-form-control-wrapper--disabled:focus-within {
826
+ border-color: transparent;
827
+ outline: none;
1136
828
  }
1137
- .eds-textfield__clear-button-wrapper {
1138
- display: flex;
1139
- align-items: center;
829
+ .eds-form-control-wrapper--readonly {
830
+ border-color: transparent;
831
+ cursor: default;
832
+ background: var(--components-form-baseform-standard-fill-readonly);
833
+ border: var(--components-form-baseform-standard-fill-readonly);
1140
834
  }
1141
-
1142
- .eds-textfield__divider {
1143
- content: "";
1144
- display: block;
1145
- background-color: var(--components-form-baseform-standard-icon);
1146
- height: 1.5rem;
1147
- width: 1px;
835
+ .eds-form-control-wrapper--readonly:focus-visible {
836
+ outline: none;
1148
837
  }
1149
- .eds-contrast .eds-form-control-wrapper--disabled .eds-textfield__divider {
1150
- background-color: var(--components-form-baseform-contrast-icon);
838
+ .eds-contrast .eds-form-control-wrapper--readonly {
839
+ background: var(--components-form-baseform-contrast-fill-readonly);
840
+ border: var(--components-form-baseform-contrast-fill-readonly);
841
+ color: var(--components-form-baseform-contrast-text-description);
1151
842
  }
1152
-
1153
- .eds-textfield__wrapper {
1154
- cursor: text;
843
+ .eds-contrast .eds-form-control-wrapper--readonly .eds-form-control {
844
+ color: var(--components-form-baseform-contrast-text-description);
1155
845
  }
1156
- /* DO NOT CHANGE!*/
1157
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1158
- .eds-segmented-choice {
1159
- display: block;
1160
- flex: 1 1 0px;
846
+ .eds-contrast .eds-form-control-wrapper--readonly .eds-input-group__label {
847
+ color: var(--components-form-baseform-contrast-text-description);
1161
848
  }
1162
- .eds-segmented-choice .eds-base-segmented {
1163
- --background-color: var(--components-form-segmentedcontrol-standard-fill-unselected);
1164
- background-color: var(--background-color);
1165
- border-radius: 0.25rem;
1166
- color: var(--components-form-segmentedcontrol-standard-text-unselected);
1167
- cursor: pointer;
1168
- font-size: 0.875rem;
1169
- height: 1.5rem;
1170
- line-height: 1.25rem;
1171
- margin: 0.25rem;
1172
- outline-color: transparent;
1173
- padding: calc(0.25rem / 2) 0.75rem;
1174
- text-align: center;
1175
- -webkit-user-select: none;
1176
- -moz-user-select: none;
1177
- user-select: none;
849
+ .eds-form-control-wrapper--readonly::before, .eds-form-control-wrapper--readonly::after {
850
+ display: none;
1178
851
  }
1179
- .eds-segmented-choice .eds-base-segmented--large {
852
+ .eds-form-control-wrapper--size-medium .eds-form-control,
853
+ .eds-form-control-wrapper--size-medium .eds-form-control__append,
854
+ .eds-form-control-wrapper--size-medium .eds-form-control__prepend {
1180
855
  font-size: 1rem;
1181
- height: 2.5rem;
1182
- line-height: 1.5rem;
1183
- padding: 0.5rem 0.75rem;
856
+ line-height: 1rem;
1184
857
  }
1185
- .eds-contrast .eds-segmented-choice .eds-base-segmented {
1186
- --background-color: var(--components-form-segmentedcontrol-contrast-background);
1187
- color: var(--components-form-segmentedcontrol-contrast-text-unselected);
858
+ .eds-form-control-wrapper--size-large {
859
+ min-height: 4rem;
1188
860
  }
1189
- .eds-segmented-choice:hover input:not(:checked) + .eds-base-segmented {
1190
- --background-color: var(--components-form-segmentedcontrol-standard-fill-hover);
861
+ .eds-form-control-wrapper--size-large .eds-form-control,
862
+ .eds-form-control-wrapper--size-large .eds-form-control__append,
863
+ .eds-form-control-wrapper--size-large .eds-form-control__prepend {
864
+ font-size: 1.5rem;
1191
865
  }
1192
- .eds-contrast .eds-segmented-choice:hover input:not(:checked) + .eds-base-segmented {
1193
- --background-color: var(--components-form-segmentedcontrol-contrast-fill-hover);
866
+ .eds-form-control-wrapper--success {
867
+ border-color: var(--components-form-baseform-standard-border-success);
1194
868
  }
1195
- .eds-segmented-choice:hover input:checked + .eds-base-segmented {
1196
- --background-color: var(--components-form-segmentedcontrol-standard-fill-hover);
1197
- color: var(--components-form-segmentedcontrol-standard-text-unselected);
869
+ .eds-form-control-wrapper--success:focus-within {
870
+ border-color: var(--components-form-baseform-standard-border-success);
871
+ outline-color: var(--components-form-baseform-standard-border-success);
1198
872
  }
1199
- .eds-contrast .eds-segmented-choice:hover input:checked + .eds-base-segmented {
1200
- --background-color: var(--components-form-segmentedcontrol-contrast-fill-hover);
1201
- color: var(--components-form-segmentedcontrol-contrast-text-unselected);
873
+ .eds-contrast .eds-form-control-wrapper--success {
874
+ border-color: var(--components-form-baseform-standard-border-success);
1202
875
  }
1203
- .eds-segmented-choice input {
1204
- -webkit-appearance: none;
1205
- -moz-appearance: none;
1206
- appearance: none;
876
+ .eds-contrast .eds-form-control-wrapper--success:focus-within {
877
+ border-color: var(--components-form-baseform-contrast-border-success);
878
+ outline-color: var(--components-form-baseform-contrast-border-success);
879
+ }
880
+ .eds-form-control-wrapper--error, .eds-form-control-wrapper--negative {
881
+ border-color: var(--components-form-baseform-standard-border-negative);
882
+ }
883
+ .eds-form-control-wrapper--error:focus-within, .eds-form-control-wrapper--negative:focus-within {
884
+ border-color: var(--components-form-baseform-standard-border-negative);
885
+ outline-color: var(--components-form-baseform-standard-border-negative);
886
+ }
887
+ .eds-contrast .eds-form-control-wrapper--error, .eds-contrast .eds-form-control-wrapper--negative {
888
+ border-color: var(--components-form-baseform-contrast-border-negative);
889
+ }
890
+ .eds-contrast .eds-form-control-wrapper--error:focus-within, .eds-contrast .eds-form-control-wrapper--negative:focus-within {
891
+ border-color: var(--components-form-baseform-contrast-border-negative);
892
+ outline-color: var(--components-form-baseform-contrast-border-negative);
893
+ }
894
+ .eds-contrast .eds-form-control .eds-tooltip {
895
+ background: var(--components-tooltip-tooltip-standard-fill);
896
+ color: var(--components-tooltip-tooltip-standard-text);
897
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
898
+ }
899
+ .eds-form-control .eds-tooltip::after {
900
+ background: var(--components-tooltip-tooltip-standard-fill);
901
+ }
902
+
903
+ .eds-form-control {
904
+ display: block;
905
+ appearance: none;
906
+ width: 100%;
907
+ height: 100%;
908
+ padding: 20px 0rem 0.25rem;
909
+ font-family: inherit;
910
+ font-size: 1rem;
911
+ line-height: 1rem;
912
+ border: 0;
913
+ color: var(--components-form-baseform-standard-text-content);
914
+ background-color: transparent;
915
+ }
916
+ .eds-form-control::placeholder {
917
+ opacity: 0;
918
+ transition: opacity 0.2s ease-in-out;
919
+ }
920
+ .eds-form-control:focus {
921
+ outline: none;
922
+ }
923
+ .eds-form-control:focus::placeholder {
924
+ opacity: 1;
925
+ }
926
+ .eds-form-control__prepend, .eds-form-control__append {
927
+ position: relative;
928
+ line-height: inherit;
929
+ }
930
+ .eds-form-control__prepend--tooltip, .eds-form-control__append--tooltip {
931
+ all: unset;
932
+ position: absolute;
933
+ display: flex;
934
+ align-items: center;
935
+ justify-content: center;
936
+ height: 1.5rem;
937
+ width: 1.5rem;
938
+ right: -2rem;
939
+ border-radius: 100%;
940
+ color: var(--primary-text-color);
941
+ cursor: pointer;
942
+ }
943
+ .eds-form-control__prepend {
944
+ margin-right: 0.75rem;
945
+ margin-left: 0;
946
+ }
947
+ .eds-form-control__append {
948
+ margin-right: 0;
949
+ margin-left: 0.75rem;
950
+ }/* DO NOT CHANGE!*/
951
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
952
+ .eds-checkbox__container {
953
+ display: flex;
954
+ align-items: center;
955
+ position: relative;
956
+ appearance: none;
957
+ cursor: pointer;
958
+ user-select: none;
959
+ width: fit-content;
960
+ margin: 0.5rem 0;
961
+ }
962
+ .eds-checkbox__container--reduced-click-area {
963
+ height: fit-content;
964
+ }
965
+ .eds-checkbox__container input {
1207
966
  position: absolute;
1208
967
  opacity: 0;
1209
968
  height: 0;
1210
969
  width: 0;
1211
970
  }
1212
- .eds-segmented-choice input:checked + .eds-base-segmented {
1213
- --background-color: var(--components-form-segmentedcontrol-standard-fill-selected);
1214
- color: var(--components-form-segmentedcontrol-standard-text-selected);
1215
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
971
+ .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
972
+ background-color: var(--components-form-checkbox-standard-fill-selected);
1216
973
  }
1217
- .eds-contrast .eds-segmented-choice input:checked + .eds-base-segmented {
1218
- --background-color: var(--components-form-segmentedcontrol-contrast-fill-selected);
1219
- box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
1220
- color: var(--components-form-segmentedcontrol-contrast-text-selected);
974
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
975
+ visibility: visible;
1221
976
  }
1222
- .eds-segmented-choice input:focus-visible:not(:checked) + .eds-base-segmented {
1223
- outline: 2px solid #181c56;
1224
- outline-color: var(--basecolors-stroke-focus-standard);
1225
- outline-offset: 0.125rem;
977
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
978
+ stroke: var(--components-form-checkbox-standard-icon);
979
+ animation: stroke ease-in-out 0.2s 0.1s forwards;
1226
980
  }
1227
- .eds-contrast .eds-segmented-choice input:focus-visible:not(:checked) + .eds-base-segmented {
1228
- outline-color: var(--basecolors-stroke-focus-contrast);
981
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
982
+ fill: var(--components-form-checkbox-standard-icon);
1229
983
  }
1230
- .eds-segmented-choice input:focus-visible:checked + .eds-base-segmented {
984
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast {
985
+ color: var(--components-form-checkbox-contrast-fill-selected);
986
+ }
987
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast path {
988
+ stroke: var(--components-form-checkbox-contrast-icon);
989
+ }
990
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast rect {
991
+ fill: var(--components-form-checkbox-contrast-icon);
992
+ }
993
+ .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
994
+ background-color: var(--components-form-checkbox-standard-icon-disabled);
995
+ }
996
+ .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled :is(path, rect), .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled :is(path, rect) {
997
+ background-color: var(--components-form-checkbox-standard-icon-disabled);
998
+ }
999
+ .eds-checkbox__container input:checked + .eds-checkbox__icon--readonly, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--readonly {
1000
+ background-color: var(--components-form-checkbox-standard-fill-disabled);
1001
+ }
1002
+ .eds-checkbox__container input:checked + .eds-checkbox__icon--readonly .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--readonly .eds-checkbox-icon path {
1003
+ stroke: var(--components-form-checkbox-standard-icon-readonly);
1004
+ }
1005
+ .eds-checkbox__container input:checked + .eds-checkbox__icon--readonly .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--readonly .eds-checkbox-icon rect {
1006
+ fill: var(--components-form-checkbox-standard-icon-readonly);
1007
+ }
1008
+ .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon--readonly .eds-checkbox-icon path, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--readonly .eds-checkbox-icon path {
1009
+ stroke: var(--components-form-checkbox-contrast-icon-readonly);
1010
+ }
1011
+ .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon--readonly .eds-checkbox-icon rect, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--readonly .eds-checkbox-icon rect {
1012
+ fill: var(--components-form-checkbox-contrast-icon-readonly);
1013
+ }
1014
+ .eds-checkbox__container:hover(:not(:has(input:disabled))) input + .eds-checkbox__icon {
1015
+ border-color: var(--components-form-checkbox-standard-border);
1016
+ background-color: var(--components-form-checkbox-standard-fill-hover);
1017
+ }
1018
+ .eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input + .eds-checkbox__icon {
1019
+ border-color: var(--components-form-checkbox-contrast-border);
1020
+ background-color: var(--components-form-checkbox-contrast-fill-hover);
1021
+ }
1022
+ .eds-checkbox__container:hover(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
1023
+ .eds-checkbox__container:hover(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon:not(.eds-checkbox--disabled) {
1024
+ border-color: transparent;
1025
+ background-color: var(--components-form-checkbox-standard-fill-selectedhover);
1026
+ }
1027
+ .eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
1028
+ .eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon:not(.eds-checkbox--disabled) {
1029
+ background-color: var(--components-form-checkbox-contrast-fill-selectedhover);
1030
+ }
1031
+ .eds-checkbox__container:active(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
1032
+ .eds-checkbox__container:active(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon {
1033
+ background-color: var(--components-form-checkbox-standard-fill-selected);
1034
+ }
1035
+ .eds-contrast .eds-checkbox__container:active(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
1036
+ .eds-contrast .eds-checkbox__container:active(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon {
1037
+ background-color: var(--components-form-checkbox-contrast-fill-selected);
1038
+ }
1039
+ .eds-checkbox__container:has(:focus-visible) .eds-checkbox__icon {
1231
1040
  outline: 2px solid #181c56;
1232
1041
  outline-color: var(--basecolors-stroke-focus-standard);
1233
1042
  outline-offset: 0.125rem;
1234
1043
  }
1235
- .eds-contrast .eds-segmented-choice input:focus-visible:checked + .eds-base-segmented {
1044
+ .eds-contrast .eds-checkbox__container:has(:focus-visible) .eds-checkbox__icon {
1236
1045
  outline-color: var(--basecolors-stroke-focus-contrast);
1237
1046
  }
1238
- /* DO NOT CHANGE!*/
1239
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1240
- .eds-segmented-control {
1241
- margin-top: 0.25rem;
1242
- display: flex;
1243
- background: var(--components-form-segmentedcontrol-standard-background);
1244
- border-radius: 0.5rem;
1047
+ .eds-checkbox--disabled {
1048
+ cursor: not-allowed;
1245
1049
  }
1246
- .eds-contrast .eds-segmented-control {
1247
- background: var(--components-form-segmentedcontrol-contrast-background);
1050
+ .eds-checkbox--disabled input {
1051
+ pointer-events: none;
1248
1052
  }
1249
- /* DO NOT CHANGE!*/
1250
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1251
- /* DO NOT CHANGE!*/
1252
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1253
- /* DO NOT CHANGE!*/
1254
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1255
- [data-color-mode=light],
1256
- :root {
1257
- --components-form-baseform-contrast-border-default: #8284ab;
1258
- --components-form-baseform-contrast-border-interactive: #aeb7e2;
1259
- --components-form-baseform-contrast-border-negative: #ff9494;
1260
- --components-form-baseform-contrast-border-success: #5ac39a;
1261
- --components-form-baseform-contrast-fill-default: #ffffff;
1262
- --components-form-baseform-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
1263
- --components-form-baseform-contrast-fill-readonly: rgba(255, 255, 255, 0);
1264
- --components-form-baseform-contrast-icon: #181c56;
1265
- --components-form-baseform-contrast-icon-disabled: #6e6f73;
1266
- --components-form-baseform-contrast-text-content: #181c56;
1267
- --components-form-baseform-contrast-text-description: #ffffff;
1268
- --components-form-baseform-contrast-text-label: #626493;
1269
- --components-form-baseform-contrast-text-disabled: #6e6f73;
1270
- --components-form-baseform-standard-border-default: #8284ab;
1271
- --components-form-baseform-standard-border-interactive: #181c56;
1272
- --components-form-baseform-standard-border-negative: #d31b1b;
1273
- --components-form-baseform-standard-border-success: #1a8e60;
1274
- --components-form-baseform-standard-fill-default: #ffffff;
1275
- --components-form-baseform-standard-fill-disabled: #cfd2d4;
1276
- --components-form-baseform-standard-fill-readonly: rgba(255, 255, 255, 0);
1277
- --components-form-baseform-standard-icon: #181c56;
1278
- --components-form-baseform-standard-icon-disabled: #6e6f73;
1279
- --components-form-baseform-standard-text-content: #181c56;
1280
- --components-form-baseform-standard-text-description: #181c56;
1281
- --components-form-baseform-standard-text-label: #626493;
1282
- --components-form-baseform-standard-text-disabled: #6e6f73;
1283
- --components-form-basemenu-border: #8284ab;
1284
- --components-form-basemenu-fill-default: #f2f5f7;
1285
- --components-form-basemenu-fill-hover: #d9ddf2;
1286
- --components-form-basemenu-fill-selected: #aeb7e2;
1287
- --components-form-basemenu-icon: #181c56;
1288
- --components-form-basemenu-icon-disabled: #6e6f73;
1289
- --components-form-basemenu-text: #181c56;
1290
- --components-form-basemenu-text-disabled: #6e6f73;
1291
- --components-form-basepanel-contrast-border-default: #8284ab;
1292
- --components-form-basepanel-contrast-border-disabled: #949699;
1293
- --components-form-basepanel-contrast-border-selected: #aeb7e2;
1294
- --components-form-basepanel-contrast-fill-default: rgba(255, 255, 255, 0);
1295
- --components-form-basepanel-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
1296
- --components-form-basepanel-contrast-fill-expired: rgba(255, 148, 148, 0.2);
1297
- --components-form-basepanel-contrast-fill-hover: #54568c;
1298
- --components-form-basepanel-contrast-fill-selected: #393d79;
1299
- --components-form-basepanel-contrast-text-accent: #ffffff;
1300
- --components-form-basepanel-contrast-text-disabled: #b6b8ba;
1301
- --components-form-basepanel-contrast-text-rebate: #5ac39a;
1302
- --components-form-basepanel-contrast-text-subdued: #d9dae8;
1303
- --components-form-basepanel-standard-border-default: #8284ab;
1304
- --components-form-basepanel-standard-border-disabled: #949699;
1305
- --components-form-basepanel-standard-border-selected: #181c56;
1306
- --components-form-basepanel-standard-fill-default: rgba(255, 255, 255, 0);
1307
- --components-form-basepanel-standard-fill-disabled: #cfd2d4;
1308
- --components-form-basepanel-standard-fill-expired: rgba(255, 148, 148, 0.2);
1309
- --components-form-basepanel-standard-fill-hover: #eaeaf1;
1310
- --components-form-basepanel-standard-fill-selected: #f6f6f9;
1311
- --components-form-basepanel-standard-text-accent: #181c56;
1312
- --components-form-basepanel-standard-text-disabled: #6e6f73;
1313
- --components-form-basepanel-standard-text-rebate: #1a8e60;
1314
- --components-form-basepanel-standard-text-subdued: #626493;
1315
- --components-form-checkbox-contrast-border: #aeb7e2;
1316
- --components-form-checkbox-contrast-border-disabled: #6e6f73;
1317
- --components-form-checkbox-contrast-border-negative: #ff9494;
1318
- --components-form-checkbox-contrast-border-readonly: #6e6f73;
1319
- --components-form-checkbox-contrast-fill-default: rgba(255, 255, 255, 0);
1320
- --components-form-checkbox-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
1321
- --components-form-checkbox-contrast-fill-hover: #626493;
1322
- --components-form-checkbox-contrast-fill-selected: #aeb7e2;
1323
- --components-form-checkbox-contrast-fill-selectedhover: #c7cdeb;
1324
- --components-form-checkbox-contrast-icon: #181c56;
1325
- --components-form-checkbox-contrast-icon-disabled: #949699;
1326
- --components-form-checkbox-contrast-icon-readonly: #ffffff;
1327
- --components-form-checkbox-contrast-text: #ffffff;
1328
- --components-form-checkbox-contrast-text-disabled: #949699;
1329
- --components-form-checkbox-standard-border: #181c56;
1330
- --components-form-checkbox-standard-border-disabled: #e3e6e8;
1331
- --components-form-checkbox-standard-border-negative: #d31b1b;
1332
- --components-form-checkbox-standard-border-readonly: #e3e6e8;
1333
- --components-form-checkbox-standard-fill-default: rgba(255, 255, 255, 0);
1334
- --components-form-checkbox-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
1335
- --components-form-checkbox-standard-fill-hover: #d9ddf2;
1336
- --components-form-checkbox-standard-fill-selected: #181c56;
1337
- --components-form-checkbox-standard-fill-selectedhover: #393d79;
1338
- --components-form-checkbox-standard-icon: #ffffff;
1339
- --components-form-checkbox-standard-icon-disabled: #b6b8ba;
1340
- --components-form-checkbox-standard-icon-readonly: #181c56;
1341
- --components-form-checkbox-standard-text: #181c56;
1342
- --components-form-checkbox-standard-text-disabled: #b6b8ba;
1343
- --components-form-feedbacktext-information-contrast-icon-fill: #64b3e7;
1344
- --components-form-feedbacktext-information-contrast-icon-symbol: #181c56;
1345
- --components-form-feedbacktext-information-contrast-stroke: #181c56;
1346
- --components-form-feedbacktext-information-contrast-text: #ffffff;
1347
- --components-form-feedbacktext-information-standard-icon-fill: #067eb2;
1348
- --components-form-feedbacktext-information-standard-icon-symbol: #ffffff;
1349
- --components-form-feedbacktext-information-standard-stroke: #ffffff;
1350
- --components-form-feedbacktext-information-standard-text: #181c56;
1351
- --components-form-feedbacktext-negative-contrast-icon-fill: #ff9494;
1352
- --components-form-feedbacktext-negative-contrast-icon-symbol: #181c56;
1353
- --components-form-feedbacktext-negative-contrast-stroke: #181c56;
1354
- --components-form-feedbacktext-negative-contrast-text: #ffffff;
1355
- --components-form-feedbacktext-negative-standard-icon-fill: #d31b1b;
1356
- --components-form-feedbacktext-negative-standard-stroke: #ffffff;
1357
- --components-form-feedbacktext-negative-standard-symbol: #ffffff;
1358
- --components-form-feedbacktext-negative-standard-text: #181c56;
1359
- --components-form-feedbacktext-success-contrast-icon-fill: #5ac39a;
1360
- --components-form-feedbacktext-success-contrast-icon-stroke: #181c56;
1361
- --components-form-feedbacktext-success-contrast-icon-symbol: #181c56;
1362
- --components-form-feedbacktext-success-contrast-text: #ffffff;
1363
- --components-form-feedbacktext-success-standard-icon-fill: #1a8e60;
1364
- --components-form-feedbacktext-success-standard-icon-stroke: #ffffff;
1365
- --components-form-feedbacktext-success-standard-icon-symbol: #ffffff;
1366
- --components-form-feedbacktext-success-standard-text: #181c56;
1367
- --components-form-feedbacktext-warning-contrast-icon: #ffe082;
1368
- --components-form-feedbacktext-warning-contrast-icon-symbol: #181c56;
1369
- --components-form-feedbacktext-warning-contrast-stroke: #181c56;
1370
- --components-form-feedbacktext-warning-contrast-text: #ffffff;
1371
- --components-form-feedbacktext-warning-standard-icon-fill: #ffca28;
1372
- --components-form-feedbacktext-warning-standard-icon-symbol: #181c56;
1373
- --components-form-feedbacktext-warning-standard-stroke: #ffffff;
1374
- --components-form-feedbacktext-warning-standard-text: #181c56;
1375
- --components-form-radio-contrast-border: #aeb7e2;
1376
- --components-form-radio-contrast-border-disabled: #6e6f73;
1377
- --components-form-radio-contrast-border-negative: #ff9494;
1378
- --components-form-radio-contrast-border-readonly: #6e6f73;
1379
- --components-form-radio-contrast-fill-default: rgba(255, 255, 255, 0);
1380
- --components-form-radio-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
1381
- --components-form-radio-contrast-fill-hover: #626493;
1382
- --components-form-radio-contrast-fill-selected: #aeb7e2;
1383
- --components-form-radio-contrast-fill-selectedhover: #c7cdeb;
1384
- --components-form-radio-contrast-icon: #ffffff;
1385
- --components-form-radio-contrast-icon-disabled: #949699;
1386
- --components-form-radio-contrast-icon-readonly: #ffffff;
1387
- --components-form-radio-contrast-text: #ffffff;
1388
- --components-form-radio-contrast-text-disabled: #949699;
1389
- --components-form-radio-standard-border: #181c56;
1390
- --components-form-radio-standard-border-disabled: #e3e6e8;
1391
- --components-form-radio-standard-border-negative: #d31b1b;
1392
- --components-form-radio-standard-border-readonly: #e3e6e8;
1393
- --components-form-radio-standard-fill-default: rgba(255, 255, 255, 0);
1394
- --components-form-radio-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
1395
- --components-form-radio-standard-fill-hover: #d9ddf2;
1396
- --components-form-radio-standard-fill-selected: #181c56;
1397
- --components-form-radio-standard-icon: #181c56;
1398
- --components-form-radio-standard-icon-disabled: #b6b8ba;
1399
- --components-form-radio-standard-icon-readonly: #181c56;
1400
- --components-form-radio-standard-selectedhover: #393d79;
1401
- --components-form-radio-standard-text: #181c56;
1402
- --components-form-radio-standard-text-disabled: #b6b8ba;
1403
- --components-form-segmentedcontrol-contrast-background: #393d79;
1404
- --components-form-segmentedcontrol-contrast-fill-hover: #626493;
1405
- --components-form-segmentedcontrol-contrast-fill-selected: #ffffff;
1406
- --components-form-segmentedcontrol-contrast-fill-unselected: rgba(255, 255, 255, 0);
1407
- --components-form-segmentedcontrol-contrast-icon-selected: #181c56;
1408
- --components-form-segmentedcontrol-contrast-icon-unselected: #ffffff;
1409
- --components-form-segmentedcontrol-contrast-text-selected: #181c56;
1410
- --components-form-segmentedcontrol-contrast-text-unselected: #ffffff;
1411
- --components-form-segmentedcontrol-standard-background: #d9dae8;
1412
- --components-form-segmentedcontrol-standard-fill-hover: #eaeaf1;
1413
- --components-form-segmentedcontrol-standard-fill-selected: #ffffff;
1414
- --components-form-segmentedcontrol-standard-fill-unselected: rgba(255, 255, 255, 0);
1415
- --components-form-segmentedcontrol-standard-icon-selected: #181c56;
1416
- --components-form-segmentedcontrol-standard-icon-unselected: #181c56;
1417
- --components-form-segmentedcontrol-standard-text-selected: #181c56;
1418
- --components-form-segmentedcontrol-standard-text-unselected: #181c56;
1419
- --components-form-switch-contrast-fill-false: #9ea0bd;
1420
- --components-form-switch-contrast-fill-true: #5ac39a;
1421
- --components-form-switch-contrast-icon-false: #626493;
1422
- --components-form-switch-contrast-icon-true: #181c56;
1423
- --components-form-switch-contrast-switch: #ffffff;
1424
- --components-form-switch-contrast-text: #ffffff;
1425
- --components-form-switch-standard-fill-false: #949699;
1426
- --components-form-switch-standard-fill-true: #1a8e60;
1427
- --components-form-switch-standard-icon-false: #6e6f73;
1428
- --components-form-switch-standard-icon-true: #181c56;
1429
- --components-form-switch-standard-switch: #ffffff;
1430
- --components-form-switch-standard-text: #181c56;
1053
+ .eds-checkbox--disabled .eds-checkbox__label {
1054
+ opacity: 0.5;
1055
+ }
1056
+ .eds-checkbox--disabled .eds-checkbox__icon {
1057
+ border-color: var(--components-form-checkbox-standard-icon-disabled);
1058
+ }
1059
+ .eds-contrast .eds-checkbox--disabled .eds-checkbox__icon {
1060
+ border-color: var(--components-form-checkbox-contrast-icon-disabled);
1061
+ }
1062
+ .eds-checkbox--readonly {
1063
+ cursor: default;
1064
+ pointer-events: auto;
1065
+ user-select: text;
1066
+ }
1067
+ .eds-checkbox--readonly input {
1068
+ pointer-events: auto;
1069
+ user-select: text;
1070
+ }
1071
+ .eds-checkbox--readonly .eds-checkbox__icon {
1072
+ border-color: var(--components-form-checkbox-standard-border-readonly);
1073
+ }
1074
+ .eds-contrast .eds-checkbox--readonly .eds-checkbox__icon {
1075
+ border-color: var(--components-form-checkbox-contrast-border-readonly);
1076
+ }
1077
+ .eds-checkbox__icon {
1078
+ box-sizing: border-box;
1079
+ display: inline-flex;
1080
+ justify-content: center;
1081
+ align-items: center;
1082
+ position: relative;
1083
+ margin-right: 1rem;
1084
+ height: 1.25rem;
1085
+ width: 1.25rem;
1086
+ border: 0.125rem solid var(--components-form-checkbox-standard-border);
1087
+ border-radius: 0.125rem;
1088
+ background-color: transparent;
1089
+ transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
1090
+ }
1091
+ .eds-checkbox__icon--reduced-click-area {
1092
+ margin-right: 0;
1093
+ }
1094
+ .eds-contrast .eds-checkbox__icon {
1095
+ border-color: var(--components-form-checkbox-contrast-border);
1096
+ }
1097
+ .eds-checkbox__icon .eds-checkbox-icon {
1098
+ height: 1rem;
1099
+ width: 1rem;
1100
+ visibility: hidden;
1101
+ }
1102
+ .eds-checkbox__icon .eds-checkbox-icon path {
1103
+ transform-origin: 50% 50%;
1104
+ stroke-dasharray: 48;
1105
+ stroke-dashoffset: 48;
1106
+ stroke-width: 0.375rem;
1107
+ }
1108
+ .eds-checkbox__icon--no-animation .eds-checkbox-icon path {
1109
+ animation: none !important;
1110
+ transition: none !important;
1111
+ stroke-dasharray: 48;
1112
+ stroke-dashoffset: 0;
1113
+ }
1114
+ .eds-checkbox__icon--no-animation .eds-checkbox-icon rect {
1115
+ transition: none !important;
1431
1116
  }
1432
1117
 
1433
- [data-color-mode=dark] {
1434
- --components-form-baseform-contrast-border-default: #8284ab;
1435
- --components-form-baseform-contrast-border-interactive: #aeb7e2;
1436
- --components-form-baseform-contrast-border-negative: #ff9494;
1437
- --components-form-baseform-contrast-border-success: #5ac39a;
1438
- --components-form-baseform-contrast-fill-default: rgba(255, 255, 255, 0);
1439
- --components-form-baseform-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
1440
- --components-form-baseform-contrast-fill-readonly: rgba(255, 255, 255, 0);
1441
- --components-form-baseform-contrast-icon: #e5e5e9;
1442
- --components-form-baseform-contrast-icon-disabled: #6e6f73;
1443
- --components-form-baseform-contrast-text-content: #e5e5e9;
1444
- --components-form-baseform-contrast-text-description: #e5e5e9;
1445
- --components-form-baseform-contrast-text-label: #b3b4bd;
1446
- --components-form-baseform-contrast-text-disabled: #6e6f73;
1447
- --components-form-baseform-standard-border-default: #8284ab;
1448
- --components-form-baseform-standard-border-interactive: #aeb7e2;
1449
- --components-form-baseform-standard-border-negative: #ff9494;
1450
- --components-form-baseform-standard-border-success: #5ac39a;
1451
- --components-form-baseform-standard-fill-default: rgba(255, 255, 255, 0);
1452
- --components-form-baseform-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
1453
- --components-form-baseform-standard-fill-readonly: rgba(255, 255, 255, 0);
1454
- --components-form-baseform-standard-icon: #e5e5e9;
1455
- --components-form-baseform-standard-icon-disabled: #6e6f73;
1456
- --components-form-baseform-standard-text-content: #e5e5e9;
1457
- --components-form-baseform-standard-text-description: #e5e5e9;
1458
- --components-form-baseform-standard-text-label: #b3b4bd;
1459
- --components-form-baseform-standard-text-disabled: #6e6f73;
1460
- --components-form-basemenu-border: rgba(255, 255, 255, 0);
1461
- --components-form-basemenu-fill-default: #464755;
1462
- --components-form-basemenu-fill-hover: #626493;
1463
- --components-form-basemenu-fill-selected: #8794d4;
1464
- --components-form-basemenu-icon: #e5e5e9;
1465
- --components-form-basemenu-icon-disabled: #949699;
1466
- --components-form-basemenu-text: #e5e5e9;
1467
- --components-form-basemenu-text-disabled: #949699;
1468
- --components-form-basepanel-contrast-border-default: #81828f;
1469
- --components-form-basepanel-contrast-border-disabled: #949699;
1470
- --components-form-basepanel-contrast-border-selected: #aeb7e2;
1471
- --components-form-basepanel-contrast-fill-default: rgba(255, 255, 255, 0);
1472
- --components-form-basepanel-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
1473
- --components-form-basepanel-contrast-fill-expired: rgba(255, 148, 148, 0.2);
1474
- --components-form-basepanel-contrast-fill-hover: #393a49;
1475
- --components-form-basepanel-contrast-fill-selected: rgba(229, 229, 233, 0.1490196078);
1476
- --components-form-basepanel-contrast-text-accent: #e5e5e9;
1477
- --components-form-basepanel-contrast-text-disabled: #b6b8ba;
1478
- --components-form-basepanel-contrast-text-rebate: #5ac39a;
1479
- --components-form-basepanel-contrast-text-subdued: #b3b4bd;
1480
- --components-form-basepanel-standard-border-default: #81828f;
1481
- --components-form-basepanel-standard-border-disabled: #949699;
1482
- --components-form-basepanel-standard-border-selected: #aeb7e2;
1483
- --components-form-basepanel-standard-fill-default: rgba(255, 255, 255, 0);
1484
- --components-form-basepanel-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
1485
- --components-form-basepanel-standard-fill-expired: rgba(255, 148, 148, 0.2);
1486
- --components-form-basepanel-standard-fill-hover: #393a49;
1487
- --components-form-basepanel-standard-fill-selected: rgba(229, 229, 233, 0.1490196078);
1488
- --components-form-basepanel-standard-text-accent: #e5e5e9;
1489
- --components-form-basepanel-standard-text-disabled: #b6b8ba;
1490
- --components-form-basepanel-standard-text-rebate: #5ac39a;
1491
- --components-form-basepanel-standard-text-subdued: #b3b4bd;
1492
- --components-form-checkbox-contrast-border: #aeb7e2;
1493
- --components-form-checkbox-contrast-border-disabled: #6e6f73;
1494
- --components-form-checkbox-contrast-border-negative: #ff9494;
1495
- --components-form-checkbox-contrast-border-readonly: #6e6f73;
1496
- --components-form-checkbox-contrast-fill-default: rgba(255, 255, 255, 0);
1497
- --components-form-checkbox-contrast-fill-disabled: rgba(204, 205, 212, 0.3019607843);
1498
- --components-form-checkbox-contrast-fill-hover: #626493;
1499
- --components-form-checkbox-contrast-fill-selected: #aeb7e2;
1500
- --components-form-checkbox-contrast-fill-selectedhover: #c7cdeb;
1501
- --components-form-checkbox-contrast-icon: #181c56;
1502
- --components-form-checkbox-contrast-icon-disabled: #6e6f73;
1503
- --components-form-checkbox-contrast-icon-readonly: #e5e5e9;
1504
- --components-form-checkbox-contrast-text: #e5e5e9;
1505
- --components-form-checkbox-contrast-text-disabled: #6e6f73;
1506
- --components-form-checkbox-standard-border: #aeb7e2;
1507
- --components-form-checkbox-standard-border-disabled: #6e6f73;
1508
- --components-form-checkbox-standard-border-negative: #ff9494;
1509
- --components-form-checkbox-standard-border-readonly: #6e6f73;
1510
- --components-form-checkbox-standard-fill-default: rgba(255, 255, 255, 0);
1511
- --components-form-checkbox-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
1512
- --components-form-checkbox-standard-fill-hover: #626493;
1513
- --components-form-checkbox-standard-fill-selected: #aeb7e2;
1514
- --components-form-checkbox-standard-fill-selectedhover: #c7cdeb;
1515
- --components-form-checkbox-standard-icon: #181c56;
1516
- --components-form-checkbox-standard-icon-disabled: #6e6f73;
1517
- --components-form-checkbox-standard-icon-readonly: #e5e5e9;
1518
- --components-form-checkbox-standard-text: #e5e5e9;
1519
- --components-form-checkbox-standard-text-disabled: #6e6f73;
1520
- --components-form-feedbacktext-information-contrast-icon-fill: #64b3e7;
1521
- --components-form-feedbacktext-information-contrast-icon-symbol: #08091c;
1522
- --components-form-feedbacktext-information-contrast-stroke: #08091c;
1523
- --components-form-feedbacktext-information-contrast-text: #e5e5e9;
1524
- --components-form-feedbacktext-information-standard-icon-fill: #64b3e7;
1525
- --components-form-feedbacktext-information-standard-icon-symbol: #08091c;
1526
- --components-form-feedbacktext-information-standard-stroke: #08091c;
1527
- --components-form-feedbacktext-information-standard-text: #e5e5e9;
1528
- --components-form-feedbacktext-negative-contrast-icon-fill: #ff9494;
1529
- --components-form-feedbacktext-negative-contrast-icon-symbol: #08091c;
1530
- --components-form-feedbacktext-negative-contrast-stroke: #08091c;
1531
- --components-form-feedbacktext-negative-contrast-text: #e5e5e9;
1532
- --components-form-feedbacktext-negative-standard-icon-fill: #ff9494;
1533
- --components-form-feedbacktext-negative-standard-stroke: #08091c;
1534
- --components-form-feedbacktext-negative-standard-symbol: #08091c;
1535
- --components-form-feedbacktext-negative-standard-text: #e5e5e9;
1536
- --components-form-feedbacktext-success-contrast-icon-fill: #5ac39a;
1537
- --components-form-feedbacktext-success-contrast-icon-stroke: #08091c;
1538
- --components-form-feedbacktext-success-contrast-icon-symbol: #08091c;
1539
- --components-form-feedbacktext-success-contrast-text: #e5e5e9;
1540
- --components-form-feedbacktext-success-standard-icon-fill: #5ac39a;
1541
- --components-form-feedbacktext-success-standard-icon-stroke: #08091c;
1542
- --components-form-feedbacktext-success-standard-icon-symbol: #08091c;
1543
- --components-form-feedbacktext-success-standard-text: #e5e5e9;
1544
- --components-form-feedbacktext-warning-contrast-icon: #ffe082;
1545
- --components-form-feedbacktext-warning-contrast-icon-symbol: #08091c;
1546
- --components-form-feedbacktext-warning-contrast-stroke: #08091c;
1547
- --components-form-feedbacktext-warning-contrast-text: #e5e5e9;
1548
- --components-form-feedbacktext-warning-standard-icon-fill: #ffe082;
1549
- --components-form-feedbacktext-warning-standard-icon-symbol: #08091c;
1550
- --components-form-feedbacktext-warning-standard-stroke: #08091c;
1551
- --components-form-feedbacktext-warning-standard-text: #e5e5e9;
1552
- --components-form-radio-contrast-border: #aeb7e2;
1553
- --components-form-radio-contrast-border-disabled: #6e6f73;
1554
- --components-form-radio-contrast-border-negative: #ff9494;
1555
- --components-form-radio-contrast-border-readonly: #6e6f73;
1556
- --components-form-radio-contrast-fill-default: rgba(255, 255, 255, 0);
1557
- --components-form-radio-contrast-fill-disabled: rgba(204, 205, 212, 0.3019607843);
1558
- --components-form-radio-contrast-fill-hover: #626493;
1559
- --components-form-radio-contrast-fill-selected: #aeb7e2;
1560
- --components-form-radio-contrast-fill-selectedhover: #c7cdeb;
1561
- --components-form-radio-contrast-icon: #e5e5e9;
1562
- --components-form-radio-contrast-icon-disabled: #6e6f73;
1563
- --components-form-radio-contrast-icon-readonly: #e5e5e9;
1564
- --components-form-radio-contrast-text: #e5e5e9;
1565
- --components-form-radio-contrast-text-disabled: #6e6f73;
1566
- --components-form-radio-standard-border: #aeb7e2;
1567
- --components-form-radio-standard-border-disabled: #6e6f73;
1568
- --components-form-radio-standard-border-negative: #ff9494;
1569
- --components-form-radio-standard-border-readonly: #6e6f73;
1570
- --components-form-radio-standard-fill-default: rgba(255, 255, 255, 0);
1571
- --components-form-radio-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
1572
- --components-form-radio-standard-fill-hover: #626493;
1573
- --components-form-radio-standard-fill-selected: #aeb7e2;
1574
- --components-form-radio-standard-icon: #e5e5e9;
1575
- --components-form-radio-standard-icon-disabled: #6e6f73;
1576
- --components-form-radio-standard-icon-readonly: #e5e5e9;
1577
- --components-form-radio-standard-selectedhover: #c7cdeb;
1578
- --components-form-radio-standard-text: #e5e5e9;
1579
- --components-form-radio-standard-text-disabled: #6e6f73;
1580
- --components-form-segmentedcontrol-contrast-background: rgba(229, 229, 233, 0.1490196078);
1581
- --components-form-segmentedcontrol-contrast-fill-hover: rgba(229, 229, 233, 0.1490196078);
1582
- --components-form-segmentedcontrol-contrast-fill-selected: #e5e5e9;
1583
- --components-form-segmentedcontrol-contrast-fill-unselected: rgba(255, 255, 255, 0);
1584
- --components-form-segmentedcontrol-contrast-icon-selected: #08091c;
1585
- --components-form-segmentedcontrol-contrast-icon-unselected: #e5e5e9;
1586
- --components-form-segmentedcontrol-contrast-text-selected: #08091c;
1587
- --components-form-segmentedcontrol-contrast-text-unselected: #e5e5e9;
1588
- --components-form-segmentedcontrol-standard-background: rgba(229, 229, 233, 0.1490196078);
1589
- --components-form-segmentedcontrol-standard-fill-hover: rgba(229, 229, 233, 0.1490196078);
1590
- --components-form-segmentedcontrol-standard-fill-selected: #e5e5e9;
1591
- --components-form-segmentedcontrol-standard-fill-unselected: rgba(255, 255, 255, 0);
1592
- --components-form-segmentedcontrol-standard-icon-selected: #08091c;
1593
- --components-form-segmentedcontrol-standard-icon-unselected: #e5e5e9;
1594
- --components-form-segmentedcontrol-standard-text-selected: #08091c;
1595
- --components-form-segmentedcontrol-standard-text-unselected: #e5e5e9;
1596
- --components-form-switch-contrast-fill-false: rgba(229, 229, 233, 0.3490196078);
1597
- --components-form-switch-contrast-fill-true: #5ac39a;
1598
- --components-form-switch-contrast-icon-false: #b3b4bd;
1599
- --components-form-switch-contrast-icon-true: #e5e5e9;
1600
- --components-form-switch-contrast-switch: #08091c;
1601
- --components-form-switch-contrast-text: #e5e5e9;
1602
- --components-form-switch-standard-fill-false: rgba(229, 229, 233, 0.3490196078);
1603
- --components-form-switch-standard-fill-true: #5ac39a;
1604
- --components-form-switch-standard-icon-false: #b3b4bd;
1605
- --components-form-switch-standard-icon-true: #e5e5e9;
1606
- --components-form-switch-standard-switch: #08091c;
1607
- --components-form-switch-standard-text: #e5e5e9;
1118
+ @keyframes stroke {
1119
+ 100% {
1120
+ stroke-dashoffset: 0;
1121
+ }
1122
+ }.eds-fieldset {
1123
+ margin: 0;
1124
+ padding: 0;
1125
+ border: 0;
1126
+ }/* DO NOT CHANGE!*/
1127
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1128
+ .eds-form-component--radio__container {
1129
+ display: flex;
1130
+ justify-content: center;
1131
+ align-items: center;
1132
+ position: relative;
1133
+ cursor: pointer;
1134
+ height: 2rem;
1135
+ width: fit-content;
1136
+ user-select: none;
1137
+ }
1138
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
1139
+ background-color: var(--components-form-radio-standard-fill-hover);
1140
+ }
1141
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
1142
+ background-color: var(--components-form-radio-contrast-fill-hover);
1143
+ }
1144
+ .eds-form-component--radio__container input {
1145
+ position: absolute;
1146
+ opacity: 0;
1147
+ cursor: pointer;
1148
+ height: 0;
1149
+ width: 0;
1150
+ }
1151
+ .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
1152
+ height: 0.625rem;
1153
+ width: 0.625rem;
1154
+ }
1155
+ .eds-form-component--radio__container input:focus-visible ~ .eds-form-component--radio__radio {
1156
+ outline: 2px solid #181c56;
1157
+ outline-color: var(--basecolors-stroke-focus-standard);
1158
+ outline-offset: 0.125rem;
1159
+ }
1160
+ .eds-contrast .eds-form-component--radio__container input:focus-visible ~ .eds-form-component--radio__radio {
1161
+ outline-color: var(--basecolors-stroke-focus-contrast);
1162
+ }
1163
+ .eds-form-component--radio__container:has(input:disabled) {
1164
+ cursor: not-allowed;
1165
+ }
1166
+ .eds-form-component--radio__container:has(.eds-form-component--radio__radio--readonly) {
1167
+ cursor: default;
1168
+ user-select: text;
1169
+ }
1170
+ .eds-form-component--radio__container .eds-form-component--radio__radio {
1171
+ position: relative;
1172
+ height: 1.25rem;
1173
+ width: 1.25rem;
1174
+ margin-right: 1rem;
1175
+ background-color: var(--components-form-radio-standard-fill-default);
1176
+ border: 0.125rem solid var(--components-form-radio-standard-border);
1177
+ border-radius: 50%;
1178
+ display: flex;
1179
+ align-items: center;
1180
+ justify-content: center;
1181
+ }
1182
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
1183
+ background-color: var(--components-form-radio-contrast-fill-default);
1184
+ border-color: var(--components-form-radio-contrast-border);
1185
+ }
1186
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
1187
+ background: var(--components-form-radio-contrast-fill-disabled);
1188
+ border-color: var(--components-form-radio-contrast-text-disabled);
1189
+ }
1190
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
1191
+ border-color: var(--components-form-radio-contrast-text-disabled);
1192
+ }
1193
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
1194
+ background: var(--components-form-radio-contrast-fill-disabled);
1195
+ border-color: var(--components-form-radio-contrast-text-disabled);
1196
+ }
1197
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
1198
+ color: var(--components-form-radio-contrast-text-disabled);
1199
+ }
1200
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
1201
+ background-color: var(--components-form-radio-standard-icon-disabled);
1202
+ border-color: var(--components-form-radio-contrast-text-disabled);
1203
+ }
1204
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled .eds-form-component--radio__circle {
1205
+ background-color: var(--components-form-radio-standard-icon-disabled);
1206
+ }
1207
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled .eds-form-component--radio__circle {
1208
+ background-color: var(--components-form-radio-contrast-icon-disabled);
1209
+ }
1210
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--readonly {
1211
+ background: var(--components-form-radio-standard-fill-disabled);
1212
+ border-color: var(--components-form-radio-standard-border-readonly);
1213
+ }
1214
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--readonly {
1215
+ background: var(--components-form-radio-contrast-fill-disabled);
1216
+ border-color: var(--components-form-radio-contrast-border-readonly);
1217
+ }
1218
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--readonly:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
1219
+ background-color: var(--components-form-radio-standard-icon);
1220
+ border-color: var(--components-form-radio-standard-border-readonly);
1221
+ }
1222
+ .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
1223
+ display: block;
1224
+ width: 0;
1225
+ height: 0;
1226
+ border-radius: 50%;
1227
+ background-color: var(--components-form-radio-standard-fill-selected);
1228
+ transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
1229
+ }
1230
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
1231
+ background-color: var(--components-form-radio-contrast-icon);
1232
+ }/* DO NOT CHANGE!*/
1233
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1234
+ .eds-input-panel:has(:focus-visible) .eds-input-panel__container {
1235
+ outline: 2px solid #181c56;
1236
+ outline-color: var(--basecolors-stroke-focus-standard);
1237
+ outline-offset: 0.125rem;
1238
+ }
1239
+ .eds-contrast .eds-input-panel:has(:focus-visible) .eds-input-panel__container {
1240
+ outline-color: var(--basecolors-stroke-focus-contrast);
1241
+ }
1242
+ .eds-input-panel > input {
1243
+ position: absolute;
1244
+ opacity: 0;
1245
+ cursor: pointer;
1246
+ height: 0;
1247
+ width: 0;
1248
+ }
1249
+ .eds-input-panel > input:checked + .eds-input-panel__container {
1250
+ border-color: var(--components-form-basepanel-standard-border-selected);
1251
+ background: var(--components-form-basepanel-standard-fill-selected);
1252
+ }
1253
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container {
1254
+ border-color: var(--components-form-basepanel-contrast-border-selected);
1255
+ background: var(--components-form-basepanel-contrast-fill-selected);
1256
+ }
1257
+ .eds-input-panel > input:checked + .eds-input-panel__container .eds-form-component--radio__circle {
1258
+ width: 0.75rem;
1259
+ height: 0.75rem;
1260
+ }
1261
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container .eds-form-component--radio__circle {
1262
+ background-color: var(--components-form-radio-contrast-icon);
1263
+ }
1264
+ .eds-input-panel > input:checked + .eds-input-panel__container:hover {
1265
+ background-color: var(--components-form-basepanel-standard-fill-hover);
1266
+ /* The following styling is needed to sync the inner checkbox/radiobutton's
1267
+ hover state styling with the inputPanel container */
1268
+ }
1269
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover {
1270
+ background-color: var(--components-form-basepanel-contrast-fill-hover);
1271
+ }
1272
+ .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio {
1273
+ background-color: var(--components-form-basepanel-standard-fill-hover);
1274
+ border-color: var(--components-form-basepanel-standard-border-selected);
1275
+ }
1276
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-form-component--radio__radio {
1277
+ background-color: var(--components-form-basepanel-contrast-fill-hover);
1278
+ border-color: var(--components-form-basepanel-contrast-border-selected);
1279
+ }
1280
+ .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
1281
+ border-color: transparent;
1282
+ }
1283
+ .eds-contrast .eds-input-panel > input:checked + .eds-input-panel__container:hover .eds-checkbox__icon {
1284
+ background-color: var(--components-form-checkbox-contrast-fill-selectedhover);
1285
+ }
1286
+ .eds-input-panel__container {
1287
+ background: var(--components-form-basepanel-standard-fill-default);
1288
+ border: 0.125rem solid var(--components-form-basepanel-standard-border-default);
1289
+ color: var(--components-form-basepanel-standard-text-accent);
1290
+ border-radius: 0.25rem;
1291
+ display: flex;
1292
+ flex-direction: column;
1293
+ justify-content: flex-start;
1294
+ min-width: 20rem;
1295
+ position: relative;
1296
+ padding: 1rem;
1297
+ user-select: none;
1298
+ width: fit-content;
1299
+ transition: background ease-in-out 0.1s, border-color ease-in-out 0.1s;
1300
+ }
1301
+ .eds-contrast .eds-input-panel__container {
1302
+ background-color: var(--components-form-basepanel-contrast-fill-default);
1303
+ border-color: var(--components-form-basepanel-contrast-border-default);
1304
+ color: var(--components-form-basepanel-contrast-text-accent);
1305
+ }
1306
+ .eds-input-panel__container:hover {
1307
+ background-color: var(--components-form-basepanel-standard-fill-hover);
1308
+ /* The following styling is needed to sync the inner checkbox/radiobutton's
1309
+ hover state styling with the inputPanel container */
1310
+ }
1311
+ .eds-contrast .eds-input-panel__container:hover {
1312
+ background-color: var(--components-form-basepanel-contrast-fill-hover);
1313
+ }
1314
+ .eds-input-panel__container:hover .eds-checkbox__icon,
1315
+ .eds-input-panel__container:hover .eds-form-component--radio__radio {
1316
+ background-color: var(--components-form-basepanel-standard-fill-hover);
1317
+ border-color: var(--components-form-basepanel-standard-border-selected);
1318
+ }
1319
+ .eds-contrast .eds-input-panel__container:hover .eds-checkbox__icon,
1320
+ .eds-contrast .eds-input-panel__container:hover .eds-form-component--radio__radio {
1321
+ background-color: var(--components-form-basepanel-contrast-fill-hover);
1322
+ border-color: var(--components-form-basepanel-contrast-border-selected);
1323
+ }
1324
+ input:disabled + .eds-input-panel__container {
1325
+ background: var(--components-form-basepanel-standard-fill-disabled);
1326
+ border-color: var(--components-form-basepanel-standard-border-disabled);
1327
+ color: var(--components-form-basepanel-standard-text-disabled);
1328
+ cursor: not-allowed;
1329
+ }
1330
+ .eds-contrast input:disabled + .eds-input-panel__container {
1331
+ background: var(--components-form-basepanel-contrast-fill-disabled);
1332
+ border-style: dashed;
1333
+ border-color: var(--components-form-basepanel-contrast-border-disabled);
1334
+ color: var(--components-form-basepanel-contrast-text-disabled);
1335
+ }
1336
+ .eds-input-panel__container .eds-checkbox__icon,
1337
+ .eds-input-panel__container .eds-checkbox__icon .eds-checkbox__icon,
1338
+ .eds-input-panel__container .eds-form-component--radio__radio {
1339
+ width: 1.5rem;
1340
+ height: 1.5rem;
1341
+ margin-right: 0;
1342
+ }
1343
+ .eds-input-panel--medium .eds-input-panel__title {
1344
+ font-size: 1rem;
1345
+ font-weight: 500;
1346
+ }
1347
+ .eds-input-panel--medium.eds-input-panel__container {
1348
+ padding-bottom: 1rem;
1349
+ min-height: 3.75rem;
1350
+ }
1351
+ .eds-input-panel--large.eds-input-panel__container {
1352
+ min-height: 6rem;
1353
+ }
1354
+ .eds-input-panel--large .eds-input-panel__title {
1355
+ font-size: 1.25rem;
1356
+ font-weight: 500;
1357
+ line-height: 1.875rem;
1358
+ }
1359
+ .eds-input-panel__title-wrapper {
1360
+ display: flex;
1361
+ justify-content: space-between;
1362
+ align-items: center;
1363
+ }
1364
+ .eds-input-panel__secondary-label-and-icon-wrapper {
1365
+ display: flex;
1366
+ justify-content: center;
1367
+ align-items: center;
1368
+ gap: 0.75rem;
1369
+ }
1370
+ .eds-input-panel__secondary-label-and-icon-wrapper .eds-checkbox__container {
1371
+ margin: 0;
1372
+ }
1373
+ .eds-input-panel__additional-content {
1374
+ margin-top: 0.25rem;
1375
+ word-wrap: break-word;
1376
+ }/* DO NOT CHANGE!*/
1377
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1378
+ .eds-switch {
1379
+ cursor: pointer;
1380
+ user-select: none;
1381
+ padding: 0.5rem 0;
1382
+ width: fit-content;
1383
+ }
1384
+ .eds-switch input {
1385
+ opacity: 0;
1386
+ pointer-events: none;
1387
+ position: absolute;
1388
+ }
1389
+ .eds-switch--right {
1390
+ display: flex;
1391
+ flex-direction: row;
1392
+ align-items: center;
1393
+ }
1394
+ .eds-switch--bottom {
1395
+ display: flex;
1396
+ flex-direction: column;
1397
+ align-items: center;
1398
+ }
1399
+ .eds-switch__circle {
1400
+ border-radius: 50%;
1401
+ height: 1.25rem;
1402
+ width: 1.25rem;
1403
+ content: "";
1404
+ display: flex;
1405
+ align-items: center;
1406
+ justify-content: center;
1407
+ transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
1408
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
1409
+ background-color: var(--components-form-switch-standard-switch);
1410
+ top: 0.125rem;
1411
+ left: 0.125rem;
1412
+ position: relative;
1413
+ }
1414
+ .eds-switch__switch--large .eds-switch__circle {
1415
+ height: 1.75rem;
1416
+ width: 1.75rem;
1417
+ }
1418
+ .eds-contrast .eds-switch__circle {
1419
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.5);
1420
+ }
1421
+ .eds-switch__switch {
1422
+ position: relative;
1423
+ background-color: var(--components-form-switch-standard-fill-false);
1424
+ content: "";
1425
+ display: block;
1426
+ transition: background-color 0.1s ease-in-out;
1427
+ height: 1.5rem;
1428
+ width: 3rem;
1429
+ border-radius: 1.5rem;
1430
+ box-shadow: inset 0px 2px 2px -1px rgba(0, 0, 0, 0.1);
1431
+ }
1432
+ .eds-contrast .eds-switch__switch {
1433
+ background-color: var(--components-form-switch-contrast-fill-false);
1608
1434
  }
1609
-
1435
+ .eds-switch--right .eds-switch__switch {
1436
+ margin-right: 0.75rem;
1437
+ }
1438
+ .eds-switch__switch svg g,
1439
+ .eds-switch__switch path {
1440
+ fill: var(--components-form-switch-standard-icon-false);
1441
+ transition: fill ease-in-out 0.1s;
1442
+ }
1443
+ .eds-contrast .eds-switch__switch svg g,
1444
+ .eds-contrast .eds-switch__switch path {
1445
+ fill: var(--components-form-switch-contrast-icon-false);
1446
+ }
1447
+ :checked + .eds-switch__switch {
1448
+ background-color: var(--eds-switch-color);
1449
+ }
1450
+ :checked + .eds-switch__switch .eds-switch__circle {
1451
+ left: 1.625rem;
1452
+ }
1453
+ :checked + .eds-switch__switch .eds-switch__circle svg g,
1454
+ :checked + .eds-switch__switch .eds-switch__circle path {
1455
+ fill: var(--eds-switch-color);
1456
+ }
1457
+ .eds-contrast :checked + .eds-switch__switch {
1458
+ background-color: var(--eds-switch-contrast-color);
1459
+ }
1460
+ :focus-visible + .eds-switch__switch {
1461
+ outline: 2px solid #181c56;
1462
+ outline-color: var(--basecolors-stroke-focus-standard);
1463
+ outline-offset: 0.125rem;
1464
+ }
1465
+ .eds-contrast :focus-visible + .eds-switch__switch {
1466
+ outline-color: var(--basecolors-stroke-focus-contrast);
1467
+ }
1468
+ .eds-switch__switch--large {
1469
+ width: 3.75rem;
1470
+ height: 2rem;
1471
+ border-radius: 3.75rem;
1472
+ }
1473
+ :checked + .eds-switch__switch--large .eds-switch__circle {
1474
+ left: 1.875rem;
1475
+ }
1476
+ .eds-switch__switch--large svg {
1477
+ position: relative;
1478
+ right: 0.05rem;
1479
+ }
1480
+ .eds-switch__label--large--right {
1481
+ font-size: 1rem;
1482
+ }
1483
+ .eds-switch__label--large--bottom {
1484
+ font-size: 0.875rem;
1485
+ }
1486
+ .eds-switch__label--medium--right {
1487
+ font-size: 0.875rem;
1488
+ }
1489
+ .eds-switch__label--medium--bottom {
1490
+ font-size: 0.75rem;
1491
+ }/* DO NOT CHANGE!*/
1492
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1493
+ /* DO NOT CHANGE!*/
1494
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1495
+ /* DO NOT CHANGE!*/
1496
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1610
1497
  /* DO NOT CHANGE!*/
1611
1498
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1612
1499
  /* DO NOT CHANGE!*/
@@ -1744,104 +1631,150 @@ input:disabled + .eds-input-panel__container {
1744
1631
  --basecolors-text-subduedalt: #b3b4bd;
1745
1632
  }
1746
1633
 
1747
- /* DO NOT CHANGE!*/
1634
+ .eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled, .eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
1635
+ background: var(--basecolors-frame-default);
1636
+ width: fit-content;
1637
+ height: fit-content;
1638
+ padding: 0.15rem;
1639
+ margin: -0.15rem;
1640
+ }
1641
+ *[data-color-mode=dark] .eds-contrast .eds-textarea__wrapper :not(.eds-form-control-wrapper--disabled, .eds-form-control-wrapper--readonly) .eds-textarea__label .eds-input-group__label {
1642
+ background-color: var(--basecolors-frame-contrast);
1643
+ }
1644
+ .eds-textarea__wrapper textarea.eds-form-control.eds-textarea {
1645
+ min-height: 7.75rem;
1646
+ resize: vertical;
1647
+ line-height: 1.5rem;
1648
+ }
1649
+ .eds-textarea__wrapper .eds-form-control-wrapper {
1650
+ padding-right: 0;
1651
+ cursor: text;
1652
+ }/* DO NOT CHANGE!*/
1748
1653
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1749
- :root {
1750
- --contrast-bicycle: #00db9b;
1751
- --contrast-bus: #ff6392;
1752
- --contrast-bus-transparent: rgba(255,99,146,0.14902);
1753
- --contrast-cableway: #b482fb;
1754
- --contrast-cableway-transparent: rgba(180,130,251,0.14902);
1755
- --contrast-carferry: #6fdfff;
1756
- --contrast-carferry-transparent: rgba(111,223,255,0.14902);
1757
- --contrast-citybike: #00db9b;
1758
- --contrast-ferry: #6fdfff;
1759
- --contrast-ferry-transparent: rgba(111,223,255,0.14902);
1760
- --contrast-funicular: #b482fb;
1761
- --contrast-funicular-transparent: rgba(180,130,251,0.14902);
1762
- --contrast-helicopter: #fbafea;
1763
- --contrast-helicopter-transparent: rgba(251,175,234,0.14902);
1764
- --contrast-metro: #f08901;
1765
- --contrast-metro-transparent: rgba(240,137,1,0.14902);
1766
- --contrast-mobility: #00db9b;
1767
- --contrast-neutral: #ffffff;
1768
- --contrast-plane: #fbafea;
1769
- --contrast-plane-transparent: rgba(251,175,234,0.14902);
1770
- --contrast-taxi: #ffe082;
1771
- --contrast-taxi-transparent: rgba(255,224,130,0.14902);
1772
- --contrast-train: #42a5f5;
1773
- --contrast-train-transparent: rgba(66,165,245,0.14902);
1774
- --contrast-tram: #b482fb;
1775
- --contrast-tram-transparent: rgba(180,130,251,0.14902);
1776
- --contrast-walk: #8284ab;
1777
- --contrast-airportlinkbus: #fbafea;
1778
- --contrast-airportlinkbus-transparent: rgba(251,175,234,0.14902);
1779
- --contrast-airportlinkrail: #fbafea;
1780
- --contrast-airportlinkrail-transparent: rgba(251,175,234,0.14902);
1781
- --dark-bicycle: #4db295;
1782
- --dark-bus: #ef7398;
1783
- --dark-bus-transparent: rgba(239,115,152,0.14902);
1784
- --dark-cableway: #b898e5;
1785
- --dark-cableway-transparent: rgba(184,152,229,0.14902);
1786
- --dark-carferry: #8ccfe2;
1787
- --dark-carferry-transparent: rgba(140,207,226,0.14902);
1788
- --dark-citybike: #4db295;
1789
- --dark-ferry: #8ccfe2;
1790
- --dark-ferry-transparent: rgba(140,207,226,0.14902);
1791
- --dark-funicular: #b898e5;
1792
- --dark-funicular-transparent: rgba(184,152,229,0.14902);
1793
- --dark-helicopter: #f2b8e5;
1794
- --dark-helicopter-transparent: rgba(242,184,229,0.14902);
1795
- --dark-metro: #dd973c;
1796
- --dark-metro-transparent: rgba(221,151,60,0.14902);
1797
- --dark-mobility: #4db295;
1798
- --dark-neutral: #e5e5e9;
1799
- --dark-plane: #f2b8e5;
1800
- --dark-plane-transparent: rgba(242,184,229,0.14902);
1801
- --dark-taxi: #ffe082;
1802
- --dark-taxi-transparent: rgba(255,224,130,0.14902);
1803
- --dark-train: #60a2d7;
1804
- --dark-train-transparent: rgba(96,162,215,0.14902);
1805
- --dark-tram: #b898e5;
1806
- --dark-tram-transparent: rgba(184,152,229,0.14902);
1807
- --dark-walk: #8d8e9c;
1808
- --dark-airportlinkbus: #f2b8e5;
1809
- --dark-airportlinkbus-transparent: rgba(242,184,229,0.14902);
1810
- --dark-airportlinkrail: #f2b8e5;
1811
- --dark-airportlinkrail-transparent: rgba(242,184,229,0.14902);
1812
- --standard-bicycle: #388f76;
1813
- --standard-bus: #c5044e;
1814
- --standard-bus-transparent: rgba(197,4,78,0.14902);
1815
- --standard-cableway: #78469a;
1816
- --standard-cableway-transparent: rgba(120,70,154,0.14902);
1817
- --standard-carferry: #0c6693;
1818
- --standard-carferry-transparent: rgba(12,102,147,0.14902);
1819
- --standard-citybike: #388f76;
1820
- --standard-ferry: #0c6693;
1821
- --standard-ferry-transparent: rgba(12,102,147,0.14902);
1822
- --standard-funicular: #78469a;
1823
- --standard-funicular-transparent: rgba(120,70,154,0.14902);
1824
- --standard-helicopter: #800664;
1825
- --standard-helicopter-transparent: rgba(128,6,100,0.14902);
1826
- --standard-metro: #bf5826;
1827
- --standard-metro-transparent: rgba(191,88,38,0.14902);
1828
- --standard-mobility: #388f76;
1829
- --standard-neutral: #181c56;
1830
- --standard-plane: #800664;
1831
- --standard-plane-transparent: rgba(128,6,100,0.14902);
1832
- --standard-taxi: #3d3e40;
1833
- --standard-taxi-transparent: rgba(61,62,64,0.14902);
1834
- --standard-train: #00367f;
1835
- --standard-train-transparent: rgba(0,54,127,0.14902);
1836
- --standard-tram: #78469a;
1837
- --standard-tram-transparent: rgba(120,70,154,0.14902);
1838
- --standard-walk: #8d8e9c;
1839
- --standard-airportlinkbus: #800664;
1840
- --standard-airportlinkbus-transparent: rgba(128,6,100,0.14902);
1841
- --standard-airportlinkrail: #800664;
1842
- --standard-airportlinkrail-transparent: rgba(128,6,100,0.14902);
1654
+ .eds-textfield__clear-button {
1655
+ background: none;
1656
+ border: none;
1657
+ border-radius: 50%;
1658
+ color: inherit;
1659
+ cursor: pointer;
1660
+ display: flex;
1661
+ font: inherit;
1662
+ font-size: 1rem;
1663
+ line-height: 1rem;
1664
+ padding: 0.5rem;
1665
+ margin-right: -0.75rem;
1666
+ }
1667
+ .eds-textfield__clear-button:hover {
1668
+ background: var(--components-form-basepanel-standard-fill-hover);
1669
+ }
1670
+ .eds-textfield__clear-button:focus-visible {
1671
+ outline: 2px solid #181c56;
1672
+ outline-color: var(--basecolors-stroke-focus-standard);
1673
+ outline-offset: 0.125rem;
1674
+ }
1675
+ .eds-textfield__clear-button-wrapper {
1676
+ display: flex;
1677
+ align-items: center;
1843
1678
  }
1844
1679
 
1845
- :root {
1846
- --eds-form: 1;
1680
+ .eds-textfield__divider {
1681
+ content: "";
1682
+ display: block;
1683
+ background-color: var(--components-form-baseform-standard-icon);
1684
+ height: 1.5rem;
1685
+ width: 1px;
1686
+ }
1687
+ .eds-contrast .eds-form-control-wrapper--disabled .eds-textfield__divider {
1688
+ background-color: var(--components-form-baseform-contrast-icon);
1689
+ }
1690
+
1691
+ .eds-textfield__wrapper {
1692
+ cursor: text;
1693
+ }/* DO NOT CHANGE!*/
1694
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1695
+ .eds-segmented-choice {
1696
+ display: block;
1697
+ flex: 1 1 0px;
1698
+ }
1699
+ .eds-segmented-choice .eds-base-segmented {
1700
+ --background-color: var(--components-form-segmentedcontrol-standard-fill-unselected);
1701
+ background-color: var(--background-color);
1702
+ border-radius: 0.25rem;
1703
+ color: var(--components-form-segmentedcontrol-standard-text-unselected);
1704
+ cursor: pointer;
1705
+ font-size: 0.875rem;
1706
+ height: 1.5rem;
1707
+ line-height: 1.25rem;
1708
+ margin: 0.25rem;
1709
+ outline-color: transparent;
1710
+ padding: calc(0.25rem / 2) 0.75rem;
1711
+ text-align: center;
1712
+ user-select: none;
1847
1713
  }
1714
+ .eds-segmented-choice .eds-base-segmented--large {
1715
+ font-size: 1rem;
1716
+ height: 2.5rem;
1717
+ line-height: 1.5rem;
1718
+ padding: 0.5rem 0.75rem;
1719
+ }
1720
+ .eds-contrast .eds-segmented-choice .eds-base-segmented {
1721
+ --background-color: var(--components-form-segmentedcontrol-contrast-background);
1722
+ color: var(--components-form-segmentedcontrol-contrast-text-unselected);
1723
+ }
1724
+ .eds-segmented-choice:hover input:not(:checked) + .eds-base-segmented {
1725
+ --background-color: var(--components-form-segmentedcontrol-standard-fill-hover);
1726
+ }
1727
+ .eds-contrast .eds-segmented-choice:hover input:not(:checked) + .eds-base-segmented {
1728
+ --background-color: var(--components-form-segmentedcontrol-contrast-fill-hover);
1729
+ }
1730
+ .eds-segmented-choice:hover input:checked + .eds-base-segmented {
1731
+ --background-color: var(--components-form-segmentedcontrol-standard-fill-hover);
1732
+ color: var(--components-form-segmentedcontrol-standard-text-unselected);
1733
+ }
1734
+ .eds-contrast .eds-segmented-choice:hover input:checked + .eds-base-segmented {
1735
+ --background-color: var(--components-form-segmentedcontrol-contrast-fill-hover);
1736
+ color: var(--components-form-segmentedcontrol-contrast-text-unselected);
1737
+ }
1738
+ .eds-segmented-choice input {
1739
+ appearance: none;
1740
+ position: absolute;
1741
+ opacity: 0;
1742
+ height: 0;
1743
+ width: 0;
1744
+ }
1745
+ .eds-segmented-choice input:checked + .eds-base-segmented {
1746
+ --background-color: var(--components-form-segmentedcontrol-standard-fill-selected);
1747
+ color: var(--components-form-segmentedcontrol-standard-text-selected);
1748
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
1749
+ }
1750
+ .eds-contrast .eds-segmented-choice input:checked + .eds-base-segmented {
1751
+ --background-color: var(--components-form-segmentedcontrol-contrast-fill-selected);
1752
+ box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
1753
+ color: var(--components-form-segmentedcontrol-contrast-text-selected);
1754
+ }
1755
+ .eds-segmented-choice input:focus-visible:not(:checked) + .eds-base-segmented {
1756
+ outline: 2px solid #181c56;
1757
+ outline-color: var(--basecolors-stroke-focus-standard);
1758
+ outline-offset: 0.125rem;
1759
+ }
1760
+ .eds-contrast .eds-segmented-choice input:focus-visible:not(:checked) + .eds-base-segmented {
1761
+ outline-color: var(--basecolors-stroke-focus-contrast);
1762
+ }
1763
+ .eds-segmented-choice input:focus-visible:checked + .eds-base-segmented {
1764
+ outline: 2px solid #181c56;
1765
+ outline-color: var(--basecolors-stroke-focus-standard);
1766
+ outline-offset: 0.125rem;
1767
+ }
1768
+ .eds-contrast .eds-segmented-choice input:focus-visible:checked + .eds-base-segmented {
1769
+ outline-color: var(--basecolors-stroke-focus-contrast);
1770
+ }/* DO NOT CHANGE!*/
1771
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1772
+ .eds-segmented-control {
1773
+ margin-top: 0.25rem;
1774
+ display: flex;
1775
+ background: var(--components-form-segmentedcontrol-standard-background);
1776
+ border-radius: 0.5rem;
1777
+ }
1778
+ .eds-contrast .eds-segmented-control {
1779
+ background: var(--components-form-segmentedcontrol-contrast-background);
1780
+ }