Sha256: 639124f2389dbaca37d41140a2bbc1a2abedd539a8b08e91443d3c1d26e340fa

Contents?: true

Size: 597 Bytes

Versions: 3

Compression:

Stored size: 597 Bytes

Contents

$badge-font-size: 0.75em !default
$medium-gray: #999 !default
$alert-color: #fff6bf !default
$error-color: #fbe3e4 !default
$notice-color: #e5edf8 !default
$success-color: #e6efc2 !default

=badge($color: $medium-gray)
  background-color: $color
  border-radius: $badge-font-size * 5
  color: darken($color, 60%)
  display: inline-block
  font-size: $badge-font-size
  font-weight: 600
  line-height: 1
  padding: 0.4em 1.2em

.badge
  +badge

.badge-alert
  +badge($alert-color)

.badge-error
  +badge($error-color)

.badge-notice
  +badge($notice-color)

.badge-success
  +badge($success-color)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
breezeblocks-0.0.4 source/stylesheets/breezeblocks/_badges.sass
breezeblocks-0.0.2 source/stylesheets/breezeblocks/_badges.sass
breezeblocks-0.0.1 source/stylesheets/breezeblocks/_badges.sass