@eeacms/volto-bise-policy 1.0.2 → 1.0.4
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 +10 -2
- package/package.json +1 -1
- package/razzle.extend.js +9 -8
- package/src/components/manage/Blocks/KeyFacts/KeyFactsView.jsx +1 -1
- package/src/components/manage/Blocks/schema.js +55 -0
- package/src/customizations/volto/components/theme/Footer/Footer.jsx +71 -6
- package/src/index.js +24 -0
- package/theme/assets/icons/image-half-left.svg +9 -0
- package/theme/assets/icons/image-half-right.svg +10 -0
- package/theme/assets/icons/image-narrow.svg +5 -0
- package/theme/collections/message.overrides +5 -1
- package/theme/extras/pluggables.less +2 -14
- package/theme/extras/widgets.less +3 -0
- package/theme/globals/site.overrides +78 -81
- package/theme/globals/site.variables +2 -2
- package/theme/theme.config +39 -36
- package/src/customizations/volto/components/manage/Edit/Edit.jsx +0 -519
- package/src/customizations/volto/components/manage/Form/BlockDataForm.jsx +0 -28
- package/src/customizations/volto/components/manage/Form/BlocksToolbar.jsx +0 -214
- package/src/customizations/volto/components/manage/Form/Field.jsx +0 -269
- package/src/customizations/volto/components/manage/Form/Form.jsx +0 -804
- package/src/customizations/volto/components/manage/Toolbar/More.jsx +0 -547
- package/theme/elements/container.overrides +0 -156
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,19 @@ 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.0.
|
|
7
|
+
### [1.0.4](https://github.com/eea/volto-bise-policy/compare/1.0.3...1.0.4) - 25 April 2023
|
|
8
|
+
|
|
9
|
+
#### :rocket: New Features
|
|
10
|
+
|
|
11
|
+
- feat(Footer.jsx): add support for customizing footer actions, copyright, social and contact actions from backend [Miu Razvan - [`33ae6fc`](https://github.com/eea/volto-bise-policy/commit/33ae6fc768a53bc72d31c8240924ca33e070a483)]
|
|
8
12
|
|
|
9
13
|
#### :house: Internal changes
|
|
10
14
|
|
|
11
|
-
-
|
|
15
|
+
- style(KeyFactsView.jsx): add optional chaining to line.upper.data [Miu Razvan - [`ea4df76`](https://github.com/eea/volto-bise-policy/commit/ea4df7686861d05d2fa56e104c54b5659255f176)]
|
|
16
|
+
|
|
17
|
+
### [1.0.3](https://github.com/eea/volto-bise-policy/compare/1.0.2...1.0.3) - 12 April 2023
|
|
18
|
+
|
|
19
|
+
### [1.0.2](https://github.com/eea/volto-bise-policy/compare/1.0.1...1.0.2) - 29 March 2023
|
|
12
20
|
|
|
13
21
|
### [1.0.1](https://github.com/eea/volto-bise-policy/compare/1.0.0...1.0.1) - 29 March 2023
|
|
14
22
|
|
package/package.json
CHANGED
package/razzle.extend.js
CHANGED
|
@@ -8,17 +8,18 @@ const modify = (config, { target, dev }, webpack) => {
|
|
|
8
8
|
config.resolve.alias['../../theme.config'] = themeConfigPath;
|
|
9
9
|
config.resolve.alias['../../theme'] = `${__dirname}/theme`;
|
|
10
10
|
const projectRootPath = path.resolve('.');
|
|
11
|
-
const themeLessPath = `${projectRootPath}/node_modules/@eeacms/volto-
|
|
11
|
+
const themeLessPath = `${projectRootPath}/node_modules/@eeacms/volto-spotlight/theme`;
|
|
12
12
|
|
|
13
|
-
config.resolve.alias['
|
|
14
|
-
? `${projectRootPath}/src/addons/volto-
|
|
15
|
-
: `${themeLessPath}/themes/
|
|
13
|
+
config.resolve.alias['volto-spotlight-theme'] = dev
|
|
14
|
+
? `${projectRootPath}/src/addons/volto-spotlight/theme/themes/spotlight`
|
|
15
|
+
: `${themeLessPath}/themes/spotlight`;
|
|
16
16
|
|
|
17
17
|
const semanticLessPath = `${projectRootPath}/node_modules/semantic-ui-less`;
|
|
18
|
-
const hasDesignSystemInstalled =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
18
|
+
const hasDesignSystemInstalled =
|
|
19
|
+
config.resolve.alias['volto-spotlight-themes'];
|
|
20
|
+
config.resolve.alias[
|
|
21
|
+
'volto-spotlight-theme-folder'
|
|
22
|
+
] = hasDesignSystemInstalled ? themeLessPath : semanticLessPath;
|
|
22
23
|
|
|
23
24
|
return config;
|
|
24
25
|
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { cloneDeep } from 'lodash';
|
|
2
|
+
import imageFitSVG from '@plone/volto/icons/image-fit.svg';
|
|
3
|
+
import imageWideSVG from '@plone/volto/icons/image-wide.svg';
|
|
4
|
+
import imageFullSVG from '@plone/volto/icons/image-full.svg';
|
|
5
|
+
import imageNarrowSVG from '@eeacms/volto-bise-policy/../theme/assets/icons/image-narrow.svg';
|
|
6
|
+
import leftSVG from '@eeacms/volto-bise-policy/../theme/assets/icons/image-half-left.svg';
|
|
7
|
+
import rightSVG from '@eeacms/volto-bise-policy/../theme/assets/icons/image-half-right.svg';
|
|
8
|
+
|
|
9
|
+
export const ALIGN_INFO_MAP = {
|
|
10
|
+
narrow_width: [imageNarrowSVG, 'Narrow width'],
|
|
11
|
+
container_width: [imageFitSVG, 'Container width'],
|
|
12
|
+
wide_width: [imageWideSVG, 'Wide width'],
|
|
13
|
+
full: [imageFullSVG, 'Full width'],
|
|
14
|
+
half_width_left: [leftSVG, 'Half width left'],
|
|
15
|
+
half_width_right: [rightSVG, 'Half width right'],
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export const addStylingFieldsetSchemaEnhancer = ({ schema }) => {
|
|
19
|
+
const applied = schema?.properties?.styles;
|
|
20
|
+
|
|
21
|
+
if (!applied) {
|
|
22
|
+
const resSchema = cloneDeep(schema);
|
|
23
|
+
|
|
24
|
+
resSchema.fieldsets.push({
|
|
25
|
+
id: 'styling',
|
|
26
|
+
fields: ['styles'],
|
|
27
|
+
title: 'Styling',
|
|
28
|
+
});
|
|
29
|
+
resSchema.properties.styles = {
|
|
30
|
+
widget: 'object',
|
|
31
|
+
title: 'Styling',
|
|
32
|
+
schema: {
|
|
33
|
+
fieldsets: [
|
|
34
|
+
{
|
|
35
|
+
id: 'default',
|
|
36
|
+
title: 'Default',
|
|
37
|
+
fields: ['size'],
|
|
38
|
+
},
|
|
39
|
+
],
|
|
40
|
+
properties: {
|
|
41
|
+
size: {
|
|
42
|
+
widget: 'style_align',
|
|
43
|
+
title: 'Section size',
|
|
44
|
+
actions: Object.keys(ALIGN_INFO_MAP),
|
|
45
|
+
actionsInfoMap: ALIGN_INFO_MAP,
|
|
46
|
+
},
|
|
47
|
+
},
|
|
48
|
+
required: [],
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
return resSchema;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
return schema;
|
|
55
|
+
};
|
|
@@ -4,20 +4,85 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import React from 'react';
|
|
7
|
+
import { useSelector, shallowEqual } from 'react-redux';
|
|
8
|
+
import { flattenToAppURL } from '@plone/volto/helpers';
|
|
7
9
|
import EEAFooter from '@eeacms/volto-eea-design-system/ui/Footer/Footer';
|
|
8
10
|
import config from '@plone/volto/registry';
|
|
9
11
|
|
|
10
|
-
const Footer = (
|
|
12
|
+
const Footer = () => {
|
|
11
13
|
const { eea } = config.settings;
|
|
14
|
+
const {
|
|
15
|
+
footerActions = [],
|
|
16
|
+
copyrightActions = [],
|
|
17
|
+
socialActions = [],
|
|
18
|
+
contactActions = [],
|
|
19
|
+
contactExtraActions = [],
|
|
20
|
+
} = useSelector(
|
|
21
|
+
(state) => ({
|
|
22
|
+
footerActions: state.actions?.actions?.footer_actions,
|
|
23
|
+
copyrightActions: state.actions?.actions?.copyright_actions,
|
|
24
|
+
socialActions: state.actions?.actions?.social_actions,
|
|
25
|
+
contactActions: state.actions?.actions?.contact_actions,
|
|
26
|
+
contactExtraActions: state.actions?.actions?.contact_extra_actions,
|
|
27
|
+
}),
|
|
28
|
+
shallowEqual,
|
|
29
|
+
);
|
|
30
|
+
// ZMI > portal_actions > footer_actions
|
|
31
|
+
const actions = footerActions.length
|
|
32
|
+
? footerActions.map((action) => ({
|
|
33
|
+
title: action.title,
|
|
34
|
+
link: flattenToAppURL(action.url),
|
|
35
|
+
}))
|
|
36
|
+
: eea.footerOpts.actions;
|
|
37
|
+
|
|
38
|
+
// ZMI > portal_actions > copyright_actions
|
|
39
|
+
const copyright = copyrightActions.length
|
|
40
|
+
? copyrightActions.map((action) => ({
|
|
41
|
+
title: action.title,
|
|
42
|
+
site: action.title,
|
|
43
|
+
link: flattenToAppURL(action.url),
|
|
44
|
+
}))
|
|
45
|
+
: eea.footerOpts.copyright;
|
|
46
|
+
|
|
47
|
+
// ZMI > portal_actions > social_actions
|
|
48
|
+
const social = socialActions.length
|
|
49
|
+
? socialActions.map((action) => ({
|
|
50
|
+
name: action.id,
|
|
51
|
+
icon: action.icon,
|
|
52
|
+
link: action.url,
|
|
53
|
+
}))
|
|
54
|
+
: eea.footerOpts.social;
|
|
55
|
+
|
|
56
|
+
// ZMI > portal_actions > contact_actions
|
|
57
|
+
const contacts = contactActions.length
|
|
58
|
+
? contactActions.map((action, idx) => ({
|
|
59
|
+
text: action.title,
|
|
60
|
+
icon: action.icon,
|
|
61
|
+
link: flattenToAppURL(action.url),
|
|
62
|
+
children:
|
|
63
|
+
idx === 0
|
|
64
|
+
? contactExtraActions.map((child) => ({
|
|
65
|
+
text: child.title,
|
|
66
|
+
icon: child.icon,
|
|
67
|
+
link: flattenToAppURL(child.url),
|
|
68
|
+
}))
|
|
69
|
+
: [],
|
|
70
|
+
}))
|
|
71
|
+
: eea.footerOpts.contacts;
|
|
72
|
+
|
|
73
|
+
// Update options with actions from backend
|
|
74
|
+
const options = {
|
|
75
|
+
...eea.footerOpts,
|
|
76
|
+
social,
|
|
77
|
+
contacts,
|
|
78
|
+
};
|
|
79
|
+
|
|
12
80
|
return (
|
|
13
81
|
<EEAFooter>
|
|
14
|
-
<EEAFooter.SubFooter {...
|
|
82
|
+
<EEAFooter.SubFooter {...options} />
|
|
15
83
|
<EEAFooter.Header>{eea.footerOpts.header}</EEAFooter.Header>
|
|
16
84
|
<EEAFooter.Sites sites={eea.footerOpts.sites} />
|
|
17
|
-
<EEAFooter.Actions
|
|
18
|
-
actions={eea.footerOpts.actions}
|
|
19
|
-
copyright={eea.footerOpts.copyright}
|
|
20
|
-
/>
|
|
85
|
+
<EEAFooter.Actions actions={actions} copyright={copyright} />
|
|
21
86
|
</EEAFooter>
|
|
22
87
|
);
|
|
23
88
|
};
|
package/src/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import installLink from '@plone/volto-slate/editor/plugins/AdvancedLink';
|
|
2
|
+
import { addStylingFieldsetSchemaEnhancer } from '@eeacms/volto-bise-policy/components/manage/Blocks/schema';
|
|
2
3
|
|
|
3
4
|
import installBlocks from './components/manage/Blocks';
|
|
4
5
|
import installStyles from './components/manage/Styles';
|
|
@@ -75,6 +76,29 @@ const applyConfig = (config) => {
|
|
|
75
76
|
toolbarButtons.splice(linkIndex, 1, 'a');
|
|
76
77
|
toolbarButtons.splice(advancedLinkIndex, 1);
|
|
77
78
|
|
|
79
|
+
// Customizations
|
|
80
|
+
// Group
|
|
81
|
+
if (config.blocks.blocksConfig.group) {
|
|
82
|
+
config.blocks.blocksConfig.group.schemaEnhancer = addStylingFieldsetSchemaEnhancer;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// Columns
|
|
86
|
+
if (config.blocks.blocksConfig.columnsBlock) {
|
|
87
|
+
config.blocks.blocksConfig.columnsBlock.mostUsed = true;
|
|
88
|
+
config.blocks.blocksConfig.columnsBlock.schemaEnhancer = addStylingFieldsetSchemaEnhancer;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
// Listing
|
|
92
|
+
if (config.blocks.blocksConfig.listing) {
|
|
93
|
+
config.blocks.blocksConfig.listing.title = 'Listing (Content)';
|
|
94
|
+
config.blocks.blocksConfig.listing.schemaEnhancer = addStylingFieldsetSchemaEnhancer;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// Hero image left
|
|
98
|
+
if (config.blocks.blocksConfig.hero_image_left) {
|
|
99
|
+
config.blocks.blocksConfig.hero_image_left.schemaEnhancer = addStylingFieldsetSchemaEnhancer;
|
|
100
|
+
}
|
|
101
|
+
|
|
78
102
|
return [installBlocks, installStyles].reduce(
|
|
79
103
|
(acc, apply) => apply(acc),
|
|
80
104
|
config,
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36">
|
|
2
|
+
<g>
|
|
3
|
+
<path fill-rule="nonzero" d="M18,13l2-2v14l-2-2h15l-2,2V11l2,2H18z M33,11v14H18V11H33z"/>
|
|
4
|
+
<polygon points="3,31 33,31 33,29 3,29 "/>
|
|
5
|
+
<polygon points="3,7 33,7 33,5 3,5 "/>
|
|
6
|
+
<polygon points="12.3,15.8 14,17.5 5,17.5 6.7,15.8 5.9,15.1 3,18 5.9,20.9 6.7,20.2 5,18.5 14,18.5 12.3,20.2 13.1,20.9 16,18
|
|
7
|
+
13.1,15.1 "/>
|
|
8
|
+
</g>
|
|
9
|
+
</svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36">
|
|
2
|
+
<g>
|
|
3
|
+
<path fill-rule="nonzero" d="M3,13l2-2v14l-2-2h15l-2,2V11l2,2H3z M18,11v14H3V11H18z"/>
|
|
4
|
+
<polygon points="3,31 33,31 33,29 3,29 "/>
|
|
5
|
+
<polygon points="3,7 33,7 33,5 3,5 "/>
|
|
6
|
+
<polygon points="29.3,15.8 31,17.5 22.1,17.5 23.8,15.8 23,15.1 20.1,18 23,20.9 23.8,20.2 22.1,18.5 31,18.5 29.3,20.2 30.1,20.9
|
|
7
|
+
33,18 30.1,15.1 "/>
|
|
8
|
+
</g>
|
|
9
|
+
|
|
10
|
+
</svg>
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36">
|
|
2
|
+
<path d="M10 13L11.9333 11V25L10 23H26L24.0667 25V11L26 13H10ZM26 11V18V21.5V23.5V25H10V11H26Z" fill="black" />
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M7 31H29V29H7V31Z" />
|
|
4
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M7 7H29V5H7V7Z" />
|
|
5
|
+
</svg>
|
|
@@ -49,22 +49,10 @@
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
.marginless
|
|
53
|
-
|
|
52
|
+
.marginless,
|
|
53
|
+
div#view .ui.container > .marginless {
|
|
54
54
|
margin-top: 0;
|
|
55
|
-
margin-right: 0;
|
|
56
55
|
margin-bottom: 0;
|
|
57
|
-
margin-left: 0;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
div#view .ui.container > {
|
|
61
|
-
.marginless {
|
|
62
|
-
margin: 0;
|
|
63
|
-
margin-top: 0;
|
|
64
|
-
margin-right: 0;
|
|
65
|
-
margin-bottom: 0;
|
|
66
|
-
margin-left: 0;
|
|
67
|
-
}
|
|
68
56
|
}
|
|
69
57
|
|
|
70
58
|
.padded {
|
|
@@ -2,13 +2,14 @@
|
|
|
2
2
|
Global Overrides
|
|
3
3
|
*******************************/
|
|
4
4
|
|
|
5
|
-
@import '../extras/
|
|
6
|
-
@import '../extras/
|
|
7
|
-
@import '../extras/
|
|
8
|
-
@import '../extras/
|
|
9
|
-
@import '../extras/
|
|
10
|
-
@import '
|
|
11
|
-
@import './
|
|
5
|
+
@import '../extras/widgets';
|
|
6
|
+
@import '../extras/keyfacts';
|
|
7
|
+
@import '../extras/factsheets';
|
|
8
|
+
@import '../extras/pluggables';
|
|
9
|
+
@import '../extras/stylemenu';
|
|
10
|
+
@import '../extras/tocnav';
|
|
11
|
+
@import './helpers';
|
|
12
|
+
@import './natura2000';
|
|
12
13
|
|
|
13
14
|
// :root {
|
|
14
15
|
// .define-color(primary, #005248);
|
|
@@ -22,24 +23,6 @@
|
|
|
22
23
|
// .define-color(dark-tertiary, #2e3e4c);
|
|
23
24
|
// }
|
|
24
25
|
|
|
25
|
-
// body::-webkit-scrollbar {
|
|
26
|
-
// width: @scrollbarWidth;
|
|
27
|
-
// }
|
|
28
|
-
|
|
29
|
-
// body::-webkit-scrollbar-track {
|
|
30
|
-
// background: #F9F9F9;
|
|
31
|
-
// }
|
|
32
|
-
|
|
33
|
-
// body::-webkit-scrollbar-thumb {
|
|
34
|
-
// background-color: #B4B4B4;
|
|
35
|
-
// border-radius: 20px;
|
|
36
|
-
// border: 3px solid #FAF9F9;
|
|
37
|
-
// }
|
|
38
|
-
|
|
39
|
-
// body::-webkit-scrollbar-thumb:hover {
|
|
40
|
-
// background-color: #6A6A6A;
|
|
41
|
-
// }
|
|
42
|
-
|
|
43
26
|
@font-face {
|
|
44
27
|
font-family: 'OpenSans';
|
|
45
28
|
font-weight: normal;
|
|
@@ -111,9 +94,9 @@ p.has--clear--both:empty {
|
|
|
111
94
|
// border-bottom: 2px solid @darkSecondaryColor;
|
|
112
95
|
}
|
|
113
96
|
|
|
114
|
-
h2 {
|
|
115
|
-
|
|
116
|
-
}
|
|
97
|
+
// h2 {
|
|
98
|
+
// border-bottom: 2px solid @secondaryColor;
|
|
99
|
+
// }
|
|
117
100
|
|
|
118
101
|
.column-blocks-wrapper {
|
|
119
102
|
display: flex;
|
|
@@ -171,36 +154,24 @@ p.has--clear--both:empty {
|
|
|
171
154
|
padding: 0 !important;
|
|
172
155
|
}
|
|
173
156
|
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
h2,
|
|
177
|
-
h3,
|
|
178
|
-
h4,
|
|
179
|
-
h5,
|
|
180
|
-
h6,
|
|
181
|
-
p,
|
|
182
|
-
a,
|
|
183
|
-
span,
|
|
184
|
-
button {
|
|
185
|
-
font-family: OpenSans, 'Raleway', sans-serif;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
h1,
|
|
189
|
-
h2,
|
|
190
|
-
h3,
|
|
191
|
-
h4,
|
|
192
|
-
h5,
|
|
193
|
-
h6 {
|
|
194
|
-
color: @primaryColor !important;
|
|
157
|
+
.eea.header a:hover {
|
|
158
|
+
color: @secondaryColor;
|
|
195
159
|
}
|
|
196
160
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
161
|
+
.content-area {
|
|
162
|
+
/* TEXT */
|
|
163
|
+
// h1,
|
|
164
|
+
// h2,
|
|
165
|
+
// h3,
|
|
166
|
+
// h4,
|
|
167
|
+
// h5,
|
|
168
|
+
// h6,
|
|
169
|
+
// p,
|
|
170
|
+
// a,
|
|
171
|
+
// span,
|
|
172
|
+
// button {
|
|
173
|
+
// font-family: OpenSans, 'Raleway', sans-serif;
|
|
174
|
+
// }
|
|
204
175
|
|
|
205
176
|
h1,
|
|
206
177
|
h2,
|
|
@@ -208,12 +179,16 @@ p.has--clear--both:empty {
|
|
|
208
179
|
h4,
|
|
209
180
|
h5,
|
|
210
181
|
h6 {
|
|
211
|
-
color: @
|
|
182
|
+
color: @primaryColor !important;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
h2 {
|
|
186
|
+
font-weight: 600;
|
|
212
187
|
}
|
|
213
188
|
|
|
214
|
-
|
|
189
|
+
a {
|
|
215
190
|
color: @secondaryColor;
|
|
216
|
-
|
|
191
|
+
font-weight: 600;
|
|
217
192
|
|
|
218
193
|
h1,
|
|
219
194
|
h2,
|
|
@@ -223,21 +198,6 @@ p.has--clear--both:empty {
|
|
|
223
198
|
h6 {
|
|
224
199
|
color: @secondaryColor !important;
|
|
225
200
|
}
|
|
226
|
-
}
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
.light-links {
|
|
230
|
-
h1,
|
|
231
|
-
h2,
|
|
232
|
-
h3,
|
|
233
|
-
h4,
|
|
234
|
-
h5,
|
|
235
|
-
h6 {
|
|
236
|
-
color: @secondaryColor !important;
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
a {
|
|
240
|
-
color: @secondaryColor;
|
|
241
201
|
|
|
242
202
|
&:hover {
|
|
243
203
|
color: @secondaryColor;
|
|
@@ -253,15 +213,44 @@ p.has--clear--both:empty {
|
|
|
253
213
|
}
|
|
254
214
|
}
|
|
255
215
|
}
|
|
256
|
-
}
|
|
257
216
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
217
|
+
.light-links {
|
|
218
|
+
h1,
|
|
219
|
+
h2,
|
|
220
|
+
h3,
|
|
221
|
+
h4,
|
|
222
|
+
h5,
|
|
223
|
+
h6 {
|
|
224
|
+
color: @secondaryColor !important;
|
|
225
|
+
}
|
|
261
226
|
|
|
262
|
-
|
|
227
|
+
a {
|
|
228
|
+
color: @secondaryColor;
|
|
229
|
+
|
|
230
|
+
&:hover {
|
|
231
|
+
color: @secondaryColor;
|
|
232
|
+
text-decoration: underline;
|
|
233
|
+
|
|
234
|
+
h1,
|
|
235
|
+
h2,
|
|
236
|
+
h3,
|
|
237
|
+
h4,
|
|
238
|
+
h5,
|
|
239
|
+
h6 {
|
|
240
|
+
color: @secondaryColor !important;
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.dark-links {
|
|
247
|
+
a {
|
|
263
248
|
color: @primaryColor;
|
|
264
|
-
|
|
249
|
+
|
|
250
|
+
&:hover {
|
|
251
|
+
color: @primaryColor;
|
|
252
|
+
text-decoration: underline;
|
|
253
|
+
}
|
|
265
254
|
}
|
|
266
255
|
}
|
|
267
256
|
}
|
|
@@ -275,4 +264,12 @@ p.has--clear--both:empty {
|
|
|
275
264
|
.ui.content-area {
|
|
276
265
|
margin-bottom: 2rem;
|
|
277
266
|
}
|
|
278
|
-
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
#toolbar {
|
|
270
|
+
z-index: 6;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.simple-data-table {
|
|
274
|
+
padding: 0;
|
|
275
|
+
}
|
package/theme/theme.config
CHANGED
|
@@ -18,12 +18,13 @@
|
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
/* Global */
|
|
21
|
-
@site : '
|
|
21
|
+
@site : 'mirage';
|
|
22
22
|
@reset : 'eea';
|
|
23
|
+
@mixins : 'mirage';
|
|
23
24
|
|
|
24
25
|
/* Elements */
|
|
25
26
|
@button : 'eea';
|
|
26
|
-
@container : '
|
|
27
|
+
@container : 'mirage';
|
|
27
28
|
@divider : 'eea';
|
|
28
29
|
@flag : 'eea';
|
|
29
30
|
@header : 'eea';
|
|
@@ -77,39 +78,41 @@
|
|
|
77
78
|
@main : 'eea';
|
|
78
79
|
@custom : 'eea';
|
|
79
80
|
/* EEA Design system custom components */
|
|
80
|
-
@blockquote
|
|
81
|
-
@pullquote
|
|
82
|
-
@banner
|
|
83
|
-
@timeline
|
|
84
|
-
@footer
|
|
85
|
-
@header
|
|
86
|
-
@tag
|
|
87
|
-
@tags
|
|
88
|
-
@tagList
|
|
89
|
-
@
|
|
90
|
-
@
|
|
91
|
-
@avatar
|
|
92
|
-
@divider
|
|
93
|
-
@testimonial
|
|
94
|
-
@avatarGrid
|
|
95
|
-
@keyContent
|
|
96
|
-
@publicationCard
|
|
97
|
-
@contentBox
|
|
98
|
-
@reverseCardGrid
|
|
99
|
-
@relatedContent
|
|
100
|
-
@share
|
|
101
|
-
@faqContent
|
|
102
|
-
@reportCard
|
|
103
|
-
@faqFilter
|
|
104
|
-
@contentAccordion
|
|
105
|
-
@downloadLabeledIcon
|
|
106
|
-
@newTabLabeledIcon
|
|
107
|
-
@labeledIconGroup
|
|
108
|
-
@languageLabeledIcon
|
|
109
|
-
@callout
|
|
110
|
-
@quote
|
|
111
|
-
@hero
|
|
112
|
-
@copyright
|
|
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';
|
|
92
|
+
@avatar : 'eea';
|
|
93
|
+
@divider : 'eea';
|
|
94
|
+
@testimonial : 'eea';
|
|
95
|
+
@avatarGrid : 'eea';
|
|
96
|
+
@keyContent : 'eea';
|
|
97
|
+
@publicationCard : 'eea';
|
|
98
|
+
@contentBox : 'mirage';
|
|
99
|
+
@reverseCardGrid : 'eea';
|
|
100
|
+
@relatedContent : 'eea';
|
|
101
|
+
@share : 'eea';
|
|
102
|
+
@faqContent : 'eea';
|
|
103
|
+
@reportCard : 'eea';
|
|
104
|
+
@faqFilter : 'eea';
|
|
105
|
+
@contentAccordion : 'eea';
|
|
106
|
+
@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';
|
|
113
116
|
|
|
114
117
|
/*******************************
|
|
115
118
|
Folders
|
|
@@ -124,7 +127,7 @@
|
|
|
124
127
|
/*******************************
|
|
125
128
|
Import Theme
|
|
126
129
|
*******************************/
|
|
127
|
-
@import (multiple) "~
|
|
130
|
+
@import (multiple) "~volto-spotlight-theme-folder/theme.less";
|
|
128
131
|
|
|
129
132
|
@fontPath: "~volto-themes/default/assets/fonts";
|
|
130
133
|
|