<theme name = "Styli-theme">
<!--
	Inspired on Shinybar by Alex Kaehler
	Created by Luca Culzoni aka Lke
-->
<popup_style file_name="gradent.tar.gz" />
<pixmaps>
	<pixmap_from_file name="button-normal" file="button-normal.png" />
	<pixmap_from_file name="button-active" file="button-active.png" />
	<pixmap_from_file name="button-minimized" file="button-minimized.png" />
	<pixmap_from_file name="fill_mask" file="fill_mask.png" />
	<pixmap_from_file name="grad_up" file="gradient_up.png" />
	<pixmap_from_file name="grad_down" file="gradient_down.png" />
	<pixmap_from_file name="lay2" file="w2.png" />
	<pixmap_from_file name="lay3" file="w3.png" />
	<pixmap_from_file name="lay4" file="w4.png" />
	<pixmap_from_file name="lay5" file="w5.png" />
	<pixmap_from_file name="mover" file="mover.png" />
	<pixmap_from_file name="i_mover" file="i_mover.png" />
</pixmaps>

<colors>
<color1 name="Button color" default="#025B83" opacity="50" />
<color5 name="Not used" default="#000000" opacity="0" />
</colors>

<button_pixmap gap = "2" aspect_ratio="13/8" aspect_ratio_v="13/8" windows_cnt="5">
	<get_icon size="-6" />
	<correct_size />

	<if type="blink">
		<glow color="color1" opacity="active_opacity" />
	</if>
	<if type="needs_attention">
		<glow color="color1" opacity="active_opacity" />
	</if>

	<pixmap name="fill_color">
		<fill color="color1" />
		<alpha_mask mask="fill_mask" />
	</pixmap>

	<pixmap name="empty" />

	<pixmap name="grad_up_color">
		<composite bg="empty" fg="grad_up" />
		<colorize color="color1" />
		<bright strength="16" />
		<composite bg="fill_color" fg="self" />
	</pixmap>

	<pixmap name="grad_down_color">
		<composite bg="empty" fg="grad_down" />
		<colorize color="color1" />
		<bright strength="16" />
		<composite bg="fill_color" fg="self" />
	</pixmap>

	<if type="!launcher">
		<if type="all_minimized">
			<transp_sat opacity="50" saturation="100" />
			<pixmap name="mini-comp">
				<composite bg="grad_down_color" fg="button-minimized"/>
			</pixmap>
			<composite bg="mini-comp" fg="self" />
		</if>
		<if type="some_minimized">
			<pixmap name="norm-comp">
				<composite bg="grad_up_color" fg="button-normal" />
			</pixmap>
			<composite bg="norm-comp" fg="self" />
		</if>
		<if type="!active">
			<pixmap name="norm-comp">
				<composite bg="grad_up_color" fg="button-normal" />
			</pixmap>
			<composite bg="norm-comp" fg="self" />
		</if>
		<if type="active">
			<pixmap name="acti-comp">
				<composite bg="grad_down_color" fg="button-active" />
			</pixmap>
			<composite bg="acti-comp" fg="self" />
		</if>

		<if type="mouse_over">
			<if type="active">
				<pixmap name="fg_icon">
					<get_icon size="-6" />
					<correct_size />
				</pixmap>
				<composite bg="acti-comp" fg="mover" opacity="20" />
				<composite bg="self" fg="fg_icon" opacity="100"/>
			</if>
			<if type="!active" >
				<composite bg="self" fg="i_mover" opacity="17" />
			</if>
			<if type="all_minimized">
				<pixmap name="fg_icon">
					<get_icon size="-6" />
					<correct_size />
				</pixmap>
				<composite bg="mini-comp" fg="mover" opacity="15" />
				<composite bg="self" fg="fg_icon" opacity="50" />
			</if>
		</if>

		<if windows="2">
			<composite bg="self" fg="lay2" />
		</if>
		<if windows="3">
			<composite bg="self" fg="lay3" />
		</if>
		<if windows="4">
			<composite bg="self" fg="lay4" />
		</if>
		<if windows="5:">
			<composite bg="self" fg="lay5" />
		</if>
	</if>

	<if type="launcher">
		<if type="mouse_over">
			<bright strength="8" /> 
			<glow color="color1" opacity="80" />
		</if>
	</if>
</button_pixmap>
</theme>
