summaryrefslogtreecommitdiff
path: root/desktop-themes/TraditionalGreen
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-10-05 17:33:32 +0200
committerraveit65 <[email protected]>2015-10-05 17:34:33 +0200
commit5fec16803c5ff06fa31b7cab47c6d51a99f1acc7 (patch)
treec8b7b848a6c0fcc1a2c0e6045da5a3c3f48934fa /desktop-themes/TraditionalGreen
parent4802f05338f0e1528c8b802294f2ae98a289a565 (diff)
downloadmate-themes-5fec16803c5ff06fa31b7cab47c6d51a99f1acc7.tar.bz2
mate-themes-5fec16803c5ff06fa31b7cab47c6d51a99f1acc7.tar.xz
GTK all themes: workaround to avoid unwanted black frames if switching compositor on/off
Diffstat (limited to 'desktop-themes/TraditionalGreen')
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css13
-rw-r--r--desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css5
2 files changed, 15 insertions, 3 deletions
diff --git a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
index 59514664..03bc3cfa 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/gtk-widgets.css
@@ -2621,7 +2621,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;
@@ -2629,8 +2634,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 {
@@ -2652,7 +2659,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/TraditionalGreen/gtk-3.0/mate-applications.css b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css
index f85f3483..35ffcdd6 100644
--- a/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css
+++ b/desktop-themes/TraditionalGreen/gtk-3.0/mate-applications.css
@@ -81,6 +81,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;