swb_hud/scoreboard.cs.scss
Scoreboard {
position: absolute;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
color: white;
font-family: Poppins;
backdrop-filter: blur( 16px );
display: none;
z-index: 10;
&.open {
display: flex;
pointer-events: all;
}
.container {
width: 750px;
height: 80%;
background-color: rgba( #2222, 0.5 );
border-radius: 4px;
overflow: hidden;
flex-direction: column;
.header {
height: 48px;
width: 100%;
background-color: rgba( #121212, 0.8 );
align-items: center;
padding: 0 16px;
border-bottom: solid 2px white;
font-family: FONTSPRING DEMO - Integral CF;
.title {
font-size: 14px;
width: 100px;
}
.kills {
margin-left: auto;
}
.ping {
width: 40px;
}
}
.playerWrapper {
height: 100%;
width: 100%;
overflow-y: scroll;
flex-direction: column;
.row {
padding: 8px 16px;
width: 100%;
flex-shrink: 0;
background-color: rgba( #2222, 0.4 );
&.odd {
background-color: rgba( #2222, 0.8 );
}
.value {
font-size: 14px;
font-weight: bold;
width: 100px;
}
.name {
width: 380px;
overflow: hidden;
color: #ff5f5f;
&.self {
color: #ffe35f;
}
}
.ping {
width: 40px;
}
.kills {
margin-left: auto;
}
}
}
}
}