# Based on Clearlooks-GreenMod
# Original Clearlooks GTK2 theme created by Richard Stellingwerff, Emil Jacobs and Daniel Borgmann.
# Clearlooks-GreenMod alteration by slackdude (Claudio Miranda)
# Humanlooks modification by Armim Ronacher <armin.ronacher@active-4.com>

style "clearlooks-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    = 12
  GtkMenuBar     ::internal-padding  = 0
  GtkTreeView    ::expander_size     = 14
  GtkExpander    ::expander_size     = 16

  xthickness = 1
  ythickness = 1

  fg[NORMAL]        = "#101010" # very dark gray #101010
  fg[PRELIGHT]      = "#101010" # dark grey
  fg[ACTIVE]        = "#000000" # black
  fg[SELECTED]      = "#ffffff" # white
  fg[INSENSITIVE]   = "#b5b3ac" # dark beige / grey

  bg[NORMAL]        = "#efebe7" # light beige / grey
  bg[PRELIGHT]      = "#f5f3f0" # very light beige
  bg[ACTIVE]        = "#d4cfca" # mid beige / grey
  bg[SELECTED]      = "#72a952" # greenish
  bg[INSENSITIVE]   = "#efebe7" # light beige / grey
	
  base[NORMAL]      = "#ffffff" # white
  base[PRELIGHT]    = "#72a952" # greenish
  base[ACTIVE]      = "#a29e8e" # dark beige / grey
  base[SELECTED]    = "#72a952" # greenish
  base[INSENSITIVE] = "#efebe7" #light beige / grey
	
  text[NORMAL]      = "#000000" # black
  text[PRELIGHT]    = "#000000" # black
  text[ACTIVE]      = "#ffffff" # white
  text[SELECTED]    = "#ffffff" # white
  text[INSENSITIVE] = "#b5b3ac" # dark beige / grey

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

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

style "clearlooks-button" = "clearlooks-default"
{
  xthickness = 3
  ythickness = 3
}

style "clearlooks-check" = "clearlooks-button"
{
  text[NORMAL] = "#2f3941" # greenish
  text[PRELIGHT] = "#3c4a53" # greenish
}

style "clearlooks-notebook" = "clearlooks-wide"
{
  bg[NORMAL] = "#eae4df"
  bg[INSENSITIVE] = "#eae4df"
}

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

style "clearlooks-menu" = "clearlooks-default"
{
  xthickness = 2
  ythickness = 1
  bg[NORMAL] = "#f8f5f2"
}

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

style "clearlooks-menu-itembar" = "clearlooks-default"
{
  xthickness = 3
  ythickness = 3
}

style "clearlooks-tree" = "clearlooks-default"
{
  xthickness = 2
  ythickness = 2
}

style "clearlooks-frame-title" = "clearlooks-default"
{
  fg[NORMAL] = "#2a2a2a"
}

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

style "clearlooks-progressbar" = "clearlooks-default"
{
  xthickness = 1
  ythickness = 1

  fg[PRELIGHT]  = "#ffffff"
}

style "clearlooks-combo" = "clearlooks-default"
{
  xthickness = 2
  ythickness = 3
}

# widget styles
class "GtkWidget" style "clearlooks-default"
class "GtkButton" style "clearlooks-button"
class "GtkCombo"  style "clearlooks-button"
class "GtkRange"  style "clearlooks-wide"
class "GtkFrame"  style "clearlooks-wide"
class "GtkMenu"   style "clearlooks-menu"
class "GtkEntry"  style "clearlooks-button"
class "GtkMenuItem"    style "clearlooks-menu-item"
class "GtkStatusbar"   style "clearlooks-wide"
class "GtkNotebook"    style "clearlooks-notebook"
class "GtkProgressBar" style "clearlooks-progressbar"
class "GtkCheckButton" style "clearlooks-check"
class "GtkRadioButton" style "clearlooks-check"

widget_class "*MenuItem.*" style "clearlooks-menu-item"

# combobox stuff
widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo"
widget_class "*.GtkCombo.GtkButton"    style "clearlooks-combo"

# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist"
widget "gtk-tooltips" style "clearlooks-tooltips"

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

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

