Commit Graph

17 Commits

Author SHA1 Message Date
Chris Eppstein
956c437fe9 [Configuration] [Command Line] Whether to generate relative links to assets is now controlled by a separate configuration flag and can be set via a command-line switch. 2009-07-06 07:18:25 -07:00
Chris Eppstein
5a015b3824 [Sass Extensions] The inline_image() function can now be used to generate a data url that embeds the image data in the generated css file.
This function works like image_url() in that it expects the image to be a path relative to the images directory.

There are clear advantages and disadvantages to this approach.
See http://en.wikipedia.org/wiki/Data_URI_scheme for more details.

NOTE: Neither IE6 nor IE7 support data urls.
Using this approach with large images is discouraged.
2009-06-28 12:29:19 -07:00
Noel Gomez
2126240a1a [Compass Core] [Blueprint] The compass reset is now based on Eric Meyer's reset. The old compass/reset.sass was moved to blueprint/reset.sass -- the original source for it. 2009-06-20 17:16:13 -07:00
Chris Eppstein
91832127a3 Add missing images to examples. 2009-06-20 12:29:30 -07:00
Chris Eppstein
6ab6707001 Converted html to haml in the examples for consistency. 2009-06-05 10:43:04 -07:00
Chris Eppstein
f108fe5303 Updated the compass examples to work correctly with the images_url() function. 2009-05-02 15:18:30 -07:00
Chris Eppstein
2efbdda1e1 Made the 'rake examples' task use the command line tool instead of using custom code for compiling the examples. 2009-03-12 10:59:54 -07:00
Chris Eppstein
91aa83cbfd Silence implicit string deprecation warnings. 2008-12-17 09:02:48 -08:00
Chris Eppstein
2c3e57bec6 Created top level imports for all frameworks. This change broke backwards compatibility for YUI, where users should now @import yui.sass instead of yui/screen.sass 2008-12-08 10:44:36 -08:00
Chris Eppstein
3100476ff5 Coding spree to clean up the blueprint stylesheets and make them more similar to blueprint-css, more configurable, and more consistent.
Breakdown of changes:

===

Remove the body scope that is unnecessarily added to many blueprint classes due to the way the mixins were constructed and used. Blueprint mixins that operate on the body tag now follow a pattern where they take the body selector as an argument and must always be mixed into the top level of a stylesheet. The classes will be scoped whenever the selector is not a simple "body" selector which is the default. Mixins affected: +blueprint-ie, +blueprint-print, +blueprint-typography, and +blueprint-scaffolding. All of these mixins use corresponding +[mixin]-body and +[mixin]-defaults mixins in their implementations that you can use directly if you feel constrained by the requirement to mix into the top-level.

===

Made all configurable constants possible to override in a base stylesheet using conditional assignment. Moved many colors that were still hard coded to the colors.sass module so they can be overridden.

===

Restored some blueprint defaults even though I didn't like them. With the exception of the blueprint link urls which are now available as a mixin called +blueprint-show-link-urls (they used to just be commented out.)

===

Grid constants have been renamed in both the grid and liquid grid modules. These constants are now conditionally assigned to make the grid easily configured.

===

The liquid grid now uses the compass clearfix.

===

moved the primary mixin for a module (where one exists) to the top of the file for clarity of readers.

===

blueprint grid classes are now appropriately scoped under the .container class.
2008-12-06 13:46:03 -08:00
Chris Eppstein
605658fab2 Changes to blueprint mixins so that they can be mixed into the top level and avoid having scoped selectors that add to their weight. 2008-12-06 13:46:02 -08:00
Chris Eppstein
2cc690dc6a Changes to the liquid example for the new reset. 2008-10-03 08:30:02 -07:00
Andrew Vit
278cda2ed6 Backward Incompatible Change: Removed unnecessary html/body scoping for reset rules and made reset.sass a standalone stylesheet.
To perform a reset, simply @import compass/reset.sass

To perform a selective reset, you should @import compass/utilities/general/reset.sass which will provide
reset mixins without defining any css rules.
2008-10-03 08:23:30 -07:00
Geoff Garside
f9f77069ea Added an example of semantic liquid example.
The example can be found at examples/blueprint_semantic/parts/liquid.html
2008-10-03 07:56:35 -07:00
Chris Eppstein
1fcd0c446a Use explicit sass imports to get better error reporting in the case of a missing file or installation problem. 2008-10-01 22:58:30 -07:00
yitzhakbg
8280e6aaf1 Updated broken links from index page 2008-09-24 17:56:38 -07:00
Chris Eppstein
88ed4591cc Initial Checkin of Compass. Used to be Blueprint-Sass. 2008-08-23 10:00:46 -07:00