From 0df0876cf1a8f961c8df12a7f0d11d9a61e64963 Mon Sep 17 00:00:00 2001 From: taehoon Date: Fri, 18 Oct 2019 07:07:16 -0400 Subject: move modal css into the correct place --- src/App.scss | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/App.scss') diff --git a/src/App.scss b/src/App.scss index 2190f91a..2117a577 100644 --- a/src/App.scss +++ b/src/App.scss @@ -714,22 +714,6 @@ nav { } } -.modal-view { - z-index: 1000; - position: fixed; - top: 0; - left: 0; - right: 0; - bottom: 0; - display: flex; - justify-content: center; - align-items: center; - overflow: auto; - animation-duration: 0.2s; - background-color: rgba(0, 0, 0, 0.5); - animation-name: modal-background-fadein; -} - .button-icon { font-size: 1.2em; } -- cgit v1.2.3-70-g09d2 From 2cadeeb724dfdaa47d933aa524a5c557cbabd3c1 Mon Sep 17 00:00:00 2001 From: taehoon Date: Mon, 21 Oct 2019 15:37:14 -0400 Subject: move modal animation keyframes definition --- src/App.scss | 9 --------- src/components/modal/modal.vue | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) (limited to 'src/App.scss') diff --git a/src/App.scss b/src/App.scss index 2117a577..f20eb44c 100644 --- a/src/App.scss +++ b/src/App.scss @@ -705,15 +705,6 @@ nav { } } -@keyframes modal-background-fadein { - from { - background-color: rgba(0, 0, 0, 0); - } - to { - background-color: rgba(0, 0, 0, 0.5); - } -} - .button-icon { font-size: 1.2em; } diff --git a/src/components/modal/modal.vue b/src/components/modal/modal.vue index 34a50159..500b3d0a 100644 --- a/src/components/modal/modal.vue +++ b/src/components/modal/modal.vue @@ -31,4 +31,13 @@ opacity: 0; } } + +@keyframes modal-background-fadein { + from { + background-color: rgba(0, 0, 0, 0); + } + to { + background-color: rgba(0, 0, 0, 0.5); + } +} -- cgit v1.2.3-70-g09d2