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

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,45 @@ 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.5](https://github.com/eea/volto-eea-design-system/compare/0.9.4...0.9.5) - 20 October 2022
8
+
9
+ #### :bug: Bug Fixes
10
+
11
+ - fix(statistic): margin and slate colors when using the inverted options [David Ichim - [`f263dea`](https://github.com/eea/volto-eea-design-system/commit/f263dea1940594ad00b3548c8640ca378fee5563)]
12
+
13
+ ### [0.9.4](https://github.com/eea/volto-eea-design-system/compare/0.9.3...0.9.4) - 19 October 2022
14
+
15
+ #### :bug: Bug Fixes
16
+
17
+ - 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)]
18
+ - 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)]
19
+ - 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)]
20
+ - fix(content-box): adding of underline to links [David Ichim - [`c2f5f0f`](https://github.com/eea/volto-eea-design-system/commit/c2f5f0f45963e48342edb0046d84b945ffe4b6a8)]
21
+
22
+ #### :nail_care: Enhancements
23
+
24
+ - change(banner,colors): content box theme aware colors banner changes#254 from eea/develop [ichim-david - [`bcb9a8c`](https://github.com/eea/volto-eea-design-system/commit/bcb9a8cde0cb0f927a68c0872e590e5ab853f824)]
25
+ - 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)]
26
+ - change(Banner): Show label in metadata field [kreafox - [`1acda3c`](https://github.com/eea/volto-eea-design-system/commit/1acda3c53739b610b501a53baf10226769929d2d)]
27
+ - change(Banner): Add subtitle subcomponent [kreafox - [`bb67f4c`](https://github.com/eea/volto-eea-design-system/commit/bb67f4c83a2ff0e17958116fc4a52a426ba64a70)]
28
+ - 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)]
29
+ - change(colors): introduced css variables for primary colors #247 [ichim-david - [`ac80825`](https://github.com/eea/volto-eea-design-system/commit/ac8082590f978ab953ece70082e06b124c292ddf)]
30
+ - change(colors): added backgroundColorSupplementary color variable [David Ichim - [`1f5262a`](https://github.com/eea/volto-eea-design-system/commit/1f5262af2b90d2ffd9dd5560232f3bf47bcc85e3)]
31
+ - change(colors): added backgroundColor color variable [David Ichim - [`b7e6831`](https://github.com/eea/volto-eea-design-system/commit/b7e68311f77a724c49a3cf858a76239ca5f6876c)]
32
+ - change(accordion): allow customization of accordion title background color [David Ichim - [`6590baf`](https://github.com/eea/volto-eea-design-system/commit/6590baf1716867eabe897e765ae1924122ba2333)]
33
+ - 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)]
34
+ - change(quote): use secondary css var for easier color replacement [David Ichim - [`7a32312`](https://github.com/eea/volto-eea-design-system/commit/7a3231228c2eb9b420cc7b59a4a07fba96643e5e)]
35
+ - change(item): moved svg filter definitions to item.overrides [David Ichim - [`de70366`](https://github.com/eea/volto-eea-design-system/commit/de703661065648968903bb6b46efc13d19c51d2b)]
36
+ - 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)]
37
+ - change(content-box): override primary text color to white as well [David Ichim - [`28b43c7`](https://github.com/eea/volto-eea-design-system/commit/28b43c72b9fcfeb153ac7e734bbbca67f2e42111)]
38
+ - change(colors): in lists and callouts to allow color changes [David Ichim - [`940d1b8`](https://github.com/eea/volto-eea-design-system/commit/940d1b8ed815b1a38f78d7602f0b221b48fe21f9)]
39
+ - change(styling): modified naming of theme css variables [David Ichim - [`a332961`](https://github.com/eea/volto-eea-design-system/commit/a332961e1c4d55cdee3a8bcdf652f53cf03e251b)]
40
+ - 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)]
41
+
42
+ #### :hammer_and_wrench: Others
43
+
44
+ - Include changes in the storybook [kreafox - [`a4d9fa4`](https://github.com/eea/volto-eea-design-system/commit/a4d9fa4c631a6a1ec0d7d525721fd32c5ff01d9c)]
45
+ ### [0.9.3](https://github.com/eea/volto-eea-design-system/compare/0.9.2...0.9.3) - 4 October 2022
8
46
 
9
47
  #### :bug: Bug Fixes
10
48
 
@@ -16,6 +54,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
16
54
 
17
55
  #### :nail_care: Enhancements
18
56
 
57
+ - change(jenkins): added yarn policy for storybook building [ichim-david - [`3d1b844`](https://github.com/eea/volto-eea-design-system/commit/3d1b844efeea40b99c00c9aa97089e0a0be58a57)]
19
58
  - change(docusaurus): typography updates [ichim-david - [`60a93a4`](https://github.com/eea/volto-eea-design-system/commit/60a93a4aece4e478ae13c2dfe697fd3703aa178a)]
20
59
  - change(accordion): allow customization of accordion title with css variables [David Ichim - [`15e7d27`](https://github.com/eea/volto-eea-design-system/commit/15e7d27f02c640df582f51a51ef36e645723f842)]
21
60
  - 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 +89,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
50
89
  #### :hammer_and_wrench: Others
51
90
 
52
91
  - Merge pull request #243 from eea/develop [ichim-david - [`576564c`](https://github.com/eea/volto-eea-design-system/commit/576564ce395ee6ac9e74bcb19d5c4f0b4cd3c33b)]
92
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`4a5be6e`](https://github.com/eea/volto-eea-design-system/commit/4a5be6eec78dae230626e61ea2c77e7f3c62510d)]
53
93
  - Back to dev [Alin Voinea - [`b251255`](https://github.com/eea/volto-eea-design-system/commit/b251255a7ed14d8290717726d86eaf54b87aa2d4)]
54
94
  ### [0.9.0](https://github.com/eea/volto-eea-design-system/compare/0.8.1...0.9.0) - 19 September 2022
55
95
 
@@ -805,6 +845,10 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
805
845
  #### :hammer_and_wrench: Others
806
846
 
807
847
  - prettier changes [David Ichim - [`134da52`](https://github.com/eea/volto-eea-design-system/commit/134da52549b9d5eac5a12b7ad3005073500ac2c4)]
848
+ - [JENKINSFILE] remove debug, add error per stage [valentinab25 - [`903eecd`](https://github.com/eea/volto-eea-design-system/commit/903eecdb6bcbb8d73cff5e447d80c85e2a2c906d)]
849
+ - [JENKINSFILE] mention comment author in comment [valentinab25 - [`39a26aa`](https://github.com/eea/volto-eea-design-system/commit/39a26aa1ff0f35e93e8df9f442c29c5ab79ff493)]
850
+ - [JENKINSFILE] format PR comments [valentinab25 - [`739438c`](https://github.com/eea/volto-eea-design-system/commit/739438c64950c745d630d1998314a2bed595b23a)]
851
+ - [JENKINSFILE] Add failure comment, no jenkins fail [valentinab25 - [`c325bf1`](https://github.com/eea/volto-eea-design-system/commit/c325bf14f3fb0da150f2a56cda0a9f03d8d8a628)]
808
852
  ### [0.2.3](https://github.com/eea/volto-eea-design-system/compare/0.2.2...0.2.3) - 29 April 2022
809
853
 
810
854
  #### :rocket: New Features
@@ -1229,6 +1273,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1229
1273
  - set profile section overflow to auto [nileshgulia1 - [`71ab47f`](https://github.com/eea/volto-eea-design-system/commit/71ab47f89a433233c14b394c3824e607dd18a393)]
1230
1274
  - remove segment custom width [nileshgulia1 - [`1d3ea40`](https://github.com/eea/volto-eea-design-system/commit/1d3ea40f98bbdc1eab95b4da739a659b5e29ec16)]
1231
1275
  - fix profile section css overflow [nileshgulia1 - [`db5126f`](https://github.com/eea/volto-eea-design-system/commit/db5126fc902e191d1e18fb7e4c54877c8d8786e6)]
1276
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`647a6e3`](https://github.com/eea/volto-eea-design-system/commit/647a6e3e2093f2c4884c356eb148453551c8f33f)]
1232
1277
  - fix warning related to proptype [nileshgulia1 - [`946c6c6`](https://github.com/eea/volto-eea-design-system/commit/946c6c6bc9dece0985ae4b9f9cad6ece2be0ff2c)]
1233
1278
  - removed override already present in card.less [ichim-david - [`50d2ab2`](https://github.com/eea/volto-eea-design-system/commit/50d2ab26f85c8f409da02ec128cc1df34848ca69)]
1234
1279
  - update [Miu Razvan - [`bbcab87`](https://github.com/eea/volto-eea-design-system/commit/bbcab87ef4c8475f347f0daf4ab7e428e69c2316)]
@@ -1315,6 +1360,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1315
1360
  - remove segment custom width [nileshgulia1 - [`4a60d84`](https://github.com/eea/volto-eea-design-system/commit/4a60d84d5fe76578b7760aa1dad6eef9a20916a7)]
1316
1361
  - Reformat header.less [Tiberiu Ichim - [`1f99dfc`](https://github.com/eea/volto-eea-design-system/commit/1f99dfc82c165304ca5600ce5138c1233615ab69)]
1317
1362
  - fix profile section css overflow [nileshgulia1 - [`8fd2654`](https://github.com/eea/volto-eea-design-system/commit/8fd265413149f1b5e033dffa0fbcb5ef5ecad15f)]
1363
+ - Add Sonarqube tag using eea-website-frontend addons list [EEA Jenkins - [`6051724`](https://github.com/eea/volto-eea-design-system/commit/6051724437a38675e659c797bb5586ef81286ec0)]
1318
1364
  - fix warning related to proptype [nileshgulia1 - [`824b9be`](https://github.com/eea/volto-eea-design-system/commit/824b9beff77aae139882cd50a1d670a02ec6f723)]
1319
1365
  - refactor breadcrumbs component, make it functional and customizable [nileshgulia1 - [`4ec374e`](https://github.com/eea/volto-eea-design-system/commit/4ec374e20565eb0a5aed0ff67a02cd6f77eba1f0)]
1320
1366
  - removed override already present in card.less [ichim-david - [`93c4e5a`](https://github.com/eea/volto-eea-design-system/commit/93c4e5aac9cc85ff2cc6c04180f6655d5f5616dc)]
@@ -1883,6 +1929,7 @@ Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
1883
1929
  - Refs #142010 - Optimize Volto-addons gitflow pipelines [valentinab25 - [`3af46d2`](https://github.com/eea/volto-eea-design-system/commit/3af46d2b14fa0b1ef44736f25b0f9ac93b23d18d)]
1884
1930
  - 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
1931
  - 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)]
1932
+ - Add Sonarqube tag using ims-frontend addons list [EEA Jenkins - [`8d657d0`](https://github.com/eea/volto-eea-design-system/commit/8d657d056cde5163cfe90ac66bc973f55d82e5e9)]
1886
1933
  ### [0.1.0](https://github.com/eea/volto-eea-design-system/compare/0.0.1...0.1.0) - 17 November 2021
1887
1934
 
1888
1935
  #### :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.5",
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 {