Sha256: 231e845d61da3935f965abaab59c2772e2cbdaebe28e18798863b5a0a1979617

Contents?: true

Size: 959 Bytes

Versions: 8

Compression:

Stored size: 959 Bytes

Contents

.badges {
  $badge-background: $medium-gray;
  $badge-dark-color: $dark-gray;
  $badge-error-color: #FBE3E4;
  $badge-notice-color: lighten($base-accent-color, 40);
  $badge-success-color: #E6EFC2;
  $badge-font-color: #fff;
  $badge-font-size: $base-font-size * .75;

  display: block;
  margin-bottom: $base-line-height;

  .badge {
    @include inline-block;
    background: $badge-background;
    border-radius: 2em;
    color: $badge-font-color;
    font-size: $badge-font-size;
    font-weight: 600;
    line-height: 1;
    padding: .25em 1em;
    text-align: center;

    &.dark {
      background: $badge-dark-color;
    }

    &.error {
      background: $badge-error-color;
      color: darken($badge-error-color, 60);
    }

    &.notice {
      background: $badge-notice-color;
      color: darken($badge-notice-color, 60);
    }

    &.success {
      background: $badge-success-color;
      color: darken($badge-success-color, 60);
    }
  }
}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
staple-0.0.9 source/stylesheets/staple/_badges.scss
staple-0.0.8 source/stylesheets/staple/_badges.scss
staple-0.0.7 source/stylesheets/staple/_badges.scss
staple-0.0.6 source/stylesheets/staple/_badges.scss
staple-0.0.5 source/stylesheets/staple/_badges.scss
staple-0.0.4 source/stylesheets/staple/_badges.scss
staple-0.0.3 source/stylesheets/staple/_badges.scss
staple-0.0.2 source/stylesheets/staple/_badges.scss