@entur/layout 2.1.31 → 2.1.33
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 +65 -65
- 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,9 @@
|
|
|
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
13
|
/* DO NOT CHANGE!*/
|
|
14
14
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
15
15
|
.eds-base-card {
|
|
@@ -31,68 +31,6 @@
|
|
|
31
31
|
}
|
|
32
32
|
/* DO NOT CHANGE!*/
|
|
33
33
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
34
|
-
.eds-media-card {
|
|
35
|
-
flex-direction: column;
|
|
36
|
-
overflow: hidden;
|
|
37
|
-
position: relative;
|
|
38
|
-
width: -moz-fit-content;
|
|
39
|
-
width: fit-content;
|
|
40
|
-
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
41
|
-
}
|
|
42
|
-
.eds-media-card:focus, .eds-media-card[focus-within] {
|
|
43
|
-
outline: none;
|
|
44
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
45
|
-
}
|
|
46
|
-
.eds-media-card:focus, .eds-media-card:focus-within {
|
|
47
|
-
outline: none;
|
|
48
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
49
|
-
}
|
|
50
|
-
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
|
|
51
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
52
|
-
}
|
|
53
|
-
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
|
|
54
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
55
|
-
}
|
|
56
|
-
.eds-contrast .eds-media-card {
|
|
57
|
-
background-color: #292b6a;
|
|
58
|
-
}
|
|
59
|
-
.eds-media-card__media {
|
|
60
|
-
transition: transform 0.2s ease-in-out;
|
|
61
|
-
}
|
|
62
|
-
.eds-media-card__title {
|
|
63
|
-
font-size: 1.5rem;
|
|
64
|
-
line-height: 1.875rem;
|
|
65
|
-
font-weight: 600;
|
|
66
|
-
margin: 0.75rem 0 0.5rem;
|
|
67
|
-
text-align: left;
|
|
68
|
-
width: -moz-fit-content;
|
|
69
|
-
width: fit-content;
|
|
70
|
-
position: relative;
|
|
71
|
-
}
|
|
72
|
-
.eds-media-card:hover {
|
|
73
|
-
transform: translateY(-0.25rem);
|
|
74
|
-
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
75
|
-
}
|
|
76
|
-
.eds-media-card__text {
|
|
77
|
-
-webkit-appearance: none;
|
|
78
|
-
-moz-appearance: none;
|
|
79
|
-
appearance: none;
|
|
80
|
-
cursor: pointer;
|
|
81
|
-
color: inherit;
|
|
82
|
-
display: flex;
|
|
83
|
-
flex-direction: column;
|
|
84
|
-
text-decoration: none;
|
|
85
|
-
padding: 1.25rem 2rem 0;
|
|
86
|
-
}
|
|
87
|
-
.eds-media-card__text:focus {
|
|
88
|
-
outline: none;
|
|
89
|
-
}
|
|
90
|
-
.eds-media-card__arrow-icon {
|
|
91
|
-
align-self: flex-end;
|
|
92
|
-
margin: 1rem 0 1.5rem;
|
|
93
|
-
}
|
|
94
|
-
/* DO NOT CHANGE!*/
|
|
95
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
96
34
|
/* DO NOT CHANGE!*/
|
|
97
35
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
98
36
|
.eds-navigation-card {
|
|
@@ -202,6 +140,68 @@
|
|
|
202
140
|
}
|
|
203
141
|
/* DO NOT CHANGE!*/
|
|
204
142
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
143
|
+
.eds-media-card {
|
|
144
|
+
flex-direction: column;
|
|
145
|
+
overflow: hidden;
|
|
146
|
+
position: relative;
|
|
147
|
+
width: -moz-fit-content;
|
|
148
|
+
width: fit-content;
|
|
149
|
+
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
150
|
+
}
|
|
151
|
+
.eds-media-card:focus, .eds-media-card[focus-within] {
|
|
152
|
+
outline: none;
|
|
153
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
154
|
+
}
|
|
155
|
+
.eds-media-card:focus, .eds-media-card:focus-within {
|
|
156
|
+
outline: none;
|
|
157
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
158
|
+
}
|
|
159
|
+
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
|
|
160
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
161
|
+
}
|
|
162
|
+
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
|
|
163
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
164
|
+
}
|
|
165
|
+
.eds-contrast .eds-media-card {
|
|
166
|
+
background-color: #292b6a;
|
|
167
|
+
}
|
|
168
|
+
.eds-media-card__media {
|
|
169
|
+
transition: transform 0.2s ease-in-out;
|
|
170
|
+
}
|
|
171
|
+
.eds-media-card__title {
|
|
172
|
+
font-size: 1.5rem;
|
|
173
|
+
line-height: 1.875rem;
|
|
174
|
+
font-weight: 600;
|
|
175
|
+
margin: 0.75rem 0 0.5rem;
|
|
176
|
+
text-align: left;
|
|
177
|
+
width: -moz-fit-content;
|
|
178
|
+
width: fit-content;
|
|
179
|
+
position: relative;
|
|
180
|
+
}
|
|
181
|
+
.eds-media-card:hover {
|
|
182
|
+
transform: translateY(-0.25rem);
|
|
183
|
+
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
184
|
+
}
|
|
185
|
+
.eds-media-card__text {
|
|
186
|
+
-webkit-appearance: none;
|
|
187
|
+
-moz-appearance: none;
|
|
188
|
+
appearance: none;
|
|
189
|
+
cursor: pointer;
|
|
190
|
+
color: inherit;
|
|
191
|
+
display: flex;
|
|
192
|
+
flex-direction: column;
|
|
193
|
+
text-decoration: none;
|
|
194
|
+
padding: 1.25rem 2rem 0;
|
|
195
|
+
}
|
|
196
|
+
.eds-media-card__text:focus {
|
|
197
|
+
outline: none;
|
|
198
|
+
}
|
|
199
|
+
.eds-media-card__arrow-icon {
|
|
200
|
+
align-self: flex-end;
|
|
201
|
+
margin: 1rem 0 1.5rem;
|
|
202
|
+
}
|
|
203
|
+
/* DO NOT CHANGE!*/
|
|
204
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
205
205
|
.eds-tag {
|
|
206
206
|
background: #e9e9e9;
|
|
207
207
|
color: #181c56;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/layout",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.33",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/layout.esm.js",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/icons": "^6.
|
|
30
|
+
"@entur/icons": "^6.3.0",
|
|
31
31
|
"@entur/tokens": "^3.9.0",
|
|
32
|
-
"@entur/typography": "^1.
|
|
32
|
+
"@entur/typography": "^1.8.0",
|
|
33
33
|
"@entur/utils": "^0.9.0",
|
|
34
34
|
"classnames": "^2.3.1"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "8f124a94b17be084024892eca96ab800f18ceca2"
|
|
37
37
|
}
|