[gtk-engines/gnome3] window border improvements



commit 3da5e0fb144193a705280549999f245c493b64ad
Author: Hylke Bons <hylke bons intel com>
Date:   Sun Apr 11 01:26:29 2010 +0100

    window border improvements

 themes/GNOME3/gtk-2.0/gtkrc                   |   16 +++++++++++++++-
 themes/GNOME3/metacity-1/metacity-theme-1.xml |   20 ++++++++++++--------
 2 files changed, 27 insertions(+), 9 deletions(-)
---
diff --git a/themes/GNOME3/gtk-2.0/gtkrc b/themes/GNOME3/gtk-2.0/gtkrc
index 0682219..734046a 100644
--- a/themes/GNOME3/gtk-2.0/gtkrc
+++ b/themes/GNOME3/gtk-2.0/gtkrc
@@ -278,7 +278,8 @@ style "comboboxentry" {
 
 style "menubar" {
 	xthickness = 0
-
+	bg [NORMAL] = "#E0E0DC"
+  bg [ACTIVE] = "#c7ccc1" # second gradient color
 	engine "clearlooks" {
 		hint = "menubar"
 	}
@@ -453,6 +454,19 @@ style "cheese-thumbs" {
 }
 widget_class "*<CheeseThumbView>*" style "cheese-thumbs"
 
+	
+style "terminal" {
+	text[NORMAL] = "#ffffff"
+	base[NORMAL] = "#1e1a17"
+	TerminalScreen::background-darkness = 0.95
+}
+class "TerminalScreen" style "terminal"
+
+style "infobar" {
+	bg[NORMAL] = "#ffffff"
+	TerminalScreen::background-darkness = 0.95
+}
+class "GtkInfobar" style "infobar"
 
 style "dark_panel" {
 	bg[NORMAL] = "#1e1a17"
diff --git a/themes/GNOME3/metacity-1/metacity-theme-1.xml b/themes/GNOME3/metacity-1/metacity-theme-1.xml
index 877cab5..fe685b3 100644
--- a/themes/GNOME3/metacity-1/metacity-theme-1.xml
+++ b/themes/GNOME3/metacity-1/metacity-theme-1.xml
@@ -13,7 +13,7 @@
   <frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true" title_scale="medium"> 
      <distance name="left_width" value="1"/>
      <distance name="right_width" value="1"/>
-     <distance name="bottom_height" value="1"/>
+     <distance name="bottom_height" value="4"/>
      <distance name="left_titlebar_edge" value="0"/>
      <distance name="right_titlebar_edge" value="0"/>
      <distance name="title_vertical_pad" value="0"/>
@@ -23,7 +23,7 @@
      <distance name="button_height" value="32"/>
   </frame_geometry>
 
-  <frame_geometry name="maximized" title_scale="medium" parent="normal"> 
+  <frame_geometry name="maximized" title_scale="medium" parent="normal" rounded_top_left="false" rounded_top_right="false" >
      <distance name="left_width" value="0"/>
      <distance name="right_width" value="0"/>
      <distance name="bottom_height" value="0"/>
@@ -54,16 +54,20 @@
     <rectangle color="#888a85" x="0" y="0" width="width" height="height" filled="true"/>
   </draw_ops>
 
+  <draw_ops name="lines_border_maximized_focused">
+    <rectangle color="green" x="0" y="0" width="width" height="height" filled="true"/>
+  </draw_ops>
+
   <draw_ops name="lines_border_unfocused">
-    <rectangle color="#888a85" x="0" y="0" width="width" height="height" filled="true"/>
+    <rectangle color="red" x="0" y="0" width="width" height="height" filled="true"/>
   </draw_ops>
 
 
   <!-- Title -->
 
   <draw_ops name="title_all">
-     <title x="11" y="(((height - title_height) / 2) `max` 0)+1" color="#ffffff"/>
-     <title x="10" y="((height - title_height) / 2) `max` 0" color="#2e3436"/>
+     <title x="10" y="(((height - title_height) / 2) `max` 0)+3" color="#ffffff"/>
+     <title x="10" y="(((height - title_height) / 2) `max` 0)+2" color="#2e3436"/>
      <image filename="left_button_edge.png"
 			  alpha="1"
 			  x="width-6"
@@ -73,8 +77,8 @@
   </draw_ops>
 
   <draw_ops name="title_all_unfocused">
-     <title x="11" y="(((height - title_height) / 2) `max` 0)+1" color="#ffffff"/>
-     <title x="10" y="((height - title_height) / 2) `max` 0" color="#8d908f"/>
+     <title x="10" y="(((height - title_height) / 2) `max` 0)+3" color="#ffffff"/>
+     <title x="10" y="(((height - title_height) / 2) `max` 0)+2" color="#8d908f"/>
      <image filename="left_button_edge.png"
 			  alpha="1"
 			  x="width-6"
@@ -112,7 +116,7 @@
 
   <draw_ops name="maximized_focused"> 
      <include name="bg_titlebar"/>
-     <include name="lines_border_focused"/>
+     <include name="lines_border_maximized_focused"/>
   </draw_ops>
 
   <!--maximized unfocused window-->



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