compass 0.10.0.rc1 → 0.10.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +23 -0
- data/Rakefile +13 -1
- data/VERSION.yml +1 -1
- data/examples/blueprint_default/src/ie.scss +3 -0
- data/examples/blueprint_default/src/print.scss +3 -0
- data/examples/blueprint_default/src/{screen.sass → screen.scss} +6 -5
- data/examples/blueprint_plugins/src/buttons.scss +47 -0
- data/examples/blueprint_plugins/src/ie.scss +3 -0
- data/examples/blueprint_plugins/src/{link_icons.sass → link_icons.scss} +7 -7
- data/examples/blueprint_plugins/src/print.scss +3 -0
- data/examples/blueprint_plugins/src/rtl_screen.scss +15 -0
- data/examples/blueprint_plugins/src/screen.scss +12 -0
- data/examples/blueprint_scoped/src/ie.scss +4 -0
- data/examples/blueprint_scoped/src/print.scss +4 -0
- data/examples/blueprint_scoped/src/screen.scss +5 -0
- data/examples/blueprint_scoped_form/src/ie.scss +3 -0
- data/examples/blueprint_scoped_form/src/print.scss +3 -0
- data/examples/blueprint_scoped_form/src/screen.scss +15 -0
- data/examples/blueprint_semantic/src/ie.scss +3 -0
- data/examples/blueprint_semantic/src/liquid.scss +69 -0
- data/examples/blueprint_semantic/src/print.scss +3 -0
- data/examples/blueprint_semantic/src/screen.scss +69 -0
- data/examples/compass/clean.rb +2 -0
- data/examples/compass/src/compass.scss +46 -0
- data/examples/compass/src/sticky_footer.scss +11 -0
- data/examples/compass/src/utilities.scss +108 -0
- data/examples/css3/src/_base.scss +13 -0
- data/examples/css3/src/fancy-fonts.scss +7 -0
- data/examples/css3/src/gradients.scss +77 -0
- data/examples/css3/src/main.scss +110 -0
- data/examples/logo/src/ie.scss +5 -0
- data/examples/logo/src/print.scss +3 -0
- data/examples/logo/src/screen.scss +28 -0
- data/examples/ninesixty/clean.rb +2 -0
- data/examples/ninesixty/config.rb +1 -0
- data/examples/ninesixty/src/grid.scss +15 -0
- data/examples/ninesixty/src/text.scss +8 -0
- data/examples/susy/clean.rb +2 -0
- data/examples/susy/config.rb +1 -0
- data/examples/susy/{extensions/susy/templates/project/_base.sass → src/_base.scss} +19 -20
- data/examples/susy/src/_defaults.scss +140 -0
- data/examples/susy/src/screen.scss +100 -0
- data/examples/yui/clean.rb +2 -0
- data/examples/yui/config.rb +1 -0
- data/examples/yui/src/screen.scss +13 -0
- data/features/command_line.feature +29 -26
- data/frameworks/_blueprint_deprecated_imports/stylesheets/_blueprint.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_buttons.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_colors.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_debug.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_fancy_type.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_form.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_grid.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_ie.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_interaction.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_link_icons.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_liquid.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_print.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_reset.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_rtl.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_scaffolding.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_screen.sass +2 -0
- data/frameworks/{blueprint → _blueprint_deprecated_imports}/stylesheets/blueprint/_typography.sass +3 -3
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/_utilities.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_buttons.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_colors.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_debug.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_fancy_type.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_form.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_grid.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_interaction.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_link_icons.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_liquid.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_reset.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_rtl.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_scaffolding.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_typography.sass +2 -0
- data/frameworks/_blueprint_deprecated_imports/stylesheets/blueprint/modules/_utilities.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/_compass.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/_css3.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/_layout.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/_misc.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/_reset.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/_utilities.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_background_clip.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_background_origin.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_background_size.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_border_radius.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_box_shadow.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_box_sizing.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_columns.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_font_face.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_gradient.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_inline_block.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_opacity.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_text_shadow.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_transform.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/css3/_transition.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/layout/_sticky_footer.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_general.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_links.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_lists.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_print.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_sprites.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_tables.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/_text.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/general/_clearfix.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/general/_float.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/general/_hacks.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/general/_min.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/general/_reset.sass +2 -0
- data/frameworks/{compass → _compass_deprecated_imports}/stylesheets/compass/utilities/general/_tabs.sass +0 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/general/_tag_cloud.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/links/_hover_link.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/links/_link_colors.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/links/_unstyled_link.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/lists/_bullets.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/lists/_horizontal_list.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/lists/_inline_list.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/sprites/_sprite_img.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/tables/_borders.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/tables/_scaffolding.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/text/_ellipsis.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/text/_nowrap.sass +2 -0
- data/frameworks/_compass_deprecated_imports/stylesheets/compass/utilities/text/_replacement.sass +2 -0
- data/frameworks/blueprint/stylesheets/_blueprint.scss +38 -0
- data/frameworks/blueprint/stylesheets/blueprint/_buttons.scss +89 -0
- data/frameworks/blueprint/stylesheets/blueprint/_colors.scss +51 -0
- data/frameworks/blueprint/stylesheets/blueprint/_debug.scss +8 -0
- data/frameworks/blueprint/stylesheets/blueprint/_fancy-type.scss +80 -0
- data/frameworks/blueprint/stylesheets/blueprint/_form.scss +56 -0
- data/frameworks/blueprint/stylesheets/blueprint/_grid.scss +244 -0
- data/frameworks/blueprint/stylesheets/blueprint/_ie.scss +108 -0
- data/frameworks/blueprint/stylesheets/blueprint/_interaction.scss +57 -0
- data/frameworks/blueprint/stylesheets/blueprint/_link-icons.scss +44 -0
- data/frameworks/blueprint/stylesheets/blueprint/_liquid.scss +146 -0
- data/frameworks/blueprint/stylesheets/blueprint/_print.scss +85 -0
- data/frameworks/blueprint/stylesheets/blueprint/_reset.scss +58 -0
- data/frameworks/blueprint/stylesheets/blueprint/_rtl.scss +122 -0
- data/frameworks/blueprint/stylesheets/blueprint/{_scaffolding.sass → _scaffolding.scss} +27 -26
- data/frameworks/blueprint/stylesheets/blueprint/_typography.scss +164 -0
- data/frameworks/blueprint/stylesheets/blueprint/_utilities.scss +37 -0
- data/frameworks/blueprint/templates/basic/grid.png +0 -0
- data/frameworks/blueprint/templates/basic/ie.sass +4 -0
- data/frameworks/blueprint/templates/basic/manifest.rb +30 -0
- data/frameworks/blueprint/templates/basic/partials/_base.sass +10 -0
- data/frameworks/blueprint/templates/basic/print.sass +4 -0
- data/frameworks/blueprint/templates/basic/screen.sass +11 -0
- data/frameworks/blueprint/templates/buttons/buttons.sass +2 -2
- data/frameworks/blueprint/templates/link_icons/link_icons.sass +1 -1
- data/frameworks/blueprint/templates/project/ie.sass +1 -1
- data/frameworks/blueprint/templates/project/print.sass +1 -1
- data/frameworks/blueprint/templates/project/screen.sass +4 -4
- data/frameworks/blueprint/templates/semantic/grid.png +0 -0
- data/frameworks/blueprint/templates/semantic/ie.sass +16 -0
- data/frameworks/blueprint/templates/semantic/manifest.rb +33 -0
- data/frameworks/blueprint/templates/semantic/partials/_base.sass +11 -0
- data/frameworks/blueprint/templates/semantic/partials/_form.sass +6 -0
- data/frameworks/blueprint/templates/semantic/partials/_page.sass +18 -0
- data/frameworks/blueprint/templates/semantic/partials/_two_col.sass +38 -0
- data/frameworks/blueprint/templates/semantic/print.sass +8 -0
- data/frameworks/blueprint/templates/semantic/screen.sass +14 -0
- data/frameworks/compass/stylesheets/_compass.scss +2 -0
- data/frameworks/compass/stylesheets/compass/_css3.scss +14 -0
- data/frameworks/compass/stylesheets/compass/_layout.scss +1 -0
- data/frameworks/compass/stylesheets/compass/_misc.scss +21 -0
- data/frameworks/compass/stylesheets/compass/_reset.scss +3 -0
- data/frameworks/compass/stylesheets/compass/_utilities.scss +6 -0
- data/frameworks/compass/stylesheets/compass/css3/_background-clip.scss +24 -0
- data/frameworks/compass/stylesheets/compass/css3/_background-origin.scss +24 -0
- data/frameworks/compass/stylesheets/compass/css3/_background-size.scss +15 -0
- data/frameworks/compass/stylesheets/compass/css3/_border-radius.scss +58 -0
- data/frameworks/compass/stylesheets/compass/css3/_box-shadow.scss +27 -0
- data/frameworks/compass/stylesheets/compass/css3/_box-sizing.scss +14 -0
- data/frameworks/compass/stylesheets/compass/css3/_columns.scss +50 -0
- data/frameworks/compass/stylesheets/compass/css3/_font-face.scss +32 -0
- data/frameworks/compass/stylesheets/compass/css3/_gradient.scss +57 -0
- data/frameworks/compass/stylesheets/compass/css3/_inline-block.scss +13 -0
- data/frameworks/compass/stylesheets/compass/css3/_opacity.scss +19 -0
- data/frameworks/compass/stylesheets/compass/css3/_text-shadow.scss +18 -0
- data/frameworks/compass/stylesheets/compass/css3/_transform.scss +64 -0
- data/frameworks/compass/stylesheets/compass/css3/_transition.scss +77 -0
- data/frameworks/compass/stylesheets/compass/layout/_sticky-footer.scss +23 -0
- data/frameworks/compass/stylesheets/compass/utilities/_general.scss +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/_links.scss +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_lists.scss +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_print.scss +18 -0
- data/frameworks/compass/stylesheets/compass/utilities/_sprites.scss +1 -0
- data/frameworks/compass/stylesheets/compass/utilities/_tables.scss +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_text.scss +2 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.scss +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/{_float.sass → _float.scss} +9 -9
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.scss +13 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_min.scss +16 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_reset.scss +122 -0
- data/frameworks/{blueprint/stylesheets/blueprint/docs/_colors.sass.html → compass/stylesheets/compass/utilities/general/_tabs.scss} +0 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_tag-cloud.scss +18 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_hover-link.scss +5 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_link-colors.scss +22 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled-link.scss +7 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.scss +22 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal-list.scss +55 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/{_inline_list.sass → _inline-list.scss} +17 -17
- data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite-img.scss +54 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss +20 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.scss +27 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.scss +9 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.scss +12 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/{_nowrap.sass → _nowrap.scss} +2 -2
- data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.scss +21 -0
- data/frameworks/compass/templates/ellipsis/ellipsis.sass +1 -1
- data/frameworks/compass/templates/project/screen.sass +1 -1
- data/lib/compass/commands/create_project.rb +4 -0
- data/lib/compass/commands/help.rb +1 -0
- data/lib/compass/commands/list_frameworks.rb +1 -1
- data/lib/compass/commands/stamp_pattern.rb +4 -0
- data/lib/compass/configuration.rb +2 -1
- data/lib/compass/configuration/defaults.rb +3 -0
- data/lib/compass/frameworks.rb +2 -1
- data/lib/compass/installers/base.rb +14 -1
- data/lib/compass/logger.rb +8 -7
- data/lib/compass/stats.rb +1 -1
- data/test/command_line_test.rb +9 -8
- data/test/fixtures/stylesheets/blueprint/css/typography.css +4 -4
- data/test/fixtures/stylesheets/blueprint/sass/ie.sass +1 -1
- data/test/fixtures/stylesheets/blueprint/sass/print.sass +1 -1
- data/test/fixtures/stylesheets/blueprint/sass/screen.sass +2 -1
- data/test/fixtures/stylesheets/blueprint/sass/typography.sass +1 -1
- data/test/fixtures/stylesheets/compass/css/gradients.css +4 -4
- data/test/fixtures/stylesheets/compass/css/reset.css +2 -2
- data/test/fixtures/stylesheets/compass/sass/gradients.sass +40 -23
- data/test/fixtures/stylesheets/compass/sass/image_size.sass +11 -8
- data/test/fixtures/stylesheets/compass/sass/layout.sass +2 -2
- data/test/fixtures/stylesheets/compass/sass/print.sass +2 -2
- data/test/fixtures/stylesheets/compass/sass/reset.sass +6 -4
- data/test/fixtures/stylesheets/compass/sass/utilities.sass +2 -1
- data/test/fixtures/stylesheets/image_urls/sass/screen.sass +2 -3
- data/test/fixtures/stylesheets/relative/sass/ie.sass +5 -6
- data/test/fixtures/stylesheets/relative/sass/print.sass +3 -6
- data/test/fixtures/stylesheets/relative/sass/screen.sass +1 -2
- data/test/rails_integration_test.rb +2 -2
- metadata +209 -211
- data/examples/blueprint_default/src/ie.sass +0 -3
- data/examples/blueprint_default/src/print.sass +0 -3
- data/examples/blueprint_plugins/src/buttons.sass +0 -49
- data/examples/blueprint_plugins/src/ie.sass +0 -3
- data/examples/blueprint_plugins/src/print.sass +0 -3
- data/examples/blueprint_plugins/src/rtl_screen.sass +0 -13
- data/examples/blueprint_plugins/src/screen.sass +0 -11
- data/examples/blueprint_scoped/src/ie.sass +0 -4
- data/examples/blueprint_scoped/src/print.sass +0 -4
- data/examples/blueprint_scoped/src/screen.sass +0 -5
- data/examples/blueprint_scoped_form/src/ie.sass +0 -3
- data/examples/blueprint_scoped_form/src/print.sass +0 -3
- data/examples/blueprint_scoped_form/src/screen.sass +0 -10
- data/examples/blueprint_semantic/src/ie.sass +0 -3
- data/examples/blueprint_semantic/src/liquid.sass +0 -69
- data/examples/blueprint_semantic/src/print.sass +0 -3
- data/examples/blueprint_semantic/src/screen.sass +0 -70
- data/examples/compass/extensions/yui/stylesheets/_yui.sass +0 -7
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_base.sass +0 -70
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_fonts.sass +0 -45
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_grids.sass +0 -385
- data/examples/compass/extensions/yui/stylesheets/yui/modules/_reset.sass +0 -61
- data/examples/compass/extensions/yui/templates/project/manifest.rb +0 -1
- data/examples/compass/extensions/yui/templates/project/screen.sass +0 -4
- data/examples/compass/src/compass.sass +0 -47
- data/examples/compass/src/sticky_footer.sass +0 -11
- data/examples/compass/src/utilities.sass +0 -108
- data/examples/css3/src/_base.sass +0 -14
- data/examples/css3/src/fancy-fonts.sass +0 -7
- data/examples/css3/src/gradients.sass +0 -69
- data/examples/css3/src/main.sass +0 -108
- data/examples/logo/src/ie.sass +0 -6
- data/examples/logo/src/print.sass +0 -6
- data/examples/logo/src/screen.sass +0 -29
- data/examples/ninesixty/extensions/ninesixty/README.mkdn +0 -56
- data/examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec +0 -36
- data/examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb +0 -1
- data/examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb +0 -5
- data/examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass +0 -64
- data/examples/ninesixty/extensions/ninesixty/sass/960/_text.sass +0 -59
- data/examples/ninesixty/extensions/ninesixty/templates/project/grid.sass +0 -34
- data/examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb +0 -2
- data/examples/ninesixty/extensions/ninesixty/templates/project/text.sass +0 -10
- data/examples/ninesixty/src/grid.sass +0 -16
- data/examples/ninesixty/src/text.sass +0 -10
- data/examples/susy/extensions/susy/LICENSE.txt +0 -28
- data/examples/susy/extensions/susy/README.mkdn +0 -235
- data/examples/susy/extensions/susy/compass-susy-plugin.gemspec +0 -35
- data/examples/susy/extensions/susy/docs/tutorial/build.sh +0 -141
- data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/_defaults.sass +0 -100
- data/examples/susy/extensions/susy/docs/tutorial/code/01_target/src/screen.sass +0 -98
- data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/_defaults.sass +0 -147
- data/examples/susy/extensions/susy/docs/tutorial/code/02_container/src/screen.sass +0 -19
- data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/_defaults.sass +0 -147
- data/examples/susy/extensions/susy/docs/tutorial/code/03_structure/src/screen.sass +0 -48
- data/examples/susy/extensions/susy/docs/tutorial/code/_common/config.rb +0 -14
- 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 +0 -63
- data/examples/susy/extensions/susy/docs/tutorial/code/_tools/Markdown.pl +0 -1450
- data/examples/susy/extensions/susy/docs/tutorial/code/site/src/_defaults.sass +0 -100
- data/examples/susy/extensions/susy/docs/tutorial/code/site/src/screen.sass +0 -91
- 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 +0 -301
- data/examples/susy/extensions/susy/lib/susy.rb +0 -2
- data/examples/susy/extensions/susy/lib/susy/compass_plugin.rb +0 -5
- data/examples/susy/extensions/susy/lib/susy/sass_extensions.rb +0 -79
- data/examples/susy/extensions/susy/sass/susy/_grid.sass +0 -128
- data/examples/susy/extensions/susy/sass/susy/_reset.sass +0 -7
- data/examples/susy/extensions/susy/sass/susy/_susy.sass +0 -23
- data/examples/susy/extensions/susy/sass/susy/_text.sass +0 -15
- data/examples/susy/extensions/susy/sass/susy/_utils.sass +0 -81
- data/examples/susy/extensions/susy/templates/project/_defaults.sass +0 -147
- data/examples/susy/extensions/susy/templates/project/ie.sass +0 -9
- data/examples/susy/extensions/susy/templates/project/manifest.rb +0 -5
- data/examples/susy/extensions/susy/templates/project/print.sass +0 -7
- data/examples/susy/extensions/susy/templates/project/screen.sass +0 -44
- data/examples/susy/src/_base.sass +0 -62
- data/examples/susy/src/_defaults.sass +0 -148
- data/examples/susy/src/screen.sass +0 -114
- data/examples/yui/extensions/yui/stylesheets/_yui.sass +0 -7
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass +0 -70
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass +0 -45
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass +0 -385
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass +0 -61
- data/examples/yui/extensions/yui/templates/project/manifest.rb +0 -1
- data/examples/yui/extensions/yui/templates/project/screen.sass +0 -4
- data/examples/yui/src/screen.sass +0 -13
- data/frameworks/blueprint/stylesheets/_blueprint.sass +0 -31
- data/frameworks/blueprint/stylesheets/blueprint/_buttons.sass +0 -84
- data/frameworks/blueprint/stylesheets/blueprint/_colors.sass +0 -33
- data/frameworks/blueprint/stylesheets/blueprint/_debug.sass +0 -9
- data/frameworks/blueprint/stylesheets/blueprint/_fancy_type.sass +0 -82
- data/frameworks/blueprint/stylesheets/blueprint/_form.sass +0 -56
- data/frameworks/blueprint/stylesheets/blueprint/_grid.sass +0 -179
- data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +0 -99
- data/frameworks/blueprint/stylesheets/blueprint/_interaction.sass +0 -58
- data/frameworks/blueprint/stylesheets/blueprint/_link_icons.sass +0 -44
- data/frameworks/blueprint/stylesheets/blueprint/_liquid.sass +0 -143
- data/frameworks/blueprint/stylesheets/blueprint/_print.sass +0 -87
- data/frameworks/blueprint/stylesheets/blueprint/_reset.sass +0 -58
- data/frameworks/blueprint/stylesheets/blueprint/_rtl.sass +0 -123
- data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +0 -2
- data/frameworks/blueprint/stylesheets/blueprint/_utilities.sass +0 -37
- data/frameworks/blueprint/stylesheets/blueprint/docs/_buttons.sass.html +0 -26
- data/frameworks/blueprint/stylesheets/blueprint/docs/_debug.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/_fancy_type.sass.html +0 -45
- data/frameworks/blueprint/stylesheets/blueprint/docs/_form.sass.html +0 -3
- data/frameworks/blueprint/stylesheets/blueprint/docs/_grid.sass.html +0 -46
- data/frameworks/blueprint/stylesheets/blueprint/docs/_ie.sass.html +0 -7
- data/frameworks/blueprint/stylesheets/blueprint/docs/_interaction.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/_link_icons.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/_liquid.sass.html +0 -7
- data/frameworks/blueprint/stylesheets/blueprint/docs/_print.sass.html +0 -7
- data/frameworks/blueprint/stylesheets/blueprint/docs/_reset.sass.html +0 -7
- data/frameworks/blueprint/stylesheets/blueprint/docs/_rtl.sass.html +0 -38
- data/frameworks/blueprint/stylesheets/blueprint/docs/_scaffolding.sass.html +0 -11
- data/frameworks/blueprint/stylesheets/blueprint/docs/_screen.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/_typography.sass.html +0 -3
- data/frameworks/blueprint/stylesheets/blueprint/docs/_utilities.sass.html +0 -3
- data/frameworks/blueprint/stylesheets/blueprint/docs/index.html +0 -31
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_buttons.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_colors.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_debug.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_fancy_type.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_form.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_grid.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_interaction.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_link_icons.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_liquid.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_reset.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_rtl.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_scaffolding.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_typography.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/docs/modules/_utilities.sass.html +0 -1
- data/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +0 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +0 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +0 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +0 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +0 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +0 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +0 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +0 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +0 -3
- data/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +0 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +0 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +0 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +0 -2
- data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +0 -2
- data/frameworks/compass/stylesheets/_compass.sass +0 -2
- data/frameworks/compass/stylesheets/compass/_css3.sass +0 -14
- data/frameworks/compass/stylesheets/compass/_layout.sass +0 -1
- data/frameworks/compass/stylesheets/compass/_misc.sass +0 -24
- data/frameworks/compass/stylesheets/compass/_reset.sass +0 -3
- data/frameworks/compass/stylesheets/compass/_utilities.sass +0 -6
- data/frameworks/compass/stylesheets/compass/css3/_background_clip.sass +0 -16
- data/frameworks/compass/stylesheets/compass/css3/_background_origin.sass +0 -18
- data/frameworks/compass/stylesheets/compass/css3/_background_size.sass +0 -14
- data/frameworks/compass/stylesheets/compass/css3/_border_radius.sass +0 -47
- data/frameworks/compass/stylesheets/compass/css3/_box_shadow.sass +0 -20
- data/frameworks/compass/stylesheets/compass/css3/_box_sizing.sass +0 -13
- data/frameworks/compass/stylesheets/compass/css3/_columns.sass +0 -37
- data/frameworks/compass/stylesheets/compass/css3/_font_face.sass +0 -31
- data/frameworks/compass/stylesheets/compass/css3/_gradient.sass +0 -58
- data/frameworks/compass/stylesheets/compass/css3/_inline_block.sass +0 -7
- data/frameworks/compass/stylesheets/compass/css3/_opacity.sass +0 -18
- data/frameworks/compass/stylesheets/compass/css3/_text_shadow.sass +0 -15
- data/frameworks/compass/stylesheets/compass/css3/_transform.sass +0 -62
- data/frameworks/compass/stylesheets/compass/css3/_transition.sass +0 -57
- data/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +0 -20
- data/frameworks/compass/stylesheets/compass/utilities/_general.sass +0 -5
- data/frameworks/compass/stylesheets/compass/utilities/_links.sass +0 -3
- data/frameworks/compass/stylesheets/compass/utilities/_lists.sass +0 -3
- data/frameworks/compass/stylesheets/compass/utilities/_print.sass +0 -18
- data/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +0 -1
- data/frameworks/compass/stylesheets/compass/utilities/_tables.sass +0 -3
- data/frameworks/compass/stylesheets/compass/utilities/_text.sass +0 -2
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +0 -24
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +0 -15
- data/frameworks/compass/stylesheets/compass/utilities/general/_min.sass +0 -17
- data/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +0 -134
- data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +0 -19
- data/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +0 -5
- data/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +0 -24
- data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +0 -7
- data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +0 -21
- data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +0 -56
- data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +0 -52
- 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/stylesheets/compass/utilities/text/_ellipsis.sass +0 -13
- data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +0 -22
File without changes
|
@@ -0,0 +1,18 @@
|
|
1
|
+
// Emits styles for a tag cloud
|
2
|
+
@mixin tag-cloud($base-size: 1em) {
|
3
|
+
font-size: $base-size;
|
4
|
+
line-height: 1.2 * $base-size;
|
5
|
+
.xxs, .xs, .s, .l, .xl, .xxl {
|
6
|
+
line-height: 1.2 * $base-size; }
|
7
|
+
.xxs {
|
8
|
+
font-size: $base-size / 2; }
|
9
|
+
.xs {
|
10
|
+
font-size: 2 * $base-size / 3; }
|
11
|
+
.s {
|
12
|
+
font-size: 3 * $base-size / 4; }
|
13
|
+
.l {
|
14
|
+
font-size: 4 * $base-size / 3; }
|
15
|
+
.xl {
|
16
|
+
font-size: 3 * $base-size / 2; }
|
17
|
+
.xxl {
|
18
|
+
font-size: 2 * $base-size; } }
|
@@ -0,0 +1,22 @@
|
|
1
|
+
// Set all the colors for a link with one mixin call
|
2
|
+
// Order of arguments is:
|
3
|
+
// normal, hover, active, visited, focus
|
4
|
+
// states not specified will inherit.
|
5
|
+
// Mixin like so:
|
6
|
+
// a
|
7
|
+
// +link-colors(#00c, #0cc, #c0c, #ccc, #cc0)
|
8
|
+
|
9
|
+
@mixin link-colors($normal, $hover: false, $active: false, $visited: false, $focus: false) {
|
10
|
+
color: $normal;
|
11
|
+
@if $visited {
|
12
|
+
&:visited {
|
13
|
+
color: $visited; } }
|
14
|
+
@if $focus {
|
15
|
+
&:focus {
|
16
|
+
color: $focus; } }
|
17
|
+
@if $hover {
|
18
|
+
&:hover {
|
19
|
+
color: $hover; } }
|
20
|
+
@if $active {
|
21
|
+
&:active {
|
22
|
+
color: $active; } } }
|
@@ -0,0 +1,22 @@
|
|
1
|
+
// Turn off the bullet for an element of a list
|
2
|
+
@mixin no-bullet {
|
3
|
+
list-style-image: none;
|
4
|
+
list-style-type: none;
|
5
|
+
margin-left: 0px; }
|
6
|
+
|
7
|
+
// turns off the bullets for an entire list
|
8
|
+
@mixin no-bullets {
|
9
|
+
list-style: none;
|
10
|
+
li {
|
11
|
+
@include no-bullet; } }
|
12
|
+
|
13
|
+
// Make a list(ul/ol) have an image bullet
|
14
|
+
// mixin should be used like this for an icon that is 5x7:
|
15
|
+
// ul.pretty
|
16
|
+
// +pretty-bullets("my-icon.png", 5px, 7px)
|
17
|
+
@mixin pretty-bullets($bullet-icon, $width, $height, $line-height: 18px, $padding: 14px) {
|
18
|
+
margin-left: 0;
|
19
|
+
li {
|
20
|
+
padding-left: $padding;
|
21
|
+
background: image-url($bullet-icon) no-repeat ($padding - $width) / 2 ($line-height - $height) / 2;
|
22
|
+
list-style-type: none; } }
|
@@ -0,0 +1,55 @@
|
|
1
|
+
//**\\
|
2
|
+
// Horizontal list layout module.
|
3
|
+
//
|
4
|
+
// Easy mode using simple descendant li selectors:
|
5
|
+
//
|
6
|
+
// ul.nav
|
7
|
+
// +horizontal-list
|
8
|
+
//
|
9
|
+
// Advanced mode:
|
10
|
+
// If you need to target the list items using a different selector then use
|
11
|
+
// +horizontal-list-container on your ul/ol and +horizontal-list-item on your li.
|
12
|
+
// This may help when working on layouts involving nested lists. For example:
|
13
|
+
//
|
14
|
+
// ul.nav
|
15
|
+
// +horizontal-list-container
|
16
|
+
// > li
|
17
|
+
// +horizontal-list-item
|
18
|
+
|
19
|
+
@import "bullets";
|
20
|
+
@import "compass/utilities/general/reset";
|
21
|
+
@import "compass/utilities/general/float";
|
22
|
+
|
23
|
+
//**
|
24
|
+
// Can be mixed into any selector that target a ul or ol that is meant
|
25
|
+
// to have a horizontal layout. Used to implement +horizontal-list.
|
26
|
+
@mixin horizontal-list-container {
|
27
|
+
@include reset-box-model;
|
28
|
+
@include clearfix; }
|
29
|
+
|
30
|
+
//**
|
31
|
+
// Can be mixed into any li selector that is meant to participate in a horizontal layout.
|
32
|
+
// Used to implement +horizontal-list.
|
33
|
+
//
|
34
|
+
// :last-child is not fully supported
|
35
|
+
// see http://www.quirksmode.org/css/contents.html#t29 for the support matrix
|
36
|
+
|
37
|
+
@mixin horizontal-list-item($padding: 4px) {
|
38
|
+
@include no-bullet;
|
39
|
+
white-space: nowrap;
|
40
|
+
@include float-left;
|
41
|
+
padding: {
|
42
|
+
left: $padding;
|
43
|
+
right: $padding; };
|
44
|
+
&:first-child, &.first {
|
45
|
+
padding-left: 0px; }
|
46
|
+
&:last-child, &.last {
|
47
|
+
padding-right: 0px; } }
|
48
|
+
|
49
|
+
//**
|
50
|
+
// A list(ol,ul) that is layed out such that the elements are floated left and won't wrap.
|
51
|
+
// This is not an inline list.
|
52
|
+
@mixin horizontal-list($padding: 4px) {
|
53
|
+
@include horizontal-list-container;
|
54
|
+
li {
|
55
|
+
@include horizontal-list-item($padding); } }
|
data/frameworks/compass/stylesheets/compass/utilities/lists/{_inline_list.sass → _inline-list.scss}
RENAMED
@@ -1,14 +1,14 @@
|
|
1
1
|
// makes a list inline.
|
2
2
|
|
3
|
-
|
4
|
-
list-style-type: none
|
5
|
-
margin: 0px
|
6
|
-
padding: 0px
|
7
|
-
display: inline
|
8
|
-
li
|
9
|
-
margin: 0px
|
10
|
-
padding: 0px
|
11
|
-
display: inline
|
3
|
+
@mixin inline-list {
|
4
|
+
list-style-type: none;
|
5
|
+
margin: 0px;
|
6
|
+
padding: 0px;
|
7
|
+
display: inline;
|
8
|
+
li {
|
9
|
+
margin: 0px;
|
10
|
+
padding: 0px;
|
11
|
+
display: inline; } }
|
12
12
|
|
13
13
|
// makes an inline list that is comma delimited.
|
14
14
|
// use of this recipe is not recommended at this time due to browser support issues.
|
@@ -19,11 +19,11 @@
|
|
19
19
|
// :last-child is not fully supported
|
20
20
|
// see http://www.quirksmode.org/css/contents.html#t29 for the support matrix
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
li
|
25
|
-
&:after
|
26
|
-
content: ", "
|
27
|
-
&:last-child, &.last
|
28
|
-
&:after
|
29
|
-
content: ""
|
22
|
+
@mixin comma-delimited-list {
|
23
|
+
@include inline-list;
|
24
|
+
li {
|
25
|
+
&:after {
|
26
|
+
content: ", "; }
|
27
|
+
&:last-child, &.last {
|
28
|
+
&:after {
|
29
|
+
content: ""; } } } }
|
@@ -0,0 +1,54 @@
|
|
1
|
+
//**
|
2
|
+
// Example 1:
|
3
|
+
// a.twitter
|
4
|
+
// +sprite-img("icons-32.png", 1)
|
5
|
+
// a.facebook
|
6
|
+
// +sprite-img("icons-32png", 2)
|
7
|
+
// ...
|
8
|
+
// Example 2:
|
9
|
+
// a
|
10
|
+
// +sprite-background("icons-32.png")
|
11
|
+
// a.twitter
|
12
|
+
// +sprite-column(1)
|
13
|
+
// a.facebook
|
14
|
+
// +sprite-row(2)
|
15
|
+
// ...
|
16
|
+
|
17
|
+
$sprite-default-size: 32px !default;
|
18
|
+
|
19
|
+
$sprite-default-margin: 0px !default;
|
20
|
+
|
21
|
+
$sprite-image-default-width: $sprite-default-size !default;
|
22
|
+
|
23
|
+
$sprite-image-default-height: $sprite-default-size !default;
|
24
|
+
|
25
|
+
// Sets all the rules for a sprite from a given sprite image to show just one of the sprites.
|
26
|
+
// To reduce duplication use a sprite-bg mixin for common properties and a sprite-select mixin for positioning.
|
27
|
+
@mixin sprite-img($img, $col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
|
28
|
+
@include sprite-background($img, $width, $height);
|
29
|
+
@include sprite-position($col, $row, $width, $height, $margin); }
|
30
|
+
|
31
|
+
// Sets rules common for all sprites, assumes you want a square, but allows a rectangular region.
|
32
|
+
@mixin sprite-background($img, $width: $sprite-default-size, $height: $width) {
|
33
|
+
@include sprite-background-rectangle($img, $width, $height); }
|
34
|
+
|
35
|
+
// Sets rules common for all sprites, assumes a rectangular region.
|
36
|
+
@mixin sprite-background-rectangle($img, $width: $sprite-image-default-width, $height: $sprite-image-default-height) {
|
37
|
+
background: image-url($img) no-repeat;
|
38
|
+
width: $width;
|
39
|
+
height: $height;
|
40
|
+
overflow: hidden; }
|
41
|
+
|
42
|
+
// Allows horizontal sprite positioning optimized for a single row of sprites.
|
43
|
+
@mixin sprite-column($col, $width: $sprite-image-default-width, $margin: $sprite-default-margin) {
|
44
|
+
@include sprite-position($col, 1, $width, 0px, $margin); }
|
45
|
+
|
46
|
+
// Allows vertical sprite positioning optimized for a single column of sprites.
|
47
|
+
@mixin sprite-row($row, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
|
48
|
+
@include sprite-position(1, $row, 0px, $height, $margin); }
|
49
|
+
|
50
|
+
// Allows vertical and horizontal sprite positioning from a grid of equal dimensioned sprites.
|
51
|
+
@mixin sprite-position($col, $row: 1, $width: $sprite-image-default-width, $height: $sprite-image-default-height, $margin: $sprite-default-margin) {
|
52
|
+
$x: ($col - 1) * -$width - ($col - 1) * $margin;
|
53
|
+
$y: ($row - 1) * -$height - ($row - 1) * $margin;
|
54
|
+
background-position: $x $y; }
|
data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating-rows-and-columns.scss
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
@mixin alternating-rows-and-columns($even-row-color, $odd-row-color, $dark-intersection, $header-color: white, $footer-color: white) {
|
2
|
+
th {
|
3
|
+
background-color: $header-color;
|
4
|
+
&.even {
|
5
|
+
background-color: $header-color - $dark-intersection; } }
|
6
|
+
tr.odd {
|
7
|
+
td {
|
8
|
+
background-color: $odd-row-color;
|
9
|
+
&.even {
|
10
|
+
background-color: $odd-row-color - $dark-intersection; } } }
|
11
|
+
tr.even {
|
12
|
+
td {
|
13
|
+
background-color: $even-row-color;
|
14
|
+
&.even {
|
15
|
+
background-color: $even-row-color - $dark-intersection; } } }
|
16
|
+
tfoot {
|
17
|
+
th, td {
|
18
|
+
background-color: $footer-color;
|
19
|
+
&.even {
|
20
|
+
background-color: $footer-color - $dark-intersection; } } } }
|
@@ -0,0 +1,27 @@
|
|
1
|
+
@mixin outer-table-borders($width: 2px, $color: black) {
|
2
|
+
border: $width solid $color;
|
3
|
+
thead {
|
4
|
+
th {
|
5
|
+
border-bottom: $width solid $color; } }
|
6
|
+
tfoot {
|
7
|
+
th, td {
|
8
|
+
border-top: $width solid $color; } }
|
9
|
+
th {
|
10
|
+
&:first-child {
|
11
|
+
border-right: $width solid $color; } } }
|
12
|
+
|
13
|
+
@mixin inner-table-borders($width: 2px, $color: black) {
|
14
|
+
th, td {
|
15
|
+
border: {
|
16
|
+
right: $width solid $color;
|
17
|
+
bottom: $width solid $color;
|
18
|
+
left-width: 0px;
|
19
|
+
top-width: 0px; };
|
20
|
+
&:last-child,
|
21
|
+
&.last {
|
22
|
+
border-right-width: 0px; } }
|
23
|
+
tbody, tfoot {
|
24
|
+
tr:last-child,
|
25
|
+
tr.last {
|
26
|
+
th, td {
|
27
|
+
border-bottom-width: 0px; } } } }
|
@@ -0,0 +1,12 @@
|
|
1
|
+
// This technique, by [Justin Maxwell](http://code404.com/), was originally
|
2
|
+
// published at http://mattsnider.com/css/css-string-truncation-with-ellipsis/
|
3
|
+
// Firefox implementation by [Rikkert Koppes](http://www.rikkertkoppes.com/thoughts/2008/6/)
|
4
|
+
|
5
|
+
@mixin ellipsis($no-wrap: true) {
|
6
|
+
@if $no-wrap {
|
7
|
+
white-space: nowrap; }
|
8
|
+
overflow: hidden;
|
9
|
+
text-overflow: ellipsis;
|
10
|
+
-o-text-overflow: ellipsis;
|
11
|
+
-ms-text-overflow: ellipsis;
|
12
|
+
-moz-binding: stylesheet-url(unquote("xml/ellipsis.xml#ellipsis")); }
|
@@ -1,3 +1,3 @@
|
|
1
1
|
// When remembering whether or not there's a hyphen in white-space is too hard
|
2
|
-
|
3
|
-
white-space: nowrap
|
2
|
+
@mixin nowrap {
|
3
|
+
white-space: nowrap; }
|
@@ -0,0 +1,21 @@
|
|
1
|
+
// Hides html text and replaces it with an image.
|
2
|
+
// If you use this on an inline element, you will need to change the display to block or inline-block.
|
3
|
+
// Also, if the size of the image differs significantly from the font size, you'll need to set the width and/or height.
|
4
|
+
// @param img
|
5
|
+
// the relative path from the project image directory to the image.
|
6
|
+
// @param x
|
7
|
+
// the x position of the background image.
|
8
|
+
// @param y
|
9
|
+
// the y position of the background image.
|
10
|
+
|
11
|
+
@mixin replace-text($img, $x: 50%, $y: 50%) {
|
12
|
+
@include hide-text;
|
13
|
+
background: {
|
14
|
+
image: image-url($img);
|
15
|
+
repeat: no-repeat;
|
16
|
+
position: $x $y; }; }
|
17
|
+
|
18
|
+
@mixin hide-text {
|
19
|
+
text-indent: -9999em;
|
20
|
+
overflow: hidden;
|
21
|
+
text-align: left; }
|
@@ -1,4 +1,4 @@
|
|
1
|
-
@import compass/utilities/text/ellipsis
|
1
|
+
@import compass/utilities/text/ellipsis
|
2
2
|
|
3
3
|
// You can delete this sass file if you want, it's just an example of how to use the ellipsis mixin.
|
4
4
|
// By default, ellipsis text is no-wrap. Pass false as the first argument if you don't want that.
|
@@ -4,7 +4,7 @@
|
|
4
4
|
Import this file using the following HTML or equivalent:
|
5
5
|
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
|
6
6
|
|
7
|
-
@import compass/reset
|
7
|
+
@import compass/reset
|
8
8
|
|
9
9
|
/*
|
10
10
|
The *:focus rule is reset and suppresses link outlining.
|
@@ -39,6 +39,10 @@ module Compass
|
|
39
39
|
self.options[:pattern] = framework[1]
|
40
40
|
end
|
41
41
|
|
42
|
+
opts.on("-x", "--syntax SYNTAX", [:sass, :scss], "Specify the syntax to use when generating stylesheets.", "One of sass or scss. Defaults to scss.") do |syntax|
|
43
|
+
self.options[:preferred_syntax] = syntax
|
44
|
+
end
|
45
|
+
|
42
46
|
super
|
43
47
|
end
|
44
48
|
end
|
@@ -24,6 +24,7 @@ To get help on a particular command please specify the command.
|
|
24
24
|
|
25
25
|
banner << "\nAvailable Frameworks & Patterns:\n\n"
|
26
26
|
Compass::Frameworks::ALL.each do |framework|
|
27
|
+
next if framework.name =~ /^_/
|
27
28
|
banner << " * #{framework.name}\n"
|
28
29
|
framework.template_directories.each do |pattern|
|
29
30
|
banner << " - #{framework.name}/#{pattern}"
|
@@ -16,6 +16,10 @@ Example:
|
|
16
16
|
|
17
17
|
Options:
|
18
18
|
}
|
19
|
+
opts.on("-x", "--syntax SYNTAX", [:sass, :scss], "Specify the syntax to use when generating stylesheets.", "One of sass or scss. Defaults to scss.") do |syntax|
|
20
|
+
self.options[:preferred_syntax] = syntax
|
21
|
+
end
|
22
|
+
|
19
23
|
super
|
20
24
|
end
|
21
25
|
end
|
data/lib/compass/frameworks.rb
CHANGED
@@ -51,7 +51,8 @@ module Compass
|
|
51
51
|
def discover(frameworks_directory)
|
52
52
|
frameworks_directory = DEFAULT_FRAMEWORKS_PATH if frameworks_directory == :defaults
|
53
53
|
frameworks_directory = Dir.new(frameworks_directory) unless frameworks_directory.is_a?(Dir)
|
54
|
-
frameworks_directory.entries.reject{|e| e
|
54
|
+
dirs = frameworks_directory.entries.reject{|e| e =~ /^\./}.sort_by{|n| n =~ /^_/ ? n[1..-1] : n}
|
55
|
+
dirs.each do |framework|
|
55
56
|
register_directory File.join(frameworks_directory.path, framework)
|
56
57
|
end
|
57
58
|
end
|
@@ -16,7 +16,7 @@ module Compass
|
|
16
16
|
self.logger = options[:logger]
|
17
17
|
end
|
18
18
|
|
19
|
-
[:css_dir, :sass_dir, :images_dir, :javascripts_dir, :http_stylesheets_path, :fonts_dir].each do |dir|
|
19
|
+
[:css_dir, :sass_dir, :images_dir, :javascripts_dir, :http_stylesheets_path, :fonts_dir, :preferred_syntax].each do |dir|
|
20
20
|
define_method dir do
|
21
21
|
Compass.configuration.send(dir)
|
22
22
|
end
|
@@ -79,6 +79,19 @@ module Compass
|
|
79
79
|
"#{sass_dir}/#{pattern_name_as_dir}#{to}"
|
80
80
|
end
|
81
81
|
|
82
|
+
def install_stylesheet(from, to, options)
|
83
|
+
from = templatize(from)
|
84
|
+
to = targetize(install_location_for_stylesheet(to, options))
|
85
|
+
contents = File.new(from).read
|
86
|
+
if preferred_syntax.to_s != from[-4..-1]
|
87
|
+
logger.record :convert, basename(from)
|
88
|
+
tree = Sass::Engine.new(contents, Compass.sass_engine_options).to_tree
|
89
|
+
contents = tree.send("to_#{preferred_syntax}")
|
90
|
+
to[-4..-1] = preferred_syntax.to_s
|
91
|
+
end
|
92
|
+
write_file to, contents
|
93
|
+
end
|
94
|
+
|
82
95
|
installer :css do |to|
|
83
96
|
"#{css_dir}/#{to}"
|
84
97
|
end
|