174 lines
3.5 KiB
CSS
174 lines
3.5 KiB
CSS
@import url('./../variables.css');
|
|
|
|
#preloader_container {
|
|
position: fixed;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
z-index: 900;
|
|
backdrop-filter: blur(5px);
|
|
|
|
&.hide {
|
|
display: none;
|
|
}
|
|
|
|
&>#preloader{
|
|
width: 200px;
|
|
height: 200px;
|
|
background: none;
|
|
position: relative;
|
|
top: 30%;
|
|
left: 0;
|
|
right: 0;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
|
|
&>.circle {
|
|
position: absolute;
|
|
border-radius: 50%;
|
|
box-sizing: border-box;
|
|
border: 10px solid transparent;
|
|
}
|
|
|
|
&>#circle_one {
|
|
width: 80%;
|
|
height: 80%;
|
|
border-top-width: 10px;
|
|
left: 5%;
|
|
top: 5%;
|
|
animation: roll_one 4.5s;
|
|
animation-fill-mode: forwards;
|
|
animation-iteration-count: infinite;
|
|
animation-timing-function: linear;
|
|
|
|
&.preloader-emerald-circle{
|
|
border-top-color: var(--color_emerald_light);
|
|
}
|
|
&.preloader-ruby-circle{
|
|
border-top-color: var(--color_ruby_main);
|
|
}
|
|
&.preloader-graphite-circle{
|
|
border-top-color: var(--color_graphite_main);
|
|
}
|
|
}
|
|
|
|
&>#circle_two {
|
|
width: 70%;
|
|
height: 70%;
|
|
left: 10%;
|
|
top: 10%;
|
|
border-right-width: 10px;
|
|
animation: roll_two 2.5s;
|
|
animation-fill-mode: forwards;
|
|
animation-iteration-count: infinite;
|
|
animation-timing-function: linear;
|
|
|
|
&.preloader-emerald-circle{
|
|
border-right-color: var(--color_emerald_light);
|
|
}
|
|
&.preloader-ruby-circle{
|
|
border-right-color: var(--color_ruby_main);
|
|
}
|
|
&.preloader-graphite-circle{
|
|
border-right-color: var(--color_graphite_main);
|
|
}
|
|
}
|
|
|
|
&>#circle_three {
|
|
width: 60%;
|
|
height: 60%;
|
|
left: 15%;
|
|
top: 15%;
|
|
border-bottom-width: 10px;
|
|
animation: roll_three 3s;
|
|
animation-fill-mode: forwards;
|
|
animation-iteration-count: infinite;
|
|
animation-timing-function: linear;
|
|
|
|
&.preloader-emerald-circle{
|
|
border-bottom-color: var(--color_emerald_light);
|
|
}
|
|
&.preloader-ruby-circle{
|
|
border-bottom-color: var(--color_ruby_main);
|
|
}
|
|
&.preloader-graphite-circle{
|
|
border-bottom-color: var(--color_graphite_main);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
&>#preloader_text {
|
|
width: 150%;
|
|
left: -25%;
|
|
font-size: 1.5rem;
|
|
position: absolute;
|
|
bottom: -50px;
|
|
text-align: center;
|
|
color: white;
|
|
}
|
|
|
|
&>#logo {
|
|
position: absolute;
|
|
background: none;
|
|
width: 40%;
|
|
height: 40%;
|
|
top: 25%;
|
|
left: 25%;
|
|
|
|
&>.logo_square {
|
|
position: absolute;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
&>#left-top {
|
|
width: 60%;
|
|
height: 70%;
|
|
top: 15%;
|
|
left: 20%;
|
|
border-left: 7px solid white;
|
|
border-top: 7px solid white;
|
|
border-top-left-radius: 45%;
|
|
}
|
|
|
|
&>#right-bottom {
|
|
width: 40%;
|
|
height: 50%;
|
|
top: 15%;
|
|
left: 40%;
|
|
border-right: 7px solid white;
|
|
border-bottom: 7px solid white;
|
|
border-bottom-right-radius: 45%;
|
|
border-bottom-left-radius: 10%;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@keyframes roll_one {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
@keyframes roll_two {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(-360deg);
|
|
}
|
|
}
|
|
@keyframes roll_three {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(720deg);
|
|
}
|
|
}
|