From 5809bb26214da9c867f72aab8661ef1817a5061c 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/TraditionalOk/gtk-3.0/gtk-widgets.css | 13 ++++++++++--- desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css | 5 +++++ 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'desktop-themes/TraditionalOk') diff --git a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css index ce01001d..c4e76595 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/gtk-widgets.css @@ -2625,7 +2625,12 @@ GtkInfoBar:last-child, border-image: none; } -.window-frame { +/* workaround to avoid unwanted black frames if switching compositor on/off */ +.background .window-frame { + box-shadow: none; +} + +.background.csd .window-frame { border-width: 0px; border-radius: 7px 7px 0 0; border-style: solid; @@ -2633,8 +2638,10 @@ GtkInfoBar:last-child, margin: 10px; } +/* workaround to avoid unwanted black frames if switching compositor on/off */ .window-frame:backdrop { - box-shadow: 0 0 0 1px shade(@wm_border,1.1), 0 2px 5px 1px +/* box-shadow: 0 0 0 1px shade(@wm_border,1.1), 0 2px 5px 1px*/ + box-shadow: none; } .window-frame.tiled { @@ -2656,7 +2663,7 @@ GtkInfoBar:last-child, .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/TraditionalOk/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css index 410e6704..075a0ca4 100644 --- a/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css +++ b/desktop-themes/TraditionalOk/gtk-3.0/mate-applications.css @@ -94,6 +94,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; +} + /* set selected menubar button */ PanelMenuBar.menubar .menuitem:hover { background-image: none; -- cgit v1.2.1