summaryrefslogtreecommitdiff
path: root/desktop-themes
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2015-04-19 15:23:07 +0200
committerraveit65 <[email protected]>2015-04-19 15:23:47 +0200
commit5d67d69bbcaa44bc970312aec61f60afdf256a44 (patch)
tree4e12989bdf0a180768a9df88aca680e96f5ea878 /desktop-themes
parentf43f5bb4574fda6bf3f7c895add2dc9dea1d71ae (diff)
downloadmate-themes-5d67d69bbcaa44bc970312aec61f60afdf256a44.tar.bz2
mate-themes-5d67d69bbcaa44bc970312aec61f60afdf256a44.tar.xz
BlackMATE GTK+-3.16: adjustments for window-frame (csd apps) -->
- enable window shadows for compositor - add stylying for new widget window-frame.solid-csd (non compositor)
Diffstat (limited to 'desktop-themes')
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/gtk-main.css5
-rw-r--r--desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css29
-rw-r--r--desktop-themes/BlackMATE/metacity-1/metacity-theme-1.xml6
-rw-r--r--desktop-themes/BlackMATE/metacity-1/metacity-theme-2.xml6
4 files changed, 28 insertions, 18 deletions
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css
index 10482fdb..76074261 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-main.css
@@ -132,6 +132,11 @@
@define-color wm_util shade(@theme_bg_color, 1.2);
@define-color wm_unfocus shade(@theme_bg_color, 1.05);
@define-color wm_shadow alpha(black, 0.5);
+@define-color wm_border alpha(black,0.18);
+
+/* csd border */
+@define-color wm_csd_border_color shade (#595959, 1.35);
+@define-color wm_csd_solid_border_color shade (#595959, 1.0);
/* FIXME: needs dark colors from here */
@define-color link_color #2EB8E6; /*#4a90d9*/
diff --git a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
index 946ac79b..8096bad1 100644
--- a/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
+++ b/desktop-themes/BlackMATE/gtk-3.0/gtk-widgets.css
@@ -2470,18 +2470,10 @@ GtkPopover .separator {
color: #747473;
}
-/****************************************************************************************
-* 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: 7px 7px 0px 0px;
+ border-width: 0px;
+ box-shadow: 0 0 0 2px @wm_csd_border_color, 0 2px 8px 3px @wm_shadow;
/* this is used for the resize cursor area */
margin: 2px;
}
@@ -2492,7 +2484,20 @@ GtkPopover .separator {
}
.window-frame:backdrop {
- box-shadow: 0 0 0 @wm_shadow;
+ box-shadow: 0 0 0 2px shade(@wm_border,1.1), 0 2px 5px 1px @wm_shadow;
+}
+
+.window-frame.ssd {
+ box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23);
+}
+
+.window-frame.solid-csd {
+ border-radius: 0px;
+ margin: 2px;
+ margin-top: 0px;
+ background-color: @wm_a;
+ border: solid 2px @wm_csd_solid_border_color;
+ box-shadow: none;
}
.window-frame.csd.popup {
diff --git a/desktop-themes/BlackMATE/metacity-1/metacity-theme-1.xml b/desktop-themes/BlackMATE/metacity-1/metacity-theme-1.xml
index 0bb574e4..aaf91c36 100644
--- a/desktop-themes/BlackMATE/metacity-1/metacity-theme-1.xml
+++ b/desktop-themes/BlackMATE/metacity-1/metacity-theme-1.xml
@@ -39,7 +39,7 @@
<frame_geometry name="utility" title_scale="small" parent="normal"/>
-<frame_geometry name="border" has_title="false" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
+<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="2"/>
<distance name="right_width" value="2"/>
<distance name="bottom_height" value="2"/>
@@ -47,8 +47,8 @@
<distance name="right_titlebar_edge" value="0"/>
<distance name="button_width" value="0"/>
<distance name="button_height" value="0"/>
- <distance name="title_vertical_pad" value="0"/>
- <border name="title_border" left="0" right="0" top="6" bottom="0"/>
+ <distance name="title_vertical_pad" value="3"/>
+ <border name="title_border" left="0" right="0" top="0" bottom="0"/>
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
</frame_geometry>
diff --git a/desktop-themes/BlackMATE/metacity-1/metacity-theme-2.xml b/desktop-themes/BlackMATE/metacity-1/metacity-theme-2.xml
index 355401ee..1b1bcee8 100644
--- a/desktop-themes/BlackMATE/metacity-1/metacity-theme-2.xml
+++ b/desktop-themes/BlackMATE/metacity-1/metacity-theme-2.xml
@@ -39,7 +39,7 @@
<frame_geometry name="utility" title_scale="small" parent="normal"/>
-<frame_geometry name="border" has_title="false" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
+<frame_geometry name="border" has_title="false" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
<distance name="left_width" value="2"/>
<distance name="right_width" value="2"/>
<distance name="bottom_height" value="2"/>
@@ -47,8 +47,8 @@
<distance name="right_titlebar_edge" value="0"/>
<distance name="button_width" value="0"/>
<distance name="button_height" value="0"/>
- <distance name="title_vertical_pad" value="0"/>
- <border name="title_border" left="0" right="0" top="6" bottom="0"/>
+ <distance name="title_vertical_pad" value="3"/>
+ <border name="title_border" left="0" right="0" top="0" bottom="0"/>
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
</frame_geometry>