font-awesome-sass 4.4.0 → 5.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +5 -5
  2. data/.gitignore +1 -0
  3. data/README.md +36 -16
  4. data/assets/fonts/font-awesome/fa-brands-400.eot +0 -0
  5. data/assets/fonts/font-awesome/fa-brands-400.svg +3717 -0
  6. data/assets/fonts/font-awesome/fa-brands-400.ttf +0 -0
  7. data/assets/fonts/font-awesome/fa-brands-400.woff +0 -0
  8. data/assets/fonts/font-awesome/fa-brands-400.woff2 +0 -0
  9. data/assets/fonts/font-awesome/fa-regular-400.eot +0 -0
  10. data/assets/fonts/font-awesome/fa-regular-400.svg +801 -0
  11. data/assets/fonts/font-awesome/fa-regular-400.ttf +0 -0
  12. data/assets/fonts/font-awesome/fa-regular-400.woff +0 -0
  13. data/assets/fonts/font-awesome/fa-regular-400.woff2 +0 -0
  14. data/assets/fonts/font-awesome/fa-solid-900.eot +0 -0
  15. data/assets/fonts/font-awesome/fa-solid-900.svg +5028 -0
  16. data/assets/fonts/font-awesome/fa-solid-900.ttf +0 -0
  17. data/assets/fonts/font-awesome/fa-solid-900.woff +0 -0
  18. data/assets/fonts/font-awesome/fa-solid-900.woff2 +0 -0
  19. data/assets/stylesheets/{font-awesome.scss → _font-awesome.scss} +3 -3
  20. data/assets/stylesheets/_v4-shims.scss +6 -0
  21. data/assets/stylesheets/font-awesome/_animated.scss +6 -20
  22. data/assets/stylesheets/font-awesome/_bordered-pulled.scss +6 -11
  23. data/assets/stylesheets/font-awesome/_core.scss +16 -6
  24. data/assets/stylesheets/font-awesome/_fixed-width.scss +1 -1
  25. data/assets/stylesheets/font-awesome/_icons.scss +1460 -675
  26. data/assets/stylesheets/font-awesome/_larger.scss +16 -6
  27. data/assets/stylesheets/font-awesome/_list.scss +7 -8
  28. data/assets/stylesheets/font-awesome/_mixins.scss +44 -13
  29. data/assets/stylesheets/font-awesome/_path.scss +50 -8
  30. data/assets/stylesheets/font-awesome/_rotated-flipped.scss +10 -6
  31. data/assets/stylesheets/font-awesome/_screen-reader.scss +5 -0
  32. data/assets/stylesheets/font-awesome/_shims.scss +2066 -0
  33. data/assets/stylesheets/font-awesome/_stacked.scss +19 -8
  34. data/assets/stylesheets/font-awesome/_variables.scss +1477 -683
  35. data/font-awesome-sass.gemspec +3 -4
  36. data/lib/font-awesome-sass.rb +13 -15
  37. data/lib/font_awesome/sass/rails/engine.rb +6 -2
  38. data/lib/font_awesome/sass/rails/helpers.rb +2 -2
  39. data/lib/font_awesome/sass/rails/railtie.rb +5 -3
  40. data/lib/font_awesome/sass/version.rb +1 -1
  41. metadata +31 -35
  42. data/assets/fonts/font-awesome/fontawesome-webfont.eot +0 -0
  43. data/assets/fonts/font-awesome/fontawesome-webfont.svg +0 -640
  44. data/assets/fonts/font-awesome/fontawesome-webfont.ttf +0 -0
  45. data/assets/fonts/font-awesome/fontawesome-webfont.woff +0 -0
  46. data/assets/fonts/font-awesome/fontawesome-webfont.woff2 +0 -0
  47. data/assets/stylesheets/font-awesome/_extras.scss +0 -44
@@ -1,8 +1,7 @@
1
1
  /*!
2
- * Font Awesome 4.4.0 by @davegandy - http://fontawesome.io - @fontawesome
3
- * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
2
+ * Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
4
  */
5
-
6
5
  @import "font-awesome/variables";
7
6
  @import "font-awesome/mixins";
8
7
  @import "font-awesome/path";
@@ -15,3 +14,4 @@
15
14
  @import "font-awesome/rotated-flipped";
16
15
  @import "font-awesome/stacked";
17
16
  @import "font-awesome/icons";
17
+ @import "font-awesome/screen-reader";
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com
3
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
4
+ */
5
+ @import "font-awesome/variables";
6
+ @import "font-awesome/shims";
@@ -1,34 +1,20 @@
1
- // Spinning Icons
1
+ // Animated Icons
2
2
  // --------------------------
3
3
 
4
4
  .#{$fa-css-prefix}-spin {
5
- -webkit-animation: fa-spin 2s infinite linear;
6
- animation: fa-spin 2s infinite linear;
5
+ animation: fa-spin 2s infinite linear;
7
6
  }
8
7
 
9
8
  .#{$fa-css-prefix}-pulse {
10
- -webkit-animation: fa-spin 1s infinite steps(8);
11
- animation: fa-spin 1s infinite steps(8);
12
- }
13
-
14
- @-webkit-keyframes fa-spin {
15
- 0% {
16
- -webkit-transform: rotate(0deg);
17
- transform: rotate(0deg);
18
- }
19
- 100% {
20
- -webkit-transform: rotate(359deg);
21
- transform: rotate(359deg);
22
- }
9
+ animation: fa-spin 1s infinite steps(8);
23
10
  }
24
11
 
25
12
  @keyframes fa-spin {
26
13
  0% {
27
- -webkit-transform: rotate(0deg);
28
- transform: rotate(0deg);
14
+ transform: rotate(0deg);
29
15
  }
16
+
30
17
  100% {
31
- -webkit-transform: rotate(359deg);
32
- transform: rotate(359deg);
18
+ transform: rotate(360deg);
33
19
  }
34
20
  }
@@ -2,24 +2,19 @@
2
2
  // -------------------------
3
3
 
4
4
  .#{$fa-css-prefix}-border {
5
- padding: .2em .25em .15em;
6
5
  border: solid .08em $fa-border-color;
7
6
  border-radius: .1em;
7
+ padding: .2em .25em .15em;
8
8
  }
9
9
 
10
10
  .#{$fa-css-prefix}-pull-left { float: left; }
11
11
  .#{$fa-css-prefix}-pull-right { float: right; }
12
12
 
13
- .#{$fa-css-prefix} {
13
+ .#{$fa-css-prefix},
14
+ .fas,
15
+ .far,
16
+ .fal,
17
+ .fab {
14
18
  &.#{$fa-css-prefix}-pull-left { margin-right: .3em; }
15
19
  &.#{$fa-css-prefix}-pull-right { margin-left: .3em; }
16
20
  }
17
-
18
- /* Deprecated as of 4.4.0 */
19
- .pull-right { float: right; }
20
- .pull-left { float: left; }
21
-
22
- .#{$fa-css-prefix} {
23
- &.pull-left { margin-right: .3em; }
24
- &.pull-right { margin-left: .3em; }
25
- }
@@ -1,11 +1,21 @@
1
1
  // Base Class Definition
2
2
  // -------------------------
3
3
 
4
- .#{$fa-css-prefix} {
5
- display: inline-block;
6
- font: normal normal normal #{$fa-font-size-base}/#{$fa-line-height-base} FontAwesome; // shortening font declaration
7
- font-size: inherit; // can't have font-size inherit on line above, so need to override
8
- text-rendering: auto; // optimizelegibility throws things off #1094
9
- -webkit-font-smoothing: antialiased;
4
+ .#{$fa-css-prefix},
5
+ .fas,
6
+ .far,
7
+ .fal,
8
+ .fad,
9
+ .fab {
10
10
  -moz-osx-font-smoothing: grayscale;
11
+ -webkit-font-smoothing: antialiased;
12
+ display: inline-block;
13
+ font-style: normal;
14
+ font-variant: normal;
15
+ text-rendering: auto;
16
+ line-height: 1;
17
+ }
18
+
19
+ %fa-icon {
20
+ @include fa-icon;
11
21
  }
@@ -1,6 +1,6 @@
1
1
  // Fixed Width Icons
2
2
  // -------------------------
3
3
  .#{$fa-css-prefix}-fw {
4
- width: (18em / 14);
5
4
  text-align: center;
5
+ width: $fa-fw-width;
6
6
  }