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
@@ -0,0 +1,20 @@
|
|
1
|
+
//**
|
2
|
+
Provides cross-browser css box shadows for Webkit, Gecko, and CSS3 standard
|
3
|
+
arguments are color, horizontal offset, vertical offset, and blur
|
4
|
+
|
5
|
+
//**
|
6
|
+
These defaults make the arguments optional for this mixin
|
7
|
+
If you like, set different defaults in your project
|
8
|
+
|
9
|
+
!default_box_shadow_color ||= #333
|
10
|
+
!default_box_shadow_h_offset ||= 1px
|
11
|
+
!default_box_shadow_v_offset ||= 1px
|
12
|
+
!default_box_shadow_blur ||= 5px
|
13
|
+
|
14
|
+
=box-shadow(!color = !default_box_shadow_color, !hoff = !default_box_shadow_h_offset, !voff = !default_box_shadow_v_offset, !blur = !default_box_shadow_blur)
|
15
|
+
/* Webkit (Safari, Chrome) */
|
16
|
+
-webkit-box-shadow= !color !hoff !voff !blur
|
17
|
+
/* Gecko (Firefox, Camino) */
|
18
|
+
-moz-box-shadow= !color !hoff !voff !blur
|
19
|
+
/* CSS3 */
|
20
|
+
box-shadow= !color !hoff !voff !blur
|
@@ -0,0 +1,13 @@
|
|
1
|
+
//**
|
2
|
+
Change the box model for Mozilla, Webkit, IE8 and the future
|
3
|
+
@param !bs
|
4
|
+
[ content-box | border-box ]
|
5
|
+
=box-sizing(!bs)
|
6
|
+
/* Mozilla (FireFox, Camino)
|
7
|
+
-moz-box-sizing= !bs
|
8
|
+
/* Webkit (Safari, Chrome)
|
9
|
+
-webkit-box-sizing= !bs
|
10
|
+
/* IE (8)
|
11
|
+
-ms-box-sizing= !bs
|
12
|
+
/* CSS3
|
13
|
+
box-sizing= !bs
|
@@ -0,0 +1,37 @@
|
|
1
|
+
//**
|
2
|
+
CSS3 columns for Mozilla, Webkit and the Future
|
3
|
+
|
4
|
+
=column-count(!n)
|
5
|
+
-moz-column-count= !n
|
6
|
+
-webkit-column-count= !n
|
7
|
+
column-count= !n
|
8
|
+
|
9
|
+
=column-gap(!u)
|
10
|
+
-moz-column-gap= !u
|
11
|
+
-webkit-column-gap= !u
|
12
|
+
column-gap= !u
|
13
|
+
|
14
|
+
=column-width(!u)
|
15
|
+
-moz-column-width= !u
|
16
|
+
-webkit-column-width= !u
|
17
|
+
column-width= !u
|
18
|
+
|
19
|
+
=column-rule-width(!w)
|
20
|
+
-moz-column-rule-width= !w
|
21
|
+
-webkit-column-rule-width= !w
|
22
|
+
column-rule-width= !w
|
23
|
+
|
24
|
+
=column-rule-style(!s)
|
25
|
+
-moz-column-rule-style= !s
|
26
|
+
-webkit-column-rule-style= !s
|
27
|
+
column-rule-style= !s
|
28
|
+
|
29
|
+
=column-rule-color(!c)
|
30
|
+
-moz-column-rule-color= !c
|
31
|
+
-webkit-column-rule-color= !c
|
32
|
+
column-rule-color= !c
|
33
|
+
|
34
|
+
=column-rule(!w, !s = "solid", !c = " ")
|
35
|
+
+column-rule-width(!w)
|
36
|
+
+column-rule-style(!s)
|
37
|
+
+column-rule-color(!c)
|
@@ -0,0 +1,31 @@
|
|
1
|
+
// @Font-Face
|
2
|
+
// Cross-browser support for @font-face
|
3
|
+
// - !name is required, arbitrary, and what you will use in font stacks.
|
4
|
+
// - !font_files is required using font_files('relative_location', 'format').
|
5
|
+
// - for best results use this order: woff, opentype/truetype, svg
|
6
|
+
// - !eot is required by IE, and is a relative location of the eot file.
|
7
|
+
// - postscript name is required by some browsers to look for local fonts.
|
8
|
+
=font-face( !name, !font_files, !eot = false, !postscript = false, !style = false)
|
9
|
+
@font-face
|
10
|
+
font-family: '#{!name}'
|
11
|
+
@if !style
|
12
|
+
font-style= !style
|
13
|
+
@if !eot
|
14
|
+
src= stylesheet_url(!eot)
|
15
|
+
@if !postscript
|
16
|
+
src: local('#{!name}'), local('#{!postscript}'), #{!font_files}
|
17
|
+
@else
|
18
|
+
src: local('#{!name}'), #{!font_files}
|
19
|
+
|
20
|
+
// EXAMPLE
|
21
|
+
+font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "fonts/this.eot", "thisname")
|
22
|
+
|
23
|
+
will generate:
|
24
|
+
|
25
|
+
@font-face {
|
26
|
+
font-family: 'this name';
|
27
|
+
src: url('fonts/this.eot');
|
28
|
+
src: local('this name'), local('thisname'),
|
29
|
+
url('this.otf') format('woff'),
|
30
|
+
url('this.woff') format('opentype');
|
31
|
+
}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
=gradient(!type, !coords, !color_start, !color_end, !color_stop = false)
|
2
|
+
!gradient= "#{!coords}, from(#{!color_start}), to(#{!color_end})"
|
3
|
+
@if !color_stop
|
4
|
+
!gradient= !gradient + ", " + !color_stop
|
5
|
+
background: -webkit-gradient(#{!type}, #{!gradient})
|
6
|
+
background: -moz-#{!type}-gradient(#{!gradient})
|
7
|
+
|
8
|
+
//*
|
9
|
+
// This will yeild a radial gradient with an apparent specular highlight
|
10
|
+
+radial-gradient("45 45, 10, 52 50, 30", Cyan, DodgerBlue)
|
11
|
+
|
12
|
+
=radial-gradient(!coords, !color1, !color2, !color_stop = false)
|
13
|
+
+gradient("radial", !coords, !color1, !color2, !color_stop)
|
14
|
+
|
15
|
+
//*
|
16
|
+
// This yields a linear gradient spanning from !start to !end coordinates
|
17
|
+
+linear-gradient("left top", "left bottom", #fff, #ddd)
|
18
|
+
|
19
|
+
=linear-gradient(!start, !end, !color1, !color2, !color_stop = false)
|
20
|
+
!coords = !start + ", " + !end
|
21
|
+
+gradient("linear", !coords, !color1, !color2, !color_stop)
|
22
|
+
|
23
|
+
//*
|
24
|
+
// This yields a gradient starting at the top with #fff, ending in #aaa
|
25
|
+
+v-gradient(#fff, #aaa)
|
26
|
+
// Same as above but with a #ccc at the halfway point
|
27
|
+
+v-gradient(#fff, #aaa, color_stop(50%, #ccc))
|
28
|
+
// Same as the first example but with #ccc at the 30% from the top, and #bbb at 70% from the top
|
29
|
+
+v-gradient(#fff, #aaa, color_stop(30%, #ccc, 70%, #bbb))
|
30
|
+
|
31
|
+
=v-gradient(!color1, !color2, !color_stop = false)
|
32
|
+
+linear-gradient("left top", "left bottom", !color1, !color2, !color_stop)
|
33
|
+
|
34
|
+
//*
|
35
|
+
// This yields a horizontal linear gradient spanning from left to right
|
36
|
+
// It can be used just like v-gradient above
|
37
|
+
h-gradient(#fff, #ddd)
|
38
|
+
|
39
|
+
=h-gradient(!color1, !color2, !color_stop = false)
|
40
|
+
+linear-gradient("left top", "right top", !color1, !color2, !color_stop)
|
@@ -0,0 +1,18 @@
|
|
1
|
+
//**
|
2
|
+
Provides cross-browser css opacity.
|
3
|
+
@param !opacity
|
4
|
+
A number between 0 and 1, where 0 is transparent and 1 is opaque.
|
5
|
+
=opacity(!opacity)
|
6
|
+
opacity= !opacity
|
7
|
+
-moz-opacity= !opacity
|
8
|
+
-khtml-opacity= !opacity
|
9
|
+
-ms-filter= "progid:DXImageTransform.Microsoft.Alpha(Opacity=" + round(!opacity*100) + ")"
|
10
|
+
filter= "alpha(opacity=" + round(!opacity*100) + ")"
|
11
|
+
|
12
|
+
// Make an element completely transparent.
|
13
|
+
=transparent
|
14
|
+
+opacity(0)
|
15
|
+
|
16
|
+
// Make an element completely opaque.
|
17
|
+
=opaque
|
18
|
+
+opacity(1)
|
@@ -0,0 +1,15 @@
|
|
1
|
+
//**
|
2
|
+
Provides css text shadows
|
3
|
+
arguments are color, horizontal offset, vertical offset, and blur
|
4
|
+
|
5
|
+
//**
|
6
|
+
These defaults make the arguments optional for this mixin
|
7
|
+
If you like, set different defaults in your project
|
8
|
+
|
9
|
+
!default_text_shadow_color ||= #aaa
|
10
|
+
!default_text_shadow_h_offset ||= 1px
|
11
|
+
!default_text_shadow_v_offset ||= 1px
|
12
|
+
!default_text_shadow_blur ||= 1px
|
13
|
+
|
14
|
+
=text-shadow(!color = !default_text_shadow_color, !hoff = !default_text_shadow_h_offset, !voff = !default_text_shadow_v_offset, !blur = !default_text_shadow_blur)
|
15
|
+
text-shadow= !color !hoff !voff !blur
|
@@ -0,0 +1,62 @@
|
|
1
|
+
// CSS Transform and Transform-Origin
|
2
|
+
|
3
|
+
// Apply a transform sent as a complete string
|
4
|
+
=apply-transform(!transform = false)
|
5
|
+
transform= !transform
|
6
|
+
-webkit-transform= !transform
|
7
|
+
-moz-transform= !transform
|
8
|
+
|
9
|
+
// Apply a transform-origin sent as a complete string
|
10
|
+
=apply-origin(!origin = false)
|
11
|
+
transform-origin= !origin
|
12
|
+
-webkit-transform-origin= !origin
|
13
|
+
-moz-transform-origin= !origin
|
14
|
+
|
15
|
+
// transform-origin requires x and y coordinates
|
16
|
+
// - only applies the coordinates if they are there
|
17
|
+
// so that it can be called by scale, rotate and skew safely
|
18
|
+
=transform-origin(!originx = 50%, !originy = 50%)
|
19
|
+
!origin = false
|
20
|
+
@if !originx and !originy
|
21
|
+
!origin = "#{!originx} #{!originy}"
|
22
|
+
@else if !originx
|
23
|
+
!origin = "#{!originx}"
|
24
|
+
@else if !originy
|
25
|
+
!origin = "#{!originy}"
|
26
|
+
@if !origin
|
27
|
+
+apply-origin(!origin)
|
28
|
+
|
29
|
+
// A full transform mixin with everything you could want
|
30
|
+
// - including origin adjustments if you want them
|
31
|
+
// - scale, rotate and skew don't require units
|
32
|
+
// scale takes a multiplier, rotate and skew take degrees
|
33
|
+
=transform(!scale = 1, !rotate = 0, !transx = 0, !transy = 0, !skewx = 0, !skewy = 0, !originx = false, !originy = false)
|
34
|
+
!transform = "scale(#{!scale}) rotate(#{!rotate}deg) translate(#{!transx}, #{!transy}) skew(#{!skewx}deg, #{!skewy}deg)"
|
35
|
+
+apply-transform(!transform)
|
36
|
+
+transform-origin(!originx, !originy)
|
37
|
+
|
38
|
+
// Transform Partials
|
39
|
+
// These work well on their own, but they don't add to each other, they override
|
40
|
+
// Use them with extra origin args, or along side +transform-origin
|
41
|
+
|
42
|
+
// adjust only the scale
|
43
|
+
// - with optional origin coordinates
|
44
|
+
=scale(!scale = 1.25, !originx = false, !originy = false)
|
45
|
+
+apply-transform("scale(#{!scale})")
|
46
|
+
+transform-origin(!originx, !originy)
|
47
|
+
|
48
|
+
// adjust only the rotation
|
49
|
+
// - with optional origin coordinates
|
50
|
+
=rotate(!rotate = 45, !originx = false, !originy = false)
|
51
|
+
+apply-transform("rotate(#{!rotate}deg)")
|
52
|
+
+transform-origin(!originx, !originy)
|
53
|
+
|
54
|
+
// adjust only the translation
|
55
|
+
=translate(!transx = 0, !transy = 0)
|
56
|
+
+apply-transform("translate(#{!transx}, #{!transy})")
|
57
|
+
|
58
|
+
// adjust only the skew
|
59
|
+
// - with optional origin coordinates
|
60
|
+
=skew(!skewx = 0, !skewy = 0, !originx = false, !originy = false)
|
61
|
+
+apply-transform("skew(#{!skewx}deg, #{!skewy}deg)")
|
62
|
+
+transform-origin(!originx, !originy)
|
@@ -0,0 +1,57 @@
|
|
1
|
+
// CSS Transitions
|
2
|
+
// Currently only works in Webkit
|
3
|
+
// - expected in CSS3, FireFox 3.6/7 and Opera Presto 2.3
|
4
|
+
// - we'll be prepared.
|
5
|
+
|
6
|
+
// Override these defaults with your own, if you like
|
7
|
+
// - timing-function and delay are set to false for browser defaults (ease, 0s)
|
8
|
+
!default_transition_property ||= "all"
|
9
|
+
!default_transition_duration ||= 1s
|
10
|
+
!default_transition_function ||= false
|
11
|
+
!default_transition_delay ||= false
|
12
|
+
|
13
|
+
// One or more properties to transition
|
14
|
+
// - for multiple, use a comma-delimited list
|
15
|
+
// - also accepts "all" or "none"
|
16
|
+
=transition-property(!properties = !default_transition_property)
|
17
|
+
transition-property = !properties
|
18
|
+
-webkit-transition-property = !properties
|
19
|
+
-moz-transition-property = !properties
|
20
|
+
-o-transition-property = !properties
|
21
|
+
|
22
|
+
// One or more durrations in seconds
|
23
|
+
// - for multiple, use a comma-delimited list
|
24
|
+
// - these durrations will effect the properties in the same list position
|
25
|
+
=transition-duration(!duration = !default_transition_duration)
|
26
|
+
transition-duration = !duration
|
27
|
+
-webkit-transition-duration = !duration
|
28
|
+
-moz-transition-duration = !duration
|
29
|
+
-o-transition-duration = !duration
|
30
|
+
|
31
|
+
// One or more timing functions
|
32
|
+
// - [ ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier(x1, y1, x2, y2)]
|
33
|
+
// - for multiple, use a comma-delimited list
|
34
|
+
// - these functions will effect the properties in the same list position
|
35
|
+
=transition-timing-function(!function = !default_transition_function)
|
36
|
+
transition-timing-function = !function
|
37
|
+
-webkit-transition-timing-function = !function
|
38
|
+
-moz-transition-timing-function = !function
|
39
|
+
-o-transition-timing-function = !function
|
40
|
+
|
41
|
+
// One or more transition-delays in seconds
|
42
|
+
// - for multiple, use a comma-delimited list
|
43
|
+
// - these delays will effect the properties in the same list position
|
44
|
+
=transition-delay(!delay = !default_transition_delay)
|
45
|
+
transition-delay = !delay
|
46
|
+
-webkit-transition-delay = !delay
|
47
|
+
-moz-transition-delay = !delay
|
48
|
+
-o-transition-delay = !delay
|
49
|
+
|
50
|
+
// Transition all-in-one shorthand
|
51
|
+
=transition(!properties = !default_transition_property, !duration = !default_transition_duration, !function = !default_transition_function, !delay = !default_transition_delay)
|
52
|
+
+transition-property(!properties)
|
53
|
+
+transition-duration(!duration)
|
54
|
+
@if !function
|
55
|
+
+transition-timing-function(!function)
|
56
|
+
@if !delay
|
57
|
+
+transition-delay(!delay)
|
data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/layout/_sticky_footer.sass
RENAMED
@@ -5,13 +5,15 @@
|
|
5
5
|
|
6
6
|
=sticky-footer(!footer_height, !root_selector = "#root", !root_footer_selector = "#root_footer", !footer_selector = "#footer")
|
7
7
|
html, body
|
8
|
-
:
|
8
|
+
height: 100%
|
9
9
|
#{!root_selector}
|
10
|
-
|
11
|
-
:
|
10
|
+
min-height: 100%
|
11
|
+
height: auto !important
|
12
|
+
height: 100%
|
13
|
+
margin-bottom= -!footer_height
|
12
14
|
#{!root_footer_selector}
|
13
|
-
|
15
|
+
height= !footer_height
|
14
16
|
#{!footer_selector}
|
15
|
-
:
|
16
|
-
:
|
17
|
-
|
17
|
+
clear: both
|
18
|
+
position: relative
|
19
|
+
height= !footer_height
|
data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_lists.sass
RENAMED
File without changes
|
@@ -0,0 +1,18 @@
|
|
1
|
+
// Classes that are useful for controlling what gets printed.
|
2
|
+
// You must mix +print-utilities into your print stylesheet
|
3
|
+
// and +print-utilities("screen") into your screen stylesheet.
|
4
|
+
// Note: these aren't semantic.
|
5
|
+
=print-utilities(!media = "print")
|
6
|
+
@if !media == "print"
|
7
|
+
.noprint,
|
8
|
+
.no-print
|
9
|
+
display: none
|
10
|
+
#{elements_of_type("block")}
|
11
|
+
&.print-only
|
12
|
+
display: block
|
13
|
+
#{elements_of_type("inline")}
|
14
|
+
&.print-only
|
15
|
+
display: inline
|
16
|
+
@else
|
17
|
+
.print-only
|
18
|
+
display: none
|
@@ -0,0 +1 @@
|
|
1
|
+
@import sprites/sprite_img.sass
|
data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/_tables.sass
RENAMED
File without changes
|
File without changes
|
@@ -6,7 +6,7 @@
|
|
6
6
|
Recommendations include using this in conjunction with a width:
|
7
7
|
http://www.quirksmode.org/blog/archives/2005/03/clearing_floats.html
|
8
8
|
=clearfix
|
9
|
-
:
|
9
|
+
overflow: hidden
|
10
10
|
+has-layout
|
11
11
|
|
12
12
|
//**
|
@@ -15,10 +15,10 @@
|
|
15
15
|
http://www.positioniseverything.net/easyclearing.html
|
16
16
|
=pie-clearfix
|
17
17
|
&:after
|
18
|
-
:
|
19
|
-
:
|
20
|
-
:
|
21
|
-
:
|
22
|
-
:
|
23
|
-
:
|
18
|
+
content: " "
|
19
|
+
display: block
|
20
|
+
height: 0
|
21
|
+
clear: both
|
22
|
+
overflow: hidden
|
23
|
+
visibility: hidden
|
24
24
|
+has-layout
|
data/{frameworks → lib/compass/frameworks}/compass/stylesheets/compass/utilities/general/_reset.sass
RENAMED
@@ -33,7 +33,7 @@
|
|
33
33
|
q, blockquote
|
34
34
|
+reset-quotation
|
35
35
|
|
36
|
-
img
|
36
|
+
a img
|
37
37
|
+reset-image-anchor-border
|
38
38
|
|
39
39
|
|
@@ -57,52 +57,52 @@
|
|
57
57
|
q, blockquote
|
58
58
|
+reset-quotation
|
59
59
|
|
60
|
-
img
|
60
|
+
a img
|
61
61
|
+reset-image-anchor-border
|
62
62
|
|
63
63
|
//Mixins partials
|
64
64
|
=reset-box-model
|
65
|
-
:
|
66
|
-
:
|
67
|
-
:
|
68
|
-
:
|
65
|
+
margin: 0
|
66
|
+
padding: 0
|
67
|
+
border: 0
|
68
|
+
outline: 0
|
69
69
|
|
70
70
|
=reset-font
|
71
|
-
:
|
72
|
-
:
|
73
|
-
:
|
74
|
-
:
|
75
|
-
:
|
76
|
-
|
71
|
+
font:
|
72
|
+
weight: inherit
|
73
|
+
style: inherit
|
74
|
+
size: 100%
|
75
|
+
family: inherit
|
76
|
+
vertical-align: baseline
|
77
77
|
|
78
78
|
=reset-focus
|
79
|
-
:
|
79
|
+
outline: 0
|
80
80
|
|
81
81
|
=reset-body
|
82
|
-
|
83
|
-
:
|
84
|
-
:
|
82
|
+
line-height: 1em
|
83
|
+
color: #000
|
84
|
+
background: #fff
|
85
85
|
|
86
86
|
=reset-list-style
|
87
|
-
|
87
|
+
list-style: none
|
88
88
|
|
89
89
|
=reset-table
|
90
|
-
|
91
|
-
|
92
|
-
|
90
|
+
border-collapse: separate
|
91
|
+
border-spacing: 0
|
92
|
+
vertical-align: middle
|
93
93
|
|
94
94
|
=reset-table-cell
|
95
|
-
|
96
|
-
|
97
|
-
|
95
|
+
text-align: left
|
96
|
+
font-weight: normal
|
97
|
+
vertical-align: middle
|
98
98
|
|
99
99
|
=reset-quotation
|
100
|
-
:
|
100
|
+
quotes: "" ""
|
101
101
|
&:before, &:after
|
102
|
-
:
|
102
|
+
content: ""
|
103
103
|
|
104
104
|
=reset-image-anchor-border
|
105
|
-
:
|
105
|
+
border: none
|
106
106
|
|
107
107
|
=reset-html5
|
108
108
|
section, article, aside, header, footer, nav, dialog, figure
|
@@ -115,7 +115,7 @@
|
|
115
115
|
Usage Example:
|
116
116
|
// Turn off the display for both of these classes
|
117
117
|
.unregistered-only, .registered-only
|
118
|
-
:
|
118
|
+
display: none
|
119
119
|
// Now turn only one of them back on depending on some other context.
|
120
120
|
body.registered
|
121
121
|
+reset-display(".registered-only")
|
@@ -131,4 +131,4 @@
|
|
131
131
|
@if !important
|
132
132
|
display: block !important
|
133
133
|
@else
|
134
|
-
display: block
|
134
|
+
display: block
|