less-rails-fontawesome 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -19,4 +19,6 @@ Gem::Specification.new do |s|
19
19
  s.require_paths = ["lib"]
20
20
 
21
21
  s.add_runtime_dependency 'less-rails', '~> 2.4.2'
22
+
23
+ s.licenses = ['MIT']
22
24
  end
@@ -21,7 +21,7 @@ module Less
21
21
  tag_options = tag_options(html_options)
22
22
 
23
23
  href_attr = "href=\"#{ERB::Util.html_escape(url)}\"" unless href
24
- "<a #{href_attr}#{tag_options}><i class=\"icon-#{icon}\"></i> #{ERB::Util.html_escape(name || url)}</a>".html_safe
24
+ "<a #{href_attr}#{tag_options}><i class=\"fa fa-#{icon}\"></i> #{ERB::Util.html_escape(name || url)}</a>".html_safe
25
25
  end
26
26
  end
27
27
 
@@ -1,7 +1,7 @@
1
1
  module Less
2
2
  module Rails
3
3
  module Fontawesome
4
- VERSION = "0.6.0"
4
+ VERSION = "0.7.0"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: less-rails-fontawesome
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wlodek Bzyl
@@ -33,6 +33,7 @@ extra_rdoc_files: []
33
33
  files:
34
34
  - ".gitignore"
35
35
  - Gemfile
36
+ - LICENSE
36
37
  - README.md
37
38
  - Rakefile
38
39
  - app/assets/fonts/FontAwesome.otf
@@ -40,16 +41,20 @@ files:
40
41
  - app/assets/fonts/fontawesome-webfont.svg
41
42
  - app/assets/fonts/fontawesome-webfont.ttf
42
43
  - app/assets/fonts/fontawesome-webfont.woff
43
- - app/assets/stylesheets/font-awesome/font-awesome-ie7.less
44
44
  - app/assets/stylesheets/font-awesome/font-awesome.less
45
- - app/frameworks/fontawesome/bootstrap.less
45
+ - app/frameworks/fontawesome/bordered-pulled.less
46
46
  - app/frameworks/fontawesome/core.less
47
47
  - app/frameworks/fontawesome/extras.less
48
- - app/frameworks/fontawesome/font-awesome-ie7.less
48
+ - app/frameworks/fontawesome/fixed-width.less
49
49
  - app/frameworks/fontawesome/font-awesome.less
50
50
  - app/frameworks/fontawesome/icons.less
51
+ - app/frameworks/fontawesome/larger.less
52
+ - app/frameworks/fontawesome/list.less
51
53
  - app/frameworks/fontawesome/mixins.less
52
54
  - app/frameworks/fontawesome/path.less
55
+ - app/frameworks/fontawesome/rotated-flipped.less
56
+ - app/frameworks/fontawesome/spinning.less
57
+ - app/frameworks/fontawesome/stacked.less
53
58
  - app/frameworks/fontawesome/variables.less
54
59
  - less-rails-fontawesome.gemspec
55
60
  - lib/less-rails-fontawesome.rb
@@ -58,7 +63,8 @@ files:
58
63
  - lib/less/rails/fontawesome/link_helper.rb
59
64
  - lib/less/rails/fontawesome/version.rb
60
65
  homepage: https://github.com/wbzyl/less-rails-fontawesome
61
- licenses: []
66
+ licenses:
67
+ - MIT
62
68
  metadata: {}
63
69
  post_install_message:
64
70
  rdoc_options: []
@@ -1 +0,0 @@
1
- @import "fontawesome/font-awesome-ie7";
@@ -1,84 +0,0 @@
1
- /* BOOTSTRAP SPECIFIC CLASSES
2
- * -------------------------- */
3
-
4
- /* Bootstrap 2.0 sprites.less reset */
5
- [class^="icon-"],
6
- [class*=" icon-"] {
7
- display: inline;
8
- width: auto;
9
- height: auto;
10
- line-height: normal;
11
- vertical-align: baseline;
12
- background-image: none;
13
- background-position: 0% 0%;
14
- background-repeat: repeat;
15
- margin-top: 0;
16
- }
17
-
18
- /* more sprites.less reset */
19
- .icon-white,
20
- .nav-pills > .active > a > [class^="icon-"],
21
- .nav-pills > .active > a > [class*=" icon-"],
22
- .nav-list > .active > a > [class^="icon-"],
23
- .nav-list > .active > a > [class*=" icon-"],
24
- .navbar-inverse .nav > .active > a > [class^="icon-"],
25
- .navbar-inverse .nav > .active > a > [class*=" icon-"],
26
- .dropdown-menu > li > a:hover > [class^="icon-"],
27
- .dropdown-menu > li > a:hover > [class*=" icon-"],
28
- .dropdown-menu > .active > a > [class^="icon-"],
29
- .dropdown-menu > .active > a > [class*=" icon-"],
30
- .dropdown-submenu:hover > a > [class^="icon-"],
31
- .dropdown-submenu:hover > a > [class*=" icon-"] {
32
- background-image: none;
33
- }
34
-
35
-
36
- /* keeps Bootstrap styles with and without icons the same */
37
- .btn, .nav {
38
- [class^="icon-"],
39
- [class*=" icon-"] {
40
- // display: inline;
41
- &.icon-large { line-height: .9em; }
42
- &.icon-spin { display: inline-block; }
43
- }
44
- }
45
- .nav-tabs, .nav-pills {
46
- [class^="icon-"],
47
- [class*=" icon-"] {
48
- &, &.icon-large { line-height: .9em; }
49
- }
50
- }
51
- .btn {
52
- [class^="icon-"],
53
- [class*=" icon-"] {
54
- &.pull-left, &.pull-right {
55
- &.icon-2x { margin-top: .18em; }
56
- }
57
- &.icon-spin.icon-large { line-height: .8em; }
58
- }
59
- }
60
- .btn.btn-small {
61
- [class^="icon-"],
62
- [class*=" icon-"] {
63
- &.pull-left, &.pull-right {
64
- &.icon-2x { margin-top: .25em; }
65
- }
66
- }
67
- }
68
- .btn.btn-large {
69
- [class^="icon-"],
70
- [class*=" icon-"] {
71
- margin-top: 0; // overrides bootstrap default
72
- &.pull-left, &.pull-right {
73
- &.icon-2x { margin-top: .05em; }
74
- }
75
- &.pull-left.icon-2x { margin-right: .2em; }
76
- &.pull-right.icon-2x { margin-left: .2em; }
77
- }
78
- }
79
-
80
- /* Fixes alignment in nav lists */
81
- .nav-list [class^="icon-"],
82
- .nav-list [class*=" icon-"] {
83
- line-height: inherit;
84
- }