[gnome-themes-standard] window decorations: shaded the top border of attached modal dialogs.



commit 28c99e9c1045a7839bed80ca14829ae83f89f7dc
Author: Lapo Calamandrei <calamandrei gmail com>
Date:   Sat Nov 27 14:18:11 2010 +0100

    window decorations: shaded the top border of attached modal dialogs.

 themes/Adwaita/metacity-1/metacity-theme-3.xml |   17 ++++++++++++++++-
 1 files changed, 16 insertions(+), 1 deletions(-)
---
diff --git a/themes/Adwaita/metacity-1/metacity-theme-3.xml b/themes/Adwaita/metacity-1/metacity-theme-3.xml
index 385d413..214bb28 100644
--- a/themes/Adwaita/metacity-1/metacity-theme-3.xml
+++ b/themes/Adwaita/metacity-1/metacity-theme-3.xml
@@ -12,6 +12,7 @@
 
 <constant name="C_border_focused" value="blend/#000000/gtk:bg[NORMAL]/0.6" />
 <constant name="C_border_unfocused" value="blend/#000000/gtk:bg[NORMAL]/0.8" />
+<constant name="C_border_attached_focused" value="blend/#000000/gtk:bg[NORMAL]/0.2" />
 <constant name="C_titlebar_focused_hilight" value="gtk:text[SELECTED]" />
 <constant name="C_titlebar_unfocused" value="blend/#ffffff/gtk:bg[NORMAL]/0.4" />
 <constant name="C_title_focused" value="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.1" />
@@ -214,6 +215,20 @@
 	<rectangle color="C_border_unfocused" x="0" y="0" width="width-1" height="height-1" filled="false" />
 </draw_ops>
 
+<draw_ops name="border_attached_focused">
+	<rectangle color="C_border_focused" x="0" y="0" width="width-1" height="height-1" filled="false" />
+	<line x1="0" y1="0" x2="width" y2="0" color="C_border_attached_focused" />
+	<gradient type="vertical" x="0" y="1" width="1" height="40">
+		<color value="C_border_attached_focused" />
+		<color value="C_border_focused" />
+	</gradient>
+	<gradient type="vertical" x="width-1" y="1" width="1" height="40">
+		<color value="C_border_attached_focused" />
+		<color value="C_border_focused" />
+	</gradient>
+</draw_ops>
+
+
 <draw_ops name="rounded_border_focused">
 	<line color="C_border_focused" x1="4" y1="0" x2="width-5" y2="0" />
 	<line color="C_border_focused" x1="0" y1="height-1" x2="width-1" y2="height-1" />
@@ -1311,7 +1326,7 @@
 <frame_style name="attached_focused" geometry="attached">
 	<piece position="entire_background" draw_ops="entire_background_focused" />
 	<piece position="titlebar" draw_ops="titlebar_focused_alt" />
-	<piece position="overlay" draw_ops="border_focused" />
+	<piece position="overlay" draw_ops="border_attached_focused" />
 	<button function="close" state="normal"><draw_ops></draw_ops></button>
 	<button function="close" state="pressed"><draw_ops></draw_ops></button>
 	<button function="maximize" state="normal"><draw_ops></draw_ops></button>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]