ui/minimap.razor.scss
@import "theme";
Minimap
{
position: absolute;
right: 0;
bottom: 0;
width: 320px;
height: 320px;
opacity: 1;
transition: opacity 0.5s ease;
transform: scale(1);
&.empty
{
// Nothing baked yet - stay invisible rather than show an empty disc.
opacity: 0;
transform: scale(0.75);
}
.clip
{
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
.map-img
{
position: absolute;
}
.cp-bar
{
position: absolute;
height: 3px;
border-radius: 2px;
background-color: rgba( 255, 255, 255, 0.55 );
transform-origin: center;
&.finish
{
height: 6px;
background-color: $accent-yellow;
box-shadow: 0px 0px 4px rgba( 0, 0, 0, 0.7 );
}
}
.dot
{
position: absolute;
width: 8px;
height: 8px;
border-radius: 50%;
transform: translate( -50%, -50% );
border: 1.5px solid rgba( 0, 0, 0, 0.55 );
box-shadow: 0px 1px 2px rgba( 0, 0, 0, 0.5 );
&.local
{
width: 12px;
height: 12px;
border: 2px solid white;
z-index: 10;
}
&.ghost
{
opacity: 0.6;
}
&.item
{
width: 6px;
height: 6px;
border-width: 1px;
}
&.mine
{
border-radius: 2px; // squared-off so hazards read differently to racers
}
}
}