ui/perkiconstatic.razor.scss
PerkIconStatic {
position: relative;
background-color: rgba(0,0,0,.35);
//width: 64px;
height: 64px;
justify-content: center;
align-items: center;
align-content: center;
box-shadow: 0px 0px 5px rgba(black, 0.25);
//flex-shrink: 1;
aspect-ratio: 1;
.scale_anim_wrap {
position: absolute;
width: 100%;
height: 100%;
align-items: center;
justify-content: center;
pointer-events: none;
}
.icon {
width: 92%;
height: 92%;
background-size: cover;
background-position: center center;
//image-rendering: pixelated;
pointer-events: none;
}
.progress {
position: absolute;
width: 100%;
height: 5%;
bottom: 0px;
left: 0px;
opacity: 3.0;
}
.rarity {
position: absolute;
width: 100%;
height: 100%;
opacity: 1;
aspect-ratio: 1;
background-size: cover;
background-image: url(textures/ui/gradient/gradient.png);
pointer-events: none;
}
&:hover {
//cursor: pointer;
background-color: rgba(#7DBEF9, 0.1);
}
.banish {
position: absolute;
pointer-events: none;
width: 100%;
height: 100%;
color: red;
font-size: 42px;
top: 0.5px;
align-items: center;
justify-content: center;
font-family: Inter;
font-weight: 800;
}
.maxed {
position: absolute;
pointer-events: none;
width: 100%;
height: 100%;
color: red;
font-size: 50px;
top: 0.5px;
align-items: center;
justify-content: center;
font-family: Inter;
font-weight: 800;
opacity: 0.75;
}
.percent {
position: absolute;
font-family: 'Inter-Black';
left: 3px;
top: -1px;
text-align: center;
align-items: center;
font-size: 14px;
color: rgba(185, 255, 221, 0.75);
text-stroke: 5px black;
//text-shadow: 2px 2px 4px black;
//background-color: red;
//padding: 15px;
flex-shrink: 0;
}
}
.button {
pointer-events: all;
cursor: pointer;
&:hover {
}
&:active {
}
}