1.4 KB
raw
@keyframes foldUp {
0% {
height: 100vh;
}
100% {
height: 0;
}
}
@keyframes dotPulse {
0%,
80%,
100% {
opacity: 0.2;
transform: scale(0.8);
}
40% {
opacity: 1;
transform: scale(1);
}
}
.grid {
display: grid;
grid-template-columns: 60px 15% 1fr 1fr 15% 60px;
grid-template-rows: 1fr;
min-height: 100vh;
width: 100%;
position: fixed;
z-index: 9999;
pointer-events: none;
}
.indicator {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
display: flex;
gap: 8px;
opacity: 0;
transition: opacity 400ms ease-in-out;
z-index: 10000;
pointer-events: none;
}
.indicator[data-ready="false"] {
opacity: 1;
transition-delay: 250ms;
}
.dot {
width: 8px;
height: 8px;
border-radius: 50%;
background-color: white;
animation: dotPulse 1400ms ease-in-out infinite both;
}
.dot:nth-child(2) {
animation-delay: 160ms;
}
.dot:nth-child(3) {
animation-delay: 320ms;
}
.gridColumn::before,
.gridColumn::after {
content: "";
display: block;
width: 100%;
height: 100vh;
animation: foldUp 1000ms normal forwards;
animation-delay: var(--delay, 0ms);
animation-play-state: var(--play-state, running);
}
.gridColumn::before {
background-color: var(--color-primary);
border-right: 1px solid var(--color-primary);
}
.gridColumn::after {
background-color: white;
border-right: 1px solid white;
}