2017-07-18 02:21:45 +08:00
|
|
|
@import "/imports/ui/stylesheets/variables/_all";
|
2016-07-29 03:49:16 +08:00
|
|
|
|
|
|
|
/* Variables
|
|
|
|
* ==========
|
|
|
|
*/
|
|
|
|
$loader-bg: $color-gray-dark;
|
|
|
|
$loader-bullet: $color-white;
|
2017-07-14 22:18:07 +08:00
|
|
|
$loader-message-color: $color-white;
|
2016-07-29 03:49:16 +08:00
|
|
|
|
|
|
|
.background {
|
|
|
|
position: fixed;
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
justify-content: center;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
background-color: $loader-bg;
|
|
|
|
}
|
|
|
|
|
2017-07-14 22:18:07 +08:00
|
|
|
.message {
|
|
|
|
font-size: $font-size-large;
|
|
|
|
color: $color-white;
|
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2016-07-29 03:49:16 +08:00
|
|
|
.spinner {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
height: 22px;
|
2017-07-14 22:18:07 +08:00
|
|
|
margin-bottom: $md-padding-x;
|
2016-07-29 03:49:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.spinner > div {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
margin: 0 5px;
|
|
|
|
background-color: $loader-bullet;
|
|
|
|
|
|
|
|
border-radius: 100%;
|
|
|
|
display: inline-block;
|
|
|
|
-webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
|
|
|
|
animation: sk-bouncedelay 1.4s infinite ease-in-out both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner .bounce1 {
|
|
|
|
-webkit-animation-delay: -0.32s;
|
|
|
|
animation-delay: -0.32s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner .bounce2 {
|
|
|
|
-webkit-animation-delay: -0.16s;
|
|
|
|
animation-delay: -0.16s;
|
|
|
|
}
|
|
|
|
|
|
|
|
@-webkit-keyframes sk-bouncedelay {
|
|
|
|
0%, 80%, 100% { -webkit-transform: scale(0) }
|
|
|
|
40% { -webkit-transform: scale(1.0) }
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes sk-bouncedelay {
|
|
|
|
0%, 80%, 100% {
|
|
|
|
-webkit-transform: scale(0);
|
|
|
|
transform: scale(0);
|
|
|
|
} 40% {
|
|
|
|
-webkit-transform: scale(1.0);
|
|
|
|
transform: scale(1.0);
|
|
|
|
}
|
|
|
|
}
|