@kitconcept/volto-light-theme 8.0.0-alpha.27 → 8.0.0-alpha.29
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 +26 -1
- package/CHANGELOG.md +34 -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 +58 -57
- package/locales/el/LC_MESSAGES/volto.po +645 -0
- 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 +50 -50
- package/locales/et/LC_MESSAGES/volto.po +645 -0
- package/locales/eu/LC_MESSAGES/volto.po +7 -7
- 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/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/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 +5 -5
- package/src/components/Blocks/Button/schema.js +12 -0
- package/src/components/Blocks/Image/Edit.jsx +8 -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/GridTemplate.jsx +1 -0
- package/src/components/Blocks/Listing/SummaryTemplate.jsx +1 -0
- 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 +10 -1
- 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/Footer/Footer.tsx +2 -2
- package/src/components/Footer/slots/FollowUsLogoAndLinks.tsx +12 -23
- package/src/components/Theme/ImageView.jsx +8 -1
- package/src/components/Widgets/ObjectList.tsx +37 -27
- package/src/config/blocks.tsx +63 -0
- package/src/config/classExtenders.ts +11 -10
- package/src/config/settings.ts +6 -0
- 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/index.ts +8 -0
- package/src/primitives/Card/Card.tsx +4 -1
- package/src/theme/_bgcolor-blocks-layout.scss +1 -1
- package/src/theme/_footer.scss +61 -51
- package/src/theme/_layout.scss +7 -62
- package/src/theme/_typo-custom.scss +1 -1
- package/src/theme/_variables.scss +21 -0
- package/src/theme/blocks/_grid.scss +1 -0
- package/src/theme/blocks/_highlight.scss +10 -7
- package/src/theme/blocks/_image.scss +96 -186
- package/src/theme/blocks/_listing.scss +5 -1
- package/src/theme/blocks/_maps.scss +60 -34
- package/src/transforms/to6.ts +5 -49
- package/src/transforms/to8.test.js +201 -0
- package/src/transforms/to8.ts +109 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OVERRIDE MapsSidebar.jsx
|
|
3
|
+
* REASON: Route field changes through dataAdapter to enforce default block width when floating.
|
|
4
|
+
* DATE: 2026-04-16
|
|
5
|
+
* DEVELOPER: @danalvrz
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import MapsSidebar from '../../../../../../components/Blocks/Maps/MapsSidebar';
|
|
9
|
+
|
|
10
|
+
export default MapsSidebar;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OVERRIDE View.jsx
|
|
3
|
+
* REASON: Use align:noprefix and blockWidth:noprefix CSS custom properties instead of align class.
|
|
4
|
+
* DATE: 2026-04-16
|
|
5
|
+
* DEVELOPER: @danalvrz
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import MapsView from '../../../../../../components/Blocks/Maps/View';
|
|
9
|
+
|
|
10
|
+
export default MapsView;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OVERRIDE VideoSidebar.jsx
|
|
3
|
+
* REASON: Route field changes through dataAdapter to enforce default block width when floating.
|
|
4
|
+
* DATE: 2026-04-16
|
|
5
|
+
* DEVELOPER: @danalvrz
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import VideoSidebar from '../../../../../../components/Blocks/Video/VideoSidebar';
|
|
9
|
+
|
|
10
|
+
export default VideoSidebar;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OVERRIDE View.jsx
|
|
3
|
+
* REASON: Use align:noprefix and blockWidth:noprefix CSS custom properties instead of align class.
|
|
4
|
+
* DATE: 2026-04-16
|
|
5
|
+
* DEVELOPER: @danalvrz
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import VideoView from '../../../../../../components/Blocks/Video/View';
|
|
9
|
+
|
|
10
|
+
export default VideoView;
|
package/src/index.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { Container } from '@plone/components';
|
|
|
6
6
|
import EventView from './components/Theme/EventView';
|
|
7
7
|
|
|
8
8
|
import { migrateToVLT6ColorAndWidthModel } from './transforms/to6';
|
|
9
|
+
import { migrateToVLT8FloatingBlocks } from './transforms/to8';
|
|
9
10
|
|
|
10
11
|
import installSettings from './config/settings';
|
|
11
12
|
import installBlocks from './config/blocks';
|
|
@@ -98,6 +99,13 @@ const applyConfig = (config: ConfigType) => {
|
|
|
98
99
|
method: migrateToVLT6ColorAndWidthModel,
|
|
99
100
|
});
|
|
100
101
|
|
|
102
|
+
config.registerUtility({
|
|
103
|
+
name: 'migrateToVLT8FloatingBlocks',
|
|
104
|
+
type: 'transform',
|
|
105
|
+
dependencies: { reducer: 'content' },
|
|
106
|
+
method: migrateToVLT8FloatingBlocks,
|
|
107
|
+
});
|
|
108
|
+
|
|
101
109
|
config.views.contentTypesViews.Event = EventView;
|
|
102
110
|
|
|
103
111
|
config.addonReducers = {
|
|
@@ -94,10 +94,12 @@ type CardImageProps = {
|
|
|
94
94
|
imageComponent?: React.ComponentType<any>;
|
|
95
95
|
children?: React.ReactNode;
|
|
96
96
|
showPlaceholderImage?: boolean;
|
|
97
|
+
sizes?: string;
|
|
97
98
|
};
|
|
98
99
|
|
|
99
100
|
const CardImage = (props: CardImageProps) => {
|
|
100
|
-
const { src, item, image, imageComponent, showPlaceholderImage } =
|
|
101
|
+
const { src, item, image, imageComponent, showPlaceholderImage, sizes } =
|
|
102
|
+
props;
|
|
101
103
|
const Image = imageComponent || DefaultImage;
|
|
102
104
|
|
|
103
105
|
return (
|
|
@@ -115,6 +117,7 @@ const CardImage = (props: CardImageProps) => {
|
|
|
115
117
|
alt=""
|
|
116
118
|
loading="lazy"
|
|
117
119
|
responsive={true}
|
|
120
|
+
sizes={sizes}
|
|
118
121
|
/>
|
|
119
122
|
)
|
|
120
123
|
) : (
|
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:not(:
|
|
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,10 +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 100px 2rem;
|
|
39
|
-
@media only screen and (max-width: $largest-mobile-screen) {
|
|
40
|
-
padding: $spacing-xlarge $spacing-small;
|
|
41
|
-
}
|
|
42
41
|
background: var(--footer-background);
|
|
43
42
|
color: var(--footer-foreground, $black);
|
|
44
43
|
|
|
@@ -106,7 +105,7 @@
|
|
|
106
105
|
|
|
107
106
|
img {
|
|
108
107
|
max-width: 100%;
|
|
109
|
-
height:
|
|
108
|
+
max-height: 90px;
|
|
110
109
|
}
|
|
111
110
|
}
|
|
112
111
|
}
|
|
@@ -186,50 +185,56 @@
|
|
|
186
185
|
}
|
|
187
186
|
|
|
188
187
|
.post-footer {
|
|
189
|
-
padding: $spacing-xlarge $spacing-small;
|
|
190
188
|
background: var(--footer-background);
|
|
191
189
|
color: var(--footer-foreground, $black);
|
|
192
190
|
font-size: 18px;
|
|
193
191
|
}
|
|
194
192
|
|
|
195
193
|
.follow-us-links-and-logo {
|
|
196
|
-
display:
|
|
197
|
-
margin-bottom: 50px;
|
|
194
|
+
display: grid;
|
|
198
195
|
|
|
199
|
-
|
|
200
|
-
|
|
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);
|
|
201
201
|
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
202
|
+
.follow-us {
|
|
203
|
+
grid-area: social;
|
|
204
|
+
}
|
|
205
|
+
.footer-logo {
|
|
206
|
+
grid-area: logo;
|
|
207
|
+
}
|
|
208
|
+
.footer-links {
|
|
209
|
+
grid-area: links;
|
|
210
|
+
}
|
|
208
211
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
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
|
+
}
|
|
215
224
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
}
|
|
225
|
+
.footer-links {
|
|
226
|
+
ul {
|
|
227
|
+
justify-content: center;
|
|
220
228
|
}
|
|
221
229
|
}
|
|
222
230
|
|
|
223
231
|
@media only screen and (max-width: $largest-mobile-screen) {
|
|
224
|
-
flex-direction: column;
|
|
225
232
|
align-items: center;
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
justify-content: center;
|
|
232
|
-
}
|
|
233
|
+
grid-template-areas:
|
|
234
|
+
'social'
|
|
235
|
+
'logo'
|
|
236
|
+
'links';
|
|
237
|
+
grid-template-columns: minmax(0, 1fr);
|
|
233
238
|
|
|
234
239
|
.follow-us {
|
|
235
240
|
display: flex;
|
|
@@ -246,9 +251,10 @@
|
|
|
246
251
|
}
|
|
247
252
|
|
|
248
253
|
.footer-links {
|
|
254
|
+
margin-top: $spacing-large;
|
|
249
255
|
ul {
|
|
250
256
|
flex-wrap: wrap;
|
|
251
|
-
gap: 10px;
|
|
257
|
+
gap: 10px 0;
|
|
252
258
|
li {
|
|
253
259
|
margin-right: 0;
|
|
254
260
|
}
|
|
@@ -256,7 +262,6 @@
|
|
|
256
262
|
}
|
|
257
263
|
|
|
258
264
|
.footer-logo {
|
|
259
|
-
padding-top: 50px;
|
|
260
265
|
margin: 0 auto;
|
|
261
266
|
span {
|
|
262
267
|
text-align: center;
|
|
@@ -273,6 +278,8 @@
|
|
|
273
278
|
.follow-us {
|
|
274
279
|
ul {
|
|
275
280
|
display: flex;
|
|
281
|
+
flex-wrap: wrap;
|
|
282
|
+
justify-content: center;
|
|
276
283
|
padding-left: 0;
|
|
277
284
|
margin: 0;
|
|
278
285
|
list-style: none;
|
|
@@ -280,13 +287,13 @@
|
|
|
280
287
|
}
|
|
281
288
|
|
|
282
289
|
.follow-us {
|
|
283
|
-
margin-bottom:
|
|
290
|
+
margin-bottom: $spacing-large;
|
|
284
291
|
text-align: left;
|
|
285
292
|
|
|
286
293
|
span {
|
|
287
294
|
@include headtitle2();
|
|
288
295
|
display: block;
|
|
289
|
-
margin-bottom:
|
|
296
|
+
margin-bottom: $spacing-large;
|
|
290
297
|
text-transform: uppercase;
|
|
291
298
|
}
|
|
292
299
|
|
|
@@ -307,15 +314,17 @@
|
|
|
307
314
|
li {
|
|
308
315
|
position: relative;
|
|
309
316
|
padding: 0 8px;
|
|
317
|
+
margin-bottom: 8px;
|
|
310
318
|
@include add(size, xs);
|
|
311
319
|
@include add(height, s);
|
|
312
320
|
|
|
313
321
|
&:not(:last-child):after {
|
|
314
322
|
position: absolute;
|
|
315
|
-
right:
|
|
323
|
+
right: 0;
|
|
316
324
|
display: inline-block;
|
|
317
325
|
color: var(--footer-foreground, $black);
|
|
318
326
|
content: '|';
|
|
327
|
+
transform: translateX(50%);
|
|
319
328
|
}
|
|
320
329
|
|
|
321
330
|
a {
|
|
@@ -328,21 +337,23 @@
|
|
|
328
337
|
}
|
|
329
338
|
|
|
330
339
|
.footer-logo {
|
|
331
|
-
|
|
332
|
-
max-width:
|
|
333
|
-
|
|
334
|
-
margin-
|
|
335
|
-
|
|
340
|
+
display: flex;
|
|
341
|
+
max-width: 200px;
|
|
342
|
+
flex-direction: column;
|
|
343
|
+
margin-bottom: $spacing-large;
|
|
344
|
+
justify-self: end;
|
|
336
345
|
span {
|
|
337
346
|
display: block;
|
|
338
|
-
margin-bottom:
|
|
347
|
+
margin-bottom: $spacing-large;
|
|
339
348
|
text-align: left;
|
|
340
349
|
text-transform: uppercase;
|
|
341
350
|
@include headtitle2();
|
|
342
351
|
}
|
|
343
352
|
|
|
344
353
|
img {
|
|
345
|
-
width: 100%;
|
|
354
|
+
max-width: 100%;
|
|
355
|
+
height: auto;
|
|
356
|
+
object-fit: contain;
|
|
346
357
|
}
|
|
347
358
|
}
|
|
348
359
|
|
|
@@ -385,7 +396,7 @@
|
|
|
385
396
|
|
|
386
397
|
&:before {
|
|
387
398
|
display: block;
|
|
388
|
-
padding-top:
|
|
399
|
+
padding-top: $spacing-large;
|
|
389
400
|
border-top: 1px solid var(--footer-foreground, $black);
|
|
390
401
|
content: '';
|
|
391
402
|
@include default-container-width();
|
|
@@ -410,9 +421,8 @@ ul.logos-container {
|
|
|
410
421
|
padding: $pre-footer-vertical-spacing 0;
|
|
411
422
|
padding-left: 0;
|
|
412
423
|
margin-top: 0;
|
|
413
|
-
margin-bottom: $spacing-medium;
|
|
414
424
|
gap: 60px 20px;
|
|
415
|
-
grid-template-columns: repeat(auto-fit, minmax(
|
|
425
|
+
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
416
426
|
list-style: none;
|
|
417
427
|
|
|
418
428
|
.logo-image {
|
package/src/theme/_layout.scss
CHANGED
|
@@ -216,16 +216,6 @@ External & Mail link removal for all the blocks.
|
|
|
216
216
|
& > p,
|
|
217
217
|
& > span,
|
|
218
218
|
& > blockquote,
|
|
219
|
-
& > .block.image.align.left.medium,
|
|
220
|
-
& > .block.image.align.left.small,
|
|
221
|
-
& > .block.image.align.right.medium,
|
|
222
|
-
& > .block.video.align.left,
|
|
223
|
-
& > .block.video.align.right,
|
|
224
|
-
& > .block.maps.align.left,
|
|
225
|
-
& > .block.maps.align.right,
|
|
226
|
-
& > .block.image.align.right.small,
|
|
227
|
-
& > .block.video.align.center .video-inner,
|
|
228
|
-
& > .block.maps.align.center .maps-inner,
|
|
229
219
|
.download-event,
|
|
230
220
|
.block.separator.has--align--left .line,
|
|
231
221
|
.block.separator.has--align--center .line,
|
|
@@ -238,16 +228,6 @@ External & Mail link removal for all the blocks.
|
|
|
238
228
|
}
|
|
239
229
|
|
|
240
230
|
& > h1.documentFirstHeading,
|
|
241
|
-
& > .block.image.align.left,
|
|
242
|
-
& > .block.image.align.right,
|
|
243
|
-
& > .block.image.align.center,
|
|
244
|
-
& > .block.image.align.wide figure,
|
|
245
|
-
& > .block.video.align.left,
|
|
246
|
-
& > .block.video.align.right,
|
|
247
|
-
& > .block.maps.align.left,
|
|
248
|
-
& > .block.maps.align.right,
|
|
249
|
-
& > .block.video.align.wide .video-inner,
|
|
250
|
-
& > .block.maps.align.wide .maps-inner,
|
|
251
231
|
& > .block.__button,
|
|
252
232
|
& > .block.eventMetadata .details-container,
|
|
253
233
|
& > .block.listing .listing-item,
|
|
@@ -272,21 +252,7 @@ External & Mail link removal for all the blocks.
|
|
|
272
252
|
@include adjustMarginsToContainer($default-container-width);
|
|
273
253
|
}
|
|
274
254
|
|
|
275
|
-
& > .block.image.align.full,
|
|
276
|
-
& > .block.video.align.full,
|
|
277
|
-
& > .block.maps.align.full {
|
|
278
|
-
@include layout-container-width();
|
|
279
|
-
}
|
|
280
|
-
|
|
281
255
|
/* Styling align left and right in mobile view */
|
|
282
|
-
.block.video.align.right .video-inner,
|
|
283
|
-
.block.video.align.left .video-inner,
|
|
284
|
-
.block.maps.align.right iframe,
|
|
285
|
-
.block.maps.align.left iframe {
|
|
286
|
-
@container (max-width: #{$largest-mobile-screen}) {
|
|
287
|
-
width: 100%;
|
|
288
|
-
}
|
|
289
|
-
}
|
|
290
256
|
|
|
291
257
|
& > h1.documentFirstHeading {
|
|
292
258
|
@include adjustMarginsToContainer($default-container-width);
|
|
@@ -296,6 +262,13 @@ External & Mail link removal for all the blocks.
|
|
|
296
262
|
// This is the default spacing in between same-color blocks
|
|
297
263
|
margin-bottom: $block-vertical-space;
|
|
298
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
|
+
|
|
299
272
|
// Default side margins on smaller screens
|
|
300
273
|
&.has--block-width--narrow {
|
|
301
274
|
@include adjustMarginsToContainer($narrow-container-width);
|
|
@@ -340,14 +313,6 @@ External & Mail link removal for all the blocks.
|
|
|
340
313
|
#page-add,
|
|
341
314
|
#page-edit {
|
|
342
315
|
.block.slate .slate-editor,
|
|
343
|
-
.block-editor-image.left.medium,
|
|
344
|
-
.block-editor-image.left.small,
|
|
345
|
-
.block-editor-image.right.medium,
|
|
346
|
-
.block-editor-image.right.small,
|
|
347
|
-
.block-editor-video.align.left,
|
|
348
|
-
.block-editor-video.align.right,
|
|
349
|
-
.block-editor-video.center .video-inner,
|
|
350
|
-
.block.maps.align.center .maps-inner,
|
|
351
316
|
.block-editor-separator.has--align--left
|
|
352
317
|
.block.separator.inner
|
|
353
318
|
.block.separator
|
|
@@ -366,17 +331,6 @@ External & Mail link removal for all the blocks.
|
|
|
366
331
|
}
|
|
367
332
|
|
|
368
333
|
.block-editor-title h1,
|
|
369
|
-
.block-editor-image.left.large,
|
|
370
|
-
.block-editor-image.right.large,
|
|
371
|
-
.block-editor-image.wide figure, // Wide images are always large
|
|
372
|
-
.block-editor-image.wide.large figure,
|
|
373
|
-
.block-editor-video.align.left,
|
|
374
|
-
.block-editor-video.align.right,
|
|
375
|
-
.block.maps.align.left,
|
|
376
|
-
.block.maps.align.right,
|
|
377
|
-
.block.video.align.wide .video-inner,
|
|
378
|
-
.block.maps.align.wide .maps-inner,
|
|
379
|
-
|
|
380
334
|
.block.introduction .slate-editor,
|
|
381
335
|
.block.heading .heading-wrapper,
|
|
382
336
|
.block-editor-listing .items,
|
|
@@ -397,21 +351,12 @@ External & Mail link removal for all the blocks.
|
|
|
397
351
|
}
|
|
398
352
|
|
|
399
353
|
.block-editor-slate,
|
|
400
|
-
.block-editor-image,
|
|
401
354
|
.block-editor-slider,
|
|
402
355
|
.block-editor-teaser,
|
|
403
356
|
.block-editor-separator.has--align--left {
|
|
404
357
|
@include layout-container-width();
|
|
405
358
|
@include adjustMarginsToEditContainer($layout-container-width);
|
|
406
359
|
}
|
|
407
|
-
|
|
408
|
-
/* Styling align left and right in mobile view */
|
|
409
|
-
.block.video.align.right .video-inner,
|
|
410
|
-
.block.video.align.left .video-inner {
|
|
411
|
-
@container (max-width: #{$largest-mobile-screen}) {
|
|
412
|
-
width: 100%;
|
|
413
|
-
}
|
|
414
|
-
}
|
|
415
360
|
}
|
|
416
361
|
|
|
417
362
|
// Grids adjustments (has to be paired with collections/grid.variables)
|
|
@@ -35,7 +35,7 @@ header .navigation .item {
|
|
|
35
35
|
.cms-ui.view-editview {
|
|
36
36
|
.content-area,
|
|
37
37
|
.breadcrumbs {
|
|
38
|
-
a:not(.card-primary-link, .label, .item) {
|
|
38
|
+
a:not(.card-primary-link, .label, .item, .link-container) {
|
|
39
39
|
color: var(--link-foreground-color, var(--theme-foreground-color));
|
|
40
40
|
font: inherit;
|
|
41
41
|
line-height: inherit;
|
|
@@ -454,3 +454,24 @@ $line-heights: (
|
|
|
454
454
|
no-repeat center;
|
|
455
455
|
white-space: nowrap;
|
|
456
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
|
+
}
|
|
@@ -6,11 +6,10 @@
|
|
|
6
6
|
@include highlight-title();
|
|
7
7
|
}
|
|
8
8
|
.description {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
--link-foreground-color: var(--theme-foreground-color);
|
|
10
|
+
|
|
11
|
+
p {
|
|
12
12
|
@include introduction();
|
|
13
|
-
--link-foreground-color: var(--theme-foreground-color);
|
|
14
13
|
}
|
|
15
14
|
}
|
|
16
15
|
|
|
@@ -19,8 +18,12 @@
|
|
|
19
18
|
text-decoration: none;
|
|
20
19
|
}
|
|
21
20
|
}
|
|
21
|
+
.block-inner-container {
|
|
22
|
+
max-width: var(--layout-container-width);
|
|
23
|
+
}
|
|
22
24
|
}
|
|
23
|
-
.
|
|
24
|
-
.
|
|
25
|
-
|
|
25
|
+
.color-swatch-widget[class*='field-wrapper-descriptionColor'] {
|
|
26
|
+
& + .color-swatch-widget.field-wrapper-theme {
|
|
27
|
+
padding-top: 16px;
|
|
28
|
+
}
|
|
26
29
|
}
|