~murrine-themes-team/murrine-themes/trunk

« back to all changes in this revision

Viewing changes to Edge/gtk-2.0/gtkrc

  • Committer: Luca Forina
  • Date: 2008-12-20 21:45:52 UTC
  • Revision ID: rocksolid@fastwebnet.it-20081220214552-0gqkqd5m26l2giy9
updated Edge and Tech themes

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# EDGE
 
2
 
 
3
gtk-color-scheme = "base_color:#ffffff\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#87BBED\nselected_fg_color:#FFFFFF\ntext_color:#000000\nbg_color:#D9D9D9\ntooltip_bg_color:#FFFFBF"
 
4
 
 
5
# menu delay
 
6
#gtk-menu-popup-delay = 0
 
7
 
 
8
# icon sizes (large toolbar)
 
9
gtk-icon-sizes = "gtk-menu=16,16:\ngtk-button=16,16:\ngtk-dnd=16,16:\npanel-menu=16,16:\npanel=16,16:\ngtk-dialog=16,16:"
 
10
 
 
11
# icon sizes (small toolbar)
 
12
#gtk-icon-sizes = "gtk-menu=16,16:\ngtk-button=16,16:\ngtk-dnd=16,16:\npanel-menu=16,16:\npanel=16,16:\ngtk-dialog=16,16:\ngtk-small-toolbar=16,16:\ngtk-large-toolbar=20,20:"
 
13
 
 
14
gtk-button-images = 0
 
15
 
 
16
style "default"
 
17
{
 
18
        ########
 
19
        # Style Properties
 
20
        ########
 
21
        GtkButton::child-displacement-x = 1
 
22
        GtkButton::child-displacement-y = 1
 
23
        GtkButton::default-border = { 0, 0, 0, 0 }
 
24
        
 
25
        GtkCheckButton::indicator-size = 14
 
26
 
 
27
        GtkPaned::handle-size = 6
 
28
 
 
29
        GtkRange::trough-border = 3
 
30
        GtkRange::slider-width = 12
 
31
        GtkRange::stepper-size = 12
 
32
 
 
33
        GtkScale::slider-length = 15
 
34
        GtkScale::trough-side-details = 0
 
35
        GtkScrollbar::min-slider-length = 30
 
36
 
 
37
        GtkMenuBar::internal-padding = 0
 
38
        GtkExpander::expander-size = 16
 
39
        GtkToolbar::internal-padding = 0
 
40
        GtkTreeView::expander-size = 14
 
41
        GtkTreeView::vertical-separator = 0
 
42
 
 
43
        GtkMenu::horizontal-padding = 0
 
44
        GtkMenu::vertical-padding = 0
 
45
 
 
46
        #GtkMenuBar::shadow_type = GTK_SHADOW_NONE
 
47
        #GtkToolbar::shadow_type = GTK_SHADOW_NONE
 
48
 
 
49
        # Glow the tasklist by changing the color, instead of overlaying it with a rectangle
 
50
        WnckTasklist::fade-overlay-rect = 0
 
51
 
 
52
        GtkButton::focus-padding = 0
 
53
 
 
54
        xthickness = 1
 
55
        ythickness = 1
 
56
 
 
57
        ####################
 
58
        # Color Definitions
 
59
        ####################
 
60
        fg[NORMAL]        = @fg_color
 
61
        fg[PRELIGHT]      = @fg_color
 
62
        fg[SELECTED]      = @selected_fg_color
 
63
        fg[ACTIVE]        = @fg_color
 
64
        fg[INSENSITIVE]   = darker (@bg_color)
 
65
 
 
66
        bg[NORMAL]        = @bg_color
 
67
        bg[PRELIGHT]      = shade (1.02, @bg_color)
 
68
        bg[SELECTED]      = @selected_bg_color
 
69
        bg[INSENSITIVE]   = @bg_color
 
70
        bg[ACTIVE]        = shade (0.9, @bg_color)
 
71
 
 
72
        base[NORMAL]      = @base_color
 
73
        base[PRELIGHT]    = shade (0.95, @bg_color)
 
74
        base[ACTIVE]      = shade (0.88, @selected_bg_color)
 
75
        base[SELECTED]    = shade (0.89, @selected_bg_color)
 
76
        base[INSENSITIVE] = @bg_color
 
77
 
 
78
        text[NORMAL]      = @text_color
 
79
        text[PRELIGHT]    = @text_color
 
80
        text[ACTIVE]      = @selected_fg_color
 
81
        text[SELECTED]    = @selected_fg_color
 
82
        text[INSENSITIVE] = darker (@bg_color)
 
83
 
 
84
        engine "murrine" 
 
85
        {
 
86
                animation           = TRUE
 
87
                colorize_scrollbar  = TRUE
 
88
                contrast            = 0.8   # 0.8 for less contrast, more than 1.0 for more contrast on borders
 
89
                glazestyle          = 3     # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
 
90
                gradient_shades     = {1.08,1.04,1.03,1.0}
 
91
                gradients           = TRUE  # FALSE = disabled, TRUE = enabled
 
92
                highlight_ratio     = 1.03  # set highlight amount for buttons or widgets
 
93
                lightborder_ratio   = 1.2   # sets lightborder amount for buttons or widgets
 
94
                lightborderstyle    = 1     # 0 = lightborder on top side, 1 = lightborder on all sides
 
95
                listviewheaderstyle = 1     # 0 = flat, 1 = glassy, 2 = raised
 
96
                listviewstyle       = 1     # 0 = nothing, 1 = dotted
 
97
                menubaritemstyle    = 1     # 0 = menuitem look, 1 = button look
 
98
                menubarstyle        = 2     # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
 
99
                menuitemstyle       = 1     # 0 = flat, 1 = glassy, 2 = striped
 
100
                menustyle           = 0     # 0 = no vertical menu stripe, 1 = display vertical menu stripe
 
101
                reliefstyle         = 2     # 0 = flat, 1 = inset, 2 = shadow
 
102
                rgba                = FALSE  # FALSE = disabled, TRUE = enabled
 
103
                roundness           = 5     # 0 = squared, 1 = old default, more will increase roundness
 
104
                scrollbarstyle      = 3     # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
 
105
                sliderstyle         = 0     # 0 = nothing added, 1 = handles
 
106
                stepperstyle        = 1     # 0 = standard, 1 = integrated stepper handles, 2 = unknown
 
107
                toolbarstyle        = 2     # 0 = flat, 1 = glassy, 2 = gradient
 
108
        }
 
109
}
 
110
 
 
111
style "wide"
 
112
{
 
113
        xthickness = 2
 
114
        ythickness = 2
 
115
}
 
116
 
 
117
style "wider"
 
118
{
 
119
        xthickness = 3
 
120
        ythickness = 3
 
121
}
 
122
 
 
123
style "button" = "wider"
 
124
{
 
125
        bg[NORMAL]      = shade (0.995, @bg_color)
 
126
        bg[PRELIGHT]    = shade (1.04, @bg_color)
 
127
        bg[ACTIVE]      = shade (0.92, @bg_color)
 
128
        bg[INSENSITIVE] = shade (1.0, @bg_color)
 
129
 
 
130
        engine "murrine" {
 
131
                contrast = 0.55
 
132
        }
 
133
}
 
134
 
 
135
style "entry" = "wider"
 
136
{
 
137
        engine "murrine" {
 
138
                contrast = 0.45
 
139
        }
 
140
}
 
141
 
 
142
style "notebook"
 
143
{
 
144
        xthickness = 2
 
145
        ythickness = 2
 
146
 
 
147
        bg[ACTIVE]   = shade (0.98, @bg_color)
 
148
        bg[NORMAL]   = shade (1.05, @bg_color)
 
149
        bg[SELECTED] = @selected_bg_color
 
150
        fg[ACTIVE]   = shade (0.3, @bg_color)
 
151
 
 
152
        engine "murrine" {
 
153
                contrast = 0.88
 
154
        }
 
155
}
 
156
 
 
157
style "tasklist" = "wide"
 
158
{
 
159
}
 
160
 
 
161
style "menu" = "wider"
 
162
{
 
163
        bg[NORMAL] = shade (1.18, @bg_color)
 
164
}
 
165
 
 
166
style "menu-item" = "wider"
 
167
{
 
168
        xthickness = 2
 
169
        ythickness = 3
 
170
 
 
171
        fg[PRELIGHT] = @selected_fg_color
 
172
        bg[PRELIGHT] = @selected_bg_color
 
173
        bg[SELECTED] = @selected_bg_color
 
174
 
 
175
        engine "murrine" 
 
176
        {
 
177
                roundness = 2
 
178
        }
 
179
}
 
180
 
 
181
style "separator-menu-item"
 
182
{
 
183
}
 
184
 
 
185
style "treeview"
 
186
{
 
187
}
 
188
 
 
189
style "treeview-header" = "default"
 
190
{
 
191
        bg[NORMAL]      = shade (0.99, @bg_color)
 
192
        bg[PRELIGHT]    = shade (1.04, @bg_color)
 
193
        bg[ACTIVE]      = shade (0.92, @bg_color)
 
194
        bg[INSENSITIVE] = @bg_color
 
195
}
 
196
 
 
197
style "frame-title"
 
198
{
 
199
        fg[NORMAL] = lighter (@fg_color)
 
200
}
 
201
 
 
202
style "tooltips" = "wider"
 
203
{
 
204
        bg[NORMAL] = @tooltip_bg_color
 
205
        fg[NORMAL] = @tooltip_fg_color
 
206
}
 
207
 
 
208
style "progressbar"
 
209
{
 
210
        xthickness = 0
 
211
        ythickness = 0
 
212
 
 
213
        fg[PRELIGHT] = @selected_fg_color
 
214
        bg[NORMAL]   = shade (0.98, @bg_color)
 
215
        bg[SELECTED] = @selected_bg_color
 
216
}
 
217
 
 
218
style "statusbar"
 
219
{
 
220
}
 
221
 
 
222
style "comboboxentry"
 
223
{
 
224
}
 
225
 
 
226
style "spinbutton"
 
227
{
 
228
}
 
229
 
 
230
style "scale" = "button"
 
231
{
 
232
        GtkRange::slider-width = 15
 
233
}
 
234
 
 
235
style "hscale"
 
236
{
 
237
}
 
238
 
 
239
style "vscale"
 
240
{
 
241
}
 
242
 
 
243
style "scrollbar"
 
244
{
 
245
        bg[NORMAL] = shade (1.1, @bg_color)
 
246
}
 
247
 
 
248
style "hscrollbar"
 
249
{
 
250
}
 
251
 
 
252
style "vscrollbar"
 
253
{
 
254
}
 
255
 
 
256
style "menubar"
 
257
{
 
258
        bg[SELECTED] = shade (0.93, @selected_bg_color)
 
259
}
 
260
 
 
261
style "nautilus-location"
 
262
{
 
263
}
 
264
 
 
265
style "radiocheck" = "default"
 
266
{
 
267
        text[NORMAL]   = @selected_fg_color
 
268
        text[PRELIGHT] = @selected_fg_color
 
269
}
 
270
 
 
271
style "panel"
 
272
{
 
273
        fg[NORMAL]   = @selected_fg_color
 
274
        fg[PRELIGHT] = @selected_fg_color
 
275
        fg[ACTIVE]   = @selected_fg_color
 
276
        bg[NORMAL]   = shade (0.5, @bg_color)
 
277
        bg[ACTIVE]   = shade (0.4, @bg_color)
 
278
        bg[PRELIGHT] = shade (0.45, @bg_color)
 
279
        
 
280
        engine "murrine" {
 
281
                contrast = 0.88
 
282
        }
 
283
}
 
284
 
 
285
style "panel-bold" = "panel"
 
286
{
 
287
        font_name = "Bold"
 
288
}
 
289
 
 
290
style "smaller-text"
 
291
{
 
292
        font_name = "7"
 
293
}
 
294
 
 
295
style "handle"
 
296
{
 
297
        bg[NORMAL] = shade (0.4, @bg_color)
 
298
}
 
299
 
 
300
style "calendar" {
 
301
        engine "murrine" {
 
302
                roundness = 0
 
303
        }
 
304
}
 
305
 
 
306
#########################################
 
307
# Matches
 
308
#########################################
 
309
 
 
310
# theme radio buttons and checkmarks
 
311
class "GtkRadio*"                               style "radiocheck"
 
312
class "GtkCheck*"                               style "radiocheck"
 
313
 
 
314
# theme default style is applied to every widget
 
315
class "GtkWidget"                               style "default"
 
316
 
 
317
# Increase the x/ythickness in some widgets
 
318
class "GtkToolbar"                              style "default" 
 
319
class "GtkRange"                                style "wide"
 
320
class "GtkFrame"                                style "wide"
 
321
class "GtkSeparator"                            style "wide"
 
322
class "GtkEntry"                                style "entry"
 
323
class "GtkCalendar"                             style "calendar"
 
324
 
 
325
class "GtkSpinButton"                           style "spinbutton"
 
326
class "GtkScale"                                style "scale"
 
327
class "GtkVScale"                               style "vscale"
 
328
class "GtkHScale"                               style "hscale"
 
329
class "GtkScrollbar"                            style "scrollbar"
 
330
class "GtkVScrollbar"                           style "vscrollbar"
 
331
class "GtkHScrollbar"                           style "hscrollbar"
 
332
 
 
333
# General matching following, the order is choosen so that the right styles override each other
 
334
# eg. progressbar needs to be more important then the menu match.
 
335
 
 
336
# This is not perfect, it could be done better
 
337
# (That is modify *every* widget in the notebook, and change those back that
 
338
# we really don't want changed)
 
339
widget_class "*<GtkNotebook>*<GtkEventBox>"     style "notebook"
 
340
widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "notebook"
 
341
widget_class "*<GtkNotebook>*<GtkLayout>"       style "notebook"
 
342
widget_class "*<GtkNotebook>*<GtkLabel>"  style "notebook"
 
343
 
 
344
widget_class "*<GtkButton>"                     style "button"
 
345
widget_class "*<GtkNotebook>"                   style "notebook"
 
346
widget_class "*<GtkStatusbar>*"                 style "statusbar"
 
347
 
 
348
widget_class "*<GtkComboBoxEntry>*"             style "comboboxentry"
 
349
widget_class "*<GtkCombo>*"                     style "comboboxentry"
 
350
 
 
351
widget_class "*<GtkMenuBar>*"                   style "menubar"
 
352
widget_class "*<GtkMenu>*"                      style "menu"
 
353
widget_class "*<GtkMenuItem>*"                  style "menu-item"
 
354
widget_class "*<GtkSeparatorMenuItem>*"         style "separator-menu-item"
 
355
 
 
356
widget_class "*.<GtkFrame>.<GtkLabel>"          style "frame-title"
 
357
widget_class "*.<GtkTreeView>*"                 style "treeview"
 
358
 
 
359
widget_class "*<GtkProgressBar>"                style "progressbar"
 
360
 
 
361
# Treeview header
 
362
widget_class "*.<GtkTreeView>.<GtkButton>"      style "treeview-header"
 
363
widget_class "*.<GtkCTree>.<GtkButton>"         style "treeview-header"
 
364
widget_class "*.<GtkList>.<GtkButton>"          style "treeview-header"
 
365
widget_class "*.<GtkCList>.<GtkButton>"         style "treeview-header"
 
366
 
 
367
# Workarounds for Evolution
 
368
widget_class "*.ETable.ECanvas"                 style "treeview-header"
 
369
widget_class "*.ETree.ECanvas"                  style "treeview-header"
 
370
 
 
371
# Panel style
 
372
class "*Panel*" style "panel"
 
373
class "*notif*" style "panel"
 
374
class "*Notif*" style "panel"
 
375
class "*Tray*" style "panel"
 
376
class "*tray*" style "panel"
 
377
 
 
378
widget_class "*ToolButton*" style "smaller-text"
 
379
widget_class "*Statusbar*" style "smaller-text"
 
380
widget_class "*Mail*" style "panel"
 
381
widget "*PanelWidget*" style "panel"
 
382
widget "*PanelApplet*" style "panel"
 
383
 
 
384
# Panel bold style
 
385
widget "*fast-user-switch-applet*" style "panel-bold"
 
386
widget "*Panel*MenuBar*" style "panel-bold"  
 
387
widget "*gimmie*" style "panel-bold"
 
388
 
 
389
 
 
390
class "PanelAppletFrame" style "handle"
 
391
 
 
392
# The window of the tooltip is called "gtk-tooltip"
 
393
################################
 
394
# FIXME:
 
395
# This will not work if one embeds eg. a button into the tooltip.
 
396
# As far as I can tell right now we will need to rework the theme
 
397
# quite a bit to get this working correctly.
 
398
# (It will involve setting different priorities, etc.)
 
399
################################
 
400
widget "gtk-tooltip*"                           style "tooltips"
 
401
 
 
402
###################################################
 
403
# Special cases and work arounds
 
404
###################################################
 
405
 
 
406
# Special case the nautilus-extra-view-widget
 
407
# ToDo: A more generic approach for all applications that have a widget like this.
 
408
widget "*.nautilus-extra-view-widget"           style : highest "nautilus-location"
 
409
 
 
410
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
 
411
# Note that the work around assumes that the combobox is _not_ in
 
412
# appears-as-list mode.
 
413
# Similar hack also in the menuitem style.
 
414
# This style does not affect GtkComboBoxEntry, it does have an effect
 
415
# on comboboxes in appears-as-list mode though.
 
416
style "combobox-text-color-workaround"
 
417
{
 
418
        text[NORMAL]      = @fg_color
 
419
        text[PRELIGHT]    = @fg_color
 
420
        text[SELECTED]    = @selected_fg_color
 
421
        text[ACTIVE]      = @fg_color
 
422
        text[INSENSITIVE] = darker (@bg_color)
 
423
}
 
424
widget_class "*.<GtkComboBox>.<GtkCellView>"    style "combobox-text-color-workaround"
 
425
 
 
426
style "menuitem-text-is-fg-color-workaround"
 
427
{
 
428
        text[NORMAL]        = @fg_color
 
429
        text[PRELIGHT]      = @selected_fg_color
 
430
        text[SELECTED]      = @selected_fg_color
 
431
        text[ACTIVE]        = @fg_color
 
432
        text[INSENSITIVE]   = darker (@bg_color)
 
433
}
 
434
 
 
435
widget "*.gtk-combobox-popup-menu.*"                    style "menuitem-text-is-fg-color-workaround"
 
436
 
 
437
# Work around the usage of GtkLabel inside GtkListItems to display text.
 
438
# This breaks because the label is shown on a background that is based on the
 
439
# base color set.
 
440
style "fg-is-text-color-workaround"
 
441
{
 
442
        fg[NORMAL]      = @text_color
 
443
        fg[PRELIGHT]    = @text_color
 
444
        fg[ACTIVE]      = @selected_fg_color
 
445
        fg[SELECTED]    = @selected_fg_color
 
446
        fg[INSENSITIVE] = darker (@bg_color)
 
447
}
 
448
 
 
449
widget_class "*<GtkListItem>*"                          style "fg-is-text-color-workaround"
 
450
# The same problem also exists for GtkCList and GtkCTree
 
451
# Only match GtkCList and not the parent widgets, because that would also change the headers.
 
452
 
 
453
widget_class "*<GtkCList>"                              style "fg-is-text-color-workaround"