Sha256: 0c66f1e96000f4afd84fedf9e704128b8ad3f308a9a3cc360603d51a786f6c62

Contents?: true

Size: 1.65 KB

Versions: 12

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 {
    // 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);
    animation-timing-function: $mdc-animation-fast-out-slow-in-timing-function;
  }

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

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

  to {
    opacity: 1;
  }
}

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

  to {
    opacity: 0;
  }
}

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
material_components_web-sass-0.15.0 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.14.0.1 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.14.0 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.13.0 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.12.1 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.12.0 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.11.1 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.11.0 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.10.0.1 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.10.0 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.9.1 vendor/assets/stylesheets/@material/ripple/_keyframes.scss
material_components_web-sass-0.9.0 vendor/assets/stylesheets/@material/ripple/_keyframes.scss