summaryrefslogtreecommitdiff
path: root/desktop-themes/BlackMATE
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-10-05 17:33:32 +0200
committerraveit65 <[email protected]>2015-10-05 17:33:32 +0200
commit5809bb26214da9c867f72aab8661ef1817a5061c (patch)
tree714b837b259d39452af43a0f69cfa9e1f64174ab /desktop-themes/BlackMATE
parentf24116e2a4d344e9b1e7415e40d3ae69820d160b (diff)
downloadmate-themes-5809bb26214da9c867f72aab8661ef1817a5061c.tar.bz2
mate-themes-5809bb26214da9c867f72aab8661ef1817a5061c.tar.xz
GTK all themes: workaround to avoid unwanted black frames if switching compositor on/off
Diffstat (limited to 'desktop-themes/BlackMATE')
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css13
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/mate-applications.css5
2 files changed, 15 insertions, 3 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
index 9dd3bd4b..e3f53227 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
@@ -2592,7 +2592,12 @@ GtkPopover .separator {
color: #747473;
}
-.window-frame {
+/* workaround to avoid unwanted black frames if switching compositor on/off */
+.background .window-frame {
+ box-shadow: none;
+}
+
+.background.csd .window-frame {
border-radius: 7px 7px 0px 0px;
border-width: 0px;
box-shadow: 0 0 0 2px @wm_csd_border_color, 0 2px 8px 3px @wm_shadow;
@@ -2605,8 +2610,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 2px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow;
+/* box-shadow: 0 0 0 2px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow;*/
+ box-shadow: none;
}
.window-frame.ssd {
@@ -2624,7 +2631,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/BlackMATE/gtk-3.0/mate-applications.css b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css
index 75d71215..fdfa78a7 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/mate-applications.css
@@ -301,6 +301,11 @@ CajaQueryEditor .toolbar .entry:focus {
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,