List view for tours with images on desktop #73

Merged
stb merged 12 commits from feat/40c3-schedule-photos into 40c3 2026-11-14 08:47:09 +01:00
Showing only changes of commit db7aca8538 - Show all commits

Blend schedule photos into card background

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Vincent Mahnke 2026-11-14 04:27:55 +01:00
Signed by: ViMaSter
GPG key ID: 6D787326BA7D6469

View file

@ -135,8 +135,6 @@
}
.schedule--picker .schedule__card--photo {
--schedule-photo-fade: color-mix(in srgb, var(--color-text) 4%, var(--color-body-bg));
isolation: isolate;
overflow: hidden;
min-height: 7rem;
@ -166,17 +164,11 @@
width: 100%;
height: 100%;
object-fit: cover;
}
&::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(90deg,
var(--schedule-photo-fade) 0%,
color-mix(in srgb, var(--schedule-photo-fade) 97%, transparent) 10%,
color-mix(in srgb, var(--schedule-photo-fade) 90%, transparent) 40%,
color-mix(in srgb, var(--schedule-photo-fade) 20%, transparent) 100%);
mask-image: linear-gradient(90deg,
transparent 0%,
rgb(0 0 0 / 3%) 10%,
rgb(0 0 0 / 10%) 40%,
rgb(0 0 0 / 80%) 100%);
}
}