summaryrefslogtreecommitdiff
path: root/lib/dijit/themes/claro/form/images/buttonEnabled.svg
blob: d9e564ab855c6fc991aaa694b03ff2d339f45645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" ?>
<!--
	Source file for buttonEnabled.png, which is used by IE7-9 for Button gradients.
	Compile to png with batik, gimp, or online tool ex: http://www.fileformat.info/convert/image/svg2raster.htm

	Output should match gradients defined in Button.css.  It is however an approximation, since generated
	output has a constant height, rather than matching the height of each button.
-->
<svg xmlns="http://www.w3.org/2000/svg" width="1px" height="149px" viewBox="0 0 1 149" preserveAspectRatio="none">

	<defs>
		<linearGradient id="enabled" gradientUnits="objectBoundingBox" x1="0%" y1="0%" x2="0%" y2="100%">
			<stop offset="0%" stop-color="#ffffff" stop-opacity="1"/>
			<stop offset="2%" stop-color="#ffffff" stop-opacity="0"/>
			<stop offset="15%" stop-color="#ffffff" stop-opacity="0.7"/> <!-- near bottom of average height buttons -->
		</linearGradient>
	</defs>

	<!--
		Swatch for enabled buttons.   It's 149px tall to account for tall buttons, but usually
		only the top will be visible.
	-->
	<rect x="0" y="0" width="1" height="149" fill="url(#enabled)"/>
</svg>