[gnome-themes-standard] 1px shaved of vertical size of the titlebar.



commit ca97ae1a6894e2b7d16dfb64f36ec921a66298fc
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon Aug 8 16:37:36 2011 +0200

    1px shaved of vertical size of the titlebar.

 themes/Adwaita/gtk-3.0/gtk-dark.css            |    6 +++---
 themes/Adwaita/gtk-3.0/gtk.css                 |    3 +++
 themes/Adwaita/metacity-1/metacity-theme-3.xml |    6 ++++--
 3 files changed, 10 insertions(+), 5 deletions(-)
---
diff --git a/themes/Adwaita/gtk-3.0/gtk-dark.css b/themes/Adwaita/gtk-3.0/gtk-dark.css
index 0dad29f..c0a8fe2 100644
--- a/themes/Adwaita/gtk-3.0/gtk-dark.css
+++ b/themes/Adwaita/gtk-3.0/gtk-dark.css
@@ -134,9 +134,9 @@
 @define-color wm_button_bg_hover_c shade (@wm_button_bg_c, 1.2);
 @define-color wm_button_bg_hover_d shade (@wm_button_bg_d, 1.2);
 
- define-color wm_button_bg_active_a shade (@theme_bg_color, 0.8);
- define-color wm_button_bg_active_b shade (wm_button_bg_active_a, 0.2);
- define-color wm_button_bg_active_c shade (wm_button_bg_active_a, 0.2);
+ define-color wm_button_bg_active_a shade (@theme_bg_color, 0.5);
+ define-color wm_button_bg_active_b shade (@theme_bg_color, 0.7);
+ define-color wm_button_bg_active_c shade (@theme_bg_color, 0.7);
 
 @import url("gtk-widgets-assets-dark.css");
 @import url("gtk-widgets.css");
diff --git a/themes/Adwaita/gtk-3.0/gtk.css b/themes/Adwaita/gtk-3.0/gtk.css
index cb39054..45e0258 100644
--- a/themes/Adwaita/gtk-3.0/gtk.css
+++ b/themes/Adwaita/gtk-3.0/gtk.css
@@ -138,6 +138,9 @@
 @define-color wm_button_bg_hover_c shade (@wm_button_bg_c, 1.1);
 @define-color wm_button_bg_hover_d shade (@wm_button_bg_d, 1.1);
 
+ define-color wm_button_bg_active_a shade (@bg_color, 0.7);
+ define-color wm_button_bg_active_b shade (@bg_color, 0.9);
+ define-color wm_button_bg_active_c shade (@bg_color, 0.9);
 
 @import url("gtk-widgets.css");
 @import url("gtk-widgets-assets.css");
diff --git a/themes/Adwaita/metacity-1/metacity-theme-3.xml b/themes/Adwaita/metacity-1/metacity-theme-3.xml
index 2b746cf..5400ca3 100644
--- a/themes/Adwaita/metacity-1/metacity-theme-3.xml
+++ b/themes/Adwaita/metacity-1/metacity-theme-3.xml
@@ -35,7 +35,7 @@
 	<distance name="bottom_height" value="2" />
 	<distance name="left_titlebar_edge" value="0"/>
 	<distance name="right_titlebar_edge" value="0"/>
-	<distance name="title_vertical_pad" value="10"/>
+	<distance name="title_vertical_pad" value="9"/>
 	<border name="title_border" left="10" right="10" top="0" bottom="2"/>
 	<border name="button_border" left="0" right="0" top="0" bottom="2"/>
 	<aspect_ratio name="button" value="1"/>
@@ -51,7 +51,7 @@
 	<distance name="right_width" value="0" />
 	<distance name="left_titlebar_edge" value="0"/>
 	<distance name="right_titlebar_edge" value="0"/>
-	<distance name="title_vertical_pad" value="9"/> <!-- 
+	<distance name="title_vertical_pad" value="8"/> <!-- 
 							This needs to be 1 less then the
 							title_vertical_pad on normal state
 							or you'll have bigger buttons 								-->
@@ -262,11 +262,13 @@
 	<line color="C_border_unfocused" x1="width-1" y1="4" x2="width-1" y2="height-2" />
 	<arc color="C_border_unfocused" x="0" y="0" width="9" height="9"  start_angle="270" extent_angle="90" />
 	<arc color="C_border_unfocused" x="width-10" y="0" width="9" height="9"  start_angle="0" extent_angle="90" />
+
 	<!-- double arcs for darker borders -->
 	<arc color="C_border_unfocused" x="0" y="0" width="9" height="9"  start_angle="270" extent_angle="90" />
 	<arc color="C_border_unfocused" x="width-10" y="0" width="9" height="9"  start_angle="0" extent_angle="90" />
 </draw_ops>
 
+
 <draw_ops name="border_right_focused">
 	<line
 		x1="width-1" y1="0" 



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