
gtk_color_scheme = "fg_color:#101010\nbg_color:#E0E0E0\nbase_color:#ffffff\ntext_color:#000000\nselected_bg_color:#949EA8\nselected_fg_color:#000000\ntooltip_bg_color:#B3C4EF\ntooltip_fg_color:#000"

style "xl_cheeselooks-default"
{
	GtkButton      ::default_border    = { 0, 0, 0, 0 }
	GtkRange       ::trough_border     = 0
	GtkPaned       ::handle_size       = 6
	GtkRange       ::slider_width      = 16
	GtkRange       ::stepper_size      = 15
	GtkCheckButton ::indicator-size       = 15
	GtkRadioButton ::indicator-size       = 15
	GtkScrollbar   ::min_slider_length = 35
	GtkMenuBar     ::internal-padding  = 0
	GtkTreeView    ::expander_size     = 14
	GtkExpander    ::expander_size     = 16
	GtkScale       ::slider-length     = 31
#  GtkToolbar     ::button-relief     = GTK_RELIEF_NORMAL
#  GtkMenuBar     ::shadow-type       = GTK_SHADOW_OUT
#  GtkScrollbar   ::has-secondary-forward-stepper = 1
#  GtkScrollbar   ::has-secondary-backward-stepper = 1

  GtkButton      ::child-displacement-x = 1
  GtkButton      ::child-displacement-y = 1

  GtkMenu        ::horizontal_padding = 0
  GtkMenu        ::vertical_padding = 0

  WnckTasklist   ::fade-overlay-rect = 0

  xthickness = 1
  ythickness = 1
	GtkTreeView::odd_row_color = mix(0.10, @selected_bg_color, shade (1.10,@bg_color))
	GtkTreeView::even_row_color = shade (1.15, @bg_color)

	fg[NORMAL]        = @fg_color
	fg[PRELIGHT]      = shade (1.05, @fg_color)
	fg[SELECTED]      = @selected_fg_color
	fg[ACTIVE]        = shade (1.07, @fg_color)
	fg[INSENSITIVE]   = shade (0.80, @bg_color)

	bg[NORMAL]        = @bg_color
	bg[PRELIGHT]      = shade (1.02, @bg_color)
	bg[SELECTED]	  = @selected_bg_color
	bg[INSENSITIVE]   = shade (0.95, @bg_color)
	bg[ACTIVE]        = shade (0.9, @bg_color)

	base[NORMAL]      = @base_color
	base[PRELIGHT]    = @base_color
	base[ACTIVE]      = mix(0.65, @selected_bg_color, shade (1.00,@bg_color))
	base[SELECTED]    = shade (1.09, @selected_bg_color)
	base[INSENSITIVE] = shade (0.95, @bg_color)

	text[NORMAL]      = @text_color
	text[PRELIGHT]    = @text_color
	text[ACTIVE]      = @text_color
	text[SELECTED]    = @text_color
	text[INSENSITIVE] = shade (0.9, @text_color) 

	engine "xl_cheeselooks" 
	{
		colorize_scrollbar = FALSE
		menubarstyle      = 3      # 0 = flat, 1 = sunken, 2 = flat gradient
		toolbarstyle      = 2      # 0 = flat, 1 = enable effects
		animation         = TRUE
		style             = GLOSSY
	}
}


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

style "xl_cheeselooks-wider" = "xl_cheeselooks-default"
{
	xthickness = 3
	ythickness = 3
}

style "xl_cheeselooks-button"
{
	xthickness   = 3
	ythickness   = 3


	bg[NORMAL]   = shade (0.82, @bg_color)
	bg[PRELIGHT] = shade (1.15, @selected_bg_color)
	bg[ACTIVE]   = shade (1.00, @selected_bg_color)
	bg[SELECTED] = shade (0.80, @selected_bg_color)
}

style "xl_cheeselooks-notebook"
{
	xthickness = 2
	ythickness = 2

	bg[NORMAL] = shade (0.95, @bg_color)
	bg[SELECTED] = mix(0.80, @selected_bg_color, shade (0.50,@bg_color))
}

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

style "xl_cheeselooks-toolbar" = "xl_cheeselooks-wide"
{
	bg[NORMAL]       = shade (1.02, @bg_color)
}

style "xl_cheeselooks-menu" = "xl_cheeselooks-default"
{
	xthickness = 1
	ythickness = 1
	fg[NORMAL]        	= shade (1.00, @bg_color)
	fg[ACTIVE]        	= shade (1.00, @bg_color)
	fg[PRELIGHT]      	= shade (1.00, @bg_color)
	fg[SELECTED]      	= shade (0.90, @bg_color)
	fg[INSENSITIVE]   	= shade (0.80, @bg_color)

	bg[NORMAL]   		= shade (0.27, @bg_color) # "#f6f4f1"


}

style "xl_cheeselooks-menubar-item" = "xl_cheeselooks-default"
{
	xthickness = 2
	ythickness = 3
	fg[NORMAL]        	= shade (1.00, @bg_color)

	engine "xl_cheeselooks" {
		radius = 3.0
	}
}
                  
style "xl_cheeselooks-menu-item"
{
	xthickness = 2
	ythickness = 3
	fg[NORMAL]        	= shade (1.00, @bg_color)
	fg[ACTIVE]        	= shade (1.00, @bg_color)
	fg[PRELIGHT]       	= shade (1.05, @fg_color)
	fg[INSENSITIVE]       	= shade (0.80, @bg_color)

	bg[NORMAL]   = shade (0.82, @bg_color)
	bg[PRELIGHT] = shade (1.15, @selected_bg_color)
	bg[ACTIVE]   = shade (1.00, @selected_bg_color)
	bg[SELECTED] 	   	= shade (1.05, @selected_bg_color)
	# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646

	text[NORMAL]       = shade (1.40, @bg_color)

	text[SELECTED]     = shade (1.00, @bg_color)
	text[ACTIVE]       = shade (1.00, @bg_color)
	text[INSENSITIVE]  = shade (0.80, @bg_color)
	engine "xl_cheeselooks" 
	{
		radius = 3.0
	}

}


style "xl_cheeselooks-tree" = "xl_cheeselooks-default"
{
	xthickness = 2
	ythickness = 1
}

style "xl_cheeselooks-frame-title" = "xl_cheeselooks-default"
{
	fg[NORMAL] = lighter (@fg_color)
}

style "xl_cheeselooks-tooltips" = "xl_cheeselooks-default"
{
	xthickness = 4
	ythickness = 4
	bg[NORMAL] 	= mix(0.60, shade (1.05,@bg_color), @selected_bg_color)
}

style "xl_cheeselooks-progressbar" = "xl_cheeselooks-wide"
{
	xthickness = 1
	ythickness = 1

}

style "xl_cheeselooks-combo"
{

}

style "xl_cheeselooks-menubar" = "xl_cheeselooks-menu"
{
	fg[NORMAL]        	= shade (1.00, @bg_color)
	fg[ACTIVE]        	= shade (1.20, @bg_color)
	fg[PRELIGHT]        	= shade (1.00, @bg_color)
	fg[INSENSITIVE]        	= shade (0.80, @bg_color)

	bg[NORMAL]   		= shade (0.23, @bg_color) # "#f6f4f1"
	engine "xl_cheeselooks" {
	    style  = DARK
	}
}
style "xl_cheeselooks-scrollbar"
{
	xthickness = 0
	ythickness = 0
	bg[NORMAL] 		= mix(0.75, @bg_color, @selected_bg_color)
	bg[SELECTED] 		= shade (0.70, @selected_bg_color)
	bg[PRELIGHT] 		= shade (1.17, @selected_bg_color)
	bg[ACTIVE] 		= shade (0.90, @selected_bg_color)
}
style "xl_cheeselooks-range" = "xl_cheeselooks-wide"
{
	xthickness = 0
	ythickness = 0
	bg[NORMAL] 		= mix(0.65, @bg_color, @selected_bg_color)
	bg[SELECTED] 		= shade (0.95, @selected_bg_color)
	bg[PRELIGHT] 		= shade (1.15, @selected_bg_color)
	bg[ACTIVE] 		= shade (0.99, @selected_bg_color)
}
style "xl_cheeselooks-scale" = "clearooks-button"
{
	GtkRange::trough-side-details = 1
}
	
style "panelbg"
{

	fg[NORMAL]        	= shade (1.00, @bg_color)
	fg[SELECTED]        	= shade (1.00, @bg_color)
	fg[ACTIVE]        	= shade (1.00, @bg_color)

	bg[NORMAL]        	= shade (0.20, @bg_color)
	bg[PRELIGHT] 		= shade (0.90, @selected_bg_color)
	bg[ACTIVE]   		= shade (0.40, @selected_bg_color)
	bg[SELECTED] 		= shade (1.00, @selected_bg_color)
	engine "xl_cheeselooks" {
		style  = DARK
	}
}

style "panelbuttons"
{
	GtkButton      ::default_border    = { 5, 5, 5, 5 }
	fg[NORMAL]        	= shade (1.00, @bg_color)
	fg[ACTIVE]        	= shade (1.00, @bg_color)
	fg[SELECTED]        	= shade (1.00, @bg_color)
	fg[PRELIGHT]        	= shade (1.55, @selected_bg_color)

	bg[NORMAL]   		= shade (0.18, @bg_color) # "#f6f4f1"
	bg[PRELIGHT] 		= shade (0.26, @bg_color)
	bg[ACTIVE]   		= shade (0.40, @selected_bg_color)
	bg[SELECTED] 		= shade (0.25, @bg_color)
	engine "xl_cheeselooks" {
		    style  = DARK
	}
}
style "metacity-frame" = "theme-default"
{
	bg[SELECTED]		= shade (0.23, @bg_color) # "#f6f4f1"
	bg[PRELIGHT]		= shade (0.90, @selected_bg_color)
	# Focused title text color
	fg[SELECTED]		= shade (0.40, @selected_bg_color)


}
style "nautilus-location" {
  bg[NORMAL] 			= mix(0.60, shade (1.05,@bg_color), @selected_bg_color)
}
style "paneleditor"
{

	bg[NORMAL]        	= @bg_color
	bg[PRELIGHT] 	= shade (0.90, @selected_bg_color)
	bg[ACTIVE]   	= shade (0.40, @selected_bg_color)
	bg[SELECTED] 	= shade (1.00, @selected_bg_color)

}
widget "PanelDItemEditor" style "paneleditor"

widget "*.nautilus-extra-view-widget" style:highest "nautilus-location"

# widget styles
class "GtkWidget"    style "xl_cheeselooks-default"
class "GtkButton"    style "xl_cheeselooks-button"
class "GtkScale"     style "xl_cheeselooks-scale"
class "GtkCombo"     style "xl_cheeselooks-combo"
class "GtkRange"     style "xl_cheeselooks-range"
class "GtkFrame"     style "xl_cheeselooks-wide"
class "GtkSeparator" style "xl_cheeselooks-wide"
class "GtkMenu"      style "xl_cheeselooks-menu"
class "GtkEntry"     style "xl_cheeselooks-wider"
class "GtkNotebook"    style "xl_cheeselooks-notebook"
class "GtkProgressBar" style "xl_cheeselooks-progressbar"
class "GtkToolbar"   style "xl_cheeselooks-toolbar" 
class "GtkMenuBar" style "xl_cheeselooks-menubar"
widget_class "*Scrollbar*" style "xl_cheeselooks-scrollbar"
class "*Scrollbar*" style "xl_cheeselooks-scrollbar"

widget_class "*.<GtkMenuItem>*" style "xl_cheeselooks-menu-item"
widget_class "*.<GtkMenuBar>.*" style "xl_cheeselooks-menubar-item"
# combobox stuff


# tooltips stuff
widget_class "*.tooltips.*.GtkToggleButton" style "xl_cheeselooks-tasklist"
widget "gtk-tooltip*" style "xl_cheeselooks-tooltips"

# treeview stuff
widget_class "*.GtkTreeView.GtkButton" style "xl_cheeselooks-tree"
widget_class "*.GtkCTree.GtkButton" style "xl_cheeselooks-tree"
widget_class "*.GtkList.GtkButton" style "xl_cheeselooks-tree"
widget_class "*.GtkCList.GtkButton" style "xl_cheeselooks-tree"
widget_class "*.GtkFrame.GtkLabel" style "xl_cheeselooks-frame-title"

# notebook stuff
widget_class "*.GtkNotebook.*.GtkEventBox" style "xl_cheeselooks-notebook"
widget_class "*.GtkNotebook.*.GtkViewport" style "xl_cheeselooks-notebook"

class "*Panel*"        style "panelbg"
class "*Notif*"        style "panelbg"
class "*Tray*"         style "panelbg"
class "*Applet*"       style "panelbg"
class "*Manager*"      style "panelbg"
class "*Netstatus*"    style "panelbg"


widget_class "PanelToplevel.*<GtkButton>*" 		style "panelbuttons"
class "PanelToplevel.*<GtkButton>*" 			style "panelbuttons"
#widget_class "*Panel*GtkToggleButton"			style "panelbuttons"
# 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-text-is-fg-color-workaround"
{
	text[NORMAL]      = @fg_color
	text[PRELIGHT]    = @fg_color
	text[SELECTED]    = @selected_fg_color
	text[ACTIVE]      = @fg_color
	text[INSENSITIVE] = darker (@bg_color)
}
widget_class "*.<GtkComboBox>.<GtkCellView>"   style "clearlooks-text-is-fg-color-workaround"

style "clearlooks-menuitem-text-is-fg-color-workaround"
{
	text[NORMAL]        = @bg_color
	text[PRELIGHT]      = @fg_color
	text[SELECTED]      = @selected_fg_color
	text[ACTIVE]        = @fg_color
	text[INSENSITIVE]   = darker (@bg_color)
}
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.
style "clearlooks-fg-is-text-color-workaround"
{
	fg[NORMAL]      = @text_color
	fg[PRELIGHT]    = @text_color
	fg[ACTIVE]      = @selected_fg_color
	fg[SELECTED]    = @selected_fg_color
	fg[INSENSITIVE] = darker (@bg_color)
}
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" 
class "MetaFrames"					style "metacity-frame"
class "GtkWindow"					style "metacity-frame"
