aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHorst31802015-05-18 10:56:28 +0200
committerHorst31802015-05-18 11:28:01 +0200
commit99dded9753ca92c1715565d5166ebe076dbea3ac (patch)
tree1f1e4ae6f91f1fcc7c352ff0cf0de4605484fa52
parent32b0970dda781992e281d2a562b93527222754ad (diff)
downloadsolarc-theme-99dded9753ca92c1715565d5166ebe076dbea3ac.tar.gz
solarc-theme-99dded9753ca92c1715565d5166ebe076dbea3ac.tar.xz
solarc-theme-99dded9753ca92c1715565d5166ebe076dbea3ac.zip
some metacity fixes
-rw-r--r--gtk-3.0/_colors-public.scss2
-rw-r--r--metacity-1/metacity-theme-3.xml20
2 files changed, 10 insertions, 12 deletions
diff --git a/gtk-3.0/_colors-public.scss b/gtk-3.0/_colors-public.scss
index 34ace1f..7383b07 100644
--- a/gtk-3.0/_colors-public.scss
+++ b/gtk-3.0/_colors-public.scss
@@ -29,7 +29,7 @@
//WM
$wm_highlight: lighten(opacify($header_bg, 1), 4%);
-$wm_bg_unfocused: opacify($header_bg, 1);
+$wm_bg_unfocused: opacify(lighten($header_bg, 3%), 1);
@define-color wm_title #{"" + $header_fg};
@define-color wm_unfocused_title alpha(#{"" + $header_fg}, 0.7);
diff --git a/metacity-1/metacity-theme-3.xml b/metacity-1/metacity-theme-3.xml
index d884793..d0038a9 100644
--- a/metacity-1/metacity-theme-3.xml
+++ b/metacity-1/metacity-theme-3.xml
@@ -24,12 +24,13 @@
<distance name="left_width" value="0" />
<distance name="right_width" value="0" />
<distance name="bottom_height" value="0" />
- <distance name="left_titlebar_edge" value="0"/>
- <distance name="right_titlebar_edge" value="0"/>
+ <distance name="left_titlebar_edge" value="5"/>
+ <distance name="right_titlebar_edge" value="5"/>
<distance name="title_vertical_pad" value="3"/>
<border name="title_border" left="10" right="10" top="3" bottom="3"/>
- <border name="button_border" left="4" right="4" top="0" bottom="0"/>
- <aspect_ratio name="button" value="1.0"/>
+ <border name="button_border" left="0" right="0" top="0" bottom="0"/>
+ <distance name="button_width" value="30"/>
+ <distance name="button_height" value="16"/>
</frame_geometry>
<frame_geometry name="normal_unfocused" title_scale="medium" rounded_top_left="1" rounded_top_right="1" parent="normal">
@@ -58,7 +59,6 @@
<frame_geometry name="small" title_scale="small" parent="normal" hide_buttons="true" rounded_top_left="1" rounded_top_right="3">
<distance name="title_vertical_pad" value="7"/>
<border name="title_border" left="10" right="10" top="0" bottom="1"/>
- <border name="button_border" left="3" right="3" top="0" bottom="2"/>
</frame_geometry>
<frame_geometry name="small_unfocused" parent="small">
@@ -71,7 +71,6 @@
<distance name="right_width" value="1" />
<distance name="bottom_height" value="1" />
<border name="title_border" left="10" right="10" top="0" bottom="0" />
- <border name="button_border" left="3" right="3" top="0" bottom="0"/>
<distance name="title_vertical_pad" value="1" />
</frame_geometry>
@@ -81,7 +80,6 @@
<distance name="bottom_height" value="0" />
<distance name="title_vertical_pad" value="0" />
<border name="title_border" left="10" right="10" top="0" bottom="0" />
- <border name="button_border" left="3" right="3" top="0" bottom="0"/>
</frame_geometry>
<frame_geometry name="modal" title_scale="small" hide_buttons="true" rounded_top_left="1" rounded_top_right="1" parent="small">
@@ -129,20 +127,20 @@
<draw_ops name="entire_background_focused">
<rectangle color="C_wm_bg_focused" x="0" y="0" width="width" height="height" filled="true" />
- <rectangle color="C_wm_highlight" x="0" y="0" width="width" height="1" filled="true" />
</draw_ops>
<draw_ops name="entire_background_unfocused">
<rectangle color="C_wm_bg_unfocused" x="0" y="0" width="width" height="height" filled="true" />
- <rectangle color="C_wm_highlight" x="0" y="0" width="width" height="1" filled="true" />
</draw_ops>
<draw_ops name="titlebar_focused">
-
+ <rectangle color="C_wm_bg_focused" x="0" y="0" width="width" height="height" filled="true" />
+ <rectangle color="C_wm_highlight" x="0" y="0" width="width" height="1" filled="true" />
</draw_ops>
<draw_ops name="titlebar_unfocused">
- <include name="titlebar_focused" />
+ <rectangle color="C_wm_bg_unfocused" x="0" y="0" width="width" height="height" filled="true" />
+ <rectangle color="C_wm_highlight" x="0" y="0" width="width" height="1" filled="true" />
</draw_ops>
<draw_ops name="titlebar_max">