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
@@ -0,0 +1,56 @@
|
|
1
|
+
@import "colors";
|
2
|
+
|
3
|
+
// Mixin for producing Blueprint "inline" forms. Should be used with the blueprint-form mixin.
|
4
|
+
@mixin blueprint-inline-form {
|
5
|
+
line-height: 3;
|
6
|
+
p {
|
7
|
+
margin-bottom: 0; } }
|
8
|
+
|
9
|
+
@mixin blueprint-form {
|
10
|
+
@include blueprint-form-layout;
|
11
|
+
@include blueprint-form-borders;
|
12
|
+
@include blueprint-form-sizes; }
|
13
|
+
|
14
|
+
@mixin blueprint-form-layout {
|
15
|
+
label {
|
16
|
+
font-weight: bold; }
|
17
|
+
fieldset {
|
18
|
+
padding: 1.4em;
|
19
|
+
margin: 0 0 1.5em 0; }
|
20
|
+
legend {
|
21
|
+
font-weight: bold;
|
22
|
+
font-size: 1.2em; }
|
23
|
+
input {
|
24
|
+
&.text, &.title, &[type=text], &[type=password] {
|
25
|
+
margin: 0.5em 0;
|
26
|
+
background-color: white;
|
27
|
+
padding: 5px; }
|
28
|
+
&.title {
|
29
|
+
font-size: 1.5em; }
|
30
|
+
&[type=checkbox], &.checkbox,
|
31
|
+
&[type=radio], &.radio {
|
32
|
+
position: relative;
|
33
|
+
top: 0.25em; } }
|
34
|
+
textarea {
|
35
|
+
margin: 0.5em 0;
|
36
|
+
padding: 5px; }
|
37
|
+
select {
|
38
|
+
margin: 0.5em 0; } }
|
39
|
+
|
40
|
+
@mixin blueprint-form-sizes($input_width: 300px, $textarea_width: 390px, $textarea_height: 250px) {
|
41
|
+
input {
|
42
|
+
&.text, &.title, &[type=text], &[type=password] {
|
43
|
+
width: $input_width; } }
|
44
|
+
textarea {
|
45
|
+
width: $textarea_width;
|
46
|
+
height: $textarea_height; } }
|
47
|
+
|
48
|
+
@mixin blueprint-form-borders($unfocused_border_color: #bbbbbb, $focus_border_color: #666666, $fieldset_border_color: #cccccc) {
|
49
|
+
fieldset {
|
50
|
+
border: 1px solid $fieldset_border_color; }
|
51
|
+
input.text, input.title, input[type=text], input[type=password],
|
52
|
+
textarea,
|
53
|
+
select {
|
54
|
+
border: 1px solid $unfocused_border_color;
|
55
|
+
&:focus {
|
56
|
+
border: 1px solid $focus_border_color; } } }
|
@@ -0,0 +1,244 @@
|
|
1
|
+
// --------------------------------------------------------------
|
2
|
+
// SASS Gridification
|
3
|
+
// * Author: Chris Eppstein
|
4
|
+
// A SASS adaptation of Blueprint CSS
|
5
|
+
// * Version: 0.7.1 (2008-02-25)
|
6
|
+
// * Website: http://code.google.com/p/blueprintcss/
|
7
|
+
// Based on work by:
|
8
|
+
// * Lorin Tackett [lorintackett.com]
|
9
|
+
// * Olav Bjorkoy [bjorkoy.com]
|
10
|
+
// * Nathan Borror [playgroundblues.com]
|
11
|
+
// * Jeff Croft [jeffcroft.com]
|
12
|
+
// * Christian Metts [mintchaos.com]
|
13
|
+
// * Khoi Vinh [subtraction.com]
|
14
|
+
// Read more about using a grid here:
|
15
|
+
// * http://www.subtraction.com/2007/03/18/oh-yeeaahh
|
16
|
+
// --------------------------------------------------------------
|
17
|
+
|
18
|
+
@import "compass/utilities/general/float";
|
19
|
+
|
20
|
+
// The number of columns in the grid.
|
21
|
+
$blueprint_grid_columns: 24 !default;
|
22
|
+
|
23
|
+
// The width of a column
|
24
|
+
$blueprint_grid_width: 30px !default;
|
25
|
+
|
26
|
+
// The amount of margin between columns
|
27
|
+
$blueprint_grid_margin: 10px !default;
|
28
|
+
|
29
|
+
// The width of a column including the margin. With default settings this is `40px`.
|
30
|
+
$blueprint_grid_outer_width: $blueprint_grid_width + $blueprint_grid_margin;
|
31
|
+
|
32
|
+
// The width of the container. With default settings this is `950px`.
|
33
|
+
$blueprint_container_size: $blueprint_grid_outer_width * $blueprint_grid_columns - $blueprint_grid_margin;
|
34
|
+
|
35
|
+
// Generates presentational class names that you can use
|
36
|
+
// in your html to layout your pages.
|
37
|
+
//
|
38
|
+
// #### Note:
|
39
|
+
// Best practices discourage using this mixin,
|
40
|
+
// but it is provided to support legacy websites
|
41
|
+
// and to test the sass port against blueprint's example pages.
|
42
|
+
|
43
|
+
@mixin blueprint-grid {
|
44
|
+
// A container should group all your columns
|
45
|
+
.container {
|
46
|
+
@include container; }
|
47
|
+
.column, #{enumerate("div.span", 1, $blueprint_grid_columns)} {
|
48
|
+
@include column-base; }
|
49
|
+
// The last column in a row needs this class (or mixin) or it will end up on the next row.
|
50
|
+
.last, div.last {
|
51
|
+
@include last; }
|
52
|
+
// Use these classes (or mixins) to set the width of a column.
|
53
|
+
@for $n from 1 to $blueprint_grid_columns {
|
54
|
+
.span-#{$n} {
|
55
|
+
@include span($n); } }
|
56
|
+
.span-#{$blueprint_grid_columns}, div.span-#{$blueprint_grid_columns} {
|
57
|
+
@include span($blueprint_grid_columns);
|
58
|
+
margin: 0; }
|
59
|
+
input, textarea, select {
|
60
|
+
@for $n from 1 through $blueprint_grid_columns {
|
61
|
+
&.span-#{$n} {
|
62
|
+
@include span($n, true); } } }
|
63
|
+
// Add these to a column to append empty cols.
|
64
|
+
@for $n from 1 to $blueprint_grid_columns {
|
65
|
+
.append-#{$n} {
|
66
|
+
@include append($n); } }
|
67
|
+
// Add these to a column to prepend empty cols.
|
68
|
+
@for $n from 1 to $blueprint_grid_columns {
|
69
|
+
.prepend-#{$n} {
|
70
|
+
@include prepend($n); } }
|
71
|
+
// Use these classes on an element to push it into the
|
72
|
+
// next column, or to pull it into the previous column.
|
73
|
+
#{enumerate(".pull", 1, $blueprint_grid_columns)} {
|
74
|
+
@include pull-base; }
|
75
|
+
@for $n from 1 through $blueprint_grid_columns {
|
76
|
+
.pull-#{$n} {
|
77
|
+
@include pull-margins($n); } }
|
78
|
+
#{enumerate(".push", 1, $blueprint_grid_columns)} {
|
79
|
+
@include push-base; }
|
80
|
+
@for $n from 1 through $blueprint_grid_columns {
|
81
|
+
.push-#{$n} {
|
82
|
+
@include push-margins($n); } }
|
83
|
+
.prepend-top {
|
84
|
+
@include prepend-top; }
|
85
|
+
.append-bottom {
|
86
|
+
@include append-bottom; } }
|
87
|
+
|
88
|
+
// A container for your columns.
|
89
|
+
//
|
90
|
+
// #### Note:
|
91
|
+
// If you use this mixin without the class and want to support ie6
|
92
|
+
// you must set text-align left on your container element in an IE stylesheet.
|
93
|
+
@mixin container {
|
94
|
+
width: $blueprint_container_size;
|
95
|
+
margin: 0 auto;
|
96
|
+
@include clearfix; }
|
97
|
+
|
98
|
+
// The last column in a row needs this mixin or it will end up
|
99
|
+
// on the next row in some browsers.
|
100
|
+
@mixin last {
|
101
|
+
margin-right: 0; }
|
102
|
+
|
103
|
+
// Use this mixins to set the width of n columns.
|
104
|
+
@mixin column($n, $last: false) {
|
105
|
+
@include column-base($last);
|
106
|
+
@include span($n); }
|
107
|
+
|
108
|
+
// Set only the width of an element to align it with the grid.
|
109
|
+
// Most of the time you'll want to use `+column` instead.
|
110
|
+
//
|
111
|
+
// This mixin is especially useful for aligning tables to the grid.
|
112
|
+
@mixin span($n, $override: false) {
|
113
|
+
$width: $blueprint_grid_width * $n + $blueprint_grid_margin * ($n - 1);
|
114
|
+
@if $override {
|
115
|
+
width: $width !important; }
|
116
|
+
@else {
|
117
|
+
width: $width; } }
|
118
|
+
|
119
|
+
// The basic set of styles needed to make an element
|
120
|
+
// behave like a column:
|
121
|
+
//
|
122
|
+
// * floated to left
|
123
|
+
// * gutter margin on the right (unless the last column)
|
124
|
+
// * Some IE fixes
|
125
|
+
//
|
126
|
+
// #### Note:
|
127
|
+
// This mixin gets applied automatically when using `+column`
|
128
|
+
// so you probably don't need to use it directly unless
|
129
|
+
// you need to deviate from the grid or are trying
|
130
|
+
// to reduce the amount of generated CSS.
|
131
|
+
@mixin column-base($last: false) {
|
132
|
+
@include float-left;
|
133
|
+
@if $last {
|
134
|
+
@include last; }
|
135
|
+
@else {
|
136
|
+
margin-right: $blueprint_grid_margin; }
|
137
|
+
* html & {
|
138
|
+
overflow-x: hidden; } }
|
139
|
+
|
140
|
+
// Mixin to a column to append n empty columns to the right
|
141
|
+
// by adding right padding to the column.
|
142
|
+
@mixin append($n) {
|
143
|
+
padding-right: $blueprint_grid_outer_width * $n; }
|
144
|
+
|
145
|
+
// Mixin to a column to append n empty columns to the left
|
146
|
+
// by adding left padding to the column.
|
147
|
+
@mixin prepend($n) {
|
148
|
+
padding-left: $blueprint_grid_outer_width * $n; }
|
149
|
+
|
150
|
+
// Adds trailing margin.
|
151
|
+
@mixin append-bottom($amount: 1.5em) {
|
152
|
+
margin-bottom: $amount; }
|
153
|
+
|
154
|
+
// Adds leading margin.
|
155
|
+
@mixin prepend-top($amount: 1.5em) {
|
156
|
+
margin-top: $amount; }
|
157
|
+
|
158
|
+
// Base styles that make it possible to pull an element to the left.
|
159
|
+
// #### Note:
|
160
|
+
// This mixin gets applied automatically when using `+pull`
|
161
|
+
// so you probably don't need to use it directly unless
|
162
|
+
// you need to deviate from the grid or are trying
|
163
|
+
// to reduce the amount of generated CSS.
|
164
|
+
@mixin pull-base {
|
165
|
+
@include float-left;
|
166
|
+
position: relative; }
|
167
|
+
|
168
|
+
// The amount of pulling for element to the left.
|
169
|
+
// #### Note:
|
170
|
+
// This mixin gets applied automatically when using `+pull`
|
171
|
+
// so you probably don't need to use it directly unless
|
172
|
+
// you need to deviate from the grid or are trying
|
173
|
+
// to reduce the amount of generated CSS.
|
174
|
+
@mixin pull-margins($n, $last: false) {
|
175
|
+
@if $last {
|
176
|
+
margin-left: -$blueprint_grid_outer_width * $n + $blueprint_grid_margin; }
|
177
|
+
@else {
|
178
|
+
margin-left: -$blueprint_grid_outer_width * $n; } }
|
179
|
+
|
180
|
+
// Moves a column `n` columns to the left.
|
181
|
+
//
|
182
|
+
// This mixin can also be used to change the display order of columns.
|
183
|
+
//
|
184
|
+
// If pulling past the last (visually) element in a row,
|
185
|
+
// pass `true` as the second argument so the calculations can adjust
|
186
|
+
// accordingly.
|
187
|
+
|
188
|
+
// For example:
|
189
|
+
//
|
190
|
+
// HTML:
|
191
|
+
// <div id="one">One</div>
|
192
|
+
// <div id="two">Two</div>
|
193
|
+
// Sass:
|
194
|
+
// #one
|
195
|
+
// +column(18, true)
|
196
|
+
// +prepend(6)
|
197
|
+
// #two
|
198
|
+
// +column(6)
|
199
|
+
// +pull(18, true)
|
200
|
+
@mixin pull($n, $last: false) {
|
201
|
+
@include pull-base;
|
202
|
+
@include pull-margins($n, $last); }
|
203
|
+
|
204
|
+
@mixin push-base {
|
205
|
+
@include float-right;
|
206
|
+
position: relative; }
|
207
|
+
|
208
|
+
@mixin push-margins($n) {
|
209
|
+
margin: 0 -$blueprint_grid_outer_width * $n 1.5em $blueprint_grid_outer_width * $n; }
|
210
|
+
|
211
|
+
// mixin to a column to push it n columns to the right
|
212
|
+
@mixin push($n) {
|
213
|
+
@include push-base;
|
214
|
+
@include push-margins($n); }
|
215
|
+
|
216
|
+
// Border on right hand side of a column.
|
217
|
+
@mixin border($border_color: #eeeeee, $border_width: 1px) {
|
218
|
+
padding-right: $blueprint_grid_margin / 2 - $border_width;
|
219
|
+
margin-right: $blueprint_grid_margin / 2;
|
220
|
+
border-right: #{$border_width} solid #{$border_color}; }
|
221
|
+
|
222
|
+
// Border with more whitespace, spans one column.
|
223
|
+
@mixin colborder($border_color: #eeeeee, $border_width: 1px) {
|
224
|
+
padding-right: floor(($blueprint_grid_width + 2 * $blueprint_grid_margin - $border_width) / 2);
|
225
|
+
margin-right: ceil(($blueprint_grid_width + 2 * $blueprint_grid_margin - $border_width) / 2);
|
226
|
+
border-right: #{$border_width} solid #{$border_color}; }
|
227
|
+
|
228
|
+
// Mixin this to an hr to make a horizontal ruler across a column.
|
229
|
+
@mixin colruler($border_color: #dddddd) {
|
230
|
+
background: $border_color;
|
231
|
+
color: $border_color;
|
232
|
+
clear: both;
|
233
|
+
float: none;
|
234
|
+
width: 100%;
|
235
|
+
height: 0.1em;
|
236
|
+
margin: 0 0 1.45em;
|
237
|
+
border: none; }
|
238
|
+
|
239
|
+
// Mixin this to an hr to make a horizontal spacer across a column.
|
240
|
+
@mixin colspacer {
|
241
|
+
@include colruler;
|
242
|
+
background: white;
|
243
|
+
color: white;
|
244
|
+
visibility: hidden; }
|
@@ -0,0 +1,108 @@
|
|
1
|
+
// @doc off
|
2
|
+
// The blueprint IE mixins should be mixed into a stylesheet that gets conditionally included
|
3
|
+
// into IE like so:
|
4
|
+
// <!--[if lt IE 8]><link rel="stylesheet" href="ie.css"
|
5
|
+
// type="text/css" media="screen, projection"><![endif]-->
|
6
|
+
// @doc on
|
7
|
+
|
8
|
+
//| Usage Examples
|
9
|
+
//| --------------
|
10
|
+
//|
|
11
|
+
//| As a top-level mixin, apply to any page that includes the stylesheet:
|
12
|
+
//|
|
13
|
+
//| +blueprint-ie
|
14
|
+
//|
|
15
|
+
//| Scoped by a presentational class:
|
16
|
+
//|
|
17
|
+
//| body.blueprint
|
18
|
+
//| +blueprint-ie(true)
|
19
|
+
//|
|
20
|
+
//| Scoped by semantic selectors:
|
21
|
+
//|
|
22
|
+
//| body#page-1, body#page-2, body.a-special-page-type
|
23
|
+
//| +blueprint-ie(true)
|
24
|
+
//|
|
25
|
+
//| **Deprecated:** You can pass the body selector as the first argument when used as a top-level mixin
|
26
|
+
//|
|
27
|
+
//| +blueprint-ie("body#page-1, body#page-2, body.a-special-page-type")
|
28
|
+
@mixin blueprint-ie($body_selector: body) {
|
29
|
+
@if $body_selector == true {
|
30
|
+
@include blueprint-ie-body;
|
31
|
+
@include blueprint-ie-defaults; }
|
32
|
+
@else {
|
33
|
+
#{$body_selector} {
|
34
|
+
@include blueprint-ie-body;
|
35
|
+
@if $body_selector != "body" {
|
36
|
+
@warn "[DEPRECATED] To specify a the selector \"#{$body_selector}\" to +blueprint-ie, pass true as the first argument and mix it into #{$body_selector}.";
|
37
|
+
@include blueprint-ie-defaults; } }
|
38
|
+
@if $body_selector == "body" {
|
39
|
+
@include blueprint-ie-defaults; } } }
|
40
|
+
|
41
|
+
@mixin blueprint-ie-body {
|
42
|
+
text-align: center;
|
43
|
+
@include blueprint-ie-hacks; }
|
44
|
+
|
45
|
+
@mixin blueprint-ie-hacks {
|
46
|
+
* html & {
|
47
|
+
legend {
|
48
|
+
margin: 0px -8px 16px 0;
|
49
|
+
padding: 0; } }
|
50
|
+
html>& {
|
51
|
+
p code {
|
52
|
+
*white-space: normal; } } }
|
53
|
+
|
54
|
+
// Fixes for Blueprint "inline" forms in IE
|
55
|
+
@mixin blueprint-inline-form-ie {
|
56
|
+
div, p {
|
57
|
+
vertical-align: middle; }
|
58
|
+
label {
|
59
|
+
position: relative;
|
60
|
+
top: -0.25em; }
|
61
|
+
input {
|
62
|
+
&.checkbox, &.radio, &.button, button {
|
63
|
+
margin: 0.5em 0; } } }
|
64
|
+
|
65
|
+
@mixin blueprint-ie-defaults {
|
66
|
+
.container {
|
67
|
+
text-align: left; }
|
68
|
+
sup {
|
69
|
+
vertical-align: text-top; }
|
70
|
+
sub {
|
71
|
+
vertical-align: text-bottom; }
|
72
|
+
hr {
|
73
|
+
margin: -8px auto 11px; }
|
74
|
+
img {
|
75
|
+
-ms-interpolation-mode: bicubic; }
|
76
|
+
fieldset {
|
77
|
+
padding-top: 0; }
|
78
|
+
textarea {
|
79
|
+
overflow: auto; }
|
80
|
+
input {
|
81
|
+
&.text {
|
82
|
+
margin: 0.5em 0;
|
83
|
+
background-color: white;
|
84
|
+
border: 1px solid #bbbbbb;
|
85
|
+
&:focus {
|
86
|
+
border: 1px solid #666666; } }
|
87
|
+
&.title {
|
88
|
+
margin: 0.5em 0;
|
89
|
+
background-color: white;
|
90
|
+
border: 1px solid #bbbbbb;
|
91
|
+
&:focus {
|
92
|
+
border: 1px solid #666666; } }
|
93
|
+
&.checkbox {
|
94
|
+
position: relative;
|
95
|
+
top: 0.25em; }
|
96
|
+
&.radio {
|
97
|
+
position: relative;
|
98
|
+
top: 0.25em; }
|
99
|
+
&.button {
|
100
|
+
position: relative;
|
101
|
+
top: 0.25em; } }
|
102
|
+
textarea {
|
103
|
+
margin: 0.5em 0; }
|
104
|
+
select {
|
105
|
+
margin: 0.5em 0; }
|
106
|
+
button {
|
107
|
+
position: relative;
|
108
|
+
top: 0.25em; } }
|
@@ -0,0 +1,57 @@
|
|
1
|
+
@import "colors";
|
2
|
+
|
3
|
+
@mixin blueprint-interaction {
|
4
|
+
.error {
|
5
|
+
@include error; }
|
6
|
+
.notice {
|
7
|
+
@include notice; }
|
8
|
+
.success {
|
9
|
+
@include success; }
|
10
|
+
.hide {
|
11
|
+
display: none; }
|
12
|
+
.highlight {
|
13
|
+
@include highlight; }
|
14
|
+
.added {
|
15
|
+
@include added; }
|
16
|
+
.removed {
|
17
|
+
@include removed; } }
|
18
|
+
|
19
|
+
@mixin feedback-base {
|
20
|
+
padding: 0.8em;
|
21
|
+
margin-bottom: 1em;
|
22
|
+
border: 2px solid $feedback_border_color; }
|
23
|
+
|
24
|
+
@mixin error {
|
25
|
+
@include feedback-base;
|
26
|
+
background: $error_bg_color;
|
27
|
+
color: $error_color;
|
28
|
+
border-color: $error_border_color;
|
29
|
+
a {
|
30
|
+
color: $error_color; } }
|
31
|
+
|
32
|
+
@mixin notice {
|
33
|
+
@include feedback-base;
|
34
|
+
background: $notice_bg_color;
|
35
|
+
color: $notice_color;
|
36
|
+
border-color: $notice_border_color;
|
37
|
+
a {
|
38
|
+
color: $notice_color; } }
|
39
|
+
|
40
|
+
@mixin success {
|
41
|
+
@include feedback-base;
|
42
|
+
background: $success_bg_color;
|
43
|
+
color: $success_color;
|
44
|
+
border-color: $success_border_color;
|
45
|
+
a {
|
46
|
+
color: $success_color; } }
|
47
|
+
|
48
|
+
@mixin highlight {
|
49
|
+
background: $highlight_color; }
|
50
|
+
|
51
|
+
@mixin added {
|
52
|
+
background: $added_bg_color;
|
53
|
+
color: $added_color; }
|
54
|
+
|
55
|
+
@mixin removed {
|
56
|
+
background: $removed_bg_color;
|
57
|
+
color: $removed_color; }
|