Updated animations.
This commit is contained in:
+19
-1
@@ -580,6 +580,10 @@ ol.choice {
|
|||||||
scrollbar-color: #8b7765 rgba(255, 255, 255, 0.1);
|
scrollbar-color: #8b7765 rgba(255, 255, 255, 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
body:not([data-game-running="true"]) #command_history {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
#command_history .history-item {
|
#command_history .history-item {
|
||||||
margin-bottom: 0.25rem;
|
margin-bottom: 0.25rem;
|
||||||
color: rgba(0, 0, 0, 0.82);
|
color: rgba(0, 0, 0, 0.82);
|
||||||
@@ -616,7 +620,7 @@ ol.choice {
|
|||||||
|
|
||||||
/* Fade out command input when loading */
|
/* Fade out command input when loading */
|
||||||
#command_input.fading {
|
#command_input.fading {
|
||||||
opacity: 0.3;
|
opacity: 0;
|
||||||
pointer-events: none; /* Prevent interaction while faded out */
|
pointer-events: none; /* Prevent interaction while faded out */
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -749,6 +753,20 @@ html[data-process-state="playing-ready"] * {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
|
overflow: hidden;
|
||||||
|
clip-path: inset(0 100% 0 0);
|
||||||
|
will-change: clip-path, opacity;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes wordReveal {
|
||||||
|
0% {
|
||||||
|
opacity: 1;
|
||||||
|
clip-path: inset(0 100% 0 0);
|
||||||
|
}
|
||||||
|
100% {
|
||||||
|
opacity: 1;
|
||||||
|
clip-path: inset(0 0 0 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
|
|||||||
Reference in New Issue
Block a user