diff options
author | blackle <isabelle@blackle-mori.com> | 2017-01-15 10:55:31 -0500 |
---|---|---|
committer | blackle <isabelle@blackle-mori.com> | 2017-01-15 11:40:05 -0500 |
commit | 383114add377f6bfb54b84a99974462920db41c3 (patch) | |
tree | 518bf2e136b5b7d0aedf2773bbe5210e878e92d2 /app/assets/stylesheets/components.scss | |
parent | 926459fc0aa4a00e9e600523748f20137c704b47 (diff) |
Change boost sprite to look like fa-retweet
Diffstat (limited to 'app/assets/stylesheets/components.scss')
-rw-r--r-- | app/assets/stylesheets/components.scss | 35 |
1 files changed, 17 insertions, 18 deletions
diff --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; +} |