mirror of
https://github.com/koel/koel
synced 2024-12-22 18:43:21 +00:00
47 lines
842 B
SCSS
47 lines
842 B
SCSS
/**
|
|
* A stripped-down style of NProgress.
|
|
* Heck, rstacruz (the author) even said:
|
|
* > The included CSS file is pretty minimal... in fact, feel free to scrap it and make your own!
|
|
*/
|
|
#nprogress {
|
|
pointer-events: none;
|
|
|
|
.bar {
|
|
display: none;
|
|
}
|
|
|
|
/* Fancy blur effect */
|
|
.peg {
|
|
display: none;
|
|
}
|
|
|
|
.spinner {
|
|
display: block;
|
|
position: fixed;
|
|
z-index: 9999;
|
|
top: 15px;
|
|
right: 13px;
|
|
}
|
|
|
|
.spinner-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
box-sizing: border-box;
|
|
|
|
border: solid 2px transparent;
|
|
border-top-color: var(--color-highlight);
|
|
border-left-color: var(--color-highlight);
|
|
border-radius: 50%;
|
|
|
|
animation: nprogress-spinner 400ms linear infinite;
|
|
}
|
|
}
|
|
|
|
@keyframes nprogress-spinner {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|