2
<!-- $Id: metacity-theme-1.xml 1398 2008-01-23 00:52:03Z acimitan $ -->
6
<author>Andrea Cimitan <andrea.cimitan@gmail.com></author>
7
<copyright>Â 2008 Andrea Cimitan</copyright>
9
<description>Unity Metacity Theme for Clearlooks</description>
12
<!-- ::: GEOMETRY ::: -->
13
<frame_geometry name="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="false" rounded_bottom_right="false">
14
<distance name="left_width" value="2"/>
15
<distance name="right_width" value="2"/>
16
<distance name="bottom_height" value="2"/>
17
<distance name="left_titlebar_edge" value="3"/>
18
<distance name="right_titlebar_edge" value="3"/>
19
<aspect_ratio name="button" value="0.8"/>
20
<distance name="title_vertical_pad" value="0"/>
21
<border name="title_border" left="2" right="2" top="4" bottom="3"/>
22
<border name="button_border" left="1" right="1" top="2" bottom="2"/>
25
<frame_geometry name="shaded" parent="normal" rounded_top_left="true" rounded_top_right="true" rounded_bottom_left="true" rounded_bottom_right="true"/>
27
<frame_geometry name="normal_maximized" parent="normal" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
28
<!-- strip frame spacing off the normal geometry when maximised -->
29
<distance name="left_width" value="0"/>
30
<distance name="right_width" value="0"/>
31
<distance name="bottom_height" value="0"/>
32
<distance name="left_titlebar_edge" value="1"/>
33
<distance name="right_titlebar_edge" value="1"/>
36
<frame_geometry name="utility" title_scale="small" rounded_top_left="false" rounded_top_right="false" rounded_bottom_left="false" rounded_bottom_right="false">
37
<distance name="left_width" value="2"/>
38
<distance name="right_width" value="2"/>
39
<distance name="bottom_height" value="2"/>
40
<distance name="left_titlebar_edge" value="3"/>
41
<distance name="right_titlebar_edge" value="3"/>
42
<distance name="title_vertical_pad" value="0"/>
43
<border name="title_border" left="2" right="2" top="4" bottom="3"/>
44
<border name="button_border" left="0" right="0" top="2" bottom="2"/>
45
<aspect_ratio name="button" value="1"/>
48
<frame_geometry name="border" has_title="false">
49
<distance name="left_width" value="2"/>
50
<distance name="right_width" value="2"/>
51
<distance name="bottom_height" value="2"/>
52
<distance name="left_titlebar_edge" value="0"/>
53
<distance name="right_titlebar_edge" value="0"/>
54
<distance name="button_width" value="0"/>
55
<distance name="button_height" value="0"/>
56
<distance name="title_vertical_pad" value="4"/>
57
<border name="title_border" left="0" right="0" top="0" bottom="0"/>
58
<border name="button_border" left="0" right="0" top="0" bottom="0"/>
61
<!-- button minimum size -->
62
<constant name="Bmin" value="7"/>
63
<!-- button inside padding -->
64
<constant name="Bpad" value="6"/>
66
<!-- ::: CORNERS ::: -->
67
<draw_ops name="corners_outline_selected_top">
69
<line color="shade/gtk:bg[NORMAL]/0.6" x1="1" y1="3" x2="1" y2="3"/>
70
<line color="shade/gtk:bg[NORMAL]/0.73" x1="1" y1="4" x2="1" y2="4"/>
71
<line color="shade/gtk:bg[NORMAL]/0.6" x1="2" y1="2" x2="2" y2="2"/>
72
<line color="shade/gtk:bg[NORMAL]/0.6" x1="3" y1="1" x2="3" y2="1"/>
73
<line color="shade/gtk:bg[NORMAL]/0.73" x1="4" y1="1" x2="4" y2="1"/>
76
<line color="shade/gtk:bg[NORMAL]/0.6" x1="width-2" y1="3" x2="width-2" y2="3"/>
77
<line color="shade/gtk:bg[NORMAL]/0.73" x1="width-2" y1="4" x2="width-2" y2="4"/>
78
<line color="shade/gtk:bg[NORMAL]/0.6" x1="width-3" y1="2" x2="width-3" y2="2"/>
79
<line color="shade/gtk:bg[NORMAL]/0.6" x1="width-4" y1="1" x2="width-4" y2="1"/>
80
<line color="shade/gtk:bg[NORMAL]/0.73" x1="width-5" y1="1" x2="width-5" y2="1"/>
83
<draw_ops name="corners_outline_top">
85
<line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="3"/>
86
<line color="shade/gtk:bg[NORMAL]/0.68" x1="1" y1="4" x2="1" y2="4"/>
87
<line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="2" y2="2"/>
88
<line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="3" y2="1"/>
89
<line color="shade/gtk:bg[NORMAL]/0.68" x1="4" y1="1" x2="4" y2="1"/>
92
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="3"/>
93
<line color="shade/gtk:bg[NORMAL]/0.68" x1="width-2" y1="4" x2="width-2" y2="4"/>
94
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-3" y1="2" x2="width-3" y2="2"/>
95
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-4" y1="1" x2="width-4" y2="1"/>
96
<line color="shade/gtk:bg[NORMAL]/0.68" x1="width-5" y1="1" x2="width-5" y2="1"/>
99
<draw_ops name="corners_outline_selected_bottom">
101
<line color="shade/gtk:bg[NORMAL]/0.64" x1="1" y1="height-4" x2="1" y2="height-5"/>
102
<line color="shade/gtk:bg[NORMAL]/0.64" x1="2" y1="height-3" x2="2" y2="height-3"/>
103
<line color="shade/gtk:bg[NORMAL]/0.64" x1="2" y1="height-2" x2="4" y2="height-2"/>
105
<!-- bottom right -->
106
<line color="shade/gtk:bg[NORMAL]/0.64" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
107
<line color="shade/gtk:bg[NORMAL]/0.64" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
108
<line color="shade/gtk:bg[NORMAL]/0.64" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/>
111
<draw_ops name="corners_outline_bottom">
113
<line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="height-4" x2="1" y2="height-5"/>
114
<line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="2" y2="height-3"/>
115
<line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-2" x2="4" y2="height-2"/>
117
<!-- bottom right -->
118
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="height-4" x2="width-2" y2="height-5"/>
119
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
120
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-4" y1="height-2" x2="width-5" y2="height-2"/>
123
<draw_ops name="corners_highlight">
124
<!-- ** corner highlight for left top ** -->
125
<line color="shade/gtk:bg[NORMAL]/1.14" x1="2" y1="3" x2="2" y2="4"/>
126
<line color="shade/gtk:bg[NORMAL]/1.14" x1="3" y1="2" x2="4" y2="2"/>
128
<!-- ** corner highlight for right top ** -->
129
<line color="shade/gtk:bg[NORMAL]/0.92" x1="width-3" y1="3" x2="width-3" y2="4"/>
130
<line color="shade/gtk:bg[NORMAL]/1.12" x1="width-5" y1="2" x2="width-4" y2="2"/>
132
<!-- ** corner highlight for left bottom ** -->
133
<!--<line color="shade/gtk:bg[NORMAL]/1.14" x1="2" y1="height-4" x2="2" y2="height-5"/>
134
<line color="shade/gtk:bg[NORMAL]/0.9" x1="3" y1="height-3" x2="4" y2="height-3"/>-->
136
<!-- ** corner highlight for right bottom ** -->
137
<!--<line color="shade/gtk:bg[NORMAL]/0.9" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
138
<line color="shade/gtk:bg[NORMAL]/0.9" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>-->
141
<draw_ops name="corners_highlight_unfocused">
142
<!-- ** corner highlight for left top ** -->
143
<line color="shade/gtk:bg[NORMAL]/1.14" x1="2" y1="3" x2="2" y2="4"/>
144
<line color="shade/gtk:bg[NORMAL]/1.14" x1="3" y1="2" x2="4" y2="2"/>
146
<!-- ** corner highlight for right top ** -->
147
<line color="shade/gtk:bg[NORMAL]/0.92" x1="width-3" y1="3" x2="width-3" y2="4"/>
148
<line color="shade/gtk:bg[NORMAL]/1.12" x1="width-5" y1="2" x2="width-4" y2="2"/>
150
<!-- ** corner highlight for left bottom ** -->
151
<!--<line color="shade/gtk:bg[NORMAL]/1.14" x1="2" y1="height-4" x2="2" y2="height-5"/>
152
<line color="shade/gtk:bg[NORMAL]/0.9" x1="3" y1="height-3" x2="4" y2="height-3"/>-->
154
<!-- ** corner highlight for right bottom ** -->
155
<!--<line color="shade/gtk:bg[NORMAL]/0.9" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
156
<line color="shade/gtk:bg[NORMAL]/0.9" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>-->
159
<draw_ops name="corners_highlight_shaded">
160
<!-- ** corner highlight for left top ** -->
161
<line color="shade/gtk:bg[NORMAL]/1.14" x1="2" y1="3" x2="2" y2="4"/>
162
<line color="shade/gtk:bg[NORMAL]/1.14" x1="3" y1="2" x2="4" y2="2"/>
164
<!-- ** corner highlight for right top ** -->
165
<line color="shade/gtk:bg[NORMAL]/0.92" x1="width-3" y1="3" x2="width-3" y2="4"/>
166
<line color="shade/gtk:bg[NORMAL]/1.12" x1="width-5" y1="2" x2="width-4" y2="2"/>
168
<!-- ** corner highlight for left bottom ** -->
169
<line color="shade/gtk:bg[NORMAL]/1.14" x1="2" y1="height-4" x2="2" y2="height-5"/>
170
<line color="shade/gtk:bg[NORMAL]/0.92" x1="3" y1="height-3" x2="4" y2="height-3"/>
172
<!-- ** corner highlight for right bottom ** -->
173
<line color="shade/gtk:bg[NORMAL]/0.92" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
174
<line color="shade/gtk:bg[NORMAL]/0.92" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>
177
<draw_ops name="corners_highlight_shaded_unfocused">
178
<!-- ** corner highlight for left top ** -->
179
<line color="shade/gtk:bg[NORMAL]/1.14" x1="2" y1="3" x2="2" y2="4"/>
180
<line color="shade/gtk:bg[NORMAL]/1.14" x1="3" y1="2" x2="4" y2="2"/>
182
<!-- ** corner highlight for right top ** -->
183
<line color="shade/gtk:bg[NORMAL]/0.92" x1="width-3" y1="3" x2="width-3" y2="4"/>
184
<line color="shade/gtk:bg[NORMAL]/1.12" x1="width-5" y1="2" x2="width-4" y2="2"/>
186
<!-- ** corner highlight for left bottom ** -->
187
<line color="shade/gtk:bg[NORMAL]/1.12" x1="2" y1="height-4" x2="2" y2="height-5"/>
188
<line color="shade/gtk:bg[NORMAL]/0.92" x1="3" y1="height-3" x2="4" y2="height-3"/>
190
<!-- ** corner highlight for right bottom ** -->
191
<line color="shade/gtk:bg[NORMAL]/0.92" x1="width-3" y1="height-4" x2="width-3" y2="height-5"/>
192
<line color="shade/gtk:bg[NORMAL]/0.92" x1="width-4" y1="height-3" x2="width-5" y2="height-3"/>
195
<draw_ops name="window_bg">
196
<rectangle color="gtk:bg[NORMAL]" filled="true" x="0" y="0" width="width" height="height"/>
199
<!-- ::: BEVEL FOCUSED ::: -->
200
<draw_ops name="bevel">
201
<include name="window_bg"/>
202
<line color="shade/gtk:bg[NORMAL]/0.9" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/>
203
<line color="shade/gtk:bg[NORMAL]/0.9" x1="width - 2" y1="2" x2="width - 2" y2="height - 2"/>
204
<line color="shade/gtk:bg[NORMAL]/1.14" x1="1" y1="1" x2="width - 2" y2="1"/>
205
<line color="shade/gtk:bg[NORMAL]/1.12" x1="1" y1="2" x2="1" y2="height - 2"/>
207
<!-- ** fancy gradient ** -->
208
<gradient type="vertical" x="2" y="top_height/2" width="width-4" height="top_height/2-1">
209
<color value="shade/gtk:bg[NORMAL]/1.025"/>
210
<color value="shade/gtk:bg[NORMAL]/1.0"/>
212
<gradient type="vertical" x="2" y="2" width="width-4" height="top_height/2-2">
213
<color value="shade/gtk:bg[NORMAL]/1.08"/>
214
<color value="shade/gtk:bg[NORMAL]/1.03"/>
217
<!-- ** border outline ** -->
218
<rectangle color="shade/gtk:bg[NORMAL]/0.55" filled="false" x="0" y="0" width="width - 1" height="height - 1"/>
221
<draw_ops name="bevel_maximized">
222
<include name="window_bg"/>
224
<!-- ** 3d beveled frame ** -->
225
<line color="shade/gtk:bg[NORMAL]/1.14" x1="0" y1="0" x2="width" y2="0"/>
227
<!-- ** fancy gradient ** -->
228
<gradient type="vertical" x="0" y="top_height/2" width="width" height="top_height/2-1">
229
<color value="shade/gtk:bg[NORMAL]/1.025"/>
230
<color value="shade/gtk:bg[NORMAL]/1.0"/>
232
<gradient type="vertical" x="0" y="1" width="width" height="top_height/2-1">
233
<color value="shade/gtk:bg[NORMAL]/1.08"/>
234
<color value="shade/gtk:bg[NORMAL]/1.03"/>
237
<line color="gtk:bg[NORMAL]" x1="0" y1="title_height + 6" x2="width" y2="title_height + 6"/>
240
<draw_ops name="round_bevel">
241
<include name="bevel"/>
242
<include name="corners_outline_selected_top"/>
243
<!--<include name="corners_outline_bottom"/>-->
244
<include name="corners_highlight"/>
247
<draw_ops name="bevel_shaded">
248
<include name="bevel"/>
249
<line color="shade/gtk:bg[NORMAL]/0.64" x1="0" y1="height-1" x2="width" y2="height-1"/>
252
<draw_ops name="round_bevel_shaded">
253
<include name="bevel"/>
254
<include name="corners_outline_selected_top"/>
255
<include name="corners_outline_selected_bottom"/>
256
<include name="corners_highlight_shaded"/>
257
<line color="shade/gtk:bg[NORMAL]/0.64" x1="5" y1="height-1" x2="width-6" y2="height-1"/>
260
<!-- ::: BEVEL UNFOCUSED ::: -->
261
<draw_ops name="bevel_unfocused">
262
<include name="window_bg"/>
264
<line color="shade/gtk:bg[NORMAL]/0.9" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/>
265
<line color="shade/gtk:bg[NORMAL]/0.9" x1="width - 2" y1="2" x2="width - 2" y2="height - 2"/>
266
<line color="shade/gtk:bg[NORMAL]/1.14" x1="1" y1="1" x2="width - 2" y2="1"/>
267
<line color="shade/gtk:bg[NORMAL]/1.12" x1="1" y1="2" x2="1" y2="height - 2"/>
269
<!-- ** fancy gradient ** -->
270
<gradient type="vertical" x="2" y="top_height/2" width="width-4" height="top_height/2-1">
271
<color value="shade/gtk:bg[NORMAL]/1.025"/>
272
<color value="shade/gtk:bg[NORMAL]/1.0"/>
274
<gradient type="vertical" x="2" y="2" width="width-4" height="top_height/2-2">
275
<color value="shade/gtk:bg[NORMAL]/1.05"/>
276
<color value="shade/gtk:bg[NORMAL]/1.025"/>
279
<!-- ** border outline ** -->
280
<rectangle color="shade/gtk:bg[NORMAL]/0.55" filled="false" x="0" y="0" width="width - 1" height="height - 1"/>
283
<draw_ops name="bevel_maximized_unfocused">
284
<include name="window_bg"/>
286
<!-- ** 3d beveled frame ** -->
287
<line color="shade/gtk:bg[NORMAL]/1.14" x1="0" y1="0" x2="width" y2="0"/>
289
<!-- ** fancy gradient ** -->
290
<gradient type="vertical" x="0" y="top_height/2" width="width" height="top_height/2-1">
291
<color value="shade/gtk:bg[NORMAL]/1.025"/>
292
<color value="shade/gtk:bg[NORMAL]/1.0"/>
294
<gradient type="vertical" x="0" y="1" width="width" height="top_height/2-1">
295
<color value="shade/gtk:bg[NORMAL]/1.05"/>
296
<color value="shade/gtk:bg[NORMAL]/1.025"/>
300
<draw_ops name="round_bevel_unfocused">
301
<include name="bevel_unfocused"/>
302
<include name="corners_outline_top"/>
303
<!--<include name="corners_outline_bottom"/>-->
304
<include name="corners_highlight_unfocused"/>
307
<draw_ops name="round_bevel_unfocused_shaded">
308
<include name="bevel_unfocused"/>
309
<include name="corners_outline_top"/>
310
<include name="corners_outline_bottom"/>
311
<include name="corners_highlight_shaded_unfocused"/>
314
<!-- ::: BORDER ::: -->
315
<draw_ops name="border">
316
<line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="height - 2" x2="width - 2" y2="height - 2"/>
317
<line color="shade/gtk:bg[NORMAL]/0.88" x1="width - 2" y1="1" x2="width - 2" y2="height - 2"/>
318
<line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="width - 2" y2="1"/>
319
<line color="shade/gtk:bg[NORMAL]/1.2" x1="1" y1="1" x2="1" y2="height - 2"/>
321
<rectangle color="shade/gtk:bg[NORMAL]/0.55" filled="false" x="0" y="0" width="width - 1" height="height - 1"/>
324
<!-- ::: TITLES ::: -->
325
<draw_ops name="title_text">
326
<title color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.26" x="(3 `max` (width-title_width)) / 2" y="(((height - title_height) / 2) `max` 0)"/>
329
<draw_ops name="title_text_unfocused">
330
<title color="shade/gtk:bg[NORMAL]/1.11" x="5 `max` (width-title_width)/2+1" y="1 `max` ((height-title_height)/2)+1"/>
331
<title color="gtk:fg[INSENSITIVE]" x="4 `max` (width-title_width)/2" y="0 `max` ((height-title_height)/2)"/>
334
<draw_ops name="title">
335
<include name="title_text"/>
338
<draw_ops name="title_unfocused">
339
<include name="title_text_unfocused"/>
342
<!-- ::: BUTTONS ::: -->
343
<draw_ops name="button_bg">
345
<gradient type="vertical" x="0" y="3" width="width" height="height-6">
346
<color value="shade/gtk:bg[NORMAL]/0.94"/>
347
<color value="shade/gtk:bg[NORMAL]/1.08"/>
350
<line color="shade/gtk:bg[NORMAL]/0.98" x1="2" y1="0" x2="width-3" y2="0"/>
351
<line color="shade/gtk:bg[NORMAL]/0.97" x1="1" y1="1" x2="width-2" y2="1"/>
352
<line color="shade/gtk:bg[NORMAL]/0.97" x1="0" y1="2" x2="width-1" y2="2"/>
353
<line color="shade/gtk:bg[NORMAL]/0.96" x1="3" y1="0" x2="width-4" y2="0"/>
355
<line color="shade/gtk:bg[NORMAL]/0.89" x1="2" y1="1" x2="width-3" y2="1"/>
356
<line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="2" x2="width-2" y2="2"/>
358
<line color="shade/gtk:bg[NORMAL]/1.06" x1="2" y1="height-1" x2="width-3" y2="height-1"/>
359
<line color="shade/gtk:bg[NORMAL]/1.03" x1="1" y1="height-2" x2="width-2" y2="height-2"/>
360
<line color="shade/gtk:bg[NORMAL]/1.04" x1="0" y1="height-3" x2="width-1" y2="height-3"/>
361
<line color="shade/gtk:bg[NORMAL]/1.09" x1="3" y1="height-1" x2="width-4" y2="height-1"/>
363
<line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="height-2" x2="width-3" y2="height-2"/>
364
<line color="shade/gtk:bg[NORMAL]/1.06" x1="1" y1="height-3" x2="width-2" y2="height-3"/>
366
<!-- border outline -->
367
<line color="shade/gtk:bg[NORMAL]/0.60" x1="3" y1="1" x2="width-4" y2="1"/>
368
<line color="shade/gtk:bg[NORMAL]/0.60" x1="3" y1="height-2" x2="width-4" y2="height-2"/>
369
<line color="shade/gtk:bg[NORMAL]/0.60" x1="1" y1="3" x2="1" y2="height-4"/>
370
<line color="shade/gtk:bg[NORMAL]/0.60" x1="width-2" y1="3" x2="width-2" y2="height-4"/>
372
<line color="shade/gtk:bg[NORMAL]/0.60" x1="2" y1="2" x2="width-3" y2="2"/>
373
<line color="shade/gtk:bg[NORMAL]/0.60" x1="2" y1="height-3" x2="width-3" y2="height-3"/>
375
<!-- border smooth effect -->
376
<line color="shade/gtk:bg[NORMAL]/1.01" x1="3" y1="2" x2="width-4" y2="2"/>
377
<line color="shade/gtk:bg[NORMAL]/0.98" x1="2" y1="3" x2="2" y2="height-4"/>
378
<line color="shade/gtk:bg[NORMAL]/0.94" x1="width-3" y1="3" x2="width-3" y2="height-4"/>
380
<!-- inside highlight -->
381
<line color="shade/gtk:bg[NORMAL]/1.2" x1="4" y1="2" x2="width-5" y2="2"/>
382
<line color="shade/gtk:bg[NORMAL]/1.1" x1="2" y1="4" x2="2" y2="height-5"/>
383
<!-- inside shadow -->
384
<line color="shade/gtk:bg[NORMAL]/1.05" x1="width-3" y1="4" x2="width-3" y2="height-5"/>
386
<!-- fill gradient -->
387
<gradient type="vertical" x="3" y="3" width="width-6" height="(height)/2-1">
388
<color value="shade/gtk:bg[NORMAL]/1.08"/>
389
<color value="shade/gtk:bg[NORMAL]/1.02"/>
391
<gradient type="vertical" x="3" y="(height)/2" width="width-6" height="(height)/2-2">
392
<color value="shade/gtk:bg[NORMAL]/1.02"/>
393
<color value="shade/gtk:bg[NORMAL]/0.96"/>
396
<!-- bottom border smooth effect -->
397
<line color="shade/gtk:bg[NORMAL]/0.85" x1="3" y1="height-3" x2="width-4" y2="height-3"/>
398
<line color="shade/gtk:bg[NORMAL]/0.94" x1="4" y1="height-3" x2="width-5" y2="height-3"/>
401
<draw_ops name="button_bg_unfocused">
403
<gradient type="vertical" x="0" y="3" width="width" height="height-6">
404
<color value="shade/gtk:bg[NORMAL]/0.94"/>
405
<color value="shade/gtk:bg[NORMAL]/1.08"/>
408
<line color="shade/gtk:bg[NORMAL]/0.98" x1="2" y1="0" x2="width-3" y2="0"/>
409
<line color="shade/gtk:bg[NORMAL]/0.97" x1="1" y1="1" x2="width-2" y2="1"/>
410
<line color="shade/gtk:bg[NORMAL]/0.97" x1="0" y1="2" x2="width-1" y2="2"/>
411
<line color="shade/gtk:bg[NORMAL]/0.96" x1="3" y1="0" x2="width-4" y2="0"/>
413
<line color="shade/gtk:bg[NORMAL]/0.89" x1="2" y1="1" x2="width-3" y2="1"/>
414
<line color="shade/gtk:bg[NORMAL]/0.88" x1="1" y1="2" x2="width-2" y2="2"/>
416
<line color="shade/gtk:bg[NORMAL]/1.06" x1="2" y1="height-1" x2="width-3" y2="height-1"/>
417
<line color="shade/gtk:bg[NORMAL]/1.03" x1="1" y1="height-2" x2="width-2" y2="height-2"/>
418
<line color="shade/gtk:bg[NORMAL]/1.04" x1="0" y1="height-3" x2="width-1" y2="height-3"/>
419
<line color="shade/gtk:bg[NORMAL]/1.09" x1="3" y1="height-1" x2="width-4" y2="height-1"/>
421
<line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="height-2" x2="width-3" y2="height-2"/>
422
<line color="shade/gtk:bg[NORMAL]/1.06" x1="1" y1="height-3" x2="width-2" y2="height-3"/>
424
<!-- border outline -->
425
<line color="shade/gtk:bg[NORMAL]/0.60" x1="3" y1="1" x2="width-4" y2="1"/>
426
<line color="shade/gtk:bg[NORMAL]/0.60" x1="3" y1="height-2" x2="width-4" y2="height-2"/>
427
<line color="shade/gtk:bg[NORMAL]/0.60" x1="1" y1="3" x2="1" y2="height-4"/>
428
<line color="shade/gtk:bg[NORMAL]/0.60" x1="width-2" y1="3" x2="width-2" y2="height-4"/>
430
<line color="shade/gtk:bg[NORMAL]/0.60" x1="2" y1="2" x2="width-3" y2="2"/>
431
<line color="shade/gtk:bg[NORMAL]/0.60" x1="2" y1="height-3" x2="width-3" y2="height-3"/>
433
<!-- border smooth effect -->
434
<line color="shade/gtk:bg[NORMAL]/1.01" x1="3" y1="2" x2="width-4" y2="2"/>
435
<line color="shade/gtk:bg[NORMAL]/0.98" x1="2" y1="3" x2="2" y2="height-4"/>
436
<line color="shade/gtk:bg[NORMAL]/0.94" x1="width-3" y1="3" x2="width-3" y2="height-4"/>
438
<!-- inside highlight -->
439
<line color="shade/gtk:bg[NORMAL]/1.2" x1="4" y1="2" x2="width-5" y2="2"/>
440
<line color="shade/gtk:bg[NORMAL]/1.1" x1="2" y1="4" x2="2" y2="height-5"/>
441
<!-- inside shadow -->
442
<line color="shade/gtk:bg[NORMAL]/1.05" x1="width-3" y1="4" x2="width-3" y2="height-5"/>
444
<!-- fill gradient -->
445
<gradient type="vertical" x="3" y="3" width="width-6" height="(height)/2-1">
446
<color value="shade/gtk:bg[NORMAL]/1.08"/>
447
<color value="shade/gtk:bg[NORMAL]/1.02"/>
449
<gradient type="vertical" x="3" y="(height)/2" width="width-6" height="(height)/2-2">
450
<color value="shade/gtk:bg[NORMAL]/1.00"/>
451
<color value="shade/gtk:bg[NORMAL]/0.94"/>
454
<!-- bottom border smooth effect -->
455
<line color="shade/gtk:bg[NORMAL]/0.85" x1="3" y1="height-3" x2="width-4" y2="height-3"/>
456
<line color="shade/gtk:bg[NORMAL]/0.94" x1="4" y1="height-3" x2="width-5" y2="height-3"/>
459
<draw_ops name="button_bg_prelight">
460
<include name="button_bg"/>
461
<tint color="shade/gtk:bg[NORMAL]/1.5" alpha="0.3" x="3" y="3" width="width-5" height="height-5"/>
462
<line color="shade/gtk:bg[NORMAL]/0.60" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
465
<draw_ops name="button_bg_pressed">
466
<!-- outside highlight -->
467
<gradient type="vertical" x="width-2" y="2" width="1" height="height-4">
468
<color value="shade/gtk:bg[NORMAL]/1.2"/>
469
<color value="shade/gtk:bg[NORMAL]/1.0"/>
471
<gradient type="vertical" x="width-1" y="3" width="1" height="height-6">
472
<color value="shade/gtk:bg[NORMAL]/1.2"/>
473
<color value="shade/gtk:bg[NORMAL]/1.0"/>
475
<line color="shade/gtk:bg[NORMAL]/1.0" x1="2" y1="height-2" x2="width-3" y2="height-2"/>
476
<line color="shade/gtk:bg[NORMAL]/1.0" x1="3" y1="height-1" x2="width-4" y2="height-1"/>
478
<!-- border outline -->
479
<line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="width-4" y2="1"/>
480
<line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/>
481
<line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="height-4"/>
482
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/>
484
<line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="width-3" y2="2"/>
485
<line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/>
487
<!-- inside shadow -->
488
<line color="shade/gtk:bg[NORMAL]/0.9" x1="3" y1="2" x2="width-4" y2="2"/>
489
<line color="shade/gtk:bg[NORMAL]/0.85" x1="2" y1="3" x2="2" y2="height-4"/>
491
<!-- fill gradient -->
492
<gradient type="vertical" x="3" y="3" width="width-5" height="height-6">
493
<color value="shade/gtk:bg[NORMAL]/0.95"/>
494
<color value="shade/gtk:bg[NORMAL]/0.9"/>
497
<line color="shade/gtk:bg[NORMAL]/0.9" x1="3" y1="height-3" x2="width-4" y2="height-3"/>
500
<draw_ops name="button_bg_unfocused_prelight">
501
<include name="button_bg_unfocused"/>
502
<tint color="shade/gtk:bg[NORMAL]/1.5" alpha="0.3" x="3" y="3" width="width-5" height="height-5"/>
503
<line color="shade/gtk:bg[NORMAL]/0.60" x1="width-3" y1="height-3" x2="width-3" y2="height-3"/>
506
<draw_ops name="button_bg_unfocused_pressed">
507
<!-- outside highlight -->
508
<gradient type="vertical" x="width-2" y="2" width="1" height="height-4">
509
<color value="shade/gtk:bg[NORMAL]/1.25"/>
510
<color value="shade/gtk:bg[NORMAL]/1.05"/>
512
<gradient type="vertical" x="width-1" y="3" width="1" height="height-6">
513
<color value="shade/gtk:bg[NORMAL]/1.25"/>
514
<color value="shade/gtk:bg[NORMAL]/1.05"/>
516
<line color="shade/gtk:bg[NORMAL]/1.05" x1="2" y1="height-2" x2="width-3" y2="height-2"/>
517
<line color="shade/gtk:bg[NORMAL]/1.05" x1="3" y1="height-1" x2="width-4" y2="height-1"/>
519
<!-- border outline -->
520
<line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="1" x2="width-4" y2="1"/>
521
<line color="shade/gtk:bg[NORMAL]/0.55" x1="3" y1="height-2" x2="width-4" y2="height-2"/>
522
<line color="shade/gtk:bg[NORMAL]/0.55" x1="1" y1="3" x2="1" y2="height-4"/>
523
<line color="shade/gtk:bg[NORMAL]/0.55" x1="width-2" y1="3" x2="width-2" y2="height-4"/>
524
<line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="2" x2="width-3" y2="2"/>
525
<line color="shade/gtk:bg[NORMAL]/0.55" x1="2" y1="height-3" x2="width-3" y2="height-3"/>
527
<!-- inside shadow -->
528
<line color="shade/gtk:bg[NORMAL]/0.8" x1="3" y1="2" x2="width-4" y2="2"/>
529
<line color="shade/gtk:bg[NORMAL]/0.75" x1="2" y1="3" x2="2" y2="height-4"/>
531
<!-- fill gradient -->
532
<gradient type="vertical" x="3" y="3" width="width-5" height="height-6">
533
<color value="shade/gtk:bg[NORMAL]/0.9"/>
534
<color value="shade/gtk:bg[NORMAL]/0.85"/>
537
<line color="shade/gtk:bg[NORMAL]/0.85" x1="3" y1="height-3" x2="width-4" y2="height-3"/>
540
<!-- ::: ICONS ::: -->
542
using a minimum icon size until there is a proper way to specify relative sizes
543
unfortunately it's logically impossible to always center the icons on non-square
544
buttons (utility windows) without distortion.
546
icon_size = (Bmin`max`height-Bpad*2)
547
hpadding = (width - icon_size) / 2 = ((width-(Bmin`max`height-Bpad*2))/2)
548
vpadding = (height - icon_size) / 2 = ((height-(Bmin`max`height-Bpad*2))/2)
552
<draw_ops name="menu_button_icon">
553
<!--<icon x="0" y="0" width="width" height="height"/>-->
554
<icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/>
557
<draw_ops name="menu_button_icon_unfocused">
558
<!--<icon x="0" y="0" width="width" height="height" alpha="0.5"/>-->
559
<icon x="(width-mini_icon_width)/2" y="(height-mini_icon_height)/2" width="mini_icon_width" height="mini_icon_height"/>
562
<draw_ops name="menu_button_normal">
563
<include name="menu_button_icon"/>
565
<draw_ops name="menu_button_pressed">
566
<include name="menu_button_icon"/>
568
<draw_ops name="menu_button_unfocused">
569
<include name="menu_button_icon_unfocused"/>
573
<draw_ops name="close_button_icon">
574
<!-- outside border -->
577
<line color="shade/gtk:bg[NORMAL]/0.580" width="4"
578
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)"
579
x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/>
580
<line color="shade/gtk:bg[NORMAL]/0.580" width="4"
581
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"
582
x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/>
584
<tint color="shade/gtk:bg[NORMAL]/0.580" alpha="1.0"
585
x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)-1"
586
width="2" height="1"/>
587
<tint color="shade/gtk:bg[NORMAL]/0.580" alpha="1.0"
588
x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)/1"
589
width="1" height="2"/>
591
<tint color="shade/gtk:bg[NORMAL]/0.580" alpha="1.0"
592
x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="((height-(Bmin`max`height-Bpad*2))/2)-1"
593
width="2" height="1"/>
594
<tint color="shade/gtk:bg[NORMAL]/0.580" alpha="1.0"
595
x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)"
596
width="1" height="2"/>
598
<tint color="shade/gtk:bg[NORMAL]/0.580" alpha="1.0"
599
x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)"
600
width="2" height="1"/>
601
<tint color="shade/gtk:bg[NORMAL]/0.580" alpha="1.0"
602
x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2"
603
width="1" height="2"/>
604
<!-- bottom-right -->
605
<tint color="shade/gtk:bg[NORMAL]/0.580" alpha="1.0"
606
x="width - ((width-(Bmin`max`height-Bpad*2))/2) -2" y="height - ((height-(Bmin`max`height-Bpad*2))/2)"
607
width="2" height="1"/>
608
<tint color="shade/gtk:bg[NORMAL]/0.580" alpha="1.0"
609
x="width - ((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2)-2"
610
width="1" height="2"/>
613
<line color="#FFFFFF" width="2"
614
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)"
615
x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"/>
616
<line color="#FFFFFF" width="1"
617
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)"
618
x2="width- ((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/>
619
<line color="#FFFFFF" width="2"
620
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"
621
x2="width - ((width-(Bmin`max`height-Bpad*2))/2) - 1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/>
622
<line color="#FFFFFF" width="1"
623
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2) - 1"
624
x2="width - ((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/>
627
<draw_ops name="close_button_icon_unfocused">
628
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" width="2"
629
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)"
630
x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)-1"/>
631
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" width="1"
632
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="((height-(Bmin`max`height-Bpad*2))/2)"
633
x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="height - ((height-(Bmin`max`height-Bpad*2))/2)"/>
634
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" width="2"
635
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1"
636
x2="width-((width-(Bmin`max`height-Bpad*2))/2)-1" y2="((height-(Bmin`max`height-Bpad*2))/2)"/>
637
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" width="1"
638
x1="((width-(Bmin`max`height-Bpad*2))/2)" y1="height - ((height-(Bmin`max`height-Bpad*2))/2)-1"
639
x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) - 1"/>
642
<draw_ops name="close_button_normal">
643
<include name="button_bg"/>
644
<include name="close_button_icon"/>
646
<draw_ops name="close_button_prelight">
647
<include name="button_bg_prelight"/>
648
<include name="close_button_icon"/>
650
<draw_ops name="close_button_pressed">
651
<include name="button_bg_pressed"/>
652
<include name="close_button_icon"/>
654
<draw_ops name="close_button_unfocused">
655
<include name="button_bg_unfocused"/>
656
<!-- <include name="close_button_icon_unfocused"/>-->
658
<draw_ops name="close_button_unfocused_prelight">
659
<include name="button_bg_unfocused_prelight"/>
660
<include name="close_button_icon_unfocused"/>
662
<draw_ops name="close_button_unfocused_pressed">
663
<include name="button_bg_unfocused_pressed"/>
664
<include name="close_button_icon_unfocused"/>
667
<!-- maximize icon -->
668
<draw_ops name="maximize_button_icon">
669
<!-- outside border -->
670
<rectangle color="shade/gtk:bg[NORMAL]/0.580" filled="false"
671
x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="((height-(Bmin`max`height-Bpad*2))/2)-1"
672
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2+1"/>
673
<rectangle color="shade/gtk:bg[NORMAL]/0.580" filled="false"
674
x="((width-(Bmin`max`height-Bpad*2))/2)+1" y="((height-(Bmin`max`height-Bpad*2))/2)+2"
675
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-4"/>
678
<rectangle color="#FFFFFF" filled="false"
679
x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)"
680
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/>
681
<line color="#FFFFFF" width="1"
682
x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1"
683
x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/>
686
<draw_ops name="maximize_button_icon_unfocused">
687
<rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" filled="false"
688
x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)"
689
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/>
690
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" width="1"
691
x1="((width-(Bmin`max`height-Bpad*2))/2) + 1" y1="((height-(Bmin`max`height-Bpad*2))/2) + 1"
692
x2="width-((width-(Bmin`max`height-Bpad*2))/2)" y2="((height-(Bmin`max`height-Bpad*2))/2) + 1"/>
695
<draw_ops name="maximize_button_normal">
696
<include name="button_bg"/>
697
<include name="maximize_button_icon"/>
699
<draw_ops name="maximize_button_prelight">
700
<include name="button_bg_prelight"/>
701
<include name="maximize_button_icon"/>
703
<draw_ops name="maximize_button_pressed">
704
<include name="button_bg_pressed"/>
705
<include name="maximize_button_icon"/>
707
<draw_ops name="maximize_button_unfocused">
708
<include name="button_bg_unfocused"/>
709
<!-- <include name="maximize_button_icon_unfocused"/>-->
711
<draw_ops name="maximize_button_unfocused_prelight">
712
<include name="button_bg_unfocused_prelight"/>
713
<include name="maximize_button_icon_unfocused"/>
715
<draw_ops name="maximize_button_unfocused_pressed">
716
<include name="button_bg_unfocused_pressed"/>
717
<include name="maximize_button_icon_unfocused"/>
720
<!-- restore icon -->
721
<draw_ops name="restore_button_icon">
722
<!-- outside border -->
723
<rectangle color="shade/gtk:bg[NORMAL]/0.580" filled="false"
724
x="((width-(Bmin`max`height-Bpad*2))/2)" y="((height-(Bmin`max`height-Bpad*2))/2)"
725
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-1" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-1"/>
726
<rectangle color="shade/gtk:bg[NORMAL]/0.580" filled="false"
727
x="((width-(Bmin`max`height-Bpad*2))/2)+2" y="((height-(Bmin`max`height-Bpad*2))/2)+3"
728
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-5" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-6"/>
731
<rectangle color="#FFFFFF" filled="false"
732
x="((width-(Bmin`max`height-Bpad*2))/2) + 1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1"
733
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/>
734
<line color="#FFFFFF" width="1"
735
x1="((width-(Bmin`max`height-Bpad*2))/2) + 2" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2"
736
x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2"/>
739
<draw_ops name="restore_button_icon_unfocused">
740
<rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" filled="false"
741
x="((width-(Bmin`max`height-Bpad*2))/2) + 1" y="((height-(Bmin`max`height-Bpad*2))/2) + 1"
742
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2-3" height="height-((height-(Bmin`max`height-Bpad*2))/2)*2-3"/>
743
<line color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" width="1"
744
x1="((width-(Bmin`max`height-Bpad*2))/2) + 2" y1="((height-(Bmin`max`height-Bpad*2))/2) + 2"
745
x2="width-((width-(Bmin`max`height-Bpad*2))/2) - 2" y2="((height-(Bmin`max`height-Bpad*2))/2) + 2"/>
748
<draw_ops name="restore_button_normal">
749
<include name="button_bg"/>
750
<include name="restore_button_icon"/>
752
<draw_ops name="restore_button_prelight">
753
<include name="button_bg_prelight"/>
754
<include name="restore_button_icon"/>
756
<draw_ops name="restore_button_pressed">
757
<include name="button_bg_pressed"/>
758
<include name="restore_button_icon"/>
760
<draw_ops name="restore_button_unfocused">
761
<include name="button_bg_unfocused"/>
762
<!-- <include name="restore_button_icon_unfocused"/>-->
764
<draw_ops name="restore_button_unfocused_prelight">
765
<include name="button_bg_unfocused_prelight"/>
766
<include name="restore_button_icon_unfocused"/>
768
<draw_ops name="restore_button_unfocused_pressed">
769
<include name="button_bg_unfocused_pressed"/>
770
<include name="restore_button_icon_unfocused"/>
773
<!-- minimize icon -->
774
<draw_ops name="minimize_button_icon">
775
<!-- outside border -->
776
<rectangle color="shade/gtk:bg[NORMAL]/0.580" filled="false"
777
x="((width-(Bmin`max`height-Bpad*2))/2)-1" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 3"
778
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2+1" height="3"/>
780
<rectangle color="#FFFFFF" filled="true"
781
x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2"
782
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/>
785
<draw_ops name="minimize_button_icon_unfocused">
786
<rectangle color="blend/gtk:fg[NORMAL]/gtk:bg[NORMAL]/0.5" filled="true"
787
x="((width-(Bmin`max`height-Bpad*2))/2)" y="height - ((height-(Bmin`max`height-Bpad*2))/2) - 2"
788
width="width-((width-(Bmin`max`height-Bpad*2))/2)*2" height="2"/>
791
<draw_ops name="minimize_button_normal">
792
<include name="button_bg"/>
793
<include name="minimize_button_icon"/>
795
<draw_ops name="minimize_button_prelight">
796
<include name="button_bg_prelight"/>
797
<include name="minimize_button_icon"/>
799
<draw_ops name="minimize_button_pressed">
800
<include name="button_bg_pressed"/>
801
<include name="minimize_button_icon"/>
803
<draw_ops name="minimize_button_unfocused">
804
<include name="button_bg_unfocused"/>
805
<!-- <include name="minimize_button_icon_unfocused"/>-->
807
<draw_ops name="minimize_button_unfocused_prelight">
808
<include name="button_bg_unfocused_prelight"/>
809
<include name="minimize_button_icon_unfocused"/>
811
<draw_ops name="minimize_button_unfocused_pressed">
812
<include name="button_bg_unfocused_pressed"/>
813
<include name="minimize_button_icon_unfocused"/>
816
<draw_ops name="blank">
820
<!-- ::: FRAME STYLES ::: -->
821
<frame_style name="normal" geometry="normal">
822
<piece position="entire_background" draw_ops="round_bevel_unfocused"/>
823
<piece position="title" draw_ops="title_unfocused"/>
824
<button function="close" state="normal" draw_ops="close_button_unfocused"/>
825
<button function="close" state="pressed" draw_ops="close_button_unfocused_pressed"/>
826
<button function="close" state="prelight" draw_ops="close_button_unfocused_prelight"/>
827
<button function="maximize" state="normal" draw_ops="maximize_button_unfocused"/>
828
<button function="maximize" state="pressed" draw_ops="maximize_button_unfocused_pressed"/>
829
<button function="maximize" state="prelight" draw_ops="maximize_button_unfocused_prelight"/>
830
<button function="minimize" state="normal" draw_ops="minimize_button_unfocused"/>
831
<button function="minimize" state="pressed" draw_ops="minimize_button_unfocused_pressed"/>
832
<button function="minimize" state="prelight" draw_ops="minimize_button_unfocused_prelight"/>
833
<button function="menu" state="normal" draw_ops="menu_button_normal"/>
834
<button function="menu" state="pressed" draw_ops="menu_button_pressed"/>
837
<frame_style name="normal_shaded" geometry="shaded" parent="normal">
838
<piece position="entire_background" draw_ops="round_bevel_unfocused_shaded"/>
841
<frame_style name="focused" geometry="normal" parent="normal">
842
<piece position="entire_background" draw_ops="round_bevel"/>
843
<piece position="title" draw_ops="title"/>
844
<button function="close" state="normal" draw_ops="close_button_normal"/>
845
<button function="close" state="pressed" draw_ops="close_button_pressed"/>
846
<button function="close" state="prelight" draw_ops="close_button_prelight"/>
847
<button function="maximize" state="normal" draw_ops="maximize_button_normal"/>
848
<button function="maximize" state="pressed" draw_ops="maximize_button_pressed"/>
849
<button function="maximize" state="prelight" draw_ops="maximize_button_prelight"/>
850
<button function="minimize" state="normal" draw_ops="minimize_button_normal"/>
851
<button function="minimize" state="pressed" draw_ops="minimize_button_pressed"/>
852
<button function="minimize" state="prelight" draw_ops="minimize_button_prelight"/>
855
<frame_style name="focused_shaded" geometry="shaded" parent="focused">
856
<piece position="entire_background" draw_ops="round_bevel_shaded"/>
859
<frame_style name="normal_maximized" geometry="normal_maximized" parent="normal">
860
<piece position="entire_background" draw_ops="bevel_maximized_unfocused"/>
861
<button function="maximize" state="normal" draw_ops="restore_button_unfocused"/>
862
<button function="maximize" state="pressed" draw_ops="restore_button_unfocused_pressed"/>
863
<button function="maximize" state="prelight" draw_ops="restore_button_unfocused_prelight"/>
866
<frame_style name="focused_maximized" geometry="normal_maximized" parent="focused">
867
<piece position="entire_background" draw_ops="bevel_maximized"/>
868
<button function="maximize" state="normal" draw_ops="restore_button_normal"/>
869
<button function="maximize" state="pressed" draw_ops="restore_button_pressed"/>
870
<button function="maximize" state="prelight" draw_ops="restore_button_prelight"/>
873
<frame_style name="border" geometry="border" parent="normal">
874
<piece position="entire_background" draw_ops="border"/>
875
<piece position="title" draw_ops="blank"/>
878
<frame_style name="utility_normal" geometry="utility" parent="normal">
879
<piece position="entire_background" draw_ops="bevel_unfocused"/>
881
<frame_style name="utility_focused" geometry="utility" parent="focused">
882
<piece position="entire_background" draw_ops="bevel"/>
884
<frame_style name="utility_focused_shaded" geometry="utility" parent="focused_shaded">
885
<piece position="entire_background" draw_ops="bevel_shaded"/>
888
<frame_style_set name="normal">
889
<frame focus="yes" state="normal" resize="both" style="focused"/>
890
<frame focus="no" state="normal" resize="both" style="normal"/>
891
<frame focus="yes" state="maximized" style="focused_maximized"/>
892
<frame focus="no" state="maximized" style="normal_maximized"/>
893
<frame focus="yes" state="shaded" style="focused_shaded"/>
894
<frame focus="no" state="shaded" style="normal_shaded"/>
895
<frame focus="yes" state="maximized_and_shaded" style="focused_maximized"/>
896
<frame focus="no" state="maximized_and_shaded" style="normal_maximized"/>
899
<frame_style_set name="utility" parent="normal">
900
<frame focus="yes" state="normal" resize="both" style="utility_focused"/>
901
<frame focus="no" state="normal" resize="both" style="utility_normal"/>
902
<!-- this is a bunch of crack since utility windows shouldn't be maximized -->
903
<frame focus="yes" state="maximized" style="focused"/>
904
<frame focus="no" state="maximized" style="normal"/>
905
<frame focus="yes" state="shaded" style="utility_focused_shaded"/>
906
<frame focus="no" state="shaded" style="utility_normal"/>
907
<frame focus="yes" state="maximized_and_shaded" style="focused_shaded"/>
908
<frame focus="no" state="maximized_and_shaded" style="normal"/>
911
<frame_style_set name="border">
912
<frame focus="yes" state="normal" resize="both" style="border"/>
913
<frame focus="no" state="normal" resize="both" style="border"/>
914
<frame focus="yes" state="maximized" style="border"/>
915
<frame focus="no" state="maximized" style="border"/>
916
<frame focus="yes" state="shaded" style="border"/>
917
<frame focus="no" state="shaded" style="border"/>
918
<frame focus="yes" state="maximized_and_shaded" style="border"/>
919
<frame focus="no" state="maximized_and_shaded" style="border"/>
922
<window type="normal" style_set="normal"/>
923
<window type="dialog" style_set="normal"/>
924
<window type="modal_dialog" style_set="normal"/>
925
<window type="menu" style_set="normal"/>
926
<window type="utility" style_set="utility"/>
927
<window type="border" style_set="border"/>
929
<menu_icon function="close" state="normal" draw_ops="close_button_icon_unfocused"/>
930
<menu_icon function="maximize" state="normal" draw_ops="maximize_button_icon_unfocused"/>
931
<menu_icon function="unmaximize" state="normal" draw_ops="restore_button_icon_unfocused"/>
932
<menu_icon function="minimize" state="normal" draw_ops="minimize_button_icon_unfocused"/>