better ripple effect

This commit is contained in:
jean-emmanuel 2015-11-04 15:51:18 +01:00
parent 48b6db0d9a
commit 4e72efcde0
4 changed files with 17 additions and 12 deletions

View file

@ -810,8 +810,9 @@ a {
}
&.on .light {
background: $color-accent;
}
&.ripple .light {
animation: ripple .25s linear;
animation-fill-mode:backwards;
}
}
@ -895,11 +896,11 @@ a {
background: $color-border;
border-radius: 8rem;
}
&.on {
&:after {
&.on:after {
background: $color-accent;
}
&.ripple:after {
animation:ripple 0.25s linear;
}
}
}
}