Sha256: 3358f32fd4eaf7029313d6307fabd29a53e59901e1cfc5c123180009916e85ba

Contents?: true

Size: 970 Bytes

Versions: 3

Compression:

Stored size: 970 Bytes

Contents

// BADGES
// ------

// Base
.badge {
  padding: 1px 9px 2px;
  font-size: $baseFontSize * .925;
  font-weight: bold;
  white-space: nowrap;
  color: $white;
  background-color: $grayLight;
  @include border-radius(9px);
}

// Hover state
.badge:hover {
  color: $white;
  text-decoration: none;
  cursor: pointer;
}

// Colors
.badge-error            { background-color: $errorText; }
.badge-error:hover      { background-color: darken($errorText, 10%); }

.badge-warning          { background-color: $orange; }
.badge-warning:hover    { background-color: darken($orange, 10%); }

.badge-success          { background-color: $successText; }
.badge-success:hover    { background-color: darken($successText, 10%); }

.badge-info             { background-color: $infoText; }
.badge-info:hover       { background-color: darken($infoText, 10%); }

.badge-inverse          { background-color: $grayDark; }
.badge-inverse:hover    { background-color: darken($grayDark, 10%); }

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
bootstrap-sass-2.0.2 vendor/assets/stylesheets/bootstrap/_badges.scss
anjlab-bootstrap-rails-2.0.2.1 vendor/assets/stylesheets/badges.scss
anjlab-bootstrap-rails-2.0.2.0 vendor/assets/stylesheets/badges.scss