List view for tours with images on desktop #73
1 changed files with 5 additions and 13 deletions
Blend schedule photos into card background
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
commit
db7aca8538
|
|
@ -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%);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue