diff options
author | Eugen <eugen@zeonfederated.com> | 2017-01-15 18:45:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-15 18:45:53 +0100 |
commit | 3778355454dbdff8dc52b134113a7518a0af94df (patch) | |
tree | 518bf2e136b5b7d0aedf2773bbe5210e878e92d2 /app | |
parent | 926459fc0aa4a00e9e600523748f20137c704b47 (diff) | |
parent | 383114add377f6bfb54b84a99974462920db41c3 (diff) |
Merge pull request #478 from blackle/backflip
Change boost sprite to look like fa-retweet
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/images/boost_sprite.png | bin | 1756 -> 1326 bytes | |||
-rw-r--r-- | app/assets/stylesheets/components.scss | 35 |
2 files changed, 17 insertions, 18 deletions
diff --git a/app/assets/images/boost_sprite.png b/app/assets/images/boost_sprite.png index 02a07ee3a..564bf2646 100644 --- a/app/assets/images/boost_sprite.png +++ b/app/assets/images/boost_sprite.png Binary files differdiff --git a/app/assets/stylesheets/components.scss b/app/assets/stylesheets/components.scss index 2d99fcfe8..fedf73b1d 100644 --- a/app/assets/stylesheets/components.scss +++ b/app/assets/stylesheets/components.scss @@ -663,21 +663,20 @@ } } -// Commented out until sprite matches non-sprite icon visually -// button i.fa-retweet { -// height: 19px; -// width: 24px; -// background: image-url('boost_sprite.png') no-repeat; -// background-position: 0 0; -// transition: background-position 0.9s steps(11); -// transition-duration: 0s; - -// &::before { -// display: none !important; -// } -// } - -// button.active i.fa-retweet { -// transition-duration: 0.9s; -// background-position: 0 -209px; -// } +button i.fa-retweet { + height: 19px; + width: 22px; + background: image-url('boost_sprite.png') no-repeat; + background-position: 0 0; + transition: background-position 0.9s steps(11); + transition-duration: 0s; + + &::before { + display: none !important; + } +} + +button.active i.fa-retweet { + transition-duration: 0.9s; + background-position: 0 -209px; +} |