@eeacms/volto-bise-policy 1.0.3 → 1.0.5
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 +17 -3
- package/package.json +1 -1
- package/src/components/manage/Blocks/KeyFacts/KeyFactsView.jsx +1 -1
- package/src/customizations/volto/components/theme/Header/Header.jsx +5 -3
- package/theme/collections/message.overrides +5 -1
- package/theme/globals/site.overrides +60 -76
- package/theme/globals/site.variables +2 -2
- package/src/customizations/volto/components/theme/Footer/Footer.jsx +0 -25
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,25 @@ 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.5](https://github.com/eea/volto-bise-policy/compare/1.0.4...1.0.5) - 26 April 2023
|
|
8
8
|
|
|
9
|
-
#### :
|
|
9
|
+
#### :nail_care: Enhancements
|
|
10
|
+
|
|
11
|
+
- refactor(Header.jsx): remove unused lodash find import statement [Miu Razvan - [`708256c`](https://github.com/eea/volto-bise-policy/commit/708256c75bef332c18c0102246ad3cd6cf66ade9)]
|
|
12
|
+
- refactor(Footer.jsx): remove unused code and simplify code [Miu Razvan - [`3ed838d`](https://github.com/eea/volto-bise-policy/commit/3ed838d4f9ba20b1fbc5c968b044912144983c27)]
|
|
13
|
+
|
|
14
|
+
### [1.0.4](https://github.com/eea/volto-bise-policy/compare/1.0.3...1.0.4) - 26 April 2023
|
|
15
|
+
|
|
16
|
+
#### :rocket: New Features
|
|
17
|
+
|
|
18
|
+
- 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)]
|
|
19
|
+
|
|
20
|
+
#### :house: Internal changes
|
|
21
|
+
|
|
22
|
+
- style(KeyFactsView.jsx): add optional chaining to line.upper.data [Miu Razvan - [`ea4df76`](https://github.com/eea/volto-bise-policy/commit/ea4df7686861d05d2fa56e104c54b5659255f176)]
|
|
23
|
+
|
|
24
|
+
### [1.0.3](https://github.com/eea/volto-bise-policy/compare/1.0.2...1.0.3) - 12 April 2023
|
|
10
25
|
|
|
11
|
-
- update [Miu Razvan - [`a75120c`](https://github.com/eea/volto-bise-policy/commit/a75120c5047d4654b064ba1e5114d2405be5d2ff)]
|
|
12
26
|
### [1.0.2](https://github.com/eea/volto-bise-policy/compare/1.0.1...1.0.2) - 29 March 2023
|
|
13
27
|
|
|
14
28
|
### [1.0.1](https://github.com/eea/volto-bise-policy/compare/1.0.0...1.0.1) - 29 March 2023
|
package/package.json
CHANGED
|
@@ -149,6 +149,7 @@ const EEAHeader = ({ token, history, subsite, content, ...props }) => {
|
|
|
149
149
|
href="https://europa.eu/european-union/contact/institutions-bodies_en"
|
|
150
150
|
target="_blank"
|
|
151
151
|
rel="noreferrer"
|
|
152
|
+
onKeyDown={(evt) => evt.stopPropagation()}
|
|
152
153
|
>
|
|
153
154
|
See all EU institutions and bodies
|
|
154
155
|
</a>
|
|
@@ -176,14 +177,15 @@ const EEAHeader = ({ token, history, subsite, content, ...props }) => {
|
|
|
176
177
|
</Dropdown.Item>
|
|
177
178
|
{headerOpts.partnerLinks.links.map((item, index) => (
|
|
178
179
|
<Dropdown.Item key={index}>
|
|
179
|
-
<
|
|
180
|
+
<a
|
|
180
181
|
href={item.href}
|
|
181
182
|
className="site"
|
|
182
|
-
target=
|
|
183
|
+
target="_blank"
|
|
183
184
|
rel="noreferrer"
|
|
185
|
+
onKeyDown={(evt) => evt.stopPropagation()}
|
|
184
186
|
>
|
|
185
187
|
{item.title}
|
|
186
|
-
</
|
|
188
|
+
</a>
|
|
187
189
|
</Dropdown.Item>
|
|
188
190
|
))}
|
|
189
191
|
</div>
|
|
@@ -154,36 +154,24 @@ p.has--clear--both:empty {
|
|
|
154
154
|
padding: 0 !important;
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
h2,
|
|
160
|
-
h3,
|
|
161
|
-
h4,
|
|
162
|
-
h5,
|
|
163
|
-
h6,
|
|
164
|
-
p,
|
|
165
|
-
a,
|
|
166
|
-
span,
|
|
167
|
-
button {
|
|
168
|
-
font-family: OpenSans, 'Raleway', sans-serif;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
h1,
|
|
172
|
-
h2,
|
|
173
|
-
h3,
|
|
174
|
-
h4,
|
|
175
|
-
h5,
|
|
176
|
-
h6 {
|
|
177
|
-
color: @primaryColor !important;
|
|
178
|
-
}
|
|
179
|
-
|
|
180
|
-
h2 {
|
|
181
|
-
font-weight: 600;
|
|
157
|
+
.eea.header a:hover {
|
|
158
|
+
color: @secondaryColor;
|
|
182
159
|
}
|
|
183
160
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
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
|
+
// }
|
|
187
175
|
|
|
188
176
|
h1,
|
|
189
177
|
h2,
|
|
@@ -191,12 +179,16 @@ p.has--clear--both:empty {
|
|
|
191
179
|
h4,
|
|
192
180
|
h5,
|
|
193
181
|
h6 {
|
|
194
|
-
color: @
|
|
182
|
+
color: @primaryColor !important;
|
|
195
183
|
}
|
|
196
184
|
|
|
197
|
-
|
|
185
|
+
h2 {
|
|
186
|
+
font-weight: 600;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
a {
|
|
198
190
|
color: @secondaryColor;
|
|
199
|
-
|
|
191
|
+
font-weight: 600;
|
|
200
192
|
|
|
201
193
|
h1,
|
|
202
194
|
h2,
|
|
@@ -206,21 +198,6 @@ p.has--clear--both:empty {
|
|
|
206
198
|
h6 {
|
|
207
199
|
color: @secondaryColor !important;
|
|
208
200
|
}
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.light-links {
|
|
213
|
-
h1,
|
|
214
|
-
h2,
|
|
215
|
-
h3,
|
|
216
|
-
h4,
|
|
217
|
-
h5,
|
|
218
|
-
h6 {
|
|
219
|
-
color: @secondaryColor !important;
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
a {
|
|
223
|
-
color: @secondaryColor;
|
|
224
201
|
|
|
225
202
|
&:hover {
|
|
226
203
|
color: @secondaryColor;
|
|
@@ -236,15 +213,44 @@ p.has--clear--both:empty {
|
|
|
236
213
|
}
|
|
237
214
|
}
|
|
238
215
|
}
|
|
239
|
-
}
|
|
240
216
|
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
217
|
+
.light-links {
|
|
218
|
+
h1,
|
|
219
|
+
h2,
|
|
220
|
+
h3,
|
|
221
|
+
h4,
|
|
222
|
+
h5,
|
|
223
|
+
h6 {
|
|
224
|
+
color: @secondaryColor !important;
|
|
225
|
+
}
|
|
244
226
|
|
|
245
|
-
|
|
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 {
|
|
246
248
|
color: @primaryColor;
|
|
247
|
-
|
|
249
|
+
|
|
250
|
+
&:hover {
|
|
251
|
+
color: @primaryColor;
|
|
252
|
+
text-decoration: underline;
|
|
253
|
+
}
|
|
248
254
|
}
|
|
249
255
|
}
|
|
250
256
|
}
|
|
@@ -264,28 +270,6 @@ p.has--clear--both:empty {
|
|
|
264
270
|
z-index: 6;
|
|
265
271
|
}
|
|
266
272
|
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
.red-bg::before {
|
|
270
|
-
.full-width();
|
|
271
|
-
}
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
@{edit} {
|
|
275
|
-
.red-bg::before {
|
|
276
|
-
.full-width-edit();
|
|
277
|
-
}
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
.red-bg {
|
|
281
|
-
position: relative;
|
|
282
|
-
color: #fff;
|
|
283
|
-
|
|
284
|
-
&::before {
|
|
285
|
-
content: '';
|
|
286
|
-
height: 100%;
|
|
287
|
-
background-color: coral;
|
|
288
|
-
z-index: -1 !important;
|
|
289
|
-
position: absolute !important;
|
|
290
|
-
}
|
|
273
|
+
.simple-data-table {
|
|
274
|
+
padding: 0;
|
|
291
275
|
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Footer component.
|
|
3
|
-
* @module components/theme/Footer/Footer
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import React from 'react';
|
|
7
|
-
import EEAFooter from '@eeacms/volto-eea-design-system/ui/Footer/Footer';
|
|
8
|
-
import config from '@plone/volto/registry';
|
|
9
|
-
|
|
10
|
-
const Footer = (props) => {
|
|
11
|
-
const { eea } = config.settings;
|
|
12
|
-
return (
|
|
13
|
-
<EEAFooter>
|
|
14
|
-
<EEAFooter.SubFooter {...eea.footerOpts} />
|
|
15
|
-
<EEAFooter.Header>{eea.footerOpts.header}</EEAFooter.Header>
|
|
16
|
-
<EEAFooter.Sites sites={eea.footerOpts.sites} />
|
|
17
|
-
<EEAFooter.Actions
|
|
18
|
-
actions={eea.footerOpts.actions}
|
|
19
|
-
copyright={eea.footerOpts.copyright}
|
|
20
|
-
/>
|
|
21
|
-
</EEAFooter>
|
|
22
|
-
);
|
|
23
|
-
};
|
|
24
|
-
|
|
25
|
-
export default Footer;
|