add "mastery-path" icon to the existing canvas icon-font

Fixes: CNVS-31497

test plan:
- as a user navigate to /styleguide click style then icons and
  scroll down to the bottom of the icons to see the new one has
  been added http://screencast.com/t/WuhgdCUTKaBr

  Note: locally if having trouble getting the assets to compile
  the icon font correctly (as in it keeps showing as an ascii
  box... delete /dist folder inside public and run all of the
  necessary icon-font compiling commands and it should
  generate just fine)

Change-Id: I355a9408d216d01bb0ff6b2fbed029d22a361445
Reviewed-on: https://gerrit.instructure.com/89582
Tested-by: Jenkins
Reviewed-by: Stephen Jensen <sejensen@instructure.com>
Product-Review: Kyle Follett <kfollett@instructure.com>
QA-Review: Pierce Arner <pierce@instructure.com>
This commit is contained in:
Pam Hiett 2016-09-02 12:40:15 -06:00
parent c35b325594
commit 2b6e77b140
8 changed files with 19 additions and 7 deletions

View File

@ -1,7 +1,7 @@
{
"checksum": {
"previous": "7f2a69615c29c0381ac9f641bb58f24f753d87d7b0feb9dde9148cf4f180abb4",
"current": "7f2a69615c29c0381ac9f641bb58f24f753d87d7b0feb9dde9148cf4f180abb4"
"previous": "4f0cf3c2827fbe1bdbcab00867f03e5a64fd404def0c4dfc4bd2d9234bcf84a6",
"current": "4f0cf3c2827fbe1bdbcab00867f03e5a64fd404def0c4dfc4bd2d9234bcf84a6"
},
"fonts": [
"public/fonts/canvas/canvas-icons.ttf",
@ -386,6 +386,10 @@
"codepoint": 61881,
"source": "public/fonts/icons/masquerade.svg"
},
"mastery-path": {
"codepoint": 61886,
"source": "public/fonts/icons/mastery-path.svg"
},
"materials-required": {
"codepoint": 61782,
"source": "public/fonts/icons/materials-required.svg"

View File

@ -313,6 +313,7 @@ Either use `<a>` with icon desired icon class added or insert `<i>` inside `<but
</div>
<div class="row-fluid">
<span class="span3"><i class="icon-keyboard-shortcuts"></i> icon-keyboard-shortcuts</span>
<span class="span3"><i class="icon-mastery-path"></i> icon-mastery-path</span>
</div>
*/
@ -493,6 +494,7 @@ h1, h2, h3, h4, .h1, .h2, .h3, .h4, p {
.icon-lti:before { content: "\f154"; }
.icon-mark-as-read:before { content: "\f155"; }
.icon-masquerade:before { content: "\f1b9"; }
.icon-mastery-path:before { content: "\f1be"; }
.icon-materials-required:before { content: "\f156"; }
.icon-materials-required-light:before { content: "\f157"; }
.icon-mature:before { content: "\f158"; }

Binary file not shown.

View File

@ -1,13 +1,13 @@
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<!--
2016-8-9: Created with FontForge (http://fontforge.org)
2016-9-2: Created with FontForge (http://fontforge.org)
-->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<metadata>
Created by FontForge 20160407 at Tue Aug 9 16:55:10 2016
By Chris Hart
Copyright (c) 2016, Chris Hart
Created by FontForge 20150504 at Fri Sep 2 12:34:17 2016
By Pam Hiett
Copyright (c) 2016, Pam Hiett
</metadata>
<defs>
<font id="canvas-icons" horiz-adv-x="512" >
@ -22,7 +22,7 @@ Copyright (c) 2016, Chris Hart
bbox="-1.71191 -64.416 513.729 449.392"
underline-thickness="25.6"
underline-position="-51.2"
unicode-range="U+0020-F1BD"
unicode-range="U+0020-F1BE"
/>
<missing-glyph />
<glyph glyph-name="space" unicode=" " horiz-adv-x="200"
@ -467,6 +467,10 @@ s-16 6.76758 -16 -16v-33.4082zM339.568 39.7441c25.5996 28 42.0801 64.3994 44.031
c-28.0645 25.4873 -64.4805 41.9199 -104.272 44v-31.5684h-16v31.6162c-40.0801 -1.82422 -76.5762 -18.1602 -104.64 -43.6807l22.1113 -22.1113l-11.3115 -11.3125l-22.1123 22.1123c-25.4883 -28.0479 -41.8555 -64.5596 -43.6797 -104.624h31.6318v-16h-31.584
c2.08008 -39.8398 18.4482 -76.3203 43.9043 -104.368l21.8555 21.8398l11.3125 -11.3115l-21.8721 -21.8721c28 -25.5996 64.3994 -42.0801 104.384 -43.9043v31.6162h16v-31.5684c39.8076 2.08008 76.208 18.5127 104.24 44l-21.7285 21.7285l11.3125 11.3115
l21.7598 -21.7275h-0.015625z" />
<glyph glyph-name="uniF1BE" unicode="&#xf1be;"
d="M424.6 219.3l-29.7998 29.6006l27.2998 27.2998h-54.5c-60.2998 0 -72.2998 -17.2998 -88.8994 -41.1006c-10.1006 -14.5 -21.4004 -30.6992 -42.7998 -43.2998c21.3994 -12.5 32.6992 -28.7998 42.7998 -43.2998c16.5996 -23.9004 28.5996 -41.0996 88.8994 -41.0996
h54.5l-27.2998 27.2998l29.7998 29.7998l78.1006 -78.2002l-78.1006 -78.2002l-29.7998 29.8008l27.2998 27.2998h-54.5c-82.2998 0 -104.199 31.5 -123.5 59.2002c-17.2998 24.8994 -32.2998 46.3994 -108.399 46.3994h-126.5v42.2002h126.5
c76.0996 0 91.0996 21.5 108.399 46.4004c19.3008 27.7998 41.2002 59.1992 123.5 59.1992h54.5l-27.2998 27.3008l29.7998 29.7998l78.1006 -78.2002z" />
<glyph glyph-name="uniF11F" unicode="&#xf11f;"
d="M448 448c35.2002 0 64 -28.7998 64 -64v-288c0 -35.2002 -28.7998 -64 -64 -64h-204.8l-115.2 -96v96h-64c-35.2002 0 -64 28.7998 -64 64v288c0 35.2002 28.7998 64 64 64h384zM435.2 320c6.39941 3.2002 6.39941 12.7998 0 16l-44.7998 44.7998
c-6.40039 3.2002 -12.8008 3.2002 -16 -3.2002l-172.801 -172.8l-70.3994 67.2002c-6.40039 6.40039 -12.7998 6.40039 -19.2002 0l-44.7998 -44.7998c-3.2002 -3.2002 -3.2002 -12.7998 0 -16l124.8 -118.4c3.2002 -3.2002 6.40039 -3.2002 9.59961 -3.2002

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

View File

@ -313,6 +313,7 @@ Either use `<a>` with icon desired icon class added or insert `<i>` inside `<but
</div>
<div class="row-fluid">
<span class="span3"><i class="icon-keyboard-shortcuts"></i> icon-keyboard-shortcuts</span>
<span class="span3"><i class="icon-mastery-path"></i> icon-mastery-path</span>
</div>
*/

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path d="M424.6 228.7l78.1-78.2-78.1-78.2-29.8 29.8 27.3 27.3h-54.5c-82.3 0-104.2 31.4-123.5 59.2-17.3 24.9-32.3 46.4-108.4 46.4H9.2v42.2h126.5c76.1 0 91.1 21.5 108.4 46.4 19.3 27.7 41.2 59.2 123.5 59.2h54.5l-27.3 27.3 29.8 29.8 78.1-78.2-78.1-78.2-29.8 29.8 27.3 27.3h-54.5c-60.3 0-72.3-17.2-88.9-41.1-10.1-14.5-21.4-30.8-42.8-43.3 21.4-12.6 32.7-28.8 42.8-43.3 16.6-23.8 28.6-41.1 88.9-41.1h54.5l-27.3 27.3 29.8 29.6z"/></svg>

After

Width:  |  Height:  |  Size: 515 B