@eeacms/volto-eea-design-system 0.9.2 → 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 +63 -2
- package/package.json +2 -1
- package/src/ui/Banner/Banner.jsx +7 -1
- package/src/ui/Banner/Banner.stories.jsx +2 -0
- package/src/ui/Header/HeaderSearchPopUp.js +30 -12
- package/theme/themes/eea/collections/breadcrumb.variables +1 -1
- package/theme/themes/eea/collections/menu.overrides +1 -1
- package/theme/themes/eea/collections/menu.variables +2 -2
- package/theme/themes/eea/collections/table.variables +1 -1
- package/theme/themes/eea/elements/input.overrides +10 -3
- package/theme/themes/eea/elements/list.overrides +4 -2
- package/theme/themes/eea/elements/list.variables +6 -6
- package/theme/themes/eea/extras/banner.less +27 -11
- package/theme/themes/eea/extras/banner.variables +10 -0
- package/theme/themes/eea/extras/callout.variables +3 -3
- package/theme/themes/eea/extras/contentBox.less +16 -23
- package/theme/themes/eea/extras/contentBox.variables +1 -0
- package/theme/themes/eea/extras/custom.overrides +38 -2
- package/theme/themes/eea/extras/header.less +109 -74
- package/theme/themes/eea/extras/header.variables +11 -0
- package/theme/themes/eea/extras/quote.variables +2 -2
- package/theme/themes/eea/extras/tag.variables +1 -1
- package/theme/themes/eea/extras/tagList.variables +1 -1
- package/theme/themes/eea/globals/site.variables +14 -1
- package/theme/themes/eea/modules/accordion.overrides +5 -3
- package/theme/themes/eea/modules/accordion.variables +8 -7
- package/theme/themes/eea/modules/tab.overrides +4 -0
- package/theme/themes/eea/modules/tab.variables +1 -1
- package/theme/themes/eea/views/card.overrides +5 -0
- package/theme/themes/eea/views/card.variables +3 -2
- package/theme/themes/eea/views/item.overrides +13 -0
- package/theme/themes/eea/views/item.variables +5 -1
- package/theme/themes/eea/views/statistic.variables +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -4,11 +4,72 @@ 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.
|
|
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
|
|
|
11
|
-
- fix(
|
|
42
|
+
- fix(List): Ordered list item story - refs #155248 [Alin Voinea - [`c70a2bc`](https://github.com/eea/volto-eea-design-system/commit/c70a2bceecf4ce9497cbe0e9cdb30944fff2287d)]
|
|
43
|
+
- fix(OrderedList): li third level margin left - refs #155248 [Alin Voinea - [`fba5cb9`](https://github.com/eea/volto-eea-design-system/commit/fba5cb9d3897d2827951cd218405b1ae7c8e818a)]
|
|
44
|
+
- fix(card, contentBox): meta font size, removed header override of cards [David Ichim - [`a7f94b9`](https://github.com/eea/volto-eea-design-system/commit/a7f94b9ca8c65a887ced5c4812563a2226fca869)]
|
|
45
|
+
- fix(accordion): Fix content default padding - refs #153783 [Alin Voinea - [`566adf7`](https://github.com/eea/volto-eea-design-system/commit/566adf7a53c48fb24044eeba1d159d5ce715ecc6)]
|
|
46
|
+
- fix(cards): inherit color of card description [David Ichim - [`ceda799`](https://github.com/eea/volto-eea-design-system/commit/ceda79971663785c81292b85ae07b7f9f922213c)]
|
|
47
|
+
|
|
48
|
+
#### :nail_care: Enhancements
|
|
49
|
+
|
|
50
|
+
- change(jenkins): added yarn policy for storybook building [ichim-david - [`3d1b844`](https://github.com/eea/volto-eea-design-system/commit/3d1b844efeea40b99c00c9aa97089e0a0be58a57)]
|
|
51
|
+
- change(docusaurus): typography updates [ichim-david - [`60a93a4`](https://github.com/eea/volto-eea-design-system/commit/60a93a4aece4e478ae13c2dfe697fd3703aa178a)]
|
|
52
|
+
- change(accordion): allow customization of accordion title with css variables [David Ichim - [`15e7d27`](https://github.com/eea/volto-eea-design-system/commit/15e7d27f02c640df582f51a51ef36e645723f842)]
|
|
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)]
|
|
54
|
+
- change(tabs): allow customization of tab active and hover color [David Ichim - [`4370f42`](https://github.com/eea/volto-eea-design-system/commit/4370f4270dcaa29b1193fc2347567b748f6d5d82)]
|
|
55
|
+
- change(site): committed fixed from custom into eea design package [David Ichim - [`9b9a1fd`](https://github.com/eea/volto-eea-design-system/commit/9b9a1fd3648796a502ca4eb3abd08b61b33bdff2)]
|
|
56
|
+
- change(tabs): color for tabs-block section [David Ichim - [`6778c92`](https://github.com/eea/volto-eea-design-system/commit/6778c923618e725194120d7f35e2ee7d66e1be8e)]
|
|
57
|
+
- change(accordion, site): change text color to tertiary instead of black [David Ichim - [`4641058`](https://github.com/eea/volto-eea-design-system/commit/464105842508a62216aa0a3f28e9565af1b93232)]
|
|
58
|
+
- change(cards): by default date is set to appear on the right of the meta section [David Ichim - [`b7b80e8`](https://github.com/eea/volto-eea-design-system/commit/b7b80e86b69a0179f1e48748bef909bbd2a98d58)]
|
|
59
|
+
- change(item): added item image coloring when applying theming classes [David Ichim - [`0403fe4`](https://github.com/eea/volto-eea-design-system/commit/0403fe4974f37a46ec7418d9b8492ad74d7c5688)]
|
|
60
|
+
- change(cards): carousel dots are now relative positioned [David Ichim - [`daa40a4`](https://github.com/eea/volto-eea-design-system/commit/daa40a4ab6532497830d5f7536bf0a7f20d9cd00)]
|
|
61
|
+
|
|
62
|
+
#### :house: Documentation changes
|
|
63
|
+
|
|
64
|
+
- docs(typography): token fix to match used values for lineheight [Dora Anastasiou - [`ff41b56`](https://github.com/eea/volto-eea-design-system/commit/ff41b56b4365a3e70ac20e548c7c74671e7c584c)]
|
|
65
|
+
- docs(typography): token fix to match used values for heightheight and letterspacing [Dora Anastasiou - [`91693ec`](https://github.com/eea/volto-eea-design-system/commit/91693ecd2dd367cd83fa2752756557d463e214a7)]
|
|
66
|
+
- docs(typography): remove semibold [Giorgos Stamatis - [`6eb3e08`](https://github.com/eea/volto-eea-design-system/commit/6eb3e0856f01aacf6d294f68e7d845f74f752685)]
|
|
67
|
+
- docs(typography): update, local fonts [Giorgos Stamatis - [`39a32d9`](https://github.com/eea/volto-eea-design-system/commit/39a32d9aa4dec21c0e7df32aa5798432fc6bd403)]
|
|
68
|
+
|
|
69
|
+
#### :hammer_and_wrench: Others
|
|
70
|
+
|
|
71
|
+
- test(cypress): Fix md5 dependency [Alin Voinea - [`17f618e`](https://github.com/eea/volto-eea-design-system/commit/17f618e7c5eef01759494e787a8c9cb96449fbca)]
|
|
72
|
+
### [0.9.2](https://github.com/eea/volto-eea-design-system/compare/0.9.1...0.9.2) - 27 September 2022
|
|
12
73
|
|
|
13
74
|
### [0.9.1](https://github.com/eea/volto-eea-design-system/compare/0.9.0...0.9.1) - 27 September 2022
|
|
14
75
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eeacms/volto-eea-design-system",
|
|
3
|
-
"version": "0.9.
|
|
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",
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"react-countup": "^6.3.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
+
"md5": "^2.3.0",
|
|
29
30
|
"@cypress/code-coverage": "^3.9.5",
|
|
30
31
|
"babel-plugin-transform-class-properties": "^6.24.1"
|
|
31
32
|
},
|
package/src/ui/Banner/Banner.jsx
CHANGED
|
@@ -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
|
|
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
|
-
<
|
|
14
|
-
<
|
|
15
|
-
<
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
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
|
-
|
|
29
|
-
|
|
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
|
}
|
|
@@ -287,7 +287,7 @@
|
|
|
287
287
|
@secondaryPointingItemHorizontalPadding;
|
|
288
288
|
border-bottom: @secondaryPointingActiveBorderWidth solid @secondaryColor;
|
|
289
289
|
margin-bottom: -@secondaryPointingctiveItemMarginBottom;
|
|
290
|
-
color: @secondaryPointingActiveTextColor;
|
|
290
|
+
color: var(--text-color, @secondaryPointingActiveTextColor);
|
|
291
291
|
}
|
|
292
292
|
|
|
293
293
|
/* Menu items custom border for responsive issues */
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
color @defaultDuration @defaultEasing
|
|
31
31
|
;
|
|
32
32
|
@itemFontWeight: @normal;
|
|
33
|
-
@itemTextColor: @deepBlue;
|
|
33
|
+
@itemTextColor: var(--text-color, @deepBlue);
|
|
34
34
|
|
|
35
35
|
/* Divider */
|
|
36
36
|
@dividerSize: 1px;
|
|
@@ -254,7 +254,7 @@
|
|
|
254
254
|
// Pastanaga custom
|
|
255
255
|
@secondaryPointingItemTextTransform: uppercase;
|
|
256
256
|
|
|
257
|
-
@secondaryPointingHoverTextColor: @textColor;
|
|
257
|
+
@secondaryPointingHoverTextColor: var(--text-color-hover, @textColor);
|
|
258
258
|
|
|
259
259
|
@secondaryPointingActiveBorderColor: @secondaryColor;
|
|
260
260
|
@secondaryPointingActiveTextColor: @secondaryColor;
|
|
@@ -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 {
|
|
@@ -125,15 +129,18 @@ textarea.fluid {
|
|
|
125
129
|
}
|
|
126
130
|
|
|
127
131
|
.ui.fluid.icon.input.search > input::-webkit-input-placeholder {
|
|
128
|
-
|
|
132
|
+
opacity: 0.9;
|
|
133
|
+
color: rgb(255, 255, 255);
|
|
129
134
|
}
|
|
130
135
|
|
|
131
136
|
.ui.fluid.icon.input.search > input::-moz-placeholder {
|
|
132
|
-
|
|
137
|
+
opacity: 0.9;
|
|
138
|
+
color: rgb(255, 255, 255);
|
|
133
139
|
}
|
|
134
140
|
|
|
135
141
|
.ui.fluid.icon.input.search > input::-ms-input-placeholder {
|
|
136
|
-
|
|
142
|
+
opacity: 0.9;
|
|
143
|
+
color: rgb(255, 255, 255);
|
|
137
144
|
}
|
|
138
145
|
|
|
139
146
|
@media only screen and (min-width: @tabletBreakpoint) {
|
|
@@ -28,11 +28,13 @@ ul.ui.list li:before {
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
// Third layer margin fix
|
|
31
|
-
.ui.ordered.list .list .list > .item:before
|
|
31
|
+
.ui.ordered.list .list .list > .item:before,
|
|
32
|
+
.ui.ordered.list .list .list > li:before {
|
|
32
33
|
margin-left: @orderedGrandchildCountOffset;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
// Fourth layer margin fix
|
|
36
|
-
.ui.ordered.list .list .list .list > .item:before
|
|
37
|
+
.ui.ordered.list .list .list .list > .item:before,
|
|
38
|
+
.ui.ordered.list .list .list .list > li:before {
|
|
37
39
|
margin-left: @orderedGreatGrandchildCountOffset;
|
|
38
40
|
}
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
@imageAlign: top;
|
|
48
48
|
|
|
49
49
|
/* Item */
|
|
50
|
-
@itemColor: @
|
|
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: @
|
|
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: @
|
|
174
|
-
@bulletLinkColor: @
|
|
173
|
+
@bulletColor: @textColorCSSVar;
|
|
174
|
+
@bulletLinkColor: @primaryColorCSSVar;
|
|
175
175
|
@bulletVerticalAlign: top;
|
|
176
176
|
@bulletChildDistance: @bulletDistance;
|
|
177
177
|
|
|
178
178
|
/* Horizontal Bullets */
|
|
179
|
-
@horizontalBulletColor: @
|
|
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:
|
|
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
|
-
|
|
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 @
|
|
6
|
-
@tabletCalloutBorderLeft : @10px solid @
|
|
5
|
+
@mobileCalloutBorderLeft : @5px solid @borderColorSecondaryCSSVar;
|
|
6
|
+
@tabletCalloutBorderLeft : @10px solid @borderColorSecondaryCSSVar;
|
|
7
7
|
|
|
8
8
|
/* Text */
|
|
9
|
-
@quoteColor : @
|
|
9
|
+
@quoteColor : @textColorCSSVar;
|
|
10
10
|
@mobileQuoteFontSize : 1rem;
|
|
11
11
|
@tabletQuoteFontSize : @h6;
|
|
12
12
|
@computerQuoteFontSize : @h5;
|
|
@@ -28,47 +28,40 @@
|
|
|
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 {
|
|
35
34
|
background-color: @contentBoxBackgroundColorPrimary;
|
|
36
35
|
color: @contentBoxColor;
|
|
37
|
-
.header {
|
|
38
|
-
color: @contentBoxColor !important;
|
|
39
|
-
}
|
|
40
36
|
}
|
|
41
|
-
|
|
42
37
|
&.secondary {
|
|
43
38
|
background-color: @contentBoxBackgroundColorSecondary;
|
|
44
39
|
color: @contentBoxColor;
|
|
45
|
-
.header {
|
|
46
|
-
color: @contentBoxColor !important;
|
|
47
|
-
}
|
|
48
40
|
}
|
|
49
41
|
|
|
50
42
|
&.tertiary {
|
|
51
43
|
background-color: @contentBoxBackgroundColorTertiary;
|
|
52
44
|
color: @contentBoxColor;
|
|
53
|
-
.header {
|
|
54
|
-
color: @contentBoxColor !important;
|
|
55
|
-
}
|
|
56
45
|
}
|
|
57
46
|
}
|
|
58
47
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
text-
|
|
48
|
+
.content-box[class*="ary"] {
|
|
49
|
+
--bg-color: transparent;
|
|
50
|
+
--border-color-secondary: #FFF;
|
|
51
|
+
--text-color: #FFF;
|
|
52
|
+
--text-color-primary: #FFF;
|
|
53
|
+
--text-color-secondary: #FFF;
|
|
54
|
+
--text-color-tertiary: #FFF;
|
|
55
|
+
--text-color-hover: @backgroundColorSupplementary;
|
|
64
56
|
}
|
|
65
|
-
|
|
57
|
+
// inherit link
|
|
58
|
+
.content-box[class*="ary"] a:not(.ui, .item) {
|
|
66
59
|
color: inherit;
|
|
60
|
+
text-decoration: underline;
|
|
67
61
|
}
|
|
68
62
|
|
|
69
|
-
//
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
}
|
|
74
|
-
|
|
63
|
+
// inherit color for slate links within context boxes
|
|
64
|
+
.content-box .slate-editor-link {
|
|
65
|
+
color: inherit;
|
|
66
|
+
text-decoration: underline;
|
|
67
|
+
}
|
|
@@ -15,9 +15,8 @@
|
|
|
15
15
|
font-size: @h1;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
// remove
|
|
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,6 +73,43 @@
|
|
|
74
73
|
font-weight: inherit;
|
|
75
74
|
}
|
|
76
75
|
|
|
76
|
+
|
|
77
|
+
// customize error class from volto-slate to our color of red
|
|
78
|
+
.error {
|
|
79
|
+
color: @red-5;
|
|
80
|
+
}
|
|
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
|
+
|
|
102
|
+
// ensure background of content-box goes above the content area
|
|
103
|
+
// draft image for non published pages
|
|
104
|
+
.view-viewview:not(.wf-state-published) .content-area {
|
|
105
|
+
z-index: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
// remove margin from block headings overriding blocks.less rule
|
|
109
|
+
.block h1:last-child, .block h2:last-child, .block h3:last-child, .block h4:last-child, .block h5:last-child {
|
|
110
|
+
margin: 0;
|
|
111
|
+
}
|
|
112
|
+
|
|
77
113
|
// tweak padding of workflow progress titles now that
|
|
78
114
|
// we have larger font size
|
|
79
115
|
.progress__item .progress__title {
|