Sha256: 299fa6346db27f76f2611bd3f586b461177f202c286fbd01d1e1b46a3071280f

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

// BADGES
// ------

// Base
.badge {
  padding: 1px 9px 2px;
  font-size: @baseFontSize * .925;
  font-weight: bold;
  white-space: nowrap;
  color: @white;
  background-color: @grayLight;
  .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%); }

// Colors
.badge-important        { background-color: @errorText; }
.badge-important: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

1 entries across 1 versions & 1 rubygems

Version Path
twitter-bootstrap-rails-2.0.8 vendor/toolkit/twitter/bootstrap/badges.less