vendor/assets/stylesheets/font-awesome.scss in font-awesome-sass-rails-0.1.0 vs vendor/assets/stylesheets/font-awesome.scss in font-awesome-sass-rails-0.2.0
- old
+ new
@@ -20,24 +20,23 @@
Twitter: http://twitter.com/fortaweso_me
Work: http://lemonwi.se co-founder
*/
-@import "compass/css3/font-face";
$font_path: "fontawesome-webfont" !default;
-@include font-face(
- 'FontAwesome',
- font-files(
- "#{$font_path}.woff", woff,
- "#{$font_path}.ttf", truetype,
- "#{$font_path}.otf", opentype,
- "#{$font_path}.svgz#FontAwesomeRegular", svg,
- "#{$font_path}.svg#FontAwesomeRegular", svg),
- '#{$font_path}.eot',
- normal,
- normal);
+@font-face {
+ font-family: 'FontAwesome';
+ src: font-url("#{$font_path}.eot");
+ src: font-url("#{$font_path}.eot?#iefix") unquote("format('eot')"),
+ font-url("#{$font_path}.woff") unquote("format('woff')"),
+ font-url("#{$font_path}.ttf") unquote("format('truetype')"),
+ font-url("#{$font_path}.svgz#FontAwesomeRegular") unquote("format('svg')"),
+ font-url("#{$font_path}.svg#FontAwesomeRegular") unquote("format('svg')");
+ font-weight: normal;
+ font-style: normal;
+}
/* sprites.less reset */
[class^="icon-"],
[class*=" icon-"] {
display: inline;
@@ -262,6 +261,6 @@
.icon-signin:before { content: "\f090"; }
.icon-trophy:before { content: "\f091"; }
.icon-github-sign:before { content: "\f092"; }
.icon-upload-alt:before { content: "\f093"; }
-.icon-lemon:before { content: "\f094"; }
\ No newline at end of file
+.icon-lemon:before { content: "\f094"; }