Skip to content
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

CSS Loader? #215

Open
jescalan opened this issue Sep 13, 2015 · 7 comments
Open

CSS Loader? #215

jescalan opened this issue Sep 13, 2015 · 7 comments
Labels

Comments

@jescalan
Copy link
Member

I often find the need for little loading spinners. There are a number of ways you can make these with css, but they are a bunch of code and not as customizable as I wish they were. Seems like it would be a great use-case for a mixin.

Some examples: http://projects.lukehaas.me/css-loaders/

Thoughts?

@dbox
Copy link
Collaborator

dbox commented Sep 13, 2015

+1

I can add to my list.

On Sun, Sep 13, 2015 at 2:27 PM Jeff Escalante [email protected]
wrote:

I often find the need for little loading spinners. There are a number of
ways you can make these with css, but they are a bunch of code and not as
customizable as I wish they were. Seems like it would be a great use-case
for a mixin.

Some examples: http://projects.lukehaas.me/css-loaders/

Thoughts?


Reply to this email directly or view it on GitHub
#215.

@dbox
Copy link
Collaborator

dbox commented Sep 13, 2015

Maybe something like:

spinner($type = 'radial1', $color = $white, $size = "small", $bg = 'true')

Then we can add more types over time if needed. Thinking we might want to
have an optional 50% black background, so it works on top of any element
out of the box.

I've been wanting to redo the roots spinner anyway. 😛

@jescalan
Copy link
Member Author

Not entirely sure what you mean with the black background. Can't we just have a transparent background?

This sounds great though as far as initial options!

@dbox
Copy link
Collaborator

dbox commented Sep 14, 2015

I just mean something like this: https://www.dropbox.com/s/ijs6u15qs3ha8h8/Screenshot%202015-09-14%2011.46.48.png?dl=0

for when you don't know what the preloader will be overlaying

@jescalan
Copy link
Member Author

Ahh yeah gotchya. Yup, good idea.

@dbox
Copy link
Collaborator

dbox commented Dec 18, 2015

This guy nailed it....

https://connoratherton.com/loaders

Has npm and bower installs..

Maybe we should just offer one simple one then have a link to these?

@jescalan
Copy link
Member Author

Sounds good to me. Not looking for a crazy array, just a simple one. Maybe slightly customizable like spin.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants