# Libra-Dark Theme
##################
#gtk-color-scheme = "base_color:#272727\nfg_color:#efefef\ntooltip_fg_color:#efefef\nselected_bg_color:#3cb0fd\nselected_fg_color:#272727\ntext_color:#efefef\nbg_color:#505050\ntooltip_bg_color:#505050\nlink_color:#4f90e8"
#gtk-color-scheme = "panel_bg_color:#272727\npanel_fg_color:#efefef\npanel_text_color:#ffffff\ntooltip_fg_color:#000000"
gtk-color-scheme = "base_color:#282828\nfg_color:#EBDBB2\ntooltip_fg_color:#EBDBB2\nselected_bg_color:#928374\nselected_fg_color:#EBDBB2\ntext_color:#EBDBB2\nbg_color:#282828\ntooltip_bg_color:#282828\nlink_color:#4f90e8"
gtk-color-scheme = "panel_bg_color:#282828\npanel_fg_color:#EBDBB2\npanel_text_color:#EBDBB2\ntooltip_fg_color:#EBDBB2"    

gtk-icon-sizes = "panel-menu=22,22:gtk-button=16,16"

gtk-auto-mnemonics = 1

style "default" {
	xthickness = 1
	ythickness = 1

	#######################
	# Style Properties
	#######################
	GtkButton::child-displacement-x = 0
	GtkButton::child-displacement-y = 0
	GtkButton::default-border = { 0, 0, 0, 0 }
	GtkButton::default-outside_border = { 0, 0, 0, 0 }

	GtkCheckButton::indicator-size = 16

	GtkPaned::handle-size = 6

	GtkRange::trough-border = 0
	GtkRange::slider-width = 14
	GtkRange::stepper-size = 14
	GtkRange::trough-under-steppers = 1

	GtkScale::activate-slider              = 1 # With this option set to TRUE, sliders will be drawn ACTIVE and with shadow IN while they are dragged.
	GtkScale::trough-border = 0
	GtkScale::slider-width = 23
	GtkScale::slider-length = 14
	GtkScale::trough-side-details = 1

	GtkScrollbar::activate-slider = 1
	GtkScrollbar::trough-border = 0
	GtkScrollbar::slider-width = 9
	GtkScrollbar::min-slider-length = 30
	GtkScrollbar::has-backward-stepper 			= 0
	GtkScrollbar::has_secondary_backward_stepper	= 0 
	GtkScrollbar::has-forward-stepper			= 0 
	GtkScrollbar::has_secondary_forward_stepper		= 0

	GtkMenuBar::internal-padding = 0
	GtkMenuBar::shadow-type = GTK_SHADOW_NONE
	GtkMenuBar::window-dragging	= 1
	GtkExpander::expander-size = 11
	GtkToolbar::internal-padding = 1
	GtkToolbar::shadow-type = GTK_SHADOW_NONE
	GtkTreeView::expander-size = 7
	GtkTreeView::vertical-separator = 0
	GtkTreeView::odd-row-color = shade (0.96, @base_color)
	GtkNotebook::tab-overlap = -1

	GtkMenu::horizontal-padding = 0
	GtkMenu::vertical-padding = 0

	WnckTasklist::fade-overlay-rect = 0

	GtkOptionMenu::indicator_spacing	= { 8, 2, 0, 0 }

	GtkProgressBar::min-horizontal-bar-height = 14
	GtkProgressBar::min-vertical-bar-width = 14
	
	GtkImage::x-ayatana-indicator-dynamic = 1

	GtkWidget::link-color = @link_color
	GtkWidget::visited-link-color = @text_color
        GtkWidget::tooltip-radius       = 3
        GtkWidget::tooltip-alpha        = 235
        GtkWidget::new-tooltip-style    = 1 #for compatibility

	GtkStatusbar::shadow_type	= GTK_SHADOW_NONE
	GtkSpinButton::shadow_type 	= GTK_SHADOW_NONE
	GtkToolbar::shadow-type		= GTK_SHADOW_NONE

	GtkTreeView::row_ending_details 	= 0
	GtkTreeView::expander-size		= 11
	GtkTreeView::vertical-separator		= 4
	GtkTreeView::horizontal-separator	= 4
	GtkTreeView::allow-rules		= 1

        GtkExpander::expander-size              = 11

	GtkWindow::resize-grip-height		= 13
        GtkWindow::resize-grip-width		= 13

	####################
	# Color Definitions
	####################
	bg[NORMAL]        = @bg_color
	bg[PRELIGHT]      = shade (1.00, @bg_color)
	bg[SELECTED]      = @selected_bg_color
  	bg[INSENSITIVE]   = shade (1.00, @bg_color)
	bg[ACTIVE]        = shade (1.00, @selected_bg_color)

	fg[NORMAL]        = @fg_color
	fg[PRELIGHT]      = shade (0.9, @selected_bg_color)
	fg[SELECTED]      = @tooltip_fg_color
	fg[INSENSITIVE]   = darker (@bg_color)
	fg[ACTIVE]        = @fg_color

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

	base[NORMAL]      = @base_color
	base[PRELIGHT]    = @base_color
	base[SELECTED]    = @selected_bg_color
	base[INSENSITIVE] = shade (0.97, @bg_color)
	base[ACTIVE]      = shade (1.00, @base_color)


	engine "pixmap"	{

	# Check Buttons

	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
            state 			= NORMAL
            shadow          		= OUT
            overlay_file    		= "Check-Radio/check1.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
            state 			= PRELIGHT
            shadow          		= OUT
            overlay_file    		= "Check-Radio/check1.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
            state 			= ACTIVE
            shadow          		= OUT
            overlay_file    		= "Check-Radio/check1.png"
            overlay_stretch 		= FALSE
        }
	image
	{
            function        		= CHECK
            recolorable     		= TRUE
            state 			= SELECTED
            shadow          		= OUT
            overlay_file    		= "Check-Radio/check1.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
            state 			= INSENSITIVE
            shadow          		= OUT
            overlay_file    		= "Check-Radio/check3.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
	    state	 		= NORMAL
            shadow          		= IN
            overlay_file    		= "Check-Radio/check2.png"
            overlay_stretch	 	= FALSE
        }
	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
	    	  state 		= PRELIGHT
            shadow          		= IN
            overlay_file    		= "Check-Radio/check2.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
	    state 		        = ACTIVE
            shadow          		= IN
            overlay_file    		= "Check-Radio/check2.png"
            overlay_stretch 		= FALSE
        }
	image
	{
            function        		= CHECK
            recolorable     		= TRUE
	    state 		        = SELECTED
            shadow          		= IN
            overlay_file    		= "Check-Radio/check2.png"
            overlay_stretch 		= FALSE
        }
	image 
  	{
            function        		= CHECK
            recolorable     		= TRUE
            state 		        = INSENSITIVE
            shadow          		= IN
            overlay_file		= "Check-Radio/check3.png"
            overlay_stretch 		= FALSE
	}


	# Arrows

	image
	{
            function			= ARROW
	    overlay_file		= "Arrows/arrow-up.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= UP
	}
	image
	{
	    function			= ARROW
	    state			= PRELIGHT
	    overlay_file		= "Arrows/arrow-up-prelight.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= UP
	}
	image
	{
	    function			= ARROW
	    state			= ACTIVE
	    overlay_file		= "Arrows/arrow-up-prelight.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= UP
	}
	image
	{
	    function			= ARROW
	    state			= INSENSITIVE
	    overlay_file		= "Arrows/arrow-up-insensitive.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= UP
	}


	image
	{
        function			= ARROW
	    state			= NORMAL
	    overlay_file		= "Arrows/arrow-down.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= DOWN
	}
	image
	{
	    function			= ARROW
	    state			= PRELIGHT
	    overlay_file		= "Arrows/arrow-down-prelight.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= DOWN
	}
	image
	{
	    function			= ARROW
	    state			= ACTIVE
	    overlay_file		= "Arrows/arrow-down-prelight.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= DOWN
	}
	image
	{
	    function			= ARROW
	    state			= INSENSITIVE
	    overlay_file		= "Arrows/arrow-down-insens.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= DOWN
	}

	image
	{
	    function			= ARROW
	    overlay_file		= "Arrows/arrow-left.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= LEFT
	}
	image
	{
	    function			= ARROW
	    state			= PRELIGHT
	    overlay_file		= "Arrows/arrow-left-prelight.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= LEFT
	}
	image
	{
	    function			= ARROW
	    state			= ACTIVE
	    overlay_file		= "Arrows/arrow-left-active.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= LEFT
	}
	image
	{
	    function			= ARROW
	    state			= INSENSITIVE
	    overlay_file		= "Arrows/arrow-left-insensitive.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= LEFT
	}

	image
	{
	    function			= ARROW
	    overlay_file		= "Arrows/arrow-right.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= RIGHT
	}
	image
	{
	    function			= ARROW
	    state			= PRELIGHT
	    overlay_file		= "Arrows/arrow-right-prelight.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= RIGHT
	}
	image
	{
	    function			= ARROW
	    state			= ACTIVE
	    overlay_file		= "Arrows/arrow-right-active.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= RIGHT
	}
	image
	{
	    function			= ARROW
	    state			= INSENSITIVE
	    overlay_file		= "Arrows/arrow-right-insensitive.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	    arrow_direction		= RIGHT
	}


	# Option Menu Arrows

	image
	{
	    function                    = TAB
	    state		        = INSENSITIVE
	    overlay_file	        = "Arrows/arrow-down-insens.png"
	    overlay_stretch	        = FALSE
	}
	image
	{
	    function			= TAB
	    state			= NORMAL
	    overlay_file		= "Arrows/arrow-down.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	}
	image
	{
	    function			= TAB
	    state			= PRELIGHT
	    overlay_file		= "Arrows/arrow-down-prelight.png"
	    overlay_border		= { 0, 0, 0, 0 }
	    overlay_stretch		= FALSE
	}

	# Lines

	image
	{
	    function			= VLINE
	    file			= "Lines/line-v.png"
	    border			= { 0, 0, 0, 0 }
	    stretch			= TRUE
	}
	image
	{
	    function			= HLINE
	    file			= "Lines/line-h.png"
	    border			= { 0, 0, 0, 0 }
	    stretch			= TRUE
	}

	# Focuslines

	image 
	{
	    function                    = FOCUS
	    file			= "Others/focus.png"
	    border			= { 0, 0, 0, 0 }
	    stretch			= TRUE
        }

	# Handles

	image
	{
	    function			= HANDLE
	    overlay_file		= "Handles/handle-h.png"
	    overlay_stretch		= FALSE
	    orientation			= HORIZONTAL
	}
	image
	{
	    function			= HANDLE
	    overlay_file		= "Handles/handle-v.png"
	    overlay_stretch		= FALSE
	    orientation			= VERTICAL
	}

	# Expanders

	image
	{
	    function                    = EXPANDER
	    expander_style	        = COLLAPSED
	    file		        = "Expanders/plus.png"
	}

	image
	{
            function            	= EXPANDER
	    expander_style              = EXPANDED
	    file                        = "Expanders/minus.png"
	}

	image
	{
	    function            	= EXPANDER
	    expander_style	        = SEMI_EXPANDED
	    file		        = "Expanders/minus.png"
	}

	image
	{
	    function            	= EXPANDER
            expander_style	        = SEMI_COLLAPSED
            file                        = "Expanders/plus.png"
	}

	image
	{
	    function                    = RESIZE_GRIP
	    state		        = NORMAL
	    detail		        = "statusbar"
	    overlay_file	        = "Others/null.png"	
	    overlay_border	        = { 0,0,0,0 }
	    overlay_stretch             = FALSE
	}

	# Shadows ( this area needs help :P )

        image
        {
            function			= SHADOW_GAP
            file			= "Others/null.png"
            border			= { 0, 0, 0, 0 }
            stretch			= TRUE
        }
  
    }

	engine "murrine" {
		animation		= FALSE
          	arrowstyle		= 1			# Estilo flechas menu (triangulos)
		border_shades       	= {1.0, 1.0}
		colorize_scrollbar	= FALSE
		contrast		= 0.0
		comboboxstyle 		= 0			# 0 = normal combobox, 1 = colorized combobox button		
		expanderstyle		= 0			# Treview expander (triangulo)
		focusstyle		= 3 # 0 to disable focus drawing. 
								# 1 to use dots. 
								# 2 to use a small colored rectangle. 
								# 3 to use a colored rectangle that touches the borders.
		glazestyle		= 0 # 0 = flat highlight, 
								# 1 = curved highlight
								# 2 = concave style, 
								# 3 = top curved highlight, 
								# 4 = beryl highlight
		glowstyle		= 4 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = horizontal, 4 = centered glow
		glow_shade          	= 1.1   		
		gradient_shades		= {1.00, 1.00, 1.00, 1.00}              
		highlight_shade		= 1.0
		handlestyle	   	= 1
		lightborder_shade	= 1.0
		lightborderstyle	= 1 # 0 = top side, 1 = all sides
		listviewheaderstyle 	= 0                 # 0 = flat, 1 = glassy, 2 = raised
		listviewstyle		= 0 # 0 = nothing, 1 = dotted, 2 = line
		menubaritemstyle	= 0 # 0 = menuitem look, 1 = button look
		menubarstyle		= 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
		menuitemstyle		= 0 # 0 = flat, 1 = glassy, 2 = striped
		menustyle		= 3 # 0 = no vertical menu stripe, 1 = display vertical menu stripe, 2 = faint? 3 = borderless
		progressbarstyle	= 0
		reliefstyle	     	= 0  # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient
		rgba			= FALSE	# alpha transparency
		roundness		= 1 # 0 = square
		scrollbarstyle		= 0 # 0 = nothing
		separatorstyle 		= 0	# 0 = Hard seperators 1 = Smooth seperators
		shadow_shades		= {1.0, 1.0}
		sliderstyle		= 1 # 0 = nothing added
		stepperstyle		= 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
		toolbarstyle		= 0 # 0 = flat, 1 = glassy, 2 = gradient
		trough_shades		= {1.00, 1.00}
	}

}

style "ooo_stepper_hack"
{
	GtkScrollbar::stepper-size	        = 13
	GtkScrollbar::has-backward-stepper	= 1
	GtkScrollbar::has-forward-stepper	= 1
}

style "dark"
{
	color["bg_color_dark"] 	= "#3c3b37"
	color["fg_color_dark"] 	= "#dfdbd2"
	color["selected_fg_color_dark"] = "#ffffff"

	fg[NORMAL]        = @fg_color_dark
	fg[PRELIGHT]	  = shade (1.15, @fg_color_dark)
	fg[ACTIVE]	  = @fg_color_dark
	fg[SELECTED]	  = @selected_fg_color_dark
	fg[INSENSITIVE]	  = shade (0.5, @fg_color_dark)
  
	bg[NORMAL]        = @bg_color_dark
	bg[ACTIVE]	  = shade (0.8, @bg_color_dark)
	bg[SELECTED]      = @selected_bg_color
	bg[PRELIGHT]      = shade (1.0, "#4D4C48")
	bg[INSENSITIVE]   = shade (0.85, @bg_color_dark)
  	
	text[NORMAL]      = @text_color
	text[PRELIGHT]    = @text_color
	text[SELECTED]    = @selected_fg_color
	text[INSENSITIVE] = shade (0.8, @bg_color)
	text[ACTIVE]      = @text_color
}

style "wide" {
	xthickness = 2
	ythickness = 2
}

style "wider" {
	xthickness = 3
	ythickness = 3
}

style "button" {
    xthickness	= 2
    ythickness	= 2

	bg[NORMAL]                      = shade (1.0, @bg_color)
	bg[PRELIGHT]                    = shade (1.0, @bg_color)
	bg[ACTIVE]                      = shade (1.0, @selected_bg_color)
  	bg[INSENSITIVE] 		= shade (1.0, @bg_color)
  	bg[SELECTED]      		= @selected_bg_color
        fg[NORMAL]                      = shade (1.0, @text_color)
	fg[PRELIGHT]      		= shade (1.0, @text_color)
	fg[ACTIVE]      		= shade (1.0, @text_color)
	fg[INSENSITIVE]			= shade (1.5, @fg_color)
  	fg[SELECTED]      		= shade (1.0, @text_color)

	engine "murrine" {
		contrast                = 0.0
		gradient_shades         = {1.00,1.00,1.00,1.00}
		focusstyle		= 1
		lightborderstyle	= 1		
		lightborder_shade       = 1.1
        	highlight_shade		= 1.00
		textstyle               = 2
		text_shade		= 1.0
	}

  engine "pixmap"
  {
	# Radio Buttons

	image 
	{
            function        		= OPTION
            state 			= NORMAL
            shadow          		= OUT
            overlay_file    		= "Check-Radio/option1.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
            state 			= PRELIGHT
            shadow          		= OUT
            overlay_file    		= "Check-Radio/option1.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
            state 			= ACTIVE
            shadow          		= OUT
            overlay_file    		= "Check-Radio/option1.png"
            overlay_stretch 		= FALSE
        }
	image
	{
            function        		= OPTION
            state 			= SELECTED
            shadow          		= OUT
            overlay_file    		= "Check-Radio/option1.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
            state 			= INSENSITIVE
            shadow         		= OUT
            overlay_file    		= "Check-Radio/option3.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
	    state 			= NORMAL
            shadow          		= IN
            overlay_file    		= "Check-Radio/option2.png"
            overlay_stretch 		= FALSE
        }
 	image 
	{
            function        		= OPTION
	    state			= PRELIGHT
            shadow          		= IN
            overlay_file    		= "Check-Radio/option2.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
	    state			= ACTIVE
            shadow          		= IN
            overlay_file    		= "Check-Radio/option2.png"
            overlay_stretch	 	= FALSE
        }
	image
	{
            function        		= OPTION
	    state			= SELECTED
            shadow          		= IN
            overlay_file    		= "Check-Radio/option2.png"
            overlay_stretch	 	= FALSE
        }
	image 
	{
            function        		= OPTION
	    state 			= INSENSITIVE
            shadow          		= IN
            overlay_file    		= "Check-Radio/option3.png"
            overlay_stretch 		= FALSE
        }

    image
    {
      function			= BOX
      state			= NORMAL
      file			= "Buttons/button-normal-notebook.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= PRELIGHT
      file			= "Buttons/button-normal-notebook.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= ACTIVE
      file			= "Buttons/button-default-notebook.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }	
    image 
    {
      function			= BOX
      state			= INSENSITIVE
      file			= "Buttons/button-insensitive.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
  }
}

style "button_nohilight"
{
  xthickness	= 4
  ythickness	= 3

  engine "pixmap"
  {
    image
    {
      function			= BOX
      state			= NORMAL
      file			= "Buttons/button-normal-notebook.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= PRELIGHT
      file			= "Buttons/button-normal-notebook.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= ACTIVE
      file			= "Buttons/button-default-notebook.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }	
    image 
    {
      function			= BOX
      state			= INSENSITIVE
      file			= "Buttons/button-insensitive.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
  }
}


style "notebook_button" {
    xthickness	= 3
    ythickness	= 3

	bg[NORMAL]                      = shade (1.00, @base_color)
	bg[PRELIGHT]                    = shade (1.00, @base_color)    
	bg[ACTIVE]                      = shade (1.00, @selected_bg_color)
  	bg[INSENSITIVE] 		= shade (1.04, @bg_color)
  	bg[SELECTED]                    = @selected_bg_color
	fg[PRELIGHT]      		= shade (0.8, @selected_bg_color)
	fg[ACTIVE]      		= shade (1.0, @text_color)

	engine "murrine" {
		contrast                = 0.0
		gradient_shades         = {1.00,1.00,1.00,1.00}
		focusstyle		= 2
		lightborderstyle	= 1		
		lightborder_shade       = 1.1
        	highlight_shade		= 1.00
		textstyle               = 2
		text_shade		= 1.0
		comboboxstyle 		= 0			# 0 = normal combobox, 1 = colorized combobox button		
		focusstyle		= 2 # 0 to disable focus drawing. 
								# 1 to use dots. 
								# 2 to use a small colored rectangle. 
								# 3 to use a colored rectangle that touches the borders.
	}
  engine "pixmap"
  {
	# Radio Buttons

	image 
	{
            function        		= OPTION
            state 			= NORMAL
            shadow          		= OUT
            overlay_file    		= "Check-Radio/option1.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
            state 			= PRELIGHT
            shadow          		= OUT
            overlay_file    		= "Check-Radio/option1.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
            state 			= ACTIVE
            shadow          		= OUT
            overlay_file    		= "Check-Radio/option1.png"
            overlay_stretch 		= FALSE
        }
	image
	{
            function        		= OPTION
            state 			= SELECTED
            shadow          		= OUT
            overlay_file    		= "Check-Radio/option1.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
            state 			= INSENSITIVE
            shadow         		= OUT
            overlay_file    		= "Check-Radio/option3.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
	    state 			= NORMAL
            shadow          		= IN
            overlay_file    		= "Check-Radio/option2.png"
            overlay_stretch 		= FALSE
        }
 	image 
	{
            function        		= OPTION
	    state			= PRELIGHT
            shadow          		= IN
            overlay_file    		= "Check-Radio/option2.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
	    state			= ACTIVE
            shadow          		= IN
            overlay_file    		= "Check-Radio/option2.png"
            overlay_stretch	 	= FALSE
        }
	image
	{
            function        		= OPTION
	    state			= SELECTED
            shadow          		= IN
            overlay_file    		= "Check-Radio/option2.png"
            overlay_stretch	 	= FALSE
        }
	image 
	{
            function        		= OPTION
	    state 			= INSENSITIVE
            shadow          		= IN
            overlay_file    		= "Check-Radio/option3.png"
            overlay_stretch 		= FALSE
        }

    image
    {
      function			= BOX
      state			= NORMAL
      file			= "Buttons/button-normal.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= PRELIGHT
      file			= "Buttons/button-normal.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
    image
    {
      function			= BOX
      state			= ACTIVE
      file			= "Buttons/button-default.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }	
    image 
    {
      function			= BOX
      state			= INSENSITIVE
      file			= "Buttons/button-insensitive.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
    }
  }
}

style "spinbutton"  {
  bg[NORMAL] = @base_color
  bg[INSENSITIVE] = @bg_color
  fg[ACTIVE] = @text_color

  xthickness	= 3
  ythickness	= 4
  engine "murrine" {
  }

  engine "pixmap"  {
    image
    {
      function			= ARROW
    }

    # Spin-Up LTR
    image
    {
      function			= BOX
      state 			= NORMAL
      detail			= "spinbutton_up"
      file			= "Others/null.png"
      border			= { 1, 4, 5, 0 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-up-small.png"
      overlay_stretch		= FALSE
      direction                 = LTR
    }
    image
    {
      function			= BOX
      state 			= PRELIGHT
      detail			= "spinbutton_up"
      file			= "Others/null.png"
      border			= { 1, 4, 5, 0 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-up-small-prelight.png"
      overlay_stretch		= FALSE
      direction                 = LTR
    }
    image
    {
      function			= BOX
      state 			= INSENSITIVE
      detail			= "spinbutton_up"
      file			= "Others/null.png"
      border			= { 1, 4, 5, 0 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-up-small-insens.png"
      overlay_stretch		= FALSE
      direction                 = LTR
    }
    image
    {
      function			= BOX
      state 			= ACTIVE
      detail			= "spinbutton_up"
      file			= "Others/null.png"
      border			= { 1, 4, 5, 0 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-up-small-prelight.png"
      overlay_stretch		= FALSE
      direction                 = LTR
    }

    # Spin-Up RTL
    image
    {
      function			= BOX
      state 			= NORMAL
      detail			= "spinbutton_up"
      file			= "Others/null.png"
      border			= { 4, 1, 5, 0 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-up-small.png"
      overlay_stretch		= FALSE
      direction                 = RTL
    }
    image
    {
      function			= BOX
      state 			= PRELIGHT
      detail			= "spinbutton_up"
      file			= "Others/null.png"
      border			= { 4, 1, 5, 0 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-up-small-prelight.png"
      overlay_stretch		= FALSE
      direction                 = RTL
    }
    image
    {
      function			= BOX
      state 			= INSENSITIVE
      detail			= "spinbutton_up"
      file			= "Others/null.png"
      border			= { 4, 1, 5, 0 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-up-small-insens.png"
      overlay_stretch		= FALSE
      direction                 = RTL
    }
    image
    {
      function			= BOX
      state 			= ACTIVE
      detail			= "spinbutton_up"
      file			= "Others/null.png"
      border			= { 4, 1, 5, 0 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-up-small-prelight.png"
      overlay_stretch		= FALSE
      direction                 = RTL
    }

    # Spin-Down LTR
    image
    {
      function			= BOX
      state 			= NORMAL
      detail			= "spinbutton_down"
      file			= "Others/null.png"
      border			= { 1, 4, 1, 4 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-down-small.png"
      overlay_stretch		= FALSE
      direction                 = LTR
    }
    image
    {
      function			= BOX
      state 			= PRELIGHT
      detail			= "spinbutton_down"
      file			= "Others/null.png"
      border			= { 1, 4, 1, 4 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-down-small-prelight.png"
      overlay_stretch		= FALSE
      direction                 = LTR
    }
    image
    {
      function			= BOX
      state 			= INSENSITIVE
      detail			= "spinbutton_down"
      file			= "Others/null.png"
      border			= { 1, 4, 1, 4 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-down-small-insens.png"
      overlay_stretch		= FALSE
      direction                 = LTR
    }
    image
    {
      function			= BOX
      state 			= ACTIVE
      detail			= "spinbutton_down"
      file			= "Others/null.png"
      border			= { 1, 4, 1, 4 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-down-small-prelight.png"
      overlay_stretch		= FALSE
      direction                 = LTR
    }

    # Spin-Down RTL
    image
    {
      function			= BOX
      state 			= NORMAL
      detail			= "spinbutton_down"
      file			= "Others/null.png"
      border			= { 4, 1, 1, 4 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-down-small.png"
      overlay_stretch		= FALSE
      direction                 = RTL
    }
    image
    {
      function			= BOX
      state 			= PRELIGHT
      detail			= "spinbutton_down"
      file			= "Others/null.png"
      border			= { 4, 1, 1, 4 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-down-small-prelight.png"
      overlay_stretch		= FALSE
      direction                 = RTL
    }
    image
    {
      function			= BOX
      state 			= INSENSITIVE
      detail			= "spinbutton_down"
      file			= "Others/null.png"
      border			= { 4, 1, 1, 4 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-down-small-insens.png"
      overlay_stretch		= FALSE
      direction                 = RTL
    }
    image
    {
      function			= BOX
      state 			= ACTIVE
      detail			= "spinbutton_down"
      file			= "Others/null.png"
      border			= { 4, 1, 1, 4 }
      stretch			= TRUE
      overlay_file		= "Arrows/arrow-down-small-prelight.png"
      overlay_stretch		= FALSE
      direction                 = RTL
    }
  }
}
style "gimp_spin_scale"
{
  bg[NORMAL] = @base_color

  engine "murrine" {
  }

  engine "pixmap"
  {
    image
    {
      function                = FLAT_BOX
      detail                  = "entry_bg"
      state                   = NORMAL
    }
    image
    {
      function                = FLAT_BOX
      detail                  = "entry_bg"
      state                   = ACTIVE
    }

    image
    {
      function			= BOX
      state 			= NORMAL
      detail			= "spinbutton_up"
      overlay_file		= "Arrows/arrow-up-small.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= PRELIGHT
      detail			= "spinbutton_up"
      overlay_file		= "Arrows/arrow-up-small-prelight.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= ACTIVE
      detail			= "spinbutton_up"
      overlay_file		= "Arrows/arrow-up-small-prelight.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= INSENSITIVE
      detail			= "spinbutton_up"
      overlay_file		= "Arrows/arrow-up-small-insens.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= NORMAL
      detail			= "spinbutton_down"
      overlay_file		= "Arrows/arrow-down-small.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= PRELIGHT
      detail			= "spinbutton_down"
      overlay_file		= "Arrows/arrow-down-small-prelight.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= ACTIVE
      detail			= "spinbutton_down"
      overlay_file		= "Arrows/arrow-down-small-prelight.png"
      overlay_stretch		= FALSE
    }
    image
    {
      function			= BOX
      state 			= INSENSITIVE
      detail			= "spinbutton_down"
      overlay_file		= "Arrows/arrow-down-small-insens.png"
      overlay_stretch		= FALSE
    }
  }
}

style "scrollbar"
{
	xthickness = 2
	ythickness = 2

	bg[NORMAL] = shade(0.7, @base_color)
	bg[PRELIGHT] = shade(0.5, @base_color)
	bg[ACTIVE] = shade(0.5, @base_color)
	bg[SELECTED] = shade(0.5, @base_color)
  engine "pixmap"  {

    image 
    {
      function			= BOX
      detail			= "trough"
      file			= "Scrollbars/trough-scrollbar-horiz.png"
      border			= { 19, 19, 4, 4 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }
    image 
    {
      function			= BOX
      detail			= "trough"
      file			= "Scrollbars/trough-scrollbar-vert.png"
      border			= { 4, 4, 19, 19 }
      stretch			= TRUE
      orientation		= VERTICAL
    }

# Sliders

    image 
    {
      function				= SLIDER
      state           			= NORMAL
      file				= "Scrollbars/slider-horiz.png" 
      border				= { 7, 7, 5, 5 }
      stretch				= TRUE
      orientation			= HORIZONTAL

    }
    image 
    {
      function				= SLIDER
      state           			= ACTIVE
      file				= "Scrollbars/slider-horiz-active.png" 
      border				= { 7, 7, 5, 5 }
      stretch				= TRUE
      orientation			= HORIZONTAL

    }
    image 
    {
      function				= SLIDER
      state           			= PRELIGHT
      file				= "Scrollbars/slider-horiz-prelight.png" 
      border				= { 7, 7, 5, 5 }
      stretch				= TRUE
      orientation			= HORIZONTAL

    }
    image 
    {
      function				= SLIDER
      state           			= INSENSITIVE
      file				= "Scrollbars/slider-horiz-insens.png"
      border				= { 7, 7, 5, 5 }
      stretch				= TRUE
      orientation			= HORIZONTAL
    }

# X Verticals

    image 
    {
      function				= SLIDER
      state           			= NORMAL
      file				= "Scrollbars/slider-vert.png" 
      border				= { 5, 5, 7, 7 }
      stretch				= TRUE
      orientation			= VERTICAL

    }
    image 
    {
      function				= SLIDER
      state           			= ACTIVE
      file				= "Scrollbars/slider-vert-active.png" 
      border				= { 5, 5, 7, 7 }
      stretch				= TRUE
      orientation			= VERTICAL

    }
    image 
    {
      function				= SLIDER
      state           			= PRELIGHT
      file				= "Scrollbars/slider-vert-prelight.png" 
      border				= { 5, 5, 7, 7 }
      stretch				= TRUE
      orientation			= VERTICAL

    }
    image 
    {
      function				= SLIDER
      state           			= INSENSITIVE
      file				= "Scrollbars/slider-vert-insens.png"
      border				= { 5, 5, 7, 7 }
      stretch				= TRUE
      orientation			= VERTICAL

    }
  }

	engine "murrine" {
		border_shades = {1.00, 1.00}
		roundness = 0
		contrast = 1.0
		trough_shades = {1.00, 1.00}
		lightborder_shade = 1.00
		glowstyle = 5
		glow_shade = 1.00
		gradient_shades = {1.00, 1.00, 1.00, 1.00}
		trough_border_shades = {1.00,1.00}
	}
}

style "overlay_scrollbar"
{
	bg[SELECTED] 				= shade (1.0, @selected_bg_color)
	bg[INSENSITIVE] 			= shade (0.85, @bg_color)
	bg[ACTIVE] 				= shade (0.6, @bg_color)
}

style "scale" {

	GtkScale::trough-border = 0
	GtkScale::slider-width = 16
	GtkScale::slider-length = 16
	# GtkScale::slider-length = 15
	GtkScale::trough-side-details = 1
    
	bg[NORMAL] = shade (0.94, @selected_bg_color)
	bg[PRELIGHT] = shade (1.06, @selected_bg_color)
	bg[ACTIVE] = shade (0.94, @bg_color)
	bg[INSENSITIVE] = shade (0.95, @bg_color)


	engine "pixmap" {

    image 
    {
      function			= BOX
      detail			= "trough"
      file			= "Scale/trough-horizontal.png"
      border			= { 4, 4, 0, 0 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }	
    image 
    {
      function			= BOX
      detail			= "trough"
      file			= "Scale/trough-vertical.png"
      border			= { 0, 0, 4, 4 }
      stretch			= TRUE
      orientation		= VERTICAL
    }

# Horizontal

	image
		{
			function	= SLIDER
			state           = NORMAL
			file		= "Others/null.png"
			border		= { 0, 0, 0, 0 }
			stretch		= FALSE
			overlay_file	= "Scale/slider.svg"
			overlay_stretch	= FALSE
			orientation	= HORIZONTAL
		}
	image
		{
			function	= SLIDER
			state           = PRELIGHT
			file		= "Others/null.png"
			border		= { 0, 0, 0, 0 }
			stretch		= FALSE
			overlay_file	= "Scale/slider-hover.svg"
			overlay_stretch	= FALSE
			orientation	= HORIZONTAL
		}
	image
		{
			function	= SLIDER
			state           = INSENSITIVE
			file		= "Others/null.png"
			border		= { 0, 0, 0, 0 }
			stretch		= FALSE
			overlay_file	= "Scale/slider-ins.svg"
			overlay_stretch	= FALSE
			orientation	= HORIZONTAL
		}

# Vertical

	image
		{
			function	= SLIDER
			state           = NORMAL
			file		= "Others/null.png"
			border		= { 0, 0, 0, 0 }
			stretch		= FALSE
			overlay_file	= "Scale/slider.svg"
			overlay_stretch	= FALSE
			orientation	= VERTICAL
		}
	image
		{
			function	= SLIDER
			state           = PRELIGHT
			file		= "Others/null.png"
			border		= { 0, 0, 0, 0 }
			stretch		= FALSE
			overlay_file	= "Scale/slider-hover.svg"
			overlay_stretch	= FALSE
			orientation	= VERTICAL
		}
	image
		{
			function	= SLIDER
			state           = INSENSITIVE
			file		= "Others/null.png"
			border		= { 0, 0, 0, 0 }
			stretch		= FALSE
			overlay_file	= "Scale/slider-ins.svg"
			overlay_stretch	= FALSE
			orientation	= VERTICAL
		}

# Function below removes ugly boxes
	image
		{
			function	= BOX
			file        	= "Others/null.png"
			border      	= { 3, 3, 3, 3 }
			stretch         = TRUE
		}

	}

	engine "murrine" {
        	sliderstyle = 1
		contrast = 0.6
		border_shades = {0.9, 0.8}
		roundness = 15
		lightborder_shade = 1.32
		gradient_shades = {1.1, 1.0, 1.0, 0.8}
		handlestyle = 2
		trough_border_shades = {0.9, 1.4}
		glow_shade = 1.0
#		reliefstyle = 2
#		shadow_shades = { 1.0, 0.9 }
	}
    
}


style "vscale" {
}

style "hscale" {
}

style "notebook_bg" {
	bg[NORMAL] = shade (1.00, @base_color)
	bg[ACTIVE] = shade (1.00, @base_color)
	fg[ACTIVE] = @text_color
	fg[NORMAL] = @text_color

}

# The color is changed by the notebook_bg style, this style
# changes the x/ythickness
style "notebook" = "notebook_bg" {
	xthickness = 1
	ythickness = 1
	
	engine "murrine" {
		roundness = 2
		contrast = 0.8
		focusstyle = 2
		lightborder_shade = 1.00
		gradient_shades = {1.0, 1.0, 1.0, 1.0}
	}

  engine "pixmap" 
  {
    image 
    {
        function		= EXTENSION
	state			= ACTIVE
	file			= "Tabs/tab-bottom.png"
	border			= { 3,3,3,5 }
	stretch			= TRUE
	gap_side		= TOP
    }
    image 
    {
        function		= EXTENSION
	state			= ACTIVE
	file			= "Tabs/tab-top.png"
	border			= { 3,3,5,3 }
	stretch			= TRUE
	gap_side		= BOTTOM
    }
    image 
    {
        function		= EXTENSION
	state			= ACTIVE
	file			= "Tabs/tab-left.png"
	border			= { 3,3,3,3 }
	stretch			= TRUE
	gap_side		= RIGHT
    }
    image 
    {
        function		= EXTENSION
	state			= ACTIVE
	file			= "Tabs/tab-right.png"
	border			= { 3,3,3,3 }
	stretch			= TRUE
	gap_side		= LEFT
    }	
    image 
    {
        function		= EXTENSION
	file			= "Tabs/tab-top-active.png"
	border			= { 3,3,3,3 }
	stretch			= TRUE
	gap_side		= BOTTOM
    }
    image 
    {
        function		= EXTENSION
	file			= "Tabs/tab-bottom-active.png"
	border			= { 3,3,3,3 }
	stretch			= TRUE
	gap_side		= TOP
    }
    image 
    {
        function		= EXTENSION
	file			= "Tabs/tab-left-active.png"
	border			= {  3,3,3,3 }
	stretch			= TRUE
	gap_side		= RIGHT
    }
    image
    {
        function		= EXTENSION
	file			= "Tabs/tab-right-active.png"
	border			= {  3,3,3,3 }
	stretch			= TRUE
	gap_side		= LEFT
    }

# How to draw boxes with a gap on one side (ie the page of a notebook)

    image 
    {
        function			= BOX_GAP
	file				= "Tabs/notebook.png" 
	border				= { 4, 4, 4, 4 }
	stretch				= TRUE
	gap_file			= "Tabs/null.png"
	gap_border     			= { 1, 1, 0, 0 }
	gap_side			= TOP
    }
    image 
    {
        function			= BOX_GAP
	file				= "Tabs/notebook.png"
	border				= { 4, 4, 4, 4 }
	stretch				= TRUE
	gap_file			= "Tabs/null.png"
	gap_border			= { 1, 1, 0, 0 }
	gap_side			= BOTTOM
    }
    image 
    {
        function			= BOX_GAP
	file				= "Tabs/notebook.png"
	border				= { 4, 4, 4, 4 }
	stretch				= TRUE
	gap_file			= "Tabs/null.png"
	gap_border			= { 0, 0, 1, 1 }
	gap_side			= LEFT
    }
    image 
    {
        function			= BOX_GAP
	file				= "Tabs/notebook.png" 
	border				= { 4, 4, 4, 4 }
	stretch				= TRUE
	gap_file			= "Tabs/null.png"
	gap_border			= { 0, 0, 1, 1 }
	gap_side			= RIGHT
    }

# How to draw the box of a notebook when it isnt attached to a tab

    image 
    {
	function		= BOX
	file			= "Tabs/notebook.png"
	border			= { 4, 4, 4, 4 }
	stretch			= TRUE
    }
  }

}

style "handlebox"
{
  engine "pixmap"
  {
    image
    {
      function                  = BOX
      file			= "Others/null.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
      detail                    = "handlebox_bin"
      shadow                    = IN
    }
    image
    {
      function                  = BOX
      file			= "Others/null.png"
      border			= { 4, 4, 4, 4 }
      stretch			= TRUE
      detail                    = "handlebox_bin"
      shadow                    = OUT
    }
  }
}

style "combobox_separator"
{
  xthickness = 0
  ythickness = 0
  GtkWidget::wide-separators = 1
}


style "statusbar" {
	engine "murrine" {
		contrast = 1.2
	}
}

style "combobox"
{
  xthickness = 0
  ythickness = 0
}

style "combobox_button" = "button"
{
  xthickness = 2
  ythickness = 2
}

style "range"
{	
  engine "pixmap" 
  {
    image 
    {
      function			= BOX
      detail			= "trough"
      file			= "Scrollbars/trough-scrollbar-horiz.png"
      border			= { 4, 4, 0, 0 }
      stretch			= TRUE
      orientation		= HORIZONTAL
    }	
    image 
    {
      function			= BOX
      detail			= "trough"
      file			= "Scrollbars/trough-scrollbar-vert.png"
      border			= { 0, 0, 4, 4 }
      stretch			= TRUE
      orientation		= VERTICAL
    }

    # Horizontal

    image 
    {
      function				= SLIDER
      state           			= NORMAL
      file				= "Others/null.png"
      border				= { 0, 0, 0, 0 }
      stretch				= TRUE
      overlay_file			= "Scrollbars/slider-horiz.png"
      overlay_stretch			= FALSE
      orientation			= HORIZONTAL
    }
    image 
    {
      function				= SLIDER
      state           			= PRELIGHT
      file				= "Others/null.png"
      border				= { 0, 0, 0, 0 }
      stretch				= TRUE
      overlay_file			= "Scrollbars/slider-horiz-active.png"
      overlay_stretch			= FALSE
      orientation			= HORIZONTAL
    }
    image 
    {
      function				= SLIDER
      state           			= INSENSITIVE
      file				= "Others/null.png"
      border				= { 0, 0, 0, 0 }
      stretch				= TRUE
      overlay_file			= "Scrollbars/slider-horiz-insens.png"
      overlay_stretch			= FALSE
      orientation			= HORIZONTAL
    }

    # Vertical

    image 
    {
      function				= SLIDER
      state           			= NORMAL
      file				= "Others/null.png"
      border				= { 0, 0, 0, 0 }
      stretch				= TRUE
      overlay_file			= "Scrollbars/slider-vert.png"
      overlay_stretch			= FALSE
      orientation			= VERTICAL
    }
    image 
    {
      function				= SLIDER
      state           			= PRELIGHT
      file				= "Others/null.png"
      border				= { 0, 0, 0, 0 }
      stretch				= TRUE
      overlay_file			= "Scrollbars/slider-vert-active.png"
      overlay_stretch			= FALSE
      orientation			= VERTICAL
    }
    image 
    {
      function				= SLIDER
      state           			= INSENSITIVE
      file				= "Others/null.png"
      border				= { 0, 0, 0, 0 }
      stretch				= TRUE
      overlay_file			= "Scrollbars/slider-vert-insens.png"
      overlay_stretch			= FALSE
      orientation			= VERTICAL
    }

    # Function below removes ugly boxes
    image 
    {
       	function		= BOX
	file        		= "Others/null.png"
	border      		= { 3, 3, 3, 3 }
	stretch         	= TRUE
    }

  }
}


style "toolbar" {
	engine "murrine" {
		textstyle = 1
		text_shade = 1.32
		lightborder_shade = 1.0
	}

        engine "pixmap"
	{
        image
        {
                function		= SHADOW
        }
        }
}

style "inline_toolbar"
{
        GtkToolbar::button-relief       = GTK_RELIEF_NORMAL

        engine "pixmap"
        {
        image
        {
                function                = BOX
                file                    = "Toolbar/toolbar.png"
                stretch                 = TRUE
        }
        }
}

style "toolbar-button" = "button" {

}

style "menu" {
	xthickness = 1
	ythickness = 1

	GtkMenuItem::arrow-scaling	= 0.4

	bg[NORMAL]	= shade (1.00, @base_color)
        bg[INSENSITIVE] = @base_color
        bg[PRELIGHT]    = @base_color

	engine "pixmap"	# For menus that use horizontal lines rather than gtkseparator
	{
	image
	{
	  function			= HLINE
	  file				= "Lines/line-h.png"
	  border			= { 0, 0, 0, 0 }
	  stretch			= TRUE
	}
    }

	engine "murrine"
	{
	menustyle = 0
		roundness = 0
		contrast = 1.9
		lightborderstyle	= 1 # 0 = top side, 1 = all sides
		lightborder_shade = 1.0
		border_shades       	= {1.0, 1.0}
	}
}

style "menu_framed_box"
{
	engine "murrine"
	{
        }
}

style "menubar"
{
	bg[PRELIGHT]	= @base_color
	fg[SELECTED]	= @text_color

	xthickness	= 0
	ythickness	= 0

	engine "pixmap"
	{
	  image
          {
	      function		= BOX
	      recolorable	= TRUE
	      state		= PRELIGHT
	      file		= "Menu-Menubar/menubar_button.png"

	      border		= { 4, 4, 4, 4 }
	      stretch		= TRUE
	  }
	}
}

style "menubar_item" {
	xthickness = 2
	ythickness = 3

	engine "murrine" {
		gradient_shades = {1.0, 1.0, 1.0, 1.0}
		glowstyle = 5
		glow_shade = 1.0
		border_shades = {1.0, 0.9}
		lightborderstyle = 1
		lightborder_shade = 1.26
	}

	fg[PRELIGHT]	= @text_color

}
style "menu_item" = "menu"
{
	xthickness	= 2
	ythickness	= 4

        # HACK: Gtk doesn't actually read this value
        # while rendering the menu items, but Libreoffice
        # does; setting this value equal to the one in
        # fg[PRELIGHT] ensures a code path in the LO theming code
        # that falls back to a dark text color for menu item text
        # highlight. The price to pay is black text on menus as well,
        # but at least it's readable.
        # See https://bugs.freedesktop.org/show_bug.cgi?id=38038


	bg[PRELIGHT]	= @selected_bg_color
	fg[PRELIGHT]	= @base_color
	text[PRELIGHT]	= @base_color

	engine "murrine"
	{
		glowstyle = 5
		glow_shade = 1.1
		border_shades = {0.95, 0.85}
	}

	engine "pixmap"
	{

	# Check Buttons

	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
            state 			= NORMAL
            shadow          		= OUT
            overlay_file    		= "Others/null.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
            state 			= PRELIGHT
            shadow          		= OUT
            overlay_file    		= "Others/null.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
            state 			= ACTIVE
            shadow          		= OUT
            overlay_file    		= "Others/null.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
            state 			= INSENSITIVE
            shadow          		= OUT
            overlay_file    		= "Others/null.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
	    state	 		= NORMAL
            shadow          		= IN
            overlay_file    		= "Check-Radio/menucheck.png"
            overlay_stretch	 	= FALSE
        }
	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
            state                       = PRELIGHT
            shadow          		= IN
            overlay_file    		= "Check-Radio/menucheck_prelight.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= CHECK
            recolorable     		= TRUE
	    state                       = ACTIVE
            shadow          		= IN
            overlay_file    		= "Check-Radio/menucheck.png"
            overlay_stretch 		= FALSE
        }
	image 
  	{
 	    function        		= CHECK
   	    recolorable     		= TRUE
       	    state 			= INSENSITIVE
       	    shadow          		= IN
       	    overlay_file   		= "Others/null.png"
       	    overlay_stretch 		= FALSE
	}

	# Radio Buttons

	image 
	{
            function        		= OPTION
            state 			= NORMAL
            shadow          		= OUT
            overlay_file    		= "Others/null.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
            state 			= PRELIGHT
            shadow          		= OUT
            overlay_file    		= "Others/null.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
            state 			= ACTIVE
            shadow          		= OUT
            overlay_file    		= "Others/null.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
            state 			= INSENSITIVE
            shadow         		= OUT
            overlay_file    		= "Others/null.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
	    state 			= NORMAL
            shadow          		= IN
            overlay_file    		= "Check-Radio/menuoption.png"
            overlay_stretch 		= FALSE
        }
 	image 
	{
            function        		= OPTION
	    state			= PRELIGHT
            shadow          		= IN
            overlay_file    		= "Check-Radio/menuoption_prelight.png"
            overlay_stretch 		= FALSE
        }
	image 
	{
            function        		= OPTION
	    state			= ACTIVE
            shadow          		= IN
            overlay_file    		= "Check-Radio/menuoption.png"
            overlay_stretch	 	= FALSE
        }
	image 
	{
            function        		= OPTION
	    state 			= INSENSITIVE
            shadow          		= IN
            overlay_file    		= "Others/null.png"
            overlay_stretch 		= FALSE
        }
	image 
      	{
            function                    = SHADOW # This fixes boxy Qt menu items
	    file        		= "Others/null.png"
	    border      		= { 4, 4, 4, 4 }
	    stretch         	        = TRUE
      	}

	# Arrow Buttons

	image
	{
	  function			= ARROW
	  state				= NORMAL
	  overlay_file			= "Arrows/arrow-right.png"
	  overlay_border		= { 0, 0, 0, 0 }
	  overlay_stretch		= FALSE
	  arrow_direction		= RIGHT
	}
	image
	{
	  function			= ARROW
	  state				= PRELIGHT
	  overlay_file			= "Arrows/arrow-right-prelight.png"
	  overlay_border		= { 0, 0, 0, 0 }
	  overlay_stretch		= FALSE
	  arrow_direction		= RIGHT
	}
    }
}

style "checkbutton"
{
  	fg[PRELIGHT] 	= @text_color
  	fg[ACTIVE]   	= @text_color
	fg[SELECTED]	= @text_color
	text[PRELIGHT]	= @text_color
	text[ACTIVE]	= @text_color
	text[SELECTED]	= @text_color

  engine "pixmap" {
 image 
	{
            function        		= CHECK
            recolorable     		= TRUE
            state 				= NORMAL
            shadow          		= OUT
            overlay_file    		= "Check-Radio/check1.png"
            overlay_stretch 	= FALSE
        }
 image 
	{
            function        		= CHECK
            recolorable     		= TRUE
            state 				= PRELIGHT
            shadow          		= OUT
            overlay_file    		= "Check-Radio/check1.png"
            overlay_stretch 	= FALSE
        }
 image 
	{
            function        		= CHECK
            recolorable     		= TRUE
            state 				= ACTIVE
            shadow          		= OUT
            overlay_file    		= "Check-Radio/check2.png"
            overlay_stretch 	= FALSE
        }
 image 
	{
            function        		= CHECK
            recolorable     		= TRUE
            state 				= INSENSITIVE
            shadow          		= OUT
            overlay_file    		= "Check-Radio/check3.png"
            overlay_stretch 	= FALSE
        }
 image 
	{
            function        		= CHECK
            recolorable     		= TRUE
	    	  state 				= NORMAL
            shadow          		= IN
            overlay_file    		= "Check-Radio/check2.png"
            overlay_stretch 	= FALSE
        }
  image 
	{
            function        		= CHECK
            recolorable     		= TRUE
	    	  state 				= PRELIGHT
            shadow          		= IN
            overlay_file    		= "Check-Radio/check2.png"
            overlay_stretch 	= FALSE
        }
 image 
	{
            function        		= CHECK
            recolorable     		= TRUE
	    	  state 				= ACTIVE
            shadow          		= IN
            overlay_file    		= "Check-Radio/check1.png"
            overlay_stretch 	= FALSE
        }
 image 
    {
    function        		= CHECK
    recolorable     		= TRUE
       state 				= INSENSITIVE
       shadow          		= IN
       overlay_file   		= "Check-Radio/check4.png"
       overlay_stretch 	= FALSE
    }
    image 
    {
      function        	= FLAT_BOX
      recolorable     	= TRUE
      stretch			= TRUE
      file            		= "Check-Radio/checklight.png"
      border          	= { 2, 2, 2, 2 }
    }
  }

}

style "entry" {
	xthickness  = 3
	ythickness  = 3

	engine "murrine" {

	}

	engine "pixmap"
	{
	image
	{
		function		= SHADOW
		detail			= "entry"
                state                   = NORMAL
		shadow			= IN
		file			= "Others/null.png"
		border			= { 4, 4, 4, 4 }
		stretch			= TRUE
	}
	image
	{
		function		= SHADOW
		detail			= "entry"
                state                   = INSENSITIVE
		shadow			= IN
		file			= "Others/null.png"
		border			= { 4, 4, 4, 4 }
		stretch			= TRUE
	}
        image
        {
		function		= SHADOW
		detail			= "entry"
                state                   = ACTIVE
		file			= "Others/null.png"
		border			= { 4, 4, 4, 4 }
		stretch			= TRUE
        }
        image
        {
                function                = FLAT_BOX
                detail                  = "entry_bg"
                state                   = NORMAL
                overlay_file		= "Entry/entry-bottom.png"
	        overlay_border		= { 0, 0, 0, 0 }
                overlay_stretch         = TRUE
        }
        image
        {
                function                = FLAT_BOX
                detail                  = "entry_bg"
                state                   = ACTIVE
                overlay_file		= "Entry/entry-bottom-selected.png"
	        overlay_border		= { 0, 0, 0, 0 }
                overlay_stretch         = TRUE
        }
    }

}

style "notebook_entry"
{
    xthickness	= 3
    ythickness	= 3

  engine "murrine" {
  }

	engine "pixmap"
	{
	image
	{
		function		= SHADOW
		detail			= "entry"
                state                   = NORMAL
		shadow			= IN
		file			= "Others/null.png"
		border			= { 4, 4, 4, 4 }
		stretch			= TRUE
	}
	image
	{
		function		= SHADOW
		detail			= "entry"
                state                   = INSENSITIVE
		shadow			= IN
		file			= "Others/null.png"
		border			= { 4, 4, 4, 4 }
		stretch			= TRUE
	}
        image
        {
		function		= SHADOW
		detail			= "entry"
                state                   = ACTIVE
		file			= "Others/null.png"
		border			= { 4, 4, 4, 4 }
		stretch			= TRUE
        }
        image
        {
                function                = FLAT_BOX
                detail                  = "entry_bg"
                state                   = NORMAL
                overlay_file		= "Entry/entry-bottom.png"
	        overlay_border		= { 0, 0, 0, 0 }
                overlay_stretch         = TRUE
        }
        image
        {
                function                = FLAT_BOX
                detail                  = "entry_bg"
                state                   = ACTIVE
                overlay_file		= "Entry/entry-bottom-selected.png"
	        overlay_border		= { 0, 0, 0, 0 }
                overlay_stretch         = TRUE
        }
    }}

style "notebook_tab_label"
{
  fg[ACTIVE] = @text_color
}

style "combobox_entry"
{
	xthickness	= 3
	ythickness   	= 3

  bg[NORMAL] = @base_color
  bg[PRELIGHT] = @base_color
  bg[ACTIVE] = @base_color
  fg[PRELIGHT] = @selected_bg_color
  fg[ACTIVE] = @selected_bg_color
  fg[SELECTED] = @selected_bg_color

	engine "murrine" {

	}

}

style "notebook_combobox_entry"
{
    xthickness	= 4
    ythickness	= 4

	engine "murrine" {
	}

}

style "combobox_entry_button"
{
        fg[ACTIVE] = @text_color

	engine "murrine" {
	}

	engine "pixmap"
	{

        # LTR version
	image
	{
		function		= BOX
                state                   = NORMAL
		file			= "Others/null.png"
		border			= { 4, 4, 5, 4 }
		stretch			= TRUE
                direction               = LTR
	}
	image
	{
		function		= BOX
                state                   = PRELIGHT
		file			= "Others/null.png"
		border			= { 4, 4, 5, 4 }
		stretch			= TRUE
                direction               = LTR
	}
	image
	{
		function		= BOX
                state                   = INSENSITIVE
		file			= "Others/null.png"
		border			= { 4, 4, 5, 4 }
		stretch			= TRUE
                direction               = LTR
	}
        image
        {
		function		= BOX
                state                   = ACTIVE
		file			= "Others/null.png"
		border			= { 4, 4, 5, 4 }
		stretch			= TRUE
                direction               = LTR
        }

        # RTL version
	image
	{
		function		= BOX
                state                   = NORMAL
		file			= "Others/null.png"
		border			= { 4, 4, 5, 4 }
		stretch			= TRUE
                direction               = RTL
	}
	image
	{
		function		= BOX
                state                   = PRELIGHT
		file			= "Others/null.png"
		border			= { 4, 4, 5, 4 }
		stretch			= TRUE
                direction               = RTL
	}
	image
	{
		function		= BOX
                state                   = INSENSITIVE
		file			= "Others/null.png"
		border			= { 4, 4, 5, 4 }
		stretch			= TRUE
                direction               = RTL
	}
        image
        {
		function		= BOX
                state                   = ACTIVE
		file			= "Others/null.png"
		border			= { 4, 4, 5, 4 }
		stretch			= TRUE
                direction               = RTL
        }

        }
}


style "scale_menu_item" = "scale" {
	GtkScale::slider-width = 21
	GtkScale::slider-length = 13

	bg[ACTIVE] = shade(1.00, @base_color)
	bg[INSENSITIVE] = shade (0.9, @bg_color)

	engine "murrine" {
		roundness = 20
		border_shades = {1.4, 1.4}
		reliefstyle = 0
		lightborder_shade = 1.36
	}
}

# This style is there to modify the separator menu items. The goals are:
# 1. Get a specific height.
# 2. The line should go to the edges (ie. no border at the left/right)
style "separator_menu_item" {
	xthickness = 1
	ythickness = 0

	GtkSeparatorMenuItem::horizontal-padding = 0
	GtkWidget::wide-separators = 1
	GtkWidget::separator-width = 1
	GtkWidget::separator-height = 7
	
	engine "murrine" {
		contrast = 0.6
		separatorstyle = 0
	}

	engine "pixmap"	{
	image 
      	{
                function		= BOX
		file        		= "Lines/line-h.png"
		border      		= { 0, 0, 1, 0 }
		stretch         	= TRUE
      	}
    }
}

style "separator_tool_item" {
	xthickness = 0
	ythickness = 1

	GtkVSeparator::vertical-padding = 0
	GtkWidget::wide-separators = 1
	GtkWidget::separator-width = 7
	GtkWidget::separator-height = 1

	engine "murrine" {
		contrast = 0.6
		separatorstyle = 0
	}
}

style "frame_title" {
	fg[NORMAL] = lighter (@fg_color)
}

style "treeview" {
	engine "murrine"
	{
		roundness = 2
		lightborder_shade = 1.1
		gradient_shades = {1.04, 1.0, 1.0, 0.96}
	}
}

style "progressbar" {
	xthickness = 1
	ythickness = 1

	bg[ACTIVE] = shade (0.94, @bg_color)
	fg[PRELIGHT] = @selected_fg_color
	#bg[SELECTED] = "#cdcdcd"

	engine "murrine" {
		#trough_shades = {0.98, 1.02}
		roundness = 8
		lightborderstyle = 1
		lightborder_shade = 1.26
		border_shades = {0.95, 0.85}
		gradient_shades = {1.1, 1.0, 1.0, 0.9}
		trough_border_shades = {0.9, 1.4}
	}

  engine "pixmap" 
  {
    image
    {
      function				= BOX
      detail				= "trough"
      file				= "ProgressBar/trough-progressbar.png"
      border				= { 4, 4, 4, 4 }
      stretch				= TRUE
      orientation			= HORIZONTAL
    }
    image
    {
      function				= BOX
      detail				= "bar"
      file				= "ProgressBar/progressbar-pat.png"
      stretch				= TRUE
      border				= { 3, 3, 3, 3 }
      orientation			= HORIZONTAL
    }
    image
    {
      function				= BOX
      detail				= "trough"
      file				= "ProgressBar/trough-progressbar.png"
      border				= { 4, 4, 4, 4 }
      stretch				= TRUE
      orientation			= VERTICAL
    }
    image
    {
      function				= BOX
      detail				= "bar"
      file				= "ProgressBar/progressbar-pat.png"
      stretch				= TRUE
      border				= { 3, 3, 3, 3 }
      orientation			= VERTICAL
    }
  }


}

style "progressbar_menu_item" = "progressbar" {
	bg[ACTIVE] = shade(0.98, "#4D4C48")

	engine "murrine" {
		roundness = 0
	}
}

# This style is based on the default style, so that the colors from the button
# style are overriden again.
style "treeview_header" {
	xthickness = 2
	ythickness = 1

	fg[NORMAL] = @text_color
        fg[PRELIGHT] = shade(0.60, @bg_color)

	engine "murrine" {
		glazestyle = 1
		contrast = 1.0
		lightborder_shade = 1.0
		textstyle = 1
		glow_shade = 1.0
	}

	engine "pixmap"
	{
	image 
      	{
        	function		= BOX
		file        		= "Others/null.png"
		border      		= { 1, 1, 1, 1 }
		stretch         	= TRUE
	}
    }

}

style "scrolled_window"
{
        xthickness      = 1
        ythickness      = 1

        engine "pixmap"
	{
        image
        {
                function		= SHADOW
                file			= "Others/null.png"				
                border			= { 5, 5, 5, 5 }
                stretch			= TRUE
        }
        }
}

style "frame"
{
        xthickness      = 1
        ythickness      = 1

        engine "pixmap"
	{
        image
        {
                function                = SHADOW
                file                    = "Others/null.png"
                border                  = { 1, 1, 1, 1 }
                stretch                 = TRUE
                shadow                  = IN
        }
        image
        {
                function                = SHADOW_GAP
                file                    = "Others/null.png"
                border                  = { 1, 1, 1, 1 }
                stretch                 = TRUE
                gap_start_file          = "Others/null.png"
                gap_start_border        = { 1, 0, 0, 0 }
                gap_end_file            = "Others/null.png"
                gap_end_border          = { 0, 1, 0, 0 }
                shadow                  = IN
        }
        image
        {
                function                = SHADOW
                file                    = "Others/null.png"
                border                  = { 1, 1, 1, 1 }
                stretch                 = TRUE
                shadow                  = OUT
        }
        image
        {
                function                = SHADOW_GAP
                file                    = "Others/null.png"
                border                  = { 1, 1, 1, 1 }
                stretch                 = TRUE
                gap_start_file          = "Others/null.png"
                gap_start_border        = { 1, 0, 0, 0 }
                gap_end_file            = "Others/null.png"
                gap_end_border          = { 0, 1, 0, 0 }
                shadow                  = OUT
        }
        image
        {
                function                = SHADOW
                file                    = "Others/null.png"
                border			= { 1, 1, 1, 1 }
                stretch                 = TRUE
                shadow                  = ETCHED_IN
        }
        image
        {
                function                = SHADOW_GAP
                file                    = "Others/null.png"
                border                  = { 1, 1, 1, 1 }
                stretch                 = TRUE
                gap_start_file          = "Others/null.png"
                gap_start_border        = { 1, 0, 0, 0 }
                gap_end_file            = "Others/null.png"
                gap_end_border          = { 0, 1, 0, 0 }
                shadow                  = ETCHED_IN
        }
        image
        {
                function                = SHADOW
                file                    = "Others/null.png"
                border                  = { 1, 1, 1, 1 }
                stretch                 = TRUE
                shadow                  = ETCHED_OUT
        }
        image
        {
                function                = SHADOW_GAP
                file                    = "Others/null.png"
                border                  = { 1, 1, 1, 1 }
                stretch                 = TRUE
                gap_start_file          = "Others/null.png"
                gap_start_border        = { 1, 0, 0, 0 }
                gap_end_file            = "Others/null.png"
                gap_end_border          = { 0, 1, 0, 0 }
                shadow                  = ETCHED_OUT
        }
        }
}

style "gimp_toolbox_frame"
{
        engine "pixmap"
	{
        image
        {
                function		= SHADOW
        }
        }
}


style "treeview_header_scrolled" = "treeview_header" {
}

style "scrolledwindow" {
	engine "murrine" {
		contrast = 0.6
	}
}


style "tooltips" {
	xthickness = 4
	ythickness = 6

	bg[NORMAL]        = @tooltip_bg_color
	fg[NORMAL]        = @text_color
	bg[SELECTED]      = @tooltip_bg_color

	engine "murrine" {
		rgba = TRUE
	}
}

style "infobar" {
	engine "murrine" {
	}
}

style "nautilus_location" {
	bg[NORMAL]  = shade (1.00, @base_color)
}

style "calendar" {
	xthickness = 0
	ythickness = 0

	engine "murrine" {
		roundness = 0
	}
}

style "calendar_menu_item" = "calendar" {
	base[NORMAL] = @base_color
	base[ACTIVE] = @selected_bg_color
}

style "iconview" {
	engine "murrine" {
		roundness = 2
		border_shades = {1.16, 1.0}
		glow_shade = 1.1
		glowstyle = 5
	}
}

style "soundfix"
{
}
style "notebook_viewport"
{
        bg[NORMAL]   = @base_color
}


style "libreoffice_entry"
{
    xthickness	= 4
    ythickness	= 4

	engine "murrine" {
	}

        engine "pixmap"
        {
        image
        {
                function                = FLAT_BOX
                detail                  = "entry_bg"
                state                   = NORMAL
                overlay_file		= "Others/null.png"
	        overlay_border		= { 4, 4, 4, 4 }
                overlay_stretch         = TRUE
        }
        image
        {
                function                = FLAT_BOX
                detail                  = "entry_bg"
                state                   = ACTIVE
                overlay_file		= "Others/null.png"
	        overlay_border		= { 4, 4, 4, 4 }
                overlay_stretch         = TRUE
        }
	image
	{
		function		= SHADOW
		detail			= "entry"
                state                   = NORMAL
		shadow			= IN
		file			= "Others/null.png"
		border			= { 4, 4, 4, 4 }
		stretch			= TRUE
	}
        image
        {
		function		= SHADOW
		detail			= "entry"
                state                   = ACTIVE
		file			= "Others/null.png"
		border			= { 4, 4, 4, 4 }
		stretch			= TRUE
        }
        }
}

style "standalone_entry"
{

    xthickness	= 4
    ythickness	= 4

	engine "murrine" {
	}

        engine "pixmap"
        {
        image
        {
                function                = FLAT_BOX
                detail                  = "entry_bg"
                state                   = NORMAL
                file                    = "Others/null.png"
                stretch                 = TRUE
                border                  = { 4, 4, 4, 4 }
        }
        image
        {
                function                = FLAT_BOX
                detail                  = "entry_bg"
                state                   = ACTIVE
                file                    = "Others/null.png"
                stretch                 = TRUE
                border                  = { 4, 4, 4, 4 }
        }
	image
	{
		function		= SHADOW
		detail			= "entry"
                state                   = NORMAL
		shadow			= IN
		file			= "Others/null.png"
		border			= { 4, 4, 4, 4 }
		stretch			= TRUE
	}
        image
        {
		function		= SHADOW
		detail			= "entry"
                state                   = ACTIVE
		file			= "Others/null.png"
		border			= { 4, 4, 4, 4 }
		stretch			= TRUE
        }
        }
}


# XFCE Styles

style "murrine-panel" {
	xthickness = 2

	bg[NORMAL] = shade (1.0, @panel_bg_color)
	bg[PRELIGHT] =  shade (1.0, @selected_bg_color)
	bg[SELECTED] =  shade (1.0, @selected_bg_color)
	bg[ACTIVE] = shade (1.0, @selected_bg_color)
	bg[INSENSITIVE] = @panel_bg_color

	fg[NORMAL] = @text_color
	fg[PRELIGHT] = @panel_text_color
	fg[SELECTED] = @selected_bg_color
	fg[ACTIVE]   = @panel_text_color
	fg[INSENSITIVE] = shade (1.0, @panel_fg_color)

	base[NORMAL] = @panel_bg_color
	base[PRELIGHT] =  shade (1.2, @selected_bg_color)
	base[SELECTED] =  shade (1.0, @selected_bg_color)
	base[ACTIVE] = shade (1.0, @selected_bg_color)
	base[INSENSITIVE] = @panel_bg_color

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

	engine "murrine" {
		roundness = 0
		contrast = 0.0
		glazestyle	= 2
		trough_border_shades	= { 3.0, 2.5 }
	}
}

style "bold-panel-item" {
	font_name = "Bold"

	engine "murrine" {
		roundness = 0
	}
}


style "workspace-switcher" = "murrine-panel" {
	bg[SELECTED] = @selected_bg_color
}

style "xfce-header" {
	bg[NORMAL] = shade (0.9, @bg_color)
	base[NORMAL] = shade (1.18, @bg_color)
}

style "xfdesktop-windowlist" {
	bg[NORMAL] = @base_color
	fg[INSENSITIVE] = shade (0.95, @base_color)
	text[INSENSITIVE] = shade (0.95, @base_color)
}

style "xfdesktop-icon-view" {
	XfdesktopIconView::label-alpha = 0
	XfdesktopIconView::selected-label-alpha = 60
	XfdesktopIconVIew::ellipsize-icon-labels = 1

	base[NORMAL] = @panel_bg_color
	base[SELECTED] =  shade (1.0, @selected_bg_color)
	base[ACTIVE] = shade (1.0, @selected_bg_color)

	fg[NORMAL] = shade (1.0, @text_color)
	fg[SELECTED] = @text_color
	fg[ACTIVE] = @text_color


	engine "murrine" {
		textstyle = 5
		text_shade = 0.05
	}
}

style "xfwm-tabwin" {
	Xfwm4TabwinWidget::border-width = 1
        Xfwm4TabwinWidget::border-alpha = 1.0
	Xfwm4TabwinWidget::icon-size = 64
        Xfwm4TabwinWidget::alpha = 1.0
        Xfwm4TabwinWidget::border-radius = 2

	bg[NORMAL] = @bg_color
	bg[SELECTED] = @selected_bg_color

	fg[NORMAL] = @fg_color

	engine "murrine" {
		contrast = 0.0
		border_shades = { 1.00, 1.00 }
	}
}

style "xfwm-tabwin-button" {
        font_name = "bold"

	bg[SELECTED] = @selected_bg_color
}

style "breadcrumbs" 
{
	xthickness = 9
	ythickness = 4
	ThunarLocationButtons::spacing = 0
}

widget "*PanelWidget*" style "murrine-panel"
widget "*PanelApplet*" style "murrine-panel"
widget "*fast-user-switch*" style "murrine-panel"
widget "*CPUFreq*Applet*" style "murrine-panel"
widget "*indicator-applet*" style "murrine-panel"
class "PanelApp*" style "murrine-panel"
class "PanelToplevel*" style "murrine-panel"
widget_class "*PanelToplevel*" style "murrine-panel"
widget_class "*notif*" style "murrine-panel"
widget_class "*Notif*" style "murrine-panel"
widget_class "*Tray*" style "murrine-panel" 
widget_class "*tray*" style "murrine-panel"
widget_class "*computertemp*" style "murrine-panel"
widget_class "*Applet*Tomboy*" style "murrine-panel"
widget_class "*Applet*Netstatus*" style "murrine-panel"
widget "*gdm-user-switch-menubar*" style "murrine-panel"
widget_class "*Notif*Beagle*"       style "murrine-panel"
widget_class "*Notif*Brasero*"      style "murrine-panel"
widget "*Panel*MenuBar*" style "bold-panel-item"
widget "*gimmie*" style "bold-panel-item"
widget_class "*ThunarLocationButtons*"		style "breadcrumbs"

# widget_class "*Mail*" style "murrine-panel" # Disabled to fix Evolution bug
# class "*Panel*" style "murrine-panel" # Disabled to fix bug

# Xfce specific theming
widget_class "*XfceHeading*"		style "xfce-header"
widget "xfwm4-tabwin*"			style "xfwm-tabwin"
widget "xfwm4-tabwin*GtkButton*"		style "xfwm-tabwin-button"
widget_class "*XfdesktopIconView*"	style "xfdesktop-icon-view"
widget "*Xfce*Panel*" style "murrine-panel"
class "*Xfce*Panel*" style "murrine-panel"
widget "*WnckPager*" style "workspace-switcher"



# Google Chrome/Chromium theming (requires 9.0.597 or newer)
style "chrome-gtk-frame"
{
    ChromeGtkFrame::frame-color = shade (1.0, @bg_color)
    ChromeGtkFrame::inactive-frame-color = shade (1.0, @bg_color)
    ChromeGtkFrame::incognito-frame-color = shade (0.5, @bg_color)
    ChromeGtkFrame::incognito-inactive-frame-color = shade (0.5, @bg_color)

    ChromeGtkFrame::frame-gradient-size = 0
    ChromeGtkFrame::frame-gradient-color = shade (1.0,@bg_color)
    ChromeGtkFrame::inactive-frame-gradient-color = shade (1.0,@bg_color)
    ChromeGtkFrame::incognito-frame-gradient-color = shade (0.5,@bg_color)
    ChromeGtkFrame::incognito-inactive-frame-gradient-color = shade (0.5,@bg_color)

    ChromeGtkFrame::scrollbar-trough-color = @base_color
    ChromeGtkFrame::scrollbar-slider-prelight-color = shade(0.92, @bg_color)
    ChromeGtkFrame::scrollbar-slider-normal-color = @bg_color
}
style "chrome_menu_item"
{
        bg[SELECTED] = @selected_bg_color
}

class "ChromeGtkFrame" 			             style "chrome-gtk-frame"
widget_class "*Chrom*Button*"		         style "button"
widget_class "*<GtkCustomMenu>*<GtkCustomMenuItem>*" style "chrome_menu_item"

style "null"
{
	engine "pixmap"
	{
	image
	{
	    function	= BOX
	    file	= "Others/null.png"
	    stretch	= TRUE
        }
 	}
}

# Wrokaround style for places where the text color is used instead of the fg color.
style "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)
}

# Workaround style for menus where the text color is used instead of the fg color.
style "menuitem_text_is_fg_color_workaround" {
	text[NORMAL]        = @fg_color
	text[PRELIGHT]      = @selected_fg_color
	text[SELECTED]      = @selected_fg_color
	text[ACTIVE]        = @fg_color
	text[INSENSITIVE]   = "#99958b"
}

# Workaround style for places where the fg color is used instead of the text color.
style "fg_is_text_color_workaround" {
	fg[NORMAL]        = @text_color
	fg[PRELIGHT]      = @text_color
	fg[SELECTED]      = @selected_fg_color
	fg[ACTIVE]        = @selected_fg_color
	fg[INSENSITIVE]   = darker (@bg_color)
}

# Style to set the toolbar to use a flat style. This is because the "New" button in
# Evolution is not drawn transparent. So if there is a gradient in the background it will
# look really wrong.
# See http://bugzilla.gnome.org/show_bug.cgi?id=446953.
style "evo_new_button_workaround" {
}


# GTK tooltips
widget "gtk-tooltip*"  			style "tooltips"
# GIMP
# Disable gradients completely for GimpSpinScale
class "GimpSpinScale"                   style "gimp_spin_scale"
# Remove borders from "Wilbert frame" in Gimp
widget_class "*<GimpToolbox>*<GtkFrame>" style "gimp_toolbox_frame"

##############################################################################
# The following part of the gtkrc applies the different styles to the widgets.
###############################################################################


# The default style is applied to every widget
class "GtkWindow" 			style "default"
class "GtkWidget" 			style "default"
class "GtkFrame" 			style "wide"
class "GtkCalendar"			style "wide"
class "GtkCheckButton" 			style "checkbutton"
class "GtkEntry" 			style "entry"
class "GtkSpinButton" 			style "spinbutton"
class "GtkOldEditable" 			style "entry"
class "GtkNotebook"      		style "notebook"
class "GtkRange"         		style "range"
class "GtkProgressBar"     		style "progressbar"
class "GtkSeparatorMenuItem"		style "separator_menu_item"
class "GtkScrolledWindow"		style "scrolled_window"
class "GtkFrame"	                style "frame"
class "GtkToolbar"	                style "toolbar"
class "GtkButton" 			style "button"
class "GtkScale" 			style "scale"
class "GtkVScale" 			style "vscale"
class "GtkHScale" 			style "hscale"
class "GtkScrollbar" 			style "scrollbar"
class "GtkHScrollbar" 			style "scrollbar"
class "GtkVScrollbar" 			style "scrollbar"
class "GtkCalendar" 			style "calendar"
class "GtkInfoBar" 			style "infobar"
class "GtkIconView" 			style "iconview"
class "GimpSpinScale"                   style "gimp_spin_scale"
# General matching follows. The order is choosen so that the right styles override
# each other. EG. progressbar needs to be more important than the menu match.
widget_class "*<GtkNotebook>" 		style "notebook"
# This is not perfect, it could be done better.
# (That is modify *every* widget in the notebook, and change those back that
# we really don't want changed)
widget_class "*<GtkNotebook>*<GtkEventBox>" 	style "notebook_bg"
widget_class "*<GtkNotebook>*<GtkDrawingArea>" 	style "notebook_bg"
widget_class "*<GtkNotebook>*<GtkLayout>" 	style "notebook_bg"
widget_class "*<GtkNotebook>*<GtkLabel>" 	style "notebook_bg"
widget_class "*.GtkNotebook.*.GtkViewport" 	style "notebook"

widget_class "*<GtkToolbar>*" 			style "toolbar"
widget_class "*<GtkHandleBox>" 			style "toolbar"
widget_class "*<GtkScrolledWindow>*" 		style "scrolledwindow"

widget_class "*<GtkButton>" 			style "button"
widget_class "*<GtkButton>*<GtkLabel>" 		style "button"
widget_class "*<GtkToolbar>.*.<GtkButton>*"	style "button"
widget_class "*<GtkNotebook>" 			style "notebook"
widget_class "*<GtkStatusbar>" 			style "statusbar"
widget_class "*<GtkSpinButton>*" 		style "spinbutton"
widget_class "*<GtkNotebook>*<GtkButton>" 	style "notebook_button"
widget_class "*<GtkNotebook>*<GtkButton>*<GtkLabel>" style "notebook_button"
widget_class "*<GtkCheckButton>*" 		style "checkbutton"

widget_class "*GtkCheckButton*GtkLabel*" 	style "checkbutton"
widget_class "*<GtkComboBoxEntry>*" 		style "combobox_entry"
widget_class "*<GtkCombo>*" 			style "combobox_entry"


widget_class "*<GtkMenu>*" 			style "menu"

widget_class "*<GtkMenu>*" 			style "menu_framed_box"
widget_class "*<GtkMenuBar>*"			style "menubar"
widget_class "*<GtkMenuItem>*" 			style "menu_item"
widget_class "*<GtkMenuBar>.<GtkMenuItem>*"	style "menubar_item"
widget_class "*<GtkSeparatorMenuItem>*" 	style "separator_menu_item"
widget_class "*<GtkSeparatorToolItem>*" 	style "separator_tool_item"
widget_class "*<GtkMenuBar>.<GtkMenuItem>*" 	style "menubar_item"

widget_class "*.<GtkFrame>.<GtkLabel>" 		style "frame_title"
widget_class "*.<GtkTreeView>*" 		style "treeview"

widget_class "*<GtkProgress>" 			style "progressbar"
widget_class "*<GtkMenuItem>.*.<GtkProgressBar>" style "progressbar_menu_item"
widget_class "*<GtkMenuItem>.*.<GtkScale>" 	style "scale_menu_item"
widget_class "*<GtkMenuItem>.*.<GtkCalendar>" 	style "calendar_menu_item"
# Remove borders from "Wilbert frame" in Gimp
widget_class "*<GimpToolbox>*<GtkFrame>" 	style "gimp_toolbox_frame"
# Treeview headers (and similar stock GTK+ widgets)
widget_class "*.<GtkScrolledWindow>*<GtkTreeView>*" style "treeview_header_scrolled"
widget_class "*.<GtkTreeView>.<GtkButton>" 	style "treeview_header"
widget_class "*.<GtkCTree>.<GtkButton>" 	style "treeview_header"
widget_class "*.<GtkList>.<GtkButton>" 		style "treeview_header"
widget_class "*.<GtkCList>.<GtkButton>" 	style "treeview_header"
widget_class "*.<GtkTreeView>.<GtkButton>.*<GtkLabel>" style "treeview_header"
widget_class "*.<GtkCTree>.<GtkButton>.*<GtkLabel>" style "treeview_header"
widget_class "*.<GtkList>.<GtkButton>.*<GtkLabel>" style "treeview_header"
widget_class "*.<GtkCList>.<GtkButton>.*<GtkLabel>" style "treeview_header"
widget_class "*HandleBox"                       style "handlebox"
widget_class "*<GtkTreeView>*<GtkButton>*"      style "treeview_header"
widget_class "*<GtkComboBox>*<GtkSeparator>"	style "combobox_separator"
widget_class "*<GtkComboBox>"                   style "combobox"
widget_class "*<GtkComboBox>*<GtkButton>"       style "combobox_button"
widget_class "*<GtkFileChooserDefault>*<GtkToolbar>" style "inline_toolbar"
widget_class "*<GtkNotebook>*<GtkScrolledWindow>*<GtkViewport>"  style "notebook_viewport"
widget_class "*<GtkNotebook>*<GtkEntry>"                style "notebook_entry"
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkEntry>"       style "entry"
widget_class "*<GtkNotebook>*<GtkComboBoxEntry>*<GtkEntry>" style "notebook_combobox_entry"
widget_class "*<GtkNotebook>*<GtkEventBox>*<GtkComboBoxEntry>*<GtkEntry>" style "combobox_entry"
widget_class "*<GtkNotebook>.<GtkLabel>"                style "notebook_tab_label"
widget_class "*<GtkFileChooserDefault>*<GtkToolbar>*<GtkButton>" style "button_nohilight"
widget_class "*<GtkComboBoxEntry>*<GtkEntry>"   style "combobox_entry"
widget_class "*<GtkComboBoxEntry>*<GtkButton>"  style "combobox_entry_button"
widget_class "*<GtkInfoBar>*<GtkButton>"        style "button_nohilight"
# Eclipse/SWT
widget "gtk-tooltips*" 				style "tooltips"
widget "*swt-toolbar-flat"			style "null"
# Overlay scrollbar
widget_class "*<OsScrollbar>" 			style "overlay_scrollbar"
widget_class "*<OsThumb>" 			style "overlay_scrollbar"

# Openoffice, Libreoffice
widget "*openoffice-toplevel*"                style "ooo_stepper_hack"
widget "*openoffice-toplevel*GtkEntry"        style "libreoffice_entry"
widget "*openoffice-toplevel*GtkSpinButton"   style "libreoffice_entry"
widget "*libreoffice-toplevel*GtkEntry"       style "libreoffice_entry"
widget "*libreoffice-toplevel*GtkSpinButton"  style "libreoffice_entry"

##########################################################################
# Following are special cases and workarounds for issues in applications.
##########################################################################

# Workaround for the evolution ETable (bug #527532)
widget_class "*.ETable.ECanvas" style "treeview_header"
# Workaround for the evolution ETree
widget_class "*.ETree.ECanvas" style "treeview_header"
# Xchat special cases
widget "*xchat-inputbox"                                     style "entry"

# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that this work around assumes that the combobox is _not_ in appears-as-list mode.
widget_class "*.<GtkComboBox>.<GtkCellView>" style "text_is_fg_color_workaround"
# This is the part of the workaround that fixes the menus
widget "*.gtk-combobox-popup-menu.*" style "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.
widget_class "*<GtkListItem>*" style "fg_is_text_color_workaround"
# GtkCList also uses the fg color to draw text on top of the base colors.
widget_class "*<GtkCList>" style "fg_is_text_color_workaround"
# Nautilus when renaming files, and maybe other places.
widget_class "*<EelEditableLabel>" style "fg_is_text_color_workaround"
# Work around for ubuntu's lucid sound indicator
widget "ido-offscreen-scale" style "soundfix"
# Thickness for indicator menu items
widget "*IdoEntryMenuItem*" style "wide"

# See the documentation of the style.
widget_class "EShellWindow.GtkVBox.BonoboDock.BonoboDockBand.BonoboDockItem*" style "evo_new_button_workaround"

# We use this weird selector to target an offscreen entry as created
# by Chrome/Chromium to derive the style for its toolbar
widget_class "<GtkEntry>"                            style "standalone_entry"

style "performance-fix" {
	engine "murrine" {
		textstyle = 0
	}
}

widget_class "*gtkmm__GtkWindow*" style "performance-fix" # Inkscape
widget_class "*GimpDisplayShell*" style "performance-fix" # Gimp
widget_class "*GimpToolbox*" style "performance-fix"
widget_class "*GimpMenuDock*" style "performance-fix"
widget "*OOoFixed*" style "performance-fix" # Openoffice/Libreoffice
widget_class "*MozContainer*" style "performance-fix" # Firefox (Not sure if this one does anything though.)

