Browse Source

Merge pull request #478 from blackle/backflip

Change boost sprite to look like fa-retweet
closed-social-glitch-2
Eugen 7 years ago
committed by GitHub
parent
commit
3778355454
2 changed files with 17 additions and 18 deletions
  1. BIN
     
  2. +17
    -18
      app/assets/stylesheets/components.scss

BIN
View File


+ 17
- 18
app/assets/stylesheets/components.scss View File

@ -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;
}

Loading…
Cancel
Save