163 lines
No EOL
5 KiB
SCSS
163 lines
No EOL
5 KiB
SCSS
@keyframes splash {
|
|
0% {
|
|
opacity: 1;
|
|
pointer-events: all;
|
|
}
|
|
90% {
|
|
opacity: 1;
|
|
pointer-events: all;
|
|
}
|
|
100% {
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
.splash {
|
|
position: fixed;
|
|
z-index: 100;
|
|
background: #121212;
|
|
top: 0px;
|
|
left: 0px;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
animation: 2.4s splash ease-in-out;
|
|
.splash-content {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
width: 100%;
|
|
height: 100%;
|
|
img {
|
|
width: 100px;
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
.splash-loading {
|
|
position: fixed;
|
|
bottom: 25%;
|
|
left: 50%;
|
|
transform: translate(-50%);
|
|
.Spinner {
|
|
.splash-loading-progressbar {display: none}
|
|
.splash-loading-glowing-bars {display: none}
|
|
.splash-loading-jumping-balls {display: none}
|
|
.spinner {
|
|
border-radius: 500px;
|
|
width: 24px;
|
|
aspect-ratio: 1;
|
|
border-width: 5px;
|
|
border-top-color: white !important;
|
|
border-style: solid;
|
|
border-color: rgb(255 255 255 / 25%);
|
|
animation: 1s spin linear;
|
|
animation-iteration-count: infinite;
|
|
}
|
|
@keyframes spin {from {transform: rotate(0deg)} to {transform: rotate(359deg)}}
|
|
}
|
|
.ProgressBar {
|
|
.splash-loading-spinner {display: none}
|
|
.splash-loading-glowing-bars {display: none}
|
|
.splash-loading-jumping-balls {display: none}
|
|
.progressbar, .progressbar::before {
|
|
background: rgb(173 216 230 / 25%);
|
|
height: 6px;
|
|
width: 250px;
|
|
border-radius: 24px;
|
|
}
|
|
.progressbar::before {
|
|
content: "";
|
|
position: absolute;
|
|
background: lightblue;
|
|
width: 100%;
|
|
animation: 2s ProgressComplete linear;
|
|
}
|
|
@keyframes ProgressComplete {from {width: 0%} to {width: 100%}}
|
|
}
|
|
.JumpingBalls {
|
|
.splash-loading-progressbar {display: none}
|
|
.splash-loading-spinner {display: none}
|
|
.splash-loading-glowing-bars {display: none}
|
|
.b-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 40px;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.b-container .ball {
|
|
background-color: #fff;
|
|
border-radius: 50%;
|
|
display: block;
|
|
width: 8px;
|
|
aspect-ratio: 1;
|
|
animation: jump 0.7s ease-in-out infinite;
|
|
}
|
|
|
|
.b-container .ball:nth-child(2) {
|
|
animation-delay: 0.15s;
|
|
}
|
|
|
|
.b-container .ball:nth-child(3) {
|
|
animation-delay: 0.3s;
|
|
}
|
|
|
|
@keyframes jump {
|
|
0%,
|
|
100% {
|
|
transform: translateY(0);
|
|
}
|
|
|
|
50% {
|
|
transform: translateY(-20px);
|
|
}
|
|
}
|
|
}
|
|
.GlowingBars {
|
|
.splash-loading-progressbar {display: none}
|
|
.splash-loading-spinner {display: none}
|
|
.splash-loading-jumping-balls {display: none}
|
|
.bars-container {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
width: 14px;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.bar {
|
|
background-color: #fff;
|
|
height: 24px;
|
|
width: 2px;
|
|
display: block;
|
|
animation: increase 1s ease-in-out infinite;
|
|
}
|
|
|
|
.bar:nth-child(2) {
|
|
animation-delay: 0.25s;
|
|
}
|
|
|
|
.bar:nth-child(3) {
|
|
animation-delay: 0.5s;
|
|
}
|
|
|
|
@keyframes increase {
|
|
0%,
|
|
100% {
|
|
transform: scaleY(1);
|
|
}
|
|
|
|
50% {
|
|
transform: scaleY(0.6);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
} |