design-comuni-plone-theme 11.29.2 → 12.0.0

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 (227) hide show
  1. package/.github/workflows/main.yml +16 -16
  2. package/.github/workflows/npm.yml +1 -1
  3. package/.github/workflows/withnewsletter.yml +47 -0
  4. package/.release-it.json +1 -0
  5. package/.yarn/cache/@babel-helper-module-imports-npm-7.24.3-edb733448b-c23492189b.zip +0 -0
  6. package/.yarn/cache/@babel-types-npm-7.24.0-a0508cb308-4b574a37d4.zip +0 -0
  7. package/.yarn/cache/babel-plugin-lodash-npm-3.3.4-c7161075b6-044a4261e6.zip +0 -0
  8. package/.yarn/cache/braces-npm-3.0.3-582c14023c-b95aa0b3bd.zip +0 -0
  9. package/.yarn/cache/fill-range-npm-7.1.1-bf491486db-b4abfbca38.zip +0 -0
  10. package/.yarn/cache/micromatch-npm-4.0.8-c9570e4aca-79920eb634.zip +0 -0
  11. package/.yarn/cache/require-package-name-npm-2.0.1-ac9a206b63-00f4e9e467.zip +0 -0
  12. package/.yarn/install-state.gz +0 -0
  13. package/CHANGELOG.md +1728 -1659
  14. package/RELEASE.md +6 -0
  15. package/locales/de/LC_MESSAGES/volto.po +86 -19
  16. package/locales/en/LC_MESSAGES/volto.po +86 -19
  17. package/locales/es/LC_MESSAGES/volto.po +86 -19
  18. package/locales/fr/LC_MESSAGES/volto.po +86 -19
  19. package/locales/it/LC_MESSAGES/volto.po +87 -20
  20. package/locales/volto.pot +87 -20
  21. package/package.json +3 -1
  22. package/publiccode.yml +2 -2
  23. package/src/components/Collapse.jsx +1 -0
  24. package/src/components/ItaliaTheme/AppExtras/SiteSettingsExtras.jsx +0 -6
  25. package/src/components/ItaliaTheme/Blocks/Accordion/Block/EditBlock.jsx +29 -24
  26. package/src/components/ItaliaTheme/Blocks/Accordion/Block/ViewBlock.jsx +4 -12
  27. package/src/components/ItaliaTheme/Blocks/Accordion/Edit.jsx +118 -42
  28. package/src/components/ItaliaTheme/Blocks/Accordion/View.jsx +4 -18
  29. package/src/components/ItaliaTheme/Blocks/Alert/Edit.jsx +60 -113
  30. package/src/components/ItaliaTheme/Blocks/Alert/Sidebar.jsx +1 -0
  31. package/src/components/ItaliaTheme/Blocks/Alert/View.jsx +5 -14
  32. package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Block.jsx +16 -11
  33. package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Body.jsx +2 -1
  34. package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Edit.jsx +39 -1
  35. package/src/components/ItaliaTheme/Blocks/CTABlock/Block.jsx +35 -95
  36. package/src/components/ItaliaTheme/Blocks/Callout/Edit.jsx +108 -0
  37. package/src/components/ItaliaTheme/Blocks/Callout/Sidebar.jsx +173 -0
  38. package/src/components/ItaliaTheme/Blocks/Callout/View.jsx +45 -0
  39. package/src/components/ItaliaTheme/Blocks/ContactsBlock/Block/EditBlock.jsx +86 -63
  40. package/src/components/ItaliaTheme/Blocks/ContactsBlock/Block/ViewBlock.jsx +19 -39
  41. package/src/components/ItaliaTheme/Blocks/ContactsBlock/Edit.jsx +101 -22
  42. package/src/components/ItaliaTheme/Blocks/ContactsBlock/View.jsx +13 -21
  43. package/src/components/ItaliaTheme/Blocks/CountDown/Edit.jsx +21 -25
  44. package/src/components/ItaliaTheme/Blocks/CountDown/View.jsx +6 -15
  45. package/src/components/ItaliaTheme/Blocks/IconBlocks/Block/EditBlock.jsx +52 -22
  46. package/src/components/ItaliaTheme/Blocks/IconBlocks/Block/ViewBlock.jsx +9 -29
  47. package/src/components/ItaliaTheme/Blocks/IconBlocks/Edit.jsx +108 -21
  48. package/src/components/ItaliaTheme/Blocks/IconBlocks/Sidebar.jsx +1 -9
  49. package/src/components/ItaliaTheme/Blocks/IconBlocks/View.jsx +6 -14
  50. package/src/components/ItaliaTheme/Blocks/Listing/CardWithSlideUpTextTemplate.jsx +0 -1
  51. package/src/components/ItaliaTheme/Blocks/NumbersBlock/Block/EditBlock.jsx +45 -15
  52. package/src/components/ItaliaTheme/Blocks/NumbersBlock/Block/ViewBlock.jsx +2 -18
  53. package/src/components/ItaliaTheme/Blocks/NumbersBlock/Edit.jsx +98 -11
  54. package/src/components/ItaliaTheme/Blocks/NumbersBlock/View.jsx +2 -7
  55. package/src/components/ItaliaTheme/Blocks/TextCard/CardWithImage/Block.jsx +35 -67
  56. package/src/components/ItaliaTheme/Blocks/TextCard/CardWithImage/Edit.jsx +2 -8
  57. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/BodyWrapper.jsx +2 -1
  58. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/Edit.jsx +98 -84
  59. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/View.jsx +20 -3
  60. package/src/components/ItaliaTheme/Blocks/UOSearch/Sidebar.jsx +11 -11
  61. package/src/components/ItaliaTheme/Blocks/__tests__/Accordion.test.jsx +11 -28
  62. package/src/components/ItaliaTheme/Blocks/__tests__/Alert.test.jsx +10 -14
  63. package/src/components/ItaliaTheme/Blocks/__tests__/ArgumentsInEvidence.test.jsx +20 -28
  64. package/src/components/ItaliaTheme/Blocks/__tests__/CTABlock.test.jsx +14 -29
  65. package/src/components/ItaliaTheme/Blocks/__tests__/CardWithImage.test.jsx +11 -28
  66. package/src/components/ItaliaTheme/Blocks/__tests__/ContactsBlock.test.jsx +75 -140
  67. package/src/components/ItaliaTheme/Blocks/__tests__/Countdown.test.jsx +20 -28
  68. package/src/components/ItaliaTheme/Blocks/__tests__/IconBlocks.test.jsx +22 -56
  69. package/src/components/ItaliaTheme/Blocks/__tests__/NumbersBlock.test.jsx +14 -43
  70. package/src/components/ItaliaTheme/Blocks/__tests__/SimpleCard.test.jsx +14 -30
  71. package/src/components/ItaliaTheme/BrandText/BrandText.jsx +8 -14
  72. package/src/components/ItaliaTheme/BrandTextFooter/BrandTextFooter.jsx +31 -2
  73. package/src/components/ItaliaTheme/Footer/FooterInfos.jsx +21 -8
  74. package/src/components/ItaliaTheme/Footer/FooterNavigation.jsx +3 -3
  75. package/src/components/ItaliaTheme/Header/HeaderSlim/HeaderSlim.jsx +0 -7
  76. package/src/components/ItaliaTheme/Icons/Icon.jsx +0 -1
  77. package/src/components/ItaliaTheme/MegaMenu/MegaMenu.jsx +5 -1
  78. package/src/components/ItaliaTheme/View/BandoView/BandoApprofondimenti.jsx +1 -2
  79. package/src/components/ItaliaTheme/View/CartellaModulisticaView/DocRow.jsx +14 -5
  80. package/src/components/ItaliaTheme/View/Commons/Attachment.jsx +19 -3
  81. package/src/components/ItaliaTheme/View/Commons/Attachments.jsx +0 -1
  82. package/src/components/ItaliaTheme/View/Commons/DownloadFileFormat.jsx +11 -7
  83. package/src/components/ItaliaTheme/View/Commons/Gallery.jsx +1 -0
  84. package/src/components/ItaliaTheme/View/Commons/PageHeader/PageHeaderEventDates.jsx +0 -1
  85. package/src/components/ItaliaTheme/View/Commons/PageHeader/PageHeaderLinkServizio.jsx +6 -2
  86. package/src/components/ItaliaTheme/View/Commons/RichTextRender.jsx +8 -6
  87. package/src/components/ItaliaTheme/View/Commons/__tests__/RichText.test.jsx +14 -17
  88. package/src/components/ItaliaTheme/View/EventoView/EventoContattiOrganizzatoreEsterno.jsx +1 -1
  89. package/src/components/ItaliaTheme/View/EventoView/EventoUlterioriInformazioni.jsx +0 -4
  90. package/src/components/ItaliaTheme/View/ServizioView/ServizioAccedi.jsx +10 -7
  91. package/src/components/ItaliaTheme/View/ServizioView/ServizioMetatag.jsx +4 -3
  92. package/src/components/ItaliaTheme/View/__disabled_tests__/IncaricoView.test__disabled.jsx +24 -30
  93. package/src/components/ItaliaTheme/View/__tests__/CartellaModulisticaView.test.jsx +12 -1
  94. package/src/components/ItaliaTheme/View/__tests__/PageView.test.jsx +24 -2
  95. package/src/components/ItaliaTheme/View/__tests__/PersonaView.test.jsx +96 -92
  96. package/src/components/ItaliaTheme/View/__tests__/ServizioAChiSiRivolge.test.jsx +240 -286
  97. package/src/components/ItaliaTheme/View/__tests__/ServizioAccedi.test.jsx +240 -286
  98. package/src/components/ItaliaTheme/View/__tests__/ServizioCasiParticolari.test.jsx +240 -286
  99. package/src/components/ItaliaTheme/View/__tests__/ServizioComeFare.test.jsx +240 -286
  100. package/src/components/ItaliaTheme/View/__tests__/ServizioCondizioni.test.jsx +240 -286
  101. package/src/components/ItaliaTheme/View/__tests__/ServizioContatti.test.jsx +240 -286
  102. package/src/components/ItaliaTheme/View/__tests__/ServizioCosE.test.jsx +240 -286
  103. package/src/components/ItaliaTheme/View/__tests__/ServizioCosaServe.test.jsx +240 -286
  104. package/src/components/ItaliaTheme/View/__tests__/ServizioCosaSiOttiene.test.jsx +240 -286
  105. package/src/components/ItaliaTheme/View/__tests__/ServizioCostiVincoli.test.jsx +240 -286
  106. package/src/components/ItaliaTheme/View/__tests__/ServizioMetadati.test.jsx +240 -286
  107. package/src/components/ItaliaTheme/View/__tests__/ServizioModulistica.test.jsx +240 -286
  108. package/src/components/ItaliaTheme/View/__tests__/ServizioProcedure.test.jsx +240 -286
  109. package/src/components/ItaliaTheme/View/__tests__/ServizioSitiEsterni.test.jsx +240 -286
  110. package/src/components/ItaliaTheme/View/__tests__/ServizioTempiScadenze.test.jsx +240 -286
  111. package/src/components/ItaliaTheme/View/__tests__/ServizioUlterioriInformazioni.test.jsx +240 -286
  112. package/src/components/ItaliaTheme/View/__tests__/ServizioView.test.jsx +470 -560
  113. package/src/components/ItaliaTheme/View/__tests__/TrasparenzaView.test.jsx +12 -1
  114. package/src/components/ItaliaTheme/index.js +0 -1
  115. package/src/components/ItaliaTheme/manage/Widgets/ColorListWidget.jsx +11 -2
  116. package/src/components/ItaliaTheme/manage/Widgets/HtmlSlateWidget.jsx +156 -0
  117. package/src/components/ItaliaTheme/manage/Widgets/RichTextWidget.jsx +88 -0
  118. package/src/components/ItaliaTheme/manage/Widgets/SimpleTextEditorWidget.jsx +158 -0
  119. package/src/components/ItaliaTheme/manage/Widgets/TextEditorWidget.jsx +167 -270
  120. package/src/config/Blocks/ListingOptions/index.js +0 -1
  121. package/src/config/Blocks/ListingOptions/utils.js +0 -7
  122. package/src/config/Blocks/blocks.js +29 -8
  123. package/src/config/Blocks/listingVariations.js +1 -1
  124. package/src/config/Slate/Alignment/AlignMenu.jsx +169 -0
  125. package/src/config/Slate/Alignment/index.js +42 -0
  126. package/src/config/Slate/Blockquote/BlockquoteMenu.jsx +151 -0
  127. package/src/config/Slate/Blockquote/index.js +19 -0
  128. package/src/config/Slate/Headings/HeadingsMenu.jsx +139 -0
  129. package/src/config/Slate/Headings/headingsMenu.scss +44 -0
  130. package/src/config/Slate/Headings/index.js +62 -0
  131. package/src/config/Slate/Link/deserializer.js +25 -0
  132. package/src/config/Slate/Link/index.js +126 -0
  133. package/src/config/Slate/Link/renderer.jsx +99 -0
  134. package/src/config/Slate/LinkButton/index.js +47 -0
  135. package/src/config/Slate/TextLarger/index.js +51 -0
  136. package/src/config/Slate/Underline/index.js +10 -0
  137. package/src/config/Slate/config.js +43 -0
  138. package/src/config/Slate/deserializers.js +66 -0
  139. package/src/config/Slate/dropdownStyle.scss +14 -0
  140. package/src/config/Slate/dropdownUtils.js +422 -0
  141. package/src/config/Slate/extensions/breakList.js +91 -0
  142. package/src/config/Slate/handlers.js +243 -0
  143. package/src/config/Slate/utils.js +73 -0
  144. package/src/config/Widgets/widgets.js +1 -2
  145. package/src/config/italiaConfig.js +5 -53
  146. package/src/customizations/volto/components/manage/AnchorPlugin/components/LinkButton/AddLinkForm.jsx +361 -0
  147. package/src/customizations/volto/components/manage/Blocks/HeroImageLeft/Edit.jsx +75 -200
  148. package/src/customizations/volto/components/manage/Blocks/Video/Body.jsx +0 -1
  149. package/src/customizations/volto/components/manage/Blocks/Video/Edit.jsx +1 -1
  150. package/src/customizations/volto/components/manage/Form/BlocksToolbar.jsx +1 -1
  151. package/src/customizations/volto/components/manage/UniversalLink/UniversalLink.jsx +76 -18
  152. package/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +4 -0
  153. package/src/customizations/volto-form-block/components/Field.jsx +45 -22
  154. package/src/helpers/EnhanceLink.js +44 -0
  155. package/src/helpers/FormValidation/FormValidationHelpers.js +3 -0
  156. package/src/helpers/blocks.js +80 -0
  157. package/src/helpers/files.js +13 -13
  158. package/src/helpers/index.js +4 -3
  159. package/src/helpers/richTextHelper.js +10 -0
  160. package/src/icons/Group.svg +1 -0
  161. package/src/icons/blocco-icone.svg +0 -3
  162. package/src/icons/blockquote-card-dark.svg +1 -0
  163. package/src/icons/blockquote-card.svg +1 -0
  164. package/src/icons/blockquote-simple.svg +1 -0
  165. package/src/icons/text-larger.svg +1 -0
  166. package/src/theme/ItaliaTheme/Blocks/_accordion.scss +2 -22
  167. package/src/theme/ItaliaTheme/Blocks/_alert.scss +51 -4
  168. package/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss +1 -0
  169. package/src/theme/ItaliaTheme/Blocks/_callout.scss +32 -0
  170. package/src/theme/ItaliaTheme/Blocks/_contacts.scss +17 -51
  171. package/src/theme/ItaliaTheme/Blocks/_countdown.scss +10 -1
  172. package/src/theme/ItaliaTheme/Blocks/_ctaBlock.scss +7 -23
  173. package/src/theme/ItaliaTheme/Blocks/_gridBlock.scss +1 -1
  174. package/src/theme/ItaliaTheme/Blocks/_hero.scss +1 -8
  175. package/src/theme/ItaliaTheme/Blocks/_iconBlocks.scss +6 -77
  176. package/src/theme/ItaliaTheme/Blocks/_imageCardTextBlock.scss +3 -2
  177. package/src/theme/ItaliaTheme/Blocks/_numbers.scss +6 -20
  178. package/src/theme/ItaliaTheme/Blocks/_simpleCardTextBlock.scss +8 -2
  179. package/src/theme/ItaliaTheme/Blocks/_subblocks-edit.scss +3 -1
  180. package/src/theme/ItaliaTheme/Blocks/_tableOfContents.scss +1 -0
  181. package/src/theme/ItaliaTheme/Components/_megamenu.scss +0 -4
  182. package/src/theme/ItaliaTheme/Components/_mobileMenu.scss +12 -16
  183. package/src/theme/ItaliaTheme/Print/_page.scss +1 -1
  184. package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Blocks/_contacts.scss +3 -0
  185. package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Blocks/_cta.scss +1 -0
  186. package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Blocks/_searchSections.scss +1 -0
  187. package/src/theme/ItaliaTheme/Subsites/bootstrap-italia/custom/_headercenter.scss +1 -0
  188. package/src/theme/ItaliaTheme/Views/_cartellaModulistica.scss +11 -2
  189. package/src/theme/ItaliaTheme/Views/_servizio.scss +2 -2
  190. package/src/theme/ItaliaTheme/Views/_slider.scss +3 -0
  191. package/src/theme/ItaliaTheme/Widgets/_iconWidget.scss +4 -0
  192. package/src/theme/ItaliaTheme/_common.scss +1 -0
  193. package/src/theme/ItaliaTheme/_home.scss +0 -4
  194. package/src/theme/ItaliaTheme/_main.scss +78 -84
  195. package/src/theme/_cms-ui.scss +63 -160
  196. package/src/theme/_mixins.scss +13 -0
  197. package/src/theme/bootstrap-override/_bootstrap-italia-site.scss +1 -0
  198. package/src/theme/bootstrap-override/bootstrap-italia/_footer.scss +1 -1
  199. package/src/theme/bootstrap-override/bootstrap-italia/_forms.scss +7 -0
  200. package/src/theme/bootstrap-override/bootstrap-italia/_headercenter.scss +8 -3
  201. package/src/theme/extras/_forms.scss +2 -14
  202. package/src/theme/site.scss +1 -1
  203. package/test-setup-config.js +58 -0
  204. package/.yarn/cache/braces-npm-3.0.2-782240b28a-e2a8e769a8.zip +0 -0
  205. package/.yarn/cache/fill-range-npm-7.0.1-b8b1817caa-cc283f4e65.zip +0 -0
  206. package/.yarn/cache/micromatch-npm-4.0.5-cfab5d7669-02a17b671c.zip +0 -0
  207. package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/Block.jsx +0 -151
  208. package/src/components/ItaliaTheme/RemoveBodyClass/RemoveBodyClass.jsx +0 -84
  209. package/src/config/RichTextEditor/LinkEntity.jsx +0 -27
  210. package/src/config/RichTextEditor/Plugins/AnchorPlugin/components/Link/index.jsx +0 -44
  211. package/src/config/RichTextEditor/Plugins/AnchorPlugin/components/LinkButton/AddLinkForm.jsx +0 -349
  212. package/src/config/RichTextEditor/Plugins/AnchorPlugin/components/LinkButton/index.js +0 -150
  213. package/src/config/RichTextEditor/Plugins/AnchorPlugin/index.js +0 -88
  214. package/src/config/RichTextEditor/ToolbarButtons/AlignButton.jsx +0 -61
  215. package/src/config/RichTextEditor/ToolbarButtons/ButtonsButton.jsx +0 -14
  216. package/src/config/RichTextEditor/ToolbarButtons/CalloutsButton.jsx +0 -38
  217. package/src/config/RichTextEditor/ToolbarButtons/DraftJsDropdownButton.jsx +0 -106
  218. package/src/config/RichTextEditor/ToolbarButtons/HeadingsButton.jsx +0 -57
  219. package/src/config/RichTextEditor/ToolbarButtons/TextSizeButton.jsx +0 -65
  220. package/src/config/RichTextEditor/ToolbarButtons/UnderlineButton.jsx +0 -14
  221. package/src/config/RichTextEditor/config.js +0 -253
  222. package/src/config/volto-gdpr-privacy-defaultPanelConfig.js +0 -292
  223. package/src/customizations/volto/components/manage/Blocks/ToC/View.jsx +0 -134
  224. package/src/customizations/volto/components/manage/Blocks/ToC/variations/DefaultTocRenderer.jsx +0 -99
  225. package/src/customizations/volto/config/RichTextEditor/Plugins.jsx +0 -63
  226. package/src/helpers/redraftHelper.js +0 -9
  227. package/src/theme/ItaliaTheme/Components/_logo.scss +0 -10
@@ -3,18 +3,7 @@
3
3
  height: auto;
4
4
  }
5
5
 
6
- .ui.basic.button.delete-button {
7
- padding: 0.5rem;
8
- text-align: center;
9
-
10
- svg:not(:hover) {
11
- fill: #fff !important;
12
- }
13
-
14
- &:hover {
15
- border-radius: 100%;
16
- }
17
- }
6
+ @include blocks-with-bg-edit-buttons();
18
7
 
19
8
  .bg-primary {
20
9
  .block-header {
@@ -26,7 +15,7 @@
26
15
  .description h4,
27
16
  .description h5,
28
17
  .description h6,
29
- .description a {
18
+ .description a:not(.btn) {
30
19
  color: $primary-text;
31
20
  }
32
21
  }
@@ -41,7 +30,8 @@
41
30
  .description h3,
42
31
  .description h4,
43
32
  .description h5,
44
- .description h6 {
33
+ .description h6,
34
+ .description a:not(.btn) {
45
35
  color: $secondary-text;
46
36
  }
47
37
  }
@@ -54,17 +44,6 @@
54
44
  font-weight: bold;
55
45
  line-height: 3rem;
56
46
  text-align: center;
57
-
58
- .DraftEditor-root {
59
- .public-DraftEditor-content {
60
- text-align: center;
61
- }
62
-
63
- .public-DraftEditorPlaceholder-root {
64
- width: 100%;
65
- text-align: center;
66
- }
67
- }
68
47
  }
69
48
 
70
49
  .description {
@@ -72,17 +51,6 @@
72
51
 
73
52
  line-height: 1.65em;
74
53
  text-align: center;
75
-
76
- .DraftEditor-root {
77
- .public-DraftEditor-content {
78
- text-align: center;
79
- }
80
-
81
- .public-DraftEditorPlaceholder-root {
82
- width: 100%;
83
- text-align: center;
84
- }
85
- }
86
54
  }
87
55
  }
88
56
 
@@ -96,10 +64,6 @@
96
64
  .card-wrapper {
97
65
  height: 100%;
98
66
  }
99
-
100
- .ui.basic.button.delete-button {
101
- padding: 0.36rem;
102
- }
103
67
  }
104
68
 
105
69
  .button.add-element {
@@ -112,7 +76,6 @@
112
76
  }
113
77
 
114
78
  .contact-title {
115
-
116
79
  margin-bottom: 1rem;
117
80
  font-size: 1.35rem;
118
81
  font-weight: bold;
@@ -121,12 +84,25 @@
121
84
 
122
85
  .contact-text {
123
86
  font-size: 0.9rem;
87
+
88
+ .detached-slate-editor {
89
+ margin-bottom: 1rem;
90
+ }
124
91
  }
125
92
 
126
93
  .contact-info {
127
94
  display: flex;
128
95
  align-items: center;
129
96
 
97
+ [role='textbox'] {
98
+ //slate editor
99
+ width: 100%;
100
+
101
+ &[data-slate-editor='true'] {
102
+ min-height: 1em;
103
+ }
104
+ }
105
+
130
106
  .icon-wrapper {
131
107
  display: flex;
132
108
  align-items: center;
@@ -147,10 +123,6 @@
147
123
  flex: 1 1 auto;
148
124
  word-break: break-word;
149
125
 
150
- .DraftEditor-editorContainer {
151
- line-height: 1.48em;
152
- }
153
-
154
126
  p {
155
127
  line-height: 1.48em;
156
128
 
@@ -159,12 +131,6 @@
159
131
  }
160
132
  }
161
133
  }
162
-
163
- .public-DraftStyleDefault-block {
164
- &:last-of-type {
165
- margin-bottom: 0;
166
- }
167
- }
168
134
  }
169
135
  }
170
136
 
@@ -1,3 +1,12 @@
1
+ body.cms-ui,
2
+ body.public-ui {
3
+ .block.count_down .public-ui {
4
+ a:not(.btn) {
5
+ color: $white; //to force color in cms-ui
6
+ }
7
+ }
8
+ }
9
+
1
10
  .block.count_down .public-ui {
2
11
  color: $white;
3
12
 
@@ -6,7 +15,7 @@
6
15
  h4,
7
16
  h5,
8
17
  h6,
9
- a {
18
+ a:not(.btn) {
10
19
  color: $white;
11
20
  }
12
21
 
@@ -22,9 +22,13 @@
22
22
  h2,
23
23
  h3 {
24
24
  margin: 0 0 1.5rem;
25
- color: $secondary-text;
26
25
  font-size: 2.25rem;
27
26
  }
27
+ h2,
28
+ h3,
29
+ a:not(.btn) {
30
+ color: $secondary-text;
31
+ }
28
32
 
29
33
  p:last-of-type {
30
34
  margin-bottom: 0;
@@ -56,20 +60,6 @@
56
60
  }
57
61
  }
58
62
 
59
- /* EDIT */
60
- .cta_title,
61
- .cta_content {
62
- .public-DraftEditor-content,
63
- .public-DraftStyleDefault-block {
64
- text-align: center;
65
- }
66
-
67
- .public-DraftEditorPlaceholder-root {
68
- width: 100%;
69
- text-align: center;
70
- }
71
- }
72
-
73
63
  &.has-image {
74
64
  position: relative;
75
65
  display: block;
@@ -112,6 +102,7 @@
112
102
 
113
103
  .cta-tile-text {
114
104
  &,
105
+ a,
115
106
  h3 {
116
107
  color: #fff;
117
108
  }
@@ -142,12 +133,5 @@
142
133
  }
143
134
 
144
135
  .block.cta_block {
145
- .ui.basic.button.delete-button {
146
- color: #fff !important;
147
-
148
- &:hover,
149
- &:focus {
150
- color: #000 !important;
151
- }
152
- }
136
+ @include blocks-with-bg-edit-buttons();
153
137
  }
@@ -64,7 +64,7 @@
64
64
  //in edit (cms-ui)
65
65
  .gridBlock-container {
66
66
  position: relative;
67
- max-width: 1320px;
67
+ max-width: 1127px;
68
68
  padding: 0 4px;
69
69
  margin: auto;
70
70
 
@@ -8,6 +8,7 @@
8
8
 
9
9
  .block-inner-wrapper {
10
10
  align-items: stretch;
11
+ z-index: 0;
11
12
  }
12
13
 
13
14
  .hero-image {
@@ -42,14 +43,6 @@
42
43
  p {
43
44
  max-height: unset;
44
45
  }
45
-
46
- .edit-title {
47
- .public-DraftEditorPlaceholder-inner {
48
- font-size: $h1-font-size;
49
- font-weight: bold;
50
- line-height: 1.25;
51
- }
52
- }
53
46
  }
54
47
 
55
48
  .stores-buttons {
@@ -3,21 +3,7 @@
3
3
  height: auto;
4
4
  }
5
5
 
6
- .ui.basic.button.delete-button {
7
- top: -0.2rem;
8
- padding: 0.2rem;
9
- border-radius: 100%;
10
- line-height: 1rem;
11
-
12
- svg:not(:hover) {
13
- fill: #fff !important;
14
- }
15
-
16
- &:hover,
17
- &:active {
18
- background-color: #fff !important;
19
- }
20
- }
6
+ @include blocks-with-bg-edit-buttons();
21
7
 
22
8
  .background-image {
23
9
  position: absolute;
@@ -67,15 +53,8 @@
67
53
  line-height: 3rem;
68
54
  text-align: center;
69
55
 
70
- .DraftEditor-root {
71
- .public-DraftEditor-content {
72
- text-align: center;
73
- }
74
-
75
- .public-DraftEditorPlaceholder-root {
76
- width: 100%;
77
- text-align: center;
78
- }
56
+ h2 {
57
+ margin: 0px;
79
58
  }
80
59
  }
81
60
 
@@ -91,20 +70,9 @@
91
70
  h4,
92
71
  h5,
93
72
  h6,
94
- a {
73
+ a:not(.btn) {
95
74
  color: #fff;
96
75
  }
97
-
98
- .DraftEditor-root {
99
- .public-DraftEditor-content {
100
- text-align: center;
101
- }
102
-
103
- .public-DraftEditorPlaceholder-root {
104
- width: 100%;
105
- text-align: center;
106
- }
107
- }
108
76
  }
109
77
  }
110
78
 
@@ -123,41 +91,6 @@
123
91
  transform: unset;
124
92
  }
125
93
 
126
- .dragsubblock,
127
- .ui.basic.button.delete-button {
128
- z-index: 3;
129
- padding: 0.3rem;
130
- border-radius: 100%;
131
- background-color: #8bb3b5 !important;
132
- line-height: 1rem;
133
-
134
- svg:not(:hover) {
135
- fill: #fff !important;
136
- }
137
-
138
- &:hover,
139
- &:active {
140
- background-color: #a4dee1 !important;
141
-
142
- svg {
143
- fill: #000 !important;
144
- }
145
- }
146
- }
147
-
148
- .dragsubblock {
149
- top: -0.75rem;
150
- left: -0.55rem;
151
- }
152
-
153
- .ui.basic.button.delete-button {
154
- top: -0.7rem;
155
- width: unset;
156
- height: unset;
157
- padding: 0.36rem;
158
- text-align: center;
159
- }
160
-
161
94
  .link-form-container {
162
95
  .ui.input {
163
96
  > input {
@@ -198,17 +131,13 @@
198
131
  line-height: 1.8rem;
199
132
  text-align: center;
200
133
 
201
- .public-DraftEditor-content {
202
- text-align: center;
134
+ h3 {
135
+ margin-bottom: 0px;
203
136
  }
204
137
  }
205
138
 
206
139
  .iconblock-text {
207
140
  text-align: center;
208
-
209
- .public-DraftEditor-content {
210
- text-align: center;
211
- }
212
141
  }
213
142
 
214
143
  a.read-more {
@@ -2,9 +2,10 @@
2
2
  .card {
3
3
  .card-body {
4
4
  .card-text {
5
- .DraftEditor-root * {
5
+ .slate-editor * {
6
+ line-height: 1.5em;
6
7
  font-family: 'Lora, Georgia, serif';
7
- font-size: 0.875rem;
8
+ font-size: 1.1rem;
8
9
  }
9
10
  }
10
11
  }
@@ -5,21 +5,7 @@
5
5
  height: auto;
6
6
  }
7
7
 
8
- > .ui.basic.button.delete-button {
9
- top: -0.2rem;
10
- padding: 0.2rem;
11
- border-radius: 100%;
12
- line-height: 1rem;
13
-
14
- svg:not(:hover) {
15
- fill: #fff !important;
16
- }
17
-
18
- &:hover,
19
- &:active {
20
- background-color: #fff !important;
21
- }
22
- }
8
+ @include blocks-with-bg-edit-buttons();
23
9
 
24
10
  .background-image {
25
11
  position: absolute;
@@ -79,6 +65,10 @@
79
65
  font-size: 2.25rem;
80
66
  font-weight: bold;
81
67
  line-height: 2.8rem;
68
+
69
+ h2 {
70
+ margin: 0;
71
+ }
82
72
  }
83
73
  }
84
74
 
@@ -88,11 +78,7 @@
88
78
  font-weight: 500;
89
79
  line-height: 1em;
90
80
 
91
- .DraftEditor-root
92
- .DraftEditor-editorContainer
93
- .public-DraftEditor-content
94
- span,
95
- .public-DraftEditorPlaceholder-root .public-DraftEditorPlaceholder-inner {
81
+ .simple-text-editor-widget {
96
82
  font-family: $font-family-monospace !important;
97
83
  }
98
84
  }
@@ -1,10 +1,16 @@
1
1
  .block.simple-text-block {
2
2
  .card {
3
3
  .card-body {
4
+ .card-title {
5
+ .simple-text-editor-widget {
6
+ font-weight: 600;
7
+ }
8
+ }
4
9
  .card-text {
5
- .DraftEditor-root * {
10
+ .slate-editor * {
6
11
  font-family: 'Lora, Georgia, serif';
7
- font-size: 0.875rem;
12
+ line-height: 1.5em;
13
+ font-size: 1.1rem;
8
14
  }
9
15
  }
10
16
  }
@@ -26,7 +26,9 @@
26
26
 
27
27
  .ui.basic.button.delete-button {
28
28
  &:hover,
29
- &:active {
29
+ &:active,
30
+ &:focus,
31
+ &:focus-within {
30
32
  background-color: #e40166 !important;
31
33
  color: #fff;
32
34
 
@@ -40,6 +40,7 @@ $space-left: 1rem;
40
40
  margin-top: 0.5rem;
41
41
  font-size: 1rem;
42
42
  font-weight: 600;
43
+ width: 100%;
43
44
 
44
45
  &::before {
45
46
  position: absolute;
@@ -25,10 +25,6 @@
25
25
  }
26
26
  }
27
27
 
28
- .DraftEditor-root {
29
- padding: 0.5rem 1rem;
30
- }
31
-
32
28
  .category-top {
33
29
  display: flex;
34
30
  flex-wrap: wrap;
@@ -1,5 +1,5 @@
1
1
  .navbar {
2
- @media (max-width: 991px) {
2
+ @media (max-width: #{map-get($grid-breakpoints, 'lg') - 1px}) {
3
3
  .navbar-collapsable {
4
4
  &,
5
5
  .public-ui & {
@@ -26,33 +26,29 @@
26
26
  display: flex;
27
27
  align-items: center;
28
28
  justify-content: space-between;
29
+ text-decoration: none;
30
+
31
+ .icon {
32
+ width: auto;
33
+ }
29
34
  }
30
35
 
31
- h2 {
32
- margin-bottom: 0;
36
+ .it-brand-title {
33
37
  color: $text-color;
34
- font-size: 1.5rem;
38
+ font-size: 1.333rem;
39
+ font-weight: 700;
35
40
  }
36
41
 
37
- h3 {
38
- margin-bottom: 0;
42
+ .it-brand-tagline {
39
43
  color: $gray-secondary;
40
44
  font-size: 1rem;
41
- }
42
-
43
- svg {
44
- width: 3rem;
45
- height: 3rem;
45
+ font-weight: 700;
46
46
  }
47
47
 
48
48
  .it-brand-text {
49
49
  flex: 1;
50
50
  padding-left: 1rem;
51
51
  }
52
-
53
- a {
54
- text-decoration: none;
55
- }
56
52
  }
57
53
 
58
54
  .navbar-nav {
@@ -143,7 +139,7 @@
143
139
  }
144
140
  }
145
141
 
146
- @media (min-width: 992px) {
142
+ @media (min-width: #{map-get($grid-breakpoints, 'lg')}) {
147
143
  .navbar-collapsable {
148
144
  .menu-wrapper {
149
145
  .it-brand-wrapper,
@@ -7,7 +7,7 @@
7
7
 
8
8
  .title-description-wrapper {
9
9
  h1 {
10
- font-size: 1.5rem;
10
+ font-size: 1.7rem;
11
11
  }
12
12
  }
13
13
  }
@@ -15,6 +15,9 @@
15
15
  .description {
16
16
  color: $subsite-primary-text;
17
17
  }
18
+ a:not(.btn) {
19
+ color: currentColor;
20
+ }
18
21
  }
19
22
 
20
23
  .card {
@@ -14,6 +14,7 @@
14
14
  }
15
15
  }
16
16
  }
17
+
17
18
  .cms-ui .cta-block a {
18
19
  color: $subsite-secondary-text;
19
20
  }
@@ -100,6 +100,7 @@
100
100
  }
101
101
  }
102
102
 
103
+ .date-filter,
103
104
  &.date-filter {
104
105
  .DateRangePickerInput {
105
106
  .DateInput_input {
@@ -87,6 +87,7 @@
87
87
  a {
88
88
  &.rounded-icon {
89
89
  background-color: $subsite-primary-text;
90
+
90
91
  svg {
91
92
  @if $subsite-light-theme {
92
93
  color: color-contrast($subsite-primary-text);
@@ -48,9 +48,11 @@ $docs-section-margin: 3em;
48
48
  justify-content: space-between;
49
49
  padding: 0.4em 0;
50
50
  gap: 4rem;
51
+
51
52
  .title {
52
53
  flex: 1;
53
54
  }
55
+
54
56
  .title-wrap {
55
57
  flex: 1;
56
58
 
@@ -77,7 +79,8 @@ $docs-section-margin: 3em;
77
79
  justify-content: center;
78
80
 
79
81
  a {
80
- width: 2.4em;
82
+ // width: 2.4em;
83
+ margin-left: 0.5rem;
81
84
  text-align: center;
82
85
 
83
86
  svg {
@@ -85,6 +88,10 @@ $docs-section-margin: 3em;
85
88
  height: 1.4rem !important;
86
89
  font-size: 1.3em;
87
90
  }
91
+
92
+ .enhance-link {
93
+ font-size: 0.8rem;
94
+ }
88
95
  }
89
96
  }
90
97
 
@@ -188,10 +195,12 @@ $docs-section-margin: 3em;
188
195
  flex-direction: column;
189
196
  align-items: flex-start;
190
197
  justify-content: center;
198
+
191
199
  .downloads {
192
200
  width: 100%;
193
201
  }
194
202
  }
203
+
195
204
  .doc {
196
205
  flex-wrap: wrap;
197
206
  align-items: center;
@@ -220,8 +229,8 @@ $docs-section-margin: 3em;
220
229
  }
221
230
 
222
231
  &.modulo {
223
- justify-content: space-between;
224
232
  flex-wrap: nowrap;
233
+ justify-content: space-between;
225
234
 
226
235
  .title,
227
236
  .downloads {
@@ -26,8 +26,8 @@
26
26
  margin-bottom: 1.2em;
27
27
  }
28
28
 
29
- .richtext-blocks {
30
- .draftjs-buttons a {
29
+ .richtext-blocks.font-serif {
30
+ a.btn.btn-primary.inline-link {
31
31
  font-family: 'Titillium Web';
32
32
  }
33
33
  }
@@ -18,6 +18,9 @@
18
18
  display: block;
19
19
  }
20
20
  }
21
+ .enhance-link {
22
+ display: none;
23
+ }
21
24
  }
22
25
 
23
26
  .no-external-if-link > .external-link {
@@ -3,6 +3,10 @@
3
3
  font-size: 40px;
4
4
  }
5
5
 
6
+ .show-icon-italia {
7
+ height: 2rem;
8
+ }
9
+
6
10
  .icon-container {
7
11
  width: 15px;
8
12
  }
@@ -10,6 +10,7 @@
10
10
  outline: 2px solid $outer-focus-outline !important;
11
11
  outline-offset: 2px;
12
12
 
13
+ border: none !important;
13
14
  box-shadow: 0 0 0 2px $inner-focus-shadow !important;
14
15
 
15
16
  // adds additional internal black border to buttons