# WarmGorilla gtk theme
# my first attemp at a GTK theme be kind
# Justin Sunseri <jsunseri@cs.uno.edu>
# based on the Gorilla theme by
# Jakub 'jimmac' Steiner <jimmac@ximian.com>
include "iconrc"

style "WarmGorilla-default"
{
  GtkWidget::interior_focus = 1
  GtkButton::default_border = { 3, 3, 3, 3 }
  GtkButton::default_outside_border = { 3, 3, 3, 3 }
  GtkRange::trough_border = 0

  GtkWidget::focus_padding = 1

  GtkPaned::handle_size = 7
  
  GtkRange::slider_width = 15
  GtkRange::stepper_size = 15
  GtkScrollbar::min_slider_length = 30
  GtkCheckButton::indicator_size = 13
  GtkRadioButton::indicator_size = 13
  GtkMenuBar::internal-padding = 0

  GtkButton::child_displacement_x = 0
  GtkButton::child_displacement_y = 1

  #PanelMenu::gradient_bg = 1
  #PanelMenu::stripe-color = { 0.24, 0.44, 0.66 }
  #PanelMenu::stripe-color-light = { 0.54, 0.74, 0.96 }

  GtkMenuItem::selected_shadow_type = GTK_SHADOW_IN

  #GtkOptionMenu::indicator_size = { 11, 6 }
  #GtkOptionMenu::indicator_spacing = { 4, 5, 2, 2 }

  xthickness = 1
  ythickness = 1
  
  bg[NORMAL]      = "#e5e5ca"
  bg[PRELIGHT]	   = "#ecaf1e"
  fg[PRELIGHT]    = "#ffffff"
  bg[ACTIVE]	   = "#e3dcb2"
  bg[INSENSITIVE] = "#949180"
  bg[SELECTED]    = "#9c8173"

  base[SELECTED]  = "#857d78"
  text[SELECTED]  = "#ffffff"

  # To be replaced by PIXMAP theme
  engine "industrial" {}

}

style "WarmGorilla-unrounded" = "WarmGorilla-default"
{
  engine "industrial" 
    {
      rounded_buttons = TRUE 
    }
}

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

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

style "WarmGorilla-arrows" = "WarmGorilla-default"
{
  fg[NORMAL] = { 0.2,0.2,0.2 }
}

style "WarmGorilla-menu" = "WarmGorilla-default"
{
#  engine "redmond95" { }
  xthickness = 3
  ythickness = 3

  #bg[PRELIGHT]    = "#7b96ac"
  #bg[SELECTED]    = "#9c8173"
  bg[PRELIGHT]    = "#ecaf1e"
  bg[SELECTED]    = "#9c8173"

  fg[PRELIGHT]  = "#ffffff"
  fg[SELECTED]  = "#ffffff"
}

style "WarmGorilla-menu-separator" = "WarmGorilla-default"
{
#  engine "redmond95" { }
  xthickness = 3
  ythickness = 3

#  bg[PRELIGHT]    = "#7b96ac"
#  bg[SELECTED]    = "#7b96ac"
#  fg[PRELIGHT]  = "#ffffff"
#  fg[SELECTED]  = "#ffffff"
}

style "WarmGorilla-menubar" = "WarmGorilla-default"
{
  xthickness = 3
  ythickness = 3
}

style "WarmGorilla-paned" = "WarmGorilla-default"
{
  xthickness = 10
  ythickness = 10
}

style "WarmGorilla-tree" = "WarmGorilla-default"
{
  engine "industrial" 
    {
      rounded_buttons = TRUE
    }
  xthickness = 2
  ythickness = 2
}

style "WarmGorilla-frame-title" = "WarmGorilla-default"
{
  fg[NORMAL] = { 0.25,0.25,0.25 }
}

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

style "WarmGorilla-tooltips" = "WarmGorilla-default"
{
  xthickness = 4
  ythickness = 4
  bg[NORMAL] = { 0.9,0.9,0.9 }
}

#style "metacity-frame"
#{
#
#	# Normal base color
# 	bg[NORMAL]      = { 0.97, 0.97, 0.97 }
#
#	# Unfocused title background color
#	bg[INSENSITIVE]	= { 0.9, 0.9, 0.9 }
#
#	# Unfocused title text color
#	fg[INSENSITIVE]	= { 0.15, 0.15, 0.15 }
#
#	# Focused icon color
#	fg[NORMAL]	= { 0.2, 0.2, 0.2 }
#
#	# Focused title background color
#	bg[SELECTED]	= { 0.27, 0.52, 0.84 }
#	
#	# Focused title text color
#	fg[SELECTED]	= "white"
#}

#class "Gtk*Paned" style "WarmGorilla-paned"

widget "*.tasklist-button" style "WarmGorilla-unrounded"
widget_class "*.GtkTreeView.*" style "WarmGorilla-tree"
widget_class "*.GtkList.*" style "WarmGorilla-tree"
widget_class "*.GtkCList.*" style "WarmGorilla-tree"
widget_class "*.ETree.*" style "WarmGorilla-tree"
widget_class "*.ETable.*" style "WarmGorilla-tree"

class "GtkNotebook" style "WarmGorilla-wide"
class "GtkWidget" style "WarmGorilla-default"
class "GtkButton" style "WarmGorilla-wide"
class "GtkRange" style "WarmGorilla-wide"
class "GtkMenu" style "WarmGorilla-wide"
class "GtkFrame" style "WarmGorilla-wide"
class "GtkStatusbar" style "WarmGorilla-wide"
class "GtkMenuItem" style "WarmGorilla-menu"
widget_class "*.GtkMenuItem.*" style "WarmGorilla-menu"
widget_class "*.GtkAccelMenuItem.*" style "WarmGorilla-menu"
widget_class "*.GtkRadioMenuItem.*" style "WarmGorilla-menu"
widget_class "*.GtkCheckMenuItem.*" style "WarmGorilla-menu"
widget_class "*.GtkImageMenuItem.*" style "WarmGorilla-menu"
widget_class "*.GtkSeparatorMenuItem.*" style "WarmGorilla-menu-separator"
class "GtkEntry" style "WarmGorilla-wide"
widget_class "*.tooltips.*.GtkToggleButton" style "WarmGorilla-tasklist"
widget_class "*.GtkFrame.GtkLabel" style "WarmGorilla-frame-title"
widget_class "*.GtkFrame.GtkCheckButton.GtkLabel" style "WarmGorilla-frame-title"
#class "MetaFrames" style "metacity-frame"
class "GtkVScrollbar" style "WarmGorilla-arrows"
class "GtkHScrollbar" style "WarmGorilla-arrows"
widget_class "BasePWidget.GtkEventBox.GtkTable.GtkFrame" style "WarmGorilla-panel"
widget "gtk-tooltips" style "WarmGorilla-tooltips"
