From 786494d004215a74a268f90d60dd75b0029fc16f Mon Sep 17 00:00:00 2001 From: Christian Medel Date: Tue, 5 Feb 2019 07:39:17 -0500 Subject: [PATCH] Fix for MATE menubar coloring --- gtk-3.20/gtk-widgets.css | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) diff --git a/gtk-3.20/gtk-widgets.css b/gtk-3.20/gtk-widgets.css index 9cfb7b0..d81c6c9 100644 --- a/gtk-3.20/gtk-widgets.css +++ b/gtk-3.20/gtk-widgets.css @@ -2262,11 +2262,13 @@ button.suggested-action { border-radius: 4px; border-color: @theme_selected_bg_color; color: @theme_selected_fg_color; - background-image: linear-gradient(to bottom, shade(@theme_selected_bg_color, 1.25), shade(@theme_selected_bg_color, 1.1)); } + background-color: @theme_selected_bg_color; } button.suggested-action:active, button.suggested-action:checked { - background-image: linear-gradient(to bottom, shade(@theme_selected_bg_color, 1.1), shade(@theme_selected_bg_color, 0.95)); } + border-color: shade(@theme_selected_bg_color, 0.95); + background-color: shade(@theme_selected_bg_color, 0.95); } button.suggested-action:active:backdrop, button.suggested-action:checked:backdrop { - color: @theme_unfocused_selected_fg_color; } + color: @theme_unfocused_selected_fg_color; + background-color: @theme_unfocused_selected_fg_color; } button.suggested-action:disabled { border-color: mix(@theme_selected_bg_color, @theme_disabled_bg_color, 0.2); color: mix(@theme_selected_fg_color, @theme_disabled_fg_color, 0.2); @@ -2286,11 +2288,13 @@ headerbar button.suggested-action { border-radius: 4px; border-color: @theme_selected_bg_color; color: @theme_selected_fg_color; - background-image: linear-gradient(to bottom, shade(@theme_selected_bg_color, 1.25), shade(@theme_selected_bg_color, 1.1)); } + background-color: @theme_selected_bg_color; } headerbar button.suggested-action:active, headerbar button.suggested-action:checked { - background-image: linear-gradient(to bottom, shade(@theme_selected_bg_color, 1.1), shade(@theme_selected_bg_color, 0.95)); } + border-color: shade(@theme_selected_bg_color, 0.95); + background-color: shade(@theme_selected_bg_color, 0.95); } headerbar button.suggested-action:active:backdrop, headerbar button.suggested-action:checked:backdrop { - color: @theme_unfocused_selected_fg_color; } + color: @theme_unfocused_selected_fg_color; + background-color: @theme_unfocused_selected_fg_color; } headerbar button.suggested-action:disabled { border-color: mix(@theme_selected_bg_color, @theme_disabled_bg_color, 0.2); color: mix(@theme_selected_fg_color, @theme_disabled_fg_color, 0.2); @@ -2341,11 +2345,13 @@ headerbar.selection-mode, toolbar.selection-mode { border-radius: 4px; border-color: @theme_selected_bg_color; color: @theme_selected_fg_color; - background-image: linear-gradient(to bottom, shade(@theme_selected_bg_color, 1.25), shade(@theme_selected_bg_color, 1.1)); } + background-color: @theme_selected_bg_color; } headerbar.selection-mode button.suggested-action:active, headerbar.selection-mode button.suggested-action:checked, toolbar.selection-mode button.suggested-action:active, toolbar.selection-mode button.suggested-action:checked { - background-image: linear-gradient(to bottom, shade(@theme_selected_bg_color, 1.1), shade(@theme_selected_bg_color, 0.95)); } + border-color: shade(@theme_selected_bg_color, 0.95); + background-color: shade(@theme_selected_bg_color, 0.95); } headerbar.selection-mode button.suggested-action:active:backdrop, headerbar.selection-mode button.suggested-action:checked:backdrop, toolbar.selection-mode button.suggested-action:active:backdrop, toolbar.selection-mode button.suggested-action:checked:backdrop { - color: @theme_unfocused_selected_fg_color; } + color: @theme_unfocused_selected_fg_color; + background-color: @theme_unfocused_selected_fg_color; } headerbar.selection-mode button.suggested-action:disabled, toolbar.selection-mode button.suggested-action:disabled { border-color: mix(@theme_selected_bg_color, @theme_disabled_bg_color, 0.2); color: mix(@theme_selected_fg_color, @theme_disabled_fg_color, 0.2); @@ -2527,6 +2533,10 @@ panel-toplevel.background na-tray-applet { -NaTrayApplet-icon-padding: 0; -NaTrayApplet-icon-size: 16px; } +.mate-panel-menu-bar menubar > menuitem { + color: @taskbar_fg_color; + background-color: @taskbar_bg_color; } + .mate-panel-menu-bar { color: @taskbar_fg_color; background-color: @taskbar_bg_color; } @@ -2537,7 +2547,7 @@ panel-toplevel.background na-tray-applet { .mate-panel-menu-bar menubar, .mate-panel-menu-bar menubar menuitem, .mate-panel-menu-bar togglebutton { border-color: transparent; background-color: transparent; } - .mate-panel-menu-bar menubar menuitem:hover .mate-panel-menu-bar:active { + .mate-panel-menu-bar menubar menuitem:hover, .mate-panel-menu-bar menubar menuitem:active { color: @theme_selected_fg_color; background-color: @theme_selected_bg_color; } .mate-panel-menu-bar .menubar > .menuitem { @@ -2579,6 +2589,15 @@ panel-toplevel.background na-tray-applet { -NaTrayApplet-icon-padding: 2; } .mate-panel-menu-bar #PanelApplet label { color: @taskbar_fg_color; } + .mate-panel-menu-bar .caja-desktop.entry, .mate-panel-menu-bar .caja-navigation-window .view.entry { + background-image: none; + border-radius: 4px; + box-shadow: none; + border-color: shade(@theme_selected_bg_color, 0.6); + background-color: @theme_base_color; } + .mate-panel-menu-bar .caja-desktop.entry:selected, .mate-panel-menu-bar .caja-navigation-window .view.entry:selected { + color: @theme_selected_fg_color; + background-color: @theme_selected_bg_color; } .mintmenu:hover { background-color: shade(@taskbar_bg_color, 1.1); }