compass 0.8.16
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +551 -0
- data/LICENSE.markdown +29 -0
- data/README.markdown +44 -0
- data/REVISION +1 -0
- data/Rakefile +127 -0
- data/VERSION.yml +4 -0
- data/bin/compass +8 -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 +3 -0
- data/examples/blueprint_scoped/src/print.sass +3 -0
- data/examples/blueprint_scoped/src/screen.sass +4 -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 +70 -0
- data/examples/blueprint_semantic/src/print.sass +3 -0
- data/examples/blueprint_semantic/src/screen.sass +71 -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/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/yui/divisions.html.haml +179 -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/frameworks/blueprint.rb +2 -0
- data/frameworks/blueprint/stylesheets/_blueprint.sass +3 -0
- data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +93 -0
- data/frameworks/blueprint/stylesheets/blueprint/_print.sass +83 -0
- data/frameworks/blueprint/stylesheets/blueprint/_reset.sass +3 -0
- data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +15 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +33 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +82 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +55 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +178 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +44 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +141 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +56 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +104 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +47 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +155 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -0
- data/frameworks/blueprint/templates/buttons/buttons.sass +49 -0
- data/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
- data/frameworks/blueprint/templates/buttons/manifest.rb +5 -0
- data/frameworks/blueprint/templates/link_icons/link_icons.sass +13 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/doc.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/email.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/external.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/feed.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/im.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/visited.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/xls.png +0 -0
- data/frameworks/blueprint/templates/link_icons/manifest.rb +10 -0
- data/frameworks/blueprint/templates/project/grid.png +0 -0
- data/frameworks/blueprint/templates/project/ie.sass +15 -0
- data/frameworks/blueprint/templates/project/manifest.rb +6 -0
- data/frameworks/blueprint/templates/project/partials/_base.sass +11 -0
- data/frameworks/blueprint/templates/project/print.sass +3 -0
- data/frameworks/blueprint/templates/project/screen.sass +40 -0
- data/frameworks/compass.rb +2 -0
- data/frameworks/compass/stylesheets/_compass.sass +1 -0
- data/frameworks/compass/stylesheets/compass/_layout.sass +1 -0
- data/frameworks/compass/stylesheets/compass/_misc.sass +24 -0
- data/frameworks/compass/stylesheets/compass/_reset.sass +3 -0
- data/frameworks/compass/stylesheets/compass/_utilities.sass +6 -0
- data/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +17 -0
- data/frameworks/compass/stylesheets/compass/utilities/_general.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/_links.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_lists.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_print.sass +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +1 -0
- data/frameworks/compass/stylesheets/compass/utilities/_tables.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +17 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +134 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +5 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +5 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +21 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +52 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +29 -0
- data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +12 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +20 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass +13 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +17 -0
- data/frameworks/compass/templates/ellipsis/ellipsis.sass +6 -0
- data/frameworks/compass/templates/ellipsis/manifest.rb +2 -0
- data/frameworks/compass/templates/ellipsis/xml/ellipsis.xml +14 -0
- data/frameworks/compass/templates/project/ie.sass +6 -0
- data/frameworks/compass/templates/project/manifest.rb +3 -0
- data/frameworks/compass/templates/project/print.sass +6 -0
- data/frameworks/compass/templates/project/screen.sass +13 -0
- data/frameworks/yui.rb +2 -0
- data/frameworks/yui/stylesheets/_yui.sass +7 -0
- data/frameworks/yui/stylesheets/yui/modules/_base.sass +60 -0
- data/frameworks/yui/stylesheets/yui/modules/_fonts.sass +38 -0
- data/frameworks/yui/stylesheets/yui/modules/_grids.sass +341 -0
- data/frameworks/yui/stylesheets/yui/modules/_reset.sass +61 -0
- data/frameworks/yui/templates/project/manifest.rb +1 -0
- data/frameworks/yui/templates/project/screen.sass +4 -0
- data/lib/compass.rb +23 -0
- data/lib/compass/actions.rb +110 -0
- data/lib/compass/app_integration.rb +5 -0
- data/lib/compass/app_integration/merb.rb +43 -0
- data/lib/compass/app_integration/rails.rb +12 -0
- data/lib/compass/app_integration/rails/action_controller.rb +15 -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/commands/base.rb +33 -0
- data/lib/compass/commands/create_project.rb +19 -0
- data/lib/compass/commands/generate_grid_background.rb +24 -0
- data/lib/compass/commands/installer_command.rb +31 -0
- data/lib/compass/commands/list_frameworks.rb +16 -0
- data/lib/compass/commands/print_version.rb +23 -0
- data/lib/compass/commands/project_base.rb +112 -0
- data/lib/compass/commands/stamp_pattern.rb +33 -0
- data/lib/compass/commands/update_project.rb +34 -0
- data/lib/compass/commands/validate_project.rb +21 -0
- data/lib/compass/commands/watch_project.rb +64 -0
- data/lib/compass/commands/write_configuration.rb +28 -0
- data/lib/compass/compiler.rb +54 -0
- data/lib/compass/configuration.rb +324 -0
- data/lib/compass/core_ext.rb +14 -0
- data/lib/compass/dependencies.rb +10 -0
- data/lib/compass/errors.rb +7 -0
- data/lib/compass/exec.rb +251 -0
- data/lib/compass/frameworks.rb +29 -0
- data/lib/compass/grid_builder.rb +72 -0
- data/lib/compass/installers.rb +5 -0
- data/lib/compass/installers/base.rb +158 -0
- data/lib/compass/installers/manifest.rb +58 -0
- data/lib/compass/installers/rails.rb +135 -0
- data/lib/compass/installers/stand_alone.rb +60 -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 +39 -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 +41 -0
- data/lib/vendor/fssm/backends/fsevents.rb +37 -0
- data/lib/vendor/fssm/backends/polling.rb +26 -0
- data/lib/vendor/fssm/cache.rb +193 -0
- data/lib/vendor/fssm/ext.rb +37 -0
- data/lib/vendor/fssm/fsevents.rb +129 -0
- data/lib/vendor/fssm/monitor.rb +25 -0
- data/lib/vendor/fssm/path.rb +91 -0
- data/lib/vendor/fssm/state.rb +54 -0
- data/lib/vendor/fssm/support.rb +22 -0
- data/lib/vendor/fssm/tree.rb +176 -0
- data/test/command_line_helper.rb +102 -0
- data/test/command_line_test.rb +66 -0
- data/test/compass_test.rb +141 -0
- data/test/configuration_test.rb +118 -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 +13 -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/fixtures/stylesheets/yui/config.rb +9 -0
- data/test/fixtures/stylesheets/yui/css/mixins.css +13 -0
- data/test/fixtures/stylesheets/yui/sass/base.sass +3 -0
- data/test/fixtures/stylesheets/yui/sass/fonts.sass +3 -0
- data/test/fixtures/stylesheets/yui/sass/grids.sass +3 -0
- data/test/fixtures/stylesheets/yui/sass/mixins.sass +16 -0
- data/test/rails_integration_test.rb +83 -0
- data/test/sass_extensions_test.rb +31 -0
- data/test/test_case_helper.rb +13 -0
- data/test/test_helper.rb +21 -0
- data/test/test_rails_helper.rb +20 -0
- metadata +372 -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
|
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
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
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,15 @@
|
|
1
|
+
@import blueprint.sass
|
2
|
+
|
3
|
+
+blueprint-ie
|
4
|
+
|
5
|
+
// Note :
|
6
|
+
//
|
7
|
+
// Compass will center text to fix IE6 container centering.
|
8
|
+
// This means all your texts will be centered under all version of IE by default.
|
9
|
+
// Please don't forget to restore the correct behavior to your main container (but not the body tag!)
|
10
|
+
//
|
11
|
+
// Example :
|
12
|
+
//
|
13
|
+
// .container, .footer
|
14
|
+
// :text-align left
|
15
|
+
|
@@ -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,40 @@
|
|
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-typography("body.bp")
|
15
|
+
+blueprint-scaffolding("body.bp")
|
16
|
+
body.bp
|
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)
|
@@ -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,17 @@
|
|
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
|
+
:margin-bottom= -!footer_height
|
12
|
+
#{!root_footer_selector}
|
13
|
+
:height= !footer_height
|
14
|
+
#{!footer_selector}
|
15
|
+
:clear both
|
16
|
+
:position relative
|
17
|
+
:height= !footer_height
|
@@ -0,0 +1,24 @@
|
|
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
|
+
address, blockquote, center, dir, div, dd, dl, dt,
|
11
|
+
fieldset, form, frameset, h1, h2, h3, h4, h5, h6, hr,
|
12
|
+
isindex, li, menu, noframes, noscript, ol, p, pre,
|
13
|
+
table, tbody, td, tfoot, th, thead, tr, ul
|
14
|
+
&.print-only
|
15
|
+
:display block
|
16
|
+
a, abbr, acronym, b, basefont, bdo, big, br, cite,
|
17
|
+
code, dfn, em, font, i, img, input, kbd, label, q, s,
|
18
|
+
samp, select, small, span, strike, strong, sub, sup,
|
19
|
+
textarea, tt, u, var
|
20
|
+
&.print-only
|
21
|
+
:display inline
|
22
|
+
@else
|
23
|
+
.print-only
|
24
|
+
:display none
|
@@ -0,0 +1 @@
|
|
1
|
+
@import sprites/sprite_img.sass
|
@@ -0,0 +1,24 @@
|
|
1
|
+
@import hacks.sass
|
2
|
+
|
3
|
+
//**
|
4
|
+
Extends the element to enclose any floats it contains.
|
5
|
+
This basic method is preferred for the usual case, when positioned content will not show outside the bounds of the container.
|
6
|
+
Recommendations include using this in conjunction with a width:
|
7
|
+
http://www.quirksmode.org/blog/archives/2005/03/clearing_floats.html
|
8
|
+
=clearfix
|
9
|
+
:overflow hidden
|
10
|
+
+has-layout
|
11
|
+
|
12
|
+
//**
|
13
|
+
Extends the element to enclose any floats it contains.
|
14
|
+
This older "Easy Clearing" method has the advantage of allowing positioned elements to hang outside the bounds of the container, at the expense of more tricky CSS.
|
15
|
+
http://www.positioniseverything.net/easyclearing.html
|
16
|
+
=pie-clearfix
|
17
|
+
&:after
|
18
|
+
:content " "
|
19
|
+
:display block
|
20
|
+
:height 0
|
21
|
+
:clear both
|
22
|
+
:overflow hidden
|
23
|
+
:visibility hidden
|
24
|
+
+has-layout
|
@@ -0,0 +1,17 @@
|
|
1
|
+
//**\\
|
2
|
+
Float
|
3
|
+
|
4
|
+
@import clearfix.sass
|
5
|
+
|
6
|
+
// Implementation of float:left with fix for double-margin bug
|
7
|
+
=float-left
|
8
|
+
+float("left")
|
9
|
+
|
10
|
+
// Implementation of float:right with fix for double-margin bug
|
11
|
+
=float-right
|
12
|
+
+float("right")
|
13
|
+
|
14
|
+
// Available as alternate syntax with just +float
|
15
|
+
=float(!side = "left")
|
16
|
+
:display inline
|
17
|
+
:float= !side
|
@@ -0,0 +1,134 @@
|
|
1
|
+
// Based on Eric Meyer's reset http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/
|
2
|
+
|
3
|
+
// Global reset rules.
|
4
|
+
// For more specific resets, use the reset mixins provided below
|
5
|
+
=global-reset
|
6
|
+
html, body, div, span, applet, object, iframe,
|
7
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
8
|
+
a, abbr, acronym, address, big, cite, code,
|
9
|
+
del, dfn, em, font, img, ins, kbd, q, s, samp,
|
10
|
+
small, strike, strong, sub, sup, tt, var,
|
11
|
+
dl, dt, dd, ol, ul, li,
|
12
|
+
fieldset, form, label, legend,
|
13
|
+
table, caption, tbody, tfoot, thead, tr, th, td
|
14
|
+
+reset-box-model
|
15
|
+
+reset-font
|
16
|
+
|
17
|
+
*:focus
|
18
|
+
+reset-focus
|
19
|
+
|
20
|
+
body
|
21
|
+
+reset-body
|
22
|
+
|
23
|
+
ol, ul
|
24
|
+
+reset-list-style
|
25
|
+
|
26
|
+
/* tables still need 'cellspacing="0"' in the markup
|
27
|
+
table
|
28
|
+
+reset-table
|
29
|
+
|
30
|
+
caption, th, td
|
31
|
+
+reset-table-cell
|
32
|
+
|
33
|
+
q, blockquote
|
34
|
+
+reset-quotation
|
35
|
+
|
36
|
+
img a
|
37
|
+
+reset-image-anchor-border
|
38
|
+
|
39
|
+
|
40
|
+
// Reset all elements within some selector scope.To reset the selector itself,
|
41
|
+
// mixin the appropriate reset mixin for that element type as well. This could be
|
42
|
+
// useful if you want to style a part of your page in a dramatically different way.
|
43
|
+
=nested-reset
|
44
|
+
div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
|
45
|
+
pre, a, abbr, acronym, address, code, del, dfn, em, img,
|
46
|
+
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr
|
47
|
+
+reset-box-model
|
48
|
+
+reset-font
|
49
|
+
|
50
|
+
/* tables still need 'cellspacing="0"' in the markup
|
51
|
+
table
|
52
|
+
+reset-table
|
53
|
+
|
54
|
+
caption, th, td
|
55
|
+
+reset-table-cell
|
56
|
+
|
57
|
+
q, blockquote
|
58
|
+
+reset-quotation
|
59
|
+
|
60
|
+
img a
|
61
|
+
+reset-image-anchor-border
|
62
|
+
|
63
|
+
//Mixins partials
|
64
|
+
=reset-box-model
|
65
|
+
:margin 0
|
66
|
+
:padding 0
|
67
|
+
:border 0
|
68
|
+
:outline 0
|
69
|
+
|
70
|
+
=reset-font
|
71
|
+
:font
|
72
|
+
:weight inherit
|
73
|
+
:style inherit
|
74
|
+
:size 100%
|
75
|
+
:family inherit
|
76
|
+
:vertical-align baseline
|
77
|
+
|
78
|
+
=reset-focus
|
79
|
+
:outline 0
|
80
|
+
|
81
|
+
=reset-body
|
82
|
+
:line-height 1em
|
83
|
+
:color = #000
|
84
|
+
:background #fff
|
85
|
+
|
86
|
+
=reset-list-style
|
87
|
+
:list-style none
|
88
|
+
|
89
|
+
=reset-table
|
90
|
+
:border-collapse separate
|
91
|
+
:border-spacing 0
|
92
|
+
:vertical-align middle
|
93
|
+
|
94
|
+
=reset-table-cell
|
95
|
+
:text-align left
|
96
|
+
:font-weight normal
|
97
|
+
:vertical-align middle
|
98
|
+
|
99
|
+
=reset-quotation
|
100
|
+
:quotes "" ""
|
101
|
+
&:before, &:after
|
102
|
+
:content ""
|
103
|
+
|
104
|
+
=reset-image-anchor-border
|
105
|
+
:border none
|
106
|
+
|
107
|
+
=reset-html5
|
108
|
+
section, article, aside, header, footer, nav, dialog, figure
|
109
|
+
display: block
|
110
|
+
|
111
|
+
//**
|
112
|
+
Resets the display of inline and block elements to their default display
|
113
|
+
according to their tag type. Elements that have a default display that varies across
|
114
|
+
versions of html or browser are not handled here, but this covers the 90% use case.
|
115
|
+
Usage Example:
|
116
|
+
// Turn off the display for both of these classes
|
117
|
+
.unregistered-only, .registered-only
|
118
|
+
:display none
|
119
|
+
// Now turn only one of them back on depending on some other context.
|
120
|
+
body.registered
|
121
|
+
+reset-display(".registered-only")
|
122
|
+
body.unregistered
|
123
|
+
+reset-display(".unregistered-only")
|
124
|
+
=reset-display(!selector = "", !important = false)
|
125
|
+
#{append_selector(elements_of_type("inline"), !selector)}
|
126
|
+
@if !important
|
127
|
+
display: inline !important
|
128
|
+
@else
|
129
|
+
display: inline
|
130
|
+
#{append_selector(elements_of_type("block"), !selector)}
|
131
|
+
@if !important
|
132
|
+
display: block !important
|
133
|
+
@else
|
134
|
+
display: block
|