@kitconcept/volto-light-theme 8.0.0-alpha.2 → 8.0.0-alpha.21
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 +3 -4
- package/CHANGELOG.md +232 -0
- package/locales/de/LC_MESSAGES/volto.po +30 -115
- package/locales/en/LC_MESSAGES/volto.po +30 -115
- package/locales/es/LC_MESSAGES/volto.po +31 -116
- package/locales/eu/LC_MESSAGES/volto.po +58 -124
- package/locales/pt_BR/LC_MESSAGES/volto.po +38 -123
- package/locales/volto.pot +31 -116
- package/package.json +7 -4
- package/src/__mocks__/semantic-ui-react.ts +31 -0
- package/src/components/Blocks/Block/Edit.jsx +14 -6
- package/src/components/Blocks/Block/EditBlockWrapper.jsx +9 -3
- package/src/components/Blocks/Block/ErrorBoundary.test.tsx +55 -0
- package/src/components/Blocks/Block/ErrorBoundary.tsx +92 -0
- package/src/components/Blocks/Block/ErrorBoundaryMessage.tsx +66 -0
- package/src/components/Blocks/EventCalendar/Search/components/EventTemplate.tsx +1 -1
- package/src/components/Blocks/Image/Edit.jsx +1 -0
- package/src/components/Blocks/Listing/DefaultTemplate.jsx +12 -6
- package/src/components/Blocks/Listing/GridTemplate.jsx +16 -7
- package/src/components/Blocks/Listing/ListingBody.jsx +4 -1
- package/src/components/Blocks/Listing/SummaryTemplate.jsx +16 -7
- package/src/components/Blocks/Teaser/DefaultBody.tsx +25 -5
- 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/slots/Colophon.tsx +13 -1
- package/src/components/Footer/slots/CoreFooter.tsx +4 -2
- 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} +77 -37
- 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/NewsItemView.jsx +4 -4
- package/src/components/Theme/RenderBlocks.jsx +45 -37
- package/src/components/Theme/RenderBlocksV2.jsx +51 -20
- 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/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 +21 -29
- package/src/config/slots.ts +7 -0
- package/src/config/widgets.ts +5 -9
- 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/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 +33 -43
- package/src/primitives/IconLinkList.tsx +53 -52
- package/src/theme/_bgcolor-blocks-layout.scss +43 -45
- package/src/theme/_content.scss +12 -13
- package/src/theme/_export_import.scss +94 -0
- package/src/theme/_footer.scss +64 -19
- package/src/theme/_header.scss +21 -4
- package/src/theme/_insets.scss +1 -1
- package/src/theme/_layout.scss +34 -15
- package/src/theme/_mobile-sticky-menu.scss +92 -0
- package/src/theme/_search-page.scss +249 -0
- package/src/theme/_typo-custom.scss +16 -5
- package/src/theme/_variables.scss +19 -4
- package/src/theme/_widgets.scss +15 -27
- package/src/theme/blocks/_accordion.scss +11 -4
- package/src/theme/blocks/_grid.scss +9 -77
- package/src/theme/blocks/_listing.scss +60 -126
- 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/error-boundary.scss +11 -0
- package/src/theme/card.scss +107 -70
- package/src/theme/main.scss +5 -0
- package/src/theme/notfound.scss +27 -0
- package/src/theme/person.scss +28 -12
- package/src/theme/sticky-menu.scss +7 -5
- package/src/types.d.ts +1 -0
- package/vitest.config.mjs +4 -0
- 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 -144
- package/src/components/Widgets/Size.tsx +0 -78
|
@@ -0,0 +1,249 @@
|
|
|
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
|
+
margin-right: 5px;
|
|
78
|
+
vertical-align: bottom;
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
#content {
|
|
83
|
+
#content-core {
|
|
84
|
+
max-width: var(--default-container-width);
|
|
85
|
+
&.layout-grid {
|
|
86
|
+
// Person results
|
|
87
|
+
.tileItem.personResultItem {
|
|
88
|
+
.itemWrapper {
|
|
89
|
+
flex-direction: column;
|
|
90
|
+
.itemImageWrapper {
|
|
91
|
+
width: 125px;
|
|
92
|
+
height: 125px;
|
|
93
|
+
margin-bottom: $spacing-small;
|
|
94
|
+
svg:has(+ img.profileImage) {
|
|
95
|
+
display: none;
|
|
96
|
+
}
|
|
97
|
+
img.profileImage,
|
|
98
|
+
svg.icon {
|
|
99
|
+
width: 125px !important;
|
|
100
|
+
height: 125px !important;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
.itemContent {
|
|
104
|
+
max-width: 90%;
|
|
105
|
+
padding-right: $spacing-medium;
|
|
106
|
+
.tileHeadline {
|
|
107
|
+
margin: 10px 0 15px 0;
|
|
108
|
+
font-size: 18px;
|
|
109
|
+
line-height: 24px; /* 133.333% */
|
|
110
|
+
}
|
|
111
|
+
.jobTitle {
|
|
112
|
+
margin-bottom: 15px;
|
|
113
|
+
color: var(--primary-foreground-color);
|
|
114
|
+
font-size: 18px;
|
|
115
|
+
line-height: 24px; /* 133.333% */
|
|
116
|
+
}
|
|
117
|
+
.tileFooter {
|
|
118
|
+
* {
|
|
119
|
+
vertical-align: unset;
|
|
120
|
+
}
|
|
121
|
+
.itemField {
|
|
122
|
+
display: block;
|
|
123
|
+
padding: 0;
|
|
124
|
+
border: none;
|
|
125
|
+
margin-bottom: 5px;
|
|
126
|
+
|
|
127
|
+
font-size: 18px;
|
|
128
|
+
|
|
129
|
+
line-height: 24px; /* 133.333% */
|
|
130
|
+
svg.icon {
|
|
131
|
+
width: 20px !important;
|
|
132
|
+
margin-right: 10px;
|
|
133
|
+
vertical-align: text-top;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
&.layout-list {
|
|
142
|
+
// Person results
|
|
143
|
+
.tileItem.personResultItem {
|
|
144
|
+
.tileHeadline {
|
|
145
|
+
margin-top: 10px;
|
|
146
|
+
font-size: 18px;
|
|
147
|
+
line-height: 24px;
|
|
148
|
+
}
|
|
149
|
+
.jobTitle {
|
|
150
|
+
margin: 15px 0;
|
|
151
|
+
margin-bottom: 15px;
|
|
152
|
+
color: var(--primary-foreground-color);
|
|
153
|
+
font-size: 18px;
|
|
154
|
+
line-height: 24px; /* 133.333% */
|
|
155
|
+
}
|
|
156
|
+
.tileFooter {
|
|
157
|
+
svg.icon {
|
|
158
|
+
width: 20px !important;
|
|
159
|
+
margin-right: 10px;
|
|
160
|
+
vertical-align: text-top;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.pagination.menu {
|
|
167
|
+
border-radius: 0;
|
|
168
|
+
background: var(--accent-color);
|
|
169
|
+
--link-foreground-color: var(--accent-foreground-color);
|
|
170
|
+
|
|
171
|
+
a.item {
|
|
172
|
+
color: var(--accent-foreground-color);
|
|
173
|
+
|
|
174
|
+
&.active {
|
|
175
|
+
background: var(--accent-foreground-color) !important;
|
|
176
|
+
color: var(--accent-color) !important;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
&.disabled {
|
|
180
|
+
opacity: 0.8;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.searchConditions.ui {
|
|
187
|
+
width: 265px;
|
|
188
|
+
margin-right: $spacing-medium;
|
|
189
|
+
.searchConditionsFieldHeader {
|
|
190
|
+
font-size: 18px;
|
|
191
|
+
line-height: 24px; /* 133.333% */
|
|
192
|
+
.searchConditionsFieldSearch {
|
|
193
|
+
margin-top: $spacing-small;
|
|
194
|
+
input {
|
|
195
|
+
height: 60px;
|
|
196
|
+
padding-top: 10px;
|
|
197
|
+
padding-bottom: 10px;
|
|
198
|
+
padding-left: 10px;
|
|
199
|
+
border: none;
|
|
200
|
+
border-radius: 0;
|
|
201
|
+
font-size: 18px;
|
|
202
|
+
line-height: 24px; /* 133.333% */
|
|
203
|
+
}
|
|
204
|
+
i.search.icon {
|
|
205
|
+
opacity: 1;
|
|
206
|
+
&::before {
|
|
207
|
+
transform: scale(2) scaleX(-1);
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
// Basic mobile styles
|
|
217
|
+
@media only screen and (max-width: $largest-mobile-screen) {
|
|
218
|
+
#page-search {
|
|
219
|
+
#content {
|
|
220
|
+
.searchContentWrapper {
|
|
221
|
+
flex-direction: column;
|
|
222
|
+
}
|
|
223
|
+
.searchConditions.ui {
|
|
224
|
+
width: 100%;
|
|
225
|
+
margin-right: 0;
|
|
226
|
+
}
|
|
227
|
+
#content-core {
|
|
228
|
+
.search-items {
|
|
229
|
+
grid-template-columns: 100%;
|
|
230
|
+
}
|
|
231
|
+
&.layout-list,
|
|
232
|
+
&.layout-grid {
|
|
233
|
+
.tileItem {
|
|
234
|
+
.itemContent {
|
|
235
|
+
min-width: 0;
|
|
236
|
+
}
|
|
237
|
+
.tileFooter {
|
|
238
|
+
.itemField {
|
|
239
|
+
display: block;
|
|
240
|
+
border: none;
|
|
241
|
+
overflow-wrap: break-word;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
}
|
|
@@ -27,12 +27,14 @@ li::marker {
|
|
|
27
27
|
line-height: 32px;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
header .navigation .item {
|
|
31
|
+
font-family: $page-font;
|
|
32
|
+
}
|
|
33
|
+
|
|
30
34
|
.content-area,
|
|
31
35
|
.breadcrumbs {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
.breadcrumb a {
|
|
35
|
-
color: $blue-for-grey-contrast;
|
|
36
|
+
a:not(.card-primary-link, .label) {
|
|
37
|
+
color: var(--link-foreground-color, var(--theme-foreground-color));
|
|
36
38
|
text-decoration: underline;
|
|
37
39
|
}
|
|
38
40
|
}
|
|
@@ -91,7 +93,8 @@ h1.documentFirstHeading:last-child {
|
|
|
91
93
|
}
|
|
92
94
|
|
|
93
95
|
// Block Title
|
|
94
|
-
.block h2.headline
|
|
96
|
+
.block h2.headline,
|
|
97
|
+
.block h2.block-title {
|
|
95
98
|
@include block-title();
|
|
96
99
|
@include vertical-space-block-title();
|
|
97
100
|
}
|
|
@@ -171,3 +174,11 @@ h4 {
|
|
|
171
174
|
user-select: none;
|
|
172
175
|
}
|
|
173
176
|
}
|
|
177
|
+
|
|
178
|
+
// Control panel view
|
|
179
|
+
body.view-controlpanelview {
|
|
180
|
+
h3.ui.icon.header {
|
|
181
|
+
@include add(size, s);
|
|
182
|
+
@include add(height, m);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
@@ -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,25 @@ $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
|
+
}
|
package/src/theme/_widgets.scss
CHANGED
|
@@ -6,21 +6,22 @@
|
|
|
6
6
|
#sidebar-properties,
|
|
7
7
|
#sidebar-metadata {
|
|
8
8
|
.field.widget {
|
|
9
|
-
.buttons {
|
|
9
|
+
.buttons-widget {
|
|
10
10
|
display: flex;
|
|
11
11
|
align-items: center;
|
|
12
|
+
gap: 4px;
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
.buttons-widget-option {
|
|
14
15
|
padding: 5px;
|
|
15
16
|
border-radius: 3px;
|
|
16
|
-
margin-right: 3px;
|
|
17
17
|
aspect-ratio: 1/1;
|
|
18
18
|
font-size: 1em;
|
|
19
19
|
line-height: initial;
|
|
20
|
+
|
|
20
21
|
&[data-hovered='true'] {
|
|
21
22
|
box-shadow: inset 0 0 0 1px var(--border-color-pressed, #2996da);
|
|
22
23
|
}
|
|
23
|
-
|
|
24
|
+
&[data-selected='true'] {
|
|
24
25
|
box-shadow: inset 0 0 0 1px var(--border-color-pressed, #2996da);
|
|
25
26
|
}
|
|
26
27
|
|
|
@@ -88,20 +89,18 @@ span.color-contrast-label {
|
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
.color-swatch-widget {
|
|
91
|
-
.
|
|
92
|
-
|
|
93
|
-
margin: 1rem 0 0.5rem;
|
|
94
|
-
text-align: center;
|
|
92
|
+
.react-aria-RadioGroup {
|
|
93
|
+
gap: 5px;
|
|
95
94
|
}
|
|
96
95
|
|
|
97
|
-
|
|
96
|
+
.color-swatch-option-handler {
|
|
98
97
|
position: relative;
|
|
99
98
|
width: 32px;
|
|
100
99
|
height: 32px;
|
|
101
100
|
padding: 1rem;
|
|
102
101
|
border: 2px solid #ccc;
|
|
103
102
|
border-radius: 100%;
|
|
104
|
-
|
|
103
|
+
cursor: pointer;
|
|
105
104
|
|
|
106
105
|
&.active {
|
|
107
106
|
border: 2px solid red;
|
|
@@ -120,26 +119,15 @@ span.color-contrast-label {
|
|
|
120
119
|
}
|
|
121
120
|
}
|
|
122
121
|
|
|
123
|
-
.color-swatch-widget
|
|
122
|
+
.color-swatch-widget .color-swatch-option-handler {
|
|
124
123
|
background-color: var(--theme-color);
|
|
124
|
+
color: var(--theme-foreground-color);
|
|
125
125
|
}
|
|
126
126
|
|
|
127
|
-
.
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
.color-swatch-widget .button.active,
|
|
133
|
-
.color-swatch-widget .button.active:hover {
|
|
134
|
-
background-color: var(--theme-color);
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
.buttons-widget {
|
|
138
|
-
button {
|
|
139
|
-
&[data-disabled] {
|
|
140
|
-
border-color: var(--border-color-disabled);
|
|
141
|
-
color: var(--text-color-disabled);
|
|
142
|
-
}
|
|
127
|
+
.buttons-widget-option {
|
|
128
|
+
&[data-disabled] {
|
|
129
|
+
border-color: var(--border-color-disabled);
|
|
130
|
+
color: var(--text-color-disabled);
|
|
143
131
|
}
|
|
144
132
|
}
|
|
145
133
|
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
& > span,
|
|
27
27
|
.input-accordion-title {
|
|
28
28
|
@include introduction();
|
|
29
|
+
max-width: calc(100% - 50px); // 100% - svg height
|
|
29
30
|
color: $darkGrey;
|
|
30
31
|
}
|
|
31
32
|
|
|
@@ -67,6 +68,7 @@
|
|
|
67
68
|
|
|
68
69
|
.block.image {
|
|
69
70
|
figure {
|
|
71
|
+
margin-top: 0;
|
|
70
72
|
&.right {
|
|
71
73
|
margin-left: 20px;
|
|
72
74
|
}
|
|
@@ -91,13 +93,18 @@
|
|
|
91
93
|
}
|
|
92
94
|
}
|
|
93
95
|
|
|
94
|
-
.block.teaser
|
|
96
|
+
.block.teaser,
|
|
97
|
+
.block.listing {
|
|
95
98
|
.card-inner .card-summary {
|
|
96
|
-
|
|
97
|
-
padding:
|
|
98
|
-
margin-bottom: 20px !important;
|
|
99
|
+
.title {
|
|
100
|
+
padding: 0;
|
|
99
101
|
background: none;
|
|
100
102
|
text-transform: none;
|
|
103
|
+
@include text-heading-h2();
|
|
104
|
+
|
|
105
|
+
@container (max-width: #{$largest-mobile-screen}) {
|
|
106
|
+
@include text-heading-h3();
|
|
107
|
+
}
|
|
101
108
|
}
|
|
102
109
|
}
|
|
103
110
|
}
|
|
@@ -37,13 +37,6 @@
|
|
|
37
37
|
padding-top: 0;
|
|
38
38
|
margin-bottom: 0;
|
|
39
39
|
|
|
40
|
-
// External link icon
|
|
41
|
-
a.external {
|
|
42
|
-
.card-summary h2:after {
|
|
43
|
-
@include external-link-icon();
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
40
|
a {
|
|
48
41
|
text-decoration: none;
|
|
49
42
|
}
|
|
@@ -55,39 +48,6 @@
|
|
|
55
48
|
) !important;
|
|
56
49
|
}
|
|
57
50
|
}
|
|
58
|
-
|
|
59
|
-
.teaser-item {
|
|
60
|
-
height: 100%;
|
|
61
|
-
|
|
62
|
-
.image-wrapper {
|
|
63
|
-
margin-bottom: $spacing-medium;
|
|
64
|
-
|
|
65
|
-
img {
|
|
66
|
-
position: relative;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
.content {
|
|
70
|
-
padding: 0 $spacing-small $spacing-small $spacing-small;
|
|
71
|
-
@include body-text();
|
|
72
|
-
|
|
73
|
-
.headline {
|
|
74
|
-
margin-bottom: $spacing-small;
|
|
75
|
-
letter-spacing: 1px;
|
|
76
|
-
text-transform: uppercase;
|
|
77
|
-
@include headtitle1();
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
h2 {
|
|
81
|
-
padding: 0;
|
|
82
|
-
margin-bottom: $spacing-small !important;
|
|
83
|
-
@include text-heading-h3();
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
p {
|
|
87
|
-
margin-bottom: $spacing-small;
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
51
|
}
|
|
92
52
|
|
|
93
53
|
.block-editor-teaser {
|
|
@@ -173,11 +133,20 @@
|
|
|
173
133
|
content: '';
|
|
174
134
|
opacity: 0.75;
|
|
175
135
|
}
|
|
136
|
+
figure figcaption:not(:has(strong.title)) {
|
|
137
|
+
display: none;
|
|
138
|
+
}
|
|
139
|
+
figure:not(:has(figcaption strong.title)):after {
|
|
140
|
+
display: none;
|
|
141
|
+
}
|
|
176
142
|
}
|
|
177
143
|
|
|
178
144
|
.block-editor-image {
|
|
179
145
|
padding: 0;
|
|
180
146
|
margin: 0.5rem !important;
|
|
147
|
+
figure {
|
|
148
|
+
max-width: unset;
|
|
149
|
+
}
|
|
181
150
|
}
|
|
182
151
|
|
|
183
152
|
.block.listing {
|
|
@@ -294,11 +263,6 @@
|
|
|
294
263
|
#page-add .block-editor-gridBlock .block.gridBlock {
|
|
295
264
|
@media only screen and (min-width: $largest-mobile-screen) {
|
|
296
265
|
.one {
|
|
297
|
-
.block.teaser .teaser-item .content h2 {
|
|
298
|
-
margin-bottom: $spacing-medium !important;
|
|
299
|
-
@include text-heading-h2();
|
|
300
|
-
}
|
|
301
|
-
|
|
302
266
|
.slate {
|
|
303
267
|
h2 {
|
|
304
268
|
margin-bottom: $spacing-medium !important;
|
|
@@ -321,14 +285,6 @@
|
|
|
321
285
|
|
|
322
286
|
.two,
|
|
323
287
|
.three {
|
|
324
|
-
.teaser {
|
|
325
|
-
.teaser-item .content {
|
|
326
|
-
h2 {
|
|
327
|
-
margin-bottom: $spacing-small !important;
|
|
328
|
-
@include text-heading-h3();
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
288
|
.image {
|
|
333
289
|
figcaption {
|
|
334
290
|
.title {
|
|
@@ -355,26 +311,6 @@
|
|
|
355
311
|
}
|
|
356
312
|
|
|
357
313
|
.four {
|
|
358
|
-
.teaser {
|
|
359
|
-
.teaser-item {
|
|
360
|
-
.image-wrapper {
|
|
361
|
-
margin-bottom: $spacing-small !important;
|
|
362
|
-
}
|
|
363
|
-
.content {
|
|
364
|
-
.headline {
|
|
365
|
-
@include headtitle2();
|
|
366
|
-
}
|
|
367
|
-
h2 {
|
|
368
|
-
margin-bottom: $spacing-small !important;
|
|
369
|
-
@include text-heading-h4();
|
|
370
|
-
}
|
|
371
|
-
p {
|
|
372
|
-
margin-bottom: 0;
|
|
373
|
-
}
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
|
|
378
314
|
.image {
|
|
379
315
|
figcaption {
|
|
380
316
|
.title {
|
|
@@ -415,10 +351,6 @@
|
|
|
415
351
|
margin-bottom: 0;
|
|
416
352
|
}
|
|
417
353
|
|
|
418
|
-
.block.gridBlock h2.title {
|
|
419
|
-
margin-bottom: $spacing-small !important;
|
|
420
|
-
}
|
|
421
|
-
|
|
422
354
|
// Watch out for the following rule, it is used to override the default
|
|
423
355
|
// behavior of the block editor when selecting a block but it stopped working
|
|
424
356
|
// if the z-index is still -1 (from 6.0.0-alpha.0)
|