############################################
#
# Welcome to the Code of Leech.
# 
# Credits to: Aquativo & Aero themes for the
# copy & paste learning curve ;)
#
# © Nebulosa - Nebulosa Project
# <nebulosa@hotel.port80.se>
# <http://nebulosa.patser.net>
#
############################################
# Start of the code.

	style "default"
	{

	GtkEntry::cursor_color    = "#FFBD00"
	GtkTextView::cursor_color    = "#FFBD00"
	NautilusIconContainer::frame_text = 1

	fg[NORMAL]        = "#e0e0e0"
	fg[ACTIVE]        = "#e0e0e0"
	fg[INSENSITIVE]   = "#090909"
	fg[PRELIGHT]      = "#e0e0e0"
	fg[SELECTED]      = "#f0f0f0"

	bg[ACTIVE]        = "#202020"
	bg[NORMAL]        = "#0A0A0A"
	bg[INSENSITIVE]   = "#000000"
	bg[PRELIGHT]      = "#1C1C21"
	bg[SELECTED]      = "#121212"

	base[NORMAL]      = "#000000"
	base[ACTIVE]      = "#151519"
	base[INSENSITIVE] = "#181818"
	base[PRELIGHT]    = "#151618"
	base[SELECTED]    = "#252629"

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


############################################
# Hline and Vline Widgets 

	engine "pixmap" {

	image {
	function        = HLINE
	recolorable     = TRUE
	file            = "horizontal_line.png"
	border          = { 0, 0, 1, 1 }
	stretch         = TRUE
	}

	image {
	function        = VLINE
	recolorable     = TRUE
	file            = "vertical_line.png"
	border          = { 1, 1, 0, 0 }
	stretch         = TRUE
	}

############################################
# Check Marks 

	image {
	function        = CHECK
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "check1.png"
	overlay_stretch = FALSE
	}

	image {
	function        = CHECK
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "check2.png"
	overlay_stretch = FALSE
	}

############################################
# Option Marks 

	image {
	function        = OPTION
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "radio1.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
	}

	image {
	function        = OPTION
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "radio2.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
	}

############################################
# Handle

	image	{
	function          = HANDLE
	state             = PRELIGHT
	recolorable       = TRUE
	overlay_file      = "handle-pre.png"
	overlay_border    = { 0, 0, 0, 0 }
	overlay_stretch   = FALSE
	}

	image {
	function          = HANDLE
	recolorable       = TRUE
	overlay_file      = "handle.png"
	overlay_border    = { 0, 0, 0, 0 }
	overlay_stretch   = FALSE
	}      

############################################
# Shadow

	image {
	function         = SHADOW
	recolorable      = FALSE
	file             = "shadow.png"
	border           = { 5, 5, 5, 5 }
	stretch          = TRUE
	}
 }
}

###########################################
#

	style "ProgressBar" {
	engine "pixmap" {

	image {
	function        = BOX
	recolorable     = TRUE
	detail          = "bar"
	file            = "progressbar.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	}

	image {
	function        = BOX
	recolorable     = TRUE
	detail          = "trough"
	file            = "trough.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	orientation     = HORIZONTAL
	}
 }
}

class "GtkProgressBar" style "ProgressBar"

###########################################
# Scrollbars 

	style "Scrollbar" {
	engine "pixmap" {

	image {
	function          = BOX
	detail            = "trough"
	file              = "clear.png"
	stretch           = FALSE
	overlay_file      = "trough.png"
	overlay_border    = { 5, 5, 5, 5 }
	overlay_stretch   = TRUE
	}

	image {
	function        = SLIDER
	recolorable     = TRUE
	state           = NORMAL
	file            = "scrollbar_horizontal.png"
	border          = { 10, 10, 6, 6 }
	stretch         = TRUE
	orientation     = HORIZONTAL
	}

	image {
	function        = SLIDER 
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "scrollbar_prelight_horizontal.png"
	border          = { 10, 10, 6, 6 }
	stretch         = TRUE
	orientation     = HORIZONTAL
	}

	image {
	function        = SLIDER
	recolorable     = TRUE
	state           = NORMAL
	file            = "scrollbar_vertical.png"
	border          = { 6, 6, 10, 10 }
	stretch         = TRUE
	orientation     = VERTICAL
	}

	image {
	function        = SLIDER 
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "scrollbar_prelight_vertical.png"
	border          = { 6, 6, 10, 10 }
	stretch         = TRUE
	orientation     = VERTICAL
	}

	image {
	function        = BOX
	recolorable     = TRUE
	state           = NORMAL 
	file            = "clear.png"
	border          = { 0, 0, 0, 0 }
	stretch         = TRUE
	}

	image {
	function        = BOX
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "clear.png"
	border          = { 0, 0, 0, 0 }
	stretch         = TRUE
	}

	image {
	function        = BOX
	recolorable     = TRUE
	state           = ACTIVE
	file            = "clear.png"
	border          = { 0, 0, 0, 0 }
	stretch         = TRUE
	}
 }
}

class "GtkScrollbar" style "Scrollbar"

###########################################
# Scales

	style "Scale" {
	engine "pixmap" {

	image {
	function        = BOX
	recolorable     = TRUE
	detail          = "trough"
	file            = "vertical_trough.png"
	border          = { 2, 2, 1, 1 }
	stretch         = TRUE
	orientation     = VERTICAL
	}

	image {
	function        = BOX
	recolorable     = TRUE
	detail          = "trough"
	file            = "horizontal_trough.png"
	border          = { 1, 1, 2, 2 }
	stretch         = TRUE
	orientation     = HORIZONTAL
	}

	image {
	function        = SLIDER
	recolorable     = TRUE
	state           = NORMAL
	file            = "scrollbar_horizontal.png"
	border          = { 10, 10, 6, 6 }
	stretch         = TRUE
	orientation     = HORIZONTAL
	}   

	image {
	function        = SLIDER 
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "scrollbar_prelight_horizontal.png"
	border          = { 10, 10, 6, 6 }
	stretch         = TRUE
	orientation     = HORIZONTAL
	}

	image {
	function        = SLIDER
	recolorable     = TRUE
	state           = INSENSITIVE
	file            = "scrollbar_horizontal.png"
	border          = { 10, 10, 6, 6 }
	stretch         = TRUE
	orientation     = HORIZONTAL
	}   

	image {
	function        = SLIDER
	recolorable     = TRUE
	state           = NORMAL
	file            = "scrollbar_vertical.png"
	border          = { 6, 6, 10, 10 }
	stretch         = TRUE
	orientation     = VERTICAL
	}

	image {
	function        = SLIDER
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "scrollbar_prelight_vertical.png"
	border          = { 6, 6, 10, 10 }
	stretch         = TRUE
	orientation     = VERTICAL
	}

	image {
	function        = SLIDER
	recolorable     = TRUE
	state           = INSENSITIVE
	file            = "scrollbar_vertical.png"
	border          = { 6, 6, 10, 10 }
	stretch         = TRUE
	orientation     = VERTICAL
	}
 }
}

class "GtkScale" style "Scale"

###########################################
# Buttons

	style "Button" {
	bg[NORMAL] = "#000000"
	engine "pixmap" {

	image {
	function        = BOX
	recolorable     = TRUE
	state           = NORMAL
	shadow          = IN
	file            = "button_normal_in.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	}

	image {
	function        = BOX
	recolorable     = TRUE
	state           = NORMAL
	shadow          = OUT
	file            = "button_normal_out.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	}

	image {
	function        = BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	shadow          = IN
	file            = "button_insensitive_in.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	}

	image {
	function        = BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	shadow          = OUT
	file            = "button_insensitive_out.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	}

	image {
	function        = BOX
	recolorable     = TRUE
	state           = PRELIGHT
	shadow          = OUT
	file            = "button_prelight_out.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	}

	image {
	function        = BOX
	recolorable     = TRUE
	state           = SELECTED
	shadow          = IN
	file            = "button_selected_in.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	}

	image {
	function        = BOX
	recolorable     = TRUE
	state           = ACTIVE
	shadow          = IN
	file            = "button_active_in.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	}
 }
}


class "GtkButton" style "Button"

###########################################
# Toggle Buttons

	style "ToggleButton" {
	engine "pixmap" {

	image {
	function        = BOX
	recolorable     = TRUE
	shadow          = IN
	file            = "toggle_clicked.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	}

	image {
	function        = BOX
	recolorable     = TRUE
	shadow          = OUT
	file            = "toggle_default.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	}
 }
}

class "GtkToggleButton" style "ToggleButton"

###########################################
# Notebooks

	style "Notebook" {
	engine "pixmap" {

	image {
	function        = EXTENSION
	state           = ACTIVE
	file            = "notebook-top.png"
	border          = {4,3,3,4}
	stretch         = TRUE
	gap_side        = BOTTOM
	}

	image {
	function        = EXTENSION
	state           = ACTIVE
	file            = "notebook-bottom.png"
	border          = {4,3,3,4}
	stretch         = TRUE
	gap_side        = TOP
	}

	image {
	function        = EXTENSION
	state           = ACTIVE
	file            = "notebook-right.png"
	border          = {4,3,3,4}
	stretch         = TRUE
	gap_side        = RIGHT
	}

	image {
	function        = EXTENSION
	state           = ACTIVE
	file            = "notebook-left.png"
	border          = {4,3,3,4}
	stretch         = TRUE
	gap_side        = LEFT
	}

	image {
	function        = EXTENSION
	file            = "notebook-top1.png"
	border          = {4,3,3,4}
	stretch         = TRUE
	gap_side        = BOTTOM
	}

	image {
	function        = EXTENSION
	file            = "notebook-bottom1.png"
	border          = {2,1,1,2}
	stretch         = TRUE
	gap_side        = TOP
	}

	image {
	function        = EXTENSION
	file            = "notebook-right1.png"
	border          = {3,3,3,3}
	stretch         = TRUE
	gap_side        = RIGHT
	}

	image {
	function        = EXTENSION
	file            = "notebook-left1.png"
	border          = {3,3,3,3}
	stretch         = TRUE
	gap_side        = LEFT
	}

	image {
	function        = BOX_GAP
	recolorable     = TRUE
	file            = "shadow-notebook-top.png"
	border          = { 2, 2, 0, 2 }
	stretch         = TRUE
	gap_file        = "trans.png"
	gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "light.png"
	gap_start_border= { 0, 0, 0, 0 }
	gap_end_file    = "light.png"
	gap_end_border  = { 0, 0, 0, 0 }
	gap_side        = TOP
	}

	image {
	function        = BOX_GAP
	recolorable     = TRUE
	file            = "shadow-notebook-bottom.png"
	border          = { 2, 2, 2, 0 }
	stretch         = TRUE
	gap_file        = "trans.png"
	gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "light.png"
	gap_start_border= { 0, 0, 0, 0 }
	gap_end_file    = "light.png"
	gap_end_border  = { 0, 0, 0, 0 }
	gap_side        = BOTTOM
	}

	image {
	function        = BOX_GAP
	recolorable     = TRUE
	file            = "shadow-notebook-left.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	gap_file        = "trans.png"
	gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "light.png"
	gap_start_border= { 0, 0, 0, 0 }
	gap_end_file    = "light.png"
	gap_end_border  = { 0, 0, 0, 0 }
	gap_side        = LEFT
	}

	image {
	function        = BOX_GAP
	recolorable     = TRUE
	file            = "shadow-notebook-right.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	gap_file        = "trans.png"
	gap_border      = { 0, 0, 0, 0 }
	gap_start_file  = "light.png"
	gap_start_border= { 0, 0, 0, 0 }
	gap_end_file    = "light.png"
	gap_end_border  = { 0, 0, 0, 0 }
	gap_side        = RIGHT
	}
 }
}

class "GtkNotebook" style "Notebook"

####################################################
# Icons

	style "icons"
	{
	stock["gnome-stock-about"] = {{ "icons/about.png" }}
	stock["gnome-stock-attach"] = {{ "icons/attach.png" }}

	stock["gtk-dialog-info"] =   {{ "icons/64x64/tip.png" }}
	stock["gtk-dialog-question"] = {{ "icons/64x64/important.png" }}
	stock["gtk-dialog-error"] =  {{ "icons/64x64/error.png" }}
	stock["gtk-dialog-warning"] =  {{ "icons/64x64/warning.png" }}

	stock["gtk-add"] =	       {{ "icons/globe.png" }}
	stock["gtk-apply"] =	       {{ "icons/button_ok.png" }}
	stock["gtk-cancel"] =	       {{ "icons/cancel.png" }}
	stock["gtk-cdrom"] =	       {{ "icons/cd.png" }}
	stock["gtk-clear"] =	       {{ "icons/brush.png" }}
	stock["gtk-close"] =	       {{ "icons/close.png" }}
	stock["gtk-convert"] =       {{ "icons/convert.png" }}
	stock["gtk-copy"] =	       {{ "icons/copy.png" }}
	stock["gtk-cut"] =	       {{ "icons/cut.png" }}
	stock["gtk-delete"] =	       {{ "icons/trashcan.png" }}
	stock["gtk-execute"] =       {{ "icons/exec.png" }}
	stock["gtk-find"] =	       {{ "icons/ffind.png" }}
	stock["gtk-find-and-replace"] = {{ "icons/replace.png" }}
	stock["gtk-floppy"] =		{{ "icons/floppy.png" }}
	stock["gtk-goto-bottom"] =	{{ "icons/bottom.png" }}
	stock["gtk-goto-first"] =	{{ "icons/first.png" }}
	stock["gtk-goto-last"] =	{{ "icons/last.png" }}
	stock["gtk-goto-top"] =	{{ "icons/top.png" }}
	stock["gtk-go-back"] =	{{ "icons/back.png" }}
	stock["gtk-go-down"] =	{{ "icons/down.png" }}
	stock["gtk-go-forward"] =	{{ "icons/forward.png" }}
	stock["gtk-go-up"] =		{{ "icons/up.png" }}
	stock["gtk-help"] =		{{ "icons/help.png" }}
	stock["gtk-home"] =		{{ "icons/gohome.png" }}
	stock["gtk-index"] =		{{ "icons/index.png" }}
	stock["gtk-jump-to"] =	{{ "icons/goto.png" }}
	stock["gtk-missing-image"] =	{{ "images/missing-image.png" }}
	stock["gtk-new"] =	     	{{ "icons/new.png" }}
	stock["gtk-no"] =		{{ "icons/button_cancel.png" }} 
	stock["gtk-ok"] =		{{ "icons/button_ok.png" }}
	stock["gtk-open"] =		{{ "icons/fileopen.png" }} 
	stock["gtk-paste"] =		{{ "icons/paste.png" }}
	stock["gtk-print"] =		{{ "icons/printer.png" }}
	stock["gtk-print-preview"] =	{{ "icons/printer.png" }}
	stock["gtk-preferences"] =	{{ "icons/configure.png" }}
	stock["gtk-properties"] =	{{ "icons/properties.png" }}
	stock["gtk-quit"] =		{{ "icons/quit.png" }}
	stock["gtk-redo"] =		{{ "icons/redo.png" }}
	stock["gtk-refresh"] =	{{ "icons/reload.png" }}
	stock["gtk-remove"] =		{{ "icons/remove.png" }}
	stock["gtk-revert-to-saved"] ={{ "icons/revert.png" }}
	stock["gtk-save"] =		{{ "icons/filesave.png" }}
	stock["gtk-save-as"] =	{{ "icons/filesaveas.png" }}
	stock["gtk-select-color"] =	{{ "icons/scolor.png" }}
	stock["gtk-select-font"] =	{{ "icons/16x16/font.png" }}
	stock["gtk-spell-check"] =	{{ "icons/spellcheck.png" }}
	stock["gtk-stop"] =		{{ "icons/stop.png" }}
	stock["gtk-undelete"] =	{{ "icons/untrashcan.png" }}
	stock["gtk-undo"] =		{{ "icons/undo.png" }}
	stock["gtk-yes"] =		{{ "icons/button_ok.png" }} 
	stock["gtk-zoom-100"] =	{{ "icons/viewmag1.png" }}
	stock["gtk-zoom-fit"] =	{{ "icons/viewmagfit.png" }}
	stock["gtk-zoom-in"] =	{{ "icons/viewmag+.png" }}
	stock["gtk-zoom-out"] =	{{ "icons/viewmag-.png" }}
	
	stock["terminal-edit"] =      {{ "icons/configure.png" }}
	stock["session-stock-edit"] = {{ "icons/configure.png" }}
	}

class "GtkObject" style "icons"

	style "panel-icons"
	{
	stock ["panel-run"] =           {{"icons/run.png"}}
	stock ["panel-searchtool"] =    {{"icons/find.png"}}
	stock ["panel-screenshot"] =    {{"icons/screenshot.png"}}
	stock ["panel-lockscreen"] =    {{"icons/lock.png"}}
	stock ["panel-logout"] =        {{"icons/exit.png"}}
	stock ["panel-gnome-logo"] =    {{"icons/gnome2.png"}}
	}

class "GtkWidget" style "panel-icons"
####################################################
class "GtkWidget" style "default"
