Last active
September 2, 2022 14:06
-
-
Save chamberlainpi/19c3fc231b407332473fb7c7b0184a1a to your computer and use it in GitHub Desktop.
Github Approval + Emoji checkmark pulsing
This file contains hidden or 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
/* | |
Slap this CSS in a Userstyle script tied to `https://github.com/` and enjoy! | |
This Chrome extension works well and is simple to use: | |
https://chrome.google.com/webstore/detail/user-javascript-and-css/nbhcbdghjpllgmfilhnhkllmkecfmpld | |
*/ | |
.Link--muted[aria-label*=approval] { | |
font-weight: bold; | |
color: #008800 !important; | |
position: relative; | |
animation: 0.4s ease-in-out infinite alternate both pulse; | |
} | |
.Link--muted[aria-label*=approval]::after { | |
content: "\02705"; | |
background: transparent; | |
display: inline-block !important; | |
position: absolute; | |
top: -1.2em; | |
right: -1.5em; | |
} | |
.Link--muted[aria-label*=approval].tooltipped::after { | |
opacity: 1; | |
} | |
@keyframes pulse { | |
from { opacity: 0.3; } | |
to { opacity: 1; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment