From 1d5c0d5c3cd2a6e33cbd4190fdf3c3e21bb86d2b Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Thu, 3 Dec 2015 16:10:14 +0100 Subject: GTK3: Menta themes: adjust panel to follow latest changes in mate-panel --- desktop-themes/Menta/gtk-3.0/mate-applications.css | 70 +++++++++++----------- 1 file changed, 36 insertions(+), 34 deletions(-) (limited to 'desktop-themes/Menta/gtk-3.0') diff --git a/desktop-themes/Menta/gtk-3.0/mate-applications.css b/desktop-themes/Menta/gtk-3.0/mate-applications.css index 48ab10f2..749251a2 100644 --- a/desktop-themes/Menta/gtk-3.0/mate-applications.css +++ b/desktop-themes/Menta/gtk-3.0/mate-applications.css @@ -342,48 +342,45 @@ CajaQueryEditor .button { * Mate-Panel * ****************/ -/* the panel bar itself */ -.mate-panel-menu-bar { - background-color: @theme_bg_color; - background-image: none; - /* normal panel */ - color: @theme_fg_color; - /* transparent panel */ -/* color: @theme_selected_fg_color; */ - text-shadow: none; +/* first make all transparent */ +PanelToplevel.background.horizontal { + background-color: transparent; } -/* first make all transparent */ WnckSelector.menubar, +PanelMenuBar.menubar, +WnckSelector GtkMenuItem, +PanelMenuBar GtkMenuItem, MatePanelApplet GtkToggleButton.button { border-image: none; background-image: none; + background-color: transparent; + box-shadow: none; } -/* workaround to avoid unwanted black frames if switching compositor on/off */ -.mate-panel-menu-bar .window-frame.csd.popup { - box-shadow: none; +/* let's started */ +/* the panel bar itself */ +PanelToplevel.background.horizontal { + background-color: @theme_bg_color; } -/* dictionary applet */ -GdictApplet .entry { +.mate-panel-menu-bar { + background-color: @theme_bg_color; + background-image: none; /* normal panel */ color: @theme_fg_color; /* transparent panel */ /* color: @theme_selected_fg_color; */ - background-image: none; - background-color: transparent; - border-width: 1px; - padding: 3px 4px; + text-shadow: none; } -MatePanelApplet { - border-width: 0; +/* workaround to avoid unwanted black frames if switching compositor on/off */ +.mate-panel-menu-bar .window-frame.csd.popup { + box-shadow: none; } /* panel grip */ -PanelToplevel.background.mate-custom-panel-background { - background-color: transparent; +PanelToplevel.background { border-radius: 2px; /* enable for making borders visible */ /* box-shadow: inset 0px 1px shade (@theme_bg_color, 1.0), @@ -393,23 +390,28 @@ PanelToplevel.background.mate-custom-panel-background { } /* hide buttons */ -PanelToplevel.background.mate-custom-panel-background .button { +PanelToplevel.background .button { background: transparent; border-image: none; border-radius: 2px; border-width: 0px; - padding: 0px 4px; - box-shadow: inset 0px 1px shade (@theme_bg_color, 1.0), - inset 1px 0px shade (@theme_bg_color, 1.0), - inset -1px 0px shade (@theme_bg_color, 1.0), - inset 0px -1px shade (@theme_bg_color, 1.0); + padding: 0px; + box-shadow: none; +} + +PanelToplevel.background .button:hover, +PanelToplevel.background .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; } -PanelToplevel.background.mate-custom-panel-background .button:hover { - box-shadow: inset 0px 1px shade (@theme_selected_bg_color, 1.0), - inset 1px 0px shade (@theme_selected_bg_color, 1.0), - inset -1px 0px shade (@theme_selected_bg_color, 1.0), - inset 0px -1px shade (@theme_selected_bg_color, 1.0); +MatePanelApplet { + border-width: 0; } MatePanelAppletFrameDBus PanelSeparator, -- cgit v1.2.1