79
67
####################
80
68
# Color Definitions
81
69
####################
70
bg[NORMAL] = @bg_color
71
bg[PRELIGHT] = shade (1.02, @bg_color)
72
bg[SELECTED] = @selected_bg_color
73
bg[INSENSITIVE] = shade (0.95, @bg_color)
74
bg[ACTIVE] = shade (0.9, @bg_color)
82
76
fg[NORMAL] = @fg_color
83
77
fg[PRELIGHT] = @fg_color
78
fg[SELECTED] = @selected_fg_color
79
fg[INSENSITIVE] = darker (@bg_color)
84
80
fg[ACTIVE] = @fg_color
85
fg[SELECTED] = @selected_fg_color
86
fg[INSENSITIVE] = darker (@bg_color)
88
bg[NORMAL] = @bg_color
89
bg[PRELIGHT] = shade (1.02, @bg_color)
90
bg[ACTIVE] = shade (0.88, @bg_color)
91
bg[SELECTED] = @selected_bg_color
92
bg[INSENSITIVE] = @bg_color
82
text[NORMAL] = @text_color
83
text[PRELIGHT] = @text_color
84
text[SELECTED] = @selected_fg_color
85
text[INSENSITIVE] = shade (0.8, @bg_color)
86
text[ACTIVE] = @text_color
94
88
base[NORMAL] = @base_color
95
base[PRELIGHT] = shade (0.95, @bg_color)
96
base[ACTIVE] = mix (0.7, @selected_bg_color, @bg_color)
89
base[PRELIGHT] = shade (0.98, @bg_color)
97
90
base[SELECTED] = @selected_bg_color
98
base[INSENSITIVE] = @bg_color
100
text[NORMAL] = @text_color
101
text[PRELIGHT] = @text_color
102
text[ACTIVE] = @selected_fg_color
103
text[SELECTED] = @selected_fg_color
104
text[INSENSITIVE] = darker (@bg_color)
108
animation = TRUE # FALSE = disabled, TRUE = enabled
109
arrowstyle = 1 # 0 = normal arrows, 1 = filled arrows
110
#border_colors = { "#ffffff", "#ffffff" } # colors used on borders of many widgets
111
border_shades = { 1.2, 1.0 } # gradient to draw on border
112
comboboxstyle = 1 # 0 = normal combobox, 1 = colorized combobox below arrow
113
colorize_scrollbar = FALSE # FALSE = disabled, TRUE = enabled
114
contrast = 0.4 # 0.8 for less contrast, more than 1.0 for more contrast on borders
115
focus_color = "#FE765E"
116
glazestyle = 4 # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl
117
glow_shade = 1.1 # sets glow amount for buttons or widgets
118
glowstyle = 0 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = center (vertical), 4 = center (horizontal)
119
gradient_shades = {1.2,1.0,1.0,0.9} # default: {1.1,1.0,1.0,1.1}
120
highlight_shade = 1.0 # set highlight amount for buttons or widgets
121
lightborder_shade = 1.1 # sets lightborder amount for buttons or widgets
122
lightborderstyle = 0 # 0 = lightborder on top side, 1 = lightborder on all sides
123
listviewheaderstyle = 1 # 0 = flat, 1 = glassy, 2 = raised
124
listviewstyle = 2 # 0 = nothing, 1 = dotted 2 = solid
125
menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
126
menubarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
127
menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped
128
menustyle = 0 # 0 = no vertical menu stripe, 1 = display vertical menu stripe
129
prelight_shade = .95 # shade level for scrollbar's slider, comboboxstyle(1), and prelight state with gradient_colors
130
progressbarstyle = 0 # 0 = no stripes, 1 = diagonal stripes, 2 = vertical stripes
131
reliefstyle = 4 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient
132
rgba = FALSE # FALSE = disabled, TRUE = enabled
133
roundness = 3 # 0 = squared, 1 = old default, more will increase roundness
134
scrollbarstyle = 2 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
136
shadow_shades = { 0.8, 2.2 } # draw gradient on shadow of some widgets
137
sliderstyle = 1 # 0 = nothing added, 1 = handles
138
spinbuttonstyle = 0 # 0 = no seperator, 1 = with separator
139
stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles, 2 = squared steppers with round slider
140
textstyle = 0 # 0 = normal text, 1 = inset
141
toolbarstyle = 0 # 0 = flat, 1 = glassy, 2 = gradient
142
trough_shades = { 0.88, 2.0 } # draw gradient on trough of GtkScrollbar and GtkProgressbar
146
style "selected" = "default"
148
bg[NORMAL] = shade (0.75, @bg_color)
149
bg[PRELIGHT] = shade (0.85, @bg_color)
150
bg[SELECTED] = shade (0.85, @bg_color)
151
bg[ACTIVE] = shade (0.75, @bg_color)
152
bg[INSENSITIVE] = mix (0.35, @selected_bg_color, @bg_color)
172
bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
173
fg[SELECTED] = @text_color
177
border_shades = {1.0, 1.0 }
182
style "button" = "selected"
187
bg[NORMAL] = @button_bg_color
188
bg[PRELIGHT] = shade (1.0, @button_bg_color)
189
bg[SELECTED] = shade (1.0, @button_bg_color)
190
bg[ACTIVE] = shade (0.9, @button_bg_color)
191
bg[INSENSITIVE] = mix (0.3, @button_bg_color, @bg_color)
197
lightborder_shade = 3.0
198
gradient_shades = {1.2,0.9,0.9,0.78}
199
shadow_shades = { 0.8, 2.2 }
200
border_colors = { "#919191", "#898989" } # colors used on borders of many widgets
201
border_shades = { 1.1, 1.0 } # gradient to draw on border
210
style "toolbar-item" = "toolbar"
214
style "notebook" = "wider"
219
gradient_shades = {1.1,1.06,0.92,0.85} # { 1.1, 1.02, 0.97, 0.93 }
220
lightborder_shade = 2.0
223
#bg[ACTIVE] = shade (0.92, @bg_color)
227
style "panel" = "selected"
232
bg_pixmap[NORMAL] = "panel_bg.png"
234
bg[ACTIVE] = shade (0.65, @selected_bg_color)
245
text[NORMAL] = "#ffffff"
246
base[NORMAL] = "#300a24"
247
TerminalScreen::background-darkness=0.95
255
bg[INSENSITIVE] = mix (0.4, @selected_bg_color, @bg_color)
263
style "menu-item" = "default"
277
style "separator-menu-item"
91
base[INSENSITIVE] = shade (0.97, @bg_color)
92
base[ACTIVE] = shade (0.94, @bg_color)
100
default_button_color = shade (1.1, @selected_bg_color)
101
gradient_shades = {1.1, 1.0, 1.0, 0.9}
103
lightborder_shade = 1.26
107
colorize_scrollbar = FALSE
123
bg[NORMAL] = "#dfd7cf"
124
bg[PRELIGHT] = shade (1.05, "#dfd7cf")
125
bg[SELECTED] = @selected_bg_color
126
bg[ACTIVE] = shade (0.95, "#dfd7cf")
127
bg[INSENSITIVE] = "#dfd7cf"
158
bg[NORMAL] = mix (0.4, "#dfd7cf", "#cdcdcd")
159
bg[PRELIGHT] = mix (0.4, "#dfd7cf", shade (1.04, "#cdcdcd"))
160
bg[ACTIVE] = mix (0.4, "#dfd7cf", shade (0.96, "#cdcdcd"))
161
bg[INSENSITIVE] = mix (0.4, @bg_color, "#e2e1e1")
162
fg[INSENSITIVE] = mix (0.4, "#dfd7cf", "#9c9c9c")
166
border_shades = {1.02, 0.92}
174
style "notebook_button" {
179
bg[NORMAL] = @bg_color
180
bg[PRELIGHT] = shade (1.04, @bg_color)
181
bg[ACTIVE] = shade (0.96, @bg_color)
182
bg[INSENSITIVE] = @bg_color
187
border_shades = {0.95, 0.88}
190
lightborder_shade = 1.32
191
# lightborderstyle = 0
196
style "spinbutton" = "notebook_button" {
203
style "scrollbar" = "button" {
207
bg[NORMAL] = @bg_color
208
bg[PRELIGHT] = shade (1.04, @bg_color)
209
bg[ACTIVE] = shade (0.96, @bg_color)
213
border_shades = {0.95, 0.90}
216
trough_shades = {0.92, 0.98}
217
lightborder_shade = 1.3
220
gradient_shades = {1.2, 1.0, 1.0, 0.86}
221
trough_border_shades = {0.9, 0.98}
231
style "scale" = "button" {
232
bg[NORMAL] = @bg_color
233
bg[PRELIGHT] = shade (1.06, @bg_color)
234
bg[ACTIVE] = shade (0.94, @bg_color)
238
border_shades = {0.9, 0.8}
240
lightborder_shade = 1.32
241
gradient_shades = {1.1, 1.0, 1.0, 0.8}
243
trough_border_shades = {0.9, 1.4}
246
# shadow_shades = { 1.0, 0.9 }
250
style "notebook_bg" {
251
bg[NORMAL] = shade (1.02, @bg_color)
252
bg[ACTIVE] = shade (0.97, @bg_color)
253
fg[ACTIVE] = mix (0.9, @fg_color, @bg_color)
256
# The color is changed by the notebook_bg style, this style
257
# changes the x/ythickness
266
lightborder_shade = 1.16
276
style "comboboxentry" = "notebook_button" {
287
style "menubar" = "dark" {
291
gradient_shades = {1.0, 1.0, 1.0, 1.0}
292
lightborder_shade = 1.1
303
style "toolbar-button" = "notebook_button" {
308
style "menu" = "dark" {
312
bg[NORMAL] = "#ece7e2"
313
# fg[INSENSITIVE] = shade (0.8, "#4D4C48")
322
style "menu_item" = "menu" {
326
fg[PRELIGHT] = @selected_fg_color
332
# lightborder_shade = 1.0
333
# border_shades = { 1.5, 1.3 }
338
style "menubar_item" = "menu_item" {
339
bg[PRELIGHT] = "#ece7e2"
340
fg[PRELIGHT] = @fg_color
343
gradient_shades = {1.00, 1.0, 1.0, 1.0}
345
border_shades = { 1.0, 1.0 }
348
lightborder_shade = 1.2
353
style "scale_menu_item" = "scale" {
356
lightborder_shade = 1.32
361
# This style is there to modify the separator menu items. The goals are:
362
# 1. Get a specific height.
363
# 2. The line should go to the edges (ie. no border at the left/right)
364
style "separator_menu_item" {
368
GtkSeparatorMenuItem::horizontal-padding = 0
279
369
GtkWidget::wide-separators = 1
280
370
GtkWidget::separator-width = 1
281
GtkWidget::separator-height = 2
371
GtkWidget::separator-height = 7
379
style "separator_tool_item" {
383
GtkVSeparator::vertical-padding = 0
384
GtkWidget::wide-separators = 1
385
GtkWidget::separator-width = 7
386
GtkWidget::separator-height = 1
394
style "frame_title" {
395
fg[NORMAL] = lighter (@fg_color)
402
lightborder_shade = 1.1
403
gradient_shades = {1.04, 1.0, 1.0, 0.96}
407
style "progressbar" {
411
bg[ACTIVE] = shade (0.94, @bg_color)
412
#bg[SELECTED] = "#cdcdcd"
413
fg[PRELIGHT] = "#793C24"
416
#trough_shades = {0.98, 1.02}
419
lightborder_shade = 1.26
420
border_shades = {0.95, 0.85}
421
gradient_shades = {1.1, 1.0, 1.0, 0.9}
422
trough_border_shades = {0.9, 1.4}
426
style "progressbar_menu_item" = "progressbar" {
432
# This style is based on the default style, so that the colors from the button
433
# style are overriden again.
434
style "treeview_header" = "notebook_button" {
441
lightborder_shade = 1.16
447
style "treeview_header_scrolled" = "treeview_header" {
450
style "scrolledwindow" {
456
style "radiocheck" = "button" {
457
text[NORMAL] = "#793c24"
458
text[PRELIGHT] = shade(1.06, "#793c24")
459
bg[NORMAL] = shade (0.92, @bg_color)
460
bg[PRELIGHT] = mix (0.2, @selected_bg_color, shade(1.1, @bg_color))
464
gradient_shades = {1.2, 1.0, 1.0, 0.9}
465
shadow_shades = {0.6, 0.5}
474
bg[NORMAL] = @tooltip_bg_color
475
fg[NORMAL] = @tooltip_fg_color
476
bg[SELECTED] = "#000000"
488
style "nautilus_location" {
489
bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
290
style "treeview-header" = "selected"
306
bg[NORMAL] = @tooltip_bg_color
307
bg[SELECTED] = "#000000"
308
fg[NORMAL] = @tooltip_fg_color
318
border_shades = { .8, .8} # draw a gradient on the border.
319
border_colors = { "#FE765E", "#FE765E" }
321
glazestyle = 0 # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl
322
glow_shade = 1.14 # sets glow amount for buttons or widgets
323
glowstyle = 0 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = center (vertical), 4 = center (horizontal)
324
gradient_shades = {1.1,.9,.9,.8}
325
#highlight_shade = 1.02 # set highlight amount for buttons or widgets
326
#lightborder_shade = 1.2 # sets lightborder amount for buttons or widgets
330
bg[NORMAL] = shade (1.0, @bg_color)
331
bg[PRELIGHT] = shade (1.2, @bg_color)
332
bg[SELECTED] = "#FE765E"
334
fg[PRELIGHT] = "#fff"
341
style "comboboxentry"
358
GtkRange::slider-width = 14
363
glazestyle = 0 # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl
364
glow_shade = 1.14 # sets glow amount for buttons or widgets
365
glowstyle = 0 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = center (vertical), 4 = center (horizontal)
366
highlight_shade = 1.02 # set highlight amount for buttons or widgets
370
bg[NORMAL] = shade (1.0, @bg_color)
371
bg[PRELIGHT] = shade (.9, @bg_color)
372
bg[SELECTED] = "#FE765E"
387
border_shades = { .8, .6} # draw a gradient on the border.
388
border_colors = { @bg_color, @bg_color }
390
glazestyle = 0 # 0 = flat, 1 = curved, 2 = concave, 3 = top-curved, 4 = beryl
391
glow_shade = 1.14 # sets glow amount for buttons or widgets
392
glowstyle = 0 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = center (vertical), 4 = center (horizontal)
393
highlight_shade = 1.02 # set highlight amount for buttons or widgets
394
lightborder_shade = 1.2 # sets lightborder amount for buttons or widgets
398
bg[NORMAL] = shade (1.0, @bg_color)
399
bg[PRELIGHT] = shade (.9, @bg_color)
410
style "menubar" = "default"
412
bg[NORMAL] = "#e0d6ba"
501
style "calendar_menu_item" = "calendar" {
502
# base[NORMAL] = "#c5bfb7"
417
bg[NORMAL] = "#F7F5F2"
424
style "frame-title" = "frame"
428
style "nautilus-handle"
430
GtkPaned::handle-size = 2
433
style "nautilus-location"
435
bg[NORMAL] = mix(0.60, @bg_color, @selected_bg_color)
438
style "nautilus-sidebar"
440
# GtkTreeView::even_row_color = @bg_color
445
bg[SELECTED] = "#FE765E"
450
highlight_shade = 1.0
451
lightborder_shade = 1.0
452
gradient_shades = {1.5,1.3,1.0,0.9}
456
#########################################
458
#########################################
460
widget "ido-offscreen-scale" style "soundfix"
461
widget "*IdoEntryMenuItem*" style "wide"
463
# default style is applied to every widget
464
class "GtkWidget" style "default"
466
# Increase the x/ythickness in some widgets
467
class "GtkToolbar" style "default"
468
class "GtkRange" style "wide"
469
class "GtkFrame" style "wide"
470
class "GtkSeparator" style "wide"
471
class "GtkEntry" style "entry"
473
class "GtkSpinButton" style "spinbutton"
474
class "GtkScale" style "scale"
475
class "GtkVScale" style "vscale"
476
class "GtkHScale" style "hscale"
477
class "GtkScrollbar" style "scrollbar"
478
class "GtkVScrollbar" style "vscrollbar"
479
class "GtkHScrollbar" style "hscrollbar"
481
class "GtkRadioButton" style:highest "radiocheck"
482
class "GtkCheckButton" style:highest "radiocheck"
484
widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook"
485
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebook"
486
widget_class "*<GtkNotebook>*<GtkLayout>" style "notebook"
487
widget_class "*<GtkNotebook>*<GtkViewport>" style "notebook"
488
widget_class "*<GtkNotebook>*<GtkScrolledWindow>" style "notebook"
490
widget_class "*<GtkButton>" style "button"
491
widget_class "*<GtkNotebook>" style "notebook"
492
widget_class "*<GtkStatusbar>*" style "statusbar"
494
widget_class "*<GtkComboBoxEntry>*" style:highest "comboboxentry"
495
widget_class "*<GtkComboBox>*" style:highest "comboboxentry"
496
widget_class "*<GtkOptionMenu>*" style:highest "comboboxentry"
497
widget_class "*<GtkCombo>*" style:highest "comboboxentry"
499
widget_class "*<GtkMenuBar>*" style "menubar"
500
widget_class "*<GtkMenu>*" style "menu"
501
widget_class "*<GtkMenuItem>*" style "menu-item"
502
widget_class "*<GtkSeparatorMenuItem>*" style "separator-menu-item"
504
widget_class "*.<GtkFrame>.<GtkLabel>" style "frame-title"
505
widget_class "*.<GtkTreeView>*" style "treeview"
507
widget_class "*<GtkProgress>" style "progressbar"
508
widget_class "*<GtkProgressBar>" style "progressbar"
511
widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview-header"
512
widget_class "*.<GtkCTree>.<GtkButton>" style "treeview-header"
513
widget_class "*.<GtkList>.<GtkButton>" style "treeview-header"
514
widget_class "*.<GtkCList>.<GtkButton>" style "treeview-header"
516
# Workarounds for Evolution
517
widget_class "*.ETable.ECanvas" style "treeview-header"
518
widget_class "*.ETree.ECanvas" style "treeview-header"
509
# Wrokaround style for places where the text color is used instead of the fg color.
510
style "text_is_fg_color_workaround" {
511
text[NORMAL] = @fg_color
512
text[PRELIGHT] = @fg_color
513
text[SELECTED] = @selected_fg_color
514
text[ACTIVE] = @fg_color
515
text[INSENSITIVE] = darker (@bg_color)
518
# Workaround style for menus where the text color is used instead of the fg color.
519
style "menuitem_text_is_fg_color_workaround" {
520
text[NORMAL] = @fg_color
521
text[PRELIGHT] = @selected_fg_color
522
text[SELECTED] = @selected_fg_color
523
text[ACTIVE] = @fg_color
524
text[INSENSITIVE] = "#99958b"
527
# Workaround style for places where the fg color is used instead of the text color.
528
style "fg_is_text_color_workaround" {
529
fg[NORMAL] = @text_color
530
fg[PRELIGHT] = @text_color
531
fg[SELECTED] = @selected_fg_color
532
fg[ACTIVE] = @selected_fg_color
533
fg[INSENSITIVE] = darker (@bg_color)
536
# Style to set the toolbar to use a flat style. This is because the "New" button in
537
# Evolution is not drawn transparent. So if there is a gradient in the background it will
539
# See http://bugzilla.gnome.org/show_bug.cgi?id=446953.
540
style "evo_new_button_workaround" {
543
###############################################################################
544
# The following part of the gtkrc applies the different styles to the widgets.
545
###############################################################################
547
# The default style is applied to every widget
548
class "GtkWidget" style "default"
550
class "GtkSeparator" style "wide"
551
class "GtkFrame" style "wide"
552
class "GtkCalendar" style "wide"
553
class "GtkEntry" style "entry"
555
class "GtkSpinButton" style "spinbutton"
556
class "GtkScale" style "scale"
557
class "GtkVScale" style "vscale"
558
class "GtkHScale" style "hscale"
559
class "GtkScrollbar" style "scrollbar"
560
class "GtkHScrollbar" style "hscrollbar"
561
class "GtkVScrollbar" style "vscrollbar"
562
class "GtkCalendar" style "calendar"
563
class "GtkInfoBar" style "infobar"
565
# General matching follows. The order is choosen so that the right styles override
566
# each other. EG. progressbar needs to be more important than the menu match.
567
widget_class "*<GtkNotebook>" style "notebook_bg"
568
# This is not perfect, it could be done better.
569
# (That is modify *every* widget in the notebook, and change those back that
570
# we really don't want changed)
571
widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook_bg"
572
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebook_bg"
573
widget_class "*<GtkNotebook>*<GtkLayout>" style "notebook_bg"
574
widget_class "*<GtkNotebook>*<GtkLabel>" style "notebook_bg"
576
widget_class "*<GtkToolbar>*" style "toolbar"
577
widget_class "*<GtkScrolledWindow>*" style "scrolledwindow"
579
widget_class "*<GtkButton>" style "button"
580
widget_class "*<GtkButton>*<GtkLabel>" style "button"
581
widget_class "*<GtkToolbar>.*.<GtkButton>*" style "notebook_button"
582
widget_class "*<GtkNotebook>" style "notebook"
583
widget_class "*<GtkStatusbar>*" style "statusbar"
584
widget_class "*<GtkSpinButton>*" style "spinbutton"
585
widget_class "*<GtkNotebook>*<GtkButton>" style "notebook_button"
586
widget_class "*<GtkNotebook>*<GtkButton>*<GtkLabel>" style "notebook_button"
587
widget_class "*<GtkRadioButton>*" style "radiocheck"
588
widget_class "*<GtkCheckButton>*" style "radiocheck"
590
widget_class "*<GtkComboBoxEntry>*" style "comboboxentry"
591
widget_class "*<GtkCombo>*" style "comboboxentry"
593
widget_class "*<GtkMenuBar>*" style "menubar"
594
widget_class "*<GtkMenu>*" style "menu"
595
widget_class "*<GtkMenuItem>*" style "menu_item"
596
widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"
597
widget_class "*<GtkSeparatorToolItem>*" style "separator_tool_item"
598
widget_class "*<GtkMenuBar>*<GtkMenuItem>*" style "menubar_item"
600
widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title"
601
widget_class "*.<GtkTreeView>*" style "treeview"
603
widget_class "*<GtkProgress>" style "progressbar"
604
widget_class "*<GtkMenuItem>.*.<GtkProgressBar>" style "progressbar_menu_item"
605
widget_class "*<GtkMenuItem>.*.<GtkScale>" style "scale_menu_item"
606
widget_class "*<GtkMenuItem>.*.<GtkCalendar>" style "calendar_menu_item"
608
# Treeview headers (and similar stock GTK+ widgets)
609
widget_class "*.<GtkScrolledWindow>*<GtkTreeView>*" style "treeview_header_scrolled"
610
widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header"
611
widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header"
612
widget_class "*.<GtkList>.<GtkButton>" style "treeview_header"
613
widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header"
614
widget_class "*.<GtkTreeView>.<GtkButton>.*<GtkLabel>" style "treeview_header"
615
widget_class "*.<GtkCTree>.<GtkButton>.*<GtkLabel>" style "treeview_header"
616
widget_class "*.<GtkList>.<GtkButton>.*<GtkLabel>" style "treeview_header"
617
widget_class "*.<GtkCList>.<GtkButton>.*<GtkLabel>" style "treeview_header"
520
619
# The window of the tooltip is called "gtk-tooltip"
521
################################
620
##################################################################
523
622
# This will not work if one embeds eg. a button into the tooltip.
524
623
# As far as I can tell right now we will need to rework the theme
525
624
# quite a bit to get this working correctly.
526
625
# (It will involve setting different priorities, etc.)
527
################################
528
widget "gtk-tooltip*" style "tooltips"
530
###################################################
531
# Special cases and work arounds
532
###################################################
626
##################################################################
627
widget "gtk-tooltip*" style "tooltips"
629
##########################################################################
630
# Following are special cases and workarounds for issues in applications.
631
##########################################################################
633
# Workaround for the evolution ETable (bug #527532)
634
widget_class "*.ETable.ECanvas" style "treeview_header"
635
# Workaround for the evolution ETree
636
widget_class "*.ETree.ECanvas" style "treeview_header"
534
638
# Special case the nautilus-extra-view-widget
535
639
# ToDo: A more generic approach for all applications that have a widget like this.
536
widget "*.nautilus-extra-view-widget" style : highest "nautilus-location"
539
widget_class "*Nautilus*Places*Sidebar*" style "nautilus-sidebar"
540
widget_class "*Nautilus*Side*.GtkWidget" style "nautilus-sidebar"
541
widget "*Nautilus*Splitter" style "nautilus-handle"
640
widget "*.nautilus-extra-view-widget" style : highest "nautilus_location"
544
642
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
545
# Note that the work around assumes that the combobox is _not_ in
546
# appears-as-list mode.
547
# Similar hack also in the menuitem style.
548
# This style does not affect GtkComboBoxEntry, it does have an effect
549
# on comboboxes in appears-as-list mode though.
550
style "combobox-text-color-workaround"
552
text[NORMAL] = @fg_color
553
text[PRELIGHT] = @fg_color
554
text[ACTIVE] = @fg_color
555
text[SELECTED] = @selected_fg_color
556
text[INSENSITIVE] = shade (0.65, @bg_color)
558
widget_class "*.<GtkComboBox>.<GtkCellView>" style "combobox-text-color-workaround"
560
style "menuitem-text-is-fg-color-workaround"
562
text[NORMAL] = @fg_color
563
text[PRELIGHT] = @selected_fg_color
564
text[ACTIVE] = @fg_color
565
text[SELECTED] = @selected_fg_color
566
text[INSENSITIVE] = shade (0.65, @bg_color)
569
widget "*.gtk-combobox-popup-menu.*" style "menuitem-text-is-fg-color-workaround"
643
# Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
644
widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
645
# This is the part of the workaround that fixes the menus
646
widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround"
571
648
# Work around the usage of GtkLabel inside GtkListItems to display text.
572
# This breaks because the label is shown on a background that is based on the
574
style "fg-is-text-color-workaround"
576
fg[NORMAL] = @text_color
577
fg[PRELIGHT] = @text_color
578
fg[ACTIVE] = @selected_fg_color
579
fg[SELECTED] = @selected_fg_color
580
fg[INSENSITIVE] = shade (0.65, @bg_color)
583
widget_class "*<GtkListItem>*" style "fg-is-text-color-workaround"
585
# The same problem also exists for GtkCList and GtkCTree
586
# Only match GtkCList and not the parent widgets, because that would also change the headers.
587
widget_class "*<GtkCList>" style "fg-is-text-color-workaround"
589
style "evo-new-button-workaround"
598
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo-new-button-workaround"
600
# Theme panel elements
601
widget "*PanelWidget*" style "panel"
602
widget "*PanelApplet*" style "panel"
603
widget "*fast-user-switch*" style "panel" # workaround for Fast User Switch applet
604
class "PanelApp*" style "panel"
605
class "PanelToplevel*" style "panel"
606
widget_class "*notif*" style "panel"
607
widget_class "*Notif*" style "panel"
609
class "TerminalScreen" style "terminal"
649
# This breaks because the label is shown on a background that is based on the base color.
650
widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
651
# GtkCList also uses the fg color to draw text on top of the base colors.
652
widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
653
# Nautilus when renaming files, and maybe other places.
654
widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
655
# Work around for ubuntu's lucid sound indicator
656
widget "ido-offscreen-scale" style "soundfix"
657
# Thickness for indicator menu items
658
widget "*IdoEntryMenuItem*" style "wide"
660
# See the documentation of the style.
661
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround"
664
#include "apps/banshee.rc"
665
include "apps/chromium.rc"
667
include "apps/gnome-panel.rc"
668
include "apps/gnome-terminal.rc"
669
include "apps/nautilus.rc"