2013-11-16 06:21:12 +08:00
|
|
|
//
|
|
|
|
// Labels and badges
|
|
|
|
// --------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
// Base classes
|
|
|
|
.badge {
|
|
|
|
font-size: @baseFontSize * .846;
|
|
|
|
font-weight: bold;
|
|
|
|
line-height: 14px; // ensure proper line-height if floated
|
|
|
|
color: @white;
|
|
|
|
vertical-align: baseline;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-shadow: 0 -1px 0 rgba(0,0,0,.25);
|
|
|
|
background-color: @grayLight;
|
|
|
|
}
|
|
|
|
.badge {
|
|
|
|
padding: 1px 9px 2px;
|
2020-09-03 03:30:23 +08:00
|
|
|
border-radius: 9px;
|
2013-11-16 06:21:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
// Hover state, but only for links
|
|
|
|
a {
|
|
|
|
&.badge:hover {
|
|
|
|
color: @white;
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
}
|