1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-11-01 02:48:44 +01:00
CanvasBlocker/lib/modal.css
2019-05-31 01:10:13 +02:00

38 lines
533 B
CSS

.modal {
position: fixed;
top: 0;
left: 0;
bottom: 0;
right: 0;
text-align: center;
z-index: 100;
}
.modal .overlay {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
background-color: rgba(255, 255, 255, 0.35);
}
.modal .dialogPosition {
position: absolute;
top: 10%;
width: 100%;
}
.modal .dialog {
display: block;
margin: 0 auto;
padding: 1em;
max-width: 300px;
min-width: 200px;
background-color: var(--background-color);
border: 1px solid currentColor;
}
.modal .buttons {
margin-top: 1em;
}