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/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/gtk-3.0') 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 d2bc1a81..82ed58e0 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/gtk-widgets.css @@ -5664,7 +5664,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; @@ -5675,9 +5680,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 { @@ -5699,7 +5706,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 fcebad28..73660bfe 100644 --- a/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css +++ b/desktop-themes/Blue-Submarine/gtk-3.0/mate-applications.css @@ -660,6 +660,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