Add animated loading graphic

This commit is contained in:
2017-02-05 11:43:36 +08:00
parent 2002f2feba
commit 1d9f510bb4
7 changed files with 68 additions and 2 deletions
+31 -2
View File
@@ -1,8 +1,37 @@
.loading-spinner {
@keyframes pulse {
from {
opacity: 0.2;
}
to {
opacity: 0.6;
}
}
margin-top: 14rem;
.loading-spinner {
margin-top: 12rem;
text-align: center;
font-size: 1.4rem;
color: lightblue;
@include media($mobile) {
margin-top: 6rem;
}
svg {
width: 200px;
height: 200px;
margin-bottom: 2rem;
#path-comet {
fill: lightblue;
opacity: 0.6;
-moz-animation-name: pulse;
-moz-animation-iteration-count: infinite;
-moz-animation-timing-function: ease-in-out;
-moz-animation-direction: alternate;
-moz-animation-duration: 1s;
}
}
}