#########################################################################################

# Murrina Oranche
# Author: Juan C. Sandrea 2008 (Sandrea.01)
# e-mail: jc_sandrea@hotmail.com

# Gtk+ theme inspired by the orange colors on ubuntu's logo
# Bug *Some buttons on openoffice will display their text in white while you prelight them.*

#########################################################################################

gtk-button-images = 0

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

  GtkButton      ::child-displacement-x = 0
  GtkButton      ::child-displacement-y = 0
  
  xthickness = 1
  ythickness = 1

  fg[NORMAL]        = "#101010"
  fg[PRELIGHT]      = "#000000"
  fg[ACTIVE]        = "#000000"
  fg[SELECTED]      = "#FFFFFF"
  fg[INSENSITIVE]   = "#B3AFAB"

  bg[NORMAL]        = "#F5EEEA"
  bg[PRELIGHT]      = "#F5F3F0"
  bg[ACTIVE]        = "#E1D9D1"
  bg[SELECTED]      = "#FF6D0C"
  bg[INSENSITIVE]   = "#EBE7E3"

  base[NORMAL]      = "#FFFFFF"
  base[PRELIGHT]    = "#FFFFFF"
  base[ACTIVE]      = "#E1D9D1"
  base[SELECTED]    = "#FFD799"
  base[INSENSITIVE] = "#EBE7E3"

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

  engine "murrine" 
  {
    hilight_shade = 1.1
    
    menuitemstyle = 1 # 0 = flat, 1 = glassy, 2 = striped
    
    scrollbarstyle = 4
    glazestyle = 1 # 0 = flat hilight, 1 = curved hilight, 2 = concave style
    menubarstyle = 1 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
    menubaritemstyle = 1 # 0 = menuitem look, 1 = button look
    listviewheaderstyle = 1 # 0 = flat, 1 = glassy
    roundness = 3
    animation = TRUE # FALSE = disabled, TRUE = enabled
  }
}

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

style "theme-button" = "theme-wider"
{ 
  engine "murrine"
  {
    contrast = 0.8
  }
  bg[PRELIGHT] = "#E8E6E3"
  bg[ACTIVE]   = "#D9D3CC"
  text[NORMAL]      = "#000000"
  text[PRELIGHT]    = "#000000"
  text[ACTIVE]      = "#000000"
  text[SELECTED]    = "#000000"
  text[INSENSITIVE] = "#B3AFAB"
}

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
  bg[NORMAL] = "#F8F5F2"
}

style "theme-menu-item" = "theme-default"
{
  xthickness = 2
  ythickness = 3
  bg[SELECTED] = "#FFD799"
  fg[PRELIGHT] = "#000000"
  #text[PRELIGHT] = "#000000"
}

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

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

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

style "theme-tooltips" = "theme-default"
{
  xthickness = 4
  ythickness = 4
  bg[NORMAL] = { 1.0,1.0,0.75 }
}

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

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

style "metacity-frame"
{
  fg[PRELIGHT]  = "#FFFFFF"
  bg[SELECTED]  = "#FF8C40"
}
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"

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"
