mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-16 09:38:51 +02:00
30 lines
405 B
SCSS
30 lines
405 B
SCSS
// core
|
|
.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;
|
|
}
|
|
|
|
.p-ripple-disabled .p-ink {
|
|
display: none;
|
|
}
|
|
|
|
@keyframes ripple {
|
|
100% {
|
|
opacity: 0;
|
|
transform: scale(2.5);
|
|
}
|
|
}
|