1
0
Fork 0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2025-07-04 20:46:39 +02:00

Confirm messages were broken in Firefox 67

For #271
This commit is contained in:
kkapsner 2019-05-31 01:10:13 +02:00
parent 27999484c2
commit d687bc9756
7 changed files with 226 additions and 10 deletions

38
lib/modal.css Normal file
View file

@ -0,0 +1,38 @@
.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;
}