summaryrefslogtreecommitdiff
path: root/desktop-themes/Green-Submarine
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/Green-Submarine
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/Green-Submarine')
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css17
-rw-r--r--desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css5
2 files changed, 18 insertions, 4 deletions
diff --git a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
index 7deba0af..6476f32a 100644
--- a/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Green-Submarine/gtk-3.0/gtk-widgets.css
@@ -1902,6 +1902,7 @@ GtkColorButton.button {
.inline-toolbar.toolbar GtkToolButton:first-child > .button:active,
.inline-toolbar.toolbar .button:checked:first-child,
.inline-toolbar.toolbar GtkToolButton:first-child > .button:checked {
+
background-color: transparent;
box-shadow: inset 0px 1px alpha(#000, 0.05),
inset 1px 0px alpha(#000, 0.03),
@@ -5654,7 +5655,12 @@ GtkModelButton.button:selected,
inset 0px -1px shade(@selected_bg_color, 0.93);
}
-.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;
@@ -5664,10 +5670,12 @@ GtkModelButton.button:selected,
/* this is used for the resize cursor area */
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 {
@@ -5689,7 +5697,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 {
@@ -6125,6 +6133,7 @@ GtkFileChooserWidget.vertical GtkPaned.horizontal {
.floating-bar {
background-image: linear-gradient(to bottom,
+
@theme_bg_color 20%,
shade(@theme_bg_color, 0.95));
background-color: @theme_bg_color;
diff --git a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css
index acf53336..2396a376 100644
--- a/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css
+++ b/desktop-themes/Green-Submarine/gtk-3.0/mate-applications.css
@@ -673,6 +673,11 @@ MatePanelApplet GtkToggleButton.button {
box-shadow: none;
}
+/* workaround to avoid unwanted black frames if switching compositor on/off */
+.mate-panel-menu-bar .window-frame.csd.popup {
+ box-shadow: none;
+}
+
/* dictionary applet */
GdictApplet .entry {
/* normal panel */