Change the upload icon colours, and use them instead of the floppy disk
authorAndy Allan <gravitystorm@gmail.com>
Thu, 9 Dec 2010 11:47:31 +0000 (11:47 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Thu, 9 Dec 2010 11:47:31 +0000 (11:47 +0000)
embedded/upload.svg
embedded/upload_disabled.svg
potlatch2.mxml

index 8843446..30c1ece 100644 (file)
@@ -1,26 +1,83 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363)  -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1"
-        id="svg2383" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" sodipodi:version="0.32" inkscape:version="0.46" sodipodi:docname="save.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape"
-        xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="18px" height="18px"
-        viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
-<defs>
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   version="1.1"
+   id="svg2383"
+   sodipodi:version="0.32"
+   inkscape:version="0.48.0 r9654"
+   sodipodi:docname="upload.svg"
+   inkscape:output_extension="org.inkscape.output.svg.inkscape"
+   x="0px"
+   y="0px"
+   width="18px"
+   height="18px"
+   viewBox="0 0 18 18"
+   enable-background="new 0 0 18 18"
+   xml:space="preserve"><metadata
+   id="metadata3059"><rdf:RDF><cc:Work
+       rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+         rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata>
+<defs
+   id="defs3048">
        
        
-               <inkscape:perspective  sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 16 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="32 : 16 : 1" id="perspective2391" inkscape:persp3d-origin="16 : 10.666667 : 1">
+               <inkscape:perspective
+   sodipodi:type="inkscape:persp3d"
+   inkscape:vp_x="0 : 16 : 1"
+   inkscape:vp_y="0 : 1000 : 0"
+   inkscape:vp_z="32 : 16 : 1"
+   id="perspective2391"
+   inkscape:persp3d-origin="16 : 10.666667 : 1">
                </inkscape:perspective>
 </defs>
-<sodipodi:namedview  showgrid="true" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:zoom="11.197802" inkscape:cx="17.258093" inkscape:cy="3.7405397" id="base" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:current-layer="layer1" inkscape:grid-bbox="true" inkscape:document-units="px" inkscape:window-width="875" inkscape:window-height="723" inkscape:window-x="123" inkscape:window-y="47">
+<sodipodi:namedview
+   showgrid="true"
+   pagecolor="#ffffff"
+   bordercolor="#666666"
+   borderopacity="1.0"
+   inkscape:zoom="11.197802"
+   inkscape:cx="0.78164521"
+   inkscape:cy="3.7405397"
+   id="base"
+   inkscape:pageopacity="0.0"
+   inkscape:pageshadow="2"
+   inkscape:current-layer="svg2383"
+   inkscape:grid-bbox="true"
+   inkscape:document-units="px"
+   inkscape:window-width="1680"
+   inkscape:window-height="1021"
+   inkscape:window-x="1280"
+   inkscape:window-y="0"
+   inkscape:window-maximized="1">
        </sodipodi:namedview>
-<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="9.0161" y1="18.0352" x2="9.0161" y2="4.882813e-004">
-       <stop  offset="0" style="stop-color:#0000FF"/>
-       <stop  offset="1" style="stop-color:#6666FF"/>
+<linearGradient
+   id="SVGID_1_"
+   gradientUnits="userSpaceOnUse"
+   x1="9.0161"
+   y1="18.0352"
+   x2="9.0161"
+   y2="4.882813e-004">
+       <stop
+   offset="0"
+   style="stop-color:#08ff00;stop-opacity:1;"
+   id="stop3053" />
+       <stop
+   offset="1"
+   style="stop-color:#66ff6f;stop-opacity:1;"
+   id="stop3055" />
 </linearGradient>
-<path fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_1_)" d="M9.321,3.018L4.205,8.132c-0.226,0.226-0.226,0.589,0,0.813
-       l4.882,4.883c0.225,0.224,0.59,0.224,0.814,0l5.115-5.115l2.033,2.034l0.007,0.006c0.224,0.219,0.585,0.217,0.809-0.006
-       c0.122-0.122,0.177-0.284,0.166-0.443l-0.408-9.302c0.003-0.151-0.054-0.307-0.169-0.422c-0.117-0.117-0.272-0.174-0.426-0.168
-       L7.729,0.001c-0.16-0.009-0.322,0.047-0.443,0.168c-0.225,0.225-0.225,0.59,0,0.814L9.321,3.018z M3.017,10.137
-       c-0.225-0.225-0.588-0.225-0.813,0l-2.035,2.034c-0.225,0.224-0.225,0.589,0,0.813l4.882,4.883c0.225,0.224,0.59,0.224,0.814,0
-       l2.034-2.036c0.225-0.224,0.225-0.588,0-0.813L3.017,10.137z"/>
-</svg>
+<path
+   fill-rule="evenodd"
+   clip-rule="evenodd"
+   fill="url(#SVGID_1_)"
+   d="M9.321,3.018L4.205,8.132c-0.226,0.226-0.226,0.589,0,0.813  l4.882,4.883c0.225,0.224,0.59,0.224,0.814,0l5.115-5.115l2.033,2.034l0.007,0.006c0.224,0.219,0.585,0.217,0.809-0.006  c0.122-0.122,0.177-0.284,0.166-0.443l-0.408-9.302c0.003-0.151-0.054-0.307-0.169-0.422c-0.117-0.117-0.272-0.174-0.426-0.168  L7.729,0.001c-0.16-0.009-0.322,0.047-0.443,0.168c-0.225,0.225-0.225,0.59,0,0.814L9.321,3.018z M3.017,10.137  c-0.225-0.225-0.588-0.225-0.813,0l-2.035,2.034c-0.225,0.224-0.225,0.589,0,0.813l4.882,4.883c0.225,0.224,0.59,0.224,0.814,0  l2.034-2.036c0.225-0.224,0.225-0.588,0-0.813L3.017,10.137z"
+   id="path3057" />
+</svg>
\ No newline at end of file
index 763c208..411cdf7 100644 (file)
@@ -1,28 +1,88 @@
-<?xml version="1.0" encoding="utf-8"?>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 <!-- Generator: Adobe Illustrator 14.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 43363)  -->
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
-<svg version="1.1"
-        id="svg2383" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" sodipodi:version="0.32" inkscape:version="0.46" sodipodi:docname="save.svg" inkscape:output_extension="org.inkscape.output.svg.inkscape"
-        xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="18px" height="18px"
-        viewBox="0 0 18 18" enable-background="new 0 0 18 18" xml:space="preserve">
-<defs>
+
+<svg
+   xmlns:dc="http://purl.org/dc/elements/1.1/"
+   xmlns:cc="http://creativecommons.org/ns#"
+   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+   xmlns:svg="http://www.w3.org/2000/svg"
+   xmlns="http://www.w3.org/2000/svg"
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+   version="1.1"
+   id="svg2383"
+   sodipodi:version="0.32"
+   inkscape:version="0.48.0 r9654"
+   sodipodi:docname="upload_disabled.svg"
+   inkscape:output_extension="org.inkscape.output.svg.inkscape"
+   x="0px"
+   y="0px"
+   width="18px"
+   height="18px"
+   viewBox="0 0 18 18"
+   enable-background="new 0 0 18 18"
+   xml:space="preserve"><metadata
+   id="metadata3905"><rdf:RDF><cc:Work
+       rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
+         rdf:resource="http://purl.org/dc/dcmitype/StillImage" /></cc:Work></rdf:RDF></metadata>
+<defs
+   id="defs3893">
        
        
-               <inkscape:perspective  sodipodi:type="inkscape:persp3d" inkscape:vp_x="0 : 16 : 1" inkscape:vp_y="0 : 1000 : 0" inkscape:vp_z="32 : 16 : 1" id="perspective2391" inkscape:persp3d-origin="16 : 10.666667 : 1">
+               <inkscape:perspective
+   sodipodi:type="inkscape:persp3d"
+   inkscape:vp_x="0 : 16 : 1"
+   inkscape:vp_y="0 : 1000 : 0"
+   inkscape:vp_z="32 : 16 : 1"
+   id="perspective2391"
+   inkscape:persp3d-origin="16 : 10.666667 : 1">
                </inkscape:perspective>
 </defs>
-<sodipodi:namedview  showgrid="true" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" inkscape:zoom="11.197802" inkscape:cx="17.258093" inkscape:cy="3.7405397" id="base" inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:current-layer="layer1" inkscape:grid-bbox="true" inkscape:document-units="px" inkscape:window-width="875" inkscape:window-height="723" inkscape:window-x="123" inkscape:window-y="47">
+<sodipodi:namedview
+   showgrid="true"
+   pagecolor="#ffffff"
+   bordercolor="#666666"
+   borderopacity="1.0"
+   inkscape:zoom="11.197802"
+   inkscape:cx="8.1359176"
+   inkscape:cy="3.7405397"
+   id="base"
+   inkscape:pageopacity="0.0"
+   inkscape:pageshadow="2"
+   inkscape:current-layer="svg2383"
+   inkscape:grid-bbox="true"
+   inkscape:document-units="px"
+   inkscape:window-width="875"
+   inkscape:window-height="722"
+   inkscape:window-x="1459"
+   inkscape:window-y="137"
+   inkscape:window-maximized="0">
        </sodipodi:namedview>
-<g id="layer1" inkscape:label="Layer 1" inkscape:groupmode="layer">
+<g
+   id="layer1"
+   inkscape:label="Layer 1"
+   inkscape:groupmode="layer">
 </g>
-<linearGradient id="SVGID_1_" gradientUnits="userSpaceOnUse" x1="9.0161" y1="18.0352" x2="9.0161" y2="4.882813e-004">
-       <stop  offset="0" style="stop-color:#999999"/>
-       <stop  offset="1" style="stop-color:#CCCCCC"/>
+<linearGradient
+   id="SVGID_1_"
+   gradientUnits="userSpaceOnUse"
+   x1="9.0161"
+   y1="18.0352"
+   x2="9.0161"
+   y2="4.882813e-004">
+       <stop
+   offset="0"
+   style="stop-color:#5555bb;stop-opacity:1;"
+   id="stop3899" />
+       <stop
+   offset="1"
+   style="stop-color:#5d5ded;stop-opacity:1;"
+   id="stop3901" />
 </linearGradient>
-<path fill-rule="evenodd" clip-rule="evenodd" fill="url(#SVGID_1_)" d="M9.321,3.018L4.205,8.132c-0.226,0.226-0.226,0.589,0,0.813
-       l4.882,4.883c0.225,0.224,0.59,0.224,0.814,0l5.115-5.115l2.033,2.034l0.007,0.006c0.224,0.219,0.585,0.217,0.809-0.006
-       c0.122-0.122,0.177-0.284,0.166-0.443l-0.408-9.302c0.003-0.151-0.054-0.307-0.169-0.422c-0.117-0.117-0.272-0.174-0.426-0.168
-       L7.729,0.001c-0.16-0.009-0.322,0.047-0.443,0.168c-0.225,0.225-0.225,0.59,0,0.814L9.321,3.018z M3.017,10.137
-       c-0.225-0.225-0.588-0.225-0.813,0l-2.035,2.034c-0.225,0.224-0.225,0.589,0,0.813l4.882,4.883c0.225,0.224,0.59,0.224,0.814,0
-       l2.034-2.036c0.225-0.224,0.225-0.588,0-0.813L3.017,10.137z"/>
-</svg>
+<path
+   fill-rule="evenodd"
+   clip-rule="evenodd"
+   fill="url(#SVGID_1_)"
+   d="M9.321,3.018L4.205,8.132c-0.226,0.226-0.226,0.589,0,0.813  l4.882,4.883c0.225,0.224,0.59,0.224,0.814,0l5.115-5.115l2.033,2.034l0.007,0.006c0.224,0.219,0.585,0.217,0.809-0.006  c0.122-0.122,0.177-0.284,0.166-0.443l-0.408-9.302c0.003-0.151-0.054-0.307-0.169-0.422c-0.117-0.117-0.272-0.174-0.426-0.168  L7.729,0.001c-0.16-0.009-0.322,0.047-0.443,0.168c-0.225,0.225-0.225,0.59,0,0.814L9.321,3.018z M3.017,10.137  c-0.225-0.225-0.588-0.225-0.813,0l-2.035,2.034c-0.225,0.224-0.225,0.589,0,0.813l4.882,4.883c0.225,0.224,0.59,0.224,0.814,0  l2.034-2.036c0.225-0.224,0.225-0.588,0-0.813L3.017,10.137z"
+   id="path3903" />
+</svg>
\ No newline at end of file
index 7f6af6f..ccca02b 100644 (file)
@@ -46,7 +46,7 @@
         <mx:Spacer width="100%"/>
         <mx:Button label="Help" click="new HelpDialog().init();" styleName="appBarButton" />
         <mx:Button label="Options" click="new OptionsDialog().init();" styleName="appBarButton" /> 
-        <mx:Button label="Save" icon="@Embed('embedded/save.svg')" disabledIcon="@Embed('embedded/save_disabled.svg')" styleName="appBarButton"
+        <mx:Button label="Save" icon="@Embed('embedded/upload.svg')" disabledIcon="@Embed('embedded/upload_disabled.svg')" styleName="appBarButton"
                        click="SaveManager.saveChanges();" id="saveButton" enabled="false"/>
     </mx:ApplicationControlBar>