@kitconcept/volto-light-theme 8.0.0-alpha.3 → 8.0.0-alpha.30
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/.changelog.draft +6 -9
- package/CHANGELOG.md +310 -0
- package/locales/af/LC_MESSAGES/volto.po +645 -0
- package/locales/ar/LC_MESSAGES/volto.po +645 -0
- package/locales/bg/LC_MESSAGES/volto.po +645 -0
- package/locales/bn/LC_MESSAGES/volto.po +645 -0
- package/locales/ca/LC_MESSAGES/volto.po +645 -0
- package/locales/cs/LC_MESSAGES/volto.po +645 -0
- package/locales/cy/LC_MESSAGES/volto.po +645 -0
- package/locales/da/LC_MESSAGES/volto.po +645 -0
- package/locales/de/LC_MESSAGES/volto.po +83 -167
- package/locales/el/LC_MESSAGES/volto.po +645 -0
- package/locales/en/LC_MESSAGES/volto.po +30 -115
- package/locales/en_AU/LC_MESSAGES/volto.po +645 -0
- package/locales/en_GB/LC_MESSAGES/volto.po +645 -0
- package/locales/eo/LC_MESSAGES/volto.po +645 -0
- package/locales/es/LC_MESSAGES/volto.po +75 -160
- package/locales/et/LC_MESSAGES/volto.po +645 -0
- package/locales/eu/LC_MESSAGES/volto.po +59 -125
- package/locales/fa/LC_MESSAGES/volto.po +645 -0
- package/locales/fi/LC_MESSAGES/volto.po +645 -0
- package/locales/fr/LC_MESSAGES/volto.po +645 -0
- package/locales/fu/LC_MESSAGES/volto.po +645 -0
- package/locales/ga/LC_MESSAGES/volto.po +645 -0
- package/locales/gl/LC_MESSAGES/volto.po +645 -0
- package/locales/he/LC_MESSAGES/volto.po +645 -0
- package/locales/hi/LC_MESSAGES/volto.po +645 -0
- package/locales/hr/LC_MESSAGES/volto.po +645 -0
- package/locales/hu/LC_MESSAGES/volto.po +645 -0
- package/locales/hy/LC_MESSAGES/volto.po +645 -0
- package/locales/id/LC_MESSAGES/volto.po +645 -0
- package/locales/it/LC_MESSAGES/volto.po +645 -0
- package/locales/ja/LC_MESSAGES/volto.po +645 -0
- package/locales/ka/LC_MESSAGES/volto.po +645 -0
- package/locales/kn/LC_MESSAGES/volto.po +645 -0
- package/locales/ko/LC_MESSAGES/volto.po +645 -0
- package/locales/lt/LC_MESSAGES/volto.po +645 -0
- package/locales/lv/LC_MESSAGES/volto.po +645 -0
- package/locales/mi/LC_MESSAGES/volto.po +645 -0
- package/locales/mk_MK/LC_MESSAGES/volto.po +645 -0
- package/locales/ms/LC_MESSAGES/volto.po +645 -0
- package/locales/mt/LC_MESSAGES/volto.po +645 -0
- package/locales/my/LC_MESSAGES/volto.po +645 -0
- package/locales/nl/LC_MESSAGES/volto.po +645 -0
- package/locales/nl_BE/LC_MESSAGES/volto.po +645 -0
- package/locales/nn/LC_MESSAGES/volto.po +645 -0
- package/locales/no/LC_MESSAGES/volto.po +645 -0
- package/locales/pl/LC_MESSAGES/volto.po +645 -0
- package/locales/pt/LC_MESSAGES/volto.po +645 -0
- package/locales/pt_BR/LC_MESSAGES/volto.po +38 -123
- package/locales/rm/LC_MESSAGES/volto.po +645 -0
- package/locales/ro/LC_MESSAGES/volto.po +645 -0
- package/locales/ru/LC_MESSAGES/volto.po +645 -0
- package/locales/sk/LC_MESSAGES/volto.po +645 -0
- package/locales/sl/LC_MESSAGES/volto.po +645 -0
- package/locales/sm/LC_MESSAGES/volto.po +645 -0
- package/locales/sq/LC_MESSAGES/volto.po +645 -0
- package/locales/sr/LC_MESSAGES/volto.po +645 -0
- package/locales/sr_Cyrl/LC_MESSAGES/volto.po +645 -0
- package/locales/sr_Latn/LC_MESSAGES/volto.po +645 -0
- package/locales/sv/LC_MESSAGES/volto.po +645 -0
- package/locales/sw/LC_MESSAGES/volto.po +645 -0
- package/locales/ta/LC_MESSAGES/volto.po +645 -0
- package/locales/te/LC_MESSAGES/volto.po +645 -0
- package/locales/th/LC_MESSAGES/volto.po +645 -0
- package/locales/tl/LC_MESSAGES/volto.po +645 -0
- package/locales/to/LC_MESSAGES/volto.po +645 -0
- package/locales/tr/LC_MESSAGES/volto.po +645 -0
- package/locales/uk/LC_MESSAGES/volto.po +645 -0
- package/locales/vi/LC_MESSAGES/volto.po +645 -0
- package/locales/volto.pot +31 -116
- package/locales/zh_CN/LC_MESSAGES/volto.po +645 -0
- package/locales/zh_HK/LC_MESSAGES/volto.po +645 -0
- package/locales/zh_TW/LC_MESSAGES/volto.po +645 -0
- package/package.json +7 -4
- package/src/__mocks__/semantic-ui-react.ts +31 -0
- package/src/components/Blocks/Block/EditBlockWrapper.jsx +9 -3
- package/src/components/Blocks/Button/schema.js +12 -0
- package/src/components/Blocks/EventCalendar/Search/components/EventTemplate.tsx +1 -1
- package/src/components/Blocks/Image/Edit.jsx +9 -32
- package/src/components/Blocks/Image/View.jsx +9 -26
- package/src/components/Blocks/Image/adapter.js +28 -14
- package/src/components/Blocks/Image/adapter.test.js +156 -0
- package/src/components/Blocks/Image/schema.js +21 -7
- package/src/components/Blocks/Listing/DefaultTemplate.jsx +12 -6
- package/src/components/Blocks/Listing/GridTemplate.jsx +17 -7
- package/src/components/Blocks/Listing/ListingBody.jsx +4 -1
- package/src/components/Blocks/Listing/SummaryTemplate.jsx +17 -7
- package/src/components/Blocks/Maps/MapsSidebar.jsx +68 -0
- package/src/components/Blocks/Maps/View.jsx +37 -0
- package/src/components/Blocks/Maps/adapter.js +27 -0
- package/src/components/Blocks/Maps/adapter.test.js +63 -0
- package/src/components/Blocks/Maps/schema.js +42 -2
- package/src/components/Blocks/Separator/schema.js +12 -0
- package/src/components/Blocks/Teaser/DefaultBody.tsx +35 -6
- package/src/components/Blocks/Video/VideoSidebar.jsx +68 -0
- package/src/components/Blocks/Video/View.jsx +38 -0
- package/src/components/Blocks/Video/adapter.js +28 -0
- package/src/components/Blocks/Video/adapter.test.js +63 -0
- package/src/components/Blocks/Video/schema.js +42 -2
- package/src/components/Blocks/schema.ts +69 -0
- package/src/components/Breadcrumbs/Breadcrumbs.test.tsx +128 -0
- package/src/components/Breadcrumbs/Breadcrumbs.tsx +117 -0
- package/src/components/Caption/Caption.test.tsx +31 -0
- package/src/components/Caption/{Caption.jsx → Caption.tsx} +14 -21
- package/src/components/Footer/ColumnLinks.tsx +2 -2
- package/src/components/Footer/Footer.tsx +2 -2
- package/src/components/Footer/slots/Colophon.tsx +13 -1
- package/src/components/Footer/slots/CoreFooter.tsx +4 -2
- package/src/components/Footer/slots/FollowUsLogoAndLinks.tsx +12 -23
- package/src/components/Header/Header.tsx +3 -3
- package/src/components/LanguageSelector/LanguageSelector.tsx +91 -0
- package/src/components/MobileNavigation/MobileNavigation.jsx +11 -9
- package/src/components/Navigation/Navigation.test.tsx +176 -0
- package/src/components/Navigation/{Navigation.jsx → Navigation.tsx} +89 -42
- package/src/components/StickyMenu/MobileCarouselArrowButton.tsx +81 -0
- package/src/components/StickyMenu/MobileStickyMenu.tsx +76 -0
- package/src/components/Summary/DefaultSummary.tsx +10 -3
- package/src/components/Summary/EventSummary.tsx +10 -3
- package/src/components/Summary/FileSummary.tsx +10 -3
- package/src/components/Summary/NewsItemSummary.tsx +10 -3
- package/src/components/Summary/PersonSummary.tsx +10 -3
- package/src/components/Summary/Summary.stories.tsx +46 -30
- package/src/components/Tags/Tags.test.tsx +71 -0
- package/src/components/Tags/{Tags.jsx → Tags.tsx} +9 -25
- package/src/components/Theme/EventView.jsx +4 -4
- package/src/components/Theme/ImageView.jsx +8 -1
- package/src/components/Theme/NewsItemView.jsx +4 -4
- package/src/components/Theme/RenderBlocksV2.jsx +38 -15
- package/src/components/Widgets/ColorSwatch.stories.tsx +197 -0
- package/src/components/Widgets/ColorSwatch.test.tsx +188 -0
- package/src/components/Widgets/ColorSwatch.tsx +77 -39
- package/src/components/Widgets/ObjectList.tsx +37 -27
- package/src/components/Widgets/SoftTextWidget.tsx +129 -0
- package/src/components/Widgets/SoftTextareaWidget.tsx +118 -0
- package/src/components/Widgets/ThemeColorSwatch.tsx +5 -9
- package/src/config/blocks.tsx +83 -28
- package/src/config/classExtenders.ts +11 -10
- package/src/config/settings.ts +6 -0
- package/src/config/slots.ts +7 -0
- package/src/config/widgets.ts +5 -9
- package/src/customizations/volto/components/manage/Blocks/Maps/MapsSidebar.jsx +10 -0
- package/src/customizations/volto/components/manage/Blocks/Maps/View.jsx +10 -0
- package/src/customizations/volto/components/manage/Blocks/Video/VideoSidebar.jsx +10 -0
- package/src/customizations/volto/components/manage/Blocks/Video/View.jsx +10 -0
- package/src/customizations/volto/components/manage/DragDropList/DragDropList.jsx +263 -0
- package/src/customizations/volto/components/theme/LanguageSelector/LanguageSelector.tsx +10 -0
- package/src/helpers/styleDefinitions.test.tsx +30 -0
- package/src/helpers/styleDefinitions.ts +49 -0
- package/src/helpers/useLiveData.ts +7 -2
- package/src/index.ts +15 -0
- package/src/internalChecks.test.ts +94 -0
- package/src/primitives/Card/Card.stories.tsx +4 -1
- package/src/primitives/Card/Card.test.tsx +11 -33
- package/src/primitives/Card/Card.tsx +37 -44
- package/src/primitives/IconLinkList.tsx +53 -52
- package/src/primitives/LinkIconButton.tsx +52 -0
- package/src/reducers/errorContext.ts +14 -0
- package/src/reducers/index.ts +7 -0
- package/src/theme/_bgcolor-blocks-layout.scss +48 -46
- package/src/theme/_content.scss +12 -13
- package/src/theme/_export_import.scss +94 -0
- package/src/theme/_footer.scss +131 -64
- package/src/theme/_header.scss +25 -5
- package/src/theme/_insets.scss +1 -1
- package/src/theme/_layout.scss +41 -77
- package/src/theme/_mobile-sticky-menu.scss +92 -0
- package/src/theme/_search-page.scss +250 -0
- package/src/theme/_typo-custom.scss +24 -8
- package/src/theme/_variables.scss +40 -4
- package/src/theme/_widgets.scss +6 -17
- package/src/theme/blocks/_accordion.scss +11 -4
- package/src/theme/blocks/_form.scss +350 -0
- package/src/theme/blocks/_grid.scss +10 -77
- package/src/theme/blocks/_highlight.scss +10 -7
- package/src/theme/blocks/_image.scss +99 -184
- package/src/theme/blocks/_listing.scss +61 -128
- package/src/theme/blocks/_maps.scss +60 -34
- package/src/theme/blocks/_search.scss +3 -4
- package/src/theme/blocks/_table.scss +1 -0
- package/src/theme/blocks/_teaser.scss +7 -117
- package/src/theme/blocks/_toc.scss +2 -1
- package/src/theme/card.scss +136 -69
- package/src/theme/main.scss +4 -0
- package/src/theme/notfound.scss +2 -0
- package/src/theme/person.scss +7 -1
- package/src/theme/sticky-menu.scss +7 -5
- package/src/transforms/to6.ts +5 -49
- package/src/transforms/to8.test.js +201 -0
- package/src/transforms/to8.ts +109 -0
- package/src/types.d.ts +1 -0
- package/vitest.config.mjs +28 -3
- package/razzle.extend.js +0 -38
- package/src/components/Blocks/schema.js +0 -44
- package/src/components/Breadcrumbs/Breadcrumbs.jsx +0 -118
- package/src/components/Widgets/AlignWidget.tsx +0 -84
- package/src/components/Widgets/BlockAlignment.tsx +0 -88
- package/src/components/Widgets/BlockWidth.tsx +0 -101
- package/src/components/Widgets/Buttons.tsx +0 -167
- package/src/components/Widgets/Size.tsx +0 -78
package/src/theme/_footer.scss
CHANGED
|
@@ -13,8 +13,11 @@
|
|
|
13
13
|
--footer-foreground: var(--primary-foreground-color, #{$black});
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.container {
|
|
17
|
-
padding: 0
|
|
16
|
+
& > .container:not(:empty) {
|
|
17
|
+
padding: $spacing-xlarge 0;
|
|
18
|
+
.container {
|
|
19
|
+
@include adjustMarginsToContainer($default-container-width);
|
|
20
|
+
}
|
|
18
21
|
}
|
|
19
22
|
|
|
20
23
|
& > :first-child:not(:empty) {
|
|
@@ -35,7 +38,6 @@
|
|
|
35
38
|
--footer-background: var(--secondary-color, #{$white});
|
|
36
39
|
--footer-foreground: var(--secondary-foreground-color, #{$black});
|
|
37
40
|
|
|
38
|
-
padding: $spacing-xlarge 2rem;
|
|
39
41
|
background: var(--footer-background);
|
|
40
42
|
color: var(--footer-foreground, $black);
|
|
41
43
|
|
|
@@ -94,25 +96,26 @@
|
|
|
94
96
|
|
|
95
97
|
.logo {
|
|
96
98
|
display: flex;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
99
|
+
max-width: 300px;
|
|
100
|
+
max-height: 90px;
|
|
101
|
+
margin-bottom: $spacing-medium;
|
|
100
102
|
a {
|
|
101
103
|
display: block;
|
|
102
|
-
max-width:
|
|
103
|
-
max-height: 80px;
|
|
104
|
+
max-width: 100%;
|
|
104
105
|
|
|
105
106
|
img {
|
|
106
107
|
max-width: 100%;
|
|
107
|
-
height:
|
|
108
|
+
max-height: 90px;
|
|
108
109
|
}
|
|
109
110
|
}
|
|
110
111
|
}
|
|
111
112
|
|
|
112
113
|
.footer-grid {
|
|
113
114
|
display: grid;
|
|
114
|
-
gap:
|
|
115
|
-
grid-
|
|
115
|
+
gap: $spacing-small;
|
|
116
|
+
grid-auto-columns: 1fr;
|
|
117
|
+
grid-auto-flow: column;
|
|
118
|
+
grid-template-columns: auto;
|
|
116
119
|
text-align: left;
|
|
117
120
|
|
|
118
121
|
h2 {
|
|
@@ -128,8 +131,8 @@
|
|
|
128
131
|
list-style: none;
|
|
129
132
|
|
|
130
133
|
li {
|
|
131
|
-
padding: 0 7px;
|
|
132
134
|
font-size: 18px;
|
|
135
|
+
line-height: 30px;
|
|
133
136
|
|
|
134
137
|
a {
|
|
135
138
|
text-decoration: underline;
|
|
@@ -141,93 +144,124 @@
|
|
|
141
144
|
justify-self: start;
|
|
142
145
|
@include body-text();
|
|
143
146
|
|
|
144
|
-
|
|
145
|
-
|
|
147
|
+
&:has(~ div li),
|
|
148
|
+
&:has(~ div h2) {
|
|
149
|
+
width: 380px;
|
|
150
|
+
.logo ~ * {
|
|
151
|
+
padding-right: $spacing-xlarge;
|
|
152
|
+
}
|
|
146
153
|
}
|
|
147
154
|
}
|
|
148
155
|
|
|
149
|
-
|
|
150
|
-
|
|
156
|
+
.column-left,
|
|
157
|
+
.column-middle,
|
|
158
|
+
.column-right {
|
|
159
|
+
&:has(ul:empty):not(:has(h2)) {
|
|
160
|
+
display: none;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
151
163
|
|
|
152
|
-
|
|
164
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
|
165
|
+
gap: $spacing-medium;
|
|
166
|
+
grid-auto-flow: row;
|
|
167
|
+
grid-template-columns: 1fr;
|
|
153
168
|
|
|
154
169
|
.address-column {
|
|
155
170
|
display: flex;
|
|
171
|
+
width: 100% !important;
|
|
156
172
|
flex-direction: column;
|
|
157
|
-
align-items:
|
|
173
|
+
align-items: flex-start;
|
|
174
|
+
margin-bottom: $spacing-medium;
|
|
158
175
|
}
|
|
159
176
|
|
|
160
177
|
.address-column,
|
|
161
178
|
.column-left,
|
|
162
179
|
.column-middle,
|
|
163
180
|
.column-right {
|
|
164
|
-
justify-self:
|
|
181
|
+
justify-self: start;
|
|
165
182
|
}
|
|
166
183
|
}
|
|
167
184
|
}
|
|
168
185
|
}
|
|
169
186
|
|
|
170
187
|
.post-footer {
|
|
171
|
-
padding: $spacing-xlarge 2rem;
|
|
172
188
|
background: var(--footer-background);
|
|
173
189
|
color: var(--footer-foreground, $black);
|
|
174
190
|
font-size: 18px;
|
|
175
191
|
}
|
|
176
192
|
|
|
177
193
|
.follow-us-links-and-logo {
|
|
178
|
-
display:
|
|
179
|
-
margin-bottom: 50px;
|
|
194
|
+
display: grid;
|
|
180
195
|
|
|
181
|
-
|
|
182
|
-
|
|
196
|
+
margin-bottom: $spacing-large;
|
|
197
|
+
grid-template-areas:
|
|
198
|
+
'social logo'
|
|
199
|
+
'links links';
|
|
200
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
183
201
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
202
|
+
.follow-us {
|
|
203
|
+
grid-area: social;
|
|
204
|
+
}
|
|
205
|
+
.footer-logo {
|
|
206
|
+
grid-area: logo;
|
|
207
|
+
}
|
|
208
|
+
.footer-links {
|
|
209
|
+
grid-area: links;
|
|
210
|
+
}
|
|
190
211
|
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
212
|
+
&:not(:has(.footer-logo)) .follow-us {
|
|
213
|
+
grid-column: 1 / -1;
|
|
214
|
+
}
|
|
215
|
+
&:not(:has(.follow-us)) .footer-logo {
|
|
216
|
+
grid-column: 1 / -1;
|
|
217
|
+
justify-self: center;
|
|
218
|
+
}
|
|
219
|
+
.follow-us {
|
|
220
|
+
display: flex;
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
text-align: center;
|
|
223
|
+
}
|
|
197
224
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
}
|
|
225
|
+
.footer-links {
|
|
226
|
+
ul {
|
|
227
|
+
justify-content: center;
|
|
202
228
|
}
|
|
203
229
|
}
|
|
204
230
|
|
|
205
231
|
@media only screen and (max-width: $largest-mobile-screen) {
|
|
206
|
-
flex-direction: column;
|
|
207
232
|
align-items: center;
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
justify-content: center;
|
|
214
|
-
}
|
|
233
|
+
grid-template-areas:
|
|
234
|
+
'social'
|
|
235
|
+
'logo'
|
|
236
|
+
'links';
|
|
237
|
+
grid-template-columns: minmax(0, 1fr);
|
|
215
238
|
|
|
216
239
|
.follow-us {
|
|
217
240
|
display: flex;
|
|
218
241
|
flex-direction: column;
|
|
219
242
|
justify-content: center;
|
|
220
243
|
text-align: center;
|
|
244
|
+
ul.social-networks {
|
|
245
|
+
flex-wrap: wrap;
|
|
246
|
+
gap: 10px;
|
|
247
|
+
li {
|
|
248
|
+
margin-right: 0;
|
|
249
|
+
}
|
|
250
|
+
}
|
|
221
251
|
}
|
|
222
252
|
|
|
223
253
|
.footer-links {
|
|
254
|
+
margin-top: $spacing-large;
|
|
224
255
|
ul {
|
|
225
|
-
|
|
256
|
+
flex-wrap: wrap;
|
|
257
|
+
gap: 10px 0;
|
|
258
|
+
li {
|
|
259
|
+
margin-right: 0;
|
|
260
|
+
}
|
|
226
261
|
}
|
|
227
262
|
}
|
|
228
263
|
|
|
229
264
|
.footer-logo {
|
|
230
|
-
padding-top: 50px;
|
|
231
265
|
margin: 0 auto;
|
|
232
266
|
span {
|
|
233
267
|
text-align: center;
|
|
@@ -244,6 +278,8 @@
|
|
|
244
278
|
.follow-us {
|
|
245
279
|
ul {
|
|
246
280
|
display: flex;
|
|
281
|
+
flex-wrap: wrap;
|
|
282
|
+
justify-content: center;
|
|
247
283
|
padding-left: 0;
|
|
248
284
|
margin: 0;
|
|
249
285
|
list-style: none;
|
|
@@ -251,13 +287,13 @@
|
|
|
251
287
|
}
|
|
252
288
|
|
|
253
289
|
.follow-us {
|
|
254
|
-
margin-bottom:
|
|
290
|
+
margin-bottom: $spacing-large;
|
|
255
291
|
text-align: left;
|
|
256
292
|
|
|
257
293
|
span {
|
|
258
294
|
@include headtitle2();
|
|
259
295
|
display: block;
|
|
260
|
-
margin-bottom:
|
|
296
|
+
margin-bottom: $spacing-large;
|
|
261
297
|
text-transform: uppercase;
|
|
262
298
|
}
|
|
263
299
|
|
|
@@ -278,41 +314,46 @@
|
|
|
278
314
|
li {
|
|
279
315
|
position: relative;
|
|
280
316
|
padding: 0 8px;
|
|
317
|
+
margin-bottom: 8px;
|
|
281
318
|
@include add(size, xs);
|
|
282
319
|
@include add(height, s);
|
|
283
320
|
|
|
284
321
|
&:not(:last-child):after {
|
|
285
322
|
position: absolute;
|
|
286
|
-
right:
|
|
323
|
+
right: 0;
|
|
287
324
|
display: inline-block;
|
|
288
325
|
color: var(--footer-foreground, $black);
|
|
289
326
|
content: '|';
|
|
327
|
+
transform: translateX(50%);
|
|
290
328
|
}
|
|
291
329
|
|
|
292
330
|
a {
|
|
293
331
|
@include add(size, xs);
|
|
294
332
|
@include add(height, s);
|
|
295
333
|
color: var(--footer-foreground);
|
|
334
|
+
text-decoration: underline;
|
|
296
335
|
}
|
|
297
336
|
}
|
|
298
337
|
}
|
|
299
338
|
|
|
300
339
|
.footer-logo {
|
|
301
|
-
|
|
302
|
-
max-width:
|
|
303
|
-
|
|
304
|
-
margin-
|
|
305
|
-
|
|
340
|
+
display: flex;
|
|
341
|
+
max-width: 200px;
|
|
342
|
+
flex-direction: column;
|
|
343
|
+
margin-bottom: $spacing-large;
|
|
344
|
+
justify-self: end;
|
|
306
345
|
span {
|
|
307
346
|
display: block;
|
|
308
|
-
margin-bottom:
|
|
347
|
+
margin-bottom: $spacing-large;
|
|
309
348
|
text-align: left;
|
|
310
349
|
text-transform: uppercase;
|
|
311
350
|
@include headtitle2();
|
|
312
351
|
}
|
|
313
352
|
|
|
314
353
|
img {
|
|
315
|
-
width: 100%;
|
|
354
|
+
max-width: 100%;
|
|
355
|
+
height: auto;
|
|
356
|
+
object-fit: contain;
|
|
316
357
|
}
|
|
317
358
|
}
|
|
318
359
|
|
|
@@ -320,29 +361,56 @@
|
|
|
320
361
|
@include add(size, xs);
|
|
321
362
|
@include add(height, s);
|
|
322
363
|
|
|
323
|
-
|
|
364
|
+
.slate.widget {
|
|
365
|
+
width: fit-content;
|
|
366
|
+
margin-right: auto;
|
|
367
|
+
margin-left: auto;
|
|
324
368
|
@include add(size, xs);
|
|
325
369
|
@include add(height, s);
|
|
370
|
+
ul,
|
|
371
|
+
ol,
|
|
372
|
+
li,
|
|
373
|
+
p,
|
|
374
|
+
a {
|
|
375
|
+
margin-bottom: 0;
|
|
376
|
+
font: inherit;
|
|
377
|
+
line-height: inherit;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
a {
|
|
326
382
|
color: var(--footer-foreground);
|
|
383
|
+
font: inherit;
|
|
327
384
|
text-decoration: underline;
|
|
328
385
|
}
|
|
329
386
|
|
|
387
|
+
p {
|
|
388
|
+
@include add(size, xs);
|
|
389
|
+
@include add(height, s);
|
|
390
|
+
margin-bottom: 0;
|
|
391
|
+
}
|
|
392
|
+
|
|
330
393
|
img {
|
|
331
394
|
margin-top: 25px;
|
|
332
395
|
}
|
|
333
396
|
|
|
334
397
|
&:before {
|
|
335
398
|
display: block;
|
|
336
|
-
padding-top:
|
|
399
|
+
padding-top: $spacing-large;
|
|
337
400
|
border-top: 1px solid var(--footer-foreground, $black);
|
|
338
401
|
content: '';
|
|
339
402
|
@include default-container-width();
|
|
340
403
|
}
|
|
404
|
+
&:has(.slate p:only-child:empty) {
|
|
405
|
+
display: none;
|
|
406
|
+
}
|
|
341
407
|
}
|
|
342
408
|
|
|
343
409
|
.main-footer + .post-footer {
|
|
344
410
|
background-color: var(--primary-color, $white);
|
|
345
411
|
color: var(--primary-foreground-color, $black);
|
|
412
|
+
--social-network-icon-color-main: #{$black};
|
|
413
|
+
--social-network-icon-color-hover: #{$black};
|
|
346
414
|
}
|
|
347
415
|
}
|
|
348
416
|
|
|
@@ -353,9 +421,8 @@ ul.logos-container {
|
|
|
353
421
|
padding: $pre-footer-vertical-spacing 0;
|
|
354
422
|
padding-left: 0;
|
|
355
423
|
margin-top: 0;
|
|
356
|
-
margin-bottom: $spacing-medium;
|
|
357
424
|
gap: 60px 20px;
|
|
358
|
-
grid-template-columns: repeat(auto-fit, minmax(
|
|
425
|
+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
359
426
|
list-style: none;
|
|
360
427
|
|
|
361
428
|
.logo-image {
|
package/src/theme/_header.scss
CHANGED
|
@@ -15,13 +15,14 @@
|
|
|
15
15
|
max-height: 80px;
|
|
16
16
|
flex: 1 1 0;
|
|
17
17
|
align-self: center;
|
|
18
|
-
|
|
19
18
|
a {
|
|
20
19
|
display: block;
|
|
21
20
|
|
|
22
21
|
img {
|
|
22
|
+
width: auto;
|
|
23
23
|
max-width: 100%;
|
|
24
24
|
height: auto;
|
|
25
|
+
max-height: 80px;
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
}
|
|
@@ -157,6 +158,10 @@
|
|
|
157
158
|
height 600ms ease-in-out;
|
|
158
159
|
transition-property: top, height;
|
|
159
160
|
|
|
161
|
+
@media only screen and (max-width: ($large-monitor-width + 36px)) {
|
|
162
|
+
left: -1em;
|
|
163
|
+
width: calc(100% + 2em);
|
|
164
|
+
}
|
|
160
165
|
&.active {
|
|
161
166
|
top: 0;
|
|
162
167
|
height: 188px;
|
|
@@ -183,7 +188,6 @@
|
|
|
183
188
|
padding-bottom: 0.5rem;
|
|
184
189
|
border-bottom: 2px solid $black;
|
|
185
190
|
border-left: none;
|
|
186
|
-
margin-left: 12.6rem;
|
|
187
191
|
|
|
188
192
|
@media only screen and (max-width: $tablet-breakpoint) {
|
|
189
193
|
padding-top: 2rem;
|
|
@@ -238,7 +242,6 @@
|
|
|
238
242
|
.tools-wrapper {
|
|
239
243
|
display: flex;
|
|
240
244
|
flex-direction: row-reverse;
|
|
241
|
-
justify-content: space-between;
|
|
242
245
|
padding-top: 16px;
|
|
243
246
|
|
|
244
247
|
.intranet-flag {
|
|
@@ -272,6 +275,7 @@
|
|
|
272
275
|
}
|
|
273
276
|
|
|
274
277
|
.language-selector a {
|
|
278
|
+
color: $black;
|
|
275
279
|
text-transform: uppercase;
|
|
276
280
|
}
|
|
277
281
|
|
|
@@ -370,7 +374,7 @@
|
|
|
370
374
|
flex: 3.5 1 0;
|
|
371
375
|
align-self: center;
|
|
372
376
|
justify-content: center;
|
|
373
|
-
margin-bottom:
|
|
377
|
+
margin-bottom: 11px;
|
|
374
378
|
|
|
375
379
|
@media only screen and (max-width: $largest-mobile-screen) {
|
|
376
380
|
display: none;
|
|
@@ -410,6 +414,18 @@
|
|
|
410
414
|
}
|
|
411
415
|
}
|
|
412
416
|
}
|
|
417
|
+
.desktop-menu {
|
|
418
|
+
.item {
|
|
419
|
+
padding-top: 15px;
|
|
420
|
+
&:hover::before,
|
|
421
|
+
&.active::before {
|
|
422
|
+
bottom: -20px;
|
|
423
|
+
}
|
|
424
|
+
}
|
|
425
|
+
.submenu-wrapper {
|
|
426
|
+
margin-top: 11px;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
413
429
|
}
|
|
414
430
|
|
|
415
431
|
.complementary-logo {
|
|
@@ -418,6 +434,10 @@
|
|
|
418
434
|
flex: 1 1 auto;
|
|
419
435
|
flex-direction: row-reverse;
|
|
420
436
|
|
|
437
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
|
438
|
+
display: none;
|
|
439
|
+
}
|
|
440
|
+
|
|
421
441
|
@media only screen and (max-width: $computer-breakpoint) {
|
|
422
442
|
flex: 0 1 55px;
|
|
423
443
|
}
|
|
@@ -587,7 +607,7 @@ body.has-toolbar.has-sidebar {
|
|
|
587
607
|
}
|
|
588
608
|
}
|
|
589
609
|
|
|
590
|
-
& > li:first-child >
|
|
610
|
+
& > li:first-child > .item {
|
|
591
611
|
margin-left: 0;
|
|
592
612
|
}
|
|
593
613
|
|