From 5fec16803c5ff06fa31b7cab47c6d51a99f1acc7 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/ContrastHigh/gtk-3.0/gtk-widgets.css | 16 ++++++++++------ .../ContrastHigh/gtk-3.0/mate-applications.css | 5 +++++ 2 files changed, 15 insertions(+), 6 deletions(-) (limited to 'desktop-themes/ContrastHigh') diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css index f72da84e..9034df6f 100644 --- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css @@ -2595,7 +2595,12 @@ GtkPopover .separator { color: @theme_selected_fg_color; } -.window-frame { +/* workaround to avoid unwanted black frames if switching compositor on/off */ +.background .window-frame { + box-shadow: none; +} + +.background.csd .window-frame { border-color: darker(@theme_bg_color); border-radius: 7px 7px 0 0; border-width: 1px; @@ -2603,7 +2608,6 @@ GtkPopover .separator { box-shadow: 0 2px 8px 3px alpha(black, 0.7); /* this is used for the resize cursor area */ margin: 10px; - padding: 6px 6px 5px 6px; } .window-frame.tiled { @@ -2611,10 +2615,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 @wm_shadow; - box-shadow: 0 2px 5px 1px alpha(black, 0.7); - padding: 6px 6px 5px 6px; +/* box-shadow: 0 2px 5px 1px alpha(black, 0.7);*/ + box-shadow: none; } .window-frame.ssd { @@ -2631,7 +2635,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/ContrastHigh/gtk-3.0/mate-applications.css b/desktop-themes/ContrastHigh/gtk-3.0/mate-applications.css index 2815894e..8e17adcc 100644 --- a/desktop-themes/ContrastHigh/gtk-3.0/mate-applications.css +++ b/desktop-themes/ContrastHigh/gtk-3.0/mate-applications.css @@ -73,6 +73,11 @@ MatePanelApplet { text-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