Commit Graph

269 Commits

Author SHA1 Message Date
Chris Eppstein
c8daf8a440 Versioned modules was a bad idea. 2010-11-22 00:28:55 -08:00
Chris Eppstein
b9c68bcc8c No side-effects when normalizing color stops for webkit 2010-11-21 15:59:37 -08:00
Chris Eppstein
ce7bbd0535 fix test for small change to the pie module. 2010-11-21 15:59:37 -08:00
Irina Dumitrascu
15a3ede491 Gradients - fix Opera's bug on gradient + border
* This fixes Opera's gradient background bug when the container has border.
It is still displayed wrong as the gradient is repeated towards the end.
* Firefox and Webkit ignore background-size
* IE9 displays correctly
2010-11-20 09:22:39 -08:00
Chris Eppstein
928bf675c2 CSS3 PIE module. 2010-11-20 08:31:38 -08:00
Chris Eppstein
b43ba6bfe0 Numerous small changes to the transform module. 2010-11-15 17:30:00 -08:00
Chris Eppstein
934df798a8 Use some of the new compass helpers to clean up this code. 2010-11-15 03:55:09 -08:00
Chris Eppstein
c4de9a3a85 Deprecate the radial-gradient mixin, linear-gradient mixin, and add
deprecation notices to the changelog.
2010-11-15 03:55:09 -08:00
Chris Eppstein
ca7563e3ba Better argument names for the columns module, tests for the columns module, accept space separated args for the column-rule mixin. 2010-11-15 03:52:33 -08:00
Chris Eppstein
1ac8e9e24d Handle gradients with those crazy extra arguments in them. 2010-11-15 03:52:32 -08:00
Chris Eppstein
2de6f7c8d3 Change the legacy gradient mixins to use the new background-image mixin. 2010-11-15 03:52:32 -08:00
Chris Eppstein
ae23274dcf Gradients in content too 2010-11-15 03:52:32 -08:00
Chris Eppstein
ecbe70973b Only emit extra property values for list images when required. 2010-11-15 03:52:32 -08:00
Chris Eppstein
6319f126fd Don't need to slice this list up afterall. 2010-11-15 03:52:32 -08:00
Chris Eppstein
efe3e148b1 Gradient support for list-style-image. 2010-11-15 03:52:32 -08:00
Chris Eppstein
d035acf1b7 Trim some whitespace from the svg xml -- saves about 12 bytes from the output per gradient. 2010-11-15 03:52:32 -08:00
Chris Eppstein
e4a5300b06 [CSS3] Support for the border-image property. 2010-11-15 03:52:32 -08:00
Chris Eppstein
e2137814df handle missing gradient arguments. 2010-11-15 03:52:31 -08:00
Chris Eppstein
9aea35738d New background image mixin with gradient support and up to 10 images. 2010-11-15 03:52:31 -08:00
Chris Eppstein
1fe22d7257 less unquotes & underscores, more dashes 2010-11-15 03:52:31 -08:00
Chris Eppstein
6204491f3d Gradient mixin for IE6-8 using filters, only does simple linear gradients and must be applied seperately from the linear-gradient mixin. Closes GH-183. 2010-11-15 03:52:31 -08:00
Chris Eppstein
3a54b022ea This is maddening. 2010-11-15 03:52:30 -08:00
Chris Eppstein
dabdaecee3 A new function: if() 2010-11-15 03:52:30 -08:00
Irina Dumitrascu
55f490cc5e Opt-in SVG support for gradients (linear & radial) 2010-11-15 03:52:30 -08:00
Chris Eppstein
46d399c044 fucking charsets. how do they work. 2010-11-12 17:01:22 -08:00
Steve Wong
a82a5938b6 New layout mixins for absolute positioning:
* stretch
* stretch-x
* stretch-y
2010-11-12 16:07:18 -08:00
Chris Eppstein
463301e983 Added trigonometry functions for fun and profit.
Closes GH-201.
2010-11-12 15:38:39 -08:00
Chris Eppstein
864780969d Port of blueprint commit 8ae74e6b2216d1804d515cd9914d1b752b09c3e3
Author: Christian Montoya <sirokai@gmail.com>
Date:   Wed Sep 29 16:51:40 2010 -0400

    Fixed select bug in Safari
2010-11-12 11:30:45 -08:00
Chris Eppstein
e35ebb8046 Port of blueprint commit 5b455fed7c044a97a2e72fd483887c3a9e526924
Author: Christian Montoya <sirokai@gmail.com>
Date:   Wed Sep 29 16:43:55 2010 -0400

    Fixed IE label alignment issue
2010-11-12 11:04:44 -08:00
Chris Eppstein
386910ea6c Port of blueprint commit 889b8e51abaaba47ba8bda2d63450859ac9c725f
Author: Christian Montoya <sirokai@gmail.com>
Date:   Wed Sep 29 15:57:48 2010 -0400

    Added .alert as synonym for .error
2010-11-12 11:01:41 -08:00
Chris Eppstein
b57e7cbd8b Port of blueprint commits:
commit eebd6d7796459762841591fc11dc68d218acc5eb
Author: Christian Montoya <sirokai@gmail.com>
Date:   Tue Sep 28 14:30:35 2010 -0400

    Fixed legend/fieldset bug in IE6-8

commit 8fb04b6d8c585ac29cc80665c6a2d520ed1aa28f
Author: Christian Montoya <sirokai@gmail.com>
Date:   Fri Sep 17 13:33:30 2010 -0400

    Fixing fieldset padding for IE 6 & 7
2010-11-12 10:57:42 -08:00
Chris Eppstein
3bee9df60a With a few minor deviations this is a port of blueprint commits:
commit 7522a25ab641264da4aebdc3e78cb2c5b253c939
Author: Christian Montoya <sirokai@gmail.com>
Date:   Fri Sep 17 11:52:34 2010 -0400

    Fixed lighthouse bugs, updated tests/index.html

commit 5459eddd7b2953a6b0b6d10e97d056019762874a
Author: Christian Montoya <sirokai@gmail.com>
Date:   Wed Sep 29 15:53:24 2010 -0400

    Fix for conflict between .right and .column/.span-X

Deviations:
I think it's incorrect to apply zebra striping to all tables. So
instead, you must opt in by applying the striped class to a table.
2010-11-12 10:56:52 -08:00
Chris Eppstein
74bcd9ca5c Port of blueprint commit 4b349743801812ce4cdb34f57d5e2680ac9e0dac
Author: Christian Montoya <sirokai@gmail.com>
Date:   Fri Sep 17 02:15:24 2010 -0400

    Fixing form alignment
2010-11-12 10:29:41 -08:00
Chris Eppstein
5a4b469ca8 Port of blueprint commit:
commit 6a5e19715401f54d574f5a111a6e5f6bd6439301
Author: Christian Montoya <sirokai@gmail.com>
Date:   Wed Sep 15 12:26:30 2010 -0400

    fixed push classes, last of Franz's fixes
2010-11-12 10:18:11 -08:00
Chris Eppstein
bb2745d7a5 Port of blueprint commit:
commit a6f9b2d85fe31e30e6336835f4a3d5505892a595
Author: Christian Montoya <sirokai@gmail.com>
Date:   Tue Sep 14 20:50:56 2010 -0400

    Fixed list padding
2010-11-12 10:14:47 -08:00
Chris Eppstein
31c133c961 Port of blueprint commit:
commit 29a8d150c7e993c5379bf974ff75da9388ff1f37
Author: Christian Montoya <sirokai@gmail.com>
Date:   Tue Sep 14 17:10:53 2010 -0400

    Fixing reset.css, preventing table cell floating
2010-11-12 10:08:51 -08:00
Chris Eppstein
20587214dc Port of blueprint commit:
commit 1b90737a8ded9ffb2f12806101c7a341b18727ac
Author: Christian Montoya <sirokai@gmail.com>
Date:   Tue Sep 14 16:56:43 2010 -0400

    Finally finalized link colors
2010-11-12 10:06:00 -08:00
Chris Eppstein
a7977f4d63 Port of the following blueprint commit:
commit 1adea984cbe7d30a529713f9e0ae8bd26fd88272
Author: Christian Montoya <sirokai@gmail.com>
Date:   Wed Sep 1 16:54:35 2010 -0400

    Adding new changes for link colors and test files
2010-11-12 09:54:44 -08:00
Chris Eppstein
3f4d339432 Port of blueprint commit:
commit 50d160b713f119627c7beaebd35b751bc26c5c0a
Author: Joshua Clayton <jclayton@thoughtbot.com>
Date:   Sun Jan 10 10:37:08 2010 -0500

    Support HTML5

    This includes removing the div scope on grid classes (span-#),
applying
    the reset to core HTML5 elements, and explicitly defining the rule
    'display: block' for those elements.
2010-11-12 09:07:32 -08:00
Chris Eppstein
a05e1ee7c0 Update for some small changes to the inline block mixin 2010-11-12 09:05:29 -08:00
Chris Eppstein
b305ab049a Some updates from haml with respect to @charset handling. 2010-11-12 09:00:22 -08:00
Chris Eppstein
e50dc8054e Fix broken test 2010-11-12 08:51:11 -08:00
Chris Eppstein
f76b8bde17 Add html5 elements to the elements-of-type() helper 2010-11-12 08:50:21 -08:00
Chris Eppstein
b07f303d9b Merge branch 'stable'
* stable: (36 commits)
  Tweak the changelog.
  [CSS3] The box-shadow $spread value now defaults to using the browser default instead of 0.
  update the lockfile
  some todos
  Move the contributing guide to the tutorials section.
  add on-page anchors to the command line reference page.
  Better docs on the grid image command.
  Move the tutorials to the main nav... I don't think most people see it.
  Don't set the display in the box-flex mixin. This makes nested flex boxes annoying. Closes GH-207
  Add a note about the colorization change.
  Add a note about the compass validator
  Only colorize the action when logging results.
  Update to use the new compass validator during development.
  Fix broken test cases.
  Support true in addition to the inset keyword for the box-shadow mixin. Closes GH-206
  IE8 compat for :last-child selector
  Make the compass configuration file more self documenting by adding comments for preferred_syntax, output_style, and line_comments.
  Pass --no-line-comments to disable line comments.
  A little less noise during installation.
  Change the default Sass directory in standalone projects from src to sass. Closes GH-203
  ...

Conflicts:
	TODO.md
	VERSION.yml
	doc-src/content/CHANGELOG.markdown
	features/command_line.feature
	features/step_definitions/command_line_steps.rb
	lib/compass/commands/write_configuration.rb
2010-11-11 21:45:07 -08:00
Chris Eppstein
cd6ce54515 adjust & scale lightness and saturation 2010-11-11 21:30:59 -08:00
Chris Eppstein
5dea2be6ac Don't set the display in the box-flex mixin. This makes nested flex boxes annoying. Closes GH-207 2010-10-31 00:56:57 -07:00
Chris Eppstein
f3fb895a32 Fix broken test cases. 2010-10-30 21:59:38 -07:00
Chris Eppstein
a40fce8af1 Bug fix: In webkit, when the last gradient color stop was a percent less than 100%, the
intermediate values were being scaled to that value. Closes GH-118.
2010-10-30 16:45:25 -07:00
Chris Eppstein
f274ec9f1e fix failing test 2010-10-14 21:28:51 -07:00
Chris Eppstein
8a59e34ec8 Merge branch 'stable'
* stable:
  Fix broken test.
  tests for padding free horizontal list.
  Update tests for charset changes.
  Fix test failure in ruby 1.9.2
  fix some gem issues
  Option for horizontal-list to skip padding.
  rake examples was getting a non-existent branch. Default to master.
  update changelog
  Make it easier to disable the asset cache buster.
  Turns out that IE6 & 7 don't support this.
  Fixed typo.
  HTML5 reset includes box-model reset for newer browsers.
  Added @charset declaration to force UTF-8 encoding on systems with different default encodings
  Some doc modifications.

Conflicts:
	Gemfile
	doc-src/content/CHANGELOG.markdown
	lib/compass/app_integration/rails/installer.rb
2010-10-11 02:18:26 -07:00
Chris Eppstein
8998dddbf8 tests for padding free horizontal list. 2010-10-11 01:59:45 -07:00
Chris Eppstein
11b36a3831 Update tests for charset changes. 2010-10-11 01:58:20 -07:00
Chris Eppstein
03ebd5dd98 Fix test failure in ruby 1.9.2 2010-10-11 01:51:53 -07:00
Chris Eppstein
0a07211286 fix some gem issues 2010-10-11 01:51:19 -07: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
13055f4731 Gemfiles for testing and a rails test helper that works for both rails 2 and rails 3. 2010-08-28 13:58:08 -07:00
Eric Meyer
64a5527ecf inline-block-list tests 2010-08-11 17:18:45 -06:00
Chris Eppstein
87b1d72885 Test case for fonts 2010-08-05 21:18:34 -07:00
Chris Eppstein
7d7720ae53 fix test failures due to has-layout change. 2010-08-01 11:18:38 -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
06ab3d4b41 [CSS3] if a root relative url is passed to image-url, still find the file and do the normal processing. 2010-07-24 01:34:14 -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
Chris Eppstein
ed75525b2a Update tests for gradient changes. 2010-07-23 20:09:42 -07:00
Chris Eppstein
327f542acf Work around test failures due to timestamp changes. 2010-07-11 15:02:30 -07:00
Stephan Kaag
389a13d05f [Blueprint] add support for input[type=email] 2010-07-11 15:02:20 -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
c60cf4fda5 [Compass Core] Emit less css for inline lists with the same result. 2010-07-09 09:46:24 -07:00
Chris Eppstein
31fc7015d1 test case for lists. 2010-07-09 09:43:59 -07:00
Chris Eppstein
3367f18d78 Merge branch 'stable'
* stable:
  [Tests] Add a test case for the blueprint-scaffolding-body mixin.
  [Tests] Don't rely on file timestamps for test fixtures.
2010-06-01 08:52:40 -07:00
Chris Eppstein
7350e7d6e0 [Tests] Add a test case for the blueprint-scaffolding-body mixin. 2010-06-01 08:52:19 -07:00
Chris Eppstein
e0fce3386c [Tests] Don't rely on file timestamps for test fixtures. 2010-06-01 08:52:12 -07:00
Chris Eppstein
8f97eb0460 [Tests] Handle the new versioning scheme in the unit tests. 2010-06-01 08:31:19 -07:00
Chris Eppstein
af47d987a5 [Blueprint] Added test cases for importing each blueprint module individually. 2010-06-01 00:51:39 -07:00
Chris Eppstein
7639223dc3 Verify all sass files generate the correct css in the test fixtures. 2010-05-31 13:48:25 -07:00
Chris Eppstein
a7b6ae0d50 Fixed a regression in the rails installer. 2010-05-31 13:12:05 -07:00
Chris Eppstein
10804a24af Remove a redundant, broken test 2010-05-31 13:07:07 -07:00
Chris Eppstein
f3d3a66151 [Command Line] Fix a bug in compass stats when using scss files. 2010-05-30 08:10:07 -07:00
Chris Eppstein
b550613700 Fix some failing test cases. 2010-05-08 23:53:34 -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
c1be6c9362 Move the reset utilities from utilities/general/reset to reset/utilities. 2010-04-30 07:03:41 -07:00
ltackett
47d4cc4638 Support for the experimental display: box model. 2010-04-27 01:13:52 -07:00
Chris Eppstein
f4169e45fa Fix a failing test case. 2010-04-24 23:26:24 -07:00
Chris Eppstein
ae6bb46f12 [Compass Core] New function called headers() that generates header selectors. 2010-04-13 10:02:55 -07:00
Chris Eppstein
0b994f3832 [Compass Core] Fix a bug in the enumerate() function that was introduced during upgrade to sass 3. Added a test case that would have caught the regression. 2010-04-13 01:06:56 -07:00
Chris Eppstein
5e680ad27b Fix broken tests. 2010-04-11 21:19:22 -07:00
Chris Eppstein
385ae3db82 upgrade test fixtures to sass 3 syntax 2010-04-11 03:47:50 -07:00
Chris Eppstein
c94074dac5 Convert the compass core framework to scss. 2010-04-10 23:32:37 -07:00
Chris Eppstein
bf34ddb0dd Allow hidden frameworks. 2010-04-07 09:01:58 -07:00
Chris Eppstein
2baaffd013 Fix for rgba colors with the new gradient mixins. 2010-02-23 01:41:41 -08:00
Chris Eppstein
0a3947d320 Add tests, fix some bugs in the image_size helpers, dropped support for bmp because it was broken. 2010-02-22 00:15:16 -08:00
Chris Eppstein
0c593e2c25 Merge commit 'merbjedi/master'
* commit 'merbjedi/master':
  Adding Pathname support to compass configs
  Adding PathName support for add_project_configuration
  Separating out Rails2 actionpack integration logic
2010-02-21 23:12:17 -08:00
Chris Eppstein
ad4a486ea1 Simpler gradient output by discarding from() and to() 2010-02-21 23:05:30 -08:00
Jacques Crocker
5fc52baa02 Adding Pathname support to compass configs 2010-02-20 13:06:29 -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
d37d63cce3 Make these damn tests pass in ruby 1.9. Evidently, you have to read from $stdin explicitly. 2010-01-18 12:34:37 -08:00
Chris Eppstein
5078d0a0a9 [Configuration] Strip trailing slash and directory separtors from directory and path configuration variables.
Closes GH-77.
2010-01-10 12:27:47 -08:00
Richard Wöber
b43223b637 removed RMagic dependecy 2009-12-30 19:38:41 +01:00
Chris Eppstein
b18573f813 Fix failing unit test. 2009-11-30 22:49:29 -08:00
Chris Eppstein
4f9faef76f Don't use line comments in tests, because they change from system to system. 2009-11-29 20:31:10 -08:00
Chris Eppstein
4b68a64ea9 Pretty color output for the compass logger. 2009-11-29 20:18:25 -08:00
Chris Eppstein
e359db1a77 Fix some configuration defaults. 2009-11-29 20:18:09 -08:00
Chris Eppstein
070f39c6b7 Added support for a fonts directory. This is where font files are kept
and should be accessible to the webserver. By default the fonts directory
is the "fonts" subdirectory of the css directory but another location
can be set via the fonts_dir and http_fonts_dir configuration options.
2009-11-27 17:15:07 -08:00
Chris Eppstein
86b78ff401 Fix test failure. 2009-11-24 10:36:51 -08:00
Chris Eppstein
9b8830b891 [Tests] Process expected result files thru erb to account for more transient behaviors across different systems. 2009-11-24 08:29:02 -08:00
Chris Eppstein
f312a24012 fix broken test. 2009-11-24 08:06:20 -08:00
Chris Eppstein
f7aa26c58e Add a test case for relative asset handling. 2009-11-21 13:29:16 -08:00
Chris Eppstein
b69138059a [Blueprint] Moved the blueprint/modules/*.sass files to blueprint/*.sass. Old imports are still supported but are deprecated. 2009-11-21 13:19:18 -08:00
Chris Eppstein
bdd1e2de33 Make the tests pass in ruby 1.9 2009-11-19 02:26:35 -08:00
Chris Eppstein
b0637be654 Fix some test errors that occur when gems are missing. 2009-10-30 08:19:44 -07:00
Chris Eppstein
149978b4c9 A helper function for capturing the output of a pipe. 2009-10-26 09:24:38 -07:00
Chris Eppstein
3a763d1e91 Fix test failure after fixing the incorrect 'img a' selector 2009-10-25 20:18:47 -07:00
Chris Eppstein
217c522a92 test scenario for the rails project initialization. 2009-10-25 20:15:31 -07:00
Chris Eppstein
0e244f21c5 Oh look, there's the ruby call I was looking for (exit!) 2009-10-25 20:13:28 -07:00
Chris Eppstein
853e97f2e4 [Command Line] Ability to create a bare project with no stylesheets provided. 2009-10-22 09:46:54 -07:00
Chris Eppstein
f6b138062f Setup Cucumber tests and wrote the first scenario for the command line. 2009-10-16 00:57:34 -07:00
Chris Eppstein
4cc569586b Restructure the existing command line code to allow for the new sub-command based CLI. 2009-09-29 18:35:24 -07:00
Chris Eppstein
e744c1e0db Convert the compass core framework to css-style property syntax. 2009-09-28 21:52:49 -07:00
Chris Eppstein
b13fd43a2e Require relative to the load path instead of using the more convoluted approach of File.join(File.dirname(__FILE__), ...).
Also, don't ever muck with the load paths or rubygems without first
trying to require the library without doing so.
2009-09-02 21:45:08 -07:00
Chris Eppstein
cb45b6d438 Generalized application framework integration. There are three that ship with compass: Merb, Rails, and StandAlone.
All application specific behavior is now centralized within the app integration modules.
Plugins can now provide app integration using the --app command line option and by adding the appropriate classes to the compass module tree.
2009-09-01 20:20:23 -07:00
Chris Eppstein
d5147591e8 Fixed some broken tests after pulling in changesets. 2009-08-29 15:14:14 -07:00
Chris Eppstein
373ac11329 Removes some tests about YUI. 2009-08-29 14:52:30 -07:00
Chris Eppstein
f59ca512ce Refactor of the internal datastructures used to access project
configuration. Configuration is now a singly linked list of configuration objects
that inherit values and defaults from the next configuration instance.
All instances hold a reference to the top of the configuration chain.

There is now a consistent API for reading configuration property values:

                <attr>: Reads the fully-resolved attribute after taking
                        configuration inheritance and defaults into account.
            raw_<attr>: reads attribute from a configuration object without
                        inheritance or defaults.
   default_for(<attr>): reads the default value for an attribute
    default_for_<attr>: specifies the default value for an attribute.
<attr>_without_default: reads the inherited attribute without applying defaults.
    comment_for_<attr>: Specifies a comment that will be emitted above the
                        property when serializing the configuration to a file.

Additionally, method_missing and respond_to both work down the
configuration chain, so any method that is added to a configuration
instance, can be accessed from the top level.

The distinction between default and explicitly set values allows compass
to more correctly manage the serialization of attributes when creating
configuration files for projects.

The compass configuration can still be accessed via
Compass.configuration, however, the configuration object is no longer a
singleton. This means that you can build several configuration chains
to track several projects at once. This should ease the use of compass
in other frameworks and plugins that want to use compass internally.
2009-08-29 13:20:32 -07:00
Chris Eppstein
7d47649248 Fix build failure in the RunCodeRun environment. 2009-08-22 08:25:39 -07:00
Chris Eppstein
ff5c850014 [Compass Core] A new helper function stylesheet_url(path) can now be used to refer to assets that are relative to the css directory. 2009-07-06 07:18:25 -07:00
Chris Eppstein
6555ab3952 [Configuration] A more logical and consistent approach to http path locations. 2009-07-06 07:18:25 -07:00
Chris Eppstein
956c437fe9 [Configuration] [Command Line] Whether to generate relative links to assets is now controlled by a separate configuration flag and can be set via a command-line switch. 2009-07-06 07:18:25 -07:00
Chris Eppstein
5a015b3824 [Sass Extensions] The inline_image() function can now be used to generate a data url that embeds the image data in the generated css file.
This function works like image_url() in that it expects the image to be a path relative to the images directory.

There are clear advantages and disadvantages to this approach.
See http://en.wikipedia.org/wiki/Data_URI_scheme for more details.

NOTE: Neither IE6 nor IE7 support data urls.
Using this approach with large images is discouraged.
2009-06-28 12:29:19 -07:00
Chris Eppstein
802bca6174 [Configuration] Allow additional sass options to be specified in the compass configuration using the sass_options property. 2009-06-27 13:05:30 -07:00
Chris Eppstein
047be06a0a [Configuration] Allow additional import paths to be declared within the compass configuration. 2009-06-27 12:15:28 -07:00
Chris Eppstein
ec6c12092e Test that serialization of configuration fails when using blocks. 2009-06-27 11:28:16 -07:00
Chris Eppstein
ef47f3dd9d [Sass Extensions] Allow the asset host and cache busting strategies to be defined as part of the compass configuration. Closes #20. 2009-06-26 12:23:43 -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
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
Chris Eppstein
998168160b [Rails] image_url() now integrates with the rails asset handling code when stylesheets are generated within the rails container.
This causes your rails configuration for cache busting and asset hosts
to be picked up when generating your stylesheets. Unfortunately, all
that code runs within the context of a controller, so the stylesheets
have to be generated during first request to use this functionality.
2009-06-20 12:29:31 -07:00
Chris Eppstein
ccc2823f00 [Unit Tests] More complex rails generator helper method, and a more simple one. 2009-06-20 12:29:30 -07:00
Chris Eppstein
1beab7853a [Unit Tests] Allow the wait time to be configured as an option, default to less time. 2009-06-20 12:29:30 -07:00
Chris Eppstein
8a7c92a40d [Unit Tests] Extracted rails tests to their own test suite. 2009-06-20 12:29:30 -07:00
Chris Eppstein
2b3b781c33 [Examples] Refactor the module and file loading for Sass Extensions and application integration. Fixed broken unit tests. 2009-06-20 12:29:14 -07:00
Chris Eppstein
a2462db334 Need to reset the configuration before each configuration test case. 2009-05-08 08:11:42 -07:00
Chris Eppstein
d4aa36f0f0 Fix some failing tests and refactor the tests to make better use of new compass facilities that didn't exist when the tests were first written. 2009-05-08 08:09:43 -07:00
Chris Eppstein
9a9b0b3d43 Update unit tests to work with the new timestamp checking support for the compass compiler. 2009-05-07 12:29:06 -07:00
Chris Eppstein
b7f38e40f7 Fixed some broken unit tests due to internal Sass API change. 2009-05-07 12:04:47 -07:00
Chris Eppstein
70086c880b Fall back to normal loading if the haml-edge gem isn't found. 2009-05-07 10:24:32 -07:00
Sean Schofield
84f657027a Compass now depends on the haml-edge gem instead of haml. 2009-05-06 20:14:31 -04:00
Chris Eppstein
559b981015 All commands must implement execute now. 2009-04-07 00:22:22 -07:00
Chris Eppstein
1170d324a7 Fix failing test cases. 2009-04-07 00:22:21 -07:00
Chris Eppstein
c040c1d2d9 Fix some test failures. 2009-04-02 22:53:42 -07:00
Chris Eppstein
a711197b2a Fix broken test fixtures with new, better css output from sass. 2009-04-01 17:22:51 -07:00
Chris Eppstein
af6f16d4b8 Eric Meyer's reset uses a line-height value of 1. Blueprint uses 1.5 and
YUI doesn't even consider it part of the reset. With so much
disagreement, I decided to make the compass reset agnostic and let
individual frameworks decide what the body line-height ought to be.
2009-02-21 00:15:24 -08:00