iconTemplate.css 894 B

12345678910111213141516171819202122232425262728293031323334
  1. @font-face {
  2. font-family: "<%= fontName %>";
  3. src: url('{eot}');
  4. src: url('{eot}') format('embedded-opentype'),
  5. url('{ttf}') format('truetype'),
  6. url('{woff}') format('woff'),
  7. url('{svg}') format('svg');
  8. font-weight: normal;
  9. font-style: normal;
  10. }
  11. [class^="<%= cssClass %>-"], [class*=" <%= cssClass %>-"]{
  12. font-family: "<%= fontName %>" !important;
  13. -webkit-font-smoothing: antialiased;
  14. -moz-osx-font-smoothing: grayscale;
  15. font-style: normal;
  16. font-variant: normal;
  17. font-weight: normal;
  18. text-decoration: none;
  19. text-transform: none;
  20. line-height: 1;
  21. }
  22. <% _.each(glyphs, function(glyph) { %>
  23. .<%= cssClass %>-<%= glyph.name %>:before {
  24. content: "\<%= glyph.codePoint %>";
  25. }
  26. <% }); %>
  27. <% _.each(glyphs, function(glyph) { %>
  28. .<%= cssClass %>-<%= glyph.name %>-after:after {
  29. content: "\<%= glyph.codePoint %>";
  30. }
  31. <% }); %>