# Based on Bluecurve
# Modified by Richard Stellingwerff and Emil Jacobs

# Color scheme contributed by Billy Cantrell (bvc)

include "icons/iconrc"

style "clearlooks-default"
{
  GtkMenuItem::selected_shadow_type = none
  GtkWidget::interior_focus = 1
  GtkButton::default_border = { 0, 0, 0, 0 }
  GtkButton::default_outside_border = { 0, 0, 0, 0 }
  GtkRange::trough_border = 0

  GtkWidget::focus_padding = 1

  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]      = { 0.0, 0.0, 0.0 }
    fg[ACTIVE]      = { 0.25, 0.22, 0.28 }
    fg[INSENSITIVE] = { 0.4, 0.4, 0.4 }
    fg[PRELIGHT]    = { 0.15, 0.12, 0.18 }
    fg[SELECTED]    = { 1.0, 1.0, 1.0 }
          
    bg[NORMAL]      = { 0.95, 0.95, 0.95 }
    bg[PRELIGHT]	  = { 1.0, 1.0, 1.0 }
    bg[ACTIVE]	  = { 0.75, 0.72, 0.78 }
    bg[SELECTED]    = { 0.75, 0.72, 0.78 }
    bg[INSENSITIVE] = { 0.90, 0.90, 0.90 }

    base[NORMAL]      = { 1.0, 1.0, 1.0 }
    base[ACTIVE]      = { 0.90, 0.90, 0.90 }
    base[INSENSITIVE] = { 1.0, 1.0, 1.0 }
    base[PRELIGHT]    = { 0.90, 0.90, 0.90 }
    base[SELECTED]    = { 0.55, 0.52, 0.58 }
          
    text[NORMAL]      = { 0.0, 0.0, 0.0 }
    text[ACTIVE]      = { 0.0, 0.0, 0.0 }
    text[PRELIGHT]    = { 0.0, 0.0, 0.0 }
    text[SELECTED]    = { 0.95, 0.92, 0.98 }
    text[INSENSITIVE] = { 0.4, 0.4, 0.4 }

#  engine "clearlooks"  { }
#}

 engine "clearlooks" 
  {
    contrast = 1.0
    sunkenmenubar = 0
  }
}

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

style "clearlooks-notebook" = "clearlooks-wide"
{
  bg[NORMAL] = "#f3f3f3"
}

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

style "clearlooks-menu" = "clearlooks-default"
{
  xthickness = 2
  ythickness = 1
}

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

style "clearlooks-menu-itembar" = "clearlooks-default"
{
  xthickness = 3
  ythickness = 3
}

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

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

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

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

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

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]  = "#000000"

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

class "GtkWidget" style "clearlooks-default"
class "GtkButton" style "clearlooks-wide"
class "GtkRange" style "clearlooks-wide"
class "GtkFrame" style "clearlooks-wide"
class "GtkStatusbar" style "clearlooks-wide"
class "GtkMenu" style "clearlooks-menu"
class "GtkMenuItem" style "clearlooks-menu-item"
widget_class "*MenuItem.*" style "clearlooks-menu-item"
class "GtkEntry" style "clearlooks-wide"
widget_class "*.tooltips.*.GtkToggleButton" style "clearlooks-tasklist"
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"
widget_class "BasePWidget.GtkEventBox.GtkTable.GtkFrame" style "clearlooks-panel"
widget "gtk-tooltips" style "clearlooks-tooltips"
class "GtkNotebook" style "clearlooks-notebook"
class "GtkProgressBar" style "clearlooks-progressbar"
widget_class "*.GtkComboBox.GtkButton" style "clearlooks-combo"
widget_class "*.GtkCombo.GtkButton" style "clearlooks-combo"
class "MetaFrames" style "metacity-frame"
