mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-30 16:30:45 +00:00
Add css for loading page routine
This commit is contained in:
parent
0381ac249e
commit
fca898e766
1 changed files with 12 additions and 0 deletions
12
resources/assets/sass/custom.scss
vendored
12
resources/assets/sass/custom.scss
vendored
|
@ -202,3 +202,15 @@ body, button, input, textarea {
|
||||||
z-index:1020
|
z-index:1020
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@keyframes loading-bar {
|
||||||
|
from { background-position: 0 0; }
|
||||||
|
to { background-position: 100vw 0; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.loading-page {
|
||||||
|
background-image: linear-gradient(to right, #6736dd, #10c5f8, #10c5f8, #6736dd);
|
||||||
|
width: 100vw;
|
||||||
|
height: .25rem;
|
||||||
|
animation: loading-bar 3s linear infinite;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue