ui/gameoverresultpanel.razor.scss
$font-family: "Inter";
$font-weight: 700;
$font-weight-bold: bold;
$primary-color: rgba(232, 255, 244, 0.8);
$secondary-color: #809F91;
GameOverResultPanel {
position: relative;
height: 100%;
width: 100%;
//background-color: rgba(black, 0.7);
font-family: "Cal Sans";
color: white;
flex-direction: column;
pointer-events: all;
//margin: 10px;
//border: 4px solid red;
//border-image: url("/textures/ui/panel/leaderboard_border.png") 12 / 4px;
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
padding-bottom: -10px;
margin-left: 1px;
.title_container {
position: relative;
//width: 300px;
//height: 100px;
width: 50%;
height: 100%;
justify-content: center;
align-items: center;
//background-color: red;
//flex-shrink: 0;
.title {
position: relative;
width: 90%;
height: 100%;
//margin-top: 15px;
background-image: url("/textures/ui/panel/gameover_results_text.png");
background-position: center;
background-size: 100% 100%;
//background-color: red;
}
}
.list {
position: relative;
height: 30px;
padding: 2px 4px;
flex-shrink: 0;
//backdrop-filter: blur(10px);
width: 100%;
//border: 1px solid red;
justify-content: space-between;
//background-color: rgba(white, 0.02);
//.icon {
//mix-blend-mode: lighten;
//font-size: 24px;
//color: rgba(232, 255, 244, 0.5);
//padding-right: 4px;
//padding-top: 1px;
// margin-top: -3px;
// margin-left: -6px;
//}
}
.stat_name {
position: relative;
font-size: 14px;
align-items: center;
color: rgba(232, 255, 244, 0.8);
//border: 1px solid blue;
}
.values {
justify-content: flex-end;
gap: 3px;
}
.stat_value {
position: relative;
//font-size: 16px;
align-items: center;
//border: 1px solid green;
width: 80px;
//border: 1px solid blue;
background-color: #ffffff02;
border-radius: 5px;
justify-content: center;
align-content: center;
text-align: center;
padding-top: 2px;
}
.avatars {
position: relative;
width: 50%;
height: 100%;
flex-direction: row;
gap: 3px;
justify-content: flex-end;
//flex-shrink: 0;
//background-color: blue;
}
.avatar {
position: relative;
width: 80px;
height: 80px;
//background-color: #0000ff33;
//padding: 2px;
background-position: center;
background-size: cover;
pointer-events: all;
cursor: pointer;
border-radius: 3px;
&:hover {
transform: scale(0.99);
sound-in: ui.button.over;
}
&:active {
transform: scale(0.98);
sound-in: ui.button.press;
}
.playerlevel {
position: absolute;
right: 3px;
top: 1px;
text-align: center;
align-items: center;
font-size: 16px;
color: rgba(185, 255, 221, 0.75);
text-stroke: 5px black;
//text-shadow: 2px 2px 4px black;
//background-color: rgba(0, 0, 0, 0.3);
//padding: 15px;
flex-shrink: 0;
}
}
.flat {
.contents {
position: relative;
flex-direction: column;
justify-content: flex-start;
align-items: center;
align-content: stretch;
width: 100%;
height: 100%;
}
.label {
font-weight: $font-weight;
font-family: $font-family;
}
.center {
align-items: center;
}
.bold {
font-weight: $font-weight-bold;
}
.primary {
font-size: 18px;
color: $primary-color;
}
.large {
font-size: 22px;
}
.secondary {
font-size: 16px;
color: $secondary-color;
}
.grey {
position: relative;
mix-blend-mode: lighten;
font-size: 22px;
color: rgba(232, 255, 244, 0.5);
padding-right: 8px;
}
//i, .icon {
// position: relative;
// align-items: center;
// font-family: Material Icons;
//}
.icon_container {
position: relative;
width: 30px;
height: 30px;
margin-top: -3px;
margin-left: -6px;
}
.icon {
position: relative;
width: 100%;
height: 100%;
//background-color: blue;
background-position: center;
background-size: 100% 100%;
//background-image: url("/textures/ui/stats/bullet.png");
transform: scale(0.7);
//mask-image: url("/textures/ui/stats/bullet.png");
mask-size: 70% 70%;
mask-repeat: no-repeat;
mask-position: center;
//image-rendering: pixelated;
//filter: blur(10px);
}
.space-between {
position: relative;
justify-content: space-between;
}
//.container {
// position: relative;
// background-color: rgba(0, 0, 0, 0.2);
// backdrop-filter: blur(10px);
//}
.column {
position: relative;
width: 100%;
flex-direction: column;
}
.section {
position: relative;
width: 100%;
padding: 16px;
flex-direction: column;
&.tight {
padding: 8px;
padding-left: 16px;
padding-right: 16px;
}
&.dark {
background-color: rgba(0, 0, 0, 0.35);
}
&.row {
flex-direction: row;
}
}
}
.scrollbar {
position: absolute;
width: 4px;
background-color: #ffffff11;
right: -8px;
top: 0px;
border-radius: 3px;
}
}