Commit Graph

73 Commits

Author SHA1 Message Date
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
32133bc478 On second thought: Don't scope blueprint grid classes within the container. This will make them difficult to override and BP-css doesn't do it. 2008-12-06 14:13:03 -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
1c42afb158 The Liquid grid mixin has been renamed from +blueprint-liquid to +blueprint-liquid-grid. 2008-12-06 13:46:03 -08:00
Chris Eppstein
f084ed2314 The incremental leading mixin (+incr) in the fancy type module now accepts arguments and performs the incremental leading calculations for you if you want to use different font sizes. The +dquo mixin now accepts an offset argument if the default isn't appropriate. 2008-12-06 13:46:03 -08:00
Chris Eppstein
2177bc8e24 The no-print and print-only classes were never part of blueprint-css, so I'm moving them to compass utilities. 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
5a81de14c5 Allow the blueprint font family defaults to be configured. 2008-12-01 00:26:33 -08: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
Andrew Vit
2cadeceb05 Background is not a typography concern, removed from normal-text mixin. 2008-10-03 08:26:27 -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
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
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
59addd99fb Use the compass link-colors mixin on blueprint. 2008-10-01 22:31:52 -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
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
b82966e03f bug fixes found now that things are starting to work. 2008-08-24 00:04:45 -07:00
Chris Eppstein
88ed4591cc Initial Checkin of Compass. Used to be Blueprint-Sass. 2008-08-23 10:00:46 -07:00