diff options
Diffstat (limited to 'frontend/app/common/modal.css')
| -rw-r--r-- | frontend/app/common/modal.css | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/frontend/app/common/modal.css b/frontend/app/common/modal.css new file mode 100644 index 0000000..5e95a09 --- /dev/null +++ b/frontend/app/common/modal.css @@ -0,0 +1,20 @@ +.modal { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + z-index: 100; + background: rgba(0,0,0,0.2); + display: none; +} +.modal.visible { + display: flex; + justify-content: center; + align-items: center; +} +.modal > div { + background: #fff; + padding: 1rem; + box-shadow: 0 2px 4px rgba(0,0,0,0.5); +} |
