Fixed all animations

This commit is contained in:
2018-11-16 11:24:57 -05:00
parent 647aa39085
commit b50a9f56ed
5 changed files with 43 additions and 19 deletions

View File

@ -1,6 +1,6 @@
<div *ngIf="loading" [@fade]="true" style="position: fixed; z-index: 1000; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.5);"></div>
<div *ngIf="loading" [@fadeIn]="true" style="position: fixed; z-index: 1000; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.5);"></div>
<div class="center">
<div class="center" *ngIf="show" [@fadeOut]="true">
<div class="text-center">
<h1 class="d-inline text-white">Home Front</h1>
</div>
@ -8,6 +8,6 @@
<img src="assets/icon-white.png" width="275px" height="auto">
</div>
</div>
<div class="off-center" [@expandDown]="true">
<div class="off-center" *ngIf="show" [@fadeOut]="true" [@expandDown]="animate">
<button mat-stroked-button class="mt-5" style="width: 150px" (click)="login()" [disabled]="loading">Login With Google</button>
</div>