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,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('susy', options)
|
@@ -1,79 +0,0 @@
|
|
1
|
-
require 'sass'
|
2
|
-
|
3
|
-
module Sass::Script::Functions
|
4
|
-
# set the Susy base font size (in pixels)
|
5
|
-
# return the percentage base font size
|
6
|
-
# this could be done in Sass, but we need to store the px_size so we
|
7
|
-
# can provide a px_to_em function
|
8
|
-
def base_font_size(base_font_size_px)
|
9
|
-
@@susy_base_font_size_px = Float(base_font_size_px.value)
|
10
|
-
Sass::Script::Number.new((@@susy_base_font_size_px / 16) * 100)
|
11
|
-
end
|
12
|
-
|
13
|
-
# approximate a given pixel size in ems
|
14
|
-
def px2em(size_in_px)
|
15
|
-
Sass::Script::Number.new((size_in_px.value / @@susy_base_font_size_px))
|
16
|
-
end
|
17
|
-
|
18
|
-
# set the Susy column and gutter widths and number of columns
|
19
|
-
# column, gutter and padding widths should be sent as unitless numbers,
|
20
|
-
# though they may "really" be ems or pixels (_grid.sass handles units).
|
21
|
-
# return total width of container (without units)
|
22
|
-
def container(total_columns, column_width, gutter_width, side_gutter_width)
|
23
|
-
@@susy_total_columns = total_columns.value
|
24
|
-
@@susy_column_width = Float(column_width.value)
|
25
|
-
@@susy_gutter_width = Float(gutter_width.value)
|
26
|
-
@@susy_side_gutter_width = Float(side_gutter_width.value)
|
27
|
-
context
|
28
|
-
end
|
29
|
-
|
30
|
-
# return the width of 'n' columns plus 'n - 1' gutters
|
31
|
-
# plus page padding in non-nested contexts
|
32
|
-
def context(n = nil)
|
33
|
-
begin
|
34
|
-
n = n.value
|
35
|
-
rescue NoMethodError
|
36
|
-
n = false
|
37
|
-
end
|
38
|
-
sg = 0
|
39
|
-
if !n
|
40
|
-
n = @@susy_total_columns
|
41
|
-
sg = @@susy_side_gutter_width
|
42
|
-
end
|
43
|
-
c, g = [@@susy_column_width, @@susy_gutter_width]
|
44
|
-
Sass::Script::Number.new(((n * c) + ((n - 1) * g)) + (sg * 2))
|
45
|
-
end
|
46
|
-
|
47
|
-
# return the percentage width of 'number' columns in a context of
|
48
|
-
# 'context_columns'
|
49
|
-
def columns(number, context_columns = nil)
|
50
|
-
n = number.value
|
51
|
-
context_width = context(context_columns).value
|
52
|
-
c, g = [@@susy_column_width, @@susy_gutter_width]
|
53
|
-
Sass::Script::Number.new((((n * c) + ((n - 1) * g)) / context_width) * 100)
|
54
|
-
end
|
55
|
-
|
56
|
-
# return the percentage width of a single gutter in a context of
|
57
|
-
# 'context_columns'
|
58
|
-
def gutter(context_columns = nil)
|
59
|
-
context_width = context(context_columns).value
|
60
|
-
g = @@susy_gutter_width
|
61
|
-
Sass::Script::Number.new((g / context_width) * 100)
|
62
|
-
end
|
63
|
-
|
64
|
-
# return the percentage width of a single side gutter in a context of
|
65
|
-
# 'context_columns'
|
66
|
-
def side_gutter(context_columns = nil)
|
67
|
-
context_width = context(context_columns).value
|
68
|
-
sg = @@susy_side_gutter_width
|
69
|
-
Sass::Script::Number.new((sg / context_width) * 100)
|
70
|
-
end
|
71
|
-
|
72
|
-
# return the percentage width of a single column in a context of
|
73
|
-
# 'context_columns'
|
74
|
-
def column(context_columns = nil)
|
75
|
-
context_width = context(context_columns).value
|
76
|
-
c = @@susy_column_width
|
77
|
-
Sass::Script::Number.new((c / context_width) * 100)
|
78
|
-
end
|
79
|
-
end
|
@@ -1,128 +0,0 @@
|
|
1
|
-
//** The Susy Grid **//
|
2
|
-
// Updated 11.20.2009 by Eric A. Meyer
|
3
|
-
|
4
|
-
|
5
|
-
// Your basic settings for the grid.
|
6
|
-
// Override these in base.sass to customize your site.
|
7
|
-
// The grid_unit will be used for col_width, gutter_width and side_gutter_width
|
8
|
-
!grid_unit ||= "em"
|
9
|
-
!total_cols ||= 12
|
10
|
-
!col_width ||= 4
|
11
|
-
!gutter_width ||= 1
|
12
|
-
!side_gutter_width ||= !gutter_width
|
13
|
-
|
14
|
-
|
15
|
-
// Susy will set your outer shell based on the variables above.
|
16
|
-
!container_width = container(!total_cols, !col_width, !gutter_width, !side_gutter_width)
|
17
|
-
|
18
|
-
|
19
|
-
// Set on the outer grid-containing element(s).
|
20
|
-
=container(!align = "left")
|
21
|
-
// clear all floated columns
|
22
|
-
+clearfix
|
23
|
-
// align the text back to the left (override for other alignments)
|
24
|
-
text-align= !align
|
25
|
-
// use auto horizontal margins to center your page in the body
|
26
|
-
margin:
|
27
|
-
left: auto
|
28
|
-
right: auto
|
29
|
-
// set the page width based on column settings
|
30
|
-
width= !container_width + !grid_unit
|
31
|
-
// never exceed 100% of the browser window (no side-scrolling)
|
32
|
-
max-width: 100%
|
33
|
-
|
34
|
-
|
35
|
-
// Set on any column element, even nested ones.
|
36
|
-
// The first agument [required] is the number of columns to span.
|
37
|
-
// The second argument is the context (columns spanned by parent).
|
38
|
-
// - Context is required on any nested elements.
|
39
|
-
// - Context MUST NOT be declared on a top-level element.
|
40
|
-
// By default a grid-column is floated left with a right gutter.
|
41
|
-
// - Override those with +float("right"), +alpha or +omega
|
42
|
-
=columns(!n, !context = false)
|
43
|
-
// the column is floated left
|
44
|
-
+float("left")
|
45
|
-
// the width of the column is set as a percentage of the context
|
46
|
-
width= columns(!n, !context) + "%"
|
47
|
-
// the right gutter is added as a percentage of the context
|
48
|
-
margin-right= gutter(!context) + "%"
|
49
|
-
|
50
|
-
|
51
|
-
// Set on any element to add empty colums as padding before or after.
|
52
|
-
=prefix(!n, !context = false)
|
53
|
-
padding-left= columns(!n, !context) + gutter(!context) + "%"
|
54
|
-
|
55
|
-
=suffix(!n, !context = false)
|
56
|
-
padding-right= columns(!n, !context) + gutter(!context) + "%"
|
57
|
-
|
58
|
-
|
59
|
-
// Set as a shortcut for both prefix and suffix.
|
60
|
-
=pad(!p = 0, !s = 0, !c = false)
|
61
|
-
@if !p != 0
|
62
|
-
+prefix(!p,!c)
|
63
|
-
@if !s != 0
|
64
|
-
+suffix(!s,!c)
|
65
|
-
|
66
|
-
|
67
|
-
// Set on any element spanning the first column in non-nested context
|
68
|
-
// to take side-gutters into account. Recommended that you pass the
|
69
|
-
// actual nested contexts (when nested) rather than a true/false argument
|
70
|
-
// for the sake of consistency. Effect is the same.
|
71
|
-
=alpha(!nested = false)
|
72
|
-
@if !nested == false
|
73
|
-
margin-left= side_gutter() + "%"
|
74
|
-
|
75
|
-
|
76
|
-
// When global constant !hacks == true:
|
77
|
-
// - this will be called automatically with hacks
|
78
|
-
// When global constant !hacks == false:
|
79
|
-
// - you can call it yourself in ie.sass without the hacks
|
80
|
-
=ie-omega(!nested = false, !dir = "right", !hack = false)
|
81
|
-
!s = side_gutter()
|
82
|
-
@if !dir == "right"
|
83
|
-
@if !hack
|
84
|
-
#margin-left: -1%
|
85
|
-
@else
|
86
|
-
margin-left: -1%
|
87
|
-
@else
|
88
|
-
@if !nested
|
89
|
-
@if !hack
|
90
|
-
#margin-right: -1%
|
91
|
-
@else
|
92
|
-
margin-right: -1%
|
93
|
-
@else
|
94
|
-
@if !hack
|
95
|
-
#margin-right= !s - 1 + "%"
|
96
|
-
@else
|
97
|
-
margin-right= !s - 1 + "%"
|
98
|
-
|
99
|
-
|
100
|
-
// Sets the direction that +omega elements are floated
|
101
|
-
// - Override !omega_float globally or set +float locally to change
|
102
|
-
!omega_float ||= "right"
|
103
|
-
|
104
|
-
|
105
|
-
// Set omega on the last element of a row to take side-gutters
|
106
|
-
// and the page edge into account. Set the !nested argument for nested columns.
|
107
|
-
// It is recommended that you pass the actual nested context when nested,
|
108
|
-
// rather than a true/false argument, for the sake of consistency. Effect is the same.
|
109
|
-
=omega(!nested = false)
|
110
|
-
+float(!omega_float)
|
111
|
-
@if !nested
|
112
|
-
margin-right: 0
|
113
|
-
@else
|
114
|
-
margin-right= side_gutter() + "%"
|
115
|
-
@if !hacks
|
116
|
-
/* ugly hacks for IE6-7 */
|
117
|
-
+ie-omega(!nested, !omega_float, true)
|
118
|
-
/* end ugly hacks */
|
119
|
-
|
120
|
-
|
121
|
-
// Set on an element that will span it's entire context.
|
122
|
-
// - no need for +columns, +alpha or +omega on a +full element.
|
123
|
-
=full(!nested = false)
|
124
|
-
clear: both
|
125
|
-
@if !nested == false
|
126
|
-
!s = side_gutter() + "%"
|
127
|
-
margin-right= !s
|
128
|
-
margin-left= !s
|
@@ -1,23 +0,0 @@
|
|
1
|
-
//** Susy **//
|
2
|
-
// Updated 11.20.2009 by Eric A. Meyer
|
3
|
-
|
4
|
-
|
5
|
-
// Tell susy whether you are using hacks or conditional comments.
|
6
|
-
!hacks ||= true
|
7
|
-
|
8
|
-
|
9
|
-
// Import all the Important Stuff.
|
10
|
-
@import utils.sass
|
11
|
-
@import text.sass
|
12
|
-
@import grid.sass
|
13
|
-
|
14
|
-
|
15
|
-
// Set Susy on your BODY element to get things started.
|
16
|
-
=susy(!align = "center")
|
17
|
-
// text-align set to center by default for auto-centering layouts
|
18
|
-
// - override !align for left/right-aligned designs
|
19
|
-
text-align= !align
|
20
|
-
// font size is set against the browser default (usually 16px)
|
21
|
-
font-size= !base_font_size
|
22
|
-
line-height= !base_line_height
|
23
|
-
|
@@ -1,15 +0,0 @@
|
|
1
|
-
//** Susy Text Settings **//
|
2
|
-
// Updated 11.20.2009 by Eric A. Meyer
|
3
|
-
|
4
|
-
|
5
|
-
// The font size and line height are declared in pixels.
|
6
|
-
// You override these default settings in base.sass
|
7
|
-
!base_font_size_px ||= 16
|
8
|
-
!base_line_height_px ||= 24
|
9
|
-
|
10
|
-
|
11
|
-
// Susy will do the math to make those sizes relative.
|
12
|
-
// We call base_font_size function (even though we could do the math here)
|
13
|
-
// because Susy needs to "remember" our base_font_size_px for px2em()
|
14
|
-
!base_font_size = base_font_size(!base_font_size_px) + "%"
|
15
|
-
!base_line_height = (!base_line_height_px / !base_font_size_px) + "em"
|
@@ -1,81 +0,0 @@
|
|
1
|
-
//** Susy Utilities **//
|
2
|
-
// Updated 11.20.2009 by Eric A. Meyer
|
3
|
-
|
4
|
-
|
5
|
-
// An extension of the Compass Core Utilities
|
6
|
-
@import compass/utilities.sass
|
7
|
-
|
8
|
-
|
9
|
-
// Apply to you container element(s) to show a grid image.
|
10
|
-
// - You need to supply the image. Susy can't do everything.
|
11
|
-
=show-grid(!src)
|
12
|
-
background:
|
13
|
-
image= image_url(!src)
|
14
|
-
repeat: repeat
|
15
|
-
position= side_gutter() + "% 0"
|
16
|
-
|
17
|
-
|
18
|
-
// Brings IE in line with inline-block display
|
19
|
-
// - Using hacks if called automatically because !hacks == true
|
20
|
-
// - Or not, if you call it from ie.sass because !hacks == false
|
21
|
-
=ie-inline-block(!hack = false)
|
22
|
-
@if !hack
|
23
|
-
/* ugly hacks for IE6-7 */
|
24
|
-
#display: inline
|
25
|
-
// fixes alignment against native input/button on IE6
|
26
|
-
#vertical-align: auto
|
27
|
-
/* end ugly hacks */
|
28
|
-
@else
|
29
|
-
display: inline
|
30
|
-
// fixes alignment against native input/button on IE6
|
31
|
-
vertical-align: auto
|
32
|
-
|
33
|
-
|
34
|
-
// An override for compass inline-block that lets you take advantage
|
35
|
-
// of Susys !hacks constant. if true, hacks. if false, use ie-inline-block
|
36
|
-
// to help ie along in your ie.sass
|
37
|
-
=inline-block
|
38
|
-
display: -moz-inline-box
|
39
|
-
-moz-box-orient: vertical
|
40
|
-
display: inline-block
|
41
|
-
vertical-align: middle
|
42
|
-
@if !hacks
|
43
|
-
+ie-inline-block(true)
|
44
|
-
|
45
|
-
|
46
|
-
// An inline-block list that works in IE
|
47
|
-
// For those awkward moments when a floated horizontal list just wont cut it
|
48
|
-
// NOTE: If global !hacks == false:
|
49
|
-
// - you'll need to fix list items in ie.sass with +ie-inline-block
|
50
|
-
=inline-block-list(!hpad = 0)
|
51
|
-
+horizontal-list-container
|
52
|
-
li
|
53
|
-
+no-bullet
|
54
|
-
+inline-block
|
55
|
-
white-space: no-wrap
|
56
|
-
padding:
|
57
|
-
left= !hpad
|
58
|
-
right= !hpad
|
59
|
-
|
60
|
-
|
61
|
-
// Hide an element from the viewport, but keep it around for accessability
|
62
|
-
=hide
|
63
|
-
position: absolute
|
64
|
-
top: -9999em
|
65
|
-
|
66
|
-
|
67
|
-
// Apply to skip-to-content accessibility links that will appear on focus.
|
68
|
-
// - Set the location arguments if you care where it appears.
|
69
|
-
=skip-link(!t = 0, !r = false, !b = false, !l = false)
|
70
|
-
+hide
|
71
|
-
display: block
|
72
|
-
&:focus
|
73
|
-
@if !t
|
74
|
-
top= !t
|
75
|
-
@if !r
|
76
|
-
right= !r
|
77
|
-
@if !b
|
78
|
-
bottom= !b
|
79
|
-
@if !l
|
80
|
-
left= !l
|
81
|
-
z-index: 999
|
@@ -1,147 +0,0 @@
|
|
1
|
-
//** DEFAULT STYLES **//
|
2
|
-
// Don't forget to set your default styles.
|
3
|
-
|
4
|
-
|
5
|
-
// Get all the details and mixins from base.sass
|
6
|
-
@import base.sass
|
7
|
-
// Reset browser defaults, and prepare block-level HTML5 elements
|
8
|
-
@import susy/reset.sass
|
9
|
-
|
10
|
-
|
11
|
-
/* @group defaults */
|
12
|
-
|
13
|
-
body
|
14
|
-
+sans-family
|
15
|
-
color= !main
|
16
|
-
|
17
|
-
/* @group links */
|
18
|
-
|
19
|
-
\:focus
|
20
|
-
outline= 1px "dotted" !alt
|
21
|
-
|
22
|
-
a
|
23
|
-
&:link, &:visited
|
24
|
-
color= !alt
|
25
|
-
&:focus, &:hover, &:active
|
26
|
-
color= !alt - #222
|
27
|
-
text-decoration: none
|
28
|
-
|
29
|
-
/* @end */
|
30
|
-
|
31
|
-
|
32
|
-
/* @group headers */
|
33
|
-
|
34
|
-
h1, h2, h3, h4, h5, h6
|
35
|
-
font-weight: bold
|
36
|
-
|
37
|
-
/* @end */
|
38
|
-
|
39
|
-
|
40
|
-
/* @group forms */
|
41
|
-
|
42
|
-
form *:focus
|
43
|
-
outline: none
|
44
|
-
|
45
|
-
fieldset
|
46
|
-
margin= !base_line_height 0
|
47
|
-
|
48
|
-
legend
|
49
|
-
font-weight: bold
|
50
|
-
font-variant: small-caps
|
51
|
-
|
52
|
-
label
|
53
|
-
display: block
|
54
|
-
margin-top= !base_line_height
|
55
|
-
|
56
|
-
legend + label
|
57
|
-
margin-top: 0
|
58
|
-
|
59
|
-
textarea, input[type="text"]
|
60
|
-
+box-sizing("border-box")
|
61
|
-
width: 100%
|
62
|
-
|
63
|
-
/* @end */
|
64
|
-
|
65
|
-
|
66
|
-
/* @group tables */
|
67
|
-
|
68
|
-
/* tables still need 'cellspacing="0"' in the markup */
|
69
|
-
|
70
|
-
table
|
71
|
-
:width 100%
|
72
|
-
:border= 1/16 + "em solid" !main + #333
|
73
|
-
:left none
|
74
|
-
:right none
|
75
|
-
:padding= 7/16 + "em 0"
|
76
|
-
:margin= 8/16 + "em 0"
|
77
|
-
|
78
|
-
th
|
79
|
-
:font-weight bold
|
80
|
-
|
81
|
-
/* @end */
|
82
|
-
|
83
|
-
|
84
|
-
/* @group block tags */
|
85
|
-
|
86
|
-
p
|
87
|
-
:margin= !base_line_height 0
|
88
|
-
|
89
|
-
=list-default(!ol = false)
|
90
|
-
:margin= !base_line_height
|
91
|
-
@if !ol
|
92
|
-
:list-style decimal
|
93
|
-
@else
|
94
|
-
:list-style disc
|
95
|
-
|
96
|
-
=no-style-list
|
97
|
-
+no-bullets
|
98
|
-
:margin 0
|
99
|
-
:padding 0
|
100
|
-
|
101
|
-
ol
|
102
|
-
+list-default("ol")
|
103
|
-
|
104
|
-
ul
|
105
|
-
+list-default
|
106
|
-
|
107
|
-
blockquote
|
108
|
-
:margin= !base_line_height
|
109
|
-
+serif-family
|
110
|
-
|
111
|
-
/* @end */
|
112
|
-
|
113
|
-
|
114
|
-
/* @group inline tags */
|
115
|
-
|
116
|
-
cite
|
117
|
-
:font-style italic
|
118
|
-
|
119
|
-
em
|
120
|
-
:font-style italic
|
121
|
-
|
122
|
-
strong
|
123
|
-
:font-weight bold
|
124
|
-
|
125
|
-
ins
|
126
|
-
:text-decoration underline
|
127
|
-
|
128
|
-
del
|
129
|
-
:text-decoration line-through
|
130
|
-
|
131
|
-
q
|
132
|
-
:font-style italic
|
133
|
-
em
|
134
|
-
:font-style normal
|
135
|
-
|
136
|
-
/* @end */
|
137
|
-
|
138
|
-
|
139
|
-
/* @group replaced tags */
|
140
|
-
|
141
|
-
img
|
142
|
-
:vertical-align bottom
|
143
|
-
|
144
|
-
/* @end */
|
145
|
-
|
146
|
-
|
147
|
-
/* @end */
|