StaticApps/src/theme/_loading.scss

61 lines
1.1 KiB
SCSS

@import "variable";
v-loading-screen {
background-color: #000;
position: absolute;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
z-index: 10000;
&.hide {
pointer-events: none;
opacity: 0;
transition-delay: 1s;
transition: opacity 1s;
z-index: -1;
}
v-loading-text {
font-family: monospace;
font-size: 4vw;
text-transform: uppercase;
}
v-loading-stats {
font-family: monospace;
color: var(--loading-color, $primary);
display: block;
font-size: .75rem;
margin-top: .2rem;
height: 1.5rem;
letter-spacing: .01rem;
text-align: center;
transition: color .5s ease-in;
}
v-loader {
position: relative;
display: block;
width: 30vw;
height: 1vw;
background-color: $loader-delay-color;
&::after {
content: '';
width: var(--loading-scale, 0);
height: 100%;
transition: all .5s ease-in;
background-color: var(--loading-color, $primary);
position: absolute;
top: 0;
left: 0;
}
}
}