framework/less/lib/badges.less
2015-05-06 11:25:19 +09:30

33 lines
490 B
Plaintext

.badges {
margin: 0;
padding: 0;
list-style: none;
&, & > li {
display: inline-block;
}
}
.badge-size(@size) {
width: @size;
height: @size;
border-radius: @size / 2;
line-height: @size - 5px;
&, & .fa {
font-size: 0.56 * @size;
}
}
.badge {
.badge-size(25px);
border: 2px solid @fl-body-bg;
background: @fl-body-muted-color;
color: #fff;
display: inline-block;
vertical-align: middle;
text-align: center;
& .label {
display: none;
}
}