Commit Graph

420 Commits

Author SHA1 Message Date
Eric Meyer
2ff13efce1 HTML5 reset includes box-model reset for newer browsers. 2010-09-24 16:52:37 -06:00
Dylan Paris
62c78d9545 Added @charset declaration to force UTF-8 encoding on systems with different default encodings 2010-09-21 19:08:24 -07:00
Chris Eppstein
3df9f7d3a5 Merge branch 'stable'
* stable:
  Print out the new style help with -h and --help instead of the old-style help.
  clean up the docs on the fancy-type module in blueprint.
  update some comments and formatting
  make the docs on extensions a bit more clear for rubygems extensions.
  official gradients still need image declared
  fix typo in docs
  Print a better error message if the extension isn't found.
  versions change.
  prepare for release
  Update docs
  Update docs
  A command to unpack an extension from the system location.

Conflicts:
	VERSION.yml
	doc-src/content/CHANGELOG.markdown
2010-08-31 22:30:35 -07:00
Chris Eppstein
de66f7ad6a clean up the docs on the fancy-type module in blueprint. 2010-08-31 21:57:34 -07:00
Chris Eppstein
180e8780d8 update some comments and formatting 2010-08-31 21:57:34 -07:00
Eric Meyer
994e0e3335 official gradients still need image declared 2010-08-30 16:13:17 -06:00
Chris Eppstein
034012295a Merge branch 'stable'
* stable: (81 commits)
  Gemfiles for testing and a rails test helper that works for both rails 2 and rails 3.
  provide correct installation steps when the compass validator is not found.
  Fix a broken test case.
  That wasn't supposed to be released yet.
  Fixed error: there is no opposite-position(both)
  Fix a bug in the statistics analyzer for rules with interpolation.
  bump version for release
  upgrade to bundler 1.0
  link the docs to the stable branch.
  Update the CHANGELOG for the 0.10.5 release
  Read assets in binary mode for the windows users.
  bump version.
  Get the imports straightend out for the new mixins.
  Bug fix: make the path-based configuration really work right.
  inline-block-list tests
  inline-block-list documentation
  inline-block-list mixin
  added additional html5 block-level elements per recommended reset stylesheet: http://html5doctor.com/html-5-reset-stylesheet/
  Prepare for release.
  Prepare for release
  ...

Conflicts:
	VERSION.yml
	doc-src/content/CHANGELOG.markdown
	frameworks/blueprint/stylesheets/blueprint/_colors.scss
	frameworks/compass/stylesheets/compass/css3/_box-shadow.scss
	frameworks/compass/stylesheets/compass/css3/_font-face.scss
2010-08-28 14:07:47 -07:00
Chris Eppstein
7467463d13 That wasn't supposed to be released yet. 2010-08-28 10:55:28 -07:00
Andrew Vit
3db4760782 Fixed error: there is no opposite-position(both) 2010-08-28 10:43:17 -07:00
Chris Eppstein
b13f5ac713 Update the CHANGELOG for the 0.10.5 release 2010-08-26 23:04:31 -07:00
Chris Eppstein
a8da95d4f1 Get the imports straightend out for the new mixins. 2010-08-25 08:54:33 -07:00
Eric Meyer
d20603296c inline-block-list mixin 2010-08-11 16:35:08 -06:00
ericdfields
c899b78aed added additional html5 block-level elements per recommended reset stylesheet: http://html5doctor.com/html-5-reset-stylesheet/ 2010-08-11 00:36:57 +08:00
Chris Eppstein
d99698f67a [Compass Core] Make the logic behind the hide-text measurement more clear. no functional change. 2010-08-05 20:38:54 -07:00
Chris Eppstein
a5e39eb709 [Compass Core] Make the hide-text mixin work in opera too. Credit: Denise Jacobs. 2010-08-01 09:55:16 -07:00
Chris Eppstein
81bbea8f1b Formatting change. 2010-08-01 09:52:46 -07:00
Chris Eppstein
922fc8c1a2 [Compass Core] The has-layout mixin has been updated to emit less css.
It now uses a hacked zoom property to target ie6 and 7 only so that they
gain layout. If you prefer an approach that validates, set:

    $default-has-layout-approach: block;

and the has-layout mixin behavior will remain unchanged.
2010-07-25 11:39:11 -07:00
Chris Eppstein
0aedf01375 Reformatting some code. 2010-07-25 11:19:17 -07:00
Chris Eppstein
c02cab30bb [CSS3] Support for specifying horizontal and vertical radii for the shorthand border-radius property. 2010-07-24 00:55:09 -07:00
Eric Meyer
0bcbd2b2fd added support for spread and inset 2010-07-23 23:58:11 -07:00
Chris Eppstein
dafbf93999 [Compass Core] New content char is the best practice for the pie-clearfix now. Avoids the gap at the bottom in some browsers.
Closes GH-179
2010-07-23 20:13:16 -07:00
Eric Meyer
f6d3480685 font-face arguments deprecated, not removed 2010-07-20 01:23:59 -07:00
Eric Meyer
150000fb05 official radial gradient syntax 2010-07-20 01:23:55 -07:00
Eric Meyer
f0d80d789f official gradient syntax 2010-07-20 01:23:48 -07:00
Eric Meyer
b85c6f68f5 smiley font-face 2010-07-20 01:22:29 -07:00
Eric Meyer
732dead236 dont need to call experimental for official-only 2010-07-20 01:19:31 -07:00
Eric Meyer
63d0acc2ac no prefixes on opacity 2010-07-20 01:19:27 -07:00
Eric Meyer
f291845004 font-face arguments deprecated, not removed 2010-07-19 11:46:45 -06:00
Eric Meyer
4bd0570fee official radial gradient syntax 2010-07-18 15:52:19 -06:00
Eric Meyer
31abc64fd5 official gradient syntax 2010-07-18 15:51:01 -06:00
Eric Meyer
4db0a4f4d6 smiley font-face 2010-07-18 15:40:31 -06:00
Eric Meyer
0c4ced961b dont need to call experimental for official-only 2010-07-18 15:20:24 -06:00
Eric Meyer
8bd3a48488 no prefixes on opacity 2010-07-18 15:17:40 -06:00
Chris Eppstein
025a9243b1 http://nicewebtype.com/notes/2010/05/20/bulletproof-smiley-font-face-syntax/ 2010-07-17 23:43:53 -07:00
Eric Meyer
1b7a9e5751 added support for spread and inset 2010-07-16 16:11:26 -06:00
Stephan Kaag
389a13d05f [Blueprint] add support for input[type=email] 2010-07-11 15:02:20 -07:00
jonathanpberger
24a25b5bba [Blueprint] Extract two blueprint colors to make them configurable:
* $blueprint_background_color
* $blueprint_alt_text_color
2010-07-11 15:02:05 -07:00
Milo
a220678a5a [Compass Core] Allow horizontal lists to be floated to the right. 2010-07-09 23:55:35 -07:00
Chris Eppstein
fe056d6597 [Core] Rename the grad-opposite-position() helper to opposite-position() and expose it as part of the core library. 2010-07-09 17:53:22 -07:00
Chris Eppstein
c60cf4fda5 [Compass Core] Emit less css for inline lists with the same result. 2010-07-09 09:46:24 -07:00
Chris Eppstein
e79232a7ab [Compass Core] Add missing clearfix import to horizontal-list. 2010-07-09 09:26:44 -07:00
Chris Eppstein
048857858e [Blueprint] Use color functions instead of simple color math in the blueprint color defaults. Note: this might result in different results for those who have customized their blueprint colors. 2010-06-01 08:57:04 -07:00
Chris Eppstein
cfb5bd3a24 [Blueprint] Fix a regression in the scaffolding. 2010-06-01 08:55:36 -07:00
Chris Eppstein
05c53379f9 Merge branch 'stable'
* stable:
  [Blueprint] Add some missing imports so that these modules can be imported individually.
  [Blueprint] Added test cases for importing each blueprint module individually.
2010-06-01 01:10:18 -07:00
Chris Eppstein
3a524ba38f [Blueprint] Add some missing imports so that these modules can be imported individually. 2010-06-01 00:52:28 -07:00
Chris Eppstein
39e01c57ce Merge branch 'stable'
* stable:
  Prepare for release.
  [Blueprint] Fixed an incorrect include.
  Verify all sass files generate the correct css in the test fixtures.
  Fixed a regression in the rails installer.
  Remove a redundant, broken test
  [Compass Core] Only unquote strings when a number might be passed instead.
  [Docs] Fix some obsolete syntax that was used in the examples.
  [Docs] Update the gem bundle
  Fix some tests around listing projects.
  [Command Line] Allow another configuration file to be used when creating a new project
  [Blueprint] The basic template was missing the scaffolding.
  [Blueprint] Better descriptions of the various blueprint project templates.
  [Command Line] The compass frameworks command has nicer output now -- similar to compass help. The -q option can be used to get a simple list of frameworks.
  [Rails] Provide a wrapper method for Rails.root/RAILS_ROOT that avoids deprecation warnings and handles the case where rails is not loaded at all.
  [Docs] Fix a bug in the docs for link_icons. Closes GH-146.
  [Blueprint] Clean up some comments in the blueprint templates.
  [Command Line] Fix a bug in `compass stats` when using scss files.
  [Command Line] Respect the --dry-run option during compilation.
  Fix a bug in the  command and added a test case for that feature.
  Fix some broken documentation.

Conflicts:
	VERSION.yml
	doc-src/content/CHANGELOG.markdown
2010-05-31 23:49:50 -07:00
Chris Eppstein
ae440e74d5 [Blueprint] Fixed an incorrect include. 2010-05-31 13:49:41 -07:00
Chris Eppstein
4830f9018b [Compass Core] Only unquote strings when a number might be passed instead. 2010-05-31 11:41:42 -07:00
Chris Eppstein
97b04666ed [Blueprint] The basic template was missing the scaffolding. 2010-05-30 11:08:06 -07:00
Chris Eppstein
9719b7242e [Blueprint] Better descriptions of the various blueprint project templates. 2010-05-30 11:07:34 -07:00
Chris Eppstein
8de90c4965 [Blueprint] Clean up some comments in the blueprint templates. 2010-05-30 08:10:24 -07:00
Chris Eppstein
f060823e4f Merge branch 'stable'
* stable:
  [Compass Core] Don't suggest putting some values in quotes unecessarily, and unquote them if the user has.
  [Docs] This documentation was incorrect.
  [Docs] Some useful content from the wiki.
2010-05-16 10:01:49 -07:00
Chris Eppstein
ed35a3eb24 [Compass Core] Don't suggest putting some values in quotes unecessarily, and unquote them if the user has.
Closes GH-143.  Closes GH-141.
2010-05-16 09:58:41 -07:00
Chris Eppstein
00b437ae8d [Docs] This documentation was incorrect.
Closes GH-142.
2010-05-16 09:38:13 -07:00
Chris Eppstein
ea1389c1c8 Merge branch 'stable'
* stable:
  Bump versions for v0.10.1 release.
  Update the CHANGELOG for the v0.10.1 release.
  Fix a broken reference to the extensions tutorial. Closes GH-135.
  [Blueprint] Regression fix: automatically apply the reset if blueprint/reset is imported. Closes GH-132.
  Fix a failing test case.
  [Rails] When configuring the Sass::Plugin, don't overwrite existing template locations. Closes GH-136.
  [Command Line] Improved descriptions of the watch and init commands.
  [Rails] Improved the next steps to perform after installing compass so that it mentions registering the compass gem.
  [Rails] Fixed a reference to the old configuration file.
  Add a note to the changelog about uninstalling chriseppstein-compass
  Get rid of some dead code that was breaking Rails 3. Closes GH-137.

Conflicts:
	VERSION.yml
	doc-src/content/CHANGELOG.markdown
	frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_reset.sass
2010-05-15 00:26:20 -07:00
Chris Eppstein
2103547207 Fix a broken reference to the extensions tutorial. Closes GH-135. 2010-05-15 00:18:34 -07:00
Chris Eppstein
5a1bab4796 [Blueprint] Regression fix: automatically apply the reset if blueprint/reset is imported. Closes GH-132. 2010-05-15 00:18:34 -07:00
Chris Eppstein
0783761178 Removed the deprecated API for passing body selectors to the blueprint mixins. 2010-05-12 18:07:12 -07:00
Chris Eppstein
db200c0bba Remove deprecated imports. 2010-05-12 17:41:24 -07:00
Chris Eppstein
e26489f0c8 Dasherize the variables in the blueprint colors module. 2010-05-10 21:32:13 -07:00
Chris Eppstein
5c1e5776bd [Blueprint] Silence some deprecation warnings created by the template file. 2010-05-08 18:18:47 -07:00
Damien Wilson
6e438b1bce [Docs] Added HTML formatting for syntax highlighting in inline code examples. 2010-05-07 18:10:54 -07:00
Chris Eppstein
b66e94f4b9 Aligning code for the fun of it. 2010-05-07 17:58:22 -07:00
Chris Eppstein
d752338644 This is slightly more readable. 2010-05-07 17:58:05 -07:00
Chris Eppstein
48e6b45159 Fix a file that was incorrectly deprecated. 2010-05-07 17:57:30 -07:00
Chris Eppstein
d100cac881 [Docs] Add syntax highlighting to some code examples in the source comments. 2010-05-06 19:08:34 -07:00
Chris Eppstein
c3c0d8a1e8 [Compass Core] Rename -ellipsis to -mozilla-ellipsis-binding to be more accurate. Closes GH-126. 2010-05-04 19:11:53 -07:00
Chris Eppstein
3295db75a0 [Compass Core] Remove duplicative styles from the border-corner-radius mixin. 2010-05-03 18:52:25 -07:00
Chris Eppstein
36f4aa2911 [Compass Core] Unquote any quoted strings that are passed to the css3 module mixins. 2010-05-03 18:51:19 -07:00
Chris Eppstein
e2994eaf8f A better fix for GH-123 2010-05-03 09:48:53 -07:00
Chris Eppstein
f61b36b34c Remove obsolete comment from the compass project template. 2010-05-03 08:06:36 -07:00
Chris Eppstein
842d39ebe0 [Compass Core] Fix an IE6 bug in the min-height and min-width mixins. Closes GH-123. 2010-05-03 07:53:51 -07:00
Chris Eppstein
5f37fe48d6 Can stop working around a sass bug now. 2010-05-02 17:22:07 -07:00
Will Leinweber
b5faed9e4c [Compass Core] [CSS3] Add support for gradients on top of background images. 2010-05-02 16:33:36 -07:00
Chris Eppstein
e13026b8a0 [Docs] Update the docs for the text module 2010-05-01 23:54:30 -07:00
Chris Eppstein
3b3fcf26f1 [Compass Core] Smooth out some rough edges in the text module. 2010-05-01 23:51:20 -07:00
B Mathis
59baa051a1 Removed resetting of :focus style from Compass global-reset mixin 2010-05-01 15:06:56 -05:00
Chris Eppstein
62174e1a21 [Compass Core] Added a nth-child pseudo selector to the alternating-rows-and-columns mixin for the columns. Rows still need classes to maintain a consistent interaction across thead, tbody, and tfoot. 2010-04-30 09:39:21 -07:00
Chris Eppstein
c1be6c9362 Move the reset utilities from utilities/general/reset to reset/utilities. 2010-04-30 07:03:41 -07:00
Chris Eppstein
a4eae29f47 [Compass Core] [CSS3] Support all browsers where css3 support exists, but allow users to turn them off if they don't want to support them. 2010-04-30 05:21:07 -07:00
ltackett
47d4cc4638 Support for the experimental display: box model. 2010-04-27 01:13:52 -07:00
Thomas Reynolds
cc7ef3bf1f Support background-clip:text 2010-04-27 01:08:13 -07:00
Chris Eppstein
bd6c9950e1 Merge branch 'docs'
* docs: (56 commits)
  Turn on support for -ms in experimental properties.
  document the hide-text mixin
  Allow box shadow to be turned off by @include box-shadow(none). Closes GH-102.
  Fix a broken link to the changelog
  I guess I relied on that silly import.
  Use the gemspec the way the ruby gods intended.
  Better handling of the Compass::VERSION scheme.
  RIP RUN_CODE_RUN
  remove a doc reference to an obsolete file and add some meta descriptions.
  document some small functional changes
  fixed typo in demo header styles
  allow overflow-x on code to scroll
  example code in css-slideshows
  mixin source uses :target for css interaction
  more sensible nav markup/structure
  Update the docs for lists.
  Don't need rcov usually
  Don't display a variable description for empty comments.
  add a scroll bar for long mixin defs
  More docs on the compass utilities.
  ...

Conflicts:
	REVISION
2010-04-27 01:01:26 -07:00
Chris Eppstein
24a87640b2 Turn on support for -ms in experimental properties. 2010-04-27 01:00:54 -07:00
Chris Eppstein
225e625f1c document the hide-text mixin 2010-04-27 00:58:53 -07:00
Chris Eppstein
909fb92ad3 Allow box shadow to be turned off by @include box-shadow(none). Closes GH-102. 2010-04-27 00:44:27 -07:00
Chris Eppstein
f0c10b0a1c I guess I relied on that silly import. 2010-04-27 00:13:34 -07:00
Chris Eppstein
56b2353335 Unquote the float argument for backwards compatibility. 2010-04-26 09:57:31 -07:00
Chris Eppstein
8d5e6406fa Update the docs for lists. 2010-04-26 01:34:56 -07:00
Chris Eppstein
edd278cb2d More docs on the compass utilities. 2010-04-25 22:39:15 -07:00
Chris Eppstein
0761bef009 update the docs for compass/utilities/general/hacks 2010-04-25 19:07:06 -07:00
Chris Eppstein
4de1645c95 update the docs for compass/utilities/general/float 2010-04-25 19:06:42 -07:00
Chris Eppstein
e181ad6a05 update the docs for compass/utilities/general/clearfix 2010-04-25 19:06:14 -07:00
Chris Eppstein
26dbb68a39 [Blueprint] Fix a bug that was introduced by some earlier refactoring. 2010-04-24 23:26:01 -07:00
Chris Eppstein
8a1433b279 [Compass Core] [CSS3] Refactored the css3 modules to share a common implementation for experimental css3 properties. 2010-04-24 23:24:39 -07:00
Chris Eppstein
fe30041946 Deprecate the misc stylesheet and unobtrusive-logo mixin. 2010-04-24 16:59:06 -07:00
Chris Eppstein
bfed16a63b [Compass Core] Fixed broken import in a deprecated import. 2010-04-22 13:38:39 -07:00
Chris Eppstein
99f797127f clean up the reference documentation with new layout and after sass3 upgrade. 2010-04-22 08:30:50 -07:00
Chris Eppstein
a28a1e2646 Old habits die hard. 2010-04-20 11:16:19 -07:00
Chris Eppstein
64fe16fd0f [Blueprint] Disambiguate the right margin expression from the top margin value in the push-margins mixin. 2010-04-16 10:50:08 -07:00
Chris Eppstein
cb1916e498 This works around an scss parser bug for now 2010-04-15 22:24:13 -07:00
Chris Eppstein
0caa2d2d00 Formatting cleanup 2010-04-15 22:23:14 -07:00
Chris Eppstein
20c2c05a1d Reformat some scss -- trying to find a code formatting style that doesn't make my eyes bleed. 2010-04-13 10:04:43 -07:00
Chris Eppstein
9807b76092 [Compass Core] Use the font url location in the font face mixin too. Closes #108. 2010-04-12 03:03:43 -07:00
Chris Eppstein
28731c499a [Compass Core] import the min utility into general utilities. 2010-04-12 03:00:19 -07:00
Chris Eppstein
ec681c87a3 [Blueprint] Allow liquid grid constants to be overridden. Closes #110. 2010-04-12 02:55:47 -07:00
Chris Eppstein
09abca682c The sass bug that prevented this from being scss has been fixed. 2010-04-12 02:45:35 -07:00
Chris Eppstein
f7abcb4b98 [Blueprint] Convert to SCSS 2010-04-11 03:47:46 -07:00
Chris Eppstein
304438fbc5 Some cleanup of the translated scss files. 2010-04-11 01:56:14 -07:00
Chris Eppstein
2cb63e7f8e Convert uses of @debug to @warn 2010-04-10 23:32:42 -07:00
Chris Eppstein
c94074dac5 Convert the compass core framework to scss. 2010-04-10 23:32:37 -07:00
Chris Eppstein
fbeaa1fdff sticky footer docs and example. 2010-03-29 18:17:31 -07:00
Chris Eppstein
4aa2cc7a51 Better formatting of the gradient mixin code comments. 2010-03-29 00:05:17 -07:00
Chris Eppstein
72876a7d63 cleanup the source docs for css3/box_shadow 2010-03-28 23:09:36 -07:00
Chris Eppstein
d4e90d79aa An example for background origin. 2010-03-28 02:50:38 -07:00
Chris Eppstein
d03cb28400 Cleaned up the documentation on background clip and added an example. 2010-03-28 01:49:52 -07:00
Chris Eppstein
de5ec40a3f The Sass Parser will drop starting whitespace on single line comments so the | char can be used to work around that in the docs. 2010-03-16 18:43:13 -05:00
Chris Eppstein
1097e92ad3 Merge branch 'master' into docs
* master:
  Making sure there are no bullets in all browsers. Safari, for example, let's `list-style-image: ...` win out over `list-style-type: none`.
2010-03-16 15:29:17 -05:00
Aaron Gibralter
e03da85ba7 Making sure there are no bullets in all browsers. Safari, for example, let's list-style-image: ... win out over list-style-type: none. 2010-03-11 00:38:17 -05:00
Chris Eppstein
fd8162cedd Merge branch 'master' into docs
* master: (48 commits)
  Record current revision for release.
  Regenerated gemspec for version 0.10.0.rc1
  Release Candidate 1
  Fix a bug in 1.8.6 where readbyte is not defined.
  Record current revision for release.
  Regenerated gemspec for version 0.10.0.pre9
  Update changelog for release.
  Version bump for v0.10.pre9
  [Compass Core] Fix a ruby 1.9 bug in the image_size helper functions for jpeg images.
  Try to fix a test failure that only happens on RunCodeRun.
  [Compass Core] Silence a deprecation warning.
  Fixed a typo in the inline list utility.
  Regenerated gemspec for version 0.10.0.pre8
  Version bump to .pre8
  [Rails] Fix rails boot sequence in Rails 2.3.x environments.
  Record current revision for release.
  Regenerated gemspec for version 0.10.0.pre7
  Version Bump
  A better error message if a color stop list is not passed in.
  Fix for rgba colors with the new gradient mixins.
  ...

Conflicts:
	frameworks/compass/stylesheets/compass/css3/_gradient.sass
2010-03-06 22:41:21 -08:00
Chris Eppstein
24d51a543a Merge commit '6169ec56b31326e56f37ebeb65c6dfda9e477121'
* commit '6169ec56b31326e56f37ebeb65c6dfda9e477121':
  Fixed a typo in the inline list utility.
2010-03-06 12:52:07 -08:00
Chris Eppstein
eba35a2944 [Compass Core] Silence a deprecation warning. 2010-03-06 12:43:27 -08:00
Matt Garrett
6169ec56b3 Fixed a typo in the inline list utility. 2010-02-26 10:38:56 -06:00
Chris Eppstein
ad4a486ea1 Simpler gradient output by discarding from() and to() 2010-02-21 23:05:30 -08:00
Chris Eppstein
aef52bd57e New linear gradient mixin and support functions. Radial gradient and browser testing are still pending. 2010-02-16 01:47:27 -08:00
Chris Eppstein
6b5ffdb0d6 [Compass Core] Clear the sticky footer so that it works correctly with grid layouts. Closes GH-79. 2010-02-13 17:44:01 -08:00
Chris Eppstein
a6f8967b39 Merge commit 'cakebaker/master'
* commit 'cakebaker/master':
  Fixing typo (replacing "WARINING" with "WARNING")
2010-02-13 08:34:41 -08:00
Chris Eppstein
431762bf7c Merge commit 'sce/master'
* commit 'sce/master':
  Take margins into account in liquid grid.
2010-02-13 08:33:32 -08:00
Chris Eppstein
cd2ab04fec Merge commit 'mrajcok/master'
* commit 'mrajcok/master':
  Reversed the logic to be correct (IE6 *ignores* the !important identifier).
2010-02-13 08:32:37 -08:00
Chris Eppstein
eb6f2b5bbf Merge commit 'mrajcok/master' into docs
* commit 'mrajcok/master':
  Reversed the logic to be correct (IE6 *ignores* the !important identifier).
2010-02-13 08:31:03 -08:00
Daniel Hofstetter
fc19d5e036 Fixing typo (replacing "WARINING" with "WARNING") 2010-02-11 15:29:42 +01:00
Christoffer Eliesen
c4c9be0256 Take margins into account in liquid grid.
The previous version of liquid grid would not take margins into proper
account. With this patch the margins are a correct percentage of the
container, and adding multiple margins / columns together should add up
to just about 100% (not entirely accurate, but very close).

The math is as follows:

With the previous version, you get these numbers:
4.173% grid width * 24 columns = 100.152%, which due to rounding 'fixes'
in the template becomes exactly 100%. However, this is without any margins.
Once you add margins, you exceed 100%, rendering margins unusable. To add
to the confusion, the margins are not a percentage of the width, but instead
in 'em' units, making it very difficult to keep the entire grid from getting
beyond 100% in width once you add margins.

With this patch, you get these numbers:
(3.167% grid width + 1.042% margin) * 24 columns = 101.1016%. Since you
don't use any margin for the last column, you subtract one margin and end up
with 99.974%. Optimally this number would be 100.000%, but the 0.026% error
is difficult to remove, and an acceptable compromise in my opinion.

In summary, this patch enables margins to be used with the liquid grid,
which is the expected behaviour.
2010-02-06 14:14:30 +01:00
Cody Robbins
9a0b2f5bcd [Compass Core] Support :first-child and :last-child pseudo selectors for +horizontal-list. 2010-02-05 13:50:42 -08:00
Johan Ronsse
244bc0d944 Formatting changes only; markdown code backticks instead of <code>; newlines adjustment in -box-sizing 2010-02-01 23:47:36 +01:00
Johan Ronsse
44b8c40619 Updated documentation for CSS3 module [multi line comment]
* Wrote a description for the CSS3 module.
  * Wrote a description for every single import in the CSS3 module.
  * Wrote a description for every single mixin in the CSS3 module.
  * Updated sass files to reflect parsing through markdown in the docs.
  * Added missing inline documentation to certain files e.g. _columns.sass.
  * ! Did not modify any mixin
2010-01-31 16:59:25 +01:00
Johan Ronsse
64b8f7cab8 Added descripton for box shadow mixin and updated box-shadow sass file so it gets parsed through markdown correctly 2010-01-31 02:09:14 +01:00
Mark Rajcok
22500d4ad2 Reversed the logic to be correct (IE6 *ignores* the !important identifier).
Moved "hack" value to be the last parameter, and renamed it "ie6_value" so as to better identify which browser the hack is for.
2010-01-26 15:24:04 -07:00
Chris Eppstein
c5b2335340 documentation for the blueprint grid. 2010-01-24 16:10:29 -08:00
Chris Eppstein
92327eece7 Turn off the source documentation for some deprecation warnings. 2010-01-23 01:11:25 -08:00
Chris Eppstein
b8b9f153f7 Markdown formatting support for source documentation. 2010-01-22 18:16:25 -08:00
Chris Eppstein
4fdb4e20cd [Blueprint] Better initial starter templates for blueprint projects, depending on what approach they want to take: basic or semantic. 2010-01-21 10:20:55 -08:00
Chris Eppstein
1dbe1f6941 [Blueprint] Remove the unfinished (and of dubious value) welcome page. 2010-01-18 16:13:24 -08:00
Chris Eppstein
cac3065516 Move the frameworks directory back to the top level. There's not actually a good reason for it to be buried in the ruby source. 2010-01-18 14:58:40 -08:00
Chris Eppstein
423d8616a6 Revert "Added utility for loading web fonts using @font-face."
This reverts commit 5ea5d3d6f3.
2009-12-21 07:53:13 -08:00
Andrew Vit
5ea5d3d6f3 Added utility for loading web fonts using @font-face. 2009-12-18 11:05:08 -08:00
Chris Eppstein
6e7f658f3b Move the frameworks directory into lib/compass per gem packaging best practices. 2009-09-02 21:45:15 -07:00
Chris Eppstein
3456f993d4 Merge branch 'master' into edge
* master:
  [Blueprint] Add mixins for +prepend-top and +append-bottom and corresponding grid classes when generating the css grid classes.
  Use FSSM by Travis Tilley to monitor for filesystem changes. On mac this will use filesystem events instead of polling. Fixes an infinite looping issue when compilation errors occur.
2009-08-30 11:53:47 -07:00
Chris Eppstein
65f4cb0d50 [Blueprint] Add mixins for +prepend-top and +append-bottom and corresponding grid classes when generating the css grid classes. 2009-08-30 11:49:19 -07:00
Chris Eppstein
8fa32acf79 The extension pattern works better when using the pattern name instead of the project name for the target sass file. 2009-08-30 02:22:52 -07:00
Chris Eppstein
cb9672bd9e An extension template for helping to generate a compass extension:
compass -p extension my_ext_name

This will provide the basic structure for creating a basic compass plugin.
2009-08-29 15:14:52 -07:00
Chris Eppstein
bc27541378 New framework discovery mechanism: Compass can now load any number of
frameworks by passing a directory that contains those frameworks. Each
framework can choose to adhere to the naming convention of providing a
'stylesheets' directory and a 'templates' directory, or it can register
itself by providing a ruby file at one of the following locations:

<plugin>/compass_init.rb
<plugin>/lib/<plugin>.rb
<plugin>/<plugin>.rb

The first file found in the above order will be required. The framework
should register itself there using the Compass::Frameworks.register method.
2009-08-29 15:14:51 -07:00
Chris Eppstein
bb089384d4 Extracted YUI to it's own plugin. 2009-08-29 13:57:34 -07:00
Brian Johnson
3d67927ad6 [YUI] Update for YUI Grids 2.7.0 2009-08-29 13:41:17 -07:00
John Debs
8679a926f1 [Compass Core] Fixes to +sticky-footer mixin for IE6.
Added two rules (':height auto !important' and ':height 100%') to the !root_selector of the sticky-footer mixin so that it also works with IE6.
Tested and working with Firefox 3.5, Safari 4, Chrome 3, and IE6.
2009-08-29 13:31:42 -07:00
Gabriel Mansour
a1bb1a9691 [Compass Core] There is no longer any outline on unstyled links in the :active and :focused states. 2009-08-29 13:24:37 -07:00
Chris Eppstein
2cfc9ef1f9 [Blueprint] Make a welcome page for blueprint that works with the stylesheets to provide a complete working example. 2009-08-29 13:20:32 -07:00
Chris Eppstein
1a9156c010 [Extensions] Compass extensions can now deliver html into a compass project which can be authored in haml if they prefer. 2009-08-29 13:20:31 -07:00
Chris Eppstein
d7636bae4d [Compass Core] Use the elements_of_type() helper function to enumerate the elements of a particular display type. No functional change. 2009-08-29 13:20:30 -07:00
Eric Meyer
6870d21814 css3 and inline-block patches 2009-08-29 13:20:30 -07:00
Chris Eppstein
2eba93858b [Compass Core] Extract css3 compatibility mixins from the general module
to the new compass/utilities/css3 module. If you were explicitly importing
compass/utilities/general, compass/utilities/general/inline_block or
compass/utilities/general/opacity to access the opacity or
inline-block mixins, you'll need to update your imports.
2009-08-29 13:20:29 -07:00
Brandon Mathis
0d3e5fb301 new rounded corners mixin makes rounded corners easy (for browsers that support them) and allows rounding all corners, corners on one side, or single corners.
changed rounded corners mixin to border radius mixin, and changed the functions to match the border-radius CSS3 standard
2009-08-29 13:20:11 -07:00
Brandon Mathis
851f001756 the sprite mixin now has new functions which enable style grouping and require fewer arguments for non-default cases 2009-08-29 13:19:36 -07:00
Chris Eppstein
74141399af [Compass Core] +opaque and +transparent mixins for convenience. Built on top of the opacity mixin. 2009-08-29 13:19:35 -07:00
Brandon Mathis
31bdbe815b [Compass Core] New mixin: +opacity(amount). Provides cross-browser css opacity.
Amount should be between 0 and 1, where 0 is transparent and 1 is opaque.
2009-08-29 12:29:02 -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
24d4ff4146 [Blueprint] Make the primary blueprint mixins easier to use by allowing them to be nested when passing true as the first argument.
The old approach of passing a selector as the first argument is now deprecated in favor of a simple flag to indicate nesting or not.
2009-08-29 12:26:36 -07:00
Brandon Mathis
60ac9dba0e [Compass Core] Bug fix to sprites: fixed width and height assignments for x and y position variables 2009-08-22 08:25:39 -07:00
Chris Eppstein
b5fc33a89a [Blueprint] Fixed a bug in the default blueprint stylesheet that caused invalid body selectors to be generated. 2009-08-09 20:24:04 -07:00
Chris Eppstein
4bfcef4f37 [YUI] Fixed a bug in yui grids where the .first div wouldn't get the right styles in some rare cases due to incorrect nesting. 2009-07-21 11:32:34 -07:00
Chris Eppstein
e277ed2cd3 [Compass Core] Fixed a bug in alternating_rows_and_columns. Improper nesting caused some styles to be improperly rendered. 2009-07-21 11:32:34 -07:00
Chris Eppstein
4d51dead3a Merge commit 'gravis/master'
* commit 'gravis/master':
  added note for IE partial. refs #28
2009-07-09 12:53:27 -07:00
Chris Eppstein
d2b1370c80 [Blueprint] Fixed a bug in the calculations for the +colborder mixin. Closes GH-25. 2009-07-09 12:49:36 -07:00
gravis
8684966be1 added note for IE partial. refs #28 2009-07-09 21:46:09 +02: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
tdreyno
a5393bbb7c Make colruler color customizable 2009-07-04 16:01:44 -07:00
Chris Eppstein
11b6ea14c3 [Blueprint] A more complete starting blueprint configuration for new projects that follows compass best practices instead of matching blueprint css exactly. 2009-06-21 02:31:25 -07:00
tdreyno
b84dd3031b [Blueprint] Make sizing and borders configurable in forms. 2009-06-21 00:00:01 -07:00
tdreyno
0a0a14aab5 [Blueprint] Allow variable blueprint border widths and colors. 2009-06-21 00:00:01 -07:00
tdreyno
8b5379e864 [Blueprint] Comments in the fancy type module should be silent. 2009-06-20 23:59:56 -07:00
tdreyno
1f21d63091 [Compass Core] Initial css-sprite implementation. 2009-06-20 22:34:38 -07:00
Chris Eppstein
4533a00085 [Compass Core] More clear comments describing how to use the +replace-text mixin. Closes #16. 2009-06-20 21:27:47 -07:00
Chris Eppstein
27b821617a [Compass Core] +reset-display mixin and Sass Extensions for appending selectors and enumerating the elements for a given display type. 2009-06-20 18:06:47 -07:00
Chris Eppstein
dc982841cf [Compass Core] Added a +reset-html5 mixin that can be used to reset new HTML5 elements and add default rendering for them in browsers that do not support them.
Credit: http://jacobrask.net/blog/2009/html5-css-reset/
2009-06-20 17:22:22 -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
Enrico Bianco
63075f82db [Blueprint] Upgrade to 0.9: Explicitly define image interpolation for IE so that images aren't jagged when resizing 2009-06-20 17:08:30 -07:00
Enrico Bianco
77f6e02c0e [Blueprint] Upgrade to 0.9: Make IE conditional comments more configurable in project manifests 2009-06-20 15:52:36 -07:00
Enrico Bianco
56c745b939 [Blueprint] Upgrade to 0.9: Styles and mixins for inline forms, including fixes for IE6. 2009-06-20 15:52:36 -07:00
Enrico Bianco
4b33fae5e5 [Blueprint] Upgrade to 0.9: Fixed math for blueprint colborder 2009-06-20 15:52:36 -07:00
Enrico Bianco
45af89d4c7 [Blueprint] Upgrade to 0.9: Removed body margins from blueprint scaffolding by default.
The old body styles can be reinstated by mixing +blueprint-scaffolding-body into your body selector(s).
2009-06-20 15:52:36 -07:00
Bjørn Arild Mæland
be5c0ff673 Added missing syntax to _tag_cloud.sass, fixes invalid CSS for :line-height
Signed-off-by: Chris Eppstein <chris@eppsteins.net>
2009-06-13 05:01:35 +08:00
Gustavo Delfino
f033ee2ec0 Fixed a bug in +horizontal-list mixin 2009-05-28 18:47:47 -07:00
Chris Eppstein
faadde2379 [Compass Core] Extracted two new mixins from +horizontal-list. Closes GH-9.
The new +horizontal-list-container and +horizontal-list-item mixins can
be used to build your horizontal list when you need more control over
the selectors (E.g. when working with nested lists).
2009-05-23 09:15:33 -07:00
Chris Eppstein
5acb8a0520 [Blueprint] Updated a broken link in the comments. 2009-05-07 11:59:46 -07:00
Chris Eppstein
da4c73d676 [Compass Core] Make all compass core library mixins use the image_url function where appropriate. 2009-04-29 08:27:18 -07:00
Chris Eppstein
3f16225556 [Blueprint] Split the push and pull mixins into sub-mixins that separate the common styles from the ones that vary.
Added the following mixins:
  +push-base
  +push-margins
  +pull-base
  +pull-margins

The generated css when using presentational class names will be smaller as a result.
2009-04-19 09:44:10 -07:00
Chris Eppstein
5d4a885671 [YUI] Added Yahoo's version of the css reset. 2009-04-19 09:44:10 -07:00
ltackett
baa734df25 Fixed typo in credits. 2009-04-19 09:43:58 -07:00
Chris Eppstein
7a83d0d71e [Blueprint] Update liquid plugin to have a span mixin that matches elsewhere. 2009-04-19 09:43:58 -07:00
Chris Eppstein
9686852244 Convert the debug module to use the new image_url sass function. 2009-04-06 00:36:33 -07:00
Chris Eppstein
c36f63fd92 Incorporate Blueprint 0.8 grid changes, make the generated grid more closely match Blueprint's by adding an enumerate(prefix, startindex, endindex) sass function that generates a list of enumerated selectors. 2009-04-06 00:00:44 -07:00