]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixing upload icon color
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 10 May 2012 19:40:16 +0000 (21:40 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 10 May 2012 19:40:22 +0000 (21:40 +0200)
apps/files/templates/index.php
core/img/actions/upload-white.png [new file with mode: 0644]
core/img/actions/upload-white.svg [new file with mode: 0644]
core/img/actions/upload.png
core/img/actions/upload.svg

index 72e45d5327561a9a7c0579b4a8e2be6a6664cb7a..8b3ae632036b4e2a310fc4db96ee3c92518458f6 100755 (executable)
@@ -16,7 +16,7 @@
                                        <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo $_['uploadMaxFilesize'] ?>" id="max_upload">
                                        <input type="hidden" class="max_human_file_size" value="(max <?php echo $_['uploadMaxHumanFilesize']; ?>)">
                                        <input type="hidden" name="dir" value="<?php echo htmlentities($_['dir']) ?>" id="dir">
-                                       <button class="file_upload_filename">&nbsp;<img class='svg action' alt="Upload" src="<?php echo OCP\image_path("core", "actions/upload.svg"); ?>" /></button>
+                                       <button class="file_upload_filename">&nbsp;<img class='svg action' alt="Upload" src="<?php echo OCP\image_path("core", "actions/upload-white.svg"); ?>" /></button>
                                        <input class="file_upload_start" type="file" name='files[]'/>
                                                <a href="#" class="file_upload_button_wrapper" onclick="return false;" title="<?php echo $l->t('Upload'); echo  ' max. '.$_['uploadMaxHumanFilesize'] ?>"></a>
                                        <iframe name="file_upload_target_1" class='file_upload_target' src=""></iframe>
diff --git a/core/img/actions/upload-white.png b/core/img/actions/upload-white.png
new file mode 100644 (file)
index 0000000..09dba9e
Binary files /dev/null and b/core/img/actions/upload-white.png differ
diff --git a/core/img/actions/upload-white.svg b/core/img/actions/upload-white.svg
new file mode 100644 (file)
index 0000000..32ecd8b
--- /dev/null
@@ -0,0 +1,73 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<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"
+   width="16"
+   height="16"
+   id="svg3875"
+   version="1.1"
+   inkscape:version="0.48.2 r9819"
+   sodipodi:docname="upload.svg"
+   inkscape:export-filename="/home/jancborchardt/owncloud/core/img/actions/play.png"
+   inkscape:export-xdpi="90"
+   inkscape:export-ydpi="90">
+  <defs
+     id="defs3877" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="17.921875"
+     inkscape:cx="-5.3403178"
+     inkscape:cy="10.148736"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="true"
+     inkscape:window-width="1280"
+     inkscape:window-height="774"
+     inkscape:window-x="0"
+     inkscape:window-y="26"
+     inkscape:window-maximized="1">
+    <inkscape:grid
+       type="xygrid"
+       id="grid3883"
+       empspacing="5"
+       visible="true"
+       enabled="true"
+       snapvisiblegridlinesonly="true" />
+  </sodipodi:namedview>
+  <metadata
+     id="metadata3880">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <g
+     inkscape:label="Layer 1"
+     inkscape:groupmode="layer"
+     id="layer1"
+     transform="translate(0,-1036.3622)">
+    <path
+       style="fill:#ffffff;fill-opacity:1;stroke:none"
+       d="m 10,1051.3622 -4,0 -1,-7 -4,0 7,-7 7,7 -4,0 z"
+       id="path3086"
+       inkscape:connector-curvature="0"
+       sodipodi:nodetypes="cccccccc" />
+  </g>
+</svg>
index 09dba9e9108d0c97facf4c12a8351159b11a1b46..5744aad75a8c64eb1494deaadfd6db17c529c479 100644 (file)
Binary files a/core/img/actions/upload.png and b/core/img/actions/upload.png differ
index 74c56da5b7166f6a7e91112ab7082adb5b7c537d..718da8f4a59a0a48181bec67681660af6ff8765c 100644 (file)
@@ -14,8 +14,8 @@
    id="svg3875"
    version="1.1"
    inkscape:version="0.48.2 r9819"
-   sodipodi:docname="upload.svg"
-   inkscape:export-filename="/home/jancborchardt/owncloud/core/img/actions/play.png"
+   sodipodi:docname="upload-white.svg"
+   inkscape:export-filename="/home/user/owncloud/core/img/actions/upload-white.png"
    inkscape:export-xdpi="90"
    inkscape:export-ydpi="90">
   <defs
@@ -54,7 +54,7 @@
         <dc:format>image/svg+xml</dc:format>
         <dc:type
            rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
-        <dc:title />
+        <dc:title></dc:title>
       </cc:Work>
     </rdf:RDF>
   </metadata>
@@ -64,7 +64,7 @@
      id="layer1"
      transform="translate(0,-1036.3622)">
     <path
-       style="fill:#ffffff;fill-opacity:1;stroke:none"
+       style="fill:#000000;fill-opacity:1;stroke:none"
        d="m 10,1051.3622 -4,0 -1,-7 -4,0 7,-7 7,7 -4,0 z"
        id="path3086"
        inkscape:connector-curvature="0"