compass 0.8.17 → 0.10.0.pre1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@import colors.sass
|
|
2
|
+
|
|
3
|
+
// Mixin for producing Blueprint "inline" forms. Should be used with the blueprint-form mixin.
|
|
4
|
+
=blueprint-inline-form
|
|
5
|
+
line-height: 3
|
|
6
|
+
p
|
|
7
|
+
margin-bottom: 0
|
|
8
|
+
|
|
9
|
+
=blueprint-form
|
|
10
|
+
+blueprint-form-layout
|
|
11
|
+
+blueprint-form-borders
|
|
12
|
+
+blueprint-form-sizes
|
|
13
|
+
|
|
14
|
+
=blueprint-form-layout
|
|
15
|
+
label
|
|
16
|
+
font-weight: bold
|
|
17
|
+
fieldset
|
|
18
|
+
padding: 1.4em
|
|
19
|
+
margin: 0 0 1.5em 0
|
|
20
|
+
legend
|
|
21
|
+
font-weight: bold
|
|
22
|
+
font-size: 1.2em
|
|
23
|
+
input
|
|
24
|
+
&.text, &.title, &[type=text], &[type=password]
|
|
25
|
+
margin: 0.5em 0
|
|
26
|
+
background-color: #fff
|
|
27
|
+
padding: 5px
|
|
28
|
+
&.title
|
|
29
|
+
font-size: 1.5em
|
|
30
|
+
&[type=checkbox], &.checkbox,
|
|
31
|
+
&[type=radio], &.radio
|
|
32
|
+
position: relative
|
|
33
|
+
top: 0.25em
|
|
34
|
+
textarea
|
|
35
|
+
margin: 0.5em 0
|
|
36
|
+
padding: 5px
|
|
37
|
+
select
|
|
38
|
+
margin: 0.5em 0
|
|
39
|
+
|
|
40
|
+
=blueprint-form-sizes(!input_width = 300px, !textarea_width = 390px, !textarea_height = 250px)
|
|
41
|
+
input
|
|
42
|
+
&.text, &.title, &[type=text], &[type=password]
|
|
43
|
+
width= !input_width
|
|
44
|
+
textarea
|
|
45
|
+
width= !textarea_width
|
|
46
|
+
height= !textarea_height
|
|
47
|
+
|
|
48
|
+
=blueprint-form-borders(!unfocused_border_color = #bbb, !focus_border_color = #666, !fieldset_border_color = #ccc)
|
|
49
|
+
fieldset
|
|
50
|
+
border= 1px "solid" !fieldset_border_color
|
|
51
|
+
input.text, input.title, input[type=text], input[type=password],
|
|
52
|
+
textarea,
|
|
53
|
+
select
|
|
54
|
+
border= 1px "solid" !unfocused_border_color
|
|
55
|
+
&:focus
|
|
56
|
+
border= 1px "solid" !focus_border_color
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
+span(!n)
|
|
42
42
|
.span-#{!blueprint_grid_columns}, div.span-#{!blueprint_grid_columns}
|
|
43
43
|
+span(!blueprint_grid_columns)
|
|
44
|
-
:
|
|
44
|
+
margin: 0
|
|
45
45
|
input, textarea, select
|
|
46
46
|
@for !n from 1 through !blueprint_grid_columns
|
|
47
47
|
&.span-#{!n}
|
|
@@ -76,30 +76,30 @@
|
|
|
76
76
|
// Note: If you use this mixin without the class and want to support ie6
|
|
77
77
|
// you must set text-align left on your container element in an IE stylesheet.
|
|
78
78
|
=container
|
|
79
|
-
|
|
80
|
-
:
|
|
79
|
+
width= !blueprint_container_size
|
|
80
|
+
margin: 0 auto
|
|
81
81
|
+clearfix
|
|
82
82
|
|
|
83
83
|
// The last column in a row needs this mixin or it will end up on the next row.
|
|
84
84
|
// TODO add this to span mixin when we have optional arguments
|
|
85
85
|
=last
|
|
86
|
-
|
|
86
|
+
margin-right: 0
|
|
87
87
|
|
|
88
88
|
=span(!n, !override = false)
|
|
89
89
|
!width = !blueprint_grid_width * !n + (!blueprint_grid_margin * (!n - 1))
|
|
90
90
|
@if !override
|
|
91
|
-
|
|
91
|
+
width= !width !important
|
|
92
92
|
@else
|
|
93
|
-
|
|
93
|
+
width= !width
|
|
94
94
|
|
|
95
95
|
=column-base(!last = false)
|
|
96
96
|
+float-left
|
|
97
97
|
@if !last
|
|
98
98
|
+last
|
|
99
99
|
@else
|
|
100
|
-
|
|
100
|
+
margin-right= !blueprint_grid_margin
|
|
101
101
|
* html &
|
|
102
|
-
|
|
102
|
+
overflow-x: hidden
|
|
103
103
|
|
|
104
104
|
// Use this mixins to set the width of n columns.
|
|
105
105
|
=column(!n, !last = false)
|
|
@@ -109,27 +109,27 @@
|
|
|
109
109
|
|
|
110
110
|
// Mixin to a column to append n empty cols.
|
|
111
111
|
=append(!n)
|
|
112
|
-
|
|
112
|
+
padding-right= (!blueprint_grid_outer_width) * !n
|
|
113
113
|
|
|
114
114
|
// Mixin to a column to prepend n empty cols.
|
|
115
115
|
=prepend(!n)
|
|
116
|
-
|
|
116
|
+
padding-left= (!blueprint_grid_outer_width) * !n
|
|
117
117
|
|
|
118
118
|
=append-bottom(!amount = 1.5em)
|
|
119
|
-
|
|
119
|
+
margin-bottom= !amount
|
|
120
120
|
|
|
121
121
|
=prepend-top(!amount = 1.5em)
|
|
122
|
-
|
|
122
|
+
margin-top= !amount
|
|
123
123
|
|
|
124
124
|
=pull-base
|
|
125
125
|
+float-left
|
|
126
|
-
:
|
|
126
|
+
position: relative
|
|
127
127
|
|
|
128
128
|
=pull-margins(!n, !last = false)
|
|
129
129
|
@if !last
|
|
130
|
-
|
|
130
|
+
margin-left= (-!blueprint_grid_outer_width * !n) + !blueprint_grid_margin
|
|
131
131
|
@else
|
|
132
|
-
|
|
132
|
+
margin-left= -!blueprint_grid_outer_width * !n
|
|
133
133
|
|
|
134
134
|
// mixin to a column to move it n columns to the left
|
|
135
135
|
=pull(!n, !last = false)
|
|
@@ -138,10 +138,10 @@
|
|
|
138
138
|
|
|
139
139
|
=push-base
|
|
140
140
|
+float-right
|
|
141
|
-
:
|
|
141
|
+
position: relative
|
|
142
142
|
|
|
143
143
|
=push-margins(!n)
|
|
144
|
-
|
|
144
|
+
margin= 0 (-!blueprint_grid_outer_width * !n) 1.5em (!blueprint_grid_outer_width * !n)
|
|
145
145
|
|
|
146
146
|
// mixin to a column to push it n columns to the right
|
|
147
147
|
=push(!n)
|
|
@@ -150,29 +150,30 @@
|
|
|
150
150
|
|
|
151
151
|
// Border on right hand side of a column.
|
|
152
152
|
=border(!border_color = #eee, !border_width = 1px)
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
padding-right= !blueprint_grid_margin / 2 - !border_width
|
|
154
|
+
margin-right= !blueprint_grid_margin / 2
|
|
155
|
+
border-right: #{!border_width} solid #{!border_color}
|
|
156
156
|
|
|
157
157
|
// Border with more whitespace, spans one column.
|
|
158
158
|
=colborder(!border_color = #eee, !border_width = 1px)
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
159
|
+
padding-right= floor((!blueprint_grid_width + 2 * !blueprint_grid_margin - !border_width)/2)
|
|
160
|
+
margin-right= ceil((!blueprint_grid_width + 2 * !blueprint_grid_margin - !border_width)/2)
|
|
161
|
+
border-right: #{!border_width} solid #{!border_color}
|
|
162
162
|
|
|
163
163
|
// Mixin this to an hr to make a horizontal ruler across a column.
|
|
164
164
|
=colruler(!border_color = #ddd)
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
:
|
|
168
|
-
:
|
|
169
|
-
:
|
|
170
|
-
:
|
|
171
|
-
:
|
|
172
|
-
:
|
|
165
|
+
background= !border_color
|
|
166
|
+
color= !border_color
|
|
167
|
+
clear: both
|
|
168
|
+
float: none
|
|
169
|
+
width: 100%
|
|
170
|
+
height: .1em
|
|
171
|
+
margin: 0 0 1.45em
|
|
172
|
+
border: none
|
|
173
173
|
|
|
174
174
|
// Mixin this to an hr to make a horizontal spacer across a column.
|
|
175
175
|
=colspacer
|
|
176
176
|
+colruler
|
|
177
|
-
:
|
|
178
|
-
:
|
|
177
|
+
background: #fff
|
|
178
|
+
color: #fff
|
|
179
|
+
visibility: hidden
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// The blueprint IE mixins should be mixed into a stylesheet that gets conditionally included
|
|
2
|
+
// into IE like so:
|
|
3
|
+
// <!--[if lt IE 8]><link rel="stylesheet" href="ie.css"
|
|
4
|
+
// type="text/css" media="screen, projection"><![endif]-->
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
// Usage examples:
|
|
8
|
+
// As a top-level mixin, apply to any page that includes the stylesheet:
|
|
9
|
+
// +blueprint-ie
|
|
10
|
+
// Scoped by a presentational class:
|
|
11
|
+
// body.blueprint
|
|
12
|
+
// +blueprint-ie(true)
|
|
13
|
+
// Scoped by semantic selectors:
|
|
14
|
+
// body#page-1, body#page-2, body.a-special-page-type
|
|
15
|
+
// +blueprint-ie(true)
|
|
16
|
+
// Deprecated:
|
|
17
|
+
// You can pass the body selector as the first argument when used as a top-level mixin
|
|
18
|
+
// +blueprint-ie("body#page-1, body#page-2, body.a-special-page-type")
|
|
19
|
+
=blueprint-ie(!body_selector = "body")
|
|
20
|
+
@if !body_selector == true
|
|
21
|
+
+blueprint-ie-body
|
|
22
|
+
+blueprint-ie-defaults
|
|
23
|
+
@else
|
|
24
|
+
#{!body_selector}
|
|
25
|
+
+blueprint-ie-body
|
|
26
|
+
@if !body_selector != "body"
|
|
27
|
+
@debug "[DEPRECATED] To specify a the selector \"#{!body_selector}\" to +blueprint-ie, pass true as the first argument and mix it into #{!body_selector}."
|
|
28
|
+
+blueprint-ie-defaults
|
|
29
|
+
@if !body_selector == "body"
|
|
30
|
+
+blueprint-ie-defaults
|
|
31
|
+
|
|
32
|
+
=blueprint-ie-body
|
|
33
|
+
text-align: center
|
|
34
|
+
+blueprint-ie-hacks
|
|
35
|
+
|
|
36
|
+
=blueprint-ie-hacks
|
|
37
|
+
* html &
|
|
38
|
+
legend
|
|
39
|
+
margin: 0px -8px 16px 0
|
|
40
|
+
padding: 0
|
|
41
|
+
html>&
|
|
42
|
+
p code
|
|
43
|
+
*white-space: normal
|
|
44
|
+
|
|
45
|
+
// Fixes for Blueprint "inline" forms in IE
|
|
46
|
+
=blueprint-inline-form-ie
|
|
47
|
+
div, p
|
|
48
|
+
vertical-align: middle
|
|
49
|
+
label
|
|
50
|
+
position: relative
|
|
51
|
+
top: -0.25em
|
|
52
|
+
input
|
|
53
|
+
&.checkbox, &.radio, &.button, button
|
|
54
|
+
margin: 0.5em 0
|
|
55
|
+
|
|
56
|
+
=blueprint-ie-defaults
|
|
57
|
+
.container
|
|
58
|
+
text-align: left
|
|
59
|
+
sup
|
|
60
|
+
vertical-align: text-top
|
|
61
|
+
sub
|
|
62
|
+
vertical-align: text-bottom
|
|
63
|
+
hr
|
|
64
|
+
margin: -8px auto 11px
|
|
65
|
+
img
|
|
66
|
+
-ms-interpolation-mode: bicubic
|
|
67
|
+
fieldset
|
|
68
|
+
padding-top: 0
|
|
69
|
+
textarea
|
|
70
|
+
overflow: auto
|
|
71
|
+
input
|
|
72
|
+
&.text
|
|
73
|
+
margin: 0.5em 0
|
|
74
|
+
background-color: #fff
|
|
75
|
+
border: 1px solid #bbb
|
|
76
|
+
&:focus
|
|
77
|
+
border: 1px solid #666
|
|
78
|
+
&.title
|
|
79
|
+
margin: 0.5em 0
|
|
80
|
+
background-color: #fff
|
|
81
|
+
border: 1px solid #bbb
|
|
82
|
+
&:focus
|
|
83
|
+
border: 1px solid #666
|
|
84
|
+
&.checkbox
|
|
85
|
+
position: relative
|
|
86
|
+
top: 0.25em
|
|
87
|
+
&.radio
|
|
88
|
+
position: relative
|
|
89
|
+
top: 0.25em
|
|
90
|
+
&.button
|
|
91
|
+
position: relative
|
|
92
|
+
top: 0.25em
|
|
93
|
+
textarea
|
|
94
|
+
margin: 0.5em 0
|
|
95
|
+
select
|
|
96
|
+
margin: 0.5em 0
|
|
97
|
+
button
|
|
98
|
+
position: relative
|
|
99
|
+
top: 0.25em
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
@import colors.sass
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
=blueprint-interaction
|
|
5
|
+
.error
|
|
6
|
+
+error
|
|
7
|
+
.notice
|
|
8
|
+
+notice
|
|
9
|
+
.success
|
|
10
|
+
+success
|
|
11
|
+
.hide
|
|
12
|
+
display: none
|
|
13
|
+
.highlight
|
|
14
|
+
+highlight
|
|
15
|
+
.added
|
|
16
|
+
+added
|
|
17
|
+
.removed
|
|
18
|
+
+removed
|
|
19
|
+
|
|
20
|
+
=feedback-base
|
|
21
|
+
padding: .8em
|
|
22
|
+
margin-bottom: 1em
|
|
23
|
+
border= 2px "solid" !feedback_border_color
|
|
24
|
+
|
|
25
|
+
=error
|
|
26
|
+
+feedback-base
|
|
27
|
+
background= !error_bg_color
|
|
28
|
+
color= !error_color
|
|
29
|
+
border-color= !error_border_color
|
|
30
|
+
a
|
|
31
|
+
color= !error_color
|
|
32
|
+
|
|
33
|
+
=notice
|
|
34
|
+
+feedback-base
|
|
35
|
+
background= !notice_bg_color
|
|
36
|
+
color= !notice_color
|
|
37
|
+
border-color= !notice_border_color
|
|
38
|
+
a
|
|
39
|
+
color= !notice_color
|
|
40
|
+
|
|
41
|
+
=success
|
|
42
|
+
+feedback-base
|
|
43
|
+
background= !success_bg_color
|
|
44
|
+
color= !success_color
|
|
45
|
+
border-color= !success_border_color
|
|
46
|
+
a
|
|
47
|
+
color= !success_color
|
|
48
|
+
|
|
49
|
+
=highlight
|
|
50
|
+
background= !highlight_color
|
|
51
|
+
|
|
52
|
+
=added
|
|
53
|
+
background= !added_bg_color
|
|
54
|
+
color= !added_color
|
|
55
|
+
|
|
56
|
+
=removed
|
|
57
|
+
background= !removed_bg_color
|
|
58
|
+
color= !removed_color
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
=no-link-icon
|
|
2
|
-
:
|
|
3
|
-
:
|
|
4
|
-
:
|
|
2
|
+
background: transparent none !important
|
|
3
|
+
padding: 0 !important
|
|
4
|
+
margin: 0 !important
|
|
5
5
|
|
|
6
6
|
=link-icon-base
|
|
7
|
-
:
|
|
8
|
-
:
|
|
9
|
-
|
|
10
|
-
|
|
7
|
+
padding: 2px 22px 2px 0
|
|
8
|
+
margin: -2px 0
|
|
9
|
+
background-repeat: no-repeat
|
|
10
|
+
background-position: right center
|
|
11
11
|
|
|
12
12
|
=link-icon(!name, !include_base = true)
|
|
13
13
|
@if !include_base
|
|
14
14
|
+link-icon-base
|
|
15
|
-
|
|
15
|
+
background-image= image_url("link_icons/#{!name}")
|
|
16
16
|
|
|
17
17
|
=link-icons
|
|
18
18
|
a[href^="http:"],
|
|
@@ -41,4 +41,4 @@
|
|
|
41
41
|
a[href$=".rdf"]
|
|
42
42
|
+link-icon("feed.png", false)
|
|
43
43
|
a[href^="aim:"]
|
|
44
|
-
+link-icon("im.png", false)
|
|
44
|
+
+link-icon("im.png", false)
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
// To use:
|
|
29
29
|
// This module is a REPLACEMENT for the grid module. Simply import it:
|
|
30
30
|
// @import blueprint.sass
|
|
31
|
-
// @import blueprint/
|
|
31
|
+
// @import blueprint/liquid.sass
|
|
32
32
|
// -------------------------------------------------------------------
|
|
33
33
|
|
|
34
34
|
@import compass/utilities/general/float.sass
|
|
@@ -76,66 +76,66 @@
|
|
|
76
76
|
+push(!n)
|
|
77
77
|
|
|
78
78
|
=container
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
:
|
|
79
|
+
min-width= !blueprint_liquid_container_min_width
|
|
80
|
+
width= !blueprint_liquid_container_width
|
|
81
|
+
margin: 0 auto
|
|
82
82
|
+clearfix
|
|
83
83
|
|
|
84
84
|
=span(!n, !override = false)
|
|
85
85
|
!width = (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1)
|
|
86
86
|
@if !override
|
|
87
|
-
|
|
87
|
+
width= !width !important
|
|
88
88
|
@else
|
|
89
|
-
|
|
89
|
+
width= !width
|
|
90
90
|
|
|
91
91
|
=last
|
|
92
|
-
|
|
92
|
+
margin-right: 0
|
|
93
93
|
|
|
94
94
|
=column(!n, !last = false)
|
|
95
95
|
+float-left
|
|
96
|
-
:
|
|
96
|
+
overflow: hidden
|
|
97
97
|
+span(!n)
|
|
98
98
|
@if !last
|
|
99
99
|
+last
|
|
100
100
|
@else
|
|
101
|
-
|
|
101
|
+
margin-right= !blueprint_liquid_grid_margin
|
|
102
102
|
|
|
103
103
|
=append(!n)
|
|
104
|
-
|
|
104
|
+
padding-right= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1)
|
|
105
105
|
|
|
106
106
|
=prepend(!n)
|
|
107
|
-
|
|
107
|
+
padding-left= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1)
|
|
108
108
|
|
|
109
109
|
=pull(!n, !last = false)
|
|
110
|
-
|
|
110
|
+
margin-left= (!blueprint_liquid_grid_push_pull * !n)
|
|
111
111
|
|
|
112
112
|
=push(!n)
|
|
113
113
|
+float-right
|
|
114
|
-
:
|
|
115
|
-
:
|
|
116
|
-
:
|
|
117
|
-
|
|
118
|
-
:
|
|
114
|
+
margin:
|
|
115
|
+
top: 0
|
|
116
|
+
left: 1.5em
|
|
117
|
+
right= (!blueprint_liquid_grid_push_pull * !n)
|
|
118
|
+
bottom: 0
|
|
119
119
|
|
|
120
120
|
=border
|
|
121
|
-
|
|
121
|
+
border-right: 1px solid #eee
|
|
122
122
|
|
|
123
123
|
=colborder
|
|
124
|
-
|
|
125
|
-
|
|
124
|
+
padding-right: 2%
|
|
125
|
+
margin-right: 2%
|
|
126
126
|
+border
|
|
127
127
|
|
|
128
128
|
=colruler
|
|
129
|
-
:
|
|
130
|
-
:
|
|
131
|
-
:
|
|
132
|
-
:
|
|
133
|
-
:
|
|
134
|
-
:
|
|
135
|
-
:
|
|
129
|
+
background: #ddd
|
|
130
|
+
color: #ddd
|
|
131
|
+
clear: both
|
|
132
|
+
width: 100%
|
|
133
|
+
height: 0.083em
|
|
134
|
+
margin: 0 0 1.583em
|
|
135
|
+
border: none
|
|
136
136
|
|
|
137
137
|
=colspacer
|
|
138
138
|
+colruler
|
|
139
|
-
:
|
|
140
|
-
:
|
|
139
|
+
background: #fff
|
|
140
|
+
color: #fff
|
|
141
141
|
|