ui/perkunlockpanel.razor.scss
PerkUnlockPanel
{
position: absolute;
left: 340px;
right: 340px;
bottom: 64px;
top: 64px;
padding: 16px;
flex-direction: column;
font-family: 'Inter';
color: white;
font-size: 24px;
align-items: flex-start;
justify-content: flex-start;
gap: 8px;
background-color: #000000fe;
pointer-events: all;
.header_row
{
position: relative;
flex-direction: row;
align-items: center;
gap: 20px;
h1
{
font-size: 48px;
}
}
h1
{
font-size: 48px;
}
.redeem_button
{
position: relative;
padding: 6px 16px;
font-size: 18px;
font-family: 'Inter';
color: white;
background-color: rgba(60, 130, 200, 0.85);
border: 2px solid rgba(100, 180, 255, 0.5);
border-radius: 6px;
cursor: pointer;
&:hover { background-color: rgba(80, 155, 230, 0.95); }
&:active { background-color: rgba(50, 110, 180, 1.0); }
.redeem_badge
{
position: absolute;
top: -6px;
right: -8px;
background-color: rgba(100, 200, 255, 0.9);
color: black;
font-size: 12px;
min-width: 18px;
height: 18px;
border-radius: 9px;
align-items: center;
justify-content: center;
text-align: center;
padding: 0 4px;
pointer-events: none;
}
}
.itemlist
{
position: relative;
flex-wrap: wrap;
gap: 5px;
flex-direction: row;
height: 90%;
width: 100%;
padding: 4px;
overflow: scroll;
}
.perk_slot
{
position: relative;
width: 64px;
height: 64px;
&.clickable
{
cursor: pointer;
&:hover
{
opacity: 0.85;
}
&:active
{
opacity: 0.7;
}
}
}
.debug_buttons
{
position: absolute;
bottom: 16px;
left: 16px;
flex-direction: row;
gap: 8px;
button
{
padding: 4px 12px;
font-size: 18px;
background-color: rgba(180, 60, 60, 0.8);
border: 1px solid rgba(255, 100, 100, 0.5);
color: white;
border-radius: 4px;
cursor: pointer;
&:hover { background-color: rgba(220, 80, 80, 0.9); }
&:active { background-color: rgba(255, 100, 100, 1.0); }
}
}
.hide_button
{
position: absolute;
top: 0px;
right: 0px;
height: 48px;
aspect-ratio: 1;
font-family: Material Icons;
color: white;
font-size: 50px;
align-content: center;
justify-content: center;
align-items: center;
text-align: center;
pointer-events: all;
cursor: pointer;
&:hover
{
font-size: 52px;
}
&:active
{
font-size: 42px;
}
}
}