@ -1,426 +1,582 @@
# Authors: Simon Steinbeiß and Pasi Lallinaho
# Theme: Bluebird
# based on "Zuki Blues" by lassekongo83
# Description: As is the original theme, this theme is 100% free and open source.
gtk_color_scheme = "bg_color:#DCDCDC\nselected_bg_color:#82A1BF\nbase_color:#F7F7F7"
gtk_color_scheme = "fg_color:#3C3C3C\nselected_fg_color:#f5f5f5\ntext_color:#3C3C3C"
gtk_color_scheme = "tooltip_bg_color:#000000\ntooltip_fg_color:#E1E1E1"
gtk_color_scheme = "link_color:#08c"
gtk_color_scheme = "panel_bg:#303030"
gtk_color_scheme = "fm_color:#F7F7F7"
gtk_color_scheme = "frame_color:#CDCDCD\ninactive_frame_color:#CDCDCD" # Fix for Chromium
### EXTERNAL FILES ###
include "panel.rc" # This includes the file that handles panel theming.
include "bars.rc" # Styles the menubar.
include "lxpanel.rc"
### ICONS ###
gtk-icon-sizes = "gtk-button=16,16" # This makes button icons smaller.
### MISC ###
gtk-button-images = 1 # Enables icons in buttons
gtk-toolbar-style = 0 # Disables text in toolbar
gtk-auto-mnemonics = 1 # Disables ugly lines under menu items
### GENERAL THEME SETTINGS ###
style "murrine-default"
{
GnomeHRef ::link_color = @link_color
GtkHTML ::link-color = @link_color
GtkIMHtmlr ::hyperlink-color = @link_color
GtkIMHtml ::hyperlink-color = @link_color
GtkWidget ::link-color = @link_color
GtkWidget ::visited-link-color = @text_color
gtk-color-scheme = "base_color:#ffffff\nfg_color:#000000\ntooltip_fg_color:#000000\nselected_bg_color:#6196B3\nselected_fg_color:#ffffff\ntext_color:#1A1A1A\nbg_color:#E0DFDD\ntooltip_bg_color:#F5F5B5"
style "default" {
xthickness = 1
ythickness = 1
#######################
# Style Properties
#######################
GtkButton ::child-displacement-x = 1
GtkButton ::child-displacement-y = 1
GtkButton ::default-border = { 0, 0, 0, 0 }
GtkButton::image-spacing = 4
GtkToolButton::icon-spacing = 4
GtkCheckButton ::indicator-size = 14
GtkWidget ::new-tooltip-style = 1
GtkWidget ::focus-line-width = 1
GtkWidget ::focus-padding = 0
GtkImage ::x-ayatana-indicator-dynamic = 1
GtkScrolledWindow ::scrollbar-spacing = 2
GtkScrolledWindow ::scrollbar-within-bevel = 0
GtkPaned ::handle-size = 6
GtkRange ::trough-border = 0
GtkRange::slider-width = 15
GtkRange::stepper-size = 15
GtkScale::slider-length = 23
GtkRange ::slider-width = 14
GtkRange ::stepper-size = 13
GtkRange ::stepper_spacing = 0
GtkRange ::trough-under-steppers = 0
GtkScale ::activate-slider = 1 # With this option set to TRUE, sliders will be drawn ACTIVE and with shadow IN while they are dragged.
GtkScale ::slider-length = 14
GtkScale ::slider-width = 14
GtkScale ::trough-side-details = 1
GtkArrow ::arrow-scaling = 0.3 # arrow size (e.g. in combobox or combobox-entry), only works with arrowstyle=0
GtkScrollbar ::min-slider-length = 30
GtkMenuBar::internal-padding = 4
GtkExpander::expander-size = 16
GtkToolbar::internal-padding = 4
GtkTreeView::expander-size = 14
#GtkScrollbar ::activate-slider = 1
GtkScrollbar ::slider-width = 9
GtkScrollbar ::trough-border = 2
GtkScrollbar ::has-backward-stepper = 1
GtkScrollbar ::has_secondary_backward_stepper = 0
GtkScrollbar ::has-forward-stepper = 1
GtkScrollbar ::has_secondary_forward_stepper = 0
GtkMenuBar ::internal-padding = 0
GtkExpander ::expander-size = 12
GtkToolbar ::internal-padding = 0
GtkTreeView ::expander-size = 12
GtkTreeView ::indent-expanders = 1
GtkTreeView ::vertical-separator = 0
GtkMenu::horizontal-padding = 0
GtkMenu::vertical-padding = 0
GtkMenu ::horizontal-padding = 1
GtkMenu ::vertical-padding = 1
WnckTasklist ::fade-overlay-rect = 0
# The following line hints to gecko (and possibly other appliations)
# that the entry should be drawn transparently on the canvas.
# Without this, gecko will fill in the background of the entry.
GtkEntry ::honors-transparent-bg-hint = 1
GtkEntry ::state-hint = 0
GtkEntry ::progress-border = { 2, 2, 2, 2 }
GtkMenuBar::shadow_type = GTK_SHADOW_NONE
GtkToolbar::shadow_type = GTK_SHADOW_NONE
#GtkToolbar:: shadow-type = GTK_SHADOW_NONE # Makes toolbars flat and unified.
#GtkMenuBar:: shadow-type = GTK_SHADOW_NONE # Makes menus flat and unified.
GtkMenuBar ::window-dragging = 1
####################
# Color Definitions
####################
bg[NORMAL] = @bg_color
bg[PRELIGHT] = shade (1.02, @bg_color)
bg[SELECTED] = @selected_bg_color
bg[INSENSITIVE] = @bg_color
bg[ACTIVE] = shade (0.9, @bg_color)
xthickness = 1
ythickness = 1
### Color Definitions ###
fg[NORMAL] = @fg_color
fg[PRELIGHT] = @fg_color
fg[SELECTED] = @selected_fg_color
fg[INSENSITIVE] = darker (@bg_color)
fg[ACTIVE] = @fg_color
fg[INSENSITIVE] = darker (@bg_color)
bg[NORMAL] = @bg_color
bg[PRELIGHT] = shade (1.02, @bg_color)
bg[SELECTED] = @selected_bg_color
bg[INSENSITIVE] = @bg_color
bg[ACTIVE] = shade (1.04, @bg_color)
base[NORMAL] = @base_color
base[PRELIGHT] = shade (0.95, @bg_color)
base[ACTIVE] = shade (0.92, @selected_bg_color)
base[SELECTED] = shade (0.93, @selected_bg_color)
base[INSENSITIVE] = @bg_color
text[NORMAL] = @text_color
text[PRELIGHT] = @text_color
text[ACTIVE] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[INSENSITIVE] = darker (@bg_color)
text[ACTIVE] = @selected_fg_color
base[NORMAL] = @base_color
base[PRELIGHT] = shade (0.95, @bg_color)
base[SELECTED] = @selected_bg_color
base[INSENSITIVE] = @bg_color
base[ACTIVE] = shade (0.9, @selected_bg_color)
### Murrine Settings ###
engine "clearlooks" {
engine "murrine"
{
animation = TRUE
arrowstyle = 2 # 0 = normal arrows, 1 = filled arrows
border_shades = { 1.2, 1.0 } # gradient to draw on border
cellstyle = 0
colorize_scrollbar = TRUE
reliefstyle = 1
menubarstyle = 2
toolbarstyle = 1
animation = FALSE
radius = 3.0
style = GUMMY
hint = "use-hints"
}
comboboxstyle = 0 # 0 = normal combobox, 1 = colorized combobox below arrow
contrast = 0.4 # 0.8 for less contrast, more than 1.0 for more contrast on borders
expanderstyle = 1
focus_color = mix (0.1, @bg_color, shade (1.1, @selected_bg_color))
focusstyle = 3
glazestyle = 1 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
gradient_shades = {1.2,1.0,1.0,0.9} #{1.1,1.0,1.0,0.87}
glowstyle = 4 # 0,1,2,3,4
glow_shade = 1.1
highlight_shade = 1.0 # set highlight amount for buttons or widgets
lightborder_shade = 1.1 # sets lightborder amount for buttons or widgets
lightborderstyle = 0 # 0 = lightborder on top side, 1 = lightborder on all sides
listviewheaderstyle = 1 # 0 = flat, 1 = glassy, 2 = raised
listviewstyle = 1 # 0 = nothing, 1 = dotted
menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
menubarstyle = 2 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
menuitemstyle = 0 # 0 = flat, 1 = glassy, 2 = striped
menustyle = 0 # 0 = no vertical menu stripe, 1 = display vertical menu stripe
prelight_shade = .95 # shade level for scrollbar's slider, comboboxstyle(1), and prelight state with gradient_colors
reliefstyle = 3 # 0 = flat, 1 = inset, 2 = shadow
rgba = FALSE # FALSE = disabled, TRUE = enabled
roundness = 3 # 0 = squared, 1 = old default, more will increase roundness
scrollbarstyle = 0 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
separatorstyle = 1 # 0 = Hard seperators 1 = Smooth seperators
sliderstyle = 0 # 0 = nothing added, 1 = handles
spinbuttonstyle = 1
stepperstyle = 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
progressbarstyle = 1 # 0 = nothing, 1 = stripes, 2 = lines
focus_color = @selected_bg_color
shadow_shades = { 0.8, 2.2 } # gradient for shadows.
textstyle = 0 # 0 = normal text, 1 = inset
toolbarstyle = 2 # 0 = flat, 1 = glassy, 2 = gradient
trough_shades = { 0.75, 0.9 } # draw gradient on trough of GtkScrollbar and GtkProgressbar
trough_border_shades = { 0.9, 0.7 }
}
}
### THEME MODULES ###
style "evolution-hack" = "murrine-default" # Hacks for Evolution Mail.
{
bg[NORMAL] = shade (1.14, @bg_color) # Color for evo treeview headers.
bg[PRELIGHT] = shade (1.18, @bg_color) # Color for evo treeview header prelight.
bg[ACTIVE] = shade (0.75, @bg_color) # Color for unfocused evo selected items.
bg[SELECTED] = @selected_bg_color # Color for evo selected items.
fg[ACTIVE] = @selected_fg_color # Color for evo active text.
fg[SELECTED] = @selected_fg_color # Color for evo selected text.
}
style "murrine-dark" {
bg[NORMAL] = "#212936"
bg[ACTIVE] = "#091720"
bg[PRELIGHT] = "#3c4a61"
bg[SELECTED] = "#3c4a61"
fg[NORMAL] = @selected_fg_color
fg[PRELIGHT] = "#ffffff"
fg[ACTIVE] = @selected_fg_color
text[NORMAL] = @selected_fg_color
text[PRELIGHT] = "#ffffff"
text[ACTIVE] = @selected_fg_color
}
style "wide" {
style "murrine-wide"
{
xthickness = 2
ythickness = 2
}
style "wider" {
style "murrine-wider"
{
xthickness = 3
ythickness = 3
}
style "entry" {
xthickness = 3
ythickness = 3
style "murrine-entry" = "murrine-wider" {
bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
fg[SELECTED] = @text_color
engine "clearlooks" {
focus_color = shade (0.65, @selected_bg_color)
engine "murrine" {
contrast = 0.4
reliefstyle = 4
border_shades = {1.03,0.8}
shadow_shades = {0.5,0.0}
}
}
style "spinbutton" {
style "murrine-button" = "murrine-wider"
{
bg[NORMAL] = shade (1.06, @bg_color)
bg[PRELIGHT] = shade (1.45, @selected_bg_color)
bg[ACTIVE] = shade (0.85, @bg_color)
bg[SELECTED] = shade (1.0, @selected_bg_color)
bg[INSENSITIVE] = shade (0.95, @bg_color)
engine "clearlooks" {
hint = "spinbutton"
engine "murrine"
{
contrast = .8
highlight_shade = 1.00
lightborder_shade = 1.7
gradient_shades = {1.1,1.05,0.95,0.95} #{1.3,1.10,0.95,0.92}
border_shades = { 1.1, 0.9 }
shadow_shades = {0.5,0.0}
reliefstyle = 3
}
}
style "scale" {
xthickness = 2
ythickness = 2
style "murrine-notebook-bg"
{
bg[NORMAL] = shade (1.1, @bg_color) # Tab background.
bg[ACTIVE] = @bg_color # Unfocused tab background.
}
style "murrine-notebook" = "murrine-notebook-bg"
{
xthickness = 1 # Width of tabs and notebook borders.
ythickness = 1 # Height of tabs and notebook borders.
engine "clearlooks" {
hint = "scale"
engine "murrine"
{
roundness = 3 # Roundness of notebook tabs.
contrast = 1.0
highlight_shade = 1.0
gradient_shades = {1.28,1.17,0.92,0.87}
}
}
style "vscale" {
style "murrine-menu"
{
ythickness = 2
xthickness = 0
bg[SELECTED] = shade (0.85, @selected_bg_color)
bg[NORMAL] = @bg_color
bg[PRELIGHT] = shade (0.85, @selected_bg_color)
bg[ACTIVE] = @bg_color
bg[INSENSITIVE] = @bg_color
fg[NORMAL] = @text_color # Color for normal text.
fg[PRELIGHT] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @selected_fg_color
fg[INSENSITIVE] = shade (0.75, @bg_color) # Text color for non-interactive menu items
text[NORMAL] = @text_color # Color for menu-item radio/checks.
base[NORMAL] = @bg_color # Color for menu-item radio/checks background.
text[PRELIGHT] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @selected_fg_color
text[INSENSITIVE] = @text_color
engine "clearlooks" {
hint = "vscale"
engine "murrine"
{
roundness = 0 # Roundness of menu items.
}
}
style "hscale" {
engine "clearlooks" {
hint = "hscale"
style "murrine-treeview"
{
engine "murrine"
{
roundness = 0 # This makes treeview progressbars square.
}
}
style "scrollbar" {
style "murrine-treeview-header" = "murrine-button"
{
xthickness = 2
ythickness = 2
ythickness = 1
engine "clearlooks" {
hint = "scrollbar"
bg[NORMAL] = shade (1.14, @bg_color) # Color for treeview headers.
bg[PRELIGHT] = shade (0.98, @bg_color) # Color for treeview header prelight.
bg[ACTIVE] = shade (0.85, @bg_color) # Color for pressed-treeview.
engine "murrine"
{
roundness = 0 # This makes treeview progressbars square.
}
}
style "hscrollbar" {
engine "clearlooks" {
hint = "hscrollbar"
}
style "murrine-frame-title"
{
fg[NORMAL] = lighter (@fg_color)
}
style "vscrollbar" {
style "murrine-tooltips" = "murrine-wider"
{
xthickness = 7
ythickness = 4
engine "clearlooks" {
hint = "vscrollbar"
bg[NORMAL] = @tooltip_bg_color
bg[SELECTED] = "#000000"
fg[NORMAL] = @tooltip_fg_color
engine "murrine"
{
roundness = 0
trough_shades = { 0.15, 0.3 }
}
}
style "notebook_bg" {
style "murrine-progressbar"
{
xthickness = 0
ythickness = 0
bg[NORMAL] = shade (1.02, @bg_color)
fg[PRELIGHT] = lighter (@selected_fg_color)
bg[NORMAL] = shade (1.05, @bg_color)
bg[SELECTED] = shade (1.05, @selected_bg_color)
engine "murrine" {
gradient_shades = {1.2,0.85,1.1,0.75}
roundness = 4
contrast = 0.5
border_shades = { 1.0, 0.8 }
glowstyle = 3
glow_shade = 1.2
}
}
style "murrine-scrollbar"
{
bg[SELECTED] = shade (0.65, @base_color)
engine "murrine" {
arrowstyle = 1
roundness = 9
gradient_shades = {1.0,1.0,1.0,1.0}
highlight_shade = 1.0
glow_shade = 1.0
reliefstyle = 2
gradient_colors = FALSE
lightborder_shade = 1.0
lightborderstyle = 0
trough_shades = { 0.97, 0.97}
trough_border_shades = { 1.03, 1.03 }
border_shades = { 0.85, 0.85} # slider border outline
shadow_shades = { 0.5, 0.8 }
contrast = 0.0 # no trough-border
prelight_shade = 0.65
}
}
style "murrine-statusbar"
{
xthickness = 2
}
style "button" {
xthickness = 3
ythickness = 3
bg[NORMAL] = shade (1.04, @bg_color)
bg[PRELIGHT] = shade (1.06, @bg_color)
bg[ACTIVE] = shade (0.85, @bg_color)
style "murrine-comboboxentry"
{
engine "murrine"
{
contrast = 0.4
reliefstyle = 4
border_shades = {1.03,0.8}
shadow_shades = {0.5,0.0}
}
# The color is changed by the notebook_bg style, this style
# changes the x/ythickness
style "notebook" {
xthickness = 3
ythickness = 3
}
style "statusbar" {
engine "clearlooks" {
hint = "statusbar"
style "murrine-spinbutton"
{
bg[ACTIVE] = shade (0.85, @bg_color) # Color for pressed-spinbuttons.
}
}
style "comboboxentry" {
engine "clearlooks" {
# Note:
# If you set the appears-as-list option on comboboxes in the theme,
# then you should set this hint on the combobox instead.
hint = "comboboxentry"
}
}
style "murrine-scale" = "murrine-button"
{
GtkWidget ::focus-line-width = 0
GtkWidget ::focus-padding = 2
style "menubar" {
bg[PRELIGHT] = shade (1.25, @bg_color)
bg[SELECTED] = shade (0.9, @selected_bg_color)
engine "clearlooks" {
hint = "menubar"
engine "murrine"
{
highlight_shade = 1.05
lightborder_shade = 0.8
roundness = 5
border_shades = { 0.8, 0.5 }
contrast = 0.8
}
}
style "menu" {
xthickness = 0
ythickness = 0
bg[NORMAL] = shade (1.08, @bg_color)
style "murrine-hscale" = "murrine-scale"
{
}
engine "clearlooks" {
radius = 0.0
style "murrine-vscale" = "murrine-scale"
{
}
style "murrine-nautilus-location" # Workaround for nautilus' messages.
{
bg[NORMAL] = shade (1.25, @selected_bg_color)
}
style "menu_item" {
xthickness = 2
ythickness = 3
style "murrine-radiocheck" = "murrine-default"
{
text[NORMAL] = @selected_fg_color # Color for checks/radio items.
text[PRELIGHT] = @selected_fg_color # Color for checks/radio items.
}
fg[PRELIGHT] = @selected_fg_color
style "murrine-toolbar"
{
bg[NORMAL] = @bg_color
}
# This style is there to modify the separator menu items. The goals are:
# 1. Get a specific height.
# 2. The line should go to the edges (ie. no border at the left/right)
style "separator_menu_item" {
xthickness = 0
ythickness = 0
###############################################################################
# The following part of the gtkrc applies the different styles to the widgets.
###############################################################################
GtkSeparatorMenuItem::horizontal-padding = 0
GtkWidget::wide-separators = 1
GtkWidget::separator-width = 1
GtkWidget::separator-height = 8
}
# Murrine default style is applied to every widget.
class "GtkWidget" style "murrine-default"
style "frame_title" {
# Increase the x/ythickness in some widgets.
class "GtkFrame" style "murrine-wide"
class "GtkEntry" style "murrine-entry"
class "GtkSeparator" style "murrine-wide"
class "GtkCalendar" style "murrine-wide"
class "GtkToolbar" style "murrine-toolbar"
fg[NORMAL] = lighter (@fg_color)
}
class "GtkSpinButton" style "murrine-spinbutton"
class "GtkScale" style "murrine-scale"
class "GtkVScale" style "murrine-vscale"
class "GtkHScale" style "murrine-hscale"
style "treeview" {
class "GtkScrollbar" style "murrine-scrollbar"
class "GtkVScrollbar" style "murrine-scrollbar"
class "GtkHScrollbar" style "murrine-scrollbar"
engine "clearlooks" {
hint = "treeview"
}
}
class "GtkRadio*" style "murrine-radiocheck"
class "GtkCheck*" style "murrine-radiocheck"
# The almost useless progress bar style
style "progressbar" {
xthickness = 1
ythickness = 1
# 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.
fg[PRELIGHT] = @selected_fg_color
# This is not perfect, it could be done better (That is modify *every* widget in the notebook, and change those back that we really don't want changed)
widget_class "*<GtkNotebook>*<GtkEventBox>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkLayout>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkViewport>" style "murrine-notebook-bg"
widget_class "*<GtkNotebook>*<GtkScrolledWindow>" style "murrine-notebook-bg"
engine "clearlooks" {
# Explicitly set the radius for the progress bars inside menu items.
radius = 3.0
widget_class "*<GtkButton>" style "murrine-button"
widget_class "*<GtkNotebook>" style "murrine-notebook"
widget_class "*<GtkStatusbar>*" style "murrine-statusbar"
hint = "progressbar"
}
}
widget_class "*<GtkComboBoxEntry>*" style "murrine-comboboxentry"
widget_class "*<GtkCombo>*" style "murrine-comboboxentry"
# This style is based on the default style, so that the colors from the button
# style are overriden again.
style "treeview_header" = "default" {
xthickness = 2
ythickness = 1
widget_class "*<GtkMenu>*" style "murrine-menu"
engine "clearlooks" {
hint = "treeview-header"
}
}
widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
widget_class "*.<GtkTreeView>*" style "murrine-treeview"
style "tooltips" {
xthickness = 4
ythickness = 4
widget_class "*<GtkProgress>" style "murrine-progressbar"
widget_class "*<GtkProgressBar>" style "murrine-progressbar"
bg[NORMAL] = @tooltip_bg_color
fg[NORMAL] = @tooltip_fg_color
}
# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkList>.<GtkButton>" style "murrine-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>" style "murrine-treeview-header"
style "nautilus_location" {
# Workarounds for Evolution
widget_class "*.ETable.ECanvas" style "murrine-treeview-header"
widget_class "*.ETree.ECanvas" style "murrine-treeview-header"
widget_class "*GtkCTree*" style "evolution-hack"
widget_class "*GtkList*" style "evolution-hack"
widget_class "*GtkCList*" style "evolution-hack"
widget_class "*.ETree.*" style "evolution-hack"
widget_class "*EInfoLabel*" style "evolution-hack"
bg[NORMAL] = mix (0.60, shade (1.05, @bg_color), @selected_bg_color)
}
# The window of the tooltip is called "gtk-tooltip"
################################
# FIXME:
# This will not work if one embeds eg. a button into the tooltip.
# As far as I can tell right now we will need to rework the theme
# quite a bit to get this working correctly.
# (It will involve setting different priorities, etc.)
################################
widget "gtk-tooltip*" style "murrine-tooltips"
# Wrokaroudn style for places where the text color is used instead of the fg color.
style "text_is_fg_color_workaround" {
###################################################
# SPECIAL CASES AND WORKAROUNDS
###################################################
# Special case the nautilus-extra-view-widget
# ToDo: A more generic approach for all applications that have a widget like this.
widget "*.nautilus-extra-view-widget" style : highest "murrine-nautilus-location"
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that the work around assumes that the combobox is _not_ in appears-as-list mode.
# This style does not affect GtkComboBoxEntry, it does have an effect on comboboxes in appears-as-list mode though.
style "murrine-text-is-fg-color-workaround"
{
text[NORMAL] = @fg_color
text[PRELIGHT] = @fg_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @fg_color
text[INSENSITIVE] = darker (@bg_color)
}
widget_class "*.<GtkComboBox>.<GtkCellView>" style "murrine-text-is-fg-color-workaround"
# Workaround style for menus where the text color is used instead of the fg color.
style "menuitem_text_is_fg_color_workaround" {
style "murrine-menuitem-text-is-fg-color-workaround"
{
text[NORMAL] = @fg_color
text[PRELIGHT] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @fg_color
text[INSENSITIVE] = darker (@bg_color)
}
widget "*.gtk-combobox-popup-menu.*" style "murrine-menuitem-text-is-fg-color-workaround"
# Workaround style for places where the fg color is used instead of the text color.
style "fg_is_text_color_workaround" {
# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the base color set.
style "murrine-fg-is-text-color-workaround"
{
fg[NORMAL] = @text_color
fg[PRELIGHT] = @text_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
fg[INSENSITIVE] = darker (@bg_color)
}
widget_class "*<GtkListItem>*" style "murrine-fg-is-text-color-workaround"
# The same problem also exists for GtkCList and GtkCTree.
# Only match GtkCList and not the parent widgets, because that would also change the headers.
widget_class "*<GtkCList>" style "murrine-fg-is-text-color-workaround"
widget_class "*<EelEditableLabel>" style "murrine-fg-is-text-color-workaround"
# Style to set the toolbar to use a flat style. This is because the "New" button in
# Evolution is not drawn transparent. So if there is a gradient in the background it will
# look really wrong.
# See http://bugzilla.gnome.org/show_bug.cgi?id=446953.
style "evo_new_button_workaround" {
widget "xfwm4-tabwin*" style "murrine-dark"
engine "clearlooks" {
toolbarstyle = 0
}
# Makes the text in the toolbar and statusbar smaller. Remove if you want to use the default size.
style "smaller-text"
{
# font_name = "7"
}
widget_class "*ToolButton*" style "smaller-text"
widget_class "*Statusbar*" style "smaller-text"
# Fix Firefox menubar
style "murrine-menubar-fixes"
{
fg[NORMAL] = @selected_fg_color
}
###############################################################################
# The following part of the gtkrc applies the different styles to the widgets.
###############################################################################
# The default style is applied to every widget
class "GtkWidget" style "default"
class "GtkSeparator" style "wide"
class "GtkFrame" style "wide"
class "GtkCalendar" style "wide"
class "GtkEntry" style "entry"
class "GtkSpinButton" style "spinbutton"
class "GtkScale" style "scale"
class "GtkVScale" style "vscale"
class "GtkHScale" style "hscale"
class "GtkScrollbar" style "scrollbar"
class "GtkHScrollbar" style "hscrollbar"
class "GtkVScrollbar" style "vscrollbar"
# General matching follows. The order is choosen so that the right styles override
# each other. EG. progressbar needs to be more important than the menu match.
widget_class "*<GtkNotebook>" style "notebook_bg"
# This is not perfect, it could be done better.
# (That is modify *every* widget in the notebook, and change those back that
# we really don't want changed)
widget_class "*<GtkNotebook>*<GtkEventBox>" style "notebook_bg"
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "notebook_bg"
widget_class "*<GtkNotebook>*<GtkLayout>" style "notebook_bg"
widget_class "*<GtkNotebook>*<GtkViewport>" style "notebook_bg"
widget_class "*<GtkNotebook>*<GtkScrolledWindow>" style "notebook_bg"
widget_class "*<GtkButton>" style "button"
widget_class "*<GtkNotebook>" style "notebook"
widget_class "*<GtkStatusbar>*" style "statusbar"
widget_class "*<GtkComboBoxEntry>*" style "comboboxentry"
widget_class "*<GtkCombo>*" style "comboboxentry"
widget_class "*<GtkMenuBar>*" style "menubar"
widget_class "*<GtkMenu>*" style "menu"
widget_class "*<GtkMenuItem>*" style "menu_item"
widget_class "*<GtkSeparatorMenuItem>*" style "separator_menu_item"
widget_class "*.<GtkFrame>.<GtkLabel>" style "frame_title"
widget_class "*.<GtkTreeView>*" style "treeview"
widget_class "*<GtkProgress>" style "progressbar"
# Treeview headers (and similar stock GTK+ widgets)
widget_class "*.<GtkTreeView>.<GtkButton>" style "treeview_header"
widget_class "*.<GtkCTree>.<GtkButton>" style "treeview_header"
widget_class "*.<GtkList>.<GtkButton>" style "treeview_header"
widget_class "*.<GtkCList>.<GtkButton>" style "treeview_header"
# The window of the tooltip is called "gtk-tooltip"
##################################################################
# FIXME:
# This will not work if one embeds eg. a button into the tooltip.
# As far as I can tell right now we will need to rework the theme
# quite a bit to get this working correctly.
# (It will involve setting different priorities, etc.)
##################################################################
widget "gtk-tooltip*" style "tooltips"
##########################################################################
# Following are special cases and workarounds for issues in applications.
##########################################################################
widget_class "*GtkFixed*.GtkMenuBar*" style "murrine-menubar-fixes"
# Workaround for the evolution ETable (bug #527532)
widget_class "*.ETable.ECanvas" style "treeview_header"
# Workaround for the evolution ETree
widget_class "*.ETree.ECanvas" style "treeview_header"
# Special case the nautilus-extra-view-widget
# ToDo: A more generic approach for all applications that have a widget like this.
widget "*.nautilus-extra-view-widget" style : highest "nautilus_location"
# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
# This is the part of the workaround that fixes the menus
widget "*.gtk-combobox-popup-menu.*" style "menuitem_text_is_fg_color_workaround"
# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the base color.
widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
# GtkCList also uses the fg color to draw text on top of the base colors.
widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
# Nautilus when renaming files, and maybe other places.
widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
# See the documentation of the style.
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround"