mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2024-12-28 06:21:30 +08:00
61 lines
1.1 KiB
Plaintext
61 lines
1.1 KiB
Plaintext
/* BOOTSTRAP SPECIFIC CLASSES
|
|
* -------------------------- */
|
|
|
|
/* Bootstrap 2.0 sprites.less reset */
|
|
//.fa {
|
|
// display: inline;
|
|
// width: auto;
|
|
// height: auto;
|
|
// margin-top: 0;
|
|
// line-height: normal;
|
|
// vertical-align: baseline;
|
|
// background-image: none;
|
|
// background-position: 0 0;
|
|
// background-repeat: repeat;
|
|
//}
|
|
|
|
|
|
/* keeps Bootstrap styles with and without icons the same */
|
|
.btn, .nav {
|
|
.fa {
|
|
// display: inline;
|
|
&.fa-lg { line-height: .9em; }
|
|
&.fa-spin { display: inline-block; }
|
|
}
|
|
}
|
|
.nav-tabs, .nav-pills {
|
|
.fa {
|
|
&, &.fa-lg { line-height: .9em; }
|
|
}
|
|
}
|
|
.btn {
|
|
.fa {
|
|
&.pull-left, &.pull-right {
|
|
&.fa-2x { margin-top: .18em; }
|
|
}
|
|
&.fa-spin.fa-lg { line-height: .8em; }
|
|
}
|
|
}
|
|
.btn.btn-small {
|
|
.fa {
|
|
&.pull-left, &.pull-right {
|
|
&.fa-2x { margin-top: .25em; }
|
|
}
|
|
}
|
|
}
|
|
.btn.btn-large {
|
|
.fa {
|
|
margin-top: 0; // overrides bootstrap default
|
|
&.pull-left, &.pull-right {
|
|
&.fa-2x { margin-top: .05em; }
|
|
}
|
|
&.pull-left.fa-2x { margin-right: .2em; }
|
|
&.pull-right.fa-2x { margin-left: .2em; }
|
|
}
|
|
}
|
|
|
|
/* Fixes alignment in nav lists */
|
|
.nav-list .fa {
|
|
line-height: inherit;
|
|
}
|