From 7824ddc13fc86b7b574cbcd2d6b01207a4c9f3e8 Mon Sep 17 00:00:00 2001 From: Dominik Pschenitschni Date: Mon, 18 Oct 2021 14:33:23 +0200 Subject: [PATCH] feat: divide most navigation.scss styles into components - navigation.vue and topNavigation.vue - contentAuth.vue --- src/components/home/contentAuth.vue | 18 ++ src/components/home/navigation.vue | 288 ++++++++++++++++- src/components/home/topNavigation.vue | 116 +++++++ src/styles/theme/navigation.scss | 424 -------------------------- src/styles/variables/variables.scss | 6 - 5 files changed, 421 insertions(+), 431 deletions(-) diff --git a/src/components/home/contentAuth.vue b/src/components/home/contentAuth.vue index e600bc170..d68cdb43f 100644 --- a/src/components/home/contentAuth.vue +++ b/src/components/home/contentAuth.vue @@ -171,6 +171,24 @@ export default { } } +.mobile-overlay { + display: none; + position: fixed; + top: 0; + bottom: 0; + left: 0; + right: 0; + background: rgba(250, 250, 250, 0.8); + z-index: 5; + opacity: 0; + transition: all $transition; + + @media screen and (max-width: $tablet) { + display: block; + opacity: 1; + } +} + .keyboard-shortcuts-button { position: fixed; bottom: calc(1rem - 4px); diff --git a/src/components/home/navigation.vue b/src/components/home/navigation.vue index d19b9dae6..838841399 100644 --- a/src/components/home/navigation.vue +++ b/src/components/home/navigation.vue @@ -275,7 +275,293 @@ export default { } -