From a17b76ac75f506f5da6fe8adf9c36632b60d4226 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 26 Sep 2020 14:56:02 +0200 Subject: refactor to use app-rooted js imports --- frontend/app/common/modal.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 frontend/app/common/modal.css (limited to 'frontend/app/common/modal.css') 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); +} -- cgit v1.2.3-70-g09d2