# Based on Bluecurve
# Created by Richard Stellingwerff, Emil Jacobs and Daniel Borgmann.

style "clearlooks-default"
{
  GtkButton      ::default_border    = { 0, 0, 0, 0 }
  GtkRange       ::trough_border     = 0
  GtkPaned       ::handle_size       = 6
  GtkRange       ::slider_width      = 12
  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]        = "#101010" # very dark gray #101010
  fg[PRELIGHT]      = "#101010" # dark grey
  fg[ACTIVE]        = "#000000" # black
  fg[SELECTED]      = "#ffffff" # white
  fg[INSENSITIVE]   = "#b5b3ac" # dark beige / grey

  bg[NORMAL]        = "#efebe7" # light beige / grey
  bg[PRELIGHT]      = "#f5f3f0" # very light beige
  bg[ACTIVE]        = "#d4cfca" # mid beige / grey
  bg[SELECTED]      = "#628cb2" # blueish
  bg[INSENSITIVE]   = "#efebe7" # light beige / grey
	
  base[NORMAL]      = "#ffffff" # white
  base[PRELIGHT]    = "#628cb2" # blueish
  base[ACTIVE]      = "#a29e8e" # dark beige / grey
  base[SELECTED]    = "#628cb2" # blueish
  base[INSENSITIVE] = "#efebe7" #light beige / grey
	
  text[NORMAL]      = "#000000" # black
  text[PRELIGHT]    = "#000000" # black
  text[ACTIVE]      = "#ffffff" # white
  text[SELECTED]    = "#ffffff" # white
  text[INSENSITIVE] = "#b5b3ac" # dark beige / grey

  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  = 0       # 0 = candy bar, 1 = flat
  }
}

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

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

style "clearlooks-check" = "clearlooks-button"
{
  text[NORMAL] = "#2f3941" # blueish
  text[PRELIGHT] = "#3c4a53" # blueish
}

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

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

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

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

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

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

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

style "clearlooks-tooltips" = "clearlooks-default"
{
  xthickness = 3
  ythickness = 3
  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
}

# 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 "GtkCheckButton" style "clearlooks-check"
class "GtkRadioButton" style "clearlooks-check"

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"

# GPE specifics                          
style "filesel"             
{               
        GtkFileSelection::show_fileops_default = 0
        GtkFileSelection::border_width = 1            
}                                                       
                                           
style "entry"                            
{                                        
        GtkEntry::min_width = 25                   
}                                             
                                                    
class "GtkEntry" style "entry"                    
class "GtkFileSelection" style "filesel"          
                                                     

