fontello.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. @font-face {
  2. font-family: 'fontello';
  3. src: url('../font/fontello.eot?64848116');
  4. src: url('../font/fontello.eot?64848116#iefix') format('embedded-opentype'),
  5. url('../font/fontello.woff2?64848116') format('woff2'),
  6. url('../font/fontello.woff?64848116') format('woff'),
  7. url('../font/fontello.ttf?64848116') format('truetype'),
  8. url('../font/fontello.svg?64848116#fontello') format('svg');
  9. font-weight: normal;
  10. font-style: normal;
  11. }
  12. /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
  13. /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
  14. /*
  15. @media screen and (-webkit-min-device-pixel-ratio:0) {
  16. @font-face {
  17. font-family: 'fontello';
  18. src: url('../font/fontello.svg?64848116#fontello') format('svg');
  19. }
  20. }
  21. */
  22. [class^="icon-"]:before, [class*=" icon-"]:before {
  23. font-family: "fontello";
  24. font-style: normal;
  25. font-weight: normal;
  26. speak: none;
  27. display: inline-block;
  28. text-decoration: inherit;
  29. width: 1em;
  30. margin-right: .2em;
  31. text-align: center;
  32. /* opacity: .8; */
  33. /* For safety - reset parent styles, that can break glyph codes*/
  34. font-variant: normal;
  35. text-transform: none;
  36. /* fix buttons height, for twitter bootstrap */
  37. line-height: 1em;
  38. /* Animation center compensation - margins should be symmetric */
  39. /* remove if not needed */
  40. margin-left: .2em;
  41. /* you can be more comfortable with increased icons size */
  42. /* font-size: 120%; */
  43. /* Font smoothing. That was taken from TWBS */
  44. -webkit-font-smoothing: antialiased;
  45. -moz-osx-font-smoothing: grayscale;
  46. /* Uncomment for 3D effect */
  47. /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
  48. }
  49. .icon-cancel:before { content: '\e800'; } /* '' */
  50. .icon-upload:before { content: '\e801'; } /* '' */
  51. .icon-star:before { content: '\e802'; } /* '' */
  52. .icon-star-empty:before { content: '\e803'; } /* '' */
  53. .icon-retweet:before { content: '\e804'; } /* '' */
  54. .icon-eye-off:before { content: '\e805'; } /* '' */
  55. .icon-plus-squared:before { content: '\e806'; } /* '' */
  56. .icon-cog:before { content: '\e807'; } /* '' */
  57. .icon-logout:before { content: '\e808'; } /* '' */
  58. .icon-spin3:before { content: '\e832'; } /* '' */
  59. .icon-spin4:before { content: '\e834'; } /* '' */
  60. .icon-menu:before { content: '\f0c9'; } /* '' */
  61. .icon-reply:before { content: '\f112'; } /* '' */
  62. .icon-binoculars:before { content: '\f1e5'; } /* '' */
  63. .icon-user-plus:before { content: '\f234'; } /* '' */