Sha256: 0abd670f0232e389a87b6f2a666b8bda9de26c0f0d6a23f5ef44d7a04bbf53f0

Contents?: true

Size: 952 Bytes

Versions: 1

Compression:

Stored size: 952 Bytes

Contents

.badges {
  $badge-background: $medium-gray;
  $badge-dark-color: $dark-gray;
  $badge-error-color: $error-color;
  $badge-notice-color: $notice-color;
  $badge-success-color: $success-color;
  $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-error-color, 60);
    }

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
refills-0.0.2 source/stylesheets/refills/_badges.scss