forked from AuroraMiddleware/gtk
Adwaita: Use $menu_color background in popover.menu
GtkPopoverMenus should mimic menus. Commit d936967b7a
introduced
some CSS related to menu popovers, however, it hardcodes 'white'
as the background color. That is problematic for the dark theme.
Use '$menu_color' instead of 'white', since $menu_color both
guarantees menu popovers and menus match, and already handles
different colors for dark and light theme variants.
This commit is contained in:
parent
3b6ee32f83
commit
fe65da05be
@ -4767,7 +4767,7 @@ popover.menu {
|
||||
}
|
||||
|
||||
&.background contents {
|
||||
background: white;
|
||||
background-color: $menu_color;
|
||||
}
|
||||
|
||||
&.background separator {
|
||||
|
@ -2063,7 +2063,7 @@ popover.menu box.inline-buttons { border-radius: 5px; border-style: none; border
|
||||
|
||||
popover.menu box.circular-buttons { padding-bottom: 5px; }
|
||||
|
||||
popover.menu.background contents { background: white; }
|
||||
popover.menu.background contents, popover.menu arrow { background-color: #2f2f2f; }
|
||||
|
||||
popover.menu.background separator { margin: 5px 0px; }
|
||||
|
||||
|
@ -2079,7 +2079,7 @@ popover.menu box.inline-buttons { border-radius: 5px; border-style: none; border
|
||||
|
||||
popover.menu box.circular-buttons { padding-bottom: 5px; }
|
||||
|
||||
popover.menu.background contents { background: white; }
|
||||
popover.menu.background contents, popover.menu arrow { background-color: #ffffff; }
|
||||
|
||||
popover.menu.background separator { margin: 5px 0px; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user