#
# 5: By Brian Abreu - brian@gvn.net
#
# Please note that I got a lot of ideas from themes such as coolness
# eMac, and Ice.  There is one small problem with this theme.
# The scrollbars get all messed when they are re-sized to be smaller
# than their original size.  If anyone knows how to keep them from re-
# sizing down, but to still alow them to resize to be larger, please let
# me know.
#
#

style "default"
{
        font = "-adobe-helvetica-normal-r-normal--12-*-*-*-*-*-*-*"
        
        bg[NORMAL] = { 0.8, 0.8, 0.8 }
        fg[NORMAL] = { 0.0, 0.0, 0.0 }
        
        bg[PRELIGHT] = { 0.32, 0.46 , 0.71 }
        fg[PRELIGHT] = { 0.0, 0.0, 0.0 }
                         
        bg[ACTIVE] = { 0.8, 0.8, 0.8 }
        fg[ACTIVE] = { 0.0, 0.0, 0.0 }
       
        bg[SELECTED] = {  0.32, 0.46 , 0.71 }
        fg[SELECTED] = { 1.0, 1.0, 1.0 }
        
        bg[INSENSITIVE] = { 0.7, 0.7, 0.7 }

}

class "*" style "default"

style "menu" = "default"
{
        fg[NORMAL]   = { 0.0, 0.0, 0.0 }
        bg[PRELIGHT] = { 0.32, 0.46 , 0.71 }
        fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
        bg[SELECTED] = { 0.32, 0.46 , 0.71 }
        
 
}

widget_class "*enu*" style "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.32, 0.46 , 0.71 }
	bg[SELECTED] = { 0.32, 0.46 , 0.71 }
	bg[ACTIVE] = { 0.32, 0.46 , 0.71 }
	bg[PRELIGHT] = { 0.32, 0.46 , 0.71 }
	bg[INSENSITIVE] = { 0.32, 0.46 , 0.71 }	
}



style "buttons" = "default"
{
  
  bg[PRELIGHT] = { 0.32, 0.46 , 0.71 }
  
  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            = "button_active.png"
	border			= { 5, 5, 5, 5 }
	stretch         = TRUE
	orientation     = HORIZONTAL
        overlay_file    = "scrollbar_thumb2.png"
        overlay_border  = { 1, 1, 1, 1 }
        overlay_stretch = FALSE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	detail          = "slider"
	state           = NORMAL
	file            = "button_active.png"
	border          = { 5, 5, 5, 5 }
	stretch         = TRUE
	orientation     = HORIZONTAL
        overlay_file    = "scrollbar_thumb2.png"
        overlay_border  = { 1, 1, 1, 1 }
        overlay_stretch = FALSE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	detail          = "slider"
	state           = PRELIGHT
	file		= "button_active.png"
	border          = { 5, 5, 5, 5 }
	stretch         = TRUE
	orientation     = VERTICAL
        overlay_file    = "scrollbar_thumb2.png"
        overlay_border  = { 1, 1, 1, 1 }
        overlay_stretch = FALSE
      }
    image 
      {
        function        = BOX
	recolorable     = TRUE
	detail          = "slider"
	file            = "button_active.png"
	border          = { 5, 5, 5, 5 }
	stretch         = TRUE
	orientation     = VERTICAL
        overlay_file    = "scrollbar_thumb2.png"
        overlay_border  = { 1, 1, 1, 1 }
        overlay_stretch = FALSE
      }

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

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

    image 
      {
    	function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
	file            = "scrollbar_arrow.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = LEFT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "scrollbar_arrow.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = LEFT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
	file            = "scrollbar_arrow_pressed.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = LEFT
      }
       image 
      {
    	function        = ARROW
	recolorable     = TRUE
	state           = NORMAL
	file            = "scrollbar_arrow.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = RIGHT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
	state           = PRELIGHT
	file            = "scrollbar_arrow.png"
	stretch         = TRUE
	border          = { 1, 1, 1, 1 }
	arrow_direction = RIGHT
      }
    image 
      {
        function        = ARROW
	recolorable     = TRUE
        shadow          = IN
	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 "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            = "menubar.png"
	border          = { 1, 1, 1, 1 }
	stretch         = TRUE
      }
  }
}

class "GtkMenuBar" style "menubar"
