feat: update ancillaries flow ui * feat: update ancillaries flow ui Approved-by: Matilda Haneling
92 lines
1.6 KiB
CSS
92 lines
1.6 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-md) var(--Corner-radius-md) 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;
|
|
|
|
max-height: 90dvh;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
position: relative;
|
|
padding: var(--Space-x2);
|
|
}
|
|
|
|
.content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: var(--Space-x2);
|
|
overflow: auto;
|
|
}
|
|
|
|
.contentWithActions {
|
|
padding: 0;
|
|
}
|
|
|
|
.contentWithoutActions {
|
|
padding: 0 var(--Space-x2) var(--Space-x3);
|
|
}
|
|
|
|
.close {
|
|
position: absolute;
|
|
top: var(--Space-x1);
|
|
right: var(--Space-x1);
|
|
}
|
|
|
|
.verticalCenter {
|
|
align-items: 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-md);
|
|
max-width: var(--max-width-page);
|
|
}
|
|
|
|
.dialog {
|
|
max-height: 90dvh;
|
|
}
|
|
|
|
.header {
|
|
padding: var(--Space-x2) var(--Space-x2) var(--Space-x15) var(--Space-x3);
|
|
}
|
|
|
|
.contentWithoutActions {
|
|
padding: 0 var(--Space-x3) var(--Space-x4);
|
|
}
|
|
}
|