Feat(SW-1275) cancel booking my stay * feat(SW-1276) UI implementation Desktop part 1 for MyStay * feat(SW-1276) UI implementation Desktop part 2 for MyStay * feat(SW-1276) UI implementation Mobile part 1 for MyStay * refactor: move files from MyStay/MyStay to MyStay * feat(SW-1276) Sidepeek implementation * feat(SW-1276): Refactoring * feat(SW-1276) UI implementation Mobile part 2 for MyStay * feat(SW-1276): translations * feat(SW-1276) fixed skeleton * feat(SW-1276): Added missing translations * feat(SW-1276) fixed translations * feat(SW-1275) cancel modal * feat(SW-1275): Mutate cancel booking * feat(SW-1275) added translations * feat(SW-1275) match current cancellationReason * feat(SW-1275) Added modal for manage stay * feat(SW-1275) Added missing icon * feat(SW-1275) New Dont cancel button * feat(SW-1275) Added preperation for Cancellation number * feat(SW-1275): added --modal-box-shadow * feat(SW-1718) Add to calendar * feat(SW-1718) general add to calendar Approved-by: Niclas Edenvin
63 lines
1.2 KiB
CSS
63 lines
1.2 KiB
CSS
.overlay {
|
|
background: rgba(0, 0, 0, 0.5);
|
|
height: var(--visual-viewport-height);
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw;
|
|
z-index: var(--default-modal-overlay-z-index);
|
|
}
|
|
|
|
.modal {
|
|
background-color: var(--Base-Surface-Primary-light-Normal);
|
|
border-radius: var(--Corner-radius-Medium) var(--Corner-radius-Medium) 0 0;
|
|
box-shadow: var(--modal-box-shadow);
|
|
width: 100%;
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: var(--default-modal-z-index);
|
|
}
|
|
|
|
.dialog {
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
/* For removing focus outline when modal opens first time */
|
|
outline: 0 none;
|
|
|
|
/* for supporting animations within content */
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.close {
|
|
background: none;
|
|
border: none;
|
|
cursor: pointer;
|
|
position: absolute;
|
|
right: var(--Spacing-x2);
|
|
width: var(--button-dimension);
|
|
height: var(--button-dimension);
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 0;
|
|
justify-content: center;
|
|
}
|
|
|
|
@media screen and (min-width: 768px) {
|
|
.overlay {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.modal {
|
|
left: auto;
|
|
bottom: auto;
|
|
width: auto;
|
|
border-radius: var(--Corner-radius-Medium);
|
|
max-width: var(--max-width-page);
|
|
}
|
|
}
|