| 1 | <?xml version="1.0" ?> |
| 2 | <!-- |
| 3 | Source file for buttonDisabled.png, which is used by IE7-9 for Button gradients. |
| 4 | Compile to png with batik, gimp, or online tool ex: http://www.fileformat.info/convert/image/svg2raster.htm |
| 5 | |
| 6 | Output should match gradients defined in Button.css. It is however an approximation, since generated |
| 7 | output has a constant height, rather than matching the height of each button. |
| 8 | --> |
| 9 | <svg xmlns="http://www.w3.org/2000/svg" width="1px" height="18px" viewBox="0 0 1 18" preserveAspectRatio="none"> |
| 10 | |
| 11 | <defs> |
| 12 | <linearGradient id="disabled" gradientUnits="objectBoundingBox" x1="0%" y1="0%" x2="0%" y2="100%"> |
| 13 | <stop offset="0%" stop-color="#ffffff" stop-opacity="1"/> |
| 14 | <stop offset="50%" stop-color="#ffffff" stop-opacity="0"/> |
| 15 | </linearGradient> |
| 16 | </defs> |
| 17 | |
| 18 | <!-- |
| 19 | Swatch for disabled buttons. It will only fill the top part of the disabled buttons. |
| 20 | The bottom of disabled buttons are pure background-color |
| 21 | --> |
| 22 | <rect x="0" y="0" width="1" height="18" fill="url(#disabled)"/> |
| 23 | </svg> |