From 63f35509a79b8e9bc8bc301852847cf952a6a01f Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Tue, 23 Aug 2022 13:26:05 +0300 Subject: [PATCH] improve submenu and improve icon buttons hover effects --- src/App.scss | 10 ++++++++++ src/components/popover/popover.vue | 7 +++++++ src/components/user_list_menu/user_list_menu.vue | 5 +++-- src/panel.scss | 9 +++++++++ 4 files changed, 29 insertions(+), 2 deletions(-) diff --git a/src/App.scss b/src/App.scss index 1f7a2b28b6..665d52fff8 100644 --- a/src/App.scss +++ b/src/App.scss @@ -130,6 +130,16 @@ i[class*=icon-], color: var(--icon, $fallback--icon); } +.button-unstyled:hover, +a:hover { + i[class*=icon-], + .svg-inline--fa, + .iconLetter { + color: $fallback--text; + color: var(--text, $fallback--text); + } +} + nav { z-index: var(--ZI_navbar); color: var(--topBarText); diff --git a/src/components/popover/popover.vue b/src/components/popover/popover.vue index bd59cade91..623af8d2a5 100644 --- a/src/components/popover/popover.vue +++ b/src/components/popover/popover.vue @@ -126,6 +126,13 @@ } } + &.-has-submenu { + .chevron-icon { + margin-right: 0.25rem; + margin-left: 2rem; + } + } + &:active, &:hover { background-color: $fallback--lightBg; background-color: var(--selectedMenuPopover, $fallback--lightBg); diff --git a/src/components/user_list_menu/user_list_menu.vue b/src/components/user_list_menu/user_list_menu.vue index d8da16ea50..06947ab7e7 100644 --- a/src/components/user_list_menu/user_list_menu.vue +++ b/src/components/user_list_menu/user_list_menu.vue @@ -1,7 +1,7 @@