design-comuni-plone-theme 11.1.1 → 11.1.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.
Files changed (44) hide show
  1. package/.yarn/versions/9051426c.yml +0 -0
  2. package/CHANGELOG.md +18 -0
  3. package/package.json +1 -1
  4. package/publiccode.yml +2 -2
  5. package/src/config/Blocks/ListingOptions/bandiInEvidenceTemplate.js +1 -1
  6. package/src/config/Blocks/ListingOptions/cardWithImageTemplate.js +1 -1
  7. package/src/config/Blocks/ListingOptions/cardWithSlideUpTextTemplate.js +1 -1
  8. package/src/config/Blocks/ListingOptions/completeBlockLinksTemplate.js +1 -1
  9. package/src/config/Blocks/ListingOptions/defaultOptions.js +1 -1
  10. package/src/config/Blocks/ListingOptions/inEvidenceTemplate.js +1 -1
  11. package/src/config/Blocks/ListingOptions/mapTemplate.js +1 -1
  12. package/src/config/Blocks/ListingOptions/photogalleryTemplate.js +1 -1
  13. package/src/config/Blocks/ListingOptions/ribbonCardTemplate.js +1 -1
  14. package/src/config/Blocks/ListingOptions/simpleCardTemplate.js +1 -1
  15. package/src/config/Blocks/ListingOptions/simpleListTemplate.js +1 -1
  16. package/src/config/Blocks/ListingOptions/sliderTemplate.js +1 -1
  17. package/src/config/Blocks/ListingOptions/smallBlockLinksTemplate.js +1 -1
  18. package/src/config/Blocks/ListingOptions/utils.js +3 -3
  19. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Blocks/_argumentsInEvidence.scss +17 -0
  20. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Blocks/_cardWithImageAndInEvidence.scss +17 -0
  21. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Blocks/_completeBlockLinktemplate.scss +13 -0
  22. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Blocks/_highlitedContent.scss +14 -0
  23. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Blocks/_ribbonCardTemplate.scss +18 -0
  24. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Blocks/_searchSections.scss +33 -0
  25. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Components/_subsiteFooter.scss +27 -0
  26. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/Views/_common.scss +65 -0
  27. package/src/theme/ItaliaTheme/SubsitesOld/ItaliaTheme/_common.scss +26 -0
  28. package/src/theme/ItaliaTheme/SubsitesOld/_all_variables.scss +12 -0
  29. package/src/theme/ItaliaTheme/SubsitesOld/_common.scss +12 -0
  30. package/src/theme/ItaliaTheme/SubsitesOld/_mixin.scss +120 -0
  31. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/_brand-text.scss +52 -0
  32. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_buttons.scss +109 -0
  33. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_card.scss +23 -0
  34. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_chips.scss +57 -0
  35. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_dropdown.scss +7 -0
  36. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_header.scss +44 -0
  37. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_headercenter.scss +101 -0
  38. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_headernavbar.scss +25 -0
  39. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_headerslim.scss +42 -0
  40. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_linklist.scss +46 -0
  41. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_megamenu.scss +53 -0
  42. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_nav.scss +24 -0
  43. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_navigation.scss +170 -0
  44. package/src/theme/ItaliaTheme/SubsitesOld/bootstrap-italia/custom/_navscroll.scss +71 -0
File without changes
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
 
2
2
 
3
+ ## [11.1.3](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.1.1...v11.1.3) (2023-12-27)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * 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))
9
+ * 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))
10
+
11
+
12
+ ### Documentation
13
+
14
+ * updated publiccode ([0abde1f](https://github.com/redturtle/design-comuni-plone-theme/commit/0abde1f6cb9182e8595000eee193e4fa05ddf1e6))
15
+
16
+
17
+ ### Maintenance
18
+
19
+ * release 11.1.2 ([08b3f2e](https://github.com/redturtle/design-comuni-plone-theme/commit/08b3f2e03aba8a76d8e5b7db68fa3575492548c2))
20
+
3
21
  ## [11.1.1](https://github.com/redturtle/design-comuni-plone-theme/compare/v11.1.0...v11.1.1) (2023-12-22)
4
22
 
5
23
 
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.3",
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: '2023-12-27'
231
231
  softwareType: standalone/web
232
- softwareVersion: 11.1.1
232
+ softwareVersion: 11.1.2
233
233
  url: 'https://github.com/italia/design-comuni-plone-theme'
234
234
  usedBy:
235
235
  - ASP Comuni Modenesi Area Nord
@@ -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
+ }
@@ -0,0 +1,18 @@
1
+ @use '../../all_variables' as *;
2
+
3
+ @mixin card($subsite-link-color) {
4
+ .ribbon-card-template {
5
+ .card {
6
+ &.show_detail_link {
7
+ .card-title {
8
+ a {
9
+ &:hover,
10
+ &:active {
11
+ color: $subsite-link-color;
12
+ }
13
+ }
14
+ }
15
+ }
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,33 @@
1
+ @use '../../all_variables' as *;
2
+
3
+ @mixin block($subsite-primary, $subsite-secondary, $subsite-secondary-text) {
4
+ .container .block {
5
+ .searchSections {
6
+ @if $subsite-secondary != $subsite-primary {
7
+ .searchSections-background {
8
+ background-color: $subsite-secondary;
9
+ }
10
+ color: $subsite-secondary-text;
11
+
12
+ h2.text-secondary {
13
+ color: $subsite-secondary-text !important;
14
+ }
15
+ } @else {
16
+ //use default: parent-site secondary color
17
+ }
18
+
19
+ .searchContainer {
20
+ .searchbar {
21
+ button {
22
+ background: $subsite-primary;
23
+
24
+ &:hover,
25
+ &:active {
26
+ background-color: darken($subsite-primary, 7.5);
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
33
+ }
@@ -0,0 +1,27 @@
1
+ @use '../../all_variables' as *;
2
+
3
+ @mixin footer($subsite-primary, $subsite-primary-text) {
4
+ &,
5
+ &.cms-ui {
6
+ .subsite-footer {
7
+ background-color: $subsite-primary;
8
+
9
+ .text {
10
+ color: $subsite-primary-text;
11
+
12
+ h1,
13
+ h2,
14
+ h3,
15
+ h4,
16
+ a {
17
+ color: $subsite-primary-text;
18
+
19
+ &:hover,
20
+ &:active {
21
+ color: $subsite-primary-text;
22
+ }
23
+ }
24
+ }
25
+ }
26
+ }
27
+ }
@@ -0,0 +1,65 @@
1
+ @use '../../all_variables' as *;
2
+
3
+ @mixin common(
4
+ $subsite-primary,
5
+ $subsite-secondary,
6
+ $subsite-tertiary,
7
+ $subsite-link-color
8
+ ) {
9
+ .card-title {
10
+ a {
11
+ color: $subsite-link-color;
12
+ }
13
+ }
14
+
15
+ .genericcard {
16
+ .card-title {
17
+ a {
18
+ color: $subsite-link-color;
19
+ }
20
+ }
21
+ }
22
+
23
+ .link-list-wrapper {
24
+ ul {
25
+ li {
26
+ button.btn-link {
27
+ color: $subsite-link-color;
28
+
29
+ &:hover {
30
+ color: $subsite-link-color;
31
+
32
+ .icon {
33
+ fill: $subsite-primary;
34
+ }
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
40
+
41
+ .style_ol_list {
42
+ ol {
43
+ li {
44
+ &:before {
45
+ color: $subsite-secondary;
46
+ }
47
+
48
+ &:after {
49
+ background-color: $subsite-secondary;
50
+ }
51
+ }
52
+ }
53
+ }
54
+
55
+ .icon-argument-container {
56
+ .show-icon {
57
+ color: $subsite-tertiary;
58
+ }
59
+
60
+ svg {
61
+ color: $subsite-tertiary;
62
+ fill: $subsite-tertiary;
63
+ }
64
+ }
65
+ }
@@ -0,0 +1,26 @@
1
+ @use '../all_variables' as *;
2
+
3
+ @mixin common($subsite-tertiary, $subsite-tertiary-text) {
4
+ .btn-tertiary {
5
+ @include button-variant($subsite-tertiary, $subsite-tertiary-text);
6
+
7
+ svg {
8
+ fill: $subsite-tertiary-text;
9
+ }
10
+
11
+ &:hover,
12
+ &:active {
13
+ svg {
14
+ fill: $subsite-tertiary-text;
15
+ }
16
+ }
17
+ }
18
+
19
+ a.btn-tertiary {
20
+ color: $subsite-tertiary-text;
21
+ }
22
+
23
+ .btn-outline-tertiary {
24
+ @include button-outline-variant($subsite-tertiary);
25
+ }
26
+ }
@@ -0,0 +1,12 @@
1
+ @import '../../site-variables';
2
+
3
+ @import '~bootstrap-italia/src/scss/functions';
4
+ @import '~bootstrap-italia/src/scss/utilities/colors_vars';
5
+ @import '~bootstrap-italia/src/scss/variables';
6
+
7
+ @import '~bootstrap/scss/functions';
8
+ @import '~bootstrap/scss/variables';
9
+ @import '~bootstrap/scss/mixins';
10
+
11
+ @import '~bootstrap-italia/src/scss/custom/mixins/buttons';
12
+ @import '~bootstrap-italia/src/scss/custom/mixins/text-emphasis';
@@ -0,0 +1,12 @@
1
+ @import '../../site-variables';
2
+
3
+ @import '~bootstrap-italia/src/scss/functions';
4
+ @import '~bootstrap-italia/src/scss/utilities/colors_vars';
5
+ @import '~bootstrap-italia/src/scss/variables';
6
+ @import '~bootstrap-italia/src/scss/utilities/colors';
7
+
8
+ @import '~bootstrap/scss/functions';
9
+ @import '~bootstrap/scss/variables';
10
+ @import '~bootstrap/scss/mixins';
11
+
12
+ @import 'mixin';
@@ -0,0 +1,120 @@
1
+ @use 'bootstrap-italia/custom/header' as bs-header;
2
+ @use 'bootstrap-italia/custom/headercenter' as bs-headercenter;
3
+ @use 'bootstrap-italia/brand-text' as bs-brandtext;
4
+ @use 'bootstrap-italia/custom/headernavbar' as bs-headernavbar;
5
+ @use 'bootstrap-italia/custom/headerslim' as bs-headerslim;
6
+ @use 'bootstrap-italia/custom/navigation' as bs-navigation;
7
+ @use 'bootstrap-italia/custom/nav' as bs-nav;
8
+ @use 'bootstrap-italia/custom/megamenu' as bs-megamenu;
9
+ @use 'bootstrap-italia/custom/buttons' as bs-buttons;
10
+ @use 'bootstrap-italia/custom/chips' as bs-chips;
11
+ @use 'bootstrap-italia/custom/card' as bs-card;
12
+ @use 'bootstrap-italia/custom/dropdown' as bs-dropdown;
13
+ @use 'bootstrap-italia/custom/linklist' as bs-linklist;
14
+ @use 'bootstrap-italia/custom/navscroll' as bs-navscroll;
15
+ @use 'ItaliaTheme/Components/subsiteFooter' as it-footer;
16
+ @use 'ItaliaTheme/Blocks/cardWithImageAndInEvidence' as it-card-image-evidence;
17
+ @use 'ItaliaTheme/Blocks/completeBlockLinktemplate' as it-complete-link;
18
+ @use 'ItaliaTheme/Blocks/ribbonCardTemplate' as it-ribbon-card;
19
+ @use 'ItaliaTheme/Blocks/highlitedContent' as it-highlight;
20
+ @use 'ItaliaTheme/Blocks/argumentsInEvidence' as it-args-evidence;
21
+ @use 'ItaliaTheme/Blocks/searchSections' as it-search-sections;
22
+ @use 'ItaliaTheme/Views/common' as it-views;
23
+ @use 'ItaliaTheme/common' as it-common;
24
+
25
+ @mixin old-define-subsite(
26
+ $subsite-style,
27
+ $subsite-primary: $primary,
28
+ $subsite-primary-text: $primary-text,
29
+ $subsite-secondary: $secondary,
30
+ $subsite-secondary-text: $secondary-text,
31
+ $subsite-tertiary: $tertiary,
32
+ $subsite-tertiary-text: $tertiary-text,
33
+ $subsite-link-color: $link-color,
34
+ $subsite-light-theme: false
35
+ ) {
36
+ body.subsite-#{$subsite-style} {
37
+ &,
38
+ .public-ui {
39
+ @include bs-header.header(
40
+ $subsite-light-theme,
41
+ $subsite-primary,
42
+ $subsite-primary-text
43
+ );
44
+ @include bs-headercenter.headercenter(
45
+ $subsite-light-theme,
46
+ $subsite-primary,
47
+ $subsite-primary-text
48
+ );
49
+ @include bs-brandtext.text($subsite-primary, $subsite-primary-text);
50
+ @include bs-headernavbar.navbar($subsite-primary);
51
+ @include bs-headerslim.header($subsite-primary-text);
52
+ @include bs-navigation.nav(
53
+ $subsite-light-theme,
54
+ $subsite-primary,
55
+ $subsite-primary-text,
56
+ $subsite-link-color
57
+ );
58
+ @include bs-nav.nav($subsite-link-color);
59
+ @include bs-megamenu.megamenu(
60
+ $subsite-light-theme,
61
+ $subsite-primary,
62
+ $subsite-primary-text
63
+ );
64
+ @include bs-buttons.buttons(
65
+ $subsite-light-theme,
66
+ $subsite-primary,
67
+ $subsite-primary-text,
68
+ $subsite-secondary,
69
+ $subsite-secondary-text,
70
+ $subsite-tertiary,
71
+ $subsite-tertiary-text
72
+ );
73
+ @include bs-chips.chips(
74
+ $subsite-light-theme,
75
+ $subsite-primary,
76
+ $subsite-primary-text,
77
+ $subsite-secondary,
78
+ $subsite-secondary-text
79
+ );
80
+ @include bs-card.card($subsite-primary, $subsite-link-color);
81
+ @include bs-dropdown.dropdown($subsite-link-color);
82
+ @include bs-linklist.linklist($subsite-primary, $subsite-link-color);
83
+ @include bs-navscroll.navscroll($subsite-link-color);
84
+ @include it-footer.footer($subsite-primary, $subsite-primary-text);
85
+ @include it-card-image-evidence.card($subsite-link-color);
86
+ @include it-complete-link.block(
87
+ $subsite-secondary,
88
+ $subsite-secondary-text
89
+ );
90
+ @include it-ribbon-card.card($subsite-link-color);
91
+ @include it-highlight.block($subsite-link-color);
92
+ @include it-args-evidence.block($subsite-primary, $subsite-primary-text);
93
+ @include it-search-sections.block(
94
+ $subsite-primary,
95
+ $subsite-secondary,
96
+ $subsite-secondary-text
97
+ );
98
+ @include it-views.common(
99
+ $subsite-primary,
100
+ $subsite-secondary,
101
+ $subsite-tertiary,
102
+ $subsite-link-color
103
+ );
104
+ @include it-common.common($subsite-tertiary, $subsite-tertiary-text);
105
+
106
+ a,
107
+ &.cms-ui .public-ui a {
108
+ color: $subsite-link-color;
109
+
110
+ &:hover {
111
+ color: color-hover($subsite-link-color);
112
+ }
113
+ }
114
+
115
+ .icon-primary {
116
+ fill: $subsite-primary !important;
117
+ }
118
+ }
119
+ }
120
+ }
@@ -0,0 +1,52 @@
1
+ @use '../all_variables' as *;
2
+
3
+ @mixin text($subsite-primary, $subsite-primary-text) {
4
+ .it-header-wrapper {
5
+ .it-brand-text {
6
+ &,
7
+ h1,
8
+ h2,
9
+ h3,
10
+ h4,
11
+ h5,
12
+ h6 {
13
+ color: $subsite-primary-text;
14
+ }
15
+ }
16
+ }
17
+
18
+ // Mobile menu
19
+ @media (max-width: #{map-get($grid-breakpoints, lg)}) {
20
+ .navbar {
21
+ .navbar-collapsable {
22
+ .menu-wrapper {
23
+ .it-brand-text {
24
+ h2 {
25
+ font-size: 1.5rem;
26
+ }
27
+
28
+ h3 {
29
+ font-size: 1rem;
30
+ }
31
+ }
32
+ }
33
+ }
34
+ }
35
+
36
+ .it-header-wrapper {
37
+ .menu-wrapper {
38
+ .it-brand-text {
39
+ &,
40
+ h1,
41
+ h2,
42
+ h3,
43
+ h4,
44
+ h5,
45
+ h6 {
46
+ color: $subsite-primary;
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }