arnebrasseur-compass 0.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. data/Manifest +160 -0
  2. data/README.markdown +18 -0
  3. data/Rakefile +112 -0
  4. data/VERSION +1 -0
  5. data/bin/compass +8 -0
  6. data/compass.gemspec +37 -0
  7. data/examples/blueprint_default/index.html +73 -0
  8. data/examples/blueprint_default/parts/elements.html +246 -0
  9. data/examples/blueprint_default/parts/forms.html +100 -0
  10. data/examples/blueprint_default/parts/grid.html +206 -0
  11. data/examples/blueprint_default/parts/test-small.jpg +0 -0
  12. data/examples/blueprint_default/parts/test.jpg +0 -0
  13. data/examples/blueprint_default/parts/valid.png +0 -0
  14. data/examples/blueprint_default/stylesheets/ie.sass +3 -0
  15. data/examples/blueprint_default/stylesheets/images/grid.png +0 -0
  16. data/examples/blueprint_default/stylesheets/print.sass +3 -0
  17. data/examples/blueprint_default/stylesheets/screen.sass +8 -0
  18. data/examples/blueprint_plugins/index.html +60 -0
  19. data/examples/blueprint_plugins/parts/fancy_type.html +84 -0
  20. data/examples/blueprint_plugins/parts/test-small.jpg +0 -0
  21. data/examples/blueprint_plugins/parts/test.jpg +0 -0
  22. data/examples/blueprint_plugins/parts/valid.png +0 -0
  23. data/examples/blueprint_plugins/stylesheets/ie.sass +3 -0
  24. data/examples/blueprint_plugins/stylesheets/images/grid.png +0 -0
  25. data/examples/blueprint_plugins/stylesheets/print.sass +3 -0
  26. data/examples/blueprint_plugins/stylesheets/screen.sass +11 -0
  27. data/examples/blueprint_scoped/stylesheets/ie.sass +3 -0
  28. data/examples/blueprint_scoped/stylesheets/print.sass +3 -0
  29. data/examples/blueprint_scoped/stylesheets/screen.sass +4 -0
  30. data/examples/blueprint_scoped_form/stylesheets/ie.sass +3 -0
  31. data/examples/blueprint_scoped_form/stylesheets/print.sass +3 -0
  32. data/examples/blueprint_scoped_form/stylesheets/screen.sass +10 -0
  33. data/examples/blueprint_semantic/index.html +68 -0
  34. data/examples/blueprint_semantic/parts/fancy_type.html +84 -0
  35. data/examples/blueprint_semantic/parts/liquid.html +84 -0
  36. data/examples/blueprint_semantic/parts/test-small.jpg +0 -0
  37. data/examples/blueprint_semantic/parts/test.jpg +0 -0
  38. data/examples/blueprint_semantic/parts/valid.png +0 -0
  39. data/examples/blueprint_semantic/stylesheets/ie.sass +3 -0
  40. data/examples/blueprint_semantic/stylesheets/images/grid.png +0 -0
  41. data/examples/blueprint_semantic/stylesheets/liquid.sass +70 -0
  42. data/examples/blueprint_semantic/stylesheets/print.sass +3 -0
  43. data/examples/blueprint_semantic/stylesheets/screen.sass +69 -0
  44. data/examples/compass/compass.html +19 -0
  45. data/examples/compass/sticky_footer.html.haml +14 -0
  46. data/examples/compass/stylesheets/compass.sass +47 -0
  47. data/examples/compass/stylesheets/images/blue_arrow.gif +0 -0
  48. data/examples/compass/stylesheets/sticky_footer.sass +11 -0
  49. data/examples/compass/stylesheets/utilities.sass +65 -0
  50. data/examples/compass/utilities.html.haml +136 -0
  51. data/examples/yui/divisions.html.haml +179 -0
  52. data/examples/yui/index.html.haml +19 -0
  53. data/examples/yui/stylesheets/screen.sass +13 -0
  54. data/examples/yui/sub_divisions.html.haml +169 -0
  55. data/examples/yui/templates.html.haml +54 -0
  56. data/examples/yui/test.jpg +0 -0
  57. data/examples/yui/typography.html.haml +132 -0
  58. data/frameworks/blueprint/lib/blueprint/constants.rb +17 -0
  59. data/frameworks/blueprint/lib/blueprint/grid_builder.rb +54 -0
  60. data/frameworks/blueprint/stylesheets/_blueprint.sass +3 -0
  61. data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +49 -0
  62. data/frameworks/blueprint/stylesheets/blueprint/_print.sass +82 -0
  63. data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +15 -0
  64. data/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +30 -0
  65. data/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -0
  66. data/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +81 -0
  67. data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +43 -0
  68. data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +141 -0
  69. data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -0
  70. data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +137 -0
  71. data/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +46 -0
  72. data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +153 -0
  73. data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -0
  74. data/frameworks/blueprint/templates/project/grid.png +0 -0
  75. data/frameworks/blueprint/templates/project/ie.sass +3 -0
  76. data/frameworks/blueprint/templates/project/print.sass +3 -0
  77. data/frameworks/blueprint/templates/project/screen.sass +8 -0
  78. data/frameworks/compass/stylesheets/_compass.sass +1 -0
  79. data/frameworks/compass/stylesheets/compass/_layout.sass +1 -0
  80. data/frameworks/compass/stylesheets/compass/_reset.sass +3 -0
  81. data/frameworks/compass/stylesheets/compass/_utilities.sass +5 -0
  82. data/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +17 -0
  83. data/frameworks/compass/stylesheets/compass/utilities/_general.sass +4 -0
  84. data/frameworks/compass/stylesheets/compass/utilities/_links.sass +3 -0
  85. data/frameworks/compass/stylesheets/compass/utilities/_lists.sass +3 -0
  86. data/frameworks/compass/stylesheets/compass/utilities/_print.sass +24 -0
  87. data/frameworks/compass/stylesheets/compass/utilities/_tables.sass +1 -0
  88. data/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
  89. data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +11 -0
  90. data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +6 -0
  91. data/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +58 -0
  92. data/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
  93. data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
  94. data/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +5 -0
  95. data/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +24 -0
  96. data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +5 -0
  97. data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +21 -0
  98. data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +20 -0
  99. data/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +29 -0
  100. data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +25 -0
  101. data/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
  102. data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +10 -0
  103. data/frameworks/compass/templates/project/grid.png +0 -0
  104. data/frameworks/compass/templates/project/ie.sass +3 -0
  105. data/frameworks/compass/templates/project/print.sass +4 -0
  106. data/frameworks/compass/templates/project/screen.sass +4 -0
  107. data/frameworks/yui/COPYRIGHT +15 -0
  108. data/frameworks/yui/stylesheets/_yui.sass +7 -0
  109. data/frameworks/yui/stylesheets/yui/modules/_base.sass +60 -0
  110. data/frameworks/yui/stylesheets/yui/modules/_fonts.sass +38 -0
  111. data/frameworks/yui/stylesheets/yui/modules/_grids.sass +341 -0
  112. data/frameworks/yui/templates/project/screen.sass +4 -0
  113. data/lib/compass/commands/base.rb +94 -0
  114. data/lib/compass/commands/create_project.rb +32 -0
  115. data/lib/compass/commands/install_rails.rb +115 -0
  116. data/lib/compass/commands/print_version.rb +23 -0
  117. data/lib/compass/commands/update_project.rb +101 -0
  118. data/lib/compass/commands/watch_project.rb +42 -0
  119. data/lib/compass/core_ext.rb +39 -0
  120. data/lib/compass/exec.rb +164 -0
  121. data/lib/compass/frameworks/blueprint.rb +2 -0
  122. data/lib/compass/frameworks/compass.rb +2 -0
  123. data/lib/compass/frameworks/yui.rb +2 -0
  124. data/lib/compass/frameworks.rb +27 -0
  125. data/lib/compass/merb.rb +43 -0
  126. data/lib/compass/test_case.rb +37 -0
  127. data/lib/compass/validate/COPYRIGHT.html +93 -0
  128. data/lib/compass/validate/JIGSAW_COPYRIGHT +64 -0
  129. data/lib/compass/validate/README.html +83 -0
  130. data/lib/compass/validate/XERCES_COPYING.txt +56 -0
  131. data/lib/compass/validate/css-validator-javadoc.jar +0 -0
  132. data/lib/compass/validate/css-validator.jar +0 -0
  133. data/lib/compass/validate/jigsaw.jar +0 -0
  134. data/lib/compass/validate/xerces.jar +0 -0
  135. data/lib/compass/validate.rb +13 -0
  136. data/lib/compass/validator.rb +59 -0
  137. data/lib/compass/version.rb +48 -0
  138. data/lib/compass.rb +20 -0
  139. data/lib/sass_extensions.rb +13 -0
  140. data/test/compass_test.rb +152 -0
  141. data/test/fixtures/stylesheets/blueprint/css/typography.css +158 -0
  142. data/test/fixtures/stylesheets/blueprint/sass/ie.sass +3 -0
  143. data/test/fixtures/stylesheets/blueprint/sass/print.sass +3 -0
  144. data/test/fixtures/stylesheets/blueprint/sass/screen.sass +17 -0
  145. data/test/fixtures/stylesheets/blueprint/sass/typography.sass +3 -0
  146. data/test/fixtures/stylesheets/compass/css/layout.css +14 -0
  147. data/test/fixtures/stylesheets/compass/css/print.css +19 -0
  148. data/test/fixtures/stylesheets/compass/css/reset.css +69 -0
  149. data/test/fixtures/stylesheets/compass/css/utilities.css +21 -0
  150. data/test/fixtures/stylesheets/compass/sass/layout.sass +3 -0
  151. data/test/fixtures/stylesheets/compass/sass/print.sass +5 -0
  152. data/test/fixtures/stylesheets/compass/sass/reset.sass +1 -0
  153. data/test/fixtures/stylesheets/compass/sass/utilities.sass +5 -0
  154. data/test/fixtures/stylesheets/yui/css/mixins.css +16 -0
  155. data/test/fixtures/stylesheets/yui/sass/base.sass +3 -0
  156. data/test/fixtures/stylesheets/yui/sass/fonts.sass +3 -0
  157. data/test/fixtures/stylesheets/yui/sass/grids.sass +3 -0
  158. data/test/fixtures/stylesheets/yui/sass/mixins.sass +16 -0
  159. data/test/sass_extensions_test.rb +26 -0
  160. data/test/test_helper.rb +37 -0
  161. metadata +264 -0
@@ -0,0 +1,141 @@
1
+ // --------------------------------------------------------------
2
+ // SASS Gridification
3
+ // * Author: Chris Eppstein
4
+ // A SASS adaptation of Blueprint CSS
5
+ // * Version: 0.7.1 (2008-02-25)
6
+ // * Website: http://code.google.com/p/blueprintcss/
7
+ // Based on work by:
8
+ // * Lorin Tacket [lorintackett.com]
9
+ // * Olav Bjorkoy [bjorkoy.com]
10
+ // * Nathan Borror [playgroundblues.com]
11
+ // * Jeff Croft [jeffcroft.com]
12
+ // * Christian Metts [mintchaos.com]
13
+ // * Khoi Vinh [subtraction.com]
14
+ // Read more about using a grid here:
15
+ // * subtraction.com/archives/2007/0318_oh_yeeaahh.php
16
+ // --------------------------------------------------------------
17
+
18
+ @import compass/utilities/general/clearfix.sass
19
+
20
+ // Main layout grid, override these constants to build your grid and container sizes.
21
+ !blueprint_grid_columns ||= 24
22
+ !blueprint_grid_width ||= 30px
23
+ !blueprint_grid_margin ||= 10px
24
+
25
+ !blueprint_grid_outer_width = !blueprint_grid_width + !blueprint_grid_margin
26
+ !blueprint_container_size = !blueprint_grid_outer_width * !blueprint_grid_columns - !blueprint_grid_margin
27
+
28
+
29
+ =blueprint-grid
30
+ // A container should group all your columns
31
+ .container
32
+ +container
33
+ // Use these classes (or mixins) to set the width of a column.
34
+ @for !n from 1 to !blueprint_grid_columns + 1
35
+ .span-#{!n}
36
+ +span(!n)
37
+ div
38
+ &.span-#{!n}
39
+ +column(!n, !n == !blueprint_grid_columns)
40
+ // The last column in a row needs this class (or mixin) or it will end up on the next row.
41
+ div.last
42
+ +last
43
+ // Add these to a column to append empty cols.
44
+ @for !n from 1 to !blueprint_grid_columns
45
+ .append-#{!n}
46
+ +append(!n)
47
+ // Add these to a column to prepend empty cols.
48
+ @for !n from 1 to !blueprint_grid_columns
49
+ .prepend-#{!n}
50
+ +prepend(!n)
51
+ // Use these classes on an element to push it into the
52
+ // next column, or to pull it into the previous column.
53
+ @for !n from 1 to !blueprint_grid_columns + 1
54
+ .pull-#{!n}
55
+ +pull(!n)
56
+ @for !n from 1 to !blueprint_grid_columns + 1
57
+ .push-#{!n}
58
+ +push(!n)
59
+
60
+
61
+ // Columns
62
+ // Note: If you use this mixin without the class and want to support ie6
63
+ // you must set text-align left on your container element in an IE stylesheet.
64
+ =container
65
+ :width = !blueprint_container_size
66
+ :margin 0 auto
67
+ +clearfix
68
+
69
+ // The last column in a row needs this mixin or it will end up on the next row.
70
+ // TODO add this to span mixin when we have optional arguments
71
+ =last
72
+ :margin
73
+ :right 0
74
+
75
+ =span(!n)
76
+ :width = !blueprint_grid_width * !n + (!blueprint_grid_margin * (!n - 1))
77
+
78
+ // Use this mixins to set the width of n columns.
79
+ =column(!n, !last = false)
80
+ :float left
81
+ +span(!n)
82
+ @if !last
83
+ +last
84
+ @else
85
+ :margin-right = !blueprint_grid_margin
86
+
87
+ // Mixin to a column to append n empty cols.
88
+ =append(!n)
89
+ :padding-right = (!blueprint_grid_outer_width) * !n
90
+
91
+ // Mixin to a column to prepend n empty cols.
92
+ =prepend(!n)
93
+ :padding-left = (!blueprint_grid_outer_width) * !n
94
+
95
+ // mixin to a column to move it n columns to the left
96
+ =pull(!n, !last = false)
97
+ :float left
98
+ :position relative
99
+ @if !last
100
+ :margin-left = (-!blueprint_grid_outer_width * !n) + !blueprint_grid_margin
101
+ @else
102
+ :margin-left = -!blueprint_grid_outer_width * !n
103
+
104
+ // mixin to a column to push it n columns to the right
105
+ =push(!n)
106
+ :float right
107
+ :position relative
108
+ :margin
109
+ :top 0
110
+ :right = -!blueprint_grid_outer_width * !n
111
+ :bottom 1.5em
112
+ :left = !blueprint_grid_outer_width * !n
113
+
114
+ // Border on right hand side of a column.
115
+ =border
116
+ :padding-right = !blueprint_grid_margin / 2 - 1
117
+ :margin-right = !blueprint_grid_margin / 2
118
+ :border-right 1px solid #eee
119
+
120
+ // Border with more whitespace, spans one column.
121
+ =colborder
122
+ :padding-right= !blueprint_grid_width - 0.5 * !blueprint_grid_margin - 1
123
+ :margin-right= !blueprint_grid_width - 0.5 * !blueprint_grid_margin
124
+ :border-right 1px solid #eee
125
+
126
+ // Mixin this to an hr to make a horizontal ruler across a column.
127
+ =colruler
128
+ :background #ddd
129
+ :color #ddd
130
+ :clear both
131
+ :float none
132
+ :width 100%
133
+ :height .1em
134
+ :margin 0 0 1.45em
135
+ :border none
136
+
137
+ // Mixin this to an hr to make a horizontal spacer across a column.
138
+ =colspacer
139
+ +colruler
140
+ :background #fff
141
+ :color #fff
@@ -0,0 +1,58 @@
1
+ @import colors.sass
2
+
3
+
4
+ =blueprint-interaction
5
+ .error
6
+ +error
7
+ .notice
8
+ +notice
9
+ .success
10
+ +success
11
+ .hide
12
+ :display none
13
+ .highlight
14
+ +highlight
15
+ .added
16
+ +added
17
+ .removed
18
+ +removed
19
+
20
+ =feedback-base
21
+ :padding .8em
22
+ :margin-bottom 1em
23
+ :border= 2px "solid" !feedback_border_color
24
+
25
+ =error
26
+ +feedback-base
27
+ :background = !error_bg_color
28
+ :color = !error_color
29
+ :border-color = !error_border_color
30
+ a
31
+ :color = !error_color
32
+
33
+ =notice
34
+ +feedback-base
35
+ :background = !notice_bg_color
36
+ :color = !notice_color
37
+ :border-color = !notice_border_color
38
+ a
39
+ :color = !notice_color
40
+
41
+ =success
42
+ +feedback-base
43
+ :background = !success_bg_color
44
+ :color = !success_color
45
+ :border-color = !success_border_color
46
+ a
47
+ :color = !success_color
48
+
49
+ =highlight
50
+ :background = !highlight_color
51
+
52
+ =added
53
+ :background = !added_bg_color
54
+ :color = !added_color
55
+
56
+ =removed
57
+ :background = !removed_bg_color
58
+ :color = !removed_color
@@ -0,0 +1,137 @@
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.sass
31
+ // @import blueprint/modules/liquid.sass
32
+ // -------------------------------------------------------------------
33
+
34
+ @import compass/utilities/general/clearfix.sass
35
+
36
+ // Main layout grid, override these constants to build your grid and container sizes.
37
+ // The width shown gives the right floored percentage values.
38
+ !blueprint_liquid_grid_columns ||= 24
39
+ !blueprint_liquid_grid_width ||= 4.173%
40
+ !blueprint_liquid_grid_margin ||= 0.833em
41
+
42
+ // Do not edit below this line unless you really know what you're doing.
43
+ !blueprint_liquid_container_width = 80%
44
+ !blueprint_liquid_container_min_width = 950px
45
+ !blueprint_liquid_grid_push_pull = -(!blueprint_liquid_grid_margin * 4)
46
+
47
+ =blueprint-liquid-grid
48
+ // A container should group all your columns
49
+ .container
50
+ +container
51
+ // Use these classes (or mixins) to set the width of a column.
52
+ @for !n from 1 to !blueprint_liquid_grid_columns + 1
53
+ .span-#{!n}
54
+ +span(!n)
55
+ div
56
+ &.span-#{!n}
57
+ +column(!n, !n == !blueprint_liquid_grid_columns)
58
+ // The last column in a row needs this class (or mixin) or it will end up on the next row.
59
+ div.last
60
+ +last
61
+ // Add these to a column to append empty cols.
62
+ @for !n from 1 to !blueprint_liquid_grid_columns
63
+ .append-#{!n}
64
+ +append(!n)
65
+ // Add these to a column to prepend empty cols.
66
+ @for !n from 1 to !blueprint_liquid_grid_columns
67
+ .prepend-#{!n}
68
+ +prepend(!n)
69
+ // Use these classes on an element to push it into the
70
+ // next column, or to pull it into the previous column.
71
+ @for !n from 1 to !blueprint_liquid_grid_columns + 1
72
+ .pull-#{!n}
73
+ +pull(!n)
74
+ @for !n from 1 to !blueprint_liquid_grid_columns + 1
75
+ .push-#{!n}
76
+ +push(!n)
77
+
78
+ =container
79
+ :min-width= !blueprint_liquid_container_min_width
80
+ :width = !blueprint_liquid_container_width
81
+ :margin 0 auto
82
+ +clearfix
83
+
84
+ =span(!n)
85
+ :width= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1)
86
+
87
+ =last
88
+ :margin-right 0
89
+
90
+ =column(!n, !last = false)
91
+ :float left
92
+ :overflow hidden
93
+ +span(!n)
94
+ @if !last
95
+ +last
96
+ @else
97
+ :margin-right = !blueprint_liquid_grid_margin
98
+
99
+ =append(!n)
100
+ :padding-right= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1)
101
+
102
+ =prepend(!n)
103
+ :padding-left= (!blueprint_liquid_grid_width * !n) - ((!blueprint_liquid_grid_width * !n) % 1)
104
+
105
+ =pull(!n, !last = false)
106
+ :margin-left= (!blueprint_liquid_grid_push_pull * !n)
107
+
108
+ =push(!n)
109
+ :float right
110
+ :margin
111
+ :top 0
112
+ :left 1.5em
113
+ :right= (!blueprint_liquid_grid_push_pull * !n)
114
+ :bottom 0
115
+
116
+ =border
117
+ :border-right 1px solid #eee
118
+
119
+ =colborder
120
+ :padding-right 2%
121
+ :margin-right 2%
122
+ +border
123
+
124
+ =colruler
125
+ :background #ddd
126
+ :color #ddd
127
+ :clear both
128
+ :width 100%
129
+ :height 0.083em
130
+ :margin 0 0 1.583em
131
+ :border none
132
+
133
+ =colspacer
134
+ +colruler
135
+ :background #fff
136
+ :color #fff
137
+
@@ -0,0 +1,46 @@
1
+ @import grid.sass
2
+ // The styles contained here are meant to provide for an attractive experience out of the box
3
+ // and are expected to be removed once custom visual design begins.
4
+
5
+ // The +blueprint-scaffolding mixin must be mixed into the top level of your stylesheet.
6
+ // However, you can customize the body selector if you wish to control the scope
7
+ // of this mixin. Examples:
8
+ // Apply to any page including the stylesheet:
9
+ // +blueprint-scaffolding
10
+ // Scoped by a single presentational body class:
11
+ // +blueprint-scaffolding("body.blueprint")
12
+ // Semantically:
13
+ // +blueprint-scaffolding("body#page-1, body#page-2, body.a-special-page-type")
14
+ // Alternatively, you can use the +blueprint-scaffolding-body and +blueprint-scaffolding-defaults
15
+ // mixins to construct your own semantic style rules.
16
+
17
+ =blueprint-scaffolding(!body_selector = "body")
18
+ #{!body_selector}
19
+ +blueprint-scaffolding-body
20
+ @if !body_selector != "body"
21
+ +blueprint-scaffolding-defaults
22
+ @if !body_selector == "body"
23
+ +blueprint-scaffolding-defaults
24
+
25
+ =blueprint-scaffolding-body
26
+ :margin 1.5em 0
27
+
28
+ // Mixin +box to create a padded box inside a column.
29
+ =box
30
+ :padding 1.5em
31
+ :margin-bottom 1.5em
32
+ :background #E5ECF9
33
+
34
+ =blueprint-scaffolding-defaults
35
+ .box
36
+ +box
37
+ // Border on right hand side of a column. You can comment this out if you don't plan to use it.
38
+ div.border
39
+ +border
40
+ // Border with more whitespace, spans one column.
41
+ div.colborder
42
+ +colborder
43
+ hr
44
+ +colruler
45
+ hr.space
46
+ +colspacer
@@ -0,0 +1,153 @@
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
+ // The +blueprint-typography mixin must be mixed into the top level of your stylesheet.
8
+ // However, you can customize the body selector if you wish to control the scope
9
+ // of this mixin. Examples:
10
+ // Apply to any page including the stylesheet:
11
+ // +blueprint-typography
12
+ // Scoped by a single presentational body class:
13
+ // +blueprint-typography("body.blueprint")
14
+ // Semantically:
15
+ // +blueprint-typography("body#page-1, body#page-2, body.a-special-page-type")
16
+ // Alternatively, you can use the +blueprint-typography-body and +blueprint-typography-defaults
17
+ // mixins to construct your own semantic style rules.
18
+
19
+ =blueprint-typography(!body_selector = "body")
20
+ #{!body_selector}
21
+ +blueprint-typography-body
22
+ @if !body_selector != "body"
23
+ +blueprint-typography-defaults
24
+ @if !body_selector == "body"
25
+ +blueprint-typography-defaults
26
+
27
+ =normal-text
28
+ :font-family= !blueprint_font_family
29
+ :color= !font_color
30
+
31
+ =fixed-width-text
32
+ :font= 1em !blueprint_fixed_font_family
33
+ :line-height 1.5
34
+
35
+ =header-text
36
+ :font-weight normal
37
+ :color= !header_color
38
+
39
+ =quiet
40
+ :color= !quiet_color
41
+
42
+ =loud
43
+ :color= !loud_color
44
+
45
+ =blueprint-typography-body
46
+ +normal-text
47
+ :font-size 75%
48
+
49
+ =blueprint-typography-defaults
50
+ h1
51
+ +header-text
52
+ :font-size 3em
53
+ :line-height 1
54
+ :margin-bottom 0.5em
55
+ img
56
+ :margin 0
57
+ h2
58
+ +header-text
59
+ :font-size 2em
60
+ :margin-bottom 0.75em
61
+ h3
62
+ +header-text
63
+ :font-size 1.5em
64
+ :line-height 1
65
+ :margin-bottom 1em
66
+ h4
67
+ +header-text
68
+ :font-size 1.2em
69
+ :line-height 1.25
70
+ :margin-bottom 1.25em
71
+ :height 1.25em
72
+ h5
73
+ +header-text
74
+ :font-size 1em
75
+ :font-weight bold
76
+ :margin-bottom 1.5em
77
+ h6
78
+ +header-text
79
+ :font-size 1em
80
+ :font-weight bold
81
+ h2 img, h3 img, h4 img, h5 img, h6 img
82
+ :margin 0
83
+ p
84
+ :margin 0 0 1.5em
85
+ img
86
+ :float left
87
+ :margin 1.5em 1.5em 1.5em 0
88
+ :padding 0
89
+ &.right
90
+ :float right
91
+ :margin 1.5em 0 1.5em 1.5em
92
+ a
93
+ :text-decoration underline
94
+ +link-colors(!link_color, !link_hover_color, !link_active_color, !link_visited_color, !link_focus_color)
95
+ blockquote
96
+ :margin 1.5em
97
+ :color #666
98
+ :font-style italic
99
+ strong
100
+ :font-weight bold
101
+ em
102
+ :font-style italic
103
+ dfn
104
+ :font-style italic
105
+ :font-weight bold
106
+ sup, sub
107
+ :line-height 0
108
+ abbr, acronym
109
+ :border-bottom 1px dotted #666
110
+ address
111
+ :margin 0 0 1.5em
112
+ :font-style italic
113
+ del
114
+ :color #666
115
+ pre, code
116
+ :margin 1.5em 0
117
+ :white-space pre
118
+ +fixed-width-text
119
+ tt
120
+ +fixed-width-text
121
+ li ul, li ol
122
+ :margin 0 1.5em
123
+ ul
124
+ :margin 0 1.5em 1.5em 1.5em
125
+ :list-style-type disc
126
+ ol
127
+ :margin 0 1.5em 1.5em 1.5em
128
+ :list-style-type decimal
129
+ dl
130
+ :margin 0 0 1.5em 0
131
+ dt
132
+ :font-weight bold
133
+ dd
134
+ :margin-left 1.5em
135
+ table
136
+ :margin-bottom 1.4em
137
+ :width 100%
138
+ th
139
+ :font-weight bold
140
+ :background #C3D9FF
141
+ :padding 4px 10px 4px 5px
142
+ td
143
+ :padding 4px 10px 4px 5px
144
+ tr.even td
145
+ :background #E5ECF9
146
+ tfoot
147
+ :font-style italic
148
+ caption
149
+ :background #eee
150
+ .quiet
151
+ +quiet
152
+ .loud
153
+ +loud
@@ -0,0 +1,37 @@
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
@@ -0,0 +1,3 @@
1
+ @import blueprint.sass
2
+
3
+ +blueprint-ie
@@ -0,0 +1,3 @@
1
+ @import blueprint.sass
2
+
3
+ +blueprint-print
@@ -0,0 +1,8 @@
1
+ @import blueprint.sass
2
+ @import blueprint/modules/scaffolding.sass
3
+ @import compass/reset.sass
4
+
5
+ +blueprint
6
+ // Remove the scaffolding when you're ready to start doing visual design.
7
+ // Or leave it in if you're happy with how blueprint looks out-of-the-box
8
+ +blueprint-scaffolding
@@ -0,0 +1 @@
1
+ @import compass/utilities.sass
@@ -0,0 +1 @@
1
+ @import layout/sticky_footer.sass
@@ -0,0 +1,3 @@
1
+ @import utilities/general/reset.sass
2
+
3
+ +global-reset
@@ -0,0 +1,5 @@
1
+ @import utilities/general.sass
2
+ @import utilities/links.sass
3
+ @import utilities/lists.sass
4
+ @import utilities/tables.sass
5
+ @import utilities/text.sass
@@ -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,4 @@
1
+ @import general/reset.sass
2
+ @import general/clearfix.sass
3
+ @import general/tag_cloud.sass
4
+ @import general/inline_block.sass
@@ -0,0 +1,3 @@
1
+ @import links/hover_link.sass
2
+ @import links/link_colors.sass
3
+ @import links/unstyled_link.sass
@@ -0,0 +1,3 @@
1
+ @import lists/horizontal_list.sass
2
+ @import lists/inline_list.sass
3
+ @import lists/bullets.sass
@@ -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 tables/alternating_rows_and_columns.sass
@@ -0,0 +1,2 @@
1
+ @import text/nowrap.sass
2
+ @import text/replacement.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