#Based on Clearlooks Revamp 0.45

gtk_color_scheme = "base_color:#ffffff\nfg_color:#212121\ntooltip_fg_color:#EDEDED\nselected_bg_color:#accd8a\nselected_fg_color:#ffffff\ntext_color:#1A1A1A\nbg_color:#D6D6D6\ntooltip_bg_color:#FBEAA0\nmenu_fg_color:#212121\nmenu_bg_color:#FEFEFE\nfocus_color:#94b06f"

#gtk-menu-popup-delay    = 1
gtk-button-images	= 0
gtk-icon-sizes		= "gtk-button=16,16"

style "default"
{

	GtkWidget::new-tooltip-style 	  	  	= 0

	GtkButton::child-displacement-x 	  	= 1
	GtkButton::child-displacement-y 	  	= 1
	GtkButton::default-border       	  	= { 0, 0, 0, 0 }

	GtkPaned::handle-size          		  	= 6

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

	GtkScrollbar::min-slider-length	          	= 30
	GtkScrollbar::has_secondary_backward_stepper	= 1
	GtkScrollbar::has_secondary_forward_stepper	= 0

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


	GtkMenuBar::internal-padding  	                = 0
	#GtkMenuBar::internal-padding  	                = 0
	
	GtkExpander::expander-size    	                = 14
	GtkExpander::expander_spacing                   = 16

	GtkToolbar::internal-padding  	                = 1

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

	GtkStatusbar::shadow_type    		        = GTK_SHADOW_NONE

	WnckTasklist::fade-overlay-rect  	        = 0

	GtkEntry::honors-transparent-bg-hint            = 1
	GtkEntry::progress-border 		        = { 2, 2, 2, 2 }
	#GtkEntry::invisible_char = 0x2665

	GtkMenuBar::window-dragging 		        = 1

	font_name = "9"

	xthickness = 1
	ythickness = 1

	fg[NORMAL]        = @fg_color
	fg[PRELIGHT]      = @fg_color
	fg[SELECTED]      = @selected_fg_color
	fg[ACTIVE]        = @fg_color
	fg[INSENSITIVE]   = shade (5.0, @menu_fg_color)

	bg[NORMAL]        = @bg_color
	bg[PRELIGHT]      = shade (1.02, @bg_color)
	bg[SELECTED]	  = @selected_bg_color
	bg[INSENSITIVE]   = @bg_color
	bg[ACTIVE]        = shade (1.04, @bg_color)

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

	text[NORMAL]      = @text_color
	text[PRELIGHT]    = @text_color
	text[ACTIVE]      = @selected_fg_color
	text[SELECTED]    = @selected_fg_color
	text[INSENSITIVE] = shade (5.0, @menu_fg_color)

	engine "murrine" 
	{
		animation           = TRUE
		colorize_scrollbar  = TRUE
		contrast            = 0.8
		glazestyle          = 3 # 0 = flat highlight, 1 = curved highlight, 2 = concave style, 3 = top curved highlight, 4 = beryl highlight
		gradient_shades     = {1.1,1.07,1.01,0.98} 
		progressbarstyle    = 1
		focus_color         = "#94b06f"
		glowstyle	    = 0
		glow_shade          = 1.3
		highlight_shade     = 1.07
		lightborder_shade   = 1.36
		lightborderstyle    = 1 # 0 = lightborder on top side, 1 = lightborder on all sides
		listviewheaderstyle = 1 # 0 = flat, 1 = glassy, 2 = raised
		listviewstyle       = 1 # 0 = nothing, 1 = dotted
		menubaritemstyle    = 1 # 0 = menuitem look, 1 = button look
		menubarstyle        = 0 # 0 = flat, 1 = glassy, 2 = gradient, 3 = striped
		menuitemstyle       = 1 # 0 = flat, 1 = glassy, 2 = striped
		menustyle           = 0 # 0 = no vertical menu stripe, 1 = display vertical menu stripe
		reliefstyle	    = 4 # 0 = flat, 1 = inset, 2 = shadow
		rgba		    = FALSE
		roundness           = 3
		scrollbarstyle      = 0 # 0 = nothing, 1 = circles, 2 = handles, 3 = diagonal stripes, 4 = diagonal stripes and handles, blablabla..
		sliderstyle         = 1 # 0 = nothing added, 1 = handles
		separatorstyle	    = 1
		stepperstyle        = 1 # 0 = standard, 1 = integrated stepper handles, 2 = unknown
		toolbarstyle	    = 1 # 0 = flat, 1 = glassy, 2 = gradient
		spinbuttonstyle     = 0
		comboboxstyle	    = 0
		arrowstyle 	    = 1
		

	}
}

style "wid" 
{
	xthickness = 1
	ythickness = 1

}

style "wide" 
{
	xthickness = 2
	ythickness = 2

	bg[SELECTED]	= @selected_bg_color
}

style "wider"
{
	xthickness = 3
	ythickness = 3

	bg[SELECTED]	= @selected_bg_color
}

style "button" = "wider"
{

	bg[NORMAL]      = shade (1.13, @bg_color)
	bg[PRELIGHT]    = mix (0.96, @bg_color, @focus_color)
	bg[ACTIVE]      = shade (0.8, @bg_color)
	bg[INSENSITIVE] = shade (1.055, @bg_color)
	bg[SELECTED]    = @focus_color
	
	
	engine "murrine" {
		contrast 	    = 1.0
		highlight_shade	    = 1.02
		lightborder_shade   = 1.7
		gradient_shades     = {1.3,1.25,1.01,0.92} 
		border_shades 	    = {1.03,0.8}
		shadow_shades	    = {0.5,0.0}
		reliefstyle 	    = 3
	}
}

style "entry" = "wider"
{

	#GtkEntry::invisible_char = 0x2665

	base[NORMAL] = @base_color
	bg[INSENSITIVE] = @bg_color

	engine "murrine" {border_shades = {1.35,0.98}}
}


#style "notebook"
#{
#	xthickness = 2
#	ythickness = 2
#
#	bg[ACTIVE]   = shade (0.89, @bg_color)
#	bg[NORMAL]   = shade (1.09, @bg_color)
#	bg[SELECTED] = @selected_bg_color
#	fg[ACTIVE]   = shade (2.8, @fg_color)
#
#	engine "murrine" {
#		roundness = 2
#		contrast = 1.0
#		highlight_shade = 1.0
#		gradient_shades = {1.28,1.17,0.92,0.87} 
#	}
#}

style "notebook"
{

GtkNotebook::tab-overlap = 6

	xthickness = 4
	ythickness = 4

	bg[ACTIVE]   = shade (0.89, @bg_color)
	bg[NORMAL]   = @bg_color
	bg[SELECTED] = @selected_bg_color
	fg[ACTIVE]   = shade (2.8, @fg_color)

	engine "pixmap"
	{

	#BOXES
		
		image 

      		{function	= BOX_GAP
		recolorable	= TRUE
		file		= "Notebook/bg.png" 
		border		= { 3, 4, 4, 0}
		state		= NORMAL
		stretch		= TRUE
		gap_side	= TOP
		gap_file	= "Notebook/gap.png"
		gap_border	= { 3 ,3 ,0 ,0}
		gap_start_file	= "Notebook/gap-start.png"
		gap_start_border= { 0 ,0 ,0 ,0}
		gap_end_file		= "Notebook/null.png"
		detail		= "notebook"}


		image 

      		{function	= BOX_GAP
		recolorable	= TRUE
		file		= "Notebook/bg-bottom.png" 
		border		= { 3, 3, 0, 5}
		stretch		= TRUE
		gap_side	= BOTTOM
		gap_file	= "Notebook/gap.png"
		gap_border	= { 3 ,3 ,0 ,0}
		gap_start_file	= "Notebook/gap-b-start.png"
		gap_start_border= { 3 ,0 ,0 ,0}
		gap_end_file		= "Notebook/null.png"
		detail		= "notebook"}

		image 

      		{function	= BOX_GAP
		recolorable	= TRUE
		file		= "Notebook/bg-left.png" 
		border		= { 5, 0, 3, 3}
		stretch		= TRUE
		gap_side	= LEFT
		gap_file	= "Notebook/gap-v.png"
		gap_border	= { 0 ,0 ,3 ,3}
		gap_start_file	= "Notebook/gap-l-start.png"
		gap_start_border= { 0 ,0 ,3 ,0}
		gap_end_file		= "Notebook/null.png"
		detail		= "notebook"}	

		image 

      		{function	= BOX_GAP
		recolorable	= TRUE
		file		= "Notebook/bg-right.png" 
		border		= { 0, 5, 3, 3}
		stretch		= TRUE
		gap_side	= RIGHT
		gap_file	= "Notebook/gap-v.png"
		gap_border	= { 0 ,0 ,3 ,3}
		gap_start_file	= "Notebook/gap-r-start.png"
		gap_start_border= { 0 ,0 ,3 ,0}
		gap_end_file		= "Notebook/null.png"
		detail		= "notebook"}

		image 

      		{function	= BOX
		recolorable	= TRUE
		file		= "Notebook/bg.png" 
		border		= { 3, 4, 5, 0}
		stretch		= TRUE}

	#TABS
		#top tabs
		image 

      		{function	= EXTENSION
		recolorable	= TRUE
		file		= "Notebook/tab-v-normal.png" 
		border		= { 4, 4, 5, 0}
		state		= NORMAL
		stretch		= TRUE
		gap_side	= BOTTOM
		gap_file	= "Notebook/null.png"
		gap_border	= { 0 ,0 ,0 ,0}
		gap_start_file	= "Notebook/null.png"
		gap_start_border= { 0 ,0 ,0 ,0}
		gap_end_file		= "Notebook/null.png"
		detail		= "tab"}


		image 

      		{function	= EXTENSION
		recolorable	= TRUE
		file		= "Notebook/tab-v-active.png" 
		border		= { 4, 4, 5, 0}
		state		= ACTIVE
		stretch		= TRUE
		gap_side	= BOTTOM

		detail		= "tab"}

		#bottom tabs
		image 

      		{function	= EXTENSION
		recolorable	= TRUE
		file		= "Notebook/tab-b-normal.png" 
		border		= { 4, 4, 0, 5}
		state		= NORMAL
		stretch		= TRUE
		gap_side	= TOP
		gap_file	= "Notebook/null.png"
		gap_border	= { 0 ,0 ,0 ,0}
		gap_start_file	= "Notebook/null.png"
		gap_start_border= { 0 ,0 ,0 ,0}
		gap_end_file		= "Notebook/null.png"
		detail		= "tab"}


		image 

      		{function	= EXTENSION
		recolorable	= TRUE
		file		= "Notebook/tab-b-active.png" 
		border		= { 4, 4, 0, 5}
		state		= ACTIVE
		stretch		= TRUE
		gap_side	= TOP
		detail		= "tab"}

		#left tabs
		image 

      		{function	= EXTENSION
		recolorable	= TRUE
		file		= "Notebook/tab-l-normal.png" 
		border		= { 5, 0, 4, 4}
		state		= NORMAL
		stretch		= TRUE
		gap_side	= RIGHT
		gap_file	= "Notebook/null.png"
		gap_border	= { 0 ,0 ,0 ,0}
		gap_start_file	= "Notebook/null.png"
		gap_start_border= { 0 ,0 ,0 ,0}
		gap_end_file		= "Notebook/null.png"
		detail		= "tab"}


		image 

      		{function	= EXTENSION
		recolorable	= TRUE
		file		= "Notebook/tab-l-active.png" 
		border		= { 5, 0, 4, 4}
		state		= ACTIVE
		stretch		= TRUE
		gap_side	= RIGHT
		detail		= "tab"}

		#right tabs
		image 

      		{function	= EXTENSION
		recolorable	= TRUE
		file		= "Notebook/tab-r-normal.png" 
		border		= { 0, 5, 4, 4}
		state		= NORMAL
		stretch		= TRUE
		gap_side	= LEFT
		gap_file	= "Notebook/null.png"
		gap_border	= { 0 ,0 ,0 ,0}
		gap_start_file	= "Notebook/null.png"
		gap_start_border= { 0 ,0 ,0 ,0}
		gap_end_file		= "Notebook/null.png"
		detail		= "tab"}


		image 

      		{function	= EXTENSION
		recolorable	= TRUE
		file		= "Notebook/tab-r-active.png" 
		border		= { 0, 5, 4, 4}
		state		= ACTIVE
		stretch		= TRUE
		gap_side	= LEFT
		detail		= "tab"}

		image
		{function		= FOCUS
		file			= "Null/null.png"}

	}


}

style "tasklist" = "wide"
{
}

style "menu"
{
	xthickness = 0
	ythickness = 0

	bg[SELECTED] = shade (0.99, @selected_bg_color)
	bg[NORMAL] = @menu_bg_color
	bg[PRELIGHT] = shade (0.99, @selected_bg_color)
	bg[ACTIVE] = @menu_bg_color
	bg[INSENSITIVE] = @menu_bg_color
	fg[NORMAL] = @menu_fg_color
	fg[PRELIGHT] = @selected_fg_color
	fg[SELECTED] = @selected_fg_color
	fg[ACTIVE] = @selected_fg_color
	fg[INSENSITIVE] = shade (5.0, @menu_fg_color)
	text[NORMAL] = shade (1.1, @fg_color)
	base[NORMAL] = @base_color
	text[PRELIGHT] = @selected_fg_color
	text[SELECTED] = @selected_fg_color
	text[ACTIVE] = @selected_fg_color
	text[INSENSITIVE] = shade (5.0, @menu_fg_color)

engine "murrine" {rgba = FALSE
			roundness = 4}
}

style "menu-item" = "wider"
{
	xthickness = 2
	ythickness = 2

	bg[SELECTED] =  shade (0.99, @selected_bg_color)
	bg[PRELIGHT] = shade (0.99, @selected_bg_color)
	fg[NORMAL] = @menu_fg_color
	fg[PRELIGHT] = @selected_fg_color
	fg[SELECTED] = @selected_fg_color
	text[PRELIGHT] = @selected_fg_color


	engine "murrine" {
		roundness = 4
		gradient_shades		= {1.07,1.05,1.04,1.0} 
		glazestyle 		= 2
		highlight_shade		= 1.0 
		contrast		= 0.5
		lightborder_shade	= 1.15
		lightborderstyle 	= 1
		glow_shade              = 1.0
	}
}

style "separator-menu-item"
{
}

style "treeview" = "default"
{
base[SELECTED]= shade (1.1, @selected_bg_color)
	base[ACTIVE]= shade (1.1, @selected_bg_color)

	xthickness	= 1
	ythickness	= 1

}

style "treeview-header" = "button"
{
	xthickness	= 2
	ythickness	= 1				

	bg[NORMAL]      = shade (1.04, @bg_color)
	#bg[PRELIGHT]    = shade (1.11, @bg_color)
	bg[ACTIVE]      = shade (0.92, @bg_color)
	bg[INSENSITIVE] = shade (1.04, @bg_color)

	engine "murrine" {
		reliefstyle	 = 4
		lightborderstyle = 1
	}
}

style "frame-title"
{
	fg[NORMAL] = lighter (@fg_color)
}

style "tooltips" = "wider"
{
	bg[NORMAL] = @tooltip_bg_color
	fg[NORMAL] = @fg_color

	engine "murrine" {
		roundness 	= 2
	}
}

style "progressbar"
{
	xthickness = 0
	ythickness = 0

	fg[PRELIGHT] = lighter (@selected_fg_color)
  	bg[NORMAL]   = shade (0.98, @bg_color)
	bg[SELECTED] = @selected_bg_color

engine "murrine" {
		roundness 	    = 2
		gradient_shades     = {0.95,1.0,1.1,1.18}  
		lightborder_shade   = 1.2
		lightborderstyle    = 1
		glow_shade          = 1.02
		glowstyle 	    = 0
		highlight_shade     = 1.02
		trough_shades       = { 0.87, 0.9 }
	}
	
}

style "toolbar" 
{

	bg[NORMAL] = @bg_color
	fg[NORMAL] = @fg_color
	fg[PRELIGHT] = "#000000"
	fg[ACTIVE] = @fg_color

	GtkToolbar::internal-padding = 3

	engine "pixmap" 
	{

	image
	{function = BOX
	recolorable = TRUE
	stretch = TRUE
	file = "Bars/toolbarbg.png"
	border = { 0, 0, 0, 2 }}
	
	}
  
#	engine "murrine" {
#		gradient_shades     = {1.0,0.98,0.98,0.93} 
#		#gradient_shades     = {1.0,0.98,0.92,0.88}
#		highlight_shade     = 1.0
#		glow_shade	    = 1.0
#		contrast            = 1.0
#		lightborder_shade   = 0.0
#		glazestyle          = 4
#		reliefstyle 	    = 3
#	} 
} 

style "statusbar"
{

	xthickness = 4
	ythickness = 4

}

style "comboboxentry"
{

	engine "murrine" {
		contrast            = 0.73
		reliefstyle	    = 4
	}
}

style "spinbutton"
{

engine "murrine" {
		reliefstyle = 3
		border_shades = {1.0,1.0}
	}
}

style "scale" = "button"
{

	bg[SELECTED]	= @selected_bg_color
	bg[ACTIVE] = shade (0.9, @bg_color)

	engine "murrine" {
		roundness = 2  
		contrast  = 0.9
		highlight_shade = 1.05
		lightborder_shade = 1.2
		reliefstyle = 4
	}
}

style "hscale"
{
	
}

style "vscale"
{

}

style "pixmap-scrollbar" 
{

	GtkScrollbar::has_backward_stepper	= 0
	GtkRange::slider_width 			= 13
	GtkRange::stepper_size 			= 13
	GtkRange::trough-under-steppers 	= 1
	GtkRange::trough-border        		= 2

	xthickness = 1
	ythickness = 1

	engine "pixmap" 
    	{

        image 
        {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "Scrollbars/scrollbar-v-trough.png"
            border          = { 11, 1, 1, 1 }
            stretch         = TRUE
            orientation     = VERTICAL
        }

        image 
        {
            function        = BOX
            recolorable     = TRUE
            detail          = "trough"
            file            = "Scrollbars/scrollbar-h-trough.png"
            border          = { 1, 1, 11, 1 }
            stretch         = TRUE
            orientation     = HORIZONTAL
        }

 ######### Sliders ############

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

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

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

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

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

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

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

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

 ######### Steppers ############

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = NORMAL
	file		    = "Scrollbars/stepper-up.png"
	stretch		    = TRUE
	arrow_direction	    = UP
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = ACTIVE
	file		    = "Scrollbars/stepper-up.png"
	stretch		    = TRUE
	arrow_direction	    = UP
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = PRELIGHT
	file		    = "Scrollbars/stepper-up.png"
	stretch		    = TRUE
	arrow_direction	    = UP
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = INSENSITIVE
	file		    = "Scrollbars/stepper-up-insensitive.png"
	stretch		    = TRUE
	arrow_direction	    = UP
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = NORMAL
	file		    = "Scrollbars/stepper-down.png"
	stretch		    = TRUE
	arrow_direction	    = DOWN
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = ACTIVE
	file		    = "Scrollbars/stepper-down.png"
	stretch		    = TRUE
	arrow_direction	    = DOWN
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = PRELIGHT
	file		    = "Scrollbars/stepper-down.png"
	stretch		    = TRUE
	arrow_direction	    = DOWN
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = INSENSITIVE
	file		    = "Scrollbars/stepper-down-insensitive.png"
	stretch		    = TRUE
	arrow_direction	    = DOWN
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = NORMAL
	file		    = "Scrollbars/stepper-left.png"
	stretch		    = TRUE
	arrow_direction	    = LEFT
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = ACTIVE
	file		    = "Scrollbars/stepper-left.png"
	stretch		    = TRUE
	arrow_direction	    = LEFT
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = PRELIGHT
	file		    = "Scrollbars/stepper-left.png"
	stretch		    = TRUE
	arrow_direction	    = LEFT
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = INSENSITIVE
	file		    = "Scrollbars/stepper-left-insensitive.png"
	stretch		    = TRUE
	arrow_direction	    = LEFT
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = NORMAL
	file		    = "Scrollbars/stepper-right.png"
	stretch		    = TRUE
	arrow_direction	    = RIGHT
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = ACTIVE
	file		    = "Scrollbars/stepper-right.png"
	stretch		    = TRUE
	arrow_direction	    = RIGHT
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = PRELIGHT
	file		    = "Scrollbars/stepper-right.png"
	stretch		    = TRUE
	arrow_direction	    = RIGHT
	}

	image 
	{
	function	    = STEPPER
	recolorable	    = TRUE
	state               = INSENSITIVE
	file		    = "Scrollbars/stepper-right-insensitive.png"
	stretch		    = TRUE
	arrow_direction	    = RIGHT
	}

    }
}

style "hscrollbar"
{
}

style "vscrollbar"
{
}

style "menubar" 
{
	xthickness = 2
	ythickness = 2

	bg[SELECTED] = @bg_color
	bg[NORMAL] = @bg_color
	bg[PRELIGHT] = @selected_bg_color
	bg[ACTIVE] = shade (1.05, @menu_bg_color)
	bg[INSENSITIVE] = @bg_color
	fg[NORMAL] = @menu_fg_color
	fg[PRELIGHT] = @selected_fg_color
	fg[SELECTED] = @selected_fg_color
	fg[ACTIVE] = @selected_fg_color
	fg[INSENSITIVE] = shade (0.75, @menu_fg_color)
	text[NORMAL] = @menu_fg_color
	text[PRELIGHT] = @selected_fg_color
	text[SELECTED] = @selected_fg_color
	text[ACTIVE] = @selected_fg_color
	text[INSENSITIVE] = shade (0.75, @menu_fg_color)

	engine "murrine" {contrast = 0.0}
}

style "radiocheck-menu"
{
	fg[PRELIGHT] = @selected_fg_color
	text[PRELIGHT] = @selected_fg_color
		
	engine "murrine" {}
}

style "smaller-text"
{
	font_name = "8"
}

style "handle"
{
	bg[NORMAL] = @bg_color
}

style "soundfix"
{
	bg[NORMAL] = @menu_bg_color
}

style "gradient-menubar"
{

GtkMenuBar::shadow_type        		        = GTK_SHADOW_OUT

	xthickness = 2
	ythickness = 2

	engine "pixmap"
  {
        image
     {function = BOX
      file = "Bars/menubarbg.png"
      border = {0, 0, 0, 2}
      detail = "menubar"}
   }
	
#	engine "murrine" {
#		menubarstyle        = 2
#		contrast = 0.8
#	}

}

style "expander"
{

	engine "pixmap"
	{

	image
 	{function		= EXPANDER
	state			= NORMAL
	expander_style		= COLLAPSED
	file			= "Treeview/expander-collapsed.png"}

	image
 	{function		= EXPANDER
	state			= PRELIGHT
	expander_style		= COLLAPSED
	file			= "Treeview/expander-collapsed-prelight.png"}

	image
 	{function		= EXPANDER
	state			= ACTIVE
	expander_style		= COLLAPSED
	file			= "Treeview/expander-collapsed.png"}

	image
 	{function		= EXPANDER
	state			= INSENSITIVE
	expander_style		= COLLAPSED
	file			= "Treeview/expander-insensitive.png"}

		#semi collapsed
      	image
 	{function		= EXPANDER
	state			= NORMAL
	expander_style		= SEMI_COLLAPSED
	file			= "Treeview/expander-semi-collapsed.png"}

	image
 	{function		= EXPANDER
	state			= PRELIGHT
	expander_style		= SEMI_COLLAPSED
	file			= "Treeview/expander-semi-collapsed-prelight.png"}

	image
 	{function		= EXPANDER
	state			= ACTIVE
	expander_style		= SEMI_COLLAPSED
	file			= "Treeview/expander-semi-collapsed.png"}

		#semi expanded
      	image
 	{function		= EXPANDER
	state			= NORMAL
	expander_style		= SEMI_EXPANDED
	file			= "Treeview/expander-semi-expanded.png"}

	image
 	{function		= EXPANDER
	state			= PRELIGHT
	expander_style		= SEMI_EXPANDED
	file			= "Treeview/expander-semi-expanded-prelight.png"}

	image
 	{function		= EXPANDER
	state			= ACTIVE
	expander_style		= SEMI_EXPANDED
	file			= "Treeview/expander-semi-expanded.png"}


		#expanded
      	image
 	{function		= EXPANDER
	state			= NORMAL
	expander_style		= EXPANDED
	file			= "Treeview/expander-expanded.png"}

	image
 	{function		= EXPANDER
	state			= PRELIGHT
	expander_style		= EXPANDED
	file			= "Treeview/expander-expanded-prelight.png"}

	image
 	{function		= EXPANDER
	state			= ACTIVE
	expander_style		= EXPANDED
	file			= "Treeview/expander-expanded.png"}

	image
 	{function		= EXPANDER
	state			= INSENSITIVE
	expander_style		= EXPANDED
	file			= "Treeview/expander-expandend-insensitive.png"}
	
	}

}

style "icon-view"
{

engine "pixmap"
{	
		image 
      		{function	= FLAT_BOX
		recolorable	= TRUE
		file		= "Eog/eogbox.png" 
		border		= { 8, 8, 8, 8}
		stretch		= TRUE}
}
}

style "source"
{
	xthickness = 0
	ythickness = 0

	GtkPaned	::handle-size	= 8

	engine "pixmap"
	{
		image
		{
		    function		= HANDLE
		    recolorable		= TRUE
		    file		= "Handles/handle-vert.png"
		    stretch		= TRUE
		    border 		= { 3, 3, 0, 0 }
		}
	}

}
#widget_class "*GtkHPaned"	style "source"

###########
# Matches #
###########

widget "ido-offscreen-scale" style "scale"

include "radiocheck.rc"

# theme default style is applied to every widget
class "GtkWidget"    				style "default"

class "GtkIconView"				style "icon-view"
class "GtkToolbar"   				style "toolbar" 
class "GtkRange"     				style "wide"
class "GtkFrame"     				style "wide"
class "GtkSeparator" 				style "wide"
class "GtkEntry"     				style "entry"
class "GtkCheckMenuItem" 				style:highest "radiocheck-menu"
class "GtkRadioMenuItem"				style:highest "radiocheck-menu"
class "GtkRadioButton"				style "button"

class "GtkSpinButton"  				style "spinbutton"
class "GtkScale"       				style "scale"
class "GtkVScale"      				style "vscale"
class "GtkHScale"      				style "hscale"
class "GtkScrollbar"   				style "pixmap-scrollbar"
class "GtkVScrollbar"  				style "vscrollbar"
class "GtkHScrollbar"  				style "hscrollbar"
class "GtkScrolledWindow"				style "wid"

# General matching following, the order is choosen so that the right styles override each other
widget_class "*<GtkNotebook>*<GtkEventBox>"     style "notebook"
widget_class "*<GtkNotebook>*<GtkDrawingArea>"  style "notebook"
widget_class "*<GtkNotebook>*<GtkLayout>"       style "notebook"
widget_class "*<GtkNotebook>*<GtkLabel>"        style "notebook"

widget_class "*<GtkButton>"      			style "button"

widget_class "*<GtkNotebook>"    			style "notebook"
widget_class "*<GtkStatusbar>*"  			style "statusbar"

widget_class "*<GtkComboBoxEntry>*"		style "comboboxentry"
widget_class "*<GtkCombo>*"         		style "comboboxentry"

widget_class "*<GtkMenuBar>*"           		style "menubar"
widget_class "*<GtkMenu>*"              		style "menu"
widget_class "*<GtkMenuItem>*"          		style "menu-item"
widget_class "*<GtkSeparatorMenuItem>*" 		style "separator-menu-item"

widget_class "*.<GtkFrame>.<GtkLabel>" 		style "frame-title"
widget_class "*<GtkProgressBar>"       		style "progressbar"

include "treeview.rc"

widget_class "*GtkScrolledWindow*Scrollbar"	style "pixmap-scrollbar"

# Treeview header
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 "*ToolButton*" 			style "smaller-text"
widget_class "*Statusbar*" 			style "smaller-text"

widget "gtk-tooltip*" 				style "tooltips"

#Gradient menubar for applications that can't show a toolbar
widget_class "*TerminalWindow*GtkMenuBar"		style "gradient-menubar"
widget "*<PurpleMain>"				style "gradient-menubar" 
widget "*tmw-menubar"				style "gradient-menubar" 



##################################
# Special cases and work arounds #
##################################

#Workaround for terminal notebook
widget_class "*TerminalWindow*GtkNotebook"	style "notebook"

class "GtkExpander" 	style "expander"
class "GtkTreeView" 	style "expander"
class "GtkCTree" 	style "expander"

# Workarounds for Evolution
widget_class "*.ETable.ECanvas"    		style "treeview-header"
widget_class "*.ETree.ECanvas"    		style "treeview-header"

# Work around for http://bugzilla.gnome.org/show_bug.cgi?id=382646
# Note that the work around assumes that the combobox is _not_ in
# appears-as-list mode.
# Similar hack also in the menuitem style.
# This style does not affect GtkComboBoxEntry, it does have an effect
# on comboboxes in appears-as-list mode though.
style "combobox-text-color-workaround"
{
	text[NORMAL]      = @fg_color
	text[PRELIGHT]    = @fg_color
	text[SELECTED]    = @selected_fg_color
	text[ACTIVE]      = @menu_fg_color
	text[INSENSITIVE] = darker (@bg_color)
}
widget_class "*.<GtkComboBox>.<GtkCellView>"	style "combobox-text-color-workaround"

style "menuitem-text-is-fg-color-workaround"
{
	text[NORMAL]        = @menu_fg_color
	text[PRELIGHT]      = @selected_fg_color
	text[SELECTED]      = @selected_fg_color
	text[ACTIVE]        = @menu_fg_color
	text[INSENSITIVE]   = darker (@bg_color)
}

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 set.
style "fg-is-text-color-workaround"
{
	fg[NORMAL]      = @text_color
	fg[PRELIGHT]    = @text_color
	fg[ACTIVE]      = @selected_fg_color
	fg[SELECTED]    = @selected_fg_color
	fg[INSENSITIVE] = darker (@bg_color)
}

widget_class "*<GtkListItem>*" 				style "fg-is-text-color-workaround"
# The same problem also exists for GtkCList and GtkCTree
# Only match GtkCList and not the parent widgets, because that would also change the headers.

widget_class "*<GtkCList>" 				style "fg-is-text-color-workaround"

include "nautilus.rc"
include "rhythmbox.rc"
include "eog.rc"
include "banshee.rc"
include "panel.rc"
