Sha256: 6a7350d3c81b5454f7dd56d29bc083e9de7e862baeab63bcef5a8833c05e49a8

Contents?: true

Size: 320 Bytes

Versions: 227

Compression:

Stored size: 320 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

227 entries across 227 versions & 17 rubygems

Version Path
devops4lib-jekyll-theme-conference-0.0.1 _sass/bootstrap/mixins/_badge.scss
jekyll-theme-conference-3.6.6 _sass/bootstrap/mixins/_badge.scss
bootstrap-4.6.2.1 assets/stylesheets/bootstrap/mixins/_badge.scss
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/bootstrap-4.6.2/assets/stylesheets/bootstrap/mixins/_badge.scss
jekyll-theme-conference-3.6.5 _sass/bootstrap/mixins/_badge.scss
jekyll-theme-conference-3.6.4 _sass/bootstrap/mixins/_badge.scss
jekyll-theme-conference-3.6.3 _sass/bootstrap/mixins/_badge.scss
jekyll-theme-conference-3.6.2 _sass/bootstrap/mixins/_badge.scss
jekyll-theme-conference-3.6.1 _sass/bootstrap/mixins/_badge.scss
jekyll-theme-centos-0.9.20221031122647 _sass/bootstrap/mixins/_badge.scss
bootstrap-4.6.2 assets/stylesheets/bootstrap/mixins/_badge.scss
nex-bootstrap-4.6.3 assets/stylesheets/bootstrap/mixins/_badge.scss
jekyll-theme-centos-0.9.20220805132206 _sass/bootstrap/mixins/_badge.scss
jekyll-theme-apcsp-1.1.0 _sass/bootstrap/scss/mixins/_badge.scss
jekyll-theme-conference-3.6.0 _sass/bootstrap/mixins/_badge.scss
jekyll-theme-centos-0.9.20220227231551 _sass/bootstrap/mixins/_badge.scss
viniBaxter-desk_front-300.0.12 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_badge.scss
jekyll-theme-conference-3.5.0 _sass/bootstrap/mixins/_badge.scss
viniBaxter-desk_front-300.0.11 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_badge.scss
jekyll-theme-conference-3.4.1 _sass/bootstrap/mixins/_badge.scss