diff options
author | davegandy <dave@davegandy.com> | 2013-10-02 04:58:36 +0400 |
---|---|---|
committer | davegandy <dave@davegandy.com> | 2013-10-02 04:58:36 +0400 |
commit | 95eed3562a52db5c1cac3a55f434d511d2c962ea (patch) | |
tree | 97e60ffffb570d9b32773b2ef6b0e4747f3487d2 /less/mixins.less | |
parent | e32be98c31c2d1987d6a1ad614838e4df79c1315 (diff) |
removing IE7, rewrote most CSS with all visual tests passing, removing no longer necessary bootstrap specific css
Diffstat (limited to 'less/mixins.less')
-rw-r--r-- | less/mixins.less | 32 |
1 files changed, 28 insertions, 4 deletions
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; |