gtk-color-scheme = "base_color:#ffffff\nbg_color:#ededed"
gtk-color-scheme = "text_color:#202020\nfg_color:#363636"
gtk-color-scheme = "selected_bg_color:#3875d7\nselected_fg_color:#ffffff"
#gtk-color-scheme = "tooltip_bg_color:#2e3436\ntooltip_fg_color:#ffffff\nlink_color:#0033ff"
gtk-color-scheme = "tooltip_bg_color:#afd0f9\ntooltip_fg_color:#363636\nlink_color:#0033ff"
gtk_color_scheme = "menu_gradient:#4455F6"
gtk_color_scheme = "progressbar_color:#6ab2f5"
gtk-color-scheme = "theme_bg_dark_color:#D5D5D5\ntheme_fg_dark_color:#323232\ntheme_text_dark_color:#202020"
gtk-color-scheme = "sidebar_background:#e1e5eb"
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::image-spacing					= 4
	GtkToolButton::icon-spacing					= 4

	GtkCheckButton::indicator-size				= 18
	GtkRadioButton::indicator-size				= 18

	GtkEntry::honors-transparent-bg-hint		= 1
	GtkEntry::invisible-char					= 0x2022
	GtkEntry::progress-border					= {2, 2, 2, 2}
    GtkEntry::state-hint        				= 0

	GtkProgressBar::min-vertical-bar-width		= 13
	GtkProgressBar::min-horizontal-bar-height	= 13

	GtkExpander::expander-size					= 14

	GtkMenuBar::internal-padding				= 0
	GtkMenuBar::window-dragging					= 1
	# GtkMenuBar::shadow-type					= GTK_SHADOW_NONE # En Unity se habilita esta linea

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

	GtkNotebook::tab-overlap					= 2		# Default = 2
	GtkNotebook::tab-curvature					= 1		# Default = 1

	GtkPaned::handle-size						= 6

	GtkRange::trough-border						= 0
	GtkRange::slider-width						= 15
	GtkRange::stepper-size						= 1

	GtkScale::slider-length						= 14
	GtkScale::slider-width						= 14
	GtkScale::trough-side-details				= 1

	GtkScrollbar::has-backward-stepper			= 0  
	GtkScrollbar::has-forward-stepper			= 1   # El maldito rollo de gtk2 y las scrollbars
	GtkScrollbar::min-slider-length				= 30
	GtkScrollbar::slider-width					= 9
	GtkScrollbar::trough-border					= 3
	GtkScrollbar::activate-slider 				= 0
	GtkScrollbar::trough-side-details			= 0
	GtkScrollbar::stepper-size              	= 1

	GtkScrolledWindow::scrollbar-spacing		= 0
	GtkScrolledWindow::scrollbars-within-bevel	= 1

    GtkSpinButton::shadow_type 	                = GTK_SHADOW_ETCHED_OUT

	GtkToolbar::internal-padding				= 0
	GtkToolbar::window-dragging					= 1

	GtkTreeView::expander-size					= 7
	GtkTreeView::odd_row_color					= "#F4F6FA"
	# en eclipse afecta backcolor de "Quick Type Hierarchy (CTRL+T)"
	# GtkTreeView::even_row_color			= "#FFF"

	GtkWidget::link-color 						= @link_color
    GtkWidget::focus-padding					= 0
	WnckTasklist::fade-overlay-rect				= 0

    GtkWindow::resize-grip-height        		= 0 # Ocultar resize-grip
    GtkWindow::resize-grip-width         		= 0

	####################
	# Color Definitions
	####################
	bg[NORMAL]          = @bg_color
	bg[PRELIGHT]		= shade (1.02, @bg_color)
	bg[SELECTED]		= @selected_bg_color
	bg[INSENSITIVE] 	= shade (0.85, @base_color)
	bg[ACTIVE]          = shade (0.9, @bg_color)

	fg[NORMAL]          = @fg_color
	fg[PRELIGHT]		= @text_color
	fg[SELECTED]		= @selected_fg_color
	#fg[INSENSITIVE] 	= darker (@bg_color)
	fg[ACTIVE]          = @text_color

	text[NORMAL]		= @text_color
	text[PRELIGHT]		= @text_color
	text[SELECTED]		= @selected_fg_color
	text[INSENSITIVE]	= darker (@bg_color)
	text[ACTIVE]		= @selected_fg_color

	base[NORMAL]		= @base_color
	base[PRELIGHT]		= shade (0.95, @bg_color)
	base[SELECTED]		= @selected_bg_color
	#base[INSENSITIVE]	= shade (0.85, @base_color)
	base[ACTIVE]		= @selected_bg_color

	engine "murrine" {
		animation			= FALSE
		arrowstyle			= 1			# Estilo flechas menu (triangulos)
		colorize_scrollbar	= TRUE
		contrast			= 0.6
		#default_button_color	= shade (1.05, "#5c8fe9")
		expanderstyle		= 0			# Treview expander (triangulo)
		cellstyle			= 0	
		focusstyle			= 3
		focus_color			= shade(0.95, mix(0.85, "#83aadc", @bg_color))
		glazestyle			= 0 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
		glow_shade			= 1.0
		glowstyle			= 0 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = horizontal, 4 = centered glow
   		gradient_shades		= {1.10, 1.10, 0.95, 0.94}              
		highlight_shade		= 1.0
		lightborder_shade	= 1.0
		lightborderstyle	= 0 # 0 = top side, 1 = all sides
		listviewstyle		= 0 # 0 = nothing, 1 = dotted, 2 = line
		listviewheaderstyle	= 1	# 0 = flat, 1 = glassy, 2 = raised
		menubaritemstyle	= 0 # 0 = menuitem look, 1 = button look
		menubarstyle		= 1 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
		menuitemstyle		= 1 # 0 = flat, 1 = glassy, 2 = striped
		menustyle		    = 3 # 0 = no vertical menu stripe, 1 = display vertical menu stripe, 2 = faint? 3 = borderless
		prelight_shade		= .90 # shade level for scrollbar's slider, comboboxstyle(1), and prelight state with gradient_colors
		progressbarstyle	= 0
		reliefstyle			= 2 # 0 = flat, 1 = inset, 2 = shadow, 3 = shadow with gradient, 4 = stronger shadow with gradient
		rgba				= FALSE	# alpha transparency
		roundness			= 3 # 0 = square
		scrollbarstyle		= 0	# 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, 5 = horizontal stripes, 6 = horizontal stripes and handles
		separatorstyle 		= 1	# 0 = Hard seperators 1 = Smooth seperators
		shadow_shades		= {0.5, 0.0}
		sliderstyle			= 0	# 0 = nothing added, 1 = handles
		stepperstyle		= 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
		textstyle			= 0	# 0 = normal text, 1 = inset
		toolbarstyle		= 1 # 0 = flat, 1 = glassy, 2 = gradient
		trough_shades		= {0.95, 1.05}
	}
}

style "test" = "default" {
  fg[NORMAL]       	=  "#00FF00"
  fg[ACTIVE]       	=  "#00FF00"
  fg[PRELIGHT]     	=  "#00FF00"
  fg[SELECTED]     	=  "#00FF00"
  fg[INSENSITIVE]  	=  "#00FF00"

  bg[NORMAL]       	=  "#FF0000"
  bg[ACTIVE]        =  "#FF0000"
  bg[PRELIGHT]      =  "#FF0000"
  bg[SELECTED]      =  "#FF0000"
  bg[INSENSITIVE]  	=  "#FF0000"

  text[NORMAL]      =  "#0000FF"
  text[ACTIVE]      =  "#0000FF"
  text[PRELIGHT]    =  "#0000FF"
  text[SELECTED]    =  "#0000FF"
  text[INSENSITIVE] =  "#0000FF"

  base[NORMAL]      =  "#FFFF00"
  base[ACTIVE]      =  "#FFFF00"
  base[PRELIGHT]    =  "#FFFF00"
  base[SELECTED]    =  "#FFFF00"
  base[INSENSITIVE] =  "#FFFF00"
}

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

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

style "button" {
    xthickness	= 3
    ythickness	= 3    
	#bg[ACTIVE]                      = shade (1.05, @selected_bg_color)	# Pulsado #80B8EA
    #bg[PRELIGHT]                    = @bg_color
	#bg[SELECTED]    			    = shade (1.25, "#5c8fe9")	# Default
    #bg[ACTIVE]                      = shade (0.98, "#89b6eb")	# Pulsado "#80B8EA"

	bg[ACTIVE]                      = shade (1.1, "#5c8fe9")
    bg[NORMAL]                      = shade (1.00, @bg_color)
    bg[PRELIGHT]    			    = shade (1.02, @bg_color)
	bg[SELECTED]    			    = shade (0.90, "#89b6eb")	# Default enter
	bg[INSENSITIVE] 			    = shade (0.93, @bg_color)

	engine "murrine" {
		border_shades           = {1.0, 0.85}
		contrast                = 1.02
		gradient_shades         = {1.25,1.05,1.01,1.04}
		focusstyle				= 0
		lightborderstyle		= 0
		lightborder_shade		= 1.2
        glowstyle			    = 2 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = horizontal, 4 = centered glow
		glow_shade              = 1.2
		textstyle               = 2
		text_shade				= 0.7
        reliefstyle			    = 2        
	}
}


style "combobox" = "button" {
	#bg[PRELIGHT]                      = shade (0.98, "#89b6eb")	# Pulsado "#80B8EA"
	engine "murrine" {
		#gradient_shades         = {1.23,1.05,1.01,1.04}
		focusstyle				= 3
	}
}

style "checkradio_label" {	
	fg[ACTIVE]		= @text_color		# Forzar color texto en radiobutton-eclipse
}

style "checkbutton" {
	engine "pixmap" {
		image {
			function = CHECK
			recolorable = TRUE
			state = NORMAL
			shadow = OUT
			overlay_file = "assets/l-checkbox-unchecked-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = CHECK
			recolorable = TRUE
			state = PRELIGHT
			shadow = OUT
			overlay_file = "assets/l-checkbox-unchecked-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = CHECK
			recolorable = TRUE
			state = ACTIVE
			shadow = OUT
			overlay_file = "assets/l-checkbox-unchecked-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = CHECK
			recolorable = TRUE
			state = INSENSITIVE
			shadow = OUT
			overlay_file = "assets/checkbox-unchecked-insensitive-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = CHECK
			recolorable = TRUE
			state = NORMAL
			shadow = IN
			overlay_file = "assets/l-checkbox-checked-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = CHECK
			recolorable = TRUE
			state = PRELIGHT
			shadow = IN
			overlay_file = "assets/l-checkbox-checked-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = CHECK
			recolorable = TRUE
			state = ACTIVE
			shadow = IN
			overlay_file = "assets/l-checkbox-checked-18.png"
			overlay_stretch = FALSE
		}


		image {
			function = CHECK
			recolorable = TRUE
			state = INSENSITIVE
			shadow = IN
			overlay_file = "assets/checkbox-checked-insensitive-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = FLAT_BOX
			recolorable = TRUE
			stretch = TRUE
			file = "assets/null.png"
			# border = {2, 2, 2, 2}
		}
	}
}

style "entry" { # text
	xthickness	= 3
	ythickness	= 3

	base[NORMAL] 		=  @base_color		# background text-box
	base[SELECTED] 		=  "#B5D5FF"		# background texto seleccionado
	base[ACTIVE]		=  "#B5D5FF"		# background texto seleccionado
	base[INSENSITIVE] 	=  shade(0.85, @base_color)		# background text-box disabled

	bg[NORMAL] 			=  @bg_color		# base para color de bordes
  	bg[INSENSITIVE] 	=  shade(0.85, @base_color)		# background boton spin disabled (creo que es un bug)

	text[SELECTED] 		= @text_color
	text[ACTIVE] 		= @text_color

	#bg[SELECTED]	= mix (0.5, @selected_bg_color, @base_color)
	#fg[SELECTED]	= @text_color

	engine "murrine" {
		contrast	= 0.7		
		roundness	= 2		
		border_shades 		= {1.2, 0.90}
		focus_color			= shade(0.75, mix(0.95, "#83aadc", @bg_color))
        
	}
}

style "expander" {
	bg[NORMAL]		= "#FFF"
	fg[NORMAL]		= shade (2.0, @text_color)
	fg[PRELIGHT]		= shade (2.0, @text_color)

	engine "murrine" {
		contrast	= 1.2
		gradient_shades	= {1.0, 1.0, 1.0, 1.0}
	}
}

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

style "handle" {

}
class "GtkPaned"	style "handle"

style "menubar" {
    # Modificado
	xthickness	= 3
	ythickness	= 3

    fg[NORMAL]          = shade (1.4, @fg_color)
	bg[NORMAL]			= @theme_bg_dark_color

	engine "murrine" {
		gradient_shades     	= {1.00,0.95,0.96,0.92}
        border_shades 			= {1.0, 1.0}
		contrast            	= 1.00
		lightborderstyle		= 0
	}
}

style "menu" {
	xthickness	= 0
	ythickness	= 0

	bg[NORMAL]	= shade (1.05, "#ededed")

	GtkMenuItem::arrow-scaling	= 0.5
	
	engine "murrine" {
		gradient_shades		= {1.0, 1.0, 1.0, 1.0}
		border_shades		= {1.1, 0.9}
		roundness			= 0 # 0 = squared
        contrast            = 0.8
	}
}

style "menu_item_white" {
	xthickness	= 2
	ythickness	= 3

	fg[PRELIGHT]	= @selected_fg_color
    bg[PRELIGHT]	= @menu_gradient
    bg[SELECTED]	= @menu_gradient

	engine "murrine" {
        gradient_shades		= {1.20, 1.10, 1.10, 1.00}
        roundness           = 1
		border_shades 		= {1.60, 1.0}
        roundness           = 1
        contrast            = 0.9
	}
}

style "menu_item_black" {
	xthickness	= 2
	ythickness	= 3

	fg[PRELIGHT]	= @selected_fg_color
    bg[PRELIGHT]      = shade (0.94, "#3C3CF0")
    bg[SELECTED]      = shade (0.94, "#3C3CF0")

	engine "murrine" {
        gradient_shades		= {1.30, 1.15, 1.15, 1.00}
        roundness           = 1
        #contrast            = 0.0
	}
}

style "notebook" { 
    xthickness	= 2  
	ythickness	= 2

	bg[NORMAL]				= shade (0.96, @bg_color)	# selected tab entire
	bg[ACTIVE]				= shade (1.04, @bg_color)	# unselected tab

	engine "murrine" {
		gradient_shades		= {1.18,0.96,0.92,0.92}
        #gradient_shades    = {1.25,1.05,1.01,1.04}
		contrast 			= 0.75
		roundness 			= 3
		focusstyle			= 2
		focus_color			= shade (0.96, @bg_color)
	}

}

style "progressbar" {
	xthickness	= 0
	ythickness	= 0

	bg[SELECTED]		=  shade (1.00, @progressbar_color)

	engine "murrine" {
		gradient_shades		= {1.17, 1.00, 1.01, 1.12}
		roundness			= 3
	}
}

style "radiobutton" {
	engine "pixmap" {
		image {
			function = OPTION
			recolorable = TRUE
			state = NORMAL
			shadow = OUT
			overlay_file = "assets/l-radio-unselected-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = OPTION
			recolorable = TRUE
			state = PRELIGHT
			shadow = OUT
			overlay_file = "assets/l-radio-unselected-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = OPTION
			recolorable = TRUE
			state = ACTIVE
			shadow = OUT
			overlay_file = "assets/l-radio-unselected-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = OPTION
			recolorable = TRUE
			state = INSENSITIVE
			shadow = OUT
			overlay_file = "assets/radio-unselected-insensitive-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = OPTION
			recolorable = TRUE
			state = NORMAL
			shadow = IN
			overlay_file = "assets/l-radio-selected-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = OPTION
			recolorable = TRUE
			state = PRELIGHT
			shadow = IN
			overlay_file = "assets/l-radio-selected-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = OPTION
			recolorable = TRUE
			state = ACTIVE
			shadow = IN
			overlay_file = "assets/l-radio-selected-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = OPTION
			recolorable = TRUE
			state = INSENSITIVE
			shadow = IN
			overlay_file = "assets/radio-selected-insensitive-18.png"
			overlay_stretch = FALSE
		}

		image {
			function = FLAT_BOX
			recolorable = TRUE
			stretch = TRUE
			file = "assets/null.png"
			# border = {2, 2, 2, 2}
		}
	}
}

style "scale" { # slider
	GtkScale::trough-border = 0
	GtkScale::slider-width = 16
	GtkScale::slider-length = 16
	# GtkScale::slider-length = 15
	GtkScale::trough-side-details = 1

	xthickness	= 2
	ythickness	= 2

	bg[SELECTED]            = shade (0.62, @bg_color)

	engine "murrine" {
		sliderstyle			= 0 						# forma del slider
		contrast 			= 0.8						# borde de todos los elementos
		#gradient_shades 	= {1.1, 1.0, 1.0, 0.88}		# gradiente del slider
		gradient_shades 	= {0.85, 0.96, 0.94, 0.80}		# gradiente del slider
		border_shades 		= {0.9, 0.8}				# borde del slider
		roundness 			= 15    # antes 2
		lightborder_shade 	= 1.30						# brillo del trough-higlight
		trough_border_shades = {0.9, 1.12}
		glow_shade          = 1.80
        glowstyle			= 3 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = horizontal, 4 = centered glow
		reliefstyle = 0
#		shadow_shades = { 1.0, 0.9 }
	}
}

style "scrollbar" {
	bg[SELECTED]                = shade (0.74, @base_color)
	bg[ACTIVE]                  = shade (0.96, @base_color)

    # color flechas (stepper)	
    fg[NORMAL]          = shade (1.00, @base_color)
	fg[PRELIGHT]		= shade (1.00, @base_color)
	fg[ACTIVE]		    = shade (1.00, @base_color)
    fg[SELECTED]        = shade (1.00, @base_color)
    fg[INSENSITIVE]     = shade (1.00, @base_color)
	
	engine "murrine" {
        roundness               = 8
        gradient_shades			= {1.0,1.0,1.0,1.0}
        highlight_shade			= 1.0
        glow_shade              = 1.0
        #reliefstyle             = 0
        prelight_shade          = .75
        gradient_colors         = FALSE
        lightborder_shade       = 1.0
        lightborderstyle        = 0
        trough_shades           = {0.935, 1.00}
        border_shades           = {0.935, 1.00}
        contrast                = 0.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 "spinbutton"  { # input/stepper 
	bg[NORMAL]		= @base_color
    # Colores flechas-spin
    # fg[NORMAL]        = "#F00"        # color flechas boton-spin
    # fg[ACTIVE]        = "#f00"        # color flechas boton-spin pulsada
    # fg[INSENSITIVE]   = "#F00"        # color flechas boton-spin disabled
    # fg[PRELIGHT]      = "#F00"        # color flechas boton-spin prelight

    # Colores entry-spin
    # base[NORMAL]      = "#F00"        # color fondo entry-spin
    # base[INSENSITIVE] = "#F00"        # color fondo entry-spin disabled

    # Colores boton-spin
    # bg[NORMAL]        = "#F00"        # color boton-spin y borde entry-spin 
    # bg[INSENSITIVE]   = "#F00"        # color boton-spin disabled
    # bg[SELECTED]      = "#F00"        # color focus borde entry-spin

    # text[NORMAL]        = "#F00"        # color texto entry-spin
    # text[SELECTED]      = "#F00"        # color texto seleccionado entry-spin
    # text[ACTIVE]        = "#F00"        # color texto seleccionado entry-spin unfocused
    # text[INSENSITIVE]   = "#F00"        # color texto disabled 
	engine "murrine" {
        gradient_shades         = {0.93,1.00,1.00,1.00}	
		contrast			= 0.70
		lightborderstyle	= 1
		border_shades       = {1.0, 0.7}
        lightborder_shade	= 1.00
	}
}

style "toolbar" {
 	
	engine "murrine" {
		contrast                = 0.80
		lightborder_shade		= 1.00       
		gradient_shades     	= {0.98,1.00,1.00,1.02}        
		# gradient_shades     	= {1.00,0.98,0.98,0.96}  # En Unity
	}
}

style "toolbar_button" {
    xthickness	= 3
    ythickness	= 3

	bg[NORMAL]		= shade(0.90, @bg_color)
    bg[PRELIGHT] 	= shade(0.91, @bg_color)
    bg[ACTIVE] 		= shade(0.76, @bg_color)
	bg[SELECTED] 	= shade(0.80, @bg_color)
	bg[INSENSITIVE] = shade(0.83, @bg_color)
	fg[ACTIVE]		= @text_color

	fg[INSENSITIVE]	= shade(0.80, @bg_color)

	engine "murrine" {
		gradient_shades     	= {1.00,0.96,0.96,0.90}
		border_shades           = {1.10, 1.00}
		contrast                = 1.00
		lightborderstyle		= 1
		lightborder_shade       = 1.1
        glow_shade              = 1.0
		textstyle               = 1
	}
}

style "tooltips" {
	xthickness	= 8
	ythickness	= 4

	bg[NORMAL]	    = @tooltip_bg_color
	fg[NORMAL]	    = @tooltip_fg_color

	GtkWidget::new-tooltip-style	= TRUE

	engine "murrine" {
		border_colors	= {shade(0.85, @tooltip_bg_color), shade(0.75, @tooltip_bg_color) }
		roundness		= 4
	}
}

style "treeview" {
	#base[SELECTED]  = shade (1.00, @selected_bg_color)		# seleccion row focused
	#base[ACTIVE]  	= shade (1.00, @selected_bg_color)		# seleccion row unfocused

	fg[NORMAL]		= shade (1.00, @fg_color)				# header txt color
	bg[SELECTED]	= shade (1.00, @selected_bg_color)		# backgr mini-checkbox checked
	text[NORMAL]    = shade (1.05, @fg_color)				# txt+indicador checked normal
	text[SELECTED]  = @selected_fg_color					# txt+indicador selected focused
	text[ACTIVE] 	= @selected_fg_color					# txt+indicador selected unfocused
	engine "murrine" {
		gradient_shades		= {1.00, 1.05, 1.05, 1.10}
        separatorstyle = 0
	}

}

style "treeview_header" = "button" {
	ythickness	= 1
    GtkWidget	::focus-padding		= 0

    bg[ACTIVE]                      = shade (1.00, "#80B8EA")	# Pulsado
    bg[NORMAL]                      = shade (0.95, "#FFF")
    bg[PRELIGHT]                    = shade (1.05, "#80B8EA")
	bg[SELECTED]    			    = shade (0.95, "#80B8EA")	# Default enter
	bg[INSENSITIVE] 			    = shade (1.00, "#FFF")

	engine "murrine" {
		border_shades           = {1.2, 1.05}
		contrast                = 1.22
		gradient_shades         = {1.20,1.02,0.99,1.15}

		lightborderstyle		= 1
		textstyle               = 1
	}
}

style "checkradio" = "button" {
    xthickness	= 3
    ythickness	= 3
	GtkRadioButton::indicator-size				= 16	

	base[NORMAL]					= shade (0.95, @base_color)			# radiocheck normal
	bg[SELECTED]    			    = shade (1.25, "#5c8fe9")			# radiocheck color checked

	text[NORMAL]                    = shade (0.50, @selected_bg_color)	# indicador normal    
	text[PRELIGHT]                  = shade (0.35, @selected_bg_color)	# indicador hover
	text[ACTIVE]					= shade (0.15, @selected_bg_color)	# indicador click

    bg[ACTIVE]                      = shade (0.80, @bg_color)	# button option "#80B8EA"

	engine "murrine" {
		reliefstyle = 3
	}
}

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

# The default style is applied to every widget
class "GtkWidget"				style "default"
class "GtkSeparator"			style "wide"
class "GtkFrame"				style "wide"
class "GtkCalendar"				style "wide"
class "GtkEntry"				style "entry"


class "GtkSpinButton"			style "spinbutton"
class "GtkScale"				style "scale"
class "GtkVScale"				style "scale"
class "GtkHScale"				style "scale"

class "GtkScrollbar"			style "scrollbar"
#widget "*ToggleSwitch*"	        style "toolbar_button"
widget_class "*<GtkToolbar>" style "toolbar"
widget_class "*<GtkHandleBox>" style "toolbar"

# Overlay scrollbar
widget_class "*<OsScrollbar>" 	style "overlay_scrollbar"
widget_class "*<OsThumb>" 		style "overlay_scrollbar"
# 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 "*<GtkButton>"			    	style "button"
widget_class "*<GtkComboBox>.<GtkButton>" 	style "combobox"

widget_class "*<GtkNotebook>"			style "notebook"

widget_class "*<GtkSpinButton>.*.<GtkEntry>" style "entry"
widget_class "*<GtkMenuBar>*"			style "menubar"
widget_class "*<GtkMenu>*"			    style "menu"
widget_class "*<GtkMenuItem>*"			style "menu_item_white"
#widget_class "*<GtkMenuBar>.<GtkMenuItem>*"	style "menu_item_white"
#widget_class "*<GtkMenuBar>.<GtkMenuItem>*"	style "menu_item_black"

widget_class "*<GtkToolbar>.*.<GtkButton>*" style:highest  "toolbar_button"


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

class "*GtkExpander*"  					style "expander"

widget_class "*<GtkProgress>"			style "progressbar"

# Treeview headers (and similar stock GTK+ widgets)
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"

# The window of the tooltip is called "gtk-tooltip"
widget "gtk-tooltip*"				style "tooltips"


widget_class "*<GtkCheckButton>*" 				style		  "checkbutton"
widget_class "*<GtkCheckButton>*<GtkLabel>"		style:highest "checkradio_label"


widget_class "*<GtkRadioButton>*"				style 		  "checkradio"
widget_class "*<GtkDialog>*<GtkRadioButton>*"	style:highest "radiobutton"
widget_class "*<GtkFrame>*<GtkRadioButton>*"	style:highest "radiobutton"
widget_class "*<GtkNotebook>*<GtkRadioButton>*" style:highest "radiobutton"
widget_class "*<GtkRadioButton>*<GtkLabel>"		style:highest "checkradio_label"

##########################################################################
# Following are special cases and workarounds for issues in applications.
##########################################################################
# Firefox
style "FireFox-MenuBar" = "menubar" {
	GtkMenuBar::shadow-type = GTK_SHADOW_OUT
	engine "murrine" {
		contrast = 0.0
	}
}
widget "MozillaGtkWidget*GtkMenuBar" 			style "FireFox-MenuBar"
widget "MozillaGtkWidget*GtkCheck*"				style:highest "checkbutton"
widget "MozillaGtkWidget*GtkRadio*"				style:highest "radiobutton"

# For Google Chrome/Chromium integration.
style "chrome-gtk-frame" {
    ChromeGtkFrame::frame-gradient-size		    	= 120
    ChromeGtkFrame::frame-color			        	= shade (0.46, @bg_color)
    ChromeGtkFrame::inactive-frame-color			= shade (0.46, @bg_color)
    ChromeGtkFrame::frame-gradient-color		    = shade (0.96, @bg_color)
    ChromeGtkFrame::inactive-frame-gradient-color	= shade (0.96, @bg_color)
    ChromeGtkFrame::scrollbar-trough-color 			= shade (1.00, @bg_color)
    ChromeGtkFrame::scrollbar-slider-prelight-color = shade (0.85, @bg_color)
    ChromeGtkFrame::scrollbar-slider-normal-color 	= shade (0.78, @bg_color)
}
class "ChromeGtkFrame"	style "chrome-gtk-frame"

# 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)
}
widget_class "*.<GtkComboBox>.<GtkCellView>"	style "text_is_fg_color_workaround"

# 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]	= darker (@bg_color)
}
widget "*.gtk-combobox-popup-menu.*"	style "menuitem_text_is_fg_color_workaround"

# 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)
}
widget_class "*<GtkListItem>*"		style "fg_is_text_color_workaround"
widget_class "*<GtkCList>"		    style "fg_is_text_color_workaround"
widget_class "*<EelEditableLabel>"	style "fg_is_text_color_workaround"

# For gvim scrollbars.
style "vim-scrollbar" = "scrollbar" {
	GtkScrollbar	::slider_width		= 16
	GtkScrollbar	::stepper_size		= 16

	engine "pixmap" {
		image {
			function	= BOX
			orientation	= VERTICAL
			file		= "assets/scroll-background.png"
		}
	}
}
widget "vim-main-window.*Scrollbar*"	style "vim-scrollbar"

# For Eclipse (swt) toolbars.
widget "*swt*toolbar*"			style "default"

# ---------------------------------
# Xfce panel theming
# ---------------------------------
style "xfce-panel" {
    fg[NORMAL]          = @fg_color
    fg[PRELIGHT]        = @selected_fg_color
    fg[ACTIVE]          = @selected_fg_color
    fg[SELECTED]        = @selected_fg_color

    bg[NORMAL]          = shade (1.00, @theme_bg_dark_color)
    bg[PRELIGHT]        = shade (0.60, @theme_bg_dark_color)
    bg[ACTIVE]          = shade (0.80, mix(0.30, @bg_color, @selected_bg_color))
    bg[SELECTED]        = shade (1.20, @selected_bg_color)
    engine "murrine" {
        gradient_shades     = {0.75, 0.85, 0.85, 0.95}
        roundness           = 2
        contrast            = 0.2
		glowstyle			= 1 # 0 = top, 1 = bottom, 2 = top and bottom, 3 = horizontal, 4 = centered glow
        glow_shade          = 1.25
    }
    xthickness = 3
    ythickness = 3
}
widget "*Xfce*Panel*"   style "xfce-panel"
class "*Xfce*Panel*"    style "xfce-panel"

# XFCE desktop icon text looks weird when murrine textstyle is on.
style "xfdesktop-icon-view" { engine "murrine" { textstyle = 0 }}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

# widget "xfwm4-tabwin*" style "murrine-dark"
include "apps/thunar.rc"		# thunar especific
include "apps/terminal.rc"
include "apps/gmusicbrowser.rc"

##########################################
# CAJA	
##########################################

style "caja-sidebar"
{

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

	GtkTreeView::odd_row_color = "#E1E5EB"
	GtkTreeView::even_row_color = "#E1E5EB"

}

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

# CAJA
widget_class	"*Caja*Places*Sidebar*"	style "caja-sidebar"
widget "*.caja-extra-view-widget" style : highest "caja-location"
