use keysyms instead of magic numbers
[openerp-client.git] / bin / themes / YattaBlues / gtkrc
blob5bdcc177be55cfce1442e66a9fa71b448b7785f6
1 # Theme Name  : YattaBlues
2 # Author(s)   : Massimiliano (Yatta) Dal Cero < yattamax<at>gmail.com >
4 # Description :
5 # UserLinux GTK2 theme using the Smooth engine.
7 include "iconrc"
8 gtk-icon-sizes = "panel-menu=24,24:gtk-menu=16,16"
10 style "default" {
11         GtkWidget::interior_focus = 5
12         GtkButton::default_border = {0, 0, 0, 0}
13         GtkButton::default_outside_border = {0, 0, 0, 0}
15         GtkRange::trough_border = 0
16         GtkWidget::focus_padding = 0
18         GtkPaned::handle_size = 7
19   
20         GtkRange::slider_width = 15
21         GtkRange::stepper_size = 15
22         GtkScrollbar::min_slider_length = 30
23         GtkCheckButton::indicator_size = 16
24         GtkRadioButton::indicator_size = 12
25         GtkMenuBar::internal-padding = 0
27         GtkButton::child_displacement_x = 0
28         GtkButton::child_displacement_y = 1
30    GtkScrollbar::has_backward_stepper = 1
31    GtkScrollbar::has_secondary_forward_stepper = 0
33    GtkScrollbar::has_forward_stepper = 1
34    GtkScrollbar::has_secondary_backward_stepper = 1
35                                                  
37         GtkMenuItem::selected_shadow_type = GTK_SHADOW_OUT
39         bg[NORMAL] = "#f7f7f7"
40         bg[PRELIGHT] = "#f7f7f7"
41         bg[SELECTED] = "#a0b1d7"
42         bg[ACTIVE] = "#e7e7e7"
43         bg[INSENSITIVE] = "#e7e7e7"
45         fg[NORMAL] = "#000000"
46         fg[PRELIGHT] = "#000000"
47         fg[SELECTED] = "#ffffff"
48         fg[ACTIVE] = "#000000"
50         engine "smooth" {
51                 tab_style = round
53                 line {
54                         style = smooth
55                         thickness = 0
56                 }
58                 grip {
59                         #style = mac_buds_in
60                         style = none
61                         fill {
62                                 style = shaded
63                                 hdirection = vertical
64                                 vdirection = horizontal
65                                 shade1 = 1.3
66                                 shade2 = 0.9
67                         }
68                 }
70                 trough {
71                         fill {
72                                 style = smooth
73                         }
74                 }
76                 arrow {
77                         style = cleanice
78                         solid = TRUE
79                         etched = FALSE
80                 }
82                 check {
83                         style = clean
84                         motif = FALSE
86                         fill {
87                                 style = shaded
88                                 hdirection = fdiagonal
89                                 vdirection = fdiagonal
90                                 shade1 = 1.3
91                                 shade2 = 0.9
92                         }
93                 }
94         }
96 } widget_class "*" style "default"
98 style "tooltips" {
99         bg[NORMAL] = "#ffff96"
100         bg[PRELIGHT] = "#ffff96"
101         bg[SELECTED] = "#ffff96"
102         bg[ACTIVE] = "#ffff96"
103         bg[INSENSITIVE] = "#ffff96"
106 style "paned" {
107         bg[PRELIGHT] = "#a0b1d7"
108         
109         engine "smooth" {
110                 fill {
111                         style = shaeded
112                 }
113                 grip {
114                         style = mac_buds_in
115                 }
116         }
119 style "progres" {
120         bg[PRELIGHT] = "#5279d0"
121         
123         engine "smooth" {
124                 line {
125                         style=smooth
126                 }
128                 fill {
129                         style=shaded
130                         hdirection=vertical
131                         vdirection=horizontal
132                         shade1=1.195
133                         shade2=0.73
134                 }
136         }
139 class "*Paned" style "paned"
141 style "handle" {
142         #bg[NORMAL] = "#f7f7f7"
144         engine "smooth" {
145                 line {
146                         style = smooth
147                         thickness = 0
148                 }
150                 grip {
151                         style = none
152                         fill {
153                                 style = shaded
154                                 hdirection = vertical
155                                 vdirection = horizontal
156                                 shade1 = 1.0
157                                 shade2 = 0.95
158                         }
159                 }
160         }
163 style "menubar" {
164         engine "smooth" {
165                 line {
166                         style = bevel
167                         thickness = 0
168                 }
169         }
172 style "menu" {
173         engine "smooth" {
174                 line {
175                         style = smooth
176                         thickness = 1
177                 }
179                 arrow {
180                         style = cleanice
181                         solid = TRUE
182                 }
183         }
186 style "toolbar" {
187         engine "smooth" {
188                 line {
189                         style = bevel
190                         thickness = 0
191                 }
193                 grip {
194                         #style = mac_buds_in
195                         style = none
196                         toolbar_overlap = TRUE
197                 }
198         }
201 style "button" {
202         fg[PRELIGHT] = "#ffffff"
203         bg[PRELIGHT] = "#a0b1d7"
205         engine "smooth" {
206                 fill {
207                         style = shaded
208                         hdirection = vertical
209                         vdirection = horizontal
210                         shade1 = 1.3
211                         shade2 = 0.9
212                 }
214                 line {
215                         style = smooth
216                         thickness = 1
217                 }
219                 check {
220                         style = clean
221                         motif = FALSE
223                         fill {
224                                 style = shaded
225                                 hdirection = fdiagonal
226                                 vdirection = fdiagonal
227                                 shade1 = 1.3
228                                 shade2 = 0.9
229                         }
230                 }
232                 option {
233                         style = round
234                         motif = FALSE
235                         fill {
236                                 style = shaded
237                                 hdirection = fdiagonal
238                                 vdirection = fdiagonal
239                                 shade1 = 1.3
240                                 shade2 = 0.9
241                         }
242                 }
244                 trough {
245                         fill {
246                                 style = solid
247                         }
248                         
249                         line {
250                                 style = none
251                         }
252                 }
254                 arrow {
255                         style = cleanice
256                         solid = TRUE
257                 }
258         }
261 style "menu-item" {
262         fg[PRELIGHT] = "#ffffff"
263         bg[PRELIGHT] = "#a0b1d7"
264         #bg[PRELIGHT] = "#000"
266         engine "smooth" {
267                 fill {
268                         style = solid
269                         hdirection = vertical
270                         vdirection = horizontal
271                         #shade1 = 0
272                         #shade2 = 0
273                 }
275                 line {
276                         style = smooth
277                         thickness = 2
278                 }
279                 
280                 edge {
281                     line {
282                         style = flat
283                         thuckness = 1
284                     }
285                 }
287                 check {
288                         style = clean
289                         motif = FALSE
290                         
291                         #line {
292                         #    style = none
293                         #    thickness = 1
294                         #}
295                 }
297                 option {
298                         style = clean
299                         motif = FALSE
300                         fill {
301                                 style = shaded
302                                 hdirection = fdiagonal
303                                 vdirection = fdiagonal
304                                 shade1 = 1.3
305                                 shade2 = 0.9
306                         }
307                 }
309                 arrow {
310                         style = xfce
311                         solid = TRUE
312                 }
313         }
316 style "scrollbar" {
317         bg[PRELIGHT] = "#a0b1d7"
319         GtkRange::trough_border = 1
320         GtkRange::slider_width = 15
321         GtkRange::stepper_size = 15
322         GtkRange::stepper_spacing = 0
324         engine "smooth" {
325                 fill {
326                         style = shaded
327                         hdirection = vertical
328                         vdirection = horizontal
329                         shade1 = 1.3
330                         shade2 = 0.9
331                 }
333                 line {
334                         style = smooth
335                         thickness = 1
336                 }
338                 trough {
339                                  xpadding = 0
340                                  ypadding = 0
341                                  show_value = TRUE
343                                  line {
344                                         style=smooth
345                                         #thickness=2
346                                  }
348                                   fill {
349                                                          style = shaded
350                                                                                 hdirection = vertical
351                                                                                 vdirection =horizontal
352                                                                                 shade1 = 0.90
353                                                                                 shade2 = 1.06
354                                   }
355                 }
357 #               trough {
358 #                       fill {
359 #                               style = solid
360 #                       }
361 #                       line {
362 #                               style = none
363 #                               thickness = 0
364 #                       }
365 #               }
367                 grip {
368                         #style = mac_buds_in
369                         style = none
370                         #line {
371                         #       style = smooth
372                         #       thickness = 1
373                         #}
374                 }
376                 arrow {
377                         style = cleanice
378                         solid = TRUE
379                         xpadding = 1
380                         ypadding = 1
381                 }
382         }
385 style "hscales"  {
386         bg[PRELIGHT] = "#a0b1d7"
388         GtkRange::trough_border = 0
389         GtkRange::slider-width = 15
390         GtkScale::slider-length = 10
392         engine "smooth" {       
393                 line {
394                         style = smooth
395                         thickness = 1
396                 }
398                 fill {
399                         style = shaded
400                         hdirection = vertical
401                         vdirection = horizontal
402                         shade1 = 1.3
403                         shade2 = 0.9
404                 }
406                 trough {
407                         xpadding = 2
408                         ypadding = 1
409                         show_value = TRUE
410                         fill {
411                                 style = solid
412                         }
413                 }
415                 grip {
416                         #style = mac_buds_in
417                         style = none
418                 }
420                 real_sliders = FALSE
421         }
424 style "vscales"  {
425         bg[PRELIGHT] = "#a0b1d7"
427         GtkRange::trough_border = 0
428         GtkRange::slider-width  = 15
429         GtkScale::slider-length = 10
431         engine "smooth" {
432                 line {
433                         style = smooth
434                         thickness = 1
435                 }
437                 fill {
438                         style = shaded
439                         hdirection = vertical
440                         vdirection = horizontal
441                         shade1 = 1.3
442                         shade2 = 0.9
443                 }
445                 trough {
446                         xpadding = 1
447                         ypadding = 2
448                         show_value = TRUE
449                         fill {
450                                 style = solid
451                         }
452                 }
454                 grip {
455                         #style = mac_buds_in
456                         style = none
457                 }
459                 real_sliders = FALSE
460         }
463 style "infobar" {
464         bg[PRELIGHT] = "#a0b1d7"
466         xthickness = 1
467         ythickness = 2
469         engine "smooth" {
470                 line {
471                         style = smooth
472                         thickness = 1
473                 }
475                 fill {
476                         style = shaded
477                         hdirection = vertical
478                         vdirection = horizontal
479                         shade1 = 1.3
480                         shade2 = 0.9
481                 }
483                 trough {
484                         fill {
485                                 style = solid
486                         }
487                 }
488         }
491 class "*Progress*" style "progres"
492 widget_class "*Progress*" style "progres"
493 class "*BonoboDockItem" style "handle"
494 class "*HandleBox" style "handle"
495 class "*Toolbar" style "toolbar"
497 class "GtkMenuBar" style "menubar"
498 widget_class "GtkMenuBar" style "menubar"
499 class "GtkMenu" style "menu"
500 class "*MenuItem*" style "menu-item"
501 widget_class "*MenuItem*" style "menu-item"
502 class "GtkStatusbar" style "menubar"
504 class "*Button*" style "button"
505 widget_class "*Button*" style "button"
507 class "*OptionMenu*" style "button"
508 widget_class "*OptionMenu*" style "button"
510 class "*Button*" style "button"
511 widget_class "*Button*" style "button"
513 class "*OptionMenu*" style "button"
514 widget_class "*OptionMenu*" style "button"
515 class "*RadioButton*" style "button"
516 widget_class "*RadioButton*" style "button"
517 class "*CheckButton*" style "button"
518 widget_class "*CheckButton*" style "button"
520 widget_class "*Scrollbar*" style "scrollbar"
521 class "*Scrollbar*" style "scrollbar"
522 widget_class "*HScale*" style "hscales"
523 class "*HScale*" style "hscales"
524 widget_class "*VScale*" style "vscales"
525 class "*VScale*" style "vscales"
527 class "*Paned" style "scrollbar"
528 widget_class "*Paned" style "scrollbar"
530 class "GtkTooltips" style "tooltips"