From 95eed3562a52db5c1cac3a55f434d511d2c962ea Mon Sep 17 00:00:00 2001 From: davegandy Date: Tue, 1 Oct 2013 20:58:36 -0400 Subject: removing IE7, rewrote most CSS with all visual tests passing, removing no longer necessary bootstrap specific css --- less/mixins.less | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) (limited to 'less/mixins.less') diff --git a/less/mixins.less b/less/mixins.less index a20f4bd60..dd5bb2949 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -7,14 +7,21 @@ } .icon-FontAwesome() { - *margin-right: .3em; // fixes ie7 issues +// position: relative; +// top: 0; + display: inline-block; font-family: FontAwesome; - -webkit-font-smoothing: antialiased; font-style: normal; font-weight: normal; - text-decoration: inherit; - text-rendering: auto; + line-height: 1; + -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + + // from bootstrap, throws off rendering +// &:empty { width: 1em; } + +// text-decoration: inherit; +// text-rendering: auto; } .border-radius(@radius) { @@ -23,6 +30,23 @@ border-radius: @radius; } +.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); +} + +.flip(@horiz, @vert) { + -webkit-transform: scale(@horiz, @vert); + -moz-transform: scale(@horiz, @vert); + -ms-transform: scale(@horiz, @vert); + -o-transform: scale(@horiz, @vert); + transform: scale(@horiz, @vert); +} + .icon-stack(@width: 2em, @height: 2em, @top-font-size: 1em, @base-font-size: 2em) { .fa-stack { position: relative; -- cgit v1.2.3