From cb6068c9a351cd43111e7a89f2c69c095a3eeec6 Mon Sep 17 00:00:00 2001 From: David Oliver Date: Thu, 12 May 2011 23:07:54 +0200 Subject: [PATCH 1/2] Adding Micro Clearfix which is new and uses less CSS than PIE Clearfix --- .../compass/utilities/general/_clearfix.scss | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss b/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss index 2c097cc1..2959e5ae 100644 --- a/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss +++ b/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss @@ -29,3 +29,16 @@ } @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; +} From 7d68162499ede9b86a57e57371b3ea8bb81c6825 Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Sat, 11 Jun 2011 22:49:12 -0700 Subject: [PATCH 2/2] changelog updates. --- doc-src/content/CHANGELOG.markdown | 17 +++++++++++++++++ .../tutorials/configuration-reference.markdown | 1 + 2 files changed, 18 insertions(+) diff --git a/doc-src/content/CHANGELOG.markdown b/doc-src/content/CHANGELOG.markdown index a8c18baa..116ee698 100644 --- a/doc-src/content/CHANGELOG.markdown +++ b/doc-src/content/CHANGELOG.markdown @@ -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/) +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) ------------------- * Sprites will now by default remove any old versions of the sprite. A new configuration diff --git a/doc-src/content/help/tutorials/configuration-reference.markdown b/doc-src/content/help/tutorials/configuration-reference.markdown index 3a966856..642707ca 100644 --- a/doc-src/content/help/tutorials/configuration-reference.markdown +++ b/doc-src/content/help/tutorials/configuration-reference.markdown @@ -307,6 +307,7 @@ the asset host configuration is ignored. --- + **`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. If the returned value is a hash the values of :path and/or :query is used to generate