feat(BOOK-522): align items in topmenu, header and booking widget * feat(BOOK-522): align items in topmenu, header and booking widget * Delete old css variable and use new * Fixed underline on icons Approved-by: Erik Tiekstra
60 lines
1008 B
CSS
60 lines
1008 B
CSS
.card {
|
|
border-radius: var(--Corner-radius-md);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.imageContainer {
|
|
width: 100%;
|
|
height: 200px;
|
|
position: relative;
|
|
}
|
|
|
|
.default {
|
|
background-color: var(--Base-Surface-Subtle-Normal);
|
|
}
|
|
|
|
.featured {
|
|
background-color: var(--Main-Grey-White);
|
|
}
|
|
|
|
.default,
|
|
.featured {
|
|
border: 1px solid var(--Base-Border-Subtle);
|
|
}
|
|
|
|
.image {
|
|
width: 100%;
|
|
height: 12.5rem; /* 200px */
|
|
}
|
|
|
|
.content {
|
|
display: grid;
|
|
gap: var(--Space-x15);
|
|
padding: var(--Spacing-x2) var(--Spacing-x3);
|
|
grid-template-rows: auto 1fr auto;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.description {
|
|
color: var(--Base-Text-Medium-contrast);
|
|
}
|
|
|
|
.ctaContainer {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: var(--Spacing-x1);
|
|
width: 100%;
|
|
}
|
|
|
|
@media (min-width: 1367px) {
|
|
.card:not(.alwaysStack) .ctaContainer {
|
|
grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
|
|
}
|
|
|
|
.card:not(.alwaysStack) .ctaContainer:has(:only-child) {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|