Skip to content

Commit

Permalink
use font notimages
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMcLear committed Nov 24, 2014
1 parent ede7422 commit e97ce43
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"description": "Apply colors to fonts",
"name": "ep_font_color",
"version": "0.0.8",
"version": "0.0.9",
"author": {
"name": "John McLear",
"email": "[email protected]"
Expand Down
15 changes: 13 additions & 2 deletions templates/editbarButtons.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<li class="separator acl-write"></li>
<li class="acl-write font-color-icon">
<li class="acl-write font-color-icon ep_font_color">
<a title="Font color">
<span class="buttonicon" style="background-image:url('../static/plugins/ep_font_color/static/img/icon.png');"></span>
<span class="buttonicon"></span>
</a>
</li>
<li id="font-color" class="acl-write" style="display:none;">
Expand All @@ -15,3 +15,14 @@
<option value="5" data-l10n-id="ep_font_color.orange">orange</option>
</select>
</li>

<style>
.ep_font_color {
font-family:font-awesome;
}
.ep_font_color .buttonicon:before{
color: #2E0854;
content:"\e81b";
top: 2px !important;
}
</style>

0 comments on commit e97ce43

Please sign in to comment.