ui/controls.razor.scss
@import "_theme.scss";
Controls {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
pointer-events: none;
font-family: $font-display;
color: $ink;
.container {
position: absolute;
width:230px;
bottom: 44px;
flex-direction: column;
align-items: center;
gap: 16px;
border: 6px solid $ink;
border-radius: 24px;
box-shadow: 7px 7px 0 $ink;
padding: 12px 12px;
transition: opacity 0.2s ease-in;
right: 48px;
background-color: $white;
animation-name: controls-bottom;
animation-duration: 0.5s;
animation-timing-function: bounce-out;
animation-delay: 0.05s;
animation-fill-mode: backwards;
}
.controls-label {
font-family: $font-display;
font-weight: 800;
font-size: 18px;
color: $ink;
}
.column {
align-items: flex-start;
flex-direction: column;
gap: 2px;
width: 100%;
}
.input {
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
}
.type {
font-family: $font-body;
font-weight: 800;
font-size: 14px;
color: $ink;
}
.mouse-glyph {
width: 64px;
height: 64px;
filter: invert( 1 );
}
.key-glyph {
width: 64px;
height: 64px;
}
}
@keyframes controls-bottom {
0% {
transform: translateX( 180px );
opacity: 0;
}
100% {
transform: translateX( 0px );
opacity: 1;
}
}