-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
25f474d
commit 2d63d55
Showing
16 changed files
with
1,862 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// Mixins | ||
// -------------------------- | ||
|
||
@mixin fa-icon() { | ||
display: inline-block; | ||
font: normal normal normal #{$fa-font-size-base}/1 FontAwesome; // shortening font declaration | ||
font-size: inherit; // can't have font-size inherit on line above, so need to override | ||
text-rendering: auto; // optimizelegibility throws things off #1094 | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
transform: translate(0, 0); // ensures no half-pixel rendering in firefox | ||
|
||
} | ||
|
||
@mixin fa-icon-rotate($degrees, $rotation) { | ||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); | ||
-webkit-transform: rotate($degrees); | ||
-ms-transform: rotate($degrees); | ||
transform: rotate($degrees); | ||
} | ||
|
||
@mixin fa-icon-flip($horiz, $vert, $rotation) { | ||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=#{$rotation}); | ||
-webkit-transform: scale($horiz, $vert); | ||
-ms-transform: scale($horiz, $vert); | ||
transform: scale($horiz, $vert); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/* FONT PATH | ||
* -------------------------- */ | ||
|
||
@font-face { | ||
font-family: 'FontAwesome'; | ||
src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}'); | ||
src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'), | ||
url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'), | ||
url('#{$fa-font-path}/fontawesome-webfont.woff?v=#{$fa-version}') format('woff'), | ||
url('#{$fa-font-path}/fontawesome-webfont.ttf?v=#{$fa-version}') format('truetype'), | ||
url('#{$fa-font-path}/fontawesome-webfont.svg?v=#{$fa-version}#fontawesomeregular') format('svg'); | ||
// src: url('#{$fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts | ||
font-weight: normal; | ||
font-style: normal; | ||
} |
Oops, something went wrong.