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

gtk_color_scheme = "fg_color:#000000\nbg_color:#FFFFFF\nbase_color:#FFFFFF\ntext_color:#000000\nselected_bg_color:#D9E7EC\nselected_fg_color:#000000"
gtk-menu-popup-delay = 0

style "theme-default"
{
  GtkButton::default_border = { 0, 0, 0, 0 }
  GtkButton::child-displacement-x = 0
  GtkButton::child-displacement-y = 0

  GtkRange::trough-border = 0
  GtkRange::slider-width = 13
  GtkRange::stepper-size = 15

  GtkScrollbar::min_slider_length = 36
  GtkScrollbar::has-secondary-backward-stepper = 1

  GtkPaned::handle_size  = 8

  GtkMenuBar::internal-padding  = 0
  GtkTreeView::expander_size     = 13 #15
  GtkExpander::expander_size     = 13 #17

  GtkScale::slider-length = 21
  GtkScale::slider-width  = 11
  GtkScale::trough-border = 9


  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

  GtkMenu::vertical-padding = 0

  GtkNotebook::tab-curvature = 3
  GtkNotebook::tab-overlap = 4

  GtkMenuItem::arrow-spacing = 10
  GtkOptionMenu  ::indicator-size = {11, 5}

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

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

  GtkScrolledWindow::scrollbar-spacing = 0
  GtkScrolledWindow::scrollbars-within-bevel = 1


  xthickness = 1
  ythickness = 1

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

  bg[NORMAL]       	=  @bg_color
  bg[ACTIVE]        =  @bg_color
  bg[PRELIGHT]      =  mix(0.92, 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]     	=  mix (0.90, shade (0.795,@bg_color), @selected_bg_color) # shade (0.65,@base_color)
  base[PRELIGHT]   	=  @base_color
  base[SELECTED]    =  @selected_bg_color
  base[INSENSITIVE]	=  shade (0.95,@base_color)

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

  engine "aurora"
  {
	  menubarstyle    = 1 # 0 = flat, 1 = gradient, 2 = sunken
	  curvature       = 1.2
	  arrowsize       = 0.9 # 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
  }
}


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 = 3
}

style "theme-button" = "theme-widest"
{
  bg[NORMAL]   =  mix(0.995, shade (1.015,@bg_color), "black") # shade (1.350,@selected_bg_color) # mix(0.99, shade (1.15,@selected_bg_color), "white") #
  bg[ACTIVE]   =  mix(0.99, shade (1.10,@selected_bg_color), "white") # shade (0.95,@bg_color)
  bg[PRELIGHT] =  mix(0.9995, shade (1.20,@selected_bg_color), "yellow")
  bg[INSENSITIVE] =  mix(0.95, shade (1.05,@bg_color), @bg_color) # shade (1.03,@bg_color) # mix(1.15, shade (1.10,@selected_bg_color), @bg_color)
    bg[SELECTED]      =  "#80E5FF" # shade (1.015, @selected_bg_color)
    fg[NORMAL]       	=  @text_color
}

style "theme-entry" = "theme-button"
{
  xthickness = 4
  ythickness = 4
  base[SELECTED]      =  "#3399FF"
  text[SELECTED]      =  "white"
}

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

style "theme-toolbar" = "theme-default"
{
  bg[NORMAL] =  shade (1.075,@bg_color) #mix(0.98, shade (1.0475,@bg_color), shade (1.1,@selected_bg_color)) #slightly tinted
}

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

style "theme-scale" = "theme-default"
{
  bg[NORMAL]   =  shade (1.05, @bg_color)
  bg[PRELIGHT] =  mix(0.85, shade (1.1,@bg_color), @selected_bg_color)
}

style "theme-range" = "theme-default"
{
  bg[NORMAL]   =  mix(0.995, shade (1.015,@bg_color), "black")
  bg[ACTIVE]   =  @bg_color
  bg[PRELIGHT] =  mix(0.99, shade (1.20,@selected_bg_color), "yellow")

  #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)
}

style "theme-notebook" = "theme-wider"
{
  bg[NORMAL] =  shade (1.055,@bg_color)
  bg[SELECTED] =  shade (0.735, @bg_color)
  fg[ACTIVE] =  shade (0.30, @bg_color)
  bg[ACTIVE] =  shade (0.925, @bg_color)

}

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

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

style "theme-menu-item" = "theme-wider"
{
  bg[SELECTED] =  lighter (@selected_bg_color)
  text[PRELIGHT] =  @text_color
  fg[PRELIGHT] 	 =  @text_color
}

style "theme-menubar" = "theme-default"
{
#  bg[NORMAL] = shade (0.45,@bg_color)
}
style "theme-menubar-item" = "theme-menu-item" {

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

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

  GtkWidget::focus-padding = 0

  bg[NORMAL]   =  shade (1.05,@bg_color)
  bg[PRELIGHT] = shade (1.015,@bg_color)
  bg[ACTIVE]   =  mix(0.90,  shade (1.05,@bg_color), @selected_bg_color)
  fg[SELECTED]   =  @base_color
}

style "theme-list" = "theme-default"
{
  xthickness = 2
  ythickness = 1

  GtkWidget::focus-padding = 0

  bg[SELECTED]   =  @selected_bg_color
  text[SELECTED]   =  @base_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)
  fg[SELECTED]   =  @base_color
}

style "theme-tooltips" = "theme-widest"
{
  bg[NORMAL]   =  @base_color
  fg[NORMAL]   =  @fg_color
  text[NORMAL]   =  darker (@bg_color) # @fg_color
}

style "theme-progressbar" = "theme-default"
{
  xthickness = 2
  ythickness = 2
  font_name  = "Bold"
  bg[NORMAL]   =  shade (1.05,@bg_color)
  fg[NORMAL] =  @text_color # mix (0.70, shade (0.595,@bg_color), @selected_bg_color)
  fg[PRELIGHT] = @fg_color
}

style "theme-combo" = "theme-button"
{
  GtkButton::inner-border = { 0, 1, 0, 0 }
  xthickness = 4
  ythickness = 4
  base[SELECTED]      =  "#3399FF"
  text[SELECTED]      =  "white"
}

style "theme-combo-box" = "theme-button"
{
  xthickness = 4
  ythickness = 2

}

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

style "theme-view" = "theme-default"
{
  xthickness = 0
  ythickness = 0
  fg[SELECTED]     	=  @base_color
}

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

  bg[SELECTED]      =  mix(0.9995, shade (1.20,@selected_bg_color), "yellow") # @bg_color # shade (1.20,@bg_color)
  text[SELECTED]    =  @fg_color
  text[INSENSITIVE] =  shade (0.625,@bg_color)
  base[PRELIGHT]    =  mix(0.90, @base_color, @selected_bg_color)
  base[ACTIVE] =  mix(0.9995, shade (1.20,@selected_bg_color), "yellow") # shade (0.95,@base_color)
}

# widget styles
class "GtkWidget"       style "theme-default"
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 "GtkMenuBar"      style "theme-menubar"
class "GtkEntry"        style "theme-entry"
class "GtkProgressBar"  style "theme-progressbar"
class "GtkToolbar"      style "theme-toolbar"
class "GtkSeparator"    style "theme-wide"


widget_class "*<GtkMenuItem>*" style "theme-menu-item"
widget_class "*<GtkMenuBar>.<GtkMenuItem>*" style "theme-menubar-item"

widget_class "*<GtkButton>"      style "theme-button"
widget_class "*<GtkCheckButton>" style  "theme-check-radio-buttons"
widget_class "*<GtkHandleBox>"   style "theme-handlebox"

widget_class "*<GtkNotebook>"    style "theme-notebook"
widget_class "*<GtkNotebook>*<GtkEventBox>" style "theme-notebook"
widget_class "*<GtkNotebook>*<GtkDrawingArea>" style "theme-notebook"
widget_class "*<GtkNotebook>*<GtkLayout>" style "theme-notebook"
widget_class "*<GtkNotebook>*<GtkViewport>" style "theme-notebook"
widget_class "*<GtkNotebook>.GtkLabel*" style "theme-notebook" #for tabs

# combobox stuff
widget_class "*<GtkCombo>*"    style "theme-combo"
widget_class "*<GtkComboBox>*<GtkButton>"    style "theme-combo-box"
widget_class "*<GtkComboBoxEntry>*" style "theme-combo"
widget_class "*<GtkSpinButton>*"    style "theme-combo"

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

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

#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 "*.ETree.ECanvas" 	style "theme-tree" #evolution
widget_class "*.ETable.ECanvas" 	style "theme-tree" #evolution

style "panelbuttons" = "theme-button"
{
  # as buttons are draw lower this helps center text
  ythickness = 3
	bg[NORMAL]   	= shade (1.04, @bg_color)
	bg[PRELIGHT] 	= shade (1.25, @bg_color)
	bg[ACTIVE]   	= shade (0.85, @selected_bg_color)
	fg[ACTIVE]   	= @base_color

}

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


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


style "metacity-frame"
{
  # Focused title background color
  bg[SELECTED]  = @selected_bg_color

  # Focused title text color
  fg[SELECTED]  = @fg_color # shade (0.995, @base_color)
}

class "MetaFrames"     style "metacity-frame"
class "GtkWindow"      style "metacity-frame"


style "gimp-gtkmods" = "default"
{
  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.92, 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]     	=  mix (0.90, shade (0.795,@bg_color), @selected_bg_color) # 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)
}

widget_class "*Gimp*" style "gimp-gtkmods"
widget_class "*Eog*" style "gimp-gtkmods"
widget_class "*Gimp*" style "gimp-gtkmods"





