Add active animation to primary/secondary buttons

This commit is contained in:
Maggie Walker 2016-09-21 14:49:47 -07:00 committed by Christoph Hartmann
parent a266baceaa
commit fa047bc364

View file

@ -3,6 +3,7 @@
text-transform: uppercase;
border-radius: 0;
box-shadow: 3px 3px 0 0 $off-white;
transition: all 0.3s ease;
&.primary {
color: $inspec-grey;
@ -10,6 +11,12 @@
border: 1px solid $inspec-blue;
}
&.primary:active,
&.secondary:active {
transform: translateX(2px) translateY(2px);
box-shadow: 0 0 0 0 $off-white;
}
&.transparent {
color: $inspec-grey;
background: transparent;