From ef78bc6a084f92b4794e987b5832240d85b6479e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Wed, 22 Jul 2020 14:05:15 +0200 Subject: refactor app using babel module-resolver --- animism-align/frontend/app/common/upload.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 animism-align/frontend/app/common/upload.css (limited to 'animism-align/frontend/app/common/upload.css') diff --git a/animism-align/frontend/app/common/upload.css b/animism-align/frontend/app/common/upload.css new file mode 100644 index 0000000..719f98c --- /dev/null +++ b/animism-align/frontend/app/common/upload.css @@ -0,0 +1,26 @@ +/* drag-and-drop */ + +.dragCurtain { + display: none; + pointer-events: none; + justify-content: center; + align-items: center; + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(0,0,0,0.5); + z-index: 1; +} +.dragCurtain div { + color: #11f; + background: white; + border: 2px solid #11f; + padding: 2rem; + font-size: 1.5rem; + font-weight: bold; +} +.dragging .dragCurtain { + display: flex; +} -- cgit v1.2.3-70-g09d2