From 0d665e528f880ceda0976ceed66070ac34de7969 Mon Sep 17 00:00:00 2001 From: Ramires Viana <59319979+ramiresviana@users.noreply.github.com> Date: Sat, 4 Jul 2020 03:11:51 +0000 Subject: [PATCH] feat: full screen editor --- frontend/public/themes/dark.css | 8 +++ frontend/src/components/Header.vue | 9 +-- frontend/src/components/files/Editor.vue | 73 +++++++++++++++++++++--- frontend/src/css/styles.css | 47 +++++++++++++++ frontend/src/views/Files.vue | 2 +- 5 files changed, 121 insertions(+), 18 deletions(-) diff --git a/frontend/public/themes/dark.css b/frontend/public/themes/dark.css index 3fba1f70..978b4f0f 100644 --- a/frontend/public/themes/dark.css +++ b/frontend/public/themes/dark.css @@ -124,6 +124,14 @@ nav > div { color: var(--textPrimary); } +#editor-container { + background: var(--background); +} + +#editor-container .bar { + background: var(--surfacePrimary); +} + @media (max-width: 736px) { #file-selection { background: var(--surfaceSecondary) !important; diff --git a/frontend/src/components/Header.vue b/frontend/src/components/Header.vue index 2ca5658d..d9542864 100644 --- a/frontend/src/components/Header.vue +++ b/frontend/src/components/Header.vue @@ -1,5 +1,5 @@