ui/perkicon.razor.scss
PerkIcon {
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);
font-family: "Cal Sans";
//flex-shrink: 1;
.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: 24px;
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: 30px;
top: 0.5px;
align-items: center;
justify-content: center;
font-family: Inter;
font-weight: 800;
opacity: 0.75;
}
.display_text {
position: absolute;
//color: white;
font-size: 18px;
//font-size: 24px;
align-items: center;
text-align: center;
pointer-events: none;
//opacity: 2;
//text-shadow: 2px 2px 0px black;
text-stroke: 6px black;
z-index: 3;
}
.cooldown {
position: absolute;
pointer-events: none;
width: 100%;
height: 95%;
left: 0px;
bottom: 5%;
//right: 0px;
opacity: 1.5;
z-index: 2;
transition: width 0.1s ease-out;
}
.highlight {
position: absolute;
width: 100%;
height: 95%;
bottom: 5%;
z-index: 4;
pointer-events: none;
}
.deleveled {
position: absolute;
width: 100%;
height: 95%;
bottom: 5%;
background-color: red;
z-index: 5;
pointer-events: none;
}
}