LOY-493/Sidepeek upcoming stays * chore(LOY-493): Add icon to next stay card cta * chore(LOY-493): better folder org for stays * chore(LOY-494): more folder reorg * feat(LOY-493): Implement Sidepeek for Upcoming Stays Approved-by: Matilda Landström
93 lines
1.4 KiB
CSS
93 lines
1.4 KiB
CSS
.card {
|
|
border-radius: var(--Corner-radius-lg);
|
|
border: 1px solid var(--Border-Default);
|
|
background: var(--Text-Brand-OnPrimary-3-Default);
|
|
display: flex;
|
|
padding: var(--Space-x15);
|
|
align-items: flex-start;
|
|
gap: var(--Space-x15);
|
|
align-self: stretch;
|
|
height: 100%;
|
|
}
|
|
|
|
.link {
|
|
text-decoration: none;
|
|
color: inherit;
|
|
}
|
|
|
|
.fallback {
|
|
min-width: 80px;
|
|
min-height: 108px;
|
|
}
|
|
|
|
.image {
|
|
width: 80px;
|
|
max-width: 80px;
|
|
height: 108px;
|
|
max-height: 108px;
|
|
border-radius: var(--Corner-radius-md);
|
|
object-fit: cover;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.content {
|
|
display: grid;
|
|
gap: var(--Space-x1);
|
|
}
|
|
|
|
.details {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Space-x05);
|
|
}
|
|
|
|
.hotelName,
|
|
.cityName,
|
|
.dates {
|
|
color: var(--Text-Default);
|
|
}
|
|
|
|
.divider {
|
|
display: none;
|
|
}
|
|
|
|
.chip {
|
|
display: flex;
|
|
padding: var(--Space-x05) var(--Space-x1);
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: var(--Space-x05);
|
|
border-radius: var(--Corner-radius-sm);
|
|
background: var(--Surface-Secondary-Default);
|
|
width: fit-content;
|
|
}
|
|
|
|
.chipText {
|
|
color: var(--Text-Interactive-Default);
|
|
}
|
|
|
|
.dateSection {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Space-x05);
|
|
}
|
|
|
|
.dates {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--Space-x05);
|
|
}
|
|
|
|
@media screen and (min-width: 1367px) {
|
|
.content {
|
|
gap: var(--Space-x15);
|
|
}
|
|
.divider {
|
|
display: inline-block;
|
|
}
|
|
.dateSection {
|
|
flex-direction: row;
|
|
gap: var(--Space-x2);
|
|
}
|
|
}
|