# Ubuntu Human Colorscheme
#
# Authors:
# Richard Stellingwerff <remenic@gmail.com>
# Daniel Borgmann <daniel.borgmann@gmail.com>
# Billy Cantrell <bvcmdk@yahoo.com>
#
# Feel free to modify and share!

gtk-icon-theme-name = "gartoon"

style "clearlooks-default"
{
    font_name="Sans 10"
	GtkButton      ::default_border    = { 0, 0, 0, 0 }
	GtkRange       ::trough_border     = 0

	GtkScrollbar   ::min_slider_length = 35
	GtkCheckButton ::indicator_size    = 14
	GtkTreeView    ::expander_size     = 14
	GtkExpander    ::expander_size     = 16
	# GtkMenuBar     ::shadow-type       = GTK_SHADOW_OUT
	# GtkScrollbar   ::has-secondary-forward-stepper = 1
	# GtkScrollbar   ::has-secondary-backward-stepper = 1

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

	#xthickness = 1
	#ythickness = 1

	GtkTreeView::odd_row_color = "#F4F0EC"
	GtkTreeView::even_row_color = "#FFFFFF"

	fg[NORMAL]        = "#101010"
	fg[PRELIGHT]      = "#000000"
	fg[ACTIVE]        = "#000000"
	fg[SELECTED]      = "#ffffff"
	fg[INSENSITIVE]   = "#B3AFAB"

	bg[NORMAL]        = "#efebe7"
	bg[PRELIGHT]      = "#f5f3f0"
	bg[ACTIVE]        = "#E1D9D1"
	bg[SELECTED]      = "#a0180f" # d6722d
	bg[INSENSITIVE]   = "#EBE7E3"

	base[NORMAL]      = "#ffffff"
	base[PRELIGHT]    = "#ffffff"
	base[ACTIVE]      = "#E1D9D1"
	base[SELECTED]    = "#fb8b00" # FFD799
	base[INSENSITIVE] = "#EBE7E3"

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

	engine "ubuntulooks" 
	{
		menubarstyle      = 0       # 0 = flat, 1 = sunken, 2 = flat gradient
		menuitemstyle     = 0       # 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         = FALSE
	}
}

# Evolution (and some deprecated widgets) use bg and fg for its listview instead of 
# base and text like they should, so we override it.
style "evolution-hack" = "clearlooks-default"
{	
	bg[ACTIVE]   = "#E1D9D1"
	bg[SELECTED] = "#FFD799"
	fg[ACTIVE]   = "#000000"
	fg[SELECTED] = "#000000"
}


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

style "clearlooks-wider" = "clearlooks-default"
{
	xthickness = 3
	ythickness = 3
    font_name="Sans 9"
}

style "clearlooks-button" = "clearlooks-wider"
{
	fg[PRELIGHT] = "#ff0000"
	fg[ACTIVE]   = "#ff0000"
}

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

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

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

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

style "clearlooks-menu-item" = "clearlooks-default"
{
	xthickness = 2
	ythickness = 3
	bg[SELECTED] = "#fb8b00" # FFD799
	fg[PRELIGHT] = "#000000"
	text[PRELIGHT] = "#000000"
}

style "clearlooks-tree" = "clearlooks-wide"
{
}

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

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

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

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

style "metacity-frame" = "clearlooks-default"
{
	bg[SELECTED] = "#a0180f" # CC863E
}


# widget styles
#class "GtkButton"      style "clearlooks-button"
class "GtkWidget"      style "clearlooks-default"
class "GtkCombo"       style "clearlooks-button"
class "GtkRange"       style "clearlooks-wide"
class "GtkFrame"       style "clearlooks-wide"
class "GtkMenu"        style "clearlooks-menu"
class "GtkEntry"       style "clearlooks-wider"
class "GtkMenuItem"    style "clearlooks-menu-item"
class "GtkLabel"       style "clearlooks-frame-title"

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

# 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"

# these should really use base and text colors instead
widget_class "*GtkCTree*" style "evolution-hack"
widget_class "*GtkList*" style "evolution-hack"
widget_class "*GtkCList*" style "evolution-hack"
widget_class "*.ETree.*" style "evolution-hack"
