qwc2
Version:
QGIS Web Client
51 lines (45 loc) • 1 kB
CSS
div.modal-dialog-container {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
padding: 2em;
background-color: rgba(127, 127, 127, 0.5);
z-index: 202;
display: flex;
justify-content: center;
}
div.modal-dialog {
height: 100%;
background-color: var(--container-bg-color);
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.75);
display: inline-flex;
flex-direction: column;
}
div.modal-dialog-title {
font-weight: bold;
color: var(--titlebar-text-color);
background-color: var(--titlebar-bg-color);
flex: 0 0 2.5em;
display: flex;
align-items: center;
padding: 0 0.25em;
display: flex;
align-items: center;
}
div.modal-dialog-title span:not(.icon) {
flex: 1 1 auto;
}
div.modal-dialog-title span.icon {
flex: 0 0 auto;
margin: 0 0.25em;
font-size: large;
}
div.modal-dialog-body {
padding: 0.25em;
flex: 1 1 auto;
overflow: hidden;
text-align: center;
position: relative;
}