framework/less/lib/badges.less

33 lines
490 B
Plaintext
Raw Normal View History

.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;
&, & .fa {
2015-05-06 09:55:19 +08:00
font-size: 0.56 * @size;
}
}
.badge {
2015-05-06 09:55:19 +08:00
.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;
}
}