summaryrefslogtreecommitdiff
path: root/desktop-themes/Menta/gtk-3.0
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-04-19 13:55:25 +0200
committerraveit65 <[email protected]>2015-04-19 13:56:28 +0200
commitf43f5bb4574fda6bf3f7c895add2dc9dea1d71ae (patch)
tree9859fb7827dd6b6821e4fde03650e5d885be2eb4 /desktop-themes/Menta/gtk-3.0
parent07066560804371d99b0f4ed60472eb33e70f1296 (diff)
downloadmate-themes-f43f5bb4574fda6bf3f7c895add2dc9dea1d71ae.tar.bz2
mate-themes-f43f5bb4574fda6bf3f7c895add2dc9dea1d71ae.tar.xz
Menta themes GTK+-3.16: adjustments for window-frame (csd apps) -->
- enable windows shadows for compositor - add stylying for new widget window-frame.solid-csd (non compositor)
Diffstat (limited to 'desktop-themes/Menta/gtk-3.0')
-rw-r--r--desktop-themes/Menta/gtk-3.0/gtk-main.css6
-rw-r--r--desktop-themes/Menta/gtk-3.0/gtk-widgets.css38
2 files changed, 26 insertions, 18 deletions
diff --git a/desktop-themes/Menta/gtk-3.0/gtk-main.css b/desktop-themes/Menta/gtk-3.0/gtk-main.css
index 212d519b..d7490bb8 100644
--- a/desktop-themes/Menta/gtk-3.0/gtk-main.css
+++ b/desktop-themes/Menta/gtk-3.0/gtk-main.css
@@ -207,7 +207,8 @@
@define-color wm_bg_a shade (@theme_bg_color, 1.1);
@define-color wm_bg_b @theme_bg_color;
-@define-color wm_shadow alpha(black, 0.18);
+@define-color wm_shadow alpha(black, 0.5);
+@define-color wm_border alpha(black,0.18);
@define-color wm_button_bg_a shade (@theme_bg_color, 1.0);
@define-color wm_button_bg_b shade (@theme_bg_color, 0.85);
@@ -223,6 +224,9 @@
@define-color wm_button_bg_active_b shade (@theme_bg_color, 0.9);
@define-color wm_button_bg_active_c shade (@theme_bg_color, 0.9);
+/* csd border */
+@define-color wm_csd_solid_border_color shade (#3c3c3c, 1.2);
+
@import url("gtk-main-common.css");
@import url("gtk-widgets-backgrounds.css");
@import url("gtk-widgets-borders.css");
diff --git a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
index 2f11e4c6..c8304336 100644
--- a/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/Menta/gtk-3.0/gtk-widgets.css
@@ -2651,10 +2651,8 @@ GtkCheckButton.text-button, GtkRadioButton.text-button {
border-width: 0px 0px 0px 0px;
border-style: solid;
border-color: shade(@borders, 0.90);
-
box-shadow: inset 0 -1px shade(@wm_bg_b, 0.95);
background-color: @theme_bg_color;
-
padding: 6px;
}
@@ -4504,7 +4502,9 @@ GtkModelButton.button.flat:selected {
*******/
.titlebar {
text-shadow: 0 1px @wm_title_shadow;
- background-image: none;
+ background-image: linear-gradient(to bottom,
+ @wm_bg_a,
+ @wm_bg_b);
border-radius: 6px 6px 0px 0px;
box-shadow: inset 0 -1px alpha(@theme_base_color, 0.4);
border-color: @borders;
@@ -4561,20 +4561,16 @@ GtkModelButton.button.flat:selected {
icon-shadow: none;
}
-/****************************************************************************************
-* Give and take related to recent gtk3.3.14 development, *
-* to achieve full size of the icon menu of some of the applications whose notification *
-* icons appear in the system tray, the "shadow" is disabled. *
-* same affect in mate-panel main menu, csd apps, header-bars apps *
-* if compositor switch to disable !!!!! *
-*****************************************************************************************/
-
.window-frame {
- border-radius: 0px 0px 0px 0px;
- border-width: 1px;
- box-shadow: 0 0 0 @wm_shadow;
+ border-radius: 6px 6px 0px 0px;
+ border-width: 0px;
+ box-shadow: 0 0 0 1px @wm_border, 0 2px 8px 3px @wm_shadow;
/* this is used for the resize cursor area */
- margin: 2px;
+ margin: 10px;
+}
+
+.window-frame:backdrop {
+ box-shadow: 0 0 0 1px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow;
}
.window-frame.tiled {
@@ -4582,8 +4578,16 @@ GtkModelButton.button.flat:selected {
background-color: @theme_bg_color;
}
-.window-frame:backdrop {
- box-shadow: 0 0 0 @wm_shadow;
+.window-frame.ssd {
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23);
+}
+
+.window-frame.solid-csd {
+ border-radius: 0;
+ margin: 2px;
+ background-color: @wm_bg_a;
+ border: solid 1px @wm_csd_solid_border_color;
+ box-shadow: none;
}
.window-frame.csd.popup {