font_awesome_rails 0.0.2 → 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,6 +8,7 @@
8
8
  @mixin icon-before($name) {
9
9
  @include icon-before-style {
10
10
  @include icon-content($name);
11
+ margin-right: 0.25em;
11
12
  @content;
12
13
  }
13
14
  }
@@ -15,6 +16,7 @@
15
16
  @mixin icon-after($name) {
16
17
  @include icon-after-style {
17
18
  @include icon-content($name);
19
+ margin-left: 0.25em;
18
20
  @content;
19
21
  }
20
22
  }
@@ -6,29 +6,28 @@
6
6
  text-decoration: inherit;
7
7
  }
8
8
 
9
- %icon {
10
- @extend %icon-before;
9
+ %icon-large {
10
+ @include icon-style {
11
+ vertical-align: middle;
12
+ font-size: #{(4/3)}em;
13
+ }
11
14
  }
12
15
 
13
- * {
14
- @include icon-before-style {
15
- margin-right: 0.25em;
16
- }
17
- @include icon-after-style {
18
- margin-left: 0.25em;
16
+ .btn, .nav-tabs > li > a {
17
+ @include icon-style {
18
+ line-height: 0.9; // keeps heights with and without icons the same
19
19
  }
20
20
  }
21
21
 
22
- %icon-large {
23
- @include icon-style {
24
- vertical-align: top;
25
- font-size: #{(4/3)}em;
22
+ .nav > li > a {
23
+ @include icon-before-style {
24
+ width: 1.25em;
26
25
  }
27
26
  }
28
27
 
29
- .btn, .nav-tabs {
30
- @include icon-style {
31
- line-height: 0.9; // keeps button heights with and without icons the same
28
+ .nav-tabs > li > a {
29
+ @include icon-before-style {
30
+ width: 1em;
32
31
  }
33
32
  }
34
33
 
@@ -1,3 +1,3 @@
1
1
  module FontAwesomeRails
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: font_awesome_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -192,7 +192,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
192
192
  version: '0'
193
193
  segments:
194
194
  - 0
195
- hash: -24075267
195
+ hash: -639331551
196
196
  required_rubygems_version: !ruby/object:Gem::Requirement
197
197
  none: false
198
198
  requirements:
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
201
201
  version: '0'
202
202
  segments:
203
203
  - 0
204
- hash: -24075267
204
+ hash: -639331551
205
205
  requirements: []
206
206
  rubyforge_project:
207
207
  rubygems_version: 1.8.24