2015-07-17 13:17:49 +08:00
|
|
|
.Badge {
|
|
|
|
.Badge--size(23px);
|
|
|
|
border: 1px solid @body-bg;
|
|
|
|
background: @muted-color;
|
|
|
|
color: #fff;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
|
|
|
text-align: center;
|
|
|
|
box-shadow: 0 2px 6px @shadow-color;
|
2015-03-05 09:37:16 +08:00
|
|
|
|
2015-07-17 13:17:49 +08:00
|
|
|
.Badge-label {
|
|
|
|
display: none;
|
2015-03-05 09:37:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-17 13:17:49 +08:00
|
|
|
.Badge--size(@size) {
|
2015-03-05 09:37:16 +08:00
|
|
|
width: @size;
|
|
|
|
height: @size;
|
|
|
|
border-radius: @size / 2;
|
2015-07-23 15:09:20 +08:00
|
|
|
line-height: @size - 3px;
|
2015-07-17 13:17:49 +08:00
|
|
|
|
|
|
|
&, .Badge-icon {
|
2015-05-06 09:55:19 +08:00
|
|
|
font-size: 0.56 * @size;
|
2015-03-05 09:37:16 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-07-17 13:17:49 +08:00
|
|
|
.badges {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
&, > li {
|
|
|
|
display: inline-block;
|
2015-03-05 09:37:16 +08:00
|
|
|
}
|
|
|
|
}
|