@eeacms/volto-eea-design-system 1.0.0-beta.3 → 1.0.0-beta.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 +48 -0
- package/package.json +2 -1
- package/src/helpers/index.js +1 -0
- package/src/helpers/useOnScreen.js +32 -0
- package/src/ui/Footer/Description.jsx +23 -0
- package/src/ui/Footer/Footer.jsx +10 -1
- package/src/ui/Footer/Footer.stories.js +1 -0
- package/src/ui/Footer/FooterSites.jsx +8 -2
- package/src/ui/Footer/SubFooter.jsx +9 -2
- package/src/ui/Header/Header.jsx +6 -2
- package/theme/theme.config +1 -0
- package/theme/themes/eea/extras/footer.less +56 -22
- package/theme/themes/eea/extras/footer.variables +9 -0
- package/theme/themes/eea/extras/header.less +7 -5
- package/theme/themes/eea/globals/utilities.less +13 -0
- package/theme/themes/eea/views/card.overrides +9 -6
- package/theme/themes/eea/views/card.variables +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,54 @@ 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.0-beta.5](https://github.com/eea/volto-eea-design-system/compare/1.0.0-beta.4...1.0.0-beta.5) - 7 March 2023
|
|
8
|
+
|
|
9
|
+
#### :nail_care: Enhancements
|
|
10
|
+
|
|
11
|
+
- change(footer): removed min width and height from links [David Ichim - [`ac33219`](https://github.com/eea/volto-eea-design-system/commit/ac33219fb77f23bb5148355551a7aad9f453d2e7)]
|
|
12
|
+
- change(carousel): tweak size of carousel dots for better touch interaction [David Ichim - [`e1fb823`](https://github.com/eea/volto-eea-design-system/commit/e1fb8230806de2e157a9a5ea87e63765769565b4)]
|
|
13
|
+
|
|
14
|
+
#### :house: Internal changes
|
|
15
|
+
|
|
16
|
+
- style(hiddenStructure): Add hiddenStructure utility to be used with h1 heading on frontpage - refs #158717 [Alin Voinea - [`672cca2`](https://github.com/eea/volto-eea-design-system/commit/672cca2401003f56e5ea104f18103ea090e38fd7)]
|
|
17
|
+
|
|
18
|
+
#### :hammer_and_wrench: Others
|
|
19
|
+
|
|
20
|
+
- Release 1.0.0-beta.5 [Alin Voinea - [`e4417e1`](https://github.com/eea/volto-eea-design-system/commit/e4417e121477511c350ae3fbe4e70aadb445ed86)]
|
|
21
|
+
- better useOnScreen hook [Andrei Grigore - [`c214b6b`](https://github.com/eea/volto-eea-design-system/commit/c214b6b76443f81c795ce2f3aa457562ec088b30)]
|
|
22
|
+
- feature(mobile): increased performance by lazy loading footer images #303 from eea/increase_performance [ichim-david - [`80d1df1`](https://github.com/eea/volto-eea-design-system/commit/80d1df1c459680331d486f9e8e6a95c9db0adbf6)]
|
|
23
|
+
- prettier [David Ichim - [`a7f8384`](https://github.com/eea/volto-eea-design-system/commit/a7f838470c1bcc4e2be115d514d92a1b686a5e9b)]
|
|
24
|
+
- fixed less build failure due to changes in footer.less [David Ichim - [`190bc8c`](https://github.com/eea/volto-eea-design-system/commit/190bc8cfa88191b45808f1e27c6e2737ee3d15b1)]
|
|
25
|
+
- useOnScreen default export [andreiggr - [`3e6cfdd`](https://github.com/eea/volto-eea-design-system/commit/3e6cfdd4dcb814aad328f97be7af41af071ccba6)]
|
|
26
|
+
- lazyload bg img on footer also [andreiggr - [`ae07162`](https://github.com/eea/volto-eea-design-system/commit/ae07162ba1b27bff58fed70eaabc28c78c5f45a3)]
|
|
27
|
+
- lazyload footer images [andreiggr - [`a0633c9`](https://github.com/eea/volto-eea-design-system/commit/a0633c9ec4ccfb63a48eb4e4c4a63c90daac1a37)]
|
|
28
|
+
- use aria-labels on dropdown [andreiggr - [`27e1443`](https://github.com/eea/volto-eea-design-system/commit/27e144315416ceace0f01def03b5b24640f5c7da)]
|
|
29
|
+
- role change for accessibility [andreiggr - [`5e758e0`](https://github.com/eea/volto-eea-design-system/commit/5e758e0a7fa8c56ba688d0a43de5890686f14ea3)]
|
|
30
|
+
- minimum tap dimension for mobile [andreiggr - [`a25e9a8`](https://github.com/eea/volto-eea-design-system/commit/a25e9a8ba8a8a0f24d287ed7513e549ae2caab0f)]
|
|
31
|
+
- Increase performance - mobile friendly [dana-cfc4 - [`07d86c8`](https://github.com/eea/volto-eea-design-system/commit/07d86c8e77568f91d50b3a45248de9427140a295)]
|
|
32
|
+
### [1.0.0-beta.4](https://github.com/eea/volto-eea-design-system/compare/1.0.0-beta.3...1.0.0-beta.4) - 1 March 2023
|
|
33
|
+
|
|
34
|
+
#### :rocket: New Features
|
|
35
|
+
|
|
36
|
+
- feat(footer): Add footer description #306 from eea/footer-description [ichim-david - [`bf655d1`](https://github.com/eea/volto-eea-design-system/commit/bf655d133dd75b217c34b3d4303ad450a59f2c51)]
|
|
37
|
+
- feat(footer): Add footer description [kreafox - [`2ad0f71`](https://github.com/eea/volto-eea-design-system/commit/2ad0f714556c5b8c2fd95a2caea5c3a1e82c75d1)]
|
|
38
|
+
|
|
39
|
+
#### :bug: Bug Fixes
|
|
40
|
+
|
|
41
|
+
- fix(footer): Add class for children [kreafox - [`3c50d15`](https://github.com/eea/volto-eea-design-system/commit/3c50d15cd6ed46d78ef10d48fd851ed7c4b5ddea)]
|
|
42
|
+
- fix(footer): Don't show empty row if description is not present [kreafox - [`2ca7f7d`](https://github.com/eea/volto-eea-design-system/commit/2ca7f7d3247668ae8583b8cd629856aac82eb07d)]
|
|
43
|
+
- fix(search): Fix search links color #307 from eea/search-accessibility [ichim-david - [`a76f48b`](https://github.com/eea/volto-eea-design-system/commit/a76f48bab3a7d3f6b748eaa85b33266401372e40)]
|
|
44
|
+
- fix(search): Fix search links color [kreafox - [`69c42ef`](https://github.com/eea/volto-eea-design-system/commit/69c42effc5bdc3d31f18de74d77a3b7cc0018dc5)]
|
|
45
|
+
|
|
46
|
+
#### :nail_care: Enhancements
|
|
47
|
+
|
|
48
|
+
- change(carousel): tweak card width and padding for better arrow alignment [David Ichim - [`e184f70`](https://github.com/eea/volto-eea-design-system/commit/e184f70062d622e1ec53e8e1e2b012c080e62d77)]
|
|
49
|
+
- change(storybook): include footer description in storybook [kreafox - [`e904aa0`](https://github.com/eea/volto-eea-design-system/commit/e904aa0850e101d736e8d045e822d9a58b75ff6a)]
|
|
50
|
+
|
|
51
|
+
#### :hammer_and_wrench: Others
|
|
52
|
+
|
|
53
|
+
- Release 1.0.0-beta.4 [Alin Voinea - [`8c335c5`](https://github.com/eea/volto-eea-design-system/commit/8c335c56c5a2a76ea87f9da318055770f904e649)]
|
|
54
|
+
- Back to dev [Alin Voinea - [`38b0333`](https://github.com/eea/volto-eea-design-system/commit/38b03333066416915b056f8ac45da4de87ed7184)]
|
|
7
55
|
### [1.0.0-beta.3](https://github.com/eea/volto-eea-design-system/compare/1.0.0-beta.2...1.0.0-beta.3) - 21 February 2023
|
|
8
56
|
|
|
9
57
|
#### :rocket: New Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-eea-design-system",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.5",
|
|
4
4
|
"description": "@eeacms/volto-eea-design-system: Volto add-on",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"author": "European Environment Agency: IDM2 A-Team",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@eeacms/volto-corsproxy": "*",
|
|
24
24
|
"react-countup": "^6.3.0",
|
|
25
|
+
"react-lazy-load-image-component": "1.5.6",
|
|
25
26
|
"react-slick": "^0.28.1",
|
|
26
27
|
"remixicon": "2.5.0",
|
|
27
28
|
"slick-carousel": "^1.8.1"
|
package/src/helpers/index.js
CHANGED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
|
|
2
|
+
/* eslint-disable react-hooks/exhaustive-deps */
|
|
3
|
+
import React from 'react';
|
|
4
|
+
|
|
5
|
+
function useOnScreen(ref, rootMargin = '0px') {
|
|
6
|
+
const [isIntersecting, setIntersecting] = React.useState(false);
|
|
7
|
+
|
|
8
|
+
React.useEffect(() => {
|
|
9
|
+
const observer = new IntersectionObserver(
|
|
10
|
+
([entry]) => {
|
|
11
|
+
setIntersecting(entry.isIntersecting);
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
rootMargin,
|
|
15
|
+
threshold: 0,
|
|
16
|
+
root: null,
|
|
17
|
+
},
|
|
18
|
+
);
|
|
19
|
+
if (ref?.current) {
|
|
20
|
+
observer.observe(ref.current);
|
|
21
|
+
}
|
|
22
|
+
return () => {
|
|
23
|
+
if (ref?.current) {
|
|
24
|
+
observer.unobserve(ref.current);
|
|
25
|
+
}
|
|
26
|
+
observer.disconnect();
|
|
27
|
+
};
|
|
28
|
+
}, [ref, rootMargin]);
|
|
29
|
+
return isIntersecting;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default useOnScreen;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import { Grid } from 'semantic-ui-react';
|
|
4
|
+
|
|
5
|
+
const Description = (props) => {
|
|
6
|
+
if (props.children) {
|
|
7
|
+
return <div className="footer-description">{props.children}</div>;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
return props.description ? (
|
|
11
|
+
<Grid.Row>
|
|
12
|
+
<div className="footer-description">
|
|
13
|
+
<p>{props.description}</p>
|
|
14
|
+
</div>
|
|
15
|
+
</Grid.Row>
|
|
16
|
+
) : null;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
Description.propTypes = {
|
|
20
|
+
description: PropTypes.string,
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export default Description;
|
package/src/ui/Footer/Footer.jsx
CHANGED
|
@@ -12,6 +12,8 @@ import FooterHeader from '@eeacms/volto-eea-design-system/ui/Footer/FooterHeader
|
|
|
12
12
|
import SubFooter from '@eeacms/volto-eea-design-system/ui/Footer/SubFooter';
|
|
13
13
|
import Social from '@eeacms/volto-eea-design-system/ui/Footer/Social';
|
|
14
14
|
import Contact from '@eeacms/volto-eea-design-system/ui/Footer/Contact';
|
|
15
|
+
import useOnScreen from '../../helpers/useOnScreen';
|
|
16
|
+
import Description from '@eeacms/volto-eea-design-system/ui/Footer/Description';
|
|
15
17
|
|
|
16
18
|
/**
|
|
17
19
|
* Component to display the footer.
|
|
@@ -22,9 +24,15 @@ import Contact from '@eeacms/volto-eea-design-system/ui/Footer/Contact';
|
|
|
22
24
|
|
|
23
25
|
const Footer = (props) => {
|
|
24
26
|
const { children } = props;
|
|
27
|
+
|
|
28
|
+
const bgImgRef = React.useRef();
|
|
29
|
+
const onScreen = useOnScreen(bgImgRef);
|
|
25
30
|
return (
|
|
26
31
|
<footer id={'footer'}>
|
|
27
|
-
<div
|
|
32
|
+
<div
|
|
33
|
+
ref={bgImgRef}
|
|
34
|
+
className={onScreen ? 'footer-wrapper' : 'footer-wrapper-nobg'}
|
|
35
|
+
>
|
|
28
36
|
<Container>{children}</Container>
|
|
29
37
|
</div>
|
|
30
38
|
</footer>
|
|
@@ -37,6 +45,7 @@ Footer.Header = FooterHeader;
|
|
|
37
45
|
Footer.Sites = FooterSites;
|
|
38
46
|
Footer.Social = Social;
|
|
39
47
|
Footer.SubFooter = SubFooter;
|
|
48
|
+
Footer.Description = Description;
|
|
40
49
|
|
|
41
50
|
/**
|
|
42
51
|
* Property types.
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Grid, Image } from 'semantic-ui-react';
|
|
3
|
+
import { LazyLoadComponent } from 'react-lazy-load-image-component';
|
|
4
|
+
|
|
3
5
|
import PropTypes from 'prop-types';
|
|
4
6
|
|
|
5
7
|
const Sites = (props) => {
|
|
@@ -11,10 +13,14 @@ const Sites = (props) => {
|
|
|
11
13
|
column.push(
|
|
12
14
|
<Grid.Column className="logo" key={i}>
|
|
13
15
|
<a className="logo" href={item.link}>
|
|
14
|
-
<
|
|
16
|
+
<LazyLoadComponent>
|
|
17
|
+
<Image src={item.src} alt={item.alt}></Image>
|
|
18
|
+
</LazyLoadComponent>
|
|
15
19
|
</a>
|
|
16
20
|
<a className="logo" href={nextItem.link}>
|
|
17
|
-
<
|
|
21
|
+
<LazyLoadComponent>
|
|
22
|
+
<Image src={nextItem.src} alt={nextItem.alt}></Image>
|
|
23
|
+
</LazyLoadComponent>
|
|
18
24
|
</a>
|
|
19
25
|
</Grid.Column>,
|
|
20
26
|
);
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import Footer from './Footer';
|
|
3
3
|
|
|
4
4
|
import { Grid, Image } from 'semantic-ui-react';
|
|
5
|
+
import { LazyLoadComponent } from 'react-lazy-load-image-component';
|
|
5
6
|
|
|
6
7
|
const SubFooter = (props) => {
|
|
7
8
|
if (props.children) {
|
|
@@ -23,7 +24,9 @@ const SubFooter = (props) => {
|
|
|
23
24
|
<div className="item">
|
|
24
25
|
<div className={manager.className}>
|
|
25
26
|
<a href={manager.link}>
|
|
26
|
-
<
|
|
27
|
+
<LazyLoadComponent>
|
|
28
|
+
<Image src={manager.src} alt={manager.alt}></Image>
|
|
29
|
+
</LazyLoadComponent>
|
|
27
30
|
</a>
|
|
28
31
|
</div>
|
|
29
32
|
</div>
|
|
@@ -37,6 +40,8 @@ const SubFooter = (props) => {
|
|
|
37
40
|
</Grid.Column>
|
|
38
41
|
</Grid>
|
|
39
42
|
|
|
43
|
+
<Footer.Description description={props.description} />
|
|
44
|
+
|
|
40
45
|
<Grid.Row>
|
|
41
46
|
<Footer.Social social={props.social} />
|
|
42
47
|
</Grid.Row>
|
|
@@ -53,7 +58,9 @@ const SubFooter = (props) => {
|
|
|
53
58
|
<div className="item">
|
|
54
59
|
<div className={manager.className}>
|
|
55
60
|
<a href={manager.link}>
|
|
56
|
-
<
|
|
61
|
+
<LazyLoadComponent>
|
|
62
|
+
<Image src={manager.src} alt={manager.alt}></Image>
|
|
63
|
+
</LazyLoadComponent>
|
|
57
64
|
</a>
|
|
58
65
|
</div>
|
|
59
66
|
</div>
|
package/src/ui/Header/Header.jsx
CHANGED
|
@@ -62,11 +62,13 @@ const TopDropdownMenu = ({
|
|
|
62
62
|
text={mobileText || text}
|
|
63
63
|
icon={icon || 'chevron down'}
|
|
64
64
|
aria-label="dropdown"
|
|
65
|
+
role="dropdown"
|
|
66
|
+
lazyLoad
|
|
65
67
|
closeOnChange={true}
|
|
66
68
|
closeOnBlur={false}
|
|
67
69
|
closeOnEscape={true}
|
|
68
70
|
>
|
|
69
|
-
<Dropdown.Menu role="
|
|
71
|
+
<Dropdown.Menu role="option">{children}</Dropdown.Menu>
|
|
70
72
|
</Dropdown>
|
|
71
73
|
)
|
|
72
74
|
) : (
|
|
@@ -75,12 +77,14 @@ const TopDropdownMenu = ({
|
|
|
75
77
|
className={className}
|
|
76
78
|
text={mobileText || text}
|
|
77
79
|
icon={icon || 'chevron down'}
|
|
80
|
+
role="dropdown"
|
|
78
81
|
aria-label="dropdown"
|
|
82
|
+
lazyLoad
|
|
79
83
|
closeOnChange={true}
|
|
80
84
|
closeOnBlur={false}
|
|
81
85
|
closeOnEscape={true}
|
|
82
86
|
>
|
|
83
|
-
<Dropdown.Menu role="
|
|
87
|
+
<Dropdown.Menu role="option">{children}</Dropdown.Menu>
|
|
84
88
|
</Dropdown>
|
|
85
89
|
)}
|
|
86
90
|
</>
|
package/theme/theme.config
CHANGED
|
@@ -21,6 +21,10 @@ footer {
|
|
|
21
21
|
background-position: @wrapperBackgroundPosition;
|
|
22
22
|
background-size: @mobileWrapperBackgroundSize;
|
|
23
23
|
}
|
|
24
|
+
.footer-wrapper-nobg {
|
|
25
|
+
width: @wrapperWidth;
|
|
26
|
+
padding: @mobileWrapperPadding;
|
|
27
|
+
}
|
|
24
28
|
}
|
|
25
29
|
|
|
26
30
|
footer .theme-sites {
|
|
@@ -95,6 +99,15 @@ footer .theme-sites {
|
|
|
95
99
|
}
|
|
96
100
|
}
|
|
97
101
|
|
|
102
|
+
.subfooter .footer-description {
|
|
103
|
+
margin: @mobileFooterDescriptionMargin;
|
|
104
|
+
text-align: @footerDescriptionTextAlign;
|
|
105
|
+
|
|
106
|
+
p {
|
|
107
|
+
font-size: @mobileFooterDescriptionFontSize;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
98
111
|
footer .footer-wrapper .menu {
|
|
99
112
|
.actions {
|
|
100
113
|
display: flex;
|
|
@@ -131,10 +144,14 @@ footer .footer-wrapper .menu {
|
|
|
131
144
|
flex-direction: column;
|
|
132
145
|
}
|
|
133
146
|
|
|
134
|
-
|
|
147
|
+
footer .footer-wrapper .menu .copyright a {
|
|
135
148
|
font-size: @mobileMenuCopyrightFontSize;
|
|
136
149
|
font-weight: @mobileMenuCopyrightFontWeight;
|
|
137
150
|
}
|
|
151
|
+
|
|
152
|
+
.contact-block .subcontact {
|
|
153
|
+
margin-top: @mobileSubcontactBlockMarginTop;
|
|
154
|
+
}
|
|
138
155
|
}
|
|
139
156
|
|
|
140
157
|
@media only screen and (min-width: @tabletBreakpoint) {
|
|
@@ -143,7 +160,7 @@ footer .footer-wrapper .menu {
|
|
|
143
160
|
}
|
|
144
161
|
|
|
145
162
|
footer .theme-sites .header {
|
|
146
|
-
font-size: @tabletFooterTitleFontSize
|
|
163
|
+
font-size: @tabletFooterTitleFontSize;
|
|
147
164
|
}
|
|
148
165
|
|
|
149
166
|
.subfooter .item {
|
|
@@ -176,6 +193,10 @@ footer .footer-wrapper .menu {
|
|
|
176
193
|
margin-right: @tabletSubContactIconMarginRight;
|
|
177
194
|
}
|
|
178
195
|
|
|
196
|
+
.subfooter .footer-description {
|
|
197
|
+
margin: @tabletFooterDescriptionMargin;
|
|
198
|
+
}
|
|
199
|
+
|
|
179
200
|
.subfooter .social {
|
|
180
201
|
justify-content: @tabletSocialJustifyContent;
|
|
181
202
|
gap: @tabletSocialGap;
|
|
@@ -187,7 +208,6 @@ footer .footer-wrapper .menu {
|
|
|
187
208
|
}
|
|
188
209
|
}
|
|
189
210
|
}
|
|
190
|
-
|
|
191
211
|
}
|
|
192
212
|
|
|
193
213
|
@media only screen and (min-width: @computerBreakpoint) {
|
|
@@ -208,32 +228,46 @@ footer .footer-wrapper .menu {
|
|
|
208
228
|
|
|
209
229
|
.subfooter .logo-header {
|
|
210
230
|
// To match the figma align
|
|
211
|
-
margin-left: @computerLogoHeaderMarginLeft
|
|
212
|
-
}
|
|
231
|
+
margin-left: @computerLogoHeaderMarginLeft;
|
|
213
232
|
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
233
|
+
.subfooter .item {
|
|
234
|
+
.header {
|
|
235
|
+
margin-bottom: @computerItemHeaderMarginBottom;
|
|
236
|
+
}
|
|
218
237
|
|
|
219
|
-
|
|
220
|
-
align-items: center;
|
|
221
|
-
font-size: @contactFontSize;
|
|
222
|
-
gap: @contactGap;
|
|
238
|
+
}
|
|
223
239
|
|
|
224
|
-
|
|
225
|
-
font-size: @
|
|
240
|
+
.contact-block .subcontact a {
|
|
241
|
+
font-size: @computerSubContactIconFontSize;
|
|
242
|
+
margin-right: @computerSubContactIconMarginRight;
|
|
226
243
|
}
|
|
227
|
-
}
|
|
228
244
|
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
245
|
+
.subfooter .contact {
|
|
246
|
+
align-items: center;
|
|
247
|
+
font-size: @contactFontSize;
|
|
248
|
+
gap: @contactGap;
|
|
249
|
+
|
|
250
|
+
i.big.icon {
|
|
251
|
+
font-size: @computerContactIconFontSize;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
232
254
|
|
|
233
|
-
|
|
255
|
+
.subfooter .footer-description {
|
|
256
|
+
margin: @computerFooterDescriptionMargin;
|
|
234
257
|
|
|
235
|
-
|
|
236
|
-
|
|
258
|
+
p {
|
|
259
|
+
font-size: @computerFooterDescriptionFontSize;
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.subfooter .social {
|
|
264
|
+
margin: @computerSocialIconsMargin;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.footer .footer-wrapper .menu {
|
|
268
|
+
a {
|
|
269
|
+
font-size: @computerMenuFontSize;
|
|
270
|
+
}
|
|
237
271
|
}
|
|
238
272
|
}
|
|
239
273
|
}
|
|
@@ -42,6 +42,7 @@
|
|
|
42
42
|
@tabletContactGap : @rem-space-4;
|
|
43
43
|
@contactGap : @rem-space-8;
|
|
44
44
|
@mobileContactIconMarginRight : @space-3;
|
|
45
|
+
@mobileSubcontactBlockMarginTop : @space-3;
|
|
45
46
|
@mobileContactIconFontSize : @font-size-4;
|
|
46
47
|
@computerContactIconFontSize : @font-size-9;
|
|
47
48
|
@tabletSubContactIconFontSize : @font-size-0;
|
|
@@ -50,6 +51,14 @@
|
|
|
50
51
|
@computerSubContactIconMarginRight : @rem-space-4;
|
|
51
52
|
@computerSubContactIconFontWeight : @font-weight-4;
|
|
52
53
|
|
|
54
|
+
/* Description */
|
|
55
|
+
@mobileFooterDescriptionMargin : @rem-space-2 0 @rem-space-8;
|
|
56
|
+
@tabletFooterDescriptionMargin : @rem-space-7 0 0 0;
|
|
57
|
+
@computerFooterDescriptionMargin : @rem-space-17 0 0 0;
|
|
58
|
+
@computerFooterDescriptionFontSize : @font-size-1;
|
|
59
|
+
@mobileFooterDescriptionFontSize : @font-size-0;
|
|
60
|
+
@footerDescriptionTextAlign : center;
|
|
61
|
+
|
|
53
62
|
/* Social Icons */
|
|
54
63
|
@mobileSocialIconsMargin : @rem-space-2 0 @rem-space-8;
|
|
55
64
|
@tabletSocialIconsMargin : @rem-space-7 0;
|
|
@@ -93,8 +93,7 @@
|
|
|
93
93
|
cursor: pointer;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
&:hover .language-link
|
|
97
|
-
{
|
|
96
|
+
&:hover .language-link {
|
|
98
97
|
color: @dropdownMenuItemColorHover;
|
|
99
98
|
}
|
|
100
99
|
}
|
|
@@ -371,7 +370,10 @@
|
|
|
371
370
|
.item {
|
|
372
371
|
padding: 0;
|
|
373
372
|
margin: 0;
|
|
374
|
-
|
|
373
|
+
|
|
374
|
+
a {
|
|
375
|
+
color: @searchBoxSuggestionsTextColor;
|
|
376
|
+
}
|
|
375
377
|
}
|
|
376
378
|
}
|
|
377
379
|
}
|
|
@@ -443,8 +445,8 @@
|
|
|
443
445
|
height: @mobileMainSectionHeight;
|
|
444
446
|
align-items: center;
|
|
445
447
|
justify-content: center;
|
|
446
|
-
background-color: @burgerActionBackgroundColor;
|
|
447
448
|
border: none;
|
|
449
|
+
background-color: @burgerActionBackgroundColor;
|
|
448
450
|
cursor: pointer;
|
|
449
451
|
}
|
|
450
452
|
|
|
@@ -460,8 +462,8 @@
|
|
|
460
462
|
height: @mobileMainSectionHeight;
|
|
461
463
|
align-items: center;
|
|
462
464
|
justify-content: center;
|
|
463
|
-
background-color: @secondaryColor;
|
|
464
465
|
border: none;
|
|
466
|
+
background-color: @secondaryColor;
|
|
465
467
|
cursor: pointer;
|
|
466
468
|
}
|
|
467
469
|
|
|
@@ -99,3 +99,16 @@ h1, h2, h3, h4, h5, h6, p, span, .header {
|
|
|
99
99
|
.fw-light {
|
|
100
100
|
font-weight: @font-weight-3;
|
|
101
101
|
}
|
|
102
|
+
|
|
103
|
+
.hiddenStructure {
|
|
104
|
+
border: 0 !important;
|
|
105
|
+
clip: rect(0 0 0 0) !important;
|
|
106
|
+
clip-path: inset(50%) !important;
|
|
107
|
+
height: 1px !important;
|
|
108
|
+
margin: -1px !important;
|
|
109
|
+
overflow: hidden !important;
|
|
110
|
+
padding: 0 !important;
|
|
111
|
+
position: absolute !important;
|
|
112
|
+
white-space: nowrap !important;
|
|
113
|
+
width: 1px !important;
|
|
114
|
+
}
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
|
|
15
15
|
/* Cards must have same height */
|
|
16
16
|
.ui.card {
|
|
17
|
-
min-width: @minWidth;
|
|
18
17
|
height: 100%;
|
|
19
18
|
text-align: var(--text-align, @cardTextAlign);
|
|
20
19
|
background-color: var(--card-background-color, @background);
|
|
@@ -304,7 +303,6 @@
|
|
|
304
303
|
|
|
305
304
|
.slick-track {
|
|
306
305
|
display: flex;
|
|
307
|
-
gap: @slickTrackGap;
|
|
308
306
|
margin: @slickTrackMargin;
|
|
309
307
|
}
|
|
310
308
|
|
|
@@ -313,6 +311,7 @@
|
|
|
313
311
|
height: auto;
|
|
314
312
|
flex: 1;
|
|
315
313
|
flex-direction: column;
|
|
314
|
+
margin: @slickSlideMargin;
|
|
316
315
|
|
|
317
316
|
> div {
|
|
318
317
|
height: 100%;
|
|
@@ -323,6 +322,7 @@
|
|
|
323
322
|
/* Carousel arrows */
|
|
324
323
|
.cards-carousel .ui.button.icon.slider-arrow {
|
|
325
324
|
padding: @carouselButtonPadding;
|
|
325
|
+
margin: @carouselButtonMargin;
|
|
326
326
|
|
|
327
327
|
.active, &:focus, &:hover {
|
|
328
328
|
background: transparent;
|
|
@@ -370,6 +370,7 @@
|
|
|
370
370
|
position: relative;
|
|
371
371
|
bottom: 0;
|
|
372
372
|
}
|
|
373
|
+
|
|
373
374
|
.cards-carousel .slick-dots li button:before {
|
|
374
375
|
background-color: @carouselDotsBackgroundColor;
|
|
375
376
|
color: transparent;
|
|
@@ -390,11 +391,13 @@
|
|
|
390
391
|
outline-style: auto;
|
|
391
392
|
}
|
|
392
393
|
|
|
393
|
-
@media only screen and (
|
|
394
|
-
.cards-carousel .slick-dots li
|
|
395
|
-
|
|
396
|
-
|
|
394
|
+
@media only screen and (max-width: @tabletBreakpoint) {
|
|
395
|
+
.cards-carousel .slick-dots li,
|
|
396
|
+
.cards-carousel .slick-dots li button {
|
|
397
|
+
width: @mobileCarouselDotsButtonWidth;
|
|
398
|
+
height: @mobileCarouselDotsButtonHeight;
|
|
397
399
|
}
|
|
400
|
+
|
|
398
401
|
}
|
|
399
402
|
|
|
400
403
|
/*******************************
|
|
@@ -22,7 +22,6 @@
|
|
|
22
22
|
@minHeight: 0px;
|
|
23
23
|
@padding: 0em;
|
|
24
24
|
@width: 290px;
|
|
25
|
-
@minWidth: 250px;
|
|
26
25
|
@borderWidth: 1px;
|
|
27
26
|
@borderShadow: 0px 0px 0px @borderWidth @solidBorderColor;
|
|
28
27
|
@boxShadow: @eeaGlobalShadow;
|
|
@@ -333,6 +332,7 @@
|
|
|
333
332
|
|
|
334
333
|
/* Button */
|
|
335
334
|
@carouselButtonPadding: 0;
|
|
335
|
+
@carouselButtonMargin: 0;
|
|
336
336
|
@carouselButtonIconColor: @tertiaryColor;
|
|
337
337
|
@carouselButtonIconFontSize: 3.125rem;
|
|
338
338
|
@carouselButtonIconOpacity: 1;
|
|
@@ -346,13 +346,15 @@
|
|
|
346
346
|
@carouselDotsBorder: 1px solid @darkCerulean;
|
|
347
347
|
@carouselDotsBackgroundColor: @white;
|
|
348
348
|
@carouselDotsActiveBackgroundColor: @darkCerulean;
|
|
349
|
-
@mobileCarouselDotsWidth:
|
|
350
|
-
@mobileCarouselDotsHeight:
|
|
349
|
+
@mobileCarouselDotsWidth: 1.25rem;
|
|
350
|
+
@mobileCarouselDotsHeight: 1.25rem;
|
|
351
|
+
@mobileCarouselDotsButtonWidth: 1.875rem;
|
|
352
|
+
@mobileCarouselDotsButtonHeight: 1.875rem;
|
|
351
353
|
|
|
352
354
|
/* Slick wrapper */
|
|
353
355
|
@slickListMargin: 0 -0.75em;
|
|
354
|
-
@slickTrackGap: 1.25rem;
|
|
355
356
|
@slickTrackMargin: 1rem 0;
|
|
357
|
+
@slickSlideMargin: 0 10px;
|
|
356
358
|
|
|
357
359
|
/*******************************
|
|
358
360
|
Teaser Cards
|