ui/hud/hud.razor.scss
Hud {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
flex-direction: column;
font-weight: bold;
border-radius: 20px;
color: #fff;
font-size: 25px;
.header {
display: flex;
justify-content: flex-end;
align-items: center;
gap: 50px;
padding: 20px;
.day-manager h2 {
text-align: center;
font-size: 30px;
font-family: "Space Grotesk";
}
.clock {
background-color: rgba(0, 0, 0, 0.5);
color: #fff;
display: flex;
justify-content: center;
align-items: center;
p {
text-align: center;
font-size: 28px;
font-family: "JetBrains Mono";
}
}
}
.container {
position: absolute;
bottom: 50px;
right: 50px;
font-family: "JetBrains Mono";
.content {
padding: 10px 20px;
display: flex;
background-color: rgba(0, 0, 0, 0.5);
border: 1px solid rgba(39, 42, 46, 0.8);
border-radius: 5px;
justify-content: center;
align-items: center;
gap: 10px;
.image {
object-fit: cover;
}
.headline {
color: #00ff66;
}
}
}
.slot {
position: absolute;
bottom: 50px;
right: 300px;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
gap: 10px;
border-radius: 5px;
padding: 10px 15px;
background-color: rgba(0, 0, 0, 0.5);
transition: all 300ms ease;
&:hover {
background-color: rgba(0, 0, 0, 0.8);
transition: all 300ms ease;
sound-in: ui.button.over;
}
.kbd {
font-family: "JetBrains Mono";
font-size: 30px;
}
.title {
font-family: "Space Grotesk";
font-size: 21px;
}
}
.progress-end-game {
position: absolute;
width: 70%;
bottom: 50px;
left: 50px;
.progress-bar {
width: 100%;
height: 40px;
padding: 4px;
border-radius: 6px;
overflow: hidden;
background-color: rgba(0, 0, 0, 0.7);
.bar {
height: 100%;
background-image: linear-gradient(to right, #00e55b, #00ff66, #00e3fd);
border-radius: 2px;
}
p {
position: absolute;
font-family: "JetBrains Mono";
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
}
}
.day-container {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
width: 100%;
height: 100%;
justify-content: center;
align-items: center;
background-color: rgb(7, 9, 11);
opacity: 0;
pointer-events: none;
z-index: 999;
animation-name: morning;
animation-duration: 5s;
animation-timing-function: ease;
animation-fill-mode: forwards;
.heading-current-day {
font-size: 40px;
text-align: center;
font-weight: 700;
font-family: "Space Grotesk";
letter-spacing: 2px;
}
&.night {
flex-direction: column;
animation-name: night;
animation-duration: 2s;
button {
pointer-events: all;
}
}
.summary-container {
width: 35%;
padding: 24px;
border: 1px solid #1e2936;
flex-direction: column;
background-color: rgb(18 23 30 / 0.95);
border-radius: 12px;
overflow: hidden;
box-shadow:
0 0 25px -5px rgba(0, 255, 102, 0.25),
inset 0 0 15px -3px rgba(0, 255, 102, 0.08);
.summary-header {
margin-bottom: 20px;
flex-direction: column;
.summary-title {
display: flex;
align-items: center;
justify-content: flex-start;
gap: 10px;
padding-bottom: 16px;
.circle {
width: 16px;
height: 16px;
border-radius: 50%;
background-color: #00ff66;
}
h2 {
font-family: "Space Grotesk";
font-size: 40px;
}
}
}
.row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
gap: 20px;
}
.form-control {
padding: 16px;
background-color: rgb(13 17 22 / 0.9);
border: 1px solid rgb(30 41 54 / 0.7);
border-radius: 8px;
flex-direction: column;
margin-bottom: 20px;
gap: 16px;
pointer-events: all;
transition: all 500ms ease;
&.nth {
flex: 1;
h3 {
font-size: 23px;
}
}
h3 {
font-size: 30px;
color: #94a3b8;
}
.form-control-header {
justify-content: space-between;
align-items: center;
}
&:hover {
transition: all 500ms ease;
&.mgreen {
border-color: #00ff66;
}
&.mblue {
border-color: #00e3fd;
}
&.mred {
border-color: #ff3366;
}
}
}
}
.separator {
width: 100%;
height: 1px;
background-color: rgb(30 41 54 / 0.8);
}
.normal-font {
font-family: "Space Grotesk";
}
.number {
font-family: "JetBrains Mono";
}
.btn-next-action {
flex: 1;
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
padding: 30px;
background-color: rgb(13 17 22 / 0.9);
border: 1px solid #1e2936;
border-radius: 16px;
margin: 20px 0;
pointer-events: all;
}
.circle-base {
width: 8px;
height: 8px;
border-radius: 50%;
}
.circle-green {
background-color: #00ff66;
}
.circle-blue {
background-color: #00e3fd;
}
.circle-red {
background-color: #ff3366;
}
}
.version-manager {
position: absolute;
top: 20px;
left: 20px;
background-color: rgba(0, 0, 0, 0.5);
p {
color: white;
font-family: "JetBrains Mono";
font-size: 26px;
}
}
}
@keyframes morning {
0% {
opacity: 0;
}
2% {
opacity: 1;
}
60% {
opacity: 1;
}
100% {
opacity: 0;
}
}
@keyframes night {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}