mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-23 08:41:12 +01:00
Change boost sprite to look like fa-retweet
This commit is contained in:
parent
926459fc0a
commit
383114add3
2 changed files with 15 additions and 16 deletions
Binary file not shown.
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.3 KiB |
|
@ -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;
|
||||
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;
|
||||
// }
|
||||
// }
|
||||
&::before {
|
||||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
// button.active i.fa-retweet {
|
||||
// transition-duration: 0.9s;
|
||||
// background-position: 0 -209px;
|
||||
// }
|
||||
button.active i.fa-retweet {
|
||||
transition-duration: 0.9s;
|
||||
background-position: 0 -209px;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue