design-comuni-plone-theme 11.3.2 → 11.3.3
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/.yarn/install-state.gz +0 -0
- package/CHANGELOG.md +24 -0
- package/RELEASE.md +17 -1
- package/package.json +1 -1
- package/publiccode.yml +2 -2
- package/src/components/ItaliaTheme/Blocks/ArgumentsInEvidence/BottomBody.jsx +3 -3
- package/src/components/ItaliaTheme/Blocks/Listing/CardWithImageTemplate.jsx +4 -2
- package/src/components/ItaliaTheme/Blocks/Listing/GridGalleryTemplate.jsx +16 -17
- package/src/components/ItaliaTheme/View/Commons/Attachments.jsx +2 -1
- package/src/components/ItaliaTheme/View/Commons/OfficeCard.jsx +1 -1
- package/src/components/ItaliaTheme/View/Commons/VenuesSmall.jsx +1 -1
- package/src/components/ItaliaTheme/View/IncaricoView/IncaricoView.jsx +10 -6
- package/src/components/ItaliaTheme/View/ServizioView/ServizioAccedi.jsx +9 -8
- package/src/theme/ItaliaTheme/Blocks/_bandiInEvidenceTemplate.scss +9 -7
- package/src/theme/ItaliaTheme/Blocks/_iconBlocks.scss +1 -1
- package/src/theme/ItaliaTheme/Components/_cardLocationItem.scss +5 -0
- package/src/theme/ItaliaTheme/Components/_officeCard.scss +5 -0
- package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Blocks/_cta.scss +8 -1
- package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Blocks/_highlitedContent.scss +9 -4
- package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/Blocks/_searchSections.scss +7 -2
- package/src/theme/ItaliaTheme/Subsites/ItaliaTheme/_common.scss +5 -10
- package/src/theme/ItaliaTheme/Subsites/_mixin.scss +5 -3
- package/src/theme/ItaliaTheme/Views/_cartellaModulistica.scss +12 -1
- package/src/theme/site.scss +2 -0
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
+
## [11.3.3](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.3.2...v11.3.3) (2024-01-30)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* alignment of CardPersona images and better layout for tablets, 2 cards max per row at this screen size ([#501](https://github.com/redturtle/design-comuni-plone-theme/issues/501)) ([8a8fe7a](https://github.com/redturtle/design-comuni-plone-theme/commit/8a8fe7af3f4c93036579ff200a69b65dfe19b478))
|
|
9
|
+
* color contrast in icons block ([#498](https://github.com/redturtle/design-comuni-plone-theme/issues/498)) ([2099b12](https://github.com/redturtle/design-comuni-plone-theme/commit/2099b12b535610eee1b5be0382e7e6d58582a91b))
|
|
10
|
+
* ct Cartella Modulistica layout fixes, handle long text and fix mobile layout ([#497](https://github.com/redturtle/design-comuni-plone-theme/issues/497)) ([40ca2c9](https://github.com/redturtle/design-comuni-plone-theme/commit/40ca2c98645f28bafaf65b67929fbf8d67c649d5))
|
|
11
|
+
* gallery grid block scale for index 3 ([#492](https://github.com/redturtle/design-comuni-plone-theme/issues/492)) ([2800f1d](https://github.com/redturtle/design-comuni-plone-theme/commit/2800f1d50f3f158af19b817d6403cee88bba173b))
|
|
12
|
+
* layout and link color for BandiInEvidence ([e064d22](https://github.com/redturtle/design-comuni-plone-theme/commit/e064d22ea57561dcaa92f4a58bd249ad1337ceec))
|
|
13
|
+
* layout for LocationItem and VenuesSmall fixed for tablet ([#505](https://github.com/redturtle/design-comuni-plone-theme/issues/505)) ([656238a](https://github.com/redturtle/design-comuni-plone-theme/commit/656238a82ec88ea9cab6dfc92171fd9b92690655))
|
|
14
|
+
* layout of OfficeCard component in tablet resolutions, fix wrapper of Office cards in all views that can have multiple OfficeCards ([#506](https://github.com/redturtle/design-comuni-plone-theme/issues/506)) ([aa7a1e9](https://github.com/redturtle/design-comuni-plone-theme/commit/aa7a1e9baa71fe1d63b4b28ab734cf0c7d89202a))
|
|
15
|
+
* removed unnecessary link color variable ([a60599a](https://github.com/redturtle/design-comuni-plone-theme/commit/a60599a873992e0a7254e261540fd63cc83ce042))
|
|
16
|
+
* removed width style from card-body, added align-items style to overwrite listing-item style ([aad1c80](https://github.com/redturtle/design-comuni-plone-theme/commit/aad1c800705e0e3d3bc1ad3abdc0a369bba42b3b))
|
|
17
|
+
* styles for highlitedContent block for subsites ([#503](https://github.com/redturtle/design-comuni-plone-theme/issues/503)) ([d51135e](https://github.com/redturtle/design-comuni-plone-theme/commit/d51135e356a7a1203e706f48781fb3ff11392ee9))
|
|
18
|
+
* **subsites:** changed select pill text color when theme is light ([#494](https://github.com/redturtle/design-comuni-plone-theme/issues/494)) ([2421e20](https://github.com/redturtle/design-comuni-plone-theme/commit/2421e202274b0376b1e12ca16f586502a3d2830a))
|
|
19
|
+
* the default maximum b_size allowed in redturtle.volto is 500, this fix remove annoying log warning ([#499](https://github.com/redturtle/design-comuni-plone-theme/issues/499)) ([970e4f4](https://github.com/redturtle/design-comuni-plone-theme/commit/970e4f401f16c4b1fda7cbe2b0ed9a158445ffa9))
|
|
20
|
+
* visualizzazione altri argomenti in blocco argomenti quando il loro numero è esiguo ([#493](https://github.com/redturtle/design-comuni-plone-theme/issues/493)) ([9644292](https://github.com/redturtle/design-comuni-plone-theme/commit/96442927aa9ac3cc85fcf90c8aa64e204231f61b))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
### Maintenance
|
|
24
|
+
|
|
25
|
+
* preparing release v11.3.3 ([4ccd4e2](https://github.com/redturtle/design-comuni-plone-theme/commit/4ccd4e26bd61f84df4d90059862f510b40d44913))
|
|
26
|
+
|
|
3
27
|
## [11.3.2](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.3.1...v11.3.2) (2024-01-19)
|
|
4
28
|
|
|
5
29
|
|
package/RELEASE.md
CHANGED
|
@@ -41,7 +41,23 @@
|
|
|
41
41
|
- ...
|
|
42
42
|
-->
|
|
43
43
|
|
|
44
|
-
## Versione 11.3.
|
|
44
|
+
## Versione 11.3.3 (30/01/2024)
|
|
45
|
+
|
|
46
|
+
### Fix
|
|
47
|
+
|
|
48
|
+
- Sistemato il layout del blocco elenco per i Bandi
|
|
49
|
+
- Sistemato il layout del template Galliery a griglia per il blocco elenco, le immagini più piccole ora sono correttamente contenute dentro il loro riquadro e il titolo non fuoriesce più
|
|
50
|
+
- Sistemati problemi negli stili per i sottositi
|
|
51
|
+
- Risolto un problema di visualizzazione degli argomenti indicati come altri argomenti nel blocco Argomenti quando il loro numero è esiguo
|
|
52
|
+
- Sistemato il layout e la visualizzazione della vista del CT Cartella Modulistica per gestire al meglio gli elementi
|
|
53
|
+
titolo, titolo del modulo e link al download in caso di testi lunghi, specialmente su mobile
|
|
54
|
+
- Colore di sfondo per il blocco icone impostato sul colore primario. Sistemato il contrasto tra descrizione e lo sfondo
|
|
55
|
+
- Sistemata la visualizzazione delle card Uffici (card Unità Organizzativa) nelle risoluzioni tablet più comuni
|
|
56
|
+
- Layout delle card per i luoghi migliorato per dispositivi tablet
|
|
57
|
+
- Risolto un problema di visualizzazione e allineamento delle immagini per le card dei blocchi elenco che rappresentano Persone,
|
|
58
|
+
migliorata la visualizzazione e il layout su dispositivi tablet (intervallo dimensioni: 992px-1199px)
|
|
59
|
+
|
|
60
|
+
## Versione 11.3.2 (19/01/2024)
|
|
45
61
|
|
|
46
62
|
### Fix
|
|
47
63
|
|
package/package.json
CHANGED
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: '2024-01-
|
|
230
|
+
releaseDate: '2024-01-30'
|
|
231
231
|
softwareType: standalone/web
|
|
232
|
-
softwareVersion: 11.3.
|
|
232
|
+
softwareVersion: 11.3.3
|
|
233
233
|
url: 'https://github.com/italia/design-comuni-plone-theme'
|
|
234
234
|
usedBy:
|
|
235
235
|
- ASP Comuni Modenesi Area Nord
|
|
@@ -17,13 +17,13 @@ const messages = defineMessages({
|
|
|
17
17
|
const BottomBody = ({ data, intl }) => {
|
|
18
18
|
return data?.arguments?.length > 0 ? (
|
|
19
19
|
<Container className="text-center">
|
|
20
|
-
<div className="row d-lg-inline-flex pt-5">
|
|
21
|
-
<div className="col-lg-
|
|
20
|
+
<div className="row d-lg-inline-flex align-items-center pt-5">
|
|
21
|
+
<div className="col-lg-auto">
|
|
22
22
|
<h6 className="text-uppercase text-center mt-1">
|
|
23
23
|
{intl?.formatMessage(messages.otherArguments)}
|
|
24
24
|
</h6>
|
|
25
25
|
</div>
|
|
26
|
-
<div className="col-lg-
|
|
26
|
+
<div className="col-lg-auto">
|
|
27
27
|
{data?.arguments?.map((argument, index) => (
|
|
28
28
|
<Chip
|
|
29
29
|
color="primary"
|
|
@@ -104,17 +104,19 @@ const CardWithImageTemplate = (props) => {
|
|
|
104
104
|
name: 'BlockExtraTags',
|
|
105
105
|
dependencies: ['CardWithImageTemplate', item['@type']],
|
|
106
106
|
}).component;
|
|
107
|
+
const layoutSelected = set_four_columns ? '3' : '4';
|
|
107
108
|
|
|
108
109
|
return (
|
|
109
110
|
<Col
|
|
110
|
-
|
|
111
|
+
xl={layoutSelected}
|
|
112
|
+
lg={item['@type'] === 'Persona' ? 6 : layoutSelected}
|
|
111
113
|
key={item['@id']}
|
|
112
114
|
className="col-item mb-3"
|
|
113
115
|
>
|
|
114
116
|
{item['@type'] === 'Persona' ? (
|
|
115
117
|
<CardPersona
|
|
116
118
|
item={item}
|
|
117
|
-
className="
|
|
119
|
+
className="card-bg shadow-sm"
|
|
118
120
|
showImage={showImage}
|
|
119
121
|
natural_image_size={natural_image_size}
|
|
120
122
|
show_description={show_description}
|
|
@@ -35,7 +35,6 @@ const GridGalleryTemplate = ({
|
|
|
35
35
|
linkmore_id_lighthouse,
|
|
36
36
|
}) => {
|
|
37
37
|
const intl = useIntl();
|
|
38
|
-
|
|
39
38
|
return (
|
|
40
39
|
<div className="grid-gallery-template">
|
|
41
40
|
<Container className="px-4">
|
|
@@ -60,9 +59,8 @@ const GridGalleryTemplate = ({
|
|
|
60
59
|
item,
|
|
61
60
|
className: '',
|
|
62
61
|
});
|
|
63
|
-
|
|
64
62
|
let scale = null;
|
|
65
|
-
if (index % 7 === 0 || index % 7 === 6) {
|
|
63
|
+
if (index % 7 === 0 || index % 7 === 6 || index % 7 === 3) {
|
|
66
64
|
scale = 'great';
|
|
67
65
|
}
|
|
68
66
|
if (index % 7 === 1 || index % 7 === 5) {
|
|
@@ -71,21 +69,18 @@ const GridGalleryTemplate = ({
|
|
|
71
69
|
if (index % 7 === 2 || index % 7 === 4) {
|
|
72
70
|
scale = 'large';
|
|
73
71
|
}
|
|
74
|
-
|
|
75
72
|
if (scale && item?.image?.scales?.[scale]) {
|
|
76
73
|
image = (
|
|
77
|
-
<
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
/>
|
|
88
|
-
</picture>
|
|
74
|
+
<img
|
|
75
|
+
src={flattenToAppURL(item.image.scales[scale].download)}
|
|
76
|
+
width={item.image.scales[scale].width}
|
|
77
|
+
height={item.image.scales[scale].height}
|
|
78
|
+
alt=""
|
|
79
|
+
role="presentation"
|
|
80
|
+
aria-hidden="true"
|
|
81
|
+
title={item.title}
|
|
82
|
+
loading={critical ? 'eager' : 'lazy'}
|
|
83
|
+
/>
|
|
89
84
|
);
|
|
90
85
|
}
|
|
91
86
|
|
|
@@ -98,7 +93,11 @@ const GridGalleryTemplate = ({
|
|
|
98
93
|
item={!isEditMode ? item : null}
|
|
99
94
|
href={isEditMode ? '#' : null}
|
|
100
95
|
>
|
|
101
|
-
{image &&
|
|
96
|
+
{image && (
|
|
97
|
+
<picture className="volto-image responsive">
|
|
98
|
+
{image}
|
|
99
|
+
</picture>
|
|
100
|
+
)}
|
|
102
101
|
<h3>{item.title}</h3>
|
|
103
102
|
</UniversalLink>
|
|
104
103
|
</div>
|
|
@@ -29,7 +29,7 @@ const OfficeCard = ({
|
|
|
29
29
|
return (
|
|
30
30
|
<div
|
|
31
31
|
className={cx(
|
|
32
|
-
'card card-teaser preview-image-card border-left-card rounded shadow p-3 ',
|
|
32
|
+
'card card-teaser office-card preview-image-card border-left-card rounded shadow p-3 ',
|
|
33
33
|
size === 'big' ? 'card-big-io-comune' : 'card-small',
|
|
34
34
|
{
|
|
35
35
|
'mb-3': margin_bottom,
|
|
@@ -29,7 +29,7 @@ const Location = ({ location, show_icon }) => {
|
|
|
29
29
|
const image = Image({ item: location, loading: 'lazy', sizes: '80px' });
|
|
30
30
|
return (
|
|
31
31
|
location && (
|
|
32
|
-
<div className="card card-teaser shadow border-left-card mt-3 rounded">
|
|
32
|
+
<div className="card card-teaser shadow border-left-card mt-3 rounded location-item">
|
|
33
33
|
{show_icon && <Icon icon={'it-pin'} />}
|
|
34
34
|
<div className="card-body">
|
|
35
35
|
<div className="card-title h5">{location.title}</div>
|
|
@@ -127,9 +127,11 @@ const IncaricoView = (props) => {
|
|
|
127
127
|
tag_id="ufficio"
|
|
128
128
|
title={intl.formatMessage(messages.ufficio)}
|
|
129
129
|
>
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
130
|
+
<div className="card-wrapper card-teaser-wrapper card-teaser-wrapper-equal">
|
|
131
|
+
{content.unita_organizzativa?.map((item) => (
|
|
132
|
+
<OfficeCard key={flattenToAppURL(item['@id'])} office={item} />
|
|
133
|
+
))}
|
|
134
|
+
</div>
|
|
133
135
|
</RichTextSection>
|
|
134
136
|
)}
|
|
135
137
|
{content.responsabile_struttura?.length > 0 && (
|
|
@@ -137,9 +139,11 @@ const IncaricoView = (props) => {
|
|
|
137
139
|
tag_id="responsabile"
|
|
138
140
|
title={intl.formatMessage(messages.responsabile)}
|
|
139
141
|
>
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
142
|
+
<div className="card-wrapper card-teaser-wrapper card-teaser-wrapper-equal">
|
|
143
|
+
{content.responsabile_struttura?.map((item) => (
|
|
144
|
+
<OfficeCard key={flattenToAppURL(item['@id'])} office={item} />
|
|
145
|
+
))}
|
|
146
|
+
</div>
|
|
143
147
|
</RichTextSection>
|
|
144
148
|
)}
|
|
145
149
|
{content.atto_nomina?.length > 0 && (
|
|
@@ -56,14 +56,15 @@ const ServizioAccedi = ({ content }) => {
|
|
|
56
56
|
title={intl.formatMessage(messages.dove_rivolgersi)}
|
|
57
57
|
lighthouseId="service-generic-access"
|
|
58
58
|
>
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
59
|
+
<div className="card-wrapper card-teaser-wrapper card-teaser-wrapper-equal">
|
|
60
|
+
{content.dove_rivolgersi?.map?.((dove) => (
|
|
61
|
+
<OfficeCard
|
|
62
|
+
office={dove}
|
|
63
|
+
data-element="service-generic-access"
|
|
64
|
+
key={dove['@id']}
|
|
65
|
+
/>
|
|
66
|
+
))}
|
|
67
|
+
</div>
|
|
67
68
|
<RichText
|
|
68
69
|
data={content.dove_rivolgersi_extra}
|
|
69
70
|
lighthouseId="service-generic-access"
|
|
@@ -19,12 +19,15 @@
|
|
|
19
19
|
grid-row: 1;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
.
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
22
|
+
.listing-item {
|
|
23
|
+
align-items: normal;
|
|
24
|
+
.card-body {
|
|
25
|
+
display: flex;
|
|
26
|
+
flex-direction: column;
|
|
27
|
+
justify-content: space-between;
|
|
28
|
+
padding: 2.5rem;
|
|
29
|
+
padding-bottom: 0rem;
|
|
30
|
+
}
|
|
28
31
|
}
|
|
29
32
|
}
|
|
30
33
|
|
|
@@ -122,7 +125,6 @@
|
|
|
122
125
|
@media (max-width: #{map-get($grid-breakpoints, sm)}) {
|
|
123
126
|
display: flex;
|
|
124
127
|
align-items: center;
|
|
125
|
-
color: $analogue-1-a7;
|
|
126
128
|
font-size: 0.77778rem;
|
|
127
129
|
font-weight: bold;
|
|
128
130
|
letter-spacing: 0.9px;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
@use '../../all_variables' as *;
|
|
2
2
|
|
|
3
|
-
@mixin block($subsite-secondary) {
|
|
3
|
+
@mixin block($subsite-secondary, $subsite-secondary-text) {
|
|
4
4
|
.cta-block {
|
|
5
5
|
.cta-block-wrapper {
|
|
6
6
|
background-color: $subsite-secondary;
|
|
@@ -8,6 +8,13 @@
|
|
|
8
8
|
&.has-image {
|
|
9
9
|
background: none;
|
|
10
10
|
}
|
|
11
|
+
|
|
12
|
+
a {
|
|
13
|
+
color: $subsite-secondary-text;
|
|
14
|
+
}
|
|
11
15
|
}
|
|
12
16
|
}
|
|
17
|
+
.cms-ui .cta-block a {
|
|
18
|
+
color: $subsite-secondary-text;
|
|
19
|
+
}
|
|
13
20
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
.bg-primary {
|
|
11
11
|
.card .card-body {
|
|
12
12
|
.categoryicon-top {
|
|
13
|
-
|
|
13
|
+
span {
|
|
14
14
|
color: $subsite-primary-text;
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -37,10 +37,9 @@
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.chip.chip-primary {
|
|
40
|
-
border-color: $subsite-
|
|
41
|
-
|
|
40
|
+
border-color: $subsite-primary-text;
|
|
42
41
|
& > .chip-label {
|
|
43
|
-
color: $subsite-
|
|
42
|
+
color: $subsite-primary-text;
|
|
44
43
|
}
|
|
45
44
|
|
|
46
45
|
&:hover,
|
|
@@ -83,8 +82,14 @@
|
|
|
83
82
|
}
|
|
84
83
|
|
|
85
84
|
.chip.chip-primary {
|
|
85
|
+
border-color: $subsite-secondary-text;
|
|
86
|
+
> .chip-label {
|
|
87
|
+
color: $subsite-secondary-text;
|
|
88
|
+
}
|
|
86
89
|
&:hover,
|
|
87
90
|
&:active {
|
|
91
|
+
border-color: $subsite-secondary;
|
|
92
|
+
background-color: $subsite-secondary-text;
|
|
88
93
|
> .chip-label {
|
|
89
94
|
color: $subsite-secondary;
|
|
90
95
|
}
|
|
@@ -5,7 +5,8 @@
|
|
|
5
5
|
$subsite-primary-text,
|
|
6
6
|
$subsite-secondary,
|
|
7
7
|
$subsite-secondary-text,
|
|
8
|
-
$subsite-primary-a0
|
|
8
|
+
$subsite-primary-a0,
|
|
9
|
+
$subsite-light-theme
|
|
9
10
|
) {
|
|
10
11
|
.container .block {
|
|
11
12
|
.searchSections {
|
|
@@ -41,7 +42,11 @@
|
|
|
41
42
|
|
|
42
43
|
&.search {
|
|
43
44
|
.search-wrapper .autocomplete-icon .icon {
|
|
44
|
-
|
|
45
|
+
@if $subsite-light-theme {
|
|
46
|
+
fill: $subsite-secondary;
|
|
47
|
+
} @else {
|
|
48
|
+
fill: $subsite-primary;
|
|
49
|
+
}
|
|
45
50
|
}
|
|
46
51
|
}
|
|
47
52
|
}
|
|
@@ -57,7 +57,11 @@
|
|
|
57
57
|
color: $subsite-primary-text !important;
|
|
58
58
|
}
|
|
59
59
|
.select-pill.text-primary {
|
|
60
|
-
|
|
60
|
+
@if ($subsite-light-theme) {
|
|
61
|
+
color: $subsite-link-color !important;
|
|
62
|
+
} @else {
|
|
63
|
+
color: $subsite-primary !important;
|
|
64
|
+
}
|
|
61
65
|
|
|
62
66
|
div {
|
|
63
67
|
color: inherit;
|
|
@@ -83,15 +87,6 @@
|
|
|
83
87
|
}
|
|
84
88
|
}
|
|
85
89
|
|
|
86
|
-
// icon external link
|
|
87
|
-
.external-link {
|
|
88
|
-
@if $subsite-light-theme {
|
|
89
|
-
fill: $subsite-link-color !important;
|
|
90
|
-
} @else {
|
|
91
|
-
fill: $subsite-primary !important;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
90
|
.flag-icon {
|
|
96
91
|
background: $subsite-secondary;
|
|
97
92
|
}
|
|
@@ -129,7 +129,7 @@
|
|
|
129
129
|
$subsite-secondary-text
|
|
130
130
|
);
|
|
131
131
|
@include it-contacts.block($subsite-primary, $subsite-primary-text);
|
|
132
|
-
@include it-cta.block($subsite-secondary);
|
|
132
|
+
@include it-cta.block($subsite-secondary, $subsite-secondary-text);
|
|
133
133
|
@include it-form.block(
|
|
134
134
|
$subsite-primary,
|
|
135
135
|
$subsite-primary-text,
|
|
@@ -169,7 +169,8 @@
|
|
|
169
169
|
$subsite-primary-text,
|
|
170
170
|
$subsite-secondary,
|
|
171
171
|
$subsite-secondary-text,
|
|
172
|
-
$subsite-primary-a0
|
|
172
|
+
$subsite-primary-a0,
|
|
173
|
+
$subsite-light-theme
|
|
173
174
|
);
|
|
174
175
|
@include it-table-contents.block($subsite-primary);
|
|
175
176
|
@include it-views.common(
|
|
@@ -206,7 +207,8 @@
|
|
|
206
207
|
|
|
207
208
|
#categoryCollapse .btn-icon.btn.btn-outline-secondary {
|
|
208
209
|
border-color: $subsite-primary;
|
|
209
|
-
box-shadow:
|
|
210
|
+
box-shadow:
|
|
211
|
+
inset 0 0 0 1px $subsite-primary,
|
|
210
212
|
0 0 0 0.2rem rgba(var($subsite-primary), 0.2);
|
|
211
213
|
color: $subsite-primary;
|
|
212
214
|
}
|
|
@@ -48,7 +48,9 @@ $docs-section-margin: 3em;
|
|
|
48
48
|
justify-content: space-between;
|
|
49
49
|
padding: 0.4em 0;
|
|
50
50
|
gap: 4rem;
|
|
51
|
-
|
|
51
|
+
.title {
|
|
52
|
+
flex: 1;
|
|
53
|
+
}
|
|
52
54
|
.title-wrap {
|
|
53
55
|
flex: 1;
|
|
54
56
|
|
|
@@ -182,6 +184,14 @@ $docs-section-margin: 3em;
|
|
|
182
184
|
.documents-section,
|
|
183
185
|
.document-row-section {
|
|
184
186
|
.doc-row {
|
|
187
|
+
.doc:not(.modulo) {
|
|
188
|
+
flex-direction: column;
|
|
189
|
+
align-items: flex-start;
|
|
190
|
+
justify-content: center;
|
|
191
|
+
.downloads {
|
|
192
|
+
width: 100%;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
185
195
|
.doc {
|
|
186
196
|
flex-wrap: wrap;
|
|
187
197
|
align-items: center;
|
|
@@ -211,6 +221,7 @@ $docs-section-margin: 3em;
|
|
|
211
221
|
|
|
212
222
|
&.modulo {
|
|
213
223
|
justify-content: space-between;
|
|
224
|
+
flex-wrap: nowrap;
|
|
214
225
|
|
|
215
226
|
.title,
|
|
216
227
|
.downloads {
|
package/src/theme/site.scss
CHANGED
|
@@ -128,6 +128,8 @@
|
|
|
128
128
|
@import 'ItaliaTheme/Components/breadcrumbs';
|
|
129
129
|
@import 'ItaliaTheme/Components/card';
|
|
130
130
|
@import 'ItaliaTheme/Components/cardPersona';
|
|
131
|
+
@import 'ItaliaTheme/Components/officeCard';
|
|
132
|
+
@import 'ItaliaTheme/Components/cardLocationItem';
|
|
131
133
|
@import 'ItaliaTheme/Components/contactsCard';
|
|
132
134
|
@import 'ItaliaTheme/Components/navscroll';
|
|
133
135
|
@import 'ItaliaTheme/Components/customerSatisfaction';
|