diff options
author | davegandy <dave@davegandy.com> | 2013-10-20 21:07:55 +0400 |
---|---|---|
committer | davegandy <dave@davegandy.com> | 2013-10-20 21:07:55 +0400 |
commit | b7ee6e5d44537a7faa9ba471fbfad62da1939a41 (patch) | |
tree | 3619931e12950eb7b9b109e9e30328537a1595bd /less/mixins.less | |
parent | 0d6aae119910c60cfff4f2e9f79d9c718ed72691 (diff) |
making css prefix configurable
Diffstat (limited to 'less/mixins.less')
-rw-r--r-- | less/mixins.less | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/less/mixins.less b/less/mixins.less index 7287909ca..37b2a016b 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -19,26 +19,24 @@ } .fa-icon-stack(@width: 2em, @height: 2em, @top-font-size: 1em, @base-font-size: 2em) { - .fa-icon-stack { + .@{fa-css-prefix}-stack { position: relative; display: inline-block; width: @width; height: @height; line-height: @width; vertical-align: -35%; - .fa-icon { + .@{fa-css-prefix} { position: absolute; display: block; width: 100%; height: 100%; font-size: @top-font-size; line-height: inherit; - *line-height: @height; text-align: center; } - .fa-icon-stack-base { + .@{fa-css-prefix}-stack-base { font-size: @base-font-size; - *line-height: (@height / @base-font-size); } } } |