ui/panels/leaderboardpanel.razor.scss
LeaderboardPanel {
position: absolute;
bottom: 32px;
right: 32px;
width: 450px;
height: 80%;
flex-direction: column;
font-family: "Mini Pixel-7";
color: white;
font-size: 28px;
align-items: center;
gap: 4px;
background-color: #000000aa;
padding: 0px 8px 8px 8px;
.header {
font-size: 36px;
flex-shrink: 0;
margin: 8px 0 16px 0;
color: #666;
}
.status {
font-size: 24px;
color: #999;
flex-shrink: 0;
}
.entries {
flex-direction: column;
flex-grow: 1;
flex-shrink: 1;
min-height: 0;
gap: 2px;
width: 100%;
overflow-x: hidden;
overflow-y: scroll;
padding-top: 10px;
padding-bottom: 10px;
.entry {
width: 100%;
height: 28px;
min-height: 28px;
max-height: 28px;
overflow: hidden;
align-items: center;
justify-content: space-between;
gap: 8px;
flex-shrink: 0;
line-height: 28px;
white-space: nowrap;
.rank, .value {
flex-shrink: 0;
}
.avatar {
width: 22px;
height: 22px;
flex-shrink: 0;
background-size: cover;
background-position: center;
}
.name {
flex-grow: 1;
flex-shrink: 1;
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
}
}
}
}