style "panel" {

#	bg_pixmap[NORMAL] = "assets/panel.png"
#	bg[NORMAL] = "#282828"
#	fg[NORMAL] = "#bbbbbb"

#	bg[ACTIVE]   = shade(0.77, mix(0.7, mix(0.45, "#ffffff", @selected_bg_color), mix(0.2, "#000000", mix(00.10, @shift_bg_color, @bg_color))))
   fg[ACTIVE]   = "#ffffff"

	bg[SELECTED] = shade(0.77, mix(0.7, mix(0.45, "#ffffff", @selected_bg_color), mix(0.2, "#000000", mix(00.10, @shift_bg_color, @bg_color))))

/*	bg[PRELIGHT]   = shade(0.9, mix(0.7, mix(0.45, "#ffffff", @selected_bg_color), mix(0.2, "#000000", mix(00.10, @shift_bg_color, @bg_color))))
   fg[PRELIGHT] = "#111111"*/
	bg[PRELIGHT] = shade(1.01, mix(0.25, @bg_color, mix(00.10, @shift_bg_color, @bg_color)))
	fg[PRELIGHT] = mix(00.10, mix(0.398, @fg_color, @shift_bg_color), @fg_color)

	xthickness = 1
	ythickness = 2
	engine "murrine" {
      roundness = 2
		contrast = 0.6
		textstyle = 0
		lightborderstyle = 1
		lightborder_shade = 1.2
	}
}


style "panel_button" {
	GtkButton::inner-border           = {1, 1, 0, 0}

#	bg[NORMAL]   = "#303030"
#	fg[NORMAL]   = "#bbbbbb"

/*	bg[PRELIGHT]   = shade(0.9, mix(0.7, mix(0.45, "#ffffff", @selected_bg_color), mix(0.2, "#000000", mix(00.10, @shift_bg_color, @bg_color))))
   fg[PRELIGHT] = "#111111"*/
	bg[PRELIGHT] = shade(1.06, mix(0.25, @bg_color, mix(00.10, @shift_bg_color, @bg_color)))
	fg[PRELIGHT] = mix(00.10, mix(0.398, @fg_color, @shift_bg_color), @fg_color)

	bg[ACTIVE]   = shade(0.75, mix(0.7, mix(0.45, "#ffffff", @selected_bg_color), mix(0.2, "#000000", mix(00.10, @shift_bg_color, @bg_color))))
   fg[ACTIVE]   = "#ffffff" # mix(0.8, "#000000", @selected_bg_color)

	xthickness = 5
	ythickness = 3
	engine "murrine" {
		roundness = 2
		contrast = 0.3
		lightborderstyle = 1
		lightborder_shade = 1.4
		border_shades = {0.7, 0.55}
#		trough_shades = {0.1, 0.1}
		gradient_shades = {1.12, 1.0, 1.0, 0.88}
		reliefstyle = 3
#		glowstyle = 1
#		glow_shade = 0.7
	}
}
