compass-edge 0.9.1
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 +528 -0
- data/LICENSE.markdown +29 -0
- data/README.markdown +46 -0
- data/REVISION +1 -0
- data/Rakefile +131 -0
- data/VERSION.yml +4 -0
- data/bin/compass +26 -0
- data/deps.rip +1 -0
- data/examples/README.markdown +4 -0
- data/examples/blueprint_default/config.rb +7 -0
- data/examples/blueprint_default/images/grid.png +0 -0
- data/examples/blueprint_default/index.html.haml +85 -0
- data/examples/blueprint_default/parts/elements.html.haml +282 -0
- data/examples/blueprint_default/parts/forms.html.haml +190 -0
- data/examples/blueprint_default/parts/grid.html.haml +274 -0
- data/examples/blueprint_default/parts/test-small.jpg +0 -0
- data/examples/blueprint_default/parts/test.jpg +0 -0
- data/examples/blueprint_default/parts/valid.png +0 -0
- data/examples/blueprint_default/src/ie.sass +3 -0
- data/examples/blueprint_default/src/images/grid.png +0 -0
- data/examples/blueprint_default/src/print.sass +3 -0
- data/examples/blueprint_default/src/screen.sass +8 -0
- data/examples/blueprint_plugins/config.rb +8 -0
- data/examples/blueprint_plugins/images/buttons/cross.png +0 -0
- data/examples/blueprint_plugins/images/buttons/key.png +0 -0
- data/examples/blueprint_plugins/images/buttons/tick.png +0 -0
- data/examples/blueprint_plugins/images/grid.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/doc.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/email.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/external.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/feed.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/im.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/pdf.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/visited.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/xls.png +0 -0
- data/examples/blueprint_plugins/images/test-small.jpg +0 -0
- data/examples/blueprint_plugins/images/test.jpg +0 -0
- data/examples/blueprint_plugins/images/valid.png +0 -0
- data/examples/blueprint_plugins/index.html.haml +96 -0
- data/examples/blueprint_plugins/plugins/buttons.html.haml +67 -0
- data/examples/blueprint_plugins/plugins/fancy_type.html.haml +100 -0
- data/examples/blueprint_plugins/plugins/link_icons.html.haml +61 -0
- data/examples/blueprint_plugins/plugins/rtl.html.haml +100 -0
- data/examples/blueprint_plugins/src/buttons.sass +49 -0
- data/examples/blueprint_plugins/src/ie.sass +3 -0
- data/examples/blueprint_plugins/src/images/grid.png +0 -0
- data/examples/blueprint_plugins/src/link_icons.sass +13 -0
- data/examples/blueprint_plugins/src/print.sass +3 -0
- data/examples/blueprint_plugins/src/rtl_screen.sass +13 -0
- data/examples/blueprint_plugins/src/screen.sass +11 -0
- data/examples/blueprint_scoped/images/grid.png +0 -0
- data/examples/blueprint_scoped/src/ie.sass +4 -0
- data/examples/blueprint_scoped/src/print.sass +4 -0
- data/examples/blueprint_scoped/src/screen.sass +5 -0
- data/examples/blueprint_scoped_form/images/grid.png +0 -0
- data/examples/blueprint_scoped_form/src/ie.sass +3 -0
- data/examples/blueprint_scoped_form/src/print.sass +3 -0
- data/examples/blueprint_scoped_form/src/screen.sass +10 -0
- data/examples/blueprint_semantic/config.rb +7 -0
- data/examples/blueprint_semantic/images/grid.png +0 -0
- data/examples/blueprint_semantic/index.html.haml +86 -0
- data/examples/blueprint_semantic/parts/fancy_type.html.haml +100 -0
- data/examples/blueprint_semantic/parts/liquid.html.haml +100 -0
- data/examples/blueprint_semantic/parts/test-small.jpg +0 -0
- data/examples/blueprint_semantic/parts/test.jpg +0 -0
- data/examples/blueprint_semantic/parts/valid.png +0 -0
- data/examples/blueprint_semantic/src/ie.sass +3 -0
- data/examples/blueprint_semantic/src/images/grid.png +0 -0
- data/examples/blueprint_semantic/src/liquid.sass +69 -0
- data/examples/blueprint_semantic/src/print.sass +3 -0
- data/examples/blueprint_semantic/src/screen.sass +70 -0
- data/examples/compass/compass.html.haml +39 -0
- data/examples/compass/config.rb +7 -0
- data/examples/compass/images/blue_arrow.gif +0 -0
- data/examples/compass/src/compass.sass +47 -0
- data/examples/compass/src/images/blue_arrow.gif +0 -0
- data/examples/compass/src/sticky_footer.sass +11 -0
- data/examples/compass/src/utilities.sass +108 -0
- data/examples/compass/sticky_footer.html.haml +14 -0
- data/examples/compass/utilities.html.haml +189 -0
- data/examples/downloader.rb +57 -0
- data/examples/logo/logo.html.haml +40 -0
- data/examples/logo/src/ie.sass +6 -0
- data/examples/logo/src/print.sass +6 -0
- data/examples/logo/src/screen.sass +29 -0
- data/examples/ninesixty/bootstrap.rb +4 -0
- data/examples/ninesixty/config.rb +9 -0
- data/examples/ninesixty/extensions/ninesixty/README.mkdn +56 -0
- data/examples/ninesixty/extensions/ninesixty/compass-960-plugin.gemspec +36 -0
- data/examples/ninesixty/extensions/ninesixty/lib/ninesixty.rb +1 -0
- data/examples/ninesixty/extensions/ninesixty/lib/ninesixty/compass_plugin.rb +5 -0
- data/examples/ninesixty/extensions/ninesixty/sass/960/_grid.sass +64 -0
- data/examples/ninesixty/extensions/ninesixty/sass/960/_text.sass +59 -0
- data/examples/ninesixty/extensions/ninesixty/templates/project/grid.sass +34 -0
- data/examples/ninesixty/extensions/ninesixty/templates/project/manifest.rb +2 -0
- data/examples/ninesixty/extensions/ninesixty/templates/project/text.sass +10 -0
- data/examples/ninesixty/src/grid.sass +16 -0
- data/examples/ninesixty/src/text.sass +10 -0
- data/examples/yui/bootstrap.rb +3 -0
- data/examples/yui/divisions.html.haml +179 -0
- data/examples/yui/extensions/yui/stylesheets/_yui.sass +7 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_base.sass +70 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_fonts.sass +45 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_grids.sass +385 -0
- data/examples/yui/extensions/yui/stylesheets/yui/modules/_reset.sass +61 -0
- data/examples/yui/extensions/yui/templates/project/manifest.rb +1 -0
- data/examples/yui/extensions/yui/templates/project/screen.sass +4 -0
- data/examples/yui/index.html.haml +19 -0
- data/examples/yui/src/screen.sass +13 -0
- data/examples/yui/sub_divisions.html.haml +169 -0
- data/examples/yui/templates.html.haml +54 -0
- data/examples/yui/test.jpg +0 -0
- data/examples/yui/typography.html.haml +132 -0
- data/lib/compass.rb +22 -0
- data/lib/compass/actions.rb +116 -0
- data/lib/compass/app_integration.rb +3 -0
- data/lib/compass/app_integration/merb.rb +1 -0
- data/lib/compass/app_integration/merb/runtime.rb +63 -0
- data/lib/compass/app_integration/rails.rb +8 -0
- data/lib/compass/app_integration/rails/action_controller.rb +15 -0
- data/lib/compass/app_integration/rails/configuration_defaults.rb +29 -0
- data/lib/compass/app_integration/rails/installer.rb +127 -0
- data/lib/compass/app_integration/rails/runtime.rb +14 -0
- data/lib/compass/app_integration/rails/sass_plugin.rb +5 -0
- data/lib/compass/app_integration/rails/templates/compass-install-rails.rb +80 -0
- data/lib/compass/app_integration/rails/urls.rb +14 -0
- data/lib/compass/app_integration/stand_alone.rb +3 -0
- data/lib/compass/app_integration/stand_alone/configuration_defaults.rb +24 -0
- data/lib/compass/app_integration/stand_alone/installer.rb +71 -0
- data/lib/compass/commands.rb +11 -0
- data/lib/compass/commands/base.rb +36 -0
- data/lib/compass/commands/create_project.rb +113 -0
- data/lib/compass/commands/generate_grid_background.rb +91 -0
- data/lib/compass/commands/help.rb +62 -0
- data/lib/compass/commands/installer_command.rb +34 -0
- data/lib/compass/commands/list_frameworks.rb +16 -0
- data/lib/compass/commands/print_version.rb +91 -0
- data/lib/compass/commands/project_base.rb +92 -0
- data/lib/compass/commands/registry.rb +22 -0
- data/lib/compass/commands/stamp_pattern.rb +86 -0
- data/lib/compass/commands/update_project.rb +38 -0
- data/lib/compass/commands/validate_project.rb +21 -0
- data/lib/compass/commands/watch_project.rb +69 -0
- data/lib/compass/commands/write_configuration.rb +32 -0
- data/lib/compass/compiler.rb +54 -0
- data/lib/compass/configuration.rb +38 -0
- data/lib/compass/configuration/adapters.rb +59 -0
- data/lib/compass/configuration/comments.rb +22 -0
- data/lib/compass/configuration/data.rb +103 -0
- data/lib/compass/configuration/defaults.rb +107 -0
- data/lib/compass/configuration/helpers.rb +83 -0
- data/lib/compass/configuration/inheritance.rb +170 -0
- data/lib/compass/configuration/serialization.rb +86 -0
- data/lib/compass/core_ext.rb +14 -0
- data/lib/compass/dependencies.rb +6 -0
- data/lib/compass/errors.rb +7 -0
- data/lib/compass/exec.rb +15 -0
- data/lib/compass/exec/command_option_parser.rb +23 -0
- data/lib/compass/exec/global_options_parser.rb +37 -0
- data/lib/compass/exec/helpers.rb +28 -0
- data/lib/compass/exec/project_options_parser.rb +42 -0
- data/lib/compass/exec/sub_command_ui.rb +45 -0
- data/lib/compass/exec/switch_ui.rb +166 -0
- data/lib/compass/frameworks.rb +53 -0
- data/lib/compass/frameworks/blueprint/stylesheets/_blueprint.sass +3 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_ie.sass +99 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_print.sass +90 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_reset.sass +3 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/_screen.sass +29 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +33 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +82 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +55 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +178 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +44 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +141 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +56 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +122 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +47 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +160 -0
- data/lib/compass/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -0
- data/lib/compass/frameworks/blueprint/templates/buttons/buttons.sass +49 -0
- data/lib/compass/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/buttons/manifest.rb +5 -0
- data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons.sass +13 -0
- data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/doc.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/email.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/external.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/feed.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/im.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/visited.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/link_icons/link_icons/xls.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/link_icons/manifest.rb +10 -0
- data/lib/compass/frameworks/blueprint/templates/project/grid.png +0 -0
- data/lib/compass/frameworks/blueprint/templates/project/ie.sass +16 -0
- data/lib/compass/frameworks/blueprint/templates/project/manifest.rb +8 -0
- data/lib/compass/frameworks/blueprint/templates/project/partials/_base.sass +11 -0
- data/lib/compass/frameworks/blueprint/templates/project/print.sass +8 -0
- data/lib/compass/frameworks/blueprint/templates/project/screen.sass +47 -0
- data/lib/compass/frameworks/blueprint/templates/project/welcome.html.haml +13 -0
- data/lib/compass/frameworks/compass/stylesheets/_compass.sass +1 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/_layout.sass +1 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/_misc.sass +24 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/_reset.sass +3 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/_utilities.sass +7 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +19 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_css3.sass +6 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_general.sass +5 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_links.sass +3 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_lists.sass +3 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_print.sass +18 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +1 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_tables.sass +3 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_border_radius.sass +47 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_box_shadow.sass +12 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_box_sizing.sass +13 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_columns.sass +37 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_inline_block.sass +7 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/css3/_opacity.sass +18 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +24 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +17 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +6 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +134 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +5 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +24 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +7 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +21 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +52 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +29 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +52 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +20 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass +13 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
- data/lib/compass/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +17 -0
- data/lib/compass/frameworks/compass/templates/ellipsis/ellipsis.sass +6 -0
- data/lib/compass/frameworks/compass/templates/ellipsis/manifest.rb +2 -0
- data/lib/compass/frameworks/compass/templates/ellipsis/xml/ellipsis.xml +14 -0
- data/lib/compass/frameworks/compass/templates/extension/manifest.rb +6 -0
- data/lib/compass/frameworks/compass/templates/extension/stylesheets/main.sass +1 -0
- data/lib/compass/frameworks/compass/templates/extension/templates/project/manifest.rb +2 -0
- data/lib/compass/frameworks/compass/templates/extension/templates/project/screen.sass +2 -0
- data/lib/compass/frameworks/compass/templates/project/ie.sass +6 -0
- data/lib/compass/frameworks/compass/templates/project/manifest.rb +3 -0
- data/lib/compass/frameworks/compass/templates/project/print.sass +6 -0
- data/lib/compass/frameworks/compass/templates/project/screen.sass +13 -0
- data/lib/compass/grid_builder.rb +76 -0
- data/lib/compass/installers.rb +3 -0
- data/lib/compass/installers/base.rb +186 -0
- data/lib/compass/installers/manifest.rb +79 -0
- data/lib/compass/installers/template_context.rb +44 -0
- data/lib/compass/logger.rb +42 -0
- data/lib/compass/sass_extensions.rb +5 -0
- data/lib/compass/sass_extensions/functions.rb +19 -0
- data/lib/compass/sass_extensions/functions/display.rb +22 -0
- data/lib/compass/sass_extensions/functions/enumerate.rb +6 -0
- data/lib/compass/sass_extensions/functions/inline_image.rb +35 -0
- data/lib/compass/sass_extensions/functions/selectors.rb +42 -0
- data/lib/compass/sass_extensions/functions/urls.rb +105 -0
- data/lib/compass/sass_extensions/monkey_patches.rb +3 -0
- data/lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb +23 -0
- data/lib/compass/test_case.rb +38 -0
- data/lib/compass/validator.rb +10 -0
- data/lib/compass/version.rb +57 -0
- data/lib/vendor/fssm.rb +28 -0
- data/lib/vendor/fssm/backends/fsevents.rb +78 -0
- data/lib/vendor/fssm/backends/polling.rb +24 -0
- data/lib/vendor/fssm/ext.rb +7 -0
- data/lib/vendor/fssm/monitor.rb +21 -0
- data/lib/vendor/fssm/path.rb +88 -0
- data/lib/vendor/fssm/state.rb +46 -0
- data/lib/vendor/fssm/support.rb +26 -0
- data/test/command_line_helper.rb +97 -0
- data/test/command_line_test.rb +67 -0
- data/test/compass_test.rb +132 -0
- data/test/configuration_test.rb +123 -0
- data/test/fixtures/stylesheets/blueprint/config.rb +9 -0
- data/test/fixtures/stylesheets/blueprint/css/typography.css +158 -0
- data/test/fixtures/stylesheets/blueprint/images/grid.png +0 -0
- data/test/fixtures/stylesheets/blueprint/sass/ie.sass +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/print.sass +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/screen.sass +17 -0
- data/test/fixtures/stylesheets/blueprint/sass/typography.sass +3 -0
- data/test/fixtures/stylesheets/compass/config.rb +9 -0
- data/test/fixtures/stylesheets/compass/css/layout.css +15 -0
- data/test/fixtures/stylesheets/compass/css/print.css +18 -0
- data/test/fixtures/stylesheets/compass/css/reset.css +60 -0
- data/test/fixtures/stylesheets/compass/css/utilities.css +17 -0
- data/test/fixtures/stylesheets/compass/sass/layout.sass +3 -0
- data/test/fixtures/stylesheets/compass/sass/print.sass +5 -0
- data/test/fixtures/stylesheets/compass/sass/reset.sass +10 -0
- data/test/fixtures/stylesheets/compass/sass/utilities.sass +6 -0
- data/test/fixtures/stylesheets/image_urls/config.rb +17 -0
- data/test/fixtures/stylesheets/image_urls/css/screen.css +3 -0
- data/test/fixtures/stylesheets/image_urls/images/grid.png +0 -0
- data/test/fixtures/stylesheets/image_urls/sass/screen.sass +6 -0
- data/test/io_helper.rb +19 -0
- data/test/rails_integration_test.rb +84 -0
- data/test/sass_extensions_test.rb +31 -0
- data/test/test_case_helper.rb +13 -0
- data/test/test_helper.rb +27 -0
- data/test/test_rails_helper.rb +20 -0
- metadata +404 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
@import compass/utilities/text/nowrap.sass
|
|
2
|
+
@import compass/utilities/general/float.sass
|
|
3
|
+
|
|
4
|
+
// Most of these utility classes are not "semantic". If you use them,
|
|
5
|
+
// you are mixing your content and presentation. For shame!
|
|
6
|
+
|
|
7
|
+
=blueprint-utilities
|
|
8
|
+
// Regular clearing apply to column that should drop below previous ones.
|
|
9
|
+
.clear
|
|
10
|
+
clear: both
|
|
11
|
+
// turn off text wrapping for the element.
|
|
12
|
+
.nowrap
|
|
13
|
+
+nowrap
|
|
14
|
+
// Apply to an element that has floated children to make the bottom
|
|
15
|
+
// of the element fall _below_ the floated children.
|
|
16
|
+
.clearfix
|
|
17
|
+
+clearfix
|
|
18
|
+
.small
|
|
19
|
+
font-size: .8em
|
|
20
|
+
margin-bottom: 1.875em
|
|
21
|
+
line-height: 1.875em
|
|
22
|
+
.large
|
|
23
|
+
font-size: 1.2em
|
|
24
|
+
line-height: 2.5em
|
|
25
|
+
margin-bottom: 1.25em
|
|
26
|
+
.first
|
|
27
|
+
margin-left: 0
|
|
28
|
+
padding-left: 0
|
|
29
|
+
.last
|
|
30
|
+
margin-right: 0
|
|
31
|
+
padding-right: 0
|
|
32
|
+
.top
|
|
33
|
+
margin-top: 0
|
|
34
|
+
padding-top: 0
|
|
35
|
+
.bottom
|
|
36
|
+
margin-bottom: 0
|
|
37
|
+
padding-bottom: 0
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
@import compass/utilities/general/float.sass
|
|
2
|
+
@import blueprint/modules/buttons.sass
|
|
3
|
+
|
|
4
|
+
//
|
|
5
|
+
Use the following HTML code to place the buttons on your site:
|
|
6
|
+
|
|
7
|
+
<button type="submit" class="button positive">
|
|
8
|
+
<img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
|
|
9
|
+
</button>
|
|
10
|
+
|
|
11
|
+
<a class="button" href="/password/reset/">
|
|
12
|
+
<img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
|
|
13
|
+
</a>
|
|
14
|
+
|
|
15
|
+
<a href="#" class="button negative">
|
|
16
|
+
<img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
|
|
17
|
+
</a>
|
|
18
|
+
|
|
19
|
+
a.button
|
|
20
|
+
// you can pass "left" or "right" to +anchor-button to float it in that direction
|
|
21
|
+
// or you can pass no argument to leave it inline-block (cross browser safe!) within
|
|
22
|
+
// the flow of your page.
|
|
23
|
+
+anchor-button("left")
|
|
24
|
+
// All the button color mixins take 4 optional arguments:
|
|
25
|
+
// font color, background color, border color, border highlight color
|
|
26
|
+
// the first three default to constants set in blueprint/modules/buttons.sass
|
|
27
|
+
// the last one defaults to a shade lighter than the border color.
|
|
28
|
+
+button-colors
|
|
29
|
+
+button-hover-colors
|
|
30
|
+
+button-active-colors
|
|
31
|
+
|
|
32
|
+
button
|
|
33
|
+
// The +button-button mixin is just like the +anchor-button mixin, but for <button> elements.
|
|
34
|
+
+button-button("left")
|
|
35
|
+
+button-colors
|
|
36
|
+
+button-hover-colors
|
|
37
|
+
+button-active-colors
|
|
38
|
+
|
|
39
|
+
// We can change the colors for buttons of certain classes, etc.
|
|
40
|
+
a.positive, button.positive
|
|
41
|
+
color: #529214
|
|
42
|
+
+button-hover-colors(#529214, #E6EFC2, #C6D880)
|
|
43
|
+
+button-active-colors(#FFF, #529214, #529214)
|
|
44
|
+
|
|
45
|
+
a.negative, button.negative
|
|
46
|
+
color: #D12F19
|
|
47
|
+
+button-hover-colors(#D12F19, #FBE3E4, #FBC2C4)
|
|
48
|
+
+button-active-colors(#FFF, #D12F19, #D12F19)
|
|
49
|
+
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@import blueprint/modules/link_icons.sass
|
|
2
|
+
|
|
3
|
+
// This turns link icons on for all links. You can change the scoping selector from
|
|
4
|
+
// body to something more specific if you prefer.
|
|
5
|
+
body
|
|
6
|
+
+link-icons
|
|
7
|
+
// Use this class if a link gets an icon when it shouldn't.
|
|
8
|
+
a.noicon
|
|
9
|
+
+no-link-icon
|
|
10
|
+
// Not all links have a url structure that can be detected,
|
|
11
|
+
// So you can set them explicitly yourself like so:
|
|
12
|
+
a#this-is-a-pdf-link
|
|
13
|
+
+link-icon("pdf.png")
|
|
Binary file
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
stylesheet "link_icons.sass", :media => 'screen, projection'
|
|
2
|
+
|
|
3
|
+
image 'link_icons/doc.png'
|
|
4
|
+
image 'link_icons/email.png'
|
|
5
|
+
image 'link_icons/external.png'
|
|
6
|
+
image 'link_icons/feed.png'
|
|
7
|
+
image 'link_icons/im.png'
|
|
8
|
+
image 'link_icons/pdf.png'
|
|
9
|
+
image 'link_icons/visited.png'
|
|
10
|
+
image 'link_icons/xls.png'
|
|
Binary file
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
@import blueprint.sass
|
|
2
|
+
|
|
3
|
+
// To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
|
|
4
|
+
// +blueprint-ie
|
|
5
|
+
|
|
6
|
+
//Recommended Blueprint configuration with scoping and semantic layout:
|
|
7
|
+
body.bp
|
|
8
|
+
+blueprint-ie(true)
|
|
9
|
+
// Note: Blueprint centers text to fix IE6 container centering.
|
|
10
|
+
// This means all your texts will be centered under all version of IE by default.
|
|
11
|
+
// If your container does not have the .container class, don't forget to restore
|
|
12
|
+
// the correct behavior to your main container (but not the body tag!)
|
|
13
|
+
// Example:
|
|
14
|
+
// .my-container
|
|
15
|
+
// text-align: left
|
|
16
|
+
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
stylesheet 'screen.sass', :media => 'screen, projection'
|
|
2
|
+
stylesheet 'partials/_base.sass'
|
|
3
|
+
stylesheet 'print.sass', :media => 'print'
|
|
4
|
+
stylesheet 'ie.sass', :media => 'screen, projection', :condition => "lt IE 8"
|
|
5
|
+
|
|
6
|
+
image 'grid.png'
|
|
7
|
+
|
|
8
|
+
html 'welcome.html.haml', :erb => true
|
|
@@ -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,47 @@
|
|
|
1
|
+
// This import applies a global reset to any page that imports this stylesheet.
|
|
2
|
+
@import blueprint/reset.sass
|
|
3
|
+
// To configure blueprint, edit the partials/base.sass file.
|
|
4
|
+
@import partials/base.sass
|
|
5
|
+
// Import all the default blueprint modules so that we can access their mixins.
|
|
6
|
+
@import blueprint
|
|
7
|
+
// Import the non-default scaffolding module.
|
|
8
|
+
@import blueprint/modules/scaffolding.sass
|
|
9
|
+
|
|
10
|
+
// To generate css equivalent to the blueprint css but with your configuration applied, uncomment:
|
|
11
|
+
// +blueprint
|
|
12
|
+
|
|
13
|
+
//Recommended Blueprint configuration with scoping and semantic layout:
|
|
14
|
+
+blueprint-scaffolding("body.bp")
|
|
15
|
+
body.bp
|
|
16
|
+
+blueprint-typography(true)
|
|
17
|
+
+blueprint-utilities
|
|
18
|
+
+blueprint-debug
|
|
19
|
+
+blueprint-interaction
|
|
20
|
+
// Remove the scaffolding when you're ready to start doing visual design.
|
|
21
|
+
// Or leave it in if you're happy with how blueprint looks out-of-the-box
|
|
22
|
+
form.bp
|
|
23
|
+
+blueprint-form
|
|
24
|
+
|
|
25
|
+
// Page layout can be done using mixins applied to your semantic classes and IDs:
|
|
26
|
+
body.three-col
|
|
27
|
+
#container
|
|
28
|
+
+container
|
|
29
|
+
#header, #footer
|
|
30
|
+
+column(!blueprint_grid_columns)
|
|
31
|
+
#sidebar
|
|
32
|
+
// One third of the grid columns, rounding down. With 24 cols, this is 8.
|
|
33
|
+
!sidebar_columns = floor(!blueprint_grid_columns / 3)
|
|
34
|
+
+column(!sidebar_columns)
|
|
35
|
+
#content
|
|
36
|
+
// Two thirds of the grid columns, rounding up.
|
|
37
|
+
// With 24 cols, this is 16.
|
|
38
|
+
!content_columns = ceil(2 * !blueprint_grid_columns / 3)
|
|
39
|
+
// true means it's the last column in the row
|
|
40
|
+
+column(!content_columns, true)
|
|
41
|
+
|
|
42
|
+
// This is just here to style the welcome page, please delete it.
|
|
43
|
+
body#welcome
|
|
44
|
+
#container
|
|
45
|
+
+container
|
|
46
|
+
h1
|
|
47
|
+
+column(24)
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
!!! Transition
|
|
2
|
+
/ Feel free to delete this, it's just here to act as an example
|
|
3
|
+
%html(xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en")
|
|
4
|
+
%head
|
|
5
|
+
%title Welcome to Compass & Blueprint
|
|
6
|
+
%link(rel="stylesheet" href="<%= http_stylesheets_path %>/screen.css" type="text/css" media="screen, projection")
|
|
7
|
+
%link(href="<%= http_stylesheets_path %>/print.css" media="print" rel="stylesheet" type="text/css")
|
|
8
|
+
/[if lt IE 8]
|
|
9
|
+
%link(href="<%= http_stylesheets_path %>/ie.css" media="screen, projection" rel="stylesheet" type="text/css")
|
|
10
|
+
%body#welcome.bp
|
|
11
|
+
#container
|
|
12
|
+
%h1 Welcome to Compass!
|
|
13
|
+
%p This is <%= "ERB" %>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import compass/utilities.sass
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import layout/sticky_footer.sass
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
//
|
|
2
|
+
This logo was designed by Jared Hardy <jared@jaredhardy.com>
|
|
3
|
+
This work is licensed under the Creative Commons Attribution 3.0 United States License.
|
|
4
|
+
To view a copy of this license, visit http://creativecommons.org/licenses/by/3.0/us/
|
|
5
|
+
or send a letter to:
|
|
6
|
+
Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA.
|
|
7
|
+
|
|
8
|
+
=unobtrusive-logo(!size = 1em)
|
|
9
|
+
font-family: Monaco, Courier, "Lucida Sans Unicode", monospace
|
|
10
|
+
font-size= !size
|
|
11
|
+
color: #888
|
|
12
|
+
.selector
|
|
13
|
+
vertical-align: middle
|
|
14
|
+
font-size= 1.3em
|
|
15
|
+
.brace
|
|
16
|
+
vertical-align: middle
|
|
17
|
+
font: bold 1.7em Georgia, "Times New Roman", serif
|
|
18
|
+
color: #CCC
|
|
19
|
+
margin= 0 -0.2em
|
|
20
|
+
.rule
|
|
21
|
+
vertical-align: middle
|
|
22
|
+
margin= 0 -0.2em
|
|
23
|
+
|
|
24
|
+
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// Based on http://ryanfait.com/resources/footer-stick-to-bottom-of-page/
|
|
2
|
+
// Mix into the top level.
|
|
3
|
+
// Footer element must be outside of root wrapper element.
|
|
4
|
+
// Footer must be a fixed height.
|
|
5
|
+
|
|
6
|
+
=sticky-footer(!footer_height, !root_selector = "#root", !root_footer_selector = "#root_footer", !footer_selector = "#footer")
|
|
7
|
+
html, body
|
|
8
|
+
height: 100%
|
|
9
|
+
#{!root_selector}
|
|
10
|
+
min-height: 100%
|
|
11
|
+
height: auto !important
|
|
12
|
+
height: 100%
|
|
13
|
+
margin-bottom= -!footer_height
|
|
14
|
+
#{!root_footer_selector}
|
|
15
|
+
height= !footer_height
|
|
16
|
+
#{!footer_selector}
|
|
17
|
+
clear: both
|
|
18
|
+
position: relative
|
|
19
|
+
height= !footer_height
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// Classes that are useful for controlling what gets printed.
|
|
2
|
+
// You must mix +print-utilities into your print stylesheet
|
|
3
|
+
// and +print-utilities("screen") into your screen stylesheet.
|
|
4
|
+
// Note: these aren't semantic.
|
|
5
|
+
=print-utilities(!media = "print")
|
|
6
|
+
@if !media == "print"
|
|
7
|
+
.noprint,
|
|
8
|
+
.no-print
|
|
9
|
+
display: none
|
|
10
|
+
#{elements_of_type("block")}
|
|
11
|
+
&.print-only
|
|
12
|
+
display: block
|
|
13
|
+
#{elements_of_type("inline")}
|
|
14
|
+
&.print-only
|
|
15
|
+
display: inline
|
|
16
|
+
@else
|
|
17
|
+
.print-only
|
|
18
|
+
display: none
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import sprites/sprite_img.sass
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
!default_border_radius ||= 5px
|
|
2
|
+
|
|
3
|
+
// Round all borders by amount
|
|
4
|
+
=border-radius(!radius = !default_border_radius)
|
|
5
|
+
border-radius= !radius
|
|
6
|
+
-moz-border-radius= !radius
|
|
7
|
+
-webkit-border-radius= !radius
|
|
8
|
+
|
|
9
|
+
// Round radius at position by amount.
|
|
10
|
+
// values for !vert: "top", "bottom"
|
|
11
|
+
// values for !horz: "left", "right
|
|
12
|
+
=border-corner-radius(!vert, !horz, !radius = !default_border_radius)
|
|
13
|
+
border-#{!vert}-#{!horz}-radius= !radius
|
|
14
|
+
-moz-border-radius-#{!vert}#{!horz}= !radius
|
|
15
|
+
-webkit-border-#{!vert}-#{!horz}-radius= !radius
|
|
16
|
+
|
|
17
|
+
=border-top-left-radius(!radius = !default_border_radius)
|
|
18
|
+
+border-corner-radius("top", "left", !radius)
|
|
19
|
+
|
|
20
|
+
=border-top-right-radius(!radius = !default_border_radius)
|
|
21
|
+
+border-corner-radius("top", "right", !radius)
|
|
22
|
+
|
|
23
|
+
=border-bottom-left-radius(!radius = !default_border_radius)
|
|
24
|
+
+border-corner-radius("bottom", "left", !radius)
|
|
25
|
+
|
|
26
|
+
=border-bottom-right-radius(!radius = !default_border_radius)
|
|
27
|
+
+border-corner-radius("bottom", "right", !radius)
|
|
28
|
+
|
|
29
|
+
// Round top corners by amount
|
|
30
|
+
=border-top-radius(!radius = !default_border_radius)
|
|
31
|
+
+border-top-left-radius(!radius)
|
|
32
|
+
+border-top-right-radius(!radius)
|
|
33
|
+
|
|
34
|
+
// Round right corners by amount
|
|
35
|
+
=border-right-radius(!radius = !default_border_radius)
|
|
36
|
+
+border-top-right-radius(!radius)
|
|
37
|
+
+border-bottom-right-radius(!radius)
|
|
38
|
+
|
|
39
|
+
// Round bottom corners by amount
|
|
40
|
+
=border-bottom-radius(!radius = !default_border_radius)
|
|
41
|
+
+border-bottom-left-radius(!radius)
|
|
42
|
+
+border-bottom-right-radius(!radius)
|
|
43
|
+
|
|
44
|
+
// Round left corners by amount
|
|
45
|
+
=border-left-radius(!radius = !default_border_radius)
|
|
46
|
+
+border-top-left-radius(!radius)
|
|
47
|
+
+border-bottom-left-radius(!radius)
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//**
|
|
2
|
+
Provides cross-browser css box shadows
|
|
3
|
+
for Webkit and the future
|
|
4
|
+
arguments are horizontal offset, vertical offset, blur and color
|
|
5
|
+
|
|
6
|
+
=box-shadow(!ho, !vo, !b, !c )
|
|
7
|
+
/* Webkit (Safari, Chrome)
|
|
8
|
+
-webkit-box-shadow= !ho !vo !b !c
|
|
9
|
+
/* Mozilla (Firefox, Camino)
|
|
10
|
+
-moz-box-shadow= !ho !vo !b !c
|
|
11
|
+
/* CSS3
|
|
12
|
+
box-shadow= !ho !vo !b !c
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//**
|
|
2
|
+
Change the box model for Mozilla, Webkit, IE8 and the future
|
|
3
|
+
@param !bs
|
|
4
|
+
[ content-box | border-box ]
|
|
5
|
+
=box-sizing(!bs)
|
|
6
|
+
/* Mozilla (FireFox, Camino)
|
|
7
|
+
-moz-box-sizing= !bs
|
|
8
|
+
/* Webkit (Safari, Chrome)
|
|
9
|
+
-webkit-box-sizing= !bs
|
|
10
|
+
/* IE (8)
|
|
11
|
+
-ms-box-sizing= !bs
|
|
12
|
+
/* CSS3
|
|
13
|
+
box-sizing= !bs
|