Merge branch 'stable' of github.com:chriseppstein/compass into stable

This commit is contained in:
Scott Davis 2011-06-12 01:49:43 -04:00
commit f0f231a041
3 changed files with 31 additions and 0 deletions

View File

@ -14,6 +14,23 @@ The Documentation for the [latest stable release](http://compass-style.org/docs/
The Documentation for the [latest preview release](http://beta.compass-style.org/) The Documentation for the [latest preview release](http://beta.compass-style.org/)
0.11.3 (06/11/2011)
-------------------
**Note:** Due to some internal changes to compass you may have issue with your sass cache. Run `compass clean` to clear your cache.
* Added a new command: `compass clean` which removes any generated
css files and clears the sass cache.
* Enable IE 10 support for flexible box with the -ms prefix.
* A small change to how generated sprites are named for better
rails 3.1 compatibility.
* Fixes for the compass --quiet mode.
* It is now possible to generate cache buster urls that manipulate
the path of the image instead of the query string. This makes
images work better with proxies, but will require some web server
configuration. [Docs](/help/tutorials/configuration-reference/#asset-cache-buster)
* Numerous small bug fixes to sprites.
0.11.2 (06/10/2011) 0.11.2 (06/10/2011)
------------------- -------------------
* Sprites will now by default remove any old versions of the sprite. A new configuration * Sprites will now by default remove any old versions of the sprite. A new configuration

View File

@ -307,6 +307,7 @@ the asset host configuration is ignored.
--- ---
<a name="asset-cache-buster"></a>
**`asset_cache_buster`** Pass this function a block of code that defines the **`asset_cache_buster`** Pass this function a block of code that defines the
cache buster strategy to be used. The block must return nil, a string or a hash. cache buster strategy to be used. The block must return nil, a string or a hash.
If the returned value is a hash the values of :path and/or :query is used to generate If the returned value is a hash the values of :path and/or :query is used to generate

View File

@ -29,3 +29,16 @@
} }
@include has-layout; @include has-layout;
} }
// An update to the PIE clearfix method that reduces the amount of CSS required
// [A new micro clearfix hack](http://nicolasgallagher.com/micro-clearfix-hack/) (25 April 2011)
@mixin micro-clearfix {
&:before, &:after {
content: "";
display: table;
}
&:after {
clear: both;
}
@include has-layout;
}