style "entry"			= "default"
{
  xthickness            			= 8
  ythickness            			= 4 
  base[NORMAL] = @base_color
  base[INSENSITIVE] = shade (1.04, @bg_color)
  text[INSENSITIVE] = mix (0.5, @base_color, @text_color)
  engine "pixmap"
  {
	image
	{
		function		= SHADOW
		detail			= "entry"
                state                   = NORMAL
		shadow			= IN
		file			= "Shadows/text-entry.png"
     border			= { 6, 6, 6, 6 }
		stretch			= TRUE
	}
	image
	{
		function		= SHADOW
		detail			= "entry"
                state                   = INSENSITIVE
		shadow			= IN
		file			= "Shadows/text-entry-inactive.png"
     border			= { 6, 6, 6, 6 }
		stretch			= TRUE
	}
        image
        {
		function		= SHADOW
		detail			= "entry"
                state                   = ACTIVE
		file			= "Shadows/entry-shadow-in.png"
     border			= { 6, 6, 6, 6 }
		stretch			= TRUE
        }
        image
        {
                function                = FLAT_BOX
                detail                  = "entry_bg"
                state                   = NORMAL
                overlay_file		= "Shadows/entry-border-fill.png"
	        overlay_border		= { 0, 0, 0, 0 }
                overlay_stretch         = TRUE
        }
        image
        {
                function                = FLAT_BOX
                detail                  = "entry_bg"
                state                   = ACTIVE
                overlay_file		= "Shadows/entry-border-fill.png"
	        overlay_border		= { 0, 0, 0, 0 }
                overlay_stretch         = TRUE
        }
  }
}
style "standalone_entry"			= "default"
{
  xthickness            			= 4
  ythickness            			= 4 
  engine "pixmap"
  {
	image
	{
		function		= SHADOW
		detail			= "entry"
                state                   = NORMAL
		shadow			= IN
		file			= "Shadows/text-entry-solid.png"
     border			= { 5, 5, 5, 5 }
		stretch			= TRUE
	}
	image
	{
		function		= SHADOW
		detail			= "entry"
                state                   = INSENSITIVE
		shadow			= IN
		file			= "Shadows/text-entry-inactive-solid.png"
     border			= { 5, 5, 5, 5 }
		stretch			= TRUE
	}
        image
        {
		function		= SHADOW
		detail			= "entry"
                state                   = ACTIVE
		file			= "Shadows/entry-shadow-in-solid.png"
     border			= { 5, 5, 5, 5 }
		stretch			= TRUE
        }
        image
        {
                function                = FLAT_BOX
                detail                  = "entry_bg"
                state                   = NORMAL
                overlay_file		= "Shadows/entry-border-fill-solid.png"
	        overlay_border		= { 0, 0, 0, 0 }
                overlay_stretch         = TRUE
        }
        image
        {
                function                = FLAT_BOX
                detail                  = "entry_bg"
                state                   = ACTIVE
                overlay_file		= "Shadows/entry-border-fill-solid.png"
	        overlay_border		= { 0, 0, 0, 0 }
                overlay_stretch         = TRUE
        }
  }
}
style "toplevel_hack"
{
  xthickness            	                = 1
  ythickness            	                = 1
        engine "adwaita"
        {
        }
}
style "xfce-heading-style" { base[NORMAL] = @bg_color }
class "XfceHeading" style "xfce-heading-style"
class "GtkEntry"           		style "entry"
class "GtkOldEditable" 			style "entry"
widget_class "<GtkEntry>"                            style "standalone_entry"
class "GtkWindow"                             style "toplevel_hack"
widget "*openoffice-toplevel*GtkEntry"        style "standalone_entry"
widget "*libreoffice-toplevel*GtkEntry"       style "standalone_entry"
widget "GtkWindow.GtkFixed.GtkEntry"		style "standalone_entry"
widget "MozillaGtkWidget*GtkEntry"		style "standalone_entry"

