Files
web/apps/scandic-web/components/HotelReservation/MyStay/Promo/promo.module.css
Erik Tiekstra 8e08af718c feat(BOOK-743): Replaced deprecated Button component
Approved-by: Bianca Widstam
2026-01-21 09:38:38 +00:00

73 lines
1.1 KiB
CSS

.promo {
height: 480px;
position: relative;
display: flex;
overflow: hidden;
text-decoration: none;
}
.content {
position: relative;
z-index: 2;
align-items: center;
display: flex;
flex: 1 0 100%;
flex-direction: column;
gap: var(--Space-x2);
justify-content: center;
padding: var(--Space-x4) var(--Space-x3);
color: var(--UI-Opacity-White-100);
text-align: center;
}
.text {
width: 100%;
}
.imageContainer {
height: 100%;
width: 100%;
position: absolute;
background-image: linear-gradient(
180deg,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.36) 37.88%,
rgba(0, 0, 0, 0.75) 100%
);
}
.overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: linear-gradient(
180deg,
rgba(0, 0, 0, 0) 0%,
rgba(0, 0, 0, 0.36) 37.88%,
rgba(0, 0, 0, 0.75) 100%
);
z-index: 1;
}
.image {
height: 100%;
object-fit: cover;
width: 100%;
}
@media (min-width: 768px) {
.promo {
border-radius: var(--Corner-radius-xl);
}
.content {
flex: 1 0 480px;
}
.text {
width: 400px;
}
}