CoreFiles by mySites.guru
_badge.scss17 lines, 318 bytes, from Joomla_4.0.0-alpha8-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha7
md5
e9f369ed8d11bbe64a1063c2ae60f4f2
sha1
7b4523fe17991fa604531fd747f4966e46b181d3
sha256
c496f71226942302d6603b14d765d783da4193b03ea12886b913ed2639f25f05
@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);
    }
  }
}

The same content is in 6 releases, Joomla 4.0.0-alpha7 to 4.0.0-alpha12. See them all, or every version of this file.