Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Commit

Permalink
Use pseudo class :active
Browse files Browse the repository at this point in the history
  • Loading branch information
IzumiSy committed Oct 6, 2016
1 parent 66da51f commit 63f71d4
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -350,11 +350,16 @@ body {
color: #eee;
}

.favorite_widget_wrapper .favorite_button.active {
animation-name: favorite_animation;
animation-duration: 170ms;
animation-timing-function: linear;
color: $orange;
.favorite_widget_wrapper {
.favorite_button.active {
color: $orange;
}

&:active {
animation-name: favorite_animation;
animation-duration: 170ms;
animation-timing-function: linear;
}
}

.user_icon {
Expand Down

0 comments on commit 63f71d4

Please sign in to comment.