font-awesome-sass 4.1.0 → 4.2.0

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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +73 -32
  3. data/assets/fonts/font-awesome/fontawesome-webfont.eot +0 -0
  4. data/assets/fonts/font-awesome/fontawesome-webfont.svg +520 -0
  5. data/assets/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
  6. data/assets/fonts/font-awesome/fontawesome-webfont.woff +0 -0
  7. data/assets/stylesheets/_font-awesome-compass.scss +7 -0
  8. data/assets/stylesheets/_font-awesome-sprockets.scss +7 -0
  9. data/{vendor/assets → assets}/stylesheets/font-awesome.scss +1 -6
  10. data/{vendor/assets → assets}/stylesheets/font-awesome/_bordered-pulled.scss +0 -0
  11. data/assets/stylesheets/font-awesome/_core.scss +11 -0
  12. data/{vendor/assets → assets}/stylesheets/font-awesome/_extras.scss +0 -0
  13. data/{vendor/assets → assets}/stylesheets/font-awesome/_fixed-width.scss +0 -0
  14. data/{vendor/assets → assets}/stylesheets/font-awesome/_icons.scss +48 -2
  15. data/{vendor/assets → assets}/stylesheets/font-awesome/_larger.scss +0 -0
  16. data/{vendor/assets → assets}/stylesheets/font-awesome/_list.scss +0 -0
  17. data/{vendor/assets → assets}/stylesheets/font-awesome/_mixins.scss +9 -4
  18. data/assets/stylesheets/font-awesome/_path.scss +13 -0
  19. data/{vendor/assets → assets}/stylesheets/font-awesome/_rotated-flipped.scss +11 -0
  20. data/assets/stylesheets/font-awesome/_spinning.scss +29 -0
  21. data/{vendor/assets → assets}/stylesheets/font-awesome/_stacked.scss +0 -0
  22. data/{vendor/assets → assets}/stylesheets/font-awesome/_variables.scss +52 -3
  23. data/font-awesome-sass.gemspec +2 -3
  24. data/lib/font-awesome-sass.rb +62 -1
  25. data/lib/font_awesome/sass/rails/engine.rb +5 -3
  26. data/lib/font_awesome/sass/version.rb +1 -1
  27. metadata +36 -36
  28. data/lib/font_awesome/sass.rb +0 -58
  29. data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
  30. data/vendor/assets/fonts/fontawesome-webfont.svg +0 -504
  31. data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
  32. data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
  33. data/vendor/assets/stylesheets/font-awesome/_bootstrap.scss +0 -84
  34. data/vendor/assets/stylesheets/font-awesome/_core.scss +0 -12
  35. data/vendor/assets/stylesheets/font-awesome/_path.scss +0 -13
  36. data/vendor/assets/stylesheets/font-awesome/_spinning.scss +0 -32
@@ -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
- margin-top: 0;
11
- line-height: normal;
12
- vertical-align: baseline;
13
- background-image: none;
14
- background-position: 0 0;
15
- background-repeat: repeat;
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
- }
@@ -1,12 +0,0 @@
1
- // Base Class Definition
2
- // -------------------------
3
-
4
- .#{$fa-css-prefix} {
5
- display: inline-block;
6
- font-family: FontAwesome;
7
- font-style: normal;
8
- font-weight: normal;
9
- line-height: 1;
10
- -webkit-font-smoothing: antialiased;
11
- -moz-osx-font-smoothing: grayscale;
12
- }
@@ -1,13 +0,0 @@
1
- /* FONT PATH
2
- * -------------------------- */
3
-
4
- @font-face {
5
- font-family: 'FontAwesome';
6
- src: font-url('fontawesome-webfont.eot?v=#{$fa-version}');
7
- src: font-url('fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'),
8
- font-url('fontawesome-webfont.woff?v=#{$fa-version}') format('woff'),
9
- font-url('fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'),
10
- font-url('fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg');
11
- font-weight: normal;
12
- font-style: normal;
13
- }
@@ -1,32 +0,0 @@
1
- // Spinning Icons
2
- // --------------------------
3
-
4
- .#{$fa-css-prefix}-spin {
5
- -webkit-animation: spin 2s infinite linear;
6
- -moz-animation: spin 2s infinite linear;
7
- -o-animation: spin 2s infinite linear;
8
- animation: spin 2s infinite linear;
9
- }
10
-
11
- @-moz-keyframes spin {
12
- 0% { -moz-transform: rotate(0deg); }
13
- 100% { -moz-transform: rotate(359deg); }
14
- }
15
- @-webkit-keyframes spin {
16
- 0% { -webkit-transform: rotate(0deg); }
17
- 100% { -webkit-transform: rotate(359deg); }
18
- }
19
- @-o-keyframes spin {
20
- 0% { -o-transform: rotate(0deg); }
21
- 100% { -o-transform: rotate(359deg); }
22
- }
23
- @keyframes spin {
24
- 0% {
25
- -webkit-transform: rotate(0deg);
26
- transform: rotate(0deg);
27
- }
28
- 100% {
29
- -webkit-transform: rotate(359deg);
30
- transform: rotate(359deg);
31
- }
32
- }