@eeacms/volto-cca-policy 0.1.58 → 0.1.59

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/CHANGELOG.md CHANGED
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file. Dates are d
4
4
 
5
5
  Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
6
6
 
7
+ ### [0.1.59](https://github.com/eea/volto-cca-policy/compare/0.1.58...0.1.59) - 5 January 2024
8
+
9
+ #### :nail_care: Enhancements
10
+
11
+ - change: update footer color [kreafox - [`3385e33`](https://github.com/eea/volto-cca-policy/commit/3385e3301fe8a1482a0b74feef7e0111dbf36bd9)]
12
+
7
13
  ### [0.1.58](https://github.com/eea/volto-cca-policy/compare/0.1.57...0.1.58) - 4 January 2024
8
14
 
9
15
  #### :house: Internal changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-cca-policy",
3
- "version": "0.1.58",
3
+ "version": "0.1.59",
4
4
  "description": "@eeacms/volto-cca-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -286,6 +286,7 @@ const EEAHeader = ({ pathname, token, items, history, subsite }) => {
286
286
  )}
287
287
  renderMenuItem={(item, options, props) => (
288
288
  <UniversalLink
289
+ openLinkInNewTab={false}
289
290
  href={item.url || '/'}
290
291
  title={item.nav_title || item.title}
291
292
  {...(options || {})}
@@ -227,6 +227,7 @@ const Main = ({
227
227
  if (searchIsActive) setSearchIsActive(false);
228
228
  setActiveItem(item['@id'] || item.url);
229
229
  if (item.items.length) {
230
+ e.preventDefault();
230
231
  setMenuIsActive(true);
231
232
  } else {
232
233
  if (isInternalURL(item.url)) {
@@ -2,5 +2,14 @@
2
2
  Footer
3
3
  *******************************/
4
4
 
5
- // @mobileFooterBackgroundGrandient : linear-gradient(45deg, @primaryColor 12%, @secondaryColor 80%);
6
- // @computerFooterBackgroundGrandient : linear-gradient(45deg, @primaryColor 12%, @secondaryColor 80%);
5
+ @mobileFooterBackgroundGradient: linear-gradient(
6
+ 212.33deg,
7
+ @secondaryColor 12%,
8
+ #004c80 80%
9
+ );
10
+
11
+ @computerFooterBackgroundGradient: linear-gradient(
12
+ 212.33deg,
13
+ @secondaryColor 12%,
14
+ #004c80 80%
15
+ );
@@ -4,4 +4,4 @@
4
4
 
5
5
  /* Search box */
6
6
  // @searchBoxBackgroundGradient : linear-gradient(45deg, @primaryColor 12%, @secondaryColor 80%);
7
- // @megaMenuBackgroundColor : linear-gradient(45deg, @primaryColor 12%, @secondaryColor 80%);
7
+ @megaMenuBackgroundColor : linear-gradient(13.69deg, @blue-5 1.17%, @secondaryColor 80%);
@@ -9,15 +9,15 @@
9
9
  --------------------*/
10
10
 
11
11
  // @primaryColor: @green-6;
12
- // @secondaryColor: @green-4;
12
+ @secondaryColor: #005c97;
13
13
 
14
14
  // @linkColor: @secondaryColor;
15
15
  // @linkHoverColor: @primaryColor;
16
16
  // @linkActiveColor: @linkHoverColor;
17
17
 
18
18
  // Toolbar
19
- @toolbarWidth : 80px;
20
- @collapsedToolbarWidth : 20px;
21
- @mobileToolbarHeight : 100px;
22
- @mobileCollapsedToolbarHeight : 20px;
23
- @sidebarWidth : 375px;
19
+ @toolbarWidth: 80px;
20
+ @collapsedToolbarWidth: 20px;
21
+ @mobileToolbarHeight: 100px;
22
+ @mobileCollapsedToolbarHeight: 20px;
23
+ @sidebarWidth: 375px;