Commit Graph

156 Commits

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