Add modal layer css

This commit is contained in:
Zack Rauen 2023-06-15 13:11:03 -04:00
parent ec9243c12d
commit 203cf6ddac
1 changed files with 49 additions and 0 deletions

View File

@ -161,4 +161,53 @@
padding-bottom: 20px;
overflow: hidden scroll;
padding-right: 8px;
}
.bd-modal-backdrop {
position: fixed;
top: 0;
right: var(--devtools-sidebar-width,0);
bottom: 0;
left: 0;
-webkit-transform: translateZ(0);
transform: translateZ(0);
pointer-events: all;
}
#bd-modal-container {
position: absolute;
top: 0;
left: 0;
right: var(--devtools-sidebar-width,0);
bottom: 0;
background: none!important;
pointer-events: none;
z-index: 1002;
}
.bd-modal-layer {
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.bd-modal-layer {
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-box-orient: vertical;
-webkit-box-direction: normal;
-ms-flex-direction: column;
flex-direction: column;
min-height: 0;
padding-top: 40px;
padding-bottom: 40px;
}