gamehud.scss
GameHud
{
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
pointer-events: none;
background-color: transparent;
.hud
{
position: absolute;
top: 40px;
left: 40px;
flex-direction: column;
gap: 12px;
width: 320px;
background-color: transparent;
}
.bar-container
{
flex-direction: column;
gap: 4px;
background-color: transparent;
}
.bar-label
{
color: white;
font-size: 16px;
font-weight: bold;
text-shadow: 1px 1px 2px black;
background-color: transparent;
}
.score-label
{
color: #ffd54f;
font-size: 16px;
font-weight: bold;
text-shadow: 1px 1px 2px black;
background-color: transparent;
}
.bar-track
{
width: 100%;
height: 24px;
background-color: rgba(0, 0, 0, 0.5);
border: 2px solid rgba(255, 255, 255, 0.4);
border-radius: 6px;
overflow: hidden;
}
.bar-fill
{
height: 100%;
transition: width 0.1s ease-out;
}
.fill-bar
{
background-color: #4caf50;
}
.pour-bar
{
background-color: #4fa8e0;
}
.round-banner
{
position: absolute;
top: 35%;
left: 0;
right: 0;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
background-color: transparent;
span
{
color: white;
font-size: 48px;
font-weight: bold;
text-shadow: 2px 2px 4px black;
background-color: transparent;
}
.sub
{
font-size: 22px;
opacity: 0.8;
}
}
}