## Shining silver GTK2 Theme
## By Vincent Murasamé
## 
## Version 3.2
## 
## GPL - 2008
##
## Based upon the clearlooks glossy GTK2 theme

style "silver-default"
{
  GtkButton      ::default_border    = { 0, 0, 0, 0 }
  GtkRange       ::trough_border     = 0
  GtkPaned       ::handle_size       = 6
  GtkRange       ::slider_width      = 15
  GtkRange       ::stepper_size      = 15

  GtkScrollbar   ::min_slider_length = 30
  GtkCheckButton ::indicator_size    = 14
  GtkMenuBar     ::internal-padding  = 0
  GtkTreeView    ::expander_size     = 14
  GtkExpander    ::expander_size     = 16
  GtkScale       ::slider-length     = 15
#  GtkToolbar     ::button-relief     = GTK_RELIEF_NORMAL
#  GtkMenuBar     ::shadow-type       = GTK_SHADOW_OUT
#  GtkScrollbar   ::has-secondary-forward-stepper = 1
#  GtkScrollbar   ::has-secondary-backward-stepper = 1

  GtkButton      ::child-displacement-x = 1
  GtkButton      ::child-displacement-y = 1

  GtkMenu        ::horizontal_padding = 0
  GtkMenu        ::vertical_padding = 0

  WnckTasklist   ::fade-overlay-rect = 0

  xthickness = 1
  ythickness = 1

  GtkTreeView::even_row_color = "#ffffff"
  GtkTreeView::odd_row_color = "#e0e0e0"

  fg[NORMAL]		= "#000"
  fg[PRELIGHT]		= "#333" 
  fg[SELECTED]		= "#000"
  fg[ACTIVE]		= "#000"
  fg[INSENSITIVE]	= "#606060"
  
  bg[NORMAL]		= "#e0e0e0" 
  bg[PRELIGHT]		= "#f0f0f0" 
  bg[SELECTED]   	= "#c0c0c0" 
  bg[ACTIVE]		= "#b0b0b0" 
  bg[INSENSITIVE]	= "#a0a0a0" 

  base[NORMAL]     	= "#fff"
  base[PRELIGHT]   	= "#c0c0c0" 
  base[SELECTED]   	= "#a0a0a0" 
  base[ACTIVE]     	= "#b0b0b0"
  base[INSENSITIVE]	= "#a0a0a0"

  text[NORMAL]		= "#000"
  text[PRELIGHT]	= "#333"
  text[SELECTED]	= "#000" 
  text[ACTIVE]		= "#000"
  text[INSENSITIVE]	= "#909090"

  engine "murrine" 
  {
    	glazestyle = 3
	roundness = 3
	menubarstyle = 3
	menubaritemstyle = 1
	listviewheaderstyle = 1
	listviewstyle = 1
	scrollbarstyle = 2
	animation = TRUE
	#scrollbar_color =  "#97A0B1"
	#highlight_ratio = 0
	#contrast = 1.0
  }
}


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

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

style "silver-button" = "silver-wider"
{
  fg[PRELIGHT] = "#333"
  bg[NORMAL]        = "#e0e0e0"
  bg[PRELIGHT]      =  "#f0f0f0"
  bg[SELECTED]      =  "#d0d0d0"
  bg[INSENSITIVE]   =  "#a0a0a0"
  bg[ACTIVE]        = "#c0c0c0"
	engine "murrine"
	{roundness = 8}
}

style "silver-notebook" = "silver-wide"
{

  bg[NORMAL]        = "#d7d7d7"
  bg[SELECTED]      = "#f7f7f7"
  bg[PRELIGHT]      =  "#fff"
  bg[ACTIVE]        = "#b0b0b0"
  bg[INSENSITIVE]   = "#909090"
  engine "clearlooks"
	{
	style = GLOSSY
	radius = 6.0
	}
}
style "silver-tasklist" = "silver-default"
{
  xthickness = 5
  ythickness = 3
}

style "silver-toolbar" = "silver-wide"
{
  bg[NORMAL]        = "#d7d7d7"
  engine "clearlooks" 
	{
	style = GLOSSY
	toolbarstyle      = 1 # 0 = flat, 1 = enable effects
	}
}

style "silver-menu" = "silver-default"
{
  xthickness = 0
  ythickness = 0
  bg[NORMAL] = "#d0d0d0"
}

style "silver-menubar-item" = "silver-default"
{
  xthickness = 2
  ythickness = 3
  fg[PRELIGHT] = "#333"
  bg[PRELIGHT] = "#f0f0f0"
  bg[SELECTED] = "#d0d0d0"
  engine "murrine" {
    roundness = 0
  }
}
                  
style "silver-menu-item" #= "silver-default"
{
  xthickness = 2
  ythickness = 3
  fg[PRELIGHT] = "#333"
  bg[NORMAL]        = "#e0e0e0"
  bg[PRELIGHT]      =  "#f0f0f0"
  bg[SELECTED]      =  "#e0e0e0"
  bg[ACTIVE]        = "#c0c0c0"
  engine "murrine" 
  {
    roundness = 0
    glazestyle = 1
  }
}


style "silver-tree" = "silver-default"
{
  xthickness = 2
  ythickness = 1
}

style "silver-frame-title" = "silver-default"
{
  fg[NORMAL] = "#333"
}

style "silver-tooltips" = "silver-default"
{
  xthickness = 4
  ythickness = 4
  bg[NORMAL] = "#f0f0f0"
}

style "silver-progressbar" = "silver-wide"
{
  xthickness = 1
  ythickness = 1
bg[NORMAL] = "#e0e0e0"
bg[SELECTED] = "#d0d0d0"
bg[PRELIGHT] = "#f0f0f0"
}

style "silver-combo" = "silver-button"
{
}

style "silver-menubar" = "silver-default"
{
#  bg[NORMAL]   = "#f0f0f0"
  bg_pixmap[NORMAL] = "menubar.png"
}

style "silver-scale" = "silver-button"
{
	GtkRange::trough-side-details = 1
}	

style "nautilus-location" {
  bg[NORMAL] = "#e0e0e0"
}

style "silver-panel"
{
	xthickness = 2
        ythickness = 1
	bg_pixmap[NORMAL] = "panel-bg.png"
}

style "silver-scrollbar"
{
bg[NORMAL] = "#e0e0e0"
bg[SELECTED] = "#d0d0d0"
bg[PRELIGHT] = "#f0f0f0"

}
widget "*.nautilus-extra-view-widget" style:highest "nautilus-location"

# widget styles
class "GtkWidget"    style "silver-default"
class "GtkButton"    style "silver-button"
class "GtkScale"     style "silver-scale"
class "GtkCombo"     style "silver-button"
class "GtkRange"     style "silver-wide"
class "GtkFrame"     style "silver-wide"
class "GtkSeparator" style "silver-wide"
class "GtkMenu"      style "silver-menu"
class "GtkEntry"     style "silver-wider"
class "GtkNotebook"    style "silver-notebook"
class "GtkProgressBar" style "silver-progressbar"
class "GtkToolbar"   style "silver-toolbar" 
class "Panel*" style "silver-panel"
class "*MenuBar*" style "silver-menubar"
class "*Scrollbar*" style "silver-scrollbar"

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

# combobox stuff
widget_class "*.GtkComboBox.GtkButton" style "silver-combo"
widget_class "*.GtkCombo.GtkButton"    style "silver-combo"
# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "silver-tasklist"
widget "gtk-tooltip*" style "silver-tooltips"

# treeview stuff
widget_class "*.GtkTreeView.GtkButton" style "silver-tree"
widget_class "*.GtkCTree.GtkButton" style "silver-tree"
widget_class "*.GtkList.GtkButton" style "silver-tree"
widget_class "*.GtkCList.GtkButton" style "silver-tree"
widget_class "*.GtkFrame.GtkLabel" style "silver-frame-title"

# notebook stuff
widget_class "*.GtkNotebook.*.GtkEventBox" style "silver-notebook"
widget_class "*.GtkNotebook.*.GtkViewport" style "silver-notebook"
