# Billy Cantrell, bvcmdk@yahoo.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	= 35
	GtkCheckButton 	::indicator_size    	= 14
	GtkMenuBar     	::internal-padding  	= 0
	GtkTreeView    	::expander_size     	= 14
	GtkExpander    	::expander_size     	= 16
	GtkScale       	::slider-length     	= 31

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

	xthickness = 1
	ythickness = 1

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

	GtkExpander::expander_size = 14
	GtkTreeView::expander_size = 14

	fg[NORMAL]      		= "#101010"
	fg[PRELIGHT]     		= "#000000"
	fg[ACTIVE]        		= "#292A29"
	fg[SELECTED]     		= "#000000"
	fg[INSENSITIVE]  		= "#9C9F94"

	bg[NORMAL]    		= "#ECEEE9" #E7E9E4
	bg[PRELIGHT]    		= "#e6e8e3"
	bg[ACTIVE]       		= "#B2B7AA"
	bg[SELECTED]   		= "#A7925F"
	bg[INSENSITIVE]		= "#E6E8E3"
	
	base[NORMAL] 		= "#ffffff"
	base[PRELIGHT] 		= "#e6e8e3"
	base[ACTIVE]   		= "#D0D3CA"
	base[SELECTED] 		= "#BDAB7A"
	base[INSENSITIVE] 		= "#E6E8E3"
	
	text[NORMAL]   		= "#101010"
	text[PRELIGHT]   		= "#000000"
	text[ACTIVE]     	 	= "#292A29"
	text[SELECTED]  		= "#000000"
	text[INSENSITIVE] 		= "#9C9F94"

	engine "ubuntulooks" 
	{
		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 	= 1       # 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]   = "#D0D3CA"
  bg[SELECTED] = "#BDAB7A"
}

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

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

style "clearlooks-button" = "clearlooks-wider"
{
  bg[NORMAL]    	= "#D8DBD2"
  bg[PRELIGHT] 	= "#E2E5DC"
}

style "clearlooks-button-label" = "clearlooks-wider"
{
   fg[ACTIVE]        	= "#000000"
}

style "clearlooks-notebook" = "clearlooks-wide"
{
  bg[NORMAL]      = "#e6e8e3"
  bg[ACTIVE]       = "#BFC5B9"
  bg[INSENSITIVE] = "#8c8f89"
}

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

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

style "clearlooks-menu-item" = "clearlooks-default"
{
  xthickness = 2
  ythickness = 3
  fg[NORMAL] 		= "#000000"
  bg[SELECTED] 		= "#BDAB7A"
}

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

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

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

	bg[NORMAL]  	= "#F1F3EE"
	bg[SELECTED]  	= "#998451"
}

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

style "clearlooks-check" = "clearlooks-button"
{
	bg[PRELIGHT]      = "#ECEEE9"
	bg[SELECTED]      = "#81835C"
	base[NORMAL]      = "#ffffff"
	base[PRELIGHT]    = "#ECEEE9"
  	text[NORMAL] 	= "#464646"
  	text[PRELIGHT] 	= "#000000"
  	text[ACTIVE] 	= "#F74900"
}

style "clearlooks-range" = "clearlooks-wide"
{
  	bg[SELECTED]  	= "#A7925F"
}

style "extra-view-widgets" = "clearlooks-default"
{
	bg[NORMAL] = "#BDAB7A"
}

style "metacity-frame" = "clearlooks-default"
{
  bg[SELECTED] 		= "#8D8F68"
}
	

# widget styles
class "GtkWidget"     	 style "clearlooks-default"
class "GtkButton"      		style "clearlooks-button"
class "GtkCombo"     		style "clearlooks-button"
class "GtkRange"       	style "clearlooks-range"
class "GtkFrame"       	style "clearlooks-wide"
class "GtkMenu"        	style "clearlooks-menu"
class "GtkEntry"       		style "clearlooks-wider"
class "GtkMenuItem"   	style "clearlooks-menu-item"
class "GtkNotebook"    	style "clearlooks-notebook"
class "GtkProgressBar" 	style "clearlooks-progressbar"
class "MetaFrames"     	style "metacity-frame"
class "GtkWindow"      	style "metacity-frame"
#class "*MenuBar*"      	style "clearlooks-menubar"

class "GtkCheckButton" 		style "clearlooks-check"
class "GtkRadioButton" 		style "clearlooks-check"
#class "GtkCheckMenuItem"   	style "clearlooks-check"
#class "GtkRadioMenuItem"    	style "clearlooks-check"

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"

widget "*.nautilus-extra-view-widget" style:highest "extra-view-widgets"

# because we want black on active buttons but not on List and Treeview
widget_class "*.GtkButton*GtkLabel"      style "clearlooks-button-label"
widget_class "*Panel*GtkToggleButton*GtkLabel"      style "clearlooks-button-label"
widget_class "*Panel*GtkButton*GtkLabel"      style "clearlooks-button-label"
