Skip to content

Commit

Permalink
fix(scrollView): pull to refresh spin back. Fixes #774
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Mar 18, 2014
1 parent ded4693 commit 049aabc
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions scss/_scaffolding.scss
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ body.grade-c {
font-size: 30px;

.icon-pulling {
@include animation-name(refresh-spin-back);
@include animation-duration(200ms);
@include animation-timing-function(linear);
@include animation-fill-mode(both);
Expand All @@ -192,6 +193,16 @@ body.grade-c {
100% {-webkit-transform: rotate(-180deg); }
}

@keyframes refresh-spin-back {
0% { transform: rotate(-180deg); }
100% { transform: rotate(0); }
}

@-webkit-keyframes refresh-spin-back {
0% {-webkit-transform: rotate(-180deg); }
100% {-webkit-transform: rotate(0); }
}

.scroll-refresher.active {

.icon-pulling {
Expand Down

1 comment on commit 049aabc

@adamdbradley
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mlynch can this get put in the animations.scss file?

Please sign in to comment.