2015-05-14 16:45:37 +03:00
|
|
|
/* Badges
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.badge {
|
|
|
|
display: inline-block;
|
|
|
|
min-width: 10px;
|
|
|
|
padding: 2px 4px;
|
|
|
|
box-shadow: 0 0 0 1px #777;
|
|
|
|
font-size: 1rem;
|
|
|
|
font-weight: inherit;
|
2015-05-16 00:28:30 +03:00
|
|
|
color: #fff;
|
2015-05-14 16:45:37 +03:00
|
|
|
line-height: 1;
|
|
|
|
vertical-align: baseline;
|
|
|
|
white-space: nowrap;
|
|
|
|
text-align: center;
|
|
|
|
background-color: #777;
|
|
|
|
border-radius: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn .badge {
|
|
|
|
position: relative;
|
|
|
|
top: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.btn-xs .badge {
|
|
|
|
top: 0;
|
|
|
|
padding: 1px 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
p .badge {
|
2015-05-16 00:28:30 +03:00
|
|
|
padding: 0 4px 3px;
|
2015-05-14 16:45:37 +03:00
|
|
|
position: relative;
|
|
|
|
top: -2px;
|
|
|
|
margin-left: -1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-pills > li > a > .badge {
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nav-item .badge {
|
|
|
|
margin-top: -5px;
|
|
|
|
margin-left: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
a.badge:hover,
|
|
|
|
a.badge:focus {
|
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Colour variations
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.badge.badge-blue {
|
|
|
|
background-color: var(--blue);
|
|
|
|
box-shadow: 0 0 0 1px var(--blue);
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge.badge-green {
|
|
|
|
background-color: var(--green);
|
|
|
|
box-shadow: 0 0 0 1px var(--green);
|
|
|
|
}
|
|
|
|
|
|
|
|
.badge.badge-red {
|
|
|
|
background-color: var(--red);
|
|
|
|
box-shadow: 0 0 0 1px var(--red);
|
|
|
|
}
|