[fix] Reset some base styles to keep the original sprite icons from appearing

This commit is contained in:
Maxime Fabre 2012-05-21 17:37:10 +02:00
parent 3cfa5756b7
commit a55ba20d0a
4 changed files with 50 additions and 28 deletions

19
css/font-awesome.css vendored
View File

@ -30,13 +30,18 @@
/* Font Awesome styles /* Font Awesome styles
------------------------------------------------------- */ ------------------------------------------------------- */
[class^="icon-"]:before, [class^="icon-"],
[class*=" icon-"]:before { [class*=" icon-"] {
font-family: FontAwesome; background: none;
font-weight: normal; width: auto;
font-style: normal; line-height: 1; }
display: inline-block; [class^="icon-"]:before,
text-decoration: inherit; } [class*=" icon-"]:before {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
display: inline-block;
text-decoration: inherit; }
a [class^="icon-"], a [class^="icon-"],
a [class*=" icon-"] { a [class*=" icon-"] {

View File

@ -36,13 +36,19 @@
/* Font Awesome styles /* Font Awesome styles
------------------------------------------------------- */ ------------------------------------------------------- */
[class^="icon-"]:before, [class^="icon-"],
[class*=" icon-"]:before { [class*=" icon-"] {
font-family: FontAwesome; background: none;
font-weight: normal; width: auto;
font-style: normal; line-height: 1;
display: inline-block;
text-decoration: inherit; &:before {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
display: inline-block;
text-decoration: inherit;
}
} }
a [class^="icon-"], a [class^="icon-"],

View File

@ -29,13 +29,18 @@ $font_path: "fontawesome-webfont" !default
/* Font Awesome styles /* Font Awesome styles
* ------------------------------------------------------- * -------------------------------------------------------
[class^="icon-"]:before, [class^="icon-"],
[class*=" icon-"]:before [class*=" icon-"]
font-family: FontAwesome background: none
font-weight: normal width: auto
font-style: normal line-height: 1
display: inline-block
text-decoration: inherit &:before
font-family: FontAwesome
font-weight: normal
font-style: normal
display: inline-block
text-decoration: inherit
a [class^="icon-"], a [class^="icon-"],
a [class*=" icon-"] a [class*=" icon-"]

View File

@ -37,13 +37,19 @@ $font_path: "fontawesome-webfont" !default;
/* Font Awesome styles /* Font Awesome styles
------------------------------------------------------- */ ------------------------------------------------------- */
[class^="icon-"]:before, [class^="icon-"],
[class*=" icon-"]:before { [class*=" icon-"] {
font-family: FontAwesome; background: none;
font-weight: normal; width: auto;
font-style: normal; line-height: 1;
display: inline-block;
text-decoration: inherit; &:before {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
display: inline-block;
text-decoration: inherit;
}
} }
a [class^="icon-"], a [class^="icon-"],