File tree Expand file tree Collapse file tree 2 files changed +2
-20
lines changed Expand file tree Collapse file tree 2 files changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ export default {
35
35
margin : 0.5em ;
36
36
height : fit-content ;
37
37
padding : 15px ;
38
+ transition : background-color 1s ;
38
39
39
40
& __row {
40
41
display : flex ;
@@ -54,16 +55,6 @@ export default {
54
55
55
56
& :hover ,
56
57
& :focus {
57
- @keyframes colorin {
58
- from {
59
- background-color : $hacks-nav-inactive-color ;
60
- }
61
- to {
62
- background-color : $hacks-nav-active-color ;
63
- }
64
- }
65
-
66
- @include animation-fast (colorin);
67
58
background-color : $hacks-nav-active-color ;
68
59
}
69
60
}
Original file line number Diff line number Diff line change @@ -28,19 +28,10 @@ export default {
28
28
object-fit : cover ;
29
29
border-radius : 10% ;
30
30
filter : grayscale (100% );
31
+ transition : filter 1s ;
31
32
32
33
& :hover ,
33
34
& :focus {
34
- @keyframes movein {
35
- from {
36
- filter : grayscale (100% );
37
- }
38
- to {
39
- filter : grayscale (0% );
40
- }
41
- }
42
-
43
- @include animation-fast (movein);
44
35
filter : grayscale (0% );
45
36
}
46
37
}
You can’t perform that action at this time.
0 commit comments