Sha256: ef58598a369935d53ae3a8f390d3772b3c3fab339277b3fa225c5f0d8517aaf7

Contents?: true

Size: 1007 Bytes

Versions: 109

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

109 entries across 109 versions & 11 rubygems

Version Path
cg_app_base-1.1.1 app/assets/stylesheets/flatty/bootstrap/bootstrap/_badges.scss
cg_app_base-1.0.78 app/assets/stylesheets/flatty/bootstrap/bootstrap/_badges.scss
cg_app_base-1.0.62 app/assets/stylesheets/flatty/bootstrap/bootstrap/_badges.scss
cg_app_base-1.0.56 app/assets/stylesheets/flatty/bootstrap/bootstrap/_badges.scss
cg_app_base-1.0.55 app/assets/stylesheets/flatty/bootstrap/bootstrap/_badges.scss
cg_app_base-1.0.54 app/assets/stylesheets/flatty/bootstrap/bootstrap/_badges.scss
cg_app_base-1.0.52 app/assets/stylesheets/flatty/bootstrap/bootstrap/_badges.scss
cg_app_base-1.0.51 app/assets/stylesheets/flatty/bootstrap/bootstrap/_badges.scss
praxis-0.16.1 lib/api_browser/app/bower_components/bootstrap-sass/lib/_badges.scss
praxis-0.16.0 lib/api_browser/app/bower_components/bootstrap-sass/lib/_badges.scss
praxis-0.15.0 lib/api_browser/app/bower_components/bootstrap-sass/lib/_badges.scss
audit_rails-2.0.10 app/assets/stylesheets/audit_rails/twitter/_badges.scss
praxis-0.14.0 lib/api_browser/app/bower_components/bootstrap-sass/lib/_badges.scss
praxis-0.13.0 lib/api_browser/app/bower_components/bootstrap-sass/lib/_badges.scss
praxis-0.11.2 lib/api_browser/app/bower_components/bootstrap-sass/lib/_badges.scss
praxis-0.11.1 lib/api_browser/app/bower_components/bootstrap-sass/lib/_badges.scss
praxis-0.11 lib/api_browser/app/bower_components/bootstrap-sass/lib/_badges.scss
praxis-0.11pre lib/api_browser/app/bower_components/bootstrap-sass/lib/_badges.scss
praxis-0.10.1 lib/api_browser/app/bower_components/bootstrap-sass/lib/_badges.scss
praxis-0.10.0 lib/api_browser/app/bower_components/bootstrap-sass/lib/_badges.scss