mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-26 13:31:30 +08:00
Fix icon-large styles inside list items
In Font Awesome 1.0 the LESS declaration was: .icon-large[class^="icon-"], .icon-large[class*=" icon-"] The same declaration in Font Awesome 2.0: .icon-large:before, .icon-large:before Clearly the selector should not be duplicated and should just be: .icon-large
This commit is contained in:
parent
35fca03068
commit
2471e54678
6
css/font-awesome.css
vendored
6
css/font-awesome.css
vendored
@ -58,8 +58,7 @@ li [class*=" icon-"] {
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 1.25em;
|
width: 1.25em;
|
||||||
text-align: center; }
|
text-align: center; }
|
||||||
li .icon-large:before,
|
li .icon-large {
|
||||||
li .icon-large:before {
|
|
||||||
/* 1.5 increased font size for icon-large * 1.25 width */
|
/* 1.5 increased font size for icon-large * 1.25 width */
|
||||||
width: 1.875em; }
|
width: 1.875em; }
|
||||||
|
|
||||||
@ -70,8 +69,7 @@ ul.icons {
|
|||||||
ul.icons li [class^="icon-"],
|
ul.icons li [class^="icon-"],
|
||||||
ul.icons li [class*=" icon-"] {
|
ul.icons li [class*=" icon-"] {
|
||||||
width: .8em; }
|
width: .8em; }
|
||||||
ul.icons li .icon-large:before,
|
ul.icons li .icon-large {
|
||||||
ul.icons li .icon-large:before {
|
|
||||||
/* 1.5 increased font size for icon-large * 1.25 width */
|
/* 1.5 increased font size for icon-large * 1.25 width */
|
||||||
vertical-align: initial; }
|
vertical-align: initial; }
|
||||||
|
|
||||||
|
@ -3820,8 +3820,7 @@ li [class*=" icon-"] {
|
|||||||
width: 1.25em;
|
width: 1.25em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
li .icon-large:before,
|
li .icon-large {
|
||||||
li .icon-large:before {
|
|
||||||
/* 1.5 increased font size for icon-large * 1.25 width */
|
/* 1.5 increased font size for icon-large * 1.25 width */
|
||||||
|
|
||||||
width: 1.875em;
|
width: 1.875em;
|
||||||
@ -3835,8 +3834,7 @@ ul.icons li [class^="icon-"],
|
|||||||
ul.icons li [class*=" icon-"] {
|
ul.icons li [class*=" icon-"] {
|
||||||
width: .8em;
|
width: .8em;
|
||||||
}
|
}
|
||||||
ul.icons li .icon-large:before,
|
ul.icons li .icon-large {
|
||||||
ul.icons li .icon-large:before {
|
|
||||||
/* 1.5 increased font size for icon-large * 1.25 width */
|
/* 1.5 increased font size for icon-large * 1.25 width */
|
||||||
|
|
||||||
vertical-align: initial;
|
vertical-align: initial;
|
||||||
|
6
docs/assets/less/font-awesome.less
vendored
6
docs/assets/less/font-awesome.less
vendored
@ -71,8 +71,7 @@ li {
|
|||||||
width: 1.25em;
|
width: 1.25em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.icon-large:before,
|
.icon-large {
|
||||||
.icon-large:before {
|
|
||||||
/* 1.5 increased font size for icon-large * 1.25 width */
|
/* 1.5 increased font size for icon-large * 1.25 width */
|
||||||
width: 1.5*1.25em;
|
width: 1.5*1.25em;
|
||||||
}
|
}
|
||||||
@ -88,8 +87,7 @@ ul.icons {
|
|||||||
[class*=" icon-"] {
|
[class*=" icon-"] {
|
||||||
width: .8em;
|
width: .8em;
|
||||||
}
|
}
|
||||||
.icon-large:before,
|
.icon-large {
|
||||||
.icon-large:before {
|
|
||||||
/* 1.5 increased font size for icon-large * 1.25 width */
|
/* 1.5 increased font size for icon-large * 1.25 width */
|
||||||
vertical-align: initial;
|
vertical-align: initial;
|
||||||
// width: 1.5*1.25em;
|
// width: 1.5*1.25em;
|
||||||
|
6
less/font-awesome.less
vendored
6
less/font-awesome.less
vendored
@ -71,8 +71,7 @@ li {
|
|||||||
width: 1.25em;
|
width: 1.25em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.icon-large:before,
|
.icon-large {
|
||||||
.icon-large:before {
|
|
||||||
/* 1.5 increased font size for icon-large * 1.25 width */
|
/* 1.5 increased font size for icon-large * 1.25 width */
|
||||||
width: 1.5*1.25em;
|
width: 1.5*1.25em;
|
||||||
}
|
}
|
||||||
@ -88,8 +87,7 @@ ul.icons {
|
|||||||
[class*=" icon-"] {
|
[class*=" icon-"] {
|
||||||
width: .8em;
|
width: .8em;
|
||||||
}
|
}
|
||||||
.icon-large:before,
|
.icon-large {
|
||||||
.icon-large:before {
|
|
||||||
/* 1.5 increased font size for icon-large * 1.25 width */
|
/* 1.5 increased font size for icon-large * 1.25 width */
|
||||||
vertical-align: initial;
|
vertical-align: initial;
|
||||||
// width: 1.5*1.25em;
|
// width: 1.5*1.25em;
|
||||||
|
@ -59,8 +59,7 @@ li
|
|||||||
display: inline-block
|
display: inline-block
|
||||||
width: 1.25em
|
width: 1.25em
|
||||||
text-align: center
|
text-align: center
|
||||||
.icon-large:before,
|
.icon-large
|
||||||
.icon-large:before
|
|
||||||
/* 1.5 increased font size for icon-large * 1.25 width
|
/* 1.5 increased font size for icon-large * 1.25 width
|
||||||
width: 1.5 * 1.25em
|
width: 1.5 * 1.25em
|
||||||
|
|
||||||
@ -72,8 +71,7 @@ ul.icons
|
|||||||
[class^="icon-"],
|
[class^="icon-"],
|
||||||
[class*=" icon-"]
|
[class*=" icon-"]
|
||||||
width: .8em
|
width: .8em
|
||||||
.icon-large:before,
|
.icon-large
|
||||||
.icon-large:before
|
|
||||||
/* 1.5 increased font size for icon-large * 1.25 width
|
/* 1.5 increased font size for icon-large * 1.25 width
|
||||||
vertical-align: initial
|
vertical-align: initial
|
||||||
// width: 1.5*1.25em;
|
// width: 1.5*1.25em;
|
||||||
|
6
sass/font-awesome.scss
vendored
6
sass/font-awesome.scss
vendored
@ -75,8 +75,7 @@ li {
|
|||||||
width: 1.25em;
|
width: 1.25em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
.icon-large:before,
|
.icon-large {
|
||||||
.icon-large:before {
|
|
||||||
/* 1.5 increased font size for icon-large * 1.25 width */
|
/* 1.5 increased font size for icon-large * 1.25 width */
|
||||||
width: 1.5*1.25em;
|
width: 1.5*1.25em;
|
||||||
}
|
}
|
||||||
@ -92,8 +91,7 @@ ul.icons {
|
|||||||
[class*=" icon-"] {
|
[class*=" icon-"] {
|
||||||
width: .8em;
|
width: .8em;
|
||||||
}
|
}
|
||||||
.icon-large:before,
|
.icon-large {
|
||||||
.icon-large:before {
|
|
||||||
/* 1.5 increased font size for icon-large * 1.25 width */
|
/* 1.5 increased font size for icon-large * 1.25 width */
|
||||||
vertical-align: initial;
|
vertical-align: initial;
|
||||||
// width: 1.5*1.25em;
|
// width: 1.5*1.25em;
|
||||||
|
Loading…
Reference in New Issue
Block a user