font-awesome-sass 5.13.1 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +22 -66
  3. data/assets/fonts/font-awesome/fa-brands-400.ttf +0 -0
  4. data/assets/fonts/font-awesome/fa-brands-400.woff2 +0 -0
  5. data/assets/fonts/font-awesome/fa-regular-400.ttf +0 -0
  6. data/assets/fonts/font-awesome/fa-regular-400.woff2 +0 -0
  7. data/assets/fonts/font-awesome/fa-solid-900.ttf +0 -0
  8. data/assets/fonts/font-awesome/fa-solid-900.woff2 +0 -0
  9. data/assets/stylesheets/_brands.scss +33 -0
  10. data/assets/stylesheets/_font-awesome.scss +20 -4
  11. data/assets/stylesheets/_regular.scss +27 -0
  12. data/assets/stylesheets/_solid.scss +26 -0
  13. data/assets/stylesheets/_v4-shims.scss +8 -3
  14. data/assets/stylesheets/font-awesome/_animated.scss +142 -9
  15. data/assets/stylesheets/font-awesome/_bordered-pulled.scss +13 -13
  16. data/assets/stylesheets/font-awesome/_core.scss +16 -4
  17. data/assets/stylesheets/font-awesome/_fixed-width.scss +2 -1
  18. data/assets/stylesheets/font-awesome/_functions.scss +51 -0
  19. data/assets/stylesheets/font-awesome/_icons.scss +6 -1448
  20. data/assets/stylesheets/font-awesome/_list.scss +4 -4
  21. data/assets/stylesheets/font-awesome/_mixins.scss +51 -34
  22. data/assets/stylesheets/font-awesome/_rotated-flipped.scss +25 -18
  23. data/assets/stylesheets/font-awesome/_screen-reader.scss +12 -3
  24. data/assets/stylesheets/font-awesome/_shims.scss +467 -506
  25. data/assets/stylesheets/font-awesome/_sizing.scss +16 -0
  26. data/assets/stylesheets/font-awesome/_stacked.scss +5 -4
  27. data/assets/stylesheets/font-awesome/_variables.scss +3664 -797
  28. data/font-awesome-sass.gemspec +1 -2
  29. data/lib/font-awesome-sass.rb +0 -18
  30. data/lib/font_awesome/sass/rails/engine.rb +1 -1
  31. data/lib/font_awesome/sass/rails/helpers.rb +1 -0
  32. data/lib/font_awesome/sass/version.rb +1 -1
  33. metadata +10 -32
  34. data/assets/fonts/font-awesome/fa-brands-400.eot +0 -0
  35. data/assets/fonts/font-awesome/fa-brands-400.svg +0 -3633
  36. data/assets/fonts/font-awesome/fa-brands-400.woff +0 -0
  37. data/assets/fonts/font-awesome/fa-regular-400.eot +0 -0
  38. data/assets/fonts/font-awesome/fa-regular-400.svg +0 -803
  39. data/assets/fonts/font-awesome/fa-regular-400.woff +0 -0
  40. data/assets/fonts/font-awesome/fa-solid-900.eot +0 -0
  41. data/assets/fonts/font-awesome/fa-solid-900.svg +0 -5000
  42. data/assets/fonts/font-awesome/fa-solid-900.woff +0 -0
  43. data/assets/stylesheets/_font-awesome-compass.scss +0 -5
  44. data/assets/stylesheets/_font-awesome-sprockets.scss +0 -5
  45. data/assets/stylesheets/font-awesome/_larger.scss +0 -23
  46. data/assets/stylesheets/font-awesome/_path.scss +0 -56
@@ -0,0 +1,16 @@
1
+ // sizing icons
2
+ // -------------------------
3
+
4
+ // literal magnification scale
5
+ @for $i from 1 through 10 {
6
+ .#{$fa-css-prefix}-#{$i}x {
7
+ font-size: $i * 1em;
8
+ }
9
+ }
10
+
11
+ // step-based scale (with alignment)
12
+ @each $size, $value in $fa-sizes {
13
+ .#{$fa-css-prefix}-#{$size} {
14
+ @include fa-size($value);
15
+ }
16
+ }
@@ -1,4 +1,4 @@
1
- // Stacked Icons
1
+ // stacking icons
2
2
  // -------------------------
3
3
 
4
4
  .#{$fa-css-prefix}-stack {
@@ -6,8 +6,8 @@
6
6
  height: 2em;
7
7
  line-height: 2em;
8
8
  position: relative;
9
- vertical-align: middle;
10
- width: ($fa-fw-width*2);
9
+ vertical-align: $fa-stack-vertical-align;
10
+ width: $fa-stack-width;
11
11
  }
12
12
 
13
13
  .#{$fa-css-prefix}-stack-1x,
@@ -16,6 +16,7 @@
16
16
  position: absolute;
17
17
  text-align: center;
18
18
  width: 100%;
19
+ z-index: var(--#{$fa-css-prefix}-stack-z-index, #{$fa-stack-z-index});
19
20
  }
20
21
 
21
22
  .#{$fa-css-prefix}-stack-1x {
@@ -27,5 +28,5 @@
27
28
  }
28
29
 
29
30
  .#{$fa-css-prefix}-inverse {
30
- color: $fa-inverse;
31
+ color: var(--#{$fa-css-prefix}-inverse, #{$fa-inverse});
31
32
  }