@entur/layout 2.1.10 → 2.1.11
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 +66 -66
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
:root {
|
|
2
|
+
--eds-layout: 1;
|
|
3
|
+
}/* DO NOT CHANGE!*/
|
|
2
4
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
5
|
.eds-contrast {
|
|
4
6
|
--primary-background-color: #181c56;
|
|
@@ -6,8 +8,6 @@
|
|
|
6
8
|
--primary-label-color: #aeb7e2;
|
|
7
9
|
background-color: var(--primary-background-color);
|
|
8
10
|
color: var(--primary-text-color);
|
|
9
|
-
}:root {
|
|
10
|
-
--eds-layout: 1;
|
|
11
11
|
}/* DO NOT CHANGE!*/
|
|
12
12
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
13
13
|
.eds-base-card {
|
|
@@ -28,6 +28,69 @@
|
|
|
28
28
|
box-shadow: 0 0.0625rem 0.1875rem 0 #393d79;
|
|
29
29
|
}/* DO NOT CHANGE!*/
|
|
30
30
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
31
|
+
.eds-media-card {
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
overflow: hidden;
|
|
34
|
+
position: relative;
|
|
35
|
+
width: -webkit-fit-content;
|
|
36
|
+
width: -moz-fit-content;
|
|
37
|
+
width: fit-content;
|
|
38
|
+
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
39
|
+
}
|
|
40
|
+
.eds-media-card:focus, .eds-media-card[focus-within] {
|
|
41
|
+
outline: none;
|
|
42
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
43
|
+
}
|
|
44
|
+
.eds-media-card:focus, .eds-media-card:focus-within {
|
|
45
|
+
outline: none;
|
|
46
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
47
|
+
}
|
|
48
|
+
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
|
|
49
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
50
|
+
}
|
|
51
|
+
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
|
|
52
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
53
|
+
}
|
|
54
|
+
.eds-contrast .eds-media-card {
|
|
55
|
+
background-color: #292b6a;
|
|
56
|
+
}
|
|
57
|
+
.eds-media-card__media {
|
|
58
|
+
transition: transform 0.2s ease-in-out;
|
|
59
|
+
}
|
|
60
|
+
.eds-media-card__title {
|
|
61
|
+
font-size: 1.5rem;
|
|
62
|
+
line-height: 1.875rem;
|
|
63
|
+
font-weight: 600;
|
|
64
|
+
margin: 0.75rem 0 0.5rem;
|
|
65
|
+
text-align: left;
|
|
66
|
+
width: -webkit-fit-content;
|
|
67
|
+
width: -moz-fit-content;
|
|
68
|
+
width: fit-content;
|
|
69
|
+
position: relative;
|
|
70
|
+
}
|
|
71
|
+
.eds-media-card:hover {
|
|
72
|
+
transform: translateY(-0.25rem);
|
|
73
|
+
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
74
|
+
}
|
|
75
|
+
.eds-media-card__text {
|
|
76
|
+
-webkit-appearance: none;
|
|
77
|
+
-moz-appearance: none;
|
|
78
|
+
appearance: none;
|
|
79
|
+
cursor: pointer;
|
|
80
|
+
color: inherit;
|
|
81
|
+
display: flex;
|
|
82
|
+
flex-direction: column;
|
|
83
|
+
text-decoration: none;
|
|
84
|
+
padding: 1.25rem 2rem 0;
|
|
85
|
+
}
|
|
86
|
+
.eds-media-card__text:focus {
|
|
87
|
+
outline: none;
|
|
88
|
+
}
|
|
89
|
+
.eds-media-card__arrow-icon {
|
|
90
|
+
align-self: flex-end;
|
|
91
|
+
margin: 1rem 0 1.5rem;
|
|
92
|
+
}/* DO NOT CHANGE!*/
|
|
93
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
31
94
|
/* DO NOT CHANGE!*/
|
|
32
95
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
33
96
|
.eds-navigation-card {
|
|
@@ -164,69 +227,6 @@
|
|
|
164
227
|
margin-left: 0.25rem;
|
|
165
228
|
}/* DO NOT CHANGE!*/
|
|
166
229
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
167
|
-
.eds-media-card {
|
|
168
|
-
flex-direction: column;
|
|
169
|
-
overflow: hidden;
|
|
170
|
-
position: relative;
|
|
171
|
-
width: -webkit-fit-content;
|
|
172
|
-
width: -moz-fit-content;
|
|
173
|
-
width: fit-content;
|
|
174
|
-
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
175
|
-
}
|
|
176
|
-
.eds-media-card:focus, .eds-media-card[focus-within] {
|
|
177
|
-
outline: none;
|
|
178
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
179
|
-
}
|
|
180
|
-
.eds-media-card:focus, .eds-media-card:focus-within {
|
|
181
|
-
outline: none;
|
|
182
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
183
|
-
}
|
|
184
|
-
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
|
|
185
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
186
|
-
}
|
|
187
|
-
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
|
|
188
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
189
|
-
}
|
|
190
|
-
.eds-contrast .eds-media-card {
|
|
191
|
-
background-color: #292b6a;
|
|
192
|
-
}
|
|
193
|
-
.eds-media-card__media {
|
|
194
|
-
transition: transform 0.2s ease-in-out;
|
|
195
|
-
}
|
|
196
|
-
.eds-media-card__title {
|
|
197
|
-
font-size: 1.5rem;
|
|
198
|
-
line-height: 1.875rem;
|
|
199
|
-
font-weight: 600;
|
|
200
|
-
margin: 0.75rem 0 0.5rem;
|
|
201
|
-
text-align: left;
|
|
202
|
-
width: -webkit-fit-content;
|
|
203
|
-
width: -moz-fit-content;
|
|
204
|
-
width: fit-content;
|
|
205
|
-
position: relative;
|
|
206
|
-
}
|
|
207
|
-
.eds-media-card:hover {
|
|
208
|
-
transform: translateY(-0.25rem);
|
|
209
|
-
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
210
|
-
}
|
|
211
|
-
.eds-media-card__text {
|
|
212
|
-
-webkit-appearance: none;
|
|
213
|
-
-moz-appearance: none;
|
|
214
|
-
appearance: none;
|
|
215
|
-
cursor: pointer;
|
|
216
|
-
color: inherit;
|
|
217
|
-
display: flex;
|
|
218
|
-
flex-direction: column;
|
|
219
|
-
text-decoration: none;
|
|
220
|
-
padding: 1.25rem 2rem 0;
|
|
221
|
-
}
|
|
222
|
-
.eds-media-card__text:focus {
|
|
223
|
-
outline: none;
|
|
224
|
-
}
|
|
225
|
-
.eds-media-card__arrow-icon {
|
|
226
|
-
align-self: flex-end;
|
|
227
|
-
margin: 1rem 0 1.5rem;
|
|
228
|
-
}/* DO NOT CHANGE!*/
|
|
229
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
230
230
|
.eds-badge {
|
|
231
231
|
display: flex;
|
|
232
232
|
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.11",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/layout.esm.js",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/typography": "^1.
|
|
30
|
+
"@entur/typography": "^1.7.0",
|
|
31
31
|
"@entur/utils": "^0.4.5",
|
|
32
32
|
"classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@entur/tokens": "^3.4.1"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "c1318d134c4097efd550872cabf41b1e67940eae"
|
|
38
38
|
}
|