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/core.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/core.less')
-rw-r--r-- | less/core.less | 35 |
1 files changed, 20 insertions, 15 deletions
diff --git a/less/core.less b/less/core.less index d967c205c..34a5f8f33 100644 --- a/less/core.less +++ b/less/core.less @@ -2,10 +2,15 @@ * -------------------------- */ .fa-icon { - .icon-FontAwesome(); + display: inline-block; + font-family: FontAwesome; + font-style: normal; + font-weight: normal; + line-height: 1; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } - /* makes the font 33% larger relative to the icon container */ .fa-icon-lg { font-size: (4em / 3); @@ -28,28 +33,28 @@ .fa-icon-ul { padding-left: 0; - margin-left: @icons-li-width; + margin-left: @fa-icon-li-width; list-style-type: none; > li { position: relative; } } .fa-icon-li { position: absolute; - left: -@icons-li-width; - width: @icons-li-width; + left: -@fa-icon-li-width; + width: @fa-icon-li-width; top: (2em / 14); text-align: center; &.fa-icon-lg { - left: -@icons-li-width + (4em / 14); + left: -@fa-icon-li-width + (4em / 14); } } // allows usage of the hide class directly on font awesome icons .fa-icon.hide { display: none; } -.fa-icon-muted { color: @iconMuted; } -.fa-icon-light { color: @iconLight; } -.fa-icon-dark { color: @iconDark; } +.fa-icon-muted { color: @fa-icon-muted; } +.fa-icon-light { color: @fa-icon-light; } +.fa-icon-dark { color: @fa-icon-dark; } // Icon Borders @@ -57,8 +62,8 @@ .fa-icon-border { padding: .2em .25em .15em; - border: solid 1px @borderColor; - .border-radius(3px); + border: solid 1px @fa-border-color; + border-radius: 3px; } // Icon Sizes @@ -68,21 +73,21 @@ font-size: 2em; &.fa-icon-border { border-width: 2px; - .border-radius(4px); + border-radius: 4px; } } .fa-icon-3x { font-size: 3em; &.fa-icon-border { border-width: 3px; - .border-radius(5px); + border-radius: 5px; } } .fa-icon-4x { font-size: 4em; &.fa-icon-border { border-width: 4px; - .border-radius(6px); + border-radius: 6px; } } @@ -90,7 +95,7 @@ font-size: 5em; &.fa-icon-border { border-width: 5px; - .border-radius(7px); + border-radius: 7px; } } |