@ -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
GtkButton ::child-displacement-x = 1
GtkButton ::child-displacement-y = 1
GtkButton ::default-border = { 0, 0, 0, 0 }
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 = 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
#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 = 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 }
#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
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
xthickness = 1
ythickness = 1
ythickness = 1
#######################
### Color Definitions ###
# 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
GtkPaned::handle-size = 6
GtkRange::trough-border = 0
GtkRange::slider-width = 15
GtkRange::stepper-size = 15
GtkScale::slider-length = 23
GtkScale::trough-side-details = 1
GtkScrollbar::min-slider-length = 30
GtkMenuBar::internal-padding = 4
GtkExpander::expander-size = 16
GtkToolbar::internal-padding = 4
GtkTreeView::expander-size = 14
GtkTreeView::vertical-separator = 0
GtkMenu::horizontal-padding = 0
GtkMenu::vertical-padding = 0
WnckTasklist::fade-overlay-rect = 0
fg[NORMAL] = @fg_color
# The following line hints to gecko (and possibly other appliations)
fg[PRELIGHT] = @fg_color
# that the entry should be drawn transparently on the canvas.
fg[SELECTED] = @selected_fg_color
# Without this, gecko will fill in the background of the entry.
fg[ACTIVE] = @fg_color
GtkEntry::honors-transparent-bg-hint = 1
fg[INSENSITIVE] = darker (@bg_color)
GtkEntry::progress-border = { 2, 2, 2, 2 }
GtkMenuBar::shadow_type = GTK_SHADOW_NONE
GtkToolbar::shadow_type = GTK_SHADOW_NONE
####################
# Color Definitions
####################
bg[NORMAL] = @bg_color
bg[NORMAL] = @bg_color
bg[PRELIGHT] = shade (1.02, @bg_color)
bg[PRELIGHT] = shade (1.02, @bg_color)
bg[SELECTED] = @selected_bg_color
bg[SELECTED] = @selected_bg_color
bg[INSENSITIVE] = @bg_color
bg[INSENSITIVE] = @bg_color
bg[ACTIVE] = shade (0.9, @bg_color)
bg[ACTIVE] = shade (1.04, @bg_color)
fg[NORMAL] = @fg_color
base[NORMAL] = @base_color
fg[PRELIGHT] = @fg_color
base[PRELIGHT] = shade (0.95, @bg_color)
fg[SELECTED] = @selected_fg_color
base[ACTIVE] = shade (0.92, @selected_bg_color)
fg[INSENSITIVE] = darker (@bg_color)
base[SELECTED] = shade (0.93, @selected_bg_color)
fg[ACTIVE] = @fg_color
base[INSENSITIVE] = @bg_color
text[NORMAL] = @text_color
text[NORMAL] = @text_color
text[PRELIGHT] = @text_color
text[PRELIGHT] = @text_color
text[ACTIVE] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[INSENSITIVE] = darker (@bg_color)
text[INSENSITIVE] = darker (@bg_color)
text[ACTIVE] = @selected_fg_color
base[NORMAL] = @base_color
### Murrine Settings ###
base[PRELIGHT] = shade (0.95, @bg_color)
base[SELECTED] = @selected_bg_color
base[INSENSITIVE] = @bg_color
base[ACTIVE] = shade (0.9, @selected_bg_color)
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
colorize_scrollbar = TRUE
reliefstyle = 1
comboboxstyle = 0 # 0 = normal combobox, 1 = colorized combobox below arrow
menubarstyle = 2
contrast = 0.4 # 0.8 for less contrast, more than 1.0 for more contrast on borders
toolbarstyle = 1
expanderstyle = 1
animation = FALSE
focus_color = mix (0.1, @bg_color, shade (1.1, @selected_bg_color))
radius = 3.0
focusstyle = 3
style = GUMMY
glazestyle = 1 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
hint = "use-hints"
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 }
}
}
}
}
style "wide" {
### 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 "murrine-wide"
{
xthickness = 2
xthickness = 2
ythickness = 2
ythickness = 2
}
}
style "wider" {
style "murrine-wider"
{
xthickness = 3
xthickness = 3
ythickness = 3
ythickness = 3
}
}
style "entry" {
style "murrine-entry" = "murrine-wider" {
xthickness = 3
ythickness = 3
bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
bg[SELECTED] = mix (0.4, @selected_bg_color, @base_color)
fg[SELECTED] = @text_color
fg[SELECTED] = @text_color
engine "clearlooks" {
engine "murrine" {
focus_color = shade (0.65, @selected_bg_color)
contrast = 0.4
reliefstyle = 4
border_shades = {1.03,0.8}
shadow_shades = {0.5,0.0}
}
}
}
}
style "spinbutton" {
style "murrine-button" = "murrine-wider"
{
engine "clearlooks" {
bg[NORMAL] = shade (1.06, @bg_color)
hint = "spinbutton"
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 "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" {
style "murrine-notebook-bg"
xthickness = 2
{
ythickness = 2
bg[NORMAL] = shade (1.1, @bg_color) # Tab background.
bg[ACTIVE] = @bg_color # Unfocused tab background.
}
engine "clearlooks" {
style "murrine-notebook" = "murrine-notebook-bg"
hint = "scale"
{
xthickness = 1 # Width of tabs and notebook borders.
ythickness = 1 # Height of tabs and notebook borders.
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" {
engine "murrine"
hint = "vscale"
{
roundness = 0 # Roundness of menu items.
}
}
}
}
style "hscale" {
style "murrine-treeview"
{
engine "clearlooks" {
engine "murrine"
hint = "hscale"
{
roundness = 0 # This makes treeview progressbars square.
}
}
}
}
style "scrollbar" {
style "murrine-treeview-header" = "murrine-button"
{
xthickness = 2
xthickness = 2
ythickness = 2
ythickness = 1
engine "clearlooks" {
bg[NORMAL] = shade (1.14, @bg_color) # Color for treeview headers.
hint = "scrollbar"
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" {
style "murrine-frame-title"
{
engine "clearlooks" {
fg[NORMAL] = lighter (@fg_color)
hint = "hscrollbar"
}
}
}
style "vscrollbar" {
style "murrine-tooltips" = "murrine-wider"
{
xthickness = 7
ythickness = 4
engine "clearlooks" {
bg[NORMAL] = @tooltip_bg_color
hint = "vscrollbar"
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 "button" {
style "murrine-scrollbar"
xthickness = 3
{
ythickness = 3
bg[SELECTED] = shade (0.65, @base_color)
bg[NORMAL] = shade (1.04, @bg_color)
engine "murrine" {
bg[PRELIGHT] = shade (1.06, @bg_color)
arrowstyle = 1
bg[ACTIVE] = shade (0.85, @bg_color)
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
}
}
}
# The color is changed by the notebook_bg style, this style
style "murrine-statusbar"
# changes the x/ythickness
{
style "notebook" {
xthickness = 2
xthickness = 3
ythickness = 3
}
}
style "statusbar" {
style "murrine-comboboxentry"
{
engine "clearlooks" {
engine "murrine"
hint = "statusbar"
{
contrast = 0.4
reliefstyle = 4
border_shades = {1.03,0.8}
shadow_shades = {0.5,0.0}
}
}
}
}
style "comboboxentry" {
style "murrine-spinbutton"
{
engine "clearlooks" {
bg[ACTIVE] = shade (0.85, @bg_color) # Color for pressed-spinbuttons.
# 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 "menubar" {
style "murrine-scale" = "murrine-button"
{
engine "clearlooks" {
GtkWidget ::focus-line-width = 0
hint = "menubar"
GtkWidget ::focus-padding = 2
bg[PRELIGHT] = shade (1.25, @bg_color)
bg[SELECTED] = shade (0.9, @selected_bg_color)
engine "murrine"
{
highlight_shade = 1.05
lightborder_shade = 0.8
roundness = 5
border_shades = { 0.8, 0.5 }
contrast = 0.8
}
}
}
}
style "menu" {
style "murrine-hscale" = "murrine-scale"
xthickness = 0
{
ythickness = 0
}
bg[NORMAL] = shade (1.08, @bg_color)
style "murrine-vscale" = "murrine-scale"
{
}
engine "clearlooks" {
style "murrine-nautilus-location" # Workaround for nautilus' messages.
radius = 0.0
{
}
bg[NORMAL] = shade (1.25, @selected_bg_color)
}
}
style "menu_item" {
style "murrine-radiocheck" = "murrine-default"
xthickness = 2
{
ythickness = 3
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.
# The following part of the gtkrc applies the different styles to the widgets.
# 2. The line should go to the edges (ie. no border at the left/right)
###############################################################################
style "separator_menu_item" {
xthickness = 0
ythickness = 0
GtkSeparatorMenuItem::horizontal-padding = 0
# Murrine default style is applied to every widget.
GtkWidget::wide-separators = 1
class "GtkWidget" style "murrine-default"
GtkWidget::separator-width = 1
GtkWidget::separator-height = 8
}
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" {
class "GtkRadio*" style "murrine-radiocheck"
hint = "treeview"
class "GtkCheck*" style "murrine-radiocheck"
}
}
# The almost useless progress bar style
# 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.
style "progressbar" {
xthickness = 1
ythickness = 1
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" {
widget_class "*<GtkButton>" style "murrine-button"
# Explicitly set the radius for the progress bars inside menu items.
widget_class "*<GtkNotebook>" style "murrine-notebook"
radius = 3.0
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
widget_class "*<GtkMenu>*" style "murrine-menu"
# style are overriden again.
style "treeview_header" = "default" {
xthickness = 2
ythickness = 1
engine "clearlooks" {
widget_class "*.<GtkFrame>.<GtkLabel>" style "murrine-frame-title"
hint = "treeview-header"
widget_class "*.<GtkTreeView>*" style "murrine-treeview"
}
}
style "tooltips" {
widget_class "*<GtkProgress>" style "murrine-progressbar"
xthickness = 4
widget_class "*<GtkProgressBar>" style "murrine-progressbar"
ythickness = 4
bg[NORMAL] = @tooltip_bg_color
# Treeview header
fg[NORMAL] = @tooltip_fg_color
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[NORMAL] = @fg_color
text[PRELIGHT] = @fg_color
text[PRELIGHT] = @fg_color
text[SELECTED] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @fg_color
text[ACTIVE] = @fg_color
text[INSENSITIVE] = darker (@bg_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 "murrine-menuitem-text-is-fg-color-workaround"
style "menuitem_text_is_fg_color_workaround" {
{
text[NORMAL] = @fg_color
text[NORMAL] = @fg_color
text[PRELIGHT] = @selected_fg_color
text[PRELIGHT] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[SELECTED] = @selected_fg_color
text[ACTIVE] = @fg_color
text[ACTIVE] = @fg_color
text[INSENSITIVE] = darker (@bg_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.
# Work around the usage of GtkLabel inside GtkListItems to display text.
style "fg_is_text_color_workaround" {
# 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[NORMAL] = @text_color
fg[PRELIGHT] = @text_color
fg[PRELIGHT] = @text_color
fg[SELECTED] = @selected_fg_color
fg[ACTIVE] = @selected_fg_color
fg[ACTIVE] = @selected_fg_color
fg[SELECTED] = @selected_fg_color
fg[INSENSITIVE] = darker (@bg_color)
fg[INSENSITIVE] = darker (@bg_color)
}
}
widget_class "*<GtkListItem>*" style "murrine-fg-is-text-color-workaround"
# Style to set the toolbar to use a flat style. This is because the "New" button in
# The same problem also exists for GtkCList and GtkCTree.
# Evolution is not drawn transparent. So if there is a gradient in the background it will
# Only match GtkCList and not the parent widgets, because that would also change the headers.
# look really wrong.
widget_class "*<GtkCList>" style "murrine-fg-is-text-color-workaround"
# See http://bugzilla.gnome.org/show_bug.cgi?id=446953.
widget_class "*<EelEditableLabel>" style "murrine-fg-is-text-color-workaround"
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
}
###############################################################################
widget_class "*GtkFixed*.GtkMenuBar*" style "murrine-menubar-fixes"
# 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.
##########################################################################
# 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"