@eeacms/volto-bise-policy 1.2.23 → 1.2.25
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 +12 -9
- package/package.json +1 -3
- package/theme/extras/header.overrides +4 -1
- package/theme/globals/mixins.breakpoints.less +85 -0
- package/theme/globals/mixins.less +60 -0
- package/theme/globals/site.overrides +31 -3
- package/theme/globals/site.variables +80 -4
- package/theme/modules/sticky.overrides +0 -12
- package/theme/theme.config +29 -30
- package/src/customizations/@root/theme.js +0 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@ 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.25](https://github.com/eea/volto-bise-policy/compare/1.2.24...1.2.25) - 23 October 2025
|
|
8
|
+
|
|
9
|
+
#### :rocket: New Features
|
|
10
|
+
|
|
11
|
+
- feat(dependencies): remove volto-spotlight [Miu Razvan - [`ad88c19`](https://github.com/eea/volto-bise-policy/commit/ad88c1921de8a490997ad3b34f7b36ebe1366e63)]
|
|
12
|
+
|
|
13
|
+
#### :bug: Bug Fixes
|
|
14
|
+
|
|
15
|
+
- fix(header): remove gap in natura2000 added by eea-design-system [Miu Razvan - [`6d51c65`](https://github.com/eea/volto-bise-policy/commit/6d51c657bd9acb2d9d6ad6cf6e1752045b4b8fc6)]
|
|
16
|
+
|
|
17
|
+
### [1.2.24](https://github.com/eea/volto-bise-policy/compare/1.2.23...1.2.24) - 22 October 2025
|
|
18
|
+
|
|
7
19
|
### [1.2.23](https://github.com/eea/volto-bise-policy/compare/1.2.22...1.2.23) - 26 August 2025
|
|
8
20
|
|
|
9
21
|
#### :hammer_and_wrench: Others
|
|
@@ -137,7 +149,6 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
137
149
|
- chore: customize root theme to use volto-spotlight - refs #259794 [ana-oprea - [`347f96e`](https://github.com/eea/volto-bise-policy/commit/347f96e335139f9656abd34c308c531b05de85e7)]
|
|
138
150
|
- chore: change the theme and alias to volto-spotlight and add volto-spotlight to package.json - refs #259794 [ana-oprea - [`52732a1`](https://github.com/eea/volto-bise-policy/commit/52732a17b3247a04ffae0a3f5118e173afa98157)]
|
|
139
151
|
- chore: change theme to eea-volto-theme, change config.alias - refs #259794 [ana-oprea - [`c2d08ea`](https://github.com/eea/volto-bise-policy/commit/c2d08ea08a7f0e5f6f7d32149e60ea3f3e901923)]
|
|
140
|
-
- chore: [JENKINS] Refactor automated testing [valentinab25 - [`a3c9488`](https://github.com/eea/volto-bise-policy/commit/a3c9488c5d09ba97fe5976675524d436080a2460)]
|
|
141
152
|
- chore: husky, lint-staged use fixed versions [valentinab25 - [`fddc30f`](https://github.com/eea/volto-bise-policy/commit/fddc30f11a1d8ec290edaca2d924282f5e113bc6)]
|
|
142
153
|
- chore:volto 16 in tests, update docs, fix stylelint overrides [valentinab25 - [`005ce74`](https://github.com/eea/volto-bise-policy/commit/005ce742dbd014fde27e417059251233365766dd)]
|
|
143
154
|
|
|
@@ -150,17 +161,9 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
|
150
161
|
- test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`c1277ba`](https://github.com/eea/volto-bise-policy/commit/c1277bacf840ee9feccbfd6a2c85f0b25a9a9125)]
|
|
151
162
|
- test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`c944153`](https://github.com/eea/volto-bise-policy/commit/c944153710fd53c5d48863cf363464273e25f52e)]
|
|
152
163
|
- test: Update jest,Jenkinsfile,lint to volto-addons-template PR30 [valentinab25 - [`d648d52`](https://github.com/eea/volto-bise-policy/commit/d648d525a2fc5076577fe0f75ff9782bf0d1d4e9)]
|
|
153
|
-
- test: [JENKINS] fix jest config, fail with logs on coverage [valentinab25 - [`2a7affe`](https://github.com/eea/volto-bise-policy/commit/2a7affe33d737704bdba117c4a5c8c6748ef7a47)]
|
|
154
|
-
- test: [JENKINS] fix jest config, fail with logs on coverage [valentinab25 - [`5929642`](https://github.com/eea/volto-bise-policy/commit/59296420105d0e8c1f1547aa0cd17a019e478c2b)]
|
|
155
|
-
- test: [JENKINS] fix jest config, fail with logs on coverage [valentinab25 - [`b1142f1`](https://github.com/eea/volto-bise-policy/commit/b1142f1da3667a9f56720f65bebce897a5dd8005)]
|
|
156
164
|
- test: cypress should not wait for navigation, actions, types - refs #259794 [ana-oprea - [`188637c`](https://github.com/eea/volto-bise-policy/commit/188637c78a0cae71b5ee48022507d559dfaceb3e)]
|
|
157
|
-
- test: [JENKINS] Use java17 for sonarqube scanner [valentinab25 - [`fa4e473`](https://github.com/eea/volto-bise-policy/commit/fa4e473018386ec3f09d7300d655c8cccdc19a0e)]
|
|
158
|
-
- test: [JENKINS] Run cypress in started frontend container [valentinab25 - [`1d9135b`](https://github.com/eea/volto-bise-policy/commit/1d9135bb878b3c7a1b828085b99b9d27d78ce60e)]
|
|
159
165
|
- remove cypress tests as it doesn t work on bise [Dobricean Ioan Dorian - [`ba7e2de`](https://github.com/eea/volto-bise-policy/commit/ba7e2defea2dcfd01537c3abb41fa9515ff0a3e3)]
|
|
160
166
|
- add mega menu layout settings as #259794 said [dobri1408 - [`b9a3683`](https://github.com/eea/volto-bise-policy/commit/b9a3683e7d85f8c88ad8feac975c47c434f62c4a)]
|
|
161
|
-
- test: [JENKINS] Add cpu limit on cypress docker [valentinab25 - [`9181908`](https://github.com/eea/volto-bise-policy/commit/9181908c7f4b51bdf83a34f8c7f25827de9b1cc6)]
|
|
162
|
-
- test: [JENKINS] Increase shm-size to cypress docker [valentinab25 - [`099d796`](https://github.com/eea/volto-bise-policy/commit/099d79669471e6924bf1e0bc51a79d54379c3a1a)]
|
|
163
|
-
- test: [JENKINS] Improve cypress time [valentinab25 - [`6d5d8e2`](https://github.com/eea/volto-bise-policy/commit/6d5d8e29b04ddb92628245570055067ca3dcbb6c)]
|
|
164
167
|
- test: fix comment [valentinab25 - [`4f27d5a`](https://github.com/eea/volto-bise-policy/commit/4f27d5af2e8895c7af4f1157521ca42682b96e23)]
|
|
165
168
|
- test: EN locales, pre-commit fix, feature PRs checks Refs #257193 [valentinab25 - [`4c2fcb0`](https://github.com/eea/volto-bise-policy/commit/4c2fcb01065e1ef962317ba7be788fd1df079618)]
|
|
166
169
|
- test: Update Makefile and docker-compose to align it with Jenkinsfile [valentinab25 - [`89afaa1`](https://github.com/eea/volto-bise-policy/commit/89afaa15892930452027ef8c8593fc6d193cda70)]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-bise-policy",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.25",
|
|
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",
|
|
@@ -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:
|
|
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
|
|
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
|
-
|
|
8
|
-
|
|
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';
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
.eea.header {
|
|
2
|
-
z-index: @zIndex;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.eea.header .ui.sticky {
|
|
6
|
-
z-index: @zIndex;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
1
|
.sticky-navigation-anchors.full-width:not(.sticky-broken) {
|
|
10
2
|
z-index: @zIndex;
|
|
11
3
|
}
|
|
@@ -15,7 +7,3 @@
|
|
|
15
7
|
z-index: unset !important;
|
|
16
8
|
}
|
|
17
9
|
}
|
|
18
|
-
|
|
19
|
-
#toolbar {
|
|
20
|
-
z-index: @zIndex + 1;
|
|
21
|
-
}
|
package/theme/theme.config
CHANGED
|
@@ -18,13 +18,13 @@
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
/* Global */
|
|
21
|
-
@site : '
|
|
21
|
+
@site : 'eea';
|
|
22
22
|
@reset : 'eea';
|
|
23
23
|
@mixins : 'mirage';
|
|
24
24
|
|
|
25
25
|
/* Elements */
|
|
26
26
|
@button : 'eea';
|
|
27
|
-
@container : '
|
|
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
|
|
82
|
-
@pullquote
|
|
83
|
-
@banner
|
|
84
|
-
@timeline
|
|
85
|
-
@footer
|
|
86
|
-
@header
|
|
87
|
-
@tag
|
|
88
|
-
@tags
|
|
89
|
-
@tagList
|
|
90
|
-
@inpageNavigation
|
|
91
|
-
@contextNavigation
|
|
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 : '
|
|
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
|
|
108
|
-
@labeledIconGroup
|
|
109
|
-
@languageLabeledIcon
|
|
110
|
-
@callout
|
|
111
|
-
@quote
|
|
112
|
-
@hero
|
|
113
|
-
@copyright
|
|
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
|
-
|
|
118
|
+
|
|
119
|
+
@themesFolder : '~volto-themes';
|
|
123
120
|
|
|
124
121
|
/* Path to site override folder */
|
|
125
|
-
|
|
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
|
-
@
|
|
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 */
|