#Aurora Steel GTK theme/style
#created by krig ( please visit:  krigenator.googlepages.com  )

gtk-icon-sizes = "panel-menu=16,16:panel=16,16:gtk-button=16,16:gtk-large-toolbar=24,24"
gtk-button-images = 0 #  1 = enable / 0 = disable icons on buttons like Close, Help, etc

#default color scheme
gtk_color_scheme = "fg_color:#424242\nbg_color:#C6C8CB\nbase_color:#FFFFFF\ntext_color:#242424\nselected_bg_color:#0089D0\nselected_fg_color:#FFFFFF"
gtk-menu-popup-delay = 50

style "theme-default"
{

  GtkButton::default_border = { 0, 0, 0, 0 }
  GtkButton::child-displacement-x = 0
  GtkButton::child-displacement-y = 0
  #GtkWidget::focus-padding = 0
  #GtkRange::trough-side-details = 1
  GtkRange::trough-border = 0
  GtkRange::slider-width = 13
  GtkRange::stepper-size = 15

	ComboBoxEntry     ::inner-border 	= { 1, 1, 1, 1 }
	GtkToolbar     ::internal-padding     	= 0
	GtkToolbar     ::space-size     	= 0 ###
	GtkToolbar     ::shadow-type    	= GTK_SHADOW_NONE
	GtkToolbar     ::button-relief		= GTK_RELIEF_IN
	GtkEntry	::inner-border		= { 1, 1, 1, 1 }
        #GtkScrolledWindow::scrollbar-within-bevel = FALSE
	GtkMenu        ::horizontal-padding   	= 0
	GtkMenu        ::vertical-padding     	= 0
	GtkScrollbar   ::has-backward-stepper   = 0
	GtkScrollbar   ::has-forward-stepper    = 1
	GtkOptionMenu  ::indicator-size		= { 5, 9 }
  	GtkRange       ::activate-slider 	= 0 # toggle scrollbar press state view
	GtkScale       ::value-spacing	      	= 0

 
  GtkScrollbar::min_slider_length = 25
  GtkScrollbar::has-secondary-backward-stepper = 1
  
  GtkPaned::handle_size  = 8

  GtkMenuBar::internal-padding  = 0
  GtkTreeView::expander_size    = 14 
  GtkExpander::expander_size    = 14 
  
  GtkScale::slider-length = 13
  GtkScale::slider-width  = 19



  GtkStatusbar::shadow_type	= GTK_SHADOW_NONE #added
  GtkSpinButton::shadow_type 	= GTK_SHADOW_NONE #added
  GtkButton::default_outside_border	= { 1, 1, 1, 1 } #added

  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.0
  GtkNotebook::tab-overlap = 3.0
  GtkMenuItem::selected-shadow-type = GTK_SHADOW_IN
  GtkMenuItem::arrow-spacing = 15
  #Spacing between edge with indicator and text
  GtkOptionMenu::indicator-size = {15, 8}
  GtkOptionMenu::indicator-spacing = {4, 4, 4, 4}

  GtkCheckButton::indicator-size = 16
  GtkCheckButton::indicator-spacing = 2
  GtkRadioButton::indicator-size = 16

  GtkTreeView::horizontal_separator = 2
  	GtkTreeView	::odd_col_color 	= "#EDF3FE" 
  	GtkTreeView	::odd_row_color 	= "#FFFFFF"
  	GtkTreeView	::even_row_color 	= "#F1F5FA" # "#D1D7E2" # "#FFFFFF"
  	GtkTreeView	::even_col_color 	= "#FFFFFF"
  # GtkTreeView::odd_row_color = mix(0.93, shade (0.90,@base_color), @selected_bg_color)
  # GtkTreeView::odd_col_color = mix(0.93, shade (0.90,@base_color), @selected_bg_color)

  	GtkScrolledWindow::scrollbar-spacing  	= 0
  	GtkScrolledWindow::scrollbars-within-bevel 	= 1 # very important for better appearance ;)
	BonoboUiToolbar	::shadow-type		= GTK_SHADOW_NONE
	
	GtkToolButton::icon-spacing = 2

  WnckTasklist::fade-overlay-rect = 0

  xthickness = 1
  ythickness = 1

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

  bg[NORMAL]       	=  @bg_color
  bg[ACTIVE]        	=  shade (1.05, @bg_color)
  bg[PRELIGHT]     	=  @bg_color
  bg[SELECTED]		=  shade (1.255, @selected_bg_color)
  bg[INSENSITIVE]  	=  shade (0.98, @bg_color)

  base[NORMAL]     	=  @base_color
  base[ACTIVE]     	=  mix (0.90, shade (0.795,@bg_color), @selected_bg_color) 
  base[PRELIGHT]   	=  @base_color
  base[SELECTED]	=  lighter (@selected_bg_color) # shade (1.15, @selected_bg_color)
  base[INSENSITIVE]	=  shade (1.175, @bg_color) 

  text[NORMAL]     	=  @text_color
  text[ACTIVE]		=  shade (0.805,@base_color) # @text_color 
  text[PRELIGHT]   	=  @text_color
  text[SELECTED]   	=  @selected_fg_color
  text[INSENSITIVE]	=  shade (0.70, @bg_color)

  engine "aurora" 
  {
	  menubarstyle    = 0 		# 0 = flat, 1 = gradient
	  curvature       = 3.6 		# rounded corners in pixels (except tabs)
	  arrowsize       = 2 		# controls combo_arrow circle size.  Diameter set by (11 + 2 * arrowsize)

	  old_arrowstyle  = FALSE 	#set to TRUE for original circled arrows
	  animation       = TRUE 	# FALSE = disabled, TRUE = enabled
  } 
}

# mix (0.75,shade (0.95,@selected_bg_color),@base_color)

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 = 4

  bg[NORMAL]     =  shade (1.305, @bg_color) 
  bg[ACTIVE]     =  shade (1.205, @bg_color) 	 
  bg[PRELIGHT]   =  shade (1.305, @bg_color) 	
  bg[SELECTED]   =  @selected_bg_color  	#active border color
  bg[INSENSITIVE]  	=  shade (1.155,@bg_color)
  fg[ACTIVE]     =  @fg_color

  #for arrows
  text[SELECTED]   =  shade (0.75,@selected_fg_color)
}
# entry fields
style "theme-entry" = "theme-button" 
{
  GtkButton::inner-border = { 0, 0, 0, 1 }

   xthickness = 5
   ythickness = 5

  bg[SELECTED]   =  @selected_bg_color
  text[SELECTED] =  @selected_fg_color

  engine "aurora" 
  {
  	curvature = 0.0 		
  } 
}
# frames
style "theme-frame" = "theme-wide"
{ 
  fg[SELECTED] =  @selected_bg_color
  bg[SELECTED] =  @bg_color
}
# toolbar
style "theme-toolbar" = "theme-default"
{
	GtkToolbar     	::shadow-type	= GTK_SHADOW_NONE
	GtkToolbar     	::button-relief	= GTK_RELIEF_NONE
  	GtkWidget	::draw-border 	= { 1, 0, 1, 0 }

  bg[NORMAL]   = @bg_color
  base[ACTIVE]	= @fg_color
}

style "theme-handlebox" = "theme-default"
{
  bg[NORMAL] = @bg_color
}
# slider
style "theme-scale" = "theme-default"
{
  bg[NORMAL]   =  @bg_color		 #slider color
  bg[PRELIGHT] =  @base_color  		 #slider selected color 
  bg[SELECTED] =  darker (@bg_color) # shade (0.90,@bg_color) #track shade from this one to white?

  bg[ACTIVE]   = "black"
}
# scrollbar
style "theme-range" = "theme-default"
{
  bg[NORMAL]   =  mix (0.90, shade (0.795,@bg_color), @selected_bg_color) 
  bg[PRELIGHT] =  shade (1.205, @selected_bg_color)
  bg[ACTIVE]   	=  shade (1.205, @bg_color) # scrollbar base color

  #Arrows
  text[NORMAL]      =  @text_color 
  text[PRELIGHT]    =  @fg_color
  text[ACTIVE]      =  shade (0.90,@selected_bg_color) # pressed
  text[INSENSITIVE] =  mix (0.85,shade (0.90,@bg_color),@fg_color)
}

style "theme-notebook" = "theme-wider"
{
  GtkNotebook::tab-curvature = 0

  bg[NORMAL]   =  shade (1.155,@bg_color) 	#background
  bg[SELECTED] =  lighter (@fg_color)  		#tab reflection shade 
  fg[ACTIVE]   =  @fg_color 			#inactive tab text color
  bg[ACTIVE]   =  shade (1.015,@bg_color) 	#inactive tab background
  fg[NORMAL]   =  @text_color 			#selected tab text color
  engine "aurora" 
  {
  	curvature = 0.6
	# style  = CLASSIC # GUMMY CLASSIC GLOSSY 		
  }
}
# resizer
style "theme-paned" = "theme-default" 
{
  bg[PRELIGHT] =  @bg_color

}
# menu
style "theme-menu" = "theme-default"
{
  xthickness = 0
  ythickness = 0

  bg[NORMAL] = @base_color
  text[NORMAL] = @selected_bg_color
}

style "theme-menu-item" = "theme-wider"
{

  bg[SELECTED]     =  shade (1.415, @selected_bg_color)   # menu item selected background
  text[NORMAL]     =  @text_color
  fg[NORMAL]       =  @text_color
  text[PRELIGHT]   =  @selected_fg_color
  fg[PRELIGHT]     =  @selected_fg_color
}

style "theme-menubar" = "theme-default" 
{
  # bg[NORMAL] =   @selected_bg_color 
 }

style "theme-menubar-item" = "theme-menu-item" { }

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

  GtkWidget::focus-padding = 0

  #headers
  bg[NORMAL]   = @base_color 
  bg[PRELIGHT] = shade (1.755, @selected_bg_color) 
  bg[ACTIVE]   = @base_color # mix(0.955,  shade (1.05, @bg_color), @selected_bg_color)
  bg[SELECTED] = shade (1.225, @selected_bg_color)

  fg[SELECTED]		=  @bg_color 
  text[SELECTED]		=  @bg_color  
}
# lists
style "theme-tree-arrow" = "theme-default"
{
  GtkWidget::focus-padding = 0

  bg[NORMAL]   =  @fg_color
  bg[PRELIGHT] =  @selected_bg_color
  bg[SELECTED] = shade (1.15, @selected_bg_color)
}
# tooltips
style "theme-tooltips" = "theme-widest"
{
  xthickness = 5
  ythickness = 5

  bg[NORMAL]        =  "#FFFFC9" # @bg_color 		#background
  text[SELECTED]    =  @base_color 		#top-left background color shade
  fg[NORMAL]        =  @text_color  		#text color
  text[NORMAL]      =  darker (@bg_color)  	#tooltip border
}

style "theme-progressbar" = "theme-default"
{
  xthickness = 2
  ythickness = 2
  font_name  = "Sans Bold"
  bg[NORMAL]        =  shade (1.2385, @bg_color) #background
  bg[SELECTED]      =  shade (1.035, @selected_bg_color) #progressbar active color
  fg[PRELIGHT]      =  @base_color 			#text on progressbar
}

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

   xthickness = 5
   ythickness = 5
 # combo-button settings
   bg[NORMAL]     =  shade (1.515,@selected_bg_color) 
   bg[ACTIVE]     =  shade (1.215,@selected_bg_color) # shade (0.965, @bg_color) 	 
   bg[PRELIGHT]   =  shade (1.515,@selected_bg_color) # shade (1.305, @bg_color) 	
   bg[SELECTED]   =  @selected_bg_color  # border box color
   base[NORMAL]   =  @base_color # "#FFFFC9" # custom color for combobox entry bg
   base[INSENSITIVE]   =  shade (1.155,@bg_color) # box entry
   bg[INSENSITIVE]   =  shade (1.155,@bg_color) # button

  fg[SELECTED]   	=  @fg_color
}

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

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

  bg[SELECTED]	=  @base_color
}

style "theme-check-radio-buttons" = "theme-button"
{
  GtkWidget ::interior-focus = 0
  GtkWidget::focus-padding = 1

  base[NORMAL]          =  @base_color 				# uncheck active background
  base[PRELIGHT]        =  @base_color				# prelight uncheck active background
  bg[NORMAL]            =  @bg_color 				# active and inactive border 
  bg[SELECTED]          =  shade (1.515,@selected_bg_color) 	# bg_color of check and radio selected 
  text[SELECTED]        =  @text_color				# check and radio fg selected color 
  text[INSENSITIVE]	=  shade (0.655,@bg_color)		# check and radio fg insensitive color
}

style "aurora-frame-title"
{
	fg[NORMAL] = lighter (@fg_color)
}

#nautilus search stripe and other specialties
style "extra-view" 
{
	bg[NORMAL] 		= shade(0.4, @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"

# 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"

widget_class "*.<GtkFrame>.<GtkLabel>" style "aurora-frame-title"

style "panelbuttons" = "theme-button"
{
  # as buttons are draw lower this helps center text
  ythickness = 3 #higher value for bigger size panels
}

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


