mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-25 21:11:30 +08:00
[fix] Reset some base styles to keep the original sprite icons from appearing
This commit is contained in:
parent
3cfa5756b7
commit
a55ba20d0a
19
css/font-awesome.css
vendored
19
css/font-awesome.css
vendored
@ -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-"] {
|
||||
|
20
less/font-awesome.less
vendored
20
less/font-awesome.less
vendored
@ -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-"],
|
||||
|
@ -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-"]
|
||||
|
20
sass/font-awesome.scss
vendored
20
sass/font-awesome.scss
vendored
@ -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-"],
|
||||
|
Loading…
Reference in New Issue
Block a user