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.
- checksums.yaml +4 -4
- data/README.md +22 -66
- data/assets/fonts/font-awesome/fa-brands-400.ttf +0 -0
- data/assets/fonts/font-awesome/fa-brands-400.woff2 +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.ttf +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.woff2 +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.ttf +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.woff2 +0 -0
- data/assets/stylesheets/_brands.scss +33 -0
- data/assets/stylesheets/_font-awesome.scss +20 -4
- data/assets/stylesheets/_regular.scss +27 -0
- data/assets/stylesheets/_solid.scss +26 -0
- data/assets/stylesheets/_v4-shims.scss +8 -3
- data/assets/stylesheets/font-awesome/_animated.scss +142 -9
- data/assets/stylesheets/font-awesome/_bordered-pulled.scss +13 -13
- data/assets/stylesheets/font-awesome/_core.scss +16 -4
- data/assets/stylesheets/font-awesome/_fixed-width.scss +2 -1
- data/assets/stylesheets/font-awesome/_functions.scss +51 -0
- data/assets/stylesheets/font-awesome/_icons.scss +6 -1448
- data/assets/stylesheets/font-awesome/_list.scss +4 -4
- data/assets/stylesheets/font-awesome/_mixins.scss +51 -34
- data/assets/stylesheets/font-awesome/_rotated-flipped.scss +25 -18
- data/assets/stylesheets/font-awesome/_screen-reader.scss +12 -3
- data/assets/stylesheets/font-awesome/_shims.scss +467 -506
- data/assets/stylesheets/font-awesome/_sizing.scss +16 -0
- data/assets/stylesheets/font-awesome/_stacked.scss +5 -4
- data/assets/stylesheets/font-awesome/_variables.scss +3664 -797
- data/font-awesome-sass.gemspec +1 -2
- data/lib/font-awesome-sass.rb +0 -18
- data/lib/font_awesome/sass/rails/engine.rb +1 -1
- data/lib/font_awesome/sass/rails/helpers.rb +1 -0
- data/lib/font_awesome/sass/version.rb +1 -1
- metadata +10 -32
- data/assets/fonts/font-awesome/fa-brands-400.eot +0 -0
- data/assets/fonts/font-awesome/fa-brands-400.svg +0 -3633
- data/assets/fonts/font-awesome/fa-brands-400.woff +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.eot +0 -0
- data/assets/fonts/font-awesome/fa-regular-400.svg +0 -803
- data/assets/fonts/font-awesome/fa-regular-400.woff +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.eot +0 -0
- data/assets/fonts/font-awesome/fa-solid-900.svg +0 -5000
- data/assets/fonts/font-awesome/fa-solid-900.woff +0 -0
- data/assets/stylesheets/_font-awesome-compass.scss +0 -5
- data/assets/stylesheets/_font-awesome-sprockets.scss +0 -5
- data/assets/stylesheets/font-awesome/_larger.scss +0 -23
- 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
|
-
//
|
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:
|
10
|
-
width:
|
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
|
}
|