Add custom AJAX spinner.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-09-04 03:17:41 -04:00
parent 0cb4e687ab
commit d2ee960d42
3 changed files with 70 additions and 3 deletions
@@ -718,3 +718,38 @@ a i {
height: auto;
margin: auto;
}
#ajax-spinner {
margin-top: 12px;
width: 25px;
height: 25px;
border-radius: 50%;
background-color: transparent;
border: 2px solid #222;
border-top: 2px solid #03A9F4;
border-bottom: 2px solid #03A9F4;
-webkit-animation: .5s spin linear infinite;
animation: .5s spin linear infinite;
}
@-webkit-keyframes spin {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}
@keyframes spin {
from {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
transform: rotate(360deg);
}
}