From b83b60fb64044d3849b4289d752cf7885a7bae89 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Wed, 21 Aug 2013 13:40:40 +0200 Subject: [PATCH] Recess property order for ie7 stylesheets Fixes #1157 --- .../font-awesome/less/font-awesome-ie7.less | 18 +++++++++--------- .../font-awesome/scss/font-awesome-ie7.scss | 18 +++++++++--------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/assets/font-awesome/less/font-awesome-ie7.less b/src/assets/font-awesome/less/font-awesome-ie7.less index 57c946ac3..276ecb21f 100644 --- a/src/assets/font-awesome/less/font-awesome-ie7.less +++ b/src/assets/font-awesome/less/font-awesome-ie7.less @@ -3,22 +3,22 @@ {% include license-code.less %} .icon-large { - font-size: (4em / 3); - margin-top: -4px; padding-top: 3px; - margin-bottom: -4px; padding-bottom: 3px; + margin-top: -4px; + margin-bottom: -4px; + font-size: (4em / 3); vertical-align: middle; } .nav { [class^="icon-"], [class*=" icon-"] { - vertical-align: inherit; - margin-top: -4px; padding-top: 3px; - margin-bottom: -4px; padding-bottom: 3px; + margin-top: -4px; + margin-bottom: -4px; + vertical-align: inherit; &.icon-large { vertical-align: -25%; } @@ -29,11 +29,11 @@ [class^="icon-"], [class*=" icon-"] { &.icon-large { - line-height: .75em; - margin-top: -7px; padding-top: 5px; - margin-bottom: -5px; padding-bottom: 4px; + margin-top: -7px; + margin-bottom: -5px; + line-height: .75em; } } } diff --git a/src/assets/font-awesome/scss/font-awesome-ie7.scss b/src/assets/font-awesome/scss/font-awesome-ie7.scss index 3ba99da60..3050e2f0e 100644 --- a/src/assets/font-awesome/scss/font-awesome-ie7.scss +++ b/src/assets/font-awesome/scss/font-awesome-ie7.scss @@ -3,22 +3,22 @@ {% include license-code.less %} .icon-large { - font-size: (4em/3); - margin-top: -4px; padding-top: 3px; - margin-bottom: -4px; padding-bottom: 3px; + margin-top: -4px; + margin-bottom: -4px; + font-size: (4em/3); vertical-align: middle; } .nav { [class^="icon-"], [class*=" icon-"] { - vertical-align: inherit; - margin-top: -4px; padding-top: 3px; - margin-bottom: -4px; padding-bottom: 3px; + margin-top: -4px; + margin-bottom: -4px; + vertical-align: inherit; &.icon-large { vertical-align: -25%; } @@ -29,11 +29,11 @@ [class^="icon-"], [class*=" icon-"] { &.icon-large { - line-height: .75em; - margin-top: -7px; padding-top: 5px; - margin-bottom: -5px; padding-bottom: 4px; + margin-top: -7px; + margin-bottom: -5px; + line-height: .75em; } } }