mirror of
https://github.com/kkapsner/CanvasBlocker
synced 2025-07-04 20:46:39 +02:00
parent
27999484c2
commit
d687bc9756
7 changed files with 226 additions and 10 deletions
38
lib/modal.css
Normal file
38
lib/modal.css
Normal 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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue