design-comuni-plone-theme 11.10.2 → 12.0.0-alpha.1
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/.github/workflows/slate.yml +47 -0
- package/.yarn/cache/@babel-helper-module-imports-npm-7.24.3-edb733448b-c23492189b.zip +0 -0
- package/.yarn/cache/@babel-types-npm-7.24.0-a0508cb308-4b574a37d4.zip +0 -0
- package/.yarn/cache/babel-plugin-lodash-npm-3.3.4-c7161075b6-044a4261e6.zip +0 -0
- package/.yarn/cache/require-package-name-npm-2.0.1-ac9a206b63-00f4e9e467.zip +0 -0
- package/.yarn/cache/{volto-form-block-npm-3.7.2-f24953a510-7387a1b85a.zip → volto-form-block-npm-3.8.2-e49cbe07d5-5b72a06a5e.zip} +0 -0
- package/.yarn/cache/{volto-gdpr-privacy-npm-2.2.1-bc93b3e168-bce76108c3.zip → volto-gdpr-privacy-npm-2.2.0-6be0f74d53-8a93254251.zip} +0 -0
- package/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +878 -916
- package/RELEASE.md +8 -0
- package/locales/de/LC_MESSAGES/volto.po +86 -18
- package/locales/en/LC_MESSAGES/volto.po +86 -18
- package/locales/es/LC_MESSAGES/volto.po +86 -18
- package/locales/fr/LC_MESSAGES/volto.po +86 -18
- package/locales/it/LC_MESSAGES/volto.po +86 -18
- package/locales/volto.pot +87 -19
- package/package.json +5 -3
- package/publiccode.yml +2 -2
- package/src/components/Collapse.jsx +1 -0
- package/src/components/ItaliaTheme/Blocks/Accordion/Block/EditBlock.jsx +29 -24
- package/src/components/ItaliaTheme/Blocks/Accordion/Block/ViewBlock.jsx +4 -12
- package/src/components/ItaliaTheme/Blocks/Accordion/Edit.jsx +67 -6
- package/src/components/ItaliaTheme/Blocks/Alert/Edit.jsx +60 -113
- package/src/components/ItaliaTheme/Blocks/Alert/Sidebar.jsx +1 -0
- package/src/components/ItaliaTheme/Blocks/Alert/View.jsx +5 -14
- package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Block.jsx +16 -11
- package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Body.jsx +2 -1
- package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/Edit.jsx +39 -1
- package/src/components/ItaliaTheme/Blocks/CTABlock/Block.jsx +35 -95
- package/src/components/ItaliaTheme/Blocks/Callout/Edit.jsx +108 -0
- package/src/components/ItaliaTheme/Blocks/Callout/Sidebar.jsx +173 -0
- package/src/components/ItaliaTheme/Blocks/Callout/View.jsx +45 -0
- package/src/components/ItaliaTheme/Blocks/ContactsBlock/Block/EditBlock.jsx +84 -63
- package/src/components/ItaliaTheme/Blocks/ContactsBlock/Block/ViewBlock.jsx +19 -39
- package/src/components/ItaliaTheme/Blocks/ContactsBlock/Edit.jsx +92 -19
- package/src/components/ItaliaTheme/Blocks/ContactsBlock/View.jsx +13 -21
- package/src/components/ItaliaTheme/Blocks/CountDown/Edit.jsx +21 -25
- package/src/components/ItaliaTheme/Blocks/CountDown/View.jsx +6 -15
- package/src/components/ItaliaTheme/Blocks/IconBlocks/Block/EditBlock.jsx +40 -15
- package/src/components/ItaliaTheme/Blocks/IconBlocks/Block/ViewBlock.jsx +6 -21
- package/src/components/ItaliaTheme/Blocks/IconBlocks/Edit.jsx +93 -20
- package/src/components/ItaliaTheme/Blocks/IconBlocks/Sidebar.jsx +1 -9
- package/src/components/ItaliaTheme/Blocks/IconBlocks/View.jsx +4 -17
- package/src/components/ItaliaTheme/Blocks/NumbersBlock/Block/EditBlock.jsx +46 -15
- package/src/components/ItaliaTheme/Blocks/NumbersBlock/Block/ViewBlock.jsx +2 -18
- package/src/components/ItaliaTheme/Blocks/NumbersBlock/Edit.jsx +84 -11
- package/src/components/ItaliaTheme/Blocks/NumbersBlock/View.jsx +2 -11
- package/src/components/ItaliaTheme/Blocks/TextCard/CardWithImage/Block.jsx +33 -67
- package/src/components/ItaliaTheme/Blocks/TextCard/CardWithImage/Edit.jsx +2 -8
- package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/BodyWrapper.jsx +2 -1
- package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/Edit.jsx +98 -84
- package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/View.jsx +20 -3
- package/src/components/ItaliaTheme/Blocks/__tests__/Accordion.test.jsx +11 -28
- package/src/components/ItaliaTheme/Blocks/__tests__/Alert.test.jsx +10 -14
- package/src/components/ItaliaTheme/Blocks/__tests__/ArgumentsInEvidence.test.jsx +20 -28
- package/src/components/ItaliaTheme/Blocks/__tests__/CTABlock.test.jsx +14 -29
- package/src/components/ItaliaTheme/Blocks/__tests__/CardWithImage.test.jsx +11 -28
- package/src/components/ItaliaTheme/Blocks/__tests__/ContactsBlock.test.jsx +75 -140
- package/src/components/ItaliaTheme/Blocks/__tests__/Countdown.test.jsx +20 -28
- package/src/components/ItaliaTheme/Blocks/__tests__/IconBlocks.test.jsx +22 -56
- package/src/components/ItaliaTheme/Blocks/__tests__/NumbersBlock.test.jsx +14 -43
- package/src/components/ItaliaTheme/Blocks/__tests__/SimpleCard.test.jsx +14 -30
- package/src/components/ItaliaTheme/Footer/FooterInfos.jsx +22 -8
- package/src/components/ItaliaTheme/Footer/FooterNavigation.jsx +3 -3
- package/src/components/ItaliaTheme/MegaMenu/MegaMenu.jsx +5 -1
- package/src/components/ItaliaTheme/Slider/SingleSlideWrapper.jsx +2 -3
- package/src/components/ItaliaTheme/View/BandoView/BandoApprofondimenti.jsx +1 -2
- package/src/components/ItaliaTheme/View/CartellaModulisticaView/DocRow.jsx +14 -5
- package/src/components/ItaliaTheme/View/Commons/Attachment.jsx +19 -3
- package/src/components/ItaliaTheme/View/Commons/Attachments.jsx +0 -1
- package/src/components/ItaliaTheme/View/Commons/DownloadFileFormat.jsx +11 -7
- package/src/components/ItaliaTheme/View/Commons/Module.jsx +7 -6
- package/src/components/ItaliaTheme/View/Commons/PageHeader/PageHeaderLinkServizio.jsx +6 -2
- package/src/components/ItaliaTheme/View/Commons/RichTextRender.jsx +8 -6
- package/src/components/ItaliaTheme/View/Commons/__tests__/RichText.test.jsx +14 -17
- package/src/components/ItaliaTheme/View/ServizioView/ServizioAccedi.jsx +5 -6
- package/src/components/ItaliaTheme/View/ServizioView/ServizioMetatag.jsx +4 -0
- package/src/components/ItaliaTheme/View/__tests__/CartellaModulisticaView.test.jsx +12 -1
- package/src/components/ItaliaTheme/View/__tests__/IncaricoView.test.jsx +24 -30
- package/src/components/ItaliaTheme/View/__tests__/PageView.test.jsx +24 -2
- package/src/components/ItaliaTheme/View/__tests__/PersonaView.test.jsx +96 -92
- package/src/components/ItaliaTheme/View/__tests__/ServizioAChiSiRivolge.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioAccedi.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioCasiParticolari.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioComeFare.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioCondizioni.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioContatti.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioCosE.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioCosaServe.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioCosaSiOttiene.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioCostiVincoli.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioMetadati.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioModulistica.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioProcedure.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioSitiEsterni.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioTempiScadenze.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioUlterioriInformazioni.test.jsx +240 -286
- package/src/components/ItaliaTheme/View/__tests__/ServizioView.test.jsx +470 -560
- package/src/components/ItaliaTheme/View/__tests__/TrasparenzaView.test.jsx +12 -1
- package/src/components/ItaliaTheme/manage/Widgets/ColorListWidget.jsx +11 -2
- package/src/components/ItaliaTheme/manage/Widgets/HtmlSlateWidget.jsx +154 -0
- package/src/components/ItaliaTheme/manage/Widgets/RichTextWidget.jsx +88 -0
- package/src/components/ItaliaTheme/manage/Widgets/SimpleTextEditorWidget.jsx +158 -0
- package/src/components/ItaliaTheme/manage/Widgets/TextEditorWidget.jsx +167 -270
- package/src/config/Blocks/ListingOptions/index.js +0 -1
- package/src/config/Blocks/ListingOptions/utils.js +0 -7
- package/src/config/Blocks/blocks.js +29 -8
- package/src/config/Blocks/listingVariations.js +1 -1
- package/src/config/Slate/Alignment/AlignMenu.jsx +169 -0
- package/src/config/Slate/Alignment/index.js +42 -0
- package/src/config/Slate/Blockquote/BlockquoteMenu.jsx +151 -0
- package/src/config/Slate/Blockquote/index.js +12 -0
- package/src/config/Slate/Headings/HeadingsMenu.jsx +139 -0
- package/src/config/Slate/Headings/headingsMenu.scss +44 -0
- package/src/config/Slate/Headings/index.js +62 -0
- package/src/config/Slate/Link/deserializer.js +25 -0
- package/src/config/Slate/Link/index.js +126 -0
- package/src/config/Slate/Link/renderer.jsx +99 -0
- package/src/config/Slate/LinkButton/index.js +47 -0
- package/src/config/Slate/TextLarger/index.js +51 -0
- package/src/config/Slate/Underline/index.js +10 -0
- package/src/config/Slate/config.js +43 -0
- package/src/config/Slate/deserializers.js +66 -0
- package/src/config/Slate/dropdownStyle.scss +14 -0
- package/src/config/Slate/dropdownUtils.js +422 -0
- package/src/config/Slate/extensions/breakList.js +91 -0
- package/src/config/Slate/handlers.js +243 -0
- package/src/config/Slate/utils.js +73 -0
- package/src/config/Widgets/widgets.js +1 -2
- package/src/config/italiaConfig.js +7 -54
- package/src/customizations/volto/components/manage/AnchorPlugin/components/LinkButton/AddLinkForm.jsx +360 -0
- package/src/customizations/volto/components/manage/Blocks/HeroImageLeft/Edit.jsx +75 -200
- package/src/customizations/volto/components/manage/Blocks/Video/Edit.jsx +1 -1
- package/src/customizations/volto/components/manage/Form/BlocksToolbar.jsx +1 -1
- package/src/customizations/volto/components/manage/UniversalLink/UniversalLink.jsx +59 -6
- package/src/customizations/volto-form-block/components/Field.jsx +45 -22
- package/src/customizations/volto-form-block/components/FormResult.jsx +74 -0
- package/src/customizations/volto-form-block/components/FormView.jsx +79 -66
- package/src/customizations/volto-form-block/components/Widget/Button.jsx +50 -0
- package/src/helpers/EnhanceLink.js +44 -0
- package/src/helpers/FormValidation/FormValidationHelpers.js +3 -0
- package/src/helpers/blocks.js +86 -0
- package/src/helpers/files.js +14 -14
- package/src/helpers/index.js +4 -3
- package/src/helpers/richTextHelper.js +10 -0
- package/src/icons/Group.svg +1 -0
- package/src/icons/blocco-icone.svg +0 -3
- package/src/icons/blockquote-card-dark.svg +1 -0
- package/src/icons/blockquote-card.svg +1 -0
- package/src/icons/blockquote-simple.svg +1 -0
- package/src/icons/text-larger.svg +1 -0
- package/src/theme/ItaliaTheme/Blocks/_accordion.scss +1 -10
- package/src/theme/ItaliaTheme/Blocks/_alert.scss +53 -1
- package/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss +1 -0
- package/src/theme/ItaliaTheme/Blocks/_callout.scss +32 -0
- package/src/theme/ItaliaTheme/Blocks/_contacts.scss +15 -32
- package/src/theme/ItaliaTheme/Blocks/_ctaBlock.scss +0 -14
- package/src/theme/ItaliaTheme/Blocks/_gridBlock.scss +1 -1
- package/src/theme/ItaliaTheme/Blocks/_hero.scss +1 -8
- package/src/theme/ItaliaTheme/Blocks/_iconBlocks.scss +0 -30
- package/src/theme/ItaliaTheme/Blocks/_imageCardTextBlock.scss +3 -2
- package/src/theme/ItaliaTheme/Blocks/_numbers.scss +1 -5
- package/src/theme/ItaliaTheme/Blocks/_simpleCardTextBlock.scss +8 -2
- package/src/theme/ItaliaTheme/Blocks/_tableOfContents.scss +1 -0
- package/src/theme/ItaliaTheme/Components/_megamenu.scss +0 -4
- package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Blocks/_cta.scss +1 -0
- package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Blocks/_searchSections.scss +1 -0
- package/src/theme/ItaliaTheme/Subsites/bootstrap-italia/custom/_headercenter.scss +1 -0
- package/src/theme/ItaliaTheme/Views/_cartellaModulistica.scss +11 -2
- package/src/theme/ItaliaTheme/Views/_slider.scss +3 -3
- package/src/theme/ItaliaTheme/Widgets/_iconWidget.scss +4 -0
- package/src/theme/ItaliaTheme/_main.scss +42 -54
- package/src/theme/_cms-ui.scss +59 -161
- package/src/theme/extras/_forms.scss +2 -14
- package/src/theme/site.scss +1 -0
- package/test-setup-config.js +58 -0
- package/src/components/ItaliaTheme/Blocks/TextCard/SimpleCard/Block.jsx +0 -151
- package/src/config/RichTextEditor/LinkEntity.jsx +0 -27
- package/src/config/RichTextEditor/Plugins/AnchorPlugin/components/Link/index.jsx +0 -44
- package/src/config/RichTextEditor/Plugins/AnchorPlugin/components/LinkButton/AddLinkForm.jsx +0 -349
- package/src/config/RichTextEditor/Plugins/AnchorPlugin/components/LinkButton/index.js +0 -150
- package/src/config/RichTextEditor/Plugins/AnchorPlugin/index.js +0 -88
- package/src/config/RichTextEditor/ToolbarButtons/AlignButton.jsx +0 -61
- package/src/config/RichTextEditor/ToolbarButtons/ButtonsButton.jsx +0 -14
- package/src/config/RichTextEditor/ToolbarButtons/CalloutsButton.jsx +0 -38
- package/src/config/RichTextEditor/ToolbarButtons/DraftJsDropdownButton.jsx +0 -106
- package/src/config/RichTextEditor/ToolbarButtons/HeadingsButton.jsx +0 -57
- package/src/config/RichTextEditor/ToolbarButtons/TextSizeButton.jsx +0 -65
- package/src/config/RichTextEditor/ToolbarButtons/UnderlineButton.jsx +0 -14
- package/src/config/RichTextEditor/config.js +0 -253
- package/src/config/volto-gdpr-privacy-defaultPanelConfig.js +0 -292
- package/src/customizations/volto/components/manage/Blocks/ToC/View.jsx +0 -134
- package/src/customizations/volto/components/manage/Blocks/ToC/variations/DefaultTocRenderer.jsx +0 -99
- package/src/customizations/volto/config/RichTextEditor/Plugins.jsx +0 -63
- package/src/helpers/redraftHelper.js +0 -9
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
.alert-colors-widget {
|
|
2
|
+
.color-list-widget {
|
|
3
|
+
.ui.button.info {
|
|
4
|
+
&,
|
|
5
|
+
&.active {
|
|
6
|
+
background-color: $alert-info;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.ui.button.warning {
|
|
11
|
+
&,
|
|
12
|
+
&.active {
|
|
13
|
+
background-color: $alert-warning;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ui.button.danger {
|
|
18
|
+
&,
|
|
19
|
+
&.active {
|
|
20
|
+
background-color: $alert-danger;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
1
26
|
.public-ui {
|
|
2
27
|
.block.alertblock,
|
|
3
28
|
.alertblock {
|
|
@@ -5,7 +30,7 @@
|
|
|
5
30
|
height: auto;
|
|
6
31
|
}
|
|
7
32
|
|
|
8
|
-
.
|
|
33
|
+
a.btn.btn-primary.inline-link {
|
|
9
34
|
background-color: $white;
|
|
10
35
|
color: $body-color;
|
|
11
36
|
|
|
@@ -19,6 +44,15 @@
|
|
|
19
44
|
background-color: $alert-danger;
|
|
20
45
|
color: $alert-danger-text;
|
|
21
46
|
|
|
47
|
+
h1,
|
|
48
|
+
h2,
|
|
49
|
+
h3,
|
|
50
|
+
h4,
|
|
51
|
+
h5,
|
|
52
|
+
h6 {
|
|
53
|
+
color: $alert-danger-text;
|
|
54
|
+
}
|
|
55
|
+
|
|
22
56
|
a {
|
|
23
57
|
color: $alert-danger-text;
|
|
24
58
|
}
|
|
@@ -28,6 +62,15 @@
|
|
|
28
62
|
background-color: $alert-warning;
|
|
29
63
|
color: $alert-warning-text;
|
|
30
64
|
|
|
65
|
+
h1,
|
|
66
|
+
h2,
|
|
67
|
+
h3,
|
|
68
|
+
h4,
|
|
69
|
+
h5,
|
|
70
|
+
h6 {
|
|
71
|
+
color: $alert-warning-text;
|
|
72
|
+
}
|
|
73
|
+
|
|
31
74
|
a {
|
|
32
75
|
color: $alert-warning-text;
|
|
33
76
|
}
|
|
@@ -37,6 +80,15 @@
|
|
|
37
80
|
background-color: $alert-info;
|
|
38
81
|
color: $alert-info-text;
|
|
39
82
|
|
|
83
|
+
h1,
|
|
84
|
+
h2,
|
|
85
|
+
h3,
|
|
86
|
+
h4,
|
|
87
|
+
h5,
|
|
88
|
+
h6 {
|
|
89
|
+
color: $alert-info-text;
|
|
90
|
+
}
|
|
91
|
+
|
|
40
92
|
a {
|
|
41
93
|
color: $alert-info-text;
|
|
42
94
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
body.cms-ui {
|
|
2
|
+
.block-editor-callout_block {
|
|
3
|
+
.public-ui {
|
|
4
|
+
.callout {
|
|
5
|
+
.callout-title {
|
|
6
|
+
display: flex;
|
|
7
|
+
|
|
8
|
+
.icon {
|
|
9
|
+
max-width: 32px;
|
|
10
|
+
flex: 1 0 100%;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.text {
|
|
14
|
+
padding-right: calc(10px + 0.7rem);
|
|
15
|
+
background-color: #fff;
|
|
16
|
+
|
|
17
|
+
&:after {
|
|
18
|
+
z-index: -1;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
p {
|
|
24
|
+
&,
|
|
25
|
+
* {
|
|
26
|
+
font-family: 'Lora', Georgia, serif !important; //as bootstrap-italia says
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
@@ -54,17 +54,6 @@
|
|
|
54
54
|
font-weight: bold;
|
|
55
55
|
line-height: 3rem;
|
|
56
56
|
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
57
|
}
|
|
69
58
|
|
|
70
59
|
.description {
|
|
@@ -72,17 +61,6 @@
|
|
|
72
61
|
|
|
73
62
|
line-height: 1.65em;
|
|
74
63
|
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
64
|
}
|
|
87
65
|
}
|
|
88
66
|
|
|
@@ -115,10 +93,15 @@
|
|
|
115
93
|
font-size: 1.35rem;
|
|
116
94
|
font-weight: bold;
|
|
117
95
|
line-height: 1.4em;
|
|
96
|
+
|
|
97
|
+
margin-bottom: 1rem;
|
|
118
98
|
}
|
|
119
99
|
|
|
120
100
|
.contact-text {
|
|
121
101
|
font-size: 0.9rem;
|
|
102
|
+
.detached-slate-editor {
|
|
103
|
+
margin-bottom: 1rem;
|
|
104
|
+
}
|
|
122
105
|
}
|
|
123
106
|
|
|
124
107
|
.contact-info {
|
|
@@ -136,9 +119,19 @@
|
|
|
136
119
|
margin-bottom: 1rem;
|
|
137
120
|
}
|
|
138
121
|
|
|
122
|
+
[role='textbox'] {
|
|
123
|
+
//slate editor
|
|
124
|
+
width: 100%;
|
|
125
|
+
&[data-slate-editor='true'] {
|
|
126
|
+
min-height: 1em;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
139
130
|
.icon-wrapper {
|
|
140
131
|
margin-top: 0.2rem;
|
|
141
132
|
margin-right: 1rem;
|
|
133
|
+
display: flex;
|
|
134
|
+
align-items: center;
|
|
142
135
|
}
|
|
143
136
|
|
|
144
137
|
.tel {
|
|
@@ -154,10 +147,6 @@
|
|
|
154
147
|
flex: 1 1 auto;
|
|
155
148
|
word-break: break-word;
|
|
156
149
|
|
|
157
|
-
.DraftEditor-editorContainer {
|
|
158
|
-
line-height: 1.48em;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
150
|
p {
|
|
162
151
|
line-height: 1.48em;
|
|
163
152
|
|
|
@@ -166,12 +155,6 @@
|
|
|
166
155
|
}
|
|
167
156
|
}
|
|
168
157
|
}
|
|
169
|
-
|
|
170
|
-
.public-DraftStyleDefault-block {
|
|
171
|
-
&:last-of-type {
|
|
172
|
-
margin-bottom: 0;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
158
|
}
|
|
176
159
|
}
|
|
177
160
|
|
|
@@ -56,20 +56,6 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
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
59
|
&.has-image {
|
|
74
60
|
position: relative;
|
|
75
61
|
display: block;
|
|
@@ -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 {
|
|
@@ -66,17 +66,6 @@
|
|
|
66
66
|
font-weight: bold;
|
|
67
67
|
line-height: 3rem;
|
|
68
68
|
text-align: center;
|
|
69
|
-
|
|
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
|
-
}
|
|
79
|
-
}
|
|
80
69
|
}
|
|
81
70
|
|
|
82
71
|
.description {
|
|
@@ -94,17 +83,6 @@
|
|
|
94
83
|
a {
|
|
95
84
|
color: #fff;
|
|
96
85
|
}
|
|
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
86
|
}
|
|
109
87
|
}
|
|
110
88
|
|
|
@@ -197,18 +175,10 @@
|
|
|
197
175
|
font-weight: bold;
|
|
198
176
|
line-height: 1.8rem;
|
|
199
177
|
text-align: center;
|
|
200
|
-
|
|
201
|
-
.public-DraftEditor-content {
|
|
202
|
-
text-align: center;
|
|
203
|
-
}
|
|
204
178
|
}
|
|
205
179
|
|
|
206
180
|
.iconblock-text {
|
|
207
181
|
text-align: center;
|
|
208
|
-
|
|
209
|
-
.public-DraftEditor-content {
|
|
210
|
-
text-align: center;
|
|
211
|
-
}
|
|
212
182
|
}
|
|
213
183
|
|
|
214
184
|
a.read-more {
|
|
@@ -88,11 +88,7 @@
|
|
|
88
88
|
font-weight: 500;
|
|
89
89
|
line-height: 1em;
|
|
90
90
|
|
|
91
|
-
.
|
|
92
|
-
.DraftEditor-editorContainer
|
|
93
|
-
.public-DraftEditor-content
|
|
94
|
-
span,
|
|
95
|
-
.public-DraftEditorPlaceholder-root .public-DraftEditorPlaceholder-inner {
|
|
91
|
+
.simple-text-editor-widget {
|
|
96
92
|
font-family: $font-family-monospace !important;
|
|
97
93
|
}
|
|
98
94
|
}
|
|
@@ -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
|
-
.
|
|
10
|
+
.slate-editor * {
|
|
6
11
|
font-family: 'Lora, Georgia, serif';
|
|
7
|
-
|
|
12
|
+
line-height: 1.5em;
|
|
13
|
+
font-size: 1.1rem;
|
|
8
14
|
}
|
|
9
15
|
}
|
|
10
16
|
}
|
|
@@ -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 {
|
|
@@ -80,20 +80,25 @@ iframe {
|
|
|
80
80
|
|
|
81
81
|
.public-ui,
|
|
82
82
|
.cms-ui {
|
|
83
|
-
blockquote
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
blockquote,
|
|
84
|
+
.blockquote {
|
|
85
|
+
display: flow-root; //serve per quando i blockquote sono affiancati alle immagini allineate a dx o sx
|
|
86
|
+
border-color: $primary !important;
|
|
87
|
+
|
|
88
|
+
ul:first-child,
|
|
89
|
+
ol:first-child {
|
|
90
|
+
margin-top: 0;
|
|
91
|
+
}
|
|
87
92
|
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
93
|
+
ul:last-child,
|
|
94
|
+
ol:last-child {
|
|
95
|
+
margin-bottom: 0;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&.dark {
|
|
99
|
+
a {
|
|
100
|
+
color: $primary-text;
|
|
101
|
+
}
|
|
97
102
|
}
|
|
98
103
|
}
|
|
99
104
|
|
|
@@ -109,63 +114,46 @@ iframe {
|
|
|
109
114
|
}
|
|
110
115
|
}
|
|
111
116
|
|
|
112
|
-
.
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
background-color: $primary-c1;
|
|
116
|
-
|
|
117
|
-
p,
|
|
118
|
-
.public-DraftStyleDefault-block {
|
|
119
|
-
&:last-of-type {
|
|
120
|
-
margin-bottom: 0;
|
|
121
|
-
}
|
|
122
|
-
}
|
|
117
|
+
.text-larger {
|
|
118
|
+
//.text-larger: stile applicabile da editor Slate
|
|
119
|
+
font-size: 1.75em;
|
|
123
120
|
}
|
|
121
|
+
}
|
|
124
122
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
123
|
+
//slate LINK
|
|
124
|
+
// .inline-link {
|
|
125
|
+
// margin-left: 0.5rem;
|
|
126
|
+
// margin-right: 0.5rem;
|
|
127
|
+
// }
|
|
128
128
|
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
129
|
+
.slate-editor-link {
|
|
130
|
+
clear: both;
|
|
132
131
|
|
|
133
|
-
|
|
132
|
+
&.btn {
|
|
133
|
+
display: inline-block;
|
|
134
|
+
padding: 12px 24px;
|
|
135
|
+
border-radius: $btn-border-radius;
|
|
134
136
|
margin: 0;
|
|
135
|
-
|
|
137
|
+
font-weight: 600;
|
|
138
|
+
text-align: center;
|
|
139
|
+
text-decoration: none;
|
|
136
140
|
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
141
|
+
&:hover,
|
|
142
|
+
&:active {
|
|
143
|
+
font-weight: 600;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
&.btn-primary {
|
|
142
147
|
background-color: $primary;
|
|
143
148
|
color: $primary-text;
|
|
144
|
-
font-weight: 700;
|
|
145
|
-
text-align: center;
|
|
146
|
-
text-decoration: none;
|
|
147
149
|
|
|
148
150
|
&:hover,
|
|
149
151
|
&:active {
|
|
150
152
|
background-color: darken($primary, 8);
|
|
151
153
|
color: $primary-text;
|
|
152
|
-
font-weight: 700;
|
|
153
154
|
}
|
|
154
155
|
}
|
|
155
156
|
}
|
|
156
|
-
|
|
157
|
-
div[class^='draftJsToolbar__toolbar__'] {
|
|
158
|
-
line-height: 1rem;
|
|
159
|
-
|
|
160
|
-
.icon {
|
|
161
|
-
font-size: 1rem;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
.ui.input > input {
|
|
165
|
-
height: auto;
|
|
166
|
-
font-size: 0.8rem;
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
157
|
}
|
|
170
158
|
|
|
171
159
|
#text-body {
|