# Author: ZgegBall
# Theme: Ellanna
# Description: Murrine gtk Theme


# These are the official colors of the theme, you can change them in GNOME's appearance preferences.
gtk_color_scheme = "fg_color:#101010\nbg_color:#F2EBE4\nbase_color:#fff\ntext_color:#1A1A1A\nselected_bg_color:#E8B0D7\nselected_fg_color:#1A1A1A\ntooltip_bg_color:#F5F5B5\ntooltip_fg_color:#000"

# This specifies the sizes of panel icons. 16 = smaller icons, 24 = default-sized icons.
gtk-icon-sizes = "panel-menu=24,24"

# gtk-icon-sizes = "gtk-button=16,16"  # This makes button icons smaller, which in turn makes buttons smaller.
# gtk-icon-sizes = "gtk-large-toolbar=24,24:gtk-small-toolbar=16,16"  # Uncomment or edit for smaller toolbars.

include "panel.rc" #To have a vertical panel background, set it include "panel-vertical.rc"

style "theme-default"
{
	GtkButton      ::child-displacement-x = 0 		
	GtkButton      ::child-displacement-y = 0 
	GtkButton      ::default-border       = { 0, 0, 0, 0 }
	GtkCheckButton ::indicator-size       = 14

	GtkPaned       ::handle-size          = 6

	GtkRange       ::trough-border        = 2 		
	GtkRange       ::slider-width         = 13		# largeur zone de défillement
	GtkRange       ::stepper-size         = 10		# espace au dessus et en dessous la zone de défillement

	GtkScale       ::slider-length        = 10  		# taille du curseur des échelles de progression
	GtkScale       ::trough-side-details  = 1		# échelle de progression en couleur
	GtkScrollbar   ::min-slider-length    = 20  

	GtkMenuBar     ::internal-padding     = 1		# hauteur barre "fichier - édition - affichage"
	GtkExpander    ::expander-size        = 16		# hauteur des flèches qui servent à minimiser certaines zones
	GtkToolbar     ::internal-padding     = 5		# hauteur zone avec des icones (ex: barre "nouveau - ouvrir - enregistrer..."
	GtkTreeView    ::expander-size        = 14		# ex: hauteur de zone de sélection des thèmes
	GtkTreeView    ::vertical-separator   = 0		# zone objets verticale

	GtkMenu        ::horizontal-padding   = 4		# largeur bord horizontaux des menus
	GtkMenu        ::vertical-padding     = 2		# hauteur bord verticaux des menu

	GtkWidget      ::focus-line-width     = 1 
#	GtkButton      ::focus-padding	      = 0  
  	GtkScrolledWindow ::scrollbar-spacing  = 2 		# espace entre la scrollbar et le reste de la fenetre 
	GtkEntry::honors-transparent-bg-hint = 1

# 	GtkToolbar     ::shadow-type       = GTK_SHADOW_NONE 
# 	GtkMenuBar     ::shadow-type       = GTK_SHADOW_NONE 
	WnckTasklist   ::fade-overlay-rect = 0
	NautilusIconContainer	::highlight_alpha	= 145

  	xthickness = 1						# taille de l'espace entre l'interieur et le bord de fenetre
  	ythickness = 1

	fg[NORMAL]        = @fg_color
	fg[PRELIGHT]      = @fg_color
	fg[SELECTED]      = @selected_fg_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 (0.90, @bg_color)

	base[NORMAL]      = @base_color
	base[PRELIGHT]    = shade (0.95, @bg_color)
	base[ACTIVE]      = shade (0.90, @bg_color)
	base[SELECTED]    = @selected_bg_color 		# a changer pour la selection
	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)

  engine "murrine" 
  {
		animation           = TRUE  # FALSE = disabled, TRUE = enabled
		arrowstyle          = 2
		colorize_scrollbar  = TRUE  # FALSE = disabled, TRUE = enabled
		focus_color         = "#E8B0D7"
		contrast            = 0.7   # 0.8 for less contrast, more than 1.0 for more contrast on borders
		glazestyle          = 3     # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
		gradient_shades     = {1.1,1.0,1.0,0.95} # default: {1.1,1.0,1.0,1.1}
		highlight_shade     = 1.2  # set highlight amount for buttons or widgets
		lightborder_shade   = 1.0   # 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       = 0     # 0 = nothing, 1 = dotted
		menubaritemstyle    = 0     # 0 = menuitem look, 1 = button look
		menubarstyle        = 0     # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
		menuitemstyle       = 1     # 0 = flat, 1 = glassy, 2 = striped
		menustyle           = 0     # 0 = no vertical menu stripe, 1 = display vertical menu stripe
		reliefstyle	    = 1     # 0 = flat, 1 = inset, 2 = shadow
		rgba		    = FALSE  # FALSE = disabled, TRUE = enabled
		roundness           = 3     # 0 = squared, 1 = old default, more will increase roundness
		scrollbarstyle      = 2     # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
		sliderstyle         = 0     # 0 = nothing added, 1 = handles (curseur dans l'echelle de progression)
		stepperstyle        = 1     # 0 = standard, 1 = integrated stepper handles, 2 = unknown
		toolbarstyle	    = 0     # 0 = flat, 1 = glassy, 2 = gradient
 		textstyle    	    = 0
 		progressbarstyle    = 1     # 0 = no stripes, 1 = diagonal stripes, 2 = vertical stripes
		expanderstyle	    = 2  
   }
}

style "evolution-hack" = "theme-default"
{	
	bg[NORMAL]   = shade (1.02, @bg_color)  
	bg[PRELIGHT]   = shade (1.06, @bg_color)  
	bg[ACTIVE]	= shade (0.90, @bg_color)  
	bg[SELECTED]	= @selected_bg_color
	fg[ACTIVE]      = @selected_fg_color
	fg[SELECTED]    = @selected_fg_color
}

style "theme-wide"
{
	xthickness = 2  
	ythickness = 2  
}

style "theme-wider"
{
	xthickness = 3  
	ythickness = 3 
}

style "theme-button" = "theme-wider"
{
	bg[NORMAL]        = shade (1.02, @bg_color) 
	bg[PRELIGHT]      = shade (1.06, @bg_color)  
	bg[ACTIVE]        = shade (0.85, @bg_color)  
	bg[INSENSITIVE]   = shade (0.95, @bg_color)  
}

style "theme-notebook" = "theme-wider"
{
	bg[NORMAL] = shade (1.04, @bg_color)  
	bg[ACTIVE] = shade (0.98, @bg_color)
  engine "murrine" 
  {
}
}

style "theme-tasklist" = "theme-wide"
{
}

style "theme-menu" = "theme-wider"
{
	bg[NORMAL] = shade (1.05, @bg_color) 

}

style "theme-menu-item"  = "theme-wider"
{
	fg[PRELIGHT] = @selected_fg_color  
	bg[SELECTED]    = shade (1.15, @selected_bg_color) 
	bg[PRELIGHT]    = shade (1.15, @selected_bg_color)  
  engine "murrine"
  {
	highlight_shade     = 0.97 
}
}


style "theme-separator-menu-item"
{
	xthickness = 1
	ythickness = 2
}

style "theme-treeview"
{
	bg[SELECTED]	= shade (1.12, @selected_bg_color) 
}

style "theme-treeview-header" = "theme-default"
{
	xthickness = 2
	ythickness = 1
	bg[NORMAL]        = shade (1.02, @bg_color)  
	bg[PRELIGHT]      = shade (1.06, @bg_color) 
	bg[ACTIVE]        = shade (0.85, @bg_color) 
	bg[INSENSITIVE]   = shade (0.95, @bg_color) 
  engine "murrine" 
  {
	glazestyle = 0  
	roundness = 0 
}
}

style "theme-frame-title" = "theme-default"
{
	fg[NORMAL] = lighter (@fg_color)
}

style "theme-tooltips" = "theme-wider"
{
	bg[NORMAL] = @tooltip_bg_color
	fg[NORMAL] = @tooltip_fg_color
  engine "clearlooks"  
  {
}
}

style "theme-progressbar" = "theme-wide"
{
	bg[PRELIGHT] = @selected_bg_color
}

style "theme-statusbar" = "theme-default"
{
	ythickness = 3
	xthickness = 3
	#bg[NORMAL] = @bg_color
}


style "theme-comboboxentry"
{
}

style "theme-spinbutton"
{
	bg[NORMAL]        = shade (1.02, @bg_color) 
	bg[PRELIGHT]      = shade (1.06, @bg_color) 
	bg[ACTIVE]        = shade (0.85, @bg_color) 
	bg[INSENSITIVE]   = shade (0.95, @bg_color) 
}

style "theme-scale"
{
	GtkRange       ::slider-width         = 13  
	bg[NORMAL]        = shade (1.02, @bg_color) 
	bg[PRELIGHT]      = shade (1.06, @bg_color) 
	bg[ACTIVE]        = shade (0.85, @bg_color) 
	bg[INSENSITIVE]   = shade (0.95, @bg_color)  
}

style "theme-hscale" = "theme-scale"
{
}

style "theme-vscale" = "theme-scale"
{
}

style "theme-scrollbar"
{
}

style "theme-toolbar" = "theme-default"
{
}

style "theme-hscrollbar" = "theme-scrollbar"
{
}

style "theme-vscrollbar" = "theme-scrollbar"
{
}

style "theme-menubar"
{
}

style "metacity-frame"
{
  bg[SELECTED]  = @selected_bg_color
}

style "theme-nautilus-location"
{
	bg[NORMAL] = shade (1.25, @selected_bg_color)  
}

style "theme-radiocheck" = "theme-default"
{
	text[PRELIGHT]	= @base_color 
}
class "GtkRadio*"	style "theme-radiocheck"
class "GtkCheck*"	style "theme-radiocheck"

style "nautilus-main-full"
{
	NautilusIconContainer	::highlight_alpha	= 255
}

style "nautilus-splitter"
{
	GtkPaned	::handle_size	= 1

	bg[NORMAL]	= shade (0.86, @bg_color)
	bg[PRELIGHT]	= shade (1.08, @selected_bg_color)

}

style "nautilus-sidepane"
{
	bg[NORMAL]	= shade (0.96, @bg_color)
	base[NORMAL]	= "#f2e4ed"
}

style "nautilus-sidepane-frame"
{
	base[NORMAL]	= "#f2e4ed"

	engine "murrine"
	{
		contrast	= 0.0
		reliefstyle	= 1
	}
}

style "nautilus-placessidebar"
{
	base[NORMAL]	= "#f2e4ed"
}

style "nautilus-notesviewer"
{
	xthickness	= 0
	ythickness	= 0
}

style "nautilus-informationpanel"
{
	bg[NORMAL]	= "#f2e4ed"
}


widget	"NautilusNavigationWindow.*"						style "nautilus-main-full"
widget	"NautilusNavigationWindow.*.NautilusSidePane*"				style "nautilus-sidepane"
widget	"NautilusNavigationWindow.*.NautilusSidePane.GtkFrame"			style "nautilus-sidepane-frame"
widget	"NautilusNavigationWindow.*.NautilusNotesViewer"			style "nautilus-notesviewer"
widget	"NautilusNavigationWindow.*.NautilusPlacesSidebar*"			style "nautilus-placessidebar"
widget	"NautilusNavigationWindow.*.FMTreeView*"				style "nautilus-placessidebar"
widget	"NautilusNavigationWindow.*.NautilusHistorySidebar*"			style "nautilus-placessidebar"
widget	"NautilusNavigationWindow.*.NautilusInformationPanel"			style "nautilus-informationpanel"
widget	"NautilusNavigationWindow.*.NautilusEmblemSidebar.*.GtkViewport*"	style "nautilus-informationpanel"
widget	"NautilusNavigationWindow.*.NautilusHorizontalSplitter"			style "nautilus-splitter"


#########################################
# Matches
#########################################


class "GtkWidget"    style "theme-default"

class "GtkToolbar"   style "theme-default" 
class "GtkRange"     style "theme-wide"
class "GtkFrame"     style "theme-wide"
class "GtkEntry"     style "theme-wider"
class "MetaFrames"   style "metacity-frame"
class "GtkSeparator" style "theme-wide"
class "GtkWindow"      style "metacity-frame"

class "GtkSpinButton"  style "theme-spinbutton"
class "GtkScale"       style "theme-scale"
class "GtkVScale"      style "theme-vscale"
class "GtkHScale"      style "theme-hscale"
class "GtkScrollbar"   style "theme-scrollbar"
class "GtkVScrollbar"  style "theme-vscrollbar"
class "GtkHScrollbar"  style "theme-hscrollbar"

widget_class "*<GtkNotebook>*<GtkEventBox>"     style "theme-notebook"
widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "theme-notebook"
widget_class "*<GtkNotebook>*<GtkLayout>"       style "theme-notebook"

widget_class "*<GtkButton>"      style "theme-button"
widget_class "*<GtkNotebook>"    style "theme-notebook"
widget_class "*<GtkStatusbar>*"  style "theme-statusbar"

widget_class "*<GtkComboBoxEntry>*" style "theme-comboboxentry"
widget_class "*<GtkCombo>*"         style "theme-comboboxentry"

widget_class "*<GtkMenuBar>*"           style "theme-menubar"
widget_class "*<GtkMenu>*"              style "theme-menu"
widget_class "*<GtkMenuItem>*"          style "theme-menu-item"
widget_class "*<GtkSeparatorMenuItem>*" style "theme-separator-menu-item"

widget_class "*.<GtkFrame>.<GtkLabel>" style "theme-frame-title"
widget_class "*.<GtkTreeView>*"        style "theme-treeview"

widget_class "*<GtkProgressBar>"       style "theme-progressbar"

widget_class "*.<GtkTreeView>.<GtkButton>" style "theme-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>"    style "theme-treeview-header"
widget_class "*.<GtkList>.<GtkButton>"     style "theme-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>"    style "theme-treeview-header"

widget_class "*.ETable.ECanvas"    style "theme-treeview-header"
widget_class "*.ETree.ECanvas"    style "theme-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"

widget "gtk-tooltip*" style "theme-tooltips"

widget "*.nautilus-extra-view-widget" style : highest "theme-nautilus-location"

style "theme-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 "theme-text-is-fg-color-workaround"

style "theme-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 "theme-menuitem-text-is-fg-color-workaround"

style "theme-fg-is-text-color-workaround"
{
	fg[NORMAL]      = @text_color
	fg[PRELIGHT]    = @text_color
	fg[ACTIVE]      = @selected_fg_color
	fg[SELECTED]    = @selected_fg_color
	fg[INSENSITIVE] = darker (@bg_color)
}
widget_class "*<GtkListItem>*" 	style "theme-fg-is-text-color-workaround"
widget_class "*<GtkCList>" 	style "theme-fg-is-text-color-workaround"



widget_class "*Nautilus*Toolbar*" style "theme-toolbar"
widget_class "*Nautilus*Tool*GtkButton" style "theme-toolbar"
widget_class "*Nautilus*Tool*.*.*" style "theme-toolbar"
widget_class "*Nautilus*Tool*GtkToggleButton" style "theme-toolbar"
widget_class "*Nautilus*Tool*.<GtkComboBox>.<GtkCellView>"   style "theme-fg-is-text-color-workaround"

widget	"NautilusNavigationWindow.*"						style "nautilus-main-full"
widget	"NautilusNavigationWindow.*.NautilusSidePane*"				style "nautilus-sidepane"
widget	"NautilusNavigationWindow.*.NautilusSidePane.GtkFrame"			style "nautilus-sidepane-frame"
widget	"NautilusNavigationWindow.*.NautilusNotesViewer"			style "nautilus-notesviewer"
widget	"NautilusNavigationWindow.*.NautilusPlacesSidebar*"			style "nautilus-placessidebar"
widget	"NautilusNavigationWindow.*.FMTreeView*"				style "nautilus-placessidebar"
widget	"NautilusNavigationWindow.*.NautilusHistorySidebar*"			style "nautilus-placessidebar"
widget	"NautilusNavigationWindow.*.NautilusInformationPanel"			style "nautilus-informationpanel"
widget	"NautilusNavigationWindow.*.NautilusEmblemSidebar.*.GtkViewport*"	style "nautilus-informationpanel"
widget	"NautilusNavigationWindow.*.NautilusHorizontalSplitter"			style "nautilus-splitter"



style "murrine-evo-new-button-workaround"
{

	engine "murrine"
	{
		toolbarstyle = 0
	}
}
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "murrine-evo-new-button-workaround"

widget_class "*.GtkNotebook.*.GtkViewport" style "theme-notebook"  

