add heroBackground, put only in hero the background image

This commit is contained in:
argirok 2022-09-26 14:00:37 +03:00
parent 9e0e5986af
commit c498f88029
2 changed files with 9 additions and 2 deletions

View File

@ -149,7 +149,8 @@
</ng-template>
<div *ngIf="communityInfo && community && !isPrivate()" >
<div *ngIf="communityInfo && community" class="generalSearchForm"> <!-- this div will have the customized color or image -->
<div *ngIf="communityInfo && community" class="generalSearchForm heroBackground"> <!-- this div will have the
customized color or image -->
<div class="uk-container uk-container-large uk-flex uk-flex-center">
<div class="uk-width-2-3@m uk-width-1-2@l uk-margin-large-top uk-margin-large-bottom">
<h1 *ngIf="community.title" class="uk-text-center uk-h2 uk-margin-remove">

View File

@ -6,7 +6,8 @@
@global-primary-gradient: none;
@general-search-form-background: fade(@global-primary-background, 15%);
@hero-background-image: none;
@hero-background-position: top center;
#joinAndInviteBtn {
position: fixed;
right: 0;
@ -49,3 +50,8 @@
color: @button-primary-color;
}
}
.heroBackground{
background-image: @hero-background-image;
background-position: @hero-background-position;
}