@entur/layout 2.1.18 → 2.1.19
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 +85 -85
- package/package.json +6 -8
package/dist/styles.css
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
--eds-layout: 1;
|
|
3
|
-
}/* DO NOT CHANGE!*/
|
|
1
|
+
/* DO NOT CHANGE!*/
|
|
4
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
3
|
.eds-contrast {
|
|
6
4
|
--primary-background-color: #181c56;
|
|
@@ -8,85 +6,8 @@
|
|
|
8
6
|
--primary-label-color: #aeb7e2;
|
|
9
7
|
background-color: var(--primary-background-color);
|
|
10
8
|
color: var(--primary-text-color);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.eds-media-card {
|
|
14
|
-
flex-direction: column;
|
|
15
|
-
overflow: hidden;
|
|
16
|
-
position: relative;
|
|
17
|
-
width: -moz-fit-content;
|
|
18
|
-
width: fit-content;
|
|
19
|
-
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
20
|
-
}
|
|
21
|
-
.eds-media-card:focus, .eds-media-card[focus-within] {
|
|
22
|
-
outline: none;
|
|
23
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
24
|
-
}
|
|
25
|
-
.eds-media-card:focus, .eds-media-card:focus-within {
|
|
26
|
-
outline: none;
|
|
27
|
-
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
28
|
-
}
|
|
29
|
-
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
|
|
30
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
31
|
-
}
|
|
32
|
-
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
|
|
33
|
-
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
34
|
-
}
|
|
35
|
-
.eds-contrast .eds-media-card {
|
|
36
|
-
background-color: #292b6a;
|
|
37
|
-
}
|
|
38
|
-
.eds-media-card__media {
|
|
39
|
-
transition: transform 0.2s ease-in-out;
|
|
40
|
-
}
|
|
41
|
-
.eds-media-card__title {
|
|
42
|
-
font-size: 1.5rem;
|
|
43
|
-
line-height: 1.875rem;
|
|
44
|
-
font-weight: 600;
|
|
45
|
-
margin: 0.75rem 0 0.5rem;
|
|
46
|
-
text-align: left;
|
|
47
|
-
width: -moz-fit-content;
|
|
48
|
-
width: fit-content;
|
|
49
|
-
position: relative;
|
|
50
|
-
}
|
|
51
|
-
.eds-media-card:hover {
|
|
52
|
-
transform: translateY(-0.25rem);
|
|
53
|
-
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
54
|
-
}
|
|
55
|
-
.eds-media-card__text {
|
|
56
|
-
-webkit-appearance: none;
|
|
57
|
-
-moz-appearance: none;
|
|
58
|
-
appearance: none;
|
|
59
|
-
cursor: pointer;
|
|
60
|
-
color: inherit;
|
|
61
|
-
display: flex;
|
|
62
|
-
flex-direction: column;
|
|
63
|
-
text-decoration: none;
|
|
64
|
-
padding: 1.25rem 2rem 0;
|
|
65
|
-
}
|
|
66
|
-
.eds-media-card__text:focus {
|
|
67
|
-
outline: none;
|
|
68
|
-
}
|
|
69
|
-
.eds-media-card__arrow-icon {
|
|
70
|
-
align-self: flex-end;
|
|
71
|
-
margin: 1rem 0 1.5rem;
|
|
72
|
-
}/* DO NOT CHANGE!*/
|
|
73
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
74
|
-
.eds-base-card {
|
|
75
|
-
display: flex;
|
|
76
|
-
box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
|
|
77
|
-
border: 0.0625rem solid #e9e9e9;
|
|
78
|
-
border-radius: 0.25rem;
|
|
79
|
-
align-items: center;
|
|
80
|
-
-webkit-appearance: none;
|
|
81
|
-
-moz-appearance: none;
|
|
82
|
-
appearance: none;
|
|
83
|
-
text-decoration: none;
|
|
84
|
-
color: inherit;
|
|
85
|
-
}
|
|
86
|
-
.eds-contrast .eds-base-card {
|
|
87
|
-
background-color: #292b6a;
|
|
88
|
-
border-color: #54568c;
|
|
89
|
-
box-shadow: 0 0.0625rem 0.1875rem 0 #393d79;
|
|
9
|
+
}:root {
|
|
10
|
+
--eds-layout: 1;
|
|
90
11
|
}/* DO NOT CHANGE!*/
|
|
91
12
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
92
13
|
/* DO NOT CHANGE!*/
|
|
@@ -130,7 +51,7 @@
|
|
|
130
51
|
border-radius: 0.25rem;
|
|
131
52
|
}
|
|
132
53
|
.eds-contrast .eds-navigation-card:before {
|
|
133
|
-
box-shadow: 0 0.125rem 1rem 0
|
|
54
|
+
box-shadow: 0 0.125rem 1rem 0 rgb(57, 61, 121);
|
|
134
55
|
}
|
|
135
56
|
.eds-navigation-card:hover {
|
|
136
57
|
transform: translateY(-0.25rem);
|
|
@@ -197,6 +118,85 @@
|
|
|
197
118
|
font-size: 1rem;
|
|
198
119
|
}/* DO NOT CHANGE!*/
|
|
199
120
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
121
|
+
.eds-base-card {
|
|
122
|
+
display: flex;
|
|
123
|
+
box-shadow: 0 0.0625rem 0.1875rem 0 rgba(0, 0, 0, 0.12);
|
|
124
|
+
border: 0.0625rem solid #e9e9e9;
|
|
125
|
+
border-radius: 0.25rem;
|
|
126
|
+
align-items: center;
|
|
127
|
+
-webkit-appearance: none;
|
|
128
|
+
-moz-appearance: none;
|
|
129
|
+
appearance: none;
|
|
130
|
+
text-decoration: none;
|
|
131
|
+
color: inherit;
|
|
132
|
+
}
|
|
133
|
+
.eds-contrast .eds-base-card {
|
|
134
|
+
background-color: #292b6a;
|
|
135
|
+
border-color: #54568c;
|
|
136
|
+
box-shadow: 0 0.0625rem 0.1875rem 0 rgb(57, 61, 121);
|
|
137
|
+
}/* DO NOT CHANGE!*/
|
|
138
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
139
|
+
.eds-media-card {
|
|
140
|
+
flex-direction: column;
|
|
141
|
+
overflow: hidden;
|
|
142
|
+
position: relative;
|
|
143
|
+
width: -moz-fit-content;
|
|
144
|
+
width: fit-content;
|
|
145
|
+
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
146
|
+
}
|
|
147
|
+
.eds-media-card:focus, .eds-media-card[focus-within] {
|
|
148
|
+
outline: none;
|
|
149
|
+
box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
|
|
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-contrast .eds-media-card:focus, .eds-contrast .eds-media-card[focus-within] {
|
|
156
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
157
|
+
}
|
|
158
|
+
.eds-contrast .eds-media-card:focus, .eds-contrast .eds-media-card:focus-within {
|
|
159
|
+
box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
|
|
160
|
+
}
|
|
161
|
+
.eds-contrast .eds-media-card {
|
|
162
|
+
background-color: #292b6a;
|
|
163
|
+
}
|
|
164
|
+
.eds-media-card__media {
|
|
165
|
+
transition: transform 0.2s ease-in-out;
|
|
166
|
+
}
|
|
167
|
+
.eds-media-card__title {
|
|
168
|
+
font-size: 1.5rem;
|
|
169
|
+
line-height: 1.875rem;
|
|
170
|
+
font-weight: 600;
|
|
171
|
+
margin: 0.75rem 0 0.5rem;
|
|
172
|
+
text-align: left;
|
|
173
|
+
width: -moz-fit-content;
|
|
174
|
+
width: fit-content;
|
|
175
|
+
position: relative;
|
|
176
|
+
}
|
|
177
|
+
.eds-media-card:hover {
|
|
178
|
+
transform: translateY(-0.25rem);
|
|
179
|
+
box-shadow: 0 0.125rem 1rem 0 rgba(0, 0, 0, 0.1);
|
|
180
|
+
}
|
|
181
|
+
.eds-media-card__text {
|
|
182
|
+
-webkit-appearance: none;
|
|
183
|
+
-moz-appearance: none;
|
|
184
|
+
appearance: none;
|
|
185
|
+
cursor: pointer;
|
|
186
|
+
color: inherit;
|
|
187
|
+
display: flex;
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
text-decoration: none;
|
|
190
|
+
padding: 1.25rem 2rem 0;
|
|
191
|
+
}
|
|
192
|
+
.eds-media-card__text:focus {
|
|
193
|
+
outline: none;
|
|
194
|
+
}
|
|
195
|
+
.eds-media-card__arrow-icon {
|
|
196
|
+
align-self: flex-end;
|
|
197
|
+
margin: 1rem 0 1.5rem;
|
|
198
|
+
}/* DO NOT CHANGE!*/
|
|
199
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
200
200
|
.eds-tag {
|
|
201
201
|
background: #e9e9e9;
|
|
202
202
|
color: #181c56;
|
|
@@ -214,7 +214,7 @@
|
|
|
214
214
|
}
|
|
215
215
|
.eds-tag--compact {
|
|
216
216
|
font-size: 0.75rem;
|
|
217
|
-
padding:
|
|
217
|
+
padding: 0.125rem 0.5rem;
|
|
218
218
|
line-height: 1.25rem;
|
|
219
219
|
height: 1.5rem;
|
|
220
220
|
}
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
left: 0;
|
|
381
381
|
content: "";
|
|
382
382
|
position: absolute;
|
|
383
|
-
top:
|
|
383
|
+
top: 0.3125rem;
|
|
384
384
|
height: 0.625rem;
|
|
385
385
|
width: 0.625rem;
|
|
386
386
|
border-radius: 50%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/layout",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.19",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/layout.esm.js",
|
|
@@ -27,13 +27,11 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/icons": "^5.
|
|
31
|
-
"@entur/
|
|
32
|
-
"@entur/
|
|
30
|
+
"@entur/icons": "^5.6.0",
|
|
31
|
+
"@entur/tokens": "^3.6.0",
|
|
32
|
+
"@entur/typography": "^1.7.8",
|
|
33
|
+
"@entur/utils": "^0.5.3",
|
|
33
34
|
"classnames": "^2.3.1"
|
|
34
35
|
},
|
|
35
|
-
"
|
|
36
|
-
"@entur/tokens": "^3.5.0"
|
|
37
|
-
},
|
|
38
|
-
"gitHead": "30b38034aaafba9fb308fb3d8c8bfaab9608d720"
|
|
36
|
+
"gitHead": "be56a9cea51aa1cf026d38174750f2a52e67a463"
|
|
39
37
|
}
|