design-comuni-plone-theme 11.25.3 → 11.26.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 (49) hide show
  1. package/.github/workflows/main.yml +1 -1
  2. package/.github/workflows/prs.yml +1 -1
  3. package/.github/workflows/release.yml +1 -1
  4. package/.yarn/cache/cross-spawn-npm-7.0.6-264bddf921-8d306efaca.zip +0 -0
  5. package/.yarn/cache/nanoid-npm-3.3.8-d22226208b-dfe0adbc0c.zip +0 -0
  6. package/.yarn/cache/{volto-blocks-widget-npm-3.4.1-c4d451e2c2-4f5c183698.zip → volto-blocks-widget-npm-3.4.3-d7e305af36-68490569a4.zip} +0 -0
  7. package/.yarn/cache/{volto-feedback-npm-0.3.2-ff5b075c7c-bfc7951ca5.zip → volto-feedback-npm-0.5.2-c3471099a1-48c0763678.zip} +0 -0
  8. package/.yarn/cache/volto-gdpr-privacy-npm-2.2.12-fbc24c3b6f-ba1b9c0127.zip +0 -0
  9. package/.yarn/install-state.gz +0 -0
  10. package/CHANGELOG.md +56 -0
  11. package/Makefile +1 -1
  12. package/RELEASE.md +19 -0
  13. package/locales/de/LC_MESSAGES/volto.po +5 -0
  14. package/locales/en/LC_MESSAGES/volto.po +5 -0
  15. package/locales/es/LC_MESSAGES/volto.po +5 -0
  16. package/locales/fr/LC_MESSAGES/volto.po +5 -0
  17. package/locales/it/LC_MESSAGES/volto.po +5 -0
  18. package/locales/volto.pot +6 -1
  19. package/package.json +5 -5
  20. package/publiccode.yml +2 -2
  21. package/src/components/ImageWithErrors/ImageWithErrors.jsx +11 -11
  22. package/src/components/ItaliaTheme/Blocks/Calendar/Body.jsx +1 -0
  23. package/src/components/ItaliaTheme/Blocks/Common/SearchFilters/SelectFilter.jsx +9 -3
  24. package/src/components/ItaliaTheme/Blocks/EventSearch/DefaultFilters.js +1 -0
  25. package/src/components/ItaliaTheme/Cards/CardCategory.jsx +2 -3
  26. package/src/components/ItaliaTheme/View/Commons/Dates.jsx +16 -16
  27. package/src/components/ItaliaTheme/View/Commons/PageHeader/PageHeaderEventDates.jsx +30 -8
  28. package/src/customizations/volto/actions/vocabularies/vocabularies.js +6 -2
  29. package/src/customizations/volto/components/manage/Blocks/Search/SearchBlockView.jsx +9 -15
  30. package/src/customizations/volto/components/manage/Blocks/Search/schema.js +16 -0
  31. package/src/customizations/volto/components/manage/Widgets/RecurrenceWidget/RecurrenceWidget.jsx +4 -7
  32. package/src/customizations/volto-form-block/components/View.jsx +11 -10
  33. package/src/helpers/dates.js +21 -1
  34. package/src/helpers/index.js +1 -0
  35. package/src/theme/ItaliaTheme/Blocks/_contacts.scss +5 -12
  36. package/src/theme/ItaliaTheme/Print/_all_pages.scss +98 -15
  37. package/src/theme/ItaliaTheme/Print/_blocks.scss +903 -8
  38. package/src/theme/ItaliaTheme/Print/_page.scss +0 -6
  39. package/src/theme/ItaliaTheme/_main.scss +3 -0
  40. package/src/theme/_cms-ui.scss +58 -0
  41. package/src/theme/bootstrap-override/bootstrap/_print.scss +1 -0
  42. package/src/theme/bootstrap-override/bootstrap-italia/_card.scss +12 -2
  43. package/src/theme/extras/_tables.scss +12 -13
  44. package/src/theme/site.scss +0 -2
  45. package/.yarn/cache/cross-spawn-npm-7.0.3-e4ff3e65b3-671cc7c728.zip +0 -0
  46. package/.yarn/cache/nanoid-npm-3.3.6-e6d6ae7e71-7d0eda6570.zip +0 -0
  47. package/.yarn/cache/volto-gdpr-privacy-npm-2.2.9-a1e4258e06-fe530fe8ee.zip +0 -0
  48. package/src/theme/ItaliaTheme/Print/_bandi.scss +0 -9
  49. package/src/theme/ItaliaTheme/Print/_news_items.scss +0 -19
@@ -11,11 +11,5 @@
11
11
  }
12
12
  }
13
13
  }
14
-
15
- p {
16
- margin-top: 1rem;
17
- margin-bottom: 0rem;
18
- font-size: 1rem;
19
- }
20
14
  }
21
15
  }
@@ -151,6 +151,9 @@ iframe {
151
151
  color: $primary-text;
152
152
  font-weight: 700;
153
153
  }
154
+ &.link-anchorlink-theme {
155
+ color: $primary-text !important;
156
+ }
154
157
  }
155
158
  /*
156
159
  Safari rendering issue workaround - B#60364
@@ -1,6 +1,22 @@
1
1
  @import 'cms-ui_container';
2
2
 
3
3
  body.cms-ui {
4
+ font-size: 16px;
5
+ line-height: 1.5;
6
+
7
+ :focus:not(.focus--mouse),
8
+ input[type='checkbox']:focus + label:before {
9
+ outline: 2px solid #000 !important;
10
+ outline-offset: 2px;
11
+ border: none !important;
12
+ box-shadow: 0 0 0 2px #fff !important;
13
+ }
14
+
15
+ @include media-breakpoint-up(sm) {
16
+ font-size: 18px;
17
+ line-height: 1.555;
18
+ }
19
+
4
20
  .block {
5
21
  font-family: $font-family-serif;
6
22
 
@@ -79,6 +95,48 @@ body.cms-ui {
79
95
  .block.text {
80
96
  line-height: 1.555;
81
97
  }
98
+
99
+ &.table {
100
+ @import 'bootstrap/scss/reboot';
101
+ @import 'bootstrap/scss/tables';
102
+ @import 'bootstrap-italia/src/scss/custom/tables';
103
+ @import 'extras/tables';
104
+
105
+ .ui.table {
106
+ &.inverted {
107
+ th,
108
+ td {
109
+ border-color: inherit !important;
110
+ }
111
+ }
112
+ thead th {
113
+ font-weight: bold;
114
+ text-transform: unset;
115
+ color: var(--bs-table-color);
116
+ }
117
+
118
+ &.very.basic {
119
+ &:not(.sortable):not(.striped) {
120
+ th:first-child,
121
+ td:first-child {
122
+ padding-left: 0.5rem;
123
+ }
124
+ thead tr:first-child th {
125
+ padding-top: 0.5rem;
126
+ }
127
+ td:last-child {
128
+ padding-right: 0.5rem;
129
+ }
130
+ }
131
+ }
132
+
133
+ &.striped {
134
+ tbody tr:nth-child(2n) {
135
+ background-color: rgba(0, 0, 50, 0.02) !important;
136
+ }
137
+ }
138
+ }
139
+ }
82
140
  }
83
141
 
84
142
  &.contenttype-document,
@@ -145,6 +145,7 @@
145
145
  // We don't set margin here because it breaks `size` in Chrome. We also
146
146
  // don't use `!important` on `size` as it breaks in Chrome.
147
147
  @page {
148
+ margin: 0rem;
148
149
  size: $print-page-size;
149
150
  }
150
151
  }
@@ -5,8 +5,18 @@
5
5
  max-width: 100%;
6
6
  }
7
7
 
8
- .icon + .card-body {
9
- max-width: calc(100% - 112px - 1em);
8
+ .icon {
9
+ //to do: forse da spostare nel file degli attachment
10
+ min-width: 32px;
11
+ max-width: 32px;
12
+
13
+ & + .card-body {
14
+ max-width: calc(100% - 1em - 32px);
15
+
16
+ .card-title a {
17
+ max-width: 100%;
18
+ }
19
+ }
10
20
  }
11
21
  }
12
22
  //Landscape
@@ -20,31 +20,30 @@
20
20
  &.very.basic {
21
21
  border: none;
22
22
 
23
- tbody > tr {
23
+ th,
24
+ td {
24
25
  &:first-of-type {
25
- th,
26
- td {
27
- border-top: none;
28
- }
26
+ border-left: none;
29
27
  }
30
28
 
31
29
  &:last-of-type {
30
+ border-right: none;
31
+ }
32
+ }
33
+
34
+ tbody > tr {
35
+ &:first-of-type {
32
36
  th,
33
37
  td {
34
- border-bottom: none;
38
+ border-top: none;
35
39
  }
36
40
  }
37
41
 
38
42
  th,
39
43
  td {
40
- &:first-of-type {
41
- border-left: none;
42
- }
43
-
44
- &:last-of-type {
45
- border-right: none;
46
- }
44
+ border-bottom: none;
47
45
  }
46
+ border-width: 0;
48
47
  }
49
48
  }
50
49
 
@@ -136,8 +136,6 @@
136
136
  @import 'ItaliaTheme/Components/customerSatisfaction';
137
137
  @import 'ItaliaTheme/Print/all_pages';
138
138
  @import 'ItaliaTheme/Print/page';
139
- @import 'ItaliaTheme/Print/news_items';
140
- @import 'ItaliaTheme/Print/bandi';
141
139
  @import 'ItaliaTheme/Print/persona';
142
140
  @import 'ItaliaTheme/Print/event';
143
141
  @import 'ItaliaTheme/Print/servizio';
@@ -1,9 +0,0 @@
1
- .contenttype-bando {
2
- @media print {
3
- .it-page-sections-container {
4
- #allegati {
5
- display: none;
6
- }
7
- }
8
- }
9
- }
@@ -1,19 +0,0 @@
1
- .contenttype-news-item {
2
- @media print {
3
- .it-page-sections-container {
4
- #documenti-allegati {
5
- display: none;
6
- }
7
-
8
- #luoghi {
9
- .card-teaser {
10
- .card-body {
11
- .card-text {
12
- display: none;
13
- }
14
- }
15
- }
16
- }
17
- }
18
- }
19
- }