Browse Source

CL-470 Update the icon SVGs

Subtask of CL-457 Cura plugin: primary visual improvements
Simon Edwards 7 years ago
parent
commit
e1001c1aa4

+ 3 - 2
plugins/UM3NetworkPrinting/PrinterInfoBlock.qml

@@ -290,7 +290,7 @@ Rectangle
 
                     Image
                     {
-                        width: 16 * screenScaleFactor
+                        width: statusText.height * screenScaleFactor
                         height: width
                         anchors.right: parent.right
                         anchors.rightMargin: UM.Theme.getSize("default_margin").width
@@ -311,7 +311,8 @@ Rectangle
                                     {
                                         return "action-required-icon.svg";
                                     }
-                                } else if (printJob.status === "wait_cleanup")
+                                }
+                                else if (printJob.status === "wait_cleanup")
                                 {
                                     return "checkmark-icon.svg";
                                 }

+ 8 - 6
plugins/UM3NetworkPrinting/action-required-icon.svg

@@ -1,8 +1,10 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28">
-    <g fill="none" fill-rule="evenodd" opacity=".601">
-        <path stroke="#000" stroke-width="2.5" d="M14.865 2.491l11.264 19.421a1 1 0 0 1-.865 1.502H2.736a1 1 0 0 1-.865-1.502l11.264-19.42a1 1 0 0 1 1.73 0z"/>
-        <text fill="#000" font-family="sans-serif" font-size="15" font-weight="600" letter-spacing=".3" transform="translate(1 1)">
-            <tspan x="11" y="19">!</tspan>
-        </text>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 24 24">
+    <defs>
+        <path id="a" d="M13.774 1.412l9.706 18.665A2 2 0 0 1 21.706 23H2.294A2 2 0 0 1 .52 20.077l9.706-18.665a2 2 0 0 1 3.548 0z"/>
+    </defs>
+    <g fill="none" fill-rule="evenodd">
+        <use fill="#FFF" xlink:href="#a"/>
+        <path stroke="#000" stroke-width="2.4" d="M12.71 1.966a.8.8 0 0 0-1.42 0L1.584 20.631a.8.8 0 0 0 .71 1.169h19.412a.8.8 0 0 0 .71-1.17L12.71 1.967z"/>
+        <path fill="#000" d="M13.144 14.995h-2.29L10.5 8h2.998l-.354 6.995zm-2.612 2.502c0-.475.13-.844.388-1.108.258-.263.633-.395 1.125-.395.488 0 .857.132 1.108.395.251.264.377.633.377 1.108 0 .47-.13.836-.39 1.1-.261.263-.626.395-1.095.395-.473 0-.843-.132-1.111-.396-.268-.263-.402-.63-.402-1.1z"/>
     </g>
 </svg>

+ 1 - 4
plugins/UM3NetworkPrinting/blocked-icon.svg

@@ -1,6 +1,3 @@
 <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
-    <g fill="none" fill-rule="evenodd">
-        <circle cx="12" cy="12" r="12" fill="#494949"/>
-        <path fill="#FFF" d="M6 10h12v4H6z"/>
-    </g>
+    <path fill="#000" fill-rule="evenodd" d="M6 10h12v4H6v-4zm6 14c6.627 0 12-5.373 12-12S18.627 0 12 0 0 5.373 0 12s5.373 12 12 12z"/>
 </svg>

+ 2 - 2
plugins/UM3NetworkPrinting/checkmark-icon.svg

@@ -1,3 +1,3 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20">
-    <path fill="none" fill-rule="evenodd" stroke="#000" stroke-width="2.5" d="M1 6.71L8.068 13 19 1"/>
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
+    <path fill="none" fill-rule="evenodd" stroke="#000" stroke-width="3" d="M3 10.71L10.068 17 21 5"/>
 </svg>