mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2024-11-04 20:28:52 +01:00
d687bc9756
For #271
38 lines
533 B
CSS
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;
|
|
} |