Blob


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"
6 gtk-auto-mnemonics = 1
7 gtk-alternative-sort-arrows = 1
9 style "default" {
10 xthickness = 1
11 ythickness = 1
13 #######################
14 # Style Properties
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
70 ####################
71 # Color Definitions
72 ####################
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)
97 engine "murrine" {
98 contrast = 0.6
99 arrowstyle = 2
100 reliefstyle = 3
101 highlight_shade = 1.0
102 glazestyle = 0
103 default_button_color = shade (1.1, @selected_bg_color)
104 gradient_shades = {1.1, 1.0, 1.0, 0.9}
105 roundness = 4
106 lightborder_shade = 1.26
107 lightborderstyle = 1
108 listviewstyle = 2
109 progressbarstyle = 0
110 colorize_scrollbar = FALSE
111 menubaritemstyle = 1
112 menubarstyle = 1
113 menustyle = 0
114 focusstyle = 3
115 handlestyle = 1
116 sliderstyle = 3
117 scrollbarstyle = 2
118 stepperstyle = 3
119 # rgba = TRUE
123 style "dark"
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)
148 style "wide" {
149 xthickness = 2
150 ythickness = 2
153 style "wider" {
154 xthickness = 3
155 ythickness = 3
158 style "entry" {
159 xthickness = 3
160 ythickness = 3
162 engine "murrine" {
166 style "vscale" {
169 style "hscale" {
172 #style "button" {
173 # xthickness = 3
174 # ythickness = 3
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"
182 # engine "murrine" {
183 # #contrast = 1.0
184 # border_shades = {1.04, 0.82}
185 # reliefstyle = 5
186 # shadow_shades = {1.02, 1.1}
187 # textstyle = 1
188 # glowstyle = 5
189 # glow_shade = 1.1
190 # #text_shade = 1.04
191 # }
192 #}
194 style "button" {
196 xthickness = 3
197 ythickness = 3
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"
205 engine "murrine" {
206 #contrast = 1.0
207 textstyle = 1
208 border_shades = {1.01, 0.8}
209 reliefstyle = 0
210 shadow_shades = {1.0, 1.1}
211 glowstyle = 5
212 glow_shade = 1.02
213 lightborder_shade = 1.32
214 # lightborderstyle = 0
215 #text_shade = 1.04
219 style "notebook_button" = "button" {
222 style "spinbutton" = "notebook_button" {
223 xthickness = 4
225 engine "murrine" {
229 style "scrollbar" = "button" {
230 xthickness = 2
231 ythickness = 2
233 bg[NORMAL] = @bg_color
234 bg[PRELIGHT] = shade (1.04, @bg_color)
236 bg[ACTIVE] = shade (0.96, @bg_color)
238 engine "murrine"
240 border_shades = {0.95, 0.90}
241 roundness = 20
242 contrast = 1.0
243 trough_shades = {0.92, 0.98}
244 lightborder_shade = 1.3
245 glowstyle = 5
246 glow_shade = 1.02
247 gradient_shades = {1.2, 1.0, 1.0, 0.86}
248 trough_border_shades = {0.9, 0.98}
252 style "hscrollbar" {
255 style "vscrollbar" {
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)
270 engine "murrine" {
271 contrast = 0.6
272 border_shades = {0.9, 0.8}
273 roundness = 5
274 lightborder_shade = 1.32
275 gradient_shades = {1.1, 1.0, 1.0, 0.8}
276 handlestyle = 2
277 trough_border_shades = {0.9, 1.4}
278 glow_shade = 1.0
279 # reliefstyle = 2
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
292 style "notebook" {
293 xthickness = 2
294 ythickness = 2
296 engine "murrine" {
297 roundness = 3
298 contrast = 0.8
299 focusstyle = 2
300 lightborder_shade = 1.16
301 gradient_shades = {1.1, 1.0, 1.0, 0.68}
305 style "statusbar" {
306 engine "murrine" {
307 contrast = 1.2
311 style "comboboxentry" = "notebook_button" {
312 xthickness = 3
313 ythickness = 3
315 engine "murrine" {
316 textstyle = 1
317 glowstyle = 5
318 glow_shade = 1.02
322 style "menubar" = "dark" {
323 engine "murrine" {
324 textstyle = 2
325 text_shade = 0.33
326 gradient_shades = {1.0, 1.0, 1.0, 1.0}
327 lightborder_shade = 1.0
331 style "toolbar" {
332 engine "murrine" {
333 textstyle = 1
334 text_shade = 1.32
335 lightborder_shade = 1.0
339 style "toolbar-button" = "notebook_button" {
340 engine "murrine" {
344 style "menu" {
345 xthickness = 0
346 ythickness = 0
348 engine "murrine"
350 roundness = 0
354 style "menu_item" = "menu" {
355 xthickness = 2
356 ythickness = 3
358 fg[PRELIGHT] = @selected_fg_color
360 engine "murrine"
362 glowstyle = 5
363 glow_shade = 1.1
364 border_shades = {0.95, 0.85}
368 style "menubar_item" = "menu" {
369 xthickness = 2
370 ythickness = 3
372 engine "murrine" {
373 gradient_shades = {1.1, 1.0, 1.0, 0.88}
374 glowstyle = 5
375 glow_shade = 1.0
376 border_shades = {1.0, 0.9}
377 lightborderstyle = 3
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)
389 engine "murrine" {
390 roundness = 20
391 border_shades = {1.4, 1.4}
392 reliefstyle = 0
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" {
401 xthickness = 1
402 ythickness = 0
404 GtkSeparatorMenuItem::horizontal-padding = 0
405 GtkWidget::wide-separators = 1
406 GtkWidget::separator-width = 1
407 GtkWidget::separator-height = 7
409 engine "murrine" {
410 contrast = 0.6
411 separatorstyle = 0
415 style "separator_tool_item" {
416 xthickness = 0
417 ythickness = 1
419 GtkVSeparator::vertical-padding = 0
420 GtkWidget::wide-separators = 1
421 GtkWidget::separator-width = 7
422 GtkWidget::separator-height = 1
424 engine "murrine" {
425 contrast = 0.6
426 separatorstyle = 0
430 style "frame_title" {
431 fg[NORMAL] = lighter (@fg_color)
434 style "treeview" {
435 engine "murrine"
437 roundness = 2
438 lightborder_shade = 1.1
439 gradient_shades = {1.04, 1.0, 1.0, 0.96}
443 style "progressbar" {
444 xthickness = 1
445 ythickness = 1
447 bg[ACTIVE] = shade (0.94, @bg_color)
448 fg[PRELIGHT] = @selected_fg_color
449 #bg[SELECTED] = "#cdcdcd"
451 engine "murrine" {
452 #trough_shades = {0.98, 1.02}
453 roundness = 8
454 lightborderstyle = 1
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")
465 engine "murrine" {
466 roundness = 0
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" {
473 xthickness = 2
474 ythickness = 1
476 engine "murrine" {
477 glazestyle = 1
478 contrast = 0.8
479 lightborder_shade = 1.16
480 textstyle = 1
481 glow_shade = 1.0
485 style "treeview_header_scrolled" = "treeview_header" {
488 style "scrolledwindow" {
489 engine "murrine" {
490 contrast = 0.6
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
502 engine "murrine" {
503 reliefstyle = 3
504 gradient_shades = {1.2, 1.0, 1.0, 0.9}
505 shadow_shades = {0.6, 0.5}
506 textstyle = 0
510 style "tooltips" {
511 xthickness = 4
512 ythickness = 4
514 bg[NORMAL] = @tooltip_bg_color
515 fg[NORMAL] = @tooltip_fg_color
516 bg[SELECTED] = "#000000"
518 engine "murrine" {
519 rgba = TRUE
523 style "infobar" {
524 engine "murrine" {
528 style "nautilus_location" {
529 bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
532 style "calendar" {
533 xthickness = 0
534 ythickness = 0
536 engine "murrine" {
537 roundness = 0
541 style "calendar_menu_item" = "calendar" {
542 base[NORMAL] = "#605E58"
543 base[ACTIVE] = "#4b4944"
546 style "iconview" {
547 engine "murrine" {
548 roundness = 6
549 border_shades = {1.16, 1.0}
550 glow_shade = 1.1
551 glowstyle = 5
555 style "soundfix"
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
588 # look really wrong.
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"
670 # Overlay scrollbar
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 ##################################################################
676 # FIXME:
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"