f71d32a464
WIP wip wip format wip Move from SCSS variables to CSS custom properties (variables) and add custom parameters for theming/skinning
79 lines
1.3 KiB
SCSS
79 lines
1.3 KiB
SCSS
@import "/imports/ui/stylesheets/variables/_all";
|
|
|
|
/* Variables
|
|
* ==========
|
|
*/
|
|
|
|
:root {
|
|
--loader-bg: var(--color-gray-dark);
|
|
--loader-bullet: var(--color-white);
|
|
--loader-message-color: var(--color-white);
|
|
}
|
|
|
|
.background {
|
|
position: fixed;
|
|
display: flex;
|
|
flex-flow: column;
|
|
justify-content: center;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: var(--loader-bg);
|
|
}
|
|
|
|
.message {
|
|
font-size: var(--font-size-large);
|
|
color: var(--color-white);
|
|
text-align: center;
|
|
}
|
|
|
|
.spinner {
|
|
width: 100%;
|
|
text-align: center;
|
|
height: 22px;
|
|
margin-bottom: var(--md-padding-x);
|
|
}
|
|
|
|
.spinner > div {
|
|
width: 18px;
|
|
height: 18px;
|
|
margin: 0 5px;
|
|
background-color: var(--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);
|
|
}
|
|
}
|