- bugfix: added back
:selector
when providing attributes for custom style generators (it was accidentally removed in v1.5.2)
- replaced
:csspath
option with:cssurl
issue #21 - ordered css rules by pseudoclass importance issue #20
- added support for .ico files when using rmagick issue #18
- added a new
:return => :images
option for callers that want access to the detailedimages
hash instead of the generated css content
- @halida added a new
margin
option to (optionally) separate images in generated spritesheet to avoid 'bleeding' when browser scales the sprite (e.g. when user increases text size) - added
padding
support forpacked
layout - added
margin
support forpacked
layout - added support for using source image filename as automatic css selector issue #12
- added support for
:hover
(and other pseudo-class) selectors issue #14
- added support for
:nocomments => true
to suppress comments in generated output stylesheet - added support for images in subfolders - fixes github issue #11
- added support for
:style => :scss
to generate .scss file (even though content will be almost exactly same as .css style) - deprecated
:output
option and replaced it with 2 new explicit:output_image
and:output_style
options - updated RELEASE NOTES to include setup for use with Rails 3.1 asset pipeline
- (not available)
- source image file extensions now treated in case INsensitive manner (e.g. we detect both .PNG, .png and .Png)
- added
:nocss => true
option to suppress generation of output css file (caller should userun!
return value instead - it contains the generated css content as a string)
- added new
:layout => :packed
option to use bin-packing algorithm for generating rectangular sprite sheet - added pngcrush support
- original version