Commit Graph

1555 Commits

Author SHA1 Message Date
Chris Eppstein
b5034a917e Added the YUI grids module. It compiles and generates roughly the expected output, but is not well tested yet. 2008-11-29 01:15:12 -08:00
Chris Eppstein
39265bafc3 Added a Sass Function called nest that performs a nesting operation on (possibly) comma delimited selectors and emits the result as a string.
For example:

nest(".foo", "a, em, b")

would render:

.foo a, .foo em, .foo b

The nest function can take any number of arguments and each argument can have any number of comma-delimited selectors.
2008-11-29 01:08:07 -08:00
Roland Moriz
670595484e - added missing entries to cover 'lib/compass/commands/watch_project.rb' 2008-11-19 17:00:34 +01:00
Chris Eppstein
3fe8f6a675 Added a compass command-line option to watch a project and automatically recompile when it changes. Use compass --watch. 2008-11-04 11:55:57 -08:00
Chris Eppstein
d66f659d9a Reuse the reset and clearfix mixins in the horizontal-list declaration. 2008-11-01 11:49:03 -07:00
Chris Eppstein
1182a5cb4d Allow the padding between the list items in horizontal-list mixin to be specified as an argument. 2008-11-01 11:47:36 -07:00
Chris Eppstein
16f83b496a Generate less CSS output for the same effect in the reset. 2008-11-01 11:44:49 -07:00
Chris Eppstein
98e13e306d Removed some erroneous entries in the Manifest file and changed the rakefile so they wouldn't happen again. 2008-10-31 13:07:35 -07:00
Chris Eppstein
23ef723d8c Added a gemspec and updated the Manifest. 2008-10-29 15:11:56 -07: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
419f2d3e41 A cross-browser inline-block mixin that supports ie6-8, ff2-3, opera, and webkit. 2008-10-21 22:51:10 -07:00
Chris Eppstein
f62b5589a7 Command line option to emit the compass import paths suitable for use in a PATH variable. 2008-10-21 09:06:35 -07:00
Chris Eppstein
11def38264 Fixed a bug in the definition of push. The left margin was incorrect. 2008-10-18 17:13:54 -07:00
Chris Eppstein
595b1a0849 Small changes to accomodate Sass language advancements. Negation is now 'not' and @else exists. 2008-10-16 09:16:17 -07:00
Chris Eppstein
e10cc76ca5 Fixed duplicate directory information in the rails initializer generator. 2008-10-13 07:49:44 -07:00
Chris Eppstein
28f8e53485 Slighltly cleaner horizontal-list implementation. 2008-10-11 10:36:26 -07:00
Chris Eppstein
d6d9bd4270 Factor out a reset-box-model mixin for doing selective resets. 2008-10-11 10:36:01 -07:00
Chris Eppstein
fc17de9f62 clearfix for firefox works better with overflow: -moz-scrollbars-none 2008-10-03 17:33:54 -07:00
Chris Eppstein
9af18fa20f Added a basic test case. So far it can be used to make sure your stylesheets compile.
Eventually it should provide assertions for generated rules and styles.
2008-10-03 16:38:39 -07:00
Chris Eppstein
154a22406c Incorrect framework nesting in the compass initializers. The frameworks scope themselves. 2008-10-03 14:13:22 -07:00
Chris Eppstein
2189e28c65 Don't set background properties that aren't relevant to the text replacement. 2008-10-03 11:27:46 -07:00
Chris Eppstein
156b896d97 Don't set display for replaced text -- just use the container's default display. Also, some small refactoring. 2008-10-03 11:06:38 -07:00
Chris Eppstein
2cc690dc6a Changes to the liquid example for the new reset. 2008-10-03 08:30:02 -07:00
Andrew Vit
2cadeceb05 Background is not a typography concern, removed from normal-text mixin. 2008-10-03 08:26:27 -07:00
Andrew Vit
94083e82e1 Introduced replace-text mixin for showing images in place of HTML text. 2008-10-03 08:26:26 -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
Chris Eppstein
5aa24e6c5e Small changes to liquid.sass from code review. 2008-10-03 07:56:59 -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
Geoff Garside
b0f35c4731 Add SASS adaptation of liquid.css.
Liquid.css is a liquid adaptation of the Blueprint grid by Ben Listwon, David Bedingfield and Andrei Michael Herasimchuk at Involution Studios.
2008-10-03 07:56:25 -07:00
Chris Eppstein
b612121870 Fixed some broken relative imports. 2008-10-03 07:36:27 -07:00
Chris Eppstein
47157b483f Fixed a double slash and use File::SEPARATOR instead of slash for portability. 2008-10-01 23:27:38 -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
8ab6a339de remove gemspec, it's a generated file. 2008-10-01 22:33:50 -07:00
Chris Eppstein
59addd99fb Use the compass link-colors mixin on blueprint. 2008-10-01 22:31:52 -07:00
Chris Eppstein
39ba715973 Updated the gem manifest. 2008-10-01 22:20:35 -07:00
Chris Eppstein
0897cb6f64 Added a compass example page that demonstrates the various utility mixins 2008-09-28 16:40:09 -07:00
Chris Eppstein
fbceb3fbbc Sass Utility Mixins that encapsulate many common styling patterns. Using them can significantly speed up the styling of a webpage.
Here's a quick rundown of what's included in this checkin (@ denotes an import file, + denotes a mixin):

@ compass/utilities
  @ compass/utilities/general
    @ compass/utilities/general/clearfix
      +clearfix - Clearing floats without extra markup
    @ compass/utilities/general/tag_cloud
      +tag-cloud(!base_size = 1em) - Emits styles for a tag cloud
  @ compass/utilities/links
    @ compass/utilities/links/hover_link
      +hover-link - makes a link underlined only when hovered.
    @ compass/utilities/links/link_colors
      +link-colors(!normal, [!hover, !active, !visited, !focus]) - specify all the colors
        of a link with one mixin. Colors not sepecified will not be emitted, this may or
        may not work out depending on how you've defined your style rules.
    @ compass/utilities/links/unstyled_link
      +unstyled-link - A link that looks and acts like the text it is contained within
  @ compass/utilities/lists
    @ compass/utilities/lists/bullets
      +no-bullet - Turns off the bullet for a single list element.
      +no-bullets - Turns off the bullets for all the list elements in a list.
      +pretty-bullets(!bullet_icon, !width, !height[, !line_height = 18px, !padding = 14px]) - use an icon for the list elements of a list.
    @ compass/utilities/lists/horizontal_list
      +horizontal-list - A list where the elements are floated left.
    @ compass/utilities/lists/inline_list
      +inline-list - A list where both the list and the list elements are inlined.
      +comma-delimited-list - an inline-list that is comma delimited.
  @ compass/utilities/tables
    @ compass/utilities/tables/alternating_rows_and_columns
      +alternating-rows-and-columns(!even_row_color, !odd_row_color, !dark_intersection) - The first colors are the even/odd colors respectively and the last argument is a shade that is subtracted from those colors for the even columns.
  @ compass/utilities/text
    @ compass/utilities/text/nowrap
      +nowrap - Because remembering whether or not there's a hyphen in white-space is too hard
2008-09-28 16:13:03 -07:00
Chris Eppstein
0c6d1f967d process haml files in the examples correctly. 2008-09-28 15:13:33 -07:00
yitzhakbg
8280e6aaf1 Updated broken links from index page 2008-09-24 17:56:38 -07:00
Chris Eppstein
a83dd6e143 Move some optional classes and <hr> styles into the scaffolding module 2008-09-18 21:35:03 -07:00
Chris Eppstein
e2ddf4ff59 change the order of the link color rules so that interactive psuedo-selectors take precedence over passive ones 2008-09-13 23:59:48 -07:00
Chris Eppstein
95579a8e6b Add a boolean argument to the pull mixin that indicates wether you are pulling past the last column. 2008-09-13 23:52:04 -07:00
Chris Eppstein
975f06daa1 Compass Example 2008-09-02 00:08:40 -07:00
Ciaran Lee
7c465cc05d small fix to the 'lines to the head of your application.html.haml' 2008-08-31 00:04:03 +01:00
Glenn Rempe
8079f16955 Fix incorrect paths in Manifest 2008-08-24 19:12:18 -07:00
Chris Eppstein
46cb91f59b updated gemspec 2008-08-24 18:14:24 -07:00
Chris Eppstein
b365a178eb Add Yahoo copyright notice. 2008-08-24 17:41:13 -07:00
Chris Eppstein
e62b7942d6 YUI's base and fonts. Their reset is already in compass core.
Grid is still to come -- I'm still getting my head around its semantics.
2008-08-24 17:33:57 -07:00
Chris Eppstein
6efe31a066 Merb support 2008-08-24 12:57:49 -07:00
Chris Eppstein
6a64c44feb gemspec 2008-08-24 00:05:04 -07:00