Files
web/apps/scandic-web/components/ContentCard/contentCard.module.css
Erik Tiekstra 333636c81a Merged in feat/BOOK-61-refactor-hotel-page-css-variables (pull request #3014)
Feat/BOOK-61 refactor hotel page css variables

* feat(BOOK-61): Breadcrumbs

* feat(BOOK-61): intro section

* feat(BOOK-61): show more button

* feat(BOOK-61): rooms section

* feat(BOOK-61): sidepeeks

* feat(BOOK-61): deprecated old Link component

* feat(BOOK-61): added new TextLink component to the design-system

* feat(BOOK-61): replaced deprecated links with new TextLink component

* feat(BOOK-61): miscellaneous changes


Approved-by: Bianca Widstam
Approved-by: Christel Westerberg
2025-10-29 09:15:03 +00:00

59 lines
941 B
CSS

.card {
display: grid;
&:hover {
.imageContainer,
.image {
border-radius: var(--Corner-radius-lg);
}
.image {
transform: scale(1.05);
}
}
}
.imageContainer {
position: relative;
width: 100%;
height: 250px;
border-radius: var(--Corner-radius-md);
overflow: hidden;
transition: border-radius 0.3s ease-in-out;
}
.image {
border-radius: var(--Corner-radius-md);
width: 100%;
height: 100%;
object-fit: cover;
transition:
transform 0.3s ease-in-out,
border-radius 0.3s ease-in-out;
}
.promoTag {
position: absolute;
top: 14px;
left: 14px;
}
.content {
display: flex;
padding: var(--Space-x15);
flex-direction: column;
align-items: flex-start;
gap: var(--Space-x15);
align-self: stretch;
}
.link {
text-decoration: none;
color: inherit;
}
@media (min-width: 768px) {
.content {
padding: var(--Space-x2) var(--Space-x2) var(--Space-x2) 0;
}
}