#
# Aurora Leopard Mod
#
# Aurora GTK engine 1.2 required
#

include "Scrollbars/scrollbar.rc"
include "panel.rc"
#Icon Sizes
#gtk-icon-sizes = "gtk-medium-toolbar=24,24:gtk-large-toolbar=32,24:gtk-button=24,24"        
#gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR
#default color scheme
gtk_color_scheme = "fg_color:#131313\nbg_color:#ADADAD\nbase_color:#ffffff\ntext_color:#1A1A1A\nselected_bg_color:#708DA9\nselected_fg_color:#ffffff"



gtk-button-images = 0
gtk-menu-images = 1

style "theme-default"
{


  GtkButton::child-displacement-x = 0
  GtkButton::child-displacement-y = 1
  #GtkButton      ::default_border    = { 1, 1, 1, 1 }
 # GtkButton      ::interior-focus    = 1
  #GtkButton::interior-focus = 0
  #GtkButton::focus-padding = 0
  #GtkButton::focus-line-width = 0
  #GtkButton::focus-line-height = 0
  #GtkButton::inner-border      = {0, 0, 0, 0}
  #GtkWidget::focus-padding = 0

#  GtkRange::trough_border				= 1
#  GtkRange::slider_width				= 15
#  GtkRange::stepper_size				= 15
	GtkVScale::slider_length 			= 15
	GtkVScale::slider_width 			= 21
	GtkHScale::slider_length 			= 15
	GtkHScale::slider_width				= 21


  GtkScrollbar::min_slider_length = 30

  GtkScrollbar::has-backward-stepper 		= 1
  #GtkScrollbar::has-secondary-backward-stepper 	= 1
  GtkScrollbar::has-forward-stepper		= 1
  #GtkScrollbar::has-secondary-forward-stepper	= 0
  
  GtkPaned::handle_size  = 8

  GtkMenuBar::internal-padding  = 0
  GtkTreeView::expander_size     = 13 #15
  GtkExpander::expander_size     = 13 #17
  
  GtkScale::slider-length = 11
  GtkScale::slider-width  = 11
  GtkScale::trough-border = 0

  GtkWidget::link-color = "#0062dc" # blue
  GtkWidget::visited-link-color = "#8c00dc" #purple

  WnckTasklist::fade-overlay-rect = 0
  WnckTasklist::fade-loop-time = 5.0 # 5 seconds
  WnckTasklist::fade-opacity = 0.5 # final opacity

  #makes menu only overlap border
 # GtkMenu::horizontal-offset = -1

  #removes extra padding at top and bottom of menus.  Makes menuitem overlap border
  #GtkMenu::vertical-padding = 0

  #set to the same as roundness, used for better hotspot selection of tabs
  GtkNotebook::tab-curvature = 0
  GtkNotebook::tab-overlap = 4

  GtkMenuItem::arrow-spacing = 10
  #Spacing between edge with indicator and text
  GtkOptionMenu  ::indicator-size = {11, 5}
  #GtkOptionMenu  ::indicator-spacing = {6, 5, 4, 4}

  GtkCheckButton ::indicator-size = 15
  GtkCheckButton ::indicator-spacing = 1
  GtkRadioButton ::indicator-size = 15

  GtkTreeView::horizontal_separator = 2
  GtkTreeView::odd_row_color = mix(0.98, shade (0.93,@base_color), @selected_bg_color)

  xthickness = 1
  ythickness = 1

  fg[NORMAL]       	=  @fg_color
  fg[ACTIVE]       	=  @fg_color
  fg[PRELIGHT]     	=  @fg_color
  fg[SELECTED]     	=  @selected_fg_color
  fg[INSENSITIVE]  	=  shade (3.0,@fg_color)

  bg[NORMAL]       	=  @bg_color
  bg[ACTIVE]        =  shade (1.0233,@bg_color)
  bg[PRELIGHT]      =  mix(0.90, shade (1.1,@bg_color), @selected_bg_color)
  bg[SELECTED]      =  @selected_bg_color
  bg[INSENSITIVE]  	=  shade (1.03,@bg_color)

  base[NORMAL]     	=  @base_color
  base[ACTIVE]     	=  shade (0.65,@base_color)
  base[PRELIGHT]   	=  @base_color
  base[SELECTED]    =  @selected_bg_color
  base[INSENSITIVE]	=  shade (1.025,@bg_color)

  text[NORMAL]     	=  @text_color
  text[ACTIVE]      =  shade (0.95,@base_color)
  text[PRELIGHT]   	=  @text_color
  text[SELECTED]   	=  @selected_fg_color
  text[INSENSITIVE]	=  mix (0.675,shade (0.95,@bg_color),@fg_color)

  engine "aurora" 
  {
	  menubarstyle		= 1 # 0 = flat, 1 = gradient
	  curvature       = 0
	  arrowsize       = 1 # controls combo_arrow circle size.  Diameter set by (11 + 2 * arrowsize)
	  old_arrowstyle  = TRUE # set to TRUE for original circled arrows
	  animation       = TRUE # FALSE = disabled, TRUE = enabled
  }
}

style "scrollbar" = "default"{}

style "theme-wide" = "theme-default"
{
  xthickness = 2
  ythickness = 2 
}

style "theme-wider" = "theme-default"
{
  xthickness = 3
  ythickness = 3
}

style "theme-widest" = "theme-default"
{
  xthickness = 4
  ythickness = 4
}

style "theme-button" = "theme-widest"
{
xthickness = 3
  ythickness = 3
  bg[NORMAL]   =  shade (1.3,@bg_color)
  bg[ACTIVE]   =  shade (0.85,@bg_color)
   bg[PRELIGHT] = shade (1.3,@bg_color)#bg[PRELIGHT] =  shade(1.1,@selected_bg_color)#shade (0.95,@bg_color)
}

style "theme-entry" = "theme-button" { }

style "theme-frame" = "theme-wide"
{
  GtkWidget::draw-border = {1,1,1,1}
}

style "theme-toolbar" = "theme-default"
{
  bg[NORMAL] =  shade(0.85,@bg_color)
}

style "theme-handlebox" = "theme-default"
{
  bg[NORMAL] = shade(0.9,@bg_color)#shade (1.075,@bg_color)
}

style "theme-scale" = "theme-default"
{
  bg[NORMAL]   =  shade (1.075,@bg_color)
  bg[PRELIGHT] =  shade (0.90,@bg_color)
}

style "theme-range" = "theme"
{
  bg[NORMAL]   =  shade (1.085,@bg_color)
  bg[ACTIVE]   =  @bg_color
  bg[PRELIGHT] =  mix(0.90, shade (1.085,@bg_color), @selected_bg_color)

  #Arrows
  text[NORMAL]      =  shade (0.275,@selected_fg_color) #shade (0.925,@fg_color)
  text[PRELIGHT]    =  @selected_fg_color
  text[ACTIVE]      =  shade (0.10,@selected_fg_color)
  text[INSENSITIVE] =  mix (0.80,shade (0.90,@bg_color),@fg_color)
  ythickness = 6
        
	
  engine "pixmap" 
  {
    image 
    {
      function			= BOX
      recolorable		= TRUE
      detail			= "trough"
      file				= "Range/trough-horizontal.png"
      border			= { 10, 10, 1, 19 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }	
    image 
    {
      function			= BOX
      recolorable		= TRUE
      detail			= "trough"
      file				= "Range/trough-vertical.png"
      border			= { 0, 19, 10, 10 }
      stretch			= TRUE
      orientation		= VERTICAL
    }
############### the sliders ###############

    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= NORMAL
      file				= "Range/null.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      overlay_file		= "Range/slider-horiz.png"
      overlay_stretch	= FALSE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
     state           		= PRELIGHT
      file				= "Range/null.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      overlay_file		= "Range/slider-horiz-prelight.png"
      overlay_stretch	= FALSE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= INSENSITIVE
      file				= "Range/null.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      overlay_file		= "Range/slider-horiz.png"
      overlay_stretch	= FALSE
      orientation		= HORIZONTAL
    }

######################### VERTICAL ###########################

    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= NORMAL
      file				= "Range/null.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      overlay_file		= "Range/slider-vert.png"
      overlay_stretch	= FALSE
      orientation		= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
     state           		= PRELIGHT
      file				= "Range/null.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      overlay_file		= "Range/slider-vert-prelight.png"
      overlay_stretch	= FALSE
      orientation		= VERTICAL
    }
    image 
    {
      function			= SLIDER
      recolorable		= TRUE
      state           		= INSENSITIVE
      file				= "Range/null.png"
      border			= { 0, 0, 0, 0 }
      stretch			= TRUE
      overlay_file		= "Range/slider-vert.png"
      overlay_stretch	= FALSE
      orientation		= VERTICAL
    }
  }


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

}

style "theme-notebook" = "theme-wider"
{
  #bg[NORMAL] =  shade (1.08,@bg_color)
  fg[ACTIVE] =  shade (0.30, @bg_color)
  bg[ACTIVE] =  shade (0.9, @bg_color)
  bg[INSENSITIVE] =  shade (1.7, @bg_color)
  bg[NORMAL] =  shade (1.15, @bg_color)
}


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

style "list-header"
{
   #Comment out the ythickness setting below for thicker column headers.
   #ythickness = 0
   GtkTreeView::odd_row_color 	= "#f2f2f2"
   GtkTreeView::even_row_color 	= "#ffffff"

#  fg[NORMAL] = "#ffffff"
#  text[NORMAL] = "#ffffff"

   engine "pixmap" 
	{

	#This image is used to draw the headers of columns in list views when they are
	#not selected.
    	image
      		{
        		function        	= BOX
			recolorable    	= TRUE
			state				= NORMAL
			file            		= "ListHeaders/list_header.png"
			border          	= { 2, 2, 2, 2 }
			stretch         	= TRUE
      		}

	#This image is used to draw the column headers in list views when they are
	#clicked.
    	image
      		{
        		function        	= BOX
			recolorable    	= TRUE
			state				= PRELIGHT
			file            		= "ListHeaders/list_header-prelight.png"
			border          	= { 2, 2, 2, 2 }
			stretch         	= TRUE
      		}

	#Does this do anything?

	image
      		{
        		function        	= BOX
			recolorable    	= TRUE
			state				= ACTIVE
			file					= "ListHeaders/list_header-pressed.png"
			border          	= { 2, 2, 2, 2}
			stretch         	= TRUE
      		}
  	}
}

widget_class "*List" style "list-header"
widget_class "*GtkTree*" style "list-header"
widget_class "*GtkCList*" style "list-header"

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

style "theme-paned" = "theme-default" {
  bg[PRELIGHT] =  shade (1.1,@bg_color)
engine "clearlooks" {}
}

style "theme-menu" = "theme-default"
{
  xthickness = 0
  ythickness = 0
  bg[NORMAL] = shade (1.5,@bg_color)
  #xthickness = 0
 # ythickness = 0
  #bg[NORMAL] = shade (1.15,@bg_color)
}

style "theme-menu-item" = "theme-menu"
{
  xthickness = 3
  ythickness = 3

  fg[PRELIGHT] 	 =  @selected_fg_color
  text[PRELIGHT] =  @selected_fg_color
}

style "theme-menubar"  { 
bg[NORMAL] =  @bg_color #shade(1.075, @bg_color)
}
style "theme-menubar-item" = "theme-default" {
	ythickness = 4
fg[NORMAL] = @selected_fg_color
fg[ACTIVE] = @selected_fg_color

}

style "theme-tree" = "theme-default"
{
  xthickness = 2
  ythickness = 2

  GtkWidget::focus-padding = 0

  bg[NORMAL]   =  shade (1.15,@bg_color)
  bg[PRELIGHT] = shade (1.20,@bg_color)
  bg[ACTIVE]   =  mix(0.85,  shade (1.05,@bg_color), @selected_bg_color)
}

style "theme-tree-arrow" = "theme-default"
{
  bg[NORMAL]   =  mix(0.70, shade (0.75,@bg_color), shade (0.80,@selected_bg_color))
  bg[PRELIGHT] =  mix(0.80, @bg_color, @selected_bg_color)
}

style "theme-tooltips" = "theme-widest"
{
  bg[NORMAL]   =  shade(1.3,@bg_color)#shade (0.4,@bg_color)
  bg[SELECTED] =  @bg_color
  fg[NORMAL]   =  @fg_color
  #bg[NORMAL]   =  shade (0.4,@bg_color)
  #bg[SELECTED] =  @selected_bg_color
  #fg[NORMAL]   =  @selected_fg_color
}

style "theme-progressbar" = "theme-default"
{
	bg[NORMAL] = "#979797"
        #GtkProgressBar::trough_border = 0
	xthickness = 1
        ythickness = 1
  	engine "pixmap" 
  	{
  		# Horizontal progressbar background
  		image 
		{
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "ProgressBar/trough-progressbar-horiz.png"
	    border          = { 1, 1, 1, 1}
            stretch         = TRUE
            orientation     = HORIZONTAL
        }

		# Horizontal progressbar
		image 
		{
            function        = BOX
            recolorable     = TRUE
            detail          = "bar"
            file            = "ProgressBar/progressbar-horiz.png"
	    border          = { 1, 1, 1, 1}
            stretch         = TRUE
            orientation		= HORIZONTAL
        }

		# Vertical progressbar background
		image
		{
		    function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "ProgressBar/trough-progressbar-vert.png"
	    border          = { 1, 1, 1, 1}
            stretch         = TRUE
		    orientation		= VERTICAL
		}

		# Vertical progressbar
	    image
	    {
		    function        = BOX
            recolorable     = TRUE
            detail          = "bar"
            file            = "ProgressBar/progressbar-vert.png"
	    border          = { 1, 1, 1, 1}
            stretch         = TRUE
		    orientation		= VERTICAL
	    } 
	}
}

style "theme-combo" = "theme-button" { 
  GtkButton::inner-border = { 0, 1, 0, 0 }
}

style "theme-combo-arrow" = "theme-button"
{
  xthickness = 1
  ythickness = 1
}

style "theme-view" = "theme-default"
{
  xthickness = 0
  ythickness = 0
}

style "theme-check-radio-buttons" = "theme-button"
{
  GtkWidget::interior-focus = 0
  GtkWidget::focus-padding = 1
  text[SELECTED] =  @selected_fg_color
  text[INSENSITIVE]	=  shade (0.625,@bg_color)
  base[PRELIGHT] =  mix(0.80, @base_color, @selected_bg_color)
}

#nautilus search stripe and other specialties
style "extra-view" {
	bg[NORMAL] = shade(0.6,@bg_color)
	fg[NORMAL] = @selected_fg_color
} 


#nautilus search stripe
widget "*.nautilus-extra-view-widget" style:highest "extra-view"
widget "*.nautilus-extra-view-widget.*.GtkLabel*" style:highest "extra-view"
widget "*.nautilus-extra-view-widget.*Button*.GtkLabel*" style:highest "theme-button"

# widget styles
class "GtkWidget"       style "theme-default"
class "GtkCheckButton"  style "theme-check-radio-buttons"
class "GtkButton"       style "theme-button"
class "GtkScale"        style "theme-scale"
class "GtkRange"        style "theme-range"
class "GtkPaned"        style "theme-paned"
class "GtkFrame"        style "theme-frame"
class "GtkMenu"         style "theme-menu"
class "GtkEntry"        style "theme-entry"
class "GtkMenuItem"     style "theme-menu-item"
class "GtkNotebook"     style "theme-notebook"
class "GtkProgressBar"  style "theme-progressbar"
class "GtkToolbar"      style "theme-toolbar"
class "GtkHandleBox*"   style "theme-handlebox"
class "GtkMenuBar"      style "theme-menubar"
class "GtkSeparator"    style "theme-wide"
class "GtkArrow"        style "theme-combo-arrow"
class "GtkScrollbar"    style "scrollbar"

# menus
widget_class "*.<GtkMenuItem>.*" style "theme-menu-item"

# combobox stuff
widget_class "*.GtkComboBoxEntry*" style "theme-combo"
widget_class "*.GtkCombo.GtkButton"    style "theme-combo"

# tooltips stuff
widget "gtk-tooltips*"  style "theme-tooltips"
widget "gtk-tooltip*"  style "theme-tooltips"

widget_class "*.GtkNotebook.*GtkEventBox" style "theme-notebook"
widget_class "*.GtkNotebook.*GtkViewport" style "theme-notebook"
widget_class "*.GtkNotebook.GtkLabel*" style "theme-notebook" #for tabs


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

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

# treeview stuff
widget_class "*.<GtkTreeView>.GtkButton" style "theme-tree"
widget_class "*.GtkCTree.GtkButton" 	style "theme-tree"
widget_class "*.GtkList.GtkButton" 	style "theme-tree"
widget_class "*.GtkCList.GtkButton" 	style "theme-tree"
widget_class "*.ETree*" 	style "theme-tree" #evolution

#For arrow bg
widget_class "*.<GtkTreeView>.GtkButton.*GtkArrow" style "theme-tree-arrow"
widget_class "*.GtkCTree.GtkButton.*GtkArrow" 	style "theme-tree-arrow"
widget_class "*.GtkList.GtkButton.*GtkArrow" 	style "theme-tree-arrow"

style "panelbuttons" = "theme-button"
{
  # as buttons are draw lower this helps center text
  ythickness = 3
}

widget_class "*Panel*GtkToggleButton*" style "panelbuttons"

#widget_class "*GtkCTree*" style "evolution-hack"
#widget_class "*GtkList*" style "evolution-hack"
#widget_class "*GtkCList*" style "evolution-hack"
#widget_class "*.ETree.*" style "evolution-hack"

