Move ripple styles from BaseStyle.js to RippleStyle.js

This commit is contained in:
Mert Sincan 2024-05-10 09:32:29 +01:00
parent c926bbe82a
commit fcad42fd8b
2 changed files with 28 additions and 25 deletions

View file

@ -200,31 +200,6 @@ const theme = ({ dt }) => `
background-color: transparent;
}
}
.p-ripple {
overflow: hidden;
position: relative;
}
.p-ink {
display: block;
position: absolute;
background: rgba(255, 255, 255, 0.5);
border-radius: 100%;
transform: scale(0);
pointer-events: none;
}
.p-ink-active {
animation: ripple 0.4s linear;
}
@keyframes ripple {
100% {
opacity: 0;
transform: scale(2.5);
}
}
`;
const css = ({ dt }) => `