logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: 3778355454dbdff8dc52b134113a7518a0af94df
parent: 926459fc0aa4a00e9e600523748f20137c704b47
Author: Eugen <eugen@zeonfederated.com>
Date:   Sun, 15 Jan 2017 18:45:53 +0100

Merge pull request #478 from blackle/backflip

Change boost sprite to look like fa-retweet

Diffstat:

Mapp/assets/images/boost_sprite.png0
Mapp/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 Binary files differ. diff --git 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; +}