feat(LOY-422): Upcoming Stays Redesign * feat(LOY-422): Upcoming Stays Redesign * feat(LOY-422): Carousel next/previous arrows * chore(LOY-422): add new material icon * refactor(LOY-422): restructure new and old upcoming stays * fix(LOY-422): handle less than 1 case * chore(LOY-422): remove uneeded id * chore(LOY-422): remove intl label for date edge case Approved-by: Matilda Landström
70 lines
1.3 KiB
CSS
70 lines
1.3 KiB
CSS
.card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: var(--Base-Surface-Primary-light-Normal);
|
|
border: 1px solid var(--Border-Default);
|
|
overflow: hidden;
|
|
border-radius: var(--Corner-radius-lg);
|
|
}
|
|
|
|
.imageContainer {
|
|
position: relative;
|
|
width: 100%;
|
|
aspect-ratio: 16/9;
|
|
border-radius: var(--Corner-radius-lg) var(--Corner-radius-lg) 0 0;
|
|
background:
|
|
linear-gradient(0deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.4) 100%),
|
|
lightgray 50% / cover no-repeat,
|
|
var(--Neutral-20);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.imageOverlay {
|
|
position: absolute;
|
|
inset: 0;
|
|
background: linear-gradient(
|
|
180deg,
|
|
rgba(0, 0, 0, 0.4) 0%,
|
|
rgba(0, 0, 0, 0.2) 50%,
|
|
rgba(0, 0, 0, 0.6) 100%
|
|
);
|
|
display: flex;
|
|
flex-direction: column;
|
|
z-index: 2;
|
|
padding: var(--Space-x2);
|
|
color: var(--Text-Inverted);
|
|
place-content: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Space-x1);
|
|
padding: var(--Space-x2);
|
|
}
|
|
|
|
.infoRow {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.infoItem {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--Space-x05);
|
|
}
|
|
|
|
.dateRange {
|
|
text-align: right;
|
|
}
|