Skip to content
Snippets Groups Projects
Commit 2c1ce65c authored by Scott Berg's avatar Scott Berg Committed by Scott Berg
Browse files

Update styles for a loading audit.

parent be0601d5
No related branches found
No related tags found
No related merge requests found
Pipeline #40909 passed
...@@ -12,15 +12,16 @@ ...@@ -12,15 +12,16 @@
</button> </button>
</div> </div>
<!-- <ng-container [ngSwitch]="visibleAuditStatus$ | async"> -->
<ng-container [ngSwitch]="visibleAuditStatus$ | async"> <ng-container [ngSwitch]="visibleAuditStatus$ | async">
<ng-container *ngSwitchCase="'Loaded'"> <ng-container *ngSwitchCase="'Loaded'">
<cse-dars-audit [audit]="audit$ | async"></cse-dars-audit> <cse-dars-audit [audit]="audit$ | async"></cse-dars-audit>
</ng-container> </ng-container>
<ng-container *ngSwitchCase="'Loading'"> <ng-container *ngSwitchCase="'Loading'">
<img id="loading-bucky" src="../../../assets/img/bucky-happy.svg" alt="Happy Bucky Badger"> <mat-card class="loading-wrapper">
<p>Loading your degree Audit</p> <mat-progress-bar class="loading-audit-progress-bar" mode="query"></mat-progress-bar>
<mat-spinner diameter="50"></mat-spinner> <img id="loading-bucky" src="../../../assets/img/bucky-happy.svg" alt="Happy Bucky Badger">
<p>Loading your degree Audit</p>
</mat-card>
</ng-container> </ng-container>
</ng-container> </ng-container>
</div> </div>
......
...@@ -44,23 +44,29 @@ ...@@ -44,23 +44,29 @@
margin: 0 1rem 1rem; margin: 0 1rem 1rem;
} }
#loading-bucky { .loading-wrapper {
width: 100%; position: relative;
display: block; padding: 50px 10px;
max-width: 256px;
}
#loading-audit {
text-align: center; text-align: center;
font-family: mat-font-family($config); font-family: mat-font-family($config);
.loading-audit-progress-bar {
position: absolute;
top: 0;
left: 0;
right: 0;
border-radius: 0 0 4px 4px;
}
img { img {
width: 100%; width: 100%;
max-width: 150px; max-width: 125px;
margin: auto; margin: auto;
} }
p { p {
text-transform: uppercase; // text-transform: uppercase;
font-weight: bold; font-weight: bold;
font-size: 18px; font-size: 18px;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment