Skip to content

Commit

Permalink
refactor(banner): update gradient
Browse files Browse the repository at this point in the history
  • Loading branch information
tarantilis committed Mar 30, 2022
1 parent 86a2866 commit 570ee1e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
8 changes: 6 additions & 2 deletions theme/themes/eea/extras/banner.less
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,12 @@
width: 100%;
height: 100%;

.gradient .content {
padding: @mobileContentPaddingWithImage;
.gradient {
background-image: @backgroundGradientWithImage;

.content {
padding: @mobileContentPaddingWithImage;
}
}
}

Expand Down
5 changes: 3 additions & 2 deletions theme/themes/eea/extras/banner.variables
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
@imageBackgroundPosition : center;

/* Gradient */
@backgroundGradient : linear-gradient(0deg, rgb(20, 33, 44, 90%) 24%, rgba(0, 36, 78, 0) 80%);
@backgroundGradientOpacity : 0.9;
@backgroundGradient : linear-gradient(8deg, #0c1b28b3 32%, rgba(0, 36, 78, 0) 80%);
@backgroundGradientWithImage : linear-gradient(0deg, rgb(20, 33, 44, 90%) 24%, rgba(0, 36, 78, 0) 80%);
@backgroundGradientOpacity : 0.9;

/* Content */
@mobileContentPadding : 1rem 0 1.25rem;
Expand Down

0 comments on commit 570ee1e

Please sign in to comment.