SW-3270 move interactive map to design system or booking flow * wip * wip * merge * wip * add support for locales in design-system * add story for HotelCard * setup alias * . * remove tracking from design-system for hotelcard * pass isUserLoggedIn * export design-system-new-deprecated.css from design-system * Add HotelMarkerByType to Storybook * Add interactive map to Storybook * fix reactintl in vitest * rename env variables * . * fix background colors * add storybook stories for <Link /> * merge * fix tracking for when clicking 'See rooms' in InteractiveMap * Merge branch 'master' of bitbucket.org:scandic-swap/web into SW-3270-move-interactive-map-to-design-system-or-booking-flow * remove deprecated comment Approved-by: Anton Gunnarsson
144 lines
2.1 KiB
CSS
144 lines
2.1 KiB
CSS
.container {
|
|
max-width: var(--max-width-content);
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
|
|
& > :first-child {
|
|
margin-top: 0;
|
|
}
|
|
& > :last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
.heading {
|
|
color: var(--Text-Heading);
|
|
margin-top: var(--Space-x3);
|
|
text-wrap: balance;
|
|
hyphens: auto;
|
|
}
|
|
|
|
.h1,
|
|
.h2 {
|
|
margin-bottom: var(--Space-x2);
|
|
}
|
|
|
|
.h3,
|
|
.h4,
|
|
.h5,
|
|
.p,
|
|
.blockquote,
|
|
.code,
|
|
.divider,
|
|
.div {
|
|
margin-bottom: var(--Space-x15);
|
|
}
|
|
|
|
.imageWithCaption {
|
|
display: grid;
|
|
gap: var(--Space-x1);
|
|
margin: var(--Space-x3) 0;
|
|
|
|
.imageWrapper {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.imageWrapper {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 365px;
|
|
border-radius: var(--Corner-radius-md);
|
|
margin: var(--Space-x3) 0;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.image {
|
|
width: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.ul,
|
|
.ol {
|
|
display: grid;
|
|
gap: var(--Space-x1);
|
|
padding: 0;
|
|
margin-top: var(--Space-x2);
|
|
margin-bottom: var(--Space-x2);
|
|
}
|
|
|
|
.ol > li::marker {
|
|
color: var(--Icon-Accent);
|
|
}
|
|
|
|
.li {
|
|
margin-left: var(--Space-x3);
|
|
}
|
|
|
|
.heart > .li::before,
|
|
.li:has(.heart)::before {
|
|
content: url('/_static/icons/heart.svg');
|
|
position: relative;
|
|
height: 8px;
|
|
top: 3px;
|
|
margin-right: var(--Space-x1);
|
|
margin-left: calc(var(--Space-x3) * -1);
|
|
}
|
|
|
|
.heart > .li,
|
|
.check > .li,
|
|
.li:has(.check),
|
|
.li:has(.heart) {
|
|
list-style: none;
|
|
}
|
|
|
|
.check > .li::before,
|
|
.li:has(.check)::before {
|
|
content: url('/_static/icons/check-ring.svg');
|
|
position: relative;
|
|
height: 8px;
|
|
top: 3px;
|
|
margin-right: var(--Space-x1);
|
|
margin-left: calc(var(--Space-x3) * -1);
|
|
}
|
|
|
|
.li > p {
|
|
display: inline;
|
|
margin: 0;
|
|
}
|
|
|
|
.tableContainer {
|
|
max-width: 100%;
|
|
overflow-x: auto;
|
|
margin: var(--Space-x3) 0;
|
|
}
|
|
|
|
.table .p {
|
|
display: inline;
|
|
margin: 0;
|
|
}
|
|
|
|
.theadContent {
|
|
color: var(--Text-Heading);
|
|
}
|
|
|
|
.iframe {
|
|
margin: var(--Space-x3) 0;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.ol:has(li:nth-last-child(n + 5)),
|
|
.ul:has(li:nth-last-child(n + 5)) {
|
|
grid-template-columns: 1fr 1fr;
|
|
grid-auto-flow: column;
|
|
}
|
|
}
|
|
|
|
@container sidebar (max-width: 360px) {
|
|
.ol,
|
|
.ul {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
}
|