# Set GtkSettings color scheme property.
# This can be overriden (via an xsetting) with eg. the gnome-appearance-properties.
gtk_color_scheme = "fg_color:#000\nbg_color:#EFF3F7\nbase_color:#fff\ntext_color:#000\nselected_bg_color:#F7B610\nselected_fg_color:#000\ntooltip_fg_color:#000\ntooltip_bg_color:#FFFF94"
gtk-auto-mnemonics = 1


style "ia_ora-default"
{

    color["gray0"]= @bg_color # "#EFF3F7"
    color["gray1"]= mix(0.5,@bg_color, "#C8D8D8") #"#DFE7EF"
    color["gray2"]= mix(0.5,@bg_color, "#A8B8B8") #"#CFD7DF"
    color["gray3"]= mix(0.5,@bg_color, "#90B0B8") # "#C7D3DF"
    color["gray4"]= mix(0.5,@bg_color, "#709098") # "#B6C3CF"
    color["gray5"]= mix(0.5,@bg_color, "#507088") # "#A6B2C7"
    color["gray6"]= mix(0.5,@bg_color, "#183050") #"#8692A6"

# orange
    color["blue0"]= mix(0.3, @selected_bg_color, "#FFF018") # "#FFDF10" 
    color["blue1"]= mix(0.5, @selected_bg_color, "#FFE018") #"#FFCB10"
    color["blue2"]= @selected_bg_color # "#F7B610"
    color["blue3"]= mix(0.5, @selected_bg_color, "#FF9008")  # "#FFA208"
    color["blue4"]= mix(0.1, @selected_bg_color, "#EF9000") # "#F79600"

    GtkButton::default-border         = {1, 1, 1, 1}
    GtkWidget::interior-focus         = 1
    GtkButton::default-spacing        = 6
    GtkCheckButton::indicator-size    = 13
    GtkPaned::handle-size             = 6
    GtkRange::trough-border           = 0
    GtkRange::slider-width            = 8
    GtkRange::stepper-size            = 15
    GtkRange::stepper-spacing         = 0
    GtkRange::trough-side-details     = 1
    GtkScrollbar::min-slider-length   = 20
    GtkScrollbar::slider-width        = 15
    GtkScrollbar::trough-side-details     = 0
    GtkTreeView::even-row-color       = @base_color
    GtkTreeView::odd-row-color        = @bg_color

    # Glow the tasklist by changing the color, instead of overlaying it with a rectangle
    WnckTasklist   ::fade-overlay-rect    = 0


    fg[NORMAL]        = @fg_color
    fg[ACTIVE]        = @fg_color
    fg[INSENSITIVE]   = @gray4
    fg[PRELIGHT]      = @fg_color
    fg[SELECTED]      = @selected_fg_color

    bg[NORMAL]        = @bg_color
    bg[ACTIVE]        = @gray1
    bg[INSENSITIVE]   = @gray2
    bg[PRELIGHT]      = @gray1
    bg[SELECTED]      = @selected_bg_color

    base[NORMAL]      = @base_color
    base[ACTIVE]      = @blue1
    base[INSENSITIVE] = @bg_color
    base[PRELIGHT]    = @base_color
    base[SELECTED]    = @selected_bg_color

    text[NORMAL]      = @text_color
    text[ACTIVE]      = @selected_fg_color
    text[INSENSITIVE] = @gray4
    text[PRELIGHT]    = @fg_color
    text[SELECTED]    = @selected_fg_color

    engine "ia_ora" {
	black_check=TRUE
    }
}

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

style "ia_ora-thin" = "ia_ora-default"
{
  xthickness = 1
  ythickness = 1
}

style "ia_ora-treeview-header" = "ia_ora-default"
{
  xthickness = 0
  ythickness = 0
}


style "ia_ora-menu" = "ia_ora-default"
{
  fg[PRELIGHT]=@selected_fg_color
  text[PRELIGHT]=@selected_fg_color
}

style "ia_ora-bar" = "ia_ora-menu"
{
  xthickness = 0
  ythickness = 0
}


style "ia_ora-tasklist" = "ia_ora-default"
{
  xthickness = 2
  ythickness = 2
  GtkWidget::focus-line-width = 0
  GtkWidget::focus-padding = 0
}

style "ia_ora-comboboxtext" = "ia_ora-default"
{
  text[PRELIGHT] = @fg_color
 # Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
  text[NORMAL]       = @fg_color
}

style "ia_ora-tooltips" = "ia_ora-default"
{
  bg[NORMAL] = @tooltip_bg_color
  fg[NORMAL] = @tooltip_fg_color
  bg[SELECTED] = darker(@tooltip_bg_color)
  GtkWidget::new-tooltip-style = 1
  xthickness = 8
  ythickness = 4
}

style "ia_ora-tree" = "ia_ora-default"
{
  bg[ACTIVE] = @blue1
}

style "ia_ora-menubar" = "ia_ora-default"
{
  GtkWidget::window-dragging = 1
}

class "GtkWidget" style "ia_ora-default"
class "ECanvas" style "ia_ora-thin"
class "GtkButton" style "ia_ora-button"
class "EComboButton" style "ia_ora-thin"
widget_class "*Item.GtkAccelLabel" style "ia_ora-menu"
widget_class "*GtkComboBox.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*BaconCdSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*NautilusBurnDriveSelection.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*Gimp*Combo*.GtkCellView" style "ia_ora-comboboxtext"
widget_class "*.EShortcutsView.GtkButton" style "ia_ora-thin"
widget_class "*.GtkHTMLEmbedded.*GtkButton" style "ia_ora-thin"

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

class "GtkScrolledWindow" style "ia_ora-thin"
class "GtkProgressBar" style "ia_ora-bar"
widget_class "*<GtkMenuBar>*" style "ia_ora-menubar"
widget_class "*MenuItem*" style "ia_ora-menu"
widget_class "*.PanelApplet.*" style "ia_ora-tasklist"
widget "*.tasklist-button" style "ia_ora-tasklist"
class "GtkNotebook" style "ia_ora-thin"
widget "gtk-tooltip*" style "ia_ora-tooltips"
widget_class "*GtkPathBar*" style "ia_ora-thin"
widget_class "*Tree*" style "ia_ora-tree"
widget_class "*ETable*" style "ia_ora-tree"
