@kitconcept/volto-light-theme 2.0.0 → 2.1.0
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/.github/workflows/acceptance.yml +2 -1
- package/.github/workflows/code.yml +2 -1
- package/.github/workflows/unit.yml +2 -1
- package/CHANGELOG.md +30 -0
- package/locales/de/LC_MESSAGES/volto.po +2 -2
- package/locales/en/LC_MESSAGES/volto.po +1 -1
- package/locales/pt_BR/volto.po +317 -0
- package/locales/volto.pot +2 -2
- package/package.json +1 -1
- package/src/components/Blocks/Listing/ImageGallery.jsx +126 -0
- package/src/components/MobileNavigation/MobileNavigation.jsx +123 -89
- package/src/components/MobileNavigation/MobileToolsFooter.jsx +10 -0
- package/src/components/Navigation/Navigation.jsx +35 -41
- package/src/customizations/volto/components/manage/Blocks/Listing/ImageGallery.jsx +8 -0
- package/src/icons/back-down.svg +8 -0
- package/src/icons/fullscreen.svg +7 -0
- package/src/icons/left-key.svg +4 -0
- package/src/icons/pause.svg +6 -0
- package/src/icons/play.svg +4 -0
- package/src/icons/right-key.svg +4 -0
- package/src/index.js +5 -0
- package/src/theme/_content.scss +1 -1
- package/src/theme/_fonts.scss +317 -0
- package/src/theme/_header.scss +32 -16
- package/src/theme/_layout.scss +7 -24
- package/src/theme/_sitemap.scss +25 -0
- package/src/theme/_typo-custom.scss +0 -73
- package/src/theme/_typography.scss +1 -245
- package/src/theme/_variables.scss +14 -0
- package/src/theme/blocks/_grid.scss +8 -0
- package/src/theme/blocks/_image.scss +1 -1
- package/src/theme/blocks/_listing.scss +111 -5
- package/src/theme/blocks/_teaser.scss +1 -4
- package/src/theme/main.scss +5 -1
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
// Inter font family
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'Inter';
|
|
4
|
+
//font-style: thin;
|
|
5
|
+
font-weight: 100;
|
|
6
|
+
src: local('Inter');
|
|
7
|
+
src: url('./fonts/Inter-Thin.ttf');
|
|
8
|
+
src: url('./fonts/Inter-Thin.ttf') format('truetype');
|
|
9
|
+
}
|
|
10
|
+
@font-face {
|
|
11
|
+
font-family: 'Inter';
|
|
12
|
+
// font-style: extra-light;
|
|
13
|
+
font-weight: 200;
|
|
14
|
+
src: local('Inter');
|
|
15
|
+
src: url('./fonts/Inter-ExtraLight.ttf');
|
|
16
|
+
src: url('./fonts/Inter-ExtraLight.ttf') format('truetype');
|
|
17
|
+
}
|
|
18
|
+
@font-face {
|
|
19
|
+
font-family: 'Inter';
|
|
20
|
+
//font-style: light;
|
|
21
|
+
font-weight: 300;
|
|
22
|
+
src: local('Inter');
|
|
23
|
+
src: url('./fonts/Inter-Light.ttf');
|
|
24
|
+
src: url('./fonts/Inter-Light.ttf') format('truetype');
|
|
25
|
+
}
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: 'Inter';
|
|
28
|
+
font-style: normal; //regular
|
|
29
|
+
font-weight: 400;
|
|
30
|
+
src: local('Inter');
|
|
31
|
+
src: url('./fonts/Inter-Regular.ttf');
|
|
32
|
+
src: url('./fonts/Inter-Regular.ttf') format('truetype');
|
|
33
|
+
}
|
|
34
|
+
@font-face {
|
|
35
|
+
font-family: 'Inter';
|
|
36
|
+
//font-style: medium;
|
|
37
|
+
font-weight: 500;
|
|
38
|
+
src: local('Inter');
|
|
39
|
+
src: url('./fonts/Inter-Medium.ttf');
|
|
40
|
+
src: url('./fonts/Inter-Medium.ttf') format('truetype');
|
|
41
|
+
}
|
|
42
|
+
@font-face {
|
|
43
|
+
font-family: 'Inter';
|
|
44
|
+
// font-style: semi-bold;
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
src: local('Inter');
|
|
47
|
+
src: url('./fonts/Inter-SemiBold.ttf');
|
|
48
|
+
src: url('./fonts/Inter-SemiBold.ttf') format('truetype');
|
|
49
|
+
}
|
|
50
|
+
@font-face {
|
|
51
|
+
font-family: 'Inter';
|
|
52
|
+
//font-style: bold;
|
|
53
|
+
font-weight: 700;
|
|
54
|
+
src: local('Inter');
|
|
55
|
+
src: url('./fonts/Inter-Bold.ttf');
|
|
56
|
+
src: url('./fonts/Inter-Bold.ttf') format('truetype');
|
|
57
|
+
}
|
|
58
|
+
@font-face {
|
|
59
|
+
font-family: 'Inter';
|
|
60
|
+
// font-style: extra-bold;
|
|
61
|
+
font-weight: 800;
|
|
62
|
+
src: local('Inter');
|
|
63
|
+
src: url('./fonts/Inter-ExtraBold.ttf');
|
|
64
|
+
src: url('./fonts/Inter-ExtraBold.ttf') format('truetype');
|
|
65
|
+
}
|
|
66
|
+
@font-face {
|
|
67
|
+
font-family: 'Inter';
|
|
68
|
+
// font-style: black;
|
|
69
|
+
font-weight: 900;
|
|
70
|
+
src: local('Inter');
|
|
71
|
+
src: url('./fonts/Inter-Black.ttf');
|
|
72
|
+
src: url('./fonts/Inter-Black.ttf') format('truetype');
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
// //
|
|
76
|
+
// Metropolis Font
|
|
77
|
+
// //
|
|
78
|
+
|
|
79
|
+
// @font-face {
|
|
80
|
+
// font-family: 'Metropolis Extra';
|
|
81
|
+
// src: url('./fonts/metropolis/Metropolis-ExtraLightItalic.eot');
|
|
82
|
+
// src: local('Metropolis Extra Light Italic'), local('Metropolis-ExtraLightItalic'),
|
|
83
|
+
// url('./fonts/metropolis/Metropolis-ExtraLightItalic.eot?#iefix') format('embedded-opentype'),
|
|
84
|
+
// url('./fonts/metropolis/Metropolis-ExtraLightItalic.woff2') format('woff2'),
|
|
85
|
+
// url('./fonts/metropolis/Metropolis-ExtraLightItalic.woff') format('woff'),
|
|
86
|
+
// url('./fonts/metropolis/Metropolis-ExtraLightItalic.ttf') format('truetype');
|
|
87
|
+
// font-weight: 200;
|
|
88
|
+
// font-style: italic;
|
|
89
|
+
// }
|
|
90
|
+
|
|
91
|
+
@font-face {
|
|
92
|
+
font-family: 'Metropolis';
|
|
93
|
+
font-style: italic;
|
|
94
|
+
font-weight: normal;
|
|
95
|
+
src: url('./fonts/metropolis/Metropolis-RegularItalic.eot');
|
|
96
|
+
src:
|
|
97
|
+
local('Metropolis Regular Italic'),
|
|
98
|
+
local('Metropolis-RegularItalic'),
|
|
99
|
+
url('./fonts/metropolis/Metropolis-RegularItalic.eot?#iefix')
|
|
100
|
+
format('embedded-opentype'),
|
|
101
|
+
url('./fonts/metropolis/Metropolis-RegularItalic.woff2') format('woff2'),
|
|
102
|
+
url('./fonts/metropolis/Metropolis-RegularItalic.woff') format('woff'),
|
|
103
|
+
url('./fonts/metropolis/Metropolis-RegularItalic.ttf') format('truetype');
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
// @font-face {
|
|
107
|
+
// font-family: 'Metropolis Semi';
|
|
108
|
+
// src: url('./fonts/metropolis/Metropolis-SemiBoldItalic.eot');
|
|
109
|
+
// src: local('Metropolis Semi Bold Italic'), local('Metropolis-SemiBoldItalic'),
|
|
110
|
+
// url('./fonts/metropolis/Metropolis-SemiBoldItalic.eot?#iefix') format('embedded-opentype'),
|
|
111
|
+
// url('./fonts/metropolis/Metropolis-SemiBoldItalic.woff2') format('woff2'),
|
|
112
|
+
// url('./fonts/metropolis/Metropolis-SemiBoldItalic.woff') format('woff'),
|
|
113
|
+
// url('./fonts/metropolis/Metropolis-SemiBoldItalic.ttf') format('truetype');
|
|
114
|
+
// font-weight: 600;
|
|
115
|
+
// font-style: italic;
|
|
116
|
+
// }
|
|
117
|
+
|
|
118
|
+
// @font-face {
|
|
119
|
+
// font-family: 'Metropolis';
|
|
120
|
+
// src: url('./fonts/metropolis/Metropolis-BlackItalic.eot');
|
|
121
|
+
// src: local('Metropolis Black Italic'), local('Metropolis-BlackItalic'),
|
|
122
|
+
// url('./fonts/metropolis/Metropolis-BlackItalic.eot?#iefix') format('embedded-opentype'),
|
|
123
|
+
// url('./fonts/metropolis/Metropolis-BlackItalic.woff2') format('woff2'),
|
|
124
|
+
// url('./fonts/metropolis/Metropolis-BlackItalic.woff') format('woff'),
|
|
125
|
+
// url('./fonts/metropolis/Metropolis-BlackItalic.ttf') format('truetype');
|
|
126
|
+
// font-weight: 900;
|
|
127
|
+
// font-style: italic;
|
|
128
|
+
// }
|
|
129
|
+
|
|
130
|
+
// @font-face {
|
|
131
|
+
// font-family: 'Metropolis';
|
|
132
|
+
// src: url('./fonts/metropolis/Metropolis-ThinItalic.eot');
|
|
133
|
+
// src: local('Metropolis Thin Italic'), local('Metropolis-ThinItalic'),
|
|
134
|
+
// url('./fonts/metropolis/Metropolis-ThinItalic.eot?#iefix') format('embedded-opentype'),
|
|
135
|
+
// url('./fonts/metropolis/Metropolis-ThinItalic.woff2') format('woff2'),
|
|
136
|
+
// url('./fonts/metropolis/Metropolis-ThinItalic.woff') format('woff'),
|
|
137
|
+
// url('./fonts/metropolis/Metropolis-ThinItalic.ttf') format('truetype');
|
|
138
|
+
// font-weight: 100;
|
|
139
|
+
// font-style: italic;
|
|
140
|
+
// }
|
|
141
|
+
|
|
142
|
+
// @font-face {
|
|
143
|
+
// font-family: 'Metropolis Extra';
|
|
144
|
+
// src: url('./fonts/metropolis/Metropolis-ExtraBold.eot');
|
|
145
|
+
// src: local('Metropolis Extra Bold'), local('Metropolis-ExtraBold'),
|
|
146
|
+
// url('./fonts/metropolis/Metropolis-ExtraBold.eot?#iefix') format('embedded-opentype'),
|
|
147
|
+
// url('./fonts/metropolis/Metropolis-ExtraBold.woff2') format('woff2'),
|
|
148
|
+
// url('./fonts/metropolis/Metropolis-ExtraBold.woff') format('woff'),
|
|
149
|
+
// url('./fonts/metropolis/Metropolis-ExtraBold.ttf') format('truetype');
|
|
150
|
+
// font-weight: 800;
|
|
151
|
+
// font-style: normal;
|
|
152
|
+
// }
|
|
153
|
+
|
|
154
|
+
// @font-face {
|
|
155
|
+
// font-family: 'Metropolis Semi';
|
|
156
|
+
// src: url('./fonts/metropolis/Metropolis-SemiBold.eot');
|
|
157
|
+
// src: local('Metropolis Semi Bold'), local('Metropolis-SemiBold'),
|
|
158
|
+
// url('./fonts/metropolis/Metropolis-SemiBold.eot?#iefix') format('embedded-opentype'),
|
|
159
|
+
// url('./fonts/metropolis/Metropolis-SemiBold.woff2') format('woff2'),
|
|
160
|
+
// url('./fonts/metropolis/Metropolis-SemiBold.woff') format('woff'),
|
|
161
|
+
// url('./fonts/metropolis/Metropolis-SemiBold.ttf') format('truetype');
|
|
162
|
+
// font-weight: 600;
|
|
163
|
+
// font-style: normal;
|
|
164
|
+
// }
|
|
165
|
+
|
|
166
|
+
@font-face {
|
|
167
|
+
font-family: 'Metropolis';
|
|
168
|
+
font-style: italic;
|
|
169
|
+
font-weight: 500;
|
|
170
|
+
src: url('./fonts/metropolis/Metropolis-MediumItalic.eot');
|
|
171
|
+
src:
|
|
172
|
+
local('Metropolis Medium Italic'),
|
|
173
|
+
local('Metropolis-MediumItalic'),
|
|
174
|
+
url('./fonts/metropolis/Metropolis-MediumItalic.eot?#iefix')
|
|
175
|
+
format('embedded-opentype'),
|
|
176
|
+
url('./fonts/metropolis/Metropolis-MediumItalic.woff2') format('woff2'),
|
|
177
|
+
url('./fonts/metropolis/Metropolis-MediumItalic.woff') format('woff'),
|
|
178
|
+
url('./fonts/metropolis/Metropolis-MediumItalic.ttf') format('truetype');
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
@font-face {
|
|
182
|
+
font-family: 'Metropolis';
|
|
183
|
+
font-style: normal;
|
|
184
|
+
font-weight: 500;
|
|
185
|
+
src: url('./fonts/metropolis/Metropolis-Medium.eot');
|
|
186
|
+
src:
|
|
187
|
+
local('Metropolis Medium'),
|
|
188
|
+
local('Metropolis-Medium'),
|
|
189
|
+
url('./fonts/metropolis/Metropolis-Medium.eot?#iefix')
|
|
190
|
+
format('embedded-opentype'),
|
|
191
|
+
url('./fonts/metropolis/Metropolis-Medium.woff2') format('woff2'),
|
|
192
|
+
url('./fonts/metropolis/Metropolis-Medium.woff') format('woff'),
|
|
193
|
+
url('./fonts/metropolis/Metropolis-Medium.ttf') format('truetype');
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
@font-face {
|
|
197
|
+
font-family: 'Metropolis';
|
|
198
|
+
font-style: italic;
|
|
199
|
+
font-weight: 300;
|
|
200
|
+
src: url('./fonts/metropolis/Metropolis-LightItalic.eot');
|
|
201
|
+
src:
|
|
202
|
+
local('Metropolis Light Italic'),
|
|
203
|
+
local('Metropolis-LightItalic'),
|
|
204
|
+
url('./fonts/metropolis/Metropolis-LightItalic.eot?#iefix')
|
|
205
|
+
format('embedded-opentype'),
|
|
206
|
+
url('./fonts/metropolis/Metropolis-LightItalic.woff2') format('woff2'),
|
|
207
|
+
url('./fonts/metropolis/Metropolis-LightItalic.woff') format('woff'),
|
|
208
|
+
url('./fonts/metropolis/Metropolis-LightItalic.ttf') format('truetype');
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
@font-face {
|
|
212
|
+
font-family: 'Metropolis';
|
|
213
|
+
font-style: normal;
|
|
214
|
+
font-weight: 300;
|
|
215
|
+
src: url('./fonts/metropolis/Metropolis-Light.eot');
|
|
216
|
+
src:
|
|
217
|
+
local('Metropolis Light'),
|
|
218
|
+
local('Metropolis-Light'),
|
|
219
|
+
url('./fonts/metropolis/Metropolis-Light.eot?#iefix')
|
|
220
|
+
format('embedded-opentype'),
|
|
221
|
+
url('./fonts/metropolis/Metropolis-Light.woff2') format('woff2'),
|
|
222
|
+
url('./fonts/metropolis/Metropolis-Light.woff') format('woff'),
|
|
223
|
+
url('./fonts/metropolis/Metropolis-Light.ttf') format('truetype');
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
// @font-face {
|
|
227
|
+
// font-family: 'Metropolis';
|
|
228
|
+
// src: url('./fonts/metropolis/Metropolis-Black.eot');
|
|
229
|
+
// src: local('Metropolis Black'), local('Metropolis-Black'),
|
|
230
|
+
// url('./fonts/metropolis/Metropolis-Black.eot?#iefix') format('embedded-opentype'),
|
|
231
|
+
// url('./fonts/metropolis/Metropolis-Black.woff2') format('woff2'),
|
|
232
|
+
// url('./fonts/metropolis/Metropolis-Black.woff') format('woff'),
|
|
233
|
+
// url('./fonts/metropolis/Metropolis-Black.ttf') format('truetype');
|
|
234
|
+
// font-weight: 900;
|
|
235
|
+
// font-style: normal;
|
|
236
|
+
// }
|
|
237
|
+
|
|
238
|
+
// @font-face {
|
|
239
|
+
// font-family: 'Metropolis';
|
|
240
|
+
// src: url('./fonts/metropolis/Metropolis-Thin.eot');
|
|
241
|
+
// src: local('Metropolis Thin'), local('Metropolis-Thin'),
|
|
242
|
+
// url('./fonts/metropolis/Metropolis-Thin.eot?#iefix') format('embedded-opentype'),
|
|
243
|
+
// url('./fonts/metropolis/Metropolis-Thin.woff2') format('woff2'),
|
|
244
|
+
// url('./fonts/metropolis/Metropolis-Thin.woff') format('woff'),
|
|
245
|
+
// url('./fonts/metropolis/Metropolis-Thin.ttf') format('truetype');
|
|
246
|
+
// font-weight: 100;
|
|
247
|
+
// font-style: normal;
|
|
248
|
+
// }
|
|
249
|
+
|
|
250
|
+
// @font-face {
|
|
251
|
+
// font-family: 'Metropolis Extra';
|
|
252
|
+
// src: url('./fonts/metropolis/Metropolis-ExtraBoldItalic.eot');
|
|
253
|
+
// src: local('Metropolis Extra Bold Italic'), local('Metropolis-ExtraBoldItalic'),
|
|
254
|
+
// url('./fonts/metropolis/Metropolis-ExtraBoldItalic.eot?#iefix') format('embedded-opentype'),
|
|
255
|
+
// url('./fonts/metropolis/Metropolis-ExtraBoldItalic.woff2') format('woff2'),
|
|
256
|
+
// url('./fonts/metropolis/Metropolis-ExtraBoldItalic.woff') format('woff'),
|
|
257
|
+
// url('./fonts/metropolis/Metropolis-ExtraBoldItalic.ttf') format('truetype');
|
|
258
|
+
// font-weight: 800;
|
|
259
|
+
// font-style: italic;
|
|
260
|
+
// }
|
|
261
|
+
|
|
262
|
+
// @font-face {
|
|
263
|
+
// font-family: 'Metropolis Extra';
|
|
264
|
+
// src: url('./fonts/metropolis/Metropolis-ExtraLight.eot');
|
|
265
|
+
// src: local('Metropolis Extra Light'), local('Metropolis-ExtraLight'),
|
|
266
|
+
// url('./fonts/metropolis/Metropolis-ExtraLight.eot?#iefix') format('embedded-opentype'),
|
|
267
|
+
// url('./fonts/metropolis/Metropolis-ExtraLight.woff2') format('woff2'),
|
|
268
|
+
// url('./fonts/metropolis/Metropolis-ExtraLight.woff') format('woff'),
|
|
269
|
+
// url('./fonts/metropolis/Metropolis-ExtraLight.ttf') format('truetype');
|
|
270
|
+
// font-weight: 200;
|
|
271
|
+
// font-style: normal;
|
|
272
|
+
// }
|
|
273
|
+
|
|
274
|
+
@font-face {
|
|
275
|
+
font-family: 'Metropolis';
|
|
276
|
+
font-style: normal;
|
|
277
|
+
font-weight: bold;
|
|
278
|
+
src: url('./fonts/metropolis/Metropolis-Bold.eot');
|
|
279
|
+
src:
|
|
280
|
+
local('Metropolis Bold'),
|
|
281
|
+
local('Metropolis-Bold'),
|
|
282
|
+
url('./fonts/metropolis/Metropolis-Bold.eot?#iefix')
|
|
283
|
+
format('embedded-opentype'),
|
|
284
|
+
url('./fonts/metropolis/Metropolis-Bold.woff2') format('woff2'),
|
|
285
|
+
url('./fonts/metropolis/Metropolis-Bold.woff') format('woff'),
|
|
286
|
+
url('./fonts/metropolis/Metropolis-Bold.ttf') format('truetype');
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
@font-face {
|
|
290
|
+
font-family: 'Metropolis';
|
|
291
|
+
font-style: normal;
|
|
292
|
+
font-weight: normal;
|
|
293
|
+
src: url('./fonts/metropolis/Metropolis-Regular.eot');
|
|
294
|
+
src:
|
|
295
|
+
local('Metropolis Regular'),
|
|
296
|
+
local('Metropolis-Regular'),
|
|
297
|
+
url('./fonts/metropolis/Metropolis-Regular.eot?#iefix')
|
|
298
|
+
format('embedded-opentype'),
|
|
299
|
+
url('./fonts/metropolis/Metropolis-Regular.woff2') format('woff2'),
|
|
300
|
+
url('./fonts/metropolis/Metropolis-Regular.woff') format('woff'),
|
|
301
|
+
url('./fonts/metropolis/Metropolis-Regular.ttf') format('truetype');
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
@font-face {
|
|
305
|
+
font-family: 'Metropolis';
|
|
306
|
+
font-style: italic;
|
|
307
|
+
font-weight: bold;
|
|
308
|
+
src: url('./fonts/metropolis/Metropolis-BoldItalic.eot');
|
|
309
|
+
src:
|
|
310
|
+
local('Metropolis Bold Italic'),
|
|
311
|
+
local('Metropolis-BoldItalic'),
|
|
312
|
+
url('./fonts/metropolis/Metropolis-BoldItalic.eot?#iefix')
|
|
313
|
+
format('embedded-opentype'),
|
|
314
|
+
url('./fonts/metropolis/Metropolis-BoldItalic.woff2') format('woff2'),
|
|
315
|
+
url('./fonts/metropolis/Metropolis-BoldItalic.woff') format('woff'),
|
|
316
|
+
url('./fonts/metropolis/Metropolis-BoldItalic.ttf') format('truetype');
|
|
317
|
+
}
|
package/src/theme/_header.scss
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
align-self: center;
|
|
22
22
|
justify-content: center;
|
|
23
23
|
|
|
24
|
-
@media only screen and (max-width:
|
|
24
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
|
25
25
|
display: none;
|
|
26
26
|
}
|
|
27
27
|
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
transition:
|
|
135
135
|
top 500ms ease-in-out,
|
|
136
136
|
height 600ms ease-in-out;
|
|
137
|
-
transition-property: top height;
|
|
137
|
+
transition-property: top, height;
|
|
138
138
|
|
|
139
139
|
&.active {
|
|
140
140
|
top: 0;
|
|
@@ -306,7 +306,6 @@
|
|
|
306
306
|
display: flex;
|
|
307
307
|
min-height: initial;
|
|
308
308
|
padding: 0;
|
|
309
|
-
padding: 0;
|
|
310
309
|
margin: 0;
|
|
311
310
|
font-size: 20px;
|
|
312
311
|
list-style: none;
|
|
@@ -401,8 +400,13 @@
|
|
|
401
400
|
position: absolute;
|
|
402
401
|
top: 27px;
|
|
403
402
|
right: 75px;
|
|
403
|
+
border: 0;
|
|
404
|
+
margin-left: 28px;
|
|
404
405
|
color: $black;
|
|
405
406
|
cursor: pointer;
|
|
407
|
+
&:focus {
|
|
408
|
+
outline: 1px solid $black;
|
|
409
|
+
}
|
|
406
410
|
}
|
|
407
411
|
|
|
408
412
|
&-inner {
|
|
@@ -505,10 +509,6 @@
|
|
|
505
509
|
}
|
|
506
510
|
}
|
|
507
511
|
}
|
|
508
|
-
|
|
509
|
-
.icon {
|
|
510
|
-
margin-left: 28px;
|
|
511
|
-
}
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
/* Fat menu in Edit mode */
|
|
@@ -528,6 +528,14 @@
|
|
|
528
528
|
|
|
529
529
|
// Mobile Navigation
|
|
530
530
|
|
|
531
|
+
// applies on body when menu is open
|
|
532
|
+
.has-menu-open {
|
|
533
|
+
position: fixed;
|
|
534
|
+
top: 0;
|
|
535
|
+
left: 0;
|
|
536
|
+
width: 100%;
|
|
537
|
+
}
|
|
538
|
+
|
|
531
539
|
.mobile-nav {
|
|
532
540
|
.ui.basic.button.search {
|
|
533
541
|
padding: 15px;
|
|
@@ -543,8 +551,10 @@
|
|
|
543
551
|
|
|
544
552
|
.hamburger-inner,
|
|
545
553
|
.hamburger-inner:before,
|
|
546
|
-
.hamburger-inner:after
|
|
547
|
-
|
|
554
|
+
.hamburger-inner:after,
|
|
555
|
+
.hamburger:before,
|
|
556
|
+
.hamburger:after {
|
|
557
|
+
height: 4px;
|
|
548
558
|
border-radius: 0;
|
|
549
559
|
}
|
|
550
560
|
}
|
|
@@ -600,7 +610,6 @@
|
|
|
600
610
|
top: 135px;
|
|
601
611
|
right: 0;
|
|
602
612
|
display: flex;
|
|
603
|
-
display: flex;
|
|
604
613
|
width: 100vw;
|
|
605
614
|
height: calc(100vh - 110px);
|
|
606
615
|
flex-direction: column;
|
|
@@ -614,9 +623,10 @@
|
|
|
614
623
|
overflow-y: auto;
|
|
615
624
|
text-align: left;
|
|
616
625
|
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
626
|
+
// commented since it is overriden by next media query
|
|
627
|
+
//@media only screen and (max-width: $computer-breakpoint) {
|
|
628
|
+
// top: calc(157px + 1rem); // Adjusting the margin top of the logo
|
|
629
|
+
//}
|
|
620
630
|
|
|
621
631
|
@media only screen and (max-width: $computer-breakpoint) {
|
|
622
632
|
top: calc(135px + 1rem); // Adjusting the margin top of the logo
|
|
@@ -804,10 +814,9 @@
|
|
|
804
814
|
height: calc(100vh - 158px);
|
|
805
815
|
}
|
|
806
816
|
|
|
807
|
-
.menu-drawer
|
|
817
|
+
.menu-drawer {
|
|
808
818
|
opacity: 0;
|
|
809
|
-
|
|
810
|
-
transition: opacity 500ms;
|
|
819
|
+
visibility: hidden;
|
|
811
820
|
}
|
|
812
821
|
|
|
813
822
|
.menu-drawer-enter.menu-drawer-enter-active {
|
|
@@ -816,6 +825,12 @@
|
|
|
816
825
|
transition:
|
|
817
826
|
transform 0.5s cubic-bezier(0.09, 0.11, 0.24, 0.91),
|
|
818
827
|
opacity 500ms;
|
|
828
|
+
visibility: visible;
|
|
829
|
+
}
|
|
830
|
+
|
|
831
|
+
.menu-drawer-enter-done {
|
|
832
|
+
opacity: 1;
|
|
833
|
+
visibility: visible;
|
|
819
834
|
}
|
|
820
835
|
|
|
821
836
|
.menu-drawer-exit {
|
|
@@ -824,6 +839,7 @@
|
|
|
824
839
|
transition:
|
|
825
840
|
transform 0.5s cubic-bezier(0.09, 0.11, 0.24, 0.91),
|
|
826
841
|
opacity 500ms;
|
|
842
|
+
visibility: visible;
|
|
827
843
|
}
|
|
828
844
|
|
|
829
845
|
.menu-drawer-exit.menu-drawer-exit-active {
|
package/src/theme/_layout.scss
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
--layout-container-width:
|
|
3
|
-
--default-container-width:
|
|
4
|
-
--narrow-container-width:
|
|
2
|
+
--layout-container-width: #{$layout-container-width};
|
|
3
|
+
--default-container-width: #{$default-container-width};
|
|
4
|
+
--narrow-container-width: #{$narrow-container-width};
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
// Container queries still do not work with CSS custom properties
|
|
8
|
-
// They should be exact numbers
|
|
9
|
-
// For now, maintain in sync with the above
|
|
10
|
-
$layout-container-width: 1440px !default;
|
|
11
|
-
$default-container-width: 940px !default;
|
|
12
|
-
$narrow-container-width: 620px !default;
|
|
13
|
-
|
|
14
7
|
@mixin narrow-container-width() {
|
|
15
8
|
max-width: var(--narrow-container-width);
|
|
16
9
|
margin-right: auto;
|
|
@@ -22,7 +15,7 @@ $narrow-container-width: 620px !default;
|
|
|
22
15
|
margin-right: auto;
|
|
23
16
|
margin-left: auto;
|
|
24
17
|
|
|
25
|
-
// This is mostly
|
|
18
|
+
// This is mostly cosmetics if you don't want to "see" the jump
|
|
26
19
|
// but a nice animation instead - PoC (WIP)
|
|
27
20
|
// @media only screen and (max-width: #{$default-container-width + 5px}) {
|
|
28
21
|
// margin-right: 5px;
|
|
@@ -51,7 +44,7 @@ $narrow-container-width: 620px !default;
|
|
|
51
44
|
}
|
|
52
45
|
}
|
|
53
46
|
|
|
54
|
-
// Container adjustments for dealing correctly with
|
|
47
|
+
// Container adjustments for dealing correctly with absolute positioned elements
|
|
55
48
|
@mixin container-preference-order($zindex) {
|
|
56
49
|
position: relative;
|
|
57
50
|
z-index: $zindex;
|
|
@@ -125,28 +118,18 @@ footer {
|
|
|
125
118
|
.content-area .a.container {
|
|
126
119
|
a.external:after,
|
|
127
120
|
a.external:after {
|
|
128
|
-
|
|
129
|
-
width: 11px;
|
|
130
|
-
height: 11px;
|
|
121
|
+
@include external-link-icon();
|
|
131
122
|
margin-top: -25px;
|
|
132
123
|
margin-left: 3px;
|
|
133
|
-
content: '\a0'
|
|
134
|
-
url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='external-link-alt' class='svg-inline--fa fa-external-link-alt fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 512 512'%3E%3Cpath fill='%23007EB1' d='M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z'%3E%3C/path%3E%3C/svg%3E");
|
|
135
|
-
white-space: nowrap;
|
|
136
124
|
}
|
|
137
125
|
}
|
|
138
126
|
.content-area #page-edit .ui.container,
|
|
139
127
|
.content-area .a.container {
|
|
140
128
|
a.external:after,
|
|
141
129
|
a.external:after {
|
|
142
|
-
|
|
143
|
-
width: 11px;
|
|
144
|
-
height: 11px;
|
|
130
|
+
@include external-link-icon();
|
|
145
131
|
margin-top: -25px;
|
|
146
132
|
margin-left: 3px;
|
|
147
|
-
content: '\a0'
|
|
148
|
-
url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='external-link-alt' class='svg-inline--fa fa-external-link-alt fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 512 512'%3E%3Cpath fill='%23007EB1' d='M432,320H400a16,16,0,0,0-16,16V448H64V128H208a16,16,0,0,0,16-16V80a16,16,0,0,0-16-16H48A48,48,0,0,0,0,112V464a48,48,0,0,0,48,48H400a48,48,0,0,0,48-48V336A16,16,0,0,0,432,320ZM488,0h-128c-21.37,0-32.05,25.91-17,41l35.73,35.73L135,320.37a24,24,0,0,0,0,34L157.67,377a24,24,0,0,0,34,0L435.28,133.32,471,169c15,15,41,4.5,41-17V24A24,24,0,0,0,488,0Z'%3E%3C/path%3E%3C/svg%3E");
|
|
149
|
-
white-space: nowrap;
|
|
150
133
|
}
|
|
151
134
|
}
|
|
152
135
|
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
2
|
+
.section-sitemap {
|
|
3
|
+
#page-sitemap {
|
|
4
|
+
h1 {
|
|
5
|
+
@include page-title();
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
ul {
|
|
9
|
+
li.with-children {
|
|
10
|
+
a {
|
|
11
|
+
font-weight: $bold;
|
|
12
|
+
line-height: map.get($line-heights, 3xl);
|
|
13
|
+
text-decoration: none;
|
|
14
|
+
}
|
|
15
|
+
ul {
|
|
16
|
+
li {
|
|
17
|
+
a {
|
|
18
|
+
font-weight: $regular;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -159,76 +159,3 @@ h4 {
|
|
|
159
159
|
user-select: none;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
|
|
163
|
-
@font-face {
|
|
164
|
-
font-family: 'Inter';
|
|
165
|
-
font-style: thin;
|
|
166
|
-
font-weight: 100;
|
|
167
|
-
src: local('Inter');
|
|
168
|
-
src: url('./fonts/Inter-Thin.ttf');
|
|
169
|
-
src: url('./fonts/Inter-Thin.ttf') format('truetype');
|
|
170
|
-
}
|
|
171
|
-
@font-face {
|
|
172
|
-
font-family: 'Inter';
|
|
173
|
-
// font-style: extra-light;
|
|
174
|
-
font-weight: 200;
|
|
175
|
-
src: local('Inter');
|
|
176
|
-
src: url('./fonts/Inter-ExtraLight.ttf');
|
|
177
|
-
src: url('./fonts/Inter-ExtraLight.ttf') format('truetype');
|
|
178
|
-
}
|
|
179
|
-
@font-face {
|
|
180
|
-
font-family: 'Inter';
|
|
181
|
-
font-style: light;
|
|
182
|
-
font-weight: 300;
|
|
183
|
-
src: local('Inter');
|
|
184
|
-
src: url('./fonts/Inter-Light.ttf');
|
|
185
|
-
src: url('./fonts/Inter-Light.ttf') format('truetype');
|
|
186
|
-
}
|
|
187
|
-
@font-face {
|
|
188
|
-
font-family: 'Inter';
|
|
189
|
-
font-style: normal; //regular
|
|
190
|
-
font-weight: 400;
|
|
191
|
-
src: local('Inter');
|
|
192
|
-
src: url('./fonts/Inter-Regular.ttf');
|
|
193
|
-
src: url('./fonts/Inter-Regular.ttf') format('truetype');
|
|
194
|
-
}
|
|
195
|
-
@font-face {
|
|
196
|
-
font-family: 'Inter';
|
|
197
|
-
font-style: medium;
|
|
198
|
-
font-weight: 500;
|
|
199
|
-
src: local('Inter');
|
|
200
|
-
src: url('./fonts/Inter-Medium.ttf');
|
|
201
|
-
src: url('./fonts/Inter-Medium.ttf') format('truetype');
|
|
202
|
-
}
|
|
203
|
-
@font-face {
|
|
204
|
-
font-family: 'Inter';
|
|
205
|
-
// font-style: semi-bold;
|
|
206
|
-
font-weight: 600;
|
|
207
|
-
src: local('Inter');
|
|
208
|
-
src: url('./fonts/Inter-SemiBold.ttf');
|
|
209
|
-
src: url('./fonts/Inter-SemiBold.ttf') format('truetype');
|
|
210
|
-
}
|
|
211
|
-
@font-face {
|
|
212
|
-
font-family: 'Inter';
|
|
213
|
-
font-style: bold;
|
|
214
|
-
font-weight: 700;
|
|
215
|
-
src: local('Inter');
|
|
216
|
-
src: url('./fonts/Inter-Bold.ttf');
|
|
217
|
-
src: url('./fonts/Inter-Bold.ttf') format('truetype');
|
|
218
|
-
}
|
|
219
|
-
@font-face {
|
|
220
|
-
font-family: 'Inter';
|
|
221
|
-
// font-style: extra-bold;
|
|
222
|
-
font-weight: 800;
|
|
223
|
-
src: local('Inter');
|
|
224
|
-
src: url('./fonts/Inter-ExtraBold.ttf');
|
|
225
|
-
src: url('./fonts/Inter-ExtraBold.ttf') format('truetype');
|
|
226
|
-
}
|
|
227
|
-
@font-face {
|
|
228
|
-
font-family: 'Inter';
|
|
229
|
-
// font-style: black;
|
|
230
|
-
font-weight: 900;
|
|
231
|
-
src: local('Inter');
|
|
232
|
-
src: url('./fonts/Inter-Black.ttf');
|
|
233
|
-
src: url('./fonts/Inter-Black.ttf') format('truetype');
|
|
234
|
-
}
|