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 --- .../ContrastHighInverse/gtk-3.0/gtk-widgets.css | 19 +++++++++++++------ .../ContrastHighInverse/gtk-3.0/mate-applications.css | 5 +++++ 2 files changed, 18 insertions(+), 6 deletions(-) (limited to 'desktop-themes/ContrastHighInverse') diff --git a/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css index 5d896a66..d8be9b97 100644 --- a/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/ContrastHighInverse/gtk-3.0/gtk-widgets.css @@ -2484,7 +2484,12 @@ GtkPopover .separator { } -.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; @@ -2494,15 +2499,17 @@ GtkPopover .separator { margin: 10px; } -.window-frame:backdrop { - box-shadow: 0 2px 5px 1px alpha(white, 0.7); -} - .window-frame.tiled { border-radius: 0; background-color: @theme_bg_color; } +/* workaround to avoid unwanted black frames if switching compositor on/off */ +.window-frame:backdrop { +/* box-shadow: 0 2px 5px 1px alpha(white, 0.7);*/ + box-shadow: none; +} + .window-frame.ssd { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23); } @@ -2517,7 +2524,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/ContrastHighInverse/gtk-3.0/mate-applications.css b/desktop-themes/ContrastHighInverse/gtk-3.0/mate-applications.css index db002789..e67e010b 100644 --- a/desktop-themes/ContrastHighInverse/gtk-3.0/mate-applications.css +++ b/desktop-themes/ContrastHighInverse/gtk-3.0/mate-applications.css @@ -27,6 +27,11 @@ MatePanelApplet { background-image: 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