# Based on Clearlooks
# Created by Jakub Steiner, Garrett LeSage,
# Richard Stellingwerff, Emil Jacobs, and Daniel Borgmann.

include "panel_custom.rc"
# include "button.rc"

style "clearlooks-default"
{
  GtkButton      ::default_border    = { 0, 0, 0, 0 }
  GtkRange       ::trough_border     = 0
  GtkPaned       ::handle_size       = 8
  GtkRange       ::slider_width      = 15
  GtkRange       ::stepper_size      = 15
  GtkScrollbar   ::min_slider_length = 20
  GtkCheckButton ::indicator_size    = 14
  GtkMenuBar     ::internal-padding  = 0
  GtkTreeView    ::expander_size     = 12
  GtkExpander    ::expander_size     = 14

  xthickness = 1
  ythickness = 1

  fg[NORMAL]        = "#101010" # very dark gray #101010
  fg[PRELIGHT]      = "#101010" # dark grey
  fg[ACTIVE]        = "#000000" # black
  fg[SELECTED]      = "#fdfdfd" # white
  fg[INSENSITIVE]   = "#beb399" # dark beige / grey (disabled text)

  bg[NORMAL]        = "#f5f2e7" # "#fbf8f1" # light beige / grey
  bg[PRELIGHT]      = "#f5f2f7" # very light beige
  bg[ACTIVE]        = "#f0ede7" # mid beige / grey
  bg[SELECTED]      = "#6798cb" # blueish
  bg[INSENSITIVE]   = "#f1eee3" # light beige / grey
	
  base[NORMAL]      = "#ffffff" # white
  base[PRELIGHT]    = "#729fcf" # blueish
  base[SELECTED]    = "#6798cb" # blueish
  base[INSENSITIVE] = "#f1eee3" #light beige / grey
  base[ACTIVE]      = "#96b9d5" 
  base[PRELIGHT]    = "#729fcf" # Selected item background
	
	engine "murrine"  {
		
		contrast = 1.0
		glazestyle = 1 # 0 = flat hilight, 1 = curved hilight
		menubarstyle = 1 # 0 = flat, 1 = glass, 2 = gradient
		menubaritemstyle = 0 # 0 = menuitem look, 1 = button look
		listviewheaderstyle = 2 # 0 = flat, 1 = glass
		roundness = 0
		animation = TRUE
		menustyle = 0
		
		scrollbarstyle = 2
		hilight_shade = 0.91
	}
}

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

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

style "clearlooks-button" = "clearlooks-wider"
{
	engine "murrine"
	{
	   roundness = 2
	}				
	
	bg[NORMAL] 				= "#f2ece7"
	bg[INSENSITIVE]   = "#f5f3f0"
	bg[PRELIGHT]      = "#f5f3f0"
	bg[ACTIVE]        = "#d1c9c1"
				
}

style "clearlooks-scale" = "clearlooks-button"
{
}

style "clearlooks-scrollbar" = "clearlooks-button"
{
  xthickness = 2
  ythickness = 2
}

style "clearlooks-range" = "clearlooks-default"
{
  xthickness = 3
  ythickness = 3
}

style "clearlooks-notebook" = "clearlooks-wide"
{
  base[SELECTED]   	= "#ffb202"  # Tab selection color
  bg[ACTIVE]        = "#e9e6d5"  # Unselected tabs
}

style "clearlooks-notebook2" = "clearlooks-wide"
{
	engine "murrine"
  {
    roundness = 1
  }

	bg[NORMAL]        = "#faf9fa" # "#faf4ec"
#  bg[PRELIGHT]      = "#ffffff"
  bg[ACTIVE]        =  "#f0ede2"
#  bg[SELECTED]      = "#ffffff"
#  bg[INSENSITIVE]   = "#ffffff"

#	base[SELECTED]    = "#ffb202"
#  base[NORMAL]      = "#ffffff"
#  base[PRELIGHT]    = "#ffffff"
#  base[INSENSITIVE] = "#ffffff"
#  base[ACTIVE]      = "#ffffff"
#  base[PRELIGHT]    = "#ffffff"

}

style "clearlooks-tasklist" = "clearlooks-default"
{
  xthickness = 5
  ythickness = 3
}

style "clearlooks-menu" = "clearlooks-default"
{
  xthickness = 2
  ythickness = 1
  bg[NORMAL] = "#fdfbf7"
}

style "clearlooks-menu-item" = "clearlooks-default"
{
  xthickness = 2
  ythickness = 3  
  fg[PRELIGHT] = "#ffffff"
  text[PRELIGHT] = "#ffffff"
  #bg[NORMAL] = "#00ff00"    # Horizontal lines
  base[PRELIGHT] = "#5a81b4" # Selection color
}

style "clearlooks-menubar" = "clearlooks-default"
{
  xthickness = 2
  ythickness = 2
}

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

style "clearlooks-tree" = "clearlooks-default"
{
  xthickness = 2
  ythickness = 2
  GtkTreeView::odd_row_color = "#f7f7ff"
  GtkTreeView::even_row_color = "#ffffff"
}

style "clearlooks-tooltips" = "clearlooks-default"
{
  xthickness = 4
  ythickness = 4
  bg[NORMAL] = { 1.0,1.0,0.75 }
}

style "clearlooks-progressbar" = "clearlooks-wide"
{
  xthickness = 0
  ythickness = 0
  fg[PRELIGHT] = "#ffffff"
}

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

style "clearlooks-frame-title" = "clearlooks-default"
{
  fg[NORMAL] = "#2a2a2a"
}

style "metacity-frame" = "clearlooks-default"
{
  bg[SELECTED]  = "#5f89ce" # "#5c82b5"
}

style "clearlooks-slab" = "clearlooks-default"
{
    bg[SELECTED] = "#84b0da"    # Outline
    bg[NORMAL] = "#fdfbf7"      # Base bg color
    bg[ACTIVE] = "#e9eef5"      # Right side bg color
    fg[NORMAL] = "#6a97c5"      # Left side caption text color
    fg[INSENSITIVE] = "#5c8dbf" # Right side caption text color
}

style "clearlooks-slab-group" = "clearlooks-default" 
{
    #bg[SELECTED] = "#adc09b"  # Slab group text
}

style "clearlooks-shell" = "clearlooks-default"
{
    bg[ACTIVE] = "#e9eef5"      # Left side bg color
    fg[NORMAL] = "#5c8dbf"      # Left side text color
    fg[INSENSITIVE] = "#bdcce1" # Left side line
    
    base[NORMAL] = "#fdfbf7"        # Base bg color
    text[INSENSITIVE] = "#6a97c5"   # Base text color
}

style "evolution-hack" = "clearlooks-default"
{
        bg[ACTIVE]   = "#96b9d5"
        bg[SELECTED] = "#6798cb"
        fg[ACTIVE]   = "#000000"
        fg[SELECTED] = "#ffffff"
}

style "clearlooks-shell-highlight" = "clearlooks-default"
{
}

#nautilus search stripe and other specialties
style "extra-view" {
	bg[NORMAL] = "#729fcf"
	font = "Sans 6"
} 

#nautilus search stripe
widget "*.nautilus-extra-view-widget" style:highest "extra-view"

# Toolbar
#class "GtkToolbar" style "clearlooks-toolbar"

# GNOME-main-menu slab
class "SlabWindow" style "clearlooks-slab"

# App Browser & Control Center
class "ShellWindow" style "clearlooks-shell"
widget_class "ShellWindow.*.GtkEventBox" style "clearlooks-shell-highlight"

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

# widget styles
class "GtkWidget"      style "clearlooks-default"
class "GtkButton"      style "clearlooks-button"
class "GtkScale"       style "clearlooks-range"
class "GtkCombo"       style "clearlooks-button"
class "GtkScale"       style "clearlooks-scale"
class "GtkScrollbar"   style "clearlooks-scrollbar"
class "GtkRange"       style "clearlooks-wide"
class "GtkFrame"       style "clearlooks-wide"
class "GtkMenu"        style "clearlooks-menu"
class "GtkEntry"       style "clearlooks-wider"
class "GtkMenuItem"    style "clearlooks-menu-item"
class "GtkNotebook"    style "clearlooks-notebook2"
class "GtkProgressBar" style "clearlooks-progressbar"
class "*MenuBar*"      style "clearlooks-menubar"

widget_class "*MenuItem.*" style "clearlooks-menu-item"
widget_class "*MenuBar.*"  style "clearlooks-menubar-item"

# combobox stuff
widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo"
widget_class "*.GtkCombo.GtkButton"    style "clearlooks-combo"

# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist"
widget "gtk-tooltips" 							  style "clearlooks-tooltips"

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

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

# wm stuff
class "MetaFrames" 	  style "metacity-frame"
class "GtkWindow"      style "metacity-frame"

gtk-icon-sizes = "panel-menu=16,16:panel=16,16:gtk-button=16,16:gtk-large-toolbar=24,24"
