Browse Source

add help icon

Felix Niklas 9 years ago
parent
commit
c58fb89887

+ 2 - 2
app/assets/javascripts/app/views/generic/attribute.jst.eco

@@ -8,8 +8,8 @@
     </div>
     <% end %>
     <% if @attribute.note: %>
-    <div class="align-right help-message" title="<%- @Ti( @attribute.note ) + ' ' %>">
-      <div class="help icon"></div>
+    <div class="help-message" title="<%- @Ti( @attribute.note ) + ' ' %>">
+      <svg class="icon-help"><use xlink:href="#icon-help" /></svg>
     </div>
     <% end %>
   </div>

+ 2 - 2
app/assets/javascripts/app/views/layout_ref/local_modal.jst.eco

@@ -211,8 +211,8 @@
                 
                 
                 
-                <div class="align-right help-message" title="Notes are visible to agents only, never to customers. ">
-                  <div class="help icon"></div>
+                <div class="help-message" title="Notes are visible to agents only, never to customers. ">
+                  <svg class="icon-help"><use xlink:href="#icon-help" /></svg>
                 </div>
                 
               </div>

File diff suppressed because it is too large
+ 0 - 0
app/assets/stylesheets/svg-dimensions.css


+ 2 - 1
app/assets/stylesheets/zammad.css.scss

@@ -727,8 +727,9 @@ fieldset > *:not(.form-group) .form-control {
   opacity: 0.2;
   top: -2px;
   position: relative;
+  margin-left: auto;
   
-  .icon {
+  .icon-help {
     display: block;
   }
 }

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


+ 12 - 0
public/assets/images/icons/help.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>help</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="help" sketch:type="MSArtboardGroup" fill="#000000">
+            <path d="M16,8 C16,3.581722 12.418278,0 8,0 C3.581722,0 0,3.581722 0,8 C0,12.418278 3.581722,16 8,16 C12.418278,16 16,12.418278 16,8 L16,8 L16,8 Z M15,8 C15,4.134007 11.865993,1 8,1 C4.134007,1 1,4.134007 1,8 C1,11.865993 4.134007,15 8,15 C11.865993,15 15,11.865993 15,8 L15,8 L15,8 Z M10.671954,6.029753 C10.671954,5.035266 9.867426,4.152519 8.168976,4.152519 C7.062748,4.152519 6.235872,4.610653 5.587779,5.359312 L6.727528,6.242059 C7.129793,5.783924 7.576753,5.560444 8.023714,5.560444 C8.51537,5.560444 8.805894,5.783924 8.805894,6.186189 C8.805894,7.102458 7.0404,7.035414 7.0404,8.957344 L7.0404,9.236694 L8.660632,9.236694 L8.660632,9.013214 C8.660632,7.717029 10.671954,7.839943 10.671954,6.029753 Z M8.884112,11.102673 C8.884112,10.543973 8.437152,10.085838 7.867277,10.085838 C7.297403,10.085838 6.850442,10.543973 6.850442,11.102673 C6.850442,11.661374 7.297403,12.119508 7.867277,12.119508 C8.437152,12.119508 8.884112,11.661374 8.884112,11.102673 Z" sketch:type="MSShapeGroup"></path>
+        </g>
+    </g>
+</svg>

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