Files
web/apps/scandic-web/components/HotelReservation/EnterDetails/Header/header.module.css
Niclas Edenvin 44e648e758 Merged in fix/SW-2292-new-hotel-header (pull request #2253)
fix(SW-2292): new design for hotel header on enter details

* fix(SW-2292): new design for hotel header on enter details


Approved-by: Michael Zetterberg
2025-05-28 12:19:11 +00:00

87 lines
1.3 KiB
CSS

.header {
position: relative;
overflow: hidden;
}
.hero {
position: absolute;
top: 0;
left: 0;
right: 0;
height: 100%;
width: 100%;
object-fit: cover;
}
.wrapper {
position: relative;
background: linear-gradient(
60deg,
rgb(0 0 0 / 25%) 0%,
rgb(0 0 0 / 50%) 50%,
rgb(0 0 0 / 75%) 100%
);
width: 100dvw;
}
.container {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
max-width: var(--max-width-page);
gap: var(--Space-x2);
padding: var(--Space-x3) 0 var(--Space-x4);
margin: 0 auto;
}
.titleContainer {
display: flex;
flex-direction: column;
gap: var(--Space-x05);
}
.mobileTitle {
display: -webkit-box;
}
.mobileTitle,
.title {
overflow: hidden;
text-overflow: ellipsis;
-webkit-line-clamp: 2; /* number of lines to show */
line-clamp: 2;
-webkit-box-orient: vertical;
}
.title {
display: none;
}
.address {
text-align: center;
color: var(--Text-Inverted);
}
@media (min-width: 768px) {
.container {
padding: var(--Space-x3) 0;
gap: var(--Space-x3);
}
.mobileTitle {
display: none;
}
.titleContainer {
gap: var(--Space-x1);
}
.title {
display: -webkit-box;
}
}
@media screen and (min-width: 1367px) {
.container {
padding: var(--Space-x6) 0;
}
}