CoreFiles by mySites.guru
_badge.scss17 lines, 320 bytes, from Joomla_4.0.0-beta4-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta3
md5
9245d772f26fa773f3f1cfcc57c3b46c
sha1
0f5e510da8bb810cf66104353edff2137bfdf9d7
sha256
6a7350d3c81b5454f7dd56d29bc083e9de7e862baeab63bcef5a8833c05e49a8
@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-beta to 4.0.0-beta6. See them all, or every version of this file.