### This file styles Caja.###

style "caja-window-base" { bg[NORMAL] = @base_color }

style "caja-sidebar" = "murrine-sidebar" {
	GtkTreeView::horizontal_separator = 15
	GtkTreeView::vertical_separator = 2

	text[NORMAL] = @fg_color
	base[NORMAL] = "#DCDCDC"

	GtkTreeView::odd_row_color = "#DCDCDC"
	GtkTreeView::even_row_color = "#DCDCDC"
}

style "caja-view" {
	xthickness = 0
	ythickness = 0
}

style "caja-handle" {
	GtkPaned::handle-size = 2
	
	engine "pixmap" {
		# for the thin gray line separating the sidepane and viewpane
		image {
			function	= HANDLE
			recolorable	= TRUE
			file		= "Handles/handle-caja.png"
			stretch		= TRUE
			border		= { 0, 0, 0, 0 }
		}
	}
}

style "caja-statusbar"
{
	xthickness = 0
	engine "pixmap"
	{
	    image
	    {
		function		= RESIZE_GRIP
		recolorable		= TRUE
		state			= NORMAL
		detail			= "statusbar"
		overlay_file	= "Caja/resize-grip.png"
		overlay_border	= {0,0,0,0 }
		overlay_stretch	= FALSE
	    }
	}
}

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

style "caja-pathbar"
{	
	#bg[NORMAL] = @bg_color
}

############################################
# CAJA
# Order of assignment is important
#############################################

widget_class "*CajaSidePane.*"                 style "caja-sidebar"
widget_class "*Caja*Places*Sidebar*"           style "caja-sidebar"
widget_class "*Caja*Side*.GtkWidget"           style "caja-sidebar"
widget_class "*Caja*Side*Title*"               style "caja-sidebar"

#widget "*CajaNavigationWindow"                 style "caja-window-base"

widget_class "*Caja*Scrollbar"                 style "murrine-scrollbar"
widget_class "*CajaSidePane.*Scrollbar"        style:highest "murrine-scrollbar"	
widget_class "*Caja*Statusbar*"                style "caja-statusbar"

widget "*Caja*Splitter"                        style "caja-handle"
widget_class "*Caja*View*"                     style "caja-view"
widget_class "*Caja*Notebook"                  style "murrine-notebook"

widget_class "*Caja*<GtkTreeView>.<GtkButton>" style "murrine-treeview-header"
widget_class "*Caja*<GtkCTree>.<GtkButton>"    style "murrine-treeview-header"
widget_class "*Caja*<GtkList>.<GtkButton>"     style "murrine-treeview-header"
widget_class "*Caja*<GtkCList>.<GtkButton>"    style "murrine-treeview-header"

widget_class "*CajaPathBar*"                   style "caja-pathbar" 
widget "*.caja-extra-view-widget"              style : highest "caja-location"
