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:
Georges Basile Stavracas Neto 2019-06-30 19:47:32 -03:00
parent 3b6ee32f83
commit fe65da05be
No known key found for this signature in database
GPG Key ID: 886C17EE170D1385
3 changed files with 3 additions and 3 deletions

View File

@ -4767,7 +4767,7 @@ popover.menu {
}
&.background contents {
background: white;
background-color: $menu_color;
}
&.background separator {

View File

@ -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; }

View File

@ -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; }