@entur/layout 2.1.27 → 2.1.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles.css +94 -94
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
:root {
|
|
2
|
-
--eds-layout: 1;
|
|
3
|
-
}
|
|
4
1
|
/* DO NOT CHANGE!*/
|
|
5
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
3
|
.eds-contrast {
|
|
@@ -10,6 +7,100 @@
|
|
|
10
7
|
background-color: var(--primary-background-color);
|
|
11
8
|
color: var(--primary-text-color);
|
|
12
9
|
}
|
|
10
|
+
:root {
|
|
11
|
+
--eds-layout: 1;
|
|
12
|
+
}
|
|
13
|
+
/* DO NOT CHANGE!*/
|
|
14
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
15
|
+
.eds-media-card {
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
position: relative;
|
|
19
|
+
width: -moz-fit-content;
|
|
20
|
+
width: fit-content;
|
|
21
|
+
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
22
|
+
}
|
|
23
|
+
.eds-media-card:focus, .eds-media-card[focus-within] {
|
|
24
|
+
outline: none;
|
|
25
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
26
|
+
}
|
|
27
|
+
.eds-media-card:focus, .eds-media-card:focus-within {
|
|
28
|
+
outline: none;
|
|
29
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
30
|
+
}
|
|
31
|
+
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
|
|
32
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
33
|
+
}
|
|
34
|
+
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
|
|
35
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
36
|
+
}
|
|
37
|
+
.eds-contrast .eds-media-card {
|
|
38
|
+
background-color: #292b6a;
|
|
39
|
+
}
|
|
40
|
+
.eds-media-card__media {
|
|
41
|
+
transition: transform 0.2s ease-in-out;
|
|
42
|
+
}
|
|
43
|
+
.eds-media-card__title {
|
|
44
|
+
font-size: 1.5rem;
|
|
45
|
+
line-height: 1.875rem;
|
|
46
|
+
font-weight: 600;
|
|
47
|
+
margin: 0.75rem 0 0.5rem;
|
|
48
|
+
text-align: left;
|
|
49
|
+
width: -moz-fit-content;
|
|
50
|
+
width: fit-content;
|
|
51
|
+
position: relative;
|
|
52
|
+
}
|
|
53
|
+
.eds-media-card:hover {
|
|
54
|
+
transform: translateY(-0.25rem);
|
|
55
|
+
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
56
|
+
}
|
|
57
|
+
.eds-media-card__text {
|
|
58
|
+
-webkit-appearance: none;
|
|
59
|
+
-moz-appearance: none;
|
|
60
|
+
appearance: none;
|
|
61
|
+
cursor: pointer;
|
|
62
|
+
color: inherit;
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
65
|
+
text-decoration: none;
|
|
66
|
+
padding: 1.25rem 2rem 0;
|
|
67
|
+
}
|
|
68
|
+
.eds-media-card__text:focus {
|
|
69
|
+
outline: none;
|
|
70
|
+
}
|
|
71
|
+
.eds-media-card__arrow-icon {
|
|
72
|
+
align-self: flex-end;
|
|
73
|
+
margin: 1rem 0 1.5rem;
|
|
74
|
+
}
|
|
75
|
+
/* DO NOT CHANGE!*/
|
|
76
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
77
|
+
.eds-tag {
|
|
78
|
+
background: #e9e9e9;
|
|
79
|
+
color: #181c56;
|
|
80
|
+
display: inline-block;
|
|
81
|
+
min-width: 2rem;
|
|
82
|
+
padding: 0.25rem 0.75rem;
|
|
83
|
+
font-size: 0.875rem;
|
|
84
|
+
line-height: 1.375rem;
|
|
85
|
+
}
|
|
86
|
+
.eds-tag--leading-icon .eds-icon {
|
|
87
|
+
margin-right: 0.5rem;
|
|
88
|
+
}
|
|
89
|
+
.eds-tag--trailing-icon .eds-icon {
|
|
90
|
+
margin-left: 0.5rem;
|
|
91
|
+
}
|
|
92
|
+
.eds-tag--compact {
|
|
93
|
+
font-size: 0.75rem;
|
|
94
|
+
padding: 0.125rem 0.5rem;
|
|
95
|
+
line-height: 1.25rem;
|
|
96
|
+
height: 1.5rem;
|
|
97
|
+
}
|
|
98
|
+
.eds-tag--compact.eds-tag--leading-icon .eds-icon {
|
|
99
|
+
margin-right: 0.25rem;
|
|
100
|
+
}
|
|
101
|
+
.eds-tag--compact.eds-tag--trailing-icon .eds-icon {
|
|
102
|
+
margin-left: 0.25rem;
|
|
103
|
+
}
|
|
13
104
|
/* DO NOT CHANGE!*/
|
|
14
105
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
15
106
|
/* DO NOT CHANGE!*/
|
|
@@ -121,68 +212,6 @@
|
|
|
121
212
|
}
|
|
122
213
|
/* DO NOT CHANGE!*/
|
|
123
214
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
124
|
-
.eds-media-card {
|
|
125
|
-
flex-direction: column;
|
|
126
|
-
overflow: hidden;
|
|
127
|
-
position: relative;
|
|
128
|
-
width: -moz-fit-content;
|
|
129
|
-
width: fit-content;
|
|
130
|
-
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
131
|
-
}
|
|
132
|
-
.eds-media-card:focus, .eds-media-card[focus-within] {
|
|
133
|
-
outline: none;
|
|
134
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
135
|
-
}
|
|
136
|
-
.eds-media-card:focus, .eds-media-card:focus-within {
|
|
137
|
-
outline: none;
|
|
138
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
139
|
-
}
|
|
140
|
-
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
|
|
141
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
142
|
-
}
|
|
143
|
-
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
|
|
144
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
145
|
-
}
|
|
146
|
-
.eds-contrast .eds-media-card {
|
|
147
|
-
background-color: #292b6a;
|
|
148
|
-
}
|
|
149
|
-
.eds-media-card__media {
|
|
150
|
-
transition: transform 0.2s ease-in-out;
|
|
151
|
-
}
|
|
152
|
-
.eds-media-card__title {
|
|
153
|
-
font-size: 1.5rem;
|
|
154
|
-
line-height: 1.875rem;
|
|
155
|
-
font-weight: 600;
|
|
156
|
-
margin: 0.75rem 0 0.5rem;
|
|
157
|
-
text-align: left;
|
|
158
|
-
width: -moz-fit-content;
|
|
159
|
-
width: fit-content;
|
|
160
|
-
position: relative;
|
|
161
|
-
}
|
|
162
|
-
.eds-media-card:hover {
|
|
163
|
-
transform: translateY(-0.25rem);
|
|
164
|
-
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
165
|
-
}
|
|
166
|
-
.eds-media-card__text {
|
|
167
|
-
-webkit-appearance: none;
|
|
168
|
-
-moz-appearance: none;
|
|
169
|
-
appearance: none;
|
|
170
|
-
cursor: pointer;
|
|
171
|
-
color: inherit;
|
|
172
|
-
display: flex;
|
|
173
|
-
flex-direction: column;
|
|
174
|
-
text-decoration: none;
|
|
175
|
-
padding: 1.25rem 2rem 0;
|
|
176
|
-
}
|
|
177
|
-
.eds-media-card__text:focus {
|
|
178
|
-
outline: none;
|
|
179
|
-
}
|
|
180
|
-
.eds-media-card__arrow-icon {
|
|
181
|
-
align-self: flex-end;
|
|
182
|
-
margin: 1rem 0 1.5rem;
|
|
183
|
-
}
|
|
184
|
-
/* DO NOT CHANGE!*/
|
|
185
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
186
215
|
.eds-base-card {
|
|
187
216
|
display: flex;
|
|
188
217
|
box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
|
|
@@ -202,35 +231,6 @@
|
|
|
202
231
|
}
|
|
203
232
|
/* DO NOT CHANGE!*/
|
|
204
233
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
205
|
-
.eds-tag {
|
|
206
|
-
background: #e9e9e9;
|
|
207
|
-
color: #181c56;
|
|
208
|
-
display: inline-block;
|
|
209
|
-
min-width: 2rem;
|
|
210
|
-
padding: 0.25rem 0.75rem;
|
|
211
|
-
font-size: 0.875rem;
|
|
212
|
-
line-height: 1.375rem;
|
|
213
|
-
}
|
|
214
|
-
.eds-tag--leading-icon .eds-icon {
|
|
215
|
-
margin-right: 0.5rem;
|
|
216
|
-
}
|
|
217
|
-
.eds-tag--trailing-icon .eds-icon {
|
|
218
|
-
margin-left: 0.5rem;
|
|
219
|
-
}
|
|
220
|
-
.eds-tag--compact {
|
|
221
|
-
font-size: 0.75rem;
|
|
222
|
-
padding: 0.125rem 0.5rem;
|
|
223
|
-
line-height: 1.25rem;
|
|
224
|
-
height: 1.5rem;
|
|
225
|
-
}
|
|
226
|
-
.eds-tag--compact.eds-tag--leading-icon .eds-icon {
|
|
227
|
-
margin-right: 0.25rem;
|
|
228
|
-
}
|
|
229
|
-
.eds-tag--compact.eds-tag--trailing-icon .eds-icon {
|
|
230
|
-
margin-left: 0.25rem;
|
|
231
|
-
}
|
|
232
|
-
/* DO NOT CHANGE!*/
|
|
233
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
234
234
|
.eds-badge {
|
|
235
235
|
display: flex;
|
|
236
236
|
justify-content: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/layout",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.29",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/layout.esm.js",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/icons": "^6.2.0",
|
|
31
31
|
"@entur/tokens": "^3.8.1",
|
|
32
|
-
"@entur/typography": "^1.7.
|
|
33
|
-
"@entur/utils": "^0.
|
|
32
|
+
"@entur/typography": "^1.7.15",
|
|
33
|
+
"@entur/utils": "^0.8.0",
|
|
34
34
|
"classnames": "^2.3.1"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "c80112ae71ce3654107c8983a1a9fd91204aa667"
|
|
37
37
|
}
|