2017-07-18 02:21:45 +08:00
|
|
|
@import "/imports/ui/stylesheets/variables/_all";
|
2016-07-29 03:49:16 +08:00
|
|
|
|
|
|
|
/* Variables
|
|
|
|
* ==========
|
|
|
|
*/
|
2018-10-19 04:37:14 +08:00
|
|
|
|
|
|
|
:root {
|
|
|
|
--loader-bg: var(--color-gray-dark);
|
|
|
|
--loader-bullet: var(--color-white);
|
|
|
|
--loader-message-color: var(--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%;
|
2018-10-19 04:37:14 +08:00
|
|
|
background-color: var(--loader-bg);
|
2016-07-29 03:49:16 +08:00
|
|
|
}
|
|
|
|
|
2017-07-14 22:18:07 +08:00
|
|
|
.message {
|
2018-10-19 04:37:14 +08:00
|
|
|
font-size: var(--font-size-large);
|
|
|
|
color: var(--color-white);
|
2017-07-14 22:18:07 +08:00
|
|
|
text-align: center;
|
|
|
|
}
|
|
|
|
|
2016-07-29 03:49:16 +08:00
|
|
|
.spinner {
|
|
|
|
width: 100%;
|
|
|
|
text-align: center;
|
|
|
|
height: 22px;
|
2018-10-19 04:37:14 +08:00
|
|
|
margin-bottom: var(--md-padding-x);
|
2016-07-29 03:49:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.spinner > div {
|
|
|
|
width: 18px;
|
|
|
|
height: 18px;
|
|
|
|
margin: 0 5px;
|
2018-10-19 04:37:14 +08:00
|
|
|
background-color: var(--loader-bullet);
|
2016-07-29 03:49:16 +08:00
|
|
|
|
|
|
|
border-radius: 100%;
|
|
|
|
display: inline-block;
|
2019-01-25 00:16:23 +08:00
|
|
|
animation: sk-bouncedelay calc(var(--enableAnimation) * 1.4s) infinite ease-in-out both;
|
2016-07-29 03:49:16 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.spinner .bounce1 {
|
|
|
|
animation-delay: -0.32s;
|
|
|
|
}
|
|
|
|
|
|
|
|
.spinner .bounce2 {
|
|
|
|
animation-delay: -0.16s;
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes sk-bouncedelay {
|
2018-10-19 04:37:14 +08:00
|
|
|
0%,
|
|
|
|
80%,
|
|
|
|
100% {
|
2016-07-29 03:49:16 +08:00
|
|
|
transform: scale(0);
|
2018-10-19 04:37:14 +08:00
|
|
|
}
|
|
|
|
40% {
|
2016-07-29 03:49:16 +08:00
|
|
|
transform: scale(1.0);
|
|
|
|
}
|
|
|
|
}
|