-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVG spinners #79
Comments
Hmm, yeah the 16x16 icon really looks horrible... I actually inverted them in photoshop, so you are seeing the result hang head |
In case you're working on these: We could provide a 32x32 instead of a 16x16, and then scale them down 50% in CSS so that they'll look nice on 200% zoom (Retina etc.) too. Or even better yet, provide SVG icons. |
http://stylishthemes.github.io/Github-Dark/images/octocat-spinner-64-dark.gif http://stylishthemes.github.io/Github-Dark/images/octocat-spinner-32-dark.gif Hmm, yeah inverting the image in photoshop didn't work out so good... |
I'd say we provide one clean spinner image, preferably SVG (SMIL) or at least 128x128 and let the browser do the scaling. I'll have a look at doing it in SMIL. Gives me a reason to finally learn it :P |
Actually, let's not do it in SMIL, that language is just atrocious. I'll most likely do it in plain SVG with CSS animation. |
I'm working on a cleaner gif version. |
can this issue be closed? this looks great |
Not yet! I'm looking to do them through SVG+CSS animation. But go ahead and commit these right now, its certainly an improvement. |
Almost done! Just have to figure out why it isn't looping correctly. http://codepen.io/silverwind/details/ocxpD Hope you like my almost-symmetrical octocat :D |
LOL nice... you know, it's just a loading icon, it doesn't have to be exactly the same ;) |
Yeah, it was a nice exercise nonetheless. Also, I suck at coming up with something creative for a loading icon :) |
nice! haha. how the heck did you find the paths for doing octocat?!? |
@ddavison: By hard work in the svg editor :) Also, It's done, animation-delay made the keyframes a lot simpler: http://codepen.io/silverwind/details/ocxpD I'll look to integrate it into the style later. |
doesn't seem to be working from chrome.. you might need to add |
Indeed, but it's not about prefixes. Probably Chrome doesn't like my |
Alright, fixed in Chrome too: http://codepen.io/silverwind/details/ocxpD It choked on my |
curious, will this CSS be included in the github-dark stylesheet? If so, we can have the fade-to color be their theme color! |
same with the |
That should be trivial. The hard part now is get it scaled correctly. |
it's extremely trivial, just popping out suggestions :) |
I know :) I'll be sure to include colored spinners! |
Been trying to get these svg spinners in, but I guess I've hit the limits of CSS here. If I load the svg as an background-image I can't seem to select the svg elements for animation purposes. I see two possible solutions to this:
|
This might be a silly question, but would it be possible to load the SVG in an |
Continued in StylishThemes/GitHub-Dark-Script#2 |
These are really ugly right now:
I ponder if we should add them to our existing class for inverting images, or if you plan to redo these gifs.
I'd love seeing them converted to APNG, but that would screw Chrome users without the APNG addon :P
The text was updated successfully, but these errors were encountered: