From c13aad1b95b1d84e73f2565a18a5a8e2bd2194a7 Mon Sep 17 00:00:00 2001 From: lin-hua-cheng Date: Wed, 3 Dec 2014 11:54:03 -0800 Subject: Version 4.2.0 Change-Id: I740bd9050180c43a9a66e8e3a3b75f521925a278 --- xstatic/pkg/font_awesome/data/less/mixins.less | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'xstatic/pkg/font_awesome/data/less/mixins.less') diff --git a/xstatic/pkg/font_awesome/data/less/mixins.less b/xstatic/pkg/font_awesome/data/less/mixins.less index 19e5a64..b7bfadc 100644 --- a/xstatic/pkg/font_awesome/data/less/mixins.less +++ b/xstatic/pkg/font_awesome/data/less/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); } -- cgit v1.2.1