@eeacms/volto-eea-design-system 1.0.0-alpha.12 → 1.0.0-alpha.13

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 CHANGED
@@ -4,8 +4,32 @@ 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](https://github.com/eea/volto-eea-design-system/compare/1.0.0-alpha.12...1.0.0-alpha.13) - 27 January 2023
8
+
9
+ #### :rocket: New Features
10
+
11
+ - feat(utilities): added has--bg--top center and bottom utility classes [David Ichim - [`051e6d7`](https://github.com/eea/volto-eea-design-system/commit/051e6d7c33aca7947802ddaa9fe68ac41ed7fe11)]
12
+
13
+ #### :bug: Bug Fixes
14
+
15
+ - 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)]
16
+
17
+ #### :nail_care: Enhancements
18
+
19
+ - refactor(Banner): update banner background green color [Antonis Tarantilis - [`fd4a552`](https://github.com/eea/volto-eea-design-system/commit/fd4a552d9ff7a2973ebd6d18b6fbfd9bba5d98c6)]
20
+ - 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)]
21
+ - change(site): added fixes from customVolto.css to design package [David Ichim - [`51ba9b5`](https://github.com/eea/volto-eea-design-system/commit/51ba9b5df0186bdf075d803dea6032bac52e540f)]
22
+
23
+ #### :hammer_and_wrench: Others
24
+
25
+ - bump next version to alpha 13 [David Ichim - [`897e906`](https://github.com/eea/volto-eea-design-system/commit/897e9069062282f1b5cd8d86a02b8e54c40a4690)]
26
+ - Back to dev [Alin Voinea - [`5780dc7`](https://github.com/eea/volto-eea-design-system/commit/5780dc7abeb24da5e77b043a34593ff7a44f350d)]
7
27
  ### [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
28
 
29
+ #### :rocket: New Features
30
+
31
+ - 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)]
32
+
9
33
  #### :bug: Bug Fixes
10
34
 
11
35
  - 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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-design-system",
3
- "version": "1.0.0-alpha.12",
3
+ "version": "1.0.0-alpha.13",
4
4
  "description": "@eeacms/volto-eea-design-system: Volto add-on",
5
5
  "main": "src/index.js",
6
6
  "author": "European Environment Agency: IDM2 A-Team",
@@ -237,7 +237,7 @@ const SecondLevelContent = ({ element, topics = false, renderMenuItem }) => {
237
237
  <Link
238
238
  role="listitem"
239
239
  className="item"
240
- to={element.url}
240
+ to={atAGlance.url}
241
241
  key={element['@id']}
242
242
  >
243
243
  A-Z Topics
@@ -135,4 +135,5 @@
135
135
  @import (optional) "@{siteFolder}/@{addon}/@{addontype}s/@{addonelement}.overrides";
136
136
  }
137
137
 
138
+
138
139
  /* End Config */
@@ -2,7 +2,7 @@
2
2
  Page Banner
3
3
  *******************************/
4
4
 
5
- @bannerBackgroundColor : @darkCyan;
5
+ @bannerBackgroundColor : @secondaryColor;
6
6
 
7
7
  /* Background Image */
8
8
  @imageBackgroundRepeat : no-repeat;
@@ -28,6 +28,7 @@
28
28
  padding-top: @contentBoxContainerMarginTop;
29
29
  padding-bottom: @contentBoxContainerMarginBottom;
30
30
  position: relative;
31
+ z-index: @contentBoxContainerZIndex;
31
32
  }
32
33
 
33
34
  &.primary {
@@ -18,3 +18,4 @@
18
18
  /* Container */
19
19
  @contentBoxContainerMarginTop : @bigGap;
20
20
  @contentBoxContainerMarginBottom : @bigGap;
21
+ @contentBoxContainerZIndex : 1;
@@ -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
- // Text utilities
54
- .bold { font-weight: @bold !important; }
55
- .underline { text-decoration: underline !important; }
56
-
57
- // Quotes
58
- .quoted-wrapper h2::before,
59
- .quoted-wrapper h3::before,
60
- .quoted::before {
61
- content: "\ec51";
62
- font-family: 'remixicon' !important;
63
- }
64
-
65
- .quoted-wrapper h2::after,
66
- .quoted-wrapper h3::after,
67
- .quoted::after {
68
- content: "\ec52";
69
- font-family: 'remixicon' !important;
70
- }
71
-
72
- // Borders
73
- .bordered {
74
- border-bottom: @border-size-1 solid !important;
75
- padding-bottom: @rem-space-2 !important;
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
+ }