enlargable show tiles

This commit is contained in:
2026-06-22 19:55:06 +00:00
parent 3b61a131c1
commit 86fbfa56bf
3 changed files with 44 additions and 3 deletions
+33 -1
View File
@@ -43,13 +43,21 @@
border-radius: $radius-lg;
overflow: hidden;
box-shadow: $shadow-md;
transition: transform $transition-normal, box-shadow $transition-normal;
transition: transform $transition-normal, box-shadow $transition-normal, border-color $transition-normal;
min-height: 180px;
cursor: pointer;
border-left: 4px solid transparent;
&:hover {
transform: translateY(-2px);
box-shadow: $shadow-lg;
}
&.expanded {
border-left-color: var(--color-accent);
box-shadow: 0 8px 30px rgba(232, 122, 46, 0.2), 0 4px 12px rgba(0, 0, 0, 0.15);
transform: translateY(-3px);
}
}
// ── Left: Show art badge (square) ──────────────────────────
@@ -131,6 +139,24 @@
line-height: 1.25;
}
// ── Chevron indicator ──────────────────────────────────────
.show-card-chevron {
position: absolute;
top: $spacing-lg;
right: $spacing-xl;
z-index: 3;
font-size: 0.7rem;
color: rgba(255, 255, 255, 0.45);
transition: transform $transition-normal, color $transition-normal;
pointer-events: none;
}
.show-card.expanded .show-card-chevron {
transform: rotate(90deg);
color: var(--color-accent);
}
// ── Show description (line-clamped) ────────────────────────
.show-description {
@@ -143,6 +169,12 @@
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
transition: max-height $transition-slow ease, opacity $transition-normal;
&.expanded {
-webkit-line-clamp: unset;
overflow: visible;
}
}
// ── Meta row (host + genre) ────────────────────────────────