[gtk-engines/gnome3] unfocused window borders
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-engines/gnome3] unfocused window borders
- Date: Wed, 28 Jul 2010 09:27:26 +0000 (UTC)
commit ccbd22c3a85cddd4d8abf93d4e3fd2281a60a2ab
Author: Jakub Steiner <jimmac gmail com>
Date: Tue Jul 27 23:37:56 2010 +0200
unfocused window borders
themes/GNOME3/metacity-1/metacity-theme-1.xml | 30 ++++++++++++++----------
1 files changed, 17 insertions(+), 13 deletions(-)
---
diff --git a/themes/GNOME3/metacity-1/metacity-theme-1.xml b/themes/GNOME3/metacity-1/metacity-theme-1.xml
index afc17a8..fbfac6b 100644
--- a/themes/GNOME3/metacity-1/metacity-theme-1.xml
+++ b/themes/GNOME3/metacity-1/metacity-theme-1.xml
@@ -52,19 +52,18 @@
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.6" x1="3" y1="1" x2="4" y2="1" />
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.6" x1="2" y1="2" x2="2" y2="2" />
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.6" x1="1" y1="3" x2="1" y2="4" />
-
-
-
+ </draw_ops>
+ <draw_ops name="bg_titlebar_unfocused">
+ <!-- aa -->
+ <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.9" x1="3" y1="1" x2="4" y2="1" />
+ <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.9" x1="2" y1="2" x2="2" y2="2" />
+ <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.9" x1="1" y1="3" x2="1" y2="4" />
</draw_ops>
-
- <!-- Lines -->
+ <!-- Window Borders -->
<draw_ops name="lines_border_focused">
- <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.6" x1="0" y1="0" x2="width" y2="0"/>
- <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.6" x1="0" y1="height-1" x2="width" y2="height-1"/>
- <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.6" x1="0" y1="0" x2="0" y2="height-1"/>
- <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.6" x1="width-1" y1="0" x2="width-1" y2="height-1"/>
+ <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.6" x="0" y="0" width="width-1" height="height-1" filled="false"/>
</draw_ops>
<draw_ops name="lines_border_maximized_focused">
@@ -72,8 +71,7 @@
</draw_ops>
<draw_ops name="lines_border_unfocused">
- <!--FIXME: make this just borders -->
- <rectangle color="gtk:bg[NORMAL]" x="0" y="0" width="width" height="height" filled="true"/>
+ <rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.8" x="0" y="0" width="width-1" height="height-1" filled="false"/>
</draw_ops>
@@ -104,7 +102,7 @@
<!--Normal unfocused window-->
<draw_ops name="titlebar_normal_unfocused">
- <include name="bg_titlebar"/>
+ <include name="bg_titlebar_unfocused"/>
</draw_ops>
<draw_ops name="normal_unfocused">
@@ -123,7 +121,7 @@
<!--maximized unfocused window-->
<draw_ops name="titlebar_maximized_unfocused">
- <include name="bg_titlebar"/>
+ <include name="bg_titlebar_unfocused"/>
</draw_ops>
<draw_ops name="maximized_unfocused">
@@ -240,6 +238,12 @@
<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="ButtonPad" y1="height - ButtonPad" x2="width-ButtonPad - 1" y2="ButtonPad" />
<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="ButtonPad" y1="height - ButtonPad + 1" x2="width-ButtonPad" y2="ButtonPad" />
<line color="blend/gtk:bg[NORMAL]/#000000/0.3" x1="ButtonPad+1" y1="height - ButtonPad + 1" x2="width-ButtonPad" y2="ButtonPad+1" />
+
+ <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.8" x1="width - 5" y1="1" x2="width - 3" y2="1" />
+ <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.8" x1="width - 3" y1="2" x2="width - 2" y2="2" />
+ <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.8" x1="width - 2" y1="3" x2="width - 2" y2="4" />
+
+ <line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.8" x1="width - 1" y1="3" x2="width - 1" y2="height" />
</draw_ops>
<!-- Maximize Buttons -->
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]