@entur/layout 2.1.26 → 2.1.27
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 +62 -62
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -12,68 +12,6 @@
|
|
|
12
12
|
}
|
|
13
13
|
/* DO NOT CHANGE!*/
|
|
14
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
15
|
/* DO NOT CHANGE!*/
|
|
78
16
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
79
17
|
.eds-navigation-card {
|
|
@@ -183,6 +121,68 @@
|
|
|
183
121
|
}
|
|
184
122
|
/* DO NOT CHANGE!*/
|
|
185
123
|
/* 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
186
|
.eds-base-card {
|
|
187
187
|
display: flex;
|
|
188
188
|
box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/layout",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.27",
|
|
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.2.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": "1091cc677ad823929989fd5099b93427b4834143"
|
|
37
37
|
}
|