Skip to content
This repository has been archived by the owner on Apr 8, 2023. It is now read-only.

Use loading text #169

Merged
merged 1 commit into from
Nov 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 7 additions & 21 deletions src/Client/wwwroot/css/app.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
/* TODO: Add local version for offline */
@import url('https://fonts.googleapis.com/css?family=Graduate|Open+Sans:300&display=swap');

.grow {
.grow {
transition: all .2s ease-in-out;
}

Expand Down Expand Up @@ -37,23 +34,12 @@ html, body {
max-width: 400px;
}

.loader {
border: 16px solid rgba(0, 0, 0, 0.00);
border-top: 16px solid #594ae2;
border-radius: 50%;
width: 120px;
height: 120px;
animation: spin 2s linear infinite;
}

@keyframes spin {
0% {
transform: rotate(0deg);
}

100% {
transform: rotate(360deg);
}
.loading-progress-text:after {
content: var(--blazor-load-percentage-text);
color: rgba(89,74,226,0.55);
font-weight: bold;
font-size: 60px;
font-family: "Graduate", sans-serif;
}

/* MudBlazor overrides */
Expand Down
4 changes: 2 additions & 2 deletions src/Client/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<title>Dynamo League</title>
<base href="/" />
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Graduate|Open+Sans:300&display=swap" rel="stylesheet" />
<link href="_content/MudBlazor/MudBlazor.min.css" rel="stylesheet" />
<link href="css/app.css" rel="stylesheet" />
<!--
Expand All @@ -23,8 +24,7 @@
<div id="app">
<div id="loading">
<img src="logo.png" />
<br /> <br /> <br />
<div class="loader"></div>
<h1 class="loading-progress-text"></h1>
</div>
</div>
<script src="_content/Microsoft.AspNetCore.Components.WebAssembly.Authentication/AuthenticationService.js"></script>
Expand Down