summaryrefslogtreecommitdiff
path: root/lib/dijit/themes/claro/form/images/buttonDisabled.svg
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dijit/themes/claro/form/images/buttonDisabled.svg')
-rw-r--r--lib/dijit/themes/claro/form/images/buttonDisabled.svg23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/dijit/themes/claro/form/images/buttonDisabled.svg b/lib/dijit/themes/claro/form/images/buttonDisabled.svg
new file mode 100644
index 000000000..72a51a017
--- /dev/null
+++ b/lib/dijit/themes/claro/form/images/buttonDisabled.svg
@@ -0,0 +1,23 @@
+<?xml version="1.0" ?>
+<!--
+ Source file for buttonDisabled.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="18px" viewBox="0 0 1 18" preserveAspectRatio="none">
+
+ <defs>
+ <linearGradient id="disabled" gradientUnits="objectBoundingBox" x1="0%" y1="0%" x2="0%" y2="100%">
+ <stop offset="0%" stop-color="#ffffff" stop-opacity="1"/>
+ <stop offset="50%" stop-color="#ffffff" stop-opacity="0"/>
+ </linearGradient>
+ </defs>
+
+ <!--
+ Swatch for disabled buttons. It will only fill the top part of the disabled buttons.
+ The bottom of disabled buttons are pure background-color
+ -->
+ <rect x="0" y="0" width="1" height="18" fill="url(#disabled)"/>
+</svg> \ No newline at end of file