ui/helpscreen.razor.scss
@import "_theme.scss";
HelpScreen {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
pointer-events: none;
flex-direction: column;
font-family: $font-display;
color: $ink;
.help {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
flex-direction: column;
align-items: flex-start;
padding: 80px 90px;
pointer-events: all;
background-color: $cream;
background-image-tint: $cream;
background-image: url('textures/ui/background_dot_01.png');
transition: transform 0.45s ease-in-out, opacity 0.35s ease-out;
}
.help:intro {
opacity: 0;
transform: translateX( 60px );
}
.help:outro {
opacity: 0;
transform: translateX( 60px );
transition: transform 0.3s ease-in, opacity 0.25s ease-in;
}
.back-btn {
pointer-events: all;
flex-direction: row;
align-items: center;
gap: 12px;
font-family: $font-display;
font-weight: 800;
font-size: 28px;
letter-spacing: 2px;
color: $ink;
background-color: $white;
border: 6px solid $ink;
border-radius: 20px;
box-shadow: 7px 7px 0 $ink;
padding: 12px 30px 12px 22px;
cursor: pointer;
transition: all 0.08s ease-out;
&:hover {
sound-in: "ui.button.over";
}
&:active {
sound-in: "ui.button.press";
}
}
.back-btn:hover {
transform: translate( -3px, -3px );
box-shadow: 10px 10px 0 $ink;
}
.back-icon {
font-size: 24px;
color: $ink;
}
.help-body {
flex-grow: 1;
width: 100%;
flex-direction: column;
margin-top: 34px;
}
.help-title {
flex-shrink: 0;
font-family: $font-display;
font-weight: 800;
font-size: 52px;
letter-spacing: 3px;
color: $ink;
}
.help-sub {
flex-shrink: 0;
font-family: $font-body;
font-size: 32px;
color: $muted;
margin-bottom: 26px;
}
.block-grid {
flex-grow: 1;
flex-direction: row;
flex-wrap: wrap;
align-content: flex-start;
justify-content:space-between;
gap: 4px;
width: 100%;
overflow-y: scroll;
}
.block-card {
flex-shrink: 0;
flex-direction: row;
align-items: center;
gap: 8px;
width: 500px;
min-height: 104px;
border-radius: 18px;
}
.block-icon {
flex-shrink: 0;
width: 158px;
height: 158px;
}
.block-info {
flex-direction: column;
flex-grow: 1;
gap: 4px;
}
.block-name {
font-family: $font-display;
font-weight: 800;
font-size: 32px;
color: $ink;
}
.block-desc {
font-family: $font-body;
font-size: 26px;
color: $muted;
}
}