@kitconcept/volto-light-theme 7.0.0-alpha.21 → 7.0.0-alpha.22
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 -2
- package/CHANGELOG.md +10 -0
- package/package.json +1 -1
- package/src/components/LogosContainer/LogosContainer.tsx +6 -1
- package/src/theme/_bgcolor-blocks-layout.scss +4 -2
- package/src/theme/_footer.scss +29 -7
- package/src/theme/_layout.scss +2 -0
- package/src/theme/blocks/_listing.scss +14 -6
- package/src/theme/blocks/_rss.scss +17 -0
- package/src/theme/main.scss +1 -0
package/.changelog.draft
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
## 7.0.0-alpha.
|
|
1
|
+
## 7.0.0-alpha.22 (2025-08-15)
|
|
2
|
+
|
|
3
|
+
### Feature
|
|
4
|
+
|
|
5
|
+
- Add styles for RSS block (note: full functionality requires RSS addon and templates available in kitconcept.intranet). @danalvrz
|
|
2
6
|
|
|
3
7
|
### Internal
|
|
4
8
|
|
|
5
|
-
-
|
|
9
|
+
- Fix Logos SVG size issue. @Tishasoumya-02
|
|
6
10
|
|
|
7
11
|
|
package/CHANGELOG.md
CHANGED
|
@@ -8,6 +8,16 @@
|
|
|
8
8
|
|
|
9
9
|
<!-- towncrier release notes start -->
|
|
10
10
|
|
|
11
|
+
## 7.0.0-alpha.22 (2025-08-15)
|
|
12
|
+
|
|
13
|
+
### Feature
|
|
14
|
+
|
|
15
|
+
- Add styles for RSS block (note: full functionality requires RSS addon and templates available in kitconcept.intranet). @danalvrz
|
|
16
|
+
|
|
17
|
+
### Internal
|
|
18
|
+
|
|
19
|
+
- Fix Logos SVG size issue. @Tishasoumya-02
|
|
20
|
+
|
|
11
21
|
## 7.0.0-alpha.21 (2025-07-31)
|
|
12
22
|
|
|
13
23
|
### Internal
|
package/package.json
CHANGED
|
@@ -56,11 +56,16 @@ const LogosContainer = (props: LogosContainerProps) => {
|
|
|
56
56
|
{/* @ts-ignore */}
|
|
57
57
|
<ConditionalLink
|
|
58
58
|
condition={logoInfo.href}
|
|
59
|
+
className="logo-link"
|
|
59
60
|
to={logoInfo.href}
|
|
60
61
|
title={logoInfo.hrefTitle || logoInfo.srcAlt}
|
|
61
62
|
openLinkInNewTab={logo.openInNewTab}
|
|
62
63
|
>
|
|
63
|
-
<img
|
|
64
|
+
<img
|
|
65
|
+
className="logo-image"
|
|
66
|
+
src={logoInfo.src}
|
|
67
|
+
alt={logoInfo.srcAlt}
|
|
68
|
+
/>
|
|
64
69
|
</ConditionalLink>
|
|
65
70
|
</li>
|
|
66
71
|
);
|
|
@@ -490,7 +490,8 @@
|
|
|
490
490
|
|
|
491
491
|
// Listing
|
|
492
492
|
&.listing,
|
|
493
|
-
&.search
|
|
493
|
+
&.search,
|
|
494
|
+
&.rssBlock {
|
|
494
495
|
h2.headline {
|
|
495
496
|
color: var(--theme-foreground-color);
|
|
496
497
|
}
|
|
@@ -530,7 +531,8 @@
|
|
|
530
531
|
/* I have removed the .card-container className that's why I have to write this css
|
|
531
532
|
* I will remove all the .card-container className from repo.
|
|
532
533
|
*/
|
|
533
|
-
&.grid .card
|
|
534
|
+
&.grid .card,
|
|
535
|
+
& .grid-variation .card {
|
|
534
536
|
background-color: var(--theme-high-contrast-color);
|
|
535
537
|
|
|
536
538
|
.content,
|
package/src/theme/_footer.scss
CHANGED
|
@@ -355,17 +355,39 @@ ul.logos-container {
|
|
|
355
355
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
356
356
|
list-style: none;
|
|
357
357
|
|
|
358
|
+
.logo-image {
|
|
359
|
+
display: block;
|
|
360
|
+
width: 100%;
|
|
361
|
+
height: auto;
|
|
362
|
+
object-fit: contain !important;
|
|
363
|
+
//using !important because in layout.scss it targets img , so to override it for logo-image, class specificity did'nt work
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.logo-link {
|
|
367
|
+
display: block;
|
|
368
|
+
width: 100%;
|
|
369
|
+
height: 100%;
|
|
370
|
+
}
|
|
371
|
+
|
|
358
372
|
&.s {
|
|
359
|
-
|
|
373
|
+
.logo-link,
|
|
374
|
+
.logo-image {
|
|
375
|
+
max-width: min(100%, 175px);
|
|
376
|
+
max-height: 120px;
|
|
377
|
+
}
|
|
360
378
|
}
|
|
361
379
|
|
|
362
|
-
&.l
|
|
363
|
-
|
|
364
|
-
|
|
380
|
+
&.l {
|
|
381
|
+
.logo-link,
|
|
382
|
+
.logo-image {
|
|
383
|
+
max-width: min(100%, 240px);
|
|
384
|
+
max-height: 165px;
|
|
385
|
+
}
|
|
365
386
|
}
|
|
366
387
|
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
388
|
+
.item {
|
|
389
|
+
display: flex;
|
|
390
|
+
align-items: center;
|
|
391
|
+
justify-content: center;
|
|
370
392
|
}
|
|
371
393
|
}
|
package/src/theme/_layout.scss
CHANGED
|
@@ -239,6 +239,7 @@ External link removal for all the blocks.
|
|
|
239
239
|
& > .block.listing .image-gallery,
|
|
240
240
|
& > .block.listing.grid,
|
|
241
241
|
& > .block.search.grid,
|
|
242
|
+
& > .block.rssBlock,
|
|
242
243
|
& > .block.search .searchBlock-container,
|
|
243
244
|
&> .block.eventsearch .search-block-event,
|
|
244
245
|
& > .block h2.headline,
|
|
@@ -361,6 +362,7 @@ External link removal for all the blocks.
|
|
|
361
362
|
.block.heading .heading-wrapper,
|
|
362
363
|
.block-editor-listing .items,
|
|
363
364
|
.block-editor-listing .listing.message,
|
|
365
|
+
.block-editor-rssBlock .items,
|
|
364
366
|
.block-editor-search .searchBlock-container,
|
|
365
367
|
.block-editor-eventsearch .search-block-event,
|
|
366
368
|
.block.teaser.has--align--center,
|
|
@@ -12,7 +12,9 @@
|
|
|
12
12
|
.block.listing,
|
|
13
13
|
.column > .block.listing,
|
|
14
14
|
.block.search,
|
|
15
|
-
.block-editor-search
|
|
15
|
+
.block-editor-search,
|
|
16
|
+
.block.rssBlock,
|
|
17
|
+
.block-editor-rssBlock {
|
|
16
18
|
&.next--has--same--backgroundColor.next--is--same--block-type,
|
|
17
19
|
&.next--is--__button {
|
|
18
20
|
.listing-item:last-child {
|
|
@@ -58,7 +60,8 @@
|
|
|
58
60
|
}
|
|
59
61
|
|
|
60
62
|
// Default variation
|
|
61
|
-
&.default
|
|
63
|
+
&.default,
|
|
64
|
+
& .default-variation {
|
|
62
65
|
.headline {
|
|
63
66
|
@include block-title();
|
|
64
67
|
}
|
|
@@ -90,7 +93,8 @@
|
|
|
90
93
|
}
|
|
91
94
|
|
|
92
95
|
// Summary variation
|
|
93
|
-
&.summary
|
|
96
|
+
&.summary,
|
|
97
|
+
& .summary-variation {
|
|
94
98
|
.listing-item {
|
|
95
99
|
padding-top: 0 !important;
|
|
96
100
|
|
|
@@ -134,7 +138,8 @@
|
|
|
134
138
|
}
|
|
135
139
|
|
|
136
140
|
// Grid variation
|
|
137
|
-
&.grid
|
|
141
|
+
&.grid,
|
|
142
|
+
& .grid-variation {
|
|
138
143
|
&.next--has--same--backgroundColor.next--is--same--block-type,
|
|
139
144
|
&.next--is--__button {
|
|
140
145
|
.listing-item:last-child {
|
|
@@ -427,8 +432,11 @@
|
|
|
427
432
|
}
|
|
428
433
|
|
|
429
434
|
#page-add .block-editor-listing,
|
|
430
|
-
#page-edit .block-editor-listing
|
|
431
|
-
|
|
435
|
+
#page-edit .block-editor-listing,
|
|
436
|
+
#page-add .block-editor-rssBlock,
|
|
437
|
+
#page-edit .block-editor-rssBlock {
|
|
438
|
+
.block.listing,
|
|
439
|
+
.block.rssBlock {
|
|
432
440
|
margin-top: 0;
|
|
433
441
|
.items {
|
|
434
442
|
margin-right: auto;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
.block.rssBlock {
|
|
2
|
+
.card {
|
|
3
|
+
width: 100%;
|
|
4
|
+
a.external::after {
|
|
5
|
+
position: absolute !important;
|
|
6
|
+
top: $spacing-small;
|
|
7
|
+
right: 0;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
.grid-variation {
|
|
11
|
+
.card a.external::after {
|
|
12
|
+
top: unset;
|
|
13
|
+
right: 1rem;
|
|
14
|
+
bottom: 1rem;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|