chriseppstein-compass 0.1.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/Manifest +143 -0
- data/README.markdown +18 -0
- data/Rakefile +104 -0
- data/VERSION +1 -0
- data/bin/compass +8 -0
- data/compass.gemspec +37 -0
- data/examples/blueprint_default/index.html +73 -0
- data/examples/blueprint_default/parts/elements.html +246 -0
- data/examples/blueprint_default/parts/forms.html +100 -0
- data/examples/blueprint_default/parts/grid.html +206 -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/stylesheets/ie.sass +4 -0
- data/examples/blueprint_default/stylesheets/images/grid.png +0 -0
- data/examples/blueprint_default/stylesheets/print.sass +4 -0
- data/examples/blueprint_default/stylesheets/screen.sass +9 -0
- data/examples/blueprint_plugins/index.html +60 -0
- data/examples/blueprint_plugins/parts/fancy_type.html +84 -0
- data/examples/blueprint_plugins/parts/test-small.jpg +0 -0
- data/examples/blueprint_plugins/parts/test.jpg +0 -0
- data/examples/blueprint_plugins/parts/valid.png +0 -0
- data/examples/blueprint_plugins/stylesheets/ie.sass +4 -0
- data/examples/blueprint_plugins/stylesheets/images/grid.png +0 -0
- data/examples/blueprint_plugins/stylesheets/print.sass +4 -0
- data/examples/blueprint_plugins/stylesheets/screen.sass +11 -0
- data/examples/blueprint_scoped/stylesheets/ie.sass +4 -0
- data/examples/blueprint_scoped/stylesheets/print.sass +4 -0
- data/examples/blueprint_scoped/stylesheets/screen.sass +5 -0
- data/examples/blueprint_scoped_form/stylesheets/ie.sass +4 -0
- data/examples/blueprint_scoped_form/stylesheets/print.sass +4 -0
- data/examples/blueprint_scoped_form/stylesheets/screen.sass +9 -0
- data/examples/blueprint_semantic/index.html +68 -0
- data/examples/blueprint_semantic/parts/fancy_type.html +84 -0
- data/examples/blueprint_semantic/parts/liquid.html +84 -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/stylesheets/ie.sass +4 -0
- data/examples/blueprint_semantic/stylesheets/images/grid.png +0 -0
- data/examples/blueprint_semantic/stylesheets/liquid.sass +70 -0
- data/examples/blueprint_semantic/stylesheets/print.sass +4 -0
- data/examples/blueprint_semantic/stylesheets/screen.sass +69 -0
- data/examples/compass/compass.html +19 -0
- data/examples/compass/stylesheets/compass.sass +47 -0
- data/examples/compass/stylesheets/images/blue_arrow.gif +0 -0
- data/examples/compass/stylesheets/utilities.sass +65 -0
- data/examples/compass/utilities.html.haml +136 -0
- data/examples/yui/divisions.html.haml +179 -0
- data/examples/yui/index.html.haml +19 -0
- data/examples/yui/stylesheets/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/lib/blueprint/constants.rb +17 -0
- data/frameworks/blueprint/lib/blueprint/grid_builder.rb +54 -0
- data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +19 -0
- data/frameworks/blueprint/stylesheets/blueprint/_print.sass +69 -0
- data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +15 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +25 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +85 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +43 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +140 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +55 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +140 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +29 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +131 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +39 -0
- data/frameworks/blueprint/templates/project/grid.png +0 -0
- data/frameworks/blueprint/templates/project/ie.sass +4 -0
- data/frameworks/blueprint/templates/project/print.sass +4 -0
- data/frameworks/blueprint/templates/project/screen.sass +9 -0
- data/frameworks/compass/stylesheets/compass/_reset.sass +19 -0
- data/frameworks/compass/stylesheets/compass/_utilities.sass +5 -0
- data/frameworks/compass/stylesheets/compass/utilities/_general.sass +4 -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/_tables.sass +1 -0
- data/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +11 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +32 -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 +20 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +29 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +25 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +10 -0
- data/frameworks/compass/templates/project/grid.png +0 -0
- data/frameworks/compass/templates/project/ie.sass +3 -0
- data/frameworks/compass/templates/project/print.sass +4 -0
- data/frameworks/compass/templates/project/screen.sass +4 -0
- data/frameworks/yui/COPYRIGHT +15 -0
- data/frameworks/yui/stylesheets/yui/_screen.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/templates/project/screen.sass +5 -0
- data/lib/compass.rb +19 -0
- data/lib/compass/commands/base.rb +94 -0
- data/lib/compass/commands/create_project.rb +30 -0
- data/lib/compass/commands/install_rails.rb +115 -0
- data/lib/compass/commands/print_version.rb +23 -0
- data/lib/compass/commands/update_project.rb +91 -0
- data/lib/compass/commands/watch_project.rb +42 -0
- data/lib/compass/core_ext.rb +39 -0
- data/lib/compass/exec.rb +156 -0
- data/lib/compass/frameworks.rb +27 -0
- data/lib/compass/frameworks/blueprint.rb +2 -0
- data/lib/compass/frameworks/compass.rb +2 -0
- data/lib/compass/frameworks/yui.rb +2 -0
- data/lib/compass/merb.rb +43 -0
- data/lib/compass/test_case.rb +37 -0
- data/lib/compass/validate.rb +13 -0
- data/lib/compass/validate/COPYRIGHT.html +93 -0
- data/lib/compass/validate/JIGSAW_COPYRIGHT +64 -0
- data/lib/compass/validate/README.html +83 -0
- data/lib/compass/validate/XERCES_COPYING.txt +56 -0
- data/lib/compass/validate/css-validator-javadoc.jar +0 -0
- data/lib/compass/validate/css-validator.jar +0 -0
- data/lib/compass/validate/jigsaw.jar +0 -0
- data/lib/compass/validate/xerces.jar +0 -0
- data/lib/compass/validator.rb +59 -0
- data/lib/compass/version.rb +48 -0
- data/lib/sass_extensions.rb +13 -0
- data/test/compass_test.rb +142 -0
- data/test/fixtures/stylesheets/default/sass/ie.sass +4 -0
- data/test/fixtures/stylesheets/default/sass/print.sass +4 -0
- data/test/fixtures/stylesheets/default/sass/screen.sass +18 -0
- data/test/fixtures/stylesheets/yui/css/mixins.css +16 -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/sass_extensions_test.rb +26 -0
- data/test/test_helper.rb +37 -0
- metadata +247 -0
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
// --------------------------------------------------------------
|
|
2
|
+
// SASS Gridification
|
|
3
|
+
// * Author: Geoff Garside
|
|
4
|
+
// A SASS adaptation of Blueprint CSS
|
|
5
|
+
// * Version: 0.7.1 (2008-02-25)
|
|
6
|
+
// * Website: http://code.google.com/p/blueprintcss/
|
|
7
|
+
// Based on work by:
|
|
8
|
+
// * Chris Eppstein [eppsteins.net]
|
|
9
|
+
// * Lorin Tacket [lorintackett.com]
|
|
10
|
+
// * Olav Bjorkoy [bjorkoy.com]
|
|
11
|
+
// * Nathan Borror [playgroundblues.com]
|
|
12
|
+
// * Jeff Croft [jeffcroft.com]
|
|
13
|
+
// * Christian Metts [mintchaos.com]
|
|
14
|
+
// * Khoi Vinh [subtraction.com]
|
|
15
|
+
// Liquid grid work by:
|
|
16
|
+
// * Ben Listwon
|
|
17
|
+
// * David Bedingfield
|
|
18
|
+
// * Andrei Michael Herasimchuk
|
|
19
|
+
// Involution Studios, http://www.involutionstudios.com
|
|
20
|
+
// Read more about using a grid here:
|
|
21
|
+
// * subtraction.com/archives/2007/0318_oh_yeeaahh.php
|
|
22
|
+
// -----
|
|
23
|
+
// By default, the grid is 80% of window width, with 24 columns.
|
|
24
|
+
//
|
|
25
|
+
// To make the grid fixed, simply change the .container width
|
|
26
|
+
// property to a pixel value. e.g., 960px.
|
|
27
|
+
// -----
|
|
28
|
+
// To use:
|
|
29
|
+
// This module is a REPLACEMENT for the grid module. Simply import it:
|
|
30
|
+
// @import blueprint/screen.sass
|
|
31
|
+
// @import blueprint/modules/liquid.sass
|
|
32
|
+
// -------------------------------------------------------------------
|
|
33
|
+
|
|
34
|
+
@import compass/utilities/general/clearfix.sass
|
|
35
|
+
|
|
36
|
+
// Main layout grid, edit these parameters to build your grid and container sizes.
|
|
37
|
+
// The width shown gives the right floored percentage values.
|
|
38
|
+
!layout_liquid_columns = 24
|
|
39
|
+
!layout_liquid_width = 4.173%
|
|
40
|
+
!layout_liquid_margin = 0.833em
|
|
41
|
+
|
|
42
|
+
// Do not edit below this line unless you really know what you're doing.
|
|
43
|
+
!layout_liquid_size = 80%
|
|
44
|
+
!layout_liquid_min_size = 950px
|
|
45
|
+
!layout_liquid_push_pull = -(!layout_liquid_margin * 4)
|
|
46
|
+
|
|
47
|
+
=block
|
|
48
|
+
:overflow hidden
|
|
49
|
+
|
|
50
|
+
=container
|
|
51
|
+
:min-width= !layout_liquid_min_size
|
|
52
|
+
:width = !layout_liquid_size
|
|
53
|
+
:margin 0 auto
|
|
54
|
+
+block
|
|
55
|
+
|
|
56
|
+
=span(!n)
|
|
57
|
+
:width= (!layout_liquid_width * !n) - ((!layout_liquid_width * !n) % 1)
|
|
58
|
+
|
|
59
|
+
=last
|
|
60
|
+
:margin-right 0
|
|
61
|
+
|
|
62
|
+
=column(!n, !last = false)
|
|
63
|
+
:float left
|
|
64
|
+
:overflow hidden
|
|
65
|
+
+span(!n)
|
|
66
|
+
@if !last
|
|
67
|
+
+last
|
|
68
|
+
@else
|
|
69
|
+
:margin-right = !layout_liquid_margin
|
|
70
|
+
|
|
71
|
+
=append(!n)
|
|
72
|
+
:padding-right= (!layout_liquid_width * !n) - ((!layout_liquid_width * !n) % 1)
|
|
73
|
+
|
|
74
|
+
=prepend(!n)
|
|
75
|
+
:padding-left= (!layout_liquid_width * !n) - ((!layout_liquid_width * !n) % 1)
|
|
76
|
+
|
|
77
|
+
=pull(!n, !last = false)
|
|
78
|
+
:margin-left= (!layout_liquid_push_pull * !n)
|
|
79
|
+
|
|
80
|
+
=push(!n)
|
|
81
|
+
:float right
|
|
82
|
+
:margin
|
|
83
|
+
:top 0
|
|
84
|
+
:left 1.5em
|
|
85
|
+
:right= (!layout_liquid_push_pull * !n)
|
|
86
|
+
:bottom 0
|
|
87
|
+
|
|
88
|
+
=border
|
|
89
|
+
:border-right 1px solid #eee
|
|
90
|
+
|
|
91
|
+
=colborder
|
|
92
|
+
:padding-right 2%
|
|
93
|
+
:margin-right 2%
|
|
94
|
+
+border
|
|
95
|
+
|
|
96
|
+
=colruler
|
|
97
|
+
:background #ddd
|
|
98
|
+
:color #ddd
|
|
99
|
+
:clear both
|
|
100
|
+
:width 100%
|
|
101
|
+
:height 0.083em
|
|
102
|
+
:margin 0 0 1.583em
|
|
103
|
+
:border none
|
|
104
|
+
|
|
105
|
+
=colspacer
|
|
106
|
+
+colruler
|
|
107
|
+
:background #fff
|
|
108
|
+
:color #fff
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
=blueprint-liquid
|
|
112
|
+
// A container should group all your columns
|
|
113
|
+
.container
|
|
114
|
+
+container
|
|
115
|
+
// Use these classes (or mixins) to set the width of a column.
|
|
116
|
+
@for !n from 1 to !layout_liquid_columns + 1
|
|
117
|
+
.span-#{!n}
|
|
118
|
+
+span(!n)
|
|
119
|
+
div
|
|
120
|
+
&.span-#{!n}
|
|
121
|
+
+column(!n, !n == !layout_liquid_columns)
|
|
122
|
+
// The last column in a row needs this class (or mixin) or it will end up on the next row.
|
|
123
|
+
div.last
|
|
124
|
+
+last
|
|
125
|
+
// Add these to a column to append empty cols.
|
|
126
|
+
@for !n from 1 to !layout_liquid_columns
|
|
127
|
+
.append-#{!n}
|
|
128
|
+
+append(!n)
|
|
129
|
+
// Add these to a column to prepend empty cols.
|
|
130
|
+
@for !n from 1 to !layout_liquid_columns
|
|
131
|
+
.prepend-#{!n}
|
|
132
|
+
+prepend(!n)
|
|
133
|
+
// Use these classes on an element to push it into the
|
|
134
|
+
// next column, or to pull it into the previous column.
|
|
135
|
+
@for !n from 1 to !layout_liquid_columns + 1
|
|
136
|
+
.pull-#{!n}
|
|
137
|
+
+pull(!n)
|
|
138
|
+
@for !n from 1 to !layout_liquid_columns + 1
|
|
139
|
+
.push-#{!n}
|
|
140
|
+
+push(!n)
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@import grid.sass
|
|
2
|
+
/*
|
|
3
|
+
The styles contained here are meant to provide for an attractive experience out of the box
|
|
4
|
+
and are meant to be removed once custom visual design begins.
|
|
5
|
+
|
|
6
|
+
=body-margins
|
|
7
|
+
:margin 1.5em 0
|
|
8
|
+
|
|
9
|
+
// Mixin +box to create a padded box inside a column.
|
|
10
|
+
=box
|
|
11
|
+
:padding 1.5em
|
|
12
|
+
:margin-bottom 1.5em
|
|
13
|
+
:background #E5ECF9
|
|
14
|
+
|
|
15
|
+
=blueprint-scaffolding
|
|
16
|
+
html &
|
|
17
|
+
+body-margins
|
|
18
|
+
.box
|
|
19
|
+
+box
|
|
20
|
+
// Border on right hand side of a column. You can comment this out if you don't plan to use it.
|
|
21
|
+
div.border
|
|
22
|
+
+border
|
|
23
|
+
// Border with more whitespace, spans one column.
|
|
24
|
+
div.colborder
|
|
25
|
+
+colborder
|
|
26
|
+
hr
|
|
27
|
+
+colruler
|
|
28
|
+
hr.space
|
|
29
|
+
+colspacer
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
@import colors.sass
|
|
2
|
+
@import compass/utilities/links/link_colors.sass
|
|
3
|
+
|
|
4
|
+
!blueprint_font_family ||= "Helvetica Neue", Helvetica, Arial, sans-serif
|
|
5
|
+
!blueprint_fixed_font_family ||= 'andale mono', 'lucida console', monospace
|
|
6
|
+
|
|
7
|
+
=normal-text
|
|
8
|
+
:font-family= !blueprint_font_family
|
|
9
|
+
:color= !font_color
|
|
10
|
+
|
|
11
|
+
=fixed-width-text
|
|
12
|
+
:font= 1em !blueprint_fixed_font_family
|
|
13
|
+
:line-height 1.5
|
|
14
|
+
|
|
15
|
+
=header-text
|
|
16
|
+
:font-weight normal
|
|
17
|
+
:color= !header_color
|
|
18
|
+
|
|
19
|
+
=quiet
|
|
20
|
+
:color= !quiet_color
|
|
21
|
+
|
|
22
|
+
=loud
|
|
23
|
+
:color= !loud_color
|
|
24
|
+
|
|
25
|
+
=blueprint-typography
|
|
26
|
+
+normal-text
|
|
27
|
+
:font-size 75%
|
|
28
|
+
h1
|
|
29
|
+
+header-text
|
|
30
|
+
:font-size 3em
|
|
31
|
+
:line-height 1
|
|
32
|
+
:margin-bottom 0.5em
|
|
33
|
+
img
|
|
34
|
+
:margin 0
|
|
35
|
+
h2
|
|
36
|
+
+header-text
|
|
37
|
+
:font-size 2em
|
|
38
|
+
:margin-bottom 0.75em
|
|
39
|
+
h3
|
|
40
|
+
+header-text
|
|
41
|
+
:font-size 1.5em
|
|
42
|
+
:line-height 1
|
|
43
|
+
:margin-bottom 1em
|
|
44
|
+
h4
|
|
45
|
+
+header-text
|
|
46
|
+
:font-size 1.2em
|
|
47
|
+
:line-height 1.25
|
|
48
|
+
:margin-bottom 1.25em
|
|
49
|
+
:height 1.25em
|
|
50
|
+
h5
|
|
51
|
+
+header-text
|
|
52
|
+
:font-size 1em
|
|
53
|
+
:font-weight bold
|
|
54
|
+
:margin-bottom 1.5em
|
|
55
|
+
h6
|
|
56
|
+
+header-text
|
|
57
|
+
:font-size 1em
|
|
58
|
+
:font-weight bold
|
|
59
|
+
h2 img, h3 img, h4 img, h5 img, h6 img
|
|
60
|
+
:margin 0
|
|
61
|
+
p
|
|
62
|
+
:margin 0 0 1.5em
|
|
63
|
+
img
|
|
64
|
+
:float left
|
|
65
|
+
:margin 1.5em 1.5em 1.5em 0
|
|
66
|
+
:padding 0
|
|
67
|
+
&.right
|
|
68
|
+
:float right
|
|
69
|
+
:margin 1.5em 0 1.5em 1.5em
|
|
70
|
+
a
|
|
71
|
+
:text-decoration underline
|
|
72
|
+
+link-colors(!link_color, !link_hover_color, !link_active_color, !link_visited_color, !link_focus_color)
|
|
73
|
+
blockquote
|
|
74
|
+
:margin 1.5em
|
|
75
|
+
:color #666
|
|
76
|
+
:font-style italic
|
|
77
|
+
strong
|
|
78
|
+
:font-weight bold
|
|
79
|
+
em
|
|
80
|
+
:font-style italic
|
|
81
|
+
dfn
|
|
82
|
+
:font-style italic
|
|
83
|
+
:font-weight bold
|
|
84
|
+
sup, sub
|
|
85
|
+
:line-height 0
|
|
86
|
+
abbr, acronym
|
|
87
|
+
:border-bottom 1px dotted #666
|
|
88
|
+
address
|
|
89
|
+
:margin 0 0 1.5em
|
|
90
|
+
:font-style italic
|
|
91
|
+
del
|
|
92
|
+
:color #666
|
|
93
|
+
pre, code
|
|
94
|
+
:margin 1.5em 0
|
|
95
|
+
:white-space pre
|
|
96
|
+
+fixed-width-text
|
|
97
|
+
tt
|
|
98
|
+
+fixed-width-text
|
|
99
|
+
li ul, li ol
|
|
100
|
+
:margin 0 1.5em
|
|
101
|
+
ul
|
|
102
|
+
:margin 0 1.5em 1.5em 1.5em
|
|
103
|
+
:list-style-type disc
|
|
104
|
+
ol
|
|
105
|
+
:margin 0 1.5em 1.5em 1.5em
|
|
106
|
+
:list-style-type decimal
|
|
107
|
+
dl
|
|
108
|
+
:margin 0 0 1.5em 0
|
|
109
|
+
dt
|
|
110
|
+
:font-weight bold
|
|
111
|
+
dd
|
|
112
|
+
:margin-left 1.5em
|
|
113
|
+
table
|
|
114
|
+
:margin-bottom 1.4em
|
|
115
|
+
:width 100%
|
|
116
|
+
th
|
|
117
|
+
:font-weight bold
|
|
118
|
+
:background #C3D9FF
|
|
119
|
+
:padding 4px 10px 4px 5px
|
|
120
|
+
td
|
|
121
|
+
:padding 4px 10px 4px 5px
|
|
122
|
+
tr.even td
|
|
123
|
+
:background #E5ECF9
|
|
124
|
+
tfoot
|
|
125
|
+
:font-style italic
|
|
126
|
+
caption
|
|
127
|
+
:background #eee
|
|
128
|
+
.quiet
|
|
129
|
+
+quiet
|
|
130
|
+
.loud
|
|
131
|
+
+loud
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
@import compass/utilities/text/nowrap.sass
|
|
2
|
+
@import compass/utilities/general/clearfix.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
|
|
38
|
+
.print-only
|
|
39
|
+
:display none
|
|
Binary file
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
@import blueprint/screen.sass
|
|
2
|
+
@import blueprint/modules/scaffolding.sass
|
|
3
|
+
@import compass/reset.sass
|
|
4
|
+
|
|
5
|
+
body
|
|
6
|
+
+blueprint
|
|
7
|
+
// Remove the scaffolding when you're ready to start doing visual design.
|
|
8
|
+
// Or leave it in if you're happy with how blueprint looks out-of-the-box
|
|
9
|
+
+blueprint-scaffolding
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
@import utilities/general/reset.sass
|
|
2
|
+
|
|
3
|
+
// Global reset rules.
|
|
4
|
+
// For more specific resets, use the reset mixins provided by
|
|
5
|
+
// compass/utilities/general/reset
|
|
6
|
+
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
|
|
7
|
+
pre, a, abbr, acronym, address, code, del, dfn, em, img,
|
|
8
|
+
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption, tbody, tfoot, thead, tr
|
|
9
|
+
+reset
|
|
10
|
+
body
|
|
11
|
+
:line-height 1.5
|
|
12
|
+
blockquote, q
|
|
13
|
+
+reset-quotation
|
|
14
|
+
th, td, caption
|
|
15
|
+
+reset-table-cell
|
|
16
|
+
table
|
|
17
|
+
+reset-table
|
|
18
|
+
a img
|
|
19
|
+
:border none
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import tables/alternating_rows_and_columns.sass
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// Clearing floats without extra markup
|
|
2
|
+
// Simple Clearing of Floats
|
|
3
|
+
// [http://www.sitepoint.com/blogs/2005/02/26/simple-clearing-of-floats/]
|
|
4
|
+
=clearfix
|
|
5
|
+
:overflow auto
|
|
6
|
+
:overflow -moz-scrollbars-none
|
|
7
|
+
// This makes ie6 get layout
|
|
8
|
+
:display inline-block
|
|
9
|
+
// and this puts it back to block
|
|
10
|
+
&
|
|
11
|
+
:display block
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
=reset-box-model
|
|
2
|
+
:margin 0
|
|
3
|
+
:padding 0
|
|
4
|
+
:border 0
|
|
5
|
+
|
|
6
|
+
=reset
|
|
7
|
+
+reset-box-model
|
|
8
|
+
:font
|
|
9
|
+
:weight inherit
|
|
10
|
+
:style inherit
|
|
11
|
+
:size 100%
|
|
12
|
+
:family inherit
|
|
13
|
+
:vertical-align baseline
|
|
14
|
+
|
|
15
|
+
=reset-quotation
|
|
16
|
+
+reset
|
|
17
|
+
:quotes "" ""
|
|
18
|
+
&:before,
|
|
19
|
+
&:after
|
|
20
|
+
:content ""
|
|
21
|
+
|
|
22
|
+
=reset-table-cell
|
|
23
|
+
+reset
|
|
24
|
+
:text-align left
|
|
25
|
+
:font-weight normal
|
|
26
|
+
:vertical-align middle
|
|
27
|
+
|
|
28
|
+
=reset-table
|
|
29
|
+
+reset
|
|
30
|
+
:border-collapse separate
|
|
31
|
+
:border-spacing 0
|
|
32
|
+
:vertical-align middle
|