From 0cb32889103ed71d2d48ad60bff1790f6776b582 Mon Sep 17 00:00:00 2001 From: geoffreychen777 Date: Mon, 11 Apr 2022 14:42:30 +0100 Subject: [PATCH] + fix menu animation --- src/css/app.scss | 4 ---- src/css/list-view.scss | 4 ++++ src/css/menu.scss | 8 +++++++- src/css/sidebar.scss | 4 ++++ 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/css/app.scss b/src/css/app.scss index 855f636f..18580dfd 100644 --- a/src/css/app.scss +++ b/src/css/app.scss @@ -17,10 +17,6 @@ textarea { background-color: var(--q-bg-primary); } -.q-item .q-focus-helper { - visibility: hidden; -} - @import './list-view'; @import './table-view'; @import './toolbar'; diff --git a/src/css/list-view.scss b/src/css/list-view.scss index 34b98a57..f0fb8925 100644 --- a/src/css/list-view.scss +++ b/src/css/list-view.scss @@ -65,3 +65,7 @@ line-height: 0.95rem; font-weight: 400; } + +.list-item .q-focus-helper { + visibility: hidden; +} \ No newline at end of file diff --git a/src/css/menu.scss b/src/css/menu.scss index 2d2ee2df..a8ce3137 100644 --- a/src/css/menu.scss +++ b/src/css/menu.scss @@ -5,7 +5,7 @@ border: solid 1px var(--q-secondary); background-color: var(--q-menu-bg); border-radius: 6px; - transition: all 0.1s ease-in-out; + transition: none !important; } .menu-list { @@ -19,6 +19,11 @@ padding-left: 10px !important; padding-right: 10px !important; font-size: 0.9em; + transition: none !important; +} + +.menu-list-item .q-focus-helper { + transition: none !important; } .menu-list hr { @@ -30,3 +35,4 @@ color: var(--q-menu-shortcut); text-align: right; } + diff --git a/src/css/sidebar.scss b/src/css/sidebar.scss index 7e5dab67..eb81e4ec 100644 --- a/src/css/sidebar.scss +++ b/src/css/sidebar.scss @@ -57,3 +57,7 @@ padding-left: 7px; padding-right: 7px; } + +.sidebar-list .q-focus-helper { + visibility: hidden; +} \ No newline at end of file