# Japanes GTK2 Theme
# Author: HolkFoor : holkfoor.deviantart.com
# License: PDL - Public Domain (FREE)

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]        = "#531729"
  fg[PRELIGHT]      = "#531729"
  fg[ACTIVE]        = "#531729"
  fg[SELECTED]      = "#531729"
  fg[INSENSITIVE]   = "#E8E0D3"

  bg[NORMAL]        = "#E8E0D3"
  bg[PRELIGHT]      = "#E8E0D3"
  bg[ACTIVE]        = "#E1D9CC"
  bg[SELECTED]      = "#50171F"
  bg[INSENSITIVE]   = "#E8E0D3"
  
  base[NORMAL]      = "#FFF7E8"
  base[PRELIGHT]    = "#50171F"
  base[ACTIVE]      = "#aba897"
  base[SELECTED]    = "#50171F"
  base[INSENSITIVE] = "#E8E0D3"

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

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

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

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

style "clearlooks-notebook" = "clearlooks-wide"
{
  bg[NORMAL] = "#DED6CA"
  bg[INSENSITIVE] = "#DED6CA"
  bg[ACTIVE] = "#FAF2E4"
}

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

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

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

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

style "clearlooks-tooltips" = "clearlooks-default"
{
  xthickness = 4
  ythickness = 4
  bg[NORMAL] = "#E8E0D3"
}

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

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"

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"

