Fixed gnome44 - submenus has got wrong bg color in any theme #870

This commit is contained in:
vinceliuice 2023-05-11 01:39:04 +08:00
parent 1127f4544e
commit 636408a179

View file

@ -107,13 +107,13 @@ $popop_menuitem_radius: $po_radius - $base_padding;
color: $alt_fg_color; color: $alt_fg_color;
text-shadow: none !important; text-shadow: none !important;
icon-shadow: none !important; icon-shadow: none !important;
border-radius: $popop_menuitem_radius; border-radius: $popop_menuitem_radius !important;
font-weight: normal; font-weight: normal;
transition: none; transition: none;
&:checked { &:checked {
font-weight: normal; 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; border: none;
box-shadow: none; box-shadow: none;
color: $alt_fg_color !important; color: $alt_fg_color !important;
@ -150,13 +150,14 @@ $popop_menuitem_radius: $po_radius - $base_padding;
.popup-sub-menu { .popup-sub-menu {
background-color: $submenu_bg_color !important; 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; border: none;
box-shadow: none; box-shadow: none;
.popup-menu-item { .popup-menu-item {
margin: 0; margin: 0;
border-radius: $popop_menuitem_radius; border-radius: $popop_menuitem_radius !important;
background-color: transparent !important;
&:focus, &:hover, &:selected { &:focus, &:hover, &:selected {
color: $selected_fg_color !important; color: $selected_fg_color !important;