mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-01-13 16:50:27 +08:00
[fix] Reset some base styles to keep the original sprite icons from appearing
This commit is contained in:
parent
3cfa5756b7
commit
a55ba20d0a
5
css/font-awesome.css
vendored
5
css/font-awesome.css
vendored
@ -30,6 +30,11 @@
|
|||||||
|
|
||||||
/* Font Awesome styles
|
/* Font Awesome styles
|
||||||
------------------------------------------------------- */
|
------------------------------------------------------- */
|
||||||
|
[class^="icon-"],
|
||||||
|
[class*=" icon-"] {
|
||||||
|
background: none;
|
||||||
|
width: auto;
|
||||||
|
line-height: 1; }
|
||||||
[class^="icon-"]:before,
|
[class^="icon-"]:before,
|
||||||
[class*=" icon-"]:before {
|
[class*=" icon-"]:before {
|
||||||
font-family: FontAwesome;
|
font-family: FontAwesome;
|
||||||
|
10
less/font-awesome.less
vendored
10
less/font-awesome.less
vendored
@ -36,14 +36,20 @@
|
|||||||
|
|
||||||
/* Font Awesome styles
|
/* Font Awesome styles
|
||||||
------------------------------------------------------- */
|
------------------------------------------------------- */
|
||||||
[class^="icon-"]:before,
|
[class^="icon-"],
|
||||||
[class*=" icon-"]:before {
|
[class*=" icon-"] {
|
||||||
|
background: none;
|
||||||
|
width: auto;
|
||||||
|
line-height: 1;
|
||||||
|
|
||||||
|
&:before {
|
||||||
font-family: FontAwesome;
|
font-family: FontAwesome;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-decoration: inherit;
|
text-decoration: inherit;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
a [class^="icon-"],
|
a [class^="icon-"],
|
||||||
a [class*=" icon-"] {
|
a [class*=" icon-"] {
|
||||||
|
@ -29,8 +29,13 @@ $font_path: "fontawesome-webfont" !default
|
|||||||
/* Font Awesome styles
|
/* Font Awesome styles
|
||||||
* -------------------------------------------------------
|
* -------------------------------------------------------
|
||||||
|
|
||||||
[class^="icon-"]:before,
|
[class^="icon-"],
|
||||||
[class*=" icon-"]:before
|
[class*=" icon-"]
|
||||||
|
background: none
|
||||||
|
width: auto
|
||||||
|
line-height: 1
|
||||||
|
|
||||||
|
&:before
|
||||||
font-family: FontAwesome
|
font-family: FontAwesome
|
||||||
font-weight: normal
|
font-weight: normal
|
||||||
font-style: normal
|
font-style: normal
|
||||||
|
10
sass/font-awesome.scss
vendored
10
sass/font-awesome.scss
vendored
@ -37,14 +37,20 @@ $font_path: "fontawesome-webfont" !default;
|
|||||||
|
|
||||||
/* Font Awesome styles
|
/* Font Awesome styles
|
||||||
------------------------------------------------------- */
|
------------------------------------------------------- */
|
||||||
[class^="icon-"]:before,
|
[class^="icon-"],
|
||||||
[class*=" icon-"]:before {
|
[class*=" icon-"] {
|
||||||
|
background: none;
|
||||||
|
width: auto;
|
||||||
|
line-height: 1;
|
||||||
|
|
||||||
|
&:before {
|
||||||
font-family: FontAwesome;
|
font-family: FontAwesome;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
text-decoration: inherit;
|
text-decoration: inherit;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
a [class^="icon-"],
|
a [class^="icon-"],
|
||||||
a [class*=" icon-"] {
|
a [class*=" icon-"] {
|
||||||
|
Loading…
Reference in New Issue
Block a user