Rename icon assets & references

Closes #120

- Renames icon fonts and unicode references

This uses the same basic theory behind 8b25a3d07c which has been proven to work
This commit is contained in:
Paul Adam Davis
2014-08-19 16:22:55 +01:00
parent 3950251944
commit 094c09ade4
9 changed files with 35 additions and 35 deletions

View File

@ -106,19 +106,19 @@ table { border-collapse: collapse; border-spacing: 0; }
/* Import the font file with the icons in it */
@font-face {
font-family: "icons";
src:url("../fonts/icons.eot");
src:url("../fonts/icons.eot?#iefix") format("embedded-opentype"),
url("../fonts/icons.woff") format("woff"),
url("../fonts/icons.ttf") format("truetype"),
url("../fonts/icons.svg#icons") format("svg");
font-family: "casper-icons";
src:url("../fonts/casper-icons.eot");
src:url("../fonts/casper-icons.eot?#iefix") format("embedded-opentype"),
url("../fonts/casper-icons.woff") format("woff"),
url("../fonts/casper-icons.ttf") format("truetype"),
url("../fonts/casper-icons.svg#icons") format("svg");
font-weight: normal;
font-style: normal;
}
/* Apply these base styles to all icons */
[class^="icon-"]:before, [class*=" icon-"]:before {
font-family: "icons", "Open Sans", sans-serif;
font-family: "casper-icons", "Open Sans", sans-serif;
speak: none;
font-style: normal;
font-weight: normal;
@ -133,33 +133,33 @@ table { border-collapse: collapse; border-spacing: 0; }
/* Each icon is created by inserting the correct character into the
content of the :before pseudo element. Like a boss. */
.icon-ghost:before {
content: "\e000";
content: "\f600";
}
.icon-feed:before {
content: "\e001";
content: "\f601";
}
.icon-twitter:before {
content: "\e002";
content: "\f602";
font-size: 1.1em;
}
.icon-google-plus:before {
content: "\e003";
content: "\f603";
}
.icon-facebook:before {
content: "\e004";
content: "\f604";
}
.icon-arrow-left:before {
content: "\e005";
content: "\f605";
}
.icon-stats:before {
content: "\e006";
content: "\f606";
}
.icon-location:before {
content: "\e007";
content: "\f607";
margin-left: -3px; /* Tracking fix */
}
.icon-link:before {
content: "\e008";
content: "\f608";
}