1 gtk-font-name = "DejaVu Sans 8"
2 gtk-color-scheme = "base_color:#ffffff\nfg_color:#4c4c4c\ntooltip_fg_color:#ffffff\nselected_bg_color:#f07746\nselected_fg_color:#FFFFFF\ntext_color:#3C3C3C\nbg_color:#F2F1F0\ntooltip_bg_color:#000000\nlink_color:#DD4814"
4 gtk-icon-sizes = "panel-menu=22,22:gtk-button=16,16"
7 gtk-alternative-sort-arrows = 1
13 #######################
15 #######################
16 GtkButton::child-displacement-x = 1
17 GtkButton::child-displacement-y = 1
18 GtkButton::default-border = { 0, 0, 0, 0 }
20 GtkCheckButton::indicator-size = 16
22 GtkPaned::handle-size = 6
24 GtkRange::trough-border = 0
25 GtkRange::slider-width = 14
26 GtkRange::stepper-size = 13
27 GtkRange::trough-under-steppers = 1
29 GtkScale::trough-border = 0
30 GtkScale::slider-width = 23
31 GtkScale::slider-length = 14
32 GtkScale::trough-side-details = 1
34 GtkScrollbar::activate-slider = 1
35 GtkScrollbar::trough-border = 0
36 GtkScrollbar::slider-width = 13
37 GtkScrollbar::min-slider-length = 31
39 GtkMenuBar::internal-padding = 0
40 GtkMenuBar::shadow-type = GTK_SHADOW_NONE
41 GtkExpander::expander-size = 11
42 GtkToolbar::internal-padding = 1
43 GtkToolbar::shadow-type = GTK_SHADOW_NONE
44 GtkTreeView::expander-size = 7
45 GtkTreeView::vertical-separator = 0
46 # GtkTreeView::odd-row-color = shade (0.96, @base_color)
47 GtkNotebook::tab-overlap = -1
49 GtkMenu::horizontal-padding = 0
50 GtkMenu::vertical-padding = 3
52 WnckTasklist::fade-overlay-rect = 0
53 # The following line hints to gecko (and possibly other appliations)
54 # that the entry should be drawn transparently on the canvas.
55 # Without this, gecko will fill in the background of the entry.
56 GtkEntry::honors-transparent-bg-hint = 1
57 GtkEntry::state-hint = 0
59 GtkEntry::progress-border = { 2, 2, 2, 2 }
61 GtkProgressBar::min-horizontal-bar-height = 14
62 GtkProgressBar::min-vertical-bar-width = 14
64 GtkImage::x-ayatana-indicator-dynamic = 1
65 GtkMenuBar::window-dragging = 1
67 GtkWidget::link-color = @link_color
68 GtkWidget::visited-link-color = @text_color
73 bg[NORMAL] = @bg_color
74 bg[PRELIGHT] = shade (1.02, @bg_color)
75 bg[SELECTED] = @selected_bg_color
76 bg[INSENSITIVE] = shade (0.95, @bg_color)
77 bg[ACTIVE] = shade (0.9, @bg_color)
79 fg[NORMAL] = @fg_color
80 fg[PRELIGHT] = @fg_color
81 fg[SELECTED] = @selected_fg_color
82 fg[INSENSITIVE] = darker (@bg_color)
83 fg[ACTIVE] = @fg_color
85 text[NORMAL] = @text_color
86 text[PRELIGHT] = @text_color
87 text[SELECTED] = @selected_fg_color
88 text[INSENSITIVE] = shade (0.8, @bg_color)
89 text[ACTIVE] = darker (@text_color)
91 base[NORMAL] = @base_color
92 base[PRELIGHT] = shade (0.98, @bg_color)
93 base[SELECTED] = @selected_bg_color
94 base[INSENSITIVE] = shade (0.97, @bg_color)
95 base[ACTIVE] = shade (0.94, @bg_color)
101 highlight_shade = 1.0
103 default_button_color = shade (1.1, @selected_bg_color)
104 gradient_shades = {1.1, 1.0, 1.0, 0.9}
106 lightborder_shade = 1.26
110 colorize_scrollbar = FALSE
125 color["bg_color_dark"] = "#3c3b37"
126 color["fg_color_dark"] = "#dfdbd2"
127 color["selected_fg_color_dark"] = "#ffffff"
129 fg[NORMAL] = @fg_color_dark
130 fg[PRELIGHT] = shade (1.15, @fg_color_dark)
131 fg[ACTIVE] = @fg_color_dark
132 fg[SELECTED] = @selected_fg_color_dark
133 fg[INSENSITIVE] = shade (0.5, @fg_color_dark)
135 bg[NORMAL] = @bg_color_dark
136 bg[ACTIVE] = shade (0.8, @bg_color_dark)
137 bg[SELECTED] = @selected_bg_color
138 bg[PRELIGHT] = shade (1.0, "#4D4C48")
139 bg[INSENSITIVE] = shade (0.85, @bg_color_dark)
141 text[NORMAL] = @fg_color_dark
142 text[PRELIGHT] = shade (1.15, @fg_color_dark)
143 text[SELECTED] = @selected_fg_color_dark
144 text[ACTIVE] = @fg_color_dark
145 text[INSENSITIVE] = mix (0.5, @bg_color, @bg_color_dark)
176 # bg[NORMAL] = shade (1.07, "#cdcdcd")
177 # bg[PRELIGHT] = shade (1.09, "#cdcdcd")
178 # bg[ACTIVE] = shade (1.0, "#cdcdcd")
179 # bg[INSENSITIVE] = mix (0.25, @bg_color, "#e2e1e1")
180 # fg[INSENSITIVE] = "#9c9c9c"
184 # border_shades = {1.04, 0.82}
186 # shadow_shades = {1.02, 1.1}
199 bg[NORMAL] = shade (1.03, @bg_color)
200 bg[PRELIGHT] = shade (1.06, @bg_color)
201 bg[ACTIVE] = shade (0.96, @bg_color)
202 bg[INSENSITIVE] = @bg_color
203 fg[INSENSITIVE] = "#9c9c9c"
208 border_shades = {1.01, 0.8}
210 shadow_shades = {1.0, 1.1}
213 lightborder_shade = 1.32
214 # lightborderstyle = 0
219 style "notebook_button" = "button" {
222 style "spinbutton" = "notebook_button" {
229 style "scrollbar" = "button" {
233 bg[NORMAL] = @bg_color
234 bg[PRELIGHT] = shade (1.04, @bg_color)
236 bg[ACTIVE] = shade (0.96, @bg_color)
240 border_shades = {0.95, 0.90}
243 trough_shades = {0.92, 0.98}
244 lightborder_shade = 1.3
247 gradient_shades = {1.2, 1.0, 1.0, 0.86}
248 trough_border_shades = {0.9, 0.98}
258 style "overlay_scrollbar"
260 bg[SELECTED] = shade (1.0, @selected_bg_color)
261 bg[INSENSITIVE] = shade (0.85, @bg_color)
262 bg[ACTIVE] = shade (0.6, @bg_color)
265 style "scale" = "button" {
266 bg[NORMAL] = @bg_color
267 bg[PRELIGHT] = shade (1.06, @bg_color)
268 bg[ACTIVE] = shade (0.94, @bg_color)
272 border_shades = {0.9, 0.8}
274 lightborder_shade = 1.32
275 gradient_shades = {1.1, 1.0, 1.0, 0.8}
277 trough_border_shades = {0.9, 1.4}
280 # shadow_shades = { 1.0, 0.9 }
284 style "notebook_bg" {
285 bg[NORMAL] = shade (1.02, @bg_color)
286 bg[ACTIVE] = shade (0.97, @bg_color)
287 fg[ACTIVE] = mix (0.8, @fg_color, shade (0.97, @bg_color))
290 # The color is changed by the notebook_bg style, this style
291 # changes the x/ythickness
300 lightborder_shade = 1.16
301 gradient_shades = {1.1, 1.0, 1.0, 0.68}
311 style "comboboxentry" = "notebook_button" {
322 style "menubar" = "dark" {
326 gradient_shades = {1.0, 1.0, 1.0, 1.0}
327 lightborder_shade = 1.0
335 lightborder_shade = 1.0
339 style "toolbar-button" = "notebook_button" {
354 style "menu_item" = "menu" {
358 fg[PRELIGHT] = @selected_fg_color
364 border_shades = {0.95, 0.85}
368 style "menubar_item" = "menu" {
373 gradient_shades = {1.1, 1.0, 1.0, 0.88}
376 border_shades = {1.0, 0.9}
378 lightborder_shade = 1.26
382 style "scale_menu_item" = "scale" {
383 GtkScale::slider-width = 21
384 GtkScale::slider-length = 13
386 bg[ACTIVE] = shade(0.98, "#4D4C48")
387 bg[INSENSITIVE] = shade (0.9, @bg_color)
391 border_shades = {1.4, 1.4}
393 lightborder_shade = 1.36
397 # This style is there to modify the separator menu items. The goals are:
398 # 1. Get a specific height.
399 # 2. The line should go to the edges (ie. no border at the left/right)
400 style "separator_menu_item" {
404 GtkSeparatorMenuItem::horizontal-padding = 0
405 GtkWidget::wide-separators = 1
406 GtkWidget::separator-width = 1
407 GtkWidget::separator-height = 7
415 style "separator_tool_item" {
419 GtkVSeparator::vertical-padding = 0
420 GtkWidget::wide-separators = 1
421 GtkWidget::separator-width = 7
422 GtkWidget::separator-height = 1
430 style "frame_title" {
431 fg[NORMAL] = lighter (@fg_color)
438 lightborder_shade = 1.1
439 gradient_shades = {1.04, 1.0, 1.0, 0.96}
443 style "progressbar" {
447 bg[ACTIVE] = shade (0.94, @bg_color)
448 fg[PRELIGHT] = @selected_fg_color
449 #bg[SELECTED] = "#cdcdcd"
452 #trough_shades = {0.98, 1.02}
455 lightborder_shade = 1.26
456 border_shades = {0.95, 0.85}
457 gradient_shades = {1.1, 1.0, 1.0, 0.9}
458 trough_border_shades = {0.9, 1.4}
462 style "progressbar_menu_item" = "progressbar" {
463 bg[ACTIVE] = shade(0.98, "#4D4C48")
470 # This style is based on the default style, so that the colors from the button
471 # style are overriden again.
472 style "treeview_header" = "notebook_button" {
479 lightborder_shade = 1.16
485 style "treeview_header_scrolled" = "treeview_header" {
488 style "scrolledwindow" {
494 style "radiocheck" = "button" {
495 text[NORMAL] = shade (0.535, @selected_bg_color)
496 text[PRELIGHT] = shade(1.06, shade (0.535, @selected_bg_color))
497 bg[NORMAL] = shade (0.92, @bg_color)
498 bg[PRELIGHT] = mix (0.2, @selected_bg_color, shade(1.1, @bg_color))
499 fg[INSENSITIVE] = darker (@bg_color)
500 fg[ACTIVE] = @fg_color
504 gradient_shades = {1.2, 1.0, 1.0, 0.9}
505 shadow_shades = {0.6, 0.5}
514 bg[NORMAL] = @tooltip_bg_color
515 fg[NORMAL] = @tooltip_fg_color
516 bg[SELECTED] = "#000000"
528 style "nautilus_location" {
529 bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
541 style "calendar_menu_item" = "calendar" {
542 base[NORMAL] = "#605E58"
543 base[ACTIVE] = "#4b4944"
549 border_shades = {1.16, 1.0}
559 # Wrokaround style for places where the text color is used instead of the fg color.
560 style "text_is_fg_color_workaround" {
561 text[NORMAL] = @fg_color
562 text[PRELIGHT] = @fg_color
563 text[SELECTED] = @selected_fg_color
564 text[ACTIVE] = @fg_color
565 text[INSENSITIVE] = darker (@bg_color)
568 # Workaround style for menus where the text color is used instead of the fg color.
569 style "menuitem_text_is_fg_color_workaround" {
570 text[NORMAL] = @fg_color
571 text[PRELIGHT] = @selected_fg_color
572 text[SELECTED] = @selected_fg_color
573 text[ACTIVE] = @fg_color
574 text[INSENSITIVE] = "#99958b"
577 # Workaround style for places where the fg color is used instead of the text color.
578 style "fg_is_text_color_workaround" {
579 fg[NORMAL] = @text_color
580 fg[PRELIGHT] = @text_color
581 fg[SELECTED] = @selected_fg_color
582 fg[ACTIVE] = @selected_fg_color
583 fg[INSENSITIVE] = darker (@bg_color)
586 # Style to set the toolbar to use a flat style. This is because the "New" button in
587 # Evolution is not drawn transparent. So if there is a gradient in the background it will
589 # See http://bugzilla.gnome.org/show_bug.cgi?id=446953.
590 style "evo_new_button_workaround" {
593 ###############################################################################
594 # The following part of the gtkrc applies the different styles to the widgets.
595 ###############################################################################
597 # The default style is applied to every widget
598 class "GtkWidget" style "default"
600 class "GtkSeparator" style "wide"
601 class "GtkFrame" style "wide"
602 class "GtkCalendar" style "wide"
603 class "GtkEntry" style "entry"
605 class "GtkSpinButton" style "spinbutton"
606 class "GtkScale" style "scale"
607 class "GtkVScale" style "vscale"
608 class "GtkHScale" style "hscale"
609 class "GtkScrollbar" style "scrollbar"
610 class "GtkHScrollbar" style "hscrollbar"
611 class "GtkVScrollbar" style "vscrollbar"
612 class "GtkCalendar" style "calendar"
613 class "GtkInfoBar" style "infobar"
614 class "GtkIconView" style "iconview"
616 # General matching follows. The order is choosen so that the right styles override
617 # each other. EG. progressbar needs to be more important than the menu match.
618 widget_class "*<GtkNotebook>" style "notebook_bg"
619 # This is not perfect, it could be done better.
620 # (That is modify *every* widget in the notebook, and change those back that
621 # we really don't want changed)
622 widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook_bg"
623 widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebook_bg"
624 widget_class "*<GtkNotebook>*<GtkLayout>" style "notebook_bg"
625 widget_class "*<GtkNotebook>*<GtkLabel>" style "notebook_bg"
627 widget_class "*<GtkToolbar>*" style "toolbar"
628 widget_class "*<GtkScrolledWindow>*" style "scrolledwindow"
630 widget_class "*<GtkButton>" style "button"
631 widget_class "*<GtkButton>*<GtkLabel>" style "button"
632 widget_class "*<GtkToolbar>.*.<GtkButton>*" style "notebook_button"
633 widget_class "*<GtkNotebook>" style "notebook"
634 widget_class "*<GtkStatusbar>" style "statusbar"
635 widget_class "*<GtkSpinButton>*" style "spinbutton"
636 widget_class "*<GtkNotebook>*<GtkButton>" style "notebook_button"
637 widget_class "*<GtkNotebook>*<GtkButton>*<GtkLabel>" style "notebook_button"
638 widget_class "*<GtkRadioButton>*" style "radiocheck"
639 widget_class "*<GtkCheckButton>*" style "radiocheck"
641 widget_class "*<GtkComboBoxEntry>*" style "comboboxentry"
642 widget_class "*<GtkCombo>*" style "comboboxentry"
644 widget_class "*<GtkMenuBar>*" style "menubar"
645 widget_class "*<GtkMenu>*" style "menu"
646 widget_class "*<GtkMenuItem>*" style "menu_item"
647 widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"
648 widget_class "*<GtkSeparatorToolItem>*" style "separator_tool_item"
649 widget_class "*<GtkMenuBar>*<GtkMenuItem>*" style "menubar_item"
651 widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title"
652 widget_class "*.<GtkTreeView>*" style "treeview"
654 widget_class "*<GtkProgress>" style "progressbar"
655 widget_class "*<GtkMenuItem>.*.<GtkProgressBar>" style "progressbar_menu_item"
656 widget_class "*<GtkMenuItem>.*.<GtkScale>" style "scale_menu_item"
657 widget_class "*<GtkMenuItem>.*.<GtkCalendar>" style "calendar_menu_item"
659 # Treeview headers (and similar stock GTK+ widgets)
660 widget_class "*.<GtkScrolledWindow>*<GtkTreeView>*" style "treeview_header_scrolled"
661 widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header"
662 widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header"
663 widget_class "*.<GtkList>.<GtkButton>" style "treeview_header"
664 widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header"
665 widget_class "*.<GtkTreeView>.<GtkButton>.*<GtkLabel>" style "treeview_header"
666 widget_class "*.<GtkCTree>.<GtkButton>.*<GtkLabel>" style "treeview_header"
667 widget_class "*.<GtkList>.<GtkButton>.*<GtkLabel>" style "treeview_header"
668 widget_class "*.<GtkCList>.<GtkButton>.*<GtkLabel>" style "treeview_header"
671 widget_class "*<OsScrollbar>" style "overlay_scrollbar"
672 widget_class "*<OsThumb>" style "overlay_scrollbar"
674 # The window of the tooltip is called "gtk-tooltip"
675 ##################################################################
677 # This will not work if one embeds eg. a button into the tooltip.
678 # As far as I can tell right now we will need to rework the theme
679 # quite a bit to get this working correctly.
680 # (It will involve setting different priorities, etc.)
681 ##################################################################
682 widget "gtk-tooltip*" style "tooltips"
684 ##########################################################################
685 # Following are special cases and workarounds for issues in applications.
686 ##########################################################################
688 # Workaround for the evolution ETable (bug #527532)
689 widget_class "*.ETable.ECanvas" style "treeview_header"
690 # Workaround for the evolution ETree
691 widget_class "*.ETree.ECanvas" style "treeview_header"
693 # Special case the nautilus-extra-view-widget
694 # ToDo: A more generic approach for all applications that have a widget like this.
695 widget "*.nautilus-extra-view-widget" style : highest "nautilus_location"
697 # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
698 # Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
699 widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
700 # This is the part of the workaround that fixes the menus
701 widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround"
703 # Work around the usage of GtkLabel inside GtkListItems to display text.
704 # This breaks because the label is shown on a background that is based on the base color.
705 widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
706 # GtkCList also uses the fg color to draw text on top of the base colors.
707 widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
708 # Nautilus when renaming files, and maybe other places.
709 widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
710 # Work around for ubuntu's lucid sound indicator
711 widget "ido-offscreen-scale" style "soundfix"
712 # Thickness for indicator menu items
713 widget "*IdoEntryMenuItem*" style "wide"
715 # See the documentation of the style.
716 widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround"