# Etria.org Gtk Theme <Ghetto version>
# -> Tom von Schwerdtner <tvon@etria.org>
#
# Note: This theme used Brian Abreu's '5' theme as a template.  I 
# also got some ideas from the Eazel theme as well as countless others.


style "default"
{
  
  font = "-adobe-utopia-regular-r-normal-*-*-120-*-*-p-*-iso8859-1"
 


  bg[NORMAL] = { 0.373, 0.373, 0.388 }
  bg[SELECTED] = { 0.227, 0.294, 0.427 }
  bg[INSENSITIVE] = { 0.373, 0.373, 0.388 }
  bg[ACTIVE] = { 0.310, 0.310, 0.322 }
  bg[PRELIGHT] = { 0.373, 0.373, 0.388 }

  base[NORMAL] = { 0.051, 0.137, 0.314 }
  base[SELECTED] = { 0.227, 0.294, 0.427 }
  base[INSENSITIVE] = { 0.373, 0.373, 0.388 }
  base[ACTIVE] = { 0.051, 0.137, 0.314 }
  base[PRELIGHT] = { 0.051, 0.137, 0.314 }

  text[NORMAL] = { 0.753, 0.753, 0.753 }
  text[SELECTED] = { 1.000, 1.000, 1.000 }
  text[INSENSITIVE] = { 0.310, 0.310, 0.322 }
  text[ACTIVE] = { 0.753, 0.753, 0.753 }
  text[PRELIGHT] = { 0.753, 0.753, 0.753 }

  fg[NORMAL] = { 0.753, 0.753, 0.753 }
  fg[SELECTED] = { 1.000, 1.000, 1.000 }
  fg[INSENSITIVE] = { 0.310, 0.310, 0.322 }
  fg[ACTIVE] = { 0.753, 0.753, 0.753 }
  fg[PRELIGHT] = { 0.753, 0.753, 0.753 }
        
}

class "*" style "default"
#class "GtkWidget" style "default"

style "list" = "default"
{

	 bg[NORMAL] = { 0.373, 0.373, 0.388 }
}

style "menu" = "default"

{

        fg[NORMAL]   = { 0.753, 0.753, 0.753 }
	bg[PRELIGHT] = { 0.23, 0.23, 0.43 }

#        bg[PRELIGHT] = { 0.2, 0.38, 0.51 }
	fg[PRELIGHT] = { 0.753, 0.753, 0.753 }
	bg[SELECTED] = { 0.373, 0.373, 0.388 }
#	bg[SELECTED] = { 0.227, 0.294, 0.427 }
	bg[SELECTED] = { 0.2, 0.38, 0.51 }

}

widget_class "*enu*" style "menu"

style "option_menu"
{
	engine "pixmap"
        { 
		image
                {
                	function	= TAB
                	recolorable	= TRUE
                	overlay_file	= "option_menu.png"
                	overlay_stretch = FALSE
                }
        }
}
class "GtkOptionMenu" style "option_menu"




style "handleboxes"
{  
  engine "pixmap"
  {
  image 
      {
        function        = HANDLE
	recolorable     = TRUE
	file            = "button_active.png"
	border          = { 3, 3, 3, 3 }
	stretch         = TRUE
	overlay_file    = "button_active.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
	orientation     = VERTICAL
      }
    image 
      {
        function        = HANDLE
	recolorable     = TRUE
	file            = "button_active.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
	overlay_file    = "button_active.png"
	overlay_border  = { 0, 0, 0, 0 }
	overlay_stretch = FALSE
	orientation     = HORIZONTAL
      }
  }
}

class "GtkToolbar" style "handleboxes"

style "tip" = "default"

{


  bg[NORMAL] = { 0.373, 0.373, 0.388 }
  bg[SELECTED] = { 0.227, 0.294, 0.427 }
  bg[INSENSITIVE] = { 0.373, 0.373, 0.388 }
  bg[ACTIVE] = { 0.310, 0.310, 0.322 }
  bg[PRELIGHT] = { 0.373, 0.373, 0.388 }

#	bg[NORMAL] = { 0.2, 0.38, 0.51 }
#	bg[SELECTED] = { 0.2, 0.38, 0.51 }
#	bg[ACTIVE] = { 0.2, 0.38, 0.51 }
#	bg[PRELIGHT] = { 0.2, 0.38, 0.51 }
#	bg[INSENSITIVE] = { 0.2, 0.38, 0.51 }	
}



style "buttons" = "default"
{
  
  bg[PRELIGHT] = { 0.373, 0.373, 0.388 }
#  bg[PRELIGHT] = { 0.2, 0.38 , 0.51 }
  
  engine "pixmap" 
   {
    image 
      {
        function        = BOX
	recolorable     = TRUE
	state           = NORMAL
	detail          = "buttondefault"
	#shadow          = IN
	file            = "button_default.png"
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
      }
    image 
      {
        state           = NORMAL
        function        = BOX
	recolorable     = TRUE
	#shadow          = OUT
	file            = "button_active.png"
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
      }
    image 
      {
        state           = PRELIGHT
        function        = BOX
	recolorable     = TRUE
	#shadow          = IN
	file            = "button_active.png"
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
      }
    image 
      {
        state           = INSENSITIVE
        function        = BOX
	recolorable     = TRUE
	#shadow          = OUT
	file            = "button_inactive.png"
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
      }
    image 
      {
        state           = SELECTED
        function        = BOX
	recolorable     = TRUE
	#shadow          = OUT
	file            = "button_active.png"
	border          = { 2, 2, 2, 2 }
	stretch         = TRUE
      }
    image 
      {
        state           = ACTIVE
        function        = BOX
	recolorable     = TRUE
	#shadow          = IN
	file            = "button_pressed.png"
	border          = { 4, 4, 4, 4 }
	stretch         = TRUE
      }
   }
}

class "GtkButton" style "buttons"

style "check_boxes"
{
  engine "pixmap"
  {
    image 
      {
        function        = CHECK
	recolorable     = TRUE
	shadow          = OUT
	overlay_file    = "checkbox.png"
	overlay_stretch = FALSE
      }
    image 
      {
        function        = CHECK
	recolorable     = TRUE
	shadow          = IN
	overlay_file    = "checkedbox.png"
	overlay_stretch = FALSE
      }
   }
}

class "GtkCheckButton" style "check_boxes"

#
#  This is the style for the radio buttons.  It is just 2 simple images.
#

style "raido_buttons"
{
	engine "pixmap" {
		
	image 
	{
			function        = OPTION
			recolorable     = FALSE
			shadow          = OUT
			overlay_file    = "radio_inactive.png"
			overlay_border  = { 0, 0, 0, 0 }
			overlay_stretch = FALSE
		}
      
		image 
		{
			function        = OPTION
     	 		recolorable     = FALSE
    	  		shadow          = IN
   	   		overlay_file    = "radio_active.png"
   	   		overlay_border  = { 0, 0, 0, 0 }
			overlay_stretch = FALSE
 	     	}
	    }
}

class "GtkRadioButton" style "raido_buttons"

style "scroll_bars"
{

engine "pixmap"
{

#
# The Next 4 images are pixmaps for the scrollbars
#
  image 
      {
        function        = BOX
	recolorable     = TRUE
	detail          = "slider"
	state           = PRELIGHT
	file            = "scrollbar.png"
	border			= { 5, 5, 5, 5 }
	stretch         = TRUE
	orientation     = HORIZONTAL
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	detail          = "slider"
	state           = NORMAL
	file            = "scrollbar.png"
	border          = { 5, 5, 5, 5 }
	stretch         = TRUE
	orientation     = HORIZONTAL
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	detail          = "slider"
	state           = PRELIGHT
	file			= "scrollbar.png"
	border          = { 5, 5, 5, 5 }
	stretch         = TRUE
	orientation     = VERTICAL
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	detail          = "slider"
	file            = "scrollbar.png"
	border          = { 5, 5, 5, 5 }
	stretch         = TRUE
	orientation     = VERTICAL
      }

#
# A huge long old section for all the arrows out there. 12 arrows, Wow!
#
    image 
      {
    	function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
	file		= "arrow_up.png"
#	file            = "scrollbar_arrow.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = UP
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
        file            = "arrow_up.png"
#	file            = "scrollbar_arrow.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = UP
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
        file            = "arrow_up.png"
#	file            = "scrollbar_arrow_pressed.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = UP
      }

    image 
      {
    	function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
        file            = "arrow_down.png"
#	file            = "scrollbar_arrow.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = DOWN
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
        file            = "arrow_down.png"
# 	file            = "scrollbar_arrow.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = DOWN
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
        file            = "arrow_down.png"
# 	file            = "scrollbar_arrow_pressed.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = DOWN
      }

    image 
      {
    	function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
        file            = "arrow_left.png"
# 	file            = "scrollbar_arrow.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = LEFT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
        file            = "arrow_left.png"
#	file            = "scrollbar_arrow.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = LEFT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
        file            = "arrow_left.png"
#	file            = "scrollbar_arrow_pressed.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = LEFT
      }
       image 
      {
    	function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
        file            = "arrow_right.png"
#	file            = "scrollbar_arrow.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = RIGHT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
        file            = "arrow_right.png"
#	file            = "scrollbar_arrow.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = RIGHT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
        file            = "arrow_right.png"
#	file            = "scrollbar_arrow_pressed.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = RIGHT
      }
#
# Troughs
#
    image 
      {
        function        = BOX
	recolorable     = TRUE
	detail          = "trough"
	file            = "trough.png"
	border          = { 5, 5, 5, 5 }
	stretch         = TRUE
      }
  }
}

class "GtkScrollbar" style "scroll_bars"


style "progressbar"
{
  engine "pixmap"
  {
  image
       {
       function        = BOX
       recolorable     = TRUE
       detail          = "bar"
       file            = "progressbar.png"
       border          = { 1, 10, 15, 15 }
       stretch         = TRUE
       }
       image
       {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "progressbar_trough.png"
            border          = { 1, 1, 1, 1 }
            stretch         = TRUE
            orientation     = HORIZONTAL
       }
   }
}
class "GtkProgressBar" style "progressbar"
class "GtkBar" style "progressbar"


style "entries"
{

#
# These are for input boxes
#

engine "pixmap"
{
    image 
      {
	function        = FLAT_BOX
	recolorable     = TRUE
	state           = INSENSITIVE
        detail          = "entry_bg"
	file           = "entry.png"
	recolorable     = TRUE
	border			= { 5, 5, 5, 5 }
	stretch         = TRUE
      }
    image 
      {
	function        = FLAT_BOX
	recolorable     = TRUE
        detail          = "entry_bg"
	file            = "entry.png"
	recolorable     = TRUE
	border			= { 5, 5, 5, 5 }
	stretch         = TRUE
      }
    
#
# These images are for the highligh when text is highlighted.
#    
    image 
      {
        function        = FLAT_BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	detail          = "selected"
	file            = "highlight.png"
	border          = { 5, 5, 5, 5 }
	stretch         = TRUE
      }
    image 
      {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "selected"
	file            = "highlight.png"
	border          = { 5, 5, 5, 5 }
	stretch         = TRUE
      }
    image 
      {
        function        = FLAT_BOX
	recolorable     = TRUE
	state           = INSENSITIVE
	detail          = "text"
	file            = "highlight.png"
	border          = { 5, 5, 5, 5 }
	stretch         = TRUE
      }
    image 
      {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "text"
	file            = "highlight.png"
	border          = { 5, 5, 5, 5 }
	stretch         = TRUE
      }
    image 
      {
        function        = FLAT_BOX
	recolorable     = TRUE
	detail          = "viewportbin"
	file            = "button_pressed.png"
	border          = { 5, 5, 5, 5 }
	stretch         = TRUE
      }
    }
}

#class "GtkEntry" style "entries"

style "menubar"
{
  engine "pixmap" {
    image 
      {
        function        = BOX
	recolorable     = TRUE
	file            = "button_active.png"
	border          = { 5, 5, 5, 5 }
	stretch         = TRUE
      }
  }
}

#
# Class definitions
#

class "GtkMenuBar" style "menubar"

widget_class "*GtkList*" style "list"
widget_class "*GtkText*" style "list"
widget_class "GtkWidget" style "default"



