nex-font-awesome-sass 4.7.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (34) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +20 -0
  3. data/Gemfile +4 -0
  4. data/LICENSE.txt +22 -0
  5. data/README.md +97 -0
  6. data/Rakefile +1 -0
  7. data/assets/fonts/font-awesome/fontawesome-webfont.eot +0 -0
  8. data/assets/fonts/font-awesome/fontawesome-webfont.svg +2671 -0
  9. data/assets/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
  10. data/assets/fonts/font-awesome/fontawesome-webfont.woff +0 -0
  11. data/assets/fonts/font-awesome/fontawesome-webfont.woff2 +0 -0
  12. data/assets/stylesheets/_font-awesome-compass.scss +5 -0
  13. data/assets/stylesheets/_font-awesome-sprockets.scss +5 -0
  14. data/assets/stylesheets/_font-awesome.scss +18 -0
  15. data/assets/stylesheets/font-awesome/_animated.scss +34 -0
  16. data/assets/stylesheets/font-awesome/_bordered-pulled.scss +25 -0
  17. data/assets/stylesheets/font-awesome/_core.scss +12 -0
  18. data/assets/stylesheets/font-awesome/_fixed-width.scss +6 -0
  19. data/assets/stylesheets/font-awesome/_icons.scss +789 -0
  20. data/assets/stylesheets/font-awesome/_larger.scss +13 -0
  21. data/assets/stylesheets/font-awesome/_list.scss +19 -0
  22. data/assets/stylesheets/font-awesome/_mixins.scss +60 -0
  23. data/assets/stylesheets/font-awesome/_path.scss +14 -0
  24. data/assets/stylesheets/font-awesome/_rotated-flipped.scss +20 -0
  25. data/assets/stylesheets/font-awesome/_screen-reader.scss +5 -0
  26. data/assets/stylesheets/font-awesome/_stacked.scss +20 -0
  27. data/assets/stylesheets/font-awesome/_variables.scss +802 -0
  28. data/font-awesome-sass.gemspec +27 -0
  29. data/lib/font-awesome-sass.rb +78 -0
  30. data/lib/font_awesome/sass/rails/engine.rb +17 -0
  31. data/lib/font_awesome/sass/rails/helpers.rb +19 -0
  32. data/lib/font_awesome/sass/rails/railtie.rb +13 -0
  33. data/lib/font_awesome/sass/version.rb +5 -0
  34. metadata +145 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: cc47e6ac9bba6c70f656a95a96857f3f4e6acb71c19a01e142bd43ad99212ced
4
+ data.tar.gz: 4a3e09dbeeb504b9e86e8fab709e7d9a34b48f505f78872667611d632c138bf5
5
+ SHA512:
6
+ metadata.gz: 20f9e03553f64924eb05c3491a9ee8079ceff0d5c47cabbcddf592c522f3a5e58ef9f130df10ff8f8a03b0afce5371958120a88be5611920ea7bc225a2f22ef7
7
+ data.tar.gz: b87c04b99cfc04c124ec139de3ff6ca7a5050c6d3a3af54f5ae5c44de5a60b204322638347f4eecd6b1ded9f5dc7af71be5091eec939bcf7ee16e58fa1667a28
data/.gitignore ADDED
@@ -0,0 +1,20 @@
1
+ *.gem
2
+ *.rbc
3
+ .idea
4
+ .bundle
5
+ .config
6
+ .yardoc
7
+ .DS_Store
8
+ Gemfile.lock
9
+ InstalledFiles
10
+ _yardoc
11
+ coverage
12
+ doc/
13
+ lib/bundler/man
14
+ pkg
15
+ rdoc
16
+ spec/reports
17
+ test/tmp
18
+ test/version_tmp
19
+ tmp
20
+ .rbenv-gemsets
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in font-awesome-sass.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2013 Travis Chase
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,97 @@
1
+ # FontAwesome::Sass
2
+
3
+ This is a fork of font-awesome-sass that uses font awesome 4, with sassc support.
4
+
5
+ 'font-awesome-sass' is a Sass-powered version of [FontAwesome](http://fortawesome.github.io/Font-Awesome/) for your Ruby projects and plays nicely with
6
+ Ruby on Rails, Compass, Sprockets, etc.
7
+
8
+ Refactored to support more Ruby environments with code and documentation humbly used from the excellent
9
+ [bootstrap-sass](https://github.com/twbs/bootstrap-sass) project by the Bootstrap team
10
+
11
+ ## Installation
12
+
13
+ Please see the appropriate guide for your environment of choice:
14
+
15
+ * [Ruby on Rails](#a-ruby-on-rails).
16
+ * [Compass](#b-compass-without-rails) not on Rails.
17
+
18
+ ### a. Ruby on Rails
19
+
20
+ In your Gemfile include:
21
+
22
+ ```ruby
23
+ gem 'font-awesome-sass', '~> 4.7.0'
24
+ ```
25
+
26
+ And then execute:
27
+
28
+ ```sh
29
+ bundle install
30
+ ```
31
+
32
+ Import the FontAwesome styles in your `app/assets/stylesheets/application.css.scss`. The `font-awesome-sprockets` file
33
+ includes the sprockets assets helper Sass functions used for finding the proper path to the font file.
34
+
35
+ ```scss
36
+ @import "font-awesome-sprockets";
37
+ @import "font-awesome";
38
+ ```
39
+
40
+ #### Rails Helper usage
41
+
42
+ In your view:
43
+
44
+ ```ruby
45
+ icon('flag')
46
+ # => <i class="fa fa-flag"></i>
47
+ ```
48
+
49
+ ```ruby
50
+ icon('flag', class: 'strong')
51
+ # => <i class="fa fa-flag strong"></i>
52
+ ```
53
+
54
+ ```ruby
55
+ icon('flag', 'Font Awesome', id: 'my-icon', class: 'strong')
56
+ # => <i id="my-icon" class="fa fa-flag strong"></i> Font Awesome
57
+ ```
58
+
59
+ Note: the icon helper can take a hash of options that will be passed to the content_tag helper
60
+
61
+ ### b. Compass without Rails
62
+
63
+ Install the gem
64
+
65
+ ```sh
66
+ gem install font-awesome-sass
67
+ ```
68
+
69
+ If you have an existing Compass project:
70
+
71
+ ```ruby
72
+ # config.rb:
73
+ require 'font-awesome-sass'
74
+ ```
75
+
76
+ Import the FontAwesome styles
77
+
78
+ ```scss
79
+ @import "font-awesome-compass";
80
+ @import "font-awesome";
81
+ ```
82
+
83
+ ## Upgrading from FontAwesome::Sass 3.x
84
+
85
+ Prepend the `fa` class to existing icons:
86
+
87
+ 3.x Syntax
88
+
89
+ ```html
90
+ <i class="icon-github"></i>
91
+ ```
92
+
93
+ 4.x Syntax
94
+
95
+ ```html
96
+ <i class="fa fa-github"></i>
97
+ ```
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require "bundler/gem_tasks"