1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-24 22:00:22 +01:00
CanvasBlocker/lib/modal.css

38 lines
533 B
CSS
Raw Normal View History

.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;
}