snappymail/vendors/bootstrap/less/labels-badges.less
2021-02-01 22:54:19 +01:00

29 lines
553 B
Text

//
// 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;
border-radius: 9px;
}
// Hover state, but only for links
a {
&.badge:hover {
color: @white;
text-decoration: none;
cursor: pointer;
}
}