Commit Graph

268 Commits

Author SHA1 Message Date
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