@eeacms/volto-bise-policy 1.2.24 → 1.2.26

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,11 +4,20 @@ 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
- ### [1.2.24](https://github.com/eea/volto-bise-policy/compare/1.2.23...1.2.24) - 22 October 2025
7
+ ### [1.2.26](https://github.com/eea/volto-bise-policy/compare/1.2.25...1.2.26) - 28 October 2025
8
8
 
9
- #### :hammer_and_wrench: Others
9
+ #### :rocket: New Features
10
+
11
+ - feat: added colors for Marine EUNIS habitat groups [laszlocseh - [`ccfce3f`](https://github.com/eea/volto-bise-policy/commit/ccfce3f242a2a00e4c5118a5332cb59f1b9fdb39)]
12
+
13
+ ### [1.2.25](https://github.com/eea/volto-bise-policy/compare/1.2.24...1.2.25) - 23 October 2025
14
+
15
+ #### :bug: Bug Fixes
16
+
17
+ - fix(header): remove gap in natura2000 added by eea-design-system [Miu Razvan - [`6d51c65`](https://github.com/eea/volto-bise-policy/commit/6d51c657bd9acb2d9d6ad6cf6e1752045b4b8fc6)]
18
+
19
+ ### [1.2.24](https://github.com/eea/volto-bise-policy/compare/1.2.23...1.2.24) - 22 October 2025
10
20
 
11
- - remove redundent style [Miu Razvan - [`d47403b`](https://github.com/eea/volto-bise-policy/commit/d47403b917ff41a3950df1ef0e42425a368270d0)]
12
21
  ### [1.2.23](https://github.com/eea/volto-bise-policy/compare/1.2.22...1.2.23) - 26 August 2025
13
22
 
14
23
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-bise-policy",
3
- "version": "1.2.24",
3
+ "version": "1.2.26",
4
4
  "description": "@eeacms/volto-bise-policy: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -18,7 +18,6 @@
18
18
  "@eeacms/volto-eea-design-system",
19
19
  "@eeacms/volto-eea-website-theme",
20
20
  "@eeacms/volto-resize-helper",
21
- "@eeacms/volto-spotlight",
22
21
  "@plone-collective/volto-authomatic"
23
22
  ],
24
23
  "repository": {
@@ -31,7 +30,6 @@
31
30
  "@eeacms/volto-eea-design-system": "*",
32
31
  "@eeacms/volto-eea-website-theme": "*",
33
32
  "@eeacms/volto-resize-helper": "*",
34
- "@eeacms/volto-spotlight": "*",
35
33
  "@plone-collective/volto-authomatic": "2.0.1",
36
34
  "esri-loader": "3.7.0",
37
35
  "plotly.js": "^2.28.0",
@@ -57,7 +57,16 @@ const config = (config) => {
57
57
  '#BCBEC0', // grey shade
58
58
  '#E6E7E8', // grey shade
59
59
  '#F9F9F9', // grey shade
60
+ '#FEFEFE', // white
60
61
  '#FFFFFF', // white
62
+ // Habitat group colors
63
+ '#FEF6CD', // group 1
64
+ '#CDE6F7', // group 2
65
+ '#DCEED6', // group 3
66
+ '#FEE2D5', // group 4
67
+ '#D6D7D9', // group 5
68
+ '#E8A7C1', // group 6
69
+ '#6989A5', // group 7
61
70
  ];
62
71
 
63
72
  config.blocks.blocksConfig.columnsBlock =
@@ -78,13 +78,16 @@
78
78
  ----------------------------------------------------------------------------*/
79
79
 
80
80
  .subsite.subsite-natura2000 {
81
+ .main.bar .ui.text.menu {
82
+ gap: 0;
83
+ }
81
84
  .eea.header .main.bar {
82
85
  backdrop-filter: blur(2px);
83
86
  background-color: hsla(0, 0%, 100%, 0.8);
84
87
  }
85
88
  .eea.header .main.bar > .ui.container {
86
89
  height: 160px;
87
- width: 100%;
90
+ // width: 100%;
88
91
  }
89
92
  .eea.header .main-menu {
90
93
  align-items: center;
@@ -0,0 +1,85 @@
1
+ @breakpointOffset: 0;
2
+ @minOffset: 0;
3
+ @maxOffset: 0;
4
+ @extraRule: '';
5
+
6
+ .media(@breakpointName, @rules) {
7
+ @breakpointRule: @@breakpointName;
8
+ @withoutToolbar: ~":not(.has-toolbar):not(.has-toolbar-collapsed)";
9
+ @withoutSidebar: ~":not(.has-sidebar):not(.has-sidebar-collapsed)";
10
+ body {
11
+ &@{withoutToolbar}@{withoutSidebar} {
12
+ @maxOffset: @scrollbarWidth;
13
+ @extraRule: ~"(min-width: @{tabletBreakpoint})";
14
+ @media @breakpointRule { @rules(); }
15
+ }
16
+
17
+ &@{withoutSidebar} {
18
+ &.has-toolbar {
19
+ @maxOffset: @toolbarWidth + @scrollbarWidth;
20
+ @extraRule: ~"(min-width: @{tabletBreakpoint})";
21
+ @media @breakpointRule { @rules(); }
22
+ }
23
+
24
+ &.has-toolbar-collapsed {
25
+ @maxOffset: @collapsedWidth + @scrollbarWidth;
26
+ @extraRule: ~"(min-width: @{tabletBreakpoint})";
27
+ @media @breakpointRule { @rules(); }
28
+ }
29
+ }
30
+
31
+ &@{withoutToolbar} {
32
+ &.has-sidebar {
33
+ @maxOffset: @sidebarWidth + @scrollbarWidth;
34
+ @extraRule: ~"(min-width: @{tabletBreakpoint})";
35
+ @media @breakpointRule { @rules(); }
36
+ }
37
+
38
+ &.has-sidebar-collapsed {
39
+ @maxOffset: @collapsedWidth + @scrollbarWidth;
40
+ @extraRule: ~"(min-width: @{tabletBreakpoint})";
41
+ @media @breakpointRule { @rules(); }
42
+ }
43
+ }
44
+
45
+ &.has-toolbar.has-sidebar {
46
+ @maxOffset: @toolbarWidth + @sidebarWidth + @scrollbarWidth;
47
+ @extraRule: ~"(min-width: @{tabletBreakpoint})";
48
+ @media @breakpointRule { @rules(); }
49
+ }
50
+
51
+ &.has-toolbar.has-sidebar-collapsed {
52
+ @maxOffset: @toolbarWidth + @collapsedWidth + @scrollbarWidth;
53
+ @extraRule: ~"(min-width: @{tabletBreakpoint})";
54
+ @media @breakpointRule { @rules(); }
55
+ }
56
+
57
+ &.has-toolbar-collapsed.has-sidebar {
58
+ @maxOffset: @collapsedWidth + @sidebarWidth + @scrollbarWidth;
59
+ @extraRule: ~"(min-width: @{tabletBreakpoint})";
60
+ @media @breakpointRule { @rules(); }
61
+ }
62
+
63
+ &.has-toolbar-collapsed.has-sidebar-collapsed {
64
+ @maxOffset: 2 * @collapsedWidth + @scrollbarWidth;
65
+ @extraRule: ~"(min-width: @{tabletBreakpoint})";
66
+ @media @breakpointRule { @rules(); }
67
+ }
68
+ }
69
+ }
70
+
71
+ .innerTablet(@rules) {
72
+ .media(innerTablet, @rules);
73
+ }
74
+ .innerSmallMonitor(@rules) {
75
+ .media(innerSmallMonitor, @rules);
76
+ }
77
+ .innerLargeMonitor(@rules) {
78
+ .media(innerLargeMonitor, @rules);
79
+ }
80
+ .innerNarrowMonitor(@rules) {
81
+ .media(innerNarrowMonitor, @rules);
82
+ }
83
+ .innerWideMonitor(@rules) {
84
+ .media(innerWideMonitor, @rules);
85
+ }
@@ -0,0 +1,60 @@
1
+ @import './mixins.breakpoints.less';
2
+
3
+ // Gradient Mixin
4
+ .gradientMix(@type; @colors; @dir: 0deg; @prefixes: webkit, moz, ms, o; @index: length(@prefixes)) when (@index > 0) {
5
+ .gradientMix(@type; @colors; @dir; @prefixes; (@index - 1));
6
+
7
+ @prefix : extract(@prefixes, @index);
8
+ @dir-old : 90 - (@dir);
9
+
10
+ background-image: ~"-@{prefix}-@{type}-gradient(@{dir-old}, @{colors})";
11
+ & when ( @index = length(@prefixes) ) {
12
+ background-image: ~"@{type}-gradient(@{dir}, @{colors})";
13
+ }
14
+ }
15
+
16
+ .image-overlay-gradient() {
17
+ .gradientMix(linear; rgba(46, 62, 76, 0.65) 38.6%, rgba(46, 62, 76, 0.169) 59.52%, rgba(69, 95, 106, 0) 79.64%; 13.39deg)
18
+ }
19
+
20
+ .useTitleMaxLines(@value: 2) {
21
+ display: -webkit-box !important;
22
+ overflow: hidden;
23
+
24
+ -webkit-box-orient: vertical;
25
+ -webkit-line-clamp: var(--title-max-lines, @value);
26
+ }
27
+
28
+ .full-width() {
29
+ position: relative;
30
+ width: calc(@pageFullWidth) !important;
31
+ max-width: initial !important;
32
+ left: 50% !important;
33
+ right: 50% !important;
34
+ margin-left: calc(-1 * (@pageHalfWidth)) !important;
35
+ margin-right: calc(-1 * (@pageHalfWidth)) !important;
36
+ }
37
+
38
+ .full-width-edit() {
39
+ position: relative;
40
+ width: calc(@pageFullWidthEdit) !important;
41
+ max-width: initial !important;
42
+ left: 50% !important;
43
+ right: 50% !important;
44
+ margin-left: calc(-1 * (@pageHalfWidthEdit)) !important;
45
+ margin-right: calc(-1 * (@pageHalfWidthEdit)) !important;
46
+ }
47
+
48
+ .half-width(@maxWidth: unset) {
49
+ position: relative;
50
+ flex: 0 0 auto;
51
+ width: calc(@pageHalfWidth) !important;
52
+ max-width: @maxWidth !important;
53
+ }
54
+
55
+ .half-width-edit(@maxWidth: unset) {
56
+ position: relative;
57
+ flex: 0 0 auto;
58
+ width: calc(@pageHalfWidthEdit) !important;
59
+ max-width: @maxWidth !important;
60
+ }
@@ -2,6 +2,34 @@
2
2
  Global Overrides
3
3
  *******************************/
4
4
 
5
+ body {
6
+ --toolbar-width: 0px;
7
+ --sidebar-width: 0px;
8
+
9
+ &.has-toolbar {
10
+ --toolbar-width: @toolbarWidth;
11
+ }
12
+
13
+ &.has-toolbar-collapsed {
14
+ --toolbar-width: @collapsedWidth;
15
+ }
16
+
17
+ &.has-sidebar {
18
+ --sidebar-width: @sidebarWidth;
19
+ }
20
+
21
+ &.has-sidebar-collapsed {
22
+ --sidebar-width: @collapsedWidth;
23
+ }
24
+
25
+ @media @mobile {
26
+ &.has-toolbar,
27
+ &.has-toolbar-collapsed {
28
+ --toolbar-width: 0px;
29
+ }
30
+ }
31
+ }
32
+
5
33
  @import '../extras/widgets';
6
34
  @import '../extras/keyfacts';
7
35
  @import '../extras/factsheets';
@@ -57,7 +85,7 @@ a {
57
85
  color: @linkColor;
58
86
 
59
87
  &:visited {
60
- color: @linkColor;
88
+ color: @linkColor;
61
89
  }
62
90
 
63
91
  &:active {
@@ -294,7 +322,7 @@ p.has--clear--both:empty {
294
322
 
295
323
  .style-select-widget {
296
324
  svg.light-green {
297
- background-color:@green-1;
325
+ background-color: @green-1;
298
326
  fill: @tertiaryColor !important;
299
327
  }
300
328
  }
@@ -329,4 +357,4 @@ p.has--clear--both:empty {
329
357
  border-right: 0.1rem solid @secondaryColor !important;
330
358
  }
331
359
  }
332
- }
360
+ }
@@ -1,11 +1,69 @@
1
1
  /*******************************
2
2
  Site Settings
3
3
  *******************************/
4
-
4
+ @import '@eeacms/volto-bise-policy/../theme/globals/mixins';
5
5
  @import '@eeacms/volto-bise-policy/../theme/tokens/tokens';
6
6
 
7
- // @fontName: 'OpenSans';
8
- // @fontSize: 16px;
7
+ /*-------------------
8
+ Pastanaga Toolbar
9
+ --------------------*/
10
+
11
+ @collapsedWidth: 20px;
12
+ @sidebarWidth: 375px;
13
+ @toolbarWidth: 80px;
14
+ @toolbarWidthMin: @collapsedWidth;
15
+ @fullSizeIcon: 36px;
16
+
17
+ /*-------------------
18
+ Breakpoints
19
+ --------------------*/
20
+ @breakpointOffset: 0;
21
+ @minOffset: 0;
22
+ @maxOffset: @scrollbarWidth;
23
+ @extraRule: '';
24
+
25
+ @narrowBreakpoint: 900px;
26
+
27
+ @mobile: breakpoint(0, @largestMobileScreen);
28
+ @mobileUp: breakpoint(@tabletBreakpoint, 0);
29
+ @tablet: breakpoint(@tabletBreakpoint, @largestTabletScreen);
30
+ @tabletUp: breakpoint(@computerBreakpoint, 0);
31
+ @smallMonitor: breakpoint(@computerBreakpoint, @largestSmallMonitor);
32
+ @smallMonitorUp: breakpoint(@computerBreakpoint, 0);
33
+ @largeMonitor: breakpoint(@largeMonitorBreakpoint, 0);
34
+ @narrowMonitor: breakpoint(@narrowBreakpoint, 0);
35
+ @wideMonitor: breakpoint(@laptopMonitorBreakpoint, 0);
36
+
37
+ @innerTablet: breakpoint(
38
+ @tabletBreakpoint + @minOffset,
39
+ @tabletBreakpoint + @maxOffset,
40
+ 0,
41
+ @extraRule
42
+ );
43
+ @innerSmallMonitor: breakpoint(
44
+ @computerBreakpoint + @minOffset,
45
+ @computerBreakpoint + @maxOffset,
46
+ 0,
47
+ @extraRule
48
+ );
49
+ @innerLargeMonitor: breakpoint(
50
+ @largeMonitorBreakpoint + @minOffset,
51
+ @largeMonitorBreakpoint + @maxOffset,
52
+ 0,
53
+ @extraRule
54
+ );
55
+ @innerNarrowMonitor: breakpoint(
56
+ @narrowBreakpoint + @minOffset,
57
+ @narrowBreakpoint + @maxOffset,
58
+ @breakpointOffset,
59
+ @extraRule
60
+ );
61
+ @innerWideMonitor: breakpoint(
62
+ @laptopMonitorBreakpoint + @minOffset,
63
+ @laptopMonitorBreakpoint + @maxOffset,
64
+ @breakpointOffset,
65
+ @extraRule
66
+ );
9
67
 
10
68
  /*-------------------
11
69
  Brand Colors
@@ -24,4 +82,22 @@
24
82
  @linkHoverColor: @primaryColor;
25
83
  @linkActiveColor: @linkHoverColor;
26
84
 
27
- @scrollbarWidth: 15px;
85
+ @scrollbarWidth: 15px;
86
+
87
+ @toolbarWidthCSS: var(--toolbar-width, 0px);
88
+ @sidebarWidthCSS: var(--sidebar-width, 0px);
89
+ @scrollbarWidthCSS: var(--scrollbar-width, 0px);
90
+ @editMinimumGutter: 3rem;
91
+ @editGutter: var(--edit-gutter, 0px);
92
+ @parentGutter: ~'(@{pageFullWidth} - 100%) / 2';
93
+ @pageOffsetWidth: ~'@{toolbarWidthCSS} + @{sidebarWidthCSS} + @{scrollbarWidthCSS}';
94
+ @offsetWidth: ~'@{toolbarWidthCSS} + @{sidebarWidthCSS}';
95
+ @pageFullWidth: ~'var(--vw, 1vw) * 100 - (@{offsetWidth})';
96
+ @pageFullWidthEdit: ~'var(--vw, 1vw) * 100 - (@{offsetWidth} + @{editMinimumGutter} * 2)';
97
+ @pageFullHeight: ~'var(--vh, 1vh) * 100';
98
+ @pageHalfWidth: ~'var(--vw, 1vw) * 50 - (@{offsetWidth}) / 2';
99
+ @pageHalfWidthEdit: ~'var(--vw, 1vw) * 50 - (@{offsetWidth} + @{editMinimumGutter} * 2) / 2';
100
+ @pageHalfHeight: ~'var(--vh, 1vh) * 100';
101
+
102
+ @view: ~'body:not(.section-edit):not(.section-add)';
103
+ @edit: ~'body.section-edit,body.section-add';
@@ -18,13 +18,13 @@
18
18
  */
19
19
 
20
20
  /* Global */
21
- @site : 'mirage';
21
+ @site : 'eea';
22
22
  @reset : 'eea';
23
23
  @mixins : 'mirage';
24
24
 
25
25
  /* Elements */
26
26
  @button : 'eea';
27
- @container : 'mirage';
27
+ @container : 'eea';
28
28
  @divider : 'eea';
29
29
  @flag : 'eea';
30
30
  @header : 'eea';
@@ -78,24 +78,22 @@
78
78
  @main : 'eea';
79
79
  @custom : 'eea';
80
80
  /* EEA Design system custom components */
81
- @blockquote : 'eea';
82
- @pullquote : 'eea';
83
- @banner : 'eea';
84
- @timeline : 'eea';
85
- @footer : 'eea';
86
- @header : 'mirage';
87
- @tag : 'eea';
88
- @tags : 'eea';
89
- @tagList : 'eea';
90
- @inpageNavigation : 'eea';
91
- @contextNavigation : 'eea';
92
- @avatar : 'eea';
81
+ @blockquote : 'eea';
82
+ @pullquote : 'eea';
83
+ @banner : 'eea';
84
+ @timeline : 'eea';
85
+ @footer : 'eea';
86
+ @header : 'eea';
87
+ @tag : 'eea';
88
+ @tags : 'eea';
89
+ @tagList : 'eea';
90
+ @inpageNavigation : 'eea';
91
+ @contextNavigation : 'eea';
93
92
  @divider : 'eea';
94
93
  @testimonial : 'eea';
95
- @avatarGrid : 'eea';
96
94
  @keyContent : 'eea';
97
95
  @publicationCard : 'eea';
98
- @contentBox : 'mirage';
96
+ @contentBox : 'eea';
99
97
  @reverseCardGrid : 'eea';
100
98
  @relatedContent : 'eea';
101
99
  @share : 'eea';
@@ -104,35 +102,36 @@
104
102
  @faqFilter : 'eea';
105
103
  @contentAccordion : 'eea';
106
104
  @downloadLabeledIcon :'eea';
107
- @newTabLabeledIcon : 'eea';
108
- @labeledIconGroup : 'eea';
109
- @languageLabeledIcon : 'eea';
110
- @callout : 'eea';
111
- @quote : 'eea';
112
- @hero : 'mirage';
113
- @copyright : 'eea';
114
- @columns : 'mirage';
115
- @spotlight : 'mirage';
105
+ @newTabLabeledIcon : 'eea';
106
+ @labeledIconGroup : 'eea';
107
+ @languageLabeledIcon : 'eea';
108
+ @callout : 'eea';
109
+ @quote : 'eea';
110
+ @hero : 'eea';
111
+ @copyright : 'eea';
116
112
 
117
113
  /*******************************
118
114
  Folders
119
115
  *******************************/
120
116
 
121
117
  /* Path to theme packages */
122
- @themesFolder: '~volto-themes';
118
+
119
+ @themesFolder : '~volto-themes';
123
120
 
124
121
  /* Path to site override folder */
125
- @siteFolder: '../../theme';
122
+
123
+ @siteFolder : '../../theme';
126
124
 
127
125
  /*******************************
128
126
  Import Theme
129
127
  *******************************/
130
- @import (multiple) "~volto-spotlight-themes/../theme.less";
131
128
 
132
- @fontPath: "~volto-themes/default/assets/fonts";
129
+ @import (multiple) "~eea-volto-themes/../theme.less";
130
+
131
+ @fontPath : "~volto-themes/default/assets/fonts";
133
132
 
134
133
  .loadAddonOverrides() {
135
134
  @import (optional) "@{siteFolder}/@{addon}/@{addontype}s/@{addonelement}.overrides";
136
135
  }
137
136
 
138
- /* End Config */
137
+ /* End Config */
@@ -1,2 +0,0 @@
1
- import '@eeacms/volto-spotlight/semantic.less';
2
- import '@plone/volto/../theme/themes/pastanaga/extras/extras.less';