evacchi/flatpress — pull request #7 by liquibyte (2014-01-27 22:20:52+00:00)
Title: admin.widgets.js

I've modified admin.widgets.js to allow for customization through external stylesheets. There are two new classes in leggaro and flatmaas-rev admin.css to demonstrate this. I used red, green and blue as the colors, both because they stand out and as a way to honor rgb in stylesheets. In addition to moving the hover effects outside of the javascript file, I've modified the available widgets to allow both dragging from to install widgets and dragging onto to uninstall widgets in addition to the using the trashcan to do this. The hover effect for this is in red as it was to not cause confusion. I also included a minified (admin.widgets.min.js) in case that might want to be included as well. This took three days but only because I had to learn the language as I wasn't familiar with it.

Michael Grey