CoreFiles by mySites.guru
_transition.scss26 lines, 681 bytes, from Joomla_4.0.0-beta6-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta5
md5
c079e56eb3f2960b3cb0b4fe4360e3af
sha1
c2b0d38e3217568a31e6dea0fe72e4de352f05ce
sha256
75a4bc0dfeadb32e37dd8273631a2c46dbc5f446e321f5ea23bf8c5e82ec2e23
// stylelint-disable property-disallowed-list
@mixin transition($transition...) {
  @if length($transition) == 0 {
    $transition: $transition-base;
  }

  @if length($transition) > 1 {
    @each $value in $transition {
      @if $value == null or $value == none {
        @warn "The keyword 'none' or 'null' must be used as a single argument.";
      }
    }
  }

  @if $enable-transitions {
    @if nth($transition, 1) != null {
      transition: $transition;
    }

    @if $enable-prefers-reduced-motion-media-query and nth($transition, 1) != null and nth($transition, 1) != none {
      @media (prefers-reduced-motion: reduce) {
        transition: none;
      }
    }
  }
}

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