@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.
Files changed (200) hide show
  1. package/.changelog.draft +6 -9
  2. package/CHANGELOG.md +310 -0
  3. package/locales/af/LC_MESSAGES/volto.po +645 -0
  4. package/locales/ar/LC_MESSAGES/volto.po +645 -0
  5. package/locales/bg/LC_MESSAGES/volto.po +645 -0
  6. package/locales/bn/LC_MESSAGES/volto.po +645 -0
  7. package/locales/ca/LC_MESSAGES/volto.po +645 -0
  8. package/locales/cs/LC_MESSAGES/volto.po +645 -0
  9. package/locales/cy/LC_MESSAGES/volto.po +645 -0
  10. package/locales/da/LC_MESSAGES/volto.po +645 -0
  11. package/locales/de/LC_MESSAGES/volto.po +83 -167
  12. package/locales/el/LC_MESSAGES/volto.po +645 -0
  13. package/locales/en/LC_MESSAGES/volto.po +30 -115
  14. package/locales/en_AU/LC_MESSAGES/volto.po +645 -0
  15. package/locales/en_GB/LC_MESSAGES/volto.po +645 -0
  16. package/locales/eo/LC_MESSAGES/volto.po +645 -0
  17. package/locales/es/LC_MESSAGES/volto.po +75 -160
  18. package/locales/et/LC_MESSAGES/volto.po +645 -0
  19. package/locales/eu/LC_MESSAGES/volto.po +59 -125
  20. package/locales/fa/LC_MESSAGES/volto.po +645 -0
  21. package/locales/fi/LC_MESSAGES/volto.po +645 -0
  22. package/locales/fr/LC_MESSAGES/volto.po +645 -0
  23. package/locales/fu/LC_MESSAGES/volto.po +645 -0
  24. package/locales/ga/LC_MESSAGES/volto.po +645 -0
  25. package/locales/gl/LC_MESSAGES/volto.po +645 -0
  26. package/locales/he/LC_MESSAGES/volto.po +645 -0
  27. package/locales/hi/LC_MESSAGES/volto.po +645 -0
  28. package/locales/hr/LC_MESSAGES/volto.po +645 -0
  29. package/locales/hu/LC_MESSAGES/volto.po +645 -0
  30. package/locales/hy/LC_MESSAGES/volto.po +645 -0
  31. package/locales/id/LC_MESSAGES/volto.po +645 -0
  32. package/locales/it/LC_MESSAGES/volto.po +645 -0
  33. package/locales/ja/LC_MESSAGES/volto.po +645 -0
  34. package/locales/ka/LC_MESSAGES/volto.po +645 -0
  35. package/locales/kn/LC_MESSAGES/volto.po +645 -0
  36. package/locales/ko/LC_MESSAGES/volto.po +645 -0
  37. package/locales/lt/LC_MESSAGES/volto.po +645 -0
  38. package/locales/lv/LC_MESSAGES/volto.po +645 -0
  39. package/locales/mi/LC_MESSAGES/volto.po +645 -0
  40. package/locales/mk_MK/LC_MESSAGES/volto.po +645 -0
  41. package/locales/ms/LC_MESSAGES/volto.po +645 -0
  42. package/locales/mt/LC_MESSAGES/volto.po +645 -0
  43. package/locales/my/LC_MESSAGES/volto.po +645 -0
  44. package/locales/nl/LC_MESSAGES/volto.po +645 -0
  45. package/locales/nl_BE/LC_MESSAGES/volto.po +645 -0
  46. package/locales/nn/LC_MESSAGES/volto.po +645 -0
  47. package/locales/no/LC_MESSAGES/volto.po +645 -0
  48. package/locales/pl/LC_MESSAGES/volto.po +645 -0
  49. package/locales/pt/LC_MESSAGES/volto.po +645 -0
  50. package/locales/pt_BR/LC_MESSAGES/volto.po +38 -123
  51. package/locales/rm/LC_MESSAGES/volto.po +645 -0
  52. package/locales/ro/LC_MESSAGES/volto.po +645 -0
  53. package/locales/ru/LC_MESSAGES/volto.po +645 -0
  54. package/locales/sk/LC_MESSAGES/volto.po +645 -0
  55. package/locales/sl/LC_MESSAGES/volto.po +645 -0
  56. package/locales/sm/LC_MESSAGES/volto.po +645 -0
  57. package/locales/sq/LC_MESSAGES/volto.po +645 -0
  58. package/locales/sr/LC_MESSAGES/volto.po +645 -0
  59. package/locales/sr_Cyrl/LC_MESSAGES/volto.po +645 -0
  60. package/locales/sr_Latn/LC_MESSAGES/volto.po +645 -0
  61. package/locales/sv/LC_MESSAGES/volto.po +645 -0
  62. package/locales/sw/LC_MESSAGES/volto.po +645 -0
  63. package/locales/ta/LC_MESSAGES/volto.po +645 -0
  64. package/locales/te/LC_MESSAGES/volto.po +645 -0
  65. package/locales/th/LC_MESSAGES/volto.po +645 -0
  66. package/locales/tl/LC_MESSAGES/volto.po +645 -0
  67. package/locales/to/LC_MESSAGES/volto.po +645 -0
  68. package/locales/tr/LC_MESSAGES/volto.po +645 -0
  69. package/locales/uk/LC_MESSAGES/volto.po +645 -0
  70. package/locales/vi/LC_MESSAGES/volto.po +645 -0
  71. package/locales/volto.pot +31 -116
  72. package/locales/zh_CN/LC_MESSAGES/volto.po +645 -0
  73. package/locales/zh_HK/LC_MESSAGES/volto.po +645 -0
  74. package/locales/zh_TW/LC_MESSAGES/volto.po +645 -0
  75. package/package.json +7 -4
  76. package/src/__mocks__/semantic-ui-react.ts +31 -0
  77. package/src/components/Blocks/Block/EditBlockWrapper.jsx +9 -3
  78. package/src/components/Blocks/Button/schema.js +12 -0
  79. package/src/components/Blocks/EventCalendar/Search/components/EventTemplate.tsx +1 -1
  80. package/src/components/Blocks/Image/Edit.jsx +9 -32
  81. package/src/components/Blocks/Image/View.jsx +9 -26
  82. package/src/components/Blocks/Image/adapter.js +28 -14
  83. package/src/components/Blocks/Image/adapter.test.js +156 -0
  84. package/src/components/Blocks/Image/schema.js +21 -7
  85. package/src/components/Blocks/Listing/DefaultTemplate.jsx +12 -6
  86. package/src/components/Blocks/Listing/GridTemplate.jsx +17 -7
  87. package/src/components/Blocks/Listing/ListingBody.jsx +4 -1
  88. package/src/components/Blocks/Listing/SummaryTemplate.jsx +17 -7
  89. package/src/components/Blocks/Maps/MapsSidebar.jsx +68 -0
  90. package/src/components/Blocks/Maps/View.jsx +37 -0
  91. package/src/components/Blocks/Maps/adapter.js +27 -0
  92. package/src/components/Blocks/Maps/adapter.test.js +63 -0
  93. package/src/components/Blocks/Maps/schema.js +42 -2
  94. package/src/components/Blocks/Separator/schema.js +12 -0
  95. package/src/components/Blocks/Teaser/DefaultBody.tsx +35 -6
  96. package/src/components/Blocks/Video/VideoSidebar.jsx +68 -0
  97. package/src/components/Blocks/Video/View.jsx +38 -0
  98. package/src/components/Blocks/Video/adapter.js +28 -0
  99. package/src/components/Blocks/Video/adapter.test.js +63 -0
  100. package/src/components/Blocks/Video/schema.js +42 -2
  101. package/src/components/Blocks/schema.ts +69 -0
  102. package/src/components/Breadcrumbs/Breadcrumbs.test.tsx +128 -0
  103. package/src/components/Breadcrumbs/Breadcrumbs.tsx +117 -0
  104. package/src/components/Caption/Caption.test.tsx +31 -0
  105. package/src/components/Caption/{Caption.jsx → Caption.tsx} +14 -21
  106. package/src/components/Footer/ColumnLinks.tsx +2 -2
  107. package/src/components/Footer/Footer.tsx +2 -2
  108. package/src/components/Footer/slots/Colophon.tsx +13 -1
  109. package/src/components/Footer/slots/CoreFooter.tsx +4 -2
  110. package/src/components/Footer/slots/FollowUsLogoAndLinks.tsx +12 -23
  111. package/src/components/Header/Header.tsx +3 -3
  112. package/src/components/LanguageSelector/LanguageSelector.tsx +91 -0
  113. package/src/components/MobileNavigation/MobileNavigation.jsx +11 -9
  114. package/src/components/Navigation/Navigation.test.tsx +176 -0
  115. package/src/components/Navigation/{Navigation.jsx → Navigation.tsx} +89 -42
  116. package/src/components/StickyMenu/MobileCarouselArrowButton.tsx +81 -0
  117. package/src/components/StickyMenu/MobileStickyMenu.tsx +76 -0
  118. package/src/components/Summary/DefaultSummary.tsx +10 -3
  119. package/src/components/Summary/EventSummary.tsx +10 -3
  120. package/src/components/Summary/FileSummary.tsx +10 -3
  121. package/src/components/Summary/NewsItemSummary.tsx +10 -3
  122. package/src/components/Summary/PersonSummary.tsx +10 -3
  123. package/src/components/Summary/Summary.stories.tsx +46 -30
  124. package/src/components/Tags/Tags.test.tsx +71 -0
  125. package/src/components/Tags/{Tags.jsx → Tags.tsx} +9 -25
  126. package/src/components/Theme/EventView.jsx +4 -4
  127. package/src/components/Theme/ImageView.jsx +8 -1
  128. package/src/components/Theme/NewsItemView.jsx +4 -4
  129. package/src/components/Theme/RenderBlocksV2.jsx +38 -15
  130. package/src/components/Widgets/ColorSwatch.stories.tsx +197 -0
  131. package/src/components/Widgets/ColorSwatch.test.tsx +188 -0
  132. package/src/components/Widgets/ColorSwatch.tsx +77 -39
  133. package/src/components/Widgets/ObjectList.tsx +37 -27
  134. package/src/components/Widgets/SoftTextWidget.tsx +129 -0
  135. package/src/components/Widgets/SoftTextareaWidget.tsx +118 -0
  136. package/src/components/Widgets/ThemeColorSwatch.tsx +5 -9
  137. package/src/config/blocks.tsx +83 -28
  138. package/src/config/classExtenders.ts +11 -10
  139. package/src/config/settings.ts +6 -0
  140. package/src/config/slots.ts +7 -0
  141. package/src/config/widgets.ts +5 -9
  142. package/src/customizations/volto/components/manage/Blocks/Maps/MapsSidebar.jsx +10 -0
  143. package/src/customizations/volto/components/manage/Blocks/Maps/View.jsx +10 -0
  144. package/src/customizations/volto/components/manage/Blocks/Video/VideoSidebar.jsx +10 -0
  145. package/src/customizations/volto/components/manage/Blocks/Video/View.jsx +10 -0
  146. package/src/customizations/volto/components/manage/DragDropList/DragDropList.jsx +263 -0
  147. package/src/customizations/volto/components/theme/LanguageSelector/LanguageSelector.tsx +10 -0
  148. package/src/helpers/styleDefinitions.test.tsx +30 -0
  149. package/src/helpers/styleDefinitions.ts +49 -0
  150. package/src/helpers/useLiveData.ts +7 -2
  151. package/src/index.ts +15 -0
  152. package/src/internalChecks.test.ts +94 -0
  153. package/src/primitives/Card/Card.stories.tsx +4 -1
  154. package/src/primitives/Card/Card.test.tsx +11 -33
  155. package/src/primitives/Card/Card.tsx +37 -44
  156. package/src/primitives/IconLinkList.tsx +53 -52
  157. package/src/primitives/LinkIconButton.tsx +52 -0
  158. package/src/reducers/errorContext.ts +14 -0
  159. package/src/reducers/index.ts +7 -0
  160. package/src/theme/_bgcolor-blocks-layout.scss +48 -46
  161. package/src/theme/_content.scss +12 -13
  162. package/src/theme/_export_import.scss +94 -0
  163. package/src/theme/_footer.scss +131 -64
  164. package/src/theme/_header.scss +25 -5
  165. package/src/theme/_insets.scss +1 -1
  166. package/src/theme/_layout.scss +41 -77
  167. package/src/theme/_mobile-sticky-menu.scss +92 -0
  168. package/src/theme/_search-page.scss +250 -0
  169. package/src/theme/_typo-custom.scss +24 -8
  170. package/src/theme/_variables.scss +40 -4
  171. package/src/theme/_widgets.scss +6 -17
  172. package/src/theme/blocks/_accordion.scss +11 -4
  173. package/src/theme/blocks/_form.scss +350 -0
  174. package/src/theme/blocks/_grid.scss +10 -77
  175. package/src/theme/blocks/_highlight.scss +10 -7
  176. package/src/theme/blocks/_image.scss +99 -184
  177. package/src/theme/blocks/_listing.scss +61 -128
  178. package/src/theme/blocks/_maps.scss +60 -34
  179. package/src/theme/blocks/_search.scss +3 -4
  180. package/src/theme/blocks/_table.scss +1 -0
  181. package/src/theme/blocks/_teaser.scss +7 -117
  182. package/src/theme/blocks/_toc.scss +2 -1
  183. package/src/theme/card.scss +136 -69
  184. package/src/theme/main.scss +4 -0
  185. package/src/theme/notfound.scss +2 -0
  186. package/src/theme/person.scss +7 -1
  187. package/src/theme/sticky-menu.scss +7 -5
  188. package/src/transforms/to6.ts +5 -49
  189. package/src/transforms/to8.test.js +201 -0
  190. package/src/transforms/to8.ts +109 -0
  191. package/src/types.d.ts +1 -0
  192. package/vitest.config.mjs +28 -3
  193. package/razzle.extend.js +0 -38
  194. package/src/components/Blocks/schema.js +0 -44
  195. package/src/components/Breadcrumbs/Breadcrumbs.jsx +0 -118
  196. package/src/components/Widgets/AlignWidget.tsx +0 -84
  197. package/src/components/Widgets/BlockAlignment.tsx +0 -88
  198. package/src/components/Widgets/BlockWidth.tsx +0 -101
  199. package/src/components/Widgets/Buttons.tsx +0 -167
  200. package/src/components/Widgets/Size.tsx +0 -78
@@ -89,20 +89,18 @@ span.color-contrast-label {
89
89
  }
90
90
 
91
91
  .color-swatch-widget {
92
- .buttons {
93
- flex: 1 1 100%;
94
- margin: 1rem 0 0.5rem;
95
- text-align: center;
92
+ .react-aria-RadioGroup {
93
+ gap: 5px;
96
94
  }
97
95
 
98
- button {
96
+ .color-swatch-option-handler {
99
97
  position: relative;
100
98
  width: 32px;
101
99
  height: 32px;
102
100
  padding: 1rem;
103
101
  border: 2px solid #ccc;
104
102
  border-radius: 100%;
105
- margin-right: 0.25rem;
103
+ cursor: pointer;
106
104
 
107
105
  &.active {
108
106
  border: 2px solid red;
@@ -121,18 +119,9 @@ span.color-contrast-label {
121
119
  }
122
120
  }
123
121
 
124
- .color-swatch-widget button {
125
- background-color: var(--theme-color);
126
- }
127
-
128
- .color-swatch-widget .button.grey,
129
- .color-swatch-widget .button.grey.active,
130
- .color-swatch-widget .ui.grey.button:hover {
131
- background-color: var(--theme-color);
132
- }
133
- .color-swatch-widget .button.active,
134
- .color-swatch-widget .button.active:hover {
122
+ .color-swatch-widget .color-swatch-option-handler {
135
123
  background-color: var(--theme-color);
124
+ color: var(--theme-foreground-color);
136
125
  }
137
126
 
138
127
  .buttons-widget-option {
@@ -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
- h2.title {
97
- padding: 0px;
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
  }
@@ -0,0 +1,350 @@
1
+ %form-outlined-button {
2
+ display: inline-flex;
3
+ align-items: center;
4
+ padding: 8px 20px;
5
+ border: 1px solid var(--theme-foreground-color);
6
+ border-radius: 0;
7
+ margin: 0;
8
+ background-color: var(--theme-color);
9
+ color: var(--theme-foreground-color);
10
+
11
+ @include body-text-bold();
12
+
13
+ &:hover,
14
+ &:active,
15
+ &:focus {
16
+ border-color: var(--theme-foreground-color);
17
+ background-color: var(--theme-foreground-color);
18
+ color: var(--theme-color);
19
+ }
20
+ }
21
+
22
+ .block.schemaForm {
23
+ --form-error-foreground: #cc0000;
24
+ --form-error-background: #f2cecd;
25
+
26
+ & > h2,
27
+ & > p,
28
+ & > .formDescription,
29
+ & > .container {
30
+ @include default-container-width();
31
+ @include adjustMarginsToContainer($default-container-width);
32
+ }
33
+
34
+ h2 {
35
+ @include block-title();
36
+
37
+ margin-bottom: $spacing-small;
38
+ }
39
+
40
+ .formDescription {
41
+ margin-bottom: $spacing-medium;
42
+ }
43
+
44
+ form.ui.form {
45
+ fieldset {
46
+ padding: 0;
47
+ border: 0;
48
+ margin: 0;
49
+ }
50
+
51
+ .ui.segments,
52
+ .ui.raised.segments,
53
+ .ui.segment {
54
+ padding: 0;
55
+ border: 0;
56
+ border-radius: 0;
57
+ margin: 0;
58
+ background: none;
59
+ box-shadow: none;
60
+
61
+ &::before,
62
+ &::after {
63
+ display: none;
64
+ }
65
+ }
66
+
67
+ .field {
68
+ padding-bottom: 0 !important;
69
+ margin-bottom: $spacing-small;
70
+
71
+ .ui.grid {
72
+ display: block;
73
+ margin: 0;
74
+
75
+ > .row {
76
+ display: block;
77
+ padding: 0;
78
+ }
79
+
80
+ > .row > .column {
81
+ width: 100% !important;
82
+ padding: 0;
83
+ }
84
+ }
85
+
86
+ .wrapper > label {
87
+ display: block;
88
+ margin-bottom: 0;
89
+
90
+ @include add(size, xs);
91
+ @include add(height, s);
92
+ @include add(weight, bold);
93
+
94
+ color: var(--theme-low-contrast-foreground-color);
95
+ opacity: 0.9;
96
+ }
97
+
98
+ &:focus-within .wrapper > label {
99
+ color: var(--theme-foreground-color);
100
+ opacity: 1;
101
+ }
102
+
103
+ &.required .wrapper > label::after {
104
+ margin-left: 2px;
105
+ background: none;
106
+ content: '*';
107
+ }
108
+
109
+ &.required .wrapper .ui.checkbox::after {
110
+ margin-left: 2px;
111
+ background: none;
112
+ content: '*';
113
+ }
114
+
115
+ .help {
116
+ border-bottom: none;
117
+ margin: 0;
118
+
119
+ color: var(--theme-low-contrast-foreground-color);
120
+
121
+ @include add(size, xs);
122
+ @include add(height, m);
123
+ }
124
+
125
+ &.error {
126
+ .wrapper > label,
127
+ .help {
128
+ color: var(--form-error-foreground);
129
+ }
130
+
131
+ .ui.input > input,
132
+ input[type='text'],
133
+ input[type='email'],
134
+ input[type='number'],
135
+ input[type='password'],
136
+ textarea,
137
+ .react-select__control,
138
+ .DateInput_input,
139
+ .rc-time-picker-input {
140
+ background: var(--form-error-background);
141
+ color: var(--form-error-foreground);
142
+
143
+ &::placeholder {
144
+ color: var(--form-error-foreground);
145
+ }
146
+ }
147
+ }
148
+
149
+ &.textarea .wrapper {
150
+ margin-top: 0;
151
+ }
152
+ }
153
+
154
+ .ui.input {
155
+ width: 100%;
156
+ }
157
+
158
+ .ui.input > input,
159
+ input[type='text'],
160
+ input[type='email'],
161
+ input[type='number'],
162
+ input[type='password'],
163
+ textarea,
164
+ .react-select__control,
165
+ .DateInput_input,
166
+ .rc-time-picker-input {
167
+ width: 100%;
168
+ padding: $spacing-small;
169
+ border: 0;
170
+ border-radius: 0;
171
+ background: var(--theme-high-contrast-color);
172
+ box-shadow: none;
173
+ color: var(--theme-foreground-color);
174
+
175
+ @include body-text();
176
+
177
+ &::placeholder {
178
+ color: var(--theme-low-contrast-foreground-color);
179
+ opacity: 0.6;
180
+ }
181
+
182
+ &:focus,
183
+ &:focus-visible {
184
+ outline: 2px solid var(--theme-foreground-color);
185
+ outline-offset: -2px;
186
+ }
187
+ }
188
+
189
+ textarea {
190
+ min-height: 180px;
191
+ margin-top: 5px;
192
+ resize: vertical;
193
+ }
194
+
195
+ .react-select__control {
196
+ display: flex;
197
+ min-height: auto;
198
+ padding: $spacing-small;
199
+
200
+ .react-select__value-container {
201
+ padding: 0;
202
+ }
203
+
204
+ .react-select__single-value {
205
+ color: var(--theme-foreground-color);
206
+ }
207
+
208
+ .react-select__placeholder {
209
+ color: var(--theme-low-contrast-foreground-color);
210
+ opacity: 0.6;
211
+ }
212
+
213
+ .react-select__indicator-separator {
214
+ display: none;
215
+ }
216
+
217
+ .react-select__indicator svg path {
218
+ fill: var(--theme-foreground-color);
219
+ }
220
+ }
221
+
222
+ .react-select__menu {
223
+ border-radius: 0;
224
+ margin: 0;
225
+ background: var(--theme-high-contrast-color);
226
+ box-shadow: 0 5px 20px 0 rgba(0, 0, 0, 0.25);
227
+ }
228
+
229
+ .react-select__menu-list {
230
+ padding: 0;
231
+ }
232
+
233
+ .react-select__option {
234
+ padding: 12px $spacing-small;
235
+ background: transparent;
236
+ color: var(--theme-foreground-color);
237
+ cursor: pointer;
238
+
239
+ @include body-text();
240
+
241
+ &.react-select__option--is-focused,
242
+ &.react-select__option--is-selected {
243
+ background: var(--theme-foreground-color);
244
+ color: var(--theme-high-contrast-color);
245
+ }
246
+ }
247
+
248
+ .date-time-widget-wrapper {
249
+ display: flex;
250
+ flex-wrap: wrap;
251
+ align-items: center;
252
+ gap: $spacing-small;
253
+
254
+ .DateInput {
255
+ width: 140px;
256
+ }
257
+ .time-input input {
258
+ width: 90px !important;
259
+ }
260
+ }
261
+
262
+ .file-widget-dropzone {
263
+ display: flex;
264
+ flex-direction: column;
265
+ align-items: flex-start;
266
+ margin-bottom: $spacing-small;
267
+ cursor: pointer;
268
+ gap: $spacing-small;
269
+
270
+ .dropzone-placeholder {
271
+ width: 100%;
272
+ padding: $spacing-medium;
273
+ margin-top: 0;
274
+ background: var(--theme-high-contrast-color);
275
+ }
276
+
277
+ .dropzone-text {
278
+ margin: 0;
279
+
280
+ @include body-text();
281
+
282
+ color: var(--theme-low-contrast-foreground-color);
283
+ }
284
+
285
+ .label-file-widget-input {
286
+ @extend %form-outlined-button;
287
+ }
288
+ }
289
+
290
+ .field.help .file-widget-dropzone {
291
+ margin-bottom: 0;
292
+ }
293
+
294
+ .ui.segment.actions {
295
+ display: flex;
296
+ padding: 0;
297
+ margin-top: $spacing-xlarge;
298
+ gap: $spacing-small;
299
+
300
+ &::after {
301
+ display: none;
302
+ }
303
+
304
+ button {
305
+ @extend %form-outlined-button;
306
+
307
+ float: none !important;
308
+
309
+ &:not(.primary) {
310
+ border-color: var(--theme-low-contrast-foreground-color);
311
+ color: var(--theme-low-contrast-foreground-color);
312
+
313
+ &:hover,
314
+ &:active,
315
+ &:focus {
316
+ border-color: var(--theme-low-contrast-foreground-color);
317
+ background-color: var(--theme-low-contrast-foreground-color);
318
+ color: var(--theme-color);
319
+ }
320
+ }
321
+ }
322
+ }
323
+ }
324
+
325
+ .inline.field .wrapper {
326
+ min-height: auto;
327
+ border-bottom: none;
328
+ }
329
+
330
+ .field-file-name:empty {
331
+ display: none;
332
+ }
333
+
334
+ .negative.attached.message {
335
+ flex-direction: row;
336
+ }
337
+ }
338
+
339
+ #page-edit,
340
+ #page-add {
341
+ .block.schemaForm {
342
+ .field {
343
+ .toolbar {
344
+ display: flex;
345
+ align-items: flex-start;
346
+ margin-top: 15px;
347
+ }
348
+ }
349
+ }
350
+ }
@@ -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 {
@@ -129,6 +89,7 @@
129
89
  }
130
90
 
131
91
  .block.image {
92
+ margin-top: 0;
132
93
  figcaption {
133
94
  position: absolute;
134
95
  z-index: 100;
@@ -173,11 +134,20 @@
173
134
  content: '';
174
135
  opacity: 0.75;
175
136
  }
137
+ figure figcaption:not(:has(strong.title)) {
138
+ display: none;
139
+ }
140
+ figure:not(:has(figcaption strong.title)):after {
141
+ display: none;
142
+ }
176
143
  }
177
144
 
178
145
  .block-editor-image {
179
146
  padding: 0;
180
147
  margin: 0.5rem !important;
148
+ figure {
149
+ max-width: unset;
150
+ }
181
151
  }
182
152
 
183
153
  .block.listing {
@@ -294,11 +264,6 @@
294
264
  #page-add .block-editor-gridBlock .block.gridBlock {
295
265
  @media only screen and (min-width: $largest-mobile-screen) {
296
266
  .one {
297
- .block.teaser .teaser-item .content h2 {
298
- margin-bottom: $spacing-medium !important;
299
- @include text-heading-h2();
300
- }
301
-
302
267
  .slate {
303
268
  h2 {
304
269
  margin-bottom: $spacing-medium !important;
@@ -321,14 +286,6 @@
321
286
 
322
287
  .two,
323
288
  .three {
324
- .teaser {
325
- .teaser-item .content {
326
- h2 {
327
- margin-bottom: $spacing-small !important;
328
- @include text-heading-h3();
329
- }
330
- }
331
- }
332
289
  .image {
333
290
  figcaption {
334
291
  .title {
@@ -355,26 +312,6 @@
355
312
  }
356
313
 
357
314
  .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
315
  .image {
379
316
  figcaption {
380
317
  .title {
@@ -415,10 +352,6 @@
415
352
  margin-bottom: 0;
416
353
  }
417
354
 
418
- .block.gridBlock h2.title {
419
- margin-bottom: $spacing-small !important;
420
- }
421
-
422
355
  // Watch out for the following rule, it is used to override the default
423
356
  // behavior of the block editor when selecting a block but it stopped working
424
357
  // if the z-index is still -1 (from 6.0.0-alpha.0)
@@ -6,11 +6,10 @@
6
6
  @include highlight-title();
7
7
  }
8
8
  .description {
9
- a,
10
- p,
11
- span {
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
- .block.highlight.has--descriptionColor--highlight-custom-color-2,
24
- .block-editor-highlight.has--descriptionColor--highlight-custom-color-2 .block {
25
- --theme-foreground-color: #fff;
25
+ .color-swatch-widget[class*='field-wrapper-descriptionColor'] {
26
+ & + .color-swatch-widget.field-wrapper-theme {
27
+ padding-top: 16px;
28
+ }
26
29
  }