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
@@ -1,29 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Welcome to Compass.
|
3
|
-
In this file you should write your main styles. (or centralize your imports)
|
4
|
-
Import this file using the following HTML or equivalent:
|
5
|
-
<link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css" />
|
6
|
-
|
7
|
-
@import compass/reset.sass
|
8
|
-
@import compass/misc.sass
|
9
|
-
|
10
|
-
#logo-large,
|
11
|
-
#logo-medium,
|
12
|
-
#logo,
|
13
|
-
#logo-small
|
14
|
-
:text-align center
|
15
|
-
:margin
|
16
|
-
:bottom 40px
|
17
|
-
|
18
|
-
#logo-large
|
19
|
-
+unobtrusive-logo(3em)
|
20
|
-
:margin-top 20px
|
21
|
-
|
22
|
-
#logo-medium
|
23
|
-
+unobtrusive-logo(2em)
|
24
|
-
|
25
|
-
#logo
|
26
|
-
+unobtrusive-logo
|
27
|
-
|
28
|
-
#logo-small
|
29
|
-
+unobtrusive-logo(0.5em)
|
@@ -1,56 +0,0 @@
|
|
1
|
-
960 Grid System - Compass Plugin
|
2
|
-
================================
|
3
|
-
|
4
|
-
* Port of Version 1.0
|
5
|
-
* 2008-03-24
|
6
|
-
|
7
|
-
Created by Nathan Smith. See the official site for more info: <http://960.gs/>
|
8
|
-
|
9
|
-
---------
|
10
|
-
|
11
|
-
This plugin adds the 960 Grid System framework to [Compass](http://compass-style.org/).
|
12
|
-
|
13
|
-
Install
|
14
|
-
=======
|
15
|
-
|
16
|
-
sudo gem install chriseppstein-compass
|
17
|
-
sudo gem install chriseppstein-compass-960-plugin
|
18
|
-
|
19
|
-
Create a 960-based Compass Project
|
20
|
-
==================================
|
21
|
-
|
22
|
-
compass -r ninesixty -f 960 <project name>
|
23
|
-
|
24
|
-
Then edit your `grid.sass` and `text.sass` files accordingly. A reset is added into grid.sass automatically.
|
25
|
-
|
26
|
-
Customizing your Grid System
|
27
|
-
============================
|
28
|
-
|
29
|
-
To create a grid system with other number of columns use the `+grid-system` mixin to generate
|
30
|
-
the corresponding classes.
|
31
|
-
|
32
|
-
Example:
|
33
|
-
|
34
|
-
#wrap
|
35
|
-
+grid-system(24)
|
36
|
-
|
37
|
-
Making Semantic Grids
|
38
|
-
=====================
|
39
|
-
|
40
|
-
* Use the `+grid-container` mixin to declare your container element.
|
41
|
-
* Use the `+grid` mixin to declare a grid element.
|
42
|
-
* Use the `+alpha` and `+omega` mixins to declare the first and last grid elements for a row.
|
43
|
-
* User the `+grid-prefix` and `+grid-suffix` mixins to add grid columns before or after a grid element.
|
44
|
-
|
45
|
-
Example:
|
46
|
-
|
47
|
-
#wrap
|
48
|
-
+grid-container
|
49
|
-
#left-nav
|
50
|
-
+alpha
|
51
|
-
+grid(5,16)
|
52
|
-
#main-content
|
53
|
-
+grid-prefix(1,16)
|
54
|
-
+grid(10, 16)
|
55
|
-
+omega
|
56
|
-
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
Gem::Specification.new do |s|
|
4
|
-
s.name = %q{compass-960-plugin}
|
5
|
-
s.version = "0.9.10"
|
6
|
-
|
7
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
8
|
-
s.authors = ["Chris Eppstein"]
|
9
|
-
s.date = %q{2009-09-27}
|
10
|
-
s.description = %q{The 960 Grid System is an effort to streamline web development workflow by providing commonly used dimensions, based on a width of 960 pixels. http://960.gs/}
|
11
|
-
s.email = %q{chris@eppsteins.net}
|
12
|
-
s.extra_rdoc_files = ["lib/ninesixty/compass_plugin.rb", "lib/ninesixty.rb", "README.mkdn"]
|
13
|
-
s.files = ["compass-960-plugin.gemspec", "lib/ninesixty/compass_plugin.rb", "lib/ninesixty.rb", "Manifest", "Rakefile", "README.mkdn", "sass/960/_grid.sass", "sass/960/_text.sass", "templates/project/grid.sass", "templates/project/manifest.rb", "templates/project/text.sass", "VERSION"]
|
14
|
-
s.homepage = %q{http://github.com/chriseppstein/compass-960-plugin}
|
15
|
-
s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Compass-960-plugin", "--main", "README.mkdn"]
|
16
|
-
s.require_paths = ["lib"]
|
17
|
-
s.rubyforge_project = %q{compass-960-plugin}
|
18
|
-
s.rubygems_version = %q{1.3.3}
|
19
|
-
s.summary = %q{Compass compatible Sass port of 960.gs.}
|
20
|
-
|
21
|
-
if s.respond_to? :specification_version then
|
22
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
23
|
-
s.specification_version = 3
|
24
|
-
|
25
|
-
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
|
26
|
-
s.add_runtime_dependency(%q<chriseppstein-compass>, [">= 0"])
|
27
|
-
s.add_development_dependency(%q<echoe>, [">= 0"])
|
28
|
-
else
|
29
|
-
s.add_dependency(%q<chriseppstein-compass>, [">= 0"])
|
30
|
-
s.add_dependency(%q<echoe>, [">= 0"])
|
31
|
-
end
|
32
|
-
else
|
33
|
-
s.add_dependency(%q<chriseppstein-compass>, [">= 0"])
|
34
|
-
s.add_dependency(%q<echoe>, [">= 0"])
|
35
|
-
end
|
36
|
-
end
|
@@ -1 +0,0 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), 'ninesixty', 'compass_plugin')
|
@@ -1,5 +0,0 @@
|
|
1
|
-
options = Hash.new
|
2
|
-
options[:stylesheets_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'sass'))
|
3
|
-
options[:templates_directory] = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'templates'))
|
4
|
-
|
5
|
-
Compass::Frameworks.register('960', options)
|
@@ -1,64 +0,0 @@
|
|
1
|
-
!ninesixty_gutter_width ||= 20px
|
2
|
-
!ninesixty_grid_width ||= 960px
|
3
|
-
!ninesixty_columns ||= 12
|
4
|
-
|
5
|
-
=grid-container
|
6
|
-
:margin-left auto
|
7
|
-
:margin-right auto
|
8
|
-
:width= !ninesixty_grid_width
|
9
|
-
|
10
|
-
=grid-width(!n, !cols = !ninesixty_columns, !gutter_width = !ninesixty_gutter_width)
|
11
|
-
:width= (!ninesixty_grid_width / !cols) * !n - !gutter_width
|
12
|
-
|
13
|
-
=grid-unit-base(!gutter_width = !ninesixty_gutter_width)
|
14
|
-
:display inline
|
15
|
-
:float left
|
16
|
-
:margin
|
17
|
-
:left= !gutter_width / 2
|
18
|
-
:right= !gutter_width / 2
|
19
|
-
|
20
|
-
=grid(!n, !cols = !ninesixty_columns, !gutter_width = !ninesixty_gutter_width)
|
21
|
-
+grid-unit-base(!gutter_width)
|
22
|
-
+grid-width(!n, !cols, !gutter_width)
|
23
|
-
|
24
|
-
=alpha
|
25
|
-
:margin-left 0
|
26
|
-
|
27
|
-
=omega
|
28
|
-
:margin-right 0
|
29
|
-
|
30
|
-
=grids(!cols = !ninesixty_columns, !gutter_width = !ninesixty_gutter_width)
|
31
|
-
#{enumerate(".grid",1,!cols,"_")}
|
32
|
-
+grid-unit-base
|
33
|
-
@for !n from 1 through !cols
|
34
|
-
.grid_#{!n}
|
35
|
-
+grid-width(!n, !cols, !gutter_width)
|
36
|
-
|
37
|
-
=grid-prefix(!n, !cols = !ninesixty_columns)
|
38
|
-
:padding-left= (!ninesixty_grid_width / !cols) * !n
|
39
|
-
|
40
|
-
=grid-prefixes(!cols = !ninesixty_columns)
|
41
|
-
@for !n from 1 through !cols - 1
|
42
|
-
.prefix_#{!n}
|
43
|
-
+grid-prefix(!n, !cols)
|
44
|
-
|
45
|
-
=grid-suffix(!n, !cols = !ninesixty_columns)
|
46
|
-
:padding-right= (!ninesixty_grid_width / !cols) * !n
|
47
|
-
|
48
|
-
=grid-suffixes(!cols = !ninesixty_columns)
|
49
|
-
@for !n from 1 through !cols - 1
|
50
|
-
.suffix_#{!n}
|
51
|
-
+grid-suffix(!n, !cols)
|
52
|
-
|
53
|
-
=grid-children
|
54
|
-
.alpha
|
55
|
-
+alpha
|
56
|
-
.omega
|
57
|
-
+omega
|
58
|
-
|
59
|
-
=grid-system(!cols = !ninesixty_columns)
|
60
|
-
+grid-container
|
61
|
-
+grids(!cols)
|
62
|
-
+grid-prefixes(!cols)
|
63
|
-
+grid-suffixes(!cols)
|
64
|
-
+grid-children
|
@@ -1,59 +0,0 @@
|
|
1
|
-
!ninesixty_font_family ||= "Helvetica, Arial, 'Liberation Sans', FreeSans, sans-serif"
|
2
|
-
|
3
|
-
=text(!font_family = !ninesixty_font_family)
|
4
|
-
body
|
5
|
-
:font= "13px/1.5" !font_family
|
6
|
-
|
7
|
-
a:focus
|
8
|
-
:outline 1px dotted invert
|
9
|
-
|
10
|
-
hr
|
11
|
-
:border-color #ccc
|
12
|
-
:border-style solid
|
13
|
-
:border-width 1px 0 0
|
14
|
-
:clear both
|
15
|
-
:height 0
|
16
|
-
|
17
|
-
h1
|
18
|
-
:font-size 25px
|
19
|
-
|
20
|
-
h2
|
21
|
-
:font-size 23px
|
22
|
-
|
23
|
-
h3
|
24
|
-
:font-size 21px
|
25
|
-
|
26
|
-
h4
|
27
|
-
:font-size 19px
|
28
|
-
|
29
|
-
h5
|
30
|
-
:font-size 17px
|
31
|
-
|
32
|
-
h6
|
33
|
-
:font-size 15px
|
34
|
-
|
35
|
-
ol
|
36
|
-
:list-style decimal
|
37
|
-
|
38
|
-
ul
|
39
|
-
:list-style square
|
40
|
-
|
41
|
-
li
|
42
|
-
:margin-left 30px
|
43
|
-
|
44
|
-
p,
|
45
|
-
dl,
|
46
|
-
hr,
|
47
|
-
h1,
|
48
|
-
h2,
|
49
|
-
h3,
|
50
|
-
h4,
|
51
|
-
h5,
|
52
|
-
h6,
|
53
|
-
ol,
|
54
|
-
ul,
|
55
|
-
pre,
|
56
|
-
table,
|
57
|
-
address,
|
58
|
-
fieldset
|
59
|
-
:margin-bottom 20px
|
@@ -1,34 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
960 Grid System ~ Core CSS.
|
3
|
-
Learn more ~ http://960.gs/
|
4
|
-
|
5
|
-
Licensed under GPL and MIT.
|
6
|
-
|
7
|
-
@import compass/utilities/general/reset.sass
|
8
|
-
@import 960/grid.sass
|
9
|
-
|
10
|
-
+global-reset
|
11
|
-
|
12
|
-
// The following generates the default grids provided by the css version of 960.gs
|
13
|
-
.container_12
|
14
|
-
+grid-system(12)
|
15
|
-
|
16
|
-
.container_16
|
17
|
-
+grid-system(16)
|
18
|
-
|
19
|
-
// But most compass users prefer to construct semantic layouts like so (two column layout with header and footer):
|
20
|
-
|
21
|
-
!ninesixty_columns = 24
|
22
|
-
.two-column
|
23
|
-
+grid-container
|
24
|
-
#header,
|
25
|
-
#footer,
|
26
|
-
#sidebar,
|
27
|
-
#main-content
|
28
|
-
+grid-unit-base
|
29
|
-
#header, #footer
|
30
|
-
+grid-width(24)
|
31
|
-
#sidebar
|
32
|
-
+grid-width(8)
|
33
|
-
#main-content
|
34
|
-
+grid-width(16)
|
@@ -1,16 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
960 Grid System ~ Core CSS.
|
3
|
-
Learn more ~ http://960.gs/
|
4
|
-
|
5
|
-
Licensed under GPL and MIT.
|
6
|
-
|
7
|
-
@import compass/utilities/general/reset.sass
|
8
|
-
@import 960/grid.sass
|
9
|
-
|
10
|
-
+global-reset
|
11
|
-
|
12
|
-
.container_12
|
13
|
-
+grid-system(12)
|
14
|
-
|
15
|
-
.container_16
|
16
|
-
+grid-system(16)
|
@@ -1,28 +0,0 @@
|
|
1
|
-
Copyright (c) 2009, Eric Meyer
|
2
|
-
All rights reserved.
|
3
|
-
|
4
|
-
Redistribution and use in source and binary forms, with or without
|
5
|
-
modification, are permitted provided that the following conditions are
|
6
|
-
met:
|
7
|
-
|
8
|
-
* Redistributions of source code must retain the above copyright
|
9
|
-
notice, this list of conditions and the following disclaimer.
|
10
|
-
* Redistributions in binary form must reproduce the above
|
11
|
-
copyright notice, this list of conditions and the following
|
12
|
-
disclaimer in the documentation and/or other materials provided
|
13
|
-
with the distribution.
|
14
|
-
* Neither the name of the author nor the names of other
|
15
|
-
contributors may be used to endorse or promote products derived
|
16
|
-
from this software without specific prior written permission.
|
17
|
-
|
18
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
19
|
-
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
20
|
-
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
21
|
-
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
22
|
-
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
23
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
24
|
-
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
25
|
-
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
26
|
-
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
27
|
-
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
28
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -1,235 +0,0 @@
|
|
1
|
-
Susy - Compass Plugin
|
2
|
-
=====================
|
3
|
-
|
4
|
-
Susy is a semantic CSS framework creator entirely native to
|
5
|
-
[Compass](http://compass-style.org/).
|
6
|
-
Susy is an expert at fluid grids in an elastic (or fluid, or fixed) shell that
|
7
|
-
will never activate that bloody side-scroll bar. Susy sets your width on the
|
8
|
-
outer element (`container`), adds a `max-width` of `100%` and builds the rest
|
9
|
-
of your grid in percentages. The philosophy and technique are based on
|
10
|
-
[Natalie Downe](http://natbat.net/)'s "[CSS
|
11
|
-
Systems](http://natbat.net/2008/Sep/28/css-systems/)" - which introduces
|
12
|
-
difficult math in the service of beautiful structure. With the power of
|
13
|
-
Compass/Sass, Susy will do that math for you.
|
14
|
-
|
15
|
-
Using simple mixins, columns can be created, suffixed, prefixed, and nested
|
16
|
-
easily - and always in flexible percentages.
|
17
|
-
|
18
|
-
Install
|
19
|
-
=======
|
20
|
-
|
21
|
-
sudo gem sources --add http://gemcutter.org/
|
22
|
-
sudo gem install compass-susy-plugin
|
23
|
-
|
24
|
-
Create a Susy-based Compass Project
|
25
|
-
===================================
|
26
|
-
|
27
|
-
compass -r susy -f susy <project name>
|
28
|
-
|
29
|
-
Then edit your `_base.sass`, `_defaults.sass`, `screen.sass` and `print.sass`
|
30
|
-
files accordingly. A reset is added automatically, and includes help for some
|
31
|
-
HTML5 elements.
|
32
|
-
|
33
|
-
Philosophy and Goals
|
34
|
-
--------------------
|
35
|
-
|
36
|
-
The method comes from [Natalie Downe](http://natbat.net/)'s "[CSS
|
37
|
-
Systems](http://natbat.net/2008/Sep/28/css-systems/)", but I'll cover it here.
|
38
|
-
|
39
|
-
It is important for accessibility and usability that we are:
|
40
|
-
|
41
|
-
* Responsive to text sizing: In order for our site to be accessible we need to
|
42
|
-
allow different font-sizes to be set by the client. In order to maintain
|
43
|
-
design integrity of proportions and line-lengths, the grid needs to respond
|
44
|
-
to those sizes.
|
45
|
-
|
46
|
-
* Responsive to window sizing: In order to maintain usability across
|
47
|
-
platforms/monitors, our grid needs to respond to the size of the viewport.
|
48
|
-
This is mainly an issue as the viewport shrinks and we are given a
|
49
|
-
side-scroll bar. No one likes that. On the large end our design integrity
|
50
|
-
and line lengths are more important than taking up all the possible space.
|
51
|
-
|
52
|
-
In order to achieve both goals we need to combine the best of the elastic
|
53
|
-
(em-based) and fluid (%-based) models. The solution is simple: First we build
|
54
|
-
a fluid grid, then place it inside an elastic shell, and apply a maximum width
|
55
|
-
to that shell so that it never exceeds the size of the viewport. It's simple
|
56
|
-
in theory, but daunting in practice, as you constantly have to adjust your
|
57
|
-
math based on the context.
|
58
|
-
|
59
|
-
But Susy harnesses the power of Compass and Sass to do all the math for you.
|
60
|
-
|
61
|
-
Grid Basics
|
62
|
-
===========
|
63
|
-
|
64
|
-
* Set up your default grid values (total columns, column width, gutter
|
65
|
-
width, side gutter width), your base font size, and important mixins
|
66
|
-
in `_base.sass`.
|
67
|
-
|
68
|
-
* Set defaults for all the important HTML tags in `_defaults.sass`. It's
|
69
|
-
better than using the browser defaults. And better than using ours.
|
70
|
-
|
71
|
-
* Create your grid in `screen.sass`: apply the `+susy` mixin to the `body`
|
72
|
-
element and the `+container` mixin to the element that contains the page
|
73
|
-
grid.
|
74
|
-
|
75
|
-
* Use the `+columns` mixin to declare the width in columns of an element,
|
76
|
-
or `+full` for any element spanning the full width of its context.
|
77
|
-
|
78
|
-
* Use `+alpha` and `+omega` to declare elements which include the first or
|
79
|
-
last column within their parent element (`+full` to declare both `+alpha`
|
80
|
-
and `+omega`). Note: `+alpha` is actually only needed in the very top level,
|
81
|
-
and does nothing in nested contexts. Neither is needed on a `+full` element.
|
82
|
-
|
83
|
-
* Use `+prefix` or `+suffix` to give the width (in columns) of an elements
|
84
|
-
left or right margin, or `+pad` to give both `+prefix` and `+suffix` at
|
85
|
-
once.
|
86
|
-
|
87
|
-
* In nested contexts, all of these mixins take an extra final argument, the
|
88
|
-
width in columns of the parent (nesting) element.
|
89
|
-
|
90
|
-
That's it for the basics! Here's a sample Susy grid layout:
|
91
|
-
|
92
|
-
body
|
93
|
-
+susy
|
94
|
-
|
95
|
-
#page
|
96
|
-
+container
|
97
|
-
|
98
|
-
#brand
|
99
|
-
+full
|
100
|
-
+pad(1,1)
|
101
|
-
h1
|
102
|
-
+full(8)
|
103
|
-
+pad(1,2,8)
|
104
|
-
|
105
|
-
#nav
|
106
|
-
+columns(2)
|
107
|
-
+alpha
|
108
|
-
|
109
|
-
#content
|
110
|
-
+columns(8)
|
111
|
-
+omega
|
112
|
-
#description
|
113
|
-
+columns(5,8)
|
114
|
-
#credit
|
115
|
-
+columns(3,8)
|
116
|
-
+omega(8)
|
117
|
-
|
118
|
-
Tutorial
|
119
|
-
========
|
120
|
-
|
121
|
-
For more details, read [the tutorial](http://www.oddbird.net/susy/tutorial/).
|
122
|
-
It's also included with Susy in the docs/ folder.
|
123
|
-
|
124
|
-
Extra Utility Mixins
|
125
|
-
=====================
|
126
|
-
|
127
|
-
Extra utilities are included in Susy's `utils.sass` file, with additional list
|
128
|
-
options, experimental (CSS3/proprietary) CSS, and more.
|
129
|
-
|
130
|
-
* `+show-grid(!src)` - Repeat the specified grid image on an element. Good for
|
131
|
-
testing your baseline grid.
|
132
|
-
|
133
|
-
* `+inline-block-list([!horizontalpadding])` - Make list items inline-block
|
134
|
-
when floating just won't do the trick (if you need them centered or right).
|
135
|
-
|
136
|
-
* `+hide` - Hide content from visual browsers while keeping accessability
|
137
|
-
intact.
|
138
|
-
|
139
|
-
* `+skip-link([!top = 0, !right, !bottom, !left])` - Hide a link, and then show
|
140
|
-
it again on focus. the TRBL settings allow you to place it absolutely on
|
141
|
-
display. Default will be top left of the positioning context.
|
142
|
-
|
143
|
-
And then the fun stuff in `_CSS3.sass`:
|
144
|
-
|
145
|
-
* `+opacity(!opacity)` - add cross-browser opacity settings (takes a range of
|
146
|
-
0 to 1). `+transprent` and `+opaque` are available as shortcuts.
|
147
|
-
|
148
|
-
* `+border-radius(!radius)` - Rounded corners in supporting browsers.
|
149
|
-
`+border-bottom-left-radius` etc. all work.
|
150
|
-
|
151
|
-
* `+box-sizing(!model)` - Set the box sizing model in supporting browsers.
|
152
|
-
|
153
|
-
* `+box-shadow(!verticaloffset, !horizontaloffset, !blur, !color)` -
|
154
|
-
Box-shadow in supporting browsers.
|
155
|
-
|
156
|
-
* `+column-count(!number)`, `+column-gap(!length)`, `+column-width(!length)`,
|
157
|
-
and `+column-rule(!width, !style, !color)` - CSS columns in supporting
|
158
|
-
browsers.
|
159
|
-
|
160
|
-
Advanced Options
|
161
|
-
================
|
162
|
-
|
163
|
-
Susy is built for flexibility, so that you always write the code you want to
|
164
|
-
write. While everything should 'just work' out of the box, there are plenty of
|
165
|
-
advanced options hidden inside. Here's a few:
|
166
|
-
|
167
|
-
* `!hacks` is a boolean constant that you can set in your base.sass file to
|
168
|
-
choose between using targeted hacks for IE (a variation of the star hack in
|
169
|
-
most cases) in your screen.css, or using a conditional-comment targeted
|
170
|
-
ie.css. All the needed mixins are available for either setting. `!hacks` is
|
171
|
-
true by default so there is no extra work maintaining multiple files unless
|
172
|
-
you want to.
|
173
|
-
|
174
|
-
Example 1:
|
175
|
-
|
176
|
-
!hacks = true
|
177
|
-
|
178
|
-
#nav
|
179
|
-
+inline-block-list
|
180
|
-
|
181
|
-
Example 2:
|
182
|
-
|
183
|
-
!hacks = false
|
184
|
-
|
185
|
-
(in screen.sass)
|
186
|
-
#nav
|
187
|
-
+inline-block-list
|
188
|
-
|
189
|
-
(in ie.sass)
|
190
|
-
#nav li
|
191
|
-
+ie-inline-block
|
192
|
-
|
193
|
-
It requires more maintenance on your part, but the result is a
|
194
|
-
hack-free output.
|
195
|
-
|
196
|
-
The Susy mixins that use either hacks or targeted mixins are
|
197
|
-
`+omega` (`+ie-omega([!right-floated = false])`), `+inline-block`
|
198
|
-
(`+ie-inline-block`), and `+inline-block-list` which sets
|
199
|
-
`+inline-block` on the list items.
|
200
|
-
|
201
|
-
The ie-specific mixins only add the needed ie-specific adjustments,
|
202
|
-
so they need to be used in addition to their counterparts, not on
|
203
|
-
their own.
|
204
|
-
|
205
|
-
* `gutter(!context)` is a function that you can call at any time to return the
|
206
|
-
size of a gutter in your given context using percentages. The number is
|
207
|
-
returned without units so that you can perform math on it. In order to use
|
208
|
-
it, you will have to add "%" to it.
|
209
|
-
|
210
|
-
Example:
|
211
|
-
|
212
|
-
#nav
|
213
|
-
padding-right= gutter(5) + "%"
|
214
|
-
|
215
|
-
* `columns(!number, !context)` returns the span of `!number` columns in
|
216
|
-
`!context` as a percentage (again without the units declared). This span
|
217
|
-
includes any gutters between the columns spanned.
|
218
|
-
|
219
|
-
Example:
|
220
|
-
|
221
|
-
#nav
|
222
|
-
padding-left= columns(3,5) + "%"
|
223
|
-
|
224
|
-
* `side_gutter()` is also available and takes no arguments since it is always
|
225
|
-
used at the top nesting level.
|
226
|
-
|
227
|
-
* `px2em()` takes one numeric argument representing the number of pixels you
|
228
|
-
want to mimic. The return is an em value (with no units declared) that
|
229
|
-
approximates that number of pixels. Useful for keeping your entire design
|
230
|
-
fluid.
|
231
|
-
|
232
|
-
Example:
|
233
|
-
|
234
|
-
#nav
|
235
|
-
border-bottom= px2em(2) + "em"
|