pimcore/pimcore — pull request #33 by John5 (2012-08-27 18:34:48+00:00)
Title: Fix for issue #1600 (CSS Minifier)

I have implemented a fix for [Pimcore issue #1600](http://www.pimcore.org/issues/browse/PIMCORE-1600) that I hereby submit to be merged into the Pimcore master repository.

This fixes the problem with print (and other) stylesheets not working because of the order is changed, and not being minified.

- All stylesheets are now minified in a single file. Before only the ones with the media type "screen" or none were minified.
- All media types are supported.
- The order of the stylesheets is preserved so that they will cascade properly.
- HTML media-attribute is replaced with @media in CSS. Source CSS should NOT contain @media.
- Faster because more CSS is minified and amount of requests is reduced.