# Original Theme Name: Earth
# Author: Link Dupont <link@subpop.net>
# Colors from rezlooks, Doug Whiteley, dougwhiteley (at) gmail.com
# Modified by Billy Cantrell, bvcmdk@yahoo.com
# Theme Name  : Resilient

style "default"
{
	GtkWidget::interior_focus = 0
	GtkWidget::focus-line-pattern = ""
	GtkWidget::focus_padding = 0

	GtkButton::default_spacing = 8
	GtkButton::default_border = {0,0,0,0}
	GtkButton::default_outside_border = {0,0,0,0}
	
	GtkCheckButton::indicator_size = 13
	GtkRadioButton::indicator_size = 12
	
	GtkPaned::handle_size = 6

	GtkRange::trough_border = 1
	GtkRange::slider_width = 15
	GtkRange::stepper_size = 15
	GtkRange::stepper_spacing = 0

  	GtkMenuBar::shadow-type = GTK_SHADOW_IN
  	GtkMenuBar::internal-padding = 0
  	GtkToolbar::shadow_type = GTK_SHADOW_NONE
  	GtkToolbar::internal-padding = 1
  	GtkFrame::shadow_type = GTK_SHADOW_NONE

	GtkButton::child_displacement_x = 1
	GtkButton::child_displacement_y = 1

    	GtkScrollbar::has_forward_stepper = 1
    	GtkScrollbar::has_backward_stepper = 1
    	GtkScrollbar::has_secondary_forward_stepper = 0
    	GtkScrollbar::has_secondary_backward_stepper = 0

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

	ythickness = 2

  	fg[NORMAL]        = "#222222"
  	fg[PRELIGHT]      = "#222222"
  	fg[SELECTED]      = "#ffffff"
  	fg[ACTIVE]        = "#000000"
  	fg[INSENSITIVE]   = "#b5b3ac"

  	bg[NORMAL]        = "#efebe5"
  	bg[PRELIGHT]      = "#f9f7f3"
  	bg[SELECTED]	    = "#6b746b"
  	bg[INSENSITIVE]   = "#efebe5"
  	bg[ACTIVE]        = "#c9c3b4"

  	base[NORMAL]      = "#ffffff"
  	base[PRELIGHT]    = "#849084"
  	base[ACTIVE]      = "#a69f91"
  	base[SELECTED]    = "#6b746b"
  	base[INSENSITIVE] = "#e8e5de"

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

	engine "smooth"
	{
		resize_grip = TRUE

		tabs
		{
			style = square
		}

		fill
		{
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.05
			shade2 = 0.95
		}

		edge
		{
			line
			{
				style = thin
				thickness = 1
			}
		}

		trough
		{
			fill
			{
				style = solid
			}
			line
			{
				style = flat
			}
		}

		focus
		{
			foreground[ACTIVE] = "#6b746b"
			foreground[SELECTED] = "#6b746b"
			foreground[NORMAL] = "#6b746b"
			foreground[PRELIGHT] = "#6b746b"
		}

		grip
		{
			fill
			{
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.05
			shade2 = 0.95
			}
			style = none
		}

		check
		{
			style = clean
			motif = FALSE
			fill
			{
				style = solid
			}
		}

		option
		{
			style = circle
			motif = FALSE
			
			line
			{
			     style = none
			}
		}

		button
		{
			embeddable = TRUE
		}

		arrow
		{
			style = wonderland
			solid = TRUE
			xpadding = 0
			ypadding = 0

			INSENSITIVE
			{
				etched = FALSE
			}
		}
	}
}
widget_class "*" style "default"

style "menuitem"
{
  ythickness = 2
	bg[PRELIGHT] = "#6b746b"
	fg[PRELIGHT] = "#ffffff"
	text[PRELIGHT] = "#ffffff"
	engine "smooth"
	{
		fill
		{
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.05
			shade2 = 0.95
		}

		edge
		{
			line
			{
				style = thin
				thickness = 1
			}
		}

		line
		{
			style = thin
			thickness = 1
		}
		
		check
		{
		    style = wonderland
		    motif = FALSE
		    fill
		    {
		        style = solid
		    }
	        line
	        {
	            style = none
	            thickness = 0
	        }
		}
		
		option
		{
			style = circle
			motif = FALSE
			fill
		    {
		        style = solid
		    }
			line
			{
				style = none
				thickness = 0
			}
		}

		arrow
		{
			style = wonderland
			solid = TRUE
			xpadding = 0
			ypadding = 0

			INSENSITIVE
			{
				etched = FALSE
			}
		}
	}
}
class "*MenuItem*" style "menuitem"
widget_class "*MenuItem*" style "menuitem"

style "menubar"
{
	fg[NORMAL]        = "#ffffff"
	bg[NORMAL]        = "#6b746b"
	engine "smooth"
	{
		fill
		{
				style = shaded
				hdirection = vertical
				vdirection = horizontal
				shade1 = 0.85
				shade2 = 1.10
		}
		edge
		{
			line
			{
				style = thin
				thickness = 1
			}
		}

		line
		{
			style = thin
			thickness = 1
		}
		grip
		{
			fill
			{
				style = shaded
				hdirection = vertical
				vdirection = horizontal
				shade1 = 1.05
				shade2 = 0.95
			}
			style = none
		}
	}
}
widget_class "*MenuBar" style "menubar"
class "*MenuBar" style "menubar"
widget_class "*MenuBar.*"  style "menubar"

style "toolbar"
{
	engine "smooth"
	{
		fill
		{
			style = solid
		}
		edge
		{
			line
			{
				style = thin
				thickness = 1
			}
		}
		grip
		{
			fill
			{
				style = shaded
				hdirection = vertical
				vdirection = horizontal
				shade1 = 1.05
				shade2 = 0.95
			}
			style = none
		}
	}
}
widget_class "*BonoboDockItem" style "toolbar"
class "*BonoboDockItem" style "toolbar"

widget_class "*HandleBox" style "toolbar"
class "*HandleBox" style "toolbar"

widget_class "*Toolbar" style "toolbar"
class "*Toolbar" style "toolbar"

style "hscrollbar" 
{
  bg[ACTIVE]        = "#efebe5"
	engine "smooth" {
		fill
		{
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.05
			shade2 = 0.95
		}
	
		line
		{
			style = thin
			thickness = 2
		}
	
		trough
		{
			fill
			{
				style = shaded
				hdirection = vertical
				vdirection = horizontal
				shade1 = 0.65
				shade2 = 0.85
			}
		}
	
		grip
		{
			style = none
		}

		focus
		{
			foreground[ACTIVE] = "#6b746b"
			foreground[SELECTED] = "#6b746b"
			foreground[NORMAL] = "#6b746b"
			foreground[PRELIGHT] = "#6b746b"
		}
	
		arrow
		{
			style = wonderland
			solid = TRUE
			xpadding = 1
			ypadding = 1

			INSENSITIVE
			{
				etched = FALSE
			}
		}
	}
}
widget_class "*HScrollbar*"         style "hscrollbar"
class "*HScrollbar*"                style "hscrollbar"

style "hscale"
{
  bg[ACTIVE]        = "#efebe5"
	GtkRange::trough_border = 1
    	GtkRange::slider-width = 20
	GtkScale::slider-length = 10
	engine "smooth"
	{
        fill
		{
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.05
			shade2 = 0.95
		}
	
		line
		{
			style = thin
			thickness = 1
		}
	
		trough
		{
		    show_value = TRUE
		    xpadding = 8
		    ypadding = 1
			fill
			{
				style = shaded
				hdirection = vertical
				vdirection = horizontal
				shade1 = 0.90
				shade2 = 1.05
			}
		}
	
		grip
		{
			style = none
			count = 1
		}

		focus
		{
			foreground[ACTIVE] = "#6b746b"
			foreground[SELECTED] = "#6b746b"
			foreground[NORMAL] = "#6b746b"
			foreground[PRELIGHT] = "#6b746b"
		}
	
		arrow
		{
			style = wonderland
			solid = TRUE
			xpadding = 1
			ypadding = 1

			INSENSITIVE
			{
				etched = FALSE
			}
		}
	}
}
widget_class "*HScale*"         style "hscale"
class "*HScale*"                style "hscale"

style "progressbar"
{
	bg[PRELIGHT] = "#6b746b"
	fg[PRELIGHT] = "#FFFFFF"
	bg[NORMAL] = "#e8e5de"
}
widget_class "*ProgressBar*" style "progressbar"

style "vscrollbar" 
{
  bg[ACTIVE]        = "#efebe5"
	engine "smooth" {
		fill
		{
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.05
			shade2 = 0.95
		}
	
		line
		{
			style = thin
			thickness = 2
		}
	
		trough
		{
			fill
			{
				style = shaded
				hdirection = vertical
				vdirection = horizontal
				shade1 = 0.65
				shade2 = 0.85
			}
		}
	
		grip
		{
			style = none
		}

		focus
		{
			foreground[ACTIVE] = "#6b746b"
			foreground[SELECTED] = "#6b746b"
			foreground[NORMAL] = "#6b746b"
			foreground[PRELIGHT] = "#6b746b"
		}
	
		arrow {
			style = wonderland
			solid = TRUE
			xpadding = 1
			ypadding = 1

			INSENSITIVE
			{
				etched = FALSE
			}
		}
	}
}
widget_class "*VScrollbar*"         style "vscrollbar"
class "*VScrollbar*"                style "vscrollbar"

style "vscale"
{
  bg[ACTIVE]        = "#efebe5"
	GtkRange::trough_border = 1
    	GtkRange::slider-width = 20
    	GtkScale::slider-length = 10
	engine "smooth"
	{
        fill
		{
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.05
			shade2 = 0.95
		}
	
		line
		{
			style = thin
			thickness = 1
		}
	
		trough
		{
		    show_value = TRUE
		    xpadding = 1
		    ypadding = 8
			fill
			{
				style = shaded
				hdirection = vertical
				vdirection = horizontal
				shade1 = 0.90
				shade2 = 1.05
			}
		}
	
		grip
		{
			style = none
			count = 1
		}

		focus
		{
			foreground[ACTIVE] = "#6b746b"
			foreground[SELECTED] = "#6b746b"
			foreground[NORMAL] = "#6b746b"
			foreground[PRELIGHT] = "#6b746b"
		}
	
		arrow
		{
			style = wonderland
			solid = TRUE
			xpadding = 1
			ypadding = 1

			INSENSITIVE
			{
				etched = FALSE
			}
		}
	}
}
widget_class "*VScale*"         style "vscale"
class "*VScale*"                style "vscale"

style "tooltip"
{
    bg[NORMAL] = "#e8e5de" # Human Highlight
	engine "smooth"
	{
		fill
		{
			style 	= solid
		}
		edge 
		{
			line
			{
				style = flat
			}
		}
	}
}
widget "gtk-tooltips" style "tooltip"

style "textentry"
{
    bg[INSENSITIVE] = "#e8e5de"
    base[INSENSITIVE] = "#e8e5de"
}
widget_class "*GtkEntry" style "textentry"

style "treeview"
{
    GtkWidget::focus_padding = 1
}
widget_class "*TreeView*" style "treeview"

style "ephybug"
{
    GtkWidget::interior_focus = 1
}
widget "*Ephy*Location*" style "ephybug"

style "tab" {
  	bg[NORMAL]		= "#f9f7f3"
  	bg[ACTIVE]			= "#e8e5de"
}
class "GtkNotebook"      style "tab"
widget_class "*GtkNotebook"      style "tab"

style "spin" {
	engine "smooth"
	{
		fill
		{
			style = shaded
			hdirection = vertical
			vdirection = horizontal
			shade1 = 1.05
			shade2 = 0.95
		}

		edge
		{
			line
			{
				style = thin
				thickness = 1
			}
		}

		line
		{
			style = thin
			thickness = 1
		}

		arrow
		{
			style = cleanice
			solid = TRUE
			xpadding = 0
			ypadding = 0

			INSENSITIVE
			{
				etched = FALSE
			}
		}
	}
}
class "GtkSpinButton"      style "spin"

