37 lines
596 B
SCSS
37 lines
596 B
SCSS
.truncate-text {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 4;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.img-fixed-dimensions {
|
|
height: 150px;
|
|
width: 100px;
|
|
object-fit: fill;
|
|
}
|
|
|
|
.book-item {
|
|
position: relative;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.book-item-content {
|
|
position: relative;
|
|
}
|
|
|
|
.book-item:hover .book-item-content::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background-color: rgba(255, 255, 255, 0.075);
|
|
}
|
|
|
|
.book-item:hover .book-item-content {
|
|
box-shadow: 0 0 0 rgba(255, 255, 255, 0.9);
|
|
}
|