From cf32a8af42df57d9defb14afc0b339c8464b3d79 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Wed, 5 Apr 2017 16:45:00 +0200 Subject: Gtk+-3.20 most themes: mate-panel hide button modification --- desktop-themes/BlueMenta/gtk-3.0/mate-applications.css | 10 ++++------ .../ContrastHighInverse/gtk-3.0/mate-applications.css | 5 +++++ desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css | 12 ++++++------ desktop-themes/Menta/gtk-3.0/mate-applications.css | 10 ++++------ .../TraditionalGreen/gtk-3.0/mate-applications.css | 6 ++++++ desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css | 6 ++++++ 6 files changed, 31 insertions(+), 18 deletions(-) (limited to 'desktop-themes') diff --git a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css index 2bf6f55e..2402d6fd 100644 --- a/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css +++ b/desktop-themes/BlueMenta/gtk-3.0/mate-applications.css @@ -302,23 +302,21 @@ PanelToplevel.background { } /* hide buttons */ -PanelToplevel > widget > button { +PanelToplevel > grid > button { background: transparent; border-image: none; - border-radius: 2px; + border-radius: 0px; border-width: 0px; padding: 0px; box-shadow: none; } -PanelToplevel > widget > button:hover, -PanelToplevel > widget > button:hover:active { +PanelToplevel > grid > button:hover, +PanelToplevel > grid > button:hover:active { background-image: linear-gradient(to bottom, shade (@theme_selected_bg_color, 0.86), shade (@theme_selected_bg_color, 0.26)); color: shade (@theme_selected_fg_color, 1.00); - text-shadow: none; - border-style: solid; border-width: 0px; } diff --git a/desktop-themes/ContrastHighInverse/gtk-3.0/mate-applications.css b/desktop-themes/ContrastHighInverse/gtk-3.0/mate-applications.css index 68c1ae05..2bd5742a 100644 --- a/desktop-themes/ContrastHighInverse/gtk-3.0/mate-applications.css +++ b/desktop-themes/ContrastHighInverse/gtk-3.0/mate-applications.css @@ -105,6 +105,11 @@ PanelToplevel.background { box-shadow: none; } +/* hide buttons */ +PanelToplevel > grid > button { + padding: 0px; +} + #PanelApplet { border-width: 0; } diff --git a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css index 05361c2e..92cbc342 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css @@ -211,19 +211,19 @@ PanelToplevel.background { } /* hide buttons */ -PanelToplevel > widget > button { +PanelToplevel > grid > button { color: @theme_fg_color; background: transparent; border-image: none; - border-radius: 3px; + border-radius: 0px; border-style: solid; border-color: transparent; padding: 0px; box-shadow: none; } -PanelToplevel > widget > button:hover { - border-radius: 3px; +PanelToplevel > grid > button:hover { + border-radius: 0px; border-image: none; border-style: solid; padding: 0px; @@ -234,8 +234,8 @@ PanelToplevel > widget > button:hover { shade(@button_gradient_color_a, 1.5)); } -PanelToplevel > widget > button:hover:active { - border-radius: 3px; +PanelToplevel > grid > button:hover:active { + border-radius: 0px; color: @theme_fg_color; border-style: solid; background-image: linear-gradient(to bottom, diff --git a/desktop-themes/Menta/gtk-3.0/mate-applications.css b/desktop-themes/Menta/gtk-3.0/mate-applications.css index 6e889681..a5934bea 100644 --- a/desktop-themes/Menta/gtk-3.0/mate-applications.css +++ b/desktop-themes/Menta/gtk-3.0/mate-applications.css @@ -302,23 +302,21 @@ PanelToplevel.background { } /* hide buttons */ -PanelToplevel > widget > button { +PanelToplevel > grid > button { background: transparent; border-image: none; - border-radius: 2px; + border-radius: 0px; border-width: 0px; padding: 0px; box-shadow: none; } -PanelToplevel > widget > button:hover, -PanelToplevel > widget > button:hover:active { +PanelToplevel > grid > button:hover, +PanelToplevel > grid > button:hover:active { background-image: linear-gradient(to bottom, shade (@theme_selected_bg_color, 0.86), shade (@theme_selected_bg_color, 0.26)); color: shade (@theme_selected_fg_color, 1.00); - text-shadow: none; - border-style: solid; border-width: 0px; } diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css index 7fe30ef7..05194e12 100644 --- a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css @@ -125,6 +125,12 @@ MatePanelAppletFrameDBus { box-shadow: none; } +/* hide buttons */ +PanelToplevel > grid > button { + padding: 0px; + border-radius: 0px; +} + #PanelApplet { border-width: 0; } diff --git a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css index 6549917c..636249cb 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css @@ -124,6 +124,12 @@ MatePanelAppletFrameDBus { box-shadow: none; } +/* hide buttons */ +PanelToplevel > grid > button { + padding: 0px; + border-radius: 0px; +} + #PanelApplet { border-width: 0; } -- cgit v1.2.1