compass 0.10.0.rc1 → 0.10.0.rc2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.markdown +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
@@ -0,0 +1,13 @@
|
|
1
|
+
// Provides a cross-browser method to implement `display: inline-block;`
|
2
|
+
//
|
3
|
+
// This file is a sass file to work around the fact that the
|
4
|
+
// SCSS parser does not support the #prop hack at this time.
|
5
|
+
// http://github.com/nex3/haml/issues/issue/119
|
6
|
+
|
7
|
+
@mixin inline-block {
|
8
|
+
display: -moz-inline-box;
|
9
|
+
-moz-box-orient: vertical;
|
10
|
+
display: inline-block;
|
11
|
+
vertical-align: middle;
|
12
|
+
#display: inline;
|
13
|
+
#vertical-align: auto; }
|
@@ -0,0 +1,19 @@
|
|
1
|
+
// Provides cross-browser CSS opacity. Takes a number between 0 and 1 as the argument, e.g. 0.5 for 50% opacity.
|
2
|
+
//
|
3
|
+
// @param $opacity
|
4
|
+
// A number between 0 and 1, where 0 is transparent and 1 is opaque.
|
5
|
+
|
6
|
+
@mixin opacity($opacity) {
|
7
|
+
opacity: $opacity;
|
8
|
+
-moz-opacity: $opacity;
|
9
|
+
-khtml-opacity: $opacity;
|
10
|
+
-ms-filter: unquote("progid:DXImageTransform.Microsoft.Alpha(Opacity=") + round($opacity * 100) + unquote(")");
|
11
|
+
filter: unquote("alpha(opacity=") + round($opacity * 100) + unquote(")"); }
|
12
|
+
|
13
|
+
// Make an element completely transparent.
|
14
|
+
@mixin transparent {
|
15
|
+
@include opacity(0); }
|
16
|
+
|
17
|
+
// Make an element completely opaque.
|
18
|
+
@mixin opaque {
|
19
|
+
@include opacity(1); }
|
@@ -0,0 +1,18 @@
|
|
1
|
+
// Provides CSS text shadows.
|
2
|
+
//
|
3
|
+
// Arguments are color, horizontal offset, vertical offset, and blur
|
4
|
+
|
5
|
+
// These defaults make the arguments optional for this mixin
|
6
|
+
//
|
7
|
+
// If you like, set different defaults in your project
|
8
|
+
|
9
|
+
$default-text-shadow-color: #aaaaaa !default;
|
10
|
+
|
11
|
+
$default-text-shadow-h-offset: 1px !default;
|
12
|
+
|
13
|
+
$default-text-shadow-v-offset: 1px !default;
|
14
|
+
|
15
|
+
$default-text-shadow-blur: 1px !default;
|
16
|
+
|
17
|
+
@mixin text-shadow($color: $default-text-shadow-color, $hoff: $default-text-shadow-h-offset, $voff: $default-text-shadow-v-offset, $blur: $default-text-shadow-blur) {
|
18
|
+
text-shadow: $color $hoff $voff $blur; }
|
@@ -0,0 +1,64 @@
|
|
1
|
+
// CSS Transform and Transform-Origin
|
2
|
+
|
3
|
+
// Apply a transform sent as a complete string.
|
4
|
+
|
5
|
+
@mixin apply-transform($transform: false) {
|
6
|
+
transform: $transform;
|
7
|
+
-webkit-transform: $transform;
|
8
|
+
-moz-transform: $transform; }
|
9
|
+
|
10
|
+
// Apply a transform-origin sent as a complete string.
|
11
|
+
|
12
|
+
@mixin apply-origin($origin: false) {
|
13
|
+
transform-origin: $origin;
|
14
|
+
-webkit-transform-origin: $origin;
|
15
|
+
-moz-transform-origin: $origin; }
|
16
|
+
|
17
|
+
// transform-origin requires x and y coordinates
|
18
|
+
//
|
19
|
+
// * only applies the coordinates if they are there so that it can be called by scale, rotate and skew safely
|
20
|
+
|
21
|
+
@mixin transform-origin($originx: 50%, $originy: 50%) {
|
22
|
+
@if $originx or $originy {
|
23
|
+
@if $originy {
|
24
|
+
@include apply-origin($originx or 50% $originy);
|
25
|
+
} @else {
|
26
|
+
@include apply-origin($originx); } } }
|
27
|
+
|
28
|
+
// A full transform mixin with everything you could want
|
29
|
+
//
|
30
|
+
// * including origin adjustments if you want them
|
31
|
+
// * scale, rotate and skew require units of degrees(deg)
|
32
|
+
// * scale takes a multiplier, rotate and skew take degrees
|
33
|
+
|
34
|
+
@mixin transform($scale: 1, $rotate: 0deg, $transx: 0, $transy: 0, $skewx: 0deg, $skewy: 0deg, $originx: false, $originy: false) {
|
35
|
+
$transform : scale($scale) rotate($rotate) translate($transx, $transy) skew($skewx, $skewy);
|
36
|
+
@include apply-transform($transform);
|
37
|
+
@include transform-origin($originx, $originy); }
|
38
|
+
|
39
|
+
// Transform Partials
|
40
|
+
//
|
41
|
+
// These work well on their own, but they don't add to each other, they override.
|
42
|
+
// Use them with extra origin args, or along side +transform-origin
|
43
|
+
|
44
|
+
// Adjust only the scale, with optional origin coordinates
|
45
|
+
|
46
|
+
@mixin scale($scale: 1.25, $originx: false, $originy: false) {
|
47
|
+
@include apply-transform(scale($scale));
|
48
|
+
@include transform-origin($originx, $originy); }
|
49
|
+
|
50
|
+
// Adjust only the rotation, with optional origin coordinates
|
51
|
+
|
52
|
+
@mixin rotate($rotate: 45deg, $originx: false, $originy: false) {
|
53
|
+
@include apply-transform(rotate($rotate));
|
54
|
+
@include transform-origin($originx, $originy); }
|
55
|
+
|
56
|
+
// Adjust only the translation
|
57
|
+
|
58
|
+
@mixin translate($transx: 0, $transy: 0) {
|
59
|
+
@include apply-transform(translate($transx, $transy)); }
|
60
|
+
|
61
|
+
// Adjust only the skew, with optional origin coordinates
|
62
|
+
@mixin skew($skewx: 0deg, $skewy: 0deg, $originx: false, $originy: false) {
|
63
|
+
@include apply-transform(skew($skewx, $skewy));
|
64
|
+
@include transform-origin($originx, $originy); }
|
@@ -0,0 +1,77 @@
|
|
1
|
+
// CSS Transitions
|
2
|
+
// Currently only works in Webkit.
|
3
|
+
//
|
4
|
+
// * expected in CSS3, FireFox 3.6/7 and Opera Presto 2.3
|
5
|
+
// * We'll be prepared.
|
6
|
+
//
|
7
|
+
// Including this submodule sets following defaults for the mixins:
|
8
|
+
//
|
9
|
+
// $default-transition-property : all
|
10
|
+
// $default-transition-duration : 1s
|
11
|
+
// $default-transition-function : false
|
12
|
+
// $default-transition-delay : false
|
13
|
+
//
|
14
|
+
// Override them if you like. Timing-function and delay are set to false for browser defaults (ease, 0s).
|
15
|
+
|
16
|
+
$default-transition-property: all !default;
|
17
|
+
|
18
|
+
$default-transition-duration: 1s !default;
|
19
|
+
|
20
|
+
$default-transition-function: false !default;
|
21
|
+
|
22
|
+
$default-transition-delay: false !default;
|
23
|
+
|
24
|
+
// One or more properties to transition
|
25
|
+
//
|
26
|
+
// * for multiple, use a comma-delimited list
|
27
|
+
// * also accepts "all" or "none"
|
28
|
+
|
29
|
+
@mixin transition-property($properties: $default-transition-property) {
|
30
|
+
transition-property: $properties;
|
31
|
+
-webkit-transition-property: $properties;
|
32
|
+
-moz-transition-property: $properties;
|
33
|
+
-o-transition-property: $properties; }
|
34
|
+
|
35
|
+
// One or more durations in seconds
|
36
|
+
//
|
37
|
+
// * for multiple, use a comma-delimited list
|
38
|
+
// * these durations will affect the properties in the same list position
|
39
|
+
|
40
|
+
@mixin transition-duration($duration: $default-transition-duration) {
|
41
|
+
transition-duration: $duration;
|
42
|
+
-webkit-transition-duration: $duration;
|
43
|
+
-moz-transition-duration: $duration;
|
44
|
+
-o-transition-duration: $duration; }
|
45
|
+
|
46
|
+
// One or more timing functions
|
47
|
+
//
|
48
|
+
// * [ ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier(x1, y1, x2, y2)]
|
49
|
+
// * For multiple, use a comma-delimited list
|
50
|
+
// * These functions will effect the properties in the same list position
|
51
|
+
|
52
|
+
@mixin transition-timing-function($function: $default-transition-function) {
|
53
|
+
transition-timing-function: $function;
|
54
|
+
-webkit-transition-timing-function: $function;
|
55
|
+
-moz-transition-timing-function: $function;
|
56
|
+
-o-transition-timing-function: $function; }
|
57
|
+
|
58
|
+
// One or more transition-delays in seconds
|
59
|
+
//
|
60
|
+
// * for multiple, use a comma-delimited list
|
61
|
+
// * these delays will effect the properties in the same list position
|
62
|
+
|
63
|
+
@mixin transition-delay($delay: $default-transition-delay) {
|
64
|
+
transition-delay: $delay;
|
65
|
+
-webkit-transition-delay: $delay;
|
66
|
+
-moz-transition-delay: $delay;
|
67
|
+
-o-transition-delay: $delay; }
|
68
|
+
|
69
|
+
// Transition all-in-one shorthand
|
70
|
+
|
71
|
+
@mixin transition($properties: $default-transition-property, $duration: $default-transition-duration, $function: $default-transition-function, $delay: $default-transition-delay) {
|
72
|
+
@include transition-property($properties);
|
73
|
+
@include transition-duration($duration);
|
74
|
+
@if $function {
|
75
|
+
@include transition-timing-function($function); }
|
76
|
+
@if $delay {
|
77
|
+
@include transition-delay($delay); } }
|
@@ -0,0 +1,23 @@
|
|
1
|
+
// Based on a [blog post by Ryan Fait](http://ryanfait.com/resources/footer-stick-to-bottom-of-page/).
|
2
|
+
//
|
3
|
+
// Must be mixed into the top level of your stylesheet.
|
4
|
+
//
|
5
|
+
// Footer element must be outside of root wrapper element.
|
6
|
+
//
|
7
|
+
// Footer must be a fixed height.
|
8
|
+
|
9
|
+
@mixin sticky-footer($footer-height, $root-selector: unquote("#root"), $root-footer-selector: unquote("#root_footer"), $footer-selector: unquote("#footer")) {
|
10
|
+
html, body {
|
11
|
+
height: 100%; }
|
12
|
+
#{$root-selector} {
|
13
|
+
clear: both;
|
14
|
+
min-height: 100%;
|
15
|
+
height: auto !important;
|
16
|
+
height: 100%;
|
17
|
+
margin-bottom: -$footer-height;
|
18
|
+
#{$root-footer-selector} {
|
19
|
+
height: $footer-height; } }
|
20
|
+
#{$footer-selector} {
|
21
|
+
clear: both;
|
22
|
+
position: relative;
|
23
|
+
height: $footer-height; } }
|
@@ -0,0 +1,18 @@
|
|
1
|
+
// Classes that are useful for controlling what gets printed.
|
2
|
+
// You must mix +print-utilities into your print stylesheet
|
3
|
+
// and +print-utilities("screen") into your screen stylesheet.
|
4
|
+
// Note: these aren't semantic.
|
5
|
+
@mixin print-utilities($media: print) {
|
6
|
+
@if $media == "print" {
|
7
|
+
.noprint,
|
8
|
+
.no-print {
|
9
|
+
display: none; }
|
10
|
+
#{elements-of-type("block")} {
|
11
|
+
&.print-only {
|
12
|
+
display: block; } }
|
13
|
+
#{elements-of-type("inline")} {
|
14
|
+
&.print-only {
|
15
|
+
display: inline; } } }
|
16
|
+
@else {
|
17
|
+
.print-only {
|
18
|
+
display: none; } } }
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "sprites/sprite-img";
|
@@ -0,0 +1,24 @@
|
|
1
|
+
@import "hacks";
|
2
|
+
|
3
|
+
//**
|
4
|
+
// Extends the element to enclose any floats it contains.
|
5
|
+
// This basic method is preferred for the usual case, when positioned content will not show outside the bounds of the container.
|
6
|
+
// Recommendations include using this in conjunction with a width:
|
7
|
+
// http://www.quirksmode.org/blog/archives/2005/03/clearing_floats.html
|
8
|
+
@mixin clearfix {
|
9
|
+
overflow: hidden;
|
10
|
+
@include has-layout; }
|
11
|
+
|
12
|
+
//**
|
13
|
+
// Extends the element to enclose any floats it contains.
|
14
|
+
// This older "Easy Clearing" method has the advantage of allowing positioned elements to hang outside the bounds of the container, at the expense of more tricky CSS.
|
15
|
+
// http://www.positioniseverything.net/easyclearing.html
|
16
|
+
@mixin pie-clearfix {
|
17
|
+
&:after {
|
18
|
+
content: " ";
|
19
|
+
display: block;
|
20
|
+
height: 0;
|
21
|
+
clear: both;
|
22
|
+
overflow: hidden;
|
23
|
+
visibility: hidden; }
|
24
|
+
@include has-layout; }
|
@@ -1,17 +1,17 @@
|
|
1
1
|
//**\\
|
2
|
-
|
2
|
+
// Float
|
3
3
|
|
4
|
-
@import clearfix
|
4
|
+
@import "clearfix";
|
5
5
|
|
6
6
|
// Implementation of float:left with fix for double-margin bug
|
7
|
-
|
8
|
-
|
7
|
+
@mixin float-left {
|
8
|
+
@include float(left); }
|
9
9
|
|
10
10
|
// Implementation of float:right with fix for double-margin bug
|
11
|
-
|
12
|
-
|
11
|
+
@mixin float-right {
|
12
|
+
@include float(right); }
|
13
13
|
|
14
14
|
// Available as alternate syntax with just +float
|
15
|
-
|
16
|
-
display: inline
|
17
|
-
float
|
15
|
+
@mixin float($side: left) {
|
16
|
+
display: inline;
|
17
|
+
float: $side; }
|
@@ -0,0 +1,13 @@
|
|
1
|
+
@mixin has-layout {
|
2
|
+
// This makes ie6 get layout
|
3
|
+
display: inline-block;
|
4
|
+
// and this puts it back to block
|
5
|
+
& {
|
6
|
+
display: block; } }
|
7
|
+
|
8
|
+
//**
|
9
|
+
// A hack to supply IE6 (and below) with a different property value.
|
10
|
+
// See http://www.cssportal.com/css-hacks/#in_css-important
|
11
|
+
@mixin bang-hack($property, $value, $ie6-value) {
|
12
|
+
#{$property}: #{$value} !important;
|
13
|
+
#{$property}: #{$ie6-value}; }
|
@@ -0,0 +1,16 @@
|
|
1
|
+
@import "hacks";
|
2
|
+
|
3
|
+
//**
|
4
|
+
// Cross browser min-height mixin.
|
5
|
+
@mixin min-height($value) {
|
6
|
+
@include hacked-minimum(height, $value); }
|
7
|
+
|
8
|
+
//**
|
9
|
+
// Cross browser min-width mixin.
|
10
|
+
@mixin min-width($value) {
|
11
|
+
@include hacked-minimum(width, $value); }
|
12
|
+
|
13
|
+
// @private This mixin is not meant to be used directly.
|
14
|
+
@mixin hacked-minimum($property, $value) {
|
15
|
+
min-#{$property}: $value;
|
16
|
+
@include bang-hack($property, $value, auto); }
|
@@ -0,0 +1,122 @@
|
|
1
|
+
// Based on Eric Meyer's reset http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
|
2
|
+
|
3
|
+
// Global reset rules.
|
4
|
+
// For more specific resets, use the reset mixins provided below
|
5
|
+
@mixin global-reset {
|
6
|
+
html, body, div, span, applet, object, iframe,
|
7
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
8
|
+
a, abbr, acronym, address, big, cite, code,
|
9
|
+
del, dfn, em, font, img, ins, kbd, q, s, samp,
|
10
|
+
small, strike, strong, sub, sup, tt, var,
|
11
|
+
dl, dt, dd, ol, ul, li,
|
12
|
+
fieldset, form, label, legend,
|
13
|
+
table, caption, tbody, tfoot, thead, tr, th, td {
|
14
|
+
@include reset-box-model;
|
15
|
+
@include reset-font; }
|
16
|
+
*:focus {
|
17
|
+
@include reset-focus; }
|
18
|
+
body {
|
19
|
+
@include reset-body; }
|
20
|
+
ol, ul {
|
21
|
+
@include reset-list-style; }
|
22
|
+
/* tables still need 'cellspacing="0"' in the markup */
|
23
|
+
table {
|
24
|
+
@include reset-table; }
|
25
|
+
caption, th, td {
|
26
|
+
@include reset-table-cell; }
|
27
|
+
q, blockquote {
|
28
|
+
@include reset-quotation; }
|
29
|
+
a img {
|
30
|
+
@include reset-image-anchor-border; } }
|
31
|
+
|
32
|
+
// Reset all elements within some selector scope.To reset the selector itself,
|
33
|
+
// mixin the appropriate reset mixin for that element type as well. This could be
|
34
|
+
// useful if you want to style a part of your page in a dramatically different way.
|
35
|
+
@mixin nested-reset {
|
36
|
+
div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
|
37
|
+
pre, a, abbr, acronym, address, code, del, dfn, em, img,
|
38
|
+
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr {
|
39
|
+
@include reset-box-model;
|
40
|
+
@include reset-font; }
|
41
|
+
/* tables still need 'cellspacing="0"' in the markup */
|
42
|
+
table {
|
43
|
+
@include reset-table; }
|
44
|
+
caption, th, td {
|
45
|
+
@include reset-table-cell; }
|
46
|
+
q, blockquote {
|
47
|
+
@include reset-quotation; }
|
48
|
+
a img {
|
49
|
+
@include reset-image-anchor-border; } }
|
50
|
+
|
51
|
+
//Mixins partials
|
52
|
+
@mixin reset-box-model {
|
53
|
+
margin: 0;
|
54
|
+
padding: 0;
|
55
|
+
border: 0;
|
56
|
+
outline: 0; }
|
57
|
+
|
58
|
+
@mixin reset-font {
|
59
|
+
font: {
|
60
|
+
weight: inherit;
|
61
|
+
style: inherit;
|
62
|
+
size: 100%;
|
63
|
+
family: inherit; };
|
64
|
+
vertical-align: baseline; }
|
65
|
+
|
66
|
+
@mixin reset-focus {
|
67
|
+
outline: 0; }
|
68
|
+
|
69
|
+
@mixin reset-body {
|
70
|
+
line-height: 1;
|
71
|
+
color: black;
|
72
|
+
background: white; }
|
73
|
+
|
74
|
+
@mixin reset-list-style {
|
75
|
+
list-style: none; }
|
76
|
+
|
77
|
+
@mixin reset-table {
|
78
|
+
border-collapse: separate;
|
79
|
+
border-spacing: 0;
|
80
|
+
vertical-align: middle; }
|
81
|
+
|
82
|
+
@mixin reset-table-cell {
|
83
|
+
text-align: left;
|
84
|
+
font-weight: normal;
|
85
|
+
vertical-align: middle; }
|
86
|
+
|
87
|
+
@mixin reset-quotation {
|
88
|
+
quotes: "" "";
|
89
|
+
&:before, &:after {
|
90
|
+
content: ""; } }
|
91
|
+
|
92
|
+
@mixin reset-image-anchor-border {
|
93
|
+
border: none; }
|
94
|
+
|
95
|
+
@mixin reset-html5 {
|
96
|
+
section, article, aside, header, footer, nav, dialog, figure {
|
97
|
+
display: block; } }
|
98
|
+
|
99
|
+
//**
|
100
|
+
// Resets the display of inline and block elements to their default display
|
101
|
+
// according to their tag type. Elements that have a default display that varies across
|
102
|
+
// versions of html or browser are not handled here, but this covers the 90% use case.
|
103
|
+
// Usage Example:
|
104
|
+
// // Turn off the display for both of these classes
|
105
|
+
// .unregistered-only, .registered-only
|
106
|
+
// display: none
|
107
|
+
// // Now turn only one of them back on depending on some other context.
|
108
|
+
// body.registered
|
109
|
+
// +reset-display(".registered-only")
|
110
|
+
// body.unregistered
|
111
|
+
// +reset-display(".unregistered-only")
|
112
|
+
@mixin reset-display($selector: "", $important: false) {
|
113
|
+
#{append-selector(elements-of-type("inline"), $selector)} {
|
114
|
+
@if $important {
|
115
|
+
display: inline !important; }
|
116
|
+
@else {
|
117
|
+
display: inline; } }
|
118
|
+
#{append-selector(elements-of-type("block"), $selector)} {
|
119
|
+
@if $important {
|
120
|
+
display: block !important; }
|
121
|
+
@else {
|
122
|
+
display: block; } } }
|