Sha256: e870dd2ca69d4611f6b516b83077383a14aa0e49c721a880697a46a379749589

Contents?: true

Size: 1.05 KB

Versions: 2

Compression:

Stored size: 1.05 KB

Contents

// LABELS
// ------

// Base
.label {
  padding: 11x 4px 3px;
  font-size: $baseFontSize * .846;
  font-weight: bold;
  line-height: 13px; // ensure proper line-height if floated
  color: $white;
  vertical-align: middle;
  white-space: nowrap;
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  background-color: $grayLight;
  @include border-radius(3px);
}

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

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

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

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

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bootstrap-sass-rails-2.0.2.1 vendor/assets/stylesheets/twitter/bootstrap/_labels.scss
bootstrap-sass-rails-2.0.2.0 vendor/assets/stylesheets/twitter/bootstrap/_labels.scss