Skip to content
This repository was archived by the owner on Jul 12, 2019. It is now read-only.

Commit 5d80f29

Browse files
Better, smaller preloader ticker
1 parent b8f2b7c commit 5d80f29

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
lines changed

src/index.html

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,19 +18,8 @@
1818
</nav>
1919
</div>
2020
</header>
21-
<main id="content" role="main" class="container">
22-
<div class="modal modal--preload">
23-
<div class="modal-dialog modal-sm">
24-
<div class="modal-content">
25-
<div class="modal-header">
26-
<h4 class="modal-title">Loading</h4>
27-
</div>
28-
<div class="modal-body">
29-
<progress class="progress progress-striped progress-animated" value="100" max="100"></progress>
30-
</div>
31-
</div>
32-
</div>
33-
</div>
21+
<main id="content" role="main" class="container pos-f-t" style="display: flex; align-items: center; justify-content: center; bottom: 0;">
22+
<h1 class="h4 text-muted" style="flex: none;">Loading...</h1>
3423
</main>
3524
</app-root>
3625
<footer class="footer bg-inverse">

src/styles.css

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,3 @@ body {
1818
padding-left: 0;
1919
padding-right: 0;
2020
}
21-
22-
.modal--preload {
23-
position: relative;
24-
top: auto;
25-
right: auto;
26-
bottom: auto;
27-
left: auto;
28-
z-index: 1;
29-
display: block;
30-
}
31-
.modal--preload .progressbar {
32-
margin-bottom: 0;
33-
}

0 commit comments

Comments
 (0)