ui/inventoryweapon.razor.scss
InventoryWeapon {
font-size: 24px;
white-space: nowrap;
color: transparent;
flex-direction: row;
align-items: center;
justify-content: center;
transition: all 0.1s ease-in;
font-weight: semibold;
font-family: Open Sans;
flex-shrink: 0;
color: #f806;
position: relative;
border: 0.5px solid #ffaf0012;
&:before {
position: absolute;
width: 100%;
height: 100%;
opacity: 0.3;
background-color: #ffaf00ff;
mask-position: center;
mask-size: 32px;
mask-image: url( ui/diag_line_mask.png );
}
label {
transition: opacity 0.1s ease-in;
opacity: 1;
}
}
.active InventoryWeapon.active
{
color: #fc5;
box-shadow: 0px 0px 50px #f802;
background-color: #ffc94478;
text-shadow: 0px 0px 10px #f50;
}
InventoryWeapon .icon
{
font-size: 32px;
opacity: 1;
justify-content: center;
align-items: center;
height: 70px;
width: 70px;
.inner
{
background-tint: #fc5;
height: 50px;
width: 50px;
background-position: center;
background-size: contain;
background-repeat: no-repeat;
}
}
InventoryWeapon span
{
gap: 8px;
}
InventoryWeapon .small
{
margin-top: 8px;
font-size: 16px;
}
InventoryWeapon .info {
min-width: 128px;
padding-right: 16px;
gap: 8px;
padding-left: 16px;
height: 100%;
align-items: center;
border-left: 1px solid #e6ad12;
}
InventoryWeapon .extra {
aspect-ratio: 1;
padding-right: 16px;
gap: 8px;
align-items: center;
> div {
background-tint: #fc5;
justify-content: center;
align-items: center;
height: 24px;
width: 24px;
background-size: cover;
background-repeat: no-repeat;
}
}
InventoryWeapon.selected {
color: #fc5;
background-color: transparent;
background-image: radial-gradient(#ffc94400, #f4ab2cc6);
text-shadow: 0px 0px 10px #f50;
box-shadow: 0px 0px 50px #ffc94430;
transition: all 0.2s ease-in;
border: 1px solid #e6ad12;
}
InventoryWeapon
{
&:not( .switchable )
{
opacity: 0.25;
background-color: #bababa;
.icon
{
background-tint: #bababa;
}
label
{
color: #bababa;
}
}
}