Skip to content

Commit 786494d

Browse files
committed
Fix for MATE menubar coloring
1 parent 1b749e0 commit 786494d

File tree

1 file changed

+29
-10
lines changed

1 file changed

+29
-10
lines changed

gtk-3.20/gtk-widgets.css

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2262,11 +2262,13 @@ button.suggested-action {
22622262
border-radius: 4px;
22632263
border-color: @theme_selected_bg_color;
22642264
color: @theme_selected_fg_color;
2265-
background-image: linear-gradient(to bottom, shade(@theme_selected_bg_color, 1.25), shade(@theme_selected_bg_color, 1.1)); }
2265+
background-color: @theme_selected_bg_color; }
22662266
button.suggested-action:active, button.suggested-action:checked {
2267-
background-image: linear-gradient(to bottom, shade(@theme_selected_bg_color, 1.1), shade(@theme_selected_bg_color, 0.95)); }
2267+
border-color: shade(@theme_selected_bg_color, 0.95);
2268+
background-color: shade(@theme_selected_bg_color, 0.95); }
22682269
button.suggested-action:active:backdrop, button.suggested-action:checked:backdrop {
2269-
color: @theme_unfocused_selected_fg_color; }
2270+
color: @theme_unfocused_selected_fg_color;
2271+
background-color: @theme_unfocused_selected_fg_color; }
22702272
button.suggested-action:disabled {
22712273
border-color: mix(@theme_selected_bg_color, @theme_disabled_bg_color, 0.2);
22722274
color: mix(@theme_selected_fg_color, @theme_disabled_fg_color, 0.2);
@@ -2286,11 +2288,13 @@ headerbar button.suggested-action {
22862288
border-radius: 4px;
22872289
border-color: @theme_selected_bg_color;
22882290
color: @theme_selected_fg_color;
2289-
background-image: linear-gradient(to bottom, shade(@theme_selected_bg_color, 1.25), shade(@theme_selected_bg_color, 1.1)); }
2291+
background-color: @theme_selected_bg_color; }
22902292
headerbar button.suggested-action:active, headerbar button.suggested-action:checked {
2291-
background-image: linear-gradient(to bottom, shade(@theme_selected_bg_color, 1.1), shade(@theme_selected_bg_color, 0.95)); }
2293+
border-color: shade(@theme_selected_bg_color, 0.95);
2294+
background-color: shade(@theme_selected_bg_color, 0.95); }
22922295
headerbar button.suggested-action:active:backdrop, headerbar button.suggested-action:checked:backdrop {
2293-
color: @theme_unfocused_selected_fg_color; }
2296+
color: @theme_unfocused_selected_fg_color;
2297+
background-color: @theme_unfocused_selected_fg_color; }
22942298
headerbar button.suggested-action:disabled {
22952299
border-color: mix(@theme_selected_bg_color, @theme_disabled_bg_color, 0.2);
22962300
color: mix(@theme_selected_fg_color, @theme_disabled_fg_color, 0.2);
@@ -2341,11 +2345,13 @@ headerbar.selection-mode, toolbar.selection-mode {
23412345
border-radius: 4px;
23422346
border-color: @theme_selected_bg_color;
23432347
color: @theme_selected_fg_color;
2344-
background-image: linear-gradient(to bottom, shade(@theme_selected_bg_color, 1.25), shade(@theme_selected_bg_color, 1.1)); }
2348+
background-color: @theme_selected_bg_color; }
23452349
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 {
2346-
background-image: linear-gradient(to bottom, shade(@theme_selected_bg_color, 1.1), shade(@theme_selected_bg_color, 0.95)); }
2350+
border-color: shade(@theme_selected_bg_color, 0.95);
2351+
background-color: shade(@theme_selected_bg_color, 0.95); }
23472352
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 {
2348-
color: @theme_unfocused_selected_fg_color; }
2353+
color: @theme_unfocused_selected_fg_color;
2354+
background-color: @theme_unfocused_selected_fg_color; }
23492355
headerbar.selection-mode button.suggested-action:disabled, toolbar.selection-mode button.suggested-action:disabled {
23502356
border-color: mix(@theme_selected_bg_color, @theme_disabled_bg_color, 0.2);
23512357
color: mix(@theme_selected_fg_color, @theme_disabled_fg_color, 0.2);
@@ -2527,6 +2533,10 @@ panel-toplevel.background na-tray-applet {
25272533
-NaTrayApplet-icon-padding: 0;
25282534
-NaTrayApplet-icon-size: 16px; }
25292535

2536+
.mate-panel-menu-bar menubar > menuitem {
2537+
color: @taskbar_fg_color;
2538+
background-color: @taskbar_bg_color; }
2539+
25302540
.mate-panel-menu-bar {
25312541
color: @taskbar_fg_color;
25322542
background-color: @taskbar_bg_color; }
@@ -2537,7 +2547,7 @@ panel-toplevel.background na-tray-applet {
25372547
.mate-panel-menu-bar menubar, .mate-panel-menu-bar menubar menuitem, .mate-panel-menu-bar togglebutton {
25382548
border-color: transparent;
25392549
background-color: transparent; }
2540-
.mate-panel-menu-bar menubar menuitem:hover .mate-panel-menu-bar:active {
2550+
.mate-panel-menu-bar menubar menuitem:hover, .mate-panel-menu-bar menubar menuitem:active {
25412551
color: @theme_selected_fg_color;
25422552
background-color: @theme_selected_bg_color; }
25432553
.mate-panel-menu-bar .menubar > .menuitem {
@@ -2579,6 +2589,15 @@ panel-toplevel.background na-tray-applet {
25792589
-NaTrayApplet-icon-padding: 2; }
25802590
.mate-panel-menu-bar #PanelApplet label {
25812591
color: @taskbar_fg_color; }
2592+
.mate-panel-menu-bar .caja-desktop.entry, .mate-panel-menu-bar .caja-navigation-window .view.entry {
2593+
background-image: none;
2594+
border-radius: 4px;
2595+
box-shadow: none;
2596+
border-color: shade(@theme_selected_bg_color, 0.6);
2597+
background-color: @theme_base_color; }
2598+
.mate-panel-menu-bar .caja-desktop.entry:selected, .mate-panel-menu-bar .caja-navigation-window .view.entry:selected {
2599+
color: @theme_selected_fg_color;
2600+
background-color: @theme_selected_bg_color; }
25822601

25832602
.mintmenu:hover {
25842603
background-color: shade(@taskbar_bg_color, 1.1); }

0 commit comments

Comments
 (0)