@entur/layout 2.1.19 → 2.1.21
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 +82 -82
- package/package.json +6 -6
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,85 @@
|
|
|
6
8
|
--primary-label-color: #aeb7e2;
|
|
7
9
|
background-color: var(--primary-background-color);
|
|
8
10
|
color: var(--primary-text-color);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
+
}/* DO NOT CHANGE!*/
|
|
12
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
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 rgb(57, 61, 121);
|
|
11
90
|
}/* DO NOT CHANGE!*/
|
|
12
91
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
13
92
|
/* DO NOT CHANGE!*/
|
|
@@ -118,85 +197,6 @@
|
|
|
118
197
|
font-size: 1rem;
|
|
119
198
|
}/* DO NOT CHANGE!*/
|
|
120
199
|
/* 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;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/layout",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.21",
|
|
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": "^5.
|
|
31
|
-
"@entur/tokens": "^3.
|
|
32
|
-
"@entur/typography": "^1.7.
|
|
33
|
-
"@entur/utils": "^0.5.
|
|
30
|
+
"@entur/icons": "^5.8.0",
|
|
31
|
+
"@entur/tokens": "^3.8.0",
|
|
32
|
+
"@entur/typography": "^1.7.10",
|
|
33
|
+
"@entur/utils": "^0.5.5",
|
|
34
34
|
"classnames": "^2.3.1"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "bc067536ed769de8072f19002ef4877a1e974443"
|
|
37
37
|
}
|