summaryrefslogtreecommitdiff
path: root/desktop-themes/ContrastHigh
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-10-05 17:33:32 +0200
committerraveit65 <[email protected]>2015-10-05 17:34:52 +0200
commit1be26e7338b8b652e4513ee2ad40517bb9098a36 (patch)
tree6971c486fdf41b09fd2f13b775d73a83a1312f42 /desktop-themes/ContrastHigh
parente5fe3254149e667c9f09ea9824965806ec092152 (diff)
downloadmate-themes-1be26e7338b8b652e4513ee2ad40517bb9098a36.tar.bz2
mate-themes-1be26e7338b8b652e4513ee2ad40517bb9098a36.tar.xz
GTK all themes: workaround to avoid unwanted black frames if switching compositor on/off
Diffstat (limited to 'desktop-themes/ContrastHigh')
-rw-r--r--desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css16
-rw-r--r--desktop-themes/ContrastHigh/gtk-3.0/mate-applications.css5
2 files changed, 15 insertions, 6 deletions
diff --git a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
index 81c7cff3..ffb8aa74 100644
--- a/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/ContrastHigh/gtk-3.0/gtk-widgets.css
@@ -2561,7 +2561,12 @@ GtkPopover .separator {
color: @theme_selected_fg_color;
}
-.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;
@@ -2569,7 +2574,6 @@ GtkPopover .separator {
box-shadow: 0 2px 8px 3px alpha(black, 0.7);
/* this is used for the resize cursor area */
margin: 10px;
- padding: 6px 6px 5px 6px;
}
.window-frame.tiled {
@@ -2577,10 +2581,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 @wm_shadow;
- box-shadow: 0 2px 5px 1px alpha(black, 0.7);
- padding: 6px 6px 5px 6px;
+/* box-shadow: 0 2px 5px 1px alpha(black, 0.7);*/
+ box-shadow: none;
}
.window-frame.ssd {
@@ -2597,7 +2601,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/ContrastHigh/gtk-3.0/mate-applications.css b/desktop-themes/ContrastHigh/gtk-3.0/mate-applications.css
index 2815894e..8e17adcc 100644
--- a/desktop-themes/ContrastHigh/gtk-3.0/mate-applications.css
+++ b/desktop-themes/ContrastHigh/gtk-3.0/mate-applications.css
@@ -73,6 +73,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;
+}
+
MatePanelApplet {
border-width: 0;
}