# Clearlooks-Xp by Marius M. M. <devilx@gdesklets.org>
# Clearlooks-Xp has been built-up on the Clearlooks-DeepSky theme.

gtk-icon-sizes = "panel-menu=16,16:gtk-menu=16,16"

style "clearlooks-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    = 12
  GtkMenuBar     ::internal-padding  = 0
  GtkTreeView    ::expander_size     = 14
  GtkExpander    ::expander_size     = 16

  xthickness = 1
  ythickness = 1

  fg[NORMAL]        = "#000000"
  fg[PRELIGHT]      = "#000000"
  fg[SELECTED]      = "#ffffff"
  fg[ACTIVE]        = "#000000"
  fg[INSENSITIVE]   = "#A6A594"

  bg[NORMAL]	    = "#EBEADB"
  bg[PRELIGHT]      = "#F8F7EF"
  bg[SELECTED]		= "#A1AFFF"
  bg[INSENSITIVE]   = "#DBDACC"
  bg[ACTIVE]        = "#F8F7EF"

  base[NORMAL]      = "#ffffff"
  base[PRELIGHT]    = "#F8F7EF"
  base[ACTIVE]      = "#A1AFFF"
  base[SELECTED]	= "#4460FF"
  base[INSENSITIVE] = "#DBDACC"

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

  engine "clearlooks" 
  {
    menubarstyle      = 2       # 0 = flat, 1 = sunken, 2 = flat gradient
    menuitemstyle     = 1       # 0 = flat, 1 = 3d-ish (gradient), 2 = 3d-ish (button)
    listviewitemstyle = 1       # 0 = flat, 1 = 3d-ish (gradient)
    progressbarstyle  = 1       # 0 = candy bar, 1 = flat
  }
}


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

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

style "clearlooks-notebook" = "clearlooks-wide"
{
  bg[NORMAL] = "#F8F7EF"
  bg[INSENSITIVE] = "#F8F7EF"

  base[ACTIVE]      = "#A1AFFF"
  base[SELECTED]	= "#FFA000"

}

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

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

style "clearlooks-menu-item" = "clearlooks-default"
{
  xthickness = 2
  ythickness = 3
  fg[PRELIGHT] = "#ffffff"
  text[PRELIGHT] = "#ffffff"
}

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

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

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

style "clearlooks-progressbar" = "clearlooks-default"
{
  xthickness = 1
  ythickness = 1

  fg[PRELIGHT]  = "#ffffff"
  # Dunno what's wrong here, in my engine the following entry is for painting the progressbar green...
  base[SELECTED] = "#1FA61F"
  base[NORMAL] = "#1FA61F"
  base[ACTIVE] = "#1FA61F"
  bg[ACTIVE] = "#1FA61F"
}

style "clearlooks-combo" = "clearlooks-default"
{
  xthickness = 2
  ythickness = 3
}

style "clearlooks-scrollbar" = "clearlooks-default"
{
  xthickness = 1
  ythickness = 1

  bg[NORMAL]	    = "#D3DDF5"
}

style "metacity-frame"
{
  bg[SELECTED]  = "#4460FF"
  fg[SELECTED]  = "#ffffff"
}

# widget styles
class "GtkWidget" style "clearlooks-default"
class "GtkButton" style "clearlooks-button"
class "GtkCombo"  style "clearlooks-button"
class "GtkRange"  style "clearlooks-wide"
class "GtkFrame"  style "clearlooks-wide"
class "GtkMenu"   style "clearlooks-menu"
class "GtkEntry"  style "clearlooks-button"
class "GtkMenuItem"    style "clearlooks-menu-item"
class "GtkStatusbar"   style "clearlooks-wide"
class "GtkNotebook"    style "clearlooks-notebook"
class "GtkProgressBar" style "clearlooks-progressbar"
class "MetaFrames" style "metacity-frame"

widget_class "*MenuItem.*" style "clearlooks-menu-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"

# scrollbar stuff
widget_class	"*Scrollbar" style "clearlooks-scrollbar"
