add heroBackground, put only in hero the background image
This commit is contained in:
parent
9e0e5986af
commit
c498f88029
|
@ -149,7 +149,8 @@
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<div *ngIf="communityInfo && community && !isPrivate()" >
|
<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-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">
|
<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">
|
<h1 *ngIf="community.title" class="uk-text-center uk-h2 uk-margin-remove">
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
|
|
||||||
@global-primary-gradient: none;
|
@global-primary-gradient: none;
|
||||||
@general-search-form-background: fade(@global-primary-background, 15%);
|
@general-search-form-background: fade(@global-primary-background, 15%);
|
||||||
|
@hero-background-image: none;
|
||||||
|
@hero-background-position: top center;
|
||||||
#joinAndInviteBtn {
|
#joinAndInviteBtn {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -49,3 +50,8 @@
|
||||||
color: @button-primary-color;
|
color: @button-primary-color;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.heroBackground{
|
||||||
|
background-image: @hero-background-image;
|
||||||
|
background-position: @hero-background-position;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue