Commit Graph

1627 Commits

Author SHA1 Message Date
Chris Eppstein
a0036ec0f1 remove some blank lines. 2009-08-29 15:14:51 -07:00
Chris Eppstein
d5147591e8 Fixed some broken tests after pulling in changesets. 2009-08-29 15:14:14 -07:00
Chris Eppstein
5d8e8cae02 Fixed bug related to how the project_type was defaulted. 2009-08-29 15:13:51 -07:00
Chris Eppstein
373ac11329 Removes some tests about YUI. 2009-08-29 14:52:30 -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
379118cb1e Don't set the project type explicitly, instead default it to :stand_alone via the configuration object. 2009-08-29 13:20:32 -07:00
Chris Eppstein
dd867d668a Use the http_stylesheets_path instead of hard coding. 2009-08-29 13:20:32 -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
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
ac264606c8 DRY up the loading of the installer modules. 2009-08-29 13:20:32 -07:00
Chris Eppstein
1450f39d8c Renamed the configuration helper method root_relative to http_root_relative for consistency. 2009-08-29 13:20:32 -07:00
Chris Eppstein
b7ba05f7c1 [Extensions] Compass extensions can now process the content they deliver through ERB. 2009-08-29 13:20:32 -07:00
Chris Eppstein
c9454190e7 [Compass Core] Fixed the append_selector function to allow comma-delimited selectors for both arguments instead of just the first. 2009-08-29 13:20:31 -07:00
Chris Eppstein
f27e184c7f [Core] The compass configuration class is no longer a singleton. This allows other projects to manage multiple compass projects by creating multiple configurations within the same ruby process. 2009-08-29 13:20:31 -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
f8834532ce Added missing class in the semantic blueprint example. 2009-08-29 13:20:31 -07:00
Jacques Crocker
73158b4c3e #36 Retain existing Merb::Plugins.config[:sass][:template_location] settings when setting Sass::Plugin.options[:template_location] with Compass defined paths 2009-08-29 13:20:31 -07:00
Jacques Crocker
4ffa08cc42 Fixing Merb Integration (use Merb::Plugins.config instead of Merb::Config) 2009-08-29 13:20:31 -07:00
Chris Eppstein
3681187e6c Just do a simple require for sass, haml-edge will have to be loaded by the user explicitly if they want that.
Fall back to loading rubygems to load sass if it cannot be loaded.
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
48c7d45c30 [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-08-29 13:19:36 -07:00
Chris Eppstein
bbe8366350 [Configuration] A more logical and consistent approach to http path locations. 2009-08-29 13:19:36 -07:00
Chris Eppstein
390674ba83 [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-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
Chris Eppstein
4abb59e98a Set the edge version. 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
Chris Eppstein
d40f72acbb Try to trigger a build. 2009-08-27 20:08:06 -07:00
Chris Eppstein
e300292828 Regenerated gemspec for version 0.8.12 2009-08-22 08:39:07 -07:00
Chris Eppstein
a6679da7dc Record current revision for release. 2009-08-22 08:39:06 -07:00
Chris Eppstein
ef49c8b2a6 Get the changelog version right. 2009-08-22 08:37:37 -07:00
Chris Eppstein
6d6573a972 Version bump to 0.8.12 2009-08-22 08:36:07 -07:00
Chris Eppstein
8f45eaabe9 Merge branch 'temp2'
* temp2:
  Record current revision for release.
  Updated the CHANGELOG for the 0.8.11 release.
  Version bump to 0.8.11
  [Compass Core] Bug fix to sprites: fixed width and height assignments for x and y position variables
  Fix build failure in the RunCodeRun environment.
  Ruby 1.9.1 fix: binding for parse_string
  [Rails] [Closes #32] Don't suggest creating a stylesheet link to partials.
2009-08-22 08:34:10 -07:00
Chris Eppstein
617782b7d2 Regenerated gemspec for version 0.8.11 2009-08-22 08:32:15 -07:00
Chris Eppstein
a4c656b82e Record current revision for release. 2009-08-22 08:32:15 -07:00
Chris Eppstein
fbda994479 Updated the CHANGELOG for the 0.8.11 release. 2009-08-22 08:31:56 -07:00
Chris Eppstein
c3ecd5ac4b Version bump to 0.8.11 2009-08-22 08:28:24 -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
7d47649248 Fix build failure in the RunCodeRun environment. 2009-08-22 08:25:39 -07:00
priit.mx.ee
c11be2eac6 Ruby 1.9.1 fix: binding for parse_string 2009-08-22 08:25:39 -07:00
Chris Eppstein
50aa936e02 [Rails] [Closes #32] Don't suggest creating a stylesheet link to partials. 2009-08-22 08:25:32 -07:00
Chris Eppstein
4276d34b80 Regenerated gemspec for version 0.8.10 2009-08-16 11:23:00 -07:00