Sha256: 3152dcc69e04b507f27ac79680e95af101d13ef5ec842a3eb9f632d9db01dd17

Contents?: true

Size: 1007 Bytes

Versions: 130

Compression:

Stored size: 1007 Bytes

Contents

//
// Badges
// --------------------------------------------------


// Base classes
.badge {
  display: inline-block;
  min-width: 10px;
  padding: 3px 7px;
  font-size: @font-size-small;
  font-weight: @badge-font-weight;
  color: @badge-color;
  line-height: @badge-line-height;
  vertical-align: baseline;
  white-space: nowrap;
  text-align: center;
  background-color: @badge-bg;
  border-radius: @badge-border-radius;

  // Empty badges collapse automatically (not available in IE8)
  &:empty {
    display: none;
  }
}

// Hover state, but only for links
a.badge {
  &:hover,
  &:focus {
    color: @badge-link-hover-color;
    text-decoration: none;
    cursor: pointer;
  }
}

// Quick fix for labels/badges in buttons
.btn .badge {
  position: relative;
  top: -1px;
}

// Account for counters in navs
a.list-group-item.active > .badge,
.nav-pills > .active > a > .badge {
  color: @badge-active-color;
  background-color: @badge-active-bg;
}
.nav-pills > li > a > .badge {
  margin-left: 3px;
}

Version data entries

130 entries across 130 versions & 12 rubygems

Version Path
card-mod-bootstrap-0.18.1 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.18.0 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.17.0 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.16.0 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.15.6 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.15.5 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.15.4 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.15.3 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.15.1.2 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.15.2.pre1 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.15.1.1 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.15.1 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.15.0 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.14.2 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.14.1 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.14.0 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.13.4 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.13.3 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.13.2 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less
card-mod-bootstrap-0.13.1 vendor/bootswatch/docs/3/bower_components/font-awesome/src/assets/less/bootstrap-3.0.0/badges.less