From 55d3ab5e8ac697b284240718dcd4b4a1cdd6457b Mon Sep 17 00:00:00 2001 From: charlesh88 Date: Wed, 7 Nov 2018 22:27:03 -0800 Subject: [PATCH] Added new glyph --- src/styles-new/_constants.scss | 2 ++ src/styles-new/_glyphs.scss | 2 ++ .../fonts/Icomoon.Open MCT Symbols 2018.json | 30 +++++++++++++++++- .../fonts/Open-MCT-Symbols-16px.svg | 1 + .../fonts/Open-MCT-Symbols-16px.ttf | Bin 18372 -> 18572 bytes .../fonts/Open-MCT-Symbols-16px.woff | Bin 18448 -> 18648 bytes 6 files changed, 34 insertions(+), 1 deletion(-) diff --git a/src/styles-new/_constants.scss b/src/styles-new/_constants.scss index 4685b9f888..6dfc57e24b 100644 --- a/src/styles-new/_constants.scss +++ b/src/styles-new/_constants.scss @@ -188,6 +188,7 @@ $glyph-icon-tabs-view: '\eb1f'; $glyph-icon-flexible-layout: '\eb20'; $glyph-icon-generator-telemetry: '\eb21'; $glyph-icon-generator-events: '\eb22'; +$glyph-icon-gauge: '\eb23'; /************************** GLYPHS AS DATA URI */ // Only objects have been converted, for use in Create menu and folder views @@ -233,3 +234,4 @@ $bg-icon-tabs-view: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://w $bg-icon-flexible-layout: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath d='M0 416c0 52.8 43.2 96 96 96h32V224H0zM0 96v64h128V0H96C43.2 0 0 43.2 0 96zM384 512h32c52.8 0 96-43.2 96-96v-64H384zM192 0h128v512H192zM416 0h-32v288h128V96c0-52.8-43.2-96-96-96z'/%3e%3c/svg%3e"); $bg-icon-generator-telemetry: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath fill='%23000000' d='M76 236.9c5.4-2.1 20.4-17.8 34.9-54.7C126.8 141.5 154.5 93 196 93c19.7 0 38 10.9 54.6 32.5 14 18.2 24.4 40.8 30.5 56.7 14.5 36.9 29.5 52.6 34.9 54.7 5.4-2.1 20.4-17.8 34.9-54.7S388 104.5 421.7 95A192 192 0 0 0 256 0C150 0 64 86 64 192a197.2 197.2 0 0 0 3.7 37.9c3.6 4 6.5 6.3 8.3 7zM442.3 238.5A192.9 192.9 0 0 0 448 192a197.2 197.2 0 0 0-3.7-37.9c-3.6-4-6.5-6.3-8.3-7-5.4 2.1-20.4 17.8-34.9 54.7-10.9 27.9-27.3 59.5-50 76.6z'/%3e%3cpath d='M256 320l67.5-29.5a60.3 60.3 0 0 1-7.5.5c-19.7 0-38-10.9-54.6-32.5-14-18.2-24.4-40.8-30.5-56.7-14.5-36.9-29.5-52.6-34.9-54.7-5.4 2.1-20.4 17.8-34.9 54.7-8.2 21.1-19.6 44.2-34.4 61.6z'/%3e%3cpath d='M512 240L256 352 0 240v160l256 112 256-112V240z'/%3e%3c/svg%3e"); $bg-icon-generator-events: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath fill='%23000000' d='M160 96h192v32H160zM160 224h192v32H160zM160 160h160v32H160z'/%3e%3cpath d='M128 64.1h256V264l64-28V64a64.2 64.2 0 0 0-64-64H128a64.2 64.2 0 0 0-64 64v172l64 28zM329.1 288H182.9l73.1 32 73.1-32z'/%3e%3cpath d='M256 352L0 240v160l256 112 256-112V240L256 352z'/%3e%3c/svg%3e"); +$bg-icon-gauge: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath d='M256 0C114.6 0 0 114.6 0 256c0 113.2 73.5 209.2 175.3 243L304 256v251.5C422.4 485 512 381 512 256 512 114.6 397.4 0 256 0zm121.4 263.9a159.8 159.8 0 0 0-242.8 0l-73-62.5c4.3-5 8.7-9.8 13.4-14.4a255.9 255.9 0 0 1 362 0c4.7 4.6 9.1 9.4 13.4 14.4z'/%3e%3c/svg%3e"); diff --git a/src/styles-new/_glyphs.scss b/src/styles-new/_glyphs.scss index ad217de26d..5cf76a277d 100644 --- a/src/styles-new/_glyphs.scss +++ b/src/styles-new/_glyphs.scss @@ -142,6 +142,7 @@ .icon-flexible-layout { @include glyphBefore($glyph-icon-flexible-layout); } .icon-generator-telemetry { @include glyphBefore($glyph-icon-generator-telemetry); } .icon-generator-events { @include glyphBefore($glyph-icon-generator-events); } +.icon-gauge { @include glyphBefore($glyph-icon-gauge); } /************************** 12 PX CLASSES */ // TODO: sync with 16px redo as of 10/25/18 @@ -193,3 +194,4 @@ .bg-icon-flexible-layout { @include glyphBg($bg-icon-flexible-layout); } .bg-icon-generator-telemetry { @include glyphBg($bg-icon-generator-telemetry); } .bg-icon-generator-events { @include glyphBg($bg-icon-generator-events); } +.bg-icon-gauge { @include glyphBg($bg-icon-gauge); } diff --git a/src/styles-new/fonts/Icomoon.Open MCT Symbols 2018.json b/src/styles-new/fonts/Icomoon.Open MCT Symbols 2018.json index e19e58ca07..82bf6e7d5f 100644 --- a/src/styles-new/fonts/Icomoon.Open MCT Symbols 2018.json +++ b/src/styles-new/fonts/Icomoon.Open MCT Symbols 2018.json @@ -2,7 +2,7 @@ "metadata": { "name": "Open MCT Symbols", "lastOpened": 0, - "created": 1541557139201 + "created": 1541657905509 }, "iconSets": [ { @@ -980,6 +980,14 @@ "prevSize": 32, "code": 60194, "tempChar": "" + }, + { + "order": 160, + "id": 140, + "name": "icon-gauge", + "prevSize": 32, + "code": 60195, + "tempChar": "" } ], "id": 0, @@ -2909,6 +2917,26 @@ {} ] } + }, + { + "id": 140, + "paths": [ + "M512 0c-282.8 0-512 229.2-512 512 0 226.4 147 418.4 350.6 486l257.4-486v503c236.8-45 416-253 416-503 0-282.8-229.2-512-512-512zM754.8 527.8c-58.967-68.597-145.842-111.772-242.8-111.772s-183.833 43.176-242.445 111.35l-0.355 0.422-146-125c8.6-10 17.4-19.6 26.8-28.8 92.628-92.679 220.619-150.006 362-150.006s269.372 57.326 361.997 150.003l0.003 0.003c9.4 9.2 18.2 18.8 26.8 28.8z" + ], + "attrs": [ + {} + ], + "isMulticolor": false, + "isMulticolor2": false, + "grid": 1, + "tags": [ + "icon-gauge" + ], + "colorPermutations": { + "11841841841": [ + {} + ] + } } ], "invisible": false, diff --git a/src/styles-new/fonts/Open-MCT-Symbols-16px.svg b/src/styles-new/fonts/Open-MCT-Symbols-16px.svg index 62db2533f0..9760eecff9 100755 --- a/src/styles-new/fonts/Open-MCT-Symbols-16px.svg +++ b/src/styles-new/fonts/Open-MCT-Symbols-16px.svg @@ -128,4 +128,5 @@ + \ No newline at end of file diff --git a/src/styles-new/fonts/Open-MCT-Symbols-16px.ttf b/src/styles-new/fonts/Open-MCT-Symbols-16px.ttf index 1da2dcbbe19060c975cc2545e6a220174375a035..d05b3afcba72a2957d7f15fd5ade52cbf7633c16 100755 GIT binary patch delta 471 zcmX@o&)74Ov7UjEfq{XWp@D&!!N5OQ--us`!xJd72Z$4ra}x^~p6=&mU|^I1@>9|i ziwl6X0Fd7Rq&d=aD$^|d&ierQ9SjVP4jHM5DZ<7fBsh-0IRY%Itg`K*xh3 z0_gg}1B(CS`E9;3a059&aD%h$ER3G4<7CcQw>ib>3*%%1XO_tkE`PWb764^Idh0ev Ixn?l|0DM+vzyJUM delta 284 zcmeB~$atimv7UjEfq{XWp@D&!!N5OQ--us`!viR?2Z$4ra}x^~p6=&iU|^I1@>9|i ziwl6X0Fd7Rq&d=aD$~LzR6GRoI~W)o8ZuH7Q-lrNPBSn#aRBAbGJpc?hgfWZd`;v(}+!>W7G5RwqZ4O}E>7Weq2MYs3P0O2^@%%Pl8MuKQ wAh^N7@C-&ze&b}$Si4!p`3vJ@8P`7oV87Qg%wgaKD`lEo=pnq>-p!W@07UFXG5`Po diff --git a/src/styles-new/fonts/Open-MCT-Symbols-16px.woff b/src/styles-new/fonts/Open-MCT-Symbols-16px.woff index cd2de010662c9e024cfdcba0159dca9125c8fd6f..f70be06fdff5aba5bcd1d7d59e6fc453ee4aa478 100755 GIT binary patch delta 497 zcmbO*f$_#fMv-!VH#Y`G1|aab!N3isdnSr#*Lx=CCKfO-FlGRSQo#7>e%|!NVvyJw zAfE$@1=4dW(|}@E7#JKKK-j|XyiZ1IB2bUB2vCg~2n!nr&CCD_0>ylQd=(I8Kg42} zky}y$6a$(01BBnPbDYk}PX?;9a|K!a4}^=F6YX*nD}ajJKw=7D+`}+0FEKY2DAvKi zz@!Jlice<0F32w~0s3Ue#6SLw%9DKoF=TvGFsigT%lR#zqi@hCt;^3|X;p-5MHF zQgIFrzKo2KK0XEV3K|;Saj~5`b)KHJI*gOpdD)dUHDip7Oihi9Vl*{Vlz}2F3}8iB zp}xNL`UaAW&;D@=>gu(Igv3D%{QJSg#>SYjmV=L7Sw>o&n~RHEU0Oz&oevb&peO>m zzVLwJ|9F0zuMFHk4iMbnYCs#O`GuCb1;Pi!Y@d6h{E`M8|fqI-mfNIP@SlGbrbOulmDAohy ztAH^3Ar{+=+>#2Q*ao2fFChGio#S*)elk#4C7~li9Be@{3D={`fHQk3XZ*WFJN#xp@xbP6uU>KUo+UYFggR tjOVxc%D@fe0Kp9ohG#H(vW2rbW9{Yw=P!(tGhF|$fy1VDbDmok69AOvO=JK7