design-comuni-plone-theme 11.1.1 → 11.1.4

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 (52) hide show
  1. package/.yarn/versions/9051426c.yml +0 -0
  2. package/CHANGELOG.md +33 -0
  3. package/RELEASE.md +6 -0
  4. package/package.json +1 -1
  5. package/publiccode.yml +2 -2
  6. package/src/components/ItaliaTheme/Blocks/Alert/Edit.jsx +1 -1
  7. package/src/components/ItaliaTheme/Blocks/Alert/View.jsx +3 -1
  8. package/src/components/ItaliaTheme/Blocks/BandiSearch/Body.jsx +49 -43
  9. package/src/components/ItaliaTheme/Blocks/EventSearch/Body.jsx +49 -43
  10. package/src/components/ItaliaTheme/Blocks/UOSearch/Body.jsx +49 -43
  11. package/src/config/Blocks/ListingOptions/bandiInEvidenceTemplate.js +1 -1
  12. package/src/config/Blocks/ListingOptions/cardWithImageTemplate.js +1 -1
  13. package/src/config/Blocks/ListingOptions/cardWithSlideUpTextTemplate.js +1 -1
  14. package/src/config/Blocks/ListingOptions/completeBlockLinksTemplate.js +1 -1
  15. package/src/config/Blocks/ListingOptions/defaultOptions.js +1 -1
  16. package/src/config/Blocks/ListingOptions/inEvidenceTemplate.js +1 -1
  17. package/src/config/Blocks/ListingOptions/mapTemplate.js +1 -1
  18. package/src/config/Blocks/ListingOptions/photogalleryTemplate.js +1 -1
  19. package/src/config/Blocks/ListingOptions/ribbonCardTemplate.js +1 -1
  20. package/src/config/Blocks/ListingOptions/simpleCardTemplate.js +1 -1
  21. package/src/config/Blocks/ListingOptions/simpleListTemplate.js +1 -1
  22. package/src/config/Blocks/ListingOptions/sliderTemplate.js +1 -1
  23. package/src/config/Blocks/ListingOptions/smallBlockLinksTemplate.js +1 -1
  24. package/src/config/Blocks/ListingOptions/utils.js +3 -3
  25. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Blocks/_argumentsInEvidence.scss +17 -0
  26. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Blocks/_cardWithImageAndInEvidence.scss +17 -0
  27. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Blocks/_completeBlockLinktemplate.scss +13 -0
  28. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Blocks/_highlitedContent.scss +14 -0
  29. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Blocks/_ribbonCardTemplate.scss +18 -0
  30. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Blocks/_searchSections.scss +33 -0
  31. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Components/_subsiteFooter.scss +27 -0
  32. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Views/_common.scss +65 -0
  33. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/_common.scss +26 -0
  34. package/src/theme/ItaliaTheme/SubsitesOld/_all_variables.scss +12 -0
  35. package/src/theme/ItaliaTheme/SubsitesOld/_common.scss +12 -0
  36. package/src/theme/ItaliaTheme/SubsitesOld/_mixin.scss +120 -0
  37. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/_brand-text.scss +52 -0
  38. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_buttons.scss +109 -0
  39. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_card.scss +23 -0
  40. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_chips.scss +57 -0
  41. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_dropdown.scss +7 -0
  42. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_header.scss +44 -0
  43. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_headercenter.scss +101 -0
  44. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_headernavbar.scss +25 -0
  45. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_headerslim.scss +42 -0
  46. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_linklist.scss +46 -0
  47. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_megamenu.scss +53 -0
  48. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_nav.scss +24 -0
  49. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_navigation.scss +170 -0
  50. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_navscroll.scss +71 -0
  51. package/src/theme/bootstrap-override/bootstrap-italia/_card.scss +1 -1
  52. package/src/theme/extras/_modals.scss +0 -17
File without changes
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
 
2
2
 
3
+ ## [11.1.4](https://github.com/RedTurtle/design-comuni-plone-theme/compare/v11.1.3...v11.1.4) (2024-01-05)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * allow submit when pressing enter key in search blocks ([#451](https://github.com/RedTurtle/design-comuni-plone-theme/issues/451)) ([947f983](https://github.com/RedTurtle/design-comuni-plone-theme/commit/947f9837d532017f5dcb3f25826ea56d6bb2e93b))
9
+ * backwards compatibility for background color var of Alert block ([#459](https://github.com/RedTurtle/design-comuni-plone-theme/issues/459)) ([7cf6626](https://github.com/RedTurtle/design-comuni-plone-theme/commit/7cf6626131276a79b765fc6f9a102522d7d9ed56))
10
+ * changed max width of card-body to fit image ([#453](https://github.com/RedTurtle/design-comuni-plone-theme/issues/453)) ([d836021](https://github.com/RedTurtle/design-comuni-plone-theme/commit/d83602136fa6800758184e1b6b403f363062654b))
11
+ * removed style that hides modal close icon ([#455](https://github.com/RedTurtle/design-comuni-plone-theme/issues/455)) ([59dd922](https://github.com/RedTurtle/design-comuni-plone-theme/commit/59dd922b1120a87febaca51a1fb337c85cb4b9c8))
12
+
13
+
14
+ ### Maintenance
15
+
16
+ * preparing relase 11.1.4 ([2edb3c7](https://github.com/RedTurtle/design-comuni-plone-theme/commit/2edb3c7e7c840c63f00c2fadac0781c5e33b35c0))
17
+
18
+ ## [11.1.3](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.1.1...v11.1.3) (2023-12-27)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * listing options order ([#449](https://github.com/redturtle/design-comuni-plone-theme/issues/449)) ([226c67e](https://github.com/redturtle/design-comuni-plone-theme/commit/226c67ee53d2d982b33ad214458b82ec892ddd2b))
24
+ * restored old mixin to avoid compulsory update of all subsites ([#450](https://github.com/redturtle/design-comuni-plone-theme/issues/450)) ([99fe070](https://github.com/redturtle/design-comuni-plone-theme/commit/99fe070a381e7c459e1a53e84b25cb8792219c56))
25
+
26
+
27
+ ### Documentation
28
+
29
+ * updated publiccode ([0abde1f](https://github.com/redturtle/design-comuni-plone-theme/commit/0abde1f6cb9182e8595000eee193e4fa05ddf1e6))
30
+
31
+
32
+ ### Maintenance
33
+
34
+ * release 11.1.2 ([08b3f2e](https://github.com/redturtle/design-comuni-plone-theme/commit/08b3f2e03aba8a76d8e5b7db68fa3575492548c2))
35
+
3
36
  ## [11.1.1](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.1.0...v11.1.1) (2023-12-22)
4
37
 
5
38
 
package/RELEASE.md CHANGED
@@ -41,6 +41,12 @@
41
41
  - ...
42
42
  -->
43
43
 
44
+ ## Versione 11.1.4 (dd/mm/yyyy)
45
+
46
+ ### Fix
47
+
48
+ - Risolto il problema di layout nelle card che indicano dei luoghi.
49
+
44
50
  ## Versione 11.1.1 (22/12/2023)
45
51
 
46
52
  ### Fix
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "design-comuni-plone-theme",
3
3
  "description": "Volto Theme for Italia design guidelines",
4
4
  "license": "GPL-v3",
5
- "version": "11.1.1",
5
+ "version": "11.1.4",
6
6
  "main": "src/index.js",
7
7
  "keywords": [
8
8
  "volto-addon",
package/publiccode.yml CHANGED
@@ -227,9 +227,9 @@ maintenance:
227
227
  name: io-Comune - Il sito AgID per Comuni ed Enti Pubblici
228
228
  platforms:
229
229
  - web
230
- releaseDate: '2023-12-22'
230
+ releaseDate: '2024-01-05'
231
231
  softwareType: standalone/web
232
- softwareVersion: 11.1.1
232
+ softwareVersion: 11.1.4
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -60,7 +60,7 @@ class Edit extends Component {
60
60
  constructor(props) {
61
61
  super(props);
62
62
  if (!this.props.data.bg_color) {
63
- this.props.data.bg_color = 'warning';
63
+ this.props.data.bg_color = this.props.data.color ?? 'warning'; // backwards compatibility with previous background-color variable name 'color'
64
64
  }
65
65
  this.blockNode = React.createRef();
66
66
  }
@@ -27,9 +27,11 @@ const View = ({ data, pathname }) => {
27
27
  )
28
28
  : '';
29
29
 
30
+ const background_color = data.bg_color ?? data.color; // backwards compatibility with previous background-color variable name 'color'
31
+
30
32
  return (
31
33
  <section role="alert" className="block alertblock">
32
- <div className={cx('full-width', 'bg-alert-' + data.bg_color)}>
34
+ <div className={cx('full-width', 'bg-alert-' + background_color)}>
33
35
  <Container className="p-4 pt-5 pb-5">
34
36
  <Row className="align-items-start">
35
37
  {data.image?.data && (
@@ -149,54 +149,60 @@ const Body = ({ data, inEditMode, path, onChangeBlock }) => {
149
149
  'public-ui': inEditMode,
150
150
  })}
151
151
  >
152
- <div className="d-flex justify-content-center">
153
- <div className="d-flex search-container align-items-center justify-content-center flex-wrap">
154
- {filterOne && (
155
- <>
156
- {React.createElement(filterOne.widget.component, {
157
- ...filterOne.widget?.props,
158
- id: 'filterOne',
159
- onChange: (filter, value) => {
152
+ <form
153
+ onSubmit={(event) => {
154
+ event.preventDefault();
155
+ doRequest(1);
156
+ }}
157
+ >
158
+ <div className="d-flex justify-content-center">
159
+ <div className="d-flex search-container align-items-center justify-content-center flex-wrap">
160
+ {filterOne && (
161
+ <>
162
+ {React.createElement(filterOne.widget.component, {
163
+ ...filterOne.widget?.props,
164
+ id: 'filterOne',
165
+ onChange: (filter, value) => {
166
+ dispatchFilter({
167
+ filter: filter,
168
+ value: value,
169
+ });
170
+ },
171
+ })}
172
+ </>
173
+ )}
174
+ {filterTwo &&
175
+ React.createElement(filterTwo.widget?.component, {
176
+ ...filterTwo.widget?.props,
177
+ id: 'filterTwo',
178
+ onChange: (filter, value) =>
160
179
  dispatchFilter({
161
180
  filter: filter,
162
181
  value: value,
163
- });
164
- },
182
+ }),
165
183
  })}
166
- </>
167
- )}
168
- {filterTwo &&
169
- React.createElement(filterTwo.widget?.component, {
170
- ...filterTwo.widget?.props,
171
- id: 'filterTwo',
172
- onChange: (filter, value) =>
173
- dispatchFilter({
174
- filter: filter,
175
- value: value,
176
- }),
177
- })}
178
- {filterThree &&
179
- React.createElement(filterThree.widget?.component, {
180
- ...filterThree.widget?.props,
181
- id: 'filterThree',
182
- onChange: (filter, value) =>
183
- dispatchFilter({
184
- filter: filter,
185
- value: value,
186
- }),
187
- })}
188
-
189
- <Button
190
- color={data.button_color || 'tertiary'}
191
- icon={false}
192
- tag="button"
193
- onClick={() => doRequest(1)}
194
- className="my-2 my-lg-1"
195
- >
196
- {intl.formatMessage(messages.find)}
197
- </Button>
184
+ {filterThree &&
185
+ React.createElement(filterThree.widget?.component, {
186
+ ...filterThree.widget?.props,
187
+ id: 'filterThree',
188
+ onChange: (filter, value) =>
189
+ dispatchFilter({
190
+ filter: filter,
191
+ value: value,
192
+ }),
193
+ })}
194
+
195
+ <Button
196
+ color={data.button_color || 'tertiary'}
197
+ icon={false}
198
+ tag="button"
199
+ className="my-2 my-lg-1"
200
+ >
201
+ {intl.formatMessage(messages.find)}
202
+ </Button>
203
+ </div>
198
204
  </div>
199
- </div>
205
+ </form>
200
206
  </div>
201
207
 
202
208
  {!loading ? (
@@ -159,54 +159,60 @@ const Body = ({ data, inEditMode, path, onChangeBlock }) => {
159
159
  'public-ui': inEditMode,
160
160
  })}
161
161
  >
162
- <div className="d-flex justify-content-center">
163
- <div className="d-flex search-container align-items-center justify-content-center flex-wrap">
164
- {filterOne && (
165
- <>
166
- {React.createElement(filterOne.widget.component, {
167
- ...filterOne.widget?.props,
168
- id: 'filterOne',
169
- onChange: (filter, value) => {
162
+ <form
163
+ onSubmit={(event) => {
164
+ event.preventDefault();
165
+ doRequest(1);
166
+ }}
167
+ >
168
+ <div className="d-flex justify-content-center">
169
+ <div className="d-flex search-container align-items-center justify-content-center flex-wrap">
170
+ {filterOne && (
171
+ <>
172
+ {React.createElement(filterOne.widget.component, {
173
+ ...filterOne.widget?.props,
174
+ id: 'filterOne',
175
+ onChange: (filter, value) => {
176
+ dispatchFilter({
177
+ filter: filter,
178
+ value: value,
179
+ });
180
+ },
181
+ })}
182
+ </>
183
+ )}
184
+ {filterTwo &&
185
+ React.createElement(filterTwo.widget?.component, {
186
+ ...filterTwo.widget?.props,
187
+ id: 'filterTwo',
188
+ onChange: (filter, value) =>
170
189
  dispatchFilter({
171
190
  filter: filter,
172
191
  value: value,
173
- });
174
- },
192
+ }),
175
193
  })}
176
- </>
177
- )}
178
- {filterTwo &&
179
- React.createElement(filterTwo.widget?.component, {
180
- ...filterTwo.widget?.props,
181
- id: 'filterTwo',
182
- onChange: (filter, value) =>
183
- dispatchFilter({
184
- filter: filter,
185
- value: value,
186
- }),
187
- })}
188
- {filterThree &&
189
- React.createElement(filterThree.widget?.component, {
190
- ...filterThree.widget?.props,
191
- id: 'filterThree',
192
- onChange: (filter, value) =>
193
- dispatchFilter({
194
- filter: filter,
195
- value: value,
196
- }),
197
- })}
198
-
199
- <Button
200
- color={data.button_color || 'tertiary'}
201
- icon={false}
202
- tag="button"
203
- onClick={() => doRequest(1)}
204
- className="my-2 my-lg-1"
205
- >
206
- {intl.formatMessage(messages.find)}
207
- </Button>
194
+ {filterThree &&
195
+ React.createElement(filterThree.widget?.component, {
196
+ ...filterThree.widget?.props,
197
+ id: 'filterThree',
198
+ onChange: (filter, value) =>
199
+ dispatchFilter({
200
+ filter: filter,
201
+ value: value,
202
+ }),
203
+ })}
204
+
205
+ <Button
206
+ color={data.button_color || 'tertiary'}
207
+ icon={false}
208
+ tag="button"
209
+ className="my-2 my-lg-1"
210
+ >
211
+ {intl.formatMessage(messages.find)}
212
+ </Button>
213
+ </div>
208
214
  </div>
209
- </div>
215
+ </form>
210
216
  </div>
211
217
 
212
218
  {!loading ? (
@@ -143,54 +143,60 @@ const Body = ({ data, inEditMode, path, onChangeBlock }) => {
143
143
  'public-ui': inEditMode,
144
144
  })}
145
145
  >
146
- <div className="d-flex justify-content-center">
147
- <div className="d-flex search-container align-items-center justify-content-center flex-wrap">
148
- {filterOne && (
149
- <>
150
- {React.createElement(filterOne.widget.component, {
151
- ...filterOne.widget?.props,
152
- id: 'filterOne',
153
- onChange: (filter, value) => {
146
+ <form
147
+ onSubmit={(event) => {
148
+ event.preventDefault();
149
+ doRequest(1);
150
+ }}
151
+ >
152
+ <div className="d-flex justify-content-center">
153
+ <div className="d-flex search-container align-items-center justify-content-center flex-wrap">
154
+ {filterOne && (
155
+ <>
156
+ {React.createElement(filterOne.widget.component, {
157
+ ...filterOne.widget?.props,
158
+ id: 'filterOne',
159
+ onChange: (filter, value) => {
160
+ dispatchFilter({
161
+ filter: filter,
162
+ value: value,
163
+ });
164
+ },
165
+ })}
166
+ </>
167
+ )}
168
+ {filterTwo &&
169
+ React.createElement(filterTwo.widget?.component, {
170
+ ...filterTwo.widget?.props,
171
+ id: 'filterTwo',
172
+ onChange: (filter, value) =>
154
173
  dispatchFilter({
155
174
  filter: filter,
156
175
  value: value,
157
- });
158
- },
176
+ }),
159
177
  })}
160
- </>
161
- )}
162
- {filterTwo &&
163
- React.createElement(filterTwo.widget?.component, {
164
- ...filterTwo.widget?.props,
165
- id: 'filterTwo',
166
- onChange: (filter, value) =>
167
- dispatchFilter({
168
- filter: filter,
169
- value: value,
170
- }),
171
- })}
172
- {filterThree &&
173
- React.createElement(filterThree.widget?.component, {
174
- ...filterThree.widget?.props,
175
- id: 'filterThree',
176
- onChange: (filter, value) =>
177
- dispatchFilter({
178
- filter: filter,
179
- value: value,
180
- }),
181
- })}
182
-
183
- <Button
184
- color={data.button_color || 'tertiary'}
185
- icon={false}
186
- tag="button"
187
- onClick={() => doRequest(1)}
188
- className="my-2 my-lg-1"
189
- >
190
- {intl.formatMessage(messages.find)}
191
- </Button>
178
+ {filterThree &&
179
+ React.createElement(filterThree.widget?.component, {
180
+ ...filterThree.widget?.props,
181
+ id: 'filterThree',
182
+ onChange: (filter, value) =>
183
+ dispatchFilter({
184
+ filter: filter,
185
+ value: value,
186
+ }),
187
+ })}
188
+
189
+ <Button
190
+ color={data.button_color || 'tertiary'}
191
+ icon={false}
192
+ tag="button"
193
+ className="my-2 my-lg-1"
194
+ >
195
+ {intl.formatMessage(messages.find)}
196
+ </Button>
197
+ </div>
192
198
  </div>
193
- </div>
199
+ </form>
194
200
  </div>
195
201
 
196
202
  {!loading ? (
@@ -17,7 +17,7 @@ export const addBandiInEvidenceTemplateOptions = (
17
17
  schema,
18
18
  formData,
19
19
  intl,
20
- position = 0,
20
+ position = 1,
21
21
  ) => {
22
22
  let pos = position;
23
23
 
@@ -30,7 +30,7 @@ export const addCardWithImageTemplateOptions = (
30
30
  schema,
31
31
  formData,
32
32
  intl,
33
- position = 0,
33
+ position = 1,
34
34
  ) => {
35
35
  let pos = position;
36
36
 
@@ -9,7 +9,7 @@ export const addCardWithSlideUpTextTemplateOptions = (
9
9
  schema,
10
10
  formData,
11
11
  intl,
12
- position = 0,
12
+ position = 1,
13
13
  ) => {
14
14
  let pos = position;
15
15
 
@@ -9,7 +9,7 @@ export const addCompleteBlockLinksTemplateOptions = (
9
9
  schema,
10
10
  formData,
11
11
  intl,
12
- position = 0,
12
+ position = 1,
13
13
  ) => {
14
14
  let pos = position;
15
15
 
@@ -31,7 +31,7 @@ const messages = defineMessages({
31
31
 
32
32
  /** DEFAULT **/
33
33
 
34
- const addDefaultOptions = (schema, formData = {}, intl, position = 0) => {
34
+ const addDefaultOptions = (schema, formData = {}, intl, position = 1) => {
35
35
  let listing_items_colors =
36
36
  config.blocks.blocksConfig.listing?.listing_items_colors || [];
37
37
  let listing_bg_colors =
@@ -18,7 +18,7 @@ export const addInEvidenceTemplateOptions = (
18
18
  schema,
19
19
  formData,
20
20
  intl,
21
- position = 0,
21
+ position = 1,
22
22
  ) => {
23
23
  let pos = position;
24
24
 
@@ -25,7 +25,7 @@ const messages = defineMessages({
25
25
  },
26
26
  });
27
27
 
28
- export const addMapTemplateOptions = (schema, formData, intl, position = 0) => {
28
+ export const addMapTemplateOptions = (schema, formData, intl, position = 1) => {
29
29
  let pos = position;
30
30
 
31
31
  addSchemaField(
@@ -12,7 +12,7 @@ export const addPhotogalleryTemplateOptions = (
12
12
  schema,
13
13
  formData,
14
14
  intl,
15
- position = 0,
15
+ position = 1,
16
16
  ) => {
17
17
  let pos = position;
18
18
 
@@ -18,7 +18,7 @@ export const addRibbonCardTemplateOptions = (
18
18
  schema,
19
19
  formData,
20
20
  intl,
21
- position = 0,
21
+ position = 1,
22
22
  ) => {
23
23
  let pos = position;
24
24
 
@@ -36,7 +36,7 @@ export const addSimpleCardTemplateOptions = (
36
36
  schema,
37
37
  formData,
38
38
  intl,
39
- position = 0,
39
+ position = 1,
40
40
  ) => {
41
41
  let pos = position;
42
42
  pos = addLighthouseField(schema, intl, pos);
@@ -13,7 +13,7 @@ export const addSimpleListTemplateOptions = (
13
13
  schema,
14
14
  formData,
15
15
  intl,
16
- position = 0,
16
+ position = 1,
17
17
  ) => {
18
18
  let pos = position;
19
19
 
@@ -37,7 +37,7 @@ export const addSliderTemplateOptions = (
37
37
  schema,
38
38
  formData,
39
39
  intl,
40
- position = 0,
40
+ position = 1,
41
41
  ) => {
42
42
  let pos = position;
43
43
 
@@ -14,7 +14,7 @@ export const addSmallBlockLinksTemplateOptions = (
14
14
  schema,
15
15
  formData,
16
16
  intl,
17
- position = 0,
17
+ position = 1,
18
18
  ) => {
19
19
  let pos = position;
20
20
 
@@ -67,7 +67,7 @@ export const addSchemaField = (
67
67
  title,
68
68
  description,
69
69
  properties = {},
70
- position = 0,
70
+ position = 1,
71
71
  fieldset = 'default',
72
72
  ) => {
73
73
  let fieldsetIndex = schema.fieldsets.findIndex((x) => x.id === fieldset);
@@ -86,7 +86,7 @@ export const templatesOptions = (
86
86
  intl,
87
87
  fields,
88
88
  fieldsConfig,
89
- position = 0,
89
+ position = 1,
90
90
  ) => {
91
91
  let pos = position;
92
92
 
@@ -151,7 +151,7 @@ export const templatesOptions = (
151
151
  return pos;
152
152
  };
153
153
 
154
- export const addLighthouseField = (schema, intl, position = 0) => {
154
+ export const addLighthouseField = (schema, intl, position = 1) => {
155
155
  let pos = position;
156
156
  const fieldset =
157
157
  schema.id === 'search' ? 'listingTemplateOptions' : undefined;
@@ -0,0 +1,17 @@
1
+ @use '../../all_variables' as *;
2
+
3
+ @mixin block($subsite-primary, $subsite-primary-text) {
4
+ .argumentInEvidence {
5
+ .argumentInEvidence-background {
6
+ background-color: $subsite-primary;
7
+ }
8
+
9
+ &::before {
10
+ background-color: $subsite-primary;
11
+ }
12
+
13
+ h2 {
14
+ color: $subsite-primary-text;
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,17 @@
1
+ @use '../../all_variables' as *;
2
+
3
+ @mixin card($subsite-link-color) {
4
+ .block.listing .card-with-image-template,
5
+ .block.listing .in-evidence {
6
+ .listing-item {
7
+ .card-title {
8
+ a {
9
+ &:hover,
10
+ &:focus {
11
+ color: $subsite-link-color;
12
+ }
13
+ }
14
+ }
15
+ }
16
+ }
17
+ }
@@ -0,0 +1,13 @@
1
+ @use '../../all_variables' as *;
2
+
3
+ @mixin block($subsite-secondary, $subsite-secondary-text) {
4
+ .complete-block-links-template {
5
+ .card.card-bg {
6
+ background-color: $subsite-secondary;
7
+
8
+ a {
9
+ color: $subsite-secondary-text;
10
+ }
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,14 @@
1
+ @use '../../all_variables' as *;
2
+
3
+ @mixin block($subsite-link-color) {
4
+ .block.highlitedContent {
5
+ .card-title {
6
+ a {
7
+ &:hover,
8
+ &:focus {
9
+ color: $subsite-link-color;
10
+ }
11
+ }
12
+ }
13
+ }
14
+ }