@eeacms/volto-clms-theme 1.1.18 → 1.1.20
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 +13 -1
- package/package.json +1 -1
- package/src/components/Blocks/CustomTemplates/VoltoSearchBlock/CheckboxTreeFacet.jsx +0 -1
- package/src/components/Blocks/CustomTemplates/VoltoSearchBlock/CheckboxTreeParentFacet.jsx +0 -1
- package/src/components/Blocks/CustomTemplates/VoltoSearchBlock/DoubleRangeFacet.jsx +0 -1
- package/src/components/Blocks/CustomTemplates/VoltoSearchBlock/DoubleRangeSpatialFacet.jsx +0 -1
- package/src/components/Blocks/CustomTemplates/VoltoTabsBlock/CclVerticalTabsView.jsx +1 -1
- package/src/components/Blocks/CustomTemplates/VoltoTabsBlock/RoutingHOC.jsx +5 -5
- package/src/components/CLMSDatasetDetailView/DataSetInfoContent.jsx +162 -0
- package/src/components/CLMSDownloadsView/FileCard.jsx +3 -3
- package/src/components/CLMSLoginView/CLMSLogin.jsx +0 -1
- package/src/components/CLMSMeetingView/CLMSMeetingView.jsx +0 -1
- package/src/components/CLMSUseCasesView/usecases.less +6 -0
- package/src/components/CclCard/CclCard.jsx +6 -2
- package/src/components/CclDownloadTable/CclDownloadTable.jsx +0 -1
- package/src/components/CclLoginModal/CclLoginModal.jsx +0 -1
- package/src/components/CclModal/CclModal.jsx +0 -1
- package/src/components/CclTab/CclTabs.jsx +0 -2
- package/src/components/Widgets/DownloadableFilesTableWidget.jsx +0 -1
- package/src/customizations/volto/components/theme/Footer/Footer.jsx +0 -2
- package/src/customizations/volto/components/theme/Header/Header.jsx +0 -2
- package/theme/{clms/css → site/extras}/block-form.less +9 -9
- package/{src/components/CclCard → theme/site/extras}/cards.less +19 -19
- package/theme/{clms/css/carousel.css → site/extras/carousel.less} +7 -7
- package/{src/components/CclTab/CclTabs.less → theme/site/extras/ccl-tabs.less} +3 -3
- package/theme/site/extras/custom.overrides +21 -0
- package/{src/components/CclDownloadTable → theme/site/extras}/download-table.less +5 -5
- package/{src/components/Widgets/DownloadableFilesTableWidget.less → theme/site/extras/downloadable-files-table-widget.less} +3 -3
- package/theme/{clms/css → site/extras}/faq.less +3 -3
- package/theme/{clms/css/footer.css → site/extras/footer.less} +2 -2
- package/theme/{clms/css/forms.css → site/extras/forms.less} +26 -26
- package/theme/{clms/css/header.css → site/extras/header.less} +17 -9
- package/theme/{clms/css/home.css → site/extras/home.less} +25 -25
- package/theme/{clms/css → site/extras}/maps.less +50 -50
- package/{src/components/CLMSMeetingView/meetingstyles.less → theme/site/extras/meeting.less} +1 -1
- package/theme/{clms/css/menu.css → site/extras/menu.less} +32 -32
- package/{src/components/CclModal → theme/site/extras}/modal.less +29 -11
- package/{src/components/Blocks/CustomTemplates/VoltoSearchBlock/range.css → theme/site/extras/range.less} +2 -2
- package/theme/{clms/css → site/extras}/styles.less +43 -53
- package/theme/{clms/css/title.css → site/extras/title.less} +1 -1
- package/theme/site/globals/site.variables +3 -2
- package/theme/site/lib/ccl/css/ccl-icons.css +168 -0
- package/theme/site/lib/ccl/css/fonts.css +108 -0
- package/theme/site/lib/ccl/fonts/ccl-icons/ccl-icons.ttf +0 -0
- package/theme/site/lib/ccl/fonts/ccl-icons/ccl-icons.woff +0 -0
- package/theme/site/lib/ccl/fonts/lato/Lato-Bold.woff2 +0 -0
- package/theme/site/lib/ccl/fonts/lato/Lato-Italic.woff2 +0 -0
- package/theme/site/lib/ccl/fonts/lato/Lato-Light.woff2 +0 -0
- package/theme/site/lib/ccl/fonts/lato/Lato-Regular.woff2 +0 -0
- package/theme/site/lib/font-awesome/css/all.min.css +6150 -0
- package/theme/site/lib/font-awesome/webfonts/fa-brands-400.eot +0 -0
- package/theme/site/lib/font-awesome/webfonts/fa-brands-400.svg +3717 -0
- package/theme/site/lib/font-awesome/webfonts/fa-brands-400.ttf +0 -0
- package/theme/site/lib/font-awesome/webfonts/fa-brands-400.woff +0 -0
- package/theme/site/lib/font-awesome/webfonts/fa-brands-400.woff2 +0 -0
- package/theme/site/lib/font-awesome/webfonts/fa-regular-400.eot +0 -0
- package/theme/site/lib/font-awesome/webfonts/fa-regular-400.svg +801 -0
- package/theme/site/lib/font-awesome/webfonts/fa-regular-400.ttf +0 -0
- package/theme/site/lib/font-awesome/webfonts/fa-regular-400.woff +0 -0
- package/theme/site/lib/font-awesome/webfonts/fa-regular-400.woff2 +0 -0
- package/theme/site/lib/font-awesome/webfonts/fa-solid-900.eot +0 -0
- package/theme/site/lib/font-awesome/webfonts/fa-solid-900.svg +5028 -0
- package/theme/site/lib/font-awesome/webfonts/fa-solid-900.ttf +0 -0
- package/theme/site/lib/font-awesome/webfonts/fa-solid-900.woff +0 -0
- package/theme/site/lib/font-awesome/webfonts/fa-solid-900.woff2 +0 -0
- package/theme/site/modules/accordion.overrides +4 -4
- package/theme/theme.config +1 -1
- package/src/components/CLMSLoginView/CLMSLogin.css +0 -17
- package/src/components/CclLoginModal/ccl-login-modal.css +0 -8
- package/theme/clms/css/breadcrumbs.css +0 -68
- package/theme/clms/css/ccl.less +0 -6
- package/theme/clms/css/maps.css +0 -563
- package/theme/clms/css/ownstyles.less +0 -1816
- /package/theme/{clms/css/volto-block-style-override.css → site/extras/volto-block-style-override.less} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,12 +4,24 @@ 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.1.20](https://github.com/eea/volto-clms-theme/compare/1.1.19...1.1.20) - 5 July 2023
|
|
8
|
+
|
|
9
|
+
#### :rocket: New Features
|
|
10
|
+
|
|
11
|
+
- feat: CLMS-2030 new accordions in dataset page [Mikel Larreategi - [`e8c7d05`](https://github.com/eea/volto-clms-theme/commit/e8c7d05a80e9f107786c531ce651eccf9ec10793)]
|
|
12
|
+
|
|
13
|
+
#### :hammer_and_wrench: Others
|
|
14
|
+
|
|
15
|
+
- open technical library edition link in another tab [ionlizarazu - [`b3ed346`](https://github.com/eea/volto-clms-theme/commit/b3ed346e3302d0f61b65db64a520f02ba7bdd95a)]
|
|
16
|
+
- refactor less files and unify color use [ionlizarazu - [`e344f8d`](https://github.com/eea/volto-clms-theme/commit/e344f8d1c99d459f35eec292bcce4caec483c45f)]
|
|
17
|
+
- from hash to search at CclVerticalTabsView [ionlizarazu - [`7b463ca`](https://github.com/eea/volto-clms-theme/commit/7b463caae5b1325a04457bd8ac497ff44d966580)]
|
|
18
|
+
### [1.1.19](https://github.com/eea/volto-clms-theme/compare/1.1.18...1.1.19) - 3 July 2023
|
|
19
|
+
|
|
7
20
|
### [1.1.18](https://github.com/eea/volto-clms-theme/compare/1.1.17...1.1.18) - 3 July 2023
|
|
8
21
|
|
|
9
22
|
#### :hammer_and_wrench: Others
|
|
10
23
|
|
|
11
24
|
- lint [Mikel Larreategi - [`f828104`](https://github.com/eea/volto-clms-theme/commit/f82810407be009f416090d005a84175bc87c21fe)]
|
|
12
|
-
- clms-2329 remove periodicity from calendar picker [Mikel Larreategi - [`9272a58`](https://github.com/eea/volto-clms-theme/commit/9272a580cdb11051a33832e2d1e4c738ca1a47e6)]
|
|
13
25
|
### [1.1.17](https://github.com/eea/volto-clms-theme/compare/1.1.16...1.1.17) - 30 June 2023
|
|
14
26
|
|
|
15
27
|
#### :hammer_and_wrench: Others
|
package/package.json
CHANGED
|
@@ -24,12 +24,12 @@ const RoutingHOC = (TabView) =>
|
|
|
24
24
|
return { title: t[1].title, id: t[0] };
|
|
25
25
|
});
|
|
26
26
|
if (
|
|
27
|
-
window.location.
|
|
28
|
-
window.location.
|
|
27
|
+
window.location.search.match(/.*([&|?|#]tab=.*)/) &&
|
|
28
|
+
window.location.search.match(/.*([&|?|#]tab=.*)/).length > 1
|
|
29
29
|
) {
|
|
30
|
-
const hashMatch = window.location.
|
|
31
|
-
.match(/.*([
|
|
32
|
-
.replace(/[
|
|
30
|
+
const hashMatch = window.location.search
|
|
31
|
+
.match(/.*([&|?|#]tab=.*)/)[1]
|
|
32
|
+
.replace(/[&|?|#]tab=/, '');
|
|
33
33
|
const result = tabsDict.filter((t) => slugify(t.title) === hashMatch);
|
|
34
34
|
if (result.length > 0) {
|
|
35
35
|
return result[0].id;
|
|
@@ -233,6 +233,119 @@ const DataSetInfoContent = (props) => {
|
|
|
233
233
|
</AnimateHeight>
|
|
234
234
|
</Accordion.Content>
|
|
235
235
|
</Accordion>
|
|
236
|
+
|
|
237
|
+
{props.jrc_algorithm?.data &&
|
|
238
|
+
props.jrc_algorithm?.data !== '<p><br/><p>' &&
|
|
239
|
+
props.jrc_algorithm?.data !== '<p></p>' && (
|
|
240
|
+
<Accordion fluid styled>
|
|
241
|
+
<Accordion.Title
|
|
242
|
+
as={'h2'}
|
|
243
|
+
onClick={() => handleClick({ index: 98 })}
|
|
244
|
+
active={activeIndex === 98}
|
|
245
|
+
index={98}
|
|
246
|
+
className={'accordion-title align-arrow-right'}
|
|
247
|
+
>
|
|
248
|
+
{activeIndex.includes(98) ? (
|
|
249
|
+
<Icon
|
|
250
|
+
name={iconName(data, titleIcons.opened)}
|
|
251
|
+
size="24px"
|
|
252
|
+
/>
|
|
253
|
+
) : (
|
|
254
|
+
<Icon
|
|
255
|
+
name={iconName(data, titleIcons.closed)}
|
|
256
|
+
size="24px"
|
|
257
|
+
/>
|
|
258
|
+
)}
|
|
259
|
+
<span>Algorithm</span>
|
|
260
|
+
</Accordion.Title>
|
|
261
|
+
<Accordion.Content active={activeIndex.includes(98)}>
|
|
262
|
+
<AnimateHeight
|
|
263
|
+
animateOpacity
|
|
264
|
+
duration={500}
|
|
265
|
+
height={'auto'}
|
|
266
|
+
>
|
|
267
|
+
<StringToHTML
|
|
268
|
+
string={props.jrc_algorithm?.data || ''}
|
|
269
|
+
/>
|
|
270
|
+
</AnimateHeight>
|
|
271
|
+
</Accordion.Content>
|
|
272
|
+
</Accordion>
|
|
273
|
+
)}
|
|
274
|
+
|
|
275
|
+
{props.jrc_quality?.data &&
|
|
276
|
+
props.jrc_quality?.data !== '<p><br/><p>' &&
|
|
277
|
+
props.jrc_quality?.data !== '<p></p>' && (
|
|
278
|
+
<Accordion fluid styled>
|
|
279
|
+
<Accordion.Title
|
|
280
|
+
as={'h2'}
|
|
281
|
+
onClick={() => handleClick({ index: 97 })}
|
|
282
|
+
active={activeIndex === 97}
|
|
283
|
+
index={97}
|
|
284
|
+
className={'accordion-title align-arrow-right'}
|
|
285
|
+
>
|
|
286
|
+
{activeIndex.includes(97) ? (
|
|
287
|
+
<Icon
|
|
288
|
+
name={iconName(data, titleIcons.opened)}
|
|
289
|
+
size="24px"
|
|
290
|
+
/>
|
|
291
|
+
) : (
|
|
292
|
+
<Icon
|
|
293
|
+
name={iconName(data, titleIcons.closed)}
|
|
294
|
+
size="24px"
|
|
295
|
+
/>
|
|
296
|
+
)}
|
|
297
|
+
<span>Quality</span>
|
|
298
|
+
</Accordion.Title>
|
|
299
|
+
<Accordion.Content active={activeIndex.includes(97)}>
|
|
300
|
+
<AnimateHeight
|
|
301
|
+
animateOpacity
|
|
302
|
+
duration={500}
|
|
303
|
+
height={'auto'}
|
|
304
|
+
>
|
|
305
|
+
<StringToHTML string={props.jrc_quality?.data || ''} />
|
|
306
|
+
</AnimateHeight>
|
|
307
|
+
</Accordion.Content>
|
|
308
|
+
</Accordion>
|
|
309
|
+
)}
|
|
310
|
+
|
|
311
|
+
{props.jrc_datalayers?.data &&
|
|
312
|
+
props.jrc_datalayers?.data !== '<p><br/><p>' &&
|
|
313
|
+
props.jrc_datalayers?.data !== '<p></p>' && (
|
|
314
|
+
<Accordion fluid styled>
|
|
315
|
+
<Accordion.Title
|
|
316
|
+
as={'h2'}
|
|
317
|
+
onClick={() => handleClick({ index: 96 })}
|
|
318
|
+
active={activeIndex === 96}
|
|
319
|
+
index={96}
|
|
320
|
+
className={'accordion-title align-arrow-right'}
|
|
321
|
+
>
|
|
322
|
+
{activeIndex.includes(96) ? (
|
|
323
|
+
<Icon
|
|
324
|
+
name={iconName(data, titleIcons.opened)}
|
|
325
|
+
size="24px"
|
|
326
|
+
/>
|
|
327
|
+
) : (
|
|
328
|
+
<Icon
|
|
329
|
+
name={iconName(data, titleIcons.closed)}
|
|
330
|
+
size="24px"
|
|
331
|
+
/>
|
|
332
|
+
)}
|
|
333
|
+
<span>Datalayers</span>
|
|
334
|
+
</Accordion.Title>
|
|
335
|
+
<Accordion.Content active={activeIndex.includes(96)}>
|
|
336
|
+
<AnimateHeight
|
|
337
|
+
animateOpacity
|
|
338
|
+
duration={500}
|
|
339
|
+
height={'auto'}
|
|
340
|
+
>
|
|
341
|
+
<StringToHTML
|
|
342
|
+
string={props.jrc_datalayers?.data || ''}
|
|
343
|
+
/>
|
|
344
|
+
</AnimateHeight>
|
|
345
|
+
</Accordion.Content>
|
|
346
|
+
</Accordion>
|
|
347
|
+
)}
|
|
348
|
+
|
|
236
349
|
{librariesPending && <Loader active inline="centered" />}
|
|
237
350
|
{libraries?.length > 0 && (
|
|
238
351
|
<Accordion fluid styled>
|
|
@@ -280,6 +393,55 @@ const DataSetInfoContent = (props) => {
|
|
|
280
393
|
</Accordion.Content>
|
|
281
394
|
</Accordion>
|
|
282
395
|
)}
|
|
396
|
+
|
|
397
|
+
{props.jrc_show_related_datasets && (
|
|
398
|
+
<Accordion fluid styled>
|
|
399
|
+
<Accordion.Title
|
|
400
|
+
as={'h2'}
|
|
401
|
+
onClick={() => handleClick({ index: 95 })}
|
|
402
|
+
active={activeIndex === 95}
|
|
403
|
+
index={95}
|
|
404
|
+
className={'accordion-title align-arrow-right'}
|
|
405
|
+
>
|
|
406
|
+
{activeIndex.includes(95) ? (
|
|
407
|
+
<Icon
|
|
408
|
+
name={iconName(data, titleIcons.opened)}
|
|
409
|
+
size="24px"
|
|
410
|
+
/>
|
|
411
|
+
) : (
|
|
412
|
+
<Icon
|
|
413
|
+
name={iconName(data, titleIcons.closed)}
|
|
414
|
+
size="24px"
|
|
415
|
+
/>
|
|
416
|
+
)}
|
|
417
|
+
<span>Related datasets</span>
|
|
418
|
+
</Accordion.Title>
|
|
419
|
+
<Accordion.Content active={activeIndex.includes(95)}>
|
|
420
|
+
<AnimateHeight
|
|
421
|
+
animateOpacity
|
|
422
|
+
duration={500}
|
|
423
|
+
height={'auto'}
|
|
424
|
+
>
|
|
425
|
+
<CclRelatedListingView
|
|
426
|
+
id={'dataset-info-datasets'}
|
|
427
|
+
properties={{ ...props }}
|
|
428
|
+
data={{
|
|
429
|
+
variation: 'CclCardsdoc',
|
|
430
|
+
content_type: 'DataSet',
|
|
431
|
+
}}
|
|
432
|
+
associated_elements="dataset"
|
|
433
|
+
searchParamsExecution={() => {
|
|
434
|
+
const newIndex =
|
|
435
|
+
activeIndex.indexOf(1) === -1
|
|
436
|
+
? [...activeIndex, 1]
|
|
437
|
+
: activeIndex.filter((item) => item !== 1);
|
|
438
|
+
setActiveIndex(newIndex);
|
|
439
|
+
}}
|
|
440
|
+
/>
|
|
441
|
+
</AnimateHeight>
|
|
442
|
+
</Accordion.Content>
|
|
443
|
+
</Accordion>
|
|
444
|
+
)}
|
|
283
445
|
</Segment>
|
|
284
446
|
)}
|
|
285
447
|
</div>
|
|
@@ -82,7 +82,7 @@ const FileCard = (props) => {
|
|
|
82
82
|
<Icon
|
|
83
83
|
name={pauseSVG}
|
|
84
84
|
size={50}
|
|
85
|
-
color="
|
|
85
|
+
color="olive"
|
|
86
86
|
title={'Queued'}
|
|
87
87
|
/>
|
|
88
88
|
}
|
|
@@ -103,7 +103,7 @@ const FileCard = (props) => {
|
|
|
103
103
|
<Icon
|
|
104
104
|
name={packSVG}
|
|
105
105
|
size={50}
|
|
106
|
-
color="
|
|
106
|
+
color="olive"
|
|
107
107
|
title={'Finished correctly'}
|
|
108
108
|
/>
|
|
109
109
|
}
|
|
@@ -117,7 +117,7 @@ const FileCard = (props) => {
|
|
|
117
117
|
<Icon
|
|
118
118
|
name={blockSVG}
|
|
119
119
|
size={50}
|
|
120
|
-
color="
|
|
120
|
+
color="olive"
|
|
121
121
|
title={'Cancelled'}
|
|
122
122
|
/>
|
|
123
123
|
}
|
|
@@ -3,7 +3,6 @@ import { useSelector } from 'react-redux';
|
|
|
3
3
|
import config from '@plone/volto/registry';
|
|
4
4
|
import { UniversalLink } from '@plone/volto/components';
|
|
5
5
|
import { toPublicURL } from '@plone/volto/helpers/Url/Url';
|
|
6
|
-
import './CLMSLogin.css';
|
|
7
6
|
import { toBase64 } from '../CclUtils';
|
|
8
7
|
|
|
9
8
|
/**
|
|
@@ -24,7 +24,6 @@ import { StringToHTML } from '@eeacms/volto-clms-theme/components/CclUtils';
|
|
|
24
24
|
import { postMeetingRegister } from '../../actions';
|
|
25
25
|
import { CLMSRelatedItems } from '../CLMSRelatedItems';
|
|
26
26
|
import { LightGalleryListing } from './CclLightGallery';
|
|
27
|
-
import './meetingstyles.less';
|
|
28
27
|
import { RegisterButtonReasons } from './utils';
|
|
29
28
|
|
|
30
29
|
import jwtDecode from 'jwt-decode';
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
div.ui.celled.list.usecase-topic-values-list {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-wrap: wrap;
|
|
2
4
|
padding-bottom: 1.8rem;
|
|
3
5
|
}
|
|
4
6
|
|
|
7
|
+
div.ui.celled.list.usecase-topic-values-list .item {
|
|
8
|
+
line-height: 1.6rem;
|
|
9
|
+
}
|
|
10
|
+
|
|
5
11
|
div.ui.celled.list.usecase-topic-values-list .item:first-child,
|
|
6
12
|
div.ui.celled.list.usecase-other-values-list .item:first-child {
|
|
7
13
|
border-left: none;
|
|
@@ -13,7 +13,6 @@ import { When } from '@eeacms/volto-clms-theme/components/CclWhen/CclWhen';
|
|
|
13
13
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
14
14
|
|
|
15
15
|
import { portal_types_labels } from '../Blocks/CustomTemplates/VoltoSearchBlock';
|
|
16
|
-
import './cards.less';
|
|
17
16
|
|
|
18
17
|
import PropTypes from 'prop-types';
|
|
19
18
|
|
|
@@ -61,7 +60,12 @@ const DocCard = ({ card, url, showEditor, children }) => {
|
|
|
61
60
|
<Link to={url}>{card?.title}</Link>
|
|
62
61
|
)}
|
|
63
62
|
{card?.['@type'] === 'TechnicalLibrary' && showEditor && (
|
|
64
|
-
<Link
|
|
63
|
+
<Link
|
|
64
|
+
to={`${url}/edit`}
|
|
65
|
+
target="_blank"
|
|
66
|
+
rel="noopener noreferrer"
|
|
67
|
+
className="technical-library-edit-link"
|
|
68
|
+
>
|
|
65
69
|
<VoltoIcon
|
|
66
70
|
name={penSVG}
|
|
67
71
|
size="12px"
|
|
@@ -20,7 +20,6 @@ import CclModal from '@eeacms/volto-clms-theme/components/CclModal/CclModal';
|
|
|
20
20
|
import { StringToHTML } from '@eeacms/volto-clms-theme/components/CclUtils';
|
|
21
21
|
import useCartState from '@eeacms/volto-clms-utils/cart/useCartState';
|
|
22
22
|
|
|
23
|
-
import './download-table.less';
|
|
24
23
|
import { useSchema } from '../Widgets/SchemaCreatorWidget';
|
|
25
24
|
|
|
26
25
|
import PropTypes from 'prop-types';
|
|
@@ -7,7 +7,6 @@ import config from '@plone/volto/registry';
|
|
|
7
7
|
import { getRegistry } from '@eeacms/volto-clms-theme/actions';
|
|
8
8
|
import CclModal from '@eeacms/volto-clms-theme/components/CclModal/CclModal';
|
|
9
9
|
import { toBase64 } from '../CclUtils';
|
|
10
|
-
import './ccl-login-modal.css';
|
|
11
10
|
|
|
12
11
|
/**
|
|
13
12
|
* Login Modal component doc.
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Segment, Modal } from 'semantic-ui-react';
|
|
3
|
-
import './modal.less';
|
|
4
3
|
import Draggable from 'react-draggable';
|
|
5
4
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
|
6
5
|
import { faGripHorizontal } from '@fortawesome/free-solid-svg-icons';
|
|
@@ -4,7 +4,6 @@ import { useSchema } from './SchemaCreatorWidget';
|
|
|
4
4
|
import { FormBuilder } from '@ginkgo-bioworks/react-json-schema-form-builder/dist/index';
|
|
5
5
|
import CclButton from '../CclButton/CclButton';
|
|
6
6
|
import { Segment, Loader, Header, Divider } from 'semantic-ui-react';
|
|
7
|
-
import './DownloadableFilesTableWidget.less';
|
|
8
7
|
|
|
9
8
|
const orderKeysBy = (array, data) => {
|
|
10
9
|
if (data) {
|
|
@@ -5,8 +5,6 @@
|
|
|
5
5
|
* @module components/theme/Header/Header
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
import '@eeacms/volto-clms-theme/../theme/clms/css/header.css';
|
|
9
|
-
|
|
10
8
|
import { FormattedMessage, injectIntl } from 'react-intl';
|
|
11
9
|
import { Logo, Navigation, SearchWidget } from '@plone/volto/components';
|
|
12
10
|
import React, { Component, useEffect } from 'react';
|
|
@@ -11,35 +11,35 @@ div.form.block {
|
|
|
11
11
|
.ui.form input[type='text']:focus,
|
|
12
12
|
.ui.form input[type='file']:focus,
|
|
13
13
|
.ui.form input[type='url']:focus {
|
|
14
|
-
border-color:
|
|
15
|
-
color:
|
|
14
|
+
border-color: @clmsGreen;
|
|
15
|
+
color: @clmsGreen;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.ui.form textarea:focus {
|
|
19
|
-
border-color:
|
|
19
|
+
border-color: @clmsGreen;
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.label-file-widget-input {
|
|
23
23
|
display: inline-block;
|
|
24
24
|
padding: 0.6rem 3rem;
|
|
25
25
|
border: 1px solid transparent;
|
|
26
|
-
border-color:
|
|
26
|
+
border-color: @clmsGreen;
|
|
27
27
|
margin-top: 20px;
|
|
28
28
|
border-radius: 0px;
|
|
29
|
-
color:
|
|
29
|
+
color: @clmsGreen;
|
|
30
30
|
cursor: pointer;
|
|
31
31
|
opacity: 1;
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
.label-file-widget-input:hover {
|
|
35
|
-
background-color:
|
|
35
|
+
background-color: @clmsGreen;
|
|
36
36
|
color: white;
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
.ui.primary.button {
|
|
40
40
|
padding: 0.6rem 3rem;
|
|
41
41
|
border: 1px solid transparent;
|
|
42
|
-
background-color:
|
|
42
|
+
background-color: @clmsGreen;
|
|
43
43
|
border-radius: 0px;
|
|
44
44
|
color: white;
|
|
45
45
|
font-size: 1rem;
|
|
@@ -51,9 +51,9 @@ div.form.block {
|
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
.ui.primary.button:hover {
|
|
54
|
-
border-color:
|
|
54
|
+
border-color: @clmsGreen;
|
|
55
55
|
background-color: white;
|
|
56
|
-
color:
|
|
56
|
+
color: @clmsGreen;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.dropzone-text {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.card-line:not(:last-of-type) {
|
|
10
|
-
border-bottom: solid 1px
|
|
10
|
+
border-bottom: solid 1px fade(@clmsGreen, 20%);
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
.card-line.hide-line {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
.card-line .card-image {
|
|
18
18
|
width: 10rem;
|
|
19
19
|
height: 8rem;
|
|
20
|
-
border: solid 1px
|
|
20
|
+
border: solid 1px fade(@clmsGreen, 20%);
|
|
21
21
|
margin-right: 1rem;
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
|
|
38
38
|
.card-title {
|
|
39
39
|
margin-bottom: 1rem;
|
|
40
|
-
color:
|
|
40
|
+
color: @clmsGreen;
|
|
41
41
|
font-size: 1.125rem;
|
|
42
42
|
font-weight: bold;
|
|
43
43
|
text-decoration: none;
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
width: 100%;
|
|
62
62
|
padding: 0;
|
|
63
63
|
margin-bottom: 1rem;
|
|
64
|
-
background-color:
|
|
64
|
+
background-color: fade(@clmsGreen, 5%);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
.card-file {
|
|
@@ -70,13 +70,13 @@
|
|
|
70
70
|
width: 100%;
|
|
71
71
|
padding: 1.5rem;
|
|
72
72
|
margin-bottom: 1rem;
|
|
73
|
-
background-color:
|
|
73
|
+
background-color: fade(@clmsGreen, 5%);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
.card-file .card-icon i {
|
|
77
77
|
width: auto;
|
|
78
78
|
margin-right: 1rem;
|
|
79
|
-
color:
|
|
79
|
+
color: @clmsGreen;
|
|
80
80
|
font-size: 3rem;
|
|
81
81
|
line-height: 1;
|
|
82
82
|
vertical-align: middle;
|
|
@@ -102,7 +102,7 @@
|
|
|
102
102
|
.card-line-color .card-image {
|
|
103
103
|
width: 12rem;
|
|
104
104
|
height: 12rem;
|
|
105
|
-
border: solid 1px
|
|
105
|
+
border: solid 1px fade(@clmsGreen, 20%);
|
|
106
106
|
margin: 0;
|
|
107
107
|
}
|
|
108
108
|
|
|
@@ -140,12 +140,12 @@
|
|
|
140
140
|
flex-direction: column;
|
|
141
141
|
flex-wrap: nowrap;
|
|
142
142
|
margin-bottom: 1rem;
|
|
143
|
-
background-color:
|
|
143
|
+
background-color: fade(@clmsGreen, 5%);
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
.card-block .card-block-image {
|
|
147
147
|
height: 12rem;
|
|
148
|
-
border: solid 1px
|
|
148
|
+
border: solid 1px fade(@clmsGreen, 20%);
|
|
149
149
|
}
|
|
150
150
|
|
|
151
151
|
.card-block img {
|
|
@@ -184,12 +184,12 @@
|
|
|
184
184
|
flex-direction: column;
|
|
185
185
|
flex-wrap: nowrap;
|
|
186
186
|
margin-bottom: 1rem;
|
|
187
|
-
background-color:
|
|
187
|
+
background-color: fade(@clmsGreen, 5%);
|
|
188
188
|
}
|
|
189
189
|
|
|
190
190
|
.card-threeColumns .card-threeColumns-image {
|
|
191
191
|
height: 12rem;
|
|
192
|
-
border: solid 1px
|
|
192
|
+
border: solid 1px fade(@clmsGreen, 20%);
|
|
193
193
|
}
|
|
194
194
|
|
|
195
195
|
.card-threeColumns img {
|
|
@@ -234,7 +234,7 @@
|
|
|
234
234
|
|
|
235
235
|
.card-news:not(:last-of-type) {
|
|
236
236
|
padding-bottom: 1rem;
|
|
237
|
-
border-bottom: solid 1px
|
|
237
|
+
border-bottom: solid 1px fade(@clmsGreen, 20%);
|
|
238
238
|
margin-bottom: 1rem;
|
|
239
239
|
}
|
|
240
240
|
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
width: 10rem;
|
|
243
243
|
height: 10rem;
|
|
244
244
|
flex-shrink: 0;
|
|
245
|
-
border: solid 1px
|
|
245
|
+
border: solid 1px fade(@clmsGreen, 20%);
|
|
246
246
|
margin-right: 1.5rem;
|
|
247
247
|
}
|
|
248
248
|
|
|
@@ -300,7 +300,7 @@
|
|
|
300
300
|
|
|
301
301
|
.card-event:not(:last-of-type) {
|
|
302
302
|
padding-bottom: 1rem;
|
|
303
|
-
border-bottom: solid 1px
|
|
303
|
+
border-bottom: solid 1px fade(@clmsGreen, 20%);
|
|
304
304
|
margin-bottom: 1rem;
|
|
305
305
|
}
|
|
306
306
|
|
|
@@ -308,7 +308,7 @@
|
|
|
308
308
|
width: 10rem;
|
|
309
309
|
height: 10rem;
|
|
310
310
|
flex-shrink: 0;
|
|
311
|
-
border: solid 1px
|
|
311
|
+
border: solid 1px fade(@clmsGreen, 20%);
|
|
312
312
|
margin-right: 1.5rem;
|
|
313
313
|
}
|
|
314
314
|
|
|
@@ -374,7 +374,7 @@
|
|
|
374
374
|
.card-event-when-title,
|
|
375
375
|
.card-event-where-title {
|
|
376
376
|
margin-bottom: 0.5em;
|
|
377
|
-
color:
|
|
377
|
+
color: @clmsGreen;
|
|
378
378
|
font-weight: bold;
|
|
379
379
|
}
|
|
380
380
|
|
|
@@ -394,7 +394,7 @@
|
|
|
394
394
|
}
|
|
395
395
|
|
|
396
396
|
.card-doc:not(:last-of-type) {
|
|
397
|
-
border-bottom: solid 1px
|
|
397
|
+
border-bottom: solid 1px fade(@clmsGreen, 20%);
|
|
398
398
|
}
|
|
399
399
|
|
|
400
400
|
.card-doc-header {
|
|
@@ -404,7 +404,7 @@
|
|
|
404
404
|
|
|
405
405
|
.card-doc-title {
|
|
406
406
|
margin-bottom: 1rem;
|
|
407
|
-
color:
|
|
407
|
+
color: @clmsGreen;
|
|
408
408
|
font-size: 1.125rem;
|
|
409
409
|
font-weight: bold;
|
|
410
410
|
}
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
/* Work opportunities */
|
|
420
420
|
.card-work {
|
|
421
421
|
padding: 2rem;
|
|
422
|
-
background:
|
|
422
|
+
background: fade(@clmsGreen, 5%);
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
.card-work:not(:last-of-type) {
|