# 
# Rezlooks Orange
# Author: StormBlast <stormblast@land.ru>
# Some stuff from Ubuntu Human and Rezlooks themes used in this theme
#

style "rezlooks-default"
{
	GtkButton::default_border = { 0, 0, 0, 0 }
	GtkButton::default_outside_border = { 0, 0, 0, 0 }
	GtkRange::trough_border = 0

	GtkWidget::focus_padding = 1

	GtkPaned::handle_size = 2

	GtkRange::slider_width = 16
	GtkRange::stepper_size = 16 # toolbar arrows
	GtkScrollbar::min_slider_length = 30
	GtkCheckButton::indicator_size = 14
	GtkMenuBar::internal-padding = 0

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

	GtkScale       ::slider-length     = 24

	xthickness = 1
	ythickness = 1

	GtkTreeView::odd_row_color = "#F5F2ED"
	GtkTreeView::even_row_color = "#FAF9F7"

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

	bg[NORMAL]        = "#efebe7"
	bg[PRELIGHT]      = "#f5f3f0"
	bg[ACTIVE]        = "#e9d9c9"
	bg[SELECTED]      = "#D6722D"
	bg[INSENSITIVE]   = "#EBE7E3"

	base[NORMAL]      = "#ffffff"
	base[PRELIGHT]    = "#ffffff"
	base[ACTIVE]      = "#e9d9c9"
	base[SELECTED]    = "#ffc976"
	base[INSENSITIVE] = "#EBE7E3"

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

	engine "rezlooks" 
	{
		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 = flat 	
		animation         = TRUE
                scrollbar_color   = "#FF7519"
	}
}

# 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" = "rezlooks-default"
{	
	bg[ACTIVE]   = "#e9d9c9"
	bg[SELECTED] = "#ffc976"
	fg[ACTIVE]   = "#000000"
	fg[SELECTED] = "#000000"
}

# Bright orange highlights only for selected widgets
style "rezlooks-orange" = "rezlooks-default"
{
	bg[SELECTED] = "#FF6D0C"
}


style "rezlooks-wide" = "rezlooks-default"
{
	xthickness = 2
	ythickness = 2
}
style "rezlooks-wide-orange" = "rezlooks-wide"
{
	bg[SELECTED] = "#FF6D0C"
}

style "rezlooks-wider" = "rezlooks-default"
{
	xthickness = 3
	ythickness = 3
}
style "rezlooks-wider-orange" = "rezlooks-wider"
{
	bg[SELECTED] = "#FF6D0C"
}

style "rezlooks-button" = "rezlooks-wider-orange"
{
	bg[NORMAL] = "#efdfcf"
	bg[PRELIGHT] = "#ffc976"
	bg[ACTIVE]   = "#efc7a0"
}

style "rezlooks-notebook" = "rezlooks-wide-orange"
{
	bg[NORMAL]      	= "#efebe5"
	bg[ACTIVE]      	= "#efc7a0"
	bg[INSENSITIVE] 	= "#efebe5"
}

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

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

style "rezlooks-menubar" = "rezlooks-default"
{
  bg[NORMAL] = "#fdf9f5"
}

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

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

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

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

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

style "rezlooks-progressbar" = "rezlooks-wide-orange"
{
	xthickness = 1
	ythickness = 1
	fg[NORMAL]  = "#000000"
	bg[NORMAL]  = "#efebe7"
	fg[PRELIGHT]  = "#ffffff"
	bg[PRELIGHT] = "#ebf0f5"
}

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

style "rezlooks-check" = "rezlooks-button"
{
}

style "rezlooks-range" = "rezlooks-wide-orange"
{
}

style "metacity-frame" = "rezlooks-default"
{
	bg[SELECTED] = "#ee622c"
	bg[INSENSITIVE] = "#fdf9f5"
}

style "extra-view-widgets" = "rezlooks-default"
{
	bg[NORMAL] = "#F5C07F"
}


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

class "GtkCheckButton" style "rezlooks-check"
class "GtkRadioButton" style "rezlooks-check"
class "*MenuBar*"      style "rezlooks-menubar"

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

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

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

# notebook stuff
widget_class "*.GtkNotebook.*.GtkEventBox" style "rezlooks-notebook"
widget_class "*.GtkNotebook.*.GtkViewport" style "rezlooks-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"
