mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
Add active animation to primary/secondary buttons
This commit is contained in:
parent
a266baceaa
commit
fa047bc364
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue