5c7b3feb1f
Share: "Copy Link" button generates a URL with ?s={history_id} that
loads the saved search results without auth. Recipients see the same
movie picks.
Watched: When viewing history results or shared searches, cards for
movies the logged-in user has since watched are dimmed with a green
"Watched" badge. Uses a new POST /api/library/watch-check endpoint.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
73 lines
1.4 KiB
CSS
73 lines
1.4 KiB
CSS
.delay-100 { animation-delay: 100ms; }
|
|
.delay-200 { animation-delay: 200ms; }
|
|
|
|
.movie-card {
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease;
|
|
}
|
|
.movie-card:hover {
|
|
transform: translateY(-4px);
|
|
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.genre-pill {
|
|
font-size: 0.7rem;
|
|
padding: 2px 8px;
|
|
border-radius: 9999px;
|
|
background: rgba(99, 102, 241, 0.2);
|
|
color: #a5b4fc;
|
|
}
|
|
|
|
.user-pill {
|
|
cursor: pointer;
|
|
transition: all 0.15s ease;
|
|
}
|
|
.user-pill.active {
|
|
background: rgba(99, 102, 241, 0.3);
|
|
border-color: #6366f1;
|
|
color: #c7d2fe;
|
|
}
|
|
.user-pill:not(.active) {
|
|
background: transparent;
|
|
border-color: #374151;
|
|
color: #6b7280;
|
|
}
|
|
|
|
.runtime-btn {
|
|
cursor: pointer;
|
|
}
|
|
.runtime-btn.active {
|
|
background: rgba(99, 102, 241, 0.3);
|
|
border-color: #6366f1;
|
|
color: #c7d2fe;
|
|
}
|
|
.runtime-btn:not(.active):hover {
|
|
border-color: #4b5563;
|
|
color: #9ca3af;
|
|
}
|
|
|
|
#kid-friendly-btn.active {
|
|
background: rgba(34, 197, 94, 0.2);
|
|
border-color: #22c55e;
|
|
color: #86efac;
|
|
}
|
|
|
|
.movie-card.watched {
|
|
opacity: 0.45;
|
|
}
|
|
.movie-card.watched::after {
|
|
content: 'Watched';
|
|
position: absolute;
|
|
top: 12px;
|
|
right: 12px;
|
|
background: rgba(34, 197, 94, 0.8);
|
|
color: white;
|
|
font-size: 0.7rem;
|
|
font-weight: 600;
|
|
padding: 2px 8px;
|
|
border-radius: 9999px;
|
|
z-index: 10;
|
|
}
|
|
.movie-card.watched {
|
|
position: relative;
|
|
}
|