Replace deprecated <Body> with <Typography> * chore: replace deprecated body component * refactor: replace Body component with Typography across various components * merge Approved-by: Bianca Widstam Approved-by: Matilda Landström
98 lines
1.5 KiB
CSS
98 lines
1.5 KiB
CSS
.dialog {
|
|
position: fixed;
|
|
inset: 0;
|
|
width: 100dvw;
|
|
height: 100dvh;
|
|
background-color: var(--Background-Primary);
|
|
z-index: 200;
|
|
overflow: auto;
|
|
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.content {
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: var(--Space-x4);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Space-x4);
|
|
}
|
|
|
|
.closeButton {
|
|
position: absolute;
|
|
top: var(--Space-x4);
|
|
right: var(--Space-x4);
|
|
}
|
|
|
|
.roomsSection {
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: auto;
|
|
}
|
|
|
|
.rowContainer {
|
|
padding: var(--Space-x2) 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: var(--Space-x1);
|
|
}
|
|
|
|
.roomContainer:first-child {
|
|
padding-top: 0;
|
|
}
|
|
|
|
.roomContainer:last-child {
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.priceRow {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
color: var(--UI-Text-Medium-contrast);
|
|
}
|
|
|
|
.updatedPrice {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: var(--Space-x1);
|
|
}
|
|
|
|
.footer {
|
|
display: flex;
|
|
flex-direction: column-reverse;
|
|
justify-content: center;
|
|
gap: var(--Space-x2);
|
|
padding-top: var(--Space-x6);
|
|
margin-top: auto;
|
|
}
|
|
|
|
@media screen and (min-width: 1367px) {
|
|
.dialog {
|
|
padding: var(--Space-x6);
|
|
align-items: center;
|
|
}
|
|
|
|
.header {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.content {
|
|
width: 512px;
|
|
height: fit-content;
|
|
padding: 0;
|
|
}
|
|
|
|
.footer {
|
|
flex-direction: row;
|
|
padding: var(--Space-x6) 0;
|
|
}
|
|
}
|