Last active
November 11, 2015 07:24
-
-
Save mathowie/9d9a12890793649897c1 to your computer and use it in GitHub Desktop.
Swap Twitter Hearts for Emoji
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Install the Stylish extension for your browser, then add this code | |
as a new Style. Make sure it applies to the domain 'twitter.com' */ | |
/* Tweet any improvements or comments to @mcnees. */ | |
/* Hide the heart for un-Faved tweets. */ | |
.ProfileTweet-actionButton .HeartAnimationContainer { | |
visibility: hidden; | |
} | |
/* Replace the heart for un-Faved tweets with an emoji. */ | |
.ProfileTweet-actionButton .HeartAnimationContainer:after { | |
content:'⚪️'; | |
visibility: visible; | |
display: block; | |
position: absolute; | |
} | |
/* Hide the heart for Faved tweets. */ | |
.ProfileTweet-actionButtonUndo .HeartAnimationContainer { | |
visibility: hidden; | |
} | |
/* Replace the heart for Faved tweets with an emoji. */ | |
.ProfileTweet-actionButtonUndo .HeartAnimationContainer:after { | |
content:'💯'; | |
visibility: visible; | |
display: block; | |
position: absolute; | |
} | |
/* Change the text color for the Fav count. */ | |
.ProfileTweet-actionCountForPresentation { | |
color: #999; | |
} | |
/* Hide the heart icon for Favs in the notification stream. */ | |
.activity-type-favorite { | |
visibility: hidden; | |
} | |
/* Replace them with an emoji. */ | |
.activity-type-favorite:after { | |
content:'⭐️'; | |
visibility: visible; | |
display: block; | |
position: absolute; | |
} | |
/* Hide the icons for a favorited mention in notification stream. */ | |
.activity-type-favorited_mention { | |
visibility: hidden; | |
} | |
/* Replace it with an emoji. */ | |
.activity-type-favorited_mention:after { | |
content:'🔥'; | |
visibility: visible; | |
display: block; | |
position: absolute; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment