# Based on Murrine Engine
# Modified by Iacopo Masi <iacopo.masi@gmail.com> and Andrea Cimitan <cimi86@alice.it>

style "theme-default"
{
  GtkButton      ::default_border    = { 0, 0, 0, 0 }
  GtkRange       ::trough_border     = 0
  GtkPaned       ::handle_size       = 6
  GtkRange       ::slider_width      = 15
  GtkRange       ::stepper_size      = 15

  GtkScrollbar   ::min_slider_length = 30
  GtkCheckButton ::indicator_size    = 14
  GtkMenuBar     ::internal-padding  = 0
  GtkTreeView    ::expander_size     = 14
  GtkExpander    ::expander_size     = 16
  GtkScale       ::slider-length     = 24

  GtkTreeView::odd_row_color  = "#F5F2ED"
  GtkTreeView::even_row_color = "#FAF9F7"
  
  xthickness = 1
  ythickness = 1

  fg[NORMAL]        = "#333333" #Cimi
  fg[PRELIGHT]      = "#111111" #Cimi
  fg[ACTIVE]        = "#000000"
  fg[SELECTED]      = "#ffffff"
  fg[INSENSITIVE]   = "#B3AFAB"
  
  bg[NORMAL]        = "#efebe7"
  bg[PRELIGHT]      = "#f5f3f0"
  bg[ACTIVE]        = "#E1D9D1"
  bg[SELECTED]      = "#E6B17F"
  bg[INSENSITIVE]   = "#EBE7E3"
  
  base[NORMAL]      = "#ffffff"
  base[PRELIGHT]    = "#ffffff"
  base[ACTIVE]      = "#E1D9D1"
  base[SELECTED]    = "#FFD799"
  base[INSENSITIVE] = "#EBE7E3"
  
  text[NORMAL]      = "#333333" #Cimi - or #444444?? #444444 seems to be more usable but not sure it looks better
  text[PRELIGHT]    = "#111111" #Cimi
  text[ACTIVE]      = "#000000"
  text[SELECTED]    = "#000000"
  text[INSENSITIVE] = "#B3AFAB"

  engine "murrine" 
  {
		menuitemstyle = 2 # 0 = flat, 1 = glassy, 2 = striped
		glazestyle = 1 # 0 = flat hilight, 1 = curved hilight, 2 = concave style
		scrollbar_color  = "#E6B17F"
		contrast 		= 1.0
		menubarstyle = 1 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
		menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
		listviewheaderstyle = 1 # 0 = flat, 1 = glassy
		roundness = 3 # 0 = squared, 1 = old default, more will increase roundness
		animation = TRUE # FALSE = disabled, TRUE = enabled
		listviewstyle = 1 # why not? - Cimi
		scrollbarstyle = 5 #2 #Cimi
  }
}

style "evolution-hack" = "theme-default"
{	
  bg[ACTIVE]   = "#E1D9D1"
  bg[SELECTED] = "#FFD799"
  fg[ACTIVE]   = "#000000"
  fg[SELECTED] = "#000000"
}

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

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

style "theme-entry" = "theme-wider"
{
	#Fixed- Cimi
}

style "theme-button" = "theme-wider"
{
  bg[NORMAL]        = "#f2f2f2"
  bg[INSENSITIVE]   = "#f0f0f0"
  bg[PRELIGHT] 	    = "#FFD799"
  bg[ACTIVE]        = "#E6B17F"
}

style "theme-notebook" = "theme-wide"
{
  bg[NORMAL]      	= "#efebe5"
  bg[ACTIVE]      	= "#d0c8c1"
  bg[INSENSITIVE] 	= "#efebe5"
}

style "theme-tasklist" = "theme-default"
{
  xthickness = 5
  ythickness = 3
}

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

style "theme-menu-item" = "theme-default"
{
  xthickness = 2
  ythickness = 3
  bg[SELECTED] = "#FFD799"
	#Removed useless stuff - Cimi
}

style "theme-menubar" = "theme-default"
{
	#Removed useless stuff - Cimi
  bg[NORMAL] = "#f2f2f2"
  base[PRELIGHT] = "#63E62E"
  base[SELECTED] = "#4DB224"
}

style "theme-menubar-item"
{
  xthickness = 2
  ythickness = 3
  fg[PRELIGHT] = "#000000"
  bg[PRELIGHT] = "#ffd799"
}

style "theme-tree" = "theme-default"
{
  xthickness = 2
  ythickness = 2
  bg[NORMAL]        = "#f2f2f2"
}

style "theme-frame-title" = "theme-default"
{
  fg[NORMAL] = "#404040"
}

style "theme-tooltips" = "theme-default"
{
  xthickness = 4
  ythickness = 4
  #bg[NORMAL] = "#FFD799" 
  bg[NORMAL] =  "#F4E188"
 # bg[NORMAL] = "#FAED7A" #Choose - Cimi
  fg[NORMAL] = "#111111" #Cimi
}

style "theme-progressbar" = "theme-wide"
{
  xthickness = 1
  ythickness = 1
  fg[PRELIGHT]  = "#111111" #Cimi
}

style "theme-combo" = "theme-button"
{
}

style "metacity-frame"
{
  fg[SELECTED] = "#ffffff"
  bg[SELECTED] = "#E6B17F"
}

class "MetaFrames"                          style "metacity-frame"
class "GtkWindow"                           style "metacity-frame"

# widget styles
class "GtkWidget"                           style "theme-default"
class "GtkButton"                           style "theme-button"
class "GtkScale"                            style "theme-button"
class "GtkCombo"                            style "theme-button"
class "GtkRange"                            style "theme-wide"
class "GtkFrame"                            style "theme-wide"
class "GtkMenu"                             style "theme-menu"
class "GtkEntry"                            style "theme-entry"
class "GtkMenuItem"                         style "theme-menu-item"
class "GtkNotebook"                         style "theme-notebook"
class "GtkProgressBar"                      style "theme-progressbar"
class "*MenuBar*"                           style "theme-menubar"

widget_class "*MenuItem.*"                  style "theme-menu-item"
widget_class "*MenuBar.*"                   style "theme-menubar-item"

# combobox stuff
widget_class "*.GtkComboBox.GtkButton"      style "theme-combo"
widget_class "*.GtkCombo.GtkButton"         style "theme-combo"
# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "theme-tasklist"
widget "gtk-tooltips"                       style "theme-tooltips"

# treeview stuff
widget_class "*.GtkTreeView.GtkButton"      style "theme-tree"
widget_class "*.GtkCTree.GtkButton"         style "theme-tree"
widget_class "*.GtkList.GtkButton"          style "theme-tree"
widget_class "*.GtkCList.GtkButton"         style "theme-tree"
widget_class "*.GtkFrame.GtkLabel"          style "theme-frame-title"

# notebook stuff
widget_class "*.GtkNotebook.*.GtkEventBox"  style "theme-notebook"
widget_class "*.GtkNotebook.*.GtkViewport"  style "theme-notebook"
