~skellat/+junk/shimmer-themes

« back to all changes in this revision

Viewing changes to greybird/gtk-2.0/gtkrc

  • Committer: Package Import Robot
  • Author(s): Lionel Le Folgoc
  • Date: 2012-02-05 22:48:30 UTC
  • mfrom: (0.3.1) (0.2.1) (0.1.1)
  • Revision ID: package-import@ubuntu.com-20120205224830-2xcw5f6gm51t4tci
Tags: 1.1-0ubuntu1
Initial release, split Shimmer Project themes from murrine-themes
(Albatross [a4c586d], Bluebird [2713c7e], Greybird [7915c3e]).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Author: Simon Steinbeiß
 
2
# Theme: Greybird
 
3
# based on "Bluebird" by Simon Steinbeiß and Pasi Lallinaho
 
4
# Description: As is the original theme, this theme is 100% free and open source.
 
5
 
 
6
gtk_color_scheme        = "bg_color:#CECECE\nselected_bg_color:#9db6cd\nbase_color:#fcfcfc" # Background, base.
 
7
gtk_color_scheme        = "fg_color:#3C3C3C\nselected_fg_color:#ffffff\ntext_color:#000000" # Foreground, text. 
 
8
gtk_color_scheme        = "tooltip_bg_color:#000000\ntooltip_fg_color:#E1E1E1" # Tooltips.
 
9
gtk_color_scheme        = "link_color:#74a0c6" # Hyperlinks
 
10
gtk_color_scheme        = "panel_bg:#686868" # Panel bg color
 
11
gtk_color_scheme        = "fm_color:#F7F7F7" # Color used in Nautilus and Thunar.
 
12
gtk_color_scheme        = "bg_color_dark:#686868\ntext_color_dark:#FFF"
 
13
 
 
14
gtk-icon-sizes          = "panel-applications-menu=24,24:panel-menu=24,24:panel=16,16:gtk-button=16,16"
 
15
gtk-button-images       = 0                                     # Disables icons for buttons with text
 
16
gtk-toolbar-style       = 0                                     # Disables text in toolbar
 
17
gtk-auto-mnemonics      = 1                                     # Disables ugly lines under menu items
 
18
 
 
19
####################
 
20
## Default Styles ##
 
21
####################
 
22
 
 
23
style "murrine-default"
 
24
{
 
25
        GnomeHRef               ::link_color                            = @link_color           
 
26
        GtkHTML                 ::link-color                            = @link_color
 
27
        GtkIMHtmlr              ::hyperlink-color                       = @link_color
 
28
        GtkIMHtml               ::hyperlink-color                       = @link_color
 
29
        GtkWidget               ::link-color                            = @link_color
 
30
        GtkWidget               ::visited-link-color                    = @text_color
 
31
 
 
32
        GtkButton               ::child-displacement-x                  = 1
 
33
        GtkButton               ::child-displacement-y                  = 1
 
34
        GtkButton               ::default-border                        = { 0, 0, 0, 0 }
 
35
        GtkCheckButton          ::indicator-size                        = 15
 
36
 
 
37
        GtkEntry                ::honors-transparent-bg-hint            = 1
 
38
        GtkEntry                ::progress-border                       = { 3, 3, 3, 3 }
 
39
        GtkEntry                ::state-hint                            = 0
 
40
 
 
41
        GtkImage                ::x-ayatana-indicator-dynamic           = 1
 
42
 
 
43
        GtkMenu                 ::horizontal-padding                    = 0
 
44
        GtkMenu                 ::vertical-padding                      = 0
 
45
 
 
46
        GtkPaned                ::handle-size                           = 3
 
47
 
 
48
        GtkNotebook             ::tab-overlap                           =-2
 
49
 
 
50
        GtkProgressBar          ::min-vertical-bar-width                = 10
 
51
        GtkProgressBar          ::min-horizontal-bar-height             = 10
 
52
 
 
53
        GtkRange                ::trough-border                         = 2
 
54
        GtkRange                ::slider-width                          = 9
 
55
        GtkRange                ::stepper-size                          = 13
 
56
        GtkRange                ::stepper_spacing                       = 0
 
57
 
 
58
        GtkScale                ::slider-length                         = 13
 
59
        GtkScale                ::slider-width                          = 13
 
60
        GtkScale                ::trough-side-details                   = 1
 
61
 
 
62
        GtkScrollbar            ::min-slider-length                     = 50
 
63
        GtkScrollbar            ::slider-width                          = 9
 
64
        GtkScrollbar            ::trough-border                         = 3
 
65
        #GtkScrollbar           ::trough-under-steppers                 = 0
 
66
        GtkScrollbar            ::has-backward-stepper                  = 1
 
67
        #GtkScrollbar           ::arrow-scaling                         = 0.8
 
68
        #GtkScrollbar           ::has_secondary_backward_stepper        = 1 
 
69
        GtkScrollbar            ::has-forward-stepper                   = 1 
 
70
        #GtkScrollbar           ::has_secondary_forward_stepper         = 0 
 
71
 
 
72
        GtkScrolledWindow       ::scrollbar-spacing                     = 0
 
73
        GtkScrolledWindow       ::scrollbars-within-bevel               = 1
 
74
        #GtkTable               ::scrollbars-within-bevel               = 1
 
75
 
 
76
        GtkMenuBar              ::internal-padding                      = 0
 
77
        GtkMenuBar              ::window-dragging                       = 1
 
78
 
 
79
        GtkExpander             ::expander-size                         = 12
 
80
        GtkToolbar              ::internal-padding                      = 0
 
81
        GtkTreeView             ::expander-size                         = 10
 
82
        GtkTreeView             ::vertical-separator                    = 0
 
83
 
 
84
        GtkWidget               ::new-tooltip-style                     = 1
 
85
        GtkWidget               ::focus-line-width                      = 1
 
86
        GtkWidget               ::focus-padding                         = 0
 
87
        
 
88
        GtkWindow               ::resize-grip-height                    = 13
 
89
        GtkWindow               ::resize-grip-width                     = 13
 
90
 
 
91
        xthickness = 1
 
92
        ythickness = 1
 
93
 
 
94
        fg[NORMAL]        = @fg_color
 
95
        fg[PRELIGHT]      = @fg_color
 
96
        fg[SELECTED]      = @selected_fg_color
 
97
        fg[ACTIVE]        = @fg_color
 
98
        fg[INSENSITIVE]   = darker (@bg_color)
 
99
 
 
100
        bg[NORMAL]        = @bg_color
 
101
        bg[PRELIGHT]      = shade (1.02, @bg_color)
 
102
        bg[SELECTED]      = @selected_bg_color
 
103
        bg[INSENSITIVE]   = @bg_color
 
104
        bg[ACTIVE]        = shade (1.04, @bg_color)
 
105
 
 
106
        base[NORMAL]      = @base_color
 
107
        base[PRELIGHT]    = shade (0.95, @bg_color)
 
108
        base[ACTIVE]      = shade (0.92, @selected_bg_color)
 
109
        base[SELECTED]    = shade (0.93, @selected_bg_color)
 
110
        base[INSENSITIVE] = @bg_color
 
111
 
 
112
        text[NORMAL]      = @text_color
 
113
        text[PRELIGHT]    = @text_color
 
114
        text[ACTIVE]      = @selected_fg_color
 
115
        text[SELECTED]    = @selected_fg_color
 
116
        text[INSENSITIVE] = darker (@bg_color)
 
117
 
 
118
        engine "murrine" 
 
119
        {
 
120
                animation           = TRUE
 
121
                arrowstyle          = 2                 # 0 = normal arrows, 1 = filled arrows          
 
122
                border_shades       = { 1.2, 1.0 }      # gradient to draw on border
 
123
                cellstyle           = 0
 
124
                colorize_scrollbar  = FALSE             
 
125
                comboboxstyle       = 0                 # 0 = normal combobox, 1 = colorized combobox below arrow               
 
126
                contrast            = 0.4               # 0.8 for less contrast, more than 1.0 for more contrast on borders
 
127
                expanderstyle       = 0
 
128
                focus_color         = mix (0.1, @bg_color, shade (0.7, @selected_bg_color))
 
129
                #focus_color         = shade (1.1, @selected_bg_color) #mix (0.1, @bg_color, shade (1.1, @selected_bg_color))
 
130
                focusstyle          = 3
 
131
                glazestyle          = 1                 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
 
132
                gradient_shades     = {1.2,1.0,1.0,0.9} #{1.1,1.0,1.0,0.87}
 
133
                glowstyle           = 4                 # 0,1,2,3,4
 
134
                glow_shade          = 1.1
 
135
                highlight_shade     = 1.0               # set highlight amount for buttons or widgets
 
136
                lightborder_shade   = 1.1               # sets lightborder amount for buttons or widgets
 
137
                lightborderstyle    = 0                 # 0 = lightborder on top side, 1 = lightborder on all sides
 
138
                listviewheaderstyle = 1                 # 0 = flat, 1 = glassy, 2 = raised
 
139
                listviewstyle       = 1                 # 0 = nothing, 1 = dotted
 
140
                menubaritemstyle    = 0                 # 0 = menuitem look, 1 = button look
 
141
                menubarstyle        = 2                 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
 
142
                menuitemstyle       = 0                 # 0 = flat, 1 = glassy, 2 = striped
 
143
                menustyle           = 0                 # 0 = no vertical menu stripe, 1 = display vertical menu stripe
 
144
                prelight_shade      = .95               # shade level for scrollbar's slider, comboboxstyle(1), and prelight state with gradient_colors         
 
145
                progressbarstyle    = 1                 # 0 = nothing, 1 = stripes, 2 = lines
 
146
                reliefstyle         = 3                 # 0 = flat, 1 = inset, 2 = shadow
 
147
                rgba                = FALSE             # FALSE = disabled, TRUE = enabled
 
148
                roundness           = 3                 # 0 = squared, 1 = old default, more will increase roundness
 
149
                scrollbarstyle      = 0                 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
 
150
                separatorstyle      = 1                 # 0 = Hard seperators 1 = Smooth seperators
 
151
                sliderstyle         = 0                 # 0 = nothing added, 1 = handles
 
152
                stepperstyle        = 1                 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
 
153
                shadow_shades       = { 0.8, 2.2 }      # gradient for shadows.         
 
154
                textstyle           = 0                 # 0 = normal text, 1 = inset            
 
155
                toolbarstyle        = 2                 # 0 = flat, 1 = glassy, 2 = gradient            
 
156
                trough_shades       = { 0.75, 0.9 }     # draw gradient on trough of GtkScrollbar and GtkProgressbar
 
157
                trough_border_shades = { 0.9, 0.7 }     }
 
158
}
 
159
 
 
160
### RESIZE GRIP PIXMAP Proof of concept ###
 
161
 
 
162
style "resize-grip" #= "murrine-default"
 
163
{
 
164
        engine "pixmap" {
 
165
                image {
 
166
                        function        = RESIZE_GRIP
 
167
                        recolorable     = FALSE
 
168
                        overlay_file    = "resize_grip.png"
 
169
                        overlay_border  = {0,0,0,0 }
 
170
                        overlay_stretch = FALSE
 
171
                }
 
172
        }
 
173
}
 
174
 
 
175
style "murrine-paned" = "murrine-default"
 
176
{
 
177
        engine "murrine"
 
178
        {
 
179
                contrast = 1.0
 
180
        }
 
181
}
 
182
 
 
183
### THEME MODULES ###
 
184
 
 
185
style "evolution-hack" = "murrine-default" # Hacks for Evolution Mail.
 
186
{       
 
187
        bg[NORMAL]     = shade (1.14, @bg_color) # Color for evo treeview headers.
 
188
        bg[PRELIGHT]   = shade (1.18, @bg_color) # Color for evo treeview header prelight.
 
189
        bg[ACTIVE]     = shade (0.75, @bg_color) # Color for unfocused evo selected items.
 
190
        bg[SELECTED]   = @selected_bg_color      # Color for evo selected items.
 
191
        fg[ACTIVE]     = @selected_fg_color      # Color for evo active text.
 
192
        fg[SELECTED]   = @selected_fg_color      # Color for evo selected text.
 
193
}
 
194
 
 
195
style "murrine-dark" {
 
196
        
 
197
        GtkMenuBar      :: shadow-type          = GTK_SHADOW_NONE
 
198
        
 
199
        bg[NORMAL]      = @bg_color_dark
 
200
        bg[ACTIVE]      = shade (0.7, @bg_color_dark)
 
201
        bg[PRELIGHT]    = shade (0.7, @bg_color_dark)
 
202
        bg[SELECTED]    = shade (0.6, @bg_color_dark)
 
203
        
 
204
        fg[NORMAL]      = @text_color_dark
 
205
        fg[PRELIGHT]    = @text_color_dark
 
206
        fg[ACTIVE]      = @text_color_dark
 
207
        fg[SELECTED]    = @text_color_dark
 
208
        
 
209
        text[NORMAL]   = @text_color_dark
 
210
        text[PRELIGHT] = @text_color_dark
 
211
        text[ACTIVE]   = @text_color_dark
 
212
        text[SELECTED]   = @text_color_dark
 
213
        
 
214
        engine "murrine" 
 
215
        {
 
216
                roundness = 0 # Roundness of menu items.
 
217
        }
 
218
}
 
219
 
 
220
style "murrine-wide-dark" = "murrine-dark"
 
221
{
 
222
        ythickness        = 2
 
223
        xthickness        = 4
 
224
}
 
225
 
 
226
style "murrine-wide"
 
227
{
 
228
        xthickness = 2
 
229
        ythickness = 2
 
230
}
 
231
 
 
232
style "murrine-wider"
 
233
{
 
234
        xthickness = 3
 
235
        ythickness = 3
 
236
}
 
237
 
 
238
style "murrine-angled"
 
239
{
 
240
        engine "murrine" 
 
241
        {
 
242
                roundness = 0 # Roundness of menu items.
 
243
        }
 
244
}
 
245
 
 
246
style "murrine-entry" = "murrine-wider" {
 
247
 
 
248
        bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
 
249
        base[INSENSITIVE] = shade (1.06, @bg_color)
 
250
        fg[SELECTED] = @text_color
 
251
        engine "murrine" {
 
252
                contrast      = 0.4
 
253
                reliefstyle   = 4
 
254
                border_shades = {1.03,0.8}
 
255
                shadow_shades = {0.5,0.0}
 
256
        }
 
257
}
 
258
 
 
259
style "murrine-button" = "murrine-wider"
 
260
{       
 
261
        bg[NORMAL]        = shade (1.02, @bg_color) 
 
262
        bg[PRELIGHT]      = mix(0.3, @bg_color, shade (1.3, @selected_bg_color))
 
263
        bg[ACTIVE]        = shade (0.85, @bg_color)
 
264
        bg[SELECTED]      = shade (0.5, @selected_bg_color)  
 
265
        bg[INSENSITIVE]   = shade (0.95, @bg_color)
 
266
 
 
267
        engine "murrine" 
 
268
        {
 
269
                contrast            = 0.8
 
270
                highlight_shade     = 1.0
 
271
                lightborder_shade   = 1.1
 
272
                gradient_shades     = {1.1,1.05,0.95,0.95} #{1.3,1.10,0.95,0.92} 
 
273
                border_shades       = { 1.1, 0.9 }
 
274
                shadow_shades       = {0.5,0.0}
 
275
                reliefstyle         = 3
 
276
                roundness           = 2
 
277
        }
 
278
}
 
279
 
 
280
style "murrine-notebook"
 
281
{
 
282
        bg[NORMAL]      = shade (1.05, @bg_color) # Tab background.
 
283
        bg[ACTIVE]      = shade (0.85, @bg_color) # Unfocused tab background.
 
284
        #bg[NORMAL]     = @base_color
 
285
        engine "murrine" 
 
286
        {
 
287
                roundness       = 3
 
288
                contrast        = 1.1
 
289
        }
 
290
}
 
291
 
 
292
style "murrine-menu"
 
293
{
 
294
        #ythickness        = 2
 
295
        #xthickness        = 4
 
296
        GtkMenuBar      :: shadow-type          = GTK_SHADOW_NONE
 
297
        
 
298
        bg[SELECTED]      = shade (0.85, @selected_bg_color)
 
299
        bg[NORMAL]        = @bg_color
 
300
        bg[PRELIGHT]      = shade (0.85, @selected_bg_color)
 
301
        bg[ACTIVE]        = @bg_color
 
302
        bg[INSENSITIVE]   = @bg_color
 
303
        fg[NORMAL]        = @text_color # Color for normal text.
 
304
        fg[PRELIGHT]      = @base_color
 
305
        fg[SELECTED]      = @base_color
 
306
        fg[ACTIVE]        = @base_color
 
307
        fg[INSENSITIVE]   = shade (0.75, @bg_color) # Text color for non-interactive menu items
 
308
        text[NORMAL]      = @text_color # Color for menu-item radio/checks.
 
309
        base[NORMAL]      = @bg_color # Color for menu-item radio/checks background.
 
310
        text[PRELIGHT]    = @base_color
 
311
        text[SELECTED]    = @base_color
 
312
        text[ACTIVE]      =@base_color
 
313
        text[INSENSITIVE] = @text_color
 
314
        
 
315
        engine "murrine" 
 
316
        {
 
317
                roundness = 0 # Roundness of menu items.
 
318
                contrast = 0.9
 
319
        }
 
320
}
 
321
 
 
322
 
 
323
style "murrine-menubar" = "murrine-menu" {
 
324
        bg[SELECTED]    = shade (0.7, @bg_color_dark)
 
325
}
 
326
 
 
327
style "menubar-menuitem"
 
328
{
 
329
        #ythickness        = 2
 
330
        #xthickness        = 4
 
331
        bg[PRELIGHT]   = @selected_bg_color
 
332
        bg[SELECTED]   = @selected_bg_color
 
333
        fg[NORMAL]     = @base_color
 
334
        fg[PRELIGHT]   = @base_color
 
335
        fg[SELECTED]   = @base_color
 
336
        text[NORMAL]   = @base_color
 
337
        text[PRELIGHT] = @base_color
 
338
        text[SELECTED] = @base_color
 
339
}
 
340
 
 
341
style "menubar-menuitem-prelight"
 
342
{
 
343
        fg[PRELIGHT] = @base_color
 
344
}
 
345
 
 
346
style "murrine-treeview"
 
347
{
 
348
        engine "murrine" 
 
349
        {
 
350
                roundness = 0
 
351
                gradient_shades     = {1.1,1.1,1.1,1.0}
 
352
        }
 
353
}
 
354
 
 
355
style "murrine-treeview-header" = "murrine-button"
 
356
{
 
357
        xthickness   = 2
 
358
        ythickness   = 1
 
359
        
 
360
        bg[NORMAL]       = shade (1.14, @bg_color)  # Color for treeview headers.
 
361
        bg[PRELIGHT] = shade (0.98, @bg_color)  # Color for treeview header prelight.
 
362
        bg[ACTIVE]   = shade (0.85, @bg_color)  # Color for pressed-treeview.
 
363
        
 
364
        engine "murrine" 
 
365
        {
 
366
                roundness = 0  # This makes treeview progressbars square.
 
367
                gradient_shades     = {0.98,1.0,1.3,1.35}
 
368
        }
 
369
}
 
370
 
 
371
style "murrine-frame-title"
 
372
{
 
373
        fg[NORMAL] = lighter (@fg_color)
 
374
}
 
375
 
 
376
style "murrine-tooltips" = "murrine-wider"
 
377
{
 
378
        xthickness = 7
 
379
        ythickness = 4
 
380
 
 
381
        bg[NORMAL] = @tooltip_bg_color
 
382
        bg[SELECTED] = "#000000"
 
383
        fg[NORMAL] = @tooltip_fg_color
 
384
 
 
385
        engine "murrine"
 
386
        {
 
387
                roundness       = 0
 
388
                trough_shades   = { 0.15, 0.3 }
 
389
        }
 
390
}
 
391
 
 
392
style "murrine-progressbar"
 
393
{
 
394
        xthickness   = 0
 
395
        ythickness   = 0
 
396
 
 
397
        fg[PRELIGHT] = @selected_fg_color
 
398
        bg[NORMAL]   = shade (1.05, @bg_color)
 
399
        bg[SELECTED]    = mix (0.4, @bg_color, shade (0.9, @selected_bg_color))
 
400
 
 
401
        engine "murrine" {
 
402
                gradient_shades = {1.15,1.05,1.0,0.95}
 
403
                trough_shades   = {0.95, 1.15}
 
404
                trough_border_shades    = { 0.8, 0.7 }
 
405
                roundness       = 4
 
406
                contrast        = 0.8
 
407
                border_shades   = { 1.0, 0.8 }
 
408
                lightborder_shade   = 1.0
 
409
                glowstyle       = 0
 
410
                glow_shade      = 1.0
 
411
        }
 
412
}
 
413
 
 
414
style "murrine-scrollbar" {
 
415
        
 
416
        GtkScrollbar::stepper-size      = 0
 
417
        GtkScrollbar::arrow-scaling     = 0.0
 
418
        
 
419
        bg[NORMAL]      = shade (1.3, @base_color)
 
420
        bg[SELECTED]    = shade (0.90, @bg_color)
 
421
        bg[ACTIVE]      = shade (1.75, @base_color)
 
422
        bg[PRELIGHT]    = shade (0.55, @bg_color)
 
423
        bg[INSENSITIVE] = shade (0.75, @bg_color)
 
424
        
 
425
        engine "murrine" {
 
426
                #arrowstyle     = 0
 
427
                colorize_scrollbar = TRUE
 
428
                roundness       = 10
 
429
                border_shades   = {0.80, 0.80}
 
430
                trough_shades   = {1.1, 1.3}
 
431
                contrast        = 0.0
 
432
                gradient_shades = {1.2,1.2,1.15,1.15}
 
433
                #prelight_shade = 0.9
 
434
        }
 
435
}
 
436
 
 
437
style "murrine-statusbar"
 
438
{
 
439
        xthickness = 2
 
440
}
 
441
 
 
442
style "murrine-comboboxentry"
 
443
{
 
444
        text[NORMAL]            = @text_color
 
445
        text[PRELIGHT]          = @text_color
 
446
        
 
447
        fg[NORMAL]      = @text_color
 
448
        fg[PRELIGHT]    = @text_color
 
449
        
 
450
        engine "murrine"
 
451
        {
 
452
                contrast      = 0.4
 
453
                reliefstyle   = 4
 
454
                border_shades = {1.03,0.8}
 
455
                shadow_shades = {0.5,0.0}
 
456
        }
 
457
}
 
458
 
 
459
style "murrine-combo" = "murrine-comboboxentry"
 
460
{
 
461
        bg[ACTIVE] = shade (0.85, @bg_color) # Color for pressed-spinbuttons.
 
462
}
 
463
 
 
464
style "murrine-scale" = "murrine-button"
 
465
{
 
466
        GtkWidget       ::focus-line-width      = 0
 
467
        GtkWidget       ::focus-padding         = 2
 
468
        bg[ACTIVE]                              = @base_color
 
469
        bg[NORMAL]                              = @panel_bg
 
470
        bg[PRELIGHT]                            = shade (0.5, @panel_bg)
 
471
        bg[INSENSITIVE]                         = @panel_bg
 
472
        bg[SELECTED]                            = @panel_bg
 
473
        
 
474
        engine "murrine"
 
475
        {
 
476
                roundness               = 5
 
477
                border_shades           = { 1.0, 1.0 }
 
478
                contrast                = 0.5
 
479
                trough_shades           = { 0.8, 0.8 }
 
480
                trough_border_shades    = { 0.9, 0.9 }
 
481
                highlight_shade         = 1.00
 
482
                lightborder_shade       = 1.7
 
483
                gradient_shades         = {1.0,1.0,1.0,1.0}
 
484
                border_shades           = { 1.0, 1.0 }
 
485
                shadow_shades           = { 0.5, 0.5 }
 
486
        }
 
487
}
 
488
 
 
489
style "murrine-scale-dark" = "murrine-scale"
 
490
{
 
491
        bg[ACTIVE]                              = @panel_bg
 
492
        bg[NORMAL]                              = @text_color_dark
 
493
        bg[PRELIGHT]                            = shade (0.5, @panel_bg)
 
494
        bg[INSENSITIVE]                         = @text_color_dark
 
495
        bg[SELECTED]                            = @text_color_dark
 
496
        engine "murrine"
 
497
        {
 
498
                roundness               = 5
 
499
        }
 
500
}
 
501
 
 
502
style "murrine-hscale" = "murrine-scale"
 
503
{
 
504
}
 
505
 
 
506
style "murrine-vscale" = "murrine-scale"
 
507
{
 
508
}
 
509
 
 
510
style "murrine-nautilus-location" # Workaround for nautilus' messages.
 
511
{
 
512
        bg[NORMAL] = shade (1.25, @selected_bg_color)
 
513
}
 
514
 
 
515
style "murrine-radiocheck"
 
516
{
 
517
        bg[NORMAL]      = shade (1.06, @bg_color) 
 
518
        bg[PRELIGHT]    = shade (1.06, @bg_color)  
 
519
        bg[ACTIVE]      = shade (0.85, @bg_color)
 
520
        bg[SELECTED]    = shade (1.0, @selected_bg_color)  
 
521
        bg[INSENSITIVE] = shade (0.95, @bg_color)
 
522
        fg[INSENSITIVE] = shade (0.55, @bg_color)
 
523
        engine "murrine" 
 
524
        {
 
525
                contrast                = .8
 
526
                lightborder_shade       = 1.9
 
527
        }
 
528
}
 
529
 
 
530
style "murrine-toolbar" = "murrine-default"
 
531
{
 
532
        bg[NORMAL] = @bg_color
 
533
        engine "murrine" {
 
534
                contrast                        = 1.13
 
535
                toolbarstyle                    = 1
 
536
                lightborder_shade               = 1.0
 
537
                gradient_shades                 = {1.0,0.94,0.94,0.88}
 
538
        }
 
539
}
 
540
 
 
541
style "xfce-header"
 
542
{
 
543
        font_name = "Serif"
 
544
        bg[NORMAL]       = shade (0.9, @bg_color)
 
545
        base[NORMAL]     = shade (1.18, @bg_color)
 
546
        engine "murrine" {
 
547
                textstyle       = 1
 
548
        }
 
549
}
 
550
 
 
551
style "xfdesktop-windowlist" #= "murrine-menu"
 
552
{
 
553
        bg[NORMAL]      = @base_color
 
554
        fg[INSENSITIVE]   = shade (0.95, @base_color)
 
555
        text[INSENSITIVE]   = shade (0.95, @base_color)
 
556
}
 
557
 
 
558
 
 
559
style "tabwin-dark" = "murrine-dark" {
 
560
        bg[NORMAL]      = "#424242"
 
561
        bg[SELECTED]    = @panel_bg
 
562
        engine "murrine"
 
563
        {
 
564
                focusstyle = 0
 
565
        }
 
566
}
 
567
 
 
568
style "murrine-calendar" = "murrine-dark"
 
569
{
 
570
        base[NORMAL]    = @bg_color_dark
 
571
        base[SELECTED]    = shade (0.65, @bg_color_dark)
 
572
        base[ACTIVE]    = shade (0.65, @bg_color_dark)
 
573
        fg[ACTIVE]      = "#FFFFFF"
 
574
        bg[NORMAL]   = shade (0.2, @text_color_dark)
 
575
}
 
576
 
 
577
###############################################################################
 
578
# The following part of the gtkrc applies the different styles to the widgets.
 
579
###############################################################################
 
580
 
 
581
class "GtkWindow*" style "resize-grip"
 
582
 
 
583
# Murrine default style is applied to every widget.
 
584
class "GtkWidget"    style "murrine-default"
 
585
 
 
586
# Increase the x/ythickness in some widgets.
 
587
class "GtkFrame"     style "murrine-wide"
 
588
class "GtkEntry"     style "murrine-entry"
 
589
class "GtkSeparator" style "murrine-wide"
 
590
class "GtkCalendar"  style "murrine-wide"
 
591
class "GtkToolbar"   style "murrine-toolbar"
 
592
class "GtkHandleBox*" style "murrine-toolbar"
 
593
 
 
594
class "GtkSpinButton"  style "murrine-combo"
 
595
class "GtkScale"       style "murrine-scale"
 
596
class "GtkVScale"      style "murrine-vscale"
 
597
class "GtkHScale"      style "murrine-hscale"
 
598
 
 
599
class "GtkScrollbar"   style "murrine-scrollbar"
 
600
class "GtkVScrollbar"  style "murrine-scrollbar"
 
601
class "GtkHScrollbar"  style "murrine-scrollbar"
 
602
 
 
603
class "GtkRadio*"       style "murrine-radiocheck"
 
604
class "GtkCheck*"       style "murrine-radiocheck"
 
605
 
 
606
# General matching following, the order is choosen so that the right styles override each other eg. progressbar needs to be more important then the menu match.
 
607
 
 
608
widget_class "*<GtkNotebook>*<GtkEventBox>"     style "murrine-notebook"
 
609
widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "murrine-notebook"
 
610
widget_class "*<GtkNotebook>*<GtkLayout>"       style "murrine-notebook"
 
611
widget_class "*<GtkNotebook>*<GtkLabel>"        style "murrine-notebook"
 
612
 
 
613
#widget_class "*GtkVBox.GtkFrame.GtkTable"      style "murrine-angled" ##(GtkVBox.GtkFrame.GtkTable.GtkVScrollbar)
 
614
#widget_class "*GtkTable*"      style "murrine-angled" #GtkWindow.GtkVBox.GtkHBox.GtkTable.GtkVBox.GtkNotebook.GtkTable.GtkVPaned.GtkVScrollbar
 
615
#widget_class "*GtkTable*GtkVScrollbar" style "murrine-scrollbar"
 
616
#widget_class "*GtkTable*GtkHScrollbar" style "murrine-scrollbar"
 
617
 
 
618
widget_class "*<GtkButton>"      style "murrine-button"
 
619
widget_class "*<GtkNotebook>"    style "murrine-notebook"
 
620
widget_class "*<GtkStatusbar>*"  style "murrine-statusbar"
 
621
#widget "*Gnumeric*GtkVBox.GtkNotebook" style "murrine-borderless"
 
622
 
 
623
#widget_class "GimpDisplayShell*GtkTable*" style "murrine-default"
 
624
#widget_class "*GimpStatusbar*" style "murrine-default"
 
625
#widget_class "*Gnumeric*"      style "murrine-borderless"
 
626
 
 
627
widget_class "*<GtkComboBoxEntry>*" style "murrine-comboboxentry"
 
628
widget_class "*<GtkCombo>*"         style "murrine-combo"
 
629
 
 
630
widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "menubar-menuitem"
 
631
widget_class "*<GtkMenu>*"              style "murrine-menu"
 
632
widget_class "*<GtkMenuBar>*"           style "murrine-menu"
 
633
# Scale widget in menus (e.g. ubuntu's sound indicator)
 
634
widget_class "*<GtkMenuItem>.*.<GtkScale>" style "murrine-scale"
 
635
 
 
636
widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
 
637
widget_class "*.<GtkTreeView>*"        style "murrine-treeview"
 
638
 
 
639
widget_class "*GtkCalendar*"    style "murrine-calendar"
 
640
 
 
641
widget_class "*GtkHPaned" style "murrine-paned"
 
642
widget_class "*GtkVPaned" style "murrine-paned"
 
643
 
 
644
widget_class "*<GtkProgress>"          style "murrine-progressbar"
 
645
widget_class "*<GtkProgressBar>"       style "murrine-progressbar"
 
646
 
 
647
widget_class "*<GtkRadioButton>*"               style "murrine-radiocheck"
 
648
widget_class "*<GtkCheckButton>*"               style "murrine-radiocheck"
 
649
 
 
650
# Treeview header
 
651
widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
 
652
widget_class "*.<GtkCTree>.<GtkButton>"    style "murrine-treeview-header"
 
653
widget_class "*.<GtkList>.<GtkButton>"     style "murrine-treeview-header"
 
654
widget_class "*.<GtkCList>.<GtkButton>"    style "murrine-treeview-header"
 
655
widget_class "*.<GtkCMCTree>.<GtkButton>"    style "murrine-treeview-header" # Claws-Mail treeview-headers
 
656
widget_class "*.<GtkCMCList>.<GtkButton>"    style "murrine-treeview-header" # Claws-Mail treeview-headers
 
657
widget_class "*GnmSimpleCanvas*"                style "murrine-treeview-header" # Gnumeric treeview-headers
 
658
 
 
659
# Xfce specific theming
 
660
widget_class "*XfceHeading*"                    style "xfce-header"
 
661
widget_class "*XfceDesktop*"                    style "xfdesktop-windowlist"
 
662
widget "xfwm4-tabwin*" style "tabwin-dark"
 
663
 
 
664
# Workarounds for Evolution
 
665
widget_class "*.ETable.ECanvas"    style "murrine-treeview-header"
 
666
widget_class "*.ETree.ECanvas"    style "murrine-treeview-header"
 
667
widget_class "*GtkCTree*"       style "evolution-hack"
 
668
widget_class "*GtkList*"        style "evolution-hack"
 
669
widget_class "*GtkCList*"       style "evolution-hack"
 
670
widget_class "*.ETree.*"        style "evolution-hack"
 
671
widget_class "*EInfoLabel*"     style "evolution-hack"
 
672
 
 
673
# The window of the tooltip is called "gtk-tooltip"
 
674
################################
 
675
# FIXME:
 
676
# This will not work if one embeds eg. a button into the tooltip.
 
677
# As far as I can tell right now we will need to rework the theme
 
678
# quite a bit to get this working correctly.
 
679
# (It will involve setting different priorities, etc.)
 
680
################################
 
681
widget "gtk-tooltip*" style "murrine-tooltips"
 
682
 
 
683
###################################################
 
684
# SPECIAL CASES AND WORKAROUNDS
 
685
###################################################
 
686
 
 
687
# Special case the nautilus-extra-view-widget
 
688
# ToDo: A more generic approach for all applications that have a widget like this.
 
689
widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location"
 
690
 
 
691
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
 
692
# Note that the work around assumes that the combobox is _not_ in appears-as-list mode.
 
693
# This style does not affect GtkComboBoxEntry, it does have an effect on comboboxes in appears-as-list mode though.
 
694
style "murrine-text-is-fg-color-workaround"
 
695
{
 
696
        text[NORMAL]      = @fg_color
 
697
        text[PRELIGHT]    = @fg_color
 
698
        text[SELECTED]    = @selected_fg_color
 
699
        text[ACTIVE]      = @fg_color
 
700
        text[INSENSITIVE] = darker (@bg_color)
 
701
}
 
702
widget_class "*.<GtkComboBox>.<GtkCellView>"   style "murrine-text-is-fg-color-workaround"
 
703
 
 
704
style "murrine-menuitem-text-is-fg-color-workaround"
 
705
{
 
706
        text[NORMAL]        = @fg_color
 
707
        text[PRELIGHT]      = @selected_fg_color
 
708
        text[SELECTED]      = @selected_fg_color
 
709
        text[ACTIVE]        = @fg_color
 
710
        text[INSENSITIVE]   = darker (@bg_color)
 
711
}
 
712
widget "*.gtk-combobox-popup-menu.*"   style "murrine-menuitem-text-is-fg-color-workaround"
 
713
 
 
714
# Work around the usage of GtkLabel inside GtkListItems to display text.
 
715
# This breaks because the label is shown on a background that is based on the base color set.
 
716
style "murrine-fg-is-text-color-workaround"
 
717
{
 
718
        fg[NORMAL]      = @text_color
 
719
        fg[PRELIGHT]    = @text_color
 
720
        fg[ACTIVE]      = @selected_fg_color
 
721
        fg[SELECTED]    = @selected_fg_color
 
722
        fg[INSENSITIVE] = darker (@bg_color)
 
723
}
 
724
widget_class "*<GtkListItem>*" style "murrine-fg-is-text-color-workaround"
 
725
# The same problem also exists for GtkCList and GtkCTree.
 
726
# Only match GtkCList and not the parent widgets, because that would also change the headers.
 
727
widget_class "*<GtkCList>" style "murrine-fg-is-text-color-workaround"
 
728
widget_class "*<EelEditableLabel>" style "murrine-fg-is-text-color-workaround"
 
729
 
 
730
 
 
731
 
 
732
 
 
733
# Google Chrome/Chromium theming (requires 9.0.597 or newer)
 
734
style "chrome-gtk-frame"
 
735
{
 
736
    ChromeGtkFrame::frame-color = shade (0.5, @bg_color)
 
737
    ChromeGtkFrame::inactive-frame-color = shade (0.5, @bg_color)
 
738
 
 
739
    ChromeGtkFrame::frame-gradient-size = 100
 
740
    ChromeGtkFrame::frame-gradient-color = shade (1.08,@bg_color)
 
741
    ChromeGtkFrame::inactive-frame-gradient-color = shade (1.08,@bg_color)
 
742
 
 
743
    ChromeGtkFrame::scrollbar-trough-color = @base_color
 
744
    ChromeGtkFrame::scrollbar-slider-prelight-color = @panel_bg
 
745
    ChromeGtkFrame::scrollbar-slider-normal-color = shade (1.4, @panel_bg)
 
746
}
 
747
 
 
748
class "ChromeGtkFrame" style "chrome-gtk-frame"
 
749
 
 
750
 
 
751
# panel theming
 
752
include "apps/panel.rc"
 
753
# application specific theming
 
754
include "apps/terminal.rc"
 
755
include "apps/thunar.rc"
 
756
include "apps/gmusicbrowser.rc"