From 681da6c6d8c1fce57755dc17a2fba9f2feb73f9a Mon Sep 17 00:00:00 2001 From: danieldeng2 <danieldeng223@gmail.com> Date: Tue, 4 Aug 2020 15:09:43 +0100 Subject: [PATCH] Change transition of colour to ease --- frontend/src/components/pages/StandardView/style.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/pages/StandardView/style.scss b/frontend/src/components/pages/StandardView/style.scss index 79caf07f9..89bbb12f7 100644 --- a/frontend/src/components/pages/StandardView/style.scss +++ b/frontend/src/components/pages/StandardView/style.scss @@ -13,10 +13,9 @@ right: 0; width: 100vw; height: 100vh; - background-color: rgba(0, 0, 0, 0.5); - z-index: 1; - display: none; - + z-index: 500; + display: block; + visibility:hidden; -webkit-transition: all 0.5s ease; -moz-transition: all 0.5s ease; -o-transition: all 0.5s ease; @@ -35,6 +34,7 @@ @media (max-width: 992px) { #wrapper.toggled #sidenav-overlay { - display: block; + visibility:visible; + background-color: rgba(0, 0, 0, 0.3); } } -- GitLab