浏览代码

fill clip/upload svg background

Pi 1 年之前
父节点
当前提交
445b76ac88

+ 3 - 1
rest/static/clip-favicon.svg

@@ -4,4 +4,6 @@
   Author: Seth Taylor, CC0, via Wikimedia Commons
   License: https://creativecommons.org/publicdomain/zero/1.0/deed.en
 -->
-<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 71 100" enable-background="new 0 0 71 100" xml:space="preserve"><path d="M70,7.583H56.625V5.961c0-0.55-0.45-1-1-1H43.443V2c0-1.1-0.9-2-2-2H29.557c-1.1,0-2,0.9-2,2v2.961H15.375  c-0.55,0-1,0.45-1,1v1.623H1c-0.55,0-1,0.45-1,1V99c0,0.55,0.45,1,1,1h69c0.55,0,1-0.45,1-1V8.583C71,8.034,70.55,7.583,70,7.583z   M35.5,2.319c1.094,0,1.981,0.887,1.981,1.98c0,1.094-0.888,1.981-1.981,1.981c-1.094,0-1.981-0.887-1.981-1.981  C33.519,3.206,34.406,2.319,35.5,2.319z M63.495,92.395c0,0.55-0.45,1-1,1H8.505c-0.55,0-1-0.45-1-1V15.188c0-0.55,0.45-1,1-1h5.87  v1.669c0,0.55,0.45,1,1,1h40.25c0.55,0,1-0.45,1-1v-1.669h5.87c0.55,0,1,0.45,1,1V92.395z"></path><rect x="14.375" y="25.5" width="38.125" height="2.375"></rect><rect x="14.375" y="31.625" width="38.125" height="2.375"></rect><rect x="14.375" y="37.75" width="29.125" height="2.375"></rect><rect x="14.375" y="50" width="38.125" height="2.375"></rect><rect x="14.375" y="56.125" width="38.125" height="2.375"></rect><rect x="14.375" y="62.25" width="29.125" height="2.375"></rect></svg>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="0px" y="0px" viewBox="0 0 71 100" enable-background="new 0 0 71 100" xml:space="preserve">
+<rect fill="#fff" y="10" x="15" width="60" height="85"/>
+<path d="M70,7.583H56.625V5.961c0-0.55-0.45-1-1-1H43.443V2c0-1.1-0.9-2-2-2H29.557c-1.1,0-2,0.9-2,2v2.961H15.375  c-0.55,0-1,0.45-1,1v1.623H1c-0.55,0-1,0.45-1,1V99c0,0.55,0.45,1,1,1h69c0.55,0,1-0.45,1-1V8.583C71,8.034,70.55,7.583,70,7.583z   M35.5,2.319c1.094,0,1.981,0.887,1.981,1.98c0,1.094-0.888,1.981-1.981,1.981c-1.094,0-1.981-0.887-1.981-1.981  C33.519,3.206,34.406,2.319,35.5,2.319z M63.495,92.395c0,0.55-0.45,1-1,1H8.505c-0.55,0-1-0.45-1-1V15.188c0-0.55,0.45-1,1-1h5.87  v1.669c0,0.55,0.45,1,1,1h40.25c0.55,0,1-0.45,1-1v-1.669h5.87c0.55,0,1,0.45,1,1V92.395z"></path><rect x="14.375" y="25.5" width="38.125" height="2.375"></rect><rect x="14.375" y="31.625" width="38.125" height="2.375"></rect><rect x="14.375" y="37.75" width="29.125" height="2.375"></rect><rect x="14.375" y="50" width="38.125" height="2.375"></rect><rect x="14.375" y="56.125" width="38.125" height="2.375"></rect><rect x="14.375" y="62.25" width="29.125" height="2.375"></rect></svg>

+ 3 - 1
rest/static/clip-favicon_square.svg

@@ -39,7 +39,9 @@
      inkscape:window-x="189"
      inkscape:window-y="300"
      inkscape:window-maximized="0"
-     inkscape:current-layer="svg68" /><path
+     inkscape:current-layer="svg68" />
+<rect fill="#fff" y="10" x="20" width="60" height="85"/>
+<path
      d="M 84.5,7.583 H 71.125 V 5.961 c 0,-0.55 -0.45,-1 -1,-1 H 57.943 V 2 c 0,-1.1 -0.9,-2 -2,-2 H 44.057 c -1.1,0 -2,0.9 -2,2 V 4.961 H 29.875 c -0.55,0 -1,0.45 -1,1 V 7.584 H 15.5 c -0.55,0 -1,0.45 -1,1 V 99 c 0,0.55 0.45,1 1,1 h 69 c 0.55,0 1,-0.45 1,-1 V 8.583 c 0,-0.549 -0.45,-1 -1,-1 z M 50,2.319 c 1.094,0 1.981,0.887 1.981,1.98 0,1.094 -0.888,1.981 -1.981,1.981 -1.094,0 -1.981,-0.887 -1.981,-1.981 0,-1.093 0.887,-1.98 1.981,-1.98 z m 27.995,90.076 c 0,0.55 -0.45,1 -1,1 h -53.99 c -0.55,0 -1,-0.45 -1,-1 V 15.188 c 0,-0.55 0.45,-1 1,-1 h 5.87 v 1.669 c 0,0.55 0.45,1 1,1 h 40.25 c 0.55,0 1,-0.45 1,-1 v -1.669 h 5.87 c 0.55,0 1,0.45 1,1 z"
      id="path54" /><rect
      x="28.875"

+ 4 - 1
rest/static/upload-favicon.svg

@@ -38,6 +38,9 @@
      inkscape:window-x="0"
      inkscape:window-y="0"
      inkscape:window-maximized="1"
-     inkscape:current-layer="svg51" /><path
+     inkscape:current-layer="svg51" />
+<rect fill="#fff" y="10" x="10" width="42" height="23"/>
+<rect fill="#fff" y="31" x="10" width="60" height="58"/>
+<path
      d="m 47.8,34.8 c -1.5,-1.6 -4.1,-1.6 -5.6,0 0,0 -12.1,12.1 -12.5,12.5 -1.6,1.6 -1.6,4.1 0,5.7 1.5,1.6 4.1,1.6 5.7,0 0.4,-0.4 5.6,-5.6 5.6,-5.6 V 76 c 0,2.2 1.9,4.1 4,4.1 2.2,0 4,-1.9 4,-4.1 V 47.4 c 0,0 5.5,5.4 5.6,5.6 1.6,1.6 4.1,1.6 5.8,0 1.5,-1.6 1.5,-4.1 0,-5.7 C 60.3,47.1 47.8,34.8 47.8,34.8 Z m 31.5,-9.2 c 0,0 -0.4,-0.4 -19.4,-19.4 C 59.4,5.6 58.3,5 57,5 H 13.6 C 11.3,5 9.5,6.8 9.5,9.1 v 81.8 c 0,2.3 1.8,4.1 4.1,4.1 h 62.8 c 2.3,0 4,-1.8 4,-4.1 V 28.5 C 80.5,27.2 80,26.2 79.3,25.6 Z M 17.7,13.2 H 52.9 L 53,28.5 c 0,2.2 1.8,4 4,4 H 72.3 V 86.8 H 17.7 Z"
      id="path49" /></svg>

+ 4 - 1
rest/static/upload-favicon_square.svg

@@ -39,6 +39,9 @@
      inkscape:window-y="0"
      inkscape:window-maximized="1"
      inkscape:current-layer="svg51"
-     width="100px" /><path
+     width="100px" />
+<rect fill="#fff" y="10" x="20" width="42" height="23"/>
+<rect fill="#fff" y="31" x="20" width="60" height="58"/>
+<path
      d="m 52.8,34.8 c -1.5,-1.6 -4.1,-1.6 -5.6,0 0,0 -12.1,12.1 -12.5,12.5 -1.6,1.6 -1.6,4.1 0,5.7 1.5,1.6 4.1,1.6 5.7,0 0.4,-0.4 5.6,-5.6 5.6,-5.6 V 76 c 0,2.2 1.9,4.1 4,4.1 2.2,0 4,-1.9 4,-4.1 V 47.4 c 0,0 5.5,5.4 5.6,5.6 1.6,1.6 4.1,1.6 5.8,0 1.5,-1.6 1.5,-4.1 0,-5.7 C 65.3,47.1 52.8,34.8 52.8,34.8 Z m 31.5,-9.2 c 0,0 -0.4,-0.4 -19.4,-19.4 C 64.4,5.6 63.3,5 62,5 H 18.6 c -2.3,0 -4.1,1.8 -4.1,4.1 v 81.8 c 0,2.3 1.8,4.1 4.1,4.1 h 62.8 c 2.3,0 4,-1.8 4,-4.1 V 28.5 C 85.5,27.2 85,26.2 84.3,25.6 Z M 22.7,13.2 H 57.9 L 58,28.5 c 0,2.2 1.8,4 4,4 H 77.3 V 86.8 H 22.7 Z"
      id="path49" /></svg>