@entur/layout 2.1.25 → 2.1.26
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 +68 -68
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--eds-layout: 1;
|
|
3
|
+
}
|
|
1
4
|
/* DO NOT CHANGE!*/
|
|
2
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
6
|
.eds-contrast {
|
|
@@ -7,27 +10,67 @@
|
|
|
7
10
|
background-color: var(--primary-background-color);
|
|
8
11
|
color: var(--primary-text-color);
|
|
9
12
|
}
|
|
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
|
-
.eds-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
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 {
|
|
21
58
|
-webkit-appearance: none;
|
|
22
59
|
-moz-appearance: none;
|
|
23
60
|
appearance: none;
|
|
24
|
-
|
|
61
|
+
cursor: pointer;
|
|
25
62
|
color: inherit;
|
|
63
|
+
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
65
|
+
text-decoration: none;
|
|
66
|
+
padding: 1.25rem 2rem 0;
|
|
26
67
|
}
|
|
27
|
-
.eds-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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;
|
|
31
74
|
}
|
|
32
75
|
/* DO NOT CHANGE!*/
|
|
33
76
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -140,65 +183,22 @@
|
|
|
140
183
|
}
|
|
141
184
|
/* DO NOT CHANGE!*/
|
|
142
185
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
143
|
-
.eds-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
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
|
+
.eds-base-card {
|
|
187
|
+
display: flex;
|
|
188
|
+
box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
|
|
189
|
+
border: 0.0625rem solid #e9e9e9;
|
|
190
|
+
border-radius: 0.25rem;
|
|
191
|
+
align-items: center;
|
|
186
192
|
-webkit-appearance: none;
|
|
187
193
|
-moz-appearance: none;
|
|
188
194
|
appearance: none;
|
|
189
|
-
cursor: pointer;
|
|
190
|
-
color: inherit;
|
|
191
|
-
display: flex;
|
|
192
|
-
flex-direction: column;
|
|
193
195
|
text-decoration: none;
|
|
194
|
-
|
|
195
|
-
}
|
|
196
|
-
.eds-media-card__text:focus {
|
|
197
|
-
outline: none;
|
|
196
|
+
color: inherit;
|
|
198
197
|
}
|
|
199
|
-
.eds-
|
|
200
|
-
|
|
201
|
-
|
|
198
|
+
.eds-contrast .eds-base-card {
|
|
199
|
+
background-color: #292b6a;
|
|
200
|
+
border-color: #54568c;
|
|
201
|
+
box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
|
|
202
202
|
}
|
|
203
203
|
/* DO NOT CHANGE!*/
|
|
204
204
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/layout",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.26",
|
|
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.0
|
|
30
|
+
"@entur/icons": "^6.1.0",
|
|
31
31
|
"@entur/tokens": "^3.8.1",
|
|
32
32
|
"@entur/typography": "^1.7.13",
|
|
33
33
|
"@entur/utils": "^0.6.0",
|
|
34
34
|
"classnames": "^2.3.1"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "a3edbb9069b9bd125919df8984b23628a1040cf4"
|
|
37
37
|
}
|