vendor: add plus icon to fontello

This commit is contained in:
Feross Aboukhadijeh
2016-03-02 16:39:41 -08:00
parent 527dde8ca6
commit 57dcc296dc
11 changed files with 30 additions and 17 deletions

View File

@@ -6,6 +6,12 @@
"units_per_em": 1000,
"ascent": 850,
"glyphs": [
{
"uid": "63e91725cfc5751fe4d772325fd50830",
"css": "plus",
"code": 59393,
"src": "mfglabs"
},
{
"uid": "b714be5a812a474811604f700dfc87ce",
"css": "left-open",

View File

@@ -1,3 +1,4 @@
.icon-plus:before { content: '\e801'; } /* '' */
.icon-left-open:before { content: '\e802'; } /* '' */
.icon-right-open:before { content: '\e803'; } /* '' */

File diff suppressed because one or more lines are too long

View File

@@ -1,3 +1,4 @@
.icon-plus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-left-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-right-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }

View File

@@ -10,5 +10,6 @@
/* font-size: 120%; */
}
.icon-plus { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-left-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }
.icon-right-open { *zoom: expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = ' '); }

View File

@@ -1,10 +1,10 @@
@font-face {
font-family: 'fontello';
src: url('../font/fontello.eot?22518498');
src: url('../font/fontello.eot?22518498#iefix') format('embedded-opentype'),
url('../font/fontello.woff?22518498') format('woff'),
url('../font/fontello.ttf?22518498') format('truetype'),
url('../font/fontello.svg?22518498#fontello') format('svg');
src: url('../font/fontello.eot?26038672');
src: url('../font/fontello.eot?26038672#iefix') format('embedded-opentype'),
url('../font/fontello.woff?26038672') format('woff'),
url('../font/fontello.ttf?26038672') format('truetype'),
url('../font/fontello.svg?26038672#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
@@ -14,7 +14,7 @@
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'fontello';
src: url('../font/fontello.svg?22518498#fontello') format('svg');
src: url('../font/fontello.svg?26038672#fontello') format('svg');
}
}
*/
@@ -54,5 +54,6 @@
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}
.icon-plus:before { content: '\e801'; } /* '' */
.icon-left-open:before { content: '\e802'; } /* '' */
.icon-right-open:before { content: '\e803'; } /* '' */

View File

@@ -229,11 +229,11 @@ body {
}
@font-face {
font-family: 'fontello';
src: url('./font/fontello.eot?1335634');
src: url('./font/fontello.eot?1335634#iefix') format('embedded-opentype'),
url('./font/fontello.woff?1335634') format('woff'),
url('./font/fontello.ttf?1335634') format('truetype'),
url('./font/fontello.svg?1335634#fontello') format('svg');
src: url('./font/fontello.eot?56023205');
src: url('./font/fontello.eot?56023205#iefix') format('embedded-opentype'),
url('./font/fontello.woff?56023205') format('woff'),
url('./font/fontello.ttf?56023205') format('truetype'),
url('./font/fontello.svg?56023205#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
@@ -301,6 +301,7 @@ body {
</div>
<div id="icons" class="container">
<div class="row">
<div title="Code: 0xe801" class="the-icons span3"><i class="demo-icon icon-plus">&#xe801;</i> <span class="i-name">icon-plus</span><span class="i-code">0xe801</span></div>
<div title="Code: 0xe802" class="the-icons span3"><i class="demo-icon icon-left-open">&#xe802;</i> <span class="i-name">icon-left-open</span><span class="i-code">0xe802</span></div>
<div title="Code: 0xe803" class="the-icons span3"><i class="demo-icon icon-right-open">&#xe803;</i> <span class="i-name">icon-right-open</span><span class="i-code">0xe803</span></div>
</div>

Binary file not shown.

View File

@@ -6,6 +6,7 @@
<font id="fontello" horiz-adv-x="1000" >
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
<missing-glyph horiz-adv-x="1000" />
<glyph glyph-name="plus" unicode="&#xe801;" d="M0 291v119q0 20 14 35t35 14h281v281q0 20 15 35t35 14h119q20 0 34-14t15-35v-281h281q20 0 35-14t14-35v-119q0-21-14-35t-35-15h-281v-282q0-20-15-34t-34-15h-119q-21 0-35 15t-15 34v282h-281q-20 0-35 15t-14 35z" horiz-adv-x="878.9" />
<glyph glyph-name="left-open" unicode="&#xe802;" d="M0 353l391 391q18 18 43 18 24 0 43-18 18-18 18-44t-18-43l-304-304 304-305q18-17 18-43t-18-43q-18-18-43-18t-43 18z" horiz-adv-x="495.1" />
<glyph glyph-name="right-open" unicode="&#xe803;" d="M0 0q0 25 18 43l305 304-305 304q-18 18-18 44t18 43 44 18 43-18l390-391-390-391q-19-18-43-18t-44 18q-18 18-18 44z" horiz-adv-x="495.1" />
</font>

Before

Width:  |  Height:  |  Size: 865 B

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Binary file not shown.