mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
ui: Use inline SVG icons for all spinners
Tests: - All the icons appear as before in both light/dark themes. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
928794ea1f
commit
53ee9c4ee2
7 files changed
+53
-21
No files matched your search
@@ -364,6 +364,24 @@ footer {
|
||||
margin: 0.125em 0.25em;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% {
|
||||
transform: none;
|
||||
}
|
||||
100% {
|
||||
transform: rotate(1turn);
|
||||
}
|
||||
}
|
||||
|
||||
.svg-icon.spin {
|
||||
animation: spin 2s infinite linear;
|
||||
}
|
||||
|
||||
.svg-icon[data-icon-name="spinner"].spin {
|
||||
/* Spin in discrete steps of 8 */
|
||||
animation: spin 1s infinite steps(8);
|
||||
}
|
||||
|
||||
/*
|
||||
* Bootstrap extensions
|
||||
*/
|
||||
@@ -675,11 +693,7 @@ footer {
|
||||
*/
|
||||
.firstboot-spinner {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.firstboot-spinner span.fa {
|
||||
float: none;
|
||||
margin: auto;
|
||||
font-size: 4em;
|
||||
}
|
||||
|
||||
.next-steps {
|
||||
@@ -1077,3 +1091,16 @@ textarea.log {
|
||||
width: 80%;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Upgrades app pages
|
||||
*/
|
||||
.upgrades-status-icon,
|
||||
.upgrades-dist-upgrade-running-icon {
|
||||
font-size: 3rem;
|
||||
}
|
||||
|
||||
.upgrades-status-icon svg,
|
||||
.upgrades-dist-upgrade-running-icon svg {
|
||||
margin-left: 0;
|
||||
}
|
||||
Reference in new issue
Block a user