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/Blue-Submarine/gtk-3.0/gtk-widgets.css | 13 ++++++++++--- desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css | 5 +++++ 2 files changed, 15 insertions(+), 3 deletions(-) (limited to 'desktop-themes/Blue-Submarine') diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css index e612fc7e..7e705047 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css @@ -5772,7 +5772,12 @@ GtkModelButton.button:selected, inset 0px -1px shade (@theme_selected_bg_color, 1.3); } -.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_dark_color); border-radius: 7px 7px 0 0; border-width: 1px; @@ -5783,9 +5788,11 @@ GtkModelButton.button:selected, margin: 10px; } +/* workaround to avoid unwanted black frames if switching compositor on/off */ .window-frame:backdrop { background-color: @theme_bg_dark_color; - box-shadow: 0 0 0 1px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow; +/* box-shadow: 0 0 0 1px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow;*/ + box-shadow: none; } .window-frame.tiled { @@ -5807,7 +5814,7 @@ GtkModelButton.button:selected, .window-frame.csd.popup { border-radius: 0; - box-shadow: 0 1px 5px @theme_shadow_color; + box-shadow: none; } .window-frame.csd.tooltip { diff --git a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css index 7b066149..69b26b4b 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css @@ -670,6 +670,11 @@ FMPropertiesWindow .vertical.dialog-vbox .notebook GtkViewport { 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; +} + /* first make all transparent */ WnckSelector.menubar, PanelMenuBar.menubar, -- cgit v1.2.1