From 1be26e7338b8b652e4513ee2ad40517bb9098a36 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Mon, 5 Oct 2015 17:33:32 +0200 Subject: GTK all themes: workaround to avoid unwanted black frames if switching compositor on/off --- desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css | 13 ++++++++++--- desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css | 5 +++++ 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'desktop-themes/GreenLaguna') diff --git a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css index 65de03ec..12dfeee0 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/gtk-widgets.css @@ -2702,7 +2702,12 @@ GtkPopover .separator { color: #747473; } -.window-frame { +/* workaround to avoid unwanted black frames if switching compositor on/off */ +.background .window-frame { + box-shadow: none; +} + +.background.csd .window-frame { border-radius: 7px 7px 0px 0px; border-width: 0px; box-shadow: 0 0 0 2px @wm_csd_border_color, 0 2px 8px 3px @wm_shadow; @@ -2715,8 +2720,10 @@ GtkPopover .separator { background-color: @theme_bg_color; } +/* workaround to avoid unwanted black frames if switching compositor on/off */ .window-frame:backdrop { - box-shadow: 0 0 0 2px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow; +/* box-shadow: 0 0 0 2px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow;*/ + box-shadow: none; } .window-frame.ssd { @@ -2734,7 +2741,7 @@ GtkPopover .separator { .window-frame.csd.popup { border-radius: 0; - box-shadow: 0 1px 5px @wm_shadow; + box-shadow: none; } .window-frame.csd.tooltip { diff --git a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css index c842b119..7b0f212b 100644 --- a/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css +++ b/desktop-themes/GreenLaguna/gtk-3.0/mate-applications.css @@ -265,6 +265,11 @@ MatePanelApplet GtkToggleButton.button { 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; +} + MatePanelApplet { border-width: 0; } -- cgit v1.2.1