aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2014-09-06 15:28:49 +0200
committerAlex Legler <alex@a3li.li>2014-09-06 15:28:49 +0200
commit10ae4a23cf357bbe684eb624cd9d9680070faa18 (patch)
tree69bf294d66f07acc263cf26062b42cc7372cdcfc /sources/css/tyrian/less/font-awesome/mixins.less
parentAdd retina.js and explicit data-at2x URL to avoid cross-domain XHR problems (diff)
downloadtyrian-theme-10ae4a23cf357bbe684eb624cd9d9680070faa18.tar.gz
tyrian-theme-10ae4a23cf357bbe684eb624cd9d9680070faa18.tar.bz2
tyrian-theme-10ae4a23cf357bbe684eb624cd9d9680070faa18.zip
Update font-awesome to 4.2.0
Diffstat (limited to 'sources/css/tyrian/less/font-awesome/mixins.less')
-rw-r--r--sources/css/tyrian/less/font-awesome/mixins.less13
1 files changed, 9 insertions, 4 deletions
diff --git a/sources/css/tyrian/less/font-awesome/mixins.less b/sources/css/tyrian/less/font-awesome/mixins.less
index 19e5a64..b7bfadc 100644
--- a/sources/css/tyrian/less/font-awesome/mixins.less
+++ b/sources/css/tyrian/less/font-awesome/mixins.less
@@ -1,20 +1,25 @@
// Mixins
// --------------------------
+.fa-icon() {
+ 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;
+}
+
.fa-icon-rotate(@degrees, @rotation) {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation);
-webkit-transform: rotate(@degrees);
- -moz-transform: rotate(@degrees);
-ms-transform: rotate(@degrees);
- -o-transform: rotate(@degrees);
transform: rotate(@degrees);
}
.fa-icon-flip(@horiz, @vert, @rotation) {
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation, mirror=1);
-webkit-transform: scale(@horiz, @vert);
- -moz-transform: scale(@horiz, @vert);
-ms-transform: scale(@horiz, @vert);
- -o-transform: scale(@horiz, @vert);
transform: scale(@horiz, @vert);
}