2015-03-05 09:37:16 +08:00
|
|
|
.badges {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
&, & > li {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge-size(@size) {
|
|
|
|
width: @size;
|
|
|
|
height: @size;
|
|
|
|
border-radius: @size / 2;
|
2015-05-06 09:55:19 +08:00
|
|
|
line-height: @size - 5px;
|
2015-03-05 09:37:16 +08:00
|
|
|
&, & .fa {
|
2015-05-06 09:55:19 +08:00
|
|
|
font-size: 0.56 * @size;
|
2015-03-05 09:37:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.badge {
|
2015-05-06 09:55:19 +08:00
|
|
|
.badge-size(25px);
|
2015-03-05 09:37:16 +08:00
|
|
|
border: 2px solid @fl-body-bg;
|
2015-03-12 08:10:03 +08:00
|
|
|
background: @fl-body-muted-color;
|
|
|
|
color: #fff;
|
2015-03-05 09:37:16 +08:00
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
& .label {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|