compass 0.8.17 → 0.10.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +165 -0
- data/README.markdown +15 -3
- data/Rakefile +46 -7
- data/VERSION.yml +3 -2
- data/bin/compass +22 -4
- data/examples/blueprint_default/index.html.haml +3 -3
- data/examples/blueprint_default/parts/forms.html.haml +2 -0
- data/examples/blueprint_default/src/screen.sass +1 -1
- data/examples/blueprint_plugins/index.html.haml +6 -6
- data/examples/blueprint_plugins/src/buttons.sass +2 -2
- data/examples/blueprint_plugins/src/link_icons.sass +1 -1
- data/examples/blueprint_plugins/src/rtl_screen.sass +3 -3
- data/examples/blueprint_plugins/src/screen.sass +2 -2
- data/examples/blueprint_scoped/src/ie.sass +2 -1
- data/examples/blueprint_scoped/src/print.sass +2 -1
- data/examples/blueprint_scoped/src/screen.sass +2 -1
- data/examples/blueprint_semantic/parts/fancy_type.html.haml +1 -1
- data/examples/blueprint_semantic/src/liquid.sass +5 -6
- data/examples/blueprint_semantic/src/screen.sass +4 -5
- data/examples/compass/bootstrap.rb +3 -0
- data/{frameworks → examples/compass/extensions}/yui/stylesheets/_yui.sass +0 -0
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
- data/{frameworks → examples/compass/extensions}/yui/stylesheets/yui/modules/_fonts.sass +8 -1
- data/{frameworks → examples/compass/extensions}/yui/stylesheets/yui/modules/_grids.sass +174 -130
- data/{frameworks → examples/compass/extensions}/yui/stylesheets/yui/modules/_reset.sass +0 -0
- data/{frameworks → examples/compass/extensions}/yui/templates/project/manifest.rb +0 -0
- data/{frameworks → examples/compass/extensions}/yui/templates/project/screen.sass +0 -0
- data/examples/compass/src/utilities.sass +2 -2
- data/examples/css3/config.rb +6 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/Vtks Revolt.ttf +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/angelina.ttf +0 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/fancy-fonts.sass +7 -0
- data/examples/css3/extensions/fancy-fonts/templates/project/manifest.rb +5 -0
- data/examples/css3/images/fresh-peas.jpg +0 -0
- data/examples/css3/index.html.haml +55 -0
- data/examples/css3/src/_base.sass +14 -0
- data/examples/css3/src/fancy-fonts.sass +7 -0
- data/examples/css3/src/gradient.sass +10 -0
- data/examples/css3/src/main.sass +80 -0
- data/examples/css3/stylesheets/fonts/Vtks Revolt.ttf +0 -0
- data/examples/css3/stylesheets/fonts/angelina.ttf +0 -0
- data/examples/downloader.rb +57 -0
- data/examples/ninesixty/bootstrap.rb +4 -0
- data/examples/ninesixty/config.rb +9 -0
- data/examples/ninesixty/extensions/ninesixty/README.mkdn +56 -0
- data/examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec +36 -0
- data/examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb +1 -0
- data/examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb +5 -0
- data/examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass +64 -0
- data/examples/ninesixty/extensions/ninesixty/sass/960/_text.sass +59 -0
- data/examples/ninesixty/extensions/ninesixty/templates/project/grid.sass +34 -0
- data/examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb +2 -0
- data/examples/ninesixty/extensions/ninesixty/templates/project/text.sass +10 -0
- data/examples/ninesixty/src/grid.sass +16 -0
- data/examples/ninesixty/src/text.sass +10 -0
- data/examples/susy/bootstrap.rb +3 -0
- data/examples/susy/config.rb +9 -0
- data/examples/susy/extensions/susy/LICENSE.txt +28 -0
- data/examples/susy/extensions/susy/README.mkdn +235 -0
- data/examples/susy/extensions/susy/compass-susy-plugin.gemspec +35 -0
- data/examples/susy/extensions/susy/docs/tutorial/build.sh +141 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass +100 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass +98 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass +147 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass +19 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass +147 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass +48 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb +14 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/grid.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/images/susy_logo.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/src/_base.sass +63 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl +1450 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass +100 -0
- data/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass +91 -0
- data/examples/susy/extensions/susy/docs/tutorial/figures/susy_element.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/figures/susy_grid.png +0 -0
- data/examples/susy/extensions/susy/docs/tutorial/index.mkdn +301 -0
- data/examples/susy/extensions/susy/lib/susy.rb +2 -0
- data/examples/susy/extensions/susy/lib/susy/compass_plugin.rb +5 -0
- data/examples/susy/extensions/susy/lib/susy/sass_extensions.rb +79 -0
- data/examples/susy/extensions/susy/sass/susy/_grid.sass +128 -0
- data/examples/susy/extensions/susy/sass/susy/_reset.sass +7 -0
- data/examples/susy/extensions/susy/sass/susy/_susy.sass +23 -0
- data/examples/susy/extensions/susy/sass/susy/_text.sass +15 -0
- data/examples/susy/extensions/susy/sass/susy/_utils.sass +81 -0
- data/examples/susy/extensions/susy/templates/project/_base.sass +62 -0
- data/examples/susy/extensions/susy/templates/project/_defaults.sass +147 -0
- data/examples/susy/extensions/susy/templates/project/ie.sass +9 -0
- data/examples/susy/extensions/susy/templates/project/manifest.rb +5 -0
- data/examples/susy/extensions/susy/templates/project/print.sass +7 -0
- data/examples/susy/extensions/susy/templates/project/screen.sass +44 -0
- data/examples/susy/src/_base.sass +62 -0
- data/examples/susy/src/_defaults.sass +148 -0
- data/examples/susy/src/screen.sass +114 -0
- data/examples/yui/bootstrap.rb +3 -0
- data/examples/yui/extensions/yui/stylesheets/_yui.sass +7 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass +45 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass +385 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass +61 -0
- data/examples/yui/extensions/yui/templates/project/manifest.rb +1 -0
- data/examples/yui/extensions/yui/templates/project/screen.sass +4 -0
- data/features/command_line.feature +226 -0
- data/features/extensions.feature +20 -0
- data/features/step_definitions/command_line_steps.rb +223 -0
- data/features/step_definitions/extension_steps.rb +13 -0
- data/lib/compass.rb +6 -7
- data/lib/compass/actions.rb +7 -1
- data/lib/compass/app_integration.rb +23 -4
- data/lib/compass/app_integration/merb.rb +1 -43
- data/lib/compass/app_integration/merb/runtime.rb +63 -0
- data/lib/compass/app_integration/rails.rb +24 -10
- data/lib/compass/app_integration/rails/configuration_defaults.rb +45 -0
- data/lib/compass/app_integration/rails/installer.rb +127 -0
- data/lib/compass/app_integration/rails/runtime.rb +14 -0
- data/lib/compass/app_integration/stand_alone.rb +22 -0
- data/lib/compass/app_integration/stand_alone/configuration_defaults.rb +28 -0
- data/lib/compass/app_integration/stand_alone/installer.rb +83 -0
- data/lib/compass/commands.rb +11 -0
- data/lib/compass/commands/base.rb +4 -1
- data/lib/compass/commands/create_project.rb +108 -5
- data/lib/compass/commands/generate_grid_background.rb +73 -6
- data/lib/compass/commands/help.rb +89 -0
- data/lib/compass/commands/installer_command.rb +20 -13
- data/lib/compass/commands/interactive.rb +61 -0
- data/lib/compass/commands/list_frameworks.rb +2 -2
- data/lib/compass/commands/print_version.rb +72 -4
- data/lib/compass/commands/project_base.rb +14 -34
- data/lib/compass/commands/project_stats.rb +162 -0
- data/lib/compass/commands/registry.rb +22 -0
- data/lib/compass/commands/stamp_pattern.rb +56 -3
- data/lib/compass/commands/update_project.rb +60 -6
- data/lib/compass/commands/validate_project.rb +62 -6
- data/lib/compass/commands/watch_project.rb +12 -5
- data/lib/compass/commands/write_configuration.rb +89 -4
- data/lib/compass/compiler.rb +13 -4
- data/lib/compass/configuration.rb +29 -310
- data/lib/compass/configuration/adapters.rb +59 -0
- data/lib/compass/configuration/comments.rb +22 -0
- data/lib/compass/configuration/data.rb +106 -0
- data/lib/compass/configuration/defaults.rb +138 -0
- data/lib/compass/configuration/helpers.rb +120 -0
- data/lib/compass/configuration/inheritance.rb +170 -0
- data/lib/compass/configuration/serialization.rb +86 -0
- data/lib/compass/dependencies.rb +4 -8
- data/lib/compass/errors.rb +4 -1
- data/lib/compass/exec.rb +11 -246
- data/lib/compass/exec/command_option_parser.rb +23 -0
- data/lib/compass/exec/global_options_parser.rb +37 -0
- data/lib/compass/exec/helpers.rb +28 -0
- data/lib/compass/exec/project_options_parser.rb +46 -0
- data/lib/compass/exec/sub_command_ui.rb +45 -0
- data/lib/compass/exec/switch_ui.rb +166 -0
- data/lib/compass/frameworks.rb +70 -7
- data/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass +31 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_buttons.sass +27 -27
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_colors.sass +0 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_debug.sass +2 -2
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_fancy_type.sass +19 -19
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_form.sass +56 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_grid.sass +34 -33
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass +99 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_interaction.sass +58 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_link_icons.sass +9 -9
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_liquid.sass +29 -29
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass +87 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_reset.sass +20 -18
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_rtl.sass +123 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_scaffolding.sass +6 -4
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_typography.sass +162 -0
- data/{frameworks/blueprint/stylesheets/blueprint/modules → lib/compass/frameworks/blueprint/stylesheets/blueprint}/_utilities.sass +15 -15
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +3 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +2 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +2 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons.sass +4 -4
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons/cross.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons/key.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/buttons/buttons/tick.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/buttons/manifest.rb +17 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons.sass +1 -1
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/doc.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/email.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/external.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/feed.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/im.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/visited.png +0 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/xls.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb +23 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/project/grid.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/project/ie.sass +16 -0
- data/lib/compass/frameworks/blueprint/templates/project/manifest.rb +32 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/project/partials/_base.sass +0 -0
- data/lib/compass/frameworks/blueprint/templates/project/print.sass +8 -0
- data/{frameworks → lib/compass/frameworks}/blueprint/templates/project/screen.sass +3 -2
- data/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml +21 -0
- data/lib/compass/frameworks/compass/stylesheets/_compass.sass +2 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/_css3.sass +14 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_layout.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_misc.sass +12 -12
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_reset.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/_utilities.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_clip.sass +16 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_origin.sass +18 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_background_size.sass +14 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_border_radius.sass +47 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass +20 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_box_sizing.sass +13 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_columns.sass +37 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_font_face.sass +31 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_gradient.sass +40 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_inline_block.sass +7 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_opacity.sass +18 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass +15 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transform.sass +62 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/css3/_transition.sass +57 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/layout/_sticky_footer.sass +9 -7
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_general.sass +0 -1
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_links.sass +1 -1
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_lists.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass +18 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +1 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_tables.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_text.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_clearfix.sass +7 -7
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_float.sass +2 -2
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_hacks.sass +2 -2
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_reset.sass +28 -28
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/links/_hover_link.sass +2 -2
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/links/_link_colors.sass +6 -6
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +7 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/lists/_bullets.sass +6 -6
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +6 -6
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/lists/_inline_list.sass +9 -9
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +52 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +20 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/text/_ellipsis.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/text/_nowrap.sass +1 -1
- data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/text/_replacement.sass +6 -6
- data/{frameworks → lib/compass/frameworks}/compass/templates/ellipsis/ellipsis.sass +0 -0
- data/lib/compass/frameworks/compass/templates/ellipsis/manifest.rb +27 -0
- data/{frameworks → lib/compass/frameworks}/compass/templates/ellipsis/xml/ellipsis.xml +0 -0
- data/lib/compass/frameworks/compass/templates/extension/manifest.rb +20 -0
- data/lib/compass/frameworks/compass/templates/extension/stylesheets/main.sass +1 -0
- data/lib/compass/frameworks/compass/templates/extension/templates/project/manifest.rb +2 -0
- data/lib/compass/frameworks/compass/templates/extension/templates/project/screen.sass +2 -0
- data/lib/compass/frameworks/compass/templates/project/USAGE.markdown +32 -0
- data/{frameworks → lib/compass/frameworks}/compass/templates/project/ie.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/templates/project/manifest.rb +1 -0
- data/{frameworks → lib/compass/frameworks}/compass/templates/project/print.sass +0 -0
- data/{frameworks → lib/compass/frameworks}/compass/templates/project/screen.sass +0 -0
- data/lib/compass/grid_builder.rb +15 -11
- data/lib/compass/installers.rb +3 -5
- data/lib/compass/installers/bare_installer.rb +58 -0
- data/lib/compass/installers/base.rb +40 -51
- data/lib/compass/installers/manifest.rb +55 -2
- data/lib/compass/installers/manifest_installer.rb +59 -0
- data/lib/compass/installers/template_context.rb +44 -0
- data/lib/compass/logger.rb +28 -2
- data/lib/compass/sass_extensions.rb +2 -2
- data/lib/compass/sass_extensions/functions.rb +4 -2
- data/lib/compass/sass_extensions/functions/color_stop.rb +10 -0
- data/lib/compass/sass_extensions/functions/font_files.rb +11 -0
- data/lib/compass/sass_extensions/functions/inline_image.rb +22 -1
- data/lib/compass/sass_extensions/functions/selectors.rb +4 -1
- data/lib/compass/sass_extensions/functions/urls.rb +22 -2
- data/lib/compass/sass_extensions/monkey_patches.rb +3 -3
- data/lib/compass/sass_extensions/monkey_patches/traversal.rb +23 -0
- data/lib/compass/stats.rb +92 -0
- data/lib/compass/validator.rb +2 -3
- data/lib/vendor/fssm/state.rb +1 -1
- data/test/command_line_helper.rb +19 -16
- data/test/command_line_test.rb +5 -4
- data/test/compass_test.rb +16 -15
- data/test/configuration_test.rb +24 -19
- data/test/fixtures/stylesheets/blueprint/css/typography.css +5 -3
- data/test/fixtures/stylesheets/blueprint/sass/screen.sass +1 -1
- data/test/fixtures/stylesheets/blueprint/sass/typography.sass +2 -2
- data/test/fixtures/stylesheets/compass/css/layout.css +2 -0
- data/test/fixtures/stylesheets/compass/css/print.css +2 -8
- data/test/fixtures/stylesheets/compass/css/reset.css +3 -3
- data/test/fixtures/stylesheets/image_urls/css/screen.css +2 -0
- data/test/fixtures/stylesheets/relative/assets/images/testing.png +0 -0
- data/test/fixtures/stylesheets/relative/config.rb +9 -0
- data/test/fixtures/stylesheets/relative/css/ie.css +1 -0
- data/test/fixtures/stylesheets/relative/css/print.css +1 -0
- data/test/fixtures/stylesheets/relative/css/screen.css +1 -0
- data/test/fixtures/stylesheets/relative/sass/ie.sass +6 -0
- data/test/fixtures/stylesheets/relative/sass/print.sass +6 -0
- data/test/fixtures/stylesheets/relative/sass/screen.sass +3 -0
- data/test/io_helper.rb +36 -0
- data/test/rails_helper.rb +40 -0
- data/test/rails_integration_test.rb +7 -44
- data/test/sass_extensions_test.rb +2 -2
- data/test/test_helper.rb +9 -2
- metadata +257 -110
- data/frameworks/blueprint.rb +0 -2
- data/frameworks/blueprint/stylesheets/_blueprint.sass +0 -3
- data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +0 -93
- data/frameworks/blueprint/stylesheets/blueprint/_print.sass +0 -83
- data/frameworks/blueprint/stylesheets/blueprint/_reset.sass +0 -3
- data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +0 -15
- data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +0 -55
- data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +0 -58
- data/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +0 -104
- data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +0 -155
- data/frameworks/blueprint/templates/buttons/manifest.rb +0 -5
- data/frameworks/blueprint/templates/link_icons/manifest.rb +0 -10
- data/frameworks/blueprint/templates/project/ie.sass +0 -15
- data/frameworks/blueprint/templates/project/manifest.rb +0 -6
- data/frameworks/blueprint/templates/project/print.sass +0 -3
- data/frameworks/compass.rb +0 -2
- data/frameworks/compass/stylesheets/_compass.sass +0 -1
- data/frameworks/compass/stylesheets/compass/utilities/_print.sass +0 -24
- data/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +0 -1
- data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +0 -6
- data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +0 -19
- data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +0 -5
- data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +0 -12
- data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +0 -20
- data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +0 -27
- data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +0 -9
- data/frameworks/compass/templates/ellipsis/manifest.rb +0 -2
- data/frameworks/yui.rb +0 -2
- data/frameworks/yui/stylesheets/yui/modules/_base.sass +0 -60
- data/lib/compass/installers/rails.rb +0 -135
- data/lib/compass/installers/stand_alone.rb +0 -60
- data/test/fixtures/stylesheets/yui/config.rb +0 -9
- data/test/fixtures/stylesheets/yui/css/mixins.css +0 -13
- data/test/fixtures/stylesheets/yui/sass/base.sass +0 -3
- data/test/fixtures/stylesheets/yui/sass/fonts.sass +0 -3
- data/test/fixtures/stylesheets/yui/sass/grids.sass +0 -3
- data/test/fixtures/stylesheets/yui/sass/mixins.sass +0 -16
@@ -7,7 +7,7 @@
|
|
7
7
|
=blueprint-utilities
|
8
8
|
// Regular clearing apply to column that should drop below previous ones.
|
9
9
|
.clear
|
10
|
-
:
|
10
|
+
clear: both
|
11
11
|
// turn off text wrapping for the element.
|
12
12
|
.nowrap
|
13
13
|
+nowrap
|
@@ -16,22 +16,22 @@
|
|
16
16
|
.clearfix
|
17
17
|
+clearfix
|
18
18
|
.small
|
19
|
-
|
20
|
-
|
21
|
-
|
19
|
+
font-size: .8em
|
20
|
+
margin-bottom: 1.875em
|
21
|
+
line-height: 1.875em
|
22
22
|
.large
|
23
|
-
|
24
|
-
|
25
|
-
|
23
|
+
font-size: 1.2em
|
24
|
+
line-height: 2.5em
|
25
|
+
margin-bottom: 1.25em
|
26
26
|
.first
|
27
|
-
|
28
|
-
|
27
|
+
margin-left: 0
|
28
|
+
padding-left: 0
|
29
29
|
.last
|
30
|
-
|
31
|
-
|
30
|
+
margin-right: 0
|
31
|
+
padding-right: 0
|
32
32
|
.top
|
33
|
-
|
34
|
-
|
33
|
+
margin-top: 0
|
34
|
+
padding-top: 0
|
35
35
|
.bottom
|
36
|
-
|
37
|
-
|
36
|
+
margin-bottom: 0
|
37
|
+
padding-bottom: 0
|
@@ -1,5 +1,5 @@
|
|
1
1
|
@import compass/utilities/general/float.sass
|
2
|
-
@import blueprint/
|
2
|
+
@import blueprint/buttons.sass
|
3
3
|
|
4
4
|
//
|
5
5
|
Use the following HTML code to place the buttons on your site:
|
@@ -23,7 +23,7 @@ a.button
|
|
23
23
|
+anchor-button("left")
|
24
24
|
// All the button color mixins take 4 optional arguments:
|
25
25
|
// font color, background color, border color, border highlight color
|
26
|
-
// the first three default to constants set in blueprint/
|
26
|
+
// the first three default to constants set in blueprint/buttons.sass
|
27
27
|
// the last one defaults to a shade lighter than the border color.
|
28
28
|
+button-colors
|
29
29
|
+button-hover-colors
|
@@ -38,12 +38,12 @@ button
|
|
38
38
|
|
39
39
|
// We can change the colors for buttons of certain classes, etc.
|
40
40
|
a.positive, button.positive
|
41
|
-
:
|
41
|
+
color: #529214
|
42
42
|
+button-hover-colors(#529214, #E6EFC2, #C6D880)
|
43
43
|
+button-active-colors(#FFF, #529214, #529214)
|
44
44
|
|
45
45
|
a.negative, button.negative
|
46
|
-
:
|
46
|
+
color: #D12F19
|
47
47
|
+button-hover-colors(#D12F19, #FBE3E4, #FBC2C4)
|
48
48
|
+button-active-colors(#FFF, #D12F19, #D12F19)
|
49
49
|
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,17 @@
|
|
1
|
+
description "Button Plugin"
|
2
|
+
stylesheet 'buttons.sass', :media => 'screen, projection'
|
3
|
+
|
4
|
+
image 'buttons/cross.png'
|
5
|
+
image 'buttons/key.png'
|
6
|
+
image 'buttons/tick.png'
|
7
|
+
|
8
|
+
help %Q{
|
9
|
+
To install the button plugin:
|
10
|
+
compass init --using blueprint/buttons
|
11
|
+
|
12
|
+
The buttons.sass file is just a recommendation to show you how to use the button mixins.
|
13
|
+
}
|
14
|
+
|
15
|
+
welcome_message %Q{
|
16
|
+
The buttons.sass file is just a recommendation to show you how to use the button mixins.
|
17
|
+
}
|
data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/doc.png
RENAMED
File without changes
|
data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/email.png
RENAMED
File without changes
|
data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/external.png
RENAMED
File without changes
|
data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/feed.png
RENAMED
File without changes
|
File without changes
|
data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/pdf.png
RENAMED
File without changes
|
data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/visited.png
RENAMED
File without changes
|
data/{frameworks → lib/compass/frameworks}/blueprint/templates/link_icons/link_icons/xls.png
RENAMED
File without changes
|
@@ -0,0 +1,23 @@
|
|
1
|
+
description "Icons for common types of links"
|
2
|
+
|
3
|
+
stylesheet "link_icons.sass", :media => 'screen, projection'
|
4
|
+
|
5
|
+
image 'link_icons/doc.png'
|
6
|
+
image 'link_icons/email.png'
|
7
|
+
image 'link_icons/external.png'
|
8
|
+
image 'link_icons/feed.png'
|
9
|
+
image 'link_icons/im.png'
|
10
|
+
image 'link_icons/pdf.png'
|
11
|
+
image 'link_icons/visited.png'
|
12
|
+
image 'link_icons/xls.png'
|
13
|
+
|
14
|
+
help %Q{
|
15
|
+
To install the link_icons plugin:
|
16
|
+
compass init --using blueprint/link_icons
|
17
|
+
|
18
|
+
The link_icons.sass file is just a recommendation to show you how to use the link mixins.
|
19
|
+
}
|
20
|
+
|
21
|
+
welcome_message %Q{
|
22
|
+
The link_icons.sass file is just a recommendation to show you how to use the link mixins.
|
23
|
+
}
|
File without changes
|
@@ -0,0 +1,16 @@
|
|
1
|
+
@import blueprint.sass
|
2
|
+
|
3
|
+
// To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
|
4
|
+
// +blueprint-ie
|
5
|
+
|
6
|
+
//Recommended Blueprint configuration with scoping and semantic layout:
|
7
|
+
body.bp
|
8
|
+
+blueprint-ie(true)
|
9
|
+
// Note: Blueprint centers text to fix IE6 container centering.
|
10
|
+
// This means all your texts will be centered under all version of IE by default.
|
11
|
+
// If your container does not have the .container class, don't forget to restore
|
12
|
+
// the correct behavior to your main container (but not the body tag!)
|
13
|
+
// Example:
|
14
|
+
// .my-container
|
15
|
+
// text-align: left
|
16
|
+
|
@@ -0,0 +1,32 @@
|
|
1
|
+
description "The blueprint framework."
|
2
|
+
|
3
|
+
stylesheet 'screen.sass', :media => 'screen, projection'
|
4
|
+
stylesheet 'partials/_base.sass'
|
5
|
+
stylesheet 'print.sass', :media => 'print'
|
6
|
+
stylesheet 'ie.sass', :media => 'screen, projection', :condition => "lt IE 8"
|
7
|
+
|
8
|
+
image 'grid.png'
|
9
|
+
|
10
|
+
html 'welcome.html.haml', :erb => true
|
11
|
+
|
12
|
+
help %Q{
|
13
|
+
Please see the blueprint website for documentation on how blueprint works:
|
14
|
+
|
15
|
+
http://blueprintcss.org/
|
16
|
+
|
17
|
+
Docs on the compass port of blueprint can be found on the wiki:
|
18
|
+
|
19
|
+
http://wiki.github.com/chriseppstein/compass/blueprint-documentation
|
20
|
+
}
|
21
|
+
|
22
|
+
welcome_message %Q{
|
23
|
+
Please see the blueprint website for documentation on how blueprint works:
|
24
|
+
|
25
|
+
http://blueprintcss.org/
|
26
|
+
|
27
|
+
Docs on the compass port of blueprint can be found on the wiki:
|
28
|
+
|
29
|
+
http://wiki.github.com/chriseppstein/compass/blueprint-documentation
|
30
|
+
|
31
|
+
To get started, edit the screen.sass file and read the comments and code there.
|
32
|
+
}
|
File without changes
|
@@ -5,15 +5,15 @@
|
|
5
5
|
// Import all the default blueprint modules so that we can access their mixins.
|
6
6
|
@import blueprint
|
7
7
|
// Import the non-default scaffolding module.
|
8
|
-
@import blueprint/
|
8
|
+
@import blueprint/scaffolding.sass
|
9
9
|
|
10
10
|
// To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
|
11
11
|
// +blueprint
|
12
12
|
|
13
13
|
//Recommended Blueprint configuration with scoping and semantic layout:
|
14
|
-
+blueprint-typography("body.bp")
|
15
14
|
+blueprint-scaffolding("body.bp")
|
16
15
|
body.bp
|
16
|
+
+blueprint-typography(true)
|
17
17
|
+blueprint-utilities
|
18
18
|
+blueprint-debug
|
19
19
|
+blueprint-interaction
|
@@ -38,3 +38,4 @@ body.three-col
|
|
38
38
|
!content_columns = ceil(2 * !blueprint_grid_columns / 3)
|
39
39
|
// true means it's the last column in the row
|
40
40
|
+column(!content_columns, true)
|
41
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
!!! Transition
|
2
|
+
/ Feel free to delete this, it's just here to act as an example
|
3
|
+
%html(xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en")
|
4
|
+
%head
|
5
|
+
%title Welcome to Compass & Blueprint
|
6
|
+
%link(rel="stylesheet" href="<%= http_stylesheets_path %>/screen.css" type="text/css" media="screen, projection")
|
7
|
+
%link(href="<%= http_stylesheets_path %>/print.css" media="print" rel="stylesheet" type="text/css")
|
8
|
+
/[if lt IE 8]
|
9
|
+
%link(href="<%= http_stylesheets_path %>/ie.css" media="screen, projection" rel="stylesheet" type="text/css")
|
10
|
+
%style(type="text/css")
|
11
|
+
:sass
|
12
|
+
@import blueprint.sass
|
13
|
+
body#welcome
|
14
|
+
#container
|
15
|
+
+container
|
16
|
+
h1
|
17
|
+
+column(24)
|
18
|
+
%body#welcome.bp
|
19
|
+
#container
|
20
|
+
%h1 Welcome to Compass!
|
21
|
+
%p This is <%= "ERB" %>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
@import css3/border_radius.sass
|
2
|
+
@import css3/inline_block.sass
|
3
|
+
@import css3/opacity.sass
|
4
|
+
@import css3/box_shadow.sass
|
5
|
+
@import css3/text_shadow.sass
|
6
|
+
@import css3/columns.sass
|
7
|
+
@import css3/box_sizing.sass
|
8
|
+
@import css3/gradient.sass
|
9
|
+
@import css3/background_clip.sass
|
10
|
+
@import css3/background_origin.sass
|
11
|
+
@import css3/background_size.sass
|
12
|
+
@import css3/font_face.sass
|
13
|
+
@import css3/transform.sass
|
14
|
+
@import css3/transition.sass
|
File without changes
|
@@ -6,19 +6,19 @@
|
|
6
6
|
Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
|
7
7
|
|
8
8
|
=unobtrusive-logo(!size = 1em)
|
9
|
-
|
10
|
-
|
11
|
-
:
|
9
|
+
font-family: Monaco, Courier, "Lucida Sans Unicode", monospace
|
10
|
+
font-size= !size
|
11
|
+
color: #888
|
12
12
|
.selector
|
13
|
-
|
14
|
-
|
13
|
+
vertical-align: middle
|
14
|
+
font-size= 1.3em
|
15
15
|
.brace
|
16
|
-
|
17
|
-
:
|
18
|
-
:
|
19
|
-
|
16
|
+
vertical-align: middle
|
17
|
+
font: bold 1.7em Georgia, "Times New Roman", serif
|
18
|
+
color: #CCC
|
19
|
+
margin= 0 -0.2em
|
20
20
|
.rule
|
21
|
-
|
22
|
-
|
21
|
+
vertical-align: middle
|
22
|
+
margin= 0 -0.2em
|
23
23
|
|
24
|
-
|
24
|
+
|
File without changes
|
File without changes
|
@@ -0,0 +1,16 @@
|
|
1
|
+
// Background Clip
|
2
|
+
// clip the background (image and color) at the edge of the padding or border
|
3
|
+
// - [padding-box | border-box]
|
4
|
+
// - browser defaults to border-box, mixin defaults to padding-box
|
5
|
+
|
6
|
+
// override constants to change defaults
|
7
|
+
!default_background_clip ||= "padding-box"
|
8
|
+
|
9
|
+
=background-clip(!clip = !default_background_clip)
|
10
|
+
// webkit and mozilla use the deprecated short [border | padding | content]
|
11
|
+
!deprecated= "padding"
|
12
|
+
@if !clip == "border-box"
|
13
|
+
!deprecated= "border"
|
14
|
+
background-clip= !clip
|
15
|
+
-webkit-background-clip= !deprecated
|
16
|
+
-moz-background-clip= !deprecated
|
@@ -0,0 +1,18 @@
|
|
1
|
+
// Background Origin
|
2
|
+
// position the background off the edge of the padding, border or content
|
3
|
+
// - [padding-box | border-box | content-box]
|
4
|
+
// - browser defaults to padding-box, mixin defaults to content-box
|
5
|
+
|
6
|
+
// override constants to change defaults
|
7
|
+
!default_background_origin ||= "content-box"
|
8
|
+
|
9
|
+
=background-origin(!origin = !default_background_origin)
|
10
|
+
// webkit and mozilla use the deprecated short [border | padding | content]
|
11
|
+
!deprecated= "padding"
|
12
|
+
@if !origin == "border-box"
|
13
|
+
!deprecated= "border"
|
14
|
+
@if !origin == "content-box"
|
15
|
+
!deprecated= "content"
|
16
|
+
background-origin= !origin
|
17
|
+
-webkit-background-origin= !deprecated
|
18
|
+
-moz-background-origin= !deprecated
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// Background Size
|
2
|
+
// Set the size of background images using px, width and height, or percentages
|
3
|
+
// - percentages are relative to the background-origin (default = padding-box)
|
4
|
+
// - mixin defaults to "100% auto"
|
5
|
+
|
6
|
+
// override constants to change defaults
|
7
|
+
!default_background_size ||= 100% "auto"
|
8
|
+
|
9
|
+
=background-size(!size = !default_background_size)
|
10
|
+
background-size= !size
|
11
|
+
-webkit-background-size= !size
|
12
|
+
-o-background-size= !size
|
13
|
+
-khtml-background-size= !size
|
14
|
+
-moz-background-size= !size
|
@@ -0,0 +1,47 @@
|
|
1
|
+
!default_border_radius ||= 5px
|
2
|
+
|
3
|
+
// Round all borders by amount
|
4
|
+
=border-radius(!radius = !default_border_radius)
|
5
|
+
border-radius= !radius
|
6
|
+
-moz-border-radius= !radius
|
7
|
+
-webkit-border-radius= !radius
|
8
|
+
|
9
|
+
// Round radius at position by amount.
|
10
|
+
// values for !vert: "top", "bottom"
|
11
|
+
// values for !horz: "left", "right
|
12
|
+
=border-corner-radius(!vert, !horz, !radius = !default_border_radius)
|
13
|
+
border-#{!vert}-#{!horz}-radius= !radius
|
14
|
+
-moz-border-radius-#{!vert}#{!horz}= !radius
|
15
|
+
-webkit-border-#{!vert}-#{!horz}-radius= !radius
|
16
|
+
|
17
|
+
=border-top-left-radius(!radius = !default_border_radius)
|
18
|
+
+border-corner-radius("top", "left", !radius)
|
19
|
+
|
20
|
+
=border-top-right-radius(!radius = !default_border_radius)
|
21
|
+
+border-corner-radius("top", "right", !radius)
|
22
|
+
|
23
|
+
=border-bottom-left-radius(!radius = !default_border_radius)
|
24
|
+
+border-corner-radius("bottom", "left", !radius)
|
25
|
+
|
26
|
+
=border-bottom-right-radius(!radius = !default_border_radius)
|
27
|
+
+border-corner-radius("bottom", "right", !radius)
|
28
|
+
|
29
|
+
// Round top corners by amount
|
30
|
+
=border-top-radius(!radius = !default_border_radius)
|
31
|
+
+border-top-left-radius(!radius)
|
32
|
+
+border-top-right-radius(!radius)
|
33
|
+
|
34
|
+
// Round right corners by amount
|
35
|
+
=border-right-radius(!radius = !default_border_radius)
|
36
|
+
+border-top-right-radius(!radius)
|
37
|
+
+border-bottom-right-radius(!radius)
|
38
|
+
|
39
|
+
// Round bottom corners by amount
|
40
|
+
=border-bottom-radius(!radius = !default_border_radius)
|
41
|
+
+border-bottom-left-radius(!radius)
|
42
|
+
+border-bottom-right-radius(!radius)
|
43
|
+
|
44
|
+
// Round left corners by amount
|
45
|
+
=border-left-radius(!radius = !default_border_radius)
|
46
|
+
+border-top-left-radius(!radius)
|
47
|
+
+border-bottom-left-radius(!radius)
|