mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-28 22:41:28 +08:00
fixing #690
This commit is contained in:
parent
5b900850ab
commit
b381eb6d25
23
build/assets/css/font-awesome.css
vendored
23
build/assets/css/font-awesome.css
vendored
@ -80,13 +80,12 @@ a [class*=" icon-"] {
|
||||
vertical-align: -10%;
|
||||
font-size: 1.3333333333333333em;
|
||||
}
|
||||
/* keeps button heights with and without icons the same */
|
||||
.btn [class^="icon-"],
|
||||
.nav [class^="icon-"],
|
||||
.btn [class*=" icon-"],
|
||||
.nav [class*=" icon-"] {
|
||||
display: inline;
|
||||
/* keeps button heights with and without icons the same */
|
||||
|
||||
}
|
||||
.btn [class^="icon-"].icon-large,
|
||||
.nav [class^="icon-"].icon-large,
|
||||
@ -100,13 +99,7 @@ a [class*=" icon-"] {
|
||||
.nav [class*=" icon-"].icon-spin {
|
||||
display: inline-block;
|
||||
}
|
||||
.nav-tabs [class^="icon-"],
|
||||
.nav-pills [class^="icon-"],
|
||||
.nav-tabs [class*=" icon-"],
|
||||
.nav-pills [class*=" icon-"] {
|
||||
/* keeps button heights with and without icons the same */
|
||||
|
||||
}
|
||||
.nav-tabs [class^="icon-"],
|
||||
.nav-pills [class^="icon-"],
|
||||
.nav-tabs [class*=" icon-"],
|
||||
@ -287,20 +280,6 @@ ul.icons-ul > li .icon-li {
|
||||
transform: rotate(359deg);
|
||||
}
|
||||
}
|
||||
@-moz-document url-prefix() {
|
||||
.icon-spin {
|
||||
height: .9em;
|
||||
}
|
||||
.btn .icon-spin {
|
||||
height: auto;
|
||||
}
|
||||
.icon-spin.icon-large {
|
||||
height: 1.25em;
|
||||
}
|
||||
.btn .icon-spin.icon-large {
|
||||
height: .75em;
|
||||
}
|
||||
}
|
||||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
readers do not read off random characters that represent icons */
|
||||
.icon-glass:before {
|
||||
|
11
build/assets/less/font-awesome.less
vendored
11
build/assets/less/font-awesome.less
vendored
@ -100,20 +100,20 @@ a {
|
||||
font-size: 4/3em;
|
||||
}
|
||||
|
||||
/* keeps button heights with and without icons the same */
|
||||
.btn, .nav {
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
display: inline;
|
||||
/* keeps button heights with and without icons the same */
|
||||
&.icon-large { line-height: .9em; }
|
||||
&.icon-spin { display: inline-block; }
|
||||
}
|
||||
}
|
||||
|
||||
/* keeps button heights with and without icons the same */
|
||||
.nav-tabs, .nav-pills {
|
||||
[class^="icon-"],
|
||||
[class*=" icon-"] {
|
||||
/* keeps button heights with and without icons the same */
|
||||
&, &.icon-large { line-height: .9em; }
|
||||
}
|
||||
}
|
||||
@ -131,7 +131,6 @@ li, .nav li {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
ul.icons-ul {
|
||||
list-style-type: none;
|
||||
text-indent: -9/14em;
|
||||
@ -278,12 +277,6 @@ ul.icons-ul {
|
||||
100% { transform: rotate(359deg); }
|
||||
}
|
||||
|
||||
@-moz-document url-prefix() {
|
||||
.icon-spin { height: .9em; }
|
||||
.btn .icon-spin { height: auto; }
|
||||
.icon-spin.icon-large { height: 1.25em; }
|
||||
.btn .icon-spin.icon-large { height: .75em; }
|
||||
}
|
||||
|
||||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
readers do not read off random characters that represent icons */
|
||||
|
Loading…
Reference in New Issue
Block a user