Skip to content

Commit 7f43c0b

Browse files
charlesh88larkin
authored andcommitted
Add Notebook icon (nasa#1742)
* Add Notebook icon Fixes nasa#1739 Added to Style Guide as well * Add icomoon project file Fixes nasa#1739
1 parent bfa3bbc commit 7f43c0b

File tree

7 files changed

+37
-2
lines changed

7 files changed

+37
-2
lines changed

example/styleguide/res/templates/glyphs.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,8 @@
127127
{ 'meaning': 'Timer object', 'cssClass': 'icon-timer', 'cssContent': 'e1127', 'htmlEntity': '&#xe1127' },
128128
{ 'meaning': 'Data Topic', 'cssClass': 'icon-topic', 'cssContent': 'e1128', 'htmlEntity': '&#xe1128' },
129129
{ 'meaning': 'Fixed Position object', 'cssClass': 'icon-box-with-dashed-lines', 'cssContent': 'e1129', 'htmlEntity': '&#xe1129' },
130-
{ 'meaning': 'Summary Widget', 'cssClass': 'icon-summary-widget', 'cssContent': 'e1130', 'htmlEntity': '&#xe1130' }
130+
{ 'meaning': 'Summary Widget', 'cssClass': 'icon-summary-widget', 'cssContent': 'e1130', 'htmlEntity': '&#xe1130' },
131+
{ 'meaning': 'Notebook object', 'cssClass': 'icon-notebook', 'cssContent': 'e1131', 'htmlEntity': '&#xe1131' }
131132
];
132133
"></div>
133134

platform/commonUI/general/res/fonts/symbols/icomoon-project-openmct-symbols-16px.json

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"metadata": {
33
"name": "openmct-symbols-16px",
44
"lastOpened": 0,
5-
"created": 1505151140023
5+
"created": 1506973656040
66
},
77
"iconSets": [
88
{
@@ -899,6 +899,14 @@
899899
"prevSize": 24,
900900
"code": 921904,
901901
"tempChar": ""
902+
},
903+
{
904+
"order": 139,
905+
"id": 117,
906+
"name": "icon-notebook",
907+
"prevSize": 24,
908+
"code": 921905,
909+
"tempChar": ""
902910
}
903911
],
904912
"metadata": {
@@ -3524,6 +3532,29 @@
35243532
{}
35253533
]
35263534
}
3535+
},
3536+
{
3537+
"id": 117,
3538+
"paths": [
3539+
"M896 110.8c0-79.8-55.4-127.4-123-105.4l-773 250.6h896v-145.2z",
3540+
"M896 320h-896v576c0 70.4 57.6 128 128 128h768c70.4 0 128-57.6 128-128v-448c0-70.4-57.6-128-128-128zM832 832h-384v-320h384v320z"
3541+
],
3542+
"attrs": [
3543+
{},
3544+
{}
3545+
],
3546+
"isMulticolor": false,
3547+
"isMulticolor2": false,
3548+
"grid": 16,
3549+
"tags": [
3550+
"icon-notebook"
3551+
],
3552+
"colorPermutations": {
3553+
"1161751207457516161751": [
3554+
{},
3555+
{}
3556+
]
3557+
}
35273558
}
35283559
],
35293560
"colorThemes": [
Binary file not shown.

platform/commonUI/general/res/fonts/symbols/openmct-symbols-16px.svg

Lines changed: 1 addition & 0 deletions
Loading
Binary file not shown.
Binary file not shown.

platform/commonUI/general/res/sass/_glyphs.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ $glyph-icon-timer: '\e1127';
146146
$glyph-icon-topic: '\e1128';
147147
$glyph-icon-box-with-dashed-lines: '\e1129';
148148
$glyph-icon-summary-widget: '\e1130';
149+
$glyph-icon-notebook: '\e1131';
149150

150151
/************************** 16 PX CLASSES */
151152

@@ -260,6 +261,7 @@ $glyph-icon-summary-widget: '\e1130';
260261
.icon-topic { @include glyphBefore($glyph-icon-topic); }
261262
.icon-box-with-dashed-lines { @include glyphBefore($glyph-icon-box-with-dashed-lines); }
262263
.icon-summary-widget { @include glyphBefore($glyph-icon-summary-widget); }
264+
.icon-notebook { @include glyphBefore($glyph-icon-notebook); }
263265

264266
/************************** 12 PX CLASSES */
265267
.icon-crosshair-12px { @include glyphBefore($glyph-icon-crosshair,'symbolsfont-12px'); }

0 commit comments

Comments
 (0)