Sha256: a59369ecb194a34b410794beb361ce14aff96bde22d52cf8f8e72818c01906b1

Contents?: true

Size: 1.65 KB

Versions: 4

Compression:

Stored size: 1.65 KB

Contents

//
// Copyright 2017 Google Inc. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
//      http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//

/** MDC Ripple keyframes are split into their own file so that _mixins.scss can rely on them. */

@import "@material/animation/variables";

@keyframes mdc-ripple-fg-radius-in {
  from {
    animation-timing-function: $mdc-animation-standard-curve-timing-function;
    // NOTE: For these keyframes, we do not need custom property fallbacks because they are only
    // used in conjunction with `.mdc-ripple-upgraded`. Since MDCRippleFoundation checks to ensure
    // that custom properties are supported within the browser before adding this class, we can
    // safely use them without a fallback.
    transform: translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1);
  }

  to {
    transform: translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1));
  }
}

@keyframes mdc-ripple-fg-opacity-in {
  from {
    animation-timing-function: linear;
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes mdc-ripple-fg-opacity-out {
  from {
    animation-timing-function: linear;
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
material_components_web-sass-0.23.0 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.22.0 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.21.1 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.21.0 vendor/assets/stylesheets/@material/ripple/_keyframes.scss