diff options
author | davegandy <dave@davegandy.com> | 2013-05-10 04:49:31 +0400 |
---|---|---|
committer | davegandy <dave@davegandy.com> | 2013-05-10 04:49:31 +0400 |
commit | 745c23882dea684ae916bce0a209082586fd13b0 (patch) | |
tree | 6284ec1fa4c40fa1c5c3c0b5b9917aa0689c2e5b /build | |
parent | 97e8f5459aca791a954c32b62d87badfad19d2ab (diff) |
fixing icon stacks for ie8
Diffstat (limited to 'build')
-rw-r--r-- | build/_includes/tests/rotated-flipped.html | 12 | ||||
-rw-r--r-- | build/assets/font-awesome/css/font-awesome.css | 8 | ||||
-rw-r--r-- | build/assets/font-awesome/less/mixins.less | 8 |
3 files changed, 10 insertions, 18 deletions
diff --git a/build/_includes/tests/rotated-flipped.html b/build/_includes/tests/rotated-flipped.html index 3e973a87d..a6620cd3f 100644 --- a/build/_includes/tests/rotated-flipped.html +++ b/build/_includes/tests/rotated-flipped.html @@ -1,6 +1,6 @@ -<i class="icon-shield"></i> normal<br> -<i class="icon-shield icon-rotate-90"></i> icon-rotate-90<br> -<i class="icon-shield icon-rotate-180"></i> icon-rotate-180<br> -<i class="icon-shield icon-rotate-270"></i> icon-rotate-270<br> -<i class="icon-shield icon-flip-horizontal"></i> icon-flip-horizontal<br> -<i class="icon-shield icon-flip-vertical"></i> icon-flip-vertical +<i class="icon-flag"></i> normal<br> +<i class="icon-flag icon-rotate-90"></i> icon-rotate-90<br> +<i class="icon-flag icon-rotate-180"></i> icon-rotate-180<br> +<i class="icon-flag icon-rotate-270"></i> icon-rotate-270<br> +<i class="icon-flag icon-flip-horizontal"></i> icon-flip-horizontal<br> +<i class="icon-flag icon-flip-vertical"></i> icon-flip-vertical diff --git a/build/assets/font-awesome/css/font-awesome.css b/build/assets/font-awesome/css/font-awesome.css index e6efefec2..34fd78b12 100644 --- a/build/assets/font-awesome/css/font-awesome.css +++ b/build/assets/font-awesome/css/font-awesome.css @@ -255,17 +255,13 @@ ul.icons-ul > li .icon-li { .icon-stack [class*=" icon-"] { display: block; position: absolute; - width: inherit; - height: inherit; + width: 100%; + height: 100%; font-size: 1em; line-height: inherit; } .icon-stack .icon-stack-base { - display: block; - width: inherit; - height: inherit; font-size: 2em; - line-height: inherit; } /* Animated rotating icon */ .icon-spin { diff --git a/build/assets/font-awesome/less/mixins.less b/build/assets/font-awesome/less/mixins.less index eeb52aec1..c4859435e 100644 --- a/build/assets/font-awesome/less/mixins.less +++ b/build/assets/font-awesome/less/mixins.less @@ -20,17 +20,13 @@ [class*=" icon-"] { display: block; position: absolute; - width: inherit; - height: inherit; + width: 100%; + height: 100%; font-size: @top-font-size; line-height: inherit; } .icon-stack-base { - display: block; - width: inherit; - height: inherit; font-size: @base-font-size; - line-height: inherit; } } } |