Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating to the latest Font Awesome (4.2.0)
- Loading branch information
Showing
44 changed files
with
3,592 additions
and
9,551 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
189 changes: 155 additions & 34 deletions
189
font-awesome/font/fontawesome-webfont.svg → font-awesome/fonts/fontawesome-webfont.svg
100755 → 100644
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file renamed
BIN
+77.2 KB
font-awesome/font/fontawesome-webfont.ttf → font-awesome/fonts/fontawesome-webfont.ttf
100755 → 100644
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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,16 @@ | ||
// Bordered & Pulled | ||
// ------------------------- | ||
|
||
.@{fa-css-prefix}-border { | ||
padding: .2em .25em .15em; | ||
border: solid .08em @fa-border-color; | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,129 +1,11 @@ | ||
/* FONT AWESOME CORE | ||
* -------------------------- */ | ||
|
||
[class^="icon-"], | ||
[class*=" icon-"] { | ||
.icon-FontAwesome(); | ||
} | ||
|
||
[class^="icon-"]:before, | ||
[class*=" icon-"]:before { | ||
text-decoration: inherit; | ||
display: inline-block; | ||
speak: none; | ||
} | ||
|
||
/* makes the font 33% larger relative to the icon container */ | ||
.icon-large:before { | ||
vertical-align: -10%; | ||
font-size: 4/3em; | ||
} | ||
|
||
/* makes sure icons active on rollover in links */ | ||
a { | ||
[class^="icon-"], | ||
[class*=" icon-"] { | ||
display: inline; | ||
} | ||
} | ||
|
||
/* increased font size for icon-large */ | ||
[class^="icon-"], | ||
[class*=" icon-"] { | ||
&.icon-fixed-width { | ||
display: inline-block; | ||
width: 16/14em; | ||
text-align: right; | ||
padding-right: 4/14em; | ||
&.icon-large { | ||
width: 20/14em; | ||
} | ||
} | ||
} | ||
|
||
.icons-ul { | ||
margin-left: @icons-li-width; | ||
list-style-type: none; | ||
|
||
> li { position: relative; } | ||
|
||
.icon-li { | ||
position: absolute; | ||
left: -@icons-li-width; | ||
width: @icons-li-width; | ||
text-align: center; | ||
line-height: inherit; | ||
} | ||
} | ||
|
||
// allows usage of the hide class directly on font awesome icons | ||
[class^="icon-"], | ||
[class*=" icon-"] { | ||
&.hide { | ||
display: none; | ||
} | ||
} | ||
|
||
.icon-muted { color: @iconMuted; } | ||
.icon-light { color: @iconLight; } | ||
.icon-dark { color: @iconDark; } | ||
|
||
// Icon Borders | ||
// Base Class Definition | ||
// ------------------------- | ||
|
||
.icon-border { | ||
border: solid 1px @borderColor; | ||
padding: .2em .25em .15em; | ||
.border-radius(3px); | ||
} | ||
|
||
// Icon Sizes | ||
// ------------------------- | ||
|
||
.icon-2x { | ||
font-size: 2em; | ||
&.icon-border { | ||
border-width: 2px; | ||
.border-radius(4px); | ||
} | ||
} | ||
.icon-3x { | ||
font-size: 3em; | ||
&.icon-border { | ||
border-width: 3px; | ||
.border-radius(5px); | ||
} | ||
} | ||
.icon-4x { | ||
font-size: 4em; | ||
&.icon-border { | ||
border-width: 4px; | ||
.border-radius(6px); | ||
} | ||
} | ||
|
||
.icon-5x { | ||
font-size: 5em; | ||
&.icon-border { | ||
border-width: 5px; | ||
.border-radius(7px); | ||
} | ||
} | ||
|
||
|
||
// Floats & Margins | ||
// ------------------------- | ||
|
||
// Quick floats | ||
.pull-right { float: right; } | ||
.pull-left { float: left; } | ||
|
||
[class^="icon-"], | ||
[class*=" icon-"] { | ||
&.pull-left { | ||
margin-right: .3em; | ||
} | ||
&.pull-right { | ||
margin-left: .3em; | ||
} | ||
.@{fa-css-prefix} { | ||
display: inline-block; | ||
font: normal normal normal 14px/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; | ||
} |
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,93 +1,2 @@ | ||
/* EXTRAS | ||
* -------------------------- */ | ||
|
||
/* Stacked and layered icon */ | ||
.icon-stack(); | ||
|
||
/* Animated rotating icon */ | ||
.icon-spin { | ||
display: inline-block; | ||
-moz-animation: spin 2s infinite linear; | ||
-o-animation: spin 2s infinite linear; | ||
-webkit-animation: spin 2s infinite linear; | ||
animation: spin 2s infinite linear; | ||
} | ||
|
||
/* Prevent stack and spinners from being taken inline when inside a link */ | ||
a .icon-stack, | ||
a .icon-spin { | ||
display: inline-block; | ||
text-decoration: none; | ||
} | ||
|
||
@-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 and mirroring */ | ||
.icon-rotate-90:before { | ||
-webkit-transform: rotate(90deg); | ||
-moz-transform: rotate(90deg); | ||
-ms-transform: rotate(90deg); | ||
-o-transform: rotate(90deg); | ||
transform: rotate(90deg); | ||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); | ||
} | ||
|
||
.icon-rotate-180:before { | ||
-webkit-transform: rotate(180deg); | ||
-moz-transform: rotate(180deg); | ||
-ms-transform: rotate(180deg); | ||
-o-transform: rotate(180deg); | ||
transform: rotate(180deg); | ||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2); | ||
} | ||
|
||
.icon-rotate-270:before { | ||
-webkit-transform: rotate(270deg); | ||
-moz-transform: rotate(270deg); | ||
-ms-transform: rotate(270deg); | ||
-o-transform: rotate(270deg); | ||
transform: rotate(270deg); | ||
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); | ||
} | ||
|
||
.icon-flip-horizontal:before { | ||
-webkit-transform: scale(-1, 1); | ||
-moz-transform: scale(-1, 1); | ||
-ms-transform: scale(-1, 1); | ||
-o-transform: scale(-1, 1); | ||
transform: scale(-1, 1); | ||
} | ||
|
||
.icon-flip-vertical:before { | ||
-webkit-transform: scale(1, -1); | ||
-moz-transform: scale(1, -1); | ||
-ms-transform: scale(1, -1); | ||
-o-transform: scale(1, -1); | ||
transform: scale(1, -1); | ||
} | ||
|
||
/* ensure rotation occurs inside anchor tags */ | ||
a { | ||
.icon-rotate-90, .icon-rotate-180, .icon-rotate-270, .icon-flip-horizontal, .icon-flip-vertical { | ||
&:before { display: inline-block; } | ||
} | ||
} | ||
// 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; | ||
} |
Oops, something went wrong.