@entur/form 8.2.7 → 8.2.9
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/Radio.d.ts +8 -0
- package/dist/form.cjs.development.js.map +1 -1
- package/dist/form.cjs.production.min.js.map +1 -1
- package/dist/form.esm.js.map +1 -1
- package/dist/styles.css +375 -309
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -1,78 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-feedback-text {
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: center;
|
|
6
|
-
margin-top: 0.25rem;
|
|
7
|
-
}
|
|
8
|
-
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
9
|
-
padding-left: calc(1rem + 0.125rem);
|
|
10
|
-
}
|
|
11
|
-
.eds-feedback-text__text {
|
|
12
|
-
color: var(--components-form-feedbacktext-information-standard-text);
|
|
13
|
-
}
|
|
14
|
-
.eds-contrast .eds-feedback-text__text {
|
|
15
|
-
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.eds-feedback-text__icon {
|
|
19
|
-
font-size: 1.5rem;
|
|
20
|
-
min-height: 1.5rem;
|
|
21
|
-
min-width: 1.5rem;
|
|
22
|
-
padding-right: 0.5rem;
|
|
23
|
-
position: relative;
|
|
24
|
-
top: -0.1rem;
|
|
25
|
-
}
|
|
26
|
-
.eds-feedback-text__icon--success {
|
|
27
|
-
color: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
28
|
-
}
|
|
29
|
-
.eds-feedback-text__icon--success circle {
|
|
30
|
-
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
31
|
-
}
|
|
32
|
-
.eds-contrast .eds-feedback-text__icon--success {
|
|
33
|
-
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
34
|
-
}
|
|
35
|
-
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
36
|
-
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
37
|
-
}
|
|
38
|
-
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
39
|
-
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
40
|
-
}
|
|
41
|
-
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
42
|
-
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
43
|
-
}
|
|
44
|
-
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
45
|
-
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
46
|
-
}
|
|
47
|
-
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
48
|
-
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
49
|
-
}
|
|
50
|
-
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
51
|
-
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
52
|
-
}
|
|
53
|
-
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
54
|
-
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
55
|
-
}
|
|
56
|
-
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
57
|
-
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
58
|
-
}
|
|
59
|
-
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
60
|
-
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
61
|
-
}
|
|
62
|
-
.eds-feedback-text__icon--warning {
|
|
63
|
-
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
64
|
-
}
|
|
65
|
-
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
66
|
-
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
67
|
-
}
|
|
68
|
-
.eds-contrast .eds-feedback-text__icon--warning {
|
|
69
|
-
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
70
|
-
}
|
|
71
|
-
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
72
|
-
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
73
|
-
}
|
|
74
|
-
/* DO NOT CHANGE!*/
|
|
75
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
76
3
|
.eds-checkbox__container {
|
|
77
4
|
display: flex;
|
|
78
5
|
align-items: center;
|
|
@@ -112,52 +39,52 @@
|
|
|
112
39
|
fill: var(--components-form-checkbox-standard-icon);
|
|
113
40
|
}
|
|
114
41
|
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
|
|
115
|
-
|
|
42
|
+
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
116
43
|
}
|
|
117
44
|
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
|
|
118
|
-
|
|
45
|
+
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
119
46
|
}
|
|
120
47
|
.eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
|
|
121
|
-
|
|
48
|
+
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
122
49
|
}
|
|
123
50
|
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
|
|
124
|
-
|
|
51
|
+
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
125
52
|
}
|
|
126
53
|
.eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
|
|
127
|
-
|
|
54
|
+
background-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
128
55
|
}
|
|
129
|
-
.eds-
|
|
130
|
-
|
|
56
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast {
|
|
57
|
+
color: var(--components-form-checkbox-contrast-fill-selected);
|
|
131
58
|
}
|
|
132
|
-
.eds-
|
|
59
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast path {
|
|
133
60
|
stroke: var(--components-form-checkbox-contrast-icon);
|
|
134
61
|
}
|
|
135
|
-
.eds-
|
|
62
|
+
.eds-checkbox__container input:checked + .eds-checkbox__icon .eds-contrast rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-contrast rect {
|
|
136
63
|
fill: var(--components-form-checkbox-contrast-icon);
|
|
137
64
|
}
|
|
138
|
-
.eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
65
|
+
.eds-checkbox__container:hover(:not(:has(input:disabled))) input + .eds-checkbox__icon {
|
|
139
66
|
border-color: var(--components-form-checkbox-standard-border);
|
|
140
67
|
background-color: var(--components-form-checkbox-standard-fill-hover);
|
|
141
68
|
}
|
|
142
|
-
.eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
|
|
69
|
+
.eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input + .eds-checkbox__icon {
|
|
143
70
|
border-color: var(--components-form-checkbox-contrast-border);
|
|
144
71
|
background-color: var(--components-form-checkbox-contrast-fill-hover);
|
|
145
72
|
}
|
|
146
|
-
.eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
147
|
-
.eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
73
|
+
.eds-checkbox__container:hover(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
|
|
74
|
+
.eds-checkbox__container:hover(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon:not(.eds-checkbox--disabled) {
|
|
148
75
|
border-color: transparent;
|
|
149
76
|
background-color: var(--components-form-checkbox-standard-fill-selectedhover);
|
|
150
77
|
}
|
|
151
|
-
.eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
|
|
152
|
-
.eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
|
|
78
|
+
.eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
|
|
79
|
+
.eds-contrast .eds-checkbox__container:hover(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon:not(.eds-checkbox--disabled) {
|
|
153
80
|
background-color: var(--components-form-checkbox-contrast-fill-selectedhover);
|
|
154
81
|
}
|
|
155
|
-
.eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
156
|
-
.eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
82
|
+
.eds-checkbox__container:active(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
|
|
83
|
+
.eds-checkbox__container:active(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon {
|
|
157
84
|
background-color: var(--components-form-checkbox-standard-fill-selected);
|
|
158
85
|
}
|
|
159
|
-
.eds-contrast .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
|
|
160
|
-
.eds-contrast .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
|
|
86
|
+
.eds-contrast .eds-checkbox__container:active(:not(:has(input:disabled))) input:checked + .eds-checkbox__icon,
|
|
87
|
+
.eds-contrast .eds-checkbox__container:active(:not(:has(input:disabled))) input:indeterminate + .eds-checkbox__icon {
|
|
161
88
|
background-color: var(--components-form-checkbox-contrast-fill-selected);
|
|
162
89
|
}
|
|
163
90
|
.eds-checkbox__container:has(:focus-visible) .eds-checkbox__icon {
|
|
@@ -169,13 +96,19 @@
|
|
|
169
96
|
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
170
97
|
}
|
|
171
98
|
.eds-checkbox--disabled {
|
|
99
|
+
cursor: not-allowed;
|
|
100
|
+
}
|
|
101
|
+
.eds-checkbox--disabled input {
|
|
172
102
|
pointer-events: none;
|
|
173
103
|
}
|
|
174
104
|
.eds-checkbox--disabled .eds-checkbox__label {
|
|
175
105
|
opacity: 0.5;
|
|
176
106
|
}
|
|
177
107
|
.eds-checkbox--disabled .eds-checkbox__icon {
|
|
178
|
-
|
|
108
|
+
border-color: var(--components-form-checkbox-standard-icon-disabled);
|
|
109
|
+
}
|
|
110
|
+
.eds-contrast .eds-checkbox--disabled .eds-checkbox__icon {
|
|
111
|
+
border-color: var(--components-form-checkbox-contrast-icon-disabled);
|
|
179
112
|
}
|
|
180
113
|
.eds-checkbox__icon {
|
|
181
114
|
box-sizing: border-box;
|
|
@@ -214,10 +147,78 @@
|
|
|
214
147
|
stroke-dashoffset: 0;
|
|
215
148
|
}
|
|
216
149
|
}
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
150
|
+
/* DO NOT CHANGE!*/
|
|
151
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
152
|
+
.eds-feedback-text {
|
|
153
|
+
display: flex;
|
|
154
|
+
align-items: center;
|
|
155
|
+
margin-top: 0.25rem;
|
|
156
|
+
}
|
|
157
|
+
.eds-feedback-text--info, .eds-feedback-text--information {
|
|
158
|
+
padding-left: calc(1rem + 0.125rem);
|
|
159
|
+
}
|
|
160
|
+
.eds-feedback-text__text {
|
|
161
|
+
color: var(--components-form-feedbacktext-information-standard-text);
|
|
162
|
+
}
|
|
163
|
+
.eds-contrast .eds-feedback-text__text {
|
|
164
|
+
color: var(--components-form-feedbacktext-information-contrast-text);
|
|
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;
|
|
172
|
+
position: relative;
|
|
173
|
+
top: -0.1rem;
|
|
174
|
+
}
|
|
175
|
+
.eds-feedback-text__icon--success {
|
|
176
|
+
color: var(--components-form-feedbacktext-success-standard-icon-fill);
|
|
177
|
+
}
|
|
178
|
+
.eds-feedback-text__icon--success circle {
|
|
179
|
+
fill: var(--components-form-feedbacktext-success-standard-icon-symbol);
|
|
180
|
+
}
|
|
181
|
+
.eds-contrast .eds-feedback-text__icon--success {
|
|
182
|
+
color: var(--components-form-feedbacktext-success-contrast-icon-fill);
|
|
183
|
+
}
|
|
184
|
+
.eds-contrast .eds-feedback-text__icon--success circle {
|
|
185
|
+
fill: var(--components-form-feedbacktext-success-contrast-icon-symbol);
|
|
186
|
+
}
|
|
187
|
+
.eds-feedback-text__icon--error, .eds-feedback-text__icon--negative {
|
|
188
|
+
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
189
|
+
}
|
|
190
|
+
.eds-feedback-text__icon--error circle, .eds-feedback-text__icon--negative circle {
|
|
191
|
+
fill: var(--components-form-feedbacktext-negative-standard-icon-symbol);
|
|
192
|
+
}
|
|
193
|
+
.eds-contrast .eds-feedback-text__icon--error, .eds-contrast .eds-feedback-text__icon--negative {
|
|
194
|
+
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
195
|
+
}
|
|
196
|
+
.eds-contrast .eds-feedback-text__icon--error circle, .eds-contrast .eds-feedback-text__icon--negative circle {
|
|
197
|
+
fill: var(--components-form-feedbacktext-negative-contrast-icon-symbol);
|
|
198
|
+
}
|
|
199
|
+
.eds-feedback-text__icon--info, .eds-feedback-text__icon--information {
|
|
200
|
+
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
201
|
+
}
|
|
202
|
+
.eds-feedback-text__icon--info circle, .eds-feedback-text__icon--information circle {
|
|
203
|
+
fill: var(--components-form-feedbacktext-information-standard-icon-symbol);
|
|
204
|
+
}
|
|
205
|
+
.eds-contrast .eds-feedback-text__icon--info, .eds-contrast .eds-feedback-text__icon--information {
|
|
206
|
+
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
207
|
+
}
|
|
208
|
+
.eds-contrast .eds-feedback-text__icon--info circle, .eds-contrast .eds-feedback-text__icon--information circle {
|
|
209
|
+
fill: var(--components-form-feedbacktext-information-contrast-icon-symbol);
|
|
210
|
+
}
|
|
211
|
+
.eds-feedback-text__icon--warning {
|
|
212
|
+
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
213
|
+
}
|
|
214
|
+
.eds-feedback-text__icon--warning .svg-exclamation {
|
|
215
|
+
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
216
|
+
}
|
|
217
|
+
.eds-contrast .eds-feedback-text__icon--warning {
|
|
218
|
+
color: var(--components-form-feedbacktext-warning-contrast-icon-fill);
|
|
219
|
+
}
|
|
220
|
+
.eds-contrast .eds-feedback-text__icon--warning circle {
|
|
221
|
+
fill: var(--components-form-feedbacktext-warning-contrast-icon-symbol);
|
|
221
222
|
}
|
|
222
223
|
/* DO NOT CHANGE!*/
|
|
223
224
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -429,6 +430,99 @@
|
|
|
429
430
|
}
|
|
430
431
|
/* DO NOT CHANGE!*/
|
|
431
432
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
433
|
+
.eds-input-group {
|
|
434
|
+
color: inherit;
|
|
435
|
+
display: block;
|
|
436
|
+
position: relative;
|
|
437
|
+
}
|
|
438
|
+
.eds-input-group__label {
|
|
439
|
+
color: var(--components-form-baseform-standard-text-label);
|
|
440
|
+
display: flex;
|
|
441
|
+
font-size: 1rem;
|
|
442
|
+
position: absolute;
|
|
443
|
+
line-height: 1rem;
|
|
444
|
+
height: 3rem;
|
|
445
|
+
padding-left: 0;
|
|
446
|
+
top: 1rem;
|
|
447
|
+
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;
|
|
448
|
+
-webkit-user-select: none;
|
|
449
|
+
-moz-user-select: none;
|
|
450
|
+
user-select: none;
|
|
451
|
+
pointer-events: none;
|
|
452
|
+
}
|
|
453
|
+
.eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
454
|
+
top: 0.375rem;
|
|
455
|
+
font-size: 0.75rem;
|
|
456
|
+
line-height: 0.75rem;
|
|
457
|
+
height: 10px;
|
|
458
|
+
padding: 0;
|
|
459
|
+
}
|
|
460
|
+
.eds-textarea__label .eds-form-control-wrapper--is-filled .eds-input-group__label {
|
|
461
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
462
|
+
background: var(--textarea-label-background);
|
|
463
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
464
|
+
}
|
|
465
|
+
.eds-form-control-wrapper--is-filled.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
466
|
+
top: 0.5rem;
|
|
467
|
+
font-size: 0.875rem;
|
|
468
|
+
line-height: 1rem;
|
|
469
|
+
padding: 0;
|
|
470
|
+
}
|
|
471
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label {
|
|
472
|
+
top: 0.75rem;
|
|
473
|
+
font-size: 1.5rem;
|
|
474
|
+
line-height: 2.25rem;
|
|
475
|
+
}
|
|
476
|
+
.eds-input-group__label--filled {
|
|
477
|
+
top: 0.375rem;
|
|
478
|
+
font-size: 0.75rem;
|
|
479
|
+
line-height: 0.75rem;
|
|
480
|
+
height: 10px;
|
|
481
|
+
padding: 0;
|
|
482
|
+
}
|
|
483
|
+
.eds-textarea__label .eds-input-group__label--filled {
|
|
484
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
485
|
+
background: var(--textarea-label-background);
|
|
486
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
487
|
+
}
|
|
488
|
+
.eds-form-control-wrapper--size-large .eds-input-group__label--filled {
|
|
489
|
+
top: 0.5rem;
|
|
490
|
+
font-size: 0.875rem;
|
|
491
|
+
line-height: 1rem;
|
|
492
|
+
padding: 0;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
496
|
+
top: 0.375rem;
|
|
497
|
+
font-size: 0.75rem;
|
|
498
|
+
line-height: 0.75rem;
|
|
499
|
+
height: 10px;
|
|
500
|
+
padding: 0;
|
|
501
|
+
}
|
|
502
|
+
.eds-textarea__label .eds-form-control-wrapper:focus-within .eds-input-group__label {
|
|
503
|
+
box-shadow: 0px -2px 0px 4px var(--textarea-label-background);
|
|
504
|
+
background: var(--textarea-label-background);
|
|
505
|
+
width: calc(100% - 1rem - 1rem - 4px);
|
|
506
|
+
}
|
|
507
|
+
.eds-form-control-wrapper--size-large:focus-within .eds-input-group__label {
|
|
508
|
+
top: 0.5rem;
|
|
509
|
+
font-size: 0.875rem;
|
|
510
|
+
line-height: 1rem;
|
|
511
|
+
padding: 0;
|
|
512
|
+
}
|
|
513
|
+
.eds-form-control-wrapper--disabled:focus-within .eds-input-group__label {
|
|
514
|
+
top: 1rem;
|
|
515
|
+
font-size: 1rem;
|
|
516
|
+
height: 3rem;
|
|
517
|
+
line-height: 1rem;
|
|
518
|
+
}
|
|
519
|
+
.eds-fieldset {
|
|
520
|
+
margin: 0;
|
|
521
|
+
padding: 0;
|
|
522
|
+
border: 0;
|
|
523
|
+
}
|
|
524
|
+
/* DO NOT CHANGE!*/
|
|
525
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
432
526
|
.eds-form-component--radio__container {
|
|
433
527
|
display: flex;
|
|
434
528
|
justify-content: center;
|
|
@@ -467,6 +561,9 @@
|
|
|
467
561
|
.eds-contrast .eds-form-component--radio__container input:focus-visible ~ .eds-form-component--radio__radio {
|
|
468
562
|
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
469
563
|
}
|
|
564
|
+
.eds-form-component--radio__container:has(input:disabled) {
|
|
565
|
+
cursor: not-allowed;
|
|
566
|
+
}
|
|
470
567
|
.eds-form-component--radio__container .eds-form-component--radio__radio {
|
|
471
568
|
position: relative;
|
|
472
569
|
height: 1.25rem;
|
|
@@ -484,19 +581,28 @@
|
|
|
484
581
|
border-color: var(--components-form-radio-contrast-border);
|
|
485
582
|
}
|
|
486
583
|
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
487
|
-
background: var(--components-form-
|
|
488
|
-
border-color: var(--components-form-
|
|
489
|
-
cursor: not-allowed;
|
|
584
|
+
background: var(--components-form-radio-contrast-fill-disabled);
|
|
585
|
+
border-color: var(--components-form-radio-contrast-text-disabled);
|
|
490
586
|
}
|
|
491
587
|
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled:hover {
|
|
492
|
-
border-color: var(--components-form-
|
|
588
|
+
border-color: var(--components-form-radio-contrast-text-disabled);
|
|
493
589
|
}
|
|
494
590
|
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled {
|
|
495
|
-
background: var(--components-form-
|
|
496
|
-
border-color: var(--components-form-
|
|
591
|
+
background: var(--components-form-radio-contrast-fill-disabled);
|
|
592
|
+
border-color: var(--components-form-radio-contrast-text-disabled);
|
|
497
593
|
}
|
|
498
594
|
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled ~ .eds-form-component--radio__label {
|
|
499
|
-
color: var(--components-form-
|
|
595
|
+
color: var(--components-form-radio-contrast-text-disabled);
|
|
596
|
+
}
|
|
597
|
+
.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 {
|
|
598
|
+
background-color: var(--components-form-radio-standard-icon-disabled);
|
|
599
|
+
border-color: var(--components-form-radio-contrast-text-disabled);
|
|
600
|
+
}
|
|
601
|
+
.eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled .eds-form-component--radio__circle {
|
|
602
|
+
background-color: var(--components-form-radio-standard-icon-disabled);
|
|
603
|
+
}
|
|
604
|
+
.eds-contrast .eds-form-component--radio__container .eds-form-component--radio__radio.eds-form-component--radio__radio--disabled .eds-form-component--radio__circle {
|
|
605
|
+
background-color: var(--components-form-radio-contrast-icon-disabled);
|
|
500
606
|
}
|
|
501
607
|
.eds-form-component--radio__container .eds-form-component--radio__radio .eds-form-component--radio__circle {
|
|
502
608
|
display: block;
|
|
@@ -583,138 +689,50 @@
|
|
|
583
689
|
.eds-contrast .eds-switch__switch path {
|
|
584
690
|
fill: var(--components-form-switch-contrast-icon-false);
|
|
585
691
|
}
|
|
586
|
-
:checked + .eds-switch__switch {
|
|
587
|
-
background-color: var(--eds-switch-color);
|
|
588
|
-
}
|
|
589
|
-
:checked + .eds-switch__switch .eds-switch__circle {
|
|
590
|
-
left: 1.625rem;
|
|
591
|
-
}
|
|
592
|
-
:checked + .eds-switch__switch .eds-switch__circle svg g,
|
|
593
|
-
:checked + .eds-switch__switch .eds-switch__circle path {
|
|
594
|
-
fill: var(--eds-switch-color);
|
|
595
|
-
}
|
|
596
|
-
.eds-contrast :checked + .eds-switch__switch {
|
|
597
|
-
background-color: var(--eds-switch-contrast-color);
|
|
598
|
-
}
|
|
599
|
-
:focus-visible + .eds-switch__switch {
|
|
600
|
-
outline: 2px solid #181c56;
|
|
601
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
602
|
-
outline-offset: 0.125rem;
|
|
603
|
-
}
|
|
604
|
-
.eds-contrast :focus-visible + .eds-switch__switch {
|
|
605
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
606
|
-
}
|
|
607
|
-
.eds-switch__switch--large {
|
|
608
|
-
width: 3.75rem;
|
|
609
|
-
height: 2rem;
|
|
610
|
-
border-radius: 3.75rem;
|
|
611
|
-
}
|
|
612
|
-
:checked + .eds-switch__switch--large .eds-switch__circle {
|
|
613
|
-
left: 1.875rem;
|
|
614
|
-
}
|
|
615
|
-
.eds-switch__switch--large svg {
|
|
616
|
-
position: relative;
|
|
617
|
-
right: 0.05rem;
|
|
618
|
-
}
|
|
619
|
-
.eds-switch__label--large--right {
|
|
620
|
-
font-size: 1rem;
|
|
621
|
-
}
|
|
622
|
-
.eds-switch__label--large--bottom {
|
|
623
|
-
font-size: 0.875rem;
|
|
624
|
-
}
|
|
625
|
-
.eds-switch__label--medium--right {
|
|
626
|
-
font-size: 0.875rem;
|
|
627
|
-
}
|
|
628
|
-
.eds-switch__label--medium--bottom {
|
|
629
|
-
font-size: 0.75rem;
|
|
630
|
-
}
|
|
631
|
-
/* DO NOT CHANGE!*/
|
|
632
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
633
|
-
.eds-input-group {
|
|
634
|
-
color: inherit;
|
|
635
|
-
display: block;
|
|
636
|
-
position: relative;
|
|
637
|
-
}
|
|
638
|
-
.eds-input-group__label {
|
|
639
|
-
color: var(--components-form-baseform-standard-text-label);
|
|
640
|
-
display: flex;
|
|
641
|
-
font-size: 1rem;
|
|
642
|
-
position: absolute;
|
|
643
|
-
line-height: 1rem;
|
|
644
|
-
height: 3rem;
|
|
645
|
-
padding-left: 0;
|
|
646
|
-
top: 1rem;
|
|
647
|
-
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;
|
|
648
|
-
-webkit-user-select: none;
|
|
649
|
-
-moz-user-select: none;
|
|
650
|
-
user-select: none;
|
|
651
|
-
pointer-events: none;
|
|
692
|
+
:checked + .eds-switch__switch {
|
|
693
|
+
background-color: var(--eds-switch-color);
|
|
652
694
|
}
|
|
653
|
-
.eds-
|
|
654
|
-
|
|
655
|
-
font-size: 0.75rem;
|
|
656
|
-
line-height: 0.75rem;
|
|
657
|
-
height: 10px;
|
|
658
|
-
padding: 0;
|
|
695
|
+
:checked + .eds-switch__switch .eds-switch__circle {
|
|
696
|
+
left: 1.625rem;
|
|
659
697
|
}
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
698
|
+
:checked + .eds-switch__switch .eds-switch__circle svg g,
|
|
699
|
+
:checked + .eds-switch__switch .eds-switch__circle path {
|
|
700
|
+
fill: var(--eds-switch-color);
|
|
664
701
|
}
|
|
665
|
-
.eds-
|
|
666
|
-
|
|
667
|
-
font-size: 0.875rem;
|
|
668
|
-
line-height: 1rem;
|
|
669
|
-
padding: 0;
|
|
702
|
+
.eds-contrast :checked + .eds-switch__switch {
|
|
703
|
+
background-color: var(--eds-switch-contrast-color);
|
|
670
704
|
}
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
705
|
+
:focus-visible + .eds-switch__switch {
|
|
706
|
+
outline: 2px solid #181c56;
|
|
707
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
708
|
+
outline-offset: 0.125rem;
|
|
675
709
|
}
|
|
676
|
-
.eds-
|
|
677
|
-
|
|
678
|
-
font-size: 0.75rem;
|
|
679
|
-
line-height: 0.75rem;
|
|
680
|
-
height: 10px;
|
|
681
|
-
padding: 0;
|
|
710
|
+
.eds-contrast :focus-visible + .eds-switch__switch {
|
|
711
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
682
712
|
}
|
|
683
|
-
.eds-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
713
|
+
.eds-switch__switch--large {
|
|
714
|
+
width: 3.75rem;
|
|
715
|
+
height: 2rem;
|
|
716
|
+
border-radius: 3.75rem;
|
|
687
717
|
}
|
|
688
|
-
.eds-
|
|
689
|
-
|
|
690
|
-
font-size: 0.875rem;
|
|
691
|
-
line-height: 1rem;
|
|
692
|
-
padding: 0;
|
|
718
|
+
:checked + .eds-switch__switch--large .eds-switch__circle {
|
|
719
|
+
left: 1.875rem;
|
|
693
720
|
}
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
font-size: 0.75rem;
|
|
698
|
-
line-height: 0.75rem;
|
|
699
|
-
height: 10px;
|
|
700
|
-
padding: 0;
|
|
721
|
+
.eds-switch__switch--large svg {
|
|
722
|
+
position: relative;
|
|
723
|
+
right: 0.05rem;
|
|
701
724
|
}
|
|
702
|
-
.eds-
|
|
703
|
-
|
|
704
|
-
background: var(--textarea-label-background);
|
|
705
|
-
width: calc(100% - 1rem - 1rem - 4px);
|
|
725
|
+
.eds-switch__label--large--right {
|
|
726
|
+
font-size: 1rem;
|
|
706
727
|
}
|
|
707
|
-
.eds-
|
|
708
|
-
top: 0.5rem;
|
|
728
|
+
.eds-switch__label--large--bottom {
|
|
709
729
|
font-size: 0.875rem;
|
|
710
|
-
line-height: 1rem;
|
|
711
|
-
padding: 0;
|
|
712
730
|
}
|
|
713
|
-
.eds-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
731
|
+
.eds-switch__label--medium--right {
|
|
732
|
+
font-size: 0.875rem;
|
|
733
|
+
}
|
|
734
|
+
.eds-switch__label--medium--bottom {
|
|
735
|
+
font-size: 0.75rem;
|
|
718
736
|
}
|
|
719
737
|
/* DO NOT CHANGE!*/
|
|
720
738
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -1074,85 +1092,14 @@ input:disabled + .eds-input-panel__container {
|
|
|
1074
1092
|
}
|
|
1075
1093
|
/* DO NOT CHANGE!*/
|
|
1076
1094
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1077
|
-
.eds-segmented-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
--background-color: var(--components-form-segmentedcontrol-standard-fill-unselected);
|
|
1083
|
-
background-color: var(--background-color);
|
|
1084
|
-
border-radius: 0.25rem;
|
|
1085
|
-
color: var(--components-form-segmentedcontrol-standard-text-unselected);
|
|
1086
|
-
cursor: pointer;
|
|
1087
|
-
font-size: 0.875rem;
|
|
1088
|
-
height: 1.5rem;
|
|
1089
|
-
line-height: 1.25rem;
|
|
1090
|
-
margin: 0.25rem;
|
|
1091
|
-
outline-color: transparent;
|
|
1092
|
-
padding: calc(0.25rem / 2) 0.75rem;
|
|
1093
|
-
text-align: center;
|
|
1094
|
-
-webkit-user-select: none;
|
|
1095
|
-
-moz-user-select: none;
|
|
1096
|
-
user-select: none;
|
|
1097
|
-
}
|
|
1098
|
-
.eds-segmented-choice .eds-base-segmented--large {
|
|
1099
|
-
font-size: 1rem;
|
|
1100
|
-
height: 2.5rem;
|
|
1101
|
-
line-height: 1.5rem;
|
|
1102
|
-
padding: 0.5rem 0.75rem;
|
|
1103
|
-
}
|
|
1104
|
-
.eds-contrast .eds-segmented-choice .eds-base-segmented {
|
|
1105
|
-
--background-color: var(--components-form-segmentedcontrol-contrast-background);
|
|
1106
|
-
color: var(--components-form-segmentedcontrol-contrast-text-unselected);
|
|
1107
|
-
}
|
|
1108
|
-
.eds-segmented-choice:hover input:not(:checked) + .eds-base-segmented {
|
|
1109
|
-
--background-color: var(--components-form-segmentedcontrol-standard-fill-hover);
|
|
1110
|
-
}
|
|
1111
|
-
.eds-contrast .eds-segmented-choice:hover input:not(:checked) + .eds-base-segmented {
|
|
1112
|
-
--background-color: var(--components-form-segmentedcontrol-contrast-fill-hover);
|
|
1113
|
-
}
|
|
1114
|
-
.eds-segmented-choice:hover input:checked + .eds-base-segmented {
|
|
1115
|
-
--background-color: var(--components-form-segmentedcontrol-standard-fill-hover);
|
|
1116
|
-
color: var(--components-form-segmentedcontrol-standard-text-unselected);
|
|
1117
|
-
}
|
|
1118
|
-
.eds-contrast .eds-segmented-choice:hover input:checked + .eds-base-segmented {
|
|
1119
|
-
--background-color: var(--components-form-segmentedcontrol-contrast-fill-hover);
|
|
1120
|
-
color: var(--components-form-segmentedcontrol-contrast-text-unselected);
|
|
1121
|
-
}
|
|
1122
|
-
.eds-segmented-choice input {
|
|
1123
|
-
-webkit-appearance: none;
|
|
1124
|
-
-moz-appearance: none;
|
|
1125
|
-
appearance: none;
|
|
1126
|
-
position: absolute;
|
|
1127
|
-
opacity: 0;
|
|
1128
|
-
height: 0;
|
|
1129
|
-
width: 0;
|
|
1130
|
-
}
|
|
1131
|
-
.eds-segmented-choice input:checked + .eds-base-segmented {
|
|
1132
|
-
--background-color: var(--components-form-segmentedcontrol-standard-fill-selected);
|
|
1133
|
-
color: var(--components-form-segmentedcontrol-standard-text-selected);
|
|
1134
|
-
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1135
|
-
}
|
|
1136
|
-
.eds-contrast .eds-segmented-choice input:checked + .eds-base-segmented {
|
|
1137
|
-
--background-color: var(--components-form-segmentedcontrol-contrast-fill-selected);
|
|
1138
|
-
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
1139
|
-
color: var(--components-form-segmentedcontrol-contrast-text-selected);
|
|
1140
|
-
}
|
|
1141
|
-
.eds-segmented-choice input:focus-visible:not(:checked) + .eds-base-segmented {
|
|
1142
|
-
outline: 2px solid #181c56;
|
|
1143
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
1144
|
-
outline-offset: 0.125rem;
|
|
1145
|
-
}
|
|
1146
|
-
.eds-contrast .eds-segmented-choice input:focus-visible:not(:checked) + .eds-base-segmented {
|
|
1147
|
-
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
1148
|
-
}
|
|
1149
|
-
.eds-segmented-choice input:focus-visible:checked + .eds-base-segmented {
|
|
1150
|
-
outline: 2px solid #181c56;
|
|
1151
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
1152
|
-
outline-offset: 0.125rem;
|
|
1095
|
+
.eds-segmented-control {
|
|
1096
|
+
margin-top: 0.25rem;
|
|
1097
|
+
display: flex;
|
|
1098
|
+
background: var(--components-form-segmentedcontrol-standard-background);
|
|
1099
|
+
border-radius: 0.5rem;
|
|
1153
1100
|
}
|
|
1154
|
-
.eds-contrast .eds-segmented-
|
|
1155
|
-
|
|
1101
|
+
.eds-contrast .eds-segmented-control {
|
|
1102
|
+
background: var(--components-form-segmentedcontrol-contrast-background);
|
|
1156
1103
|
}
|
|
1157
1104
|
/* DO NOT CHANGE!*/
|
|
1158
1105
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -1221,21 +1168,33 @@ input:disabled + .eds-input-panel__container {
|
|
|
1221
1168
|
--components-form-basepanel-standard-text-rebate: #1a8e60;
|
|
1222
1169
|
--components-form-basepanel-standard-text-subdued: #626493;
|
|
1223
1170
|
--components-form-checkbox-contrast-border: #aeb7e2;
|
|
1171
|
+
--components-form-checkbox-contrast-border-disabled: #6e6f73;
|
|
1224
1172
|
--components-form-checkbox-contrast-border-negative: #ff9494;
|
|
1173
|
+
--components-form-checkbox-contrast-border-readonly: #6e6f73;
|
|
1225
1174
|
--components-form-checkbox-contrast-fill-default: rgba(255, 255, 255, 0);
|
|
1175
|
+
--components-form-checkbox-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
|
|
1226
1176
|
--components-form-checkbox-contrast-fill-hover: #626493;
|
|
1227
1177
|
--components-form-checkbox-contrast-fill-selected: #aeb7e2;
|
|
1228
1178
|
--components-form-checkbox-contrast-fill-selectedhover: #c7cdeb;
|
|
1229
1179
|
--components-form-checkbox-contrast-icon: #181c56;
|
|
1180
|
+
--components-form-checkbox-contrast-icon-disabled: #949699;
|
|
1181
|
+
--components-form-checkbox-contrast-icon-readonly: #ffffff;
|
|
1230
1182
|
--components-form-checkbox-contrast-text: #ffffff;
|
|
1183
|
+
--components-form-checkbox-contrast-text-disabled: #949699;
|
|
1231
1184
|
--components-form-checkbox-standard-border: #181c56;
|
|
1185
|
+
--components-form-checkbox-standard-border-disabled: #e3e6e8;
|
|
1232
1186
|
--components-form-checkbox-standard-border-negative: #d31b1b;
|
|
1187
|
+
--components-form-checkbox-standard-border-readonly: #e3e6e8;
|
|
1233
1188
|
--components-form-checkbox-standard-fill-default: rgba(255, 255, 255, 0);
|
|
1189
|
+
--components-form-checkbox-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
|
|
1234
1190
|
--components-form-checkbox-standard-fill-hover: #d9ddf2;
|
|
1235
1191
|
--components-form-checkbox-standard-fill-selected: #181c56;
|
|
1236
1192
|
--components-form-checkbox-standard-fill-selectedhover: #393d79;
|
|
1237
1193
|
--components-form-checkbox-standard-icon: #ffffff;
|
|
1194
|
+
--components-form-checkbox-standard-icon-disabled: #b6b8ba;
|
|
1195
|
+
--components-form-checkbox-standard-icon-readonly: #181c56;
|
|
1238
1196
|
--components-form-checkbox-standard-text: #181c56;
|
|
1197
|
+
--components-form-checkbox-standard-text-disabled: #b6b8ba;
|
|
1239
1198
|
--components-form-feedbacktext-information-contrast-icon-fill: #64b3e7;
|
|
1240
1199
|
--components-form-feedbacktext-information-contrast-icon-symbol: #181c56;
|
|
1241
1200
|
--components-form-feedbacktext-information-contrast-stroke: #181c56;
|
|
@@ -1269,21 +1228,33 @@ input:disabled + .eds-input-panel__container {
|
|
|
1269
1228
|
--components-form-feedbacktext-warning-standard-stroke: #ffffff;
|
|
1270
1229
|
--components-form-feedbacktext-warning-standard-text: #181c56;
|
|
1271
1230
|
--components-form-radio-contrast-border: #aeb7e2;
|
|
1231
|
+
--components-form-radio-contrast-border-disabled: #6e6f73;
|
|
1272
1232
|
--components-form-radio-contrast-border-negative: #ff9494;
|
|
1233
|
+
--components-form-radio-contrast-border-readonly: #6e6f73;
|
|
1273
1234
|
--components-form-radio-contrast-fill-default: rgba(255, 255, 255, 0);
|
|
1235
|
+
--components-form-radio-contrast-fill-disabled: rgba(207, 210, 212, 0.1490196078);
|
|
1274
1236
|
--components-form-radio-contrast-fill-hover: #626493;
|
|
1275
1237
|
--components-form-radio-contrast-fill-selected: #aeb7e2;
|
|
1276
1238
|
--components-form-radio-contrast-fill-selectedhover: #c7cdeb;
|
|
1277
1239
|
--components-form-radio-contrast-icon: #ffffff;
|
|
1240
|
+
--components-form-radio-contrast-icon-disabled: #949699;
|
|
1241
|
+
--components-form-radio-contrast-icon-readonly: #ffffff;
|
|
1278
1242
|
--components-form-radio-contrast-text: #ffffff;
|
|
1243
|
+
--components-form-radio-contrast-text-disabled: #949699;
|
|
1279
1244
|
--components-form-radio-standard-border: #181c56;
|
|
1245
|
+
--components-form-radio-standard-border-disabled: #e3e6e8;
|
|
1280
1246
|
--components-form-radio-standard-border-negative: #d31b1b;
|
|
1247
|
+
--components-form-radio-standard-border-readonly: #e3e6e8;
|
|
1281
1248
|
--components-form-radio-standard-fill-default: rgba(255, 255, 255, 0);
|
|
1249
|
+
--components-form-radio-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
|
|
1282
1250
|
--components-form-radio-standard-fill-hover: #d9ddf2;
|
|
1283
1251
|
--components-form-radio-standard-fill-selected: #181c56;
|
|
1284
1252
|
--components-form-radio-standard-icon: #181c56;
|
|
1253
|
+
--components-form-radio-standard-icon-disabled: #b6b8ba;
|
|
1254
|
+
--components-form-radio-standard-icon-readonly: #181c56;
|
|
1285
1255
|
--components-form-radio-standard-selectedhover: #393d79;
|
|
1286
1256
|
--components-form-radio-standard-text: #181c56;
|
|
1257
|
+
--components-form-radio-standard-text-disabled: #b6b8ba;
|
|
1287
1258
|
--components-form-segmentedcontrol-contrast-background: #393d79;
|
|
1288
1259
|
--components-form-segmentedcontrol-contrast-fill-hover: #626493;
|
|
1289
1260
|
--components-form-segmentedcontrol-contrast-fill-selected: #ffffff;
|
|
@@ -1374,21 +1345,33 @@ input:disabled + .eds-input-panel__container {
|
|
|
1374
1345
|
--components-form-basepanel-standard-text-rebate: #5ac39a;
|
|
1375
1346
|
--components-form-basepanel-standard-text-subdued: #b3b4bd;
|
|
1376
1347
|
--components-form-checkbox-contrast-border: #aeb7e2;
|
|
1348
|
+
--components-form-checkbox-contrast-border-disabled: #6e6f73;
|
|
1377
1349
|
--components-form-checkbox-contrast-border-negative: #ff9494;
|
|
1350
|
+
--components-form-checkbox-contrast-border-readonly: #6e6f73;
|
|
1378
1351
|
--components-form-checkbox-contrast-fill-default: rgba(255, 255, 255, 0);
|
|
1352
|
+
--components-form-checkbox-contrast-fill-disabled: rgba(204, 205, 212, 0.3019607843);
|
|
1379
1353
|
--components-form-checkbox-contrast-fill-hover: #626493;
|
|
1380
1354
|
--components-form-checkbox-contrast-fill-selected: #aeb7e2;
|
|
1381
1355
|
--components-form-checkbox-contrast-fill-selectedhover: #c7cdeb;
|
|
1382
1356
|
--components-form-checkbox-contrast-icon: #181c56;
|
|
1357
|
+
--components-form-checkbox-contrast-icon-disabled: #6e6f73;
|
|
1358
|
+
--components-form-checkbox-contrast-icon-readonly: #e5e5e9;
|
|
1383
1359
|
--components-form-checkbox-contrast-text: #e5e5e9;
|
|
1360
|
+
--components-form-checkbox-contrast-text-disabled: #6e6f73;
|
|
1384
1361
|
--components-form-checkbox-standard-border: #aeb7e2;
|
|
1362
|
+
--components-form-checkbox-standard-border-disabled: #6e6f73;
|
|
1385
1363
|
--components-form-checkbox-standard-border-negative: #ff9494;
|
|
1364
|
+
--components-form-checkbox-standard-border-readonly: #6e6f73;
|
|
1386
1365
|
--components-form-checkbox-standard-fill-default: rgba(255, 255, 255, 0);
|
|
1366
|
+
--components-form-checkbox-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
|
|
1387
1367
|
--components-form-checkbox-standard-fill-hover: #626493;
|
|
1388
1368
|
--components-form-checkbox-standard-fill-selected: #aeb7e2;
|
|
1389
1369
|
--components-form-checkbox-standard-fill-selectedhover: #c7cdeb;
|
|
1390
1370
|
--components-form-checkbox-standard-icon: #181c56;
|
|
1371
|
+
--components-form-checkbox-standard-icon-disabled: #6e6f73;
|
|
1372
|
+
--components-form-checkbox-standard-icon-readonly: #e5e5e9;
|
|
1391
1373
|
--components-form-checkbox-standard-text: #e5e5e9;
|
|
1374
|
+
--components-form-checkbox-standard-text-disabled: #6e6f73;
|
|
1392
1375
|
--components-form-feedbacktext-information-contrast-icon-fill: #64b3e7;
|
|
1393
1376
|
--components-form-feedbacktext-information-contrast-icon-symbol: #08091c;
|
|
1394
1377
|
--components-form-feedbacktext-information-contrast-stroke: #08091c;
|
|
@@ -1422,21 +1405,33 @@ input:disabled + .eds-input-panel__container {
|
|
|
1422
1405
|
--components-form-feedbacktext-warning-standard-stroke: #08091c;
|
|
1423
1406
|
--components-form-feedbacktext-warning-standard-text: #e5e5e9;
|
|
1424
1407
|
--components-form-radio-contrast-border: #aeb7e2;
|
|
1408
|
+
--components-form-radio-contrast-border-disabled: #6e6f73;
|
|
1425
1409
|
--components-form-radio-contrast-border-negative: #ff9494;
|
|
1410
|
+
--components-form-radio-contrast-border-readonly: #6e6f73;
|
|
1426
1411
|
--components-form-radio-contrast-fill-default: rgba(255, 255, 255, 0);
|
|
1412
|
+
--components-form-radio-contrast-fill-disabled: rgba(204, 205, 212, 0.3019607843);
|
|
1427
1413
|
--components-form-radio-contrast-fill-hover: #626493;
|
|
1428
1414
|
--components-form-radio-contrast-fill-selected: #aeb7e2;
|
|
1429
1415
|
--components-form-radio-contrast-fill-selectedhover: #c7cdeb;
|
|
1430
1416
|
--components-form-radio-contrast-icon: #e5e5e9;
|
|
1417
|
+
--components-form-radio-contrast-icon-disabled: #6e6f73;
|
|
1418
|
+
--components-form-radio-contrast-icon-readonly: #e5e5e9;
|
|
1431
1419
|
--components-form-radio-contrast-text: #e5e5e9;
|
|
1420
|
+
--components-form-radio-contrast-text-disabled: #6e6f73;
|
|
1432
1421
|
--components-form-radio-standard-border: #aeb7e2;
|
|
1422
|
+
--components-form-radio-standard-border-disabled: #6e6f73;
|
|
1433
1423
|
--components-form-radio-standard-border-negative: #ff9494;
|
|
1424
|
+
--components-form-radio-standard-border-readonly: #6e6f73;
|
|
1434
1425
|
--components-form-radio-standard-fill-default: rgba(255, 255, 255, 0);
|
|
1426
|
+
--components-form-radio-standard-fill-disabled: rgba(207, 210, 212, 0.1490196078);
|
|
1435
1427
|
--components-form-radio-standard-fill-hover: #626493;
|
|
1436
1428
|
--components-form-radio-standard-fill-selected: #aeb7e2;
|
|
1437
1429
|
--components-form-radio-standard-icon: #e5e5e9;
|
|
1430
|
+
--components-form-radio-standard-icon-disabled: #6e6f73;
|
|
1431
|
+
--components-form-radio-standard-icon-readonly: #e5e5e9;
|
|
1438
1432
|
--components-form-radio-standard-selectedhover: #c7cdeb;
|
|
1439
1433
|
--components-form-radio-standard-text: #e5e5e9;
|
|
1434
|
+
--components-form-radio-standard-text-disabled: #6e6f73;
|
|
1440
1435
|
--components-form-segmentedcontrol-contrast-background: rgba(229, 229, 233, 0.1490196078);
|
|
1441
1436
|
--components-form-segmentedcontrol-contrast-fill-hover: rgba(229, 229, 233, 0.1490196078);
|
|
1442
1437
|
--components-form-segmentedcontrol-contrast-fill-selected: #e5e5e9;
|
|
@@ -1707,12 +1702,83 @@ input:disabled + .eds-input-panel__container {
|
|
|
1707
1702
|
}
|
|
1708
1703
|
/* DO NOT CHANGE!*/
|
|
1709
1704
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
1710
|
-
.eds-segmented-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
background: var(--components-form-segmentedcontrol-standard-background);
|
|
1714
|
-
border-radius: 0.5rem;
|
|
1705
|
+
.eds-segmented-choice {
|
|
1706
|
+
display: block;
|
|
1707
|
+
flex: 1 1 0px;
|
|
1715
1708
|
}
|
|
1716
|
-
.eds-
|
|
1717
|
-
background: var(--components-form-segmentedcontrol-
|
|
1709
|
+
.eds-segmented-choice .eds-base-segmented {
|
|
1710
|
+
--background-color: var(--components-form-segmentedcontrol-standard-fill-unselected);
|
|
1711
|
+
background-color: var(--background-color);
|
|
1712
|
+
border-radius: 0.25rem;
|
|
1713
|
+
color: var(--components-form-segmentedcontrol-standard-text-unselected);
|
|
1714
|
+
cursor: pointer;
|
|
1715
|
+
font-size: 0.875rem;
|
|
1716
|
+
height: 1.5rem;
|
|
1717
|
+
line-height: 1.25rem;
|
|
1718
|
+
margin: 0.25rem;
|
|
1719
|
+
outline-color: transparent;
|
|
1720
|
+
padding: calc(0.25rem / 2) 0.75rem;
|
|
1721
|
+
text-align: center;
|
|
1722
|
+
-webkit-user-select: none;
|
|
1723
|
+
-moz-user-select: none;
|
|
1724
|
+
user-select: none;
|
|
1725
|
+
}
|
|
1726
|
+
.eds-segmented-choice .eds-base-segmented--large {
|
|
1727
|
+
font-size: 1rem;
|
|
1728
|
+
height: 2.5rem;
|
|
1729
|
+
line-height: 1.5rem;
|
|
1730
|
+
padding: 0.5rem 0.75rem;
|
|
1731
|
+
}
|
|
1732
|
+
.eds-contrast .eds-segmented-choice .eds-base-segmented {
|
|
1733
|
+
--background-color: var(--components-form-segmentedcontrol-contrast-background);
|
|
1734
|
+
color: var(--components-form-segmentedcontrol-contrast-text-unselected);
|
|
1735
|
+
}
|
|
1736
|
+
.eds-segmented-choice:hover input:not(:checked) + .eds-base-segmented {
|
|
1737
|
+
--background-color: var(--components-form-segmentedcontrol-standard-fill-hover);
|
|
1738
|
+
}
|
|
1739
|
+
.eds-contrast .eds-segmented-choice:hover input:not(:checked) + .eds-base-segmented {
|
|
1740
|
+
--background-color: var(--components-form-segmentedcontrol-contrast-fill-hover);
|
|
1741
|
+
}
|
|
1742
|
+
.eds-segmented-choice:hover input:checked + .eds-base-segmented {
|
|
1743
|
+
--background-color: var(--components-form-segmentedcontrol-standard-fill-hover);
|
|
1744
|
+
color: var(--components-form-segmentedcontrol-standard-text-unselected);
|
|
1745
|
+
}
|
|
1746
|
+
.eds-contrast .eds-segmented-choice:hover input:checked + .eds-base-segmented {
|
|
1747
|
+
--background-color: var(--components-form-segmentedcontrol-contrast-fill-hover);
|
|
1748
|
+
color: var(--components-form-segmentedcontrol-contrast-text-unselected);
|
|
1749
|
+
}
|
|
1750
|
+
.eds-segmented-choice input {
|
|
1751
|
+
-webkit-appearance: none;
|
|
1752
|
+
-moz-appearance: none;
|
|
1753
|
+
appearance: none;
|
|
1754
|
+
position: absolute;
|
|
1755
|
+
opacity: 0;
|
|
1756
|
+
height: 0;
|
|
1757
|
+
width: 0;
|
|
1758
|
+
}
|
|
1759
|
+
.eds-segmented-choice input:checked + .eds-base-segmented {
|
|
1760
|
+
--background-color: var(--components-form-segmentedcontrol-standard-fill-selected);
|
|
1761
|
+
color: var(--components-form-segmentedcontrol-standard-text-selected);
|
|
1762
|
+
box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
|
|
1763
|
+
}
|
|
1764
|
+
.eds-contrast .eds-segmented-choice input:checked + .eds-base-segmented {
|
|
1765
|
+
--background-color: var(--components-form-segmentedcontrol-contrast-fill-selected);
|
|
1766
|
+
box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
|
|
1767
|
+
color: var(--components-form-segmentedcontrol-contrast-text-selected);
|
|
1768
|
+
}
|
|
1769
|
+
.eds-segmented-choice input:focus-visible:not(:checked) + .eds-base-segmented {
|
|
1770
|
+
outline: 2px solid #181c56;
|
|
1771
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
1772
|
+
outline-offset: 0.125rem;
|
|
1773
|
+
}
|
|
1774
|
+
.eds-contrast .eds-segmented-choice input:focus-visible:not(:checked) + .eds-base-segmented {
|
|
1775
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
1776
|
+
}
|
|
1777
|
+
.eds-segmented-choice input:focus-visible:checked + .eds-base-segmented {
|
|
1778
|
+
outline: 2px solid #181c56;
|
|
1779
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
1780
|
+
outline-offset: 0.125rem;
|
|
1781
|
+
}
|
|
1782
|
+
.eds-contrast .eds-segmented-choice input:focus-visible:checked + .eds-base-segmented {
|
|
1783
|
+
outline-color: var(--basecolors-stroke-focus-contrast);
|
|
1718
1784
|
}
|