# WoDaC GTK theme. Created by simone_engineer (simone.engineer@gmail.com)
# Aurora GTK Engine 1.4 is required


#Icon Sizes
gtk-icon-sizes ="gtk-menu = 16,16:gtk-button=16,16:gtk-small-toolbar=16,16:gtk-large-toolbar=24,24:gtk-dnd=16,16:panel-menu=16,16:panel=16,16:gtk-dialog=48,48"   
gtk-toolbar-icon-size = GTK_ICON_SIZE_SMALL_TOOLBAR

#default color scheme
gtk_color_scheme = "fg_color:#E3E3E3\nbg_color:#413E3C\nbase_color:#FFFFFF\ntext_color:#000000\nselected_bg_color:#F89326\nselected_fg_color:#FFFFFF\ntooltip_bg_color:#D8D8D8\ntooltip_fg_color:#252525"
gtk-menu-popup-delay = 50

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

include "panel.rc"

style "theme-default"
{
  # button
  GtkButton::default_border			= {0, 0, 0, 0}
  #GtkButton::default_outside_border		= {0, 0, 0, 0}
  GtkButton::inner-border			= {0, 0, 0, 0}
  #GtkButton::button-relief 			= GTK_RELIEF_NONE
  GtkButton::child-displacement-x		= 1
  GtkButton::child-displacement-y		= 1
  #GtkButton::displace-focus			= 1
  GtkButton::shadow_type			= GTK_SHADOW_NONE
  #GtkButton::image-spacing			= 2
  
  # button box
  #GtkButtonBox::child-internal-pad-x		= 0

  # check button
  #GtkCheckButton::indicator-size		= 15
  #GtkCheckButton::indicator-spacing		= 1

  # radio button
  GtkRadioButton::indicator-size		= 10	# -modificato: era disattivato default=15

  # color button
  #GtkColorButton::default_border		= {0, 0, 0, 0}
  #GtkColorButton::child-displacement-y		= 1

  # check menuitem
  GtkCheckMenuitem::indicator-size		= 10	# -modificato: era disattivato default=13

  # combo box
  #GtkComboBox::appears-as-list 		= 1
  GtkComboBox::arrow-size			= 6	# -modificato: era disattivato default=10
  #GtkComboBox::shadow_type			= GTK_SHADOW_OUT




  # entry
  GtkEntry::inner-border			= {4, 4, 1, 1}

  # expander
  #GtkExpander::expander_size			= 10
  #GtkExpander::expander-spacing		= 2

  # spin button
  #GtkSpinButton::shadow_type			= GTK_SHADOW_NONE
  #GtkSpinButton::inner-border			= {1, 1, 1, 1}

  # menu
  GtkMenu::horizontal-offset			= -1
  #GtkMenu::vertical-offset			= 0
  #GtkMenu::horizontal-padding			= 2
  #GtkMenu::vertical-padding			= 2
  #GtkMenu::double-arrows			= 0

  # menubar
  GtkMenuBar::internal-padding			= 0
  GtkMenuBar::shadow_type			= GTK_SHADOW_NONE
  #GtkMenuBar::button-relief			= GTK_RELIEF_NONE

  # menuitem
  GtkMenuItem::arrow-scaling			= 0.5
  #GtkMenuItem::arrow-spacing			= 10
  GtkMenuItem::horizontal-padding		= 2
  GtkMenuItem::toggle-spacing			= 3#E4C0DA
  #GtkMenuItem::selected-shadow-type		= GTK_SHADOW_NONE

  # notebook
  #GtkNotebook::arrow-spacing			= 0
  GtkNotebook::tab-curvature			= 2.5
  GtkNotebook::tab-overlap			= 3
  #GtkNotebook::has-secondary-backward-stepper	= 1
  #GtkNotebook::has-secondary-forward-stepper	= 1
  #GtkNotebook::has-backward-stepper		= 1
  #GtkNotebook::has-forward-stepper		= 1

  # option menu
  #GtkOptionMenu::indicator-size		= {0, 0}
  #GtkOptionMenu::indicator-spacing		= {0, 0, 0, 0}

  #GtkPaned::handle_size			= 8

  # progressbar
  #GtkProgressBar::xspacing			= 0
  #GtkProgressBar::yspacing			= 0

  # scale
  GtkScale::slider-length			= 20
  GtkScale::slider-width			= 11
  #GtkScale::trough-border			= 0
  GtkScale::value-spacing			= 0
  #GtkScale::stepper-size 			= 13
  #GtkScale::activate_slider			= 1
  #GtkScale::trough-side-details		= 1
  #GtkScale::trough-under-steppers		= 0
  #GtkScale::arrow-displacement-x		= 0
  #GtkScale::arrow-displacement-y		= 0

  # scrollbar
  #GtkScrollbar::fixed-slider-length		= 1
  #GtkScrollbar::min_slider_length		= 35
  #GtkScrollbar::has-backward-stepper		= 1
  #GtkScrollbar::has-forward-stepper		= 1
  #GtkScrollbar::has-secondary-backward-stepper	= 1
  #GtkScrollbar::has-secondary-forward-stepper	= 1

  # range
  GtkRange::trough-border			= 2
  GtkRange::slider-width			= 11
  #GtkRange::activate-slider			= 1
  #GtkRange::arrow-displacement-x		= 0
  #GtkRange::arrow-displacement-y		= 0
  #GtkRange::stepper-size			= 14
  #GtkRange::stepper-spacing			= 0
  #GtkRange::trough-side-details 		= 1
  GtkRange::trough-under-steppers 		= 0

  # scrolledwindow
  #GtkScrolledWindow::scrollbar-spacing		= 3
  #GtkScrolledWindow::scrollbars-within-bevel	= 1
  GtkScrolledWindow::shadow_type		= GTK_SHADOW_NONE

  GtkStatusbar::shadow_type 			= GTK_SHADOW_NONE

  #GtkToolButton::icon-spacing			= 0

  # toolbar
  #GtkToolbar::internal-padding			= 0
  #GtkToolbar::button-relief			= GTK_RELIEF_NONE
  GtkToolbar::shadow-type			= GTK_SHADOW_NONE
  GtkToolbar::space-size			= 0
  #GtkToolbar::max-child-expand			= 0
  #GtkToolbar::space-style			= GTK_TOOLBAR_SPACE_LINE

  # treeview
  GtkTreeView::expander_size			= 10
  GtkTreeView::vertical-separator		= 0
  GtkTreeView::horizontal-separator		= 0
  #GtkTreeView::allow-rules			= 1
  GtkTreeView::odd-row-color			= mix (0.9, @base_color, @selected_bg_color)
  #GtkTreeView::even-row-color			=
  #GtkTreeView::indent-expanders		= 1
  #GtkTreeView::row-ending-details		= 1

  # widget
  #GtkWidget::focus-line-width			= 1
  #GtkWidget::focus-padding			= 1
  #GtkWidget::interior-focus			= 1
  GtkWidget::link-color				= "#0062dc"
  GtkWidget::visited-link-color			= "#8c00dc"
  #GtkWidget::scroll-arrow-hlength		= 16
  #GtkWidget::scroll-arrow-vlength		= 16
  #GtkWidget::separator-height			= 0
  #GtkWidget::separator-width			= 0
  #GtkWidget::wide-separators			= 0

  BonoboUiToolbar::shadow-type			= GTK_SHADOW_NONE

  #GnomeHref::link_color			= "#0062dc"

  # wncktasklist
  WnckTasklist::fade-overlay-rect		= 0
  WnckTasklist::fade-loop-time			= 5.0
  #WnckTasklist::fade-max-loop			= 50
  WnckTasklist::fade-opacity			= 0.5 # final opacity

  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]     	=  "#000000"	#@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, 2 = sunken
    curvature      = 2.5
    arrowsize      = 1.0 # 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
    contrast       = 1.0	
  }
}


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

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

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

# button
style "theme-button" = "theme-widest"
{
  xthickness = 3
  ythickness = 3
  bg[NORMAL]   = shade (1.16, @bg_color)
  bg[ACTIVE]   = "#413E3C"   #shade (1.3, mix (0.7, @bg_color, "#9A9A9A"))
  bg[PRELIGHT] = shade (1.3, mix (0.7, @bg_color, "#444444"))
}

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

# frame
style "theme-frame" = "theme-default"{}

# toolbar
style "theme-toolbar" = "theme-slim"
{
  engine "pixmap"
   {
        image
        {
                function = BOX
		stretch = FALSE
                file = "wallpaper.png"
                border = {10, 10, 10, 10}
                #detail = "base"
		
        }
   }
}

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

# slider
style "theme-scale" = "theme-slim"
{
  bg[NORMAL]   = mix (0.7, @bg_color, @selected_bg_color)
  bg[PRELIGHT] = shade (1.1, mix (0.7, @bg_color, @selected_bg_color))
}
# scrollbar
style "theme-range" = "theme-button"
{
   bg[NORMAL]   = mix (0.4, @bg_color, @selected_bg_color)	#-modificato default=0.7
  bg[ACTIVE]   = @bg_color
  bg[PRELIGHT] = shade (1.1, mix (0.3, @bg_color, @selected_bg_color))		#-modificato shade (1.1, mix (0.7, @bg_color, @selected_bg_color))
  # Arrows
  text[NORMAL] = shade (0.4, @bg_color)
}

# notebook
style "theme-notebook" = "theme-wider"
{
  bg[NORMAL] = shade (1.1, @bg_color)
  fg[ACTIVE] = shade (0.9, @base_color)
  bg[ACTIVE] = shade (0.9, @bg_color)
}

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

# menu
style "theme-menu" = "theme-default"
{
  xthickness = 0
  ythickness = 0
  bg[NORMAL] = @bg_color
 
}

# menu item
style "theme-menu-item" = "theme-wider"
{
  xthickness = 3
  ythickness = 3
  fg[NORMAL] 	 =  "#E3E3E3"		#@text_color		#@base_color
  text[NORMAL]   =  "#E3E3E3"		#@text_color
  fg[PRELIGHT] 	 =  "#E3E3E3"		#@text_color		#@selected_fg_color
  text[PRELIGHT] =  "#E3E3E3"		#@text_color		#@selected_fg_color
}

# menubar
style "theme-menubar" = "theme-slim"
{
  
  engine "pixmap"
   {
        image
        {
                function = BOX
		stretch = FALSE
                file = "wallpaper.png"
                border = {10, 10, 10, 10}
                #detail = "base"
		
        }
   }
}

# menubar item
style "theme-menubar-item" = "theme-menu-item"
{
fg[NORMAL] 	 =  "#E3E3E3"
}

# tree
style "theme-tree" = "theme-slim"
{
  # headers
  xthickness   = 3
  bg[PRELIGHT] = mix (0.8, @base_color, @selected_bg_color)
  bg[ACTIVE]   = mix (0.8, @base_color, @selected_bg_color)
}

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

# lists
style "theme-tree-arrow" = "theme-button"	#-modificato default="theme-slim"
{
  bg[NORMAL] = @selected_bg_color
}

# tooltips
style "theme-tooltips" = "theme-wider"
{
  bg[NORMAL]   = @tooltip_bg_color
  fg[NORMAL]   = @tooltip_fg_color
}

# progressbar
style "theme-progressbar" = "theme-wide"
{
  bg[NORMAL] = @base_color
}

# combo
style "theme-combo" = "theme-button"
{
   GtkButton::inner-border = { 0, 1, 0, 0 }
   text[NORMAL] = "#000000"
}
style "theme-combo-box" = "theme-button"
{
  ythickness = 1
  text[NORMAL] = "#E3E3E3"
  text[PRELIGHT] = "#E3E3E3"
}

#gtkentry
style "theme-entry" = "theme-button"	#-modificato non c'era
{
  engine "aurora"
   {
     curvature      = 5  
   }
}

style "theme-statusbar" = "theme-slim"
{
bg[NORMAL] = "#6F6F6F"
}


style "theme-combo-arrow" = "theme-button"{}

style "theme-check-radio-button" = "theme-button"
{
text[SELECTED]        =  @text_color				# check and radio fg selected color 
   text[INSENSITIVE]	=  shade (0.655,@bg_color)		# check and radio fg insensitive color
}

style "theme-calendar" = "theme-slim"{}

style "theme-separator-menu-item"
{
	GtkSeparatorMenuItem::horizontal-padding = 2
	# We are setting the desired height by using wide-separators
	# There is no other way to get the odd height ...
	GtkWidget::wide-separators = 1
	GtkWidget::separator-width = 1
	GtkWidget::separator-height = 5
	xthickness = 1
	ythickness = 0
}


# widget styles
class "GtkWidget"	style "theme-default"
class "GtkCheckButton"  style "theme-check-radio-button"
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 "GtkMenuBar"      style "theme-menubar"
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 "GtkSeparator"    style "theme-wide"
class "GtkArrow"        style "theme-combo-arrow"
class "GtkSpinButton"	style "theme-entry"
class "GtkCalendar"     style "theme-calendar"
class "GtkStatusbar"	style "theme-statusbar"

# menus
widget_class "*.<GtkMenuItem>.*"			style "theme-menu-item"
widget_class "*<GtkMenuBar>.<GtkMenuItem>*"		style "theme-menubar-item"
widget_class "*<GtkSeparatorMenuItem>*" 		style "theme-separator-menu-item"
widget_class "*<GtkButton>"				style "theme-button"
widget_class "*<GtkCheckButton>"			style  "theme-check-radio-button"
widget_class "*<GtkHandleBox>"				style "theme-handlebox"

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

widget_class "*.GtkSpinButton*"				style "theme-entry"

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

# notebook stuff
widget_class "*<GtkNotebook>"				style "theme-notebook"
widget_class "*.GtkNotebook.*GtkEventBox"		style "theme-notebook"
widget_class "*.GtkNotebook.*GtkViewport"		style "theme-notebook"
widget_class "*.GtkNotebook.GtkLabel*"			style "theme-notebook" #for tabs
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

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

# 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 "panelbutton" = "theme-button"
{
  # as buttons are draw lower this helps center text
  ythickness = 3 # higher value for bigger size panels
}
widget_class "*Panel*GtkToggleButton*"			style "panelbutton"
widget_class "*.ETree.ECanvas" 				style "theme-tree" #evolution
widget_class "*.ETable.ECanvas" 			style "theme-tree" #evolution

style "my-background"
{
   engine "pixmap"
   {
        image
        {
                function = FLAT_BOX
		#stretch = FALSE
		file = "wallpaper.png"
		stretch = FALSE
                border = {10, 10, 10, 10}
                detail = "base"
		
        }
   }
}
class "GtkWindow" style "my-background"




#####Background Pidgin######

pixmap_path "~/"
style "my-blist" {
bg_pixmap[NORMAL] = "wallpaper.png"
text[NORMAL] = "#E3E3E3"
#this makes the text white, if you want black, take this code:
#text[NORMAL] = "#000000"
bg[NORMAL] = "#E3E3E3"
base[NORMAL] = "#E3E3E3"
GtkTreeView::odd_row_color = ""
GtkTreeView::even_row_color = ""
}
widget "*pidgin_blist_treeview" style "my-blist"

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







