ducksboard / gridster.js

gridster.js is a jQuery plugin that makes building intuitive draggable layouts from elements spanning multiple columns
http://gridster.net/
MIT License
6.03k stars 1.2k forks source link

Is there a way to change the grey resize handle #307

Open epetre opened 10 years ago

epetre commented 10 years ago

If the widget is dark, we can't see the handle. Is there a way to change the color of the resize handle?

epetre commented 10 years ago

I fixed this by creating adding a light version of the SVG image in the css, I can submit a pull request if anyone is interested.

The way it now warks for me is that if it's container has a light class on it, the lighter image will replace the dark one.

harborpirate commented 9 years ago

Just in case anyone else needed details on how to accomplish this, I put together a quick "how to" blog post. Hopefully it saves someone out there a bit of time.

http://harborpirate.blogspot.com/2015/04/light-color-icon-for-gridster-resize.html

I don't cover how to dynamically pick the resize handle color based on the color of the consuming component, but if all you need is to change to a lighter color handle, it'll show you how to do that.