@eeacms/volto-eea-design-system 0.4.2 → 0.4.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.
@@ -2,7 +2,13 @@
2
2
  Footer
3
3
  *******************************/
4
4
 
5
- @footerBackgroundGrandient : linear-gradient(220.4deg, #009591 8.29%, #2E3E4C 56.3%, #212D38 89.06%);
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 : 3rem 0 1rem;
14
- @computerWrapperPadding : 5rem 0 3rem;
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 : 0rem 0 2rem;
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 : 1rem;
31
- @tabletItemMarginTop : 2rem;
32
- @computerItemMarginTop : 4rem;
28
+ @mobileItemMarginTop : @space-4;
29
+ @tabletItemMarginTop : @space-8;
30
+ @computerItemMarginTop : @space-18;
33
31
 
34
32
  /* Subfooter Item Header */
35
- @itemHeaderFontWeight : @bold;
36
- @mobileItemHeaderMarginBottom : 0.625rem;
37
- @mobileItemHeaderFontSize : 0.688rem;
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 : 192px;
45
- @computerSiteLogoWidth : 283px;
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
- @mobileEionetMarginTop: .5rem;
58
- @computerEionetMarginTop: 2rem;
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
- @mobileContactMargin : 0.3rem 0;
82
- @tabletContactMargin : 0.6rem 0;
83
- @computerContactMargin : 1rem 0;
84
- @mobileContactFontSize : 0.563rem;
85
- @tabletContactFontSize : 0.875rem;
86
- @computerContactFontSize : 1rem;
87
- @tabletContactIconMarginRight : 0.938rem;
88
- @tabletContactIconFontSize : 1.375rem;
89
- @computerContactIconFontSize : 1.563rem;
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
- @mobileAdressFontSize : 0.5rem;
93
- @tabletAddressFontSize : 0.875rem;
60
+ @addressFontSize : @font-size-0;
94
61
 
95
62
  /* Social Icons */
96
63
  @socialIconColor : @white;
97
- @mobileSocialIconSize : 0.9rem;
98
- @tabletSocialIconSize : 1.8rem;
99
- @computerSocialIconSize : 2rem;
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 : 1rem auto 0;
103
- @tabletMenuMargin : 2rem auto 0;
104
- @tabletMenuWidth : 500px;
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 : 100;
107
- @mobileMenuFontSize : 0.438rem;
108
- @tabletMenuFontSize : 0.688rem;
109
- @computerMenuFontSize : 1rem;
79
+ @menuFontWeight : @font-weight-3;
80
+ @mobileMenuFontSize : @font-size-0;
81
+ @computerMenuFontSize : @font-size-1;
@@ -81,3 +81,21 @@
81
81
  .ui.styled.accordion .active.title input {
82
82
  color: @styledActiveTitleColor;
83
83
  }
84
+
85
+ /*------------------------------
86
+ Tabs as accordion (Volto)
87
+ --------------------------------*/
88
+
89
+ .ui.menu.RRT__accordion {
90
+ .ui.item {
91
+ background-color: transparent;
92
+ }
93
+
94
+ .ui.item i {
95
+ font-size: @iconFontSize;
96
+
97
+ &::before {
98
+ font-size: @iconFontSize;
99
+ }
100
+ }
101
+ }
@@ -3,11 +3,11 @@
3
3
  *******************************/
4
4
 
5
5
  .ui.pointing.secondary.menu {
6
- a.item {
6
+ .item {
7
7
  font-size: @headerSize;
8
8
  }
9
9
 
10
- a.item:hover {
10
+ .item:hover {
11
11
  color: @tabActiveItemHoverColor;
12
12
  }
13
13
  }
@@ -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.5rem;
33
- @font-size-7: 3rem;
34
- @font-size-8: 3.5rem;
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
 
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
-
3
- function Divider({ ...rest }) {
4
- return <div className="eea divider" {...rest}></div>;
5
- }
6
-
7
- export default Divider;
@@ -1,14 +0,0 @@
1
- @type: 'extra';
2
- @element: 'divider';
3
-
4
- @import (multiple) '../../theme.config';
5
-
6
- /*-------------------
7
- DIVIDER
8
- --------------------*/
9
-
10
- .eea.divider {
11
- width: @dividerWidth;
12
- height: 0px;
13
- border-top: @dividerBorderTop;
14
- }
@@ -1,9 +0,0 @@
1
- /*******************************
2
- Divider
3
- *******************************/
4
-
5
-
6
- @dividerWidth : 100%;
7
- @dividerBorderColor : @darkCyan;
8
- @dividerBorderSize : @1px;
9
- @dividerBorderTop : @dividerBorderSize solid @dividerBorderColor;