font-awesome-sass 4.2.0 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/assets/stylesheets/_font-awesome-compass.scss +1 -5
- data/assets/stylesheets/_font-awesome-sprockets.scss +1 -5
- data/assets/stylesheets/font-awesome/_path.scss +5 -6
- data/assets/stylesheets/font-awesome/_variables.scss +1 -2
- data/lib/font_awesome/sass/rails/engine.rb +1 -1
- data/lib/font_awesome/sass/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 584b2f8a5c521c7cb159aa0cea48de97feef7eec
|
4
|
+
data.tar.gz: 871bfd184d00ef17602b7eef6ee90b863823b023
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a12817e1916b3a884839e6971d51bceb268ea60b8a243301710666e3f531738c40b7ba3162ed5c2ced461f068385aece9f765f04576a9313b1ac066efeab9b6
|
7
|
+
data.tar.gz: f0c6461343eea5dc38c6a24ced2fe62dd74ba8a8efa2e5a56367b847d93d674b90a21cb35908a5f17e058d63b71ea26686829264c63c06eb7bd032124d7233ad
|
data/README.md
CHANGED
@@ -28,7 +28,7 @@ bundle install
|
|
28
28
|
```
|
29
29
|
|
30
30
|
Import the FontAwesome styles in your `app/assets/stylesheets/application.css.scss`. The `font-awesome-sprockets` file
|
31
|
-
includes the sprockets
|
31
|
+
includes the sprockets assets helper Sass functions used for finding the proper path to the font file.
|
32
32
|
|
33
33
|
```scss
|
34
34
|
@import "font-awesome-sprockets";
|
@@ -61,20 +61,20 @@ Note: the icon helper can take a hash of options that will be passed to the cont
|
|
61
61
|
Install the gem
|
62
62
|
|
63
63
|
```sh
|
64
|
-
gem install
|
64
|
+
gem install font-awesome-sass
|
65
65
|
```
|
66
66
|
|
67
67
|
If you have an existing Compass project:
|
68
68
|
|
69
69
|
```ruby
|
70
70
|
# config.rb:
|
71
|
-
require '
|
71
|
+
require 'font-awesome-sass'
|
72
72
|
```
|
73
73
|
|
74
74
|
Import the FontAwesome styles
|
75
75
|
|
76
76
|
```scss
|
77
|
-
@import "font-awesome-
|
77
|
+
@import "font-awesome-compass";
|
78
78
|
@import "font-awesome";
|
79
79
|
```
|
80
80
|
|
@@ -1,13 +1,12 @@
|
|
1
1
|
/* FONT PATH
|
2
2
|
* -------------------------- */
|
3
|
-
|
4
3
|
@font-face {
|
5
4
|
font-family: 'FontAwesome';
|
6
|
-
src: url(if($fa-sass-asset-helper,
|
7
|
-
src: url(if($fa-sass-asset-helper,
|
8
|
-
|
9
|
-
|
10
|
-
|
5
|
+
src: url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}#{$fa-font-name}.eot'), '#{$fa-font-path}#{$fa-font-name}.eot'));
|
6
|
+
src: url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}#{$fa-font-name}.eot?#iefix'), '#{$fa-font-path}#{$fa-font-name}.eot?#iefix')) format('embedded-opentype'),
|
7
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}#{$fa-font-name}.woff'), '#{$fa-font-path}#{$fa-font-name}.woff')) format('woff'),
|
8
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}#{$fa-font-name}.ttf'), '#{$fa-font-path}#{$fa-font-name}.ttf')) format('truetype'),
|
9
|
+
url(if($fa-sass-asset-helper, fa-font-path('#{$fa-font-path}#{$fa-font-name}.svg#fontawesomeregular'), '#{$fa-font-path}#{$fa-font-name}.svg#fontawesomeregular')) format('svg');
|
11
10
|
font-weight: normal;
|
12
11
|
font-style: normal;
|
13
12
|
}
|
@@ -1,7 +1,6 @@
|
|
1
1
|
// Variables
|
2
2
|
// --------------------------
|
3
|
-
|
4
|
-
$fa-sass-asset-helper: (icon-font-path("") != unquote('icon-font-path("")')) !default;
|
3
|
+
$fa-sass-asset-helper: (fa-font-path("") != unquote('fa-font-path("")')) !default;
|
5
4
|
|
6
5
|
$fa-font-path: if($fa-sass-asset-helper, "font-awesome/", "../fonts/font-awesome/") !default;
|
7
6
|
$fa-font-name: "fontawesome-webfont" !default;
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: font-awesome-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Travis Chase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -138,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
requirements: []
|
140
140
|
rubyforge_project:
|
141
|
-
rubygems_version: 2.
|
141
|
+
rubygems_version: 2.4.1
|
142
142
|
signing_key:
|
143
143
|
specification_version: 4
|
144
144
|
summary: Font-Awesome SASS
|