styles
Version:
Compile your LESS stylesheets using JSON and underscore.
38 lines (37 loc) • 649 B
CSS
.counter {
display: inline-block;
min-width: 10px;
padding: 3px 7px;
font-size: 12px;
font-weight: bold;
color: #fff;
line-height: 1;
vertical-align: middle;
white-space: nowrap;
text-align: center;
background-color: #999999;
border-radius: 10px;
}
.counter:empty {
display: none;
}
a.counter:hover {
color: #fff;
text-decoration: none;
cursor: pointer;
}
.btn .counter {
position: relative;
top: -1px;
}
.btn-mini .counter {
top: 0;
}
.nav-list > .active > a > .counter,
.nav-pills > .active > a > .counter {
color: #428bca;
background-color: #fff;
}
.nav-pills > li > a > .counter {
margin-left: 3px;
}