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 From 1504b272d2d4065c7ba9e940c09bdc853e728bc4 Mon Sep 17 00:00:00 2001 From: taehoon Date: Fri, 5 Jul 2019 12:08:16 -0400 Subject: reset font-size to normal text size using rem --- src/App.scss | 5 ++++- src/components/status/status.vue | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/App.scss') diff --git a/src/App.scss b/src/App.scss index f20eb44c..2d10f1e7 100644 --- a/src/App.scss +++ b/src/App.scss @@ -39,10 +39,13 @@ h4 { text-align: center; } +html { + font-size: 14px; +} + body { font-family: sans-serif; font-family: var(--interfaceFont, sans-serif); - font-size: 14px; margin: 0; color: $fallback--text; color: var(--text, $fallback--text); diff --git a/src/components/status/status.vue b/src/components/status/status.vue index 79b359b7..cdafcfda 100644 --- a/src/components/status/status.vue +++ b/src/components/status/status.vue @@ -842,7 +842,7 @@ a.unmute { } .popper-wrapper.status-preview { - font-size: 14px; + font-size: 1rem; background-color: $fallback--bg; background-color: var(--bg, $fallback--bg); border-color: $fallback--border; -- cgit v1.2.3-70-g09d2