From 636408a179ee9a54ba5f3006b04a5e2a949ac1ad Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Thu, 11 May 2023 01:39:04 +0800 Subject: [PATCH] Fixed gnome44 - submenus has got wrong bg color in any theme #870 --- src/sass/gnome-shell/common/_popovers.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/sass/gnome-shell/common/_popovers.scss b/src/sass/gnome-shell/common/_popovers.scss index beb970c..d92e918 100644 --- a/src/sass/gnome-shell/common/_popovers.scss +++ b/src/sass/gnome-shell/common/_popovers.scss @@ -107,13 +107,13 @@ $popop_menuitem_radius: $po_radius - $base_padding; color: $alt_fg_color; text-shadow: none !important; icon-shadow: none !important; - border-radius: $popop_menuitem_radius; + border-radius: $popop_menuitem_radius !important; font-weight: normal; transition: none; &:checked { font-weight: normal; - border-radius: $popop_menuitem_radius $popop_menuitem_radius 0 0; + border-radius: $popop_menuitem_radius $popop_menuitem_radius 0 0 !important; border: none; box-shadow: none; color: $alt_fg_color !important; @@ -150,13 +150,14 @@ $popop_menuitem_radius: $po_radius - $base_padding; .popup-sub-menu { background-color: $submenu_bg_color !important; - border-radius: 0 0 $popop_menuitem_radius $popop_menuitem_radius; + border-radius: 0 0 $popop_menuitem_radius $popop_menuitem_radius !important; border: none; box-shadow: none; .popup-menu-item { margin: 0; - border-radius: $popop_menuitem_radius; + border-radius: $popop_menuitem_radius !important; + background-color: transparent !important; &:focus, &:hover, &:selected { color: $selected_fg_color !important;