1.1 --- a/bootstrap-source/bootstrap-3.0.3/less Kopie/badges.less Sat Jan 18 12:34:36 2014 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,51 +0,0 @@
1.4 -//
1.5 -// Badges
1.6 -// --------------------------------------------------
1.7 -
1.8 -
1.9 -// Base classes
1.10 -.badge {
1.11 - display: inline-block;
1.12 - min-width: 10px;
1.13 - padding: 3px 7px;
1.14 - font-size: @font-size-small;
1.15 - font-weight: @badge-font-weight;
1.16 - color: @badge-color;
1.17 - line-height: @badge-line-height;
1.18 - vertical-align: baseline;
1.19 - white-space: nowrap;
1.20 - text-align: center;
1.21 - background-color: @badge-bg;
1.22 - border-radius: @badge-border-radius;
1.23 -
1.24 - // Empty badges collapse automatically (not available in IE8)
1.25 - &:empty {
1.26 - display: none;
1.27 - }
1.28 -
1.29 - // Quick fix for badges in buttons
1.30 - .btn & {
1.31 - position: relative;
1.32 - top: -1px;
1.33 - }
1.34 -}
1.35 -
1.36 -// Hover state, but only for links
1.37 -a.badge {
1.38 - &:hover,
1.39 - &:focus {
1.40 - color: @badge-link-hover-color;
1.41 - text-decoration: none;
1.42 - cursor: pointer;
1.43 - }
1.44 -}
1.45 -
1.46 -// Account for counters in navs
1.47 -a.list-group-item.active > .badge,
1.48 -.nav-pills > .active > a > .badge {
1.49 - color: @badge-active-color;
1.50 - background-color: @badge-active-bg;
1.51 -}
1.52 -.nav-pills > li > a > .badge {
1.53 - margin-left: 3px;
1.54 -}