Commit Graph

54 Commits

Author SHA1 Message Date
Chris Eppstein
b894d752c7 Silence deprecation warning 2009-11-25 22:57:52 -08:00
Eric Meyer
71a7ae3845 added susy reguire to example config 2009-11-23 18:04:43 -07:00
Eric Meyer
f89515dd79 added the susy demo html 2009-11-23 12:39:20 -07:00
Eric Meyer
568c9618c2 added susy example 2009-11-23 10:45:47 -07:00
Eric Meyer
5d812effd6 Merge branch 'edge' of git://github.com/imathis/compass into edge 2009-11-23 10:40:19 -07:00
Chris Eppstein
81942836d0 A workaround is better than nothing I guess. 2009-11-21 18:50:41 -08:00
Chris Eppstein
b69138059a [Blueprint] Moved the blueprint/modules/*.sass files to blueprint/*.sass. Old imports are still supported but are deprecated. 2009-11-21 13:19:18 -08:00
B Mathis
8ddebad39d added example to demonstrate and test gradient mixin 2009-11-21 14:50:42 -06:00
Chris Eppstein
3b7637f1e5 Bootstrap download the yui plugin for the examples. 2009-08-29 15:52:21 -07:00
Chris Eppstein
d4971fcfaa Slightly more robust extension downloader. 2009-08-29 15:14:52 -07:00
Chris Eppstein
9105d5a8de Added an example for the ninesixty plugin using local extensions. 2009-08-29 15:14:52 -07:00
Chris Eppstein
f8834532ce Added missing class in the semantic blueprint example. 2009-08-29 13:20:31 -07:00
Chris Eppstein
dafbd88588 Fixed some incorrect logic around the deprecation warning for the +blueprint mixin and eliminated the deprecation warnings for the examples. 2009-08-29 12:26:36 -07:00
Chris Eppstein
ca30bcbfee Added an example that show the inline form styling, and some blueprint display issues. 2009-07-21 11:32:34 -07:00
Chris Eppstein
b348fd7d3d Added instructions for how to build the examples. 2009-07-09 12:49:47 -07:00
Chris Eppstein
3d909ceda9 [Compass Core] Cross browser ellipsis mixin.
Since this requires the installation of an additional xml file for
firefox support, it is provided as a pattern.

To install:
compass -p ellipsis

To use:
Mix +ellipsis into a selector targeting the textual element that will
truncate via ellipsis. By default, ellipsis text is set tono-wrap. Pass
false as the first argument if you don't want that.

Note:
Firefox is the lame browser in this respect, it requires a lot of bending
over backwards and has many quirky behaviors. Please read the blog post at
http://mattsnider.com/css/css-string-truncation-with-ellipsis/ for a full
explanation of the issues. Also note that ellipsis text is white-space
sensitive in Firefox, an issue that is sure to affect Haml users more than
most.
2009-07-06 07:18:25 -07:00
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
Chris Eppstein
255d48adc2 Added some missing images to the examples. 2009-06-21 02:36:04 -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
7a34f14018 Converted the logo html to haml. 2009-06-05 10:29:34 -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
759c422c34 Incorporate more bugfixes from Blueprint 0.8 2009-04-05 23:58:15 -07:00
Chris Eppstein
dc5f5672a4 Port of the blueprint rtl plugin to compass with example. Also a small re-org of some of the files in the blueprint_plugin example. 2009-04-05 22:07:48 -07:00
Chris Eppstein
f425075978 Added an example for the link icons plugin. 2009-04-05 03:23:19 -07:00
Chris Eppstein
53960d9c25 Port of the Blueprint Buttons plugin to Compass.
This port adds semantic win and color customization to your blueprint button
styles. It also let's you choose whether you want to float them right,
left, or leave them inline-block.

To install this plugin into your project run the following command.
compass -f blueprint -p buttons

Or if you have a rails project:
compass --rails -f blueprint -p buttons
2009-04-03 12:18:47 -07:00
Andrew Vit
d9416f65fa Changed standard +clearfix to use overflow: hidden.
Added alternate +pie-clearfix using content :after
2009-04-02 22:40:25 -07:00
Andrew Vit
b36e2d2622 Added +float-left and +float-right as mixins
In order to include fixes for IE's double-margin bug universally, floats
were implemented as a utility mixins.
2009-04-02 22:40:16 -07:00
Chris Eppstein
619afebdc5 Added an example for the unobtrusive logo. 2009-03-12 11:10:31 -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
79ee96dcf4 Polish the table scaffolding mixin and add the table borders mixins. 2009-02-21 00:15:24 -08:00
Chris Eppstein
40b5ad0a3b Removed redundant include of +global-reset. 2008-12-17 09:11:41 -08:00
Chris Eppstein
91aa83cbfd Silence implicit string deprecation warnings. 2008-12-17 09:02:48 -08:00
Andrew Vit
208d0b1f04 Added +sticky-footer mixin
Forces page layout to expand, pinning the footer
to the bottom edge of the browser window.

Refer to:
http://ryanfait.com/resources/footer-stick-to-bottom-of-page/
2008-12-08 20:37:06 -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
3ca04fdba9 Renamed the yui examples folder. 2008-12-01 11:20:29 -08:00
Chris Eppstein
ead0fd611a Started working on a YUI Grid Subdivisions example. 2008-12-01 11:19:45 -08:00
Chris Eppstein
8089587a3e Renamed utilities haml file to follow new naming scheme. 2008-12-01 11:18:21 -08:00
Chris Eppstein
1cbce96bc3 Updated the YUI Examples. 2008-11-30 23:39:26 -08:00
Chris Eppstein
08ec9ec5c3 Improvements to the YUI fonts. These changes are not backwards compatible. 2008-10-29 09:23:54 -07: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
b612121870 Fixed some broken relative imports. 2008-10-03 07:36:27 -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
Chris Eppstein
0897cb6f64 Added a compass example page that demonstrates the various utility mixins 2008-09-28 16:40:09 -07:00