# ClearVine theme based on Clearlooks
#  Daisuke SUZUKI <daisuke@linux.or.jp>

style "clearvine-default"
{
  GtkButton      ::default_border    = { 1, 1, 1, 1 }
  GtkRange       ::trough_border     = 0
  GtkPaned       ::handle_size       = 6
  GtkRange       ::slider_width      = 15
  GtkRange       ::stepper_size      = 15
  
  GtkScrollbar   ::min_slider_length = 25
  GtkCheckButton ::indicator_size    = 14
  GtkMenuBar     ::internal-padding  = 0
  GtkTreeView    ::expander_size     = 14
  GtkExpander    ::expander_size     = 16
  GtkScale       ::slider-length     = 27

  GtkButton      ::child-displacement-x = 1
  GtkButton      ::child-displacement-y = 1

  xthickness = 1
  ythickness = 1

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

  bg[ACTIVE]        = "#d7d7d8"
  bg[INSENSITIVE]   = "#f0f0f1"
  bg[NORMAL]        = "#f0f0f1"
  bg[PRELIGHT]      = "#ffffff"
  bg[SELECTED]      = "#7f7fb0"
    
  base[ACTIVE]      = "#b6b6cf"
  base[INSENSITIVE] = "#e6e6e7"
  base[NORMAL]      = "#fefefe"
  base[PRELIGHT]    = "#f0f0f1"
  base[SELECTED]    = "#8a8ab0"

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

  ###  Nautilus Specific Style Flags  ###
  NautilusIconContainer::dark_info_color="#888888"
  NautilusIconContainer::light_info_color="#bbbbbb"
  NautilusIconContainer::selection_box_alpha=64
  NautilusIconContainer::highlight_alpha=255
  NautilusIconContainer::text_frame=0

  engine "clearlooks" 
  {
    scrollbar_color   = "#eeeef0"
    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 = fancy candy bar, 2 = flat
    animation         = FALSE
    contrast          = 0.9
  }
}


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

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

style "clearvine-button" = "clearvine-wider"
{
  bg[NORMAL]        = "#f0f0f1"
  bg[INSENSITIVE]   = "#eeeeef"
}

style "clearvine-notebook" = "clearvine-wide"
{
}

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

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

style "clearvine-menubar-item" = "clearvine-button"
{
    fg[PRELIGHT] = "#000000"
}

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

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

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

style "clearvine-tooltips" = "clearvine-default"
{
  xthickness = 4
  ythickness = 4
  bg[NORMAL] = { 0.95,0.95,0.98 }
}

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

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

style "clearvine-menubar" = "blackrock-default"
{
#  bg[NORMAL]   = "#f0f0f1"
}
	

# widget styles
class "GtkWidget" style "clearvine-default"
class "GtkButton" style "clearvine-button"
class "GtkScale"  style "clearvine-button"
class "GtkCombo"  style "clearvine-button"
class "GtkRange"  style "clearvine-wide"
class "GtkFrame"  style "clearvine-wide"
class "GtkMenu"   style "clearvine-menu"
class "GtkEntry"  style "clearvine-wider"
class "GtkMenuItem"    style "clearvine-menu-item"
class "GtkNotebook"    style "clearvine-notebook"
class "GtkProgressBar" style "clearvine-progressbar"
 
#class "GtkMenuBar" style "clearvine-menubar"

widget_class "*MenuItem.*" style "clearvine-menu-item"
#widget_class "*.GtkMenuBar.*MenuItem.*" style "clearvine-menubar-item"

# combobox stuff
widget_class "*.GtkComboBox.GtkButton" style "clearvine-combo"
widget_class "*.GtkCombo.GtkButton"    style "clearvine-combo"
# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "clearvine-tasklist"
widget "gtk-tooltips" style "clearvine-tooltips"

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

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

