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
|
// Splash
|
||||||
export const SPLASH = [
|
export const SPLASH = [
|
||||||
{
|
{
|
||||||
loading: "Spinner", // "Spinner" "Pulse" "ProgressBar" "LogoOnly" "None"
|
loading: "Spinner", // "Spinner" "ProgressBar" "JumpingBalls" "GlowingBars"
|
||||||
background: "#121212"
|
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 {
|
.splash {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
|
@ -6,6 +21,9 @@
|
||||||
left: 0px;
|
left: 0px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
opacity: 0;
|
||||||
|
pointer-events: none;
|
||||||
|
animation: 2.4s splash ease-in-out;
|
||||||
.splash-content {
|
.splash-content {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 50%;
|
top: 50%;
|
||||||
|
|
Reference in a new issue