changeset 30:78e21cea68af

Fix context menus in some situations (seen in Corebird)
author IBBoard <dev@ibboard.co.uk>
date Mon, 05 Dec 2016 21:03:53 +0000
parents ccdb5b8b5a6f
children d8fb69db13bf
files gtk-3.20/gtk.css gtk-3.20/gtk.scss
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gtk-3.20/gtk.css	Sat Dec 03 20:37:58 2016 +0000
+++ b/gtk-3.20/gtk.css	Mon Dec 05 21:03:53 2016 +0000
@@ -4837,12 +4837,12 @@
     background-color: #3D3D3D;
     color: #cccccc; }
 
-menu {
+menu, .menu, .context-menu {
   background-color: #3D3D3D;
   color: #cccccc;
   border-color: #303030; }
 
-#gtk-combobox-popup-menu {
+popover.menu, #gtk-combobox-popup-menu {
   background-color: #C6C6C6;
   color: #161616; }
 
--- a/gtk-3.20/gtk.scss	Sat Dec 03 20:37:58 2016 +0000
+++ b/gtk-3.20/gtk.scss	Mon Dec 05 21:03:53 2016 +0000
@@ -421,14 +421,14 @@
 // Make all menus dark - we mainly want the menu bar menus dark, but
 // Firefox and other non-standard apps use those colours for their
 // context menus as well, so be consistent.
-menu {
+menu, .menu, .context-menu {
   background-color: $bg_dark_color;
   color: $menu_fg_dark_color;
   border-color: $header_button_border;
 }
 // Except combo box backgrounds. We want those to be grey, like the
 // combobox itself
-#gtk-combobox-popup-menu {
+popover.menu, #gtk-combobox-popup-menu {
   background-color: $bg_color;
   color: $fg_color;
 }