diff options
author | davegandy <dave@davegandy.com> | 2013-10-16 20:16:39 +0400 |
---|---|---|
committer | davegandy <dave@davegandy.com> | 2013-10-16 20:16:39 +0400 |
commit | 6bcd555b42e7f4c3b9502fb5a9e5597178eb2419 (patch) | |
tree | 99251e1070d389846e793021e0268c07838bedbb /less/mixins.less | |
parent | 3bfc1b608e13d71933d9401e88bacd80f2dd76a4 (diff) |
fixing icon variable names, updating some icon variable names for consistency, removing browser specific mixin for border radius to be in step with bs3
Diffstat (limited to 'less/mixins.less')
-rw-r--r-- | less/mixins.less | 35 |
1 files changed, 3 insertions, 32 deletions
diff --git a/less/mixins.less b/less/mixins.less index 136eafe6e..7287909ca 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -1,36 +1,7 @@ // Mixins // -------------------------- -.icon(@icon) { - .icon-FontAwesome(); - content: @icon; -} - -.icon-FontAwesome() { -// position: relative; -// top: 0; - display: inline-block; - font-family: FontAwesome; - font-style: normal; - font-weight: normal; - 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) { - -webkit-border-radius: @radius; - -moz-border-radius: @radius; - border-radius: @radius; -} - -.rotate(@degrees, @rotation) { +.fa-icon-rotate(@degrees, @rotation) { filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=@rotation); -webkit-transform: rotate(@degrees); -moz-transform: rotate(@degrees); @@ -39,7 +10,7 @@ transform: rotate(@degrees); } -.flip(@horiz, @vert) { +.fa-icon-flip(@horiz, @vert) { -webkit-transform: scale(@horiz, @vert); -moz-transform: scale(@horiz, @vert); -ms-transform: scale(@horiz, @vert); @@ -47,7 +18,7 @@ transform: scale(@horiz, @vert); } -.icon-stack(@width: 2em, @height: 2em, @top-font-size: 1em, @base-font-size: 2em) { +.fa-icon-stack(@width: 2em, @height: 2em, @top-font-size: 1em, @base-font-size: 2em) { .fa-icon-stack { position: relative; display: inline-block; |