@eeacms/volto-eea-design-system 0.4.3 → 0.5.0
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 +129 -0
- package/package.json +1 -1
- package/src/semantic.less +4 -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 +54 -0
- package/src/ui/Header/Header.jsx +64 -34
- package/src/ui/Header/HeaderMenuPopUp.js +215 -54
- package/src/ui/Header/HeaderSearchPopUp.js +4 -4
- package/src/ui/Hero/Hero.jsx +55 -0
- package/src/ui/Hero/Hero.stories.jsx +205 -0
- package/src/ui/Logo/Logo.jsx +2 -3
- package/src/ui/Quote/Testimonial/Testimonial.jsx +3 -4
- package/src/ui/index.js +2 -0
- package/storybook-static/favicon.ico +0 -0
- package/theme/theme.config +0 -1
- package/theme/themes/eea/assets/images/forest.png +0 -0
- 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/definitions/views/item.less +13 -6
- package/theme/themes/eea/elements/container.overrides +1 -2
- package/theme/themes/eea/elements/divider.overrides +63 -0
- package/theme/themes/eea/elements/divider.variables +10 -1
- package/theme/themes/eea/elements/image.overrides +39 -0
- package/theme/themes/eea/elements/input.overrides +21 -8
- package/theme/themes/eea/extras/footer.less +188 -225
- package/theme/themes/eea/extras/footer.variables +49 -77
- package/theme/themes/eea/extras/header.less +473 -511
- package/theme/themes/eea/extras/header.variables +108 -80
- package/theme/themes/eea/extras/hero.less +59 -0
- package/theme/themes/eea/extras/hero.variables +23 -0
- package/theme/themes/eea/globals/site.overrides +5 -16
- package/theme/themes/eea/globals/site.variables +8 -0
- package/theme/themes/eea/globals/utilities.less +2 -2
- package/theme/themes/eea/modules/accordion.overrides +18 -0
- 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/theme/themes/eea/views/item.overrides +18 -3
- 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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
--------------------*/
|
|
4
4
|
|
|
5
5
|
/* Heights */
|
|
6
|
-
@mobileTopSectionHeight :
|
|
6
|
+
@mobileTopSectionHeight : 20px;
|
|
7
7
|
@tabletTopSectionHeight : 30px;
|
|
8
8
|
@computerTopSectionHeight : 33px;
|
|
9
9
|
|
|
@@ -18,87 +18,111 @@
|
|
|
18
18
|
/* Header font sizes */
|
|
19
19
|
@headerMinyFontSize: 0.5rem;
|
|
20
20
|
@headerTinyFontSize: 0.625rem;
|
|
21
|
-
@headerSmallFontSize:
|
|
21
|
+
@headerSmallFontSize: @font-size-00;
|
|
22
22
|
@headerMediumFontSize: 0.875rem;
|
|
23
23
|
@headerLargeFontSize: 1.125rem;
|
|
24
24
|
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
25
|
+
|
|
26
|
+
/*-------------------
|
|
27
|
+
HEADER TOP BAR
|
|
28
|
+
--------------------*/
|
|
29
|
+
|
|
30
|
+
@topSectionBackground : @grey-2;
|
|
31
|
+
@topSectionItemColor : @blue-grey-6;
|
|
28
32
|
@topSectionItemFontWeight : @bold;
|
|
29
|
-
@
|
|
30
|
-
@
|
|
31
|
-
@
|
|
33
|
+
@topSectionItemFontSize : @font-size-00;
|
|
34
|
+
@mobileTopSectionItemFontSize : @font-size-00;
|
|
35
|
+
@tabletTopSectionItemFontSize : @font-size-00;
|
|
36
|
+
@topSectionZindex : @z-index-1;
|
|
32
37
|
|
|
33
38
|
/* Dropdown */
|
|
34
|
-
@mobileDropdownMenuMarginTop : 0
|
|
35
|
-
@tabletDropdownMenuMarginTop : 0.
|
|
36
|
-
@
|
|
39
|
+
@mobileDropdownMenuMarginTop : 0;
|
|
40
|
+
@tabletDropdownMenuMarginTop : 0.4rem;
|
|
41
|
+
@computerDropdownMenuMarginTop : 0.438rem;
|
|
42
|
+
@dropdownColor : @blue-grey-6;
|
|
43
|
+
@dropdownFontSize : @font-size-00;
|
|
37
44
|
@dropdownFontWeight : @bold;
|
|
45
|
+
|
|
38
46
|
/* Dropdown Menu */
|
|
39
47
|
@dropdownMenuLeft : auto;
|
|
40
48
|
@dropdownMenuRight : 0;
|
|
41
|
-
@dropdownMenuWrapperGap :
|
|
42
|
-
@dropdownMenuWrapperMargin :
|
|
49
|
+
@dropdownMenuWrapperGap : @rem-space-1;
|
|
50
|
+
@dropdownMenuWrapperMargin : @rem-space-1 0;
|
|
51
|
+
@dropdownMenuLanguageWrapperPaddingInlineStart : 0;
|
|
43
52
|
@dropdownMenuContentWhiteSpace : pre-wrap;
|
|
44
|
-
@
|
|
45
|
-
@
|
|
46
|
-
@desktopDropdownMenuContentFontSize : @headerSmallFontSize;
|
|
53
|
+
@mobileDropdownMenuContentFontSize : @font-size-00;
|
|
54
|
+
@desktopDropdownMenuContentFontSize : @font-size-00;
|
|
47
55
|
@dropdownMenuItemColorHover : @white;
|
|
48
|
-
@dropdownMenuItemBackgroundColorHover : @
|
|
56
|
+
@dropdownMenuItemBackgroundColorHover : @blue-grey-6;
|
|
57
|
+
@dropdownMenuItemPadding : @rem-space-050 @rem-space-5;
|
|
58
|
+
@mobileDropdownMenuFontSize : @font-size-00;
|
|
59
|
+
@tabletDropdownMenuFontSize : @font-size-0;
|
|
60
|
+
|
|
49
61
|
// Official Union
|
|
50
|
-
@
|
|
51
|
-
@
|
|
52
|
-
@officialUnionTextFontWeight : @normal;
|
|
62
|
+
@mobileOfficialUnionGap : 0;
|
|
63
|
+
@tabletOfficialUnionGap : @rem-space-2;
|
|
53
64
|
@officialUnionLinkFontWeight : @bold;
|
|
54
|
-
@officialUnionLinkColor : @
|
|
55
|
-
@
|
|
56
|
-
@
|
|
57
|
-
@
|
|
58
|
-
@
|
|
59
|
-
|
|
60
|
-
@
|
|
61
|
-
@
|
|
65
|
+
@officialUnionLinkColor : @blue-grey-6;
|
|
66
|
+
@officialUnionPadding : @rem-space-3;
|
|
67
|
+
@mobileOfficialUnionMaxWidth : 108px;
|
|
68
|
+
@tabletOfficialUnionMaxWidth : 388px;
|
|
69
|
+
@mobileOfficialUnionImageWidth : 17px;
|
|
70
|
+
@tabletOfficialUnionImageWidth : 36px;
|
|
71
|
+
@mobileOfficialUnionMenuLeft : -30px;
|
|
72
|
+
@tabletOfficialUnionMenuLeft : -54px;
|
|
62
73
|
|
|
63
74
|
// Theme Sites
|
|
64
|
-
@
|
|
65
|
-
@
|
|
75
|
+
@mobileThemeSitesMenuWidth : 190px;
|
|
76
|
+
@computerThemeSitesMenuWidth : 200px;
|
|
77
|
+
@themeSitesMenuSiteLinkColor : @blue-grey-6;
|
|
66
78
|
@themeSitesMenuSiteLinkFontWeight : @normal;
|
|
67
|
-
@
|
|
79
|
+
@themeSitesMenuLeft : -20px;
|
|
80
|
+
|
|
68
81
|
// Language
|
|
69
|
-
@mobileLanguageFontSize : @headerTinyFontSize;
|
|
70
|
-
@tabletLanguageFontSize : @headerMediumFontSize;
|
|
71
|
-
@mobileLanguageMenuTop : 0.75rem;
|
|
72
82
|
@tabletLanguageMenuTop : 18px;
|
|
73
|
-
@languageMenuPadding :
|
|
83
|
+
@languageMenuPadding : @rem-space-050 @rem-space-5;
|
|
74
84
|
@languageMenuItemFontWeight : @normal;
|
|
75
85
|
@mobileLanguageCountryCodeMarginLeft : 3px;
|
|
76
86
|
@mobileLanguageCountryCodeFontWeight : @bold;
|
|
77
87
|
|
|
88
|
+
/*-----------------------
|
|
89
|
+
HEADER MAIN SECTION
|
|
90
|
+
-----------------------*/
|
|
91
|
+
|
|
78
92
|
/* Main Section */
|
|
79
93
|
@headerMainSectionBackground : @white;
|
|
94
|
+
@headerMainSectionTransparency : rgba(255, 255, 255, 0.1);
|
|
80
95
|
|
|
81
96
|
/* Logo */
|
|
82
97
|
@logoWidth : 100%;
|
|
83
98
|
@mobileLogoMaxWidth : 122px;
|
|
84
99
|
@tabletLogoMaxWidth : 252px;
|
|
85
100
|
@computerLogoMaxWidth : 348px;
|
|
86
|
-
@mobileLogoMarginTop :
|
|
87
|
-
@tabletLogoMarginTop :
|
|
88
|
-
@computerLogoMarginTop :
|
|
101
|
+
@mobileLogoMarginTop : @rem-space-2;
|
|
102
|
+
@tabletLogoMarginTop : @rem-space-3-5;
|
|
103
|
+
@computerLogoMarginTop : @rem-space-5;
|
|
89
104
|
|
|
90
105
|
/* Main menu */
|
|
91
|
-
@mainMenuItemColor : @
|
|
106
|
+
@mainMenuItemColor : @primaryColor;
|
|
107
|
+
@mainMenuItemInvertedColor : @white;
|
|
92
108
|
@mainMenuItemFontSize : ~"min(max(0.875rem, 1.5vw), 1.125rem)";
|
|
93
|
-
@mainMenuItemFontWeight :
|
|
94
|
-
@
|
|
109
|
+
@mainMenuItemFontWeight : @font-weight-5;
|
|
110
|
+
@mainMenuItemPadding : @rem-space-050 @rem-space-2;
|
|
95
111
|
@mainMenuItemActiveColor : @secondaryColor;
|
|
96
|
-
@
|
|
112
|
+
@mainMenuItemBorder : 4px solid transparent;
|
|
113
|
+
@mainMenuItemActiveBorder : 4px solid @secondaryColor;
|
|
114
|
+
@mainMenuInvertedItemActiveBorder : 4px solid @white;
|
|
115
|
+
@mainMenuItemAlignSelf : flex-end;
|
|
116
|
+
|
|
117
|
+
/*-----------------
|
|
118
|
+
HEADER ACTIONS
|
|
119
|
+
------------------*/
|
|
97
120
|
|
|
98
121
|
/* Actions (Mega menu & Search) */
|
|
99
122
|
@mobileActionsBoxWidth: 30px;
|
|
100
123
|
@tabletActionsBoxWidth: 66px;
|
|
101
124
|
@computerActionsBoxWidth: 72px;
|
|
125
|
+
@burgerActionBackgroundColor: @darkMidnightBlue;
|
|
102
126
|
|
|
103
127
|
/* Mega menu and Search popup */
|
|
104
128
|
@mobilePopupMarginTop : 5vh;
|
|
@@ -106,44 +130,48 @@
|
|
|
106
130
|
@computerPopupMarginTop : 18vh;
|
|
107
131
|
|
|
108
132
|
/* Mega menu */
|
|
109
|
-
@
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
@
|
|
113
|
-
@
|
|
114
|
-
@
|
|
115
|
-
@
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
@
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
@
|
|
123
|
-
@
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
@
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
@
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
@
|
|
141
|
-
@
|
|
142
|
-
@
|
|
143
|
-
@
|
|
144
|
-
|
|
133
|
+
@mobileMegaMenuWidth: 94%;
|
|
134
|
+
@megaMenuBackgroundColor: @darkMidnightBlue;
|
|
135
|
+
@megaMenuTextColor: @white;
|
|
136
|
+
@mobileMegaMenuPadding: @rem-space-4 0;
|
|
137
|
+
@tabletMegaMenuPadding: @rem-space-9;
|
|
138
|
+
@computerMegaMenuPadding: @rem-space-10 0 0 0;
|
|
139
|
+
@megaMenuContentPaddingTop: @rem-space-8;
|
|
140
|
+
|
|
141
|
+
/* Title */
|
|
142
|
+
@megaMenuTitleFontSize: @font-size-4;
|
|
143
|
+
@megaMenuTitleFontWeight: @font-weight-7;
|
|
144
|
+
|
|
145
|
+
/* Sub Title */
|
|
146
|
+
@megaMenuSubTitleFontSize: @font-size-2;
|
|
147
|
+
@megaMenuSubTitleFontWeight: @font-weight-6;
|
|
148
|
+
|
|
149
|
+
/* List Item */
|
|
150
|
+
@megaMenuListItemFontSize: @font-size-1;
|
|
151
|
+
@megaMenuListItemFontWeight: @font-weight-4;
|
|
152
|
+
@megaMenuListItemPadding: @rem-space-2 0;
|
|
153
|
+
|
|
154
|
+
/* At a glance */
|
|
155
|
+
@megaMenuGlanceBackgroundColor: @secondaryColor;
|
|
156
|
+
@megaMenuGlancePaddingLeft: @rem-space-8 @rem-space-5;
|
|
157
|
+
@megaMenuGlanceListItemFontSize: @font-size-2;
|
|
158
|
+
@megaMenuGlanceListItemFontWeight: @font-weight-6;
|
|
159
|
+
@megaMenuGlanceListItemMargin: @rem-space-6 0;
|
|
160
|
+
|
|
161
|
+
/* Accordion */
|
|
162
|
+
@megaMenuAccordionTitleFontSize: @font-size-3;
|
|
163
|
+
@megaMenuAccordionTitlePadding: @rem-space-2 0;
|
|
164
|
+
@megaMenuAccordionIconFontSize: @font-size-5;
|
|
165
|
+
@megaMenuAccordionContentPadding: @rem-space-4 0;
|
|
166
|
+
@megaMenuAccordionTitleBorderBottom: 1px solid rgba(255, 255, 255, 0.25);
|
|
167
|
+
@megaMenuAccordionActiveTitleBorderBottom: 1px solid @white;
|
|
168
|
+
|
|
169
|
+
/* Nested Accordion */
|
|
170
|
+
@megaMenuNestedAccordionMargin: 0;
|
|
171
|
+
@megaMenuNestedAccordionTitleFontSize: @font-size-2;
|
|
172
|
+
@megaMenuNestedAccordionTitleFontWeight: @font-weight-7;
|
|
173
|
+
@megaMenuNestedAccordionContentPadding: @rem-space-4 @rem-space-4;
|
|
145
174
|
|
|
146
175
|
/* Search box */
|
|
147
176
|
@searchBoxBackgroundGradient : linear-gradient(340.97deg, @darkCerulean 9.19%, #009591 77.47%);
|
|
148
|
-
|
|
149
|
-
@searchBoxWrapperGap : 75px;
|
|
177
|
+
@searchBoxWrapperGap : 75px;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
@type: 'extra';
|
|
2
|
+
@element: 'hero';
|
|
3
|
+
|
|
4
|
+
@import (multiple) '../../theme.config';
|
|
5
|
+
|
|
6
|
+
/*-------------------
|
|
7
|
+
Hero
|
|
8
|
+
--------------------*/
|
|
9
|
+
|
|
10
|
+
.eea.hero-block {
|
|
11
|
+
position: @heroBlockPosition;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.hero-block-inner-wrapper {
|
|
15
|
+
height: 100%;
|
|
16
|
+
padding-block: @heroBlockWrapperPadding;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.hero-block-body {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-direction: column;
|
|
22
|
+
gap: @mobileHeroBlockBodyGap;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.hero-block-image {
|
|
26
|
+
background-repeat: @heroBlockImageBackgroundRepeat;
|
|
27
|
+
background-size: @heroBlockImageBackgroundSize;
|
|
28
|
+
background-position: @heroBlockImageBackgroundPosition;
|
|
29
|
+
width: 100%;
|
|
30
|
+
height: 100%;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.eea.hero-block.full-height,
|
|
34
|
+
.eea.hero-block.full-height .hero-block-image,
|
|
35
|
+
.eea.hero-block.full-height .hero-block-inner-wrapper {
|
|
36
|
+
min-height: @mobileHeroBlockMinHeight;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
@media only screen and (min-width: @tabletBreakpoint) {
|
|
40
|
+
.eea.hero-block.full-height,
|
|
41
|
+
.eea.hero-block.full-height .hero-block-image,
|
|
42
|
+
.eea.hero-block.full-height .hero-block-inner-wrapper {
|
|
43
|
+
min-height: @tabletHeroBlockMinHeight;
|
|
44
|
+
}
|
|
45
|
+
.hero-block-body {
|
|
46
|
+
gap: @tabletHeroBlockBodyGap;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
@media only screen and (min-width: @computerBreakpoint) {
|
|
51
|
+
.eea.hero-block.full-height,
|
|
52
|
+
.eea.hero-block.full-height .hero-block-image,
|
|
53
|
+
.eea.hero-block.full-height .hero-block-inner-wrapper {
|
|
54
|
+
min-height: @desktopHeroBlockMinHeight;
|
|
55
|
+
}
|
|
56
|
+
.hero-block-body {
|
|
57
|
+
gap: @desktopHeroBlockBodyGap;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*******************************
|
|
2
|
+
Hero
|
|
3
|
+
*******************************/
|
|
4
|
+
|
|
5
|
+
/* Hero block */
|
|
6
|
+
@mobileHeroBlockMinHeight : 417px;
|
|
7
|
+
@tabletHeroBlockMinHeight : 465px;
|
|
8
|
+
@desktopHeroBlockMinHeight: 665px;
|
|
9
|
+
|
|
10
|
+
@heroBlockPosition: relative;
|
|
11
|
+
|
|
12
|
+
/* Background Image */
|
|
13
|
+
@heroBlockImageBackgroundRepeat : no-repeat;
|
|
14
|
+
@heroBlockImageBackgroundSize : cover;
|
|
15
|
+
@heroBlockImageBackgroundPosition : center;
|
|
16
|
+
|
|
17
|
+
/* Wrapper */
|
|
18
|
+
@heroBlockWrapperPadding : @rem-space-20;
|
|
19
|
+
|
|
20
|
+
/* Body */
|
|
21
|
+
@mobileHeroBlockBodyGap : @rem-space-6;
|
|
22
|
+
@tabletHeroBlockBodyGap : @rem-space-8;
|
|
23
|
+
@desktopHeroBlockBodyGap : @rem-space-10;
|
|
@@ -5,22 +5,11 @@
|
|
|
5
5
|
@import '@eeacms/volto-eea-design-system/../theme/themes/eea/globals/utilities';
|
|
6
6
|
|
|
7
7
|
/* Heading size adjustment */
|
|
8
|
-
@media only screen and (
|
|
9
|
-
h1 {
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
h2 {
|
|
14
|
-
font-size: unit((40 / 16), rem);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
h3 {
|
|
18
|
-
font-size: unit((36 / 16), rem);
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
h4 {
|
|
22
|
-
font-size: unit((24 / 16), rem);
|
|
23
|
-
}
|
|
8
|
+
@media only screen and (max-width: @largestMobileScreen) {
|
|
9
|
+
h1 { font-size: @mobileH1; }
|
|
10
|
+
h2 { font-size: @mobileH2; }
|
|
11
|
+
h3 { font-size: @mobileH3; }
|
|
12
|
+
h4 { font-size: @mobileH4; }
|
|
24
13
|
}
|
|
25
14
|
|
|
26
15
|
[class^='ri-'],
|
|
@@ -79,6 +79,11 @@
|
|
|
79
79
|
@h5 : unit((20 / @fontSize), rem);
|
|
80
80
|
@h6 : unit((18 / @fontSize), rem);
|
|
81
81
|
|
|
82
|
+
@mobileH1: unit((30 / @fontSize), rem);
|
|
83
|
+
@mobileH2: unit((24 / @fontSize), rem);
|
|
84
|
+
@mobileH3: unit((20 / @fontSize), rem);
|
|
85
|
+
@mobileH4: unit((18 / @fontSize), rem);
|
|
86
|
+
|
|
82
87
|
/*--------------
|
|
83
88
|
Form Input
|
|
84
89
|
---------------*/
|
|
@@ -145,17 +150,20 @@
|
|
|
145
150
|
Gaps / Paddings / Margins
|
|
146
151
|
---------------------------*/
|
|
147
152
|
|
|
153
|
+
@minyGap : unit((8 / @emSize), rem);
|
|
148
154
|
@tinyGap : unit((12 / @emSize), rem);
|
|
149
155
|
@mediumGap : unit((16 / @emSize), rem);
|
|
150
156
|
@largeGap : unit((20 / @emSize), rem);
|
|
151
157
|
@bigGap : unit((24 / @emSize), rem);
|
|
152
158
|
@hugeGap : unit((28 / @emSize), rem);
|
|
153
159
|
|
|
160
|
+
@squareMiny : @minyGap @minyGap;
|
|
154
161
|
@squareTiny : @tinyGap @tinyGap;
|
|
155
162
|
@squareMedium : @mediumGap @mediumGap;
|
|
156
163
|
@squareLarge : @largeGap @largeGap;
|
|
157
164
|
@squareBig : @bigGap @bigGap;
|
|
158
165
|
|
|
166
|
+
@rectangleMini : @minyGap @tinyGap;
|
|
159
167
|
@rectangleTiny : @tinyGap @mediumGap;
|
|
160
168
|
@rectangleMedium : @mediumGap @largeGap;
|
|
161
169
|
@rectangleLarge : @largeGap @bigGap;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
.color-fg-primary { color: @primaryColor !important; }
|
|
3
3
|
.color-fg-secondary { color: @secondaryColor !important; }
|
|
4
4
|
.color-fg-tertiary { color: @tertiaryColor !important; }
|
|
5
|
-
.color-fg-white { color: @
|
|
5
|
+
.color-fg-white { color: @grey-0 !important; }
|
|
6
6
|
|
|
7
7
|
.color-bg-primary { background-color: @primaryColor !important; }
|
|
8
8
|
.color-bg-secondary { background-color: @secondaryColor !important; }
|
|
9
9
|
.color-bg-tertiary { background-color: @tertiaryColor !important; }
|
|
10
|
-
.color-bg-grey { background-color:
|
|
10
|
+
.color-bg-grey { background-color: @grey-1 !important; }
|
|
11
11
|
|
|
12
12
|
// Display utilities
|
|
13
13
|
.d-flex { display: flex !important; }
|
|
@@ -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
|
+
}
|
|
@@ -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
|
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
margin: @imageMargin;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
.item .tile.image
|
|
10
|
+
.item .tile.image,
|
|
11
|
+
.block .item .tile.image {
|
|
11
12
|
width: @tileImageWidth;
|
|
12
13
|
height: @tileImageHeight;
|
|
13
14
|
}
|
|
@@ -26,7 +27,7 @@
|
|
|
26
27
|
.ui.items.row > .item {
|
|
27
28
|
flex-direction: row;
|
|
28
29
|
}
|
|
29
|
-
|
|
30
|
+
|
|
30
31
|
.ui.items.row > .item > .image + .content {
|
|
31
32
|
padding: 0em 0em 0em @mobileContentImageDistance;
|
|
32
33
|
}
|
|
@@ -42,4 +43,18 @@
|
|
|
42
43
|
.ui.items.row > .item {
|
|
43
44
|
margin: @desktopRowItemMargin;
|
|
44
45
|
}
|
|
45
|
-
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/*--------------
|
|
49
|
+
Icons
|
|
50
|
+
---------------*/
|
|
51
|
+
|
|
52
|
+
.ui.items > .item {
|
|
53
|
+
&.primary > .icon {
|
|
54
|
+
color: @primaryColor;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&.secondary > .icon {
|
|
58
|
+
color: @secondaryColor;
|
|
59
|
+
}
|
|
60
|
+
}
|