@eeacms/volto-eea-design-system 1.0.0-alpha.12 → 1.0.0-alpha.13.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 +34 -0
- package/package.json +1 -1
- package/src/ui/Header/HeaderMenuPopUp.js +1 -1
- package/theme/theme.config +1 -0
- package/theme/themes/eea/extras/banner.variables +1 -1
- package/theme/themes/eea/extras/contentBox.less +1 -0
- package/theme/themes/eea/extras/contentBox.variables +1 -0
- package/theme/themes/eea/extras/custom.overrides +9 -0
- package/theme/themes/eea/extras/header.less +0 -4
- package/theme/themes/eea/globals/utilities.less +90 -76
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,42 @@ 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-alpha.13.1](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.13...1.0.0-alpha.13.1) - 30 January 2023
|
|
8
|
+
|
|
9
|
+
#### :nail_care: Enhancements
|
|
10
|
+
|
|
11
|
+
- change(mobile menu): hardcode a-z topics to '/en/topics-in-depth' [David Ichim - [`5235b52`](https://github.com/eea/volto-eea-design-system/commit/5235b52047a80a8b626aa5ef3ef304c4d9a82003)]
|
|
12
|
+
|
|
13
|
+
#### :hammer_and_wrench: Others
|
|
14
|
+
|
|
15
|
+
- change release to 13.1 [David Ichim - [`70aa564`](https://github.com/eea/volto-eea-design-system/commit/70aa5648e7d9e14796445323b6ebaf7733cc7fd8)]
|
|
16
|
+
### [1.0.0-alpha.13](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.12...1.0.0-alpha.13) - 27 January 2023
|
|
17
|
+
|
|
18
|
+
#### :rocket: New Features
|
|
19
|
+
|
|
20
|
+
- feat(utilities): added has--bg--top center and bottom utility classes [David Ichim - [`051e6d7`](https://github.com/eea/volto-eea-design-system/commit/051e6d7c33aca7947802ddaa9fe68ac41ed7fe11)]
|
|
21
|
+
|
|
22
|
+
#### :bug: Bug Fixes
|
|
23
|
+
|
|
24
|
+
- fix(header): update green color used in page header #284 from eea/fix-banner-background [ichim-david - [`29d54db`](https://github.com/eea/volto-eea-design-system/commit/29d54db06487d18a367202725e525ac26e5b7c58)]
|
|
25
|
+
|
|
26
|
+
#### :nail_care: Enhancements
|
|
27
|
+
|
|
28
|
+
- refactor(Banner): update banner background green color [Antonis Tarantilis - [`fd4a552`](https://github.com/eea/volto-eea-design-system/commit/fd4a552d9ff7a2973ebd6d18b6fbfd9bba5d98c6)]
|
|
29
|
+
- change(mobile menu): changed link for a-z topics to point to in depth [David Ichim - [`721bf23`](https://github.com/eea/volto-eea-design-system/commit/721bf237d23d2a8e47fc2132912646c4ce182c9d)]
|
|
30
|
+
- change(site): added fixes from customVolto.css to design package [David Ichim - [`51ba9b5`](https://github.com/eea/volto-eea-design-system/commit/51ba9b5df0186bdf075d803dea6032bac52e540f)]
|
|
31
|
+
|
|
32
|
+
#### :hammer_and_wrench: Others
|
|
33
|
+
|
|
34
|
+
- 1.0.0-alpha.13 release #285 from eea/develop [ichim-david - [`c966940`](https://github.com/eea/volto-eea-design-system/commit/c96694005e2d4160876f6a900db13940d42266d5)]
|
|
35
|
+
- bump next version to alpha 13 [David Ichim - [`897e906`](https://github.com/eea/volto-eea-design-system/commit/897e9069062282f1b5cd8d86a02b8e54c40a4690)]
|
|
36
|
+
- Back to dev [Alin Voinea - [`5780dc7`](https://github.com/eea/volto-eea-design-system/commit/5780dc7abeb24da5e77b043a34593ff7a44f350d)]
|
|
7
37
|
### [1.0.0-alpha.12](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.11...1.0.0-alpha.12) - 24 January 2023
|
|
8
38
|
|
|
39
|
+
#### :rocket: New Features
|
|
40
|
+
|
|
41
|
+
- feat(card, colors): visited color change and title on image option for cards #283 from eea/develop [ichim-david - [`e638ee6`](https://github.com/eea/volto-eea-design-system/commit/e638ee6b77885fd5989179aa9e6532e46e475247)]
|
|
42
|
+
|
|
9
43
|
#### :bug: Bug Fixes
|
|
10
44
|
|
|
11
45
|
- fix(mobile menu): sub links when an accordion section is active [David Ichim - [`bb3be81`](https://github.com/eea/volto-eea-design-system/commit/bb3be81416340ad0e3e992cd4e75642fc50f8ad3)]
|
package/package.json
CHANGED
package/theme/theme.config
CHANGED
|
@@ -16,6 +16,11 @@
|
|
|
16
16
|
padding-top: 0 !important;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
|
+
// show staging banner on homepage
|
|
20
|
+
.homepage .stagingBanner {
|
|
21
|
+
display: block !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
19
24
|
// use homepage text color for color of cards that are within a content-box that has a variant class
|
|
20
25
|
.homepage .content-box[class*="ary"] [class="ui fluid card"] {
|
|
21
26
|
color: @blue-grey-5;
|
|
@@ -75,6 +80,10 @@
|
|
|
75
80
|
font-weight: inherit;
|
|
76
81
|
}
|
|
77
82
|
|
|
83
|
+
// remove margin from first hero block used on the homepage
|
|
84
|
+
#page-document > .styled-hero {
|
|
85
|
+
margin-top: 0;
|
|
86
|
+
}
|
|
78
87
|
|
|
79
88
|
// customize error class from volto-slate to our color of red
|
|
80
89
|
.error {
|
|
@@ -394,10 +394,6 @@
|
|
|
394
394
|
z-index: 1;
|
|
395
395
|
width: 100%;
|
|
396
396
|
}
|
|
397
|
-
// reduce width of header when we have toolbar open for better placement
|
|
398
|
-
.has-toolbar.homepage .eea.header {
|
|
399
|
-
width: 96%;
|
|
400
|
-
}
|
|
401
397
|
|
|
402
398
|
/*----------------------------------------------------------------------------
|
|
403
399
|
Header Actions - Burger and Search Icons
|
|
@@ -1,76 +1,90 @@
|
|
|
1
|
-
// Color
|
|
2
|
-
h1, h2, h3, h4, h5, h6, p, span, .header {
|
|
3
|
-
&.primary { color: @primaryColorCSSVar !important; }
|
|
4
|
-
&.secondary { color: @secondaryColorCSSVar !important; }
|
|
5
|
-
&.tertiary { color: @tertiaryColorCSSVar !important; }
|
|
6
|
-
&.white { color: @white !important; }
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.color-fg-primary { color: @primaryColor !important; }
|
|
10
|
-
.color-fg-secondary { color: @secondaryColor !important; }
|
|
11
|
-
.color-fg-tertiary { color: @tertiaryColor !important; }
|
|
12
|
-
.color-fg-white { color: @grey-0 !important; }
|
|
13
|
-
|
|
14
|
-
.color-bg-primary { background-color: @primaryColor !important; }
|
|
15
|
-
.color-bg-secondary { background-color: @secondaryColor !important; }
|
|
16
|
-
.color-bg-tertiary { background-color: @tertiaryColor !important; }
|
|
17
|
-
.color-bg-grey { background-color: @grey-1 !important; }
|
|
18
|
-
|
|
19
|
-
.dark-overlay-4 {
|
|
20
|
-
position: absolute;
|
|
21
|
-
top: 0;
|
|
22
|
-
right: 0;
|
|
23
|
-
bottom: 0;
|
|
24
|
-
left: 0;
|
|
25
|
-
background: #000;
|
|
26
|
-
opacity: 0.4;
|
|
27
|
-
z-index: 0;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
// Flexbox
|
|
31
|
-
.d-flex { display: flex !important; }
|
|
32
|
-
.flex-items-start { align-items: flex-start !important; }
|
|
33
|
-
.flex-items-end { align-items: flex-end !important; }
|
|
34
|
-
.flex-items-center { align-items: center !important; }
|
|
35
|
-
|
|
36
|
-
// Text
|
|
37
|
-
.text-left,
|
|
38
|
-
.has--text--left { text-align: left !important; }
|
|
39
|
-
.text-center,
|
|
40
|
-
.has--text--center { text-align: center !important;}
|
|
41
|
-
.text-right { text-align: right !important; }
|
|
42
|
-
.bold { font-weight: bold !important; }
|
|
43
|
-
|
|
44
|
-
.has--text--left {
|
|
45
|
-
--text-align: left;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.has--text--center {
|
|
49
|
-
--text-align: center;
|
|
50
|
-
--justify-content: space-evenly;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
//
|
|
54
|
-
.
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
.
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
.
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
1
|
+
// Color
|
|
2
|
+
h1, h2, h3, h4, h5, h6, p, span, .header {
|
|
3
|
+
&.primary { color: @primaryColorCSSVar !important; }
|
|
4
|
+
&.secondary { color: @secondaryColorCSSVar !important; }
|
|
5
|
+
&.tertiary { color: @tertiaryColorCSSVar !important; }
|
|
6
|
+
&.white { color: @white !important; }
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.color-fg-primary { color: @primaryColor !important; }
|
|
10
|
+
.color-fg-secondary { color: @secondaryColor !important; }
|
|
11
|
+
.color-fg-tertiary { color: @tertiaryColor !important; }
|
|
12
|
+
.color-fg-white { color: @grey-0 !important; }
|
|
13
|
+
|
|
14
|
+
.color-bg-primary { background-color: @primaryColor !important; }
|
|
15
|
+
.color-bg-secondary { background-color: @secondaryColor !important; }
|
|
16
|
+
.color-bg-tertiary { background-color: @tertiaryColor !important; }
|
|
17
|
+
.color-bg-grey { background-color: @grey-1 !important; }
|
|
18
|
+
|
|
19
|
+
.dark-overlay-4 {
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 0;
|
|
22
|
+
right: 0;
|
|
23
|
+
bottom: 0;
|
|
24
|
+
left: 0;
|
|
25
|
+
background: #000;
|
|
26
|
+
opacity: 0.4;
|
|
27
|
+
z-index: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
// Flexbox
|
|
31
|
+
.d-flex { display: flex !important; }
|
|
32
|
+
.flex-items-start { align-items: flex-start !important; }
|
|
33
|
+
.flex-items-end { align-items: flex-end !important; }
|
|
34
|
+
.flex-items-center { align-items: center !important; }
|
|
35
|
+
|
|
36
|
+
// Text
|
|
37
|
+
.text-left,
|
|
38
|
+
.has--text--left { text-align: left !important; }
|
|
39
|
+
.text-center,
|
|
40
|
+
.has--text--center { text-align: center !important;}
|
|
41
|
+
.text-right { text-align: right !important; }
|
|
42
|
+
.bold { font-weight: bold !important; }
|
|
43
|
+
|
|
44
|
+
.has--text--left {
|
|
45
|
+
--text-align: left;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.has--text--center {
|
|
49
|
+
--text-align: center;
|
|
50
|
+
--justify-content: space-evenly;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
// background position utilities
|
|
54
|
+
.has--bg--top {
|
|
55
|
+
background-position: top !important;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.has--bg--center {
|
|
59
|
+
background-position: center !important;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.has--bg--bottom {
|
|
63
|
+
background-position: bottom !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
// Text utilities
|
|
68
|
+
.bold { font-weight: @bold !important; }
|
|
69
|
+
.underline { text-decoration: underline !important; }
|
|
70
|
+
|
|
71
|
+
// Quotes
|
|
72
|
+
.quoted-wrapper h2::before,
|
|
73
|
+
.quoted-wrapper h3::before,
|
|
74
|
+
.quoted::before {
|
|
75
|
+
content: "\ec51";
|
|
76
|
+
font-family: 'remixicon' !important;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.quoted-wrapper h2::after,
|
|
80
|
+
.quoted-wrapper h3::after,
|
|
81
|
+
.quoted::after {
|
|
82
|
+
content: "\ec52";
|
|
83
|
+
font-family: 'remixicon' !important;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// Borders
|
|
87
|
+
.bordered {
|
|
88
|
+
border-bottom: @border-size-1 solid !important;
|
|
89
|
+
padding-bottom: @rem-space-2 !important;
|
|
90
|
+
}
|