CoreFiles by mySites.guru
_caret.scss35 lines, 767 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
d71beadcd39d8da4787ba331980b636f
sha1
1c629de4ec976922a698c1da7a22109bc0621db0
sha256
d6970d5a86661c023c29fe1d6a6809cb196e6c5e73bf15e74392b07fe56c5d5b
@mixin caret-down {
  border-top: $caret-width solid;
  border-right: $caret-width solid transparent;
  border-bottom: 0;
  border-left: $caret-width solid transparent;
}

@mixin caret-up {
  border-top: 0;
  border-right: $caret-width solid transparent;
  border-bottom: $caret-width solid;
  border-left: $caret-width solid transparent;
}

@mixin caret($direction: down) {
  @if $enable-caret {
    &::after {
      display: inline-block;
      width: 0;
      height: 0;
      margin-left: $caret-width * .85;
      vertical-align: $caret-width * .85;
      content: "";
      @if $direction == down {
        @include caret-down;
      } @else if $direction == up {
        @include caret-up;
      }
    }

    &:empty::after {
      margin-left: 0;
    }
  }
}

No other release has this exact content. See every version of this file.