Files
web/components/HotelReservation/SelectRate/HotelInfoCard/hotelInfoCard.module.css
Bianca Widstam 748021cdab Merged in feat/SW-673-galleryicon-hotel-lightbox (pull request #734)
Feat/SW-673 galleryicon hotel lightbox

* feat(SW-673): add galleryChip to trigger lightbox

* feat(SW-673): add updated design galleryIcon

* feat(SW-673): add first image from hotelContent and heroImages

* feat(SW-673): fix import type

* feat(SW-673): fix css variables

* feat(SW-673): change component to include image that trigger lightbox

* feat(SW-673): refactor name to imageGallery


Approved-by: Niclas Edenvin
2024-10-24 08:41:26 +00:00

117 lines
2.0 KiB
CSS

.container {
background-color: var(--Base-Surface-Subtle-Normal);
padding: var(--Spacing-x3) var(--Spacing-x2);
}
.wrapper {
display: flex;
margin: 0 auto;
max-width: var(--max-width-navigation);
position: relative;
flex-direction: column;
gap: var(--Spacing-x2);
}
.imageWrapper {
position: relative;
overflow: hidden;
height: 200px;
max-width: 360px;
width: 100%;
}
.imageWrapper img {
border-radius: var(--Corner-radius-Medium);
}
.tripAdvisor {
display: flex;
align-items: center;
gap: var(--Spacing-x-half);
background-color: var(--Base-Surface-Primary-light-Normal);
position: absolute;
left: var(--Spacing-x2);
top: var(--Spacing-x2);
padding: 0 var(--Spacing-x1);
border-radius: var(--Corner-radius-Small);
}
.hotelContent {
display: flex;
flex-direction: column;
}
.hotelInformation {
gap: var(--Spacing-x1);
width: min(607px, 100%);
}
.title {
margin-bottom: var(--Spacing-x1);
}
.body {
margin-top: var(--Spacing-x2);
}
.facilities {
padding: var(--Spacing-x3) 0 var(--Spacing-x-quarter);
gap: var(--Spacing-x-one-and-half);
}
.facilityList {
display: flex;
flex-direction: column;
align-items: flex-start;
gap: var(--Spacing-x-one-and-half);
padding-bottom: var(--Spacing-x1);
}
.facilitiesItem {
display: flex;
align-items: center;
gap: var(--Spacing-x1);
}
.facilityName {
color: var(--UI-Text-Medium-contrast);
}
@media screen and (min-width: 1367px) {
.container {
padding: var(--Spacing-x4) var(--Spacing-x5);
}
.hotelContent {
gap: var(--Spacing-x6);
}
.hotelInformation {
padding-right: var(--Spacing-x3);
}
.wrapper {
gap: var(--Spacing-x3);
flex-direction: row;
}
.facilities {
padding: var(--Spacing-x3) var(--Spacing-x3) var(--Spacing-x-half);
}
.facilityList {
gap: var(--Spacing-x1);
padding-bottom: var(--Spacing-x-half);
}
.facilityTitle {
display: none;
}
.hotelContent {
flex-direction: row;
align-items: center;
}
.imageWrapper {
align-self: center;
}
}