@eeacms/volto-eea-design-system 0.5.1 → 0.5.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 +53 -0
- package/package.json +1 -1
- package/src/semantic.less +4 -0
- package/src/ui/ContentBox/ContentBox.jsx +16 -0
- package/theme/themes/eea/elements/container.overrides +6 -3
- package/theme/themes/eea/extras/contentBox.less +57 -0
- package/theme/themes/eea/extras/contentBox.variables +19 -0
- package/theme/themes/eea/extras/custom.overrides +50 -0
- package/theme/themes/eea/extras/header.less +13 -0
- package/theme/themes/eea/extras/hero.less +20 -5
- package/theme/themes/eea/extras/hero.variables +11 -4
- package/theme/themes/eea/globals/utilities.less +1 -1
- package/theme/themes/eea/views/card.variables +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,8 +4,61 @@ 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.5.4](https://github.com/eea/volto-eea-design-system/compare/0.5.3...0.5.4)
|
|
8
|
+
|
|
9
|
+
- change(content-box): content box links are now underlined [`f7976f5`](https://github.com/eea/volto-eea-design-system/commit/f7976f50f5807a884522d6dba871a2757a1c5a98)
|
|
10
|
+
- Autobuild of docusaurus docs [`89a258a`](https://github.com/eea/volto-eea-design-system/commit/89a258a84ae58ffa0be79baf99d562213e8c8491)
|
|
11
|
+
- fix(header): ensure transparency goes as high as the search icon [`4470e13`](https://github.com/eea/volto-eea-design-system/commit/4470e132e1e70fba3fdfb33fc63a1cc9d62700e8)
|
|
12
|
+
- Autobuild of docusaurus docs [`4f7fa93`](https://github.com/eea/volto-eea-design-system/commit/4f7fa93e6fa1819946d25df9810378bc2bdd860e)
|
|
13
|
+
- change(cards): fix default card color when inside content-boxes [`6fdf3aa`](https://github.com/eea/volto-eea-design-system/commit/6fdf3aabf9515289b36a5822e21edc5d282c4536)
|
|
14
|
+
- Autobuild of docusaurus docs [`30d02ab`](https://github.com/eea/volto-eea-design-system/commit/30d02abaaa713c6ed13aa8ec629476e25307bccb)
|
|
15
|
+
- change(container): removed override of content-box-inner container [`66fe7d4`](https://github.com/eea/volto-eea-design-system/commit/66fe7d45adc631c3ebf0e8dd11de19d7ff60b894)
|
|
16
|
+
- Autobuild of docusaurus docs [`86f4dec`](https://github.com/eea/volto-eea-design-system/commit/86f4dec858e3f335834ea9f4e9ccfba9c06b25a9)
|
|
17
|
+
- change(homepage): added fixes from custom [`c3e0333`](https://github.com/eea/volto-eea-design-system/commit/c3e03331d328f4fd7c6689f93bc1f1156013b8a9)
|
|
18
|
+
- Autobuild of docusaurus docs [`a33eae9`](https://github.com/eea/volto-eea-design-system/commit/a33eae9062cc7bd44a09a6dc60babbde38811bca)
|
|
19
|
+
- change(contentBox): add background as before element instead of using full-width [`7e0a596`](https://github.com/eea/volto-eea-design-system/commit/7e0a5962c1b9cb0d3ef9a8d7b7208eded34eb3ce)
|
|
20
|
+
- Autobuild of docusaurus docs [`2558a85`](https://github.com/eea/volto-eea-design-system/commit/2558a85b2f98adf77204280909984c76e8e209c1)
|
|
21
|
+
- change(hero): add margin top with the height of the top section on edit [`fefa6bb`](https://github.com/eea/volto-eea-design-system/commit/fefa6bb0f513e221ddb587f081c0e7d0c3067dfd)
|
|
22
|
+
- Autobuild of docusaurus docs [`5c8d4d5`](https://github.com/eea/volto-eea-design-system/commit/5c8d4d5329a91fb177ddaaa4044410566f6651ab)
|
|
23
|
+
- fix(block-style): Content box preview in sidebar [`6362766`](https://github.com/eea/volto-eea-design-system/commit/6362766f5e8dabf778e3864d2bb08966a55fc078)
|
|
24
|
+
|
|
25
|
+
#### [0.5.3](https://github.com/eea/volto-eea-design-system/compare/0.5.2...0.5.3)
|
|
26
|
+
|
|
27
|
+
> 16 June 2022
|
|
28
|
+
|
|
29
|
+
- fix(homepage): hero and homepage view fixes for #151156 [`#199`](https://github.com/eea/volto-eea-design-system/pull/199)
|
|
30
|
+
- Autobuild of docusaurus docs [`084402d`](https://github.com/eea/volto-eea-design-system/commit/084402da0b1a56a5eeda970f330bcc1daf4e4cb1)
|
|
31
|
+
- fix(homepage): hero and homepage fixes for #151156 #198 [`43d4efc`](https://github.com/eea/volto-eea-design-system/commit/43d4efc508750e0e9cbb93b9bffc3721be452c5a)
|
|
32
|
+
- change(container): on section-edit modify only left and right padding values [`fe6e3ec`](https://github.com/eea/volto-eea-design-system/commit/fe6e3ec764643ec01e20ae9dbdde921774ef04cd)
|
|
33
|
+
- change(hero): added min height to hero-block-image-wrapper [`3cc37c0`](https://github.com/eea/volto-eea-design-system/commit/3cc37c027597573281710c9db98c687057d261dd)
|
|
34
|
+
- fix(header): fixed top section width on edit page [`ce5898b`](https://github.com/eea/volto-eea-design-system/commit/ce5898b5ee41ea6959a2c454b3fb98216d71feb3)
|
|
35
|
+
- change(utilities): bump z-index of overlay class [`ede3209`](https://github.com/eea/volto-eea-design-system/commit/ede3209556b620d2252bb03d4c994a92b6708fd2)
|
|
36
|
+
- change(hero): spaced hero block has a 3rem margin top and bottom [`c463b03`](https://github.com/eea/volto-eea-design-system/commit/c463b033dda601bfd475b282bc0003200a053d45)
|
|
37
|
+
- change(hero): fixed variable reference for margin of body from homepage [`092b90b`](https://github.com/eea/volto-eea-design-system/commit/092b90b2a902b71cc96132ca3c96108edda56342)
|
|
38
|
+
- change(hero): added extra top margin on hero-block-body from tablet and up within homepage [`64142c3`](https://github.com/eea/volto-eea-design-system/commit/64142c3c45f6a8ea6502842055a2341dcf16088c)
|
|
39
|
+
- change(hero): tweak min height of hero block [`e1271b4`](https://github.com/eea/volto-eea-design-system/commit/e1271b4b5fdcd8205f0bec8b88ab9ae31f62251f)
|
|
40
|
+
- change(card,contentBox): use inherit for text color to inherit black from body [`c1ba3b6`](https://github.com/eea/volto-eea-design-system/commit/c1ba3b6ddc16ddc7394aba8d78cad73b5a8c34cb)
|
|
41
|
+
|
|
42
|
+
#### [0.5.2](https://github.com/eea/volto-eea-design-system/compare/0.5.1...0.5.2)
|
|
43
|
+
|
|
44
|
+
> 14 June 2022
|
|
45
|
+
|
|
46
|
+
- Release [`#194`](https://github.com/eea/volto-eea-design-system/pull/194)
|
|
47
|
+
- [R3] Content box [`#125`](https://github.com/eea/volto-eea-design-system/pull/125)
|
|
48
|
+
- Autobuild of docusaurus docs [`31bc68c`](https://github.com/eea/volto-eea-design-system/commit/31bc68cbfe7ba8b7fc5d02358e777f394e60c48d)
|
|
49
|
+
- feat(ContentBox): Update storybook with available themes [`93b26b2`](https://github.com/eea/volto-eea-design-system/commit/93b26b2f5f1d627aa8049df61257499e4798dd79)
|
|
50
|
+
- feat(ContentBox): Add primary, secondary, tertiary themes [`87cb2fe`](https://github.com/eea/volto-eea-design-system/commit/87cb2fe7e4cd5c2872299756f493e371abcbb05f)
|
|
51
|
+
- Cleanup [`2b128df`](https://github.com/eea/volto-eea-design-system/commit/2b128dface95b560588a343f1ddf7bbaf3efb320)
|
|
52
|
+
- perf(eol): change to lf [`78b2955`](https://github.com/eea/volto-eea-design-system/commit/78b2955ff73d9436134d1a6399040b2d7c7f5714)
|
|
53
|
+
- refactor(contentBox): restructure the component to be more flexible [`f0d2de6`](https://github.com/eea/volto-eea-design-system/commit/f0d2de67e43fafa10052871f99ac841c83cf8157)
|
|
54
|
+
- chore(contentBox) : add lint changes [`5aaf740`](https://github.com/eea/volto-eea-design-system/commit/5aaf740594f0001b1672bb6dc18d973f55c881f0)
|
|
55
|
+
- feat(contentBox) : add new Content Box component [`2ebbb47`](https://github.com/eea/volto-eea-design-system/commit/2ebbb47fe685f9809aa3572263be376d9688371e)
|
|
56
|
+
|
|
7
57
|
#### [0.5.1](https://github.com/eea/volto-eea-design-system/compare/0.5.0...0.5.1)
|
|
8
58
|
|
|
59
|
+
> 13 June 2022
|
|
60
|
+
|
|
61
|
+
- change(header): hero integration fixes [`#193`](https://github.com/eea/volto-eea-design-system/pull/193)
|
|
9
62
|
- Autobuild of docusaurus docs [`ac5df8e`](https://github.com/eea/volto-eea-design-system/commit/ac5df8edab41d37e118d34c6a4b35a64428643d0)
|
|
10
63
|
- change(hero): added styles for adding dark overlay to hero [`bf1d292`](https://github.com/eea/volto-eea-design-system/commit/bf1d292fecfa8a6b222558f0d93f48e19bf6b8ea)
|
|
11
64
|
- Autobuild of docusaurus docs [`3192671`](https://github.com/eea/volto-eea-design-system/commit/31926711a83da6b7744249fd3c801e87ae6910d5)
|
package/package.json
CHANGED
package/src/semantic.less
CHANGED
|
@@ -257,6 +257,10 @@
|
|
|
257
257
|
@import '@eeacms/volto-eea-design-system/../theme/themes/eea/extras/relatedContent';
|
|
258
258
|
}
|
|
259
259
|
|
|
260
|
+
& {
|
|
261
|
+
@import '@eeacms/volto-eea-design-system/../theme/themes/eea/extras/contentBox';
|
|
262
|
+
}
|
|
263
|
+
|
|
260
264
|
& {
|
|
261
265
|
@import '@eeacms/volto-eea-design-system/../theme/themes/eea/extras/downloadLabeledIcon';
|
|
262
266
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Container } from 'semantic-ui-react';
|
|
3
|
+
|
|
4
|
+
function ContentBox({ children, ...rest }) {
|
|
5
|
+
return (
|
|
6
|
+
<div className={`eea content-box ${rest.variant}`}>
|
|
7
|
+
{rest.container ? (
|
|
8
|
+
<Container className={'content-box-inner'}>{children}</Container>
|
|
9
|
+
) : (
|
|
10
|
+
children
|
|
11
|
+
)}
|
|
12
|
+
</div>
|
|
13
|
+
);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export default ContentBox;
|
|
@@ -10,9 +10,12 @@
|
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
// add padding to containers on edit section so that we display add and delete buttons
|
|
13
|
-
.section-edit
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
.section-edit {
|
|
14
|
+
.container {
|
|
15
|
+
width: auto !important;
|
|
16
|
+
padding-left: 3rem;
|
|
17
|
+
padding-right: 3rem;
|
|
18
|
+
}
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
.contentWidth(@offset) {
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
@type: 'extra';
|
|
2
|
+
@element: 'contentBox';
|
|
3
|
+
|
|
4
|
+
@import (multiple) '../../theme.config';
|
|
5
|
+
|
|
6
|
+
/*-------------------
|
|
7
|
+
CONTENT BOX
|
|
8
|
+
--------------------*/
|
|
9
|
+
.content-box:before {
|
|
10
|
+
width: @contentBoxWidth;
|
|
11
|
+
margin-left: -50vw;
|
|
12
|
+
background-color: inherit;
|
|
13
|
+
content: " ";
|
|
14
|
+
position: absolute;
|
|
15
|
+
height: 100%;
|
|
16
|
+
z-index: -1;
|
|
17
|
+
margin-right: -50vw;
|
|
18
|
+
left: 50%;
|
|
19
|
+
right: 50%;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.content-box {
|
|
23
|
+
background-color: @contentBoxBackgroundColor;
|
|
24
|
+
color: @contentBoxColorInverted;
|
|
25
|
+
margin-bottom: @mediumGap;
|
|
26
|
+
position: relative;
|
|
27
|
+
|
|
28
|
+
.content-box-inner {
|
|
29
|
+
padding-top: @contentBoxContainerMarginTop;
|
|
30
|
+
padding-bottom: @contentBoxContainerMarginBottom;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.primary {
|
|
34
|
+
background-color: @contentBoxBackgroundColorPrimary;
|
|
35
|
+
color: @contentBoxColor;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&.secondary {
|
|
39
|
+
background-color: @contentBoxBackgroundColorSecondary;
|
|
40
|
+
color: @contentBoxColor;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&.tertiary {
|
|
44
|
+
background-color: @contentBoxBackgroundColorTertiary;
|
|
45
|
+
color: @contentBoxColor;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// inherit link
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
[class*="content-box"] a {
|
|
53
|
+
text-decoration: underline;
|
|
54
|
+
}
|
|
55
|
+
.content-box[class*="ary"] a {
|
|
56
|
+
color: inherit;
|
|
57
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*******************************
|
|
2
|
+
Content Box
|
|
3
|
+
*******************************/
|
|
4
|
+
|
|
5
|
+
/* Content Box */
|
|
6
|
+
@contentBoxWidth : 100vw;
|
|
7
|
+
@contentBoxColor : @white;
|
|
8
|
+
@contentBoxBackgroundColor: @grey-1;
|
|
9
|
+
@contentBoxColorInverted : inherit;
|
|
10
|
+
|
|
11
|
+
/* Themes */
|
|
12
|
+
@contentBoxBackgroundColorPrimary: @primaryColor;
|
|
13
|
+
@contentBoxBackgroundColorSecondary: @secondaryColor;
|
|
14
|
+
@contentBoxBackgroundColorTertiary: @tertiaryColor;
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/* Container */
|
|
18
|
+
@contentBoxContainerMarginTop : @bigGap;
|
|
19
|
+
@contentBoxContainerMarginBottom : @bigGap;
|
|
@@ -2,3 +2,53 @@
|
|
|
2
2
|
.homepage .stagingBanner {
|
|
3
3
|
display: none !important;
|
|
4
4
|
}
|
|
5
|
+
|
|
6
|
+
// hide breadcrumbs on homepage
|
|
7
|
+
.homepage .breadcrumbs {
|
|
8
|
+
display: none !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
// remove margin and padding from homepage content-area since we have the bg image over the header
|
|
12
|
+
.homepage .content-area {
|
|
13
|
+
margin-top: 0 !important;
|
|
14
|
+
padding-top: 0 !important;
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// set color of default cards to black when we are inside a content-box which has the ability to set
|
|
19
|
+
// color classes
|
|
20
|
+
.content-box [class="ui fluid card"] {
|
|
21
|
+
color: #000;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// remove text decoration on links that might be added by content-box a rule
|
|
25
|
+
.grid-block-teaser a {
|
|
26
|
+
text-decoration: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
// Block style - preset styles
|
|
30
|
+
.style-select-widget {
|
|
31
|
+
.content {
|
|
32
|
+
text-align: center;
|
|
33
|
+
}
|
|
34
|
+
svg.default {
|
|
35
|
+
background-color: @grey-1;
|
|
36
|
+
}
|
|
37
|
+
svg.primary {
|
|
38
|
+
background-color: @primaryColor;
|
|
39
|
+
fill: @white !important;
|
|
40
|
+
}
|
|
41
|
+
svg.secondary {
|
|
42
|
+
background-color: @secondaryColor;
|
|
43
|
+
fill: @white !important;
|
|
44
|
+
}
|
|
45
|
+
svg.tertiary {
|
|
46
|
+
background-color: @tertiaryColor;
|
|
47
|
+
fill: @white !important;
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
// raise z-index of delete button to go above blocks
|
|
52
|
+
.block .ui.basic.button.delete-button {
|
|
53
|
+
z-index: @z-index-5;
|
|
54
|
+
}
|
|
@@ -35,6 +35,11 @@
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
// enlarge top section on edit page due to width auto on container
|
|
39
|
+
.section-edit .top .container {
|
|
40
|
+
flex: 1;
|
|
41
|
+
}
|
|
42
|
+
|
|
38
43
|
.top.bar .item {
|
|
39
44
|
display: flex;
|
|
40
45
|
align-items: center;
|
|
@@ -175,6 +180,7 @@
|
|
|
175
180
|
background-color: @headerMainSectionTransparency;
|
|
176
181
|
display: block;
|
|
177
182
|
content: " ";
|
|
183
|
+
top: 0;
|
|
178
184
|
z-index: 0;
|
|
179
185
|
width: 100%;
|
|
180
186
|
height: 100%;
|
|
@@ -372,6 +378,10 @@
|
|
|
372
378
|
height: @tabletTopSectionHeight;
|
|
373
379
|
}
|
|
374
380
|
|
|
381
|
+
.homepage .block-editor-hero {
|
|
382
|
+
margin-top: @tabletTopSectionHeight;
|
|
383
|
+
}
|
|
384
|
+
|
|
375
385
|
.top.bar .ui.dropdown .menu {
|
|
376
386
|
margin-top: @tabletDropdownMenuMarginTop;
|
|
377
387
|
}
|
|
@@ -452,6 +462,9 @@
|
|
|
452
462
|
.top.bar {
|
|
453
463
|
height: @computerTopSectionHeight;
|
|
454
464
|
}
|
|
465
|
+
.homepage .block-editor-hero {
|
|
466
|
+
margin-top: @computerTopSectionHeight;
|
|
467
|
+
}
|
|
455
468
|
|
|
456
469
|
.top.bar .ui.dropdown .menu {
|
|
457
470
|
margin-top: @computerDropdownMenuMarginTop;
|
|
@@ -11,9 +11,14 @@
|
|
|
11
11
|
position: @heroBlockPosition;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
.eea.hero-block.spaced {
|
|
15
|
+
margin: @heroBlockSpacedMargin;
|
|
16
|
+
}
|
|
17
|
+
|
|
14
18
|
.hero-block-inner-wrapper {
|
|
15
19
|
height: 100%;
|
|
16
20
|
padding-block: @heroBlockWrapperPadding;
|
|
21
|
+
position: relative;
|
|
17
22
|
}
|
|
18
23
|
|
|
19
24
|
.hero-block-body {
|
|
@@ -24,43 +29,53 @@
|
|
|
24
29
|
}
|
|
25
30
|
|
|
26
31
|
.hero-block-image {
|
|
32
|
+
background-color: inherit;
|
|
27
33
|
background-repeat: @heroBlockImageBackgroundRepeat;
|
|
28
34
|
background-size: @heroBlockImageBackgroundSize;
|
|
29
35
|
background-position: @heroBlockImageBackgroundPosition;
|
|
30
36
|
width: 100%;
|
|
31
37
|
height: 100%;
|
|
32
38
|
position: absolute;
|
|
33
|
-
z-index:
|
|
39
|
+
z-index: 0;
|
|
34
40
|
}
|
|
35
41
|
|
|
42
|
+
.hero-block-image-wrapper {
|
|
43
|
+
position: absolute;
|
|
44
|
+
min-height: @heroBlockImageWrapperMinHeight;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
|
|
36
48
|
.hero-block-text .quoted > * {
|
|
37
49
|
display: inline-block;
|
|
38
50
|
}
|
|
39
51
|
|
|
40
52
|
.hero-block[class*='color-bg']:not(.full-width) {
|
|
41
|
-
padding: @
|
|
53
|
+
padding: @heroBlockHomePagePadding;
|
|
42
54
|
}
|
|
43
55
|
|
|
44
56
|
.eea.hero-block.full-height,
|
|
45
|
-
.eea.hero-block.full-height .hero-block-image,
|
|
57
|
+
.eea.hero-block.full-height .hero-block-image-wrapper,
|
|
46
58
|
.eea.hero-block.full-height .hero-block-inner-wrapper {
|
|
47
59
|
min-height: @mobileHeroBlockMinHeight;
|
|
48
60
|
}
|
|
49
61
|
|
|
50
62
|
@media only screen and (min-width: @tabletBreakpoint) {
|
|
51
63
|
.eea.hero-block.full-height,
|
|
52
|
-
.eea.hero-block.full-height .hero-block-image,
|
|
64
|
+
.eea.hero-block.full-height .hero-block-image-wrapper,
|
|
53
65
|
.eea.hero-block.full-height .hero-block-inner-wrapper {
|
|
54
66
|
min-height: @tabletHeroBlockMinHeight;
|
|
55
67
|
}
|
|
56
68
|
.hero-block-body {
|
|
57
69
|
gap: @tabletHeroBlockBodyGap;
|
|
58
70
|
}
|
|
71
|
+
.homepage #page-document > .eea.hero-block:first-of-type .hero-block-body {
|
|
72
|
+
margin: @heroBlockHomePageBodyMargin;
|
|
73
|
+
}
|
|
59
74
|
}
|
|
60
75
|
|
|
61
76
|
@media only screen and (min-width: @computerBreakpoint) {
|
|
62
77
|
.eea.hero-block.full-height,
|
|
63
|
-
.eea.hero-block.full-height .hero-block-image,
|
|
78
|
+
.eea.hero-block.full-height .hero-block-image-wrapper,
|
|
64
79
|
.eea.hero-block.full-height .hero-block-inner-wrapper {
|
|
65
80
|
min-height: @desktopHeroBlockMinHeight;
|
|
66
81
|
}
|
|
@@ -3,12 +3,19 @@
|
|
|
3
3
|
*******************************/
|
|
4
4
|
|
|
5
5
|
/* Hero block */
|
|
6
|
-
@mobileHeroBlockMinHeight :
|
|
7
|
-
@tabletHeroBlockMinHeight :
|
|
8
|
-
@desktopHeroBlockMinHeight:
|
|
6
|
+
@mobileHeroBlockMinHeight : 360px;
|
|
7
|
+
@tabletHeroBlockMinHeight : 500px;
|
|
8
|
+
@desktopHeroBlockMinHeight: 600px;
|
|
9
9
|
|
|
10
10
|
@heroBlockPosition: relative;
|
|
11
|
-
@
|
|
11
|
+
@heroBlockHomePagePadding: 0 @rem-space-5;
|
|
12
|
+
@heroBlockHomePageBodyMargin: @rem-space-16 0 0 0;
|
|
13
|
+
|
|
14
|
+
/* Hero block spaced */
|
|
15
|
+
@heroBlockSpacedMargin: @rem-space-12 0;
|
|
16
|
+
|
|
17
|
+
/* Image Wrapper */
|
|
18
|
+
@heroBlockImageWrapperMinHeight: 290px; // 5rem gap plus one line text
|
|
12
19
|
|
|
13
20
|
/* Background Image */
|
|
14
21
|
@heroBlockImageBackgroundRepeat : no-repeat;
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
@headerFontWeight: @bold;
|
|
80
80
|
@headerFontSize: 1.125rem;
|
|
81
81
|
@headerLineHeightOffset: -(@lineHeight - 1em) / 2;
|
|
82
|
-
@headerColor:
|
|
82
|
+
@headerColor: inherit;
|
|
83
83
|
|
|
84
84
|
/* Metadata */
|
|
85
85
|
@metaFontSize: @relativeMedium;
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
|
|
113
113
|
/* Description */
|
|
114
114
|
@descriptionDistance: 0.5em;
|
|
115
|
-
@descriptionColor:
|
|
115
|
+
@descriptionColor: inherit;
|
|
116
116
|
|
|
117
117
|
/* Content Image */
|
|
118
118
|
@contentImageWidth: '';
|