#include "icons/iconrc"

style "theme-default"
{
  GtkButton      ::default_border    = { 0, 0, 0, 0 }
  GtkRange       ::trough_border     = 0
  GtkPaned       ::handle_size       = 8
  GtkRange       ::slider_width      = 15
  GtkRange       ::stepper_size      = 15
  GtkScrollbar   ::min_slider_length = 30
  GtkCheckButton ::indicator_size    = 14
  GtkMenuBar     ::internal-padding  = 0
  GtkTreeView    ::expander_size     = 12
  GtkExpander    ::expander_size     = 14

  xthickness = 2
  ythickness = 2

  fg[NORMAL]		= "#000000"  # 
  fg[PRELIGHT]		= "#000000"  # 
  fg[ACTIVE]		= "#000000"  # 
  fg[SELECTED]		= "#ffffff"  # 
  fg[INSENSITIVE]	= "#e5dfc4"  # 
  
  bg[NORMAL]       	= "#fbf8f1"  # 
  bg[ACTIVE]       	= "#e0dcc9"  # 
  bg[PRELIGHT]     	= "#fbf8f1"  # 
  bg[SELECTED]     	= "#8184cd"  # Focused selection bg
  bg[INSENSITIVE]  	= "#f1efde"  # 

  base[NORMAL]     	= "#ffffff"  # 
  base[ACTIVE]     	= "#dedcf0"  # Unfocused selection bg & text highlight bg
  base[PRELIGHT]   	= "#3e4c96"  # Menu item outline (among other things)
  base[SELECTED]   	= "#8184cd"  # 
  base[INSENSITIVE]	= "#fbf8f1"  # 

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

engine "clearlooks"
   {
    menubarstyle      	= 2       # 0 = flat, 1 = sunken, 2 = flat gradient
    menuitemstyle     	= 1       # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button)
    listviewitemstyle 	= 0       # 0 = flat, 1 = 3d-ish (gradient)
    progressbarstyle    = 0       # 0 = candy bar, 1 = fancy candy bar, 2 = flat
    #animation = TRUE
    #scrollbar_color   = "#b4de8f"
  }
}

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

style "theme-notebook" = "theme-wide"
{
  base[SELECTED]   	= "#fc9747"  # Tab selection color
}

style "theme-text" = "theme-default"
{
    #base[SELECTED]   	= "#fc9747"  # Outline
}

style "theme-toolbar" = "theme-default" 
{
    bg[NORMAL] = "#fdfbf7"
}

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

style "theme-menu" = "theme-default"
{
  xthickness = 3
  ythickness = 3
  bg[NORMAL] = "#fdfbf7"
}

style "theme-menu-item" = "theme-default"
{
  xthickness = 2
  ythickness = 4
  fg[PRELIGHT] = "#ffffff"
  text[PRELIGHT] = "#ffffff"
}

style "theme-menu-itembar" = "theme-default"
{
  xthickness = 0
  ythickness = 0
}

style "theme-tree" = "theme-default"
{
  xthickness = 2
  ythickness = 2
  GtkTreeView::odd_row_color = "#f7f7ff"
  GtkTreeView::even_row_color = "#ffffff"
}

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

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

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

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

style "theme-combo" = "theme-default"
{
  xthickness = 2
  ythickness = 4
}

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

  # Unfocused title background color
  #bg[INSENSITIVE]  = "#fbf8f1"

  # Unfocused title text color
  #fg[INSENSITIVE]  = "#453f15"

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

  # Focused title background color
  bg[SELECTED]  = "#8985b3"

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

style "theme-button" = "theme-wide"
{
  #bg[NORMAL] = "#fbf8f1"
  #bg[PRELIGHT] = "#555555"
  bg[NORMAL] = "#fdfbf7"
}
style "theme-check" = "theme-button"
{
}

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

style "theme-slab" = "theme-default"
{
    bg[SELECTED] = "#a2e159"    # Outline
    bg[NORMAL] = "#fdfbf7"      # Base bg color
    bg[ACTIVE] = "#f3f7e9"      # Right side bg color
    #fg[NORMAL] = "#" # Right side caption text color
    fg[INSENSITIVE] = "#adc09b" # Right side caption text color
}

style "theme-slab-group" = "theme-default" 
{
    bg[SELECTED] = "#adc09b"  # Slab group text
}

style "theme-shell" = "theme-default"
{
    bg[ACTIVE] = "#f3f7e9"      # Left side bg color
    #fg[NORMAL] = "#"            # Left side text color
    
    base[NORMAL] = "#fdfbf7"      # Base bg color
    #text[INSENSITIVE] = "#fdfbf7"      # Base text color
}

class "GtkCheckButton" style "theme-check"
class "GtkRadioButton" style "theme-check"
#class "GtkCheck*" style "theme-check"
#class "GtkRadio*" style "theme-check"
class "GtkWidget" style "theme-default"
class "GtkButton" style "theme-button"
class "GtkRange" style "theme-wide"
class "GtkFrame" style "theme-wide"
class "GtkStatusbar" style "theme-wide"
class "GtkMenu" style "theme-menu"
class "GtkMenuItem" style "theme-menu-item"
widget_class "*MenuItem.*" style "theme-menu-item"
class "GtkEntry" style "theme-wide"
widget_class "*.tooltips.*.GtkToggleButton" style "theme-tasklist"
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"
widget_class "BasePWidget.GtkEventBox.GtkTable.GtkFrame" style "theme-panel"
widget_class "*List" style "theme-tree"
widget_class "GtkCList" style "theme-tree"
widget "gtk-tooltips" style "theme-tooltips"
class "GtkNotebook" style "theme-notebook"
class "GtkProgressBar" style "theme-progressbar"
widget_class "*.GtkComboBox.GtkButton" style "theme-combo"
widget_class "*.GtkCombo.GtkButton" style "theme-combo"
class "MetaFrames" style "metacity-frame"
widget_class "BasePWidget.GtkEventBox.GtkTable.GtkFrame" style "theme-panel"
class "GtkEntry" style "theme-text"
#class "GtkToolbar" style "theme-toolbar"

# GNOME-main-menu slab
class "SlabWindow" style "theme-slab"

# App Browser & Control Center
class "ShellWindow" style "theme-shell"
