Kavita/UI/Web/src/app/cards/person-card/person-card.component.scss
Christopher cc8e7e159b Converted majority PX values to REM
Everything but dark.scss and values inside calc() have been converted from px to rem
2025-05-01 21:31:30 -06:00

55 lines
898 B
SCSS

$image-height: 10.0rem;
@use '../../../card-item-common';
// Override so we can have square cards
.bulk-mode {
&.always-show {
height: $image-height;
}
}
.card-item-container {
background-color: unset;
border: 0.0625rem solid transparent;
transition: all ease-in-out 300ms;
.overlay {
height: $image-height;
position: relative;
display: flex;
background-color: hsl(0deg 0% 0% / 12%);
/* TODO: Robbie fix this hack */
.missing-img {
align-self: center;
display: flex;
}
.card-overlay {
height: 100%;
}
}
.card-body {
bottom: 0;
background-color: transparent;
position: unset !important;
margin-bottom: 0.3125rem;
display: flex;
flex-direction: column;
.card-title {
margin: 0 auto;
}
}
&:hover {
cursor: pointer;
.overlay {
.missing-img {
}
}
}
}