@entur/travel 6.3.14-beta.9 → 6.3.15
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 +1 -2
- package/dist/LegLine.d.ts +1 -2
- package/dist/TravelHeader.d.ts +1 -2
- package/dist/TravelLeg.d.ts +2 -2
- package/dist/TravelSwitch.d.ts +2 -2
- package/dist/TravelTag.d.ts +2 -3
- package/dist/index.d.ts +0 -1
- package/dist/styles.css +277 -283
- package/dist/travel.cjs.js +420 -0
- package/dist/travel.cjs.js.map +1 -0
- package/dist/travel.esm.js +343 -301
- package/dist/travel.esm.js.map +1 -1
- package/dist/utils.d.ts +2 -2
- package/package.json +24 -14
- package/dist/index.js +0 -8
- package/dist/pattern/dashed-horizontal.svg +0 -3
- package/dist/pattern/dashed-vertical.svg +0 -3
- package/dist/pattern/dotted.svg +0 -3
- package/dist/pattern/line.svg +0 -3
- package/dist/pattern/wave-horizontal.svg +0 -3
- package/dist/pattern/wave-vertical.svg +0 -3
- package/dist/travel.cjs.development.js +0 -387
- package/dist/travel.cjs.development.js.map +0 -1
- package/dist/travel.cjs.production.min.js +0 -2
- package/dist/travel.cjs.production.min.js.map +0 -1
package/dist/LegBone.d.ts
CHANGED
package/dist/LegLine.d.ts
CHANGED
package/dist/TravelHeader.d.ts
CHANGED
package/dist/TravelLeg.d.ts
CHANGED
package/dist/TravelSwitch.d.ts
CHANGED
package/dist/TravelTag.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import './TravelTag.scss';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { Transport } from './utils';
|
|
4
3
|
export type TravelTagProps = {
|
|
5
4
|
/** Callback som kalles for når man skal lukke TravelTag-en
|
|
6
5
|
* @default undefined
|
package/dist/index.d.ts
CHANGED
package/dist/styles.css
CHANGED
|
@@ -1,249 +1,5 @@
|
|
|
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. */
|
|
247
3
|
/* DO NOT CHANGE!*/
|
|
248
4
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
249
5
|
/* DO NOT CHANGE!*/
|
|
@@ -991,99 +747,337 @@
|
|
|
991
747
|
:root {
|
|
992
748
|
--contrast-bicycle: #00db9b;
|
|
993
749
|
--contrast-bus: #ff6392;
|
|
994
|
-
--contrast-bus-transparent:
|
|
750
|
+
--contrast-bus-transparent: #ff639226;
|
|
995
751
|
--contrast-cableway: #b482fb;
|
|
996
|
-
--contrast-cableway-transparent:
|
|
752
|
+
--contrast-cableway-transparent: #b482fb26;
|
|
997
753
|
--contrast-carferry: #6fdfff;
|
|
998
|
-
--contrast-carferry-transparent:
|
|
754
|
+
--contrast-carferry-transparent: #6fdfff26;
|
|
999
755
|
--contrast-citybike: #00db9b;
|
|
1000
756
|
--contrast-ferry: #6fdfff;
|
|
1001
|
-
--contrast-ferry-transparent:
|
|
757
|
+
--contrast-ferry-transparent: #6fdfff26;
|
|
1002
758
|
--contrast-funicular: #b482fb;
|
|
1003
|
-
--contrast-funicular-transparent:
|
|
759
|
+
--contrast-funicular-transparent: #b482fb26;
|
|
1004
760
|
--contrast-helicopter: #fbafea;
|
|
1005
|
-
--contrast-helicopter-transparent:
|
|
761
|
+
--contrast-helicopter-transparent: #fbafea26;
|
|
1006
762
|
--contrast-metro: #f08901;
|
|
1007
|
-
--contrast-metro-transparent:
|
|
763
|
+
--contrast-metro-transparent: #f0890126;
|
|
1008
764
|
--contrast-mobility: #00db9b;
|
|
1009
765
|
--contrast-neutral: #ffffff;
|
|
1010
766
|
--contrast-plane: #fbafea;
|
|
1011
|
-
--contrast-plane-transparent:
|
|
767
|
+
--contrast-plane-transparent: #fbafea26;
|
|
1012
768
|
--contrast-taxi: #ffe082;
|
|
1013
|
-
--contrast-taxi-transparent:
|
|
769
|
+
--contrast-taxi-transparent: #ffe08226;
|
|
1014
770
|
--contrast-train: #42a5f5;
|
|
1015
|
-
--contrast-train-transparent:
|
|
771
|
+
--contrast-train-transparent: #42a5f526;
|
|
1016
772
|
--contrast-tram: #b482fb;
|
|
1017
|
-
--contrast-tram-transparent:
|
|
773
|
+
--contrast-tram-transparent: #b482fb26;
|
|
1018
774
|
--contrast-walk: #8284ab;
|
|
1019
775
|
--contrast-airportlinkbus: #fbafea;
|
|
1020
|
-
--contrast-airportlinkbus-transparent:
|
|
776
|
+
--contrast-airportlinkbus-transparent: #fbafea26;
|
|
1021
777
|
--contrast-airportlinkrail: #fbafea;
|
|
1022
|
-
--contrast-airportlinkrail-transparent:
|
|
778
|
+
--contrast-airportlinkrail-transparent: #fbafea26;
|
|
1023
779
|
--dark-bicycle: #4db295;
|
|
1024
780
|
--dark-bus: #ef7398;
|
|
1025
|
-
--dark-bus-transparent:
|
|
781
|
+
--dark-bus-transparent: #ef739826;
|
|
1026
782
|
--dark-cableway: #b898e5;
|
|
1027
|
-
--dark-cableway-transparent:
|
|
783
|
+
--dark-cableway-transparent: #b898e526;
|
|
1028
784
|
--dark-carferry: #8ccfe2;
|
|
1029
|
-
--dark-carferry-transparent:
|
|
785
|
+
--dark-carferry-transparent: #8ccfe226;
|
|
1030
786
|
--dark-citybike: #4db295;
|
|
1031
787
|
--dark-ferry: #8ccfe2;
|
|
1032
|
-
--dark-ferry-transparent:
|
|
788
|
+
--dark-ferry-transparent: #8ccfe226;
|
|
1033
789
|
--dark-funicular: #b898e5;
|
|
1034
|
-
--dark-funicular-transparent:
|
|
790
|
+
--dark-funicular-transparent: #b898e526;
|
|
1035
791
|
--dark-helicopter: #f2b8e5;
|
|
1036
|
-
--dark-helicopter-transparent:
|
|
792
|
+
--dark-helicopter-transparent: #f2b8e526;
|
|
1037
793
|
--dark-metro: #dd973c;
|
|
1038
|
-
--dark-metro-transparent:
|
|
794
|
+
--dark-metro-transparent: #dd973c26;
|
|
1039
795
|
--dark-mobility: #4db295;
|
|
1040
796
|
--dark-neutral: #e5e5e9;
|
|
1041
797
|
--dark-plane: #f2b8e5;
|
|
1042
|
-
--dark-plane-transparent:
|
|
798
|
+
--dark-plane-transparent: #f2b8e526;
|
|
1043
799
|
--dark-taxi: #ffe082;
|
|
1044
|
-
--dark-taxi-transparent:
|
|
800
|
+
--dark-taxi-transparent: #ffe08226;
|
|
1045
801
|
--dark-train: #60a2d7;
|
|
1046
|
-
--dark-train-transparent:
|
|
802
|
+
--dark-train-transparent: #60a2d726;
|
|
1047
803
|
--dark-tram: #b898e5;
|
|
1048
|
-
--dark-tram-transparent:
|
|
804
|
+
--dark-tram-transparent: #b898e526;
|
|
1049
805
|
--dark-walk: #8d8e9c;
|
|
1050
806
|
--dark-airportlinkbus: #f2b8e5;
|
|
1051
|
-
--dark-airportlinkbus-transparent:
|
|
807
|
+
--dark-airportlinkbus-transparent: #f2b8e526;
|
|
1052
808
|
--dark-airportlinkrail: #f2b8e5;
|
|
1053
|
-
--dark-airportlinkrail-transparent:
|
|
809
|
+
--dark-airportlinkrail-transparent: #f2b8e526;
|
|
1054
810
|
--standard-bicycle: #388f76;
|
|
1055
811
|
--standard-bus: #c5044e;
|
|
1056
|
-
--standard-bus-transparent:
|
|
812
|
+
--standard-bus-transparent: #c5044e26;
|
|
1057
813
|
--standard-cableway: #78469a;
|
|
1058
|
-
--standard-cableway-transparent:
|
|
814
|
+
--standard-cableway-transparent: #78469a26;
|
|
1059
815
|
--standard-carferry: #0c6693;
|
|
1060
|
-
--standard-carferry-transparent:
|
|
816
|
+
--standard-carferry-transparent: #0c669326;
|
|
1061
817
|
--standard-citybike: #388f76;
|
|
1062
818
|
--standard-ferry: #0c6693;
|
|
1063
|
-
--standard-ferry-transparent:
|
|
819
|
+
--standard-ferry-transparent: #0c669326;
|
|
1064
820
|
--standard-funicular: #78469a;
|
|
1065
|
-
--standard-funicular-transparent:
|
|
821
|
+
--standard-funicular-transparent: #78469a26;
|
|
1066
822
|
--standard-helicopter: #800664;
|
|
1067
|
-
--standard-helicopter-transparent:
|
|
823
|
+
--standard-helicopter-transparent: #80066426;
|
|
1068
824
|
--standard-metro: #bf5826;
|
|
1069
|
-
--standard-metro-transparent:
|
|
825
|
+
--standard-metro-transparent: #bf582626;
|
|
1070
826
|
--standard-mobility: #388f76;
|
|
1071
827
|
--standard-neutral: #181c56;
|
|
1072
828
|
--standard-plane: #800664;
|
|
1073
|
-
--standard-plane-transparent:
|
|
829
|
+
--standard-plane-transparent: #80066426;
|
|
1074
830
|
--standard-taxi: #3d3e40;
|
|
1075
|
-
--standard-taxi-transparent:
|
|
831
|
+
--standard-taxi-transparent: #3d3e4026;
|
|
1076
832
|
--standard-train: #00367f;
|
|
1077
|
-
--standard-train-transparent:
|
|
833
|
+
--standard-train-transparent: #00367f26;
|
|
1078
834
|
--standard-tram: #78469a;
|
|
1079
|
-
--standard-tram-transparent:
|
|
835
|
+
--standard-tram-transparent: #78469a26;
|
|
1080
836
|
--standard-walk: #8d8e9c;
|
|
1081
837
|
--standard-airportlinkbus: #800664;
|
|
1082
|
-
--standard-airportlinkbus-transparent:
|
|
838
|
+
--standard-airportlinkbus-transparent: #80066426;
|
|
1083
839
|
--standard-airportlinkrail: #800664;
|
|
1084
|
-
--standard-airportlinkrail-transparent:
|
|
840
|
+
--standard-airportlinkrail-transparent: #80066426;
|
|
1085
841
|
}
|
|
1086
842
|
|
|
1087
843
|
:root {
|
|
1088
844
|
--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);
|
|
1089
942
|
}
|
|
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
|
+
}
|