Feat/SW-999 visual fixes in enter details * fix(SW-999): accordion title font sizes fix and alignment of change room button * fix(SW-999): added scroll if content cannot fit inside popover Approved-by: Christel Westerberg
96 lines
1.5 KiB
CSS
96 lines
1.5 KiB
CSS
.wrapper {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: row;
|
|
gap: var(--Spacing-x-one-and-half);
|
|
}
|
|
|
|
.main {
|
|
width: 100%;
|
|
border-bottom: 1px solid var(--Primary-Light-On-Surface-Divider-subtle);
|
|
padding-bottom: var(--Spacing-x3);
|
|
}
|
|
|
|
.headerContainer {
|
|
display: grid;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
grid-template-areas:
|
|
"title title"
|
|
"description button";
|
|
}
|
|
|
|
.title {
|
|
grid-area: title;
|
|
}
|
|
|
|
.description {
|
|
grid-area: description;
|
|
}
|
|
|
|
.button {
|
|
grid-area: button;
|
|
justify-self: flex-end;
|
|
align-self: flex-start;
|
|
}
|
|
|
|
.iconWrapper {
|
|
position: relative;
|
|
}
|
|
|
|
.circle {
|
|
width: 24px;
|
|
height: 24px;
|
|
border-radius: 100px;
|
|
border: 2px solid var(--Base-Border-Inverted);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.circle {
|
|
background-color: var(--UI-Input-Controls-Fill-Selected);
|
|
}
|
|
|
|
.rate {
|
|
color: var(--UI-Text-Placeholder);
|
|
display: block;
|
|
}
|
|
|
|
.details {
|
|
display: flex;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.wrapper {
|
|
gap: var(--Spacing-x3);
|
|
padding-top: var(--Spacing-x3);
|
|
}
|
|
|
|
.iconWrapper {
|
|
top: var(--Spacing-x1);
|
|
}
|
|
|
|
.rate {
|
|
display: inline;
|
|
}
|
|
|
|
.rate::before {
|
|
content: "(";
|
|
}
|
|
.rate::after {
|
|
content: ")";
|
|
}
|
|
|
|
.wrapper:not(:last-child)::after {
|
|
position: absolute;
|
|
left: 12px;
|
|
bottom: 0;
|
|
top: var(--Spacing-x7);
|
|
height: 100%;
|
|
content: "";
|
|
border-left: 1px solid var(--Primary-Light-On-Surface-Divider-subtle);
|
|
}
|
|
}
|