1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
|
#
# GTK theme to be used on Mac OS X, to mimic the appearance of Tiger
#
# $Id$
#
# Heavily based on Clearlooks-Quicksilver
# Scrollbars from OSX-theme by Lauri Taimila (lauri@taimila.com)
#
# (c) 2007 JiHO <jo.irisson@gmail.com>.
# GNU General Public License http://www.gnu.org/copyleft/gpl.html
#
style "clearlooks-default"
{
GtkButton ::default_border = { 0, 0, 0, 0 }
GtkRange ::trough_border = 0
GtkPaned ::handle_size = 6
GtkRange ::slider_width = 15
GtkRange ::stepper_size = 15
GtkScrollbar ::min_slider_length = 30
GtkCheckButton ::indicator_size = 12
GtkMenuBar ::internal-padding = 0
GtkTreeView ::expander_size = 14
GtkExpander ::expander_size = 16
xthickness = 1
ythickness = 1
fg[NORMAL] = "#000000" # black
fg[PRELIGHT] = "#000000" # black
fg[SELECTED] = "#ffffff" # white
fg[ACTIVE] = "#000000" # black
fg[INSENSITIVE] = {0.6, 0.6, 0.6} # dark gray
bg[NORMAL] = {0.95, 0.95, 0.95} # very light gray
bg[PRELIGHT] = "#ffffff" # white
bg[SELECTED] = "#4a76cd" # menu color
bg[INSENSITIVE] = {0.9, 0.9, 0.9} # light gray
bg[ACTIVE] = {0.85, 0.85, 0.85} # gray
base[NORMAL] = "#ffffff" # white
base[PRELIGHT] = "#4a76cd" # menu color
base[ACTIVE] = {0.6, 0.6, 0.6} # dark gray
base[SELECTED] = {0.709800,0.835300,1.000000} # highlight color
base[INSENSITIVE] = {0.9, 0.9, 0.9} # light gray
text[NORMAL] = "#000000" # black
text[PRELIGHT] = "#000000" # black
text[ACTIVE] = "#ffffff" # white
text[SELECTED] = "#ffffff" # white
text[INSENSITIVE] = {0.6, 0.6, 0.6} # dark gray
engine "clearlooks"
{
menubarstyle = 1 # 0 = flat, 1 = sunken, 2 = flat gradient
menuitemstyle = 0 # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button)
listviewitemstyle = 0 # 0 = flat, 1 = 3d-ish (gradient)
progressbarstyle = 0 # 0 = candy bar, 1 = flat
}
}
style "clearlooks-wide" = "clearlooks-default"
{
xthickness = 2
ythickness = 2
}
style "clearlooks-button" = "clearlooks-default"
{
xthickness = 3
ythickness = 3
bg[NORMAL] = "#f0f1f2" # a hint of blue...
}
style "clearlooks-notebook" = "clearlooks-wide"
{
bg[NORMAL] = {0.93, 0.93, 0.93}
bg[INSENSITIVE] = {0.93, 0.93, 0.93}
}
style "clearlooks-tasklist" = "clearlooks-default"
{
xthickness = 5
ythickness = 3
}
style "clearlooks-menu" = "clearlooks-default"
{
xthickness = 2
ythickness = 1
bg[NORMAL] = "#ffffff"
}
style "clearlooks-menu-item" = "clearlooks-default"
{
xthickness = 2
ythickness = 3
fg[PRELIGHT] = "#ffffff"
text[PRELIGHT] = "#ffffff"
}
style "clearlooks-menu-itembar" = "clearlooks-default"
{
xthickness = 3
ythickness = 3
}
style "clearlooks-tree" = "clearlooks-default"
{
xthickness = 2
ythickness = 2
}
style "clearlooks-frame-title" = "clearlooks-default"
{
fg[NORMAL] = "#404040"
}
style "clearlooks-tooltips" = "clearlooks-default"
{
xthickness = 4
ythickness = 4
bg[NORMAL] = { 1.0,1.0,0.75 }
}
style "clearlooks-progressbar" = "clearlooks-default"
{
xthickness = 1
ythickness = 1
fg[PRELIGHT] = "#ffffff"
}
style "clearlooks-combo" = "clearlooks-default"
{
xthickness = 2
ythickness = 3
}
# Added pixmaps for scollbars
style "scrollbar" = "default"
{
# The values I set here have to do with the relative size of three graphic elements
# I have used: the slider, the arrow box, and the trough. They all have the same width
# of 15 pixels, but gtk wants to put in some spacing between them. It seems like it
# places the sliders inside the trough with a default 1 pixel border on either side of the slider,
# so that the trough has its width stretched by an additional two pixels(?). Setting the
# trough border makes the arrow box sit on top of the trough squarely, by making sure that
# the trough stays the same width as the arrowbox(?). I could be totally wrong here.
GtkRange::trough_border = 0
GtkRange::slider_width = 15
# This sets the size of the steppers (arrow buttons on the end of the scrollbar).
# The image I am using is 15x15 pixels, and if I dont set this a one pixel line
# gets cut off of the top of the "up" stepper.
GtkRange::stepper_size = 15
# Set a minimum length for the slider. Since I set the border on the slider
# image to 15 pixels on either end of the slider I want the min length to be
# at least 30 pixels to avoid an ugly slider when gtk wants to make it smaller
# than 30 pixels.
GtkScrollbar::min_slider_length = 30
engine "pixmap"
{
# Horizontal slider background
image
{
function = BOX
recolorable = TRUE
detail = "trough"
file = "Scrollbars/trough-scrollbar-horiz.png"
border = { 30, 30, 0, 0 }
stretch = TRUE
orientation = HORIZONTAL
}
# Vertical slider background
image
{
function = BOX
recolorable = TRUE
detail = "trough"
file = "Scrollbars/trough-scrollbar-vert.png"
border = { 0, 0, 30, 30 }
stretch = TRUE
orientation = VERTICAL
}
# Normal horizontal slider
image
{
function = SLIDER
recolorable = TRUE
state = NORMAL
file = "Scrollbars_1/slider-horiz.png"
border = { 15, 15, 6, 6 }
stretch = TRUE
orientation = HORIZONTAL
}
# Horizontal slider (active)
image
{
function = SLIDER
recolorable = TRUE
state = ACTIVE
file = "Scrollbars_1/slider-horiz-prelight.png"
border = { 15, 15, 6, 6 }
stretch = TRUE
orientation = HORIZONTAL
}
# Horizontal slider (mouse over)
image
{
function = SLIDER
recolorable = TRUE
state = PRELIGHT
file = "Scrollbars_1/slider-horiz-prelight.png"
border = { 15, 15, 6, 6 }
stretch = TRUE
orientation = HORIZONTAL
}
# Horizontal slider (Insesitive)
image
{
function = SLIDER
recolorable = TRUE
state = INSENSITIVE
file = "Scrollbars_1/slider-horiz.png"
border = { 15, 15, 6, 6 }
stretch = TRUE
orientation = HORIZONTAL
}
# Normal vertical slider
image
{
function = SLIDER
recolorable = TRUE
state = NORMAL
file = "Scrollbars_1/slider-vert.png"
border = { 6, 6, 15, 15 }
stretch = TRUE
orientation = VERTICAL
}
# Vertical slider (Active)
image
{
function = SLIDER
recolorable = TRUE
state = ACTIVE
file = "Scrollbars_1/slider-vert.png"
border = { 6, 6, 15, 15 }
stretch = TRUE
orientation = VERTICAL
}
# Vertical slider (mouse over)
image
{
function = SLIDER
recolorable = TRUE
state = PRELIGHT
file = "Scrollbars_1/slider-vert-prelight.png"
border = { 6, 6, 15, 15 }
stretch = TRUE
orientation = VERTICAL
}
# Vertical slider (Insesitive)
image
{
function = SLIDER
recolorable = TRUE
state = INSENSITIVE
file = "Scrollbars_1/slider-vert-prelight.png"
border = { 6, 6, 15, 15 }
stretch = TRUE
orientation = VERTICAL
}
################################################################################
# SCROLLBAR STEPPERS
################################################################################
# Up
image
{
function = STEPPER
recolorable = TRUE
state = NORMAL
file = "Scrollbars/stepper-up.png"
#border = { 12, 2, 2, 9 }
stretch = TRUE
arrow_direction = UP
}
image
{
function = STEPPER
recolorable = TRUE
state = PRELIGHT
file = "Scrollbars/stepper-up.png"
#border = { 12, 2, 2, 9 }
stretch = TRUE
arrow_direction = UP
}
image
{
function = STEPPER
recolorable = TRUE
state = ACTIVE
file = "Scrollbars/stepper-up.png"
#border = { 12, 2, 2, 9 }
stretch = TRUE
arrow_direction = UP
}
image
{
function = STEPPER
recolorable = TRUE
state = INSENSITIVE
file = "Scrollbars/stepper-up.png"
#border = { 12, 2, 2, 9 }
stretch = TRUE
arrow_direction = UP
}
######### DOWN ############
image
{
function = STEPPER
recolorable = TRUE
state = NORMAL
file = "Scrollbars/stepper-down.png"
#border = { 12, 2, 10, 2 }
stretch = TRUE
arrow_direction = DOWN
}
image
{
function = STEPPER
recolorable = TRUE
state = PRELIGHT
file = "Scrollbars/stepper-down.png"
#border = { 12, 2, 10, 2 }
stretch = TRUE
arrow_direction = DOWN
}
image
{
function = STEPPER
recolorable = TRUE
state = ACTIVE
file = "Scrollbars/stepper-down.png"
#border = { 12, 2, 10, 2 }
stretch = TRUE
arrow_direction = DOWN
}
image
{
function = STEPPER
recolorable = TRUE
state = INSENSITIVE
file = "Scrollbars/stepper-down.png"
#border = { 12, 2, 10, 2 }
stretch = TRUE
arrow_direction = DOWN
}
############ RIGHT ################
image
{
function = STEPPER
recolorable = TRUE
state = NORMAL
file = "Scrollbars/stepper-right.png"
#border = { 2, 9, 2, 13 }
stretch = TRUE
arrow_direction = RIGHT
}
image
{
function = STEPPER
recolorable = TRUE
state = PRELIGHT
file = "Scrollbars/stepper-right.png"
#border = { 2, 9, 2, 13 }
stretch = TRUE
arrow_direction = RIGHT
}
image
{
function = STEPPER
recolorable = TRUE
state = ACTIVE
file = "Scrollbars/stepper-right.png"
#border = { 2, 9, 2, 13 }
stretch = TRUE
arrow_direction = RIGHT
}
image
{
function = STEPPER
recolorable = TRUE
state = INSENSITIVE
file = "Scrollbars/stepper-right.png"
#border = { 2, 9, 2, 13 }
stretch = TRUE
arrow_direction = RIGHT
}
############### LEFT ###################
image
{
function = STEPPER
recolorable = TRUE
state = NORMAL
file = "Scrollbars/stepper-left.png"
#border = { 2, 9, 2, 13 }
stretch = TRUE
arrow_direction = LEFT
}
image
{
function = STEPPER
recolorable = TRUE
state = PRELIGHT
file = "Scrollbars/stepper-left.png"
#border = { 2, 9, 2, 13 }
stretch = TRUE
arrow_direction = LEFT
}
image
{
function = STEPPER
recolorable = TRUE
state = ACTIVE
file = "Scrollbars/stepper-left.png"
#border = { 2, 9, 2, 13 }
stretch = TRUE
arrow_direction = LEFT
}
image
{
function = STEPPER
recolorable = TRUE
state = INSENSITIVE
file = "Scrollbars/stepper-left.png"
#border = { 2, 9, 2, 13 }
stretch = TRUE
arrow_direction = LEFT
}
}
}
# widget styles
class "GtkWidget" style "clearlooks-default"
class "GtkButton" style "clearlooks-button"
class "GtkCombo" style "clearlooks-button"
class "GtkRange" style "clearlooks-wide"
class "GtkFrame" style "clearlooks-wide"
class "GtkMenu" style "clearlooks-menu"
class "GtkEntry" style "clearlooks-button"
class "GtkMenuItem" style "clearlooks-menu-item"
class "GtkStatusbar" style "clearlooks-wide"
class "GtkNotebook" style "clearlooks-notebook"
class "GtkProgressBar" style "clearlooks-progressbar"
class "GtkScrollbar" style "scrollbar"
widget_class "*MenuItem.*" style "clearlooks-menu-item"
# combobox stuff
widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo"
widget_class "*.GtkCombo.GtkButton" style "clearlooks-combo"
# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist"
widget "gtk-tooltips" style "clearlooks-tooltips"
# treeview stuff
widget_class "*.GtkTreeView.GtkButton" style "clearlooks-tree"
widget_class "*.GtkCTree.GtkButton" style "clearlooks-tree"
widget_class "*.GtkList.GtkButton" style "clearlooks-tree"
widget_class "*.GtkCList.GtkButton" style "clearlooks-tree"
widget_class "*.GtkFrame.GtkLabel" style "clearlooks-frame-title"
# notebook stuff
widget_class "*.GtkNotebook.*.GtkEventBox" style "clearlooks-notebook"
widget_class "*.GtkNotebook.*.GtkViewport" style "clearlooks-notebook"
gtk-font-name="Lucida Grande 12"
gtk-icon-theme-name = "gnome"
gtk-icon-sizes = "gtk-menu=16,16:gtk-dialog=48,48:gtk-dnd=32,32:gtk-button=20,20:gtk-large-toolbar=24,24:gtk-small-toolbar=16,16:wireshark-decoration=12,12"
|