[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
------------------------------------------------------- */
[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
display: inline-block;
text-decoration: inherit; }
[class^="icon-"],
[class*=" icon-"] {
background: none;
width: auto;
line-height: 1; }
[class^="icon-"]:before,
[class*=" icon-"]:before {
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
display: inline-block;
text-decoration: inherit; }
a [class^="icon-"],
a [class*=" icon-"] {

View File

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

View File

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

View File

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