Browse Source

fix trash icon

Felix Niklas 9 years ago
parent
commit
99d6ab383f

+ 1 - 1
app/assets/javascripts/app/views/generic/table.jst.eco

@@ -80,7 +80,7 @@
       </td>
     <% end %>
     <% if @destroy: %>
-      <td><a href="#" class="glyphicon glyphicon-trash" data-type="destroy"></a></td>
+      <td><svg class="icon-trash" data-type="destroy"><use xlink:href="#icon-trash" /></svg></td>
     <% end %>
   </tr>
 <% end %>

+ 1 - 0
app/assets/stylesheets/svg-dimensions.css

@@ -60,5 +60,6 @@
 .icon-templates { width: 24px; height: 24px; }
 .icon-tools { width: 24px; height: 24px; }
 .icon-total-tickets { width: 48px; height: 83px; }
+.icon-trash { width: 16px; height: 16px; }
 .icon-twitter { width: 17px; height: 17px; }
 .icon-user { width: 16px; height: 16px; }

+ 5 - 0
app/assets/stylesheets/zammad.css.scss

@@ -503,6 +503,11 @@ table {
   padding: 0;
 }
 
+.table .icon-trash {
+  vertical-align: middle;
+  fill: hsl(240,1%,77%);
+}
+
 .input-replacement {
   padding: 0;
   margin: 0;

File diff suppressed because it is too large
+ 0 - 0
public/assets/images/icons.svg


+ 12 - 0
public/assets/images/icons/trash.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
+    <!-- Generator: Sketch 3.3.2 (12043) - http://www.bohemiancoding.com/sketch -->
+    <title>trash</title>
+    <desc>Created with Sketch.</desc>
+    <defs></defs>
+    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
+        <g id="trash" sketch:type="MSArtboardGroup" fill="#50E3C2">
+            <path d="M3.5,3 L3,5 L13,5 L12.5,3 L10,3 L9.5,2 L6.5,2 L6,3 L3.5,3 Z M4.00000001,6 L12,6 L11,14 L5.00000001,14 L4.00000001,6 Z" id="trashbin" sketch:type="MSShapeGroup"></path>
+        </g>
+    </g>
+</svg>

Some files were not shown because too many files changed in this diff