ui/healthbar.razor.scss
HealthBar {
position: absolute;
bottom: 160px;
left: 100px;
width: 300px;
height: 50px;
background: rgba(0, 0, 0, 0.7);
border: 2px solid white;
border-radius: 6px;
&.full {
position: relative;
// Clear the desktop HUD offsets when filling the VR hand panel.
bottom: 0;
left: 0;
width: 100%;
height: 100%;
.protection-label {
font-size: 4px;
line-height: 4px;
white-space: nowrap;
}
}
&.protected {
border-color: #5ee7ff;
box-shadow: 0px 0px 12px rgba(94, 231, 255, 0.5);
}
.protection-label {
position: absolute;
inset: 0;
align-items: center;
justify-content: center;
font-family: Poppins;
font-size: 18px;
font-weight: bold;
color: white;
}
.fill {
height: 100%;
}
.ease-transition {
transition: width 0.15s ease;
}
}