[gnome-themes-standard] Tweaks to the modal dialog border shading to make it look less flat.



commit b97babe77119b2308a02e4ecd69b2e5ee645b819
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Dec 14 22:07:01 2010 +0100

    Tweaks to the modal dialog border shading to make it look less flat.

 themes/Adwaita/metacity-1/metacity-theme-3.xml |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/themes/Adwaita/metacity-1/metacity-theme-3.xml b/themes/Adwaita/metacity-1/metacity-theme-3.xml
index 62ca61a..9aa49b4 100644
--- a/themes/Adwaita/metacity-1/metacity-theme-3.xml
+++ b/themes/Adwaita/metacity-1/metacity-theme-3.xml
@@ -12,7 +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_border_attached_focused" value="blend/#000000/gtk:bg[NORMAL]/0.4" />
 <constant name="C_titlebar_focused_hilight" value="gtk:base[NORMAL]" />
 <constant name="C_titlebar_unfocused" value="blend/gtk:base[NORMAL]/gtk:bg[NORMAL]/0.4" />
 <constant name="C_title_focused" value="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.1" />
@@ -222,13 +222,16 @@
 
 <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="7">
+	<line x1="0" y1="0" x2="width" y2="0" color="blend/gtk:bg[NORMAL]/#000000/0.2" />
+	<line x1="0" y1="1" x2="width" y2="1" color="C_border_attached_focused" />
+	<gradient type="vertical" x="0" y="2" width="1" height="14">
 		<color value="C_border_attached_focused" />
+		<color value="blend/gtk:bg[NORMAL]/#000000/0.1" />
 		<color value="C_border_focused" />
 	</gradient>
-	<gradient type="vertical" x="width-1" y="1" width="1" height="7">
+	<gradient type="vertical" x="width-1" y="2" width="1" height="14">
 		<color value="C_border_attached_focused" />
+		<color value="blend/gtk:bg[NORMAL]/#000000/0.1" />
 		<color value="C_border_focused" />
 	</gradient>
 </draw_ops>



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