about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-01-15 18:45:53 +0100
committerGitHub <noreply@github.com>2017-01-15 18:45:53 +0100
commit3778355454dbdff8dc52b134113a7518a0af94df (patch)
tree518bf2e136b5b7d0aedf2773bbe5210e878e92d2 /app
parent926459fc0aa4a00e9e600523748f20137c704b47 (diff)
parent383114add377f6bfb54b84a99974462920db41c3 (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.pngbin1756 -> 1326 bytes
-rw-r--r--app/assets/stylesheets/components.scss35
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;
+}