# MurrinaEternal based on MurrinaFancyCandy
# by Farhad Shakiba

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
  
  xthickness = 1
  ythickness = 1

  fg[NORMAL]        = "#000000"
  fg[PRELIGHT]      = "#000000"
  fg[SELECTED]      = "#ffffff"
  fg[ACTIVE]        = "#000000"
  fg[INSENSITIVE]   = "#b5b3ac"

  bg[NORMAL]        = "#D1D9DD"
  bg[PRELIGHT]      = "#C9D1D5"
  bg[SELECTED]	    = "#a3b8cc"
  bg[INSENSITIVE]   = "#C9D1D5"
  bg[ACTIVE]        = "#f5f5f5" 	# this (strangely) controls inactive tab BGs

  base[NORMAL]      = "#ffffff"
  base[PRELIGHT]    = "#6590b8"
  base[ACTIVE]      = "#A7BED5"
  base[SELECTED]    = "#C4CFD9"
  base[INSENSITIVE] = "#e8e8e8"

  text[NORMAL]      = "#000000"
  text[PRELIGHT]    = "#000000"
  text[ACTIVE]      = "#000000"
  text[SELECTED]    = "#ffffff"
  text[INSENSITIVE] = "#b5b5b5"

  engine "murrine" 
  {
	scrollbarstyle = 0 # Enable or disable circles, stripes, handles
	listviewstyle = 1 # 0 = nothing, 1 = dotted
	menuitemstyle = 1 # 0 = flat, 1 = glassy, 2 = striped
	scrollbar_color = "#AFC5DA"
	contrast = 1.0
	glazestyle = 2 # 0 = flat hilight, 1 = curved hilight, 2 = concave style, 3 = top curved hilight, 4 = beryl hilight
	menubarstyle = 3 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
	menubaritemstyle = 1 # 0 = menuitem look, 1 = button look
	menuitemstyle = 1 # 0 = flat, 1 = glassy, 2 = striped
	listviewheaderstyle = 0 # 0 = flat, 1 = glassy, 2 = raised
	roundness = 4 # 0 = squared, 1 = old default, more will increase roundness
    	animation 		= TRUE # FALSE = disabled, TRUE = enabled
       gradients = TRUE
        hilight_ratio = 1.0
        menustyle = 1
   }
}


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

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

style "theme-entry" = "theme-wider"
{
  bg[SELECTED]	    = "#C4CFD9"
}

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

style "theme-notebook" = "theme-wide"
{
  bg[NORMAL]      = "#C9D1D5"
  bg[INSENSITIVE] = "#C9D1D5"
  bg[SELECTED]    = "#C4CFD9"
}

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

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

style "theme-menu-item" = "theme-default"
{
  ythickness = 3
  fg[NORMAL] = "#000000"
# fg[PRELIGHT] = "#ffffff"
  text[PRELIGHT] = "#000000"
}

style "theme-menubar" = "theme-default"
{
# bg[NORMAL] = "#A7BED5"
  bg[NORMAL] = "#D1D9DD"
  fg[NORMAL] = "#505050"
  fg[ACTIVE] = "#505050"
  text[NORMAL] = "#505050"
  text[PRELIGHT] = "#505050"
  base[PRELIGHT] = "#63E62E"
  base[SELECTED] = "#4DB224"
}

style "theme-menubar-item"
{
  ythickness = 4
  fg[PRELIGHT] = "#000000"
  bg[PRELIGHT] = "#A7BED5"
}

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] = "#C4CFD9"
}

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

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

style "metacity-frame"
{
  # Normal base color
  #bg[NORMAL]  = "#bbbbbb"

  # Unfocused title background color
  #bg[INSENSITIVE]  = { 0.8, 0.8, 0.8 }

  # Unfocused title text color
  #fg[INSENSITIVE]  = { 1.55, 1.55, 1.55 }

  # Focused icon color
  #fg[NORMAL]  = { 0.2, 0.2, 0.2 }

  # Focused title background color
  bg[SELECTED]  = "#444444"
  #base[ACTIVE]  = "#f2f2f2"

  # Focused title text color
  fg[SELECTED]  = "#ffffff"
}

style "panel"
{
  fg[NORMAL] = "#000000"
  # fg[PRELIGHT] = "#000000"
  # fg[ACTIVE] = "#ffffff"
  # fg[SELECTED] = "#000000"
  # fg[INSENSITIVE] = "#8A857C"
  # bg[NORMAL] = "#000000"
  # bg[PRELIGHT] = "#dfdfdf"
  # bg[ACTIVE] = "#D0D0D0"
  # bg[SELECTED] = "#D8BB75"
  # bg[INSENSITIVE] = "#C9D1D5"
  # base[NORMAL] = "#ffffff"
  # base[PRELIGHT] = "#C9D1D5"
  # base[ACTIVE] = "#D0D0D0"
  # base[SELECTED] = "#DAB566"
  # base[INSENSITIVE] = "#E8E8E8"
  # text[NORMAL] = "#161616"
  # text[PRELIGHT] = "#000000"
  # text[ACTIVE] = "#000000"
  # text[SELECTED] = "#ffffff"
  # text[INSENSITIVE] = "#8A857C"
}

# panel stuff
widget "*PanelWidget*" 	style "panel"
widget "*PanelApplet*" 	style "panel"
widget_class "*Mail*" 	style "panel"
class "*Panel*" 	style "panel"
class "*notif*" 	style "panel"
class "*Notif*" 	style "panel"
class "*Tray*" 		style "panel"
class "*tray*"		style "panel"

# metacity stuff
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"
