@eeacms/volto-eea-design-system 0.5.0 → 0.5.1
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 +25 -0
- package/package.json +1 -1
- package/theme/themes/eea/extras/custom.overrides +4 -0
- package/theme/themes/eea/extras/header.less +14 -8
- package/theme/themes/eea/extras/header.variables +1 -1
- package/theme/themes/eea/extras/hero.less +13 -2
- package/theme/themes/eea/extras/hero.variables +1 -0
- package/theme/themes/eea/globals/site.overrides +4 -0
- package/theme/themes/eea/globals/utilities.less +11 -0
- package/theme/themes/eea/tokens/colors.less +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,33 @@ 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
|
+
#### [0.5.1](https://github.com/eea/volto-eea-design-system/compare/0.5.0...0.5.1)
|
|
8
|
+
|
|
9
|
+
- Autobuild of docusaurus docs [`ac5df8e`](https://github.com/eea/volto-eea-design-system/commit/ac5df8edab41d37e118d34c6a4b35a64428643d0)
|
|
10
|
+
- change(hero): added styles for adding dark overlay to hero [`bf1d292`](https://github.com/eea/volto-eea-design-system/commit/bf1d292fecfa8a6b222558f0d93f48e19bf6b8ea)
|
|
11
|
+
- Autobuild of docusaurus docs [`3192671`](https://github.com/eea/volto-eea-design-system/commit/31926711a83da6b7744249fd3c801e87ae6910d5)
|
|
12
|
+
- change(homepage): hide stagingBanner on homepage [`fb6e319`](https://github.com/eea/volto-eea-design-system/commit/fb6e319dd10f4d148cc8f3b33dafc43280a0254f)
|
|
13
|
+
- Autobuild of docusaurus docs [`333b2dc`](https://github.com/eea/volto-eea-design-system/commit/333b2dcf0b01bfb4afab2d9613b7cdbf331c51bb)
|
|
14
|
+
- Cleanup available languages [`0c49051`](https://github.com/eea/volto-eea-design-system/commit/0c490512a6a6524efe9a37b4b61ab0061a240abb)
|
|
15
|
+
- Autobuild of docusaurus docs [`fb5f811`](https://github.com/eea/volto-eea-design-system/commit/fb5f811c4723929892953e4303a6b39b85efb79d)
|
|
16
|
+
- change(header): added min-height for mega menu needed for 1 items menus [`18814f4`](https://github.com/eea/volto-eea-design-system/commit/18814f48fb743c88d05554e9a1773f8d85dec86c)
|
|
17
|
+
- Autobuild of docusaurus docs [`e836973`](https://github.com/eea/volto-eea-design-system/commit/e8369731a74139bbaf432d7506d27185e9240b1f)
|
|
18
|
+
- change(tokens): modified grey-4 color to point to a 10% shade from original color [`b406283`](https://github.com/eea/volto-eea-design-system/commit/b406283e61c7356bec9d453567cd1ccde496880d)
|
|
19
|
+
- Autobuild of docusaurus docs [`d44ccdd`](https://github.com/eea/volto-eea-design-system/commit/d44ccdd9be2edfd341a6d11bbe6105dd852a5599)
|
|
20
|
+
- change(header): use variable for homepage hero-block padding [`89ff344`](https://github.com/eea/volto-eea-design-system/commit/89ff3441f269281ffb3da32cd3e5c64715b3204b)
|
|
21
|
+
- Autobuild of docusaurus docs [`0a18ebd`](https://github.com/eea/volto-eea-design-system/commit/0a18ebda890c7bd24b1d4c5e0a36f977c4ab1153)
|
|
22
|
+
- change(hero): hero section block integration #192 [`4ea2f40`](https://github.com/eea/volto-eea-design-system/commit/4ea2f40583951016c164c9abdf22d8e809d207fe)
|
|
23
|
+
- change(header): changed homepage text color [`64ce8b6`](https://github.com/eea/volto-eea-design-system/commit/64ce8b61f8f2150513e09bf2926b48aa2ae1071c)
|
|
24
|
+
- Use 1.5 rem [`1125cd7`](https://github.com/eea/volto-eea-design-system/commit/1125cd7c65332fc5961ffbbbd2d2ab6bcc8b1b5b)
|
|
25
|
+
- Add padding if hero block is not full-width [`808b839`](https://github.com/eea/volto-eea-design-system/commit/808b83957d6a866cc31c928f414fa8fa5da517a1)
|
|
26
|
+
- Add hero block style [`fa39656`](https://github.com/eea/volto-eea-design-system/commit/fa39656fd661d8af95f483a6f33a08e4c93c42f1)
|
|
27
|
+
- Autobuild of docusaurus docs [`ca05477`](https://github.com/eea/volto-eea-design-system/commit/ca0547716cb07ca1cb29f8aee0df1d8f26633df2)
|
|
28
|
+
|
|
7
29
|
#### [0.5.0](https://github.com/eea/volto-eea-design-system/compare/0.4.5...0.5.0)
|
|
8
30
|
|
|
31
|
+
> 11 June 2022
|
|
32
|
+
|
|
33
|
+
- refactor(header): to use mega menu v2 [`#191`](https://github.com/eea/volto-eea-design-system/pull/191)
|
|
9
34
|
- fix(header-dropdown): mobile text is now visible [`#111`](https://github.com/eea/volto-eea-design-system/pull/111)
|
|
10
35
|
- fix(header): Internal links in mega menu [`d8ca135`](https://github.com/eea/volto-eea-design-system/commit/d8ca13558c3e8c336800791f2fea8a8d33a2b602)
|
|
11
36
|
- Update package.json [`9dc3816`](https://github.com/eea/volto-eea-design-system/commit/9dc38165a95deca1faf2dfccdc03fd6cab3d8c54)
|
package/package.json
CHANGED
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
gap: @dropdownMenuWrapperGap;
|
|
84
84
|
white-space: @dropdownMenuContentWhiteSpace;
|
|
85
85
|
margin: @dropdownMenuWrapperMargin;
|
|
86
|
-
|
|
86
|
+
|
|
87
87
|
&.language-list {
|
|
88
88
|
padding-inline-start: @dropdownMenuLanguageWrapperPaddingInlineStart;
|
|
89
89
|
}
|
|
@@ -117,7 +117,7 @@
|
|
|
117
117
|
}
|
|
118
118
|
a {
|
|
119
119
|
font-weight: @officialUnionLinkFontWeight;
|
|
120
|
-
white-space: @dropdownMenuContentWhiteSpace;
|
|
120
|
+
white-space: @dropdownMenuContentWhiteSpace;
|
|
121
121
|
color: @officialUnionLinkColor;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
@@ -288,10 +288,15 @@
|
|
|
288
288
|
|
|
289
289
|
@media all and (max-width: @largestMobileScreen) {
|
|
290
290
|
.eea.header .top.bar .ui.container {
|
|
291
|
-
width: 100% !important; //override semantic auto to display content with space between them
|
|
291
|
+
width: 100% !important; //override semantic auto to display content with space between them
|
|
292
292
|
}
|
|
293
293
|
}
|
|
294
|
-
|
|
294
|
+
.homepage .eea.header {
|
|
295
|
+
position: absolute;
|
|
296
|
+
top: 0;
|
|
297
|
+
z-index: 1;
|
|
298
|
+
width: 100%;
|
|
299
|
+
}
|
|
295
300
|
/*----------------------------------------------------------------------------
|
|
296
301
|
Header Actions - Burger and Search Icons
|
|
297
302
|
----------------------------------------------------------------------------*/
|
|
@@ -370,7 +375,7 @@
|
|
|
370
375
|
.top.bar .ui.dropdown .menu {
|
|
371
376
|
margin-top: @tabletDropdownMenuMarginTop;
|
|
372
377
|
}
|
|
373
|
-
|
|
378
|
+
|
|
374
379
|
.top.bar .ui.dropdown .menu,
|
|
375
380
|
.top.bar .ui.dropdown .menu .item {
|
|
376
381
|
font-size: @tabletDropdownMenuFontSize;
|
|
@@ -512,6 +517,7 @@
|
|
|
512
517
|
background: @megaMenuBackgroundColor;
|
|
513
518
|
color: @megaMenuTextColor;
|
|
514
519
|
max-height: @mobilePopUpHeight;
|
|
520
|
+
min-height: @size-11;
|
|
515
521
|
padding: @mobileMegaMenuPadding;
|
|
516
522
|
|
|
517
523
|
.ui.container {
|
|
@@ -531,11 +537,11 @@
|
|
|
531
537
|
color: @megaMenuTextColor;
|
|
532
538
|
|
|
533
539
|
&+ .ui.grid {
|
|
534
|
-
|
|
540
|
+
|
|
535
541
|
div.column:first-child {
|
|
536
542
|
padding-left: 0;
|
|
537
543
|
}
|
|
538
|
-
|
|
544
|
+
|
|
539
545
|
div.column:last-child {
|
|
540
546
|
padding-right: 0;
|
|
541
547
|
}
|
|
@@ -649,5 +655,5 @@
|
|
|
649
655
|
}
|
|
650
656
|
#mega-menu .title > a {
|
|
651
657
|
color: @megaMenuTextColor;
|
|
652
|
-
}
|
|
658
|
+
}
|
|
653
659
|
}
|
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
.hero-block-body {
|
|
20
20
|
display: flex;
|
|
21
|
+
width: 100%;
|
|
21
22
|
flex-direction: column;
|
|
22
23
|
gap: @mobileHeroBlockBodyGap;
|
|
23
24
|
}
|
|
@@ -28,6 +29,16 @@
|
|
|
28
29
|
background-position: @heroBlockImageBackgroundPosition;
|
|
29
30
|
width: 100%;
|
|
30
31
|
height: 100%;
|
|
32
|
+
position: absolute;
|
|
33
|
+
z-index: -1;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.hero-block-text .quoted > * {
|
|
37
|
+
display: inline-block;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.hero-block[class*='color-bg']:not(.full-width) {
|
|
41
|
+
padding: @heroBlockHomepagePadding;
|
|
31
42
|
}
|
|
32
43
|
|
|
33
44
|
.eea.hero-block.full-height,
|
|
@@ -52,8 +63,8 @@
|
|
|
52
63
|
.eea.hero-block.full-height .hero-block-image,
|
|
53
64
|
.eea.hero-block.full-height .hero-block-inner-wrapper {
|
|
54
65
|
min-height: @desktopHeroBlockMinHeight;
|
|
55
|
-
}
|
|
66
|
+
}
|
|
56
67
|
.hero-block-body {
|
|
57
68
|
gap: @desktopHeroBlockBodyGap;
|
|
58
69
|
}
|
|
59
|
-
}
|
|
70
|
+
}
|
|
@@ -9,6 +9,17 @@
|
|
|
9
9
|
.color-bg-tertiary { background-color: @tertiaryColor !important; }
|
|
10
10
|
.color-bg-grey { background-color: @grey-1 !important; }
|
|
11
11
|
|
|
12
|
+
.dark-overlay-4 {
|
|
13
|
+
position: absolute;
|
|
14
|
+
top: 0;
|
|
15
|
+
right: 0;
|
|
16
|
+
bottom: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
background: #000;
|
|
19
|
+
opacity: 0.4;
|
|
20
|
+
z-index: -1;
|
|
21
|
+
}
|
|
22
|
+
|
|
12
23
|
// Display utilities
|
|
13
24
|
.d-flex { display: flex !important; }
|
|
14
25
|
.flex-items-start { align-items: flex-start !important; }
|