Skip to content

Latest 0.79 version issues with BS 4.3.1 #644

@STV11C

Description

@STV11C

Hi, I downloaded the latest 0.79 version and it compiles BS 4.3.1 with no errors.
However, all my nav links and hyperlinks now have the primary background color on hover.
I have narrowed it down to the mixins/badge.scss (since that was an issue previously) and have a feeling the color and background-color are effecting non-badge related elements.
Thanks!

@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);
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions