# based on Rezlooks-candy
# modified by pks

gtk-icon-theme-name = "gnome"

# Clearlooks Compact
gtk-icon-sizes = "panel-menu=16,16 : gtk-menu=16,16 : gtk-button=16,16 : gtk-small-toolbar=16,16 : gtk-large-toolbar=16,16 : gtk-dialog=32,32 : gtk-dnd=32,32"

style "rezlooks-default"
{
  GtkButton      ::default_border    = { 0, 0, 0, 0 }
  GtkRange       ::trough_border     = 0
  GtkPaned       ::handle_size       = 2
  GtkRange       ::slider_width      = 12
  GtkRange       ::stepper_size      = 0

  GtkScrollbar   ::min_slider_length = 12
  GtkCheckButton ::indicator_size    = 12
  GtkMenuBar     ::internal-padding  = 0
  GtkTreeView    ::expander_size     = 11
  GtkExpander    ::expander_size     = 4
  GtkScale       ::slider-length     = 8

  xthickness = 0
  ythickness = 0

  fg[NORMAL]		  = "#222222"
  fg[PRELIGHT]		= "#222222"
  fg[SELECTED]		= "#ffffff"
  fg[ACTIVE]		  = "#505050"
  fg[INSENSITIVE]	= "#b5b3ac"

  bg[NORMAL]		  = "#fbfbfb"
  bg[PRELIGHT]		= "#efefef"
  bg[SELECTED]		= "#990099"
  bg[INSENSITIVE]	= "#efefef"
  bg[ACTIVE]		  = "#f5f5f5" # this (strangely) controls inactive tab BGs

  base[NORMAL]		= "#ffffff"
  base[PRELIGHT]	= "#990066"
  base[ACTIVE]		= "#9900ff"
  base[SELECTED]	= "#996699"
  base[INSENSITIVE]	= "#e8e8e8"

  text[NORMAL]		  = "#000000"
  text[PRELIGHT]	  = "#ffffff"
  text[ACTIVE]		  = "#ffffff"
  text[SELECTED]	  = "#ffffff"
  text[INSENSITIVE]	= "#b5b5b5"

  engine "rezlooks"
  {
    scrollbar_color   = "#000000"
    menubarstyle      = 0 # 0 = flat, 1 = gradient
    menubaritemstyle  = 0 # 0 = flat, 1 = button-ish style
    animation         = FALSE
  }
}


style "rezlooks-wide" = "rezlooks-default"
{
  xthickness = 0
  ythickness = 0
}

style "rezlooks-wider" = "rezlooks-default"
{
  xthickness = 0
  ythickness = 0
}

style "rezlooks-button" = "rezlooks-wider"
{
  bg[NORMAL]		  = "#f2f2f2"
  bg[INSENSITIVE]	= "#f0f0f0"
  bg[PRELIGHT]		= "#9900ff"
  bg[ACTIVE]		  = "#996699"
}

style "rezlooks-notebook" = "rezlooks-wide"
{
  bg[NORMAL]		  = "#efefef"
  bg[INSENSITIVE]	= "#efefef"
  bg[SELECTED]		= "#990099"
}

style "rezlooks-tasklist" = "rezlooks-default"
{
  xthickness = 0
  ythickness = 0
}

style "rezlooks-menu" = "rezlooks-default"
{
  xthickness = 0
  ythickness = 0
}

style "rezlooks-menu-item" = "rezlooks-default"
{
  ythickness = 0
  fg[NORMAL]		  = "#505050"
  fg[PRELIGHT]		= "#ffffff"
  text[PRELIGHT]	= "#ffffff"
}

style "rezlooks-menubar" = "rezlooks-default"
{
  bg[NORMAL]		  = "#7851a9" # background
  fg[NORMAL]		  = "#505050"
  fg[ACTIVE]		  = "#505050"
  text[NORMAL]		= "#505050"
  text[PRELIGHT] 	= "#505050"
  base[PRELIGHT] 	= "#63e62e"
  base[SELECTED] 	= "#4db224"
}

style "rezlooks-menubar-item"
{
	ythickness = 4
	fg[PRELIGHT] = "#505050"
	bg[PRELIGHT] = "#ff99ff"
}

style "rezlooks-tree" = "rezlooks-default"
{
  xthickness = 0
  ythickness = 0
}

style "rezlooks-frame-title" = "rezlooks-default"
{
  fg[NORMAL] = "#404040"
}

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

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

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

style "metacity-frame"
{
  # Normal base color
  #bg[NORMAL]  = "#bbbbbb"

  # Unfocused title background color
  #bg[INSENSITIVE]  = { 0.8, 0.8, 0.8 }

  # Unfocused title text color
  #fg[INSENSITIVE]  = { 1.55, 1.55, 1.55 }

  # Focused icon color
  #fg[NORMAL]  = { 0.2, 0.2, 0.2 }

  # Focused title background color
  bg[SELECTED]  = "#444444"

  # Focused title text color
  fg[SELECTED]  = "#ffffff"
}

# widget styles
class "MetaFrames"     style "metacity-frame"
class "GtkWidget"      style "rezlooks-default"
class "GtkButton"      style "rezlooks-button"
class "GtkScale"       style "rezlooks-button"
class "GtkCombo"       style "rezlooks-button"
class "GtkRange"       style "rezlooks-wide"
class "GtkFrame"       style "rezlooks-wide"
class "GtkMenu"        style "rezlooks-menu"
class "GtkEntry"       style "rezlooks-wider"
class "GtkMenuItem"    style "rezlooks-menu-item"
class "GtkNotebook"    style "rezlooks-notebook"
class "GtkProgressBar" style "rezlooks-progressbar"
class "*MenuBar*"      style "rezlooks-menubar"

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

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

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

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

# font
style "user-font"
{
        font_name="Gotham Rounded Light 11"
}
gtk-font-name = "Gotham Rounded Light 11"
widget_class "*" style "user-font"

# speed
gtk-menu-popup-delay = 0
gtk-menu-popdown-delay = 0
gtk-menu-bar-popup-delay = 0
gtk-enable-animations = 0
gtk-timeout-expand = 10