From d1e5a56bc6b7c7d5686e1ae9949ccea270a1477a Mon Sep 17 00:00:00 2001
From: Jan-Christoph Borchardt <hey@jancborchardt.net>
Date: Thu, 10 May 2012 21:40:16 +0200
Subject: [PATCH] fixing upload icon color

---
 apps/files/templates/index.php    |   2 +-
 core/img/actions/upload-white.png | Bin 0 -> 228 bytes
 core/img/actions/upload-white.svg |  73 ++++++++++++++++++++++++++++++
 core/img/actions/upload.png       | Bin 228 -> 236 bytes
 core/img/actions/upload.svg       |   8 ++--
 5 files changed, 78 insertions(+), 5 deletions(-)
 create mode 100644 core/img/actions/upload-white.png
 create mode 100644 core/img/actions/upload-white.svg

diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index 72e45d53275..8b3ae632036 100755
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -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
index 0000000000000000000000000000000000000000..09dba9e9108d0c97facf4c12a8351159b11a1b46
GIT binary patch
literal 228
zcmeAS@N?(olHy`uVBq!ia0vp^0wB!61|;P_|4#%`EX7WqAsj$Z!;#Vf<Z~8yL>2?p
zUk71ECym(^Ktah8*NBqf{Irtt#G+J&^73-M%)IR4<ivthz5Jr|+3#$mfQk}5T^vI!
zdXxYB|8LK%+R)ih!z}Wc?f?J($6KZUDLXLhl^)4Bmd&woR-u$rSK6Ak39BRz3ly0w
zmN@i7zS^qd^nn8kEo$HT8XFyF+$bq%_b{Bpc1JBJM__kDUEBfDUKeJDxb#$siHC06
Q11)3lboFyt=akR{07m{z0RR91

literal 0
HcmV?d00001

diff --git a/core/img/actions/upload-white.svg b/core/img/actions/upload-white.svg
new file mode 100644
index 00000000000..32ecd8b82b7
--- /dev/null
+++ b/core/img/actions/upload-white.svg
@@ -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>
diff --git a/core/img/actions/upload.png b/core/img/actions/upload.png
index 09dba9e9108d0c97facf4c12a8351159b11a1b46..5744aad75a8c64eb1494deaadfd6db17c529c479 100644
GIT binary patch
delta 133
zcmV;00DAxA0qg;gZhmP=L_t(Ijm?w64Zt7_1MQB$#M!f5ff?LSKNT?w<x`}5g71U~
zP!e|5G20{=Bx7ojloo&hpr^v-3h-1?g{@=-P9>}GAo&8nB<>P>0`x5F-oaJuS;1NC
n{rCiBfty0ZIE9vFx%-`ObSDDBpUp&900000NkvXXu0mjf)c8C*

delta 125
zcmV-@0D}MQ0ptOYZgycwL_t(Ijbr@(|33pIfQf*70~F&1|NsBTg&Y1OKm#sy#AwEA
z2(g-R8bXR@tcH-P8N(2AG@}^8_#b;Zc+0@RAcQ9Nj)8$enAmi1he$D;2HYl6Y!JJE
feqO*8jYI<gUT0+(k;2<Q00000NkvXXu0mjf2R}9P

diff --git a/core/img/actions/upload.svg b/core/img/actions/upload.svg
index 74c56da5b71..718da8f4a59 100644
--- a/core/img/actions/upload.svg
+++ b/core/img/actions/upload.svg
@@ -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"
-- 
GitLab