forked from FortAwesome/Font-Awesome
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
re-writing & simplifying stacked icons, massive re-organization of le…
…ss include files
- Loading branch information
Showing
36 changed files
with
381 additions
and
485 deletions.
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
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,17 @@ | ||
// Bordered & Pulled | ||
// ------------------------- | ||
|
||
.@{fa-css-prefix}-border { | ||
padding: .2em .25em .15em; | ||
border: solid 1px @fa-border-color; | ||
border-width: .08em; | ||
border-radius: .1em; | ||
} | ||
|
||
.pull-right { float: right; } | ||
.pull-left { float: left; } | ||
|
||
.@{fa-css-prefix} { | ||
&.pull-left { margin-right: .3em; } | ||
&.pull-right { margin-left: .3em; } | ||
} |
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 |
---|---|---|
@@ -1,45 +1,2 @@ | ||
/* EXTRAS | ||
* -------------------------- */ | ||
|
||
/* Stacked and layered icon */ | ||
.fa-icon-stack(); | ||
|
||
/* Animated rotating icon */ | ||
.@{fa-css-prefix}-spin { | ||
-webkit-animation: spin 2s infinite linear; | ||
-moz-animation: spin 2s infinite linear; | ||
-o-animation: spin 2s infinite linear; | ||
animation: spin 2s infinite linear; | ||
} | ||
|
||
@-moz-keyframes spin { | ||
0% { -moz-transform: rotate(0deg); } | ||
100% { -moz-transform: rotate(359deg); } | ||
} | ||
@-webkit-keyframes spin { | ||
0% { -webkit-transform: rotate(0deg); } | ||
100% { -webkit-transform: rotate(359deg); } | ||
} | ||
@-o-keyframes spin { | ||
0% { -o-transform: rotate(0deg); } | ||
100% { -o-transform: rotate(359deg); } | ||
} | ||
@-ms-keyframes spin { | ||
0% { -ms-transform: rotate(0deg); } | ||
100% { -ms-transform: rotate(359deg); } | ||
} | ||
@keyframes spin { | ||
0% { transform: rotate(0deg); } | ||
100% { transform: rotate(359deg); } | ||
} | ||
|
||
|
||
// Icon rotations & flipping | ||
// ------------------------- | ||
|
||
.@{fa-css-prefix}-rotate-90 { .fa-icon-rotate(90deg, 1); } | ||
.@{fa-css-prefix}-rotate-180 { .fa-icon-rotate(180deg, 2); } | ||
.@{fa-css-prefix}-rotate-270 { .fa-icon-rotate(270deg, 3); } | ||
|
||
.@{fa-css-prefix}-flip-horizontal { .fa-icon-flip(-1, 1); } | ||
.@{fa-css-prefix}-flip-vertical { .fa-icon-flip(1, -1); } | ||
// Extras | ||
// -------------------------- |
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,6 @@ | ||
// Fixed Width Icons | ||
// ------------------------- | ||
.@{fa-css-prefix}-fw { | ||
width: (18em / 14); | ||
text-align: center; | ||
} |
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
Oops, something went wrong.