mirror of
https://github.com/material-components/material-web.git
synced 2024-10-27 14:07:17 +03:00
41d41cc278
PiperOrigin-RevId: 455635969
19 lines
467 B
SCSS
19 lines
467 B
SCSS
//
|
|
// Copyright 2021 Google LLC
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
// TODO(b/228217731): Remove MDC/MWC dependencies
|
|
@use '@material/web/compat/theme/css';
|
|
|
|
$duration: 280ms;
|
|
$easing: cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
@mixin root-static-styles() {
|
|
position: relative;
|
|
transition: border #{$duration} #{$easing}, box-shadow #{$duration} #{$easing};
|
|
// used for interacting with overlays
|
|
z-index: 0;
|
|
@include css.declaration(--mdc-ripple-z-index, -1);
|
|
}
|