summaryrefslogtreecommitdiff
path: root/src/themes
diff options
context:
space:
mode:
authorMuktha <muktha.narayan@wipro.com>2005-01-31 09:54:34 +0000
committerMuktha Narayan <muktha@src.gnome.org>2005-01-31 09:54:34 +0000
commita7c2bacd6448e8c5e3bfa377067219cb759d7e68 (patch)
treed98925feb3b56189a2c2bfbfad4d78dba212069d /src/themes
parentdab5dc2c70fc7389c6639fc67fb274040e5395fd (diff)
downloadmetacity-a7c2bacd6448e8c5e3bfa377067219cb759d7e68.tar.gz
metacity-a7c2bacd6448e8c5e3bfa377067219cb759d7e68.tar.bz2
src/themes/Atlanta/metacity-theme-1.xml:
2005-01-31 Muktha <muktha.narayan@wipro.com> src/themes/Atlanta/metacity-theme-1.xml: src/themes/Simple/metacity-theme-1.xml: src/themes/Bright/metacity-theme-1.xml: Make the unfocussed title bar distinguishable. Fixes #125291.
Diffstat (limited to 'src/themes')
-rw-r--r--src/themes/Atlanta/metacity-theme-1.xml7
-rw-r--r--src/themes/Bright/metacity-theme-1.xml11
-rw-r--r--src/themes/Simple/metacity-theme-1.xml6
3 files changed, 17 insertions, 7 deletions
diff --git a/src/themes/Atlanta/metacity-theme-1.xml b/src/themes/Atlanta/metacity-theme-1.xml
index e806836..8355f4c 100644
--- a/src/themes/Atlanta/metacity-theme-1.xml
+++ b/src/themes/Atlanta/metacity-theme-1.xml
@@ -175,6 +175,11 @@
<include name="focus_outline"/>
</draw_ops>
+<draw_ops name="background_unfocused">
+ <include name="outer_bevel"/>
+ <include name="focus_outline"/>
+</draw_ops>
+
<draw_ops name="title_gradient">
<gradient type="diagonal" x="0" y="0" width="width-SpacerWidth" height="height">
<color value="blend/gtk:bg[NORMAL]/gtk:bg[SELECTED]/0.6"/>
@@ -245,7 +250,7 @@
</draw_ops>
<frame_style name="normal_unfocused" geometry="normal">
- <piece position="entire_background" draw_ops="outer_bevel"/>
+ <piece position="entire_background" draw_ops="background_unfocused"/>
<piece position="title" draw_ops="title_normal"/>
<!-- we don't specify for prelight, so normal is used -->
diff --git a/src/themes/Bright/metacity-theme-1.xml b/src/themes/Bright/metacity-theme-1.xml
index b5db5d4..a55f446 100644
--- a/src/themes/Bright/metacity-theme-1.xml
+++ b/src/themes/Bright/metacity-theme-1.xml
@@ -190,7 +190,7 @@
</draw_ops>
<draw_ops name="outer_bevel">
- <rectangle color="#000000"
+ <rectangle color="gtk:fg[NORMAL]"
x="0" y="0" width="width-1" height="height-1"/>
<line color="gtk:light[NORMAL]"
x1="1" y1="1" x2="1" y2="height-2"/>
@@ -207,7 +207,7 @@
</draw_ops>
<draw_ops name="focus_outline">
- <rectangle color="#000000"
+ <rectangle color="gtk:fg[NORMAL]"
x="left_width-1" y="top_height-1"
width="width-left_width-right_width+1"
height="height-top_height-bottom_height+1"/>
@@ -218,6 +218,11 @@
<include name="focus_outline"/>
</draw_ops>
+<draw_ops name="background_unfocused">
+ <include name="outer_bevel"/>
+ <include name="focus_outline"/>
+</draw_ops>
+
<draw_ops name="title_box">
<rectangle color="gtk:fg[NORMAL]" filled="false"
x="0" y="1" width="width-SpacerWidth+3" height="height-2"/>
@@ -278,7 +283,7 @@
</draw_ops>
<frame_style name="normal_unfocused" geometry="normal">
- <piece position="entire_background" draw_ops="outer_bevel"/>
+ <piece position="entire_background" draw_ops="background_unfocused"/>
<piece position="title" draw_ops="title_normal"/>
<!-- we don't specify for prelight, so normal is used -->
diff --git a/src/themes/Simple/metacity-theme-1.xml b/src/themes/Simple/metacity-theme-1.xml
index c037f63..a6a7bce 100644
--- a/src/themes/Simple/metacity-theme-1.xml
+++ b/src/themes/Simple/metacity-theme-1.xml
@@ -124,7 +124,7 @@
</draw_ops>
<draw_ops name="outer_bevel">
- <rectangle color="#000000"
+ <rectangle color="gtk:fg[NORMAL]"
x="0" y="0" width="width" height="height" filled="true"/>
<rectangle color="gtk:bg[NORMAL]"
x="1" y="1" width="width-2" height="height-2" filled="true"/>
@@ -160,7 +160,7 @@
<draw_ops name="title_tile_unfocused">
<line color="blend/gtk:bg[NORMAL]/#000000/0.1" x1="0" y1="0" x2="width" y2="0"/>
- <line color="blend/gtk:bg[NORMAL]/#000000/0.2" x1="0" y1="1" x2="width" y2="1"/>
+ <line color="blend/gtk:bg[NORMAL]/#ffffff/0.2" x1="0" y1="1" x2="width" y2="1"/>
</draw_ops>
<draw_ops name="title_bg">
@@ -174,7 +174,7 @@
<draw_ops name="title_bg_unfocused">
<tile name="title_tile_unfocused" tile_width="width" tile_height="2" x="0" y="0" width="width-1" height="height-1"/>
- <rectangle color="blend/#000000/gtk:bg[NORMAL]/0.7" filled="false" x="0" y="0" width="width-1" height="height-1"/>
+ <rectangle color="blend/#000000/gtk:fg[NORMAL]/0.7" filled="false" x="0" y="0" width="width-1" height="height-1"/>
<rectangle color="blend/#000000/gtk:bg[NORMAL]/0.8" filled="true" x="0" y="0" width="1" height="1"/>
<rectangle color="blend/#000000/gtk:bg[NORMAL]/0.8" filled="true" x="width-1" y="0" width="1" height="1"/>
<rectangle color="blend/#000000/gtk:bg[NORMAL]/0.8" filled="true" x="0" y="height-1" width="1" height="1"/>