@eeacms/volto-eea-design-system 0.4.3 → 0.4.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 +44 -0
- package/package.json +1 -1
- package/src/semantic.less +0 -4
- package/src/ui/Divider/Divider.stories.jsx +170 -0
- package/src/ui/Footer/Contact.jsx +6 -4
- package/src/ui/Footer/FooterHeader.jsx +2 -2
- package/src/ui/Footer/FooterSites.jsx +1 -1
- package/src/ui/Footer/Social.jsx +2 -2
- package/src/ui/Footer/SubFooter.jsx +53 -0
- package/src/ui/Quote/Testimonial/Testimonial.jsx +3 -4
- package/storybook-static/favicon.ico +0 -0
- package/theme/theme.config +0 -1
- package/theme/themes/eea/assets/logo/EionetFull.svg +10 -0
- package/theme/themes/eea/assets/logo/climate-health.svg +53 -0
- package/theme/themes/eea/assets/logo/eea.svg +9 -0
- package/theme/themes/eea/assets/logo/eionet.svg +10 -0
- package/theme/themes/eea/assets/logo/fise.svg +37 -36
- package/theme/themes/eea/collections/menu.overrides +5 -5
- package/theme/themes/eea/elements/divider.overrides +63 -0
- package/theme/themes/eea/elements/divider.variables +10 -1
- package/theme/themes/eea/extras/footer.less +188 -225
- package/theme/themes/eea/extras/footer.variables +49 -77
- package/theme/themes/eea/modules/tab.overrides +2 -2
- package/theme/themes/eea/tokens/fonts.less +4 -3
- package/theme/themes/eea/views/card.overrides +7 -5
- package/src/ui/Divider/Divider.jsx +0 -7
- package/theme/themes/eea/extras/divider.less +0 -14
- package/theme/themes/eea/extras/divider.variables +0 -9
|
@@ -2,7 +2,13 @@
|
|
|
2
2
|
Footer
|
|
3
3
|
*******************************/
|
|
4
4
|
|
|
5
|
-
@footerBackgroundGrandient
|
|
5
|
+
@footerBackgroundGrandient: linear-gradient(220.4deg, #009591 8.29%, #2E3E4C 56.3%, #212D38 89.06%);
|
|
6
|
+
|
|
7
|
+
/* Titles */
|
|
8
|
+
@footerTitleFontWeight : @font-weight-7;
|
|
9
|
+
@mobileFooterTitleFontSize : @font-size-3;
|
|
10
|
+
@tabletFooterTitleFontSize : @font-size-4;
|
|
11
|
+
@computerFooterTitleFontSize: @font-size-6;
|
|
6
12
|
|
|
7
13
|
/* Wrapper */
|
|
8
14
|
@wrapperBackgroundImage : url(../assets/images/Footer/Extras/footervisual.svg);
|
|
@@ -10,100 +16,66 @@
|
|
|
10
16
|
@mobileWrapperBackgroundSize : cover;
|
|
11
17
|
@computerWrapperBackgroundSize : 100% 100%;
|
|
12
18
|
@wrapperWidth : 100%;
|
|
13
|
-
@mobileWrapperPadding :
|
|
14
|
-
@
|
|
19
|
+
@mobileWrapperPadding : @space-9 0 @space-6;
|
|
20
|
+
@tabletWrapperPadding : @space-13 0 @space-8;
|
|
21
|
+
@computerWrapperPadding : @space-20 0 @space-18;
|
|
15
22
|
|
|
16
23
|
/* Theme Sites */
|
|
17
|
-
@mobileThemeSitesPadding : 0;
|
|
18
|
-
@computerThemeSitesPadding :
|
|
19
|
-
|
|
20
|
-
/* Theme Sites Header */
|
|
21
|
-
@headerFontWeight : @bold;
|
|
22
|
-
@mobileHeaderMarginBottom : 1.25rem;
|
|
23
|
-
@tabletHeaderMarginBottom : 2.5rem;
|
|
24
|
-
@computerHeaderMarginBottom : 3.75rem;
|
|
25
|
-
@mobileHeaderFontSize : 0.688rem;
|
|
26
|
-
@tabletHeaderFontSize : 1.25rem;
|
|
27
|
-
@computerHeaderFontSize : 2.25rem;
|
|
24
|
+
@mobileThemeSitesPadding : @space-2 0 @space-8;
|
|
25
|
+
@computerThemeSitesPadding : @space-4 0 @space-8;
|
|
28
26
|
|
|
29
27
|
/* Subfooter with logo and contact info */
|
|
30
|
-
@mobileItemMarginTop :
|
|
31
|
-
@tabletItemMarginTop :
|
|
32
|
-
@computerItemMarginTop :
|
|
28
|
+
@mobileItemMarginTop : @space-4;
|
|
29
|
+
@tabletItemMarginTop : @space-8;
|
|
30
|
+
@computerItemMarginTop : @space-18;
|
|
33
31
|
|
|
34
32
|
/* Subfooter Item Header */
|
|
35
|
-
@
|
|
36
|
-
@
|
|
37
|
-
@
|
|
38
|
-
@tabletItemHeaderMarginBottom : 0.938rem;
|
|
39
|
-
@tabletItemHeaderFontSize : 1.375rem;
|
|
40
|
-
@computerItemHeaderMarginBottom : 1.563rem;
|
|
41
|
-
@computerItemHeaderFontSize : 2.25rem;
|
|
33
|
+
@mobileItemHeaderMarginBottom : @space-5;
|
|
34
|
+
@computerItemHeaderMarginBottom : @space-12;
|
|
35
|
+
@computerLogoHeaderMarginLeft : -50px;
|
|
42
36
|
|
|
43
37
|
/* Site Logo */
|
|
44
|
-
@tabletSiteLogoWidth :
|
|
45
|
-
@computerSiteLogoWidth :
|
|
38
|
+
@tabletSiteLogoWidth : 200px;
|
|
39
|
+
@computerSiteLogoWidth : 250px;
|
|
46
40
|
@tabletSiteLogoDisplay : inline-block;
|
|
47
41
|
|
|
48
|
-
/* Site Logo Description */
|
|
49
|
-
@mobileDescriptionMargin : 5px 0 0 10px;
|
|
50
|
-
@computerDescriptionMargin : 5px 0 0 25px;
|
|
51
|
-
@mobileDescriptionFontSize : 0.5rem;
|
|
52
|
-
@tabletDescriptionFontSize : 1rem;
|
|
53
|
-
@mobileDescriptionLineHeight : 0.563rem;
|
|
54
|
-
@tabletDescriptionLineHeight : 1.188rem;
|
|
55
|
-
|
|
56
42
|
/* EIONET Logo */
|
|
57
|
-
@
|
|
58
|
-
@
|
|
59
|
-
|
|
60
|
-
@mobileEionetLogoWidth : 37px;
|
|
61
|
-
@tabletEionetLogoWidth : 65px;
|
|
62
|
-
@computerEionetLogoWidth : 80px;
|
|
63
|
-
@mobileEionetLogoMarginLeft : 0.75rem;
|
|
64
|
-
@tabletEionetLogoMarginLeft : 0.625rem;
|
|
65
|
-
@computerEionetLogoMarginLeft : 1.563rem;
|
|
66
|
-
@mobileEionetLogoMarginRight : 0.5rem;
|
|
67
|
-
@computerEionetLogoMarginRight : 1.25rem;
|
|
68
|
-
|
|
69
|
-
/* eIONET Logo Description */
|
|
70
|
-
@eionetDescriptionFontWeight : @bold;
|
|
71
|
-
@mobileEionetDescriptionPaddingTop : 0.125rem;
|
|
72
|
-
@tabletEionetDescriptionPaddingTop : 0.313rem;
|
|
73
|
-
@mobileEionetDescriptionFontSize : 0.5rem;
|
|
74
|
-
@tabetEionetDescriptionFontSize : 1rem;
|
|
75
|
-
@computerEionetDescriptionFontSize : 1.063rem;
|
|
76
|
-
@mobileEionetDescriptionLineHeight : 0.625rem;
|
|
77
|
-
@tabletEionetDescriptionLineHeight : 1.5rem;
|
|
78
|
-
@computerEionetDescriptionLineHeight : 1.8rem;
|
|
43
|
+
@tabletEionetLogoWidth : 225px;
|
|
44
|
+
@computerEionetLogoWidth : 260px;
|
|
45
|
+
@tabletEionetLogoMarginLeft : @space-3;
|
|
79
46
|
|
|
80
47
|
/* Contact Info */
|
|
81
|
-
@
|
|
82
|
-
@
|
|
83
|
-
@
|
|
84
|
-
@
|
|
85
|
-
@
|
|
86
|
-
@
|
|
87
|
-
@
|
|
88
|
-
@
|
|
89
|
-
@
|
|
48
|
+
@mobileContactBlockMarginInline : 10%;
|
|
49
|
+
@tabletContactBlockMarginInline : 0;
|
|
50
|
+
@tabletContactBlockMarginbottom : @space-4;
|
|
51
|
+
@mobileContactMargin : @space-4 0;
|
|
52
|
+
@computerContactMargin : @space-5 0;
|
|
53
|
+
@mobileContactFontSize : @font-size-1;
|
|
54
|
+
@computerContactFontSize : @font-size-2;
|
|
55
|
+
@mobileContactIconMarginRight : @space-3;
|
|
56
|
+
@mobileContactIconFontSize : @font-size-4;
|
|
57
|
+
@computerContactIconFontSize : @font-size-5;
|
|
90
58
|
|
|
91
59
|
/* Address */
|
|
92
|
-
@
|
|
93
|
-
@tabletAddressFontSize : 0.875rem;
|
|
60
|
+
@addressFontSize : @font-size-0;
|
|
94
61
|
|
|
95
62
|
/* Social Icons */
|
|
96
63
|
@socialIconColor : @white;
|
|
97
|
-
@
|
|
98
|
-
@
|
|
99
|
-
@
|
|
64
|
+
@mobileSocialJustifyContent : space-around;
|
|
65
|
+
@tabletSocialJustifyContent : start;
|
|
66
|
+
@tabletSocialGap : @space-1;
|
|
67
|
+
@mobileSocialIconSize : @font-size-5;
|
|
68
|
+
@tabletSocialIconSize : @font-size-4;
|
|
69
|
+
@computerSocialIconSize : @font-size-5;
|
|
100
70
|
|
|
101
71
|
/* Footer Menu */
|
|
102
|
-
@mobileMenuMargin :
|
|
103
|
-
@tabletMenuMargin :
|
|
104
|
-
@
|
|
72
|
+
@mobileMenuMargin : @space-8 auto 0;
|
|
73
|
+
@tabletMenuMargin : @space-13 auto 0;
|
|
74
|
+
@computerMenuMargin : @space-20 auto 0;
|
|
75
|
+
@mobileMenuWidth : 100%;
|
|
76
|
+
@tabletMenuWidth : 350px;
|
|
77
|
+
@computerMenuWidth : 500px;
|
|
105
78
|
@menuLinkColor : @white;
|
|
106
|
-
@menuFontWeight :
|
|
107
|
-
@mobileMenuFontSize : 0
|
|
108
|
-
@
|
|
109
|
-
@computerMenuFontSize : 1rem;
|
|
79
|
+
@menuFontWeight : @font-weight-3;
|
|
80
|
+
@mobileMenuFontSize : @font-size-0;
|
|
81
|
+
@computerMenuFontSize : @font-size-1;
|
|
@@ -29,9 +29,10 @@
|
|
|
29
29
|
@font-size-3: 1.25rem;
|
|
30
30
|
@font-size-4: 1.5rem;
|
|
31
31
|
@font-size-5: 2rem;
|
|
32
|
-
@font-size-6: 2.
|
|
33
|
-
@font-size-7:
|
|
34
|
-
@font-size-8:
|
|
32
|
+
@font-size-6: 2.25rem;
|
|
33
|
+
@font-size-7: 2.5rem;
|
|
34
|
+
@font-size-8: 3rem;
|
|
35
|
+
@font-size-9: 3.5rem;
|
|
35
36
|
@font-size-fluid-0: clamp(.75rem, 2vw, 1rem);
|
|
36
37
|
@font-size-fluid-1: clamp(1rem, 4vw, 1.5rem);
|
|
37
38
|
@font-size-fluid-2: clamp(1.5rem, 6vw, 2.5rem);
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
.slick-list {
|
|
323
323
|
margin: 0 -0.75em !important;
|
|
324
324
|
}
|
|
325
|
-
|
|
325
|
+
|
|
326
326
|
.slick-track {
|
|
327
327
|
display: flex;
|
|
328
328
|
}
|
|
@@ -337,7 +337,6 @@
|
|
|
337
337
|
> div {
|
|
338
338
|
height: 100%;
|
|
339
339
|
}
|
|
340
|
-
|
|
341
340
|
}
|
|
342
341
|
|
|
343
342
|
.slider-arrow {
|
|
@@ -363,6 +362,11 @@
|
|
|
363
362
|
left: auto;
|
|
364
363
|
}
|
|
365
364
|
|
|
365
|
+
.slick-dots {
|
|
366
|
+
position: relative;
|
|
367
|
+
bottom: unset;
|
|
368
|
+
}
|
|
369
|
+
|
|
366
370
|
.slick-dots li button:before {
|
|
367
371
|
background-color: @carouselDotsBackgroundColor;
|
|
368
372
|
color: transparent;
|
|
@@ -376,10 +380,8 @@
|
|
|
376
380
|
.slick-dots li.slick-active button:before {
|
|
377
381
|
background-color: @carouselDotsActiveBackgroundColor;
|
|
378
382
|
color: transparent;
|
|
379
|
-
|
|
380
|
-
}
|
|
381
383
|
|
|
382
|
-
|
|
384
|
+
}
|
|
383
385
|
}
|
|
384
386
|
|
|
385
387
|
|