@eeacms/volto-eea-design-system 0.9.3 → 0.9.4

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,7 +4,38 @@ 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.9.3](https://github.com/eea/volto-eea-design-system/compare/0.9.2...0.9.3) - 3 October 2022
7
+ ### [0.9.4](https://github.com/eea/volto-eea-design-system/compare/0.9.3...0.9.4) - 19 October 2022
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix(header): hero text going over the logo and menu on mobile resolutions [David Ichim - [`1434508`](https://github.com/eea/volto-eea-design-system/commit/1434508f5995d4316dfb2fd18fdc7926a4ece6ee)]
12
+ - fix(edit-interface): block chooser and power user menu item colors when inside content-box [David Ichim - [`7aee4f1`](https://github.com/eea/volto-eea-design-system/commit/7aee4f1619a0d798b5fd8d90844a780c25aca019)]
13
+ - fix(content-box): z-index of box-inner and added underline to slate links [David Ichim - [`c8b7c7e`](https://github.com/eea/volto-eea-design-system/commit/c8b7c7e41df39e1bf6377401a7aad4220287d454)]
14
+ - fix(content-box): adding of underline to links [David Ichim - [`c2f5f0f`](https://github.com/eea/volto-eea-design-system/commit/c2f5f0f45963e48342edb0046d84b945ffe4b6a8)]
15
+
16
+ #### :nail_care: Enhancements
17
+
18
+ - change(statistics): tweaked margin of statistics so that they don't overflow over context boxes [David Ichim - [`b4a8e33`](https://github.com/eea/volto-eea-design-system/commit/b4a8e33dfaa716f38ac9ce5448d400c74ef9ba62)]
19
+ - change(Banner): Show label in metadata field [kreafox - [`1acda3c`](https://github.com/eea/volto-eea-design-system/commit/1acda3c53739b610b501a53baf10226769929d2d)]
20
+ - change(Banner): Add subtitle subcomponent [kreafox - [`bb67f4c`](https://github.com/eea/volto-eea-design-system/commit/bb67f4c83a2ff0e17958116fc4a52a426ba64a70)]
21
+ - change(statistics): use theme colors with css variable for easy color customization [David Ichim - [`fb72a01`](https://github.com/eea/volto-eea-design-system/commit/fb72a012e81eba73fbace58317a52b5cdda31ee5)]
22
+ - change(colors): introduced css variables for primary colors #247 [ichim-david - [`ac80825`](https://github.com/eea/volto-eea-design-system/commit/ac8082590f978ab953ece70082e06b124c292ddf)]
23
+ - change(colors): added backgroundColorSupplementary color variable [David Ichim - [`1f5262a`](https://github.com/eea/volto-eea-design-system/commit/1f5262af2b90d2ffd9dd5560232f3bf47bcc85e3)]
24
+ - change(colors): added backgroundColor color variable [David Ichim - [`b7e6831`](https://github.com/eea/volto-eea-design-system/commit/b7e68311f77a724c49a3cf858a76239ca5f6876c)]
25
+ - change(accordion): allow customization of accordion title background color [David Ichim - [`6590baf`](https://github.com/eea/volto-eea-design-system/commit/6590baf1716867eabe897e765ae1924122ba2333)]
26
+ - change(list,bullet): color is no longer primary instead it's text color css variant [David Ichim - [`8c04670`](https://github.com/eea/volto-eea-design-system/commit/8c046704871c7202406ff71b280a8a34e195e54d)]
27
+ - change(quote): use secondary css var for easier color replacement [David Ichim - [`7a32312`](https://github.com/eea/volto-eea-design-system/commit/7a3231228c2eb9b420cc7b59a4a07fba96643e5e)]
28
+ - change(item): moved svg filter definitions to item.overrides [David Ichim - [`de70366`](https://github.com/eea/volto-eea-design-system/commit/de703661065648968903bb6b46efc13d19c51d2b)]
29
+ - change(tags, items): use text color with css variable for content color for easy customization [David Ichim - [`6660e2e`](https://github.com/eea/volto-eea-design-system/commit/6660e2e49c6e732a13283ad7c922c5a5091bffc1)]
30
+ - change(content-box): override primary text color to white as well [David Ichim - [`28b43c7`](https://github.com/eea/volto-eea-design-system/commit/28b43c72b9fcfeb153ac7e734bbbca67f2e42111)]
31
+ - change(colors): in lists and callouts to allow color changes [David Ichim - [`940d1b8`](https://github.com/eea/volto-eea-design-system/commit/940d1b8ed815b1a38f78d7602f0b221b48fe21f9)]
32
+ - change(styling): modified naming of theme css variables [David Ichim - [`a332961`](https://github.com/eea/volto-eea-design-system/commit/a332961e1c4d55cdee3a8bcdf652f53cf03e251b)]
33
+ - change(accordion): accordion titles with themes colors can now be modified by css variables [David Ichim - [`e2ac13e`](https://github.com/eea/volto-eea-design-system/commit/e2ac13ea56a74b2f7a22abc274bc94c770fbe3a2)]
34
+
35
+ #### :hammer_and_wrench: Others
36
+
37
+ - Include changes in the storybook [kreafox - [`a4d9fa4`](https://github.com/eea/volto-eea-design-system/commit/a4d9fa4c631a6a1ec0d7d525721fd32c5ff01d9c)]
38
+ ### [0.9.3](https://github.com/eea/volto-eea-design-system/compare/0.9.2...0.9.3) - 4 October 2022
8
39
 
9
40
  #### :bug: Bug Fixes
10
41
 
@@ -16,6 +47,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
16
47
 
17
48
  #### :nail_care: Enhancements
18
49
 
50
+ - change(jenkins): added yarn policy for storybook building [ichim-david - [`3d1b844`](https://github.com/eea/volto-eea-design-system/commit/3d1b844efeea40b99c00c9aa97089e0a0be58a57)]
19
51
  - change(docusaurus): typography updates [ichim-david - [`60a93a4`](https://github.com/eea/volto-eea-design-system/commit/60a93a4aece4e478ae13c2dfe697fd3703aa178a)]
20
52
  - change(accordion): allow customization of accordion title with css variables [David Ichim - [`15e7d27`](https://github.com/eea/volto-eea-design-system/commit/15e7d27f02c640df582f51a51ef36e645723f842)]
21
53
  - change(content-box): added css variables that will set text color and background for children [David Ichim - [`86cac53`](https://github.com/eea/volto-eea-design-system/commit/86cac531cc94386b6022e1be80dba826b39f2443)]
@@ -50,6 +82,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
50
82
  #### :hammer_and_wrench: Others
51
83
 
52
84
  - Merge pull request #243 from eea/develop [ichim-david - [`576564c`](https://github.com/eea/volto-eea-design-system/commit/576564ce395ee6ac9e74bcb19d5c4f0b4cd3c33b)]
85
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`4a5be6e`](https://github.com/eea/volto-eea-design-system/commit/4a5be6eec78dae230626e61ea2c77e7f3c62510d)]
53
86
  - Back to dev [Alin Voinea - [`b251255`](https://github.com/eea/volto-eea-design-system/commit/b251255a7ed14d8290717726d86eaf54b87aa2d4)]
54
87
  ### [0.9.0](https://github.com/eea/volto-eea-design-system/compare/0.8.1...0.9.0) - 19 September 2022
55
88
 
@@ -805,6 +838,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
805
838
  #### :hammer_and_wrench: Others
806
839
 
807
840
  - prettier changes [David Ichim - [`134da52`](https://github.com/eea/volto-eea-design-system/commit/134da52549b9d5eac5a12b7ad3005073500ac2c4)]
841
+ - [JENKINSFILE] remove debug, add error per stage [valentinab25 - [`903eecd`](https://github.com/eea/volto-eea-design-system/commit/903eecdb6bcbb8d73cff5e447d80c85e2a2c906d)]
842
+ - [JENKINSFILE] mention comment author in comment [valentinab25 - [`39a26aa`](https://github.com/eea/volto-eea-design-system/commit/39a26aa1ff0f35e93e8df9f442c29c5ab79ff493)]
843
+ - [JENKINSFILE] format PR comments [valentinab25 - [`739438c`](https://github.com/eea/volto-eea-design-system/commit/739438c64950c745d630d1998314a2bed595b23a)]
844
+ - [JENKINSFILE] Add failure comment, no jenkins fail [valentinab25 - [`c325bf1`](https://github.com/eea/volto-eea-design-system/commit/c325bf14f3fb0da150f2a56cda0a9f03d8d8a628)]
808
845
  ### [0.2.3](https://github.com/eea/volto-eea-design-system/compare/0.2.2...0.2.3) - 29 April 2022
809
846
 
810
847
  #### :rocket: New Features
@@ -1229,6 +1266,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1229
1266
  - set profile section overflow to auto [nileshgulia1 - [`71ab47f`](https://github.com/eea/volto-eea-design-system/commit/71ab47f89a433233c14b394c3824e607dd18a393)]
1230
1267
  - remove segment custom width [nileshgulia1 - [`1d3ea40`](https://github.com/eea/volto-eea-design-system/commit/1d3ea40f98bbdc1eab95b4da739a659b5e29ec16)]
1231
1268
  - fix profile section css overflow [nileshgulia1 - [`db5126f`](https://github.com/eea/volto-eea-design-system/commit/db5126fc902e191d1e18fb7e4c54877c8d8786e6)]
1269
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`647a6e3`](https://github.com/eea/volto-eea-design-system/commit/647a6e3e2093f2c4884c356eb148453551c8f33f)]
1232
1270
  - fix warning related to proptype [nileshgulia1 - [`946c6c6`](https://github.com/eea/volto-eea-design-system/commit/946c6c6bc9dece0985ae4b9f9cad6ece2be0ff2c)]
1233
1271
  - removed override already present in card.less [ichim-david - [`50d2ab2`](https://github.com/eea/volto-eea-design-system/commit/50d2ab26f85c8f409da02ec128cc1df34848ca69)]
1234
1272
  - update [Miu Razvan - [`bbcab87`](https://github.com/eea/volto-eea-design-system/commit/bbcab87ef4c8475f347f0daf4ab7e428e69c2316)]
@@ -1315,6 +1353,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1315
1353
  - remove segment custom width [nileshgulia1 - [`4a60d84`](https://github.com/eea/volto-eea-design-system/commit/4a60d84d5fe76578b7760aa1dad6eef9a20916a7)]
1316
1354
  - Reformat header.less [Tiberiu Ichim - [`1f99dfc`](https://github.com/eea/volto-eea-design-system/commit/1f99dfc82c165304ca5600ce5138c1233615ab69)]
1317
1355
  - fix profile section css overflow [nileshgulia1 - [`8fd2654`](https://github.com/eea/volto-eea-design-system/commit/8fd265413149f1b5e033dffa0fbcb5ef5ecad15f)]
1356
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6051724`](https://github.com/eea/volto-eea-design-system/commit/6051724437a38675e659c797bb5586ef81286ec0)]
1318
1357
  - fix warning related to proptype [nileshgulia1 - [`824b9be`](https://github.com/eea/volto-eea-design-system/commit/824b9beff77aae139882cd50a1d670a02ec6f723)]
1319
1358
  - refactor breadcrumbs component, make it functional and customizable [nileshgulia1 - [`4ec374e`](https://github.com/eea/volto-eea-design-system/commit/4ec374e20565eb0a5aed0ff67a02cd6f77eba1f0)]
1320
1359
  - removed override already present in card.less [ichim-david - [`93c4e5a`](https://github.com/eea/volto-eea-design-system/commit/93c4e5aac9cc85ff2cc6c04180f6655d5f5616dc)]
@@ -1883,6 +1922,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1883
1922
  - Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`3af46d2`](https://github.com/eea/volto-eea-design-system/commit/3af46d2b14fa0b1ef44736f25b0f9ac93b23d18d)]
1884
1923
  - Refs #140454 updated eea-design-system readme with extra info on package contents [David Ichim - [`d2efc3d`](https://github.com/eea/volto-eea-design-system/commit/d2efc3ddae7b91efc82cf3bce8fb8e42d696a780)]
1885
1924
  - Refs #140454 add h1 to the list of elements that are max 800px and centered [David Ichim - [`7d3c30f`](https://github.com/eea/volto-eea-design-system/commit/7d3c30f409aa4cb43810839f8960589456cc1b2e)]
1925
+ - Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`8d657d0`](https://github.com/eea/volto-eea-design-system/commit/8d657d056cde5163cfe90ac66bc973f55d82e5e9)]
1886
1926
  ### [0.1.0](https://github.com/eea/volto-eea-design-system/compare/0.0.1...0.1.0) - 17 November 2021
1887
1927
 
1888
1928
  #### :hammer_and_wrench: Others
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eeacms/volto-eea-design-system",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
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",
@@ -49,11 +49,17 @@ Banner.Content = ({ children, actions }) => {
49
49
  };
50
50
 
51
51
  Banner.Title = ({ children }) => <p className="title">{children}</p>;
52
+ Banner.Subtitle = ({ children }) => <p className="subtitle">{children}</p>;
52
53
  Banner.Metadata = ({ children }) => <p className="metadata">{children}</p>;
53
54
 
54
55
  Banner.MetadataField = ({ hidden, type = 'text', label, value, title }) => {
55
56
  if (hidden || !value) return '';
56
- return <span className={`field ${type}`}>{value}</span>;
57
+ return (
58
+ <span className={`field ${type}`}>
59
+ {label && <>{label}: </>}
60
+ {value}
61
+ </span>
62
+ );
57
63
  };
58
64
 
59
65
  export default Banner;
@@ -86,6 +86,7 @@ const Template = (args) => (
86
86
  </>
87
87
  }
88
88
  >
89
+ <Banner.Subtitle>{args.subtitle}</Banner.Subtitle>
89
90
  <Banner.Title>{args.title}</Banner.Title>
90
91
  {args.metadata && (
91
92
  <Banner.Metadata>
@@ -106,6 +107,7 @@ const Template = (args) => (
106
107
  export const Default = Template.bind({});
107
108
  Default.args = {
108
109
  title: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
110
+ subtitle: 'Lorem ipsum dolor',
109
111
  metadata: [
110
112
  { hidden: false, value: 'Briefing', type: 'type' },
111
113
  { hidden: false, value: 'Published Date', type: 'date' },
@@ -10,23 +10,41 @@ function HeaderSearchPopUp({ onClose, searchInputRef, triggerRefs = [] }) {
10
10
 
11
11
  return (
12
12
  <div id="search-box" ref={nodeRef}>
13
- <Container>
14
- <div className="wrapper">
15
- <Input
16
- ref={searchInputRef}
17
- className="search"
18
- icon={{ className: 'ri-search-line', link: true }}
19
- placeholder="Search..."
20
- fluid
21
- />
22
- {/* <div className="action">
13
+ <form>
14
+ <Container>
15
+ <div className="wrapper">
16
+ <Input
17
+ ref={searchInputRef}
18
+ className="search"
19
+ icon={{ className: 'ri-search-line', link: true }}
20
+ placeholder="Search..."
21
+ fluid
22
+ />
23
+ {/* <div className="action">
23
24
  <Button icon labelPosition="left" className="search">
24
25
  <Icon name="search" />
25
26
  Advanced Search
26
27
  </Button>
27
28
  </div> */}
28
- </div>
29
- </Container>
29
+ </div>
30
+ </Container>
31
+ </form>
32
+
33
+ <div className="advanced-search">
34
+ <Container>
35
+ <p>
36
+ Looking for more information? Try searching the full EEA website
37
+ content
38
+ </p>
39
+ <a
40
+ href="/"
41
+ className="ui button white inverted"
42
+ title="Advanced search"
43
+ >
44
+ Go to full site search
45
+ </a>
46
+ </Container>
47
+ </div>
30
48
  </div>
31
49
  );
32
50
  }
@@ -46,5 +46,5 @@
46
46
  /*-------------------
47
47
  States
48
48
  --------------------*/
49
- @activeColor: @tertiaryColor;
49
+ @activeColor: @textColor;
50
50
  @activeFontWeight: @normal;
@@ -1,7 +1,7 @@
1
1
  /*******************************
2
2
  Table
3
3
  *******************************/
4
- @tableHoverBackgroundColor: #F9F9F9;
4
+ @tableHoverBackgroundColor: @backgroundColorCSSVar;
5
5
 
6
6
  /*-------------------
7
7
  Element
@@ -61,18 +61,6 @@
61
61
  /*--------------
62
62
  Item
63
63
  ---------------*/
64
- // color item images that are svg files
65
- .item.primary img {
66
- filter: @itemPrimaryFilterColor;
67
- }
68
-
69
- .item.secondary img {
70
- filter: @itemSecondaryFilterColor;
71
- }
72
-
73
- .item.tertiary img {
74
- filter: @itemTertiaryFilterColor;
75
- }
76
64
 
77
65
  .ui.items > .item:after {
78
66
  display: block;
@@ -78,6 +78,9 @@
78
78
  max-width: 100%;
79
79
  }
80
80
 
81
+ .accordion-title:not(.active) .ui.input input {
82
+ color: @textColorCSSVar;
83
+ }
81
84
  .ui.input input {
82
85
  border: @border;
83
86
 
@@ -115,6 +118,7 @@ textarea.fluid {
115
118
  background: transparent;
116
119
  color: @white;
117
120
  font-size: 16px;
121
+ font-weight: @bold;
118
122
  }
119
123
 
120
124
  i.icon {
@@ -47,7 +47,7 @@
47
47
  @imageAlign: top;
48
48
 
49
49
  /* Item */
50
- @itemColor: @primaryColor;
50
+ @itemColor: @textColorCSSVar;
51
51
 
52
52
  /* Content */
53
53
  @contentDistance: 0.5em;
@@ -58,7 +58,7 @@
58
58
  /* Header */
59
59
  @itemHeaderFontFamily: @headerFont;
60
60
  @itemHeaderFontWeight: @bold;
61
- @itemHeaderColor: @textColor;
61
+ @itemHeaderColor: @textColorCSSVar;
62
62
 
63
63
  /* Description */
64
64
  @itemDescriptionColor: rgba(0, 0, 0, 0.7);
@@ -170,19 +170,19 @@
170
170
 
171
171
  @bulletOpacity: 1;
172
172
  @bulletCharacter: '•';
173
- @bulletColor: @primaryColor;
174
- @bulletLinkColor: @primaryColor;
173
+ @bulletColor: @textColorCSSVar;
174
+ @bulletLinkColor: @primaryColorCSSVar;
175
175
  @bulletVerticalAlign: top;
176
176
  @bulletChildDistance: @bulletDistance;
177
177
 
178
178
  /* Horizontal Bullets */
179
- @horizontalBulletColor: @primaryColor;
179
+ @horizontalBulletColor: @textColorCSSVar;
180
180
  @horizontalBulletSpacing: @bulletDistance + 0.5em;
181
181
 
182
182
  /* Ordered List */
183
183
  @orderedCountName: ordered;
184
184
  @orderedCountContent: counters(ordered, ".") " ";
185
- @orderedCountColor: @primaryColor;
185
+ @orderedCountColor: inherit;
186
186
  @orderedCountDistance: 1.25rem;
187
187
  @orderedCountOpacity: 1;
188
188
  @orderedCountTextAlign: right;
@@ -8,10 +8,10 @@
8
8
  --------------------*/
9
9
 
10
10
  .eea.banner {
11
+ position: relative;
11
12
  width: 100%;
12
- color: @white;
13
13
  background: @bannerBackgroundColor;
14
- position: relative;
14
+ color: @white;
15
15
 
16
16
  .gradient {
17
17
  background: @backgroundGradient;
@@ -32,6 +32,14 @@
32
32
  line-height: @mobileTitleLineHeight;
33
33
  }
34
34
 
35
+ .subtitle {
36
+ max-width: @subtitleMaxWidth;
37
+ margin: @mobileSubtitleMargin;
38
+ font-size: @mobileSubtitleFontSize;
39
+ font-weight: @subtitleFontWeight;
40
+ line-height: @mobileSubtitleLineHeight;
41
+ }
42
+
35
43
  .metadata {
36
44
  font-size: @mobileMetadataFontSize;
37
45
  line-height: @mobileMetadataLineHeight;
@@ -47,8 +55,8 @@
47
55
 
48
56
  .actions {
49
57
  display: flex;
50
- justify-content: flex-end;
51
58
  align-items: @mobileActionsAlignItems;
59
+ justify-content: flex-end;
52
60
 
53
61
  .action {
54
62
  .ui.basic.inverted.button {
@@ -64,21 +72,22 @@
64
72
  }
65
73
 
66
74
  i.icon {
67
- opacity: @bannerActionButtonIconOpacity;
68
75
  margin: @mobileBannerActionButtonMargin;
69
76
  font-size: @mobileBannerActionButtonIconFontSize;
77
+ opacity: @bannerActionButtonIconOpacity;
70
78
  }
71
79
  }
72
80
  }
73
81
  }
74
82
  }
75
83
  }
84
+
76
85
  .image {
77
- background-repeat: @imageBackgroundRepeat;
78
- background-size: @imageBackgroundSize;
79
- background-position: @imageBackgroundPosition;
80
86
  width: 100%;
81
87
  height: 100%;
88
+ background-position: @imageBackgroundPosition;
89
+ background-repeat: @imageBackgroundRepeat;
90
+ background-size: @imageBackgroundSize;
82
91
 
83
92
  .gradient {
84
93
  background-image: @backgroundGradientWithImage;
@@ -104,6 +113,7 @@
104
113
 
105
114
  .actions {
106
115
  flex-flow: column;
116
+
107
117
  i.icon {
108
118
  color: @sharePopupActionsIconColor;
109
119
  }
@@ -132,9 +142,9 @@
132
142
  padding: @tabletContentPadding;
133
143
 
134
144
  .title {
145
+ margin: @tabletTitleMargin;
135
146
  font-size: @tabletTitleFontSize;
136
147
  font-weight: @titleFontWeight;
137
- margin: @tabletTitleMargin;
138
148
  line-height: @tabletTitleLineHeight;
139
149
  }
140
150
 
@@ -144,8 +154,8 @@
144
154
  }
145
155
 
146
156
  .actions {
147
- align-items: @tabletActionsAlignItems;
148
157
  flex-direction: @tabletActionsFlexDirection;
158
+ align-items: @tabletActionsAlignItems;
149
159
 
150
160
  .action {
151
161
  min-width: @tabletActionsActionMinWidth;
@@ -170,8 +180,8 @@
170
180
  min-width: @tabletSharePopupMinWidth;
171
181
 
172
182
  .actions {
173
- flex-flow: row;
174
183
  display: flex;
184
+ flex-flow: row;
175
185
 
176
186
  .action {
177
187
  display: inherit;
@@ -192,10 +202,16 @@
192
202
  padding: @computerContentPadding;
193
203
 
194
204
  .title {
195
- font-size: @computerTitleFontSize;
196
205
  margin: @computerTitleMargin;
206
+ font-size: @computerTitleFontSize;
197
207
  line-height: @computerTitleLineHeight;
198
208
  }
209
+
210
+ .subtitle {
211
+ margin: @computerSubtitleMargin;
212
+ font-size: @computerSubtitleFontSize;
213
+ line-height: @computerSubtitleLineHeight;
214
+ }
199
215
  }
200
216
  }
201
217
  }
@@ -36,6 +36,16 @@
36
36
  @tabletTitleMargin : 0 0 0.813rem 0;
37
37
  @computerTitleMargin : 0 0 1.125rem 0;
38
38
 
39
+ /* Subtitle */
40
+ @subtitleFontWeight : @bold;
41
+ @subtitleMaxWidth : 100%;
42
+ @mobileSubtitleFontSize : 0.875rem;
43
+ @computerSubtitleFontSize : 1.125rem;
44
+ @mobileSubtitleLineHeight : 1rem;
45
+ @computerSubtitleLineHeight: 1.625rem;
46
+ @mobileSubtitleMargin : 0 0 1.125rem 0;
47
+ @computerSubtitleMargin : 0 0 1.25rem 0;
48
+
39
49
  /* Metadata */
40
50
  @metadataTypeFontWeight : @bold;
41
51
  @mobileMetadataFontSize : 0.75rem;
@@ -2,11 +2,11 @@
2
2
  Callout
3
3
  *******************************/
4
4
  /* Body */
5
- @mobileCalloutBorderLeft : @5px solid @secondaryColor;
6
- @tabletCalloutBorderLeft : @10px solid @secondaryColor;
5
+ @mobileCalloutBorderLeft : @5px solid @borderColorSecondaryCSSVar;
6
+ @tabletCalloutBorderLeft : @10px solid @borderColorSecondaryCSSVar;
7
7
 
8
8
  /* Text */
9
- @quoteColor : @japaneseIndigo;
9
+ @quoteColor : @textColorCSSVar;
10
10
  @mobileQuoteFontSize : 1rem;
11
11
  @tabletQuoteFontSize : @h6;
12
12
  @computerQuoteFontSize : @h5;
@@ -28,7 +28,6 @@
28
28
  padding-top: @contentBoxContainerMarginTop;
29
29
  padding-bottom: @contentBoxContainerMarginBottom;
30
30
  position: relative;
31
- z-index: 1;
32
31
  }
33
32
 
34
33
  &.primary {
@@ -46,15 +45,23 @@
46
45
  }
47
46
  }
48
47
 
49
- [class*="content-box"] a {
50
- text-decoration: underline;
51
- }
52
48
  .content-box[class*="ary"] {
53
49
  --bg-color: transparent;
50
+ --border-color-secondary: #FFF;
54
51
  --text-color: #FFF;
55
- --text-color-hover: @grey-1;
52
+ --text-color-primary: #FFF;
53
+ --text-color-secondary: #FFF;
54
+ --text-color-tertiary: #FFF;
55
+ --text-color-hover: @backgroundColorSupplementary;
56
56
  }
57
57
  // inherit link
58
- .content-box[class*="ary"] a {
58
+ .content-box[class*="ary"] a:not(.ui, .item) {
59
59
  color: inherit;
60
+ text-decoration: underline;
61
+ }
62
+
63
+ // inherit color for slate links within context boxes
64
+ .content-box .slate-editor-link {
65
+ color: inherit;
66
+ text-decoration: underline;
60
67
  }
@@ -15,9 +15,8 @@
15
15
  font-size: @h1;
16
16
  }
17
17
 
18
- // remove margin and padding from homepage content-area since we have the bg image over the header
18
+ // remove padding from homepage content-area since we have the bg image over the header
19
19
  .homepage .content-area {
20
- margin-top: 0 !important;
21
20
  padding-top: 0 !important;
22
21
  }
23
22
 
@@ -74,16 +73,32 @@
74
73
  font-weight: inherit;
75
74
  }
76
75
 
77
- // inherit color for slate links within context boxes
78
- .content-box .slate-editor-link {
79
- color: inherit;
80
- }
81
76
 
82
77
  // customize error class from volto-slate to our color of red
83
78
  .error {
84
79
  color: @red-5;
85
80
  }
86
81
 
82
+ .power-user-menu,
83
+ .blocks-chooser {
84
+ --text-color: @textColor;
85
+ }
86
+ .blocks-chooser {
87
+ .searchbox {
88
+ height: auto !important;
89
+ }
90
+ .input {
91
+ width: auto !important;
92
+ }
93
+ .clear-search-button {
94
+ padding: 0.5rem;
95
+ }
96
+ .icon {
97
+ margin-right: 0 !important;
98
+ }
99
+ }
100
+
101
+
87
102
  // ensure background of content-box goes above the content area
88
103
  // draft image for non published pages
89
104
  .view-viewview:not(.wf-state-published) .content-area {
@@ -27,10 +27,10 @@
27
27
  background: @topSectionBackground;
28
28
 
29
29
  .ui.container {
30
+ z-index: @topSectionZindex;
30
31
  display: flex;
31
32
  align-items: center;
32
33
  justify-content: space-between;
33
- z-index: @topSectionZindex;
34
34
  }
35
35
  }
36
36
 
@@ -47,12 +47,12 @@
47
47
  }
48
48
 
49
49
  .top.bar .ui.dropdown {
50
- border: none !important;
50
+ max-width: @dropdownMaxWidth;
51
51
  height: auto !important;
52
+ padding: @mobileDropdownPadding;
53
+ border: none !important;
52
54
  border-radius: @defaultBorderRadius;
53
55
  color: @topSectionItemColor;
54
- padding: @mobileDropdownPadding;
55
- max-width: @dropdownMaxWidth;
56
56
  }
57
57
 
58
58
  .top.bar .ui.active.visible.dropdown {
@@ -71,16 +71,16 @@
71
71
  }
72
72
 
73
73
  .top.bar .ui.dropdown .menu {
74
- left: @dropdownMenuLeft;
75
74
  right: @dropdownMenuRight;
76
- box-shadow: @shadow-4-no-top;
75
+ left: @dropdownMenuLeft;
77
76
  border: none;
77
+ box-shadow: @shadow-4-no-top;
78
78
  }
79
79
 
80
80
  .top.bar .ui.dropdown .menu,
81
81
  .top.bar .ui.dropdown .menu .item {
82
- font-size: @dropdownMenuFontSize;
83
82
  color: @dropdownColor;
83
+ font-size: @dropdownMenuFontSize;
84
84
  }
85
85
 
86
86
  .top.bar .ui.dropdown .menu .item {
@@ -96,9 +96,9 @@
96
96
  .top.bar .ui.dropdown .wrapper {
97
97
  display: flex;
98
98
  flex-direction: column;
99
+ margin: @dropdownMenuWrapperMargin;
99
100
  gap: @dropdownMenuWrapperGap;
100
101
  white-space: @dropdownMenuContentWhiteSpace;
101
- margin: @dropdownMenuWrapperMargin;
102
102
 
103
103
  &.language-list {
104
104
  padding-inline-start: @dropdownMenuLanguageWrapperPaddingInlineStart;
@@ -107,11 +107,11 @@
107
107
 
108
108
  .top.bar .ui.dropdown i.chevron.down.icon {
109
109
  position: absolute;
110
- font-size: @topSectionIconFontSize;
111
- margin-left: @topSectionIconMarginLeft;
112
110
  top: @mobileTopSectionIconTop;
111
+ margin-left: @topSectionIconMarginLeft;
112
+ font-size: @topSectionIconFontSize;
113
113
  line-height: @topSectionIconLineHeight;
114
- transition: .2s;
114
+ transition: 0.2s;
115
115
  }
116
116
 
117
117
  /* Official union dropdown */
@@ -120,9 +120,9 @@
120
120
  gap: @mobileOfficialUnionGap;
121
121
 
122
122
  img {
123
- width: @mobileOfficialUnionImageWidth;
124
123
  position: absolute;
125
124
  z-index: @z-index-1;
125
+ width: @mobileOfficialUnionImageWidth;
126
126
  padding-left: @rem-space-2;
127
127
  }
128
128
 
@@ -130,8 +130,8 @@
130
130
  padding: @mobileOfficialUnionPadding;
131
131
 
132
132
  .menu {
133
- padding: @officialUnionPadding;
134
133
  left: @mobileOfficialUnionMenuLeft;
134
+ padding: @officialUnionPadding;
135
135
 
136
136
  .content {
137
137
  max-width: @mobileOfficialUnionMaxWidth;
@@ -139,6 +139,7 @@
139
139
  p {
140
140
  white-space: @dropdownMenuContentWhiteSpace;
141
141
  }
142
+
142
143
  a {
143
144
  font-weight: @officialUnionLinkFontWeight;
144
145
  white-space: @dropdownMenuContentWhiteSpace;
@@ -150,7 +151,6 @@
150
151
 
151
152
  /* Theme sites dropdown */
152
153
  #theme-sites.ui.dropdown .menu {
153
-
154
154
  .wrapper {
155
155
  width: @mobileThemeSitesMenuWidth;
156
156
 
@@ -171,13 +171,14 @@
171
171
 
172
172
  /* Language dropdown */
173
173
  #language-switcher {
174
- padding: @mobileLanguageMenuPadding;
175
174
  flex-direction: row-reverse;
175
+ padding: @mobileLanguageMenuPadding;
176
176
 
177
177
  img {
178
178
  width: @mobileLanguageImageWidth;
179
179
  margin-right: @topSectionIconMarginRight;
180
180
  }
181
+
181
182
  .menu {
182
183
  .wrapper {
183
184
  .item {
@@ -202,25 +203,25 @@
202
203
  ----------------------------------------------------------------------------*/
203
204
 
204
205
  .main.bar.transparency:before {
205
- background-color: @headerMainSectionTransparency;
206
- display: block;
207
- content: " ";
208
- top: 0;
206
+ position: absolute;
209
207
  z-index: 0;
208
+ top: 0;
209
+ display: block;
210
210
  width: 100%;
211
211
  height: 100%;
212
- position: absolute;
212
+ background-color: @headerMainSectionTransparency;
213
+ content: ' ';
213
214
  }
214
215
 
215
216
  .main.bar {
216
- scrollbar-gutter: stable;
217
217
  background: @headerMainSectionBackground;
218
+ scrollbar-gutter: stable;
218
219
 
219
220
  .ui.container {
220
221
  display: flex;
222
+ height: @mobileMainSectionHeight;
221
223
  align-items: center;
222
224
  justify-content: space-between;
223
- height: @mobileMainSectionHeight;
224
225
 
225
226
  .ui.grid {
226
227
  // All margins and paddings removed for main header
@@ -229,14 +230,14 @@
229
230
 
230
231
  // Override grid specific paddings for header
231
232
  div:first-child {
232
- padding-left: 0;
233
233
  padding-top: 0;
234
234
  padding-bottom: 0;
235
+ padding-left: 0;
235
236
  }
236
237
 
237
238
  div:last-child {
238
- padding-right: 0;
239
239
  padding-top: 0;
240
+ padding-right: 0;
240
241
  padding-bottom: 0;
241
242
  }
242
243
  }
@@ -245,31 +246,32 @@
245
246
 
246
247
  .main-menu {
247
248
  display: flex;
249
+ width: 100%;
248
250
  align-items: flex-end;
249
251
  justify-content: flex-end;
250
- width: 100%;
251
252
 
252
253
  .item {
253
254
  a {
255
+ align-self: @mainMenuItemAlignSelf;
256
+ border-bottom: @mainMenuItemBorder;
254
257
  color: @mainMenuItemColor;
255
258
  font-size: @mainMenuItemFontSize;
256
259
  font-weight: @mainMenuItemFontWeight;
257
- border-bottom: @mainMenuItemBorder;
258
- align-self: @mainMenuItemAlignSelf;
259
260
  }
261
+
260
262
  a:hover {
261
263
  border-bottom: @mainMenuItemActiveBorder;
262
264
  }
263
265
  }
264
266
 
265
267
  .item.active a {
266
- color: @mainMenuItemActiveColor;
267
268
  border-bottom: @mainMenuItemActiveBorder;
269
+ color: @mainMenuItemActiveColor;
268
270
  }
269
271
  }
270
272
 
271
273
  #main .main-menu .item:first-child {
272
- display: none; // hide home nav item
274
+ display: none; // hide home nav item
273
275
  }
274
276
 
275
277
  .main-menu.inverted {
@@ -278,13 +280,13 @@
278
280
  }
279
281
 
280
282
  .item.active a {
281
- color: @mainMenuItemInvertedColor;
282
283
  border-bottom: @mainMenuInvertedItemActiveBorder;
284
+ color: @mainMenuItemInvertedColor;
283
285
  }
284
286
 
285
287
  a:hover {
286
- color: @mainMenuItemInvertedColor;
287
288
  border-bottom: @mainMenuInvertedItemActiveBorder;
289
+ color: @mainMenuItemInvertedColor;
288
290
  }
289
291
  }
290
292
 
@@ -307,12 +309,13 @@
307
309
  height: 100%;
308
310
  align-items: baseline;
309
311
  }
312
+
310
313
  .wrapper {
311
314
  position: relative;
312
- width: 100%;
313
- margin: @mobilePopupMarginTop 0;
314
315
  display: flex;
316
+ width: 100%;
315
317
  flex-direction: column;
318
+ margin: @mobilePopupMarginTop 0;
316
319
  gap: @searchBoxWrapperGap;
317
320
 
318
321
  .action {
@@ -320,22 +323,46 @@
320
323
  justify-content: center;
321
324
  }
322
325
  }
326
+
327
+ .advanced-search {
328
+ padding: @searchBoxFullSearchPadding;
329
+ border-top: @searchBoxFullSearchBorder;
330
+ border-bottom: @searchBoxFullSearchBorder;
331
+ background-color: @searchBoxFullSearchBackground;
332
+ box-shadow: @searchBoxFullSearchBoxShadow;
333
+ color: @searchBoxFullSearchTextColor;
334
+ font-weight: @searchBoxFullSearchFontWeight;
335
+
336
+ .ui.container {
337
+ justify-content: @searchBoxFullSearchJustifyContent;
338
+ gap: @searchBoxFullSearchGap;
339
+
340
+ @media only screen and (max-width: @tabletBreakpoint) {
341
+ flex-direction: @tabletSearchBoxFullSearchFlexDirection;
342
+ align-items: @tabletSearchBoxFullSearchAlignItems;
343
+ text-align: @tabletSearchBoxFullSearchTextAlign;
344
+ }
345
+ }
346
+ }
323
347
  }
324
348
 
325
349
  @media all and (max-width: @largestMobileScreen) {
350
+ .homepage .content-area {
351
+ margin-top: -@mobileMainSectionHeight;
352
+ }
326
353
  .eea.header .top.bar .ui.container {
327
354
  width: 100% !important; //override semantic auto to display content with space between them
328
355
  }
329
356
  }
357
+
330
358
  .homepage .eea.header {
331
- position: absolute;
332
- top: 0;
359
+ position: relative;
333
360
  z-index: 1;
334
361
  width: 100%;
335
362
  }
336
363
  // reduce width of header when we have toolbar open for better placement
337
364
  .has-toolbar.homepage .eea.header {
338
- width: 96%;
365
+ width: 96%;
339
366
  }
340
367
 
341
368
  /*----------------------------------------------------------------------------
@@ -343,12 +370,12 @@
343
370
  ----------------------------------------------------------------------------*/
344
371
  .burger-action {
345
372
  display: flex;
346
- align-items: center;
347
- justify-content: center;
348
- cursor: pointer;
349
373
  width: @mobileActionsBoxWidth;
350
374
  height: @mobileMainSectionHeight;
375
+ align-items: center;
376
+ justify-content: center;
351
377
  background-color: @burgerActionBackgroundColor;
378
+ cursor: pointer;
352
379
  }
353
380
 
354
381
  .burger-action.mobile {
@@ -358,13 +385,13 @@
358
385
  }
359
386
 
360
387
  .search-action {
361
- cursor: pointer;
362
388
  display: flex;
363
389
  width: @mobileActionsBoxWidth;
364
390
  height: @mobileMainSectionHeight;
365
391
  align-items: center;
366
392
  justify-content: center;
367
393
  background-color: @secondaryColor;
394
+ cursor: pointer;
368
395
  }
369
396
 
370
397
  .burger-action,
@@ -375,12 +402,12 @@
375
402
  }
376
403
  // icon to be used
377
404
  i.icon {
405
+ display: flex;
406
+ align-items: center;
407
+ justify-content: center;
378
408
  margin: 0;
379
409
  color: @white;
380
410
  font-size: 1em;
381
- display: flex;
382
- justify-content: center;
383
- align-items: center;
384
411
  }
385
412
  }
386
413
 
@@ -404,7 +431,6 @@
404
431
  height: @tabletMainSectionHeight;
405
432
  }
406
433
 
407
-
408
434
  /*----------------------------------------------------------------------------
409
435
  HEADER TOP BAR TABLET
410
436
  ----------------------------------------------------------------------------*/
@@ -425,7 +451,7 @@
425
451
  width: @tabletOfficialUnionImageWidth;
426
452
  }
427
453
 
428
- .ui.dropdown {
454
+ .ui.dropdown {
429
455
  padding: @tabletOfficialUnionPadding;
430
456
 
431
457
  .menu {
@@ -472,9 +498,14 @@
472
498
  margin-top: @tabletLogoMarginTop;
473
499
  }
474
500
 
501
+ .homepage .content-area {
502
+ margin-top: -@tabletMainSectionHeight !important;
503
+ }
504
+
475
505
  /* Search box */
476
506
  #search-box {
477
507
  height: @tabletPopUpHeight;
508
+
478
509
  .wrapper {
479
510
  margin: @tabletPopupMarginTop 0;
480
511
  }
@@ -482,7 +513,6 @@
482
513
  }
483
514
 
484
515
  @media only screen and (min-width: @computerBreakpoint) {
485
-
486
516
  .burger-action.mobile {
487
517
  display: none;
488
518
  }
@@ -508,13 +538,13 @@
508
538
  top: @computerTopSectionIconTop;
509
539
  }
510
540
 
511
- .top.bar .official-union {
541
+ .top.bar .official-union {
512
542
  .ui.dropdown {
513
543
  padding: @computerOfficialUnionPadding;
514
544
 
515
545
  .menu {
516
546
  .content {
517
- max-width: @computerOfficialUnionMaxWidth;
547
+ max-width: @computerOfficialUnionMaxWidth;
518
548
  }
519
549
  }
520
550
  }
@@ -525,7 +555,7 @@
525
555
  .wrapper {
526
556
  width: @computerThemeSitesMenuWidth;
527
557
  }
528
- }
558
+ }
529
559
 
530
560
  #language-switcher {
531
561
  padding: @computerLanguageMenuPadding;
@@ -544,10 +574,10 @@
544
574
  height: @computerMainSectionHeight;
545
575
 
546
576
  .ui.text.menu {
547
- flex-wrap: wrap;
548
577
  display: flex;
549
578
  width: 88%;
550
579
  max-height: 100%;
580
+ flex-wrap: wrap;
551
581
  justify-content: space-between;
552
582
  margin: 0;
553
583
 
@@ -563,6 +593,10 @@
563
593
  margin-top: @computerLogoMarginTop;
564
594
  }
565
595
 
596
+ .homepage .content-area {
597
+ margin-top: -@computerMainSectionHeight !important;
598
+ }
599
+
566
600
  /* Search box */
567
601
  #search-box {
568
602
  height: @computerPopUpHeight;
@@ -583,37 +617,37 @@
583
617
 
584
618
  #mega-menu {
585
619
  position: absolute;
620
+ z-index: @z-index-8;
586
621
  right: 0;
587
622
  overflow: auto;
588
- z-index: @z-index-8;
589
623
  width: @mobileMegaMenuWidth;
590
- background: @megaMenuBackgroundColor;
591
- color: @megaMenuTextColor;
592
- max-height: @mobilePopUpHeight;
593
624
  min-height: @size-11;
625
+ max-height: @mobilePopUpHeight;
594
626
  padding: @mobileMegaMenuPadding;
627
+ background: @megaMenuBackgroundColor;
628
+ color: @megaMenuTextColor;
595
629
 
596
630
  .ui.container {
597
631
  display: inherit;
598
- align-items: baseline;
599
632
  height: 100%;
633
+ align-items: baseline;
600
634
  }
601
635
 
602
636
  .title {
603
637
  font-size: @megaMenuTitleFontSize;
604
638
  font-weight: @megaMenuTitleFontWeight;
639
+
605
640
  .title-img {
606
641
  margin-left: @megaMenuTitleImgMarginLeft;
607
642
  }
608
643
  }
609
644
 
610
645
  .sub-title {
646
+ color: @megaMenuTextColor;
611
647
  font-size: @megaMenuSubTitleFontSize;
612
648
  font-weight: @megaMenuSubTitleFontWeight;
613
- color: @megaMenuTextColor;
614
-
615
- &+ .ui.grid {
616
649
 
650
+ & + .ui.grid {
617
651
  div.column:first-child {
618
652
  padding-left: 0;
619
653
  }
@@ -628,16 +662,18 @@
628
662
  #mega-menu .ui.list {
629
663
  margin: 0;
630
664
  }
665
+
631
666
  #mega-menu .item {
632
667
  display: flex;
668
+ padding: @megaMenuListItemPadding;
633
669
  font-size: @megaMenuListItemFontSize;
634
670
  font-weight: @megaMenuListItemFontWeight;
635
- padding: @megaMenuListItemPadding;
636
671
  }
637
672
 
638
- #mega-menu a.item {
639
- color: @megaMenuTextColor;
673
+ #mega-menu a.item {
640
674
  display: @megaMenuTextDisplay;
675
+ color: @megaMenuTextColor;
676
+
641
677
  &:hover {
642
678
  text-decoration: @megaMenuTextHoverDecoration;
643
679
  }
@@ -647,16 +683,15 @@
647
683
  }
648
684
  }
649
685
 
650
-
651
686
  #at-a-glance {
652
- background-color: @megaMenuGlanceBackgroundColor;
653
687
  // To override the grid column paddings
654
688
  padding: @megaMenuGlancePaddingLeft !important;
689
+ background-color: @megaMenuGlanceBackgroundColor;
655
690
 
656
691
  .item {
692
+ margin: @megaMenuGlanceListItemMargin;
657
693
  font-size: @megaMenuGlanceListItemFontSize;
658
694
  font-weight: @megaMenuGlanceListItemFontWeight;
659
- margin: @megaMenuGlanceListItemMargin;
660
695
  }
661
696
  }
662
697
 
@@ -675,24 +710,23 @@
675
710
  }
676
711
 
677
712
  #mega-menu .active:not(.title-link) > span {
678
- border-left: @megaMenuListItemActiveBorder;
679
713
  padding-left: @megaMenuListItemActivePadding;
714
+ border-left: @megaMenuListItemActiveBorder;
680
715
  }
681
716
 
682
717
  /*Mega Menu Accordion - Tablet & Mobile */
683
718
  #mega-menu .ui.accordion {
684
719
  .title {
685
- font-size: @megaMenuAccordionTitleFontSize;
686
- color: @megaMenuTextColor;
687
720
  padding: @megaMenuAccordionTitlePadding;
688
721
  border-bottom: @megaMenuAccordionTitleBorderBottom;
722
+ color: @megaMenuTextColor;
723
+ font-size: @megaMenuAccordionTitleFontSize;
689
724
 
690
725
  i:before {
691
726
  font-size: @megaMenuAccordionIconFontSize;
692
727
  }
693
728
 
694
729
  &:hover {
695
-
696
730
  i {
697
731
  color: @megaMenuTextColor;
698
732
  }
@@ -700,21 +734,21 @@
700
734
  }
701
735
 
702
736
  .active.title {
703
- background-color: transparent;
704
737
  border-bottom: @megaMenuAccordionActiveTitleBorderBottom;
738
+ background-color: transparent;
705
739
  }
706
740
 
707
741
  .content {
708
- background: @megaMenuBackgroundColor;
709
742
  padding: @megaMenuAccordionContentPadding;
743
+ background: @megaMenuBackgroundColor;
710
744
 
711
745
  .accordion {
712
746
  margin: @megaMenuNestedAccordionMargin;
713
747
 
714
748
  .title {
749
+ border-bottom: none;
715
750
  font-size: @megaMenuNestedAccordionTitleFontSize;
716
751
  font-weight: @megaMenuNestedAccordionTitleFontWeight;
717
- border-bottom: none;
718
752
  }
719
753
 
720
754
  .content {
@@ -756,18 +790,19 @@
756
790
 
757
791
  @media all and (min-width: @tabletBreakpoint) {
758
792
  #mega-menu {
759
- padding: @tabletMegaMenuPadding;
760
793
  max-height: @tabletPopUpHeight;
794
+ padding: @tabletMegaMenuPadding;
761
795
  }
762
796
  }
763
797
 
764
798
  @media only screen and (min-width: @computerBreakpoint) {
765
799
  #mega-menu {
766
800
  width: 100%;
767
- padding: @computerMegaMenuPadding;
768
801
  max-height: @computerPopUpHeight;
802
+ padding: @computerMegaMenuPadding;
769
803
  }
804
+
770
805
  #mega-menu .title > a {
771
806
  color: @megaMenuTextColor;
772
807
  }
773
- }
808
+ }
@@ -194,6 +194,17 @@
194
194
  /* Search box */
195
195
  @searchBoxBackgroundGradient : linear-gradient(340.97deg, @darkCerulean 9.19%, #009591 77.47%);
196
196
  @searchBoxWrapperGap : 75px;
197
+ @searchBoxFullSearchBackground: rgba(255, 255, 255, 0.1);
198
+ @searchBoxFullSearchBoxShadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);
199
+ @searchBoxFullSearchBorder: 1px solid @white;
200
+ @searchBoxFullSearchFontWeight: @bold;
201
+ @searchBoxFullSearchTextColor: @white;
202
+ @searchBoxFullSearchJustifyContent: center;
203
+ @searchBoxFullSearchGap: 1.5rem;
204
+ @searchBoxFullSearchPadding: 2em 0;
205
+ @tabletSearchBoxFullSearchFlexDirection: column;
206
+ @tabletSearchBoxFullSearchAlignItems: center;
207
+ @tabletSearchBoxFullSearchTextAlign: center;
197
208
 
198
209
  /* Custom shadows for dropdowns */
199
210
  @shadow-topbar-dropdown: 2px 0 2px -5px hsla(@shadow-color, calc(@shadow-strength + 6%));
@@ -16,7 +16,7 @@
16
16
  @tabletQuotePadding : 0.5rem 0 1rem;
17
17
 
18
18
  /* Source */
19
- @sourceTextColor : @secondaryColor;
19
+ @sourceTextColor : @secondaryColorCSSVar;
20
20
  @sourceTextAlign : right;
21
21
  @sourceFontWeight : @bold;
22
22
  @sourceFontSize : 1.25rem;
@@ -30,5 +30,5 @@
30
30
  /* Icon */
31
31
  @mobileQuoteIconSize : 2rem;
32
32
  @tabletQuoteIconSize : 3rem;
33
- @quoteIconColor : @secondaryColor;
33
+ @quoteIconColor : @secondaryColorCSSVar;
34
34
  @quoteDownIconFloat : right;
@@ -13,7 +13,7 @@
13
13
 
14
14
  /* Tag text */
15
15
  @tagNameFontSize : 1rem;
16
- @tagNameFontColor : @japaneseIndigo;
16
+ @tagNameFontColor : @textColorCSSVar;
17
17
  @tagNameFontColorWithBackground : @white;
18
18
  @tagNameFontWeight : 500;
19
19
  @tagNameLineHeight : 1.25rem;
@@ -6,7 +6,7 @@
6
6
  @tagsBodyWidth : 100%;
7
7
 
8
8
  /* Tags Title */
9
- @tagsTitleFontColor : @japaneseIndigo;
9
+ @tagsTitleFontColor : @textColorCSSVar;
10
10
  @tagsTitleMargin : 1rem;
11
11
  @tagsFontWeight : 400;
12
12
  @tagsFontSize : 1.125rem;
@@ -55,8 +55,11 @@
55
55
  --------------------*/
56
56
 
57
57
  @primaryColor : @darkCerulean;
58
+ @primaryColorCSSVar : var(--text-color-primary, @primaryColor);
58
59
  @secondaryColor : @pineGreen;
60
+ @secondaryColorCSSVar : var(--text-color-secondary, @secondaryColor);
59
61
  @tertiaryColor : @deepBlue;
62
+ @tertiaryColorCSSVar : var(--text-color-tertiary, @tertiaryColor);
60
63
 
61
64
  @lightPrimaryColor : @mediumPersianBlue;
62
65
  @lightSecondaryColor : @darkCyan;
@@ -181,7 +184,17 @@
181
184
  @lineHeight : @font-lineheight-3;
182
185
  @mobileLineHeight : @font-lineheight-3;
183
186
  @textColor : @tertiaryColor;
187
+ // use this variable when you want it to be replaced by css variables
188
+ @textColorCSSVar : var(--text-color, @textColor);
189
+ @borderColorCSSVar : var(--border-color, @grey-3);
190
+ @borderColorPrimaryCSSVar: var(--border-color-primary, @primaryColor);
191
+ @borderColorSecondaryCSSVar: var(--border-color-secondary, @secondaryColor);
192
+ @borderColorTertiaryCSSVar: var(--border-color-tertiary, @tertiaryColor);
184
193
  @contentAreaColor : @tertiaryColor;
194
+ @backgroundColor: @grey-0;
195
+ @backgroundColorCSSVar: var(--bg-color, @backgroundColor);
196
+ @backgroundColorSupplementary: @grey-1;
197
+ @backgroundColorSupplementaryCSSVar: var(--bg-color-supplementary, @backgroundColorSupplementary);
185
198
 
186
199
  /*-------------------
187
200
  Paragraph
@@ -122,7 +122,7 @@
122
122
  }
123
123
  .ui.accordion.primary .title:not(.active):hover,
124
124
  .ui.accordion.primary .title:not(.active):hover i {
125
- color: @primaryColor;
125
+ color: @primaryColorCSSVar;
126
126
  }
127
127
 
128
128
  /* Secondary */
@@ -131,7 +131,7 @@
131
131
  }
132
132
  .ui.accordion.secondary .title:not(.active):hover,
133
133
  .ui.accordion.secondary .title:not(.active):hover i {
134
- color: @secondaryColor;
134
+ color: @secondaryColorCSSVar;
135
135
  }
136
136
 
137
137
  /* Tertiary */
@@ -140,5 +140,5 @@
140
140
  }
141
141
  .ui.accordion.tertiary .title:not(.active):hover,
142
142
  .ui.accordion.tertiary .title:not(.active):hover i {
143
- color: @tertiaryColor;
143
+ color: @tertiaryColorCSSVar;
144
144
  }
@@ -10,7 +10,7 @@
10
10
  @titlePadding: 1rem 1.563rem;
11
11
  @titlePadding: @rectangleMedium;
12
12
  @titleFontSize: 1.125rem;
13
- @titleColor: var(--text-color, @textColor);
13
+ @titleColor: @textColorCSSVar;
14
14
  @titleBorderBottom: @1px solid @silverGray;
15
15
  @titleColorHover:var(--text-color-hover, @grey-5);
16
16
  @titleJustifyContent: space-between;
@@ -32,7 +32,7 @@
32
32
  ;
33
33
  @iconVerticalAlign: baseline;
34
34
  @iconTransform: none;
35
- @iconColorHover: @grey-5;
35
+ @iconColorHover: @titleColorHover;
36
36
  @iconInactive: "\ea4e"; // Icon of closed accordion
37
37
  @iconActive: "\EA78"; // Icon of open accordion
38
38
  @iconOrder: 1; // Icon after text of the title
@@ -63,7 +63,7 @@
63
63
  --------------------*/
64
64
 
65
65
  @activeIconTransform: none;
66
- @activeTitleBackground: @white;
66
+ @activeTitleBackground: var(--bg-color, @white);
67
67
  @activeTitleColor: @grey-5;
68
68
  @activeTitleBorderBottom: 0;
69
69
 
@@ -73,7 +73,7 @@
73
73
 
74
74
  /* Styled */
75
75
  @styledWidth: 600px;
76
- @styledBackground: @white;
76
+ @styledBackground: @activeTitleBackground;
77
77
  @styledBorderRadius: 0;
78
78
  @styledBoxShadow: none;
79
79
 
@@ -70,6 +70,19 @@
70
70
  }
71
71
  }
72
72
 
73
+ // color item images that are svg files
74
+ .item.primary img {
75
+ filter: @itemPrimaryFilterColor;
76
+ }
77
+
78
+ .item.secondary img {
79
+ filter: @itemSecondaryFilterColor;
80
+ }
81
+
82
+ .item.tertiary img {
83
+ filter: @itemTertiaryFilterColor;
84
+ }
85
+
73
86
  // decrease margin when using icons instead of images
74
87
  // since the icons have themselves extra whitespace
75
88
  // and we should aim to get about 32px as seen in the figma design
@@ -113,7 +113,7 @@
113
113
  @descriptionMaxWidth: auto;
114
114
  @descriptionFontSize: 1em;
115
115
  @descriptionLineHeight: @lineHeight;
116
- @descriptionColor: @textColor;
116
+ @descriptionColor: @textColorCSSVar;
117
117
 
118
118
  /* Content Image */
119
119
  @contentImageWidth: '';
@@ -9,10 +9,10 @@
9
9
  @mobileStatisticWidth: 100%;
10
10
  @tabletStatisticWidth: inherit;
11
11
 
12
- @secondaryValueColor: @secondaryColor;
13
- @primaryLabelColor: @primaryColor;
12
+ @secondaryValueColor: @secondaryColorCSSVar;
13
+ @primaryLabelColor: @primaryColorCSSVar;
14
14
 
15
- @verticalMargin: 1em;
15
+ @verticalMargin: 1.5em;
16
16
  @margin: @verticalMargin 0em;
17
17
  @textAlign: center;
18
18
  @maxWidth: auto;
@@ -20,7 +20,7 @@
20
20
  /* Group */
21
21
  @horizontalSpacing: 1.5em;
22
22
  @rowSpacing: 2em;
23
- @groupMargin: @verticalMargin -@horizontalSpacing -@rowSpacing;
23
+ @groupMargin: @verticalMargin 0;
24
24
 
25
25
  /* Group Element */
26
26
  @elementMargin: @rowSpacing @horizontalSpacing @rowSpacing;
@@ -36,7 +36,7 @@
36
36
  @valueFont: @pageFont;
37
37
  @valueFontWeight: @normal;
38
38
  @valueLineHeight: 1.5em;
39
- @valueColor: @secondaryColor;
39
+ @valueColor: @secondaryColorCSSVar;
40
40
  @valueTextTransform: none;
41
41
 
42
42
  /* Label */
@@ -45,7 +45,7 @@
45
45
  @bottomLabelDistance: 0rem;
46
46
  @labelFont: @headerFont;
47
47
  @labelFontWeight: @bold;
48
- @labelColor: @primaryColor;
48
+ @labelColor: @primaryColorCSSVar;
49
49
  @labelLineHeight: @relativeLarge;
50
50
  @labelTextTransform: none;
51
51