include "panel.rc"

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

	#GtkToolbar     ::button-relief     = GTK_RELIEF_NORMAL
	#GtkMenuBar     ::shadow-type       = GTK_SHADOW_IN
	#GtkScrollbar   ::has-forward-stepper = 0
	#GtkScrollbar   ::has-backward-stepper = 0
	#GtkScrollbar   ::has-secondary-backward-stepper = 1
  
	xthickness = 1
	ythickness = 1

	fg[NORMAL]			= "#555753"			# ! text
	fg[PRELIGHT]		= "#555753"			# ! text on buttons (hover)
	fg[ACTIVE]			= "#555753"			# ? text on unfocused tabs
	fg[SELECTED]		= "#FFF"				# ! selected text on lists
	fg[INSENSITIVE]	= "#999"				# ! inactive window title/greyed text

	bg[NORMAL]			= "#dbdbdb"			# ! window background
	bg[PRELIGHT]		= "#f8f8f6"			# ! knob/combohandle prelights
	bg[ACTIVE]			= "#e7e7e5" 		# ! deselected tabs, back of scrollbars
	bg[SELECTED]		= "#325376"			# ! widgets (bg)
	bg[INSENSITIVE]	= "#fefefe"			# ! greyed buttons

	base[NORMAL]		= "#fff"				# ! "active" window background
	base[PRELIGHT]		= "#222222"			# ? menubar outline colour
	base[ACTIVE]		= "#768AA3"			# ! selected item background (out of focus)
#
  base[SELECTED]	= "#5578A4" # selected hilight,tab/slider background, & menu stripe
  base[INSENSITIVE]	= "#e0e0e0" # greyed sliders

  text[NORMAL]		= "#353535" # text in general
  text[PRELIGHT]	= "#555753" # hover text (on buttons)
  text[ACTIVE]		= "#FFFFFF" # greyed text out of use (on highlight)
  text[SELECTED]	= "#FFFFFF" # selected text (on highlight)
  text[INSENSITIVE]	= "#D3D7CF" # greyed text

	engine "murrine" 
	{
	#	Murrine Engine Options:
	#	http://www.cimitan.com/murrine/options
		glazestyle = 0
		roundness = 2
		gradients = TRUE
		menubarstyle = 1
		menuitemstyle = 1
		menubaritemstyle = 1
		listviewheaderstyle = 1
		listviewstyle = 1
		sliderstyle = 0					# next release
		scrollbarstyle = 0
		animation = TRUE
		colorize_scrollbar = TRUE		# next release
	#	scrollbar_color = "#3a6086"	# deprecated
	#	hilight_ratio = 1.1				# deprecated
		contrast = 1.2
	#	menustyle = 0						# unknown
	}
}


style "theme-wide" = "theme-default"
{
	xthickness = 1
	ythickness = 1
}

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

style "theme-button" = "theme-wider"
{
	bg[NORMAL]			= "#fdfdfd"			# ! buttons
	bg[ACTIVE]			= "#b0bfcf"			# ! buttons
	bg[PRELIGHT]		= "#e7e7e7"			# ! buttons
}

style "theme-range" = "theme-default"
{
	xthickness = 3
	ythickness = 3
}

style "theme-notebook" = "theme-wide"
{
	bg[NORMAL]			= "#fafafa"			# ! active tab
	bg[SELECTED]		= "#f2f2f2"			# ?
	base[SELECTED]		= "#303030"			# ?
}

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

style "theme-menu" = "theme-default"
{
	xthickness = 2
	ythickness = 2

	bg[NORMAL]			= "#222"				# ! menu background
}

style "theme-menu-item" = "theme-default"
{
	xthickness = 2
	ythickness = 3
	fg[PRELIGHT]		= "#fff"				#
	fg[NORMAL]			= "#eee"				#
	text[PRELIGHT]		= "#fff"				#
	bg[PRELIGHT]		= "#222"				# menubar hilite ?
	bg[NORMAL]			= "#222"				#
	fg[INSENSITIVE]	= "#666"				#
}

style "theme-menubar" = "theme-default"
{
	xthickness = 2
	ythickness = 2
	bg[NORMAL]			= "#333333"			# ! menubar background
	bg[ACTIVE]			= "#ffc217"			# ?
}

style "theme-menubar-item" = "theme-menu-item"
{
}

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

style "theme-frame-title" = "theme-default"
{
	fg[NORMAL]			= "#555753"			# ! frame title
}

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

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

style "theme-combo" = "theme-button"
{
	bg[SELECTED]			= "#555"			#
}

style "metacity-frame" = "theme-default"
{
	bg[SELECTED]			= "#5c85b0"		# ! active window border
	bg[INSENSITIVE]		= "#C8D5E3"		# ! inactive window border
}

class "MetaFrames"     style "metacity-frame"
class "GtkWindow"      style "metacity-frame"

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


widget_class "*MenuItem.*" style "theme-menu-item"
widget_class "*MenuBar.*"  style "theme-menubar-item"

# combobox stuff
widget_class "*.GtkComboBox.GtkButton" style "theme-combo"
widget_class "*.GtkCombo.GtkButton"    style "theme-combo"

# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "theme-tasklist"
widget "gtk-tooltips" 							  style "theme-tooltips"

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

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