@entur/form 5.4.0 → 5.4.1

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
@@ -11,960 +11,970 @@
11
11
  margin: 0 0 0.5rem;
12
12
  }/* DO NOT CHANGE!*/
13
13
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
14
- .eds-checkbox__container {
15
- display: flex;
16
- align-items: center;
14
+ .eds-input-group {
15
+ color: inherit;
16
+ display: block;
17
17
  position: relative;
18
- -webkit-appearance: none;
19
- -moz-appearance: none;
20
- appearance: none;
21
- cursor: pointer;
22
- height: 2rem;
18
+ }
19
+ .eds-input-group__label {
20
+ color: #656782;
21
+ display: flex;
22
+ font-size: 1rem;
23
+ position: absolute;
24
+ line-height: 1rem;
25
+ height: 3rem;
26
+ padding: 1rem;
27
+ padding-left: 0;
28
+ margin-left: 1rem;
29
+ top: -0.125rem;
30
+ 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;
23
31
  -webkit-user-select: none;
24
32
  -moz-user-select: none;
25
33
  -ms-user-select: none;
26
34
  user-select: none;
27
- width: -webkit-fit-content;
28
- width: -moz-fit-content;
29
- width: fit-content;
30
- }
31
- .eds-checkbox__container--reduced-click-area {
32
- height: -webkit-fit-content;
33
- height: -moz-fit-content;
34
- height: fit-content;
35
- }
36
- .eds-checkbox__container input {
37
- position: absolute;
38
- opacity: 0;
39
- height: 0;
40
- width: 0;
41
- }
42
- .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
43
- background-color: #181c56;
44
- }
45
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
46
- visibility: visible;
47
- }
48
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon__path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon__path {
49
- stroke: #ffffff;
50
- -webkit-animation: stroke ease-in-out 0.2s 0.1s forwards;
51
- animation: stroke ease-in-out 0.2s 0.1s forwards;
52
- }
53
- .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
54
- opacity: 0.5;
55
- }
56
- .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled .eds-checkbox-icon__path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled .eds-checkbox-icon__path {
57
- opacity: 0.5;
58
- }
59
- .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
60
- background: #54568c;
61
- }
62
- .eds-checkbox__container:hover input + .eds-checkbox__icon {
63
- border-color: #54568c;
64
- background: #f3f3f3;
65
- }
66
- .eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
67
- border-color: #656782;
68
- background: #292b6a;
35
+ pointer-events: none;
69
36
  }
70
- .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
71
- .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
72
- border-color: #54568c;
73
- background-color: #54568c;
37
+ .eds-form-control-wrapper--is-filled .eds-input-group__label {
38
+ top: calc(0.5rem - 0.125rem);
39
+ font-size: 0.75rem;
40
+ line-height: 0.75rem;
41
+ height: 10px;
42
+ padding: 0;
43
+ margin-left: 1rem;
74
44
  }
75
- .eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
76
- .eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
77
- background: #8285a8;
78
- border-color: #8285a8;
45
+ .eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
46
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
47
+ background: var(--textarea-label-background);
48
+ width: calc( 100% - 1rem - 1rem - 4px );
79
49
  }
80
- .eds-checkbox__container:focus + .eds-checkbox__icon,
81
- .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
82
- outline: none;
83
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
84
- outline-offset: 0.125rem;
50
+ .eds-form-control-wrapper--size-large .eds-form-control-wrapper--is-filled .eds-input-group__label {
51
+ top: 0.5rem;
52
+ font-size: 0.875rem;
53
+ line-height: 1rem;
54
+ padding: 0;
55
+ margin-left: 1rem;
85
56
  }
86
- .eds-checkbox__container:focus + .eds-checkbox__icon,
87
- .eds-checkbox__container :focus-within + .eds-checkbox__icon {
88
- outline: none;
89
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
90
- outline-offset: 0.125rem;
57
+ .eds-contrast .eds-input-group__label {
58
+ color: #8285a8;
91
59
  }
92
- .eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
93
- .eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
94
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
60
+ .eds-contrast .eds-form-control-wrapper--dark .eds-input-group__label {
61
+ color: #aeb7e2;
95
62
  }
96
- .eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
97
- .eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
98
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
63
+ .eds-form-control-wrapper--size-large .eds-input-group__label {
64
+ font-size: 1.5rem;
65
+ line-height: 2.25rem;
66
+ height: 4rem;
99
67
  }
100
- .eds-checkbox--disabled {
101
- pointer-events: none;
68
+ .eds-input-group__label--filled {
69
+ top: calc(0.5rem - 0.125rem);
70
+ font-size: 0.75rem;
71
+ line-height: 0.75rem;
72
+ height: 10px;
73
+ padding: 0;
74
+ margin-left: 1rem;
102
75
  }
103
- .eds-checkbox--disabled .eds-checkbox__label {
104
- opacity: 0.5;
76
+ .eds-textarea__label .eds-input-group__label--filled {
77
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
78
+ background: var(--textarea-label-background);
79
+ width: calc( 100% - 1rem - 1rem - 4px );
105
80
  }
106
- .eds-checkbox--disabled .eds-checkbox__icon {
107
- opacity: 0.5;
81
+ .eds-form-control-wrapper--size-large .eds-input-group__label--filled {
82
+ top: 0.5rem;
83
+ font-size: 0.875rem;
84
+ line-height: 1rem;
85
+ padding: 0;
86
+ margin-left: 1rem;
108
87
  }
109
- .eds-checkbox__icon {
110
- display: inline-flex;
111
- justify-content: center;
88
+ .eds-input-group__label-tooltip-icon {
89
+ color: #0082b9;
90
+ padding-left: 0.25rem;
91
+ padding-right: 0.25rem;
92
+ display: flex;
112
93
  align-items: center;
113
- position: relative;
114
- margin-right: 1rem;
115
- height: 1.25rem;
116
- width: 1.25rem;
117
- border: 0.125rem solid #181c56;
118
- border-radius: 0.0625rem;
119
- background-color: transparent;
120
- color: #ffffff;
94
+ cursor: help;
95
+ font-size: 1rem;
121
96
  }
122
- .eds-checkbox__icon--reduced-click-area {
123
- margin-right: 0;
97
+
98
+ .eds-form-control-wrapper[focus-within] .eds-input-group__label {
99
+ top: calc(0.5rem - 0.125rem);
100
+ font-size: 0.75rem;
101
+ line-height: 0.75rem;
102
+ height: 10px;
103
+ padding: 0;
104
+ margin-left: 1rem;
124
105
  }
125
- .eds-contrast .eds-checkbox__icon {
126
- border-color: #54568c;
106
+
107
+ .eds-form-control-wrapper:focus-within .eds-input-group__label {
108
+ top: calc(0.5rem - 0.125rem);
109
+ font-size: 0.75rem;
110
+ line-height: 0.75rem;
111
+ height: 10px;
112
+ padding: 0;
113
+ margin-left: 1rem;
127
114
  }
128
- .eds-checkbox__icon .eds-checkbox-icon {
129
- height: 1rem;
130
- width: 1rem;
131
- visibility: hidden;
115
+ .eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
116
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
117
+ background: var(--textarea-label-background);
118
+ width: calc( 100% - 1rem - 1rem - 4px );
132
119
  }
133
- .eds-checkbox__icon .eds-checkbox-icon__path {
134
- transform-origin: 50% 50%;
135
- stroke-dasharray: 48;
136
- stroke-dashoffset: 48;
137
- stroke-width: 0.375rem;
120
+ .eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
121
+ box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
122
+ background: var(--textarea-label-background);
123
+ width: calc( 100% - 1rem - 1rem - 4px );
138
124
  }
139
-
140
- @-webkit-keyframes stroke {
141
- 100% {
142
- stroke-dashoffset: 0;
143
- }
125
+ .eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
126
+ top: 0.5rem;
127
+ font-size: 0.875rem;
128
+ line-height: 1rem;
129
+ padding: 0;
130
+ margin-left: 1rem;
144
131
  }
145
-
146
- @keyframes stroke {
147
- 100% {
148
- stroke-dashoffset: 0;
149
- }
132
+ .eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
133
+ top: 0.5rem;
134
+ font-size: 0.875rem;
135
+ line-height: 1rem;
136
+ padding: 0;
137
+ margin-left: 1rem;
150
138
  }/* DO NOT CHANGE!*/
151
139
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
152
- .eds-feedback-text {
153
- display: flex;
140
+ .eds-form-control-wrapper {
141
+ --border-color: #181c56;
142
+ --border-color-hover: #aeb7e2;
154
143
  align-items: center;
155
- margin-top: 0.25rem;
156
- }
157
- .eds-feedback-text--info {
158
- padding-left: calc(1rem + 0.125rem);
159
- }
160
- .eds-feedback-text__text {
144
+ background-color: #ffffff;
145
+ border-radius: 0.25rem;
146
+ border: 0.125rem solid #d1d3d3;
147
+ box-shadow: 0 0 0 transparent;
161
148
  color: #181c56;
162
- }
163
- .eds-contrast .eds-feedback-text__text {
164
- color: #ffffff;
165
- }
166
-
167
- .eds-feedback-text__icon {
168
- font-size: 1.5rem;
169
- min-height: 1.5rem;
170
- min-width: 1.5rem;
171
- padding-right: 0.5rem;
149
+ display: flex;
172
150
  position: relative;
173
- top: -0.1rem;
174
- }
175
- .eds-feedback-text__icon--success {
176
- color: #1a8e60;
151
+ width: 100%;
152
+ min-height: 3rem;
153
+ transition: border-color 0.1s ease-in-out;
154
+ --textarea-label-background: $colors-brand-white;
155
+ /*
156
+ Some input controls require a darker design while inside a contrast block.
157
+ These elements require the `--dark` modifier, even on the wrapper.
158
+ */
177
159
  }
178
- .eds-contrast .eds-feedback-text__icon--success {
179
- color: #5ac39a;
160
+ .eds-contrast .eds-form-control-wrapper {
161
+ --border-color: #aeb7e2;
162
+ background-color: #ffffff;
163
+ border-color: #54568c;
180
164
  }
181
- .eds-feedback-text__icon--error {
182
- color: #d31b1b;
165
+ .eds-form-control-wrapper[focus-within], .eds-form-control-wrapper:hover {
166
+ border-color: #181c56;
183
167
  }
184
- .eds-contrast .eds-feedback-text__icon--error {
185
- color: #ff9494;
168
+ .eds-form-control-wrapper:focus-within, .eds-form-control-wrapper:hover {
169
+ border-color: #181c56;
186
170
  }
187
- .eds-feedback-text__icon--info {
188
- color: #0082b9;
171
+ .eds-contrast .eds-form-control-wrapper:hover {
172
+ border-color: #aeb7e2;
173
+ background: #ebebf1;
189
174
  }
190
- .eds-contrast .eds-feedback-text__icon--info {
191
- color: #64b3e7;
175
+ .eds-form-control-wrapper[focus-within] {
176
+ box-shadow: inset 0 0 0 1px var(--border-color);
192
177
  }
193
- .eds-feedback-text__icon--warning {
194
- color: #ffca28;
178
+ .eds-form-control-wrapper:focus-within {
179
+ box-shadow: inset 0 0 0 1px var(--border-color);
195
180
  }
196
- .eds-feedback-text__icon--warning circle {
197
- fill: #181c56;
181
+ .eds-contrast .eds-form-control-wrapper[focus-within] {
182
+ border-color: #181c56;
183
+ --border-color: #aeb7e2;
184
+ box-shadow: 0 0 0 0.125rem var(--border-color);
198
185
  }
199
- .eds-contrast .eds-feedback-text__icon--warning {
200
- color: #ffe082;
201
- }/* DO NOT CHANGE!*/
202
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
203
- .eds-form-component--radio__container {
204
- display: flex;
205
- justify-content: center;
206
- align-items: center;
207
- position: relative;
208
- cursor: pointer;
209
- height: 2rem;
210
- width: -webkit-fit-content;
211
- width: -moz-fit-content;
212
- width: fit-content;
213
- -webkit-user-select: none;
214
- -moz-user-select: none;
215
- -ms-user-select: none;
216
- user-select: none;
186
+ .eds-contrast .eds-form-control-wrapper:focus-within {
187
+ border-color: #181c56;
188
+ --border-color: #aeb7e2;
189
+ box-shadow: 0 0 0 0.125rem var(--border-color);
217
190
  }
218
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
219
- border-color: #54568c;
191
+ .eds-form-control-wrapper ::-moz-placeholder {
192
+ color: #656782;
220
193
  }
221
- .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
222
- background-color: #54568c;
194
+ .eds-form-control-wrapper :-ms-input-placeholder {
195
+ color: #656782;
223
196
  }
224
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
225
- border-color: #8285a8;
197
+ .eds-form-control-wrapper ::placeholder {
198
+ color: #656782;
226
199
  }
227
- .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
228
- background-color: #8285a8;
200
+ .eds-form-control-wrapper--disabled {
201
+ background-color: #e9e9e9;
202
+ color: #656782;
203
+ border-color: transparent;
204
+ pointer-events: none;
229
205
  }
230
- .eds-form-component--radio__container input {
231
- position: absolute;
232
- opacity: 0;
233
- cursor: pointer;
234
- height: 0;
235
- width: 0;
206
+ .eds-form-control-wrapper--disabled::before, .eds-form-control-wrapper--disabled::after {
207
+ display: none;
236
208
  }
237
- .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
238
- height: 0.625rem;
239
- width: 0.625rem;
209
+ .eds-contrast .eds-form-control-wrapper--disabled {
210
+ background: #292b6a;
211
+ border-color: transparent;
212
+ color: #8285a8;
240
213
  }
241
- .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
242
- outline: none;
243
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
244
- outline-offset: 0.125rem;
214
+ .eds-form-control-wrapper--readonly {
215
+ pointer-events: none;
216
+ cursor: default;
217
+ border-color: transparent;
218
+ background: #f8f8f8;
219
+ --textarea-label-background: $colors-greys-grey90;
245
220
  }
246
- .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
247
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
221
+ .eds-contrast .eds-form-control-wrapper--readonly {
222
+ background: #292b6a;
223
+ --textarea-label-background: $colors-blues-blue10;
224
+ color: #ffffff;
225
+ border-color: transparent;
248
226
  }
249
- .eds-form-component--radio__container .eds-form-component--radio__radio {
250
- position: relative;
251
- height: 1.25rem;
252
- width: 1.25rem;
253
- margin-right: 1rem;
254
- background-color: #ffffff;
255
- border: 0.125rem solid #181c56;
256
- border-radius: 50%;
257
- display: flex;
258
- align-items: center;
259
- justify-content: center;
227
+ .eds-form-control-wrapper--readonly::before, .eds-form-control-wrapper--readonly::after {
228
+ display: none;
260
229
  }
261
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
262
- background-color: #181c56;
263
- border-color: #aeb7e2;
230
+ .eds-form-control-wrapper--size-medium .eds-form-control,
231
+ .eds-form-control-wrapper--size-medium .eds-form-control__append,
232
+ .eds-form-control-wrapper--size-medium .eds-form-control__prepend {
233
+ font-size: 1rem;
234
+ line-height: 1rem;
264
235
  }
265
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
266
- background: #d1d3d3;
267
- border-color: #d1d3d3;
268
- cursor: not-allowed;
236
+ .eds-form-control-wrapper--size-large {
237
+ min-height: 4rem;
238
+ padding: 0 0.5rem;
269
239
  }
270
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
271
- border-color: #d1d3d3;
240
+ .eds-form-control-wrapper--size-large::before, .eds-form-control-wrapper--size-large::after {
241
+ border-width: 0.25rem;
272
242
  }
273
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
274
- background: #d1d3d3;
275
- border-color: #d1d3d3;
243
+ .eds-form-control-wrapper--size-large .eds-form-control,
244
+ .eds-form-control-wrapper--size-large .eds-form-control__append,
245
+ .eds-form-control-wrapper--size-large .eds-form-control__prepend {
246
+ font-size: 1.5rem;
247
+ line-height: 2.25rem;
276
248
  }
277
- .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
278
- color: #656782;
249
+ .eds-form-control-wrapper--success {
250
+ border-color: #1a8e60;
251
+ --border-color: #1a8e60;
279
252
  }
280
- .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
281
- display: block;
282
- width: 0;
283
- height: 0;
284
- border-radius: 50%;
285
- background-color: #181c56;
286
- transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
253
+ .eds-form-control-wrapper--success:hover {
254
+ border-color: #5ac39a;
287
255
  }
288
- .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
289
- background-color: #aeb7e2;
290
- }/* DO NOT CHANGE!*/
291
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
292
- .eds-switch {
293
- cursor: pointer;
294
- -webkit-user-select: none;
295
- -moz-user-select: none;
296
- -ms-user-select: none;
297
- user-select: none;
298
- padding: 0.5rem 0;
299
- width: -webkit-fit-content;
300
- width: -moz-fit-content;
301
- width: fit-content;
256
+ .eds-form-control-wrapper--success[focus-within] {
257
+ border-color: #1a8e60;
302
258
  }
303
- .eds-switch input {
304
- opacity: 0;
305
- pointer-events: none;
306
- position: absolute;
259
+ .eds-form-control-wrapper--success:focus-within {
260
+ border-color: #1a8e60;
307
261
  }
308
- .eds-switch--right {
309
- display: flex;
310
- flex-direction: row;
311
- align-items: center;
262
+ .eds-contrast .eds-form-control-wrapper--success {
263
+ border-color: #5ac39a;
264
+ --border-color: #5ac39a;
312
265
  }
313
- .eds-switch--bottom {
314
- display: flex;
315
- flex-direction: column;
316
- align-items: center;
266
+ .eds-contrast .eds-form-control-wrapper--success:hover {
267
+ border-color: #1a8e60;
317
268
  }
318
- .eds-switch__circle {
319
- border-radius: 50%;
320
- height: 1.25rem;
321
- width: 1.25rem;
322
- content: "";
323
- display: flex;
324
- align-items: center;
325
- justify-content: center;
326
- transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
327
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
328
- background-color: #ffffff;
329
- top: 0.125rem;
330
- left: 0.125rem;
331
- position: relative;
269
+ .eds-contrast .eds-form-control-wrapper--success[focus-within] {
270
+ --border-color: #5ac39a;
271
+ border-color: #181c56;
332
272
  }
333
- .eds-switch__switch--large .eds-switch__circle {
334
- height: 1.75rem;
335
- width: 1.75rem;
273
+ .eds-contrast .eds-form-control-wrapper--success:focus-within {
274
+ --border-color: #5ac39a;
275
+ border-color: #181c56;
336
276
  }
337
- .eds-switch .eds-switch__switch svg g,
338
- .eds-switch .eds-switch__switch path {
339
- fill: #949494;
340
- transition: fill ease-in-out 0.1s;
277
+ .eds-form-control-wrapper--error {
278
+ border-color: #d31b1b;
279
+ --border-color: #d31b1b;
341
280
  }
342
- .eds-switch__switch {
343
- position: relative;
344
- background-color: #d1d3d3;
345
- content: "";
346
- display: block;
347
- transition: background-color 0.1s ease-in-out;
348
- height: 1.5rem;
349
- width: 3rem;
350
- border-radius: 1.5rem;
281
+ .eds-form-control-wrapper--error:hover {
282
+ border-color: #ff9494;
351
283
  }
352
- .eds-switch--right .eds-switch__switch {
353
- margin-right: 0.75rem;
284
+ .eds-form-control-wrapper--error[focus-within] {
285
+ border-color: #d31b1b;
354
286
  }
355
- :checked + .eds-switch__switch {
356
- background-color: var(--eds-switch-color);
287
+ .eds-form-control-wrapper--error:focus-within {
288
+ border-color: #d31b1b;
357
289
  }
358
- :checked + .eds-switch__switch .eds-switch__circle {
359
- left: 1.625rem;
290
+ .eds-contrast .eds-form-control-wrapper--error {
291
+ border-color: #ff9494;
292
+ --border-color: #ff9494;
360
293
  }
361
- :checked + .eds-switch__switch .eds-switch__circle svg g,
362
- :checked + .eds-switch__switch .eds-switch__circle path {
363
- fill: var(--eds-switch-color);
294
+ .eds-contrast .eds-form-control-wrapper--error:hover {
295
+ border-color: #d31b1b;
364
296
  }
365
- .eds-contrast :checked + .eds-switch__switch .eds-switch__circle svg g,
366
- .eds-contrast :checked + .eds-switch__switch .eds-switch__circle path {
367
- fill: var(--eds-switch-color);
297
+ .eds-contrast .eds-form-control-wrapper--error[focus-within] {
298
+ border-color: #181c56;
299
+ --border-color: #ff9494;
368
300
  }
369
- .eds-contrast :checked + .eds-switch__switch {
370
- background-color: var(--eds-switch-contrast-color);
301
+ .eds-contrast .eds-form-control-wrapper--error:focus-within {
302
+ border-color: #181c56;
303
+ --border-color: #ff9494;
371
304
  }
372
- :focus + .eds-switch__switch {
373
- outline: none;
374
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
375
- outline-offset: 0.125rem;
305
+ .eds-contrast .eds-form-control-wrapper--dark {
306
+ background-color: #181c56;
307
+ color: #ffffff;
376
308
  }
377
- .eds-contrast :focus + .eds-switch__switch {
378
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
309
+ .eds-contrast .eds-form-control-wrapper--dark ::-moz-placeholder {
310
+ color: #aeb7e2;
379
311
  }
380
- .eds-contrast .eds-switch__switch {
381
- background-color: #54568c;
312
+ .eds-contrast .eds-form-control-wrapper--dark :-ms-input-placeholder {
313
+ color: #aeb7e2;
382
314
  }
383
- .eds-switch__switch--large {
384
- width: 3.75rem;
385
- height: 2rem;
386
- border-radius: 3.75rem;
315
+ .eds-contrast .eds-form-control-wrapper--dark ::placeholder {
316
+ color: #aeb7e2;
387
317
  }
388
- :checked + .eds-switch__switch--large .eds-switch__circle {
389
- left: 1.875rem;
318
+ .eds-contrast .eds-form-control-wrapper--dark:hover {
319
+ border-color: #aeb7e2;
390
320
  }
391
- .eds-switch__label--large--right {
392
- font-size: 1rem;
321
+ .eds-contrast .eds-form-control-wrapper--dark[focus-within] {
322
+ background-color: #292b6a;
323
+ border-color: #aeb7e2;
393
324
  }
394
- .eds-switch__label--large--bottom {
395
- font-size: 0.875rem;
325
+ .eds-contrast .eds-form-control-wrapper--dark:focus-within {
326
+ background-color: #292b6a;
327
+ border-color: #aeb7e2;
396
328
  }
397
- .eds-switch__label--medium--right {
398
- font-size: 0.875rem;
329
+ .eds-contrast .eds-form-control-wrapper--dark * {
330
+ background-color: transparent;
331
+ color: inherit;
399
332
  }
400
- .eds-switch__label--medium--bottom {
401
- font-size: 0.75rem;
402
- }/* DO NOT CHANGE!*/
403
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
404
- .eds-radio-panel__wrapper[focus-within] .eds-radio-panel__container {
405
- border-color: #181c56;
406
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
333
+ .eds-contrast .eds-form-control-wrapper--dark.eds-form-control-wrapper--disabled {
334
+ background-color: #292b6a;
335
+ color: #8285a8;
407
336
  }
408
- .eds-radio-panel__wrapper:focus-within .eds-radio-panel__container {
409
- border-color: #181c56;
410
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
337
+
338
+ .eds-form-control {
339
+ -webkit-appearance: none;
340
+ -moz-appearance: none;
341
+ appearance: none;
342
+ background-color: transparent;
343
+ border: 0;
344
+ color: inherit;
345
+ display: block;
346
+ font-family: inherit;
347
+ line-height: 1rem;
348
+ font-size: 1rem;
349
+ padding: 20px 1rem 0.25rem;
350
+ width: 100%;
411
351
  }
412
- .eds-contrast .eds-radio-panel__wrapper[focus-within] .eds-radio-panel__container {
413
- border-color: #ffffff;
414
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
352
+ .eds-form-control::-moz-placeholder {
353
+ opacity: 0;
354
+ -moz-transition: opacity 0.2s ease-in-out;
355
+ transition: opacity 0.2s ease-in-out;
415
356
  }
416
- .eds-contrast .eds-radio-panel__wrapper:focus-within .eds-radio-panel__container {
417
- border-color: #ffffff;
418
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
357
+ .eds-form-control:-ms-input-placeholder {
358
+ opacity: 0;
359
+ -ms-transition: opacity 0.2s ease-in-out;
360
+ transition: opacity 0.2s ease-in-out;
419
361
  }
420
- .eds-radio-panel__wrapper input {
421
- position: absolute;
362
+ .eds-form-control::placeholder {
422
363
  opacity: 0;
423
- cursor: pointer;
424
- height: 0;
425
- width: 0;
364
+ transition: opacity 0.2s ease-in-out;
426
365
  }
427
- .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container {
428
- border-color: #181c56;
429
- background: #f5f5f8;
366
+ .eds-form-control:focus {
367
+ outline: none;
430
368
  }
431
- .eds-contrast .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container {
432
- border-color: #aeb7e2;
433
- background: #393d79;
369
+ .eds-form-control:focus::-moz-placeholder {
370
+ opacity: 1;
434
371
  }
435
- .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check {
436
- background-color: #181c56;
437
- border-color: #181c56;
372
+ .eds-form-control:focus:-ms-input-placeholder {
373
+ opacity: 1;
438
374
  }
439
- .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check .eds-checkbox-icon {
440
- visibility: visible;
375
+ .eds-form-control:focus::placeholder {
376
+ opacity: 1;
441
377
  }
442
- .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check .eds-checkbox-icon__path {
443
- stroke: #5ac39a;
444
- -webkit-animation: stroke ease-in-out 0.2s 0.1s forwards;
445
- animation: stroke ease-in-out 0.2s 0.1s forwards;
378
+ .eds-form-control__prepend, .eds-form-control__append {
379
+ position: relative;
380
+ margin: 0 1rem;
381
+ line-height: inherit;
446
382
  }
447
- .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check--disabled {
448
- opacity: 0.5;
383
+ .eds-form-control__prepend--tooltip, .eds-form-control__append--tooltip {
384
+ position: static;
449
385
  }
450
- .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check--disabled .eds-checkbox-icon__path {
451
- opacity: 0.5;
386
+ .eds-form-control__prepend svg, .eds-form-control__append svg {
387
+ top: 0.125rem;
452
388
  }
453
- .eds-radio-panel__container {
454
- background: #ffffff;
455
- border: 0.125rem solid #d1d3d3;
456
- border-radius: 0.25rem;
457
- display: flex;
458
- flex-direction: column;
459
- justify-content: flex-start;
460
- min-width: 20rem;
461
- position: relative;
462
- padding: 1rem;
463
- -webkit-user-select: none;
464
- -moz-user-select: none;
465
- -ms-user-select: none;
466
- user-select: none;
467
- width: -webkit-fit-content;
468
- width: -moz-fit-content;
469
- width: fit-content;
389
+ .eds-form-control__prepend {
390
+ margin-right: 0;
470
391
  }
471
- .eds-contrast .eds-radio-panel__container {
472
- background: #181c56;
473
- border-color: #54568c;
392
+ .eds-form-control__append {
393
+ margin-left: 0;
394
+ }/* DO NOT CHANGE!*/
395
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
396
+ textarea.eds-form-control.eds-textarea {
397
+ min-height: 7.75rem;
398
+ resize: vertical;
399
+ line-height: 1.5rem;
400
+ }/* DO NOT CHANGE!*/
401
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
402
+ .eds-textfield__clear-button {
403
+ background: none;
404
+ border: none;
405
+ border-radius: 50%;
406
+ color: inherit;
407
+ cursor: pointer;
408
+ display: flex;
409
+ font: inherit;
410
+ font-size: 1rem;
411
+ line-height: 1rem;
412
+ padding: 0.5rem;
413
+ margin-right: -0.75rem;
474
414
  }
475
- .eds-radio-panel__title-wrapper {
415
+ .eds-textfield__clear-button-wrapper {
476
416
  display: flex;
477
- justify-content: space-between;
478
417
  align-items: center;
479
418
  }
480
- .eds-radio-panel__label {
481
- display: flex;
482
- justify-content: center;
419
+ .eds-textfield__clear-button:hover {
420
+ background: #f3f3f3;
483
421
  }
484
- .eds-radio-panel__check {
485
- height: 2rem;
486
- width: 2rem;
487
- margin-left: 1rem;
488
- border-radius: 50%;
489
- border: 0.125rem solid #e9e9e9;
422
+ .eds-textfield__clear-button:focus {
423
+ outline: none;
424
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
425
+ }
426
+
427
+ .eds-textfield__divider {
428
+ content: "";
429
+ display: block;
430
+ background-color: #e9e9e9;
431
+ height: 1.5rem;
432
+ width: 1px;
433
+ }
434
+ .eds-contrast .eds-form-control-wrapper--disabled .eds-textfield__divider {
435
+ background-color: #8285a8;
436
+ }/* DO NOT CHANGE!*/
437
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
438
+ .eds-feedback-text {
490
439
  display: flex;
491
440
  align-items: center;
492
- justify-content: center;
493
- background: #ffffff;
494
- transition: background ease-in-out 0.1s, border-color ease-in-out 0.1s;
441
+ margin-top: 0.25rem;
495
442
  }
496
- .eds-contrast .eds-radio-panel__check {
497
- background: #181c56;
498
- border-color: #54568c;
443
+ .eds-feedback-text--info {
444
+ padding-left: calc(1rem + 0.125rem);
499
445
  }
500
- .eds-radio-panel__additional-content {
501
- margin-top: 0.25rem;
502
- word-wrap: break-word;
446
+ .eds-feedback-text__text {
447
+ color: #181c56;
503
448
  }
504
- .eds-radio-panel--medium .eds-radio-panel__title {
505
- font-size: 1rem;
506
- font-weight: 500;
449
+ .eds-contrast .eds-feedback-text__text {
450
+ color: #ffffff;
507
451
  }
508
- .eds-radio-panel--medium.eds-radio-panel__container {
509
- padding-bottom: 1rem;
510
- min-height: 3.75rem;
452
+
453
+ .eds-feedback-text__icon {
454
+ font-size: 1.5rem;
455
+ min-height: 1.5rem;
456
+ min-width: 1.5rem;
457
+ padding-right: 0.5rem;
458
+ position: relative;
459
+ top: -0.1rem;
511
460
  }
512
- .eds-radio-panel--large.eds-radio-panel__container {
513
- min-height: 6.5rem;
461
+ .eds-feedback-text__icon--success {
462
+ color: #1a8e60;
463
+ }
464
+ .eds-contrast .eds-feedback-text__icon--success {
465
+ color: #5ac39a;
514
466
  }
515
- .eds-radio-panel--large .eds-radio-panel__title-wrapper {
516
- height: 2rem;
467
+ .eds-feedback-text__icon--error {
468
+ color: #d31b1b;
517
469
  }
518
- .eds-radio-panel--large .eds-radio-panel__title {
519
- font-size: 1.25rem;
520
- font-weight: 500;
521
- line-height: 1.875rem;
470
+ .eds-contrast .eds-feedback-text__icon--error {
471
+ color: #ff9494;
522
472
  }
523
- .eds-radio-panel--disabled {
524
- background: #f3f3f3;
525
- border-color: #f3f3f3;
526
- color: #656782;
473
+ .eds-feedback-text__icon--info {
474
+ color: #0082b9;
527
475
  }
528
- .eds-contrast .eds-radio-panel--disabled {
529
- background: #181c56;
530
- border-style: dashed;
531
- border-color: #54568c;
532
- color: #babbcf;
476
+ .eds-contrast .eds-feedback-text__icon--info {
477
+ color: #64b3e7;
533
478
  }
534
-
535
- .eds-checkbox-icon {
536
- width: 1.5em;
537
- height: 1.5em;
479
+ .eds-feedback-text__icon--warning {
480
+ color: #ffca28;
538
481
  }
539
- .eds-checkbox-icon__path {
540
- transform-origin: 50% 50%;
541
- stroke-dasharray: 48;
542
- stroke-dashoffset: 48;
543
- stroke-width: 0.375rem;
482
+ .eds-feedback-text__icon--warning circle {
483
+ fill: #181c56;
484
+ }
485
+ .eds-contrast .eds-feedback-text__icon--warning {
486
+ color: #ffe082;
544
487
  }/* DO NOT CHANGE!*/
545
488
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
546
- .eds-input-group {
547
- color: inherit;
548
- display: block;
549
- position: relative;
550
- }
551
- .eds-input-group__label {
552
- color: #656782;
489
+ .eds-form-component--radio__container {
553
490
  display: flex;
554
- font-size: 1rem;
555
- position: absolute;
556
- line-height: 1rem;
557
- height: 3rem;
558
- padding: 1rem;
559
- padding-left: 0;
560
- margin-left: 1rem;
561
- top: -0.125rem;
562
- 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;
491
+ justify-content: center;
492
+ align-items: center;
493
+ position: relative;
494
+ cursor: pointer;
495
+ height: 2rem;
496
+ width: -webkit-fit-content;
497
+ width: -moz-fit-content;
498
+ width: fit-content;
563
499
  -webkit-user-select: none;
564
500
  -moz-user-select: none;
565
501
  -ms-user-select: none;
566
502
  user-select: none;
567
- pointer-events: none;
568
- }
569
- .eds-form-control-wrapper--is-filled .eds-input-group__label {
570
- top: calc(0.5rem - 0.125rem);
571
- font-size: 0.75rem;
572
- line-height: 0.75rem;
573
- height: 10px;
574
- padding: 0;
575
- margin-left: 1rem;
576
503
  }
577
- .eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
578
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
579
- background: var(--textarea-label-background);
580
- width: calc( 100% - 1rem - 1rem - 4px );
504
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
505
+ border-color: #54568c;
581
506
  }
582
- .eds-form-control-wrapper--size-large .eds-form-control-wrapper--is-filled .eds-input-group__label {
583
- top: 0.5rem;
584
- font-size: 0.875rem;
585
- line-height: 1rem;
586
- padding: 0;
587
- margin-left: 1rem;
507
+ .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
508
+ background-color: #54568c;
588
509
  }
589
- .eds-contrast .eds-input-group__label {
590
- color: #8285a8;
510
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio {
511
+ border-color: #8285a8;
591
512
  }
592
- .eds-contrast .eds-form-control-wrapper--dark .eds-input-group__label {
593
- color: #aeb7e2;
513
+ .eds-contrast .eds-form-component--radio__container :hover ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
514
+ background-color: #8285a8;
594
515
  }
595
- .eds-form-control-wrapper--size-large .eds-input-group__label {
596
- font-size: 1.5rem;
597
- line-height: 2.25rem;
598
- height: 4rem;
516
+ .eds-form-component--radio__container input {
517
+ position: absolute;
518
+ opacity: 0;
519
+ cursor: pointer;
520
+ height: 0;
521
+ width: 0;
599
522
  }
600
- .eds-input-group__label--filled {
601
- top: calc(0.5rem - 0.125rem);
602
- font-size: 0.75rem;
603
- line-height: 0.75rem;
604
- height: 10px;
605
- padding: 0;
606
- margin-left: 1rem;
523
+ .eds-form-component--radio__container input:checked ~ .eds-form-component--radio__radio .eds-form-component--radio__circle {
524
+ height: 0.625rem;
525
+ width: 0.625rem;
607
526
  }
608
- .eds-textarea__label .eds-input-group__label--filled {
609
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
610
- background: var(--textarea-label-background);
611
- width: calc( 100% - 1rem - 1rem - 4px );
527
+ .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
528
+ outline: none;
529
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
530
+ outline-offset: 0.125rem;
612
531
  }
613
- .eds-form-control-wrapper--size-large .eds-input-group__label--filled {
614
- top: 0.5rem;
615
- font-size: 0.875rem;
616
- line-height: 1rem;
617
- padding: 0;
618
- margin-left: 1rem;
532
+ .eds-contrast .eds-form-component--radio__container input:focus ~ .eds-form-component--radio__radio {
533
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
619
534
  }
620
- .eds-input-group__label-tooltip-icon {
621
- color: #0082b9;
622
- padding-left: 0.25rem;
623
- padding-right: 0.25rem;
535
+ .eds-form-component--radio__container .eds-form-component--radio__radio {
536
+ position: relative;
537
+ height: 1.25rem;
538
+ width: 1.25rem;
539
+ margin-right: 1rem;
540
+ background-color: #ffffff;
541
+ border: 0.125rem solid #181c56;
542
+ border-radius: 50%;
624
543
  display: flex;
625
544
  align-items: center;
626
- cursor: help;
627
- font-size: 1rem;
545
+ justify-content: center;
628
546
  }
629
-
630
- .eds-form-control-wrapper[focus-within] .eds-input-group__label {
631
- top: calc(0.5rem - 0.125rem);
632
- font-size: 0.75rem;
633
- line-height: 0.75rem;
634
- height: 10px;
635
- padding: 0;
636
- margin-left: 1rem;
547
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio {
548
+ background-color: #181c56;
549
+ border-color: #aeb7e2;
637
550
  }
638
-
639
- .eds-form-control-wrapper:focus-within .eds-input-group__label {
640
- top: calc(0.5rem - 0.125rem);
641
- font-size: 0.75rem;
642
- line-height: 0.75rem;
643
- height: 10px;
644
- padding: 0;
645
- margin-left: 1rem;
551
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
552
+ background: #d1d3d3;
553
+ border-color: #d1d3d3;
554
+ cursor: not-allowed;
646
555
  }
647
- .eds-textarea__label .eds-form-control-wrapper[focus-within] .eds-input-group__label {
648
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
649
- background: var(--textarea-label-background);
650
- width: calc( 100% - 1rem - 1rem - 4px );
556
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
557
+ border-color: #d1d3d3;
651
558
  }
652
- .eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
653
- box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
654
- background: var(--textarea-label-background);
655
- width: calc( 100% - 1rem - 1rem - 4px );
559
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
560
+ background: #d1d3d3;
561
+ border-color: #d1d3d3;
656
562
  }
657
- .eds-form-control-wrapper--size-large[focus-within] .eds-input-group__label {
658
- top: 0.5rem;
659
- font-size: 0.875rem;
660
- line-height: 1rem;
661
- padding: 0;
662
- margin-left: 1rem;
563
+ .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
564
+ color: #656782;
663
565
  }
664
- .eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
665
- top: 0.5rem;
666
- font-size: 0.875rem;
667
- line-height: 1rem;
668
- padding: 0;
669
- margin-left: 1rem;
566
+ .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
567
+ display: block;
568
+ width: 0;
569
+ height: 0;
570
+ border-radius: 50%;
571
+ background-color: #181c56;
572
+ transition: width 0.1s ease-in-out, height 0.1s ease-in-out;
573
+ }
574
+ .eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
575
+ background-color: #aeb7e2;
670
576
  }/* DO NOT CHANGE!*/
671
577
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
672
- .eds-form-control-wrapper {
673
- --border-color: #181c56;
674
- --border-color-hover: #aeb7e2;
675
- align-items: center;
676
- background-color: #ffffff;
677
- border-radius: 0.25rem;
678
- border: 0.125rem solid #d1d3d3;
679
- box-shadow: 0 0 0 transparent;
680
- color: #181c56;
578
+ .eds-checkbox__container {
681
579
  display: flex;
580
+ align-items: center;
682
581
  position: relative;
683
- width: 100%;
684
- min-height: 3rem;
685
- transition: border-color 0.1s ease-in-out;
686
- --textarea-label-background: $colors-brand-white;
687
- /*
688
- Some input controls require a darker design while inside a contrast block.
689
- These elements require the `--dark` modifier, even on the wrapper.
690
- */
582
+ -webkit-appearance: none;
583
+ -moz-appearance: none;
584
+ appearance: none;
585
+ cursor: pointer;
586
+ height: 2rem;
587
+ -webkit-user-select: none;
588
+ -moz-user-select: none;
589
+ -ms-user-select: none;
590
+ user-select: none;
591
+ width: -webkit-fit-content;
592
+ width: -moz-fit-content;
593
+ width: fit-content;
594
+ }
595
+ .eds-checkbox__container--reduced-click-area {
596
+ height: -webkit-fit-content;
597
+ height: -moz-fit-content;
598
+ height: fit-content;
599
+ }
600
+ .eds-checkbox__container input {
601
+ position: absolute;
602
+ opacity: 0;
603
+ height: 0;
604
+ width: 0;
605
+ }
606
+ .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
607
+ background-color: #181c56;
608
+ }
609
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
610
+ visibility: visible;
611
+ }
612
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon__path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon__path {
613
+ stroke: #ffffff;
614
+ -webkit-animation: stroke ease-in-out 0.2s 0.1s forwards;
615
+ animation: stroke ease-in-out 0.2s 0.1s forwards;
691
616
  }
692
- .eds-contrast .eds-form-control-wrapper {
693
- --border-color: #aeb7e2;
694
- background-color: #ffffff;
695
- border-color: #54568c;
617
+ .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
618
+ opacity: 0.5;
696
619
  }
697
- .eds-form-control-wrapper[focus-within], .eds-form-control-wrapper:hover {
698
- border-color: #181c56;
620
+ .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled .eds-checkbox-icon__path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled .eds-checkbox-icon__path {
621
+ opacity: 0.5;
699
622
  }
700
- .eds-form-control-wrapper:focus-within, .eds-form-control-wrapper:hover {
701
- border-color: #181c56;
623
+ .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
624
+ background: #54568c;
702
625
  }
703
- .eds-contrast .eds-form-control-wrapper:hover {
704
- border-color: #aeb7e2;
705
- background: #ebebf1;
626
+ .eds-checkbox__container:hover input + .eds-checkbox__icon {
627
+ border-color: #54568c;
628
+ background: #f3f3f3;
706
629
  }
707
- .eds-form-control-wrapper[focus-within] {
708
- box-shadow: inset 0 0 0 1px var(--border-color);
630
+ .eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
631
+ border-color: #656782;
632
+ background: #292b6a;
709
633
  }
710
- .eds-form-control-wrapper:focus-within {
711
- box-shadow: inset 0 0 0 1px var(--border-color);
634
+ .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
635
+ .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
636
+ border-color: #54568c;
637
+ background-color: #54568c;
712
638
  }
713
- .eds-contrast .eds-form-control-wrapper[focus-within] {
714
- border-color: #181c56;
715
- --border-color: #aeb7e2;
716
- box-shadow: 0 0 0 0.125rem var(--border-color);
639
+ .eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
640
+ .eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
641
+ background: #8285a8;
642
+ border-color: #8285a8;
717
643
  }
718
- .eds-contrast .eds-form-control-wrapper:focus-within {
719
- border-color: #181c56;
720
- --border-color: #aeb7e2;
721
- box-shadow: 0 0 0 0.125rem var(--border-color);
644
+ .eds-checkbox__container:focus + .eds-checkbox__icon,
645
+ .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
646
+ outline: none;
647
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
648
+ outline-offset: 0.125rem;
722
649
  }
723
- .eds-form-control-wrapper ::-moz-placeholder {
724
- color: #656782;
650
+ .eds-checkbox__container:focus + .eds-checkbox__icon,
651
+ .eds-checkbox__container :focus-within + .eds-checkbox__icon {
652
+ outline: none;
653
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
654
+ outline-offset: 0.125rem;
725
655
  }
726
- .eds-form-control-wrapper :-ms-input-placeholder {
727
- color: #656782;
656
+ .eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
657
+ .eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
658
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
728
659
  }
729
- .eds-form-control-wrapper ::placeholder {
730
- color: #656782;
660
+ .eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
661
+ .eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
662
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
731
663
  }
732
- .eds-form-control-wrapper--disabled {
733
- background-color: #e9e9e9;
734
- color: #656782;
735
- border-color: transparent;
664
+ .eds-checkbox--disabled {
736
665
  pointer-events: none;
737
666
  }
738
- .eds-form-control-wrapper--disabled::before, .eds-form-control-wrapper--disabled::after {
739
- display: none;
667
+ .eds-checkbox--disabled .eds-checkbox__label {
668
+ opacity: 0.5;
740
669
  }
741
- .eds-contrast .eds-form-control-wrapper--disabled {
742
- background: #292b6a;
743
- border-color: transparent;
744
- color: #8285a8;
670
+ .eds-checkbox--disabled .eds-checkbox__icon {
671
+ opacity: 0.5;
745
672
  }
746
- .eds-form-control-wrapper--readonly {
673
+ .eds-checkbox__icon {
674
+ display: inline-flex;
675
+ justify-content: center;
676
+ align-items: center;
677
+ position: relative;
678
+ margin-right: 1rem;
679
+ height: 1.25rem;
680
+ width: 1.25rem;
681
+ border: 0.125rem solid #181c56;
682
+ border-radius: 0.0625rem;
683
+ background-color: transparent;
684
+ color: #ffffff;
685
+ }
686
+ .eds-checkbox__icon--reduced-click-area {
687
+ margin-right: 0;
688
+ }
689
+ .eds-contrast .eds-checkbox__icon {
690
+ border-color: #54568c;
691
+ }
692
+ .eds-checkbox__icon .eds-checkbox-icon {
693
+ height: 1rem;
694
+ width: 1rem;
695
+ visibility: hidden;
696
+ }
697
+ .eds-checkbox__icon .eds-checkbox-icon__path {
698
+ transform-origin: 50% 50%;
699
+ stroke-dasharray: 48;
700
+ stroke-dashoffset: 48;
701
+ stroke-width: 0.375rem;
702
+ }
703
+
704
+ @-webkit-keyframes stroke {
705
+ 100% {
706
+ stroke-dashoffset: 0;
707
+ }
708
+ }
709
+
710
+ @keyframes stroke {
711
+ 100% {
712
+ stroke-dashoffset: 0;
713
+ }
714
+ }/* DO NOT CHANGE!*/
715
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
716
+ .eds-switch {
717
+ cursor: pointer;
718
+ -webkit-user-select: none;
719
+ -moz-user-select: none;
720
+ -ms-user-select: none;
721
+ user-select: none;
722
+ padding: 0.5rem 0;
723
+ width: -webkit-fit-content;
724
+ width: -moz-fit-content;
725
+ width: fit-content;
726
+ }
727
+ .eds-switch input {
728
+ opacity: 0;
747
729
  pointer-events: none;
748
- cursor: default;
749
- border-color: transparent;
750
- background: #f8f8f8;
751
- --textarea-label-background: $colors-greys-grey90;
730
+ position: absolute;
752
731
  }
753
- .eds-contrast .eds-form-control-wrapper--readonly {
754
- background: #292b6a;
755
- --textarea-label-background: $colors-blues-blue10;
756
- color: #ffffff;
757
- border-color: transparent;
732
+ .eds-switch--right {
733
+ display: flex;
734
+ flex-direction: row;
735
+ align-items: center;
758
736
  }
759
- .eds-form-control-wrapper--readonly::before, .eds-form-control-wrapper--readonly::after {
760
- display: none;
737
+ .eds-switch--bottom {
738
+ display: flex;
739
+ flex-direction: column;
740
+ align-items: center;
761
741
  }
762
- .eds-form-control-wrapper--size-medium .eds-form-control,
763
- .eds-form-control-wrapper--size-medium .eds-form-control__append,
764
- .eds-form-control-wrapper--size-medium .eds-form-control__prepend {
765
- font-size: 1rem;
766
- line-height: 1rem;
742
+ .eds-switch__circle {
743
+ border-radius: 50%;
744
+ height: 1.25rem;
745
+ width: 1.25rem;
746
+ content: "";
747
+ display: flex;
748
+ align-items: center;
749
+ justify-content: center;
750
+ transition: left 0.1s ease-in-out, background-color 0.1s ease-in-out;
751
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
752
+ background-color: #ffffff;
753
+ top: 0.125rem;
754
+ left: 0.125rem;
755
+ position: relative;
767
756
  }
768
- .eds-form-control-wrapper--size-large {
769
- min-height: 4rem;
770
- padding: 0 0.5rem;
757
+ .eds-switch__switch--large .eds-switch__circle {
758
+ height: 1.75rem;
759
+ width: 1.75rem;
771
760
  }
772
- .eds-form-control-wrapper--size-large::before, .eds-form-control-wrapper--size-large::after {
773
- border-width: 0.25rem;
761
+ .eds-switch .eds-switch__switch svg g,
762
+ .eds-switch .eds-switch__switch path {
763
+ fill: #949494;
764
+ transition: fill ease-in-out 0.1s;
774
765
  }
775
- .eds-form-control-wrapper--size-large .eds-form-control,
776
- .eds-form-control-wrapper--size-large .eds-form-control__append,
777
- .eds-form-control-wrapper--size-large .eds-form-control__prepend {
778
- font-size: 1.5rem;
779
- line-height: 2.25rem;
766
+ .eds-switch__switch {
767
+ position: relative;
768
+ background-color: #d1d3d3;
769
+ content: "";
770
+ display: block;
771
+ transition: background-color 0.1s ease-in-out;
772
+ height: 1.5rem;
773
+ width: 3rem;
774
+ border-radius: 1.5rem;
780
775
  }
781
- .eds-form-control-wrapper--success {
782
- border-color: #1a8e60;
783
- --border-color: #1a8e60;
776
+ .eds-switch--right .eds-switch__switch {
777
+ margin-right: 0.75rem;
784
778
  }
785
- .eds-form-control-wrapper--success:hover {
786
- border-color: #5ac39a;
779
+ :checked + .eds-switch__switch {
780
+ background-color: var(--eds-switch-color);
787
781
  }
788
- .eds-form-control-wrapper--success[focus-within] {
789
- border-color: #1a8e60;
782
+ :checked + .eds-switch__switch .eds-switch__circle {
783
+ left: 1.625rem;
790
784
  }
791
- .eds-form-control-wrapper--success:focus-within {
792
- border-color: #1a8e60;
785
+ :checked + .eds-switch__switch .eds-switch__circle svg g,
786
+ :checked + .eds-switch__switch .eds-switch__circle path {
787
+ fill: var(--eds-switch-color);
793
788
  }
794
- .eds-contrast .eds-form-control-wrapper--success {
795
- border-color: #5ac39a;
796
- --border-color: #5ac39a;
789
+ .eds-contrast :checked + .eds-switch__switch .eds-switch__circle svg g,
790
+ .eds-contrast :checked + .eds-switch__switch .eds-switch__circle path {
791
+ fill: var(--eds-switch-color);
797
792
  }
798
- .eds-contrast .eds-form-control-wrapper--success:hover {
799
- border-color: #1a8e60;
793
+ .eds-contrast :checked + .eds-switch__switch {
794
+ background-color: var(--eds-switch-contrast-color);
800
795
  }
801
- .eds-contrast .eds-form-control-wrapper--success[focus-within] {
802
- --border-color: #5ac39a;
803
- border-color: #181c56;
796
+ :focus + .eds-switch__switch {
797
+ outline: none;
798
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
799
+ outline-offset: 0.125rem;
804
800
  }
805
- .eds-contrast .eds-form-control-wrapper--success:focus-within {
806
- --border-color: #5ac39a;
807
- border-color: #181c56;
801
+ .eds-contrast :focus + .eds-switch__switch {
802
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
808
803
  }
809
- .eds-form-control-wrapper--error {
810
- border-color: #d31b1b;
811
- --border-color: #d31b1b;
804
+ .eds-contrast .eds-switch__switch {
805
+ background-color: #54568c;
812
806
  }
813
- .eds-form-control-wrapper--error:hover {
814
- border-color: #ff9494;
807
+ .eds-switch__switch--large {
808
+ width: 3.75rem;
809
+ height: 2rem;
810
+ border-radius: 3.75rem;
815
811
  }
816
- .eds-form-control-wrapper--error[focus-within] {
817
- border-color: #d31b1b;
812
+ :checked + .eds-switch__switch--large .eds-switch__circle {
813
+ left: 1.875rem;
818
814
  }
819
- .eds-form-control-wrapper--error:focus-within {
820
- border-color: #d31b1b;
815
+ .eds-switch__label--large--right {
816
+ font-size: 1rem;
821
817
  }
822
- .eds-contrast .eds-form-control-wrapper--error {
823
- border-color: #ff9494;
824
- --border-color: #ff9494;
818
+ .eds-switch__label--large--bottom {
819
+ font-size: 0.875rem;
825
820
  }
826
- .eds-contrast .eds-form-control-wrapper--error:hover {
827
- border-color: #d31b1b;
821
+ .eds-switch__label--medium--right {
822
+ font-size: 0.875rem;
828
823
  }
829
- .eds-contrast .eds-form-control-wrapper--error[focus-within] {
824
+ .eds-switch__label--medium--bottom {
825
+ font-size: 0.75rem;
826
+ }/* DO NOT CHANGE!*/
827
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
828
+ .eds-radio-panel__wrapper[focus-within] .eds-radio-panel__container {
830
829
  border-color: #181c56;
831
- --border-color: #ff9494;
830
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
832
831
  }
833
- .eds-contrast .eds-form-control-wrapper--error:focus-within {
832
+ .eds-radio-panel__wrapper:focus-within .eds-radio-panel__container {
834
833
  border-color: #181c56;
835
- --border-color: #ff9494;
836
- }
837
- .eds-contrast .eds-form-control-wrapper--dark {
838
- background-color: #181c56;
839
- color: #ffffff;
834
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
840
835
  }
841
- .eds-contrast .eds-form-control-wrapper--dark ::-moz-placeholder {
842
- color: #aeb7e2;
836
+ .eds-contrast .eds-radio-panel__wrapper[focus-within] .eds-radio-panel__container {
837
+ border-color: #ffffff;
838
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
843
839
  }
844
- .eds-contrast .eds-form-control-wrapper--dark :-ms-input-placeholder {
845
- color: #aeb7e2;
840
+ .eds-contrast .eds-radio-panel__wrapper:focus-within .eds-radio-panel__container {
841
+ border-color: #ffffff;
842
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
846
843
  }
847
- .eds-contrast .eds-form-control-wrapper--dark ::placeholder {
848
- color: #aeb7e2;
844
+ .eds-radio-panel__wrapper input {
845
+ position: absolute;
846
+ opacity: 0;
847
+ cursor: pointer;
848
+ height: 0;
849
+ width: 0;
849
850
  }
850
- .eds-contrast .eds-form-control-wrapper--dark:hover {
851
- border-color: #aeb7e2;
851
+ .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container {
852
+ border-color: #181c56;
853
+ background: #f5f5f8;
852
854
  }
853
- .eds-contrast .eds-form-control-wrapper--dark[focus-within] {
854
- background-color: #292b6a;
855
+ .eds-contrast .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container {
855
856
  border-color: #aeb7e2;
857
+ background: #393d79;
856
858
  }
857
- .eds-contrast .eds-form-control-wrapper--dark:focus-within {
858
- background-color: #292b6a;
859
- border-color: #aeb7e2;
859
+ .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check {
860
+ background-color: #181c56;
861
+ border-color: #181c56;
860
862
  }
861
- .eds-contrast .eds-form-control-wrapper--dark * {
862
- background-color: transparent;
863
- color: inherit;
863
+ .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check .eds-checkbox-icon {
864
+ visibility: visible;
864
865
  }
865
- .eds-contrast .eds-form-control-wrapper--dark.eds-form-control-wrapper--disabled {
866
- background-color: #292b6a;
867
- color: #8285a8;
866
+ .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check .eds-checkbox-icon__path {
867
+ stroke: #5ac39a;
868
+ -webkit-animation: stroke ease-in-out 0.2s 0.1s forwards;
869
+ animation: stroke ease-in-out 0.2s 0.1s forwards;
868
870
  }
869
-
870
- .eds-form-control {
871
- -webkit-appearance: none;
872
- -moz-appearance: none;
873
- appearance: none;
874
- background-color: transparent;
875
- border: 0;
876
- color: inherit;
877
- display: block;
878
- font-family: inherit;
879
- line-height: 1rem;
880
- font-size: 1rem;
881
- padding: 20px 1rem 0.25rem;
882
- width: 100%;
871
+ .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check--disabled {
872
+ opacity: 0.5;
883
873
  }
884
- .eds-form-control::-moz-placeholder {
885
- opacity: 0;
886
- -moz-transition: opacity 0.2s ease-in-out;
887
- transition: opacity 0.2s ease-in-out;
874
+ .eds-radio-panel__wrapper input:checked + .eds-radio-panel__container .eds-radio-panel__check--disabled .eds-checkbox-icon__path {
875
+ opacity: 0.5;
888
876
  }
889
- .eds-form-control:-ms-input-placeholder {
890
- opacity: 0;
891
- -ms-transition: opacity 0.2s ease-in-out;
892
- transition: opacity 0.2s ease-in-out;
877
+ .eds-radio-panel__container {
878
+ background: #ffffff;
879
+ border: 0.125rem solid #d1d3d3;
880
+ border-radius: 0.25rem;
881
+ display: flex;
882
+ flex-direction: column;
883
+ justify-content: flex-start;
884
+ min-width: 20rem;
885
+ position: relative;
886
+ padding: 1rem;
887
+ -webkit-user-select: none;
888
+ -moz-user-select: none;
889
+ -ms-user-select: none;
890
+ user-select: none;
891
+ width: -webkit-fit-content;
892
+ width: -moz-fit-content;
893
+ width: fit-content;
893
894
  }
894
- .eds-form-control::placeholder {
895
- opacity: 0;
896
- transition: opacity 0.2s ease-in-out;
895
+ .eds-contrast .eds-radio-panel__container {
896
+ background: #181c56;
897
+ border-color: #54568c;
897
898
  }
898
- .eds-form-control:focus {
899
- outline: none;
899
+ .eds-radio-panel__title-wrapper {
900
+ display: flex;
901
+ justify-content: space-between;
902
+ align-items: center;
900
903
  }
901
- .eds-form-control:focus::-moz-placeholder {
902
- opacity: 1;
904
+ .eds-radio-panel__label {
905
+ display: flex;
906
+ justify-content: center;
903
907
  }
904
- .eds-form-control:focus:-ms-input-placeholder {
905
- opacity: 1;
908
+ .eds-radio-panel__check {
909
+ height: 2rem;
910
+ width: 2rem;
911
+ margin-left: 1rem;
912
+ border-radius: 50%;
913
+ border: 0.125rem solid #e9e9e9;
914
+ display: flex;
915
+ align-items: center;
916
+ justify-content: center;
917
+ background: #ffffff;
918
+ transition: background ease-in-out 0.1s, border-color ease-in-out 0.1s;
906
919
  }
907
- .eds-form-control:focus::placeholder {
908
- opacity: 1;
920
+ .eds-contrast .eds-radio-panel__check {
921
+ background: #181c56;
922
+ border-color: #54568c;
909
923
  }
910
- .eds-form-control__prepend, .eds-form-control__append {
911
- position: relative;
912
- margin: 0 1rem;
913
- line-height: inherit;
924
+ .eds-radio-panel__additional-content {
925
+ margin-top: 0.25rem;
926
+ word-wrap: break-word;
914
927
  }
915
- .eds-form-control__prepend--tooltip, .eds-form-control__append--tooltip {
916
- position: static;
928
+ .eds-radio-panel--medium .eds-radio-panel__title {
929
+ font-size: 1rem;
930
+ font-weight: 500;
917
931
  }
918
- .eds-form-control__prepend svg, .eds-form-control__append svg {
919
- top: 0.125rem;
932
+ .eds-radio-panel--medium.eds-radio-panel__container {
933
+ padding-bottom: 1rem;
934
+ min-height: 3.75rem;
920
935
  }
921
- .eds-form-control__prepend {
922
- margin-right: 0;
936
+ .eds-radio-panel--large.eds-radio-panel__container {
937
+ min-height: 6.5rem;
923
938
  }
924
- .eds-form-control__append {
925
- margin-left: 0;
926
- }/* DO NOT CHANGE!*/
927
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
928
- textarea.eds-form-control.eds-textarea {
929
- min-height: 7.75rem;
930
- resize: vertical;
931
- line-height: 1.5rem;
932
- }/* DO NOT CHANGE!*/
933
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
934
- .eds-textfield__clear-button {
935
- background: none;
936
- border: none;
937
- border-radius: 50%;
938
- color: inherit;
939
- cursor: pointer;
940
- display: flex;
941
- font: inherit;
942
- font-size: 1rem;
943
- line-height: 1rem;
944
- padding: 0.5rem;
945
- margin-right: -0.75rem;
939
+ .eds-radio-panel--large .eds-radio-panel__title-wrapper {
940
+ height: 2rem;
946
941
  }
947
- .eds-textfield__clear-button-wrapper {
948
- display: flex;
949
- align-items: center;
942
+ .eds-radio-panel--large .eds-radio-panel__title {
943
+ font-size: 1.25rem;
944
+ font-weight: 500;
945
+ line-height: 1.875rem;
950
946
  }
951
- .eds-textfield__clear-button:hover {
947
+ .eds-radio-panel--disabled {
952
948
  background: #f3f3f3;
949
+ border-color: #f3f3f3;
950
+ color: #656782;
953
951
  }
954
- .eds-textfield__clear-button:focus {
955
- outline: none;
956
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
952
+ .eds-contrast .eds-radio-panel--disabled {
953
+ background: #181c56;
954
+ border-style: dashed;
955
+ border-color: #54568c;
956
+ color: #babbcf;
957
957
  }
958
958
 
959
- .eds-textfield__divider {
960
- content: "";
961
- display: block;
962
- background-color: #e9e9e9;
963
- height: 1.5rem;
964
- width: 1px;
959
+ .eds-checkbox-icon {
960
+ width: 1.5em;
961
+ height: 1.5em;
965
962
  }
966
- .eds-contrast .eds-form-control-wrapper--disabled .eds-textfield__divider {
967
- background-color: #8285a8;
963
+ .eds-checkbox-icon__path {
964
+ transform-origin: 50% 50%;
965
+ stroke-dasharray: 48;
966
+ stroke-dashoffset: 48;
967
+ stroke-width: 0.375rem;
968
+ }/* DO NOT CHANGE!*/
969
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
970
+ .eds-segmented-control {
971
+ margin-top: 0.25rem;
972
+ display: flex;
973
+ background: #d1d4e3;
974
+ border-radius: 0.25rem;
975
+ }
976
+ .eds-contrast .eds-segmented-control {
977
+ background: #393d79;
968
978
  }/* DO NOT CHANGE!*/
969
979
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
970
980
  .eds-segmented-choice {
@@ -1034,14 +1044,4 @@ textarea.eds-form-control.eds-textarea {
1034
1044
  }
1035
1045
  .eds-contrast .eds-segmented-choice:hover input:checked + .eds-base-segmented {
1036
1046
  --background-color: #d1d4e3;
1037
- }/* DO NOT CHANGE!*/
1038
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
1039
- .eds-segmented-control {
1040
- margin-top: 0.25rem;
1041
- display: flex;
1042
- background: #d1d4e3;
1043
- border-radius: 0.25rem;
1044
- }
1045
- .eds-contrast .eds-segmented-control {
1046
- background: #393d79;
1047
1047
  }