ui/playertooltip.razor.scss
PlayerTooltip.hidden {
display: none;
}
PlayerTooltip {
position: absolute;
//width: 300px;
//height: 90px;
pointer-events: none;
color: white;
z-index: 9999;
background-color: #00000055;
flex-direction: row;
gap: 4px;
padding: 4px;
.icon {
position: relative;
background-size: cover;
background-position: center center;
//image-rendering: pixelated;
width: 42px;
height: 42px;
border-radius: 0px;
pointer-events: none;
}
.name {
position: relative;
font-family: 'Inter-Black';
text-align: center;
align-items: center;
font-size: 22px;
color: rgba(255,255,255,0.75);
text-shadow: 2px 2px 4px black;
word-break: break-all;
//height: 150px;
white-space: nowrap;
text-overflow: ellipsis;
}
.level {
position: absolute;
right: 3px;
top: -1px;
font-family: 'Inter-Black';
//text-align: center;
//align-items: center;
font-size: 14px;
text-stroke: 5px black;
color: rgba(185, 255, 221, 0.75);
//text-shadow: 2px 2px 4px black;
//background-color: rgba(0, 0, 0, 0.3);
//padding: 15px;
flex-shrink: 0;
}
.ping {
position: relative;
font-family: 'Inter-Black';
align-items: center;
font-size: 16px;
color: rgba(255, 255, 255, 0.25);
text-shadow: 2px 2px 4px black;
white-space: nowrap;
}
}