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