Sha256: 9ebd12fa622d852b158fb68e338508e051678f5ae6c31d449814e921a1d02c6d

Contents?: true

Size: 337 Bytes

Versions: 3

Compression:

Stored size: 337 Bytes

Contents

@mixin badge-variant($bg) {
  color: color-yiq($bg);
  background-color: $bg;

  @at-root a#{&} {
    @include hover-focus() {
      color: color-yiq($bg);
      background-color: darken($bg, 10%);
    }

    &:focus,
    &.focus {
      outline: 0;
      box-shadow: 0 0 0 $badge-focus-width rgba($bg, .5);
    }
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chulapa-jekyll-1.1.0 _sass/bootstrap/mixins/_badge.scss
chulapa-jekyll-1.0.1 _sass/bootstrap/mixins/_badge.scss
chulapa-jekyll-1.0.0 _sass/bootstrap/mixins/_badge.scss