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,11 @@
|
|
1
|
+
// Here is where you can define your constants for your application and to configure the blueprint framework.
|
2
|
+
// Feel free to delete these if you want keep the defaults:
|
3
|
+
|
4
|
+
!blueprint_grid_columns = 24
|
5
|
+
!blueprint_container_size = 950px
|
6
|
+
!blueprint_grid_margin = 10px
|
7
|
+
|
8
|
+
// Use this to calculate the width based on the total width.
|
9
|
+
// Or you can set !blueprint_grid_width to a fixed value and unset !blueprint_container_size -- it will be calculated for you.
|
10
|
+
!blueprint_grid_width = (!blueprint_container_size + !blueprint_grid_margin) / !blueprint_grid_columns - !blueprint_grid_margin
|
11
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
// Import the non-default scaffolding module to help us get started.
|
2
|
+
@import blueprint/scaffolding
|
3
|
+
|
4
|
+
// This configuration will only apply the
|
5
|
+
// blueprint styles to pages with a body class of "bp"
|
6
|
+
// This makes it easier to have pages without blueprint styles
|
7
|
+
// when you're using a single/combined stylesheet.
|
8
|
+
|
9
|
+
body.bp
|
10
|
+
+blueprint-typography(true)
|
11
|
+
+blueprint-utilities
|
12
|
+
+blueprint-debug
|
13
|
+
+blueprint-interaction
|
14
|
+
|
15
|
+
// Remove the scaffolding when you're ready to start doing visual design.
|
16
|
+
// Or leave it in if you're happy with how blueprint looks out-of-the-box
|
17
|
+
+blueprint-scaffolding("body.bp")
|
18
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
// Page layout can be done using mixins applied to your semantic classes and IDs
|
2
|
+
// For instance this layout defines a two column layout on pages with
|
3
|
+
// a body class of "two-col".
|
4
|
+
//
|
5
|
+
// The markup would look like:
|
6
|
+
// <div id="container">
|
7
|
+
// <div id="header"></div>
|
8
|
+
// <div id="sidebar"></div>
|
9
|
+
// <div id="content"></div>
|
10
|
+
// <div id="footer"></div>
|
11
|
+
// </div>
|
12
|
+
//
|
13
|
+
// and the layout would look like:
|
14
|
+
// +------------------------+
|
15
|
+
// | #header |
|
16
|
+
// +--------+---------------+
|
17
|
+
// | | |
|
18
|
+
// |#sidebar| #content |
|
19
|
+
// | | |
|
20
|
+
// +------------------------+
|
21
|
+
// | #footer |
|
22
|
+
// +--------+---------------+
|
23
|
+
|
24
|
+
body.two-col
|
25
|
+
#container
|
26
|
+
+container
|
27
|
+
#header, #footer
|
28
|
+
+column(!blueprint_grid_columns)
|
29
|
+
#sidebar
|
30
|
+
// One third of the grid columns, rounding down. With 24 cols, this is 8.
|
31
|
+
!sidebar_columns = floor(!blueprint_grid_columns / 3)
|
32
|
+
+column(!sidebar_columns)
|
33
|
+
#content
|
34
|
+
// Two thirds of the grid columns, rounding up.
|
35
|
+
// With 24 cols, this is 16.
|
36
|
+
!content_columns = ceil(2 * !blueprint_grid_columns / 3)
|
37
|
+
// true means it's the last column in the row
|
38
|
+
+column(!content_columns, true)
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// This import applies a global reset to any page that imports this stylesheet.
|
2
|
+
@import blueprint/reset
|
3
|
+
|
4
|
+
// To configure blueprint, edit the partials/base.sass file.
|
5
|
+
@import partials/base
|
6
|
+
|
7
|
+
// Import all the default blueprint modules so that we can access their mixins.
|
8
|
+
@import blueprint
|
9
|
+
|
10
|
+
// Combine the partials into a single screen stylesheet.
|
11
|
+
@import partials/page
|
12
|
+
@import partials/form
|
13
|
+
@import partials/two_col
|
14
|
+
|
@@ -0,0 +1,14 @@
|
|
1
|
+
@import "css3/border-radius";
|
2
|
+
@import "css3/inline-block";
|
3
|
+
@import "css3/opacity";
|
4
|
+
@import "css3/box-shadow";
|
5
|
+
@import "css3/text-shadow";
|
6
|
+
@import "css3/columns";
|
7
|
+
@import "css3/box-sizing";
|
8
|
+
@import "css3/gradient";
|
9
|
+
@import "css3/background-clip";
|
10
|
+
@import "css3/background-origin";
|
11
|
+
@import "css3/background-size";
|
12
|
+
@import "css3/font-face";
|
13
|
+
@import "css3/transform";
|
14
|
+
@import "css3/transition";
|
@@ -0,0 +1 @@
|
|
1
|
+
@import "layout/sticky-footer";
|
@@ -0,0 +1,21 @@
|
|
1
|
+
// This logo was designed by Jared Hardy <jared@jaredhardy.com>
|
2
|
+
// This work is licensed under the Creative Commons Attribution 3.0 United States License.
|
3
|
+
// To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/us/
|
4
|
+
// or send a letter to:
|
5
|
+
// Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
|
6
|
+
|
7
|
+
@mixin unobtrusive-logo($size: 1em) {
|
8
|
+
font-family: Monaco, Courier, "Lucida Sans Unicode", monospace;
|
9
|
+
font-size: $size;
|
10
|
+
color: #888;
|
11
|
+
.selector {
|
12
|
+
vertical-align: middle;
|
13
|
+
font-size: 1.3em; }
|
14
|
+
.brace {
|
15
|
+
vertical-align: middle;
|
16
|
+
font: bold 1.7em Georgia, "Times New Roman", serif;
|
17
|
+
color: #ccc;
|
18
|
+
margin: 0 -0.2em; }
|
19
|
+
.rule {
|
20
|
+
vertical-align: middle;
|
21
|
+
margin: 0 -0.2em; } }
|
@@ -0,0 +1,24 @@
|
|
1
|
+
//
|
2
|
+
// The default value is `padding-box` -- the box model used by modern browsers.
|
3
|
+
//
|
4
|
+
// If you wish to do so, you can override the default constant with `border-box`
|
5
|
+
//
|
6
|
+
// To override to the default border-box model, use this code:
|
7
|
+
// $default-background-clip = border-box
|
8
|
+
|
9
|
+
$default-background-clip: padding-box !default;
|
10
|
+
|
11
|
+
// Clip the background (image and color) at the edge of the padding or border.
|
12
|
+
//
|
13
|
+
// Legal Values:
|
14
|
+
//
|
15
|
+
// * padding-box
|
16
|
+
// * border-box
|
17
|
+
|
18
|
+
@mixin background-clip($clip: $default-background-clip) {
|
19
|
+
// webkit and mozilla use the deprecated short [border | padding]
|
20
|
+
$deprecated: padding;
|
21
|
+
@if $clip == border-box { $deprecated: border; }
|
22
|
+
background-clip: $clip;
|
23
|
+
-webkit-background-clip: $deprecated;
|
24
|
+
-moz-background-clip: $deprecated; }
|
@@ -0,0 +1,24 @@
|
|
1
|
+
// Override `$default-background-origin` to change the default.
|
2
|
+
|
3
|
+
$default-background-origin: content-box !default;
|
4
|
+
|
5
|
+
// Position the background off the edge of the padding, border or content
|
6
|
+
//
|
7
|
+
// * Possible values:
|
8
|
+
// * `padding-box`
|
9
|
+
// * `border-box`
|
10
|
+
// * `content-box`
|
11
|
+
// * browser defaults to `padding-box`
|
12
|
+
// * mixin defaults to `content-box`
|
13
|
+
|
14
|
+
|
15
|
+
@mixin background-origin($origin: $default-background-origin) {
|
16
|
+
// webkit and mozilla use the deprecated short [border | padding | content]
|
17
|
+
$deprecated: padding;
|
18
|
+
@if $origin == border-box { $deprecated: border; }
|
19
|
+
@if $origin == content-box { $deprecated: content; }
|
20
|
+
|
21
|
+
background-origin: $origin;
|
22
|
+
-webkit-background-origin: $deprecated;
|
23
|
+
-moz-background-origin: $deprecated;
|
24
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
// Set the size of background images using px, width and height, or percentages. Supported in: Opera, Gecko, Webkit.
|
2
|
+
//
|
3
|
+
// * percentages are relative to the background-origin (default = padding-box)
|
4
|
+
// * mixin defaults to "100% auto"
|
5
|
+
|
6
|
+
// override constants to change defaults
|
7
|
+
$default-background-size: 100% auto !default;
|
8
|
+
|
9
|
+
@mixin background-size($size: $default-background-size) {
|
10
|
+
background-size: $size;
|
11
|
+
-webkit-background-size: $size;
|
12
|
+
-o-background-size: $size;
|
13
|
+
-khtml-background-size: $size;
|
14
|
+
-moz-background-size: $size;
|
15
|
+
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
$default-border-radius: 5px !default;
|
2
|
+
|
3
|
+
// Round all borders by a specific amount, defaults to value of $default-border-radius
|
4
|
+
|
5
|
+
@mixin border-radius($radius: $default-border-radius) {
|
6
|
+
border-radius: $radius;
|
7
|
+
-moz-border-radius: $radius;
|
8
|
+
-webkit-border-radius: $radius; }
|
9
|
+
|
10
|
+
// Round radius at position by amount.
|
11
|
+
//
|
12
|
+
// * values for $vert: "top", "bottom"
|
13
|
+
// * values for $horz: "left", "right"
|
14
|
+
|
15
|
+
@mixin border-corner-radius($vert, $horz, $radius: $default-border-radius) {
|
16
|
+
border-#{$vert}-#{$horz}-radius: $radius;
|
17
|
+
-moz-border-radius-#{$vert}#{$horz}: $radius;
|
18
|
+
-webkit-border-#{$vert}-#{$horz}-radius: $radius; }
|
19
|
+
|
20
|
+
// Round top-left radius only
|
21
|
+
|
22
|
+
@mixin border-top-left-radius($radius: $default-border-radius) {
|
23
|
+
@include border-corner-radius(top, left, $radius); }
|
24
|
+
|
25
|
+
// Round top-right radius only
|
26
|
+
|
27
|
+
@mixin border-top-right-radius($radius: $default-border-radius) {
|
28
|
+
@include border-corner-radius(top, right, $radius); }
|
29
|
+
|
30
|
+
// Round bottom-left radius only
|
31
|
+
|
32
|
+
@mixin border-bottom-left-radius($radius: $default-border-radius) {
|
33
|
+
@include border-corner-radius(bottom, left, $radius); }
|
34
|
+
|
35
|
+
// Round bottom-right radius only
|
36
|
+
|
37
|
+
@mixin border-bottom-right-radius($radius: $default-border-radius) {
|
38
|
+
@include border-corner-radius(bottom, right, $radius); }
|
39
|
+
|
40
|
+
// Round top corners by amount
|
41
|
+
@mixin border-top-radius($radius: $default-border-radius) {
|
42
|
+
@include border-top-left-radius($radius);
|
43
|
+
@include border-top-right-radius($radius); }
|
44
|
+
|
45
|
+
// Round right corners by amount
|
46
|
+
@mixin border-right-radius($radius: $default-border-radius) {
|
47
|
+
@include border-top-right-radius($radius);
|
48
|
+
@include border-bottom-right-radius($radius); }
|
49
|
+
|
50
|
+
// Round bottom corners by amount
|
51
|
+
@mixin border-bottom-radius($radius: $default-border-radius) {
|
52
|
+
@include border-bottom-left-radius($radius);
|
53
|
+
@include border-bottom-right-radius($radius); }
|
54
|
+
|
55
|
+
// Round left corners by amount
|
56
|
+
@mixin border-left-radius($radius: $default-border-radius) {
|
57
|
+
@include border-top-left-radius($radius);
|
58
|
+
@include border-bottom-left-radius($radius); }
|
@@ -0,0 +1,27 @@
|
|
1
|
+
// @doc off
|
2
|
+
// These defaults make the arguments optional for this mixin
|
3
|
+
// If you like, set different defaults before importing.
|
4
|
+
// @doc on
|
5
|
+
|
6
|
+
// The default color for box shadows
|
7
|
+
$default-box-shadow-color: #333333 !default;
|
8
|
+
|
9
|
+
// The default horizontal offset. Positive is to the right.
|
10
|
+
$default-box-shadow-h-offset: 1px !default;
|
11
|
+
|
12
|
+
// The default vertical offset. Positive is down.
|
13
|
+
$default-box-shadow-v-offset: 1px !default;
|
14
|
+
|
15
|
+
// The default blur length.
|
16
|
+
$default-box-shadow-blur: 5px !default;
|
17
|
+
|
18
|
+
// Provides cross-browser CSS box shadows for Webkit, Gecko, and CSS3.
|
19
|
+
// Arguments are color, horizontal offset, vertical offset, and blur length.
|
20
|
+
|
21
|
+
@mixin box-shadow($color: $default-box-shadow-color, $hoff: $default-box-shadow-h-offset, $voff: $default-box-shadow-v-offset, $blur: $default-box-shadow-blur) {
|
22
|
+
/* Webkit (Safari, Chrome) */
|
23
|
+
-webkit-box-shadow: $color $hoff $voff $blur;
|
24
|
+
/* Gecko (Firefox, Camino) */
|
25
|
+
-moz-box-shadow: $color $hoff $voff $blur;
|
26
|
+
/* CSS3 */
|
27
|
+
box-shadow: $color $hoff $voff $blur; }
|
@@ -0,0 +1,14 @@
|
|
1
|
+
// Change the box model for Mozilla, Webkit, IE8 and the future
|
2
|
+
//
|
3
|
+
// @param $bs
|
4
|
+
// [ content-box | border-box ]
|
5
|
+
|
6
|
+
@mixin box-sizing($bs) {
|
7
|
+
/* Mozilla (FireFox, Camino) */
|
8
|
+
-moz-box-sizing: $bs;
|
9
|
+
/* Webkit (Safari, Chrome) */
|
10
|
+
-webkit-box-sizing: $bs;
|
11
|
+
/* IE (8) */
|
12
|
+
-ms-box-sizing: $bs;
|
13
|
+
/* CSS3 */
|
14
|
+
box-sizing: $bs; }
|
@@ -0,0 +1,50 @@
|
|
1
|
+
// Specify the # of columns
|
2
|
+
|
3
|
+
@mixin column-count($n) {
|
4
|
+
-moz-column-count: $n;
|
5
|
+
-webkit-column-count: $n;
|
6
|
+
column-count: $n; }
|
7
|
+
|
8
|
+
// Specify the gap between columns e.g. 20px
|
9
|
+
|
10
|
+
@mixin column-gap($u) {
|
11
|
+
-moz-column-gap: $u;
|
12
|
+
-webkit-column-gap: $u;
|
13
|
+
column-gap: $u; }
|
14
|
+
|
15
|
+
// Specify the width of columns e.g. 100px
|
16
|
+
|
17
|
+
@mixin column-width($u) {
|
18
|
+
-moz-column-width: $u;
|
19
|
+
-webkit-column-width: $u;
|
20
|
+
column-width: $u; }
|
21
|
+
|
22
|
+
// Specify the width of the rule between columns e.g. 1px
|
23
|
+
|
24
|
+
@mixin column-rule-width($w) {
|
25
|
+
-moz-column-rule-width: $w;
|
26
|
+
-webkit-column-rule-width: $w;
|
27
|
+
column-rule-width: $w; }
|
28
|
+
|
29
|
+
// Specify the style of the rule between columns e.g. 'dotted'. This works like border-style.
|
30
|
+
|
31
|
+
@mixin column-rule-style($s) {
|
32
|
+
-moz-column-rule-style: $s;
|
33
|
+
-webkit-column-rule-style: $s;
|
34
|
+
column-rule-style: $s; }
|
35
|
+
|
36
|
+
// Specify the style of the rule between columns e.g. 'dotted'. This works like border-color.
|
37
|
+
|
38
|
+
@mixin column-rule-color($c) {
|
39
|
+
-moz-column-rule-color: $c;
|
40
|
+
-webkit-column-rule-color: $c;
|
41
|
+
column-rule-color: $c; }
|
42
|
+
|
43
|
+
// Mixin encompassing all column rule rules
|
44
|
+
// For example:
|
45
|
+
// +column-rule('1px', 'solid', '#000')
|
46
|
+
|
47
|
+
@mixin column-rule($w, $s: solid, $c: unquote(" ")) {
|
48
|
+
@include column-rule-width($w);
|
49
|
+
@include column-rule-style($s);
|
50
|
+
@include column-rule-color($c); }
|
@@ -0,0 +1,32 @@
|
|
1
|
+
// Cross-browser support for @font-face. Supports IE, Gecko, Webkit, Opera.
|
2
|
+
//
|
3
|
+
// * $name is required, arbitrary, and what you will use in font stacks.
|
4
|
+
// * $font-files is required using font-files('relative/location', 'format').
|
5
|
+
// * for best results use this order: woff, opentype/truetype, svg
|
6
|
+
// * $eot is required by IE, and is a relative location of the eot file.
|
7
|
+
// * postscript name is required by some browsers to look for local fonts.
|
8
|
+
|
9
|
+
@mixin font-face($name, $font-files, $eot: false, $postscript: false, $style: false) {
|
10
|
+
@font-face {
|
11
|
+
font-family: "#{$name}";
|
12
|
+
@if $style {
|
13
|
+
font-style: $style; }
|
14
|
+
@if $eot {
|
15
|
+
src: font-url($eot); }
|
16
|
+
@if $postscript {
|
17
|
+
src: local("#{$name}"), local("#{$postscript}"), #{$font-files}; }
|
18
|
+
@else {
|
19
|
+
src: local("#{$name}"), #{$font-files}; } } }
|
20
|
+
|
21
|
+
// EXAMPLE
|
22
|
+
// +font-face("this name", font-files("this.woff", "woff", "this.otf", "opentype"), "this.eot", "thisname")
|
23
|
+
//
|
24
|
+
// will generate:
|
25
|
+
//
|
26
|
+
// @font-face {
|
27
|
+
// font-family: 'this name';
|
28
|
+
// src: url('fonts/this.eot');
|
29
|
+
// src: local('this name'), local('thisname'),
|
30
|
+
// url('this.otf') format('woff'),
|
31
|
+
// url('this.woff') format('opentype');
|
32
|
+
// }
|
@@ -0,0 +1,57 @@
|
|
1
|
+
// This yields a linear gradient spanning from top to bottom
|
2
|
+
//
|
3
|
+
// +linear-gradient(color-stops(white, black))
|
4
|
+
//
|
5
|
+
// This yields a linear gradient spanning from bottom to top
|
6
|
+
//
|
7
|
+
// +linear-gradient(color-stops(white, black), "bottom")
|
8
|
+
//
|
9
|
+
// This yields a linear gradient spanning from left to right
|
10
|
+
//
|
11
|
+
// +linear-gradient(color-stops(white, black), "left")
|
12
|
+
//
|
13
|
+
// This yields a linear gradient starting at white passing
|
14
|
+
// thru blue at 33% down and then to black
|
15
|
+
//
|
16
|
+
// +linear-gradient(color-stops(white, blue 33%, black))
|
17
|
+
//
|
18
|
+
// This yields a linear gradient starting at white passing
|
19
|
+
// thru blue at 33% down and then to black at 67% until the end
|
20
|
+
//
|
21
|
+
// +linear-gradient(color-stops(white, blue 33%, black 67%))
|
22
|
+
//
|
23
|
+
// Browsers Supported:
|
24
|
+
//
|
25
|
+
// - Chrome
|
26
|
+
// - Safari
|
27
|
+
// - Firefox 3.6
|
28
|
+
|
29
|
+
@mixin linear-gradient($color-stops, $start: top) {
|
30
|
+
// Firefox's gradient api is nice.
|
31
|
+
// Webkit's gradient api sucks -- hence these backflips:
|
32
|
+
$end: grad-opposite-position($start);
|
33
|
+
background-image: -webkit-gradient(linear, #{grad-point($start)}, #{grad-point($end)}, #{grad-color-stops($color-stops)});
|
34
|
+
background-image: -moz-linear-gradient(#{$start}, #{$color-stops}); }
|
35
|
+
|
36
|
+
// Due to limitation's of webkit, the radial gradient mixin works best if you use
|
37
|
+
// pixel-based color stops.
|
38
|
+
//
|
39
|
+
// Examples:
|
40
|
+
//
|
41
|
+
// // Defaults to a centered, 100px radius gradient
|
42
|
+
// +radial-gradient(color-stops(#c00, #00c))
|
43
|
+
// // 100px radius gradient in the top left corner
|
44
|
+
// +radial-gradient(color-stops(#c00, #00c), "top left")
|
45
|
+
// // Three colors, ending at 50px and passing thru #fff at 25px
|
46
|
+
// +radial-gradient(color-stops(#c00, #fff, #00c 50px))
|
47
|
+
//
|
48
|
+
// Browsers Supported:
|
49
|
+
//
|
50
|
+
// - Chrome
|
51
|
+
// - Safari
|
52
|
+
// - Firefox 3.6
|
53
|
+
|
54
|
+
@mixin radial-gradient($color-stops, $center-position: unquote("center center")) {
|
55
|
+
$end-pos: grad-end-position($color-stops, true);
|
56
|
+
background-image: -webkit-gradient(radial, #{grad-point($center-position)}, 0, #{grad-point($center-position)}, #{$end-pos}, #{grad-color-stops($color-stops)});
|
57
|
+
background-image: -moz-radial-gradient(#{$center-position}, circle, #{$color-stops}); }
|