### Sidebar for Thunar, PCmanfm Caja, and FileChooser##


style "sidebar" 
{
	xthickness = 0	#For Thunar
	ythickness = 0  #For Thunar

	GtkWidget	:: focus-padding = 0 #Takes away space between Trash and Bookmarks
	GtkWidget	:: focus_line_width = 1 #Adds spacing between icons and text
	GtkTreeView	:: horizontal_separator	= 12 #Padding to the left
	GtkTreeView	:: vertical_separator = 2 #Padding between each place
	GtkTreeView	:: image-spacing = 6
	
	GtkTreeView	:: even-row-color = "#313131" #This is the color for the sidebar
		
	base[NORMAL]		=  "#313131"
        bg[SELECTED]            =  "#006aa8"		
}

class		 "*ThunarTreeView"			style		"sidebar"
widget_class	"*FmPlacesView*"		style 		"sidebar"
widget_class	"*FmDirTreeView"			style 		"sidebar"
widget_class "*<ThunarShortcutsPane>*<ThunarShortcutsView>"  style  "sidebar"
widget_class "*CajaSidePane*"				style "sidebar"


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

widget_class "*FMIconView"				style "caja-icon-view"
widget_class "*FMListView"				style "caja-icon-view"

style "thunar-fm-iconview" 
{
	text[NORMAL] = @text_color
	fg[NORMAL] = @text_color
}

widget	"*Thunar*ExoIconView*"				style:highest	"thunar-fm-iconview"
widget	"*FmStandardView*View"				style:highest	"thunar-fm-iconview"
#widget	"*Caja*FMIconView*FMIconContainer"				style:highest	"thunar-fm-iconview"	

style "thunar-location-buttons"
{
  ThunarLocationButtons::spacing = 0
}

class "ThunarLocationButtons" style "thunar-location-buttons"

style "thunar_pathbar_style"
{
  xthickness	= 3
  ythickness	= 4
}

widget_class	"*ThunarLocationButton*Button*"				style:highest	"thunar_pathbar_style"
widget_class "*CajaPathBar.*ToggleButton*" 			style:highest "thunar_pathbar_style"

style "pcmanfm-handle"
{
	GtkPaned::handle-size = 1
}

style "sidebar-handle"
{
	GtkPaned::handle-size = 3
}

widget		"*FmMainWin*FmTabPage*"		style "pcmanfm-handle"
widget		"*Thunar*GtkHPaned*"		style "sidebar-handle"
widget	    "*CajaNavigationWindow*GtkHPaned*"		style "sidebar-handle"


########File Chooser#
widget		"*FileChooserDefault*.GtkHPaned*"  style "sidebar-handle"

widget		"*FileChooserDefault.GtkVBox.GtkHPaned.GtkVBox.GtkScrolledWindow.GtkTreeView"					style		"sidebar"


