New programming screen

This commit is contained in:
2026-06-21 21:55:55 +00:00
parent 96d0fef792
commit e627fe3637
24 changed files with 1297 additions and 122 deletions
+179 -58
View File
@@ -26,89 +26,210 @@
font-size: 1.1rem;
}
.schedule-day-block {
max-width: 800px;
margin: 0 auto $spacing-xl;
}
// ── Show list (vertical stack) ─────────────────────────────
.schedule-day-label {
text-align: center;
font-family: var(--font-heading);
font-size: 1.2rem;
color: var(--color-primary);
margin-bottom: $spacing-md;
font-weight: 600;
}
.schedule-table {
.show-list {
display: flex;
flex-direction: column;
gap: 0;
gap: $spacing-lg;
}
.schedule-row {
// ── Horizontal show card ───────────────────────────────────
.show-card {
display: flex;
flex-direction: row;
align-items: stretch;
padding: $spacing-md 0;
border-bottom: 1px solid var(--color-light);
transition: background $transition-fast;
border-radius: $radius-lg;
overflow: hidden;
box-shadow: $shadow-md;
transition: transform $transition-normal, box-shadow $transition-normal;
min-height: 180px;
&:hover {
background: var(--color-cream);
transform: translateY(-2px);
box-shadow: $shadow-lg;
}
}
.schedule-time {
width: 100px;
// ── Left: Show art badge (square) ──────────────────────────
.show-card-art {
flex-shrink: 0;
font-family: var(--font-mono);
font-size: 0.95rem;
color: var(--color-accent);
font-weight: 600;
padding-right: $spacing-md;
text-align: right;
padding-top: 2px;
}
.schedule-divider {
width: 2px;
background: var(--color-accent-muted);
margin: 0 $spacing-sm;
border-radius: 1px;
opacity: 0.4;
}
.schedule-details {
flex: 1;
padding: $spacing-xs 0;
}
.schedule-title {
font-size: 1.05rem;
color: var(--color-primary);
margin-bottom: $spacing-xs;
}
.schedule-meta {
width: 140px;
display: flex;
align-items: center;
justify-content: center;
background: var(--color-primary-dark);
padding: $spacing-md;
.show-art-img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: $radius-md;
display: block;
}
.show-art-placeholder {
width: 100%;
aspect-ratio: 1;
display: flex;
align-items: center;
justify-content: center;
background: rgba(255, 255, 255, 0.12);
border-radius: $radius-md;
font-size: 3rem;
color: var(--color-accent);
}
}
// ── Right: Hero-backed info panel ──────────────────────────
.show-card-right {
flex: 1;
min-width: 0;
position: relative;
display: flex;
flex-direction: column;
justify-content: center;
background-color: var(--color-light);
&.has-hero {
background-size: cover;
background-position: center;
}
}
.show-card-overlay {
position: absolute;
inset: 0;
background: linear-gradient(
to right,
rgba(26, 36, 50, 0.95) 0%,
rgba(26, 36, 50, 0.85) 60%,
rgba(26, 36, 50, 0.7) 100%
);
z-index: 1;
}
.show-card-info {
position: relative;
z-index: 2;
padding: $spacing-lg $spacing-xl;
min-width: 0;
}
// ── Show title ─────────────────────────────────────────────
.show-title {
font-family: var(--font-heading);
font-size: 1.4rem;
color: var(--color-white);
margin: 0 0 $spacing-sm;
line-height: 1.25;
}
// ── Show description (line-clamped) ────────────────────────
.show-description {
font-size: 0.95rem;
color: rgba(255, 255, 255, 0.82);
margin: 0 0 $spacing-md;
line-height: 1.5;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
// ── Meta row (host + genre) ────────────────────────────────
.show-meta {
display: flex;
flex-wrap: wrap;
gap: $spacing-md;
font-size: 0.85rem;
color: var(--color-medium);
margin-bottom: $spacing-md;
.schedule-host {
.show-host {
color: var(--color-accent);
display: flex;
align-items: center;
gap: 4px;
font-weight: 500;
}
.schedule-genre {
background: var(--color-light);
padding: 2px 10px;
.show-genre {
background: rgba(255, 255, 255, 0.15);
padding: 3px 12px;
border-radius: 10px;
color: rgba(255, 255, 255, 0.88);
font-style: italic;
}
}
@media (max-width: #{$bp-md - 1px}) {
.schedule-time { width: 80px; font-size: 0.85rem; }
// ── Schedule slot tags ─────────────────────────────────────
.show-schedule-slots {
display: flex;
flex-wrap: wrap;
gap: 8px;
}
.slot-tag {
display: inline-block;
background: rgba(255, 255, 255, 0.16);
color: var(--color-white);
font-size: 0.78rem;
font-family: var(--font-mono);
padding: 4px 12px;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.12);
white-space: nowrap;
letter-spacing: 0.02em;
}
// ── Responsive ─────────────────────────────────────────────
@include responsive(md) {
.show-card-art {
width: 110px;
padding: $spacing-sm;
}
.show-card-info {
padding: $spacing-md $spacing-lg;
}
.show-title {
font-size: 1.2rem;
}
.show-description {
-webkit-line-clamp: 2;
font-size: 0.88rem;
}
}
@include responsive(sm) {
.show-card {
flex-direction: column;
min-height: auto;
}
.show-card-art {
width: 100%;
aspect-ratio: 16 / 9;
padding: $spacing-md;
}
.show-card-info {
padding: $spacing-md $spacing-lg $spacing-lg;
}
.show-description {
-webkit-line-clamp: 2;
}
}