@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
|
@@ -4,145 +4,85 @@ figure {
|
|
|
4
4
|
margin: 0;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.block.image
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
.block.image {
|
|
7
|
+
.block.image,
|
|
8
|
+
.block-editor-image {
|
|
9
|
+
--align-left: left;
|
|
10
|
+
--align-center: none;
|
|
11
|
+
--align-right: right;
|
|
13
12
|
margin: 0;
|
|
13
|
+
margin-top: $spacing-large;
|
|
14
14
|
|
|
15
|
-
&.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
margin-top: $spacing-large;
|
|
21
|
-
margin-bottom: 0 !important;
|
|
15
|
+
&.has--block-width--full {
|
|
16
|
+
figcaption {
|
|
17
|
+
padding-right: 25px;
|
|
18
|
+
padding-left: 25px;
|
|
19
|
+
}
|
|
22
20
|
}
|
|
23
21
|
|
|
24
22
|
&.has--block-width--default,
|
|
23
|
+
&.has--block-width--layout,
|
|
25
24
|
&.has--block-width--narrow,
|
|
26
25
|
&.has--block-width--full {
|
|
27
|
-
figure
|
|
26
|
+
figure {
|
|
28
27
|
margin-top: $spacing-large;
|
|
29
28
|
margin-bottom: $spacing-large;
|
|
30
29
|
}
|
|
31
30
|
}
|
|
32
31
|
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
height: auto;
|
|
37
|
-
aspect-ratio: var(--image-aspect-ratio, auto);
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&.right {
|
|
41
|
-
margin-bottom: 20px;
|
|
42
|
-
margin-left: 20px;
|
|
43
|
-
float: right;
|
|
44
|
-
|
|
45
|
-
@container (max-width: #{$largest-mobile-screen}) {
|
|
46
|
-
margin-bottom: $spacing-large;
|
|
47
|
-
}
|
|
32
|
+
&.has--block-alignment--left,
|
|
33
|
+
&.has--block-alignment--right {
|
|
34
|
+
margin-bottom: 0 !important;
|
|
48
35
|
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
margin-bottom: 0px;
|
|
52
|
-
margin-left: 0 !important;
|
|
53
|
-
float: none;
|
|
54
|
-
}
|
|
36
|
+
&:has(+ h2) {
|
|
37
|
+
margin-top: $spacing-xlarge;
|
|
55
38
|
}
|
|
56
39
|
|
|
57
|
-
|
|
58
|
-
margin-
|
|
59
|
-
margin-bottom:
|
|
60
|
-
float: left;
|
|
61
|
-
|
|
40
|
+
figure {
|
|
41
|
+
margin-top: 0 !important;
|
|
42
|
+
margin-bottom: $spacing-small;
|
|
62
43
|
@container (max-width: #{$largest-mobile-screen}) {
|
|
44
|
+
max-width: unset !important;
|
|
63
45
|
margin-bottom: $spacing-large;
|
|
64
46
|
}
|
|
65
47
|
|
|
66
48
|
img {
|
|
67
|
-
margin
|
|
68
|
-
margin-bottom: 0px;
|
|
49
|
+
margin: 0 !important;
|
|
69
50
|
float: none;
|
|
70
51
|
}
|
|
71
52
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
&.large {
|
|
76
|
-
width: 50%;
|
|
77
|
-
height: auto;
|
|
78
|
-
|
|
79
|
-
@media only screen and (max-width: 768px) {
|
|
80
|
-
width: 100%;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&.medium {
|
|
85
|
-
width: 50%;
|
|
86
|
-
height: auto;
|
|
87
|
-
@media only screen and (max-width: 768px) {
|
|
88
|
-
width: 100%;
|
|
89
|
-
}
|
|
53
|
+
&.small {
|
|
54
|
+
figure {
|
|
55
|
+
max-width: 220px;
|
|
90
56
|
}
|
|
57
|
+
}
|
|
91
58
|
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
@media only screen and (max-width: 768px) {
|
|
96
|
-
width: 100%;
|
|
97
|
-
}
|
|
59
|
+
&.medium {
|
|
60
|
+
figure {
|
|
61
|
+
max-width: 300px;
|
|
98
62
|
}
|
|
99
63
|
}
|
|
64
|
+
}
|
|
100
65
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
margin-bottom: $spacing-large;
|
|
66
|
+
&.has--block-alignment--left {
|
|
67
|
+
figure {
|
|
68
|
+
@include floated-figure('left');
|
|
105
69
|
}
|
|
70
|
+
}
|
|
106
71
|
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
margin-bottom: $spacing-large;
|
|
111
|
-
margin-left: auto !important;
|
|
112
|
-
object-fit: cover;
|
|
113
|
-
|
|
114
|
-
img {
|
|
115
|
-
height: auto;
|
|
116
|
-
margin-right: initial;
|
|
117
|
-
margin-left: initial;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
&.large,
|
|
121
|
-
&.medium,
|
|
122
|
-
&.small {
|
|
123
|
-
width: 100% !important;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&.large {
|
|
127
|
-
figcaption {
|
|
128
|
-
text-align: start;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&.medium {
|
|
133
|
-
figcaption {
|
|
134
|
-
width: 100%;
|
|
135
|
-
margin-right: auto;
|
|
136
|
-
margin-left: auto;
|
|
137
|
-
text-align: start;
|
|
138
|
-
}
|
|
139
|
-
}
|
|
72
|
+
&.has--block-alignment--right {
|
|
73
|
+
figure {
|
|
74
|
+
@include floated-figure('right');
|
|
140
75
|
}
|
|
141
76
|
}
|
|
142
77
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
78
|
+
figure {
|
|
79
|
+
width: 100%;
|
|
80
|
+
img {
|
|
81
|
+
width: 100% !important;
|
|
82
|
+
max-width: 100% !important;
|
|
83
|
+
height: auto;
|
|
84
|
+
aspect-ratio: var(--image-aspect-ratio, auto);
|
|
85
|
+
}
|
|
146
86
|
}
|
|
147
87
|
}
|
|
148
88
|
|
|
@@ -181,72 +121,36 @@ figcaption {
|
|
|
181
121
|
|
|
182
122
|
// video block
|
|
183
123
|
|
|
184
|
-
|
|
185
|
-
.block
|
|
186
|
-
|
|
187
|
-
.
|
|
188
|
-
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
#page-document .block.video.align.center figure,
|
|
192
|
-
.block.video.align.center figure {
|
|
193
|
-
@include default-container-width;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.block.video {
|
|
197
|
-
.figure {
|
|
198
|
-
width: 100%;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
&.full figcaption {
|
|
202
|
-
padding-right: 25px;
|
|
203
|
-
padding-left: 25px;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
&.wide,
|
|
207
|
-
&.full,
|
|
208
|
-
&.center {
|
|
209
|
-
margin-top: $spacing-large;
|
|
210
|
-
margin-bottom: $spacing-large;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
&.align.left.has--backgroundColor--grey figure,
|
|
214
|
-
&.align.right.has--backgroundColor--grey figure {
|
|
215
|
-
padding-top: 25px;
|
|
216
|
-
}
|
|
124
|
+
.block.video,
|
|
125
|
+
.block-editor-video {
|
|
126
|
+
margin-top: $spacing-large;
|
|
127
|
+
.video-inner {
|
|
128
|
+
@include variable-container-width();
|
|
217
129
|
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
margin-bottom: 0px;
|
|
130
|
+
.placeholder {
|
|
131
|
+
width: 100% !important;
|
|
132
|
+
}
|
|
222
133
|
}
|
|
223
|
-
|
|
224
|
-
&.align.left,
|
|
225
|
-
&.align.right {
|
|
226
|
-
margin-top: $spacing-large;
|
|
227
|
-
margin-bottom: 0 !important;
|
|
228
|
-
|
|
134
|
+
&.has--block-alignment--left {
|
|
229
135
|
.video-inner {
|
|
230
|
-
|
|
231
|
-
@
|
|
232
|
-
width: 100%;
|
|
233
|
-
}
|
|
234
|
-
@container (max-width: #{$largest-mobile-screen}) {
|
|
235
|
-
margin-bottom: $spacing-large !important;
|
|
236
|
-
}
|
|
136
|
+
width: 100%;
|
|
137
|
+
@include floated-figure('left');
|
|
237
138
|
}
|
|
139
|
+
}
|
|
238
140
|
|
|
239
|
-
|
|
240
|
-
|
|
141
|
+
&.has--block-alignment--right {
|
|
142
|
+
.video-inner {
|
|
143
|
+
width: 100%;
|
|
144
|
+
@include floated-figure('right');
|
|
241
145
|
}
|
|
242
146
|
}
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
margin-right: 20px !important;
|
|
147
|
+
figure {
|
|
148
|
+
width: 100%;
|
|
246
149
|
}
|
|
247
150
|
|
|
248
|
-
&.
|
|
249
|
-
|
|
151
|
+
&.has--block-width--full figcaption {
|
|
152
|
+
padding-right: 25px;
|
|
153
|
+
padding-left: 25px;
|
|
250
154
|
}
|
|
251
155
|
}
|
|
252
156
|
|
|
@@ -371,35 +275,46 @@ figcaption {
|
|
|
371
275
|
}
|
|
372
276
|
}
|
|
373
277
|
|
|
374
|
-
|
|
375
|
-
#page-
|
|
376
|
-
#page-add {
|
|
377
|
-
.block-editor-image figure.center {
|
|
378
|
-
@include variable-container-width();
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
.block-editor-image.default figure {
|
|
382
|
-
max-width: var(--default-container-width);
|
|
383
|
-
}
|
|
384
|
-
}
|
|
385
|
-
|
|
386
|
-
#page-document .blocks-group-wrapper > .block.image.align.center {
|
|
387
|
-
@include variable-container-width();
|
|
388
|
-
}
|
|
389
|
-
#page-document .blocks-group-wrapper > .block.image.align.center figure {
|
|
278
|
+
#page-document .blocks-group-wrapper > .block.image,
|
|
279
|
+
#page-document .blocks-group-wrapper > .block.video {
|
|
390
280
|
@include variable-container-width();
|
|
391
281
|
}
|
|
392
282
|
|
|
393
283
|
#page-document .blocks-group-wrapper {
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
284
|
+
// Unfortunately needed to have more specificity than the top one
|
|
285
|
+
// TODO: Remove when using layers and the BMv3
|
|
286
|
+
& > .block.image.has--block-width--default,
|
|
287
|
+
& > .block.video.has--block-width--default {
|
|
397
288
|
@include adjustMarginsToContainer($default-container-width);
|
|
398
289
|
}
|
|
399
|
-
& > .block.image.
|
|
290
|
+
& > .block.image.has--block-width--layout,
|
|
291
|
+
& > .block.video.has--block-width--layout {
|
|
400
292
|
@include adjustMarginsToContainer($layout-container-width);
|
|
401
293
|
}
|
|
402
|
-
& > .block.image.
|
|
294
|
+
& > .block.image.has--block-width--narrow,
|
|
295
|
+
& > .block.video.has--block-width--narrow {
|
|
403
296
|
@include adjustMarginsToContainer($narrow-container-width);
|
|
404
297
|
}
|
|
405
298
|
}
|
|
299
|
+
|
|
300
|
+
// Edit block overrides
|
|
301
|
+
#page-edit,
|
|
302
|
+
#page-add {
|
|
303
|
+
.block-editor-image,
|
|
304
|
+
.block-editor-video {
|
|
305
|
+
&.has--block-alignment--right,
|
|
306
|
+
&.has--block-alignment--left {
|
|
307
|
+
.block .block:not(.inner)::before {
|
|
308
|
+
z-index: 1;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
.block.inner .block .block {
|
|
312
|
+
z-index: 2;
|
|
313
|
+
@include variable-container-width();
|
|
314
|
+
|
|
315
|
+
&:before {
|
|
316
|
+
display: none;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
}
|
|
@@ -15,79 +15,73 @@
|
|
|
15
15
|
.block-editor-search,
|
|
16
16
|
.block.rssBlock,
|
|
17
17
|
.block-editor-rssBlock {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
.items {
|
|
19
|
+
padding: 0;
|
|
20
|
+
margin: 0;
|
|
21
|
+
& + .pagination-wrapper {
|
|
22
|
+
margin-top: $spacing-xlarge;
|
|
23
|
+
@container (max-width: #{$largest-mobile-screen}) {
|
|
24
|
+
margin-top: $spacing-large;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
&:not(:has(+ .pagination-wrapper)) {
|
|
28
|
+
.listing-item:last-child {
|
|
29
|
+
padding-bottom: 0;
|
|
30
|
+
border-bottom: none;
|
|
31
|
+
margin-bottom: 0;
|
|
32
|
+
|
|
33
|
+
.card-inner {
|
|
34
|
+
padding-bottom: 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
23
37
|
}
|
|
24
38
|
}
|
|
25
39
|
|
|
26
|
-
.
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
40
|
+
&.next--has--same--backgroundColor.next--is--same--block-type:not(
|
|
41
|
+
:last-child
|
|
42
|
+
),
|
|
43
|
+
&.next--is--__button {
|
|
44
|
+
.items > .listing-item:last-child {
|
|
45
|
+
border-bottom: 1px solid var(--theme-font-color, black);
|
|
46
|
+
.card-inner {
|
|
47
|
+
padding-bottom: $spacing-medium;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
&.next--is--__button {
|
|
52
|
+
margin-bottom: 0 !important;
|
|
53
|
+
.listing-item:last-child {
|
|
54
|
+
padding-bottom: $spacing-medium !important;
|
|
30
55
|
}
|
|
31
56
|
}
|
|
32
57
|
|
|
33
58
|
.listing-item {
|
|
34
|
-
padding-bottom: 40px !important;
|
|
35
59
|
border-bottom: 1px solid $black;
|
|
36
|
-
margin-bottom:
|
|
60
|
+
margin-bottom: $spacing-medium;
|
|
61
|
+
.card-summary {
|
|
62
|
+
padding: 0;
|
|
37
63
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
@include external-link-icon();
|
|
64
|
+
p:empty {
|
|
65
|
+
display: none;
|
|
41
66
|
}
|
|
42
67
|
}
|
|
43
68
|
|
|
44
|
-
&:last-child {
|
|
45
|
-
padding-bottom: 0 !important;
|
|
46
|
-
border-bottom: none !important;
|
|
47
|
-
margin-bottom: 0;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
69
|
img {
|
|
51
70
|
object-fit: cover;
|
|
52
71
|
}
|
|
53
|
-
}
|
|
54
72
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
margin-right: 20px !important;
|
|
58
|
-
margin-left: 20px !important;
|
|
73
|
+
.card-inner a {
|
|
74
|
+
display: inline;
|
|
59
75
|
}
|
|
60
|
-
}
|
|
61
76
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
@include
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
.card-summary {
|
|
71
|
-
padding-top: unset;
|
|
72
|
-
padding-bottom: unset;
|
|
73
|
-
}
|
|
74
|
-
.headline {
|
|
75
|
-
margin-bottom: 20px;
|
|
76
|
-
letter-spacing: 1px;
|
|
77
|
-
text-transform: uppercase;
|
|
78
|
-
@include headtitle1();
|
|
79
|
-
}
|
|
80
|
-
h2 {
|
|
81
|
-
margin-top: 0;
|
|
82
|
-
margin-bottom: $spacing-medium;
|
|
83
|
-
@include text-heading-h2();
|
|
84
|
-
}
|
|
85
|
-
p {
|
|
86
|
-
margin-bottom: 0;
|
|
87
|
-
@include body-text();
|
|
88
|
-
}
|
|
89
|
-
p:empty {
|
|
90
|
-
display: none;
|
|
77
|
+
.title {
|
|
78
|
+
display: block;
|
|
79
|
+
margin-top: 0;
|
|
80
|
+
margin-bottom: $spacing-medium !important;
|
|
81
|
+
@include text-heading-h2();
|
|
82
|
+
@container (max-width: #{$largest-mobile-screen}) {
|
|
83
|
+
@include text-heading-h3();
|
|
84
|
+
margin-bottom: $spacing-small;
|
|
91
85
|
}
|
|
92
86
|
}
|
|
93
87
|
}
|
|
@@ -96,44 +90,21 @@
|
|
|
96
90
|
&.summary,
|
|
97
91
|
& .summary-variation {
|
|
98
92
|
.listing-item {
|
|
99
|
-
padding-top: 0 !important;
|
|
100
|
-
|
|
101
93
|
.card {
|
|
102
|
-
width: 100%;
|
|
103
94
|
.card-inner .image-wrapper {
|
|
104
95
|
flex: 0 0 220px;
|
|
105
96
|
img {
|
|
97
|
+
width: 220px;
|
|
106
98
|
max-width: 100%;
|
|
99
|
+
height: min-content;
|
|
100
|
+
@container (max-width: #{$largest-mobile-screen}) {
|
|
101
|
+
width: 100%;
|
|
102
|
+
min-width: 335px;
|
|
103
|
+
margin-bottom: $spacing-small;
|
|
104
|
+
}
|
|
107
105
|
}
|
|
108
106
|
}
|
|
109
107
|
}
|
|
110
|
-
|
|
111
|
-
img {
|
|
112
|
-
width: 220px;
|
|
113
|
-
height: min-content;
|
|
114
|
-
aspect-ratio: var(--image-aspect-ratio, $aspect-ratio) !important;
|
|
115
|
-
@container (max-width: #{$largest-mobile-screen}) {
|
|
116
|
-
width: 100%;
|
|
117
|
-
min-width: 335px;
|
|
118
|
-
margin-bottom: 20px;
|
|
119
|
-
}
|
|
120
|
-
}
|
|
121
|
-
.headline {
|
|
122
|
-
margin-bottom: 20px;
|
|
123
|
-
letter-spacing: 1px;
|
|
124
|
-
text-transform: uppercase;
|
|
125
|
-
@include headtitle1();
|
|
126
|
-
}
|
|
127
|
-
h3 {
|
|
128
|
-
margin-top: 0 !important;
|
|
129
|
-
margin-bottom: 40px !important;
|
|
130
|
-
color: $black;
|
|
131
|
-
@include text-heading-h2();
|
|
132
|
-
@container (max-width: #{$largest-mobile-screen}) {
|
|
133
|
-
@include text-heading-h3();
|
|
134
|
-
margin-bottom: 20px !important;
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
108
|
}
|
|
138
109
|
}
|
|
139
110
|
|
|
@@ -155,15 +126,10 @@
|
|
|
155
126
|
flex-direction: column;
|
|
156
127
|
|
|
157
128
|
.listing-item {
|
|
158
|
-
padding-bottom:
|
|
129
|
+
padding-bottom: $spacing-small !important;
|
|
159
130
|
}
|
|
160
131
|
}
|
|
161
132
|
}
|
|
162
|
-
.headline {
|
|
163
|
-
@include block-title();
|
|
164
|
-
margin-right: 0 !important;
|
|
165
|
-
margin-left: 0 !important;
|
|
166
|
-
}
|
|
167
133
|
.listing-item {
|
|
168
134
|
align-items: normal;
|
|
169
135
|
border-bottom: none;
|
|
@@ -202,37 +168,19 @@
|
|
|
202
168
|
.card {
|
|
203
169
|
flex-grow: 1;
|
|
204
170
|
.card-inner {
|
|
171
|
+
padding-bottom: $spacing-medium !important;
|
|
205
172
|
.image-wrapper {
|
|
206
173
|
img {
|
|
207
|
-
width: 100%;
|
|
208
174
|
margin: 0;
|
|
209
|
-
aspect-ratio: var(--image-aspect-ratio, $aspect-ratio) !important;
|
|
210
175
|
}
|
|
211
176
|
}
|
|
212
177
|
.card-summary {
|
|
213
|
-
padding:
|
|
214
|
-
margin-top: $spacing-medium;
|
|
215
|
-
|
|
216
|
-
.headline {
|
|
217
|
-
padding: 0 !important;
|
|
218
|
-
margin-bottom: $spacing-small;
|
|
219
|
-
letter-spacing: 1px;
|
|
220
|
-
text-transform: uppercase;
|
|
221
|
-
@include headtitle1();
|
|
222
|
-
@include word-break();
|
|
223
|
-
}
|
|
178
|
+
padding: $spacing-medium $spacing-small 0 $spacing-small;
|
|
224
179
|
|
|
225
|
-
|
|
226
|
-
margin: 0 0 $spacing-small 0;
|
|
180
|
+
.title {
|
|
181
|
+
margin: 0 0 $spacing-small 0 !important;
|
|
227
182
|
@include text-heading-h3();
|
|
228
183
|
}
|
|
229
|
-
p {
|
|
230
|
-
margin-bottom: 0;
|
|
231
|
-
@include body-text();
|
|
232
|
-
}
|
|
233
|
-
p:empty {
|
|
234
|
-
display: none;
|
|
235
|
-
}
|
|
236
184
|
}
|
|
237
185
|
}
|
|
238
186
|
}
|
|
@@ -455,21 +403,6 @@
|
|
|
455
403
|
#page-edit .block-editor-listing.has--backgroundColor--grey,
|
|
456
404
|
.block.listing.has--backgroundColor--grey {
|
|
457
405
|
background-color: $lightgrey;
|
|
458
|
-
|
|
459
|
-
&.grid {
|
|
460
|
-
.listing-item {
|
|
461
|
-
.card-container {
|
|
462
|
-
background-color: $white;
|
|
463
|
-
}
|
|
464
|
-
}
|
|
465
|
-
}
|
|
466
|
-
.block.listing.grid {
|
|
467
|
-
.listing-item {
|
|
468
|
-
.card-container {
|
|
469
|
-
background-color: $white;
|
|
470
|
-
}
|
|
471
|
-
}
|
|
472
|
-
}
|
|
473
406
|
}
|
|
474
407
|
|
|
475
408
|
.listing-item .headline span:not(:last-child)::after {
|