Update comments and animation for Splash
This commit is contained in:
parent
3e998ca2a0
commit
30e1401fa9
2 changed files with 20 additions and 2 deletions
|
@ -8,8 +8,8 @@ export const APP = [{
|
|||
// Splash
|
||||
export const SPLASH = [
|
||||
{
|
||||
loading: "Spinner", // "Spinner" "Pulse" "ProgressBar" "LogoOnly" "None"
|
||||
background: "#121212"
|
||||
loading: "Spinner", // "Spinner" "ProgressBar" "JumpingBalls" "GlowingBars"
|
||||
background: "#232323"
|
||||
}
|
||||
]
|
||||
|
||||
|
|
|
@ -1,3 +1,18 @@
|
|||
@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;
|
||||
|
@ -6,6 +21,9 @@
|
|||
left: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
animation: 2.4s splash ease-in-out;
|
||||
.splash-content {
|
||||
position: fixed;
|
||||
top: 50%;
|
||||
|
|
Reference in a new issue