# Human Impression                                                beta 1
# 2008/12/14
#
# Author:   j baer <baerjj@gmail.com>
#
# version:  9.04
#
# ######################################################################
# Defects
# ######################################################################
# gFTP menu separators too thick
#
# @error displays bright blue and indecates an attribute which should
# be fixed.
#
# @debug displays bright magenta and is used in the debugging process.
#
# The following block is a tool designed to discover and resolve
# errors.
#
# DebugStart ###########################################################
#
#  bg[ACTIVE]        = @error                        # not used
#  bg[INSENSITIVE]   = @error                        # not used
#  bg[NORMAL]        = @error                        # not used
#  bg[PRELIGHT]      = @error                        # not used
#  bg[SELECTED]      = @error                        # not used
#
# fg[state]   = Foreground color of most widgets
#
#  fg[ACTIVE]        = @error                        # not used
#  fg[INSENSITIVE]   = @error                        # not used
#  fg[NORMAL]        = @error                        # not used
#  fg[PRELIGHT]      = @error                        # not used
#  fg[SELECTED]      = @error                        # not used
#
# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
#  base[ACTIVE]      = @error                        # not used
#  base[INSENSITIVE] = @error                        # not used
#  base[NORMAL]      = @error                        # not used
#  base[PRELIGHT]    = @error                        # not used
#  base[SELECTED]    = @error                        # not used
#
# text[state] = Set color of text of base[state] widgets
#
#  text[ACTIVE]      = @error                        # not used
#  text[INSENSITIVE] = @error                        # not used
#  text[NORMAL]      = @error                        # not used
#  text[PRELIGHT]    = @error                        # not used
#  text[SELECTED]    = @error                        # not used
#
# DebugEnd #############################################################

# ######################################################################
# D O C U M E N T A T I O N
# ######################################################################
#
# Engine specific setting
#
#   engine "clearlooks"
#   engine "pixmap"
#
# Property values
#
#   class::property = value
#
# Color States
#
#   NORMAL - Color for widget @ default
#
#   ACTIVE  - Color for active widget
#
#   PRELIGHT  - Color for button/menu item when mouse hovers above
#
#   INSENSITIVE - Color for disabled widget
#
# ######################################################################
# Style Declarations
# ######################################################################
#
# ---------------------------------------------------------------------
# Attribute          HEX    COMMENT
# ----------------- ------- -------------------------------------------
#
#   ***  TBD  ***

# gnome configurable options { complete later }
# ######################################################################

# these are the configurable theme elements { just an example }
# gtk_color_scheme = "fg_color:#101010\nbg_color:#D8D8D8\nbase_color:#fff\ntext_color:#1A1A1A\nselected_bg_color:#729FCF\nselected_fg_color:#fff\ntooltip_bg_color:#F5F5B5\ntooltip_fg_color:#000"

gtk_color_scheme = "error:#00ffff\ndebug:#ff00ff"

# include scrollbars rc
# ######################################################################
include "scrollbars/scrollbar.rc"

# defaults
# ######################################################################
style "clearlooks-default"
{
  #
  # -------------------------------------------------------------------
  # style properties
  # -------------------------------------------------------------------
  #

  #These properties control how the image on a button is displaced when it is clicked.
  GtkButton      ::child-displacement-x = 1
  GtkButton      ::child-displacement-y = 1
  GtkButton      ::default-border       = { 0, 0, 0, 0 }
  GtkButton      ::shadow_type          = GTK_SHADOW_NONE
  GtkCheckButton ::indicator-size       = 14

  GtkPaned       ::handle-size          = 6

  GtkRange       ::trough-border        = 0
  GtkRange       ::slider-width         = 15
  GtkRange       ::stepper-size         = 15

  GtkScale       ::slider-length        = 20  # 30
  GtkScale       ::trough-side-details  = 0   # Restores sliders (1)
  GtkScrollbar   ::min-slider-length    = 30

  GtkMenuBar     ::internal-padding     = 0
  GtkExpander    ::expander-size        = 16
  GtkToolbar     ::internal-padding     = 1
  GtkToolbar     ::shadow_type          = GTK_SHADOW_NONE
  GtkTreeView    ::expander-size        = 14
  GtkTreeView    ::vertical-separator   = 0

  GtkEntry       ::inner-border         = { 2, 2, 2, 2 }

  GtkMenu        ::horizontal-padding   = 1
  GtkMenu        ::horizontal-offset    = 2         # offset of submenu
  GtkMenu        ::vertical-padding     = 8         # extra space @ top & bottom of menu
# GtkScrolledWindow::shadow_type        = GTK_SHADOW_OUT
# GtkMenuBar::shadow_type               = GTK_SHADOW_ETCHED_IN
  GtkMenuBar     ::shadow_type          = GTK_SHADOW_NONE
  WnckTasklist   ::fade-overlay-rect    = 0   # Glow the tasklist by changing the color

  xthickness = 1
  ythickness = 1

# GtkTreeView    ::odd_row_color        = "#F5F2ED"
# GtkTreeView    ::even_row_color       = "#FAF9F7"

# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = "#e8e1d5"                     # Active button/widget
  bg[INSENSITIVE]   = @error #"#dedad3"                     # Disabled buttons/widgets
  bg[NORMAL]        = "#7d7671"                     # Normal window trim
  bg[PRELIGHT]      = "#98938d"                     # Prelight used by panel guides / text search
  bg[SELECTED]      = "#ffb515"                     # Selected {yellow}

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = "#ffffff"                     # Notebook alt tabs
  fg[INSENSITIVE]   = "#262a35"                     # Dimmed text
  fg[NORMAL]        = "#000000"                     # Default text {buttons / tabs / text}
  fg[PRELIGHT]      = "#ffffff"                     # MouseOver Text buttons
  fg[SELECTED]      = "#000000"                     # gFTP

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = "#ff9338"                     # Use by nautilus / rhythmbox { orange }
  base[INSENSITIVE] = "#f2f2f2"                     # Combobox background
  base[NORMAL]      = "#ffffff"                     # Background inside trim
  base[PRELIGHT]    = "#f2f2f2"                     # Base mouse over
  base[SELECTED]    = "#ff9338"                     # Use by nautilus / rhythmbox

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = "#ffffff"                     # Artist/Album titles in rhythmbox - paired to base[ACTIVE]
  text[INSENSITIVE] = "#262a35"                     # Dimmed widget text
  text[NORMAL]      = "#1f1816"                     # Default text
  text[PRELIGHT]    = @error                        # not used
  text[SELECTED]    = "#1f1816"                     # Widget Selected

  engine "clearlooks"
  {
    colorize_scrollbar = FALSE
    reliefstyle        = 1
    menubarstyle       = 0                          # 0 = flat, 1 = sunken, 2 = flat gradient
    toolbarstyle       = 0                          # 0 = flat, 1 = enable effects
    animation          = FALSE
    radius             = 2.0
    style              = GUMMY                      # version released with GNOME 2.20

    # Set a hint to disable backward compatibility fallbacks.
    hint = "use-hints"
  }
}

# toolbar style {background}
# ######################################################################

style "clearlooks-toolbar" = "clearlooks-default"
{

# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error
  bg[INSENSITIVE]   = "#7d7671"                     # Evo Menu Bar
  bg[NORMAL]        = "#7d7671"                     # Horizonal separators
  bg[PRELIGHT]      = @error
  bg[SELECTED]      = @error

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = "#1f1816"                     # Active button text
  fg[INSENSITIVE]   = "#262a35"                     # Dimmed button text
  fg[NORMAL]        = "#efeae1"                     # Default button text
  fg[PRELIGHT]      = "#ffffff"                     # Prelight button text
  fg[SELECTED]      = @error

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = "#ff9338"                     # Nautilus location text
  base[INSENSITIVE] = "#f2f2f2"                     # Inkscape input
  base[NORMAL]      = "#f2f2f2"                     # Geany search input
  base[PRELIGHT]    = @error
  base[SELECTED]    = "#ff9338"                     # Nautilus text loaction input

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = "#ffffff"                     # Nautilus location text
  text[INSENSITIVE] = "#1f1816"                     # Inkscape input
  text[NORMAL]      = "#1f1816"                     # Geany search input
  text[PRELIGHT]    = @error
  text[SELECTED]    = "#1f1816"                     # Nautilus text loaction input

  xthickness = 2                                    # Width of horizonal separators
  ythickness = 0

  #engine "clearlooks"
  #{
    #contrast    = 1.0
    #radius      = 2.0
    #style       = GUMMY                             # version released with GNOME 2.20
    #reliefstyle = 1
  #}

  engine "pixmap"
  {
    image {
        function = BOX
        file = "toolbar/background_NORMAL.png"
        border = {1,1,1,1}
    }
  }
#
# Researching this ... ;)
#
#   image {
#     function        = HANDLE
#     overlay_file    = "handlebox.png"
#     overlay_stretch = FALSE
#     orientation     = HORIZONTAL
#   }
#    image {
#     function        = HANDLE
#     overlay_file    = "handlebox.png"
#     overlay_stretch = FALSE
#     orientation     = VERTICAL
#   }

}

# mozilla style
# ######################################################################

style "clearlooks-mozilla"
{

# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error
  bg[INSENSITIVE]   = @error
  bg[NORMAL]        = "#c1b5a5"                     # firefox toolbar
  bg[PRELIGHT]      = @error
  bg[SELECTED]      = @error

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error
  fg[INSENSITIVE]   = @error
  fg[NORMAL]        = @error
  fg[PRELIGHT]      = @error
  fg[SELECTED]      = @error

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error
  base[INSENSITIVE] = @error
  base[NORMAL]      = @error
  base[PRELIGHT]    = @error
  base[SELECTED]    = @error

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error
  text[INSENSITIVE] = @error
  text[NORMAL]      = @error
  text[PRELIGHT]    = @error
  text[SELECTED]    = @error

  xthickness = 1
  ythickness = 1

  #engine "clearlooks"
  #{
    #contrast    = 1.0
    #radius      = 2.0
    #style       = GUMMY                             # version released with GNOME 2.20
    #reliefstyle = 1
  #}

}

# clearlooks wide
# ######################################################################
style "clearlooks-wide"
{

# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = "#7d7671"                     # firefox scrollbar background
  bg[INSENSITIVE]   = @error
  bg[NORMAL]        = "#b3ada8"                     # form divider lines  484442
  bg[PRELIGHT]      = "#d36d00"                     # OOO stepper
  bg[SELECTED]      = @error

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error
  fg[INSENSITIVE]   = @error
  fg[NORMAL]        = @error
  fg[PRELIGHT]      = @error
  fg[SELECTED]      = @error

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error
  base[INSENSITIVE] = @error
  base[NORMAL]      = @error
  base[PRELIGHT]    = @error
  base[SELECTED]    = @error

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error
  text[INSENSITIVE] = @error
  text[NORMAL]      = @error
  text[PRELIGHT]    = @error
  text[SELECTED]    = @error

  xthickness = 1
  ythickness = 1
}

# button style
# ######################################################################
style "clearlooks-button"
{
# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = "#998c82"                     # depressed/active background (toggle)
  bg[INSENSITIVE]   = "#afaaa3"                     # disabled background
  bg[NORMAL]        = "#a4907c"                     # default background
  bg[PRELIGHT]      = "#d36d00"                     # prelight background
  bg[SELECTED]      = "#d36d00"                     # selected background tint

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error
  fg[INSENSITIVE]   = "#262a35"                     # OptionMenu [v/^] controls
  fg[NORMAL]        = "#000000"                     # [v/^] controls  #eeeceb
  fg[PRELIGHT]      = "#ffffff"                     # button text
  fg[SELECTED]      = @error

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error
  base[INSENSITIVE] = @error
  base[NORMAL]      = "#ffffff"                     # Checkbox/radio box background {not caption}
  base[PRELIGHT]    = @error
  base[SELECTED]    = @error

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error
  text[INSENSITIVE] = "#262a35"                     # Checkbox/radio symbol/not caption
  text[NORMAL]      = "#1f1816"                     # Checkbox/radio symbol/not caption
  text[PRELIGHT]    = @error
  text[SELECTED]    = @error

  xthickness = 3
  ythickness = 3

  engine "clearlooks"
  {
    hint = "button"
  }

}

# notebook style
# ######################################################################
style "clearlooks-notebook"
{
# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = "#4a443c"                     # Active / unselected tabs
  bg[INSENSITIVE]   = @error #"#4a4643"                     # [v/^] on some widgets
  bg[NORMAL]        = "#a19a94"                     # Selected tab body
  bg[PRELIGHT]      = @error                        # not used
  bg[SELECTED]      = "#ffb515"                     # Selected tab edge (yellow)

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error                        # not used
  fg[INSENSITIVE]   = "#262a35"                     # Geany line numbers ;)
  fg[NORMAL]        = "#000000"                     # Evo to/from #eeeceb
  fg[PRELIGHT]      = "#ffb515"                     # Used by geany
  fg[SELECTED]      = @error                        # not used

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = "#ff9338"                     # Active base {orange}
  base[INSENSITIVE] = @error                        # not used
  base[NORMAL]      = "#ffffff"                     # Nautilus folders
  base[PRELIGHT]    = @error                        # not used
  base[SELECTED]    = "#ffb515"                     # Selected

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = "#ffffff"                     # active text
  text[INSENSITIVE] = @error                        # not used
  text[NORMAL]      = "#1f1816"                     # Nautilus folders
  text[PRELIGHT]    = @error                        # not used
  text[SELECTED]    = "#ffffff"                     # selected

  xthickness = 3
  ythickness = 3

}

# menu bar style
# ######################################################################
style "clearlooks-menubar"
{
# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error
  bg[INSENSITIVE]   = @error #"#7d7671"
  bg[NORMAL]        = "#645e5a"                         # Darker background
  bg[PRELIGHT]      = @error  #                         # not used
  bg[SELECTED]      = @error  #                         # not used

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error  #                         # not used
  fg[INSENSITIVE]   = @error  #                         # not used
  fg[NORMAL]        = @error  #                         # not used
  fg[PRELIGHT]      = @error  #                         # not used
  fg[SELECTED]      = @error  #                         # not used

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error  #                         # not used
  base[INSENSITIVE] = @error  #                         # not used
  base[NORMAL]      = @error  #                         # not used
  base[PRELIGHT]    = @error  #                         # not used
  base[SELECTED]    = @error  #                         # not used

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error  #                         # not used
  text[INSENSITIVE] = @error  #                         # not used
  text[NORMAL]      = @error  #                         # not used
  text[PRELIGHT]    = @error  #                         # not used
  text[SELECTED]    = @error  #                         # not used

  ythickness = 0

  engine "clearlooks"
  {
    hint  = "menubar"
  }
}

# menu style
# ######################################################################
style "clearlooks-menu"
{
# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error                        # not used
  bg[INSENSITIVE]   = "#756f6a"                     # Menu scroll
  bg[NORMAL]        = "#7d7671"                     # Background
  bg[PRELIGHT]      = "#756f6a"                     # Menu scroll
  bg[SELECTED]      = @error                        # not used

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error                        # not used
  fg[INSENSITIVE]   = "#262a35"                     # Menu scroll
  fg[NORMAL]        = "#000000"                     # Menu scroll
  fg[PRELIGHT]      = "#ffb515"                     # Menu scroll
  fg[SELECTED]      = @error                        # not used

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error                        # not used
  base[INSENSITIVE] = @error                        # not used
  base[NORMAL]      = @error                        # not used
  base[PRELIGHT]    = @error                        # not used
  base[SELECTED]    = @error                        # not used

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error                        # not used
  text[INSENSITIVE] = @error                        # not used
  text[NORMAL]      = @error                        # not used
  text[PRELIGHT]    = @error                        # not used
  text[SELECTED]    = @error                        # not used

  xthickness = 0
  ythickness = 0

  # menu panel background image.
  engine "pixmap"
  {
    image
    {
      function        = BOX
      recolorable     = TRUE
      state           = NORMAL
      overlay_file    = "menu/menu_panel.png"
      overlay_stretch = TRUE
      border          = {0,1,0,1} # = {Left, Right, Top, Bottom}
    }
  }
}

# menu item style
# ######################################################################
style "clearlooks-menu-item"
{

# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error                        # not used
  bg[INSENSITIVE]   = @error                        # not used
  bg[NORMAL]        = "#69645f"                     # gFTP menu separator
  bg[PRELIGHT]      = @error                        # not used
  bg[SELECTED]      = "#aea79d"                     # evolution menu tabs

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error                        # not used
  fg[INSENSITIVE]   = "#262a35"                     # dimmed text
  fg[NORMAL]        = "#efeae1"                     # default menu bar text
  fg[PRELIGHT]      = "#ffffff"                     # selected menu bar text
  fg[SELECTED]      = @error                        # not used

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error                        # not used
  base[INSENSITIVE] = @error                        # not used
  base[NORMAL]      = @error                        # not used
  base[PRELIGHT]    = @error                        # not used
  base[SELECTED]    = @error                        # not used

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error                        # not used
  text[INSENSITIVE] = @error                        # not used
  text[NORMAL]      = @error                        # not used
  text[PRELIGHT]    = @error                        # not used
  text[SELECTED]    = @error                        # not used

  xthickness = 1
  ythickness = 6

  #engine "clearlooks"
  #{
    #radius = 1.5
  #}

  engine "pixmap"
  {
    image
    {
      function          = BOX
      recolorable       = TRUE
      state             = PRELIGHT
      file              = "menu/menu_PRELIGHT.png"
      border            = { 0, 0, 0, 0 }  # = {Left, Right, Top, Bottom}
      stretch           = TRUE
      orientation       = HORIZONTAL
    }
    image
    {
      function          = ARROW
      recolorable       = TRUE
      state             = NORMAL
      overlay_file      = "menu/arrow-right.png"
      overlay_stretch   = FALSE
      arrow_direction   = RIGHT
    }
    image
    {
      function          = ARROW
      recolorable       = TRUE
      state             = PRELIGHT
      overlay_file      = "menu/arrow-right-prelight.png"
      overlay_stretch   = FALSE
      arrow_direction   = RIGHT
    }
    image
    {
      function          = ARROW
      recolorable       = TRUE
      state             = INSENSITIVE
      overlay_file      = "menu/arrow-right-insens.png"
      overlay_stretch   = FALSE
      arrow_direction   = RIGHT
    }
  }
}

# menu separator tyle
# ######################################################################
style "clearlooks-separator-menu-item"
{
   #GtkWidget::wide-separators  = 1
   #GtkWidget::separator-width  = 1
   #GtkWidget::separator-height = 7

# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error                        # not used
  bg[INSENSITIVE]   = @error                        # not used
  bg[NORMAL]        = "#69645f"                     # Menu separator
  bg[PRELIGHT]      = @error                        # not used
  bg[SELECTED]      = @error                        # not used

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error                        # not used
  fg[INSENSITIVE]   = @error                        # not used
  fg[NORMAL]        = @error                        # not used
  fg[PRELIGHT]      = @error                        # not used
  fg[SELECTED]      = @error                        # not used

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error                        # not used
  base[INSENSITIVE] = @error                        # not used
  base[NORMAL]      = @error                        # not used
  base[PRELIGHT]    = @error                        # not used
  base[SELECTED]    = @error                        # not used

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error                        # not used
  text[INSENSITIVE] = @error                        # not used
  text[NORMAL]      = @error                        # not used
  text[PRELIGHT]    = @error                        # not used
  text[SELECTED]    = @error                        # not used

  xthickness = 1
  ythickness = 2

}

# tree view default tyle
# ######################################################################
style "clearlooks-treeview"
{
# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error                        # not used
  bg[INSENSITIVE]   = "#7d7671"                     # Evo left panel tree
  bg[NORMAL]        = "#484442"                     # panel divider in Nautilus
  bg[PRELIGHT]      = @error                        # not used
  bg[SELECTED]      = "#f2f2f2"                     # background panel

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error                        # not used
  fg[INSENSITIVE]   = @error                        # not used
  fg[NORMAL]        = "#efeae1"                     # Default header text bookmark
  fg[PRELIGHT]      = "#ffffff"                     # Prelight header text
  fg[SELECTED]      = @error                        # not used

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = "#4a443c"                     # Active title in Rhythmbox / file dialog
  base[INSENSITIVE] = "#e3d4c3"                     # Dimmed panel background
  base[NORMAL]      = "#ffffff"                     # Default panel background Rhythmbox / left panel of Nautilus
  base[PRELIGHT]    = @error
  base[SELECTED]    = "#e37c29"                     # Selected list item

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = "#eeeceb"                     # Category headers text
  text[INSENSITIVE] = "#33302B"                     # Dimmed text
  text[NORMAL]      = "#1f1816"                     # Default list item text
  text[PRELIGHT]    = @error                        # not used
  text[SELECTED]    = "#1f1816"                     # Selected list item text

  engine "clearlooks" {
    hint = "treeview"
  }

  xthickness = 0
  ythickness = 0

}

# tree view header tyle
# ######################################################################
style "clearlooks-treeview-header" = "clearlooks-default"
{
# used by evolution
# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = "#af8159"                     # Default Evo list item
  bg[INSENSITIVE]   = @error # "#aa753f"                     # GtkList header
  bg[NORMAL]        = "#d2cec4"                     # GtkList header (replaced with pixmap)
  bg[PRELIGHT]      = @error                        # not used
  bg[SELECTED]      = "#e37c29"                     # Selected Evo list item

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = "#002553"                     # Default list item text
  fg[INSENSITIVE]   = @error                        # not used
  fg[NORMAL]        = "#1f1816"                     # Outline for adding tasks & notes
  fg[PRELIGHT]      = @error                        # not used
  fg[SELECTED]      = "#002553"                     # Blue

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error                        # not used
  base[INSENSITIVE] = @error                        # not used
  base[NORMAL]      = "#ffffff"                     # Default list panel background
  base[PRELIGHT]    = @error                        # not used
  base[SELECTED]    = @error                        # not used

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error                        # not used
  text[INSENSITIVE] = @error                        # not used
  text[NORMAL]      = "#1f1816"                     # Default list text
  text[PRELIGHT]    = @error                        # not used
  text[SELECTED]    = @error                        # not used

  #engine "clearlooks"
  #{
    #hint = "treeview-header"
  #}

  # GtkList header image
  engine "pixmap"
  {
    image
    {
      function        = BOX
      recolorable     = TRUE
      state           = NORMAL
      file            = "headers/header_NORMAL.png"
      border          = {0,0,0,0} # = {Left, Right, Top, Bottom}
      stretch         = TRUE
    }
    image
    {
      function        = BOX
      recolorable     = TRUE
      state           = PRELIGHT
      file            = "headers/header_PRELIGHT.png"
      border          = {0,0,0,0} # = {Left, Right, Top, Bottom}
      stretch         = TRUE
    }
  }

}

# frame title style
# ######################################################################
style "clearlooks-frame-title"
{
# Used by geany
# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error
  bg[INSENSITIVE]   = @error
  bg[NORMAL]        = @error
  bg[PRELIGHT]      = @error
  bg[SELECTED]      = @error

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error
  fg[INSENSITIVE]   = @error
  fg[NORMAL]        = "#eeeceb"                     # Frame title
  fg[PRELIGHT]      = @error
  fg[SELECTED]      = @error

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error
  base[INSENSITIVE] = @error
  base[NORMAL]      = @error
  base[PRELIGHT]    = @error
  base[SELECTED]    = @error

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error
  text[INSENSITIVE] = @error
  text[NORMAL]      = @error
  text[PRELIGHT]    = @error
  text[SELECTED]    = @error

}

# tool tip style
# ######################################################################
style "clearlooks-tooltips"
{
# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error
  bg[INSENSITIVE]   = @error
  bg[NORMAL]        = "#fffea7"                     # Background
  bg[PRELIGHT]      = @error
  bg[SELECTED]      = @error

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error
  fg[INSENSITIVE]   = @error
  fg[NORMAL]        = "#1f1816"                     # Message
  fg[PRELIGHT]      = @error
  fg[SELECTED]      = @error

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error
  base[INSENSITIVE] = @error
  base[NORMAL]      = @error
  base[PRELIGHT]    = @error
  base[SELECTED]    = @error

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error
  text[INSENSITIVE] = @error
  text[NORMAL]      = @error
  text[PRELIGHT]    = @error
  text[SELECTED]    = @error

}

# style "clearlooks-progressbar"
# {
#   xthickness = 1
#   ythickness = 1
#
#  fg[PRELIGHT]      = "#1f1816"                     # White
#  bg[SELECTED]      = "#B55300"                     # Custom
#
#  engine "clearlooks"
#  {
#    # Explicitly set the radius, for progress
#    # bars inside menuitems
#    hint  = "progressbar"
#  }
#}

# progress bar style
# ######################################################################
style "clearlooks-progressbar" {

  fg[NORMAL]          = "#dedede"                   # Dimmed text  (Gray)
  # exception to theme colors
  fg[PRELIGHT]        = "#ffffff"                   # Prelight text (White)

  xthickness          = 0
  ythickness          = 0

  engine "pixmap"
  {
    image
    {
      function        = BOX
      detail          = "trough"
      file            = "ProgressBar/trough-progressbar-horiz.png"
      border          = { 2, 2, 2, 2 }  # = {Left, Right, Top, Bottom}
      stretch         = TRUE
      orientation     = HORIZONTAL
    }
    image
    {
      function        = BOX
      detail          = "bar"
      file            = "ProgressBar/progressbar-horiz.png"
      border          = { 2, 2, 2, 2 }  # = {Left, Right, Top, Bottom}
      stretch         = TRUE
      orientation     = HORIZONTAL
    }
    image
    {
      function        = BOX
      detail          = "trough"
      file            = "ProgressBar/trough-progressbar-vert.png"
      border          = { 2, 2, 2, 2 }  # = {Left, Right, Top, Bottom}
      stretch         = TRUE
      orientation     = VERTICAL
    }
    image
    {
      function        = BOX
      detail          = "bar"
      file            = "ProgressBar/progressbar-vert.png"
      border          = { 2, 2, 2, 2 }  # = {Left, Right, Top, Bottom}
      stretch         = TRUE
      orientation     = VERTICAL
    }
  }
}

# status bar style
# ######################################################################
style "clearlooks-statusbar"
{

  bg[NORMAL]          = "#7d7671"                      # form bottom

  engine "pixmap"
  {
    image
    {
      function = RESIZE_GRIP
      recolorable = TRUE
      detail = "statusbar"
      overlay_file = "statusbar/statusgrip.png"
      overlay_border = {0, 0, 0, 0} # = {Left, Right, Top, Bottom}
      overlay_stretch = TRUE
    }
  }

#  engine "clearlooks"
#  {
#    hint  = "statusbar"
#  }
}

# combobox entry style
# ######################################################################
style "clearlooks-comboboxentry"
{
# NOTE:
# This style supports GtkComboEntry

# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error                        # deferred to button style
  bg[INSENSITIVE]   = @error                        # deferred to button style
  bg[NORMAL]        = "#543611"                     # odd, displays as insensitive
  bg[PRELIGHT]      = @error                        # deferred to button style
  bg[SELECTED]      = "#a19a94"                     # box border

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = "#ffffff"                     # active [^/v] control
  fg[INSENSITIVE]   = "#262a35"                     # dimmed [^/v] control
  fg[NORMAL]        = "#1f1816"                     # default [^/v] control
  fg[PRELIGHT]      = "#ffffff"                     # pelight [^/v] control
  fg[SELECTED]      = @error                        # not used

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = "#ff9338"                     # active background { orange }
  base[INSENSITIVE] = "#ededed"                     # dimmed background
  base[NORMAL]      = "#ffffff"                     # default background
  base[PRELIGHT]    = @error                        # not used
  base[SELECTED]    = "#ff9338"                     # selected background { yellow }

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = "#ffffff"                     # active text
  text[INSENSITIVE] = "#262a35"                     # dimmed text
  text[NORMAL]      = "#1f1816"                     # default text
  text[PRELIGHT]    = @error                        # not used
  text[SELECTED]    = "#1f1816"                     # selected text

  xthickness = 1
  ythickness = 1

  engine "clearlooks"
  {
    hint  = "comboboxentry"
  }
}

# combobox style
# ######################################################################
style "clearlooks-combobox"
{
# NOTE:
# This style supports GtkComboBox

# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error                        # deferred to button style
  bg[INSENSITIVE]   = @error                      # deferred to button style
  bg[NORMAL]        = "#645f5b"                     # [|]
  bg[PRELIGHT]      = @error                        # deferred to button style
  bg[SELECTED]      = @error                        # box border

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error                        # not used
  fg[INSENSITIVE]   = "#262a35"                     # insensitive [v] control
  fg[NORMAL]        = "#e9e7e5"                     # default [v/^] control
  fg[PRELIGHT]      = "#ffffff"                     # pelight [v] control
  fg[SELECTED]      = @error                        # not used

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = "#ffffff"                     # active background
  base[INSENSITIVE] = @error                        # dimmed background
  base[NORMAL]      = @error                        # default background
  base[PRELIGHT]    = @error                        # not used
  base[SELECTED]    = @error                        # selected background

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = "#ffffff"                     # active text
  text[INSENSITIVE] = "#655d56"                     # dimmed text
  text[NORMAL]      = "#1f1816"                     # default text
  text[PRELIGHT]    = "#ffffff"                     # prelight text
  text[SELECTED]    = "#1f1816"                     # selected text

  xthickness = 3
  ythickness = 3

  engine "clearlooks"
  {
    hint  = "combobox"
  }
}

# spin button style
# ######################################################################
style "clearlooks-spinbutton"
{
# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = "#aa9f8e"                     # active combobox controls    [^/v] background
  bg[INSENSITIVE]   = "#bcb2a5"                     # disabled combobox controls  [^/v] background
  bg[NORMAL]        = "#a4907c"                     # default combobox controls   [^/v] background
  bg[PRELIGHT]      = @error
  bg[SELECTED]      = "#554c46"                     # selected inputbox border

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = "#ffffff"                     # active/selected combobox description & ^/v controls
  fg[INSENSITIVE]   = "#262a35"                     # dimmed combobox description & ^/v controls  #655d56
  fg[NORMAL]        = "#1f1816"                     # default combobox description & ^/v controls
  fg[PRELIGHT]      = "#ffffff"                     # pelight combobox description & ^/v controls
  fg[SELECTED]      = @error

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = "#ff9338"                     # active input
  base[INSENSITIVE] = "#ededed"                     # dimmed combobox input
  base[NORMAL]      = "#ffffff"                     # default combobox input
  base[PRELIGHT]    = @error
  base[SELECTED]    = "#ff9338"                     # background selected

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = "#ffffff"                     # active text
  text[INSENSITIVE] = "#262a35"                     # dimmed input text
  text[NORMAL]      = "#1f1816"                     # default input text
  text[PRELIGHT]    = @error
  text[SELECTED]    = "#1f1816"                     # selected input text

  xthickness = 3
  ythickness = 3

  engine "clearlooks"
  {
    hint  = "spinbutton"
  }
}

# gtk entry style
# ######################################################################
style "clearlooks-gtkentry"
{
# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error
  bg[INSENSITIVE]   = "#afaaa3"                     # Used by combospinner ^/v controls bookmark
  bg[NORMAL]        = "#a4907c"                     # iUsed by combospinner ^/v controls
  bg[PRELIGHT]      = @error
  bg[SELECTED]      = "#554c46"                     # inputbox border

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error
  fg[INSENSITIVE]   = "#262a35"                     # Used by combospinner
  fg[NORMAL]        = "#1f1816"                     # Used by combospinner ^/v controls
  fg[PRELIGHT]      = @error
  fg[SELECTED]      = @error

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = "#ff9338"                     # active background { orange }
  base[INSENSITIVE] = "#ededed"                     # dimmed background
  base[NORMAL]      = "#ffffff"                     # default background
  base[PRELIGHT]    = @error
  base[SELECTED]    = "#ffb515"                     # selected background { yellow }

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = "#ffffff"                     # active text
  text[INSENSITIVE] = "#655d56"                     # dimmed text
  text[NORMAL]      = "#1f1816"                     # default text
  text[PRELIGHT]    = @error
  text[SELECTED]    = "#1f1816"                     # selected text

  xthickness = 2
  ythickness = 2

  engine "clearlooks"
  {
    hint  = "comboboxentry"
  }
}

# frame style
# ######################################################################
style "clearlooks-frame"
{
# NOTE:
# If you set the appears-as-list option on comboboxes in the theme
# you should set this hint on the combobox instead.

# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error
  bg[INSENSITIVE]   = @error
  bg[NORMAL]        = "#a79e97"                     # frame line color {#a19a94}
  bg[PRELIGHT]      = @error
  bg[SELECTED]      = @error

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error
  fg[INSENSITIVE]   = @error
  fg[NORMAL]        = @error
  fg[PRELIGHT]      = @error
  fg[SELECTED]      = @error

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error
  base[INSENSITIVE] = @error
  base[NORMAL]      = "#8a837e"                     # used by inkscape
  base[PRELIGHT]    = @error
  base[SELECTED]    = @error

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error
  text[INSENSITIVE] = @error
  text[NORMAL]      = @error
  text[PRELIGHT]    = @error
  text[SELECTED]    = @error

  xthickness = 0
  ythickness = 0

  engine "clearlooks"
  {
    hint  = "comboboxentry"
  }
}

# scale style (e.g. slider)
# ######################################################################
style "clearlooks-scale"
{

# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error
  bg[INSENSITIVE]   = @error
  bg[NORMAL]        = "#b9bdc4"
  bg[PRELIGHT]      = @error
  bg[SELECTED]      = "#ffffff"                     # selected background

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error
  fg[INSENSITIVE]   = @error
  fg[NORMAL]        = "#7d7671"                     # Outline around slider
  fg[PRELIGHT]      = @error
  fg[SELECTED]      = @error

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error
  base[INSENSITIVE] = @error
  base[NORMAL]      = @error
  base[PRELIGHT]    = @error
  base[SELECTED]    = @error

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error
  text[INSENSITIVE] = @error
  text[NORMAL]      = @error
  text[PRELIGHT]    = @error
  text[SELECTED]    = @error

  GtkRange::trough_border = 0
  GtkRange::slider_width = 19

#  engine "clearlooks"
#  {
#    hint  = "scale"
#    style = CLASSIC
#  }

}

# horizonal scale style
# ######################################################################
style "clearlooks-hscale"
{

  engine "pixmap"
  {
    # slider trough
    image
    {
      function        = BOX
      recolorable     = TRUE
      detail          = "trough"
      file            = "scale/trough-scale-horiz.png"
      border          = { 6, 6, 6, 6 }  # = {Left, Right, Top, Bottom}
      stretch         = TRUE
      orientation     = HORIZONTAL
    }
    # slider grip
    image
    {
      function        = SLIDER
      recolorable     = TRUE
      state           = NORMAL
      # file            = "scale/scale-horiz_normal.png"
      border          = { 15, 15, 6, 6 }  # = {Left, Right, Top, Bottom}
      # stretch         = TRUE
      overlay_file    = "scale/scale-horiz_normal.png"
      overlay_stretch = FALSE
      orientation     = HORIZONTAL
    }
    image
    {
      function        = SLIDER
      recolorable     = TRUE
      state           = INSENSITIVE
      # file            = "scale/scale-horiz_insensitive.png"
      border          = { 15, 15, 6, 6 }  # = {Left, Right, Top, Bottom}
      # stretch         = TRUE
      overlay_file    = "scale/scale-horiz_insensitive.png"
      overlay_stretch = FALSE
      orientation     = HORIZONTAL
    }
    image
    {
      function        = SLIDER
      recolorable     = TRUE
      state           = PRELIGHT
      # file            = "scale/scale-horiz_prelight.png"
      border          = { 15, 15, 6, 6 }  # = {Left, Right, Top, Bottom}
      # stretch         = TRUE
      overlay_file    = "scale/scale-horiz_prelight.png"
      overlay_stretch = FALSE
      orientation     = HORIZONTAL
    }
  }

#  engine "clearlooks"
#  {
#    hint  = "hscale"
#  }
}

# vertical scale style
# ######################################################################
style "clearlooks-vscale"
{
  engine "pixmap"
  {
    # slider trough
    image
    {
      function        = BOX
      recolorable     = TRUE
      detail          = "trough"
      file            = "scale/trough-scale-vert.png"
      border          = { 6, 6, 6, 6 }  # = {Left, Right, Top, Bottom}
      stretch         = TRUE
      orientation     = VERTICAL
    }
    # slider grip
    image
    {
      function        = SLIDER
      recolorable     = TRUE
      state           = NORMAL
      # file            = "scale/scale-vert_normal.png"
      border          = { 15, 15, 6, 6 }  # = {Left, Right, Top, Bottom}
      # stretch         = TRUE
      overlay_file    = "scale/scale-vert_normal.png"
      overlay_stretch = FALSE
      orientation     = VERTICAL
    }
    image
    {
      function        = SLIDER
      recolorable     = TRUE
      state           = INSENSITIVE
      # file            = "scale/scale-vert_insensitive.png"
      border          = { 15, 15, 6, 6 }  # = {Left, Right, Top, Bottom}
      # stretch         = TRUE
      overlay_file    = "scale/scale-vert_insensitive.png"
      overlay_stretch = FALSE
      orientation     = VERTICAL
    }
    image
    {
      function        = SLIDER
      recolorable     = TRUE
      state           = PRELIGHT
      # file            = "scale/scale-vert_prelight.png"
      border          = { 15, 15, 6, 6 }  # = {Left, Right, Top, Bottom}
      # stretch         = TRUE
      overlay_file    = "scale/scale-vert_prelight.png"
      overlay_stretch = FALSE
      orientation     = VERTICAL
    }
  }
#  engine "clearlooks"
#  {
#    hint  = "vscale"
#  }
}

# scrollbar default style
# ######################################################################
style "clearlooks-scrollbar"
{
  engine "clearlooks"
  {
    hint  = "scrollbar"
    #style  = CLASSIC
  }
}

# horizonal scrollbar style
# ######################################################################
style "clearlooks-hscrollbar"
{
  engine "clearlooks"
  {
    hint  = "hscrollbar"
  }
}

# vertical scrollbar style
# ######################################################################
style "clearlooks-vscrollbar"
{
  engine "clearlooks"
  {
    hint  = "vscrollbar"
  }
}

# unsure what this is about :|
style "clearlooks-nautilus-location"
{
  bg[NORMAL]        = "#7d7671"                    # ?
}

# metacity window frame style
# (not used)  ##########################################################
#style "metacity-frame"
#{
  #bg[SELECTED]      = "#bf5b00"                  # Drk orange
#}

# evo hack style
# Hacks for Evolution Mail
# ######################################################################
#style "evolution-hack" = "clearlooks-default"
#{
  #bg[NORMAL] = shade (1.14, @bg_color) # Color for evo treeview headers.
  #bg[PRELIGHT] = shade (1.18, @bg_color) # Color for evo treeview header prelight.
  #bg[ACTIVE] = shade (0.75, @bg_color) # Color for unfocused evo selected items.
  #bg[SELECTED] = @selected_bg_color # Color for evo selected items.
  #fg[ACTIVE]      = @selected_fg_color # Color for evo active text.
  #fg[SELECTED]    = @selected_fg_color # Color for evo selected text.
#}

# check box style
# ######################################################################
style "clearlooks-checkbox"
{
# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error
  bg[INSENSITIVE]   = @error
  bg[NORMAL]        = @error
  bg[PRELIGHT]      = @error
  bg[SELECTED]      = @error

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error
  fg[INSENSITIVE]   = @error
  fg[NORMAL]        = @error
  fg[PRELIGHT]      = @error
  fg[SELECTED]      = @error

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error
  base[INSENSITIVE] = @error
  base[NORMAL]      = @error
  base[PRELIGHT]    = @error
  base[SELECTED]    = @error

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error
  text[INSENSITIVE] = @error
  text[NORMAL]      = @error
  text[PRELIGHT]    = @error
  text[SELECTED]    = @error

}

# radio check box style
# ######################################################################
style "clearlooks-radiocheck"
{
# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = @error
  bg[INSENSITIVE]   = @error
  bg[NORMAL]        = @error
  bg[PRELIGHT]      = @error
  bg[SELECTED]      = @error

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = @error
  fg[INSENSITIVE]   = @error
  fg[NORMAL]        = @error
  fg[PRELIGHT]      = @error
  fg[SELECTED]      = @error

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error
  base[INSENSITIVE] = @error
  base[NORMAL]      = @error
  base[PRELIGHT]    = @error
  base[SELECTED]    = @error

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error
  text[INSENSITIVE] = @error
  text[NORMAL]      = @error
  text[PRELIGHT]    = @error
  text[SELECTED]    = @error

}

# desktop panel style (top & bottom)
# ######################################################################
style "panel"
{
# bg[state]   = Background color of most widgets
#
  bg[ACTIVE]        = "#463f34"                     # bottom panel active background
  bg[INSENSITIVE]   = @error                        # not used
  bg[NORMAL]        = "#24201b"                     # Default panel background
  bg[PRELIGHT]      = "#463f34"                     # panel prelight
  bg[SELECTED]      = "#8e8982"                     # menu bar active background

# fg[state]   = Foreground color of most widgets
#
  fg[ACTIVE]        = "#ffffff"                     # Bottom panel active text
  fg[INSENSITIVE]   = @error
  fg[NORMAL]        = "#eeeceb"                     # Default text
  fg[PRELIGHT]      = "#ffffff"                     # Prelight
  fg[SELECTED]      = "#1f1816"                     # Bottom panel selected window

# base[state] = Background color of widgets with editable text
#               ( GtkText/GtkEntry/GtkList/GtkCList )
#
  base[ACTIVE]      = @error                        # not used
  base[INSENSITIVE] = @error                        # not used
  base[NORMAL]      = @error                        # not used
  base[PRELIGHT]    = @error                        # not used
  base[SELECTED]    = @error                        # not used

# text[state] = Set color of text of base[state] widgets
#
  text[ACTIVE]      = @error                        # not used
  text[INSENSITIVE] = @error                        # not used
  text[NORMAL]      = @error                        # not used
  text[PRELIGHT]    = @error                        # not used
  text[SELECTED]    = @error                        # not used

  xthickness = 0
  ythickness = 0

}

# panel menu font style
# ######################################################################
style "bold-panel-menu"
{
  font_name = "Bold"

  engine "clearlooks" {
    radius = 2.0
  }
}

# ######################################################################
# Apply Styles to Widgets ##############################################
# ######################################################################

# Clearlooks default style is applied to every widget.
class "GtkWidget"    style "clearlooks-default"

# theme radio buttons and checkmarks
class "GtkRadio*"                               style "clearlooks-radiocheck"
class "GtkCheck*"                               style "clearlooks-checkbox"

# keep proper colour for Metacity
#class "MetaFrames"            style "metacity-frame"
#class "GtkWindow"             style "metacity-frame"

# Increase the x/ythickness in some widgets
class "GtkRange"                                style "clearlooks-wide"
class "GtkFrame"                                style "clearlooks-frame"
class "GtkSeparator"                            style "clearlooks-wide"
class "GtkEntry"                                style "clearlooks-gtkentry"

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

class "GtkSpinButton"                           style "clearlooks-spinbutton"
class "GtkScale"                                style "clearlooks-scale"
class "GtkVScale"                               style "clearlooks-vscale"
class "GtkHScale"                               style "clearlooks-hscale"

#class "GtkScrollbar"                               style "clearlooks-scrollbar"
#class "GtkVScrollbar"                              style "clearlooks-vscrollbar"
#class "GtkHScrollbar"                              style "clearlooks-hscrollbar"

class "GtkScrollbar"                            style "pixmap-scrollbar"
class "GtkVScrollbar"                           style "pixmap-scrollbar"
class "GtkHScrollbar"                           style "pixmap-scrollbar"

class "GtkCalendar"                             style "clearlooks-wide"

class "GtkRadio*" style "clearlooks-radiocheck"
class "GtkCheck*" style "clearlooks-radiocheck"

# Order is critical ####################################################
#   The order is choosen so that the right styles override each other
#   eg. progressbar needs to be more important then the menu match.
# ######################################################################

widget "*Panel*MenuBar*"                        style "bold-panel-menu"
widget "*gimmie*"                               style "bold-panel-menu"

widget_class "*<GtkToolbar>.*"                  style "clearlooks-toolbar"
widget_class "*.*.*.*.*.*Toolbar*"              style "clearlooks-toolbar"

widget_class "*<GtkRadio>*"                     style "clearlooks-radiocheck"
widget_class "*<GtkCheck>"                      style "clearlooks-checkbox"

widget_class "*<GtkNotebook>"                   style "clearlooks-notebook"
widget_class "*<GtkNotebook>*<GtkEventBox>"     style "clearlooks-notebook"
widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "clearlooks-notebook"
widget_class "*<GtkNotebook>*<GtkLayout>"       style "clearlooks-notebook"
#widget_class "*<GtkNotebook>.*"                    style "clearlooks-notebook"

widget_class "*<GtkEntry>*"                     style "clearlooks-gtkentry"
widget_class "*Fix*<GtkEntry>*"                 style "clearlooks-default"

widget_class "*<GtkStatusbar>*"                 style "clearlooks-statusbar"

#widget_class "*<GtkCombo>*"                        style "clearlooks-combobox"
widget_class "*<GtkComboBox>*"                  style "clearlooks-combobox"
widget_class "*<GtkComboBoxEntry>*"             style "clearlooks-comboboxentry"

widget_class "*<GtkButton>"                     style "clearlooks-button"

widget_class "*<GtkMenuBar>*"                   style "clearlooks-menubar"
widget_class "*<GtkMenu>*"                      style "clearlooks-menu"
widget_class "*<GtkMenuItem>*"                  style "clearlooks-menu-item"
widget_class "*<GtkSeparatorMenuItem>*"         style "clearlooks-separator-menu-item"

widget_class "*.<GtkFrame>.<GtkLabel>"          style "clearlooks-frame-title"
widget_class "*.<GtkTreeView>*"                 style "clearlooks-treeview"

widget_class "*<GtkProgressBar>"                style "clearlooks-progressbar"

# Treeview header
widget_class "*.<GtkTreeView>.<GtkButton>"      style "clearlooks-treeview-header"
widget_class "*.<GtkCTree>.<GtkButton>"         style "clearlooks-treeview-header"
widget_class "*.<GtkList>.<GtkButton>"          style "clearlooks-treeview-header"
widget_class "*.<GtkCList>.<GtkButton>"         style "clearlooks-treeview-header"

# Workarounds for Evolution
widget_class "*.ETable.ECanvas"                 style "clearlooks-treeview-header"
widget_class "*.ETree.ECanvas"                  style "clearlooks-treeview-header"
widget_class "*EInfoLabel*"                     style "clearlooks-treeview-header"
widget_class "*.ETree.*"                        style "clearlooks-treeview-header"
widget_class "*GtkCTree*"                       style "clearlooks-treeview-header"
widget_class "*GtkList*"                        style "clearlooks-treeview-header"
widget_class "*GtkCList*"                       style "clearlooks-treeview-header"

# The window of the tooltip is called "gtk-tooltip"
################################
# FIXME:
# This will not work if one embeds eg. a button into the tooltip.
# As far as I can tell right now we will need to rework the theme
# quite a bit to get this working correctly.
# (It will involve setting different priorities, etc.)
################################
widget "gtk-tooltip*"                           style "clearlooks-tooltips"

###################################################
# Special cases and work arounds
###################################################

#Firefox isn't nice to dark themes, so unset the dark stuff.
widget "MozillaGtkWidget*Toolbar*"              style "clearlooks-mozilla"
#widget "MozillaGtkWidget*MenuBar" style :highest "newwave-menubar-mozilla"

# Special case the nautilus-extra-view-widget
# ToDo: A more generic approach for all applications that have a widget like this.
widget "*.nautilus-extra-view-widget"           style : highest "clearlooks-nautilus-location"

# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that the work around assumes that the combobox is _not_ in
# appears-as-list mode.
# Similar hack also in the menuitem style.
# This style does not affect GtkComboBoxEntry, it does have an effect
# on comboboxes in appears-as-list mode though.
style "clearlooks-combobox-text-color-workaround"
{
  text[NORMAL]      = "#000000"                     # Normal Text
  text[PRELIGHT]    = "#ffffff"                     # Prelight text
  text[SELECTED]    = @error
  text[ACTIVE]      = @error
  text[INSENSITIVE] = "#262a35"                     # Combobox text
}
#widget_class "*.<GtkComboBox>.<GtkCellView>"    style "clearlooks-combobox-text-color-workaround"

style "clearlooks-menuitem-text-is-fg-color-workaround"
{
  text[NORMAL]      = "#f2f2f2"                     # Normal text
  text[PRELIGHT]    = "#ffffff"                     # Prelight text
  text[SELECTED]    = @error
  text[ACTIVE]      = @error
  text[INSENSITIVE] = @error
}

widget "*.gtk-combobox-popup-menu.*"        style "clearlooks-menuitem-text-is-fg-color-workaround"

# Work around the usage of GtkLabel inside GtkListItems to display text.
# This breaks because the label is shown on a background that is based on the
# base color set.
# *** gFTP  ***
#style "clearlooks-fg-is-text-color-workaround"
#{
  #bg[SELECTED]      = @error #"#ff9338"
  #fg[NORMAL]        = "#000000"                                            book mark
  #fg[SELECTED]      = @error
  #text[NORMAL]      = @error
  #text[PRELIGHT]    = @error
  #text[SELECTED]    = @error
  #text[ACTIVE]      = @error
  #text[INSENSITIVE] = @error
#}

#widget_class "*<GtkListItem>*"        style "clearlooks-fg-is-text-color-workaround"

# The same problem also exists for GtkCList and GtkCTree
# Only match GtkCList and not the parent widgets, because that would also change the headers.

#widget_class "*<GtkCList>"            style "clearlooks-fg-is-text-color-workaround"

style "clearlooks-evo-new-button-workaround"
{

  engine "clearlooks"
  {
    toolbarstyle = 0
  }
}
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "clearlooks-evo-new-button-workaround"

# Theme panel elements
widget "*PanelWidget*"          style "panel"
widget "*PanelApplet*"          style "panel"
widget "*fast-user-switch*"     style "panel"
class "PanelApp*"               style "panel"
class "PanelToplevel*"          style "panel"
widget_class "*Mail*"           style "panel"
widget_class "*notif*"          style "panel"
widget_class "*Notif*"          style "panel"
