compass 0.8.16
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +551 -0
- data/LICENSE.markdown +29 -0
- data/README.markdown +44 -0
- data/REVISION +1 -0
- data/Rakefile +127 -0
- data/VERSION.yml +4 -0
- data/bin/compass +8 -0
- data/deps.rip +1 -0
- data/examples/README.markdown +4 -0
- data/examples/blueprint_default/config.rb +7 -0
- data/examples/blueprint_default/images/grid.png +0 -0
- data/examples/blueprint_default/index.html.haml +85 -0
- data/examples/blueprint_default/parts/elements.html.haml +282 -0
- data/examples/blueprint_default/parts/forms.html.haml +190 -0
- data/examples/blueprint_default/parts/grid.html.haml +274 -0
- data/examples/blueprint_default/parts/test-small.jpg +0 -0
- data/examples/blueprint_default/parts/test.jpg +0 -0
- data/examples/blueprint_default/parts/valid.png +0 -0
- data/examples/blueprint_default/src/ie.sass +3 -0
- data/examples/blueprint_default/src/images/grid.png +0 -0
- data/examples/blueprint_default/src/print.sass +3 -0
- data/examples/blueprint_default/src/screen.sass +8 -0
- data/examples/blueprint_plugins/config.rb +8 -0
- data/examples/blueprint_plugins/images/buttons/cross.png +0 -0
- data/examples/blueprint_plugins/images/buttons/key.png +0 -0
- data/examples/blueprint_plugins/images/buttons/tick.png +0 -0
- data/examples/blueprint_plugins/images/grid.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/doc.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/email.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/external.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/feed.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/im.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/pdf.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/visited.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/xls.png +0 -0
- data/examples/blueprint_plugins/images/test-small.jpg +0 -0
- data/examples/blueprint_plugins/images/test.jpg +0 -0
- data/examples/blueprint_plugins/images/valid.png +0 -0
- data/examples/blueprint_plugins/index.html.haml +96 -0
- data/examples/blueprint_plugins/plugins/buttons.html.haml +67 -0
- data/examples/blueprint_plugins/plugins/fancy_type.html.haml +100 -0
- data/examples/blueprint_plugins/plugins/link_icons.html.haml +61 -0
- data/examples/blueprint_plugins/plugins/rtl.html.haml +100 -0
- data/examples/blueprint_plugins/src/buttons.sass +49 -0
- data/examples/blueprint_plugins/src/ie.sass +3 -0
- data/examples/blueprint_plugins/src/images/grid.png +0 -0
- data/examples/blueprint_plugins/src/link_icons.sass +13 -0
- data/examples/blueprint_plugins/src/print.sass +3 -0
- data/examples/blueprint_plugins/src/rtl_screen.sass +13 -0
- data/examples/blueprint_plugins/src/screen.sass +11 -0
- data/examples/blueprint_scoped/images/grid.png +0 -0
- data/examples/blueprint_scoped/src/ie.sass +3 -0
- data/examples/blueprint_scoped/src/print.sass +3 -0
- data/examples/blueprint_scoped/src/screen.sass +4 -0
- data/examples/blueprint_scoped_form/images/grid.png +0 -0
- data/examples/blueprint_scoped_form/src/ie.sass +3 -0
- data/examples/blueprint_scoped_form/src/print.sass +3 -0
- data/examples/blueprint_scoped_form/src/screen.sass +10 -0
- data/examples/blueprint_semantic/config.rb +7 -0
- data/examples/blueprint_semantic/images/grid.png +0 -0
- data/examples/blueprint_semantic/index.html.haml +86 -0
- data/examples/blueprint_semantic/parts/fancy_type.html.haml +100 -0
- data/examples/blueprint_semantic/parts/liquid.html.haml +100 -0
- data/examples/blueprint_semantic/parts/test-small.jpg +0 -0
- data/examples/blueprint_semantic/parts/test.jpg +0 -0
- data/examples/blueprint_semantic/parts/valid.png +0 -0
- data/examples/blueprint_semantic/src/ie.sass +3 -0
- data/examples/blueprint_semantic/src/images/grid.png +0 -0
- data/examples/blueprint_semantic/src/liquid.sass +70 -0
- data/examples/blueprint_semantic/src/print.sass +3 -0
- data/examples/blueprint_semantic/src/screen.sass +71 -0
- data/examples/compass/compass.html.haml +39 -0
- data/examples/compass/config.rb +7 -0
- data/examples/compass/images/blue_arrow.gif +0 -0
- data/examples/compass/src/compass.sass +47 -0
- data/examples/compass/src/images/blue_arrow.gif +0 -0
- data/examples/compass/src/sticky_footer.sass +11 -0
- data/examples/compass/src/utilities.sass +108 -0
- data/examples/compass/sticky_footer.html.haml +14 -0
- data/examples/compass/utilities.html.haml +189 -0
- data/examples/logo/logo.html.haml +40 -0
- data/examples/logo/src/ie.sass +6 -0
- data/examples/logo/src/print.sass +6 -0
- data/examples/logo/src/screen.sass +29 -0
- data/examples/yui/divisions.html.haml +179 -0
- data/examples/yui/index.html.haml +19 -0
- data/examples/yui/src/screen.sass +13 -0
- data/examples/yui/sub_divisions.html.haml +169 -0
- data/examples/yui/templates.html.haml +54 -0
- data/examples/yui/test.jpg +0 -0
- data/examples/yui/typography.html.haml +132 -0
- data/frameworks/blueprint.rb +2 -0
- data/frameworks/blueprint/stylesheets/_blueprint.sass +3 -0
- data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +93 -0
- data/frameworks/blueprint/stylesheets/blueprint/_print.sass +83 -0
- data/frameworks/blueprint/stylesheets/blueprint/_reset.sass +3 -0
- data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +15 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +33 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +82 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +55 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +178 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +44 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +141 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +56 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +104 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +47 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +155 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -0
- data/frameworks/blueprint/templates/buttons/buttons.sass +49 -0
- data/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
- data/frameworks/blueprint/templates/buttons/manifest.rb +5 -0
- data/frameworks/blueprint/templates/link_icons/link_icons.sass +13 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/doc.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/email.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/external.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/feed.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/im.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/visited.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/xls.png +0 -0
- data/frameworks/blueprint/templates/link_icons/manifest.rb +10 -0
- data/frameworks/blueprint/templates/project/grid.png +0 -0
- data/frameworks/blueprint/templates/project/ie.sass +15 -0
- data/frameworks/blueprint/templates/project/manifest.rb +6 -0
- data/frameworks/blueprint/templates/project/partials/_base.sass +11 -0
- data/frameworks/blueprint/templates/project/print.sass +3 -0
- data/frameworks/blueprint/templates/project/screen.sass +40 -0
- data/frameworks/compass.rb +2 -0
- data/frameworks/compass/stylesheets/_compass.sass +1 -0
- data/frameworks/compass/stylesheets/compass/_layout.sass +1 -0
- data/frameworks/compass/stylesheets/compass/_misc.sass +24 -0
- data/frameworks/compass/stylesheets/compass/_reset.sass +3 -0
- data/frameworks/compass/stylesheets/compass/_utilities.sass +6 -0
- data/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +17 -0
- data/frameworks/compass/stylesheets/compass/utilities/_general.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/_links.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_lists.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_print.sass +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +1 -0
- data/frameworks/compass/stylesheets/compass/utilities/_tables.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +17 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +134 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +5 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +5 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +21 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +52 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +29 -0
- data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +12 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +20 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass +13 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +17 -0
- data/frameworks/compass/templates/ellipsis/ellipsis.sass +6 -0
- data/frameworks/compass/templates/ellipsis/manifest.rb +2 -0
- data/frameworks/compass/templates/ellipsis/xml/ellipsis.xml +14 -0
- data/frameworks/compass/templates/project/ie.sass +6 -0
- data/frameworks/compass/templates/project/manifest.rb +3 -0
- data/frameworks/compass/templates/project/print.sass +6 -0
- data/frameworks/compass/templates/project/screen.sass +13 -0
- data/frameworks/yui.rb +2 -0
- data/frameworks/yui/stylesheets/_yui.sass +7 -0
- data/frameworks/yui/stylesheets/yui/modules/_base.sass +60 -0
- data/frameworks/yui/stylesheets/yui/modules/_fonts.sass +38 -0
- data/frameworks/yui/stylesheets/yui/modules/_grids.sass +341 -0
- data/frameworks/yui/stylesheets/yui/modules/_reset.sass +61 -0
- data/frameworks/yui/templates/project/manifest.rb +1 -0
- data/frameworks/yui/templates/project/screen.sass +4 -0
- data/lib/compass.rb +23 -0
- data/lib/compass/actions.rb +110 -0
- data/lib/compass/app_integration.rb +5 -0
- data/lib/compass/app_integration/merb.rb +43 -0
- data/lib/compass/app_integration/rails.rb +12 -0
- data/lib/compass/app_integration/rails/action_controller.rb +15 -0
- data/lib/compass/app_integration/rails/sass_plugin.rb +5 -0
- data/lib/compass/app_integration/rails/templates/compass-install-rails.rb +80 -0
- data/lib/compass/app_integration/rails/urls.rb +14 -0
- data/lib/compass/commands/base.rb +33 -0
- data/lib/compass/commands/create_project.rb +19 -0
- data/lib/compass/commands/generate_grid_background.rb +24 -0
- data/lib/compass/commands/installer_command.rb +31 -0
- data/lib/compass/commands/list_frameworks.rb +16 -0
- data/lib/compass/commands/print_version.rb +23 -0
- data/lib/compass/commands/project_base.rb +112 -0
- data/lib/compass/commands/stamp_pattern.rb +33 -0
- data/lib/compass/commands/update_project.rb +34 -0
- data/lib/compass/commands/validate_project.rb +21 -0
- data/lib/compass/commands/watch_project.rb +64 -0
- data/lib/compass/commands/write_configuration.rb +28 -0
- data/lib/compass/compiler.rb +54 -0
- data/lib/compass/configuration.rb +324 -0
- data/lib/compass/core_ext.rb +14 -0
- data/lib/compass/dependencies.rb +10 -0
- data/lib/compass/errors.rb +7 -0
- data/lib/compass/exec.rb +251 -0
- data/lib/compass/frameworks.rb +29 -0
- data/lib/compass/grid_builder.rb +72 -0
- data/lib/compass/installers.rb +5 -0
- data/lib/compass/installers/base.rb +158 -0
- data/lib/compass/installers/manifest.rb +58 -0
- data/lib/compass/installers/rails.rb +135 -0
- data/lib/compass/installers/stand_alone.rb +60 -0
- data/lib/compass/logger.rb +42 -0
- data/lib/compass/sass_extensions.rb +5 -0
- data/lib/compass/sass_extensions/functions.rb +19 -0
- data/lib/compass/sass_extensions/functions/display.rb +22 -0
- data/lib/compass/sass_extensions/functions/enumerate.rb +6 -0
- data/lib/compass/sass_extensions/functions/inline_image.rb +35 -0
- data/lib/compass/sass_extensions/functions/selectors.rb +39 -0
- data/lib/compass/sass_extensions/functions/urls.rb +105 -0
- data/lib/compass/sass_extensions/monkey_patches.rb +3 -0
- data/lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb +23 -0
- data/lib/compass/test_case.rb +38 -0
- data/lib/compass/validator.rb +10 -0
- data/lib/compass/version.rb +57 -0
- data/lib/vendor/fssm.rb +41 -0
- data/lib/vendor/fssm/backends/fsevents.rb +37 -0
- data/lib/vendor/fssm/backends/polling.rb +26 -0
- data/lib/vendor/fssm/cache.rb +193 -0
- data/lib/vendor/fssm/ext.rb +37 -0
- data/lib/vendor/fssm/fsevents.rb +129 -0
- data/lib/vendor/fssm/monitor.rb +25 -0
- data/lib/vendor/fssm/path.rb +91 -0
- data/lib/vendor/fssm/state.rb +54 -0
- data/lib/vendor/fssm/support.rb +22 -0
- data/lib/vendor/fssm/tree.rb +176 -0
- data/test/command_line_helper.rb +102 -0
- data/test/command_line_test.rb +66 -0
- data/test/compass_test.rb +141 -0
- data/test/configuration_test.rb +118 -0
- data/test/fixtures/stylesheets/blueprint/config.rb +9 -0
- data/test/fixtures/stylesheets/blueprint/css/typography.css +158 -0
- data/test/fixtures/stylesheets/blueprint/images/grid.png +0 -0
- data/test/fixtures/stylesheets/blueprint/sass/ie.sass +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/print.sass +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/screen.sass +17 -0
- data/test/fixtures/stylesheets/blueprint/sass/typography.sass +3 -0
- data/test/fixtures/stylesheets/compass/config.rb +9 -0
- data/test/fixtures/stylesheets/compass/css/layout.css +13 -0
- data/test/fixtures/stylesheets/compass/css/print.css +18 -0
- data/test/fixtures/stylesheets/compass/css/reset.css +60 -0
- data/test/fixtures/stylesheets/compass/css/utilities.css +17 -0
- data/test/fixtures/stylesheets/compass/sass/layout.sass +3 -0
- data/test/fixtures/stylesheets/compass/sass/print.sass +5 -0
- data/test/fixtures/stylesheets/compass/sass/reset.sass +10 -0
- data/test/fixtures/stylesheets/compass/sass/utilities.sass +6 -0
- data/test/fixtures/stylesheets/image_urls/config.rb +17 -0
- data/test/fixtures/stylesheets/image_urls/css/screen.css +3 -0
- data/test/fixtures/stylesheets/image_urls/images/grid.png +0 -0
- data/test/fixtures/stylesheets/image_urls/sass/screen.sass +6 -0
- data/test/fixtures/stylesheets/yui/config.rb +9 -0
- data/test/fixtures/stylesheets/yui/css/mixins.css +13 -0
- data/test/fixtures/stylesheets/yui/sass/base.sass +3 -0
- data/test/fixtures/stylesheets/yui/sass/fonts.sass +3 -0
- data/test/fixtures/stylesheets/yui/sass/grids.sass +3 -0
- data/test/fixtures/stylesheets/yui/sass/mixins.sass +16 -0
- data/test/rails_integration_test.rb +83 -0
- data/test/sass_extensions_test.rb +31 -0
- data/test/test_case_helper.rb +13 -0
- data/test/test_helper.rb +21 -0
- data/test/test_rails_helper.rb +20 -0
- metadata +372 -0
data/CHANGELOG.markdown
ADDED
@@ -0,0 +1,551 @@
|
|
1
|
+
COMPASS CHANGELOG
|
2
|
+
=================
|
3
|
+
|
4
|
+
0.8.16 (September 12, 2009)
|
5
|
+
---------------------------
|
6
|
+
|
7
|
+
* Fixed a bug in compass that assumed compass extensions would provide stylesheets.
|
8
|
+
|
9
|
+
0.8.15 (September 5, 2009)
|
10
|
+
--------------------------
|
11
|
+
|
12
|
+
* Upgrade the FSSM library to 0.0.6 to fix bugs on windows.
|
13
|
+
|
14
|
+
|
15
|
+
0.8.14 (September 2, 2009)
|
16
|
+
--------------------------
|
17
|
+
|
18
|
+
* Upgrade the FSSM library to 0.0.4 to fix bugs and enable FS Events on Mac OS.
|
19
|
+
|
20
|
+
0.8.13 (August 30, 2009)
|
21
|
+
------------------------
|
22
|
+
|
23
|
+
* [Blueprint] Mixins have been added for these as +prepend-top and +append-bottom and grid classes will be generated by +blueprint-grid.
|
24
|
+
* [Command Line] The watch mode has been re-implemented to use the FSSM library by Travis Tilley. OSX users will
|
25
|
+
now have support for filesystem monitoring. Fixes an infinite looping bug that occured with syntax users.
|
26
|
+
|
27
|
+
0.8.12 (August 22, 2009)
|
28
|
+
------------------------
|
29
|
+
|
30
|
+
Bug Fix Release:
|
31
|
+
|
32
|
+
* [Compass Core] Bug fix to sprites: fixed width and height assignments for x and y position variables
|
33
|
+
* Ruby 1.9.1 fix: binding for parse_string
|
34
|
+
* [Rails] Don't suggest creating a stylesheet link to partials.
|
35
|
+
|
36
|
+
|
37
|
+
0.8.10 (August 16, 2009)
|
38
|
+
------------------------
|
39
|
+
Bug Fix Release:
|
40
|
+
|
41
|
+
* Write files in binary mode to avoid data corruption when installing images on windows.
|
42
|
+
Fixes [Issue #39](http://github.com/chriseppstein/compass/issues/#issue/39)
|
43
|
+
|
44
|
+
0.8.9 (August 9, 2009)
|
45
|
+
----------------------
|
46
|
+
Bug Fix Release:
|
47
|
+
|
48
|
+
* [Blueprint] The default screen.sass generated invalid selectors due to improper nesting. A better fix is coming in the next release.
|
49
|
+
|
50
|
+
0.8.8 (July 21, 2009)
|
51
|
+
---------------------
|
52
|
+
|
53
|
+
Bug Fix Release:
|
54
|
+
|
55
|
+
* [Compass Core] Fixed a bug in alternating_rows_and_columns. Improper nesting caused some styles to be improperly rendered.
|
56
|
+
[Commit](http://github.com/chriseppstein/compass/commit/e277ed2cd3fded0b98ddaa87fc4d3b9d37cb7354)
|
57
|
+
* [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.
|
58
|
+
[Commit](http://github.com/chriseppstein/compass/commit/4bfcef4f376ee6e5d5a2b47419d2f21ef4c6eff8)
|
59
|
+
|
60
|
+
|
61
|
+
0.8.7 (July 09, 2009)
|
62
|
+
---------------------
|
63
|
+
|
64
|
+
Bug Fix Release:
|
65
|
+
|
66
|
+
* Load haml-edge only if it's all new and shiny. Closes GH-26.
|
67
|
+
[Commit](http://github.com/chriseppstein/compass/commit/59a6067b3a67a79bfd9a5ce325fc1be4bb6c9e78)
|
68
|
+
* [Blueprint] Added more descriptive comments to the Blueprint IE template.
|
69
|
+
[Commit](http://github.com/chriseppstein/compass/commit/8684966be1e8166a986ae81abd3daf6c44ed4f94)
|
70
|
+
* [Rails] Fixed a bug in rails integration if the request is not set on the controller.
|
71
|
+
[Commit](http://github.com/chriseppstein/compass/commit/7fba6028d8073a9124a6505aab9246b5b459db34)
|
72
|
+
* [Blueprint] Fixed a bug in the calculations for the +colborder mixin. Closes GH-25.
|
73
|
+
[Commit](http://github.com/chriseppstein/compass/commit/d2b1370c80a32f70ae6ec94126b737f4f0fc0851)
|
74
|
+
|
75
|
+
0.8.6 (July 08, 2009)
|
76
|
+
---------------------
|
77
|
+
|
78
|
+
### Rails
|
79
|
+
|
80
|
+
* The rails installer now correctly references the haml 2.2 dependency.
|
81
|
+
[Commit](http://github.com/chriseppstein/compass/commit/85bb337f50a3a3dfaafa2820d5463f7296140c9e)
|
82
|
+
by [Filip Tepper][filiptepper].
|
83
|
+
* When installing into a new rails project, set the http paths correctly for stylesheets and javascripts
|
84
|
+
in the configuration file.
|
85
|
+
[Commit](http://github.com/chriseppstein/compass/commit/94e9696b30a9a9fd750c45e6fe3c2bc93eba506a)
|
86
|
+
* Fixed a bug in asset hosts support when compiling outside the context of a controller.
|
87
|
+
[Commit](http://github.com/chriseppstein/compass/commit/6b8bbd22b13ef4c329777913a633948e66e3da99)
|
88
|
+
|
89
|
+
### Command Line
|
90
|
+
|
91
|
+
* Fixed a bug that caused the output after installing to not display the conditional comments.
|
92
|
+
[Commit](http://github.com/chriseppstein/compass/commit/48a0356ad8bc7b965e64f82498a9adcc1872abad)
|
93
|
+
|
94
|
+
### Compass Core
|
95
|
+
|
96
|
+
* Fixed a copy & paste error in image_url() that caused the http_images_path to not get picked up unless the
|
97
|
+
http_stylesheets_path was also set.
|
98
|
+
[Commit](http://github.com/chriseppstein/compass/commit/b7a9772efb89b2b882d3fafe02813c0fc650719a)
|
99
|
+
|
100
|
+
0.8.5 (July 06, 2009)
|
101
|
+
---------------------
|
102
|
+
|
103
|
+
The Compass::TestCase class now inherits from ActiveSupport::TestCase if it exists.
|
104
|
+
[Commit](http://github.com/chriseppstein/compass/commit/71d5ae8544d1c5ae49e28dcd6b3768fc39d7f01c)
|
105
|
+
|
106
|
+
0.8.4 (July 06, 2009)
|
107
|
+
---------------------
|
108
|
+
|
109
|
+
Fixed a bug in rails integration introduced in 0.8.3.
|
110
|
+
|
111
|
+
0.8.3 (July 06, 2009)
|
112
|
+
---------------------
|
113
|
+
|
114
|
+
Note: Compass now depends on the stable release of haml with version 2.2.0 or greater.
|
115
|
+
|
116
|
+
### Compass Core
|
117
|
+
|
118
|
+
* A new helper function `stylesheet_url(path)` can now be used to refer to assets that are relative to the css directory.
|
119
|
+
[Commit](http://github.com/chriseppstein/compass/commit/ff5c8500144272ee2b94271b06cce1690cbbc000).
|
120
|
+
* Cross browser ellipsis mixin is now available. Use `compass -p ellipsis` to install it into your project since it
|
121
|
+
requires some additional assets.
|
122
|
+
[Commit](http://github.com/chriseppstein/compass/commit/3d909ceda997bdcde2aec09bd72e646098389e7d).
|
123
|
+
|
124
|
+
### Blueprint
|
125
|
+
|
126
|
+
* The +colruler mixin now accepts an argument for the color.
|
127
|
+
[Commit](http://github.com/chriseppstein/compass/commit/a5393bbb7cd0941ab8add5be188aea1d6f9d4b00)
|
128
|
+
by [Thomas Reynolds][tdreyno].
|
129
|
+
|
130
|
+
### Extensions
|
131
|
+
|
132
|
+
* A bug was fixed related to how javascript installation as part of an extension manifest.
|
133
|
+
[Commit](http://github.com/chriseppstein/compass/commit/a5393bbb7cd0941ab8add5be188aea1d6f9d4b00)
|
134
|
+
by [dturnbull][dturnbull].
|
135
|
+
* When installing a file, the :like option can now be set to have it installed into the
|
136
|
+
same location as what it is like. E.g. `file 'foo.xml', :like => :css` will install
|
137
|
+
the foo.xml file into the top level of the project's css directory.
|
138
|
+
[Commit](http://github.com/chriseppstein/compass/commit/21cfce33db81e185ce5517818844a9849b5a836e).
|
139
|
+
|
140
|
+
### Configuration
|
141
|
+
* Setting `http_images_path` to `:relative` is now **deprecated**. Instead, please set `relative_assets` to
|
142
|
+
`true`.
|
143
|
+
[Commit](http://github.com/chriseppstein/compass/commit/956c437fe9ffaad08b6b34d91b6cfb80d6121a2f).
|
144
|
+
* New configuration option `http_path` can be used to set the project's path relative to the server's root.
|
145
|
+
Defaults to "/". The http paths to images, stylesheets, and javascripts are now assumed to be relative to that
|
146
|
+
path but can be overridden using the `http_images_path`, `http_css_path`, `http_javascripts_path`.
|
147
|
+
[Commit](http://github.com/chriseppstein/compass/commit/6555ab3952ae37d736d54f43ee7053c2a88f4a69).
|
148
|
+
|
149
|
+
### Command Line
|
150
|
+
|
151
|
+
* A new command line option `--relative-assets` can be used to cause links to assets generated
|
152
|
+
via compass helper functions to be relative to the target css file.
|
153
|
+
[Commit](http://github.com/chriseppstein/compass/commit/956c437fe9ffaad08b6b34d91b6cfb80d6121a2f).
|
154
|
+
|
155
|
+
0.8.2 (July 04, 2009)
|
156
|
+
---------------------
|
157
|
+
|
158
|
+
Fixed a bug that caused touch to fail on windows due to open files. (Contributor: Joe Wasson)
|
159
|
+
|
160
|
+
0.8.1
|
161
|
+
-----
|
162
|
+
|
163
|
+
Fixed some build issues and a bug in the rewritten --watch mode that caused changes to partials to go unnoticed.
|
164
|
+
|
165
|
+
0.8.0
|
166
|
+
-----
|
167
|
+
|
168
|
+
### Rails
|
169
|
+
|
170
|
+
* image_url() now integrates with the rails asset handling code when
|
171
|
+
stylesheets are generated within the rails container.
|
172
|
+
**This causes your rails configuration for cache busting and asset hosts
|
173
|
+
to be used when generating your stylesheets**. Unfortunately, all
|
174
|
+
that code runs within the context of a controller, so the stylesheets
|
175
|
+
have to be generated during first request to use this functionality. If you
|
176
|
+
need to compile stylesheets offline, use the compass configuration file to set
|
177
|
+
the <code>asset_host</code> and <code>asset_cache_buster</code>.
|
178
|
+
[Commit](http://github.com/chriseppstein/compass/commit/998168160b11c8702ded0a32820ea15b70d51e83).
|
179
|
+
|
180
|
+
* An official Rails template for Compass is now [provided][rails_template].
|
181
|
+
[Commit](http://github.com/chriseppstein/compass/commit/f6948d1d58818ef8babce8f8f9d775562d7cd7ef)
|
182
|
+
by [Derek Perez][perezd].
|
183
|
+
|
184
|
+
### Blueprint
|
185
|
+
|
186
|
+
* The Blueprint port has been upgraded to match Blueprint 0.9. The following changes were made as part
|
187
|
+
of that project:
|
188
|
+
* Removed body margins from blueprint scaffolding by default.
|
189
|
+
The old body styles can be reinstated by mixing +blueprint-scaffolding-body into your body selector(s).
|
190
|
+
[Commit](http://github.com/chriseppstein/compass/commit/45af89d4c7a396fae5d14fab4ef3bab23bcdfb6a)
|
191
|
+
by [Enrico Bianco][enricob].
|
192
|
+
* A bug in the calculations affecting the +colborder mixin has been fixed.
|
193
|
+
[Commit](http://github.com/chriseppstein/compass/commit/4b33fae5e5c5421580ba536116cb10194f1318d1)
|
194
|
+
by [Enrico Bianco][enricob].
|
195
|
+
Related [commit](http://github.com/chriseppstein/compass/commit/0a0a14aab597d2ec31ff9d267f6ee8cfad878e10).
|
196
|
+
* Blueprint now has inline form support. Mix +blueprint-inline-form into a form selector to make it inline.
|
197
|
+
[Commit](http://github.com/chriseppstein/compass/commit/56c745b939c763cfcc5549b54979d48ab1309087)
|
198
|
+
by [Enrico Bianco][enricob].
|
199
|
+
* Please update the conditional comment that surrounds your IE stylesheet to use "lt IE 8" as the condition
|
200
|
+
as these styles are not needed in IE8. New blueprint projects will now use this conditional as their default.
|
201
|
+
[Commit](http://github.com/chriseppstein/compass/commit/77f6e02c0ec80d2b6fd19e611ced02be003c98ae)
|
202
|
+
by [Enrico Bianco][enricob].
|
203
|
+
* Explicitly define image interpolation mode for IE so that images aren't jagged when resizing.
|
204
|
+
[Commit](http://github.com/chriseppstein/compass/commit/63075f82db367913efcce5e1d0f5489888e86ca4)
|
205
|
+
by [Enrico Bianco][enricob].
|
206
|
+
|
207
|
+
* When starting a new project based on Blueprint, a more complete screen.sass file will be
|
208
|
+
provided that follows compass best practices instead of matching blueprint css exactly. A
|
209
|
+
partials/_base.sass file is provided and already set up for blueprint customization.
|
210
|
+
[Commit](http://github.com/chriseppstein/compass/commit/11b6ea14c3ee919711fa4bdce349f88b64b68d51)
|
211
|
+
|
212
|
+
* The sizes and borders for form styling can now be altered via mixin arguments.
|
213
|
+
[Commit](http://github.com/chriseppstein/compass/commit/b84dd3031b82547cff8e1ef1f85de66d98cd162b)
|
214
|
+
by [Thomas Reynolds][tdreyno].
|
215
|
+
|
216
|
+
* Grid borders can now be altered via mixin arguments.
|
217
|
+
[Commit](http://github.com/chriseppstein/compass/commit/0a0a14aab597d2ec31ff9d267f6ee8cfad878e10)
|
218
|
+
by [Thomas Reynolds][tdreyno].
|
219
|
+
|
220
|
+
* The reset file for blueprint has moved from compass/reset.sass to blueprint/reset.sass. Please
|
221
|
+
update your imports accordingly. Also note that some of the reset mixin names have changed
|
222
|
+
(now prefixed with blueprint-*).
|
223
|
+
[Commit](http://github.com/chriseppstein/compass/commit/2126240a1a16edacb0a758d782334a9ced5d9116)
|
224
|
+
by [Noel Gomez][noel].
|
225
|
+
|
226
|
+
### Compass Core
|
227
|
+
|
228
|
+
* **Sprites**. A basic sprite mixin is now available. Import compass/utilities/sprites.sass and use the +sprite-img
|
229
|
+
mixin to set the background image from a sprite image file. Assumes every sprite in the sprite image
|
230
|
+
file has the same dimensions.
|
231
|
+
[Commit](http://github.com/chriseppstein/compass/commit/1f21d6309140c009188d350ed911eed5d34bf02e)
|
232
|
+
by [Thomas Reynolds][tdreyno].
|
233
|
+
|
234
|
+
* **Reset**. The compass reset is now based on [Eric Meyer's reset](http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/).
|
235
|
+
which makes no attempt to apply base styles like the blueprint reset does. **Existing compass projects
|
236
|
+
will want to change their reset import to point to blueprint/reset.sass** -- which is where the old
|
237
|
+
default reset for compass projects now lives -- see the blueprint notes above for more information.
|
238
|
+
[Commit](http://github.com/chriseppstein/compass/commit/2126240a1a16edacb0a758d782334a9ced5d9116)
|
239
|
+
by [Noel Gomez][noel].
|
240
|
+
|
241
|
+
* A bug was fixed in the tag_cloud mixin so that it actually works.
|
242
|
+
[Commit](http://github.com/chriseppstein/compass/commit/be5c0ff6731ec5e0cdac73bc47f5603c3db899b5)
|
243
|
+
by [Bjørn Arild Mæland][Chrononaut].
|
244
|
+
|
245
|
+
### Sass Extensions
|
246
|
+
|
247
|
+
* The <code>inline_image(image_path)</code> function can now be used to generate a data url that embeds the image data in
|
248
|
+
the generated css file -- avoiding the need for another request.
|
249
|
+
This function works like <code>image_url()</code> in that it expects the image to be a path
|
250
|
+
relative to the images directory. There are clear advantages and disadvantages to this approach.
|
251
|
+
See [Wikipedia](http://en.wikipedia.org/wiki/Data_URI_scheme) for more details.
|
252
|
+
NOTE: Neither IE6 nor IE7 support this feature.
|
253
|
+
[Commit](http://github.com/chriseppstein/compass/commit/5a015b3824f280af56f1265bf8c3a7c64a252621).
|
254
|
+
|
255
|
+
### Configuration
|
256
|
+
|
257
|
+
* **Asset Hosts**. You can now configure the asset host(s) used for images via the image_url() function.
|
258
|
+
Asset hosts are off unless configured and also off when relative urls are enabled.
|
259
|
+
[Commit](http://github.com/chriseppstein/compass/commit/ef47f3dd9dbfc087de8b12a90f9a82993bbb592e).
|
260
|
+
In your compass configuration file, you must define an asset_host algorithm to be used like so:
|
261
|
+
# Return the same host for all images:
|
262
|
+
asset_host {|path| "http://assets.example.com" }
|
263
|
+
# Return a different host based on the image path.
|
264
|
+
asset_host do |path|
|
265
|
+
"http://assets%d.example.com" % (path.hash % 4)
|
266
|
+
end
|
267
|
+
|
268
|
+
|
269
|
+
* **Configurable Cache Buster**. You can now configure the cache buster that gets placed at the end of
|
270
|
+
images via the image_url function. This might be useful if you need to coordinate the query string
|
271
|
+
or use something other than a timestamp.
|
272
|
+
[Commit](http://github.com/chriseppstein/compass/commit/ef47f3dd9dbfc087de8b12a90f9a82993bbb592e)
|
273
|
+
Example:
|
274
|
+
asset_cache_buster do |path, file|
|
275
|
+
"busted=true"
|
276
|
+
end
|
277
|
+
|
278
|
+
* You can now set/override arbitrary sass options by setting the <code>sass_options</code> configuration property
|
279
|
+
to a hash. [Commit](http://github.com/chriseppstein/compass/commit/802bca61741db31da7131c82d31fff45f9323696).
|
280
|
+
|
281
|
+
* You can now specify additional import paths to look for sass code outside the project.
|
282
|
+
[Commit](http://github.com/chriseppstein/compass/commit/047be06a0a63923846f53849fc220fb4be69513b).
|
283
|
+
This can be done in two ways:
|
284
|
+
1. By setting <code>additional_import_paths</code> to an array of paths.
|
285
|
+
2. By (repeatedly) calling <code>add_import_path(path)</code>
|
286
|
+
|
287
|
+
* The compass configuration can now be placed in PROJECT_DIR/.compass/config.rb if you so choose.
|
288
|
+
[Commit](http://github.com/chriseppstein/compass/commit/69cf32f70ac79c155198d2dbf96f50856bee9504).
|
289
|
+
|
290
|
+
|
291
|
+
### Command Line
|
292
|
+
|
293
|
+
* **Watch Improvements** The watch command was rewritten for robustness and reliability. The most
|
294
|
+
important change is that generated css files will be deleted if the originating sass file is removed while
|
295
|
+
watching the project. [Commit](http://github.com/chriseppstein/compass/commit/0a232bd922695f6f659fac9f90466745d4425839).
|
296
|
+
|
297
|
+
* The images and javascripts directories may now be set via the command line.
|
298
|
+
[Commit](http://github.com/chriseppstein/compass/84aec053d0109923ea0208ac0847684cf09cefc1).
|
299
|
+
|
300
|
+
* The usage output (-h) of the command-line has been reformatted to make it more readable and understandable.
|
301
|
+
[Commit](http://github.com/chriseppstein/compass/f742f26208f4c5c783ba63aa0cc509bb19e06ab9).
|
302
|
+
|
303
|
+
* The configuration file being read can now be specified explicitly using the -c option.
|
304
|
+
This also affects the output location of the --write-configuration command.
|
305
|
+
NOTE: The -c option used to be for writing the configuration file, an infrequently used option.
|
306
|
+
[Commit](http://github.com/chriseppstein/compass/d2acd343b899db960c1d3a377e2ee6f58595c6b1).
|
307
|
+
|
308
|
+
* You can now install into the current working directory by explicitly setting the command line mode to -i
|
309
|
+
and providing no project name.
|
310
|
+
[Commit](http://github.com/chriseppstein/compass/f742f26208f4c5c783ba63aa0cc509bb19e06ab9).
|
311
|
+
|
312
|
+
### Compass Internals
|
313
|
+
|
314
|
+
* Some internal code was reorganized to make managing sass extensions and functions more manageable.
|
315
|
+
|
316
|
+
* Some internal code was reorganized to make managing ruby application integration more manageable.
|
317
|
+
|
318
|
+
* The compass unit tests were reorganized to separate rails testing from other tests.
|
319
|
+
|
320
|
+
* The [Rip Packaging System](http://hellorip.com) is now supported.
|
321
|
+
[Commit](http://github.com/chriseppstein/compass/commit/56f36577c7654b93a349f74abf274327df23402b)
|
322
|
+
by [Will Farrington](http://github.com/wfarr).
|
323
|
+
|
324
|
+
* A [licence is now available](http://github.com/chriseppstein/compass/blob/master/LICENSE.markdown)
|
325
|
+
making the copyrights and terms of use clear for people who care about such things.
|
326
|
+
|
327
|
+
|
328
|
+
0.6.14
|
329
|
+
------
|
330
|
+
|
331
|
+
Extracted the css validator to an external gem that is only required if you try to use the validation feature.
|
332
|
+
This makes the compass gem a lot smaller (0.37MB instead of 4MB). To install the validator:
|
333
|
+
|
334
|
+
sudo gem install chriseppstein-compass-validator --source http://gems.github.com/
|
335
|
+
|
336
|
+
0.6.8 thru 0.6.13
|
337
|
+
-----------------
|
338
|
+
|
339
|
+
The compass gem is now built with Jeweler instead of Echoe. No changes to speak of. These versions were bug
|
340
|
+
fixes and working out the new release process.
|
341
|
+
|
342
|
+
0.6.7
|
343
|
+
-----
|
344
|
+
|
345
|
+
Bug fix release.
|
346
|
+
|
347
|
+
### Rails
|
348
|
+
|
349
|
+
The output_style will no longer be set in the compass.config file. Instead compass will use the runtime rails environment to set a sensible default.
|
350
|
+
|
351
|
+
### Command Line
|
352
|
+
|
353
|
+
The Sass cache directory will be placed into the sass directory of the project instead of the directory from where the compass command was ran.
|
354
|
+
|
355
|
+
### Compass Core
|
356
|
+
|
357
|
+
Extracted two new mixins from +horizontal-list. The new +horizontal-list-container and +horizontal-list-item mixins can be used to build your
|
358
|
+
horizontal list when you need more control over the selectors (E.g. when working with nested lists).
|
359
|
+
|
360
|
+
0.6.6
|
361
|
+
-----
|
362
|
+
|
363
|
+
The Haml project now releases a gem called haml-edge that is built from the haml master branch instead of stable. Compass now depends on this gem and will continue to do so until haml 2.2 is released. This should reduce the number of installation problems that have been encountered by new users.
|
364
|
+
|
365
|
+
### Command Line
|
366
|
+
|
367
|
+
* Fixed a bug that had broken the --write-configuration (-c) option.
|
368
|
+
* The --force option will now force recompilation. Useful when the stylesheets don't appear to need a recompile according to the file timestamps.
|
369
|
+
|
370
|
+
### Unit tests
|
371
|
+
|
372
|
+
* Some unit tests were cleaned up for clarity and to better take advantage of the compass project management facilities.
|
373
|
+
|
374
|
+
0.6.5
|
375
|
+
-----
|
376
|
+
|
377
|
+
### Compass Core
|
378
|
+
|
379
|
+
Converted all mixins definitions referencing images to use the new sass function <code>image\_url()</code>. The following mixins were affected:
|
380
|
+
|
381
|
+
* <code>+pretty-bullets</code>
|
382
|
+
* <code>+replace-text</code>
|
383
|
+
|
384
|
+
The calls to these mixins should now pass a path to the image that is relative to the images directory of the project.
|
385
|
+
|
386
|
+
### Command Line
|
387
|
+
|
388
|
+
* Required frameworks specified from the command line will now be added into the initial project configuration file.
|
389
|
+
|
390
|
+
0.6.4
|
391
|
+
-----
|
392
|
+
|
393
|
+
### Command Line
|
394
|
+
|
395
|
+
Added a command line option --install-dir that will emit the directory where compass is installed. Useful for debugging and drilling into the compass examples and libraries.
|
396
|
+
|
397
|
+
0.6.3
|
398
|
+
-----
|
399
|
+
|
400
|
+
### Rails
|
401
|
+
|
402
|
+
Bug fix: The http_images_path configuration default should be "/images" instead of "/public/images".
|
403
|
+
|
404
|
+
### Command Line
|
405
|
+
|
406
|
+
These changes, coupled with upcoming changes to Sass result in significantly reduced time spent on compilation for large projects.
|
407
|
+
|
408
|
+
* The compass command line will no longer recompile sass files that haven't changed (taking import dependencies into account).
|
409
|
+
* The compass command line will now respect the -q (quiet) option during compilation. Additionally, the quiet option will be set by default when watching a project for changes.
|
410
|
+
|
411
|
+
0.6.2
|
412
|
+
-----
|
413
|
+
|
414
|
+
### Blueprint
|
415
|
+
|
416
|
+
Split the push and pull mixins into sub-mixins that separate the common styles from the ones that vary. The generated css when using presentational class names will be smaller as a result. The existing <code>+push</code> and <code>+pull</code> mixins continue to work as expected. The following mixins were added:
|
417
|
+
|
418
|
+
+push-base
|
419
|
+
+push-margins
|
420
|
+
+pull-base
|
421
|
+
+pull-margins
|
422
|
+
|
423
|
+
Additonally, the liquid plugin was updated to have a span mixin that matches elsewhere.
|
424
|
+
|
425
|
+
### YUI
|
426
|
+
|
427
|
+
Added Yahoo's version of the css reset. To use it, mix into the top level of your project:
|
428
|
+
|
429
|
+
@import yui/modules/reset.sass
|
430
|
+
+reset
|
431
|
+
|
432
|
+
### Rails
|
433
|
+
|
434
|
+
* Conditionally defining #blank? on String/NilClass (Erik Bryn <erik.bryn@gmail.com>)
|
435
|
+
* Set compass environment in plugin based on RAILS_ENV (Lee Nussbaum <wln@scrunch.org>)
|
436
|
+
|
437
|
+
0.6.1
|
438
|
+
-----
|
439
|
+
|
440
|
+
Maintenance release that fixes several bugs in the handling of configuration files.
|
441
|
+
|
442
|
+
0.6.0
|
443
|
+
-----
|
444
|
+
|
445
|
+
### New Core Functionality: **Patterns**
|
446
|
+
|
447
|
+
Patterns give a framework or plugin access to the compass installer framework
|
448
|
+
to install customizable sass, html as well as image and javascript assets.
|
449
|
+
|
450
|
+
A pattern is a folder in the plugin's templates directory. It must
|
451
|
+
have a manifest file that tells compass what to install and where.
|
452
|
+
Unlike the project template, a pattern can be stamped out any number of
|
453
|
+
times.
|
454
|
+
|
455
|
+
It is best for pattern stylesheets to only provide example usage to get
|
456
|
+
the user started. All the core styles for the pattern should be
|
457
|
+
distributed as part of the framework's stylesheets as mixins to
|
458
|
+
facilitate easy upgrades and bug fixing on the part of the pattern's
|
459
|
+
maintainer.
|
460
|
+
|
461
|
+
Example Usage:
|
462
|
+
compass --framework blueprint --pattern buttons
|
463
|
+
|
464
|
+
Please read the
|
465
|
+
[Wiki Page](http://wiki.github.com/chriseppstein/compass/patterns) for more information.
|
466
|
+
|
467
|
+
### New Command-line options:
|
468
|
+
|
469
|
+
1. <code>--validate</code><br/>
|
470
|
+
Validate your project's compiled css. Requires java and probably only works on Mac and Unix.
|
471
|
+
2. <code>--grid-img [DIMENSIONS]</code><br/>
|
472
|
+
Generate a background image to test grid alignment. Dimension is given as
|
473
|
+
<column_width>+<gutter_width>. Defaults to 30+10.
|
474
|
+
3. <code>-p, --pattern PATTERN</code><br/>
|
475
|
+
When combined with with the --framework option, will stamp a plugin's pattern named PATTERN.
|
476
|
+
4. <code>-n, --pattern-name NAME</code><br/>
|
477
|
+
When combined with the --pattern option, the pattern that gets stamped out will
|
478
|
+
be isolated in subdirectories named NAME.
|
479
|
+
5. <code>-c, --write-configuration</code><br/>
|
480
|
+
Emit a compass configuration file into the current directory, taking any existing configuration
|
481
|
+
file and any command line options provided into account. (command line options override
|
482
|
+
configuration file options).
|
483
|
+
|
484
|
+
### New Sass Functions:
|
485
|
+
|
486
|
+
Compass projects can call these sass functions within their sass files, if you find them useful.
|
487
|
+
|
488
|
+
1. <code>enumerate(prefix, start, end)</code><br/>
|
489
|
+
Generates selectors with a prefix and a numerical ending
|
490
|
+
counting from start to end. E.g. enumerate("foo", 1, 3) returns "foo-1, foo-2, foo-3"
|
491
|
+
2. <code>image_url(path)</code><br/>
|
492
|
+
Uses the compass configuration to convert a path relative to the compass
|
493
|
+
project directory to a path that is either absolute for serving in an HTTP
|
494
|
+
context or that is relative to whatever css file the function was being
|
495
|
+
compiled into. In the future, this function may also tap into the rails
|
496
|
+
asset host configuration.
|
497
|
+
|
498
|
+
### New Compass Core Mixins
|
499
|
+
|
500
|
+
1. <code>+float-left</code> & <code>+float-right</code><br/>
|
501
|
+
In order to include fixes for IE's double-margin bug universally,
|
502
|
+
floats were implemented as a utility mixins. These are available by importing
|
503
|
+
compass/utilities/general/float.sass which also imports the clearfix module.
|
504
|
+
2. <code>+pie-clearfix</code><br/>
|
505
|
+
Implementation of the
|
506
|
+
[position-is-everything clearfix](http://www.positioniseverything.net/easyclearing.html)
|
507
|
+
that uses content :after.
|
508
|
+
|
509
|
+
### Blueprint 0.8
|
510
|
+
|
511
|
+
The Compass port of Blueprint has been upgraded from 0.7.1 to 0.8.0. The 0.8.0 release
|
512
|
+
brings many bug fixes and a few backward incompatible changes if you use it's presentational
|
513
|
+
classnames (you don't do that, do you?). Upgrading to 0.8 is automatic when you upgrade to
|
514
|
+
compass 0.6.0. The Blueprint team didn't release a detailed changelog for me to point at here.
|
515
|
+
One of the key features of the release was the inclusion of three new core blueprint plugins
|
516
|
+
(a.k.a. folders you can copy). These are what prompted the development of the compass patterns
|
517
|
+
feature and two of them are packaged as patterns:
|
518
|
+
|
519
|
+
1. Buttons<br/>
|
520
|
+
To install: <code>compass --framework blueprint --pattern buttons</code><br/>
|
521
|
+
Then follow your nose.
|
522
|
+
2. Link Icons<br/>
|
523
|
+
To install: <code>compass --framework blueprint --pattern link\_icons</code><br/>
|
524
|
+
Then follow your nose.
|
525
|
+
|
526
|
+
The third plugin is the RTL (right-to-left) plugin. To use this one, simply import it after the import
|
527
|
+
of the blueprint grid and your mixins will be redefined to work in a left to right manner. Additionally,
|
528
|
+
it provides +rtl-typography mixin that works in conjunction with +blueprint-typography and should be mixed
|
529
|
+
in with it.
|
530
|
+
|
531
|
+
Lastly, I've rewrote some of the presentational class name generation code so that it very nearly
|
532
|
+
matches the blueprint CSS. Please note that they are not 100% the same because we fix some bugs
|
533
|
+
that are not yet fixed in blueprint-css and we use a different clearfix implementation.
|
534
|
+
|
535
|
+
### Bug Fixes
|
536
|
+
|
537
|
+
1. A Safari bug related to the +clearfix mixin was resolved.
|
538
|
+
2. Running the compass command line installer a second time.
|
539
|
+
|
540
|
+
### Bugs Introduced
|
541
|
+
|
542
|
+
Almost definitely. Please let me know if you encounter any problems and I'll get a patch out
|
543
|
+
|
544
|
+
[tdreyno]: http://github.com/tdreyno
|
545
|
+
[noel]: http://github.com/noel
|
546
|
+
[enricob]: http://github.com/enricob
|
547
|
+
[perezd]: http://github.com/perezd
|
548
|
+
[Chrononaut]: http://github.com/Chrononaut
|
549
|
+
[rails_template]: http://github.com/chriseppstein/compass/raw/4e7e51e2c5491851f66c77abf3f15194f2f8fb8d/lib/compass/app_integration/rails/templates/compass-install-rails.rb
|
550
|
+
[dturnbull]: http://github.com/dturnbull
|
551
|
+
[filiptepper]: http://github.com/filiptepper
|