@entur/travel 6.3.14-beta.3 → 6.3.14-beta.5
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/LegBone.d.ts +33 -0
- package/dist/LegLine.d.ts +13 -0
- package/dist/TravelHeader.d.ts +22 -0
- package/dist/TravelLeg.d.ts +11 -0
- package/dist/TravelSwitch.d.ts +23 -0
- package/dist/TravelTag.d.ts +26 -0
- package/dist/index.d.ts +7 -132
- package/dist/index.js +8 -0
- package/dist/pattern/dashed-horizontal.svg +3 -0
- package/dist/pattern/dashed-vertical.svg +3 -0
- package/dist/pattern/dotted.svg +3 -0
- package/dist/pattern/line.svg +3 -0
- package/dist/pattern/wave-horizontal.svg +3 -0
- package/dist/pattern/wave-vertical.svg +3 -0
- package/dist/styles.css +283 -277
- package/dist/travel.cjs.development.js +387 -0
- package/dist/travel.cjs.development.js.map +1 -0
- package/dist/travel.cjs.production.min.js +2 -0
- package/dist/travel.cjs.production.min.js.map +1 -0
- package/dist/travel.esm.js +301 -343
- package/dist/travel.esm.js.map +1 -1
- package/dist/utils.d.ts +16 -0
- package/package.json +14 -24
- package/dist/travel.cjs.js +0 -420
- package/dist/travel.cjs.js.map +0 -1
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,249 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
+
.eds-travel-header {
|
|
4
|
+
color: var(--components-travel-travelheader-standard-text);
|
|
5
|
+
display: flex;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
font-weight: 600;
|
|
8
|
+
line-height: 1.5;
|
|
9
|
+
max-width: 100%;
|
|
10
|
+
}
|
|
11
|
+
.eds-contrast .eds-travel-header {
|
|
12
|
+
color: var(--components-travel-travelheader-contrast-text);
|
|
13
|
+
}
|
|
14
|
+
.eds-travel-header--large {
|
|
15
|
+
font-size: 1.5rem;
|
|
16
|
+
}
|
|
17
|
+
.eds-travel-header--medium {
|
|
18
|
+
font-size: 1rem;
|
|
19
|
+
}
|
|
20
|
+
.eds-travel-header--no-wrap {
|
|
21
|
+
flex-direction: row;
|
|
22
|
+
}
|
|
23
|
+
.eds-travel-header__from, .eds-travel-header__to {
|
|
24
|
+
min-width: 0;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
text-overflow: ellipsis;
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
}
|
|
29
|
+
.eds-travel-header--no-wrap .eds-travel-header__from {
|
|
30
|
+
margin-right: 0.5em;
|
|
31
|
+
}
|
|
32
|
+
.eds-travel-header__to {
|
|
33
|
+
padding-left: 1.8333333333em;
|
|
34
|
+
position: relative;
|
|
35
|
+
}
|
|
36
|
+
.eds-travel-header__to::before {
|
|
37
|
+
background-color: var(--components-travel-travelheader-standard-stroke-line);
|
|
38
|
+
content: "";
|
|
39
|
+
display: block;
|
|
40
|
+
height: 0.1666666667em;
|
|
41
|
+
left: 0;
|
|
42
|
+
position: absolute;
|
|
43
|
+
top: 0.65em;
|
|
44
|
+
width: 1.3333333333em;
|
|
45
|
+
}
|
|
46
|
+
.eds-contrast .eds-travel-header__to::before {
|
|
47
|
+
background-color: var(--components-travel-travelheader-contrast-stroke-line);
|
|
48
|
+
}
|
|
49
|
+
/* DO NOT CHANGE!*/
|
|
50
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
51
|
+
.eds-travel-tag {
|
|
52
|
+
--background-color: var(--components-travel-traveltag-standard-tagfill-walk);
|
|
53
|
+
--text-color: var(--components-travel-traveltag-standard-text-line);
|
|
54
|
+
display: inline-flex;
|
|
55
|
+
position: relative;
|
|
56
|
+
padding: 0.25rem 0.5rem;
|
|
57
|
+
height: 2rem;
|
|
58
|
+
min-width: 2rem;
|
|
59
|
+
font-size: 0.875rem;
|
|
60
|
+
line-height: 1.5rem;
|
|
61
|
+
border-radius: 0.25rem;
|
|
62
|
+
background-color: var(--background-color);
|
|
63
|
+
color: var(--text-color);
|
|
64
|
+
}
|
|
65
|
+
.eds-contrast .eds-travel-tag {
|
|
66
|
+
--background-color: var(--components-travel-traveltag-contrast-tagfill-walk);
|
|
67
|
+
--text-color: var(--components-travel-traveltag-contrast-text-line);
|
|
68
|
+
}
|
|
69
|
+
.eds-travel-tag--alert {
|
|
70
|
+
padding-right: 0.75rem;
|
|
71
|
+
}
|
|
72
|
+
.eds-travel-tag--alert--error {
|
|
73
|
+
background-color: var(--background-color);
|
|
74
|
+
color: var(--text-color);
|
|
75
|
+
}
|
|
76
|
+
.eds-contrast .eds-travel-tag--alert--error.eds-travel-tag {
|
|
77
|
+
background-color: var(--background-color);
|
|
78
|
+
color: var(--text-color);
|
|
79
|
+
}
|
|
80
|
+
.eds-travel-tag--icon-and-text > .eds-icon {
|
|
81
|
+
margin-right: 0.5rem;
|
|
82
|
+
}
|
|
83
|
+
.eds-travel-tag > .eds-icon {
|
|
84
|
+
font-size: 1.5rem;
|
|
85
|
+
color: var(--text-color);
|
|
86
|
+
}
|
|
87
|
+
.eds-travel-tag__alert {
|
|
88
|
+
border-radius: 50%;
|
|
89
|
+
display: flex;
|
|
90
|
+
align-items: center;
|
|
91
|
+
justify-content: center;
|
|
92
|
+
font-size: 1rem;
|
|
93
|
+
height: 1.125rem;
|
|
94
|
+
width: 1.125rem;
|
|
95
|
+
position: absolute;
|
|
96
|
+
top: 0.4375rem;
|
|
97
|
+
right: -0.6875rem;
|
|
98
|
+
background: var(--components-form-feedbacktext-information-standard-stroke);
|
|
99
|
+
}
|
|
100
|
+
.eds-contrast .eds-travel-tag__alert {
|
|
101
|
+
background: var(--components-form-feedbacktext-information-contrast-stroke);
|
|
102
|
+
}
|
|
103
|
+
.eds-travel-tag__alert-exclamation-icon {
|
|
104
|
+
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
105
|
+
}
|
|
106
|
+
.eds-travel-tag__alert-exclamation-icon .svg-validation-circlefilled-exclamation {
|
|
107
|
+
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
108
|
+
}
|
|
109
|
+
.eds-contrast .eds-travel-tag__alert-exclamation-icon {
|
|
110
|
+
color: var(--components-form-feedbacktext-warning-contrast-icon);
|
|
111
|
+
}
|
|
112
|
+
.eds-travel-tag__alert-error-icon {
|
|
113
|
+
font-size: 0.875rem;
|
|
114
|
+
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
115
|
+
}
|
|
116
|
+
.eds-contrast .eds-travel-tag__alert-error-icon {
|
|
117
|
+
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
118
|
+
}
|
|
119
|
+
.eds-travel-tag__alert-info-icon {
|
|
120
|
+
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
121
|
+
}
|
|
122
|
+
.eds-contrast .eds-travel-tag__alert-info-icon {
|
|
123
|
+
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
124
|
+
}
|
|
125
|
+
.eds-travel-tag__wrapper {
|
|
126
|
+
display: inline-flex;
|
|
127
|
+
}
|
|
128
|
+
.eds-travel-tag__wrapper--label-position-right {
|
|
129
|
+
flex-direction: row;
|
|
130
|
+
align-items: center;
|
|
131
|
+
}
|
|
132
|
+
.eds-travel-tag__wrapper--label-position-bottom {
|
|
133
|
+
flex-direction: column;
|
|
134
|
+
align-items: flex-start;
|
|
135
|
+
}
|
|
136
|
+
.eds-travel-tag__label {
|
|
137
|
+
color: var(--components-travel-traveltag-standard-text-label);
|
|
138
|
+
font-size: 1rem;
|
|
139
|
+
}
|
|
140
|
+
.eds-contrast .eds-travel-tag__label {
|
|
141
|
+
color: var(--components-travel-traveltag-contrast-text-label);
|
|
142
|
+
}
|
|
143
|
+
.eds-travel-tag__label--right {
|
|
144
|
+
margin-left: 0.5rem;
|
|
145
|
+
}
|
|
146
|
+
.eds-travel-tag__label--right--with-alert {
|
|
147
|
+
margin-left: 1rem;
|
|
148
|
+
}
|
|
149
|
+
.eds-travel-tag__label--bottom {
|
|
150
|
+
margin-top: 0.125rem;
|
|
151
|
+
font-size: 0.875rem;
|
|
152
|
+
}
|
|
153
|
+
.eds-travel-tag__close-button {
|
|
154
|
+
-webkit-appearance: none;
|
|
155
|
+
-moz-appearance: none;
|
|
156
|
+
appearance: none;
|
|
157
|
+
background: none;
|
|
158
|
+
border: none;
|
|
159
|
+
border-radius: 50%;
|
|
160
|
+
cursor: pointer;
|
|
161
|
+
margin: 0 0 0 0.75rem;
|
|
162
|
+
padding: 0;
|
|
163
|
+
height: 1.5rem;
|
|
164
|
+
width: 1.5rem;
|
|
165
|
+
}
|
|
166
|
+
.eds-travel-tag__close-button .eds-icon {
|
|
167
|
+
color: var(--text-color);
|
|
168
|
+
font-size: 0.875rem;
|
|
169
|
+
}
|
|
170
|
+
.eds-travel-tag__close-button:has(:focus-visible) {
|
|
171
|
+
outline-offset: 0.125rem;
|
|
172
|
+
outline: 2px solid #ffffff;
|
|
173
|
+
}
|
|
174
|
+
.eds-leg-line {
|
|
175
|
+
flex-grow: 1;
|
|
176
|
+
mask-image: url("./pattern/line.svg");
|
|
177
|
+
mask-position: center;
|
|
178
|
+
-webkit-mask-image: url("./pattern/line.svg");
|
|
179
|
+
-webkit-mask-position: center;
|
|
180
|
+
}
|
|
181
|
+
.eds-leg-line--dotted {
|
|
182
|
+
mask-image: url("./pattern/dotted.svg");
|
|
183
|
+
-webkit-mask-image: url("./pattern/dotted.svg");
|
|
184
|
+
}
|
|
185
|
+
.eds-leg-line--vertical {
|
|
186
|
+
mask-repeat: repeat-y;
|
|
187
|
+
width: 1rem;
|
|
188
|
+
-webkit-mask-repeat: repeat-y;
|
|
189
|
+
}
|
|
190
|
+
.eds-leg-line--vertical.eds-leg-line--dashed {
|
|
191
|
+
mask-image: url("./pattern/dashed-vertical.svg");
|
|
192
|
+
-webkit-mask-image: url("./pattern/dashed-vertical.svg");
|
|
193
|
+
}
|
|
194
|
+
.eds-leg-line--vertical.eds-leg-line--wave {
|
|
195
|
+
mask-image: url("./pattern/wave-vertical.svg");
|
|
196
|
+
-webkit-mask-image: url("./pattern/wave-vertical.svg");
|
|
197
|
+
}
|
|
198
|
+
.eds-leg-line--horizontal {
|
|
199
|
+
height: 1rem;
|
|
200
|
+
mask-repeat: repeat-x;
|
|
201
|
+
min-width: 6.25rem;
|
|
202
|
+
-webkit-mask-repeat: repeat-x;
|
|
203
|
+
}
|
|
204
|
+
.eds-leg-line--horizontal.eds-leg-line--dashed {
|
|
205
|
+
mask-image: url("./pattern/dashed-horizontal.svg");
|
|
206
|
+
-webkit-mask-image: url("./pattern/dashed-horizontal.svg");
|
|
207
|
+
}
|
|
208
|
+
.eds-leg-line--horizontal.eds-leg-line--wave {
|
|
209
|
+
mask-image: url("./pattern/wave-horizontal.svg");
|
|
210
|
+
-webkit-mask-image: url("./pattern/wave-horizontal.svg");
|
|
211
|
+
}
|
|
212
|
+
.eds-leg-bone {
|
|
213
|
+
align-items: center;
|
|
214
|
+
display: flex;
|
|
215
|
+
justify-content: space-between;
|
|
216
|
+
}
|
|
217
|
+
.eds-leg-bone__start, .eds-leg-bone__stop {
|
|
218
|
+
border-radius: 50%;
|
|
219
|
+
height: 1rem;
|
|
220
|
+
width: 1rem;
|
|
221
|
+
}
|
|
222
|
+
.eds-leg-bone__line {
|
|
223
|
+
flex-grow: 1;
|
|
224
|
+
}
|
|
225
|
+
.eds-leg-bone--vertical {
|
|
226
|
+
flex-direction: column;
|
|
227
|
+
width: 1rem;
|
|
228
|
+
}
|
|
229
|
+
.eds-leg-bone--vertical .eds-leg-bone__start {
|
|
230
|
+
margin-bottom: 0.125rem;
|
|
231
|
+
}
|
|
232
|
+
.eds-leg-bone--vertical .eds-leg-bone__stop {
|
|
233
|
+
margin-top: 0.125rem;
|
|
234
|
+
}
|
|
235
|
+
.eds-leg-bone--horizontal {
|
|
236
|
+
flex-direction: row;
|
|
237
|
+
height: 1rem;
|
|
238
|
+
}
|
|
239
|
+
.eds-leg-bone--horizontal .eds-leg-bone__start {
|
|
240
|
+
margin-right: 0.125rem;
|
|
241
|
+
}
|
|
242
|
+
.eds-leg-bone--horizontal .eds-leg-bone__stop {
|
|
243
|
+
margin-left: 0.125rem;
|
|
244
|
+
}
|
|
245
|
+
/* DO NOT CHANGE!*/
|
|
246
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
247
|
/* DO NOT CHANGE!*/
|
|
4
248
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
249
|
/* DO NOT CHANGE!*/
|
|
@@ -747,337 +991,99 @@
|
|
|
747
991
|
:root {
|
|
748
992
|
--contrast-bicycle: #00db9b;
|
|
749
993
|
--contrast-bus: #ff6392;
|
|
750
|
-
--contrast-bus-transparent:
|
|
994
|
+
--contrast-bus-transparent: rgba(255,99,146,0.14902);
|
|
751
995
|
--contrast-cableway: #b482fb;
|
|
752
|
-
--contrast-cableway-transparent:
|
|
996
|
+
--contrast-cableway-transparent: rgba(180,130,251,0.14902);
|
|
753
997
|
--contrast-carferry: #6fdfff;
|
|
754
|
-
--contrast-carferry-transparent:
|
|
998
|
+
--contrast-carferry-transparent: rgba(111,223,255,0.14902);
|
|
755
999
|
--contrast-citybike: #00db9b;
|
|
756
1000
|
--contrast-ferry: #6fdfff;
|
|
757
|
-
--contrast-ferry-transparent:
|
|
1001
|
+
--contrast-ferry-transparent: rgba(111,223,255,0.14902);
|
|
758
1002
|
--contrast-funicular: #b482fb;
|
|
759
|
-
--contrast-funicular-transparent:
|
|
1003
|
+
--contrast-funicular-transparent: rgba(180,130,251,0.14902);
|
|
760
1004
|
--contrast-helicopter: #fbafea;
|
|
761
|
-
--contrast-helicopter-transparent:
|
|
1005
|
+
--contrast-helicopter-transparent: rgba(251,175,234,0.14902);
|
|
762
1006
|
--contrast-metro: #f08901;
|
|
763
|
-
--contrast-metro-transparent:
|
|
1007
|
+
--contrast-metro-transparent: rgba(240,137,1,0.14902);
|
|
764
1008
|
--contrast-mobility: #00db9b;
|
|
765
1009
|
--contrast-neutral: #ffffff;
|
|
766
1010
|
--contrast-plane: #fbafea;
|
|
767
|
-
--contrast-plane-transparent:
|
|
1011
|
+
--contrast-plane-transparent: rgba(251,175,234,0.14902);
|
|
768
1012
|
--contrast-taxi: #ffe082;
|
|
769
|
-
--contrast-taxi-transparent:
|
|
1013
|
+
--contrast-taxi-transparent: rgba(255,224,130,0.14902);
|
|
770
1014
|
--contrast-train: #42a5f5;
|
|
771
|
-
--contrast-train-transparent:
|
|
1015
|
+
--contrast-train-transparent: rgba(66,165,245,0.14902);
|
|
772
1016
|
--contrast-tram: #b482fb;
|
|
773
|
-
--contrast-tram-transparent:
|
|
1017
|
+
--contrast-tram-transparent: rgba(180,130,251,0.14902);
|
|
774
1018
|
--contrast-walk: #8284ab;
|
|
775
1019
|
--contrast-airportlinkbus: #fbafea;
|
|
776
|
-
--contrast-airportlinkbus-transparent:
|
|
1020
|
+
--contrast-airportlinkbus-transparent: rgba(251,175,234,0.14902);
|
|
777
1021
|
--contrast-airportlinkrail: #fbafea;
|
|
778
|
-
--contrast-airportlinkrail-transparent:
|
|
1022
|
+
--contrast-airportlinkrail-transparent: rgba(251,175,234,0.14902);
|
|
779
1023
|
--dark-bicycle: #4db295;
|
|
780
1024
|
--dark-bus: #ef7398;
|
|
781
|
-
--dark-bus-transparent:
|
|
1025
|
+
--dark-bus-transparent: rgba(239,115,152,0.14902);
|
|
782
1026
|
--dark-cableway: #b898e5;
|
|
783
|
-
--dark-cableway-transparent:
|
|
1027
|
+
--dark-cableway-transparent: rgba(184,152,229,0.14902);
|
|
784
1028
|
--dark-carferry: #8ccfe2;
|
|
785
|
-
--dark-carferry-transparent:
|
|
1029
|
+
--dark-carferry-transparent: rgba(140,207,226,0.14902);
|
|
786
1030
|
--dark-citybike: #4db295;
|
|
787
1031
|
--dark-ferry: #8ccfe2;
|
|
788
|
-
--dark-ferry-transparent:
|
|
1032
|
+
--dark-ferry-transparent: rgba(140,207,226,0.14902);
|
|
789
1033
|
--dark-funicular: #b898e5;
|
|
790
|
-
--dark-funicular-transparent:
|
|
1034
|
+
--dark-funicular-transparent: rgba(184,152,229,0.14902);
|
|
791
1035
|
--dark-helicopter: #f2b8e5;
|
|
792
|
-
--dark-helicopter-transparent:
|
|
1036
|
+
--dark-helicopter-transparent: rgba(242,184,229,0.14902);
|
|
793
1037
|
--dark-metro: #dd973c;
|
|
794
|
-
--dark-metro-transparent:
|
|
1038
|
+
--dark-metro-transparent: rgba(221,151,60,0.14902);
|
|
795
1039
|
--dark-mobility: #4db295;
|
|
796
1040
|
--dark-neutral: #e5e5e9;
|
|
797
1041
|
--dark-plane: #f2b8e5;
|
|
798
|
-
--dark-plane-transparent:
|
|
1042
|
+
--dark-plane-transparent: rgba(242,184,229,0.14902);
|
|
799
1043
|
--dark-taxi: #ffe082;
|
|
800
|
-
--dark-taxi-transparent:
|
|
1044
|
+
--dark-taxi-transparent: rgba(255,224,130,0.14902);
|
|
801
1045
|
--dark-train: #60a2d7;
|
|
802
|
-
--dark-train-transparent:
|
|
1046
|
+
--dark-train-transparent: rgba(96,162,215,0.14902);
|
|
803
1047
|
--dark-tram: #b898e5;
|
|
804
|
-
--dark-tram-transparent:
|
|
1048
|
+
--dark-tram-transparent: rgba(184,152,229,0.14902);
|
|
805
1049
|
--dark-walk: #8d8e9c;
|
|
806
1050
|
--dark-airportlinkbus: #f2b8e5;
|
|
807
|
-
--dark-airportlinkbus-transparent:
|
|
1051
|
+
--dark-airportlinkbus-transparent: rgba(242,184,229,0.14902);
|
|
808
1052
|
--dark-airportlinkrail: #f2b8e5;
|
|
809
|
-
--dark-airportlinkrail-transparent:
|
|
1053
|
+
--dark-airportlinkrail-transparent: rgba(242,184,229,0.14902);
|
|
810
1054
|
--standard-bicycle: #388f76;
|
|
811
1055
|
--standard-bus: #c5044e;
|
|
812
|
-
--standard-bus-transparent:
|
|
1056
|
+
--standard-bus-transparent: rgba(197,4,78,0.14902);
|
|
813
1057
|
--standard-cableway: #78469a;
|
|
814
|
-
--standard-cableway-transparent:
|
|
1058
|
+
--standard-cableway-transparent: rgba(120,70,154,0.14902);
|
|
815
1059
|
--standard-carferry: #0c6693;
|
|
816
|
-
--standard-carferry-transparent:
|
|
1060
|
+
--standard-carferry-transparent: rgba(12,102,147,0.14902);
|
|
817
1061
|
--standard-citybike: #388f76;
|
|
818
1062
|
--standard-ferry: #0c6693;
|
|
819
|
-
--standard-ferry-transparent:
|
|
1063
|
+
--standard-ferry-transparent: rgba(12,102,147,0.14902);
|
|
820
1064
|
--standard-funicular: #78469a;
|
|
821
|
-
--standard-funicular-transparent:
|
|
1065
|
+
--standard-funicular-transparent: rgba(120,70,154,0.14902);
|
|
822
1066
|
--standard-helicopter: #800664;
|
|
823
|
-
--standard-helicopter-transparent:
|
|
1067
|
+
--standard-helicopter-transparent: rgba(128,6,100,0.14902);
|
|
824
1068
|
--standard-metro: #bf5826;
|
|
825
|
-
--standard-metro-transparent:
|
|
1069
|
+
--standard-metro-transparent: rgba(191,88,38,0.14902);
|
|
826
1070
|
--standard-mobility: #388f76;
|
|
827
1071
|
--standard-neutral: #181c56;
|
|
828
1072
|
--standard-plane: #800664;
|
|
829
|
-
--standard-plane-transparent:
|
|
1073
|
+
--standard-plane-transparent: rgba(128,6,100,0.14902);
|
|
830
1074
|
--standard-taxi: #3d3e40;
|
|
831
|
-
--standard-taxi-transparent:
|
|
1075
|
+
--standard-taxi-transparent: rgba(61,62,64,0.14902);
|
|
832
1076
|
--standard-train: #00367f;
|
|
833
|
-
--standard-train-transparent:
|
|
1077
|
+
--standard-train-transparent: rgba(0,54,127,0.14902);
|
|
834
1078
|
--standard-tram: #78469a;
|
|
835
|
-
--standard-tram-transparent:
|
|
1079
|
+
--standard-tram-transparent: rgba(120,70,154,0.14902);
|
|
836
1080
|
--standard-walk: #8d8e9c;
|
|
837
1081
|
--standard-airportlinkbus: #800664;
|
|
838
|
-
--standard-airportlinkbus-transparent:
|
|
1082
|
+
--standard-airportlinkbus-transparent: rgba(128,6,100,0.14902);
|
|
839
1083
|
--standard-airportlinkrail: #800664;
|
|
840
|
-
--standard-airportlinkrail-transparent:
|
|
1084
|
+
--standard-airportlinkrail-transparent: rgba(128,6,100,0.14902);
|
|
841
1085
|
}
|
|
842
1086
|
|
|
843
1087
|
:root {
|
|
844
1088
|
--eds-travel: 1;
|
|
845
|
-
}/* DO NOT CHANGE!*/
|
|
846
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
847
|
-
.eds-travel-header {
|
|
848
|
-
color: var(--components-travel-travelheader-standard-text);
|
|
849
|
-
display: flex;
|
|
850
|
-
flex-direction: column;
|
|
851
|
-
font-weight: 600;
|
|
852
|
-
line-height: 1.5;
|
|
853
|
-
max-width: 100%;
|
|
854
|
-
}
|
|
855
|
-
.eds-contrast .eds-travel-header {
|
|
856
|
-
color: var(--components-travel-travelheader-contrast-text);
|
|
857
|
-
}
|
|
858
|
-
.eds-travel-header--large {
|
|
859
|
-
font-size: 1.5rem;
|
|
860
|
-
}
|
|
861
|
-
.eds-travel-header--medium {
|
|
862
|
-
font-size: 1rem;
|
|
863
|
-
}
|
|
864
|
-
.eds-travel-header--no-wrap {
|
|
865
|
-
flex-direction: row;
|
|
866
|
-
}
|
|
867
|
-
.eds-travel-header__from, .eds-travel-header__to {
|
|
868
|
-
min-width: 0;
|
|
869
|
-
overflow: hidden;
|
|
870
|
-
text-overflow: ellipsis;
|
|
871
|
-
white-space: nowrap;
|
|
872
|
-
}
|
|
873
|
-
.eds-travel-header--no-wrap .eds-travel-header__from {
|
|
874
|
-
margin-right: 0.5em;
|
|
875
|
-
}
|
|
876
|
-
.eds-travel-header__to {
|
|
877
|
-
padding-left: 1.8333333333em;
|
|
878
|
-
position: relative;
|
|
879
|
-
}
|
|
880
|
-
.eds-travel-header__to::before {
|
|
881
|
-
background-color: var(--components-travel-travelheader-standard-stroke-line);
|
|
882
|
-
content: "";
|
|
883
|
-
display: block;
|
|
884
|
-
height: 0.1666666667em;
|
|
885
|
-
left: 0;
|
|
886
|
-
position: absolute;
|
|
887
|
-
top: 0.65em;
|
|
888
|
-
width: 1.3333333333em;
|
|
889
|
-
}
|
|
890
|
-
.eds-contrast .eds-travel-header__to::before {
|
|
891
|
-
background-color: var(--components-travel-travelheader-contrast-stroke-line);
|
|
892
|
-
}/* DO NOT CHANGE!*/
|
|
893
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
894
|
-
.eds-travel-tag {
|
|
895
|
-
--background-color: var(--components-travel-traveltag-standard-tagfill-walk);
|
|
896
|
-
--text-color: var(--components-travel-traveltag-standard-text-line);
|
|
897
|
-
display: inline-flex;
|
|
898
|
-
position: relative;
|
|
899
|
-
padding: 0.25rem 0.5rem;
|
|
900
|
-
height: 2rem;
|
|
901
|
-
min-width: 2rem;
|
|
902
|
-
font-size: 0.875rem;
|
|
903
|
-
line-height: 1.5rem;
|
|
904
|
-
border-radius: 0.25rem;
|
|
905
|
-
background-color: var(--background-color);
|
|
906
|
-
color: var(--text-color);
|
|
907
|
-
}
|
|
908
|
-
.eds-contrast .eds-travel-tag {
|
|
909
|
-
--background-color: var(--components-travel-traveltag-contrast-tagfill-walk);
|
|
910
|
-
--text-color: var(--components-travel-traveltag-contrast-text-line);
|
|
911
|
-
}
|
|
912
|
-
.eds-travel-tag--alert {
|
|
913
|
-
padding-right: 0.75rem;
|
|
914
|
-
}
|
|
915
|
-
.eds-travel-tag--alert--error {
|
|
916
|
-
background-color: var(--background-color);
|
|
917
|
-
color: var(--text-color);
|
|
918
|
-
}
|
|
919
|
-
.eds-contrast .eds-travel-tag--alert--error.eds-travel-tag {
|
|
920
|
-
background-color: var(--background-color);
|
|
921
|
-
color: var(--text-color);
|
|
922
|
-
}
|
|
923
|
-
.eds-travel-tag--icon-and-text > .eds-icon {
|
|
924
|
-
margin-right: 0.5rem;
|
|
925
|
-
}
|
|
926
|
-
.eds-travel-tag > .eds-icon {
|
|
927
|
-
font-size: 1.5rem;
|
|
928
|
-
color: var(--text-color);
|
|
929
|
-
}
|
|
930
|
-
.eds-travel-tag__alert {
|
|
931
|
-
border-radius: 50%;
|
|
932
|
-
display: flex;
|
|
933
|
-
align-items: center;
|
|
934
|
-
justify-content: center;
|
|
935
|
-
font-size: 1rem;
|
|
936
|
-
height: 1.125rem;
|
|
937
|
-
width: 1.125rem;
|
|
938
|
-
position: absolute;
|
|
939
|
-
top: 0.4375rem;
|
|
940
|
-
right: -0.6875rem;
|
|
941
|
-
background: var(--components-form-feedbacktext-information-standard-stroke);
|
|
942
1089
|
}
|
|
943
|
-
.eds-contrast .eds-travel-tag__alert {
|
|
944
|
-
background: var(--components-form-feedbacktext-information-contrast-stroke);
|
|
945
|
-
}
|
|
946
|
-
.eds-travel-tag__alert-exclamation-icon {
|
|
947
|
-
color: var(--components-form-feedbacktext-warning-standard-icon-fill);
|
|
948
|
-
}
|
|
949
|
-
.eds-travel-tag__alert-exclamation-icon .svg-validation-circlefilled-exclamation {
|
|
950
|
-
fill: var(--components-form-feedbacktext-warning-standard-icon-symbol);
|
|
951
|
-
}
|
|
952
|
-
.eds-contrast .eds-travel-tag__alert-exclamation-icon {
|
|
953
|
-
color: var(--components-form-feedbacktext-warning-contrast-icon);
|
|
954
|
-
}
|
|
955
|
-
.eds-travel-tag__alert-error-icon {
|
|
956
|
-
font-size: 0.875rem;
|
|
957
|
-
color: var(--components-form-feedbacktext-negative-standard-icon-fill);
|
|
958
|
-
}
|
|
959
|
-
.eds-contrast .eds-travel-tag__alert-error-icon {
|
|
960
|
-
color: var(--components-form-feedbacktext-negative-contrast-icon-fill);
|
|
961
|
-
}
|
|
962
|
-
.eds-travel-tag__alert-info-icon {
|
|
963
|
-
color: var(--components-form-feedbacktext-information-standard-icon-fill);
|
|
964
|
-
}
|
|
965
|
-
.eds-contrast .eds-travel-tag__alert-info-icon {
|
|
966
|
-
color: var(--components-form-feedbacktext-information-contrast-icon-fill);
|
|
967
|
-
}
|
|
968
|
-
.eds-travel-tag__wrapper {
|
|
969
|
-
display: inline-flex;
|
|
970
|
-
}
|
|
971
|
-
.eds-travel-tag__wrapper--label-position-right {
|
|
972
|
-
flex-direction: row;
|
|
973
|
-
align-items: center;
|
|
974
|
-
}
|
|
975
|
-
.eds-travel-tag__wrapper--label-position-bottom {
|
|
976
|
-
flex-direction: column;
|
|
977
|
-
align-items: flex-start;
|
|
978
|
-
}
|
|
979
|
-
.eds-travel-tag__label {
|
|
980
|
-
color: var(--components-travel-traveltag-standard-text-label);
|
|
981
|
-
font-size: 1rem;
|
|
982
|
-
}
|
|
983
|
-
.eds-contrast .eds-travel-tag__label {
|
|
984
|
-
color: var(--components-travel-traveltag-contrast-text-label);
|
|
985
|
-
}
|
|
986
|
-
.eds-travel-tag__label--right {
|
|
987
|
-
margin-left: 0.5rem;
|
|
988
|
-
}
|
|
989
|
-
.eds-travel-tag__label--right--with-alert {
|
|
990
|
-
margin-left: 1rem;
|
|
991
|
-
}
|
|
992
|
-
.eds-travel-tag__label--bottom {
|
|
993
|
-
margin-top: 0.125rem;
|
|
994
|
-
font-size: 0.875rem;
|
|
995
|
-
}
|
|
996
|
-
.eds-travel-tag__close-button {
|
|
997
|
-
appearance: none;
|
|
998
|
-
background: none;
|
|
999
|
-
border: none;
|
|
1000
|
-
border-radius: 50%;
|
|
1001
|
-
cursor: pointer;
|
|
1002
|
-
margin: 0 0 0 0.75rem;
|
|
1003
|
-
padding: 0;
|
|
1004
|
-
height: 1.5rem;
|
|
1005
|
-
width: 1.5rem;
|
|
1006
|
-
}
|
|
1007
|
-
.eds-travel-tag__close-button .eds-icon {
|
|
1008
|
-
color: var(--text-color);
|
|
1009
|
-
font-size: 0.875rem;
|
|
1010
|
-
}
|
|
1011
|
-
.eds-travel-tag__close-button:has(:focus-visible) {
|
|
1012
|
-
outline-offset: 0.125rem;
|
|
1013
|
-
outline: 2px solid #ffffff;
|
|
1014
|
-
}.eds-leg-line {
|
|
1015
|
-
flex-grow: 1;
|
|
1016
|
-
mask-image: url("data:image/svg+xml,%3csvg%20width='4'%20height='4'%20role='presentation'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20fill='%23000'%20x='0'%20y='0'%20width='4'%20height='4'%20/%3e%3c/svg%3e");
|
|
1017
|
-
mask-position: center;
|
|
1018
|
-
-webkit-mask-image: url("data:image/svg+xml,%3csvg%20width='4'%20height='4'%20role='presentation'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20fill='%23000'%20x='0'%20y='0'%20width='4'%20height='4'%20/%3e%3c/svg%3e");
|
|
1019
|
-
-webkit-mask-position: center;
|
|
1020
|
-
}
|
|
1021
|
-
.eds-leg-line--dotted {
|
|
1022
|
-
mask-image: url("data:image/svg+xml,%3csvg%20width='8'%20height='8'%20role='presentation'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ccircle%20fill='%23000'%20cx='4'%20cy='4'%20r='2'%20/%3e%3c/svg%3e");
|
|
1023
|
-
-webkit-mask-image: url("data:image/svg+xml,%3csvg%20width='8'%20height='8'%20role='presentation'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3ccircle%20fill='%23000'%20cx='4'%20cy='4'%20r='2'%20/%3e%3c/svg%3e");
|
|
1024
|
-
}
|
|
1025
|
-
.eds-leg-line--vertical {
|
|
1026
|
-
mask-repeat: repeat-y;
|
|
1027
|
-
width: 1rem;
|
|
1028
|
-
-webkit-mask-repeat: repeat-y;
|
|
1029
|
-
}
|
|
1030
|
-
.eds-leg-line--vertical.eds-leg-line--dashed {
|
|
1031
|
-
mask-image: url("data:image/svg+xml,%3csvg%20width='4'%20height='16'%20role='presentation'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20fill='%23000'%20x='0'%20y='3'%20width='4'%20height='10'%20/%3e%3c/svg%3e");
|
|
1032
|
-
-webkit-mask-image: url("data:image/svg+xml,%3csvg%20width='4'%20height='16'%20role='presentation'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20fill='%23000'%20x='0'%20y='3'%20width='4'%20height='10'%20/%3e%3c/svg%3e");
|
|
1033
|
-
}
|
|
1034
|
-
.eds-leg-line--vertical.eds-leg-line--wave {
|
|
1035
|
-
mask-image: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20role='presentation'%20width='16'%20height='16'%3e%3cpath%20fill='none'%20stroke='%23000'%20stroke-width='4'%20d='M7.6%200c0%204%202.096%204%202.096%208S7.6%2012%207.6%2016'/%3e%3c/svg%3e");
|
|
1036
|
-
-webkit-mask-image: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20role='presentation'%20width='16'%20height='16'%3e%3cpath%20fill='none'%20stroke='%23000'%20stroke-width='4'%20d='M7.6%200c0%204%202.096%204%202.096%208S7.6%2012%207.6%2016'/%3e%3c/svg%3e");
|
|
1037
|
-
}
|
|
1038
|
-
.eds-leg-line--horizontal {
|
|
1039
|
-
height: 1rem;
|
|
1040
|
-
mask-repeat: repeat-x;
|
|
1041
|
-
min-width: 6.25rem;
|
|
1042
|
-
-webkit-mask-repeat: repeat-x;
|
|
1043
|
-
}
|
|
1044
|
-
.eds-leg-line--horizontal.eds-leg-line--dashed {
|
|
1045
|
-
mask-image: url("data:image/svg+xml,%3csvg%20width='16'%20height='4'%20role='presentation'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20fill='%23000'%20x='3'%20y='0'%20width='10'%20height='4'%20/%3e%3c/svg%3e");
|
|
1046
|
-
-webkit-mask-image: url("data:image/svg+xml,%3csvg%20width='16'%20height='4'%20role='presentation'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%3e%3crect%20fill='%23000'%20x='3'%20y='0'%20width='10'%20height='4'%20/%3e%3c/svg%3e");
|
|
1047
|
-
}
|
|
1048
|
-
.eds-leg-line--horizontal.eds-leg-line--wave {
|
|
1049
|
-
mask-image: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20role='presentation'%20width='16'%20height='16'%3e%3cpath%20fill='none'%20stroke='%23000'%20stroke-width='4'%20d='M0%209.048c4%200%204-2.096%208-2.096s4%202.096%208%202.096'/%3e%3c/svg%3e");
|
|
1050
|
-
-webkit-mask-image: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20role='presentation'%20width='16'%20height='16'%3e%3cpath%20fill='none'%20stroke='%23000'%20stroke-width='4'%20d='M0%209.048c4%200%204-2.096%208-2.096s4%202.096%208%202.096'/%3e%3c/svg%3e");
|
|
1051
|
-
}.eds-leg-bone {
|
|
1052
|
-
align-items: center;
|
|
1053
|
-
display: flex;
|
|
1054
|
-
justify-content: space-between;
|
|
1055
|
-
}
|
|
1056
|
-
.eds-leg-bone__start, .eds-leg-bone__stop {
|
|
1057
|
-
border-radius: 50%;
|
|
1058
|
-
height: 1rem;
|
|
1059
|
-
width: 1rem;
|
|
1060
|
-
}
|
|
1061
|
-
.eds-leg-bone__line {
|
|
1062
|
-
flex-grow: 1;
|
|
1063
|
-
}
|
|
1064
|
-
.eds-leg-bone--vertical {
|
|
1065
|
-
flex-direction: column;
|
|
1066
|
-
width: 1rem;
|
|
1067
|
-
}
|
|
1068
|
-
.eds-leg-bone--vertical .eds-leg-bone__start {
|
|
1069
|
-
margin-bottom: 0.125rem;
|
|
1070
|
-
}
|
|
1071
|
-
.eds-leg-bone--vertical .eds-leg-bone__stop {
|
|
1072
|
-
margin-top: 0.125rem;
|
|
1073
|
-
}
|
|
1074
|
-
.eds-leg-bone--horizontal {
|
|
1075
|
-
flex-direction: row;
|
|
1076
|
-
height: 1rem;
|
|
1077
|
-
}
|
|
1078
|
-
.eds-leg-bone--horizontal .eds-leg-bone__start {
|
|
1079
|
-
margin-right: 0.125rem;
|
|
1080
|
-
}
|
|
1081
|
-
.eds-leg-bone--horizontal .eds-leg-bone__stop {
|
|
1082
|
-
margin-left: 0.125rem;
|
|
1083
|
-
}
|