# Based on Clearlooks
# Created by José Alberto Suárez López (aka BaSS)
# www.josealberto.org


style "darknicedefault"
{
  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]        = "#92b6f4" # texto principal (menu.pestaña,etc)
  fg[PRELIGHT]      = "#f57900" # texto zona iluminada
  fg[ACTIVE]        = "#f3f3f3" # texto zonas activas
  fg[SELECTED]      = "#f57900" # texto zonas seleccionadas
  fg[INSENSITIVE]   = "#111111" # zona no activable

  bg[NORMAL]        = "#4c4c4c" # fondo
  bg[PRELIGHT]      = "#3a588e" # zona iluminada
  bg[ACTIVE]        = "#3a588e" # zona activa
  bg[SELECTED]      = "#3a588e" # 
  bg[INSENSITIVE]   = "#4e4e4e" # zona no activable 
	
  base[NORMAL]      = "#6c6c6c" # fondo caja texto
  base[PRELIGHT]    = "#92b6f4" # borde selección de menu
  base[ACTIVE]      = "#3a588e" # seleccion sin foco
  base[SELECTED]    = "#4467a6" # texto seleccionado y linea de tabs
  base[INSENSITIVE] = "#696969" # zonas inactivas
	
  text[NORMAL]      = "#000000" # 
  text[PRELIGHT]    = "#ffffff" # 
  text[ACTIVE]      = "#ffffff" # 
  text[SELECTED]    = "#ffffff" # 
  text[INSENSITIVE] = "#696969" # 

  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 = supercandy, 2 = flat
#     sunkenmenubar     = 1
  }
}

style "darknicewide" = "darknicedefault"
{
  xthickness = 2
  ythickness = 2
  bg[NORMAL]        = "#5c5c5c" # lineas y parte de scroll
  bg[PRELIGHT]      = "#4467a6" # mouseover scroll
  
}

style "darknicebutton" = "darknicedefault"
{
  xthickness = 3
  ythickness = 3
    bg[NORMAL]      = "#404040" # botones
#     bg[PRELIGHT]    = "#ff0000" # zonas y botones iluminados
}

style "darknicecheck" = "darknicebutton"
{
  text[NORMAL]      = "#92b6f4" # color simbolo the check 
  text[PRELIGHT]    = "#f57900" # simbolo seleccionado
}

style "darknicenotebook" = "darknicewide"
{
#   text[NORMAL]      = "#f" #active tab
  bg[NORMAL]        = "#4c4c4c" 
#   text[ACTIVE]      = "#ffffff" #inactive tab
  bg[ACTIVE]        = "#3c3c3c"
}

style "darknicetasklist" = "darknicedefault"
{
  xthickness = 5
  ythickness = 3
}

style "darknicemenu" = "darknicedefault"
{
  xthickness = 2
  ythickness = 1
  bg[NORMAL]        = "#3c3c3c" #menu background
}

style "darknicemenu-item" = "darknicedefault"
{
  xthickness = 2
  ythickness = 2
  fg[NORMAL]        = "#f3f3f3" # texto menu
  fg[PRELIGHT]      = "#f57900"
  bg[PRELIGHT]      = "#f57900"
  bg[NORMAL]        = "#5c5c5c" #menu separator
  fg[INSENSITIVE]   = "#4c4c4c"	#inactive text tl
  text[INSENSITIVE] = "#4c4c4c"
  bg[INSENSITIVE]   = "#4c4c4c"	#inactive highlight arrows
}

style "darknicemenu-itembar" = "darknicedefault"
{
  xthickness = 2
  ythickness = 2
}

style "darknice-menubar" = "darknicedefault" {
	bg[NORMAL] = "#3c3c3c"
}

style "darknicetree" = "darknicedefault"
{
  xthickness = 2
  ythickness = 2
}

style "darkniceframe-title" = "darknicedefault"
{
  fg[NORMAL] = "#111111"
}

style "darknicetooltips" = "darknicedefault"
{
  xthickness = 4
  ythickness = 4
  bg[NORMAL]        = "#3b588c"
}

style "darkniceprogressbar" = "darknicedefault"
{
  xthickness = 1
  ythickness = 1

  fg[PRELIGHT]      = "#f57900"
  bg[NORMAL]        = "#3c3c3c"
}

style "darknicecombo" = "darknicedefault"
{
  xthickness = 1
  ythickness = 2
  fg[NORMAL]            = "#f3f3f3"
  fg[PRELIGHT]    		= "#f3f3f3"
  fg[ACTIVE]     		= "#f3f3f3"
  bg[NORMAL]			= "#4c4c4c"
  bg[PRELIGHT]			= "#4a4a4a"
}

style "fspot-photos" = "darknicedefault"
{
	base[NORMAL]    = "#6c6c6c"
    fg[NORMAL]      = "#111111"
}

#special case panel menus
style "panel-menu" = "darknicedefault"
{
	bg[NORMAL] = "#3c3c3c"
}

#nautilus search stripe and other specialties
style "extra-view" {
    bg[NORMAL] = "#6284c0"
} 

style "evolution-hack" = "clearlooks-default"
{
        bg[ACTIVE]   = "#4467a6" # borde linea selec
        bg[SELECTED] = "#92b6f4" # linea seleccionada 
        fg[ACTIVE]   = "#000000"
        fg[SELECTED] = "#ffffff"
}

style "darknice-scrollbar" = "clearlooks-default"
{
#   fg[NORMAL]    		= "#ff0000" # flecha scroll
#   fg[PRELIGHT]    		= "#ff0000" # flecha mouseover
  bg[NORMAL]        = "#5c5c5c" # lineas y parte de scroll
  fg[ACTIVE]     		= "#f57900" # pulsada
#   bg[NORMAL]			= "#ff0000" # scroll entero
  bg[PRELIGHT]			= "#4467a6" # mouseover scroll
}
style "darknice-spin" = "clearlooks-wide"
{
#   fg[NORMAL]    		= "#ff0000"
#   fg[PRELIGHT]    		= "#6284c0"
#   fg[ACTIVE]     		= "#193c7b"
#   bg[NORMAL]			= "#444444"
#   bg[PRELIGHT]			= "#4A4A4A"
}


# widget styles
class "GtkWidget" style "darknicedefault"
class "GtkButton" style "darknicebutton"
class "GtkCombo"  style "darknicebutton"
class "GtkRange"  style "darknicewide"
class "GtkFrame"  style "darknicewide"
class "GtkMenu"   style "darknicemenu"
class "GtkEntry"  style "darknicebutton"
class "GtkMenuItem"    style "darknicemenu-item"
class "GtkStatusbar"   style "darknicewide"
class "GtkNotebook"    style "darknicenotebook"
class "GtkProgressBar" style "darkniceprogressbar"
class "GtkCheckButton" style "darknicecheck"
class "GtkRadioButton" style "darknicecheck"
class "GtkMenuBar" style "darknice-menubar"
class "GtkSpinButton" style "darknice-spin"
class "GtkScrollbar" style "darknice-scrollbar"

#menu stripe (but not on the panel)
widget_class "*MenuItem.*" style "darknicemenu-item"
class "PanelMenuBar" style "panel-menu"
 
#f-spot stuff
class "__gtksharp_*_IconView" style "fspot-photos"
widget_class "*.__gtksharp_*_PhotoView.*.GtkEventBox*" style "fspot-photos"

#nautilus search stripe
widget "*.nautilus-extra-view-widget" style:highest "extra-view"

# combobox stuff
widget_class "*.GtkComboBox.GtkButton" style "darknicecombo"
widget_class "*.GtkCombo.GtkButton"    style "darknicecombo"

# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "darknicetasklist"
widget "gtk-tooltips" style "darknicetooltips"

# treeview stuff
widget_class "*.GtkTreeView.GtkButton" style "darknicetree"
widget_class "*.GtkCTree.GtkButton" style "darknicetree"
widget_class "*.GtkList.GtkButton" style "darknicetree"
widget_class "*.GtkCList.GtkButton" style "darknicetree"
widget_class "*.GtkFrame.GtkLabel" style "darkniceframe-title"

# notebook stuff
widget_class "*.GtkNotebook.*.GtkEventBox" style "darknicenotebook"
widget_class "*.GtkNotebook.*.GtkViewport" style "darknicenotebook"

# Evolution
widget_class "*GtkCTree*" style "evolution-hack"
widget_class "*GtkList*" style "evolution-hack"
widget_class "*GtkCList*" style "evolution-hack"
widget_class "*.ETree.*" style "evolution-hack"
