mirror of
https://github.com/glanceapp/glance.git
synced 2025-06-22 02:41:23 +02:00
Vertically center loading indicator
This commit is contained in:
parent
3b2a9fedef
commit
fcaa2bef6e
@ -58,6 +58,10 @@
|
|||||||
font-size: var(--font-size-h4);
|
font-size: var(--font-size-h4);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.page {
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.page-content, .page.content-ready .page-loading-container {
|
.page-content, .page.content-ready .page-loading-container {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
@ -360,8 +364,11 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.page-loading-container {
|
.page-loading-container {
|
||||||
margin: 50px auto;
|
height: 100%;
|
||||||
width: fit-content;
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
transform: translateY(-5rem);
|
||||||
animation: loadingContainerEntrance 200ms backwards;
|
animation: loadingContainerEntrance 200ms backwards;
|
||||||
animation-delay: 150ms;
|
animation-delay: 150ms;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
|
@ -49,7 +49,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content-bounds">
|
<div class="content-bounds grow">
|
||||||
<div class="page" id="page">
|
<div class="page" id="page">
|
||||||
<div class="page-content" id="page-content"></div>
|
<div class="page-content" id="page-content"></div>
|
||||||
<div class="page-loading-container">
|
<div class="page-loading-container">
|
||||||
@ -59,7 +59,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer flex items-center flex-column margin-top-auto">
|
<div class="footer flex items-center flex-column">
|
||||||
<div>
|
<div>
|
||||||
<a class="size-h3" href="https://github.com/glanceapp/glance" target="_blank" rel="noreferrer">Glance</a> {{ if ne "dev" .App.Version }}<a class="visited-indicator" title="Release notes" href="https://github.com/glanceapp/glance/releases/tag/{{ .App.Version }}" target="_blank" rel="noreferrer">{{ .App.Version }}</a>{{ else }}({{ .App.Version }}){{ end }}
|
<a class="size-h3" href="https://github.com/glanceapp/glance" target="_blank" rel="noreferrer">Glance</a> {{ if ne "dev" .App.Version }}<a class="visited-indicator" title="Release notes" href="https://github.com/glanceapp/glance/releases/tag/{{ .App.Version }}" target="_blank" rel="noreferrer">{{ .App.Version }}</a>{{ else }}({{ .App.Version }}){{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user