# The contains the module for text entry widgets. This is where the focus ring
# is activated when entry widgets are in focus and selected.

# The name of this style is entry and it inherits properties from main

style "butter-entry" = "butter-main"
{
	GtkWidget::interior_focus = 0
	xthickness = 4
	ythickness = 2
	
	#This color of the cursor in entry and text widget in general.

	GtkEntry::cursor_aspect_ratio = 0.2
	
	GtkEntry::cursor_color = "#7b96ac"
	
	GtkSpinButton::shadow_type = GTK_SHADOW_IN
	
	engine "pixmap"
	{
		image
		{
			function	= FOCUS
			recolorable = TRUE
			file		= "pixmaps/focal.png"
			border		= { 3, 3, 3, 3 }
			stretch		= TRUE
		}

		image
		{
			function	= FOCUS
			recolorable = TRUE
			state		= SELECTED
			file		= "pixmaps/focal.png"
			border		= { 3, 3, 3, 3 }
			stretch		= TRUE
		}

		image 
		{
		    function	= SHADOW
		    shadow		= IN
		    state		= NORMAL
		    file		= "pixmaps/unfocal-ring.png"
		    border		= { 3, 3, 3, 3 }
		    stretch		= TRUE
	    }

	}
}
class "GtkEntry" style "butter-entry"
class "GtkSpinButton" style "butter-entry"
class "GtkTextView" style "butter-entry"
