@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/_layout.scss
CHANGED
|
@@ -54,6 +54,12 @@
|
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
+
@mixin adjustEditContainerFullWidth() {
|
|
58
|
+
max-width: calc(100% - 2 * $spacing-medium);
|
|
59
|
+
margin-right: auto;
|
|
60
|
+
margin-left: auto;
|
|
61
|
+
}
|
|
62
|
+
|
|
57
63
|
// Container adjustments for dealing correctly with absolute positioned elements
|
|
58
64
|
@mixin container-preference-order($zindex) {
|
|
59
65
|
position: relative;
|
|
@@ -146,32 +152,40 @@ footer {
|
|
|
146
152
|
@include default-container-width();
|
|
147
153
|
@include adjustMarginsToContainer($default-container-width);
|
|
148
154
|
}
|
|
149
|
-
// External link Styling
|
|
155
|
+
// External & Mail link Styling
|
|
150
156
|
|
|
151
|
-
// Slate Style External Links
|
|
157
|
+
// Slate Style External & Mail Links
|
|
152
158
|
.content-area .ui.container,
|
|
153
159
|
.content-area .q.container,
|
|
154
160
|
.content-area .a.container {
|
|
155
|
-
a.external:after
|
|
156
|
-
a.external:after {
|
|
161
|
+
a.external:not(.card-primary-link):after {
|
|
157
162
|
@include external-link-icon();
|
|
158
163
|
margin-top: -25px;
|
|
159
164
|
margin-left: 3px;
|
|
160
165
|
}
|
|
166
|
+
p a[href^='mailto:']:after {
|
|
167
|
+
@include mail-link-icon();
|
|
168
|
+
margin-top: -25px;
|
|
169
|
+
margin-left: 3px;
|
|
170
|
+
}
|
|
161
171
|
}
|
|
162
172
|
.content-area #page-edit .ui.container,
|
|
163
173
|
.content-area .q.container,
|
|
164
174
|
.content-area .a.container {
|
|
165
|
-
a.external:after
|
|
166
|
-
a.external:after {
|
|
175
|
+
a.external:not(.card-primary-link):after {
|
|
167
176
|
@include external-link-icon();
|
|
168
177
|
margin-top: -25px;
|
|
169
178
|
margin-left: 3px;
|
|
170
179
|
}
|
|
180
|
+
p a[href^='mailto:']:after {
|
|
181
|
+
@include mail-link-icon();
|
|
182
|
+
margin-top: -25px;
|
|
183
|
+
margin-left: 3px;
|
|
184
|
+
}
|
|
171
185
|
}
|
|
172
186
|
|
|
173
187
|
/*
|
|
174
|
-
External link removal for all the blocks.
|
|
188
|
+
External & Mail link removal for all the blocks.
|
|
175
189
|
*/
|
|
176
190
|
.content-area #page-edit .ui.container,
|
|
177
191
|
.content-area .q.container,
|
|
@@ -180,8 +194,10 @@ External link removal for all the blocks.
|
|
|
180
194
|
.block.listing,
|
|
181
195
|
.block.image,
|
|
182
196
|
.block.teaser {
|
|
183
|
-
a.external:after
|
|
184
|
-
|
|
197
|
+
a.external:not(.card-primary-link):after {
|
|
198
|
+
display: none;
|
|
199
|
+
}
|
|
200
|
+
p a[href^='mailto:']:after {
|
|
185
201
|
display: none;
|
|
186
202
|
}
|
|
187
203
|
}
|
|
@@ -200,16 +216,6 @@ External link removal for all the blocks.
|
|
|
200
216
|
& > p,
|
|
201
217
|
& > span,
|
|
202
218
|
& > blockquote,
|
|
203
|
-
& > .block.image.align.left.medium,
|
|
204
|
-
& > .block.image.align.left.small,
|
|
205
|
-
& > .block.image.align.right.medium,
|
|
206
|
-
& > .block.video.align.left,
|
|
207
|
-
& > .block.video.align.right,
|
|
208
|
-
& > .block.maps.align.left,
|
|
209
|
-
& > .block.maps.align.right,
|
|
210
|
-
& > .block.image.align.right.small,
|
|
211
|
-
& > .block.video.align.center .video-inner,
|
|
212
|
-
& > .block.maps.align.center .maps-inner,
|
|
213
219
|
.download-event,
|
|
214
220
|
.block.separator.has--align--left .line,
|
|
215
221
|
.block.separator.has--align--center .line,
|
|
@@ -222,16 +228,6 @@ External link removal for all the blocks.
|
|
|
222
228
|
}
|
|
223
229
|
|
|
224
230
|
& > h1.documentFirstHeading,
|
|
225
|
-
& > .block.image.align.left,
|
|
226
|
-
& > .block.image.align.right,
|
|
227
|
-
& > .block.image.align.center,
|
|
228
|
-
& > .block.image.align.wide figure,
|
|
229
|
-
& > .block.video.align.left,
|
|
230
|
-
& > .block.video.align.right,
|
|
231
|
-
& > .block.maps.align.left,
|
|
232
|
-
& > .block.maps.align.right,
|
|
233
|
-
& > .block.video.align.wide .video-inner,
|
|
234
|
-
& > .block.maps.align.wide .maps-inner,
|
|
235
231
|
& > .block.__button,
|
|
236
232
|
& > .block.eventMetadata .details-container,
|
|
237
233
|
& > .block.listing .listing-item,
|
|
@@ -241,36 +237,22 @@ External link removal for all the blocks.
|
|
|
241
237
|
& > .block.search.grid,
|
|
242
238
|
& > .block.rssBlock,
|
|
243
239
|
& > .block.search .searchBlock-container,
|
|
244
|
-
|
|
240
|
+
& > .block.eventsearch .search-block-event,
|
|
241
|
+
& > .block h2.block-title,
|
|
245
242
|
& > .block h2.headline,
|
|
246
243
|
& > .block.heading .heading-wrapper,
|
|
247
|
-
& > .block.teaser
|
|
248
|
-
& > .block.teaser .card-inner, // deprecate when category is in place
|
|
244
|
+
& > .block.teaser,
|
|
249
245
|
& > .block.highlight .teaser-description-title,
|
|
250
246
|
& > table,
|
|
251
247
|
& > .table-of-contents,
|
|
252
248
|
& > .accordion-block,
|
|
253
|
-
& > .slate blockquote
|
|
249
|
+
& > .slate blockquote,
|
|
250
|
+
& > .block.banner.has--block-width--layout .banner-inner-container .text {
|
|
254
251
|
@include default-container-width();
|
|
255
252
|
@include adjustMarginsToContainer($default-container-width);
|
|
256
253
|
}
|
|
257
254
|
|
|
258
|
-
& > .block.teaser,
|
|
259
|
-
& > .block.image.align.full,
|
|
260
|
-
& > .block.video.align.full,
|
|
261
|
-
& > .block.maps.align.full {
|
|
262
|
-
@include layout-container-width();
|
|
263
|
-
}
|
|
264
|
-
|
|
265
255
|
/* Styling align left and right in mobile view */
|
|
266
|
-
.block.video.align.right .video-inner,
|
|
267
|
-
.block.video.align.left .video-inner,
|
|
268
|
-
.block.maps.align.right iframe,
|
|
269
|
-
.block.maps.align.left iframe {
|
|
270
|
-
@container (max-width: #{$largest-mobile-screen}) {
|
|
271
|
-
width: 100%;
|
|
272
|
-
}
|
|
273
|
-
}
|
|
274
256
|
|
|
275
257
|
& > h1.documentFirstHeading {
|
|
276
258
|
@include adjustMarginsToContainer($default-container-width);
|
|
@@ -280,6 +262,13 @@ External link removal for all the blocks.
|
|
|
280
262
|
// This is the default spacing in between same-color blocks
|
|
281
263
|
margin-bottom: $block-vertical-space;
|
|
282
264
|
|
|
265
|
+
// Listing followed by another listing (same bg) without headline: 40px gap
|
|
266
|
+
&.listing.next--has--same--backgroundColor.next--is--same--block-type:has(
|
|
267
|
+
+ .block.listing:not(.has--headline)
|
|
268
|
+
) {
|
|
269
|
+
margin-bottom: $spacing-medium;
|
|
270
|
+
}
|
|
271
|
+
|
|
283
272
|
// Default side margins on smaller screens
|
|
284
273
|
&.has--block-width--narrow {
|
|
285
274
|
@include adjustMarginsToContainer($narrow-container-width);
|
|
@@ -295,7 +284,7 @@ External link removal for all the blocks.
|
|
|
295
284
|
@include adjustMarginsToContainer($default-container-width);
|
|
296
285
|
}
|
|
297
286
|
|
|
298
|
-
|
|
287
|
+
&:not(.banner).has--block-width--layout {
|
|
299
288
|
@include adjustMarginsToContainer($layout-container-width);
|
|
300
289
|
}
|
|
301
290
|
}
|
|
@@ -314,6 +303,9 @@ External link removal for all the blocks.
|
|
|
314
303
|
[class*='block-editor-']:not(.contained) {
|
|
315
304
|
@include layout-container-width();
|
|
316
305
|
@include adjustMarginsToEditContainer($layout-container-width);
|
|
306
|
+
&.has--block-width--full {
|
|
307
|
+
@include adjustEditContainerFullWidth();
|
|
308
|
+
}
|
|
317
309
|
}
|
|
318
310
|
}
|
|
319
311
|
|
|
@@ -321,14 +313,6 @@ External link removal for all the blocks.
|
|
|
321
313
|
#page-add,
|
|
322
314
|
#page-edit {
|
|
323
315
|
.block.slate .slate-editor,
|
|
324
|
-
.block-editor-image.left.medium,
|
|
325
|
-
.block-editor-image.left.small,
|
|
326
|
-
.block-editor-image.right.medium,
|
|
327
|
-
.block-editor-image.right.small,
|
|
328
|
-
.block-editor-video.align.left,
|
|
329
|
-
.block-editor-video.align.right,
|
|
330
|
-
.block-editor-video.center .video-inner,
|
|
331
|
-
.block.maps.align.center .maps-inner,
|
|
332
316
|
.block-editor-separator.has--align--left
|
|
333
317
|
.block.separator.inner
|
|
334
318
|
.block.separator
|
|
@@ -347,17 +331,6 @@ External link removal for all the blocks.
|
|
|
347
331
|
}
|
|
348
332
|
|
|
349
333
|
.block-editor-title h1,
|
|
350
|
-
.block-editor-image.left.large,
|
|
351
|
-
.block-editor-image.right.large,
|
|
352
|
-
.block-editor-image.wide figure, // Wide images are always large
|
|
353
|
-
.block-editor-image.wide.large figure,
|
|
354
|
-
.block-editor-video.align.left,
|
|
355
|
-
.block-editor-video.align.right,
|
|
356
|
-
.block.maps.align.left,
|
|
357
|
-
.block.maps.align.right,
|
|
358
|
-
.block.video.align.wide .video-inner,
|
|
359
|
-
.block.maps.align.wide .maps-inner,
|
|
360
|
-
|
|
361
334
|
.block.introduction .slate-editor,
|
|
362
335
|
.block.heading .heading-wrapper,
|
|
363
336
|
.block-editor-listing .items,
|
|
@@ -378,21 +351,12 @@ External link removal for all the blocks.
|
|
|
378
351
|
}
|
|
379
352
|
|
|
380
353
|
.block-editor-slate,
|
|
381
|
-
.block-editor-image,
|
|
382
354
|
.block-editor-slider,
|
|
383
355
|
.block-editor-teaser,
|
|
384
356
|
.block-editor-separator.has--align--left {
|
|
385
357
|
@include layout-container-width();
|
|
386
358
|
@include adjustMarginsToEditContainer($layout-container-width);
|
|
387
359
|
}
|
|
388
|
-
|
|
389
|
-
/* Styling align left and right in mobile view */
|
|
390
|
-
.block.video.align.right .video-inner,
|
|
391
|
-
.block.video.align.left .video-inner {
|
|
392
|
-
@container (max-width: #{$largest-mobile-screen}) {
|
|
393
|
-
width: 100%;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
360
|
}
|
|
397
361
|
|
|
398
362
|
// Grids adjustments (has to be paired with collections/grid.variables)
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
.mobile-sticky-menu {
|
|
2
|
+
position: fixed;
|
|
3
|
+
z-index: 100;
|
|
4
|
+
bottom: 0;
|
|
5
|
+
display: flex;
|
|
6
|
+
display: none;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100px;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
background-color: var(--sticky-menu-color, #555);
|
|
11
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
|
12
|
+
display: block;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.embla {
|
|
16
|
+
position: relative;
|
|
17
|
+
--slide-size: 33%;
|
|
18
|
+
|
|
19
|
+
.embla__button {
|
|
20
|
+
display: flex;
|
|
21
|
+
height: 100px;
|
|
22
|
+
align-items: center;
|
|
23
|
+
padding: 0px;
|
|
24
|
+
border: none;
|
|
25
|
+
background-color: transparent;
|
|
26
|
+
color: var(--sticky-menu-foreground-color, #fff);
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
font-size: 30px;
|
|
29
|
+
}
|
|
30
|
+
.embla__button--prev {
|
|
31
|
+
position: absolute;
|
|
32
|
+
top: 0px;
|
|
33
|
+
left: -5px;
|
|
34
|
+
}
|
|
35
|
+
.embla__button--next {
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 0px;
|
|
38
|
+
right: -5px;
|
|
39
|
+
}
|
|
40
|
+
.embla__viewport {
|
|
41
|
+
position: relative;
|
|
42
|
+
display: inline-block;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
width: 85%;
|
|
45
|
+
|
|
46
|
+
.embla__container {
|
|
47
|
+
display: flex;
|
|
48
|
+
height: 100px;
|
|
49
|
+
touch-action: pan-y pinch-zoom;
|
|
50
|
+
touch-action: pan-x;
|
|
51
|
+
|
|
52
|
+
.embla__slide {
|
|
53
|
+
min-width: 0;
|
|
54
|
+
flex: 0 0 var(--slide-size);
|
|
55
|
+
padding: 0px;
|
|
56
|
+
margin: 0px;
|
|
57
|
+
transform: translate3d(0, 0, 0);
|
|
58
|
+
|
|
59
|
+
.image-wrapper {
|
|
60
|
+
display: block;
|
|
61
|
+
width: 65px;
|
|
62
|
+
height: 65px;
|
|
63
|
+
img {
|
|
64
|
+
display: block;
|
|
65
|
+
width: 100%;
|
|
66
|
+
height: 100%;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
li {
|
|
71
|
+
list-style: none;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
span {
|
|
75
|
+
display: block;
|
|
76
|
+
color: var(--sticky-menu-foreground-color, #fff);
|
|
77
|
+
font-size: 10px;
|
|
78
|
+
font-weight: 700;
|
|
79
|
+
line-height: 12px;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
a {
|
|
83
|
+
display: flex;
|
|
84
|
+
flex-flow: column;
|
|
85
|
+
align-items: center;
|
|
86
|
+
padding: 5px 10px 15px 10px;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
// Styles for kitconcept.solr search page
|
|
2
|
+
.section-search #page-search {
|
|
3
|
+
& > .ui.container {
|
|
4
|
+
max-width: var(--default-container-width) !important;
|
|
5
|
+
padding: 0 !important;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
#page-search {
|
|
9
|
+
.total-bar {
|
|
10
|
+
margin-bottom: 75px;
|
|
11
|
+
h2 {
|
|
12
|
+
margin-top: $spacing-medium;
|
|
13
|
+
font-size: 48px;
|
|
14
|
+
font-weight: 700 !important;
|
|
15
|
+
line-height: 60px; /* 125% */
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
.searchTabs.ui.top.attached.tabular.menu {
|
|
19
|
+
--solr-search-facet-tab-inactive-color: var(--accent-color);
|
|
20
|
+
|
|
21
|
+
border-radius: 0;
|
|
22
|
+
.searchTab {
|
|
23
|
+
padding: $spacing-small 10px;
|
|
24
|
+
border: 1px solid var(--accent-color) !important;
|
|
25
|
+
border-radius: 0 !important;
|
|
26
|
+
margin-bottom: 0;
|
|
27
|
+
cursor: pointer;
|
|
28
|
+
span {
|
|
29
|
+
font-size: 10px;
|
|
30
|
+
font-weight: 700;
|
|
31
|
+
line-height: 12px; /* 120% */
|
|
32
|
+
text-transform: capitalize;
|
|
33
|
+
|
|
34
|
+
.searchCounter.circular.label {
|
|
35
|
+
min-width: 22px;
|
|
36
|
+
background: color-mix(
|
|
37
|
+
in srgb,
|
|
38
|
+
var(--accent-color) 50%,
|
|
39
|
+
var(--accent-foreground-color)
|
|
40
|
+
);
|
|
41
|
+
color: var(--primary-color, #fff);
|
|
42
|
+
font-weight: 400;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&.active {
|
|
47
|
+
.searchCounter.circular.label {
|
|
48
|
+
background-color: var(--primary-foreground-color) !important;
|
|
49
|
+
color: var(--primary-color, #fff) !important;
|
|
50
|
+
}
|
|
51
|
+
cursor: auto;
|
|
52
|
+
}
|
|
53
|
+
&:not(.active) {
|
|
54
|
+
color: var(--accent-foreground-color);
|
|
55
|
+
|
|
56
|
+
svg {
|
|
57
|
+
color: var(--accent-foreground-color);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
&:hover {
|
|
61
|
+
color: color-mix(
|
|
62
|
+
in srgb,
|
|
63
|
+
var(--accent-color) 20%,
|
|
64
|
+
var(--accent-foreground-color)
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
svg {
|
|
68
|
+
color: color-mix(
|
|
69
|
+
in srgb,
|
|
70
|
+
var(--accent-color) 20%,
|
|
71
|
+
var(--accent-foreground-color)
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
svg {
|
|
77
|
+
display: inline;
|
|
78
|
+
margin-right: 5px;
|
|
79
|
+
vertical-align: bottom;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
#content {
|
|
84
|
+
#content-core {
|
|
85
|
+
max-width: var(--default-container-width);
|
|
86
|
+
&.layout-grid {
|
|
87
|
+
// Person results
|
|
88
|
+
.tileItem.personResultItem {
|
|
89
|
+
.itemWrapper {
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
.itemImageWrapper {
|
|
92
|
+
width: 125px;
|
|
93
|
+
height: 125px;
|
|
94
|
+
margin-bottom: $spacing-small;
|
|
95
|
+
svg:has(+ img.profileImage) {
|
|
96
|
+
display: none;
|
|
97
|
+
}
|
|
98
|
+
img.profileImage,
|
|
99
|
+
svg.icon {
|
|
100
|
+
width: 125px !important;
|
|
101
|
+
height: 125px !important;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
.itemContent {
|
|
105
|
+
max-width: 90%;
|
|
106
|
+
padding-right: $spacing-medium;
|
|
107
|
+
.tileHeadline {
|
|
108
|
+
margin: 10px 0 15px 0;
|
|
109
|
+
font-size: 18px;
|
|
110
|
+
line-height: 24px; /* 133.333% */
|
|
111
|
+
}
|
|
112
|
+
.jobTitle {
|
|
113
|
+
margin-bottom: 15px;
|
|
114
|
+
color: var(--primary-foreground-color);
|
|
115
|
+
font-size: 18px;
|
|
116
|
+
line-height: 24px; /* 133.333% */
|
|
117
|
+
}
|
|
118
|
+
.tileFooter {
|
|
119
|
+
* {
|
|
120
|
+
vertical-align: unset;
|
|
121
|
+
}
|
|
122
|
+
.itemField {
|
|
123
|
+
display: block;
|
|
124
|
+
padding: 0;
|
|
125
|
+
border: none;
|
|
126
|
+
margin-bottom: 5px;
|
|
127
|
+
|
|
128
|
+
font-size: 18px;
|
|
129
|
+
|
|
130
|
+
line-height: 24px; /* 133.333% */
|
|
131
|
+
svg.icon {
|
|
132
|
+
width: 20px !important;
|
|
133
|
+
margin-right: 10px;
|
|
134
|
+
vertical-align: text-top;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
&.layout-list {
|
|
143
|
+
// Person results
|
|
144
|
+
.tileItem.personResultItem {
|
|
145
|
+
.tileHeadline {
|
|
146
|
+
margin-top: 10px;
|
|
147
|
+
font-size: 18px;
|
|
148
|
+
line-height: 24px;
|
|
149
|
+
}
|
|
150
|
+
.jobTitle {
|
|
151
|
+
margin: 15px 0;
|
|
152
|
+
margin-bottom: 15px;
|
|
153
|
+
color: var(--primary-foreground-color);
|
|
154
|
+
font-size: 18px;
|
|
155
|
+
line-height: 24px; /* 133.333% */
|
|
156
|
+
}
|
|
157
|
+
.tileFooter {
|
|
158
|
+
svg.icon {
|
|
159
|
+
width: 20px !important;
|
|
160
|
+
margin-right: 10px;
|
|
161
|
+
vertical-align: text-top;
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.pagination.menu {
|
|
168
|
+
border-radius: 0;
|
|
169
|
+
background: var(--accent-color);
|
|
170
|
+
--link-foreground-color: var(--accent-foreground-color);
|
|
171
|
+
|
|
172
|
+
a.item {
|
|
173
|
+
color: var(--accent-foreground-color);
|
|
174
|
+
|
|
175
|
+
&.active {
|
|
176
|
+
background: var(--accent-foreground-color) !important;
|
|
177
|
+
color: var(--accent-color) !important;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
&.disabled {
|
|
181
|
+
opacity: 0.8;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.searchConditions.ui {
|
|
188
|
+
width: 265px;
|
|
189
|
+
margin-right: $spacing-medium;
|
|
190
|
+
.searchConditionsFieldHeader {
|
|
191
|
+
font-size: 18px;
|
|
192
|
+
line-height: 24px; /* 133.333% */
|
|
193
|
+
.searchConditionsFieldSearch {
|
|
194
|
+
margin-top: $spacing-small;
|
|
195
|
+
input {
|
|
196
|
+
height: 60px;
|
|
197
|
+
padding-top: 10px;
|
|
198
|
+
padding-bottom: 10px;
|
|
199
|
+
padding-left: 10px;
|
|
200
|
+
border: none;
|
|
201
|
+
border-radius: 0;
|
|
202
|
+
font-size: 18px;
|
|
203
|
+
line-height: 24px; /* 133.333% */
|
|
204
|
+
}
|
|
205
|
+
i.search.icon {
|
|
206
|
+
opacity: 1;
|
|
207
|
+
&::before {
|
|
208
|
+
transform: scale(2) scaleX(-1);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
// Basic mobile styles
|
|
218
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
|
219
|
+
#page-search {
|
|
220
|
+
#content {
|
|
221
|
+
.searchContentWrapper {
|
|
222
|
+
flex-direction: column;
|
|
223
|
+
}
|
|
224
|
+
.searchConditions.ui {
|
|
225
|
+
width: 100%;
|
|
226
|
+
margin-right: 0;
|
|
227
|
+
}
|
|
228
|
+
#content-core {
|
|
229
|
+
.search-items {
|
|
230
|
+
grid-template-columns: 100%;
|
|
231
|
+
}
|
|
232
|
+
&.layout-list,
|
|
233
|
+
&.layout-grid {
|
|
234
|
+
.tileItem {
|
|
235
|
+
.itemContent {
|
|
236
|
+
min-width: 0;
|
|
237
|
+
}
|
|
238
|
+
.tileFooter {
|
|
239
|
+
.itemField {
|
|
240
|
+
display: block;
|
|
241
|
+
border: none;
|
|
242
|
+
overflow-wrap: break-word;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
}
|
|
@@ -27,13 +27,20 @@ li::marker {
|
|
|
27
27
|
line-height: 32px;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
-
.
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
header .navigation .item {
|
|
31
|
+
font-family: $page-font;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.public-ui,
|
|
35
|
+
.cms-ui.view-editview {
|
|
36
|
+
.content-area,
|
|
37
|
+
.breadcrumbs {
|
|
38
|
+
a:not(.card-primary-link, .label, .item, .link-container) {
|
|
39
|
+
color: var(--link-foreground-color, var(--theme-foreground-color));
|
|
40
|
+
font: inherit;
|
|
41
|
+
line-height: inherit;
|
|
42
|
+
text-decoration: underline;
|
|
43
|
+
}
|
|
37
44
|
}
|
|
38
45
|
}
|
|
39
46
|
|
|
@@ -91,7 +98,8 @@ h1.documentFirstHeading:last-child {
|
|
|
91
98
|
}
|
|
92
99
|
|
|
93
100
|
// Block Title
|
|
94
|
-
.block h2.headline
|
|
101
|
+
.block h2.headline,
|
|
102
|
+
.block h2.block-title {
|
|
95
103
|
@include block-title();
|
|
96
104
|
@include vertical-space-block-title();
|
|
97
105
|
}
|
|
@@ -171,3 +179,11 @@ h4 {
|
|
|
171
179
|
user-select: none;
|
|
172
180
|
}
|
|
173
181
|
}
|
|
182
|
+
|
|
183
|
+
// Control panel view
|
|
184
|
+
body.view-controlpanelview {
|
|
185
|
+
h3.ui.icon.header {
|
|
186
|
+
@include add(size, s);
|
|
187
|
+
@include add(height, m);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
@@ -126,7 +126,6 @@ $secondary-grey: #ececec !default;
|
|
|
126
126
|
|
|
127
127
|
// Header
|
|
128
128
|
--header-background: var(--primary-color);
|
|
129
|
-
--header-foreground: var(--primary-foreground-color);
|
|
130
129
|
|
|
131
130
|
//Footer
|
|
132
131
|
--footer-background: var(--secondary-color);
|
|
@@ -146,8 +145,8 @@ $secondary-grey: #ececec !default;
|
|
|
146
145
|
|
|
147
146
|
// Link color
|
|
148
147
|
--link-color: #0070a2;
|
|
149
|
-
//
|
|
150
|
-
--link-foreground-color: var(--link-color);
|
|
148
|
+
// Uncomment following line to turn <a> links into a different color than the theme foreground color
|
|
149
|
+
// --link-foreground-color: var(--link-color);
|
|
151
150
|
|
|
152
151
|
// It is possible to set an aspect ratio for all images, using the folowing CSS custom property:
|
|
153
152
|
// --image-aspect-ratio: calc(16 / 9);
|
|
@@ -433,9 +432,46 @@ $line-heights: (
|
|
|
433
432
|
display: inline-block;
|
|
434
433
|
width: 11px;
|
|
435
434
|
height: 11px;
|
|
436
|
-
background-color: var(
|
|
435
|
+
background-color: var(
|
|
436
|
+
--theme-foreground-color,
|
|
437
|
+
var(--link-foreground-color, #0070a2)
|
|
438
|
+
);
|
|
437
439
|
content: '';
|
|
438
440
|
mask: 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' viewBox='0 0 512 512'%3E%3Cpath 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/svg%3E")
|
|
439
441
|
no-repeat center;
|
|
440
442
|
white-space: nowrap;
|
|
441
443
|
}
|
|
444
|
+
@mixin mail-link-icon() {
|
|
445
|
+
display: inline-block;
|
|
446
|
+
width: 11px;
|
|
447
|
+
height: 11px;
|
|
448
|
+
background-color: var(
|
|
449
|
+
--theme-foreground-color,
|
|
450
|
+
var(--link-foreground-color, #0070a2)
|
|
451
|
+
);
|
|
452
|
+
content: '';
|
|
453
|
+
mask: url("data:image/svg+xml,%3Csvg aria-hidden='true' focusable='false' data-prefix='fas' data-icon='envelope' class='svg-inline--fa fa-envelope fa-w-16' role='img' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='currentColor' d='M502.3 190.8c3.9-3.1 9.7-.2 9.7 4.7V400c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V195.6c0-5 5.7-7.8 9.7-4.7 22.4 17.4 52.1 39.5 154.1 113.6 21.1 15.4 56.7 47.8 92.2 47.6 35.7.3 72-32.8 92.3-47.6 102-74.1 131.6-96.3 154-113.7zM256 320c23.2.4 56.6-29.2 73.4-41.4 132.7-96.3 142.8-104.7 173.4-128.7 5.8-4.5 9.2-11.5 9.2-18.9v-19c0-26.5-21.5-48-48-48H48C21.5 64 0 85.5 0 112v19c0 7.4 3.4 14.3 9.2 18.9 30.6 23.9 40.7 32.4 173.4 128.7 16.8 12.2 50.2 41.8 73.4 41.4z'%3E%3C/path%3E%3C/svg%3E")
|
|
454
|
+
no-repeat center;
|
|
455
|
+
white-space: nowrap;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
@mixin floated-figure($align) {
|
|
459
|
+
max-width: calc(var(--default-container-width) / 2 - 10px);
|
|
460
|
+
height: auto;
|
|
461
|
+
margin-bottom: $spacing-small;
|
|
462
|
+
|
|
463
|
+
@if $align == 'right' {
|
|
464
|
+
margin-left: $spacing-small;
|
|
465
|
+
float: right;
|
|
466
|
+
} @else {
|
|
467
|
+
margin-right: $spacing-small;
|
|
468
|
+
float: left;
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
@media only screen and (max-width: #{$largest-mobile-screen}) {
|
|
472
|
+
width: 100%;
|
|
473
|
+
margin-right: auto;
|
|
474
|
+
margin-left: auto;
|
|
475
|
+
float: none;
|
|
476
|
+
}
|
|
477
|
+
}
|