Skip to content

Commit

Permalink
change(site): added fixes from customVolto.css to design package
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Jan 26, 2023
1 parent 051e6d7 commit 51ba9b5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
1 change: 1 addition & 0 deletions theme/themes/eea/extras/contentBox.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
padding-top: @contentBoxContainerMarginTop;
padding-bottom: @contentBoxContainerMarginBottom;
position: relative;
z-index: @contentBoxContainerZIndex;
}

&.primary {
Expand Down
1 change: 1 addition & 0 deletions theme/themes/eea/extras/contentBox.variables
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@
/* Container */
@contentBoxContainerMarginTop : @bigGap;
@contentBoxContainerMarginBottom : @bigGap;
@contentBoxContainerZIndex : 1;
9 changes: 9 additions & 0 deletions theme/themes/eea/extras/custom.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
padding-top: 0 !important;
}

// show staging banner on homepage
.homepage .stagingBanner {
display: block !important;
}

// use homepage text color for color of cards that are within a content-box that has a variant class
.homepage .content-box[class*="ary"] [class="ui fluid card"] {
color: @blue-grey-5;
Expand Down Expand Up @@ -75,6 +80,10 @@
font-weight: inherit;
}

// remove margin from first hero block used on the homepage
#page-document > .styled-hero {
margin-top: 0;
}

// customize error class from volto-slate to our color of red
.error {
Expand Down
4 changes: 0 additions & 4 deletions theme/themes/eea/extras/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -394,10 +394,6 @@
z-index: 1;
width: 100%;
}
// reduce width of header when we have toolbar open for better placement
.has-toolbar.homepage .eea.header {
width: 96%;
}

/*----------------------------------------------------------------------------
Header Actions - Burger and Search Icons
Expand Down

0 comments on commit 51ba9b5

Please sign in to comment.