#------------------------------------------------------------------------
# Phlat-Boogie Theme
# by Todd Morgan (tubatodd_AT_hotmail.com)
# Uses the "Smooth" Theme engine
#------------------------------------------------------------------------
# Special thanks to Andrew Johnson, the creator of the Smooth engine
# for his help and guidance.
#
# Inspiration:
# General theme inspired by the "Titanium" and "Aramanth" themes
# Based on colors found on our dog, Biscuit (aka "Boogie")
# Golden coat, pink tongue, liver colored nose (scrollbar), white 
# feet/blaze/tip of tail and black pads on his feet
#-------------------------------------------------------------------------

style "default" 
{
	GtkButton::default_border = {0, 0, 0, 0}
  	GtkButton::default_outside_border = {0, 0, 0, 0}
	GtkCheckButton::indicator_size    = 13
	GtkRadioButton::indicator_size    = 12
	GtkRange::trough_border           = 0
	GtkRange::slider_width            = 15
	GtkRange::stepper_size            = 15
	GtkRange::stepper_spacing         = 2
	GtkScrollbar::min_sliderlength = 30
	GtkPaned::handle_size = 6
	GtkToolbar::shadow-type = none
  	GtkScrollbar::has_backward_stepper = 1
	GtkScrollbar::has_secondary_forward_stepper = 0
	GtkScrollbar::has_forward_stepper = 1
	GtkScrollbar::has_secondary_backward_stepper = 0
#-----------------------
#  MAIN THEME COLORS
#-----------------------
  	fg[NORMAL]       = "#000000"
  	fg[ACTIVE]       = "#000000"
  	fg[PRELIGHT]     = "#000000"
  	fg[SELECTED]     = "#FFFFFF"
  	fg[INSENSITIVE]  = "#999989" 
  	bg[NORMAL]       = "#E3E1A5"  
  	bg[ACTIVE]       = "#D3C996"  
  	bg[PRELIGHT]     = "#DC8585"
  	bg[SELECTED]     = "#D3C996" 
  	bg[INSENSITIVE]  = "#eeeee0" 
  	base[NORMAL]     = "#ffffff"
  	base[SELECTED]   = "#DC8585"
  	base[ACTIVE]     = "#d3c996"
  	base[PRELIGHT]   = "#E5E5F7"
  	base[INSENSITIVE]= "#ddddcf"
  	text[INSENSITIVE]= "#747474"
  	text[SELECTED]   = "#ffffff"
  	text[ACTIVE]     = "#000000"

	engine "smooth"
	{
		fill 
		{
       			#----------------------------
			# Simple gradiant - buttons
			#----------------------------
			#style = shade
      			#hdirection = vertical
      			#vdirection = horizontal
      			#shade1 = 0.85
      			#shade2 = 1.0
			#--------------------
			# Flat - buttons
			#--------------------
			style=solid     
    		}
	
    		line 
		{
        		style=flat
        		thickness=2
    		}
	
    		grip 
		{
        		style= midlines
			count= 3
			spacing= 2
			toolbar_overlap= FALSE
    		}
	
    		check 
		{
        		style=clean
			motif = FALSE
    		}
	
    		option 
		{
			style	= circle
			motif	= FALSE
		}
	
    		arrow 
		{
      			style = wonderland
      			solid = TRUE
      			etched = FALSE
    		}

    		tab_style = default #round
  	}
} 
#-----------------
#  BUTTON
#-----------------
style "button" = "default"
{
	bg[NORMAL]= "#E3E1B4"#"
	bg[PRELIGHT]= "#F1F0D7"	
	fg[ACTIVE] = "black"
  	fg[PRELIGHT] = "black"
	
	#radio buttons use text[state] for the check colour
  	text[NORMAL] = "black"
  	text[ACTIVE] = "black"
  	text[PRELIGHT] = "black"
}

#------------------
#  MENUITEM
#------------------
style "menuitem" 
{
	GtkMenuBar::internal-padding = 0
	GtkWidget::interior_focus = 1
	GtkWidget::focus_padding = 1
  	bg[PRELIGHT] = "#D3C996"
  	fg[PRELIGHT] = "#ffffff"
 
  	# Radio/Check items use text[state] for the check colour
  	text[NORMAL]   = "black"
  	text[PRELIGHT] = "black"
	
	fg[ACTIVE]        = "#ffffff"
  	fg[PRELIGHT]      = "#ffffff"
  	fg[SELECTED]      = "#FFFFFF"

	engine "smooth"
 	{
    		fill 
		{
       			#-----------------
			# Simple gradiant
			#-----------------
			#style = shade
      			#hdirection = vertical
      			#vdirection = horizontal
      			#shade1 = 0.75
      			#shade2 = 1.0
			#--------------------
			# Flat - buttons
			#--------------------
			style=solid
    		}
    		line 
		{
        		style=flat
        		thickness=1
    		}    
    		check 
		{
      			style = clean
    		}
    		arrow 
		{
      			style = wonderland
      			solid = TRUE
      			etched = FALSE
    		}
  	}
} 

#---------------------
#  SCROLLBAR
#---------------------

style "scrollbar" 
{ 
	bg[ACTIVE]       = "#DCDBC4"
	bg[NORMAL]       = "#A88677"
	bg[PRELIGHT]     = "#C59D8C"	
	GtkRange::trough_border= 0
	GtkScrollbar::min_slider_length = 30
	engine "smooth"
	{
    		fill 
		{
          		#-----------------
			# Simple gradiant
			#-----------------
			#style = shade
      			#hdirection = vertical
      			#vdirection = horizontal
      			#shade1 = 0.85
      			#shade2 = 1.0
			#-------
			# Flat
			#-------
			style=solid      
    		}

    		line 
		{
        		style=flat
        		thickness=1
    		}

     		trough 
		{
        		xpadding = 0
        		ypadding = 0
        		show_value = TRUE
        		fill 
			{
           			#------------------
				# Simple gradiant
				#------------------
				#style = shade
      				#hdirection = vertical
      				#vdirection = horizontal
      				#shade1 = 0.85
      				#shade2 = 1.0
				#--------------------
				# Flat - buttons
				#--------------------
				style=solid
      			} 
    		}

    		grip 
		{
        		style= midlines
			count= 3
        		xpadding = 2
        		ypadding = 2

			#---------------------------------
			# For flat/custom scrollbar grip
             		#---------------------------------
        		fill 
			{
				#------------------
				# Simple gradiant
				#------------------
				#style = shade
      				#hdirection = vertical
      				#vdirection = horizontal
      				#shade1 = 0.85
      				#shade2 = 1.0
				#--------------------
				# Flat - buttons
				#--------------------
				style=solid       
        		}
    		}
    		arrow 
		{
      			style = wonderland
      			solid = TRUE
      			etched = FALSE
    		}
  	}
}

#--------------
#  PANED
#--------------

style "paned" 
{
	engine "smooth" 
	{
    		line 
		{
      			style = flat
      			thickness = 2
    		}
    		grip 
		{
      			style = lines
    		}
  	}
}

#-----------------
#  TOOLBAR
#-----------------
style "toolbar"
{
  	engine "smooth"
  	{
    		fill 
		{
          		style=solid
    		}
      		line 
		{
          		style=flat
      		}
   		grip 
		{
        		#style= midlines
			#count= 3
			#spacing= 2
        		#toolbar_overlap = FALSE
        		#line 
			#{
          		#	style=flat
          		#	thickness=1
        		#}
       			#fill 
			#{
          		#	style=flat
      			#}          
    		}
  	}
}

#----------------
#  SCALES
#----------------
style "scales"  
{
	bg[ACTIVE]       = "#DCDBC4"
	bg[NORMAL]       = "#A88677"
	bg[PRELIGHT]     = "#C59D8C"
  	GtkRange::trough_border= 0
  	GtkRange::slider-width = 13
  	GtkScale::slider-length = 29
  	engine "smooth"
	{
    		fill 
		{
          		#-----------------
			# Simple gradiant
			#-----------------
			#style = shade
      			#hdirection = vertical
      			#vdirection = horizontal
      			#shade1 = 0.85
      			#shade2 = 1.0
			#-------
			# Flat
			#-------
			style=solid       
    		}

    		line 
		{
        		style=flat
        		thickness=1
    		}

     		trough 
		{
        		xpadding = 3
        		ypadding = 3
        		show_value = TRUE
        		fill 
			{
           			#------------------
				# Simple gradiant
				#------------------
				#style = shade
      				#hdirection = vertical
      				#vdirection = horizontal
      				#shade1 = 0.85
      				#shade2 = 1.0
				#--------------------
				# Flat - buttons
				#--------------------
				style=solid
      			} 
    		}

    		grip 
		{
        		style= midlines
			count= 3
        		xpadding = 2
        		ypadding = 2
			#---------------------------------
			# For flat/custom scale grip
             		#---------------------------------
        		fill 
			{         
			#-----------------
			# Simple gradiant
			#-----------------
			#style = shade
      			#hdirection = vertical
      			#vdirection = horizontal
      			#shade1 = 0.85
      			#shade2 = 1.0
			#-------
			# Flat
			#-------
			style=solid      
        		}
    		}
    		arrow 
		{
      			style = wonderland
      			solid = TRUE
      			etched = FALSE
    		}
  	}

} 

#------------------
#  INFOBAR
#------------------
style "infobar" 
{
	bg[NORMAL] = "#DCDBC4"
  	bg[PRELIGHT] = "#DC8585"
  	fg[PRELIGHT] = "white"
######  GTK Style Flags  ###### 
	xthickness      = 2
	ythickness      = 2

###### Theme Engine Style ######
	engine "smooth" 
	{	
    		real_sliders = FALSE
    		fill 
		{
			#------------------
			# Simple gradiant
			#------------------
			#style = shade
      			#hdirection = vertical
      			#vdirection = horizontal
      			#shade1 = 0.85
      			#shade2 = 1.0
			#--------------------
			# Flat - buttons
			#--------------------
			style=solid
    		}
    		line 
		{
      			style = flat
      			thickness = 2
    		}
    		trough 
		{
      			fill 
			{
        			style = solid
      			}
    		}
  	}

}

#-----------------------------------------
#  GTKSPIN
#  Up/Down arrows that change values
#-----------------------------------------
style "spin"
{
	bg[NORMAL]= "#E3E1B4"#"
	bg[PRELIGHT]= "#F1F0D7"	
	fg[ACTIVE] = "black"
  	fg[PRELIGHT] = "black"
	
	#radio buttons use text[state] for the check colour
  	text[NORMAL] = "black"
  	text[ACTIVE] = "black"
  	text[PRELIGHT] = "black"
}

#--------------------
#  NOTEBOOK
#--------------------
style "notebook" 
{

	bg[NORMAL]= "#D4D29D"

} 
#----------------
#  CLASS
#----------------
class "*Button*" style "button"
class "*HandleBox*" style "toolbar"
class "*MenuItem*" style "menuitem"
class "*BonoboDockItem*" style "toolbar"
class "*Scrollbar*" style "scrollbar"
class "*Progress*" style "infobar"
class "*Tool*" style "toolbar"
class "*MenuBar*" style "toolbar"
class "*Scale*" style "scales"
class "*OptionMenu*" style "button"
class "*GtkToggleButton*" style "button"
class "*Paned*" style "paned"
class "*GtkSpin*" style "spin"

#-------------------
#  WIDGET_CLASS
#-------------------
widget_class "*" style "default"
widget_class "*BonoboDockItem*" style "toolbar"
widget_class "*GtkButton*"style "button"
widget_class "*MenuItem*"style "menuitem"
widget_class "*Scrollbar*" style "scrollbar"
widget_class "*HandleBox*" style "toolbar"
widget_class "*Tool*" style "toolbar"
widget_class "*Progress*" style "infobar"
widget_class "*MenuBar*" style "toolbar"
widget_class "*Scale*" style "scales"
widget_class "*OptionMenu*" style "button"
widget_class "*RadioButton*" style "button"
widget_class "*CheckButton*" style "button"
widget_class "*GtkSpin*" style "spin"
widget_class "*GtkNotebook" style "notebook"
widget_class "*GtkFrame" style "notebook"
