jwhitmire-compass 0.5.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (179) hide show
  1. data/Manifest +178 -0
  2. data/README.markdown +17 -0
  3. data/Rakefile +125 -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 +69 -0
  50. data/examples/compass/utilities.html.haml +141 -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 +154 -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/manifest.rb +5 -0
  77. data/frameworks/blueprint/templates/project/print.sass +3 -0
  78. data/frameworks/blueprint/templates/project/screen.sass +8 -0
  79. data/frameworks/blueprint.rb +2 -0
  80. data/frameworks/compass/stylesheets/_compass.sass +1 -0
  81. data/frameworks/compass/stylesheets/compass/_layout.sass +1 -0
  82. data/frameworks/compass/stylesheets/compass/_reset.sass +3 -0
  83. data/frameworks/compass/stylesheets/compass/_utilities.sass +5 -0
  84. data/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +17 -0
  85. data/frameworks/compass/stylesheets/compass/utilities/_general.sass +4 -0
  86. data/frameworks/compass/stylesheets/compass/utilities/_links.sass +3 -0
  87. data/frameworks/compass/stylesheets/compass/utilities/_lists.sass +3 -0
  88. data/frameworks/compass/stylesheets/compass/utilities/_print.sass +24 -0
  89. data/frameworks/compass/stylesheets/compass/utilities/_tables.sass +3 -0
  90. data/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
  91. data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +11 -0
  92. data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +6 -0
  93. data/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +56 -0
  94. data/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
  95. data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
  96. data/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +5 -0
  97. data/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +24 -0
  98. data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +5 -0
  99. data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +21 -0
  100. data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +20 -0
  101. data/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +29 -0
  102. data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +20 -0
  103. data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
  104. data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
  105. data/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
  106. data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +10 -0
  107. data/frameworks/compass/templates/project/ie.sass +6 -0
  108. data/frameworks/compass/templates/project/manifest.rb +3 -0
  109. data/frameworks/compass/templates/project/print.sass +6 -0
  110. data/frameworks/compass/templates/project/screen.sass +7 -0
  111. data/frameworks/compass.rb +2 -0
  112. data/frameworks/yui/COPYRIGHT +15 -0
  113. data/frameworks/yui/stylesheets/_yui.sass +7 -0
  114. data/frameworks/yui/stylesheets/yui/modules/_base.sass +60 -0
  115. data/frameworks/yui/stylesheets/yui/modules/_fonts.sass +38 -0
  116. data/frameworks/yui/stylesheets/yui/modules/_grids.sass +341 -0
  117. data/frameworks/yui/templates/project/manifest.rb +1 -0
  118. data/frameworks/yui/templates/project/screen.sass +4 -0
  119. data/frameworks/yui.rb +2 -0
  120. data/lib/compass/actions.rb +92 -0
  121. data/lib/compass/commands/base.rb +29 -0
  122. data/lib/compass/commands/create_project.rb +41 -0
  123. data/lib/compass/commands/list_frameworks.rb +16 -0
  124. data/lib/compass/commands/print_version.rb +23 -0
  125. data/lib/compass/commands/project_base.rb +82 -0
  126. data/lib/compass/commands/update_project.rb +25 -0
  127. data/lib/compass/commands/watch_project.rb +53 -0
  128. data/lib/compass/commands/write_configuration.rb +37 -0
  129. data/lib/compass/compiler.rb +40 -0
  130. data/lib/compass/configuration.rb +167 -0
  131. data/lib/compass/core_ext.rb +12 -0
  132. data/lib/compass/errors.rb +7 -0
  133. data/lib/compass/exec.rb +184 -0
  134. data/lib/compass/frameworks.rb +29 -0
  135. data/lib/compass/installers/base.rb +135 -0
  136. data/lib/compass/installers/manifest.rb +57 -0
  137. data/lib/compass/installers/rails.rb +118 -0
  138. data/lib/compass/installers/stand_alone.rb +76 -0
  139. data/lib/compass/installers.rb +5 -0
  140. data/lib/compass/logger.rb +34 -0
  141. data/lib/compass/merb.rb +43 -0
  142. data/lib/compass/test_case.rb +37 -0
  143. data/lib/compass/validate/COPYRIGHT.html +93 -0
  144. data/lib/compass/validate/JIGSAW_COPYRIGHT +64 -0
  145. data/lib/compass/validate/README.html +83 -0
  146. data/lib/compass/validate/XERCES_COPYING.txt +56 -0
  147. data/lib/compass/validate/css-validator-javadoc.jar +0 -0
  148. data/lib/compass/validate/css-validator.jar +0 -0
  149. data/lib/compass/validate/jigsaw.jar +0 -0
  150. data/lib/compass/validate/xerces.jar +0 -0
  151. data/lib/compass/validate.rb +13 -0
  152. data/lib/compass/validator.rb +59 -0
  153. data/lib/compass/version.rb +66 -0
  154. data/lib/compass.rb +39 -0
  155. data/lib/sass_extensions.rb +13 -0
  156. data/test/command_line_test.rb +147 -0
  157. data/test/compass_test.rb +148 -0
  158. data/test/configuration_test.rb +29 -0
  159. data/test/fixtures/stylesheets/blueprint/css/typography.css +159 -0
  160. data/test/fixtures/stylesheets/blueprint/sass/ie.sass +3 -0
  161. data/test/fixtures/stylesheets/blueprint/sass/print.sass +3 -0
  162. data/test/fixtures/stylesheets/blueprint/sass/screen.sass +17 -0
  163. data/test/fixtures/stylesheets/blueprint/sass/typography.sass +3 -0
  164. data/test/fixtures/stylesheets/compass/css/layout.css +14 -0
  165. data/test/fixtures/stylesheets/compass/css/print.css +19 -0
  166. data/test/fixtures/stylesheets/compass/css/reset.css +66 -0
  167. data/test/fixtures/stylesheets/compass/css/utilities.css +23 -0
  168. data/test/fixtures/stylesheets/compass/sass/layout.sass +3 -0
  169. data/test/fixtures/stylesheets/compass/sass/print.sass +5 -0
  170. data/test/fixtures/stylesheets/compass/sass/reset.sass +1 -0
  171. data/test/fixtures/stylesheets/compass/sass/utilities.sass +5 -0
  172. data/test/fixtures/stylesheets/yui/css/mixins.css +16 -0
  173. data/test/fixtures/stylesheets/yui/sass/base.sass +3 -0
  174. data/test/fixtures/stylesheets/yui/sass/fonts.sass +3 -0
  175. data/test/fixtures/stylesheets/yui/sass/grids.sass +3 -0
  176. data/test/fixtures/stylesheets/yui/sass/mixins.sass +16 -0
  177. data/test/sass_extensions_test.rb +26 -0
  178. data/test/test_helper.rb +47 -0
  179. metadata +295 -0
data/Manifest ADDED
@@ -0,0 +1,178 @@
1
+ bin/compass
2
+ compass.gemspec
3
+ examples/blueprint_default/index.html
4
+ examples/blueprint_default/parts/elements.html
5
+ examples/blueprint_default/parts/forms.html
6
+ examples/blueprint_default/parts/grid.html
7
+ examples/blueprint_default/parts/test-small.jpg
8
+ examples/blueprint_default/parts/test.jpg
9
+ examples/blueprint_default/parts/valid.png
10
+ examples/blueprint_default/stylesheets/ie.sass
11
+ examples/blueprint_default/stylesheets/images/grid.png
12
+ examples/blueprint_default/stylesheets/print.sass
13
+ examples/blueprint_default/stylesheets/screen.sass
14
+ examples/blueprint_plugins/index.html
15
+ examples/blueprint_plugins/parts/fancy_type.html
16
+ examples/blueprint_plugins/parts/test-small.jpg
17
+ examples/blueprint_plugins/parts/test.jpg
18
+ examples/blueprint_plugins/parts/valid.png
19
+ examples/blueprint_plugins/stylesheets/ie.sass
20
+ examples/blueprint_plugins/stylesheets/images/grid.png
21
+ examples/blueprint_plugins/stylesheets/print.sass
22
+ examples/blueprint_plugins/stylesheets/screen.sass
23
+ examples/blueprint_scoped/stylesheets/ie.sass
24
+ examples/blueprint_scoped/stylesheets/print.sass
25
+ examples/blueprint_scoped/stylesheets/screen.sass
26
+ examples/blueprint_scoped_form/stylesheets/ie.sass
27
+ examples/blueprint_scoped_form/stylesheets/print.sass
28
+ examples/blueprint_scoped_form/stylesheets/screen.sass
29
+ examples/blueprint_semantic/index.html
30
+ examples/blueprint_semantic/parts/fancy_type.html
31
+ examples/blueprint_semantic/parts/liquid.html
32
+ examples/blueprint_semantic/parts/test-small.jpg
33
+ examples/blueprint_semantic/parts/test.jpg
34
+ examples/blueprint_semantic/parts/valid.png
35
+ examples/blueprint_semantic/stylesheets/ie.sass
36
+ examples/blueprint_semantic/stylesheets/images/grid.png
37
+ examples/blueprint_semantic/stylesheets/liquid.sass
38
+ examples/blueprint_semantic/stylesheets/print.sass
39
+ examples/blueprint_semantic/stylesheets/screen.sass
40
+ examples/compass/compass.html
41
+ examples/compass/sticky_footer.html.haml
42
+ examples/compass/stylesheets/compass.sass
43
+ examples/compass/stylesheets/images/blue_arrow.gif
44
+ examples/compass/stylesheets/sticky_footer.sass
45
+ examples/compass/stylesheets/utilities.sass
46
+ examples/compass/utilities.html.haml
47
+ examples/yui/divisions.html.haml
48
+ examples/yui/index.html.haml
49
+ examples/yui/stylesheets/screen.sass
50
+ examples/yui/sub_divisions.html.haml
51
+ examples/yui/templates.html.haml
52
+ examples/yui/test.jpg
53
+ examples/yui/typography.html.haml
54
+ frameworks/blueprint/lib/blueprint/constants.rb
55
+ frameworks/blueprint/lib/blueprint/grid_builder.rb
56
+ frameworks/blueprint/stylesheets/_blueprint.sass
57
+ frameworks/blueprint/stylesheets/blueprint/_ie.sass
58
+ frameworks/blueprint/stylesheets/blueprint/_print.sass
59
+ frameworks/blueprint/stylesheets/blueprint/_screen.sass
60
+ frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass
61
+ frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass
62
+ frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass
63
+ frameworks/blueprint/stylesheets/blueprint/modules/_form.sass
64
+ frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass
65
+ frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass
66
+ frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass
67
+ frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass
68
+ frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass
69
+ frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass
70
+ frameworks/blueprint/templates/project/grid.png
71
+ frameworks/blueprint/templates/project/ie.sass
72
+ frameworks/blueprint/templates/project/manifest.rb
73
+ frameworks/blueprint/templates/project/print.sass
74
+ frameworks/blueprint/templates/project/screen.sass
75
+ frameworks/blueprint.rb
76
+ frameworks/compass/stylesheets/_compass.sass
77
+ frameworks/compass/stylesheets/compass/_layout.sass
78
+ frameworks/compass/stylesheets/compass/_reset.sass
79
+ frameworks/compass/stylesheets/compass/_utilities.sass
80
+ frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass
81
+ frameworks/compass/stylesheets/compass/utilities/_general.sass
82
+ frameworks/compass/stylesheets/compass/utilities/_links.sass
83
+ frameworks/compass/stylesheets/compass/utilities/_lists.sass
84
+ frameworks/compass/stylesheets/compass/utilities/_print.sass
85
+ frameworks/compass/stylesheets/compass/utilities/_tables.sass
86
+ frameworks/compass/stylesheets/compass/utilities/_text.sass
87
+ frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass
88
+ frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass
89
+ frameworks/compass/stylesheets/compass/utilities/general/_reset.sass
90
+ frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass
91
+ frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass
92
+ frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass
93
+ frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
94
+ frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass
95
+ frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass
96
+ frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass
97
+ frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass
98
+ frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass
99
+ frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass
100
+ frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass
101
+ frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass
102
+ frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass
103
+ frameworks/compass/templates/project/ie.sass
104
+ frameworks/compass/templates/project/manifest.rb
105
+ frameworks/compass/templates/project/print.sass
106
+ frameworks/compass/templates/project/screen.sass
107
+ frameworks/compass.rb
108
+ frameworks/yui/COPYRIGHT
109
+ frameworks/yui/stylesheets/_yui.sass
110
+ frameworks/yui/stylesheets/yui/modules/_base.sass
111
+ frameworks/yui/stylesheets/yui/modules/_fonts.sass
112
+ frameworks/yui/stylesheets/yui/modules/_grids.sass
113
+ frameworks/yui/templates/project/manifest.rb
114
+ frameworks/yui/templates/project/screen.sass
115
+ frameworks/yui.rb
116
+ lib/compass/actions.rb
117
+ lib/compass/commands/base.rb
118
+ lib/compass/commands/create_project.rb
119
+ lib/compass/commands/list_frameworks.rb
120
+ lib/compass/commands/print_version.rb
121
+ lib/compass/commands/project_base.rb
122
+ lib/compass/commands/update_project.rb
123
+ lib/compass/commands/watch_project.rb
124
+ lib/compass/commands/write_configuration.rb
125
+ lib/compass/compiler.rb
126
+ lib/compass/configuration.rb
127
+ lib/compass/core_ext.rb
128
+ lib/compass/errors.rb
129
+ lib/compass/exec.rb
130
+ lib/compass/frameworks.rb
131
+ lib/compass/installers/base.rb
132
+ lib/compass/installers/manifest.rb
133
+ lib/compass/installers/rails.rb
134
+ lib/compass/installers/stand_alone.rb
135
+ lib/compass/installers.rb
136
+ lib/compass/logger.rb
137
+ lib/compass/merb.rb
138
+ lib/compass/test_case.rb
139
+ lib/compass/validate/COPYRIGHT.html
140
+ lib/compass/validate/css-validator-javadoc.jar
141
+ lib/compass/validate/css-validator.jar
142
+ lib/compass/validate/jigsaw.jar
143
+ lib/compass/validate/JIGSAW_COPYRIGHT
144
+ lib/compass/validate/README.html
145
+ lib/compass/validate/xerces.jar
146
+ lib/compass/validate/XERCES_COPYING.txt
147
+ lib/compass/validate.rb
148
+ lib/compass/validator.rb
149
+ lib/compass/version.rb
150
+ lib/compass.rb
151
+ lib/sass_extensions.rb
152
+ Manifest
153
+ Rakefile
154
+ README.markdown
155
+ test/command_line_test.rb
156
+ test/compass_test.rb
157
+ test/configuration_test.rb
158
+ test/fixtures/stylesheets/blueprint/css/typography.css
159
+ test/fixtures/stylesheets/blueprint/sass/ie.sass
160
+ test/fixtures/stylesheets/blueprint/sass/print.sass
161
+ test/fixtures/stylesheets/blueprint/sass/screen.sass
162
+ test/fixtures/stylesheets/blueprint/sass/typography.sass
163
+ test/fixtures/stylesheets/compass/css/layout.css
164
+ test/fixtures/stylesheets/compass/css/print.css
165
+ test/fixtures/stylesheets/compass/css/reset.css
166
+ test/fixtures/stylesheets/compass/css/utilities.css
167
+ test/fixtures/stylesheets/compass/sass/layout.sass
168
+ test/fixtures/stylesheets/compass/sass/print.sass
169
+ test/fixtures/stylesheets/compass/sass/reset.sass
170
+ test/fixtures/stylesheets/compass/sass/utilities.sass
171
+ test/fixtures/stylesheets/yui/css/mixins.css
172
+ test/fixtures/stylesheets/yui/sass/base.sass
173
+ test/fixtures/stylesheets/yui/sass/fonts.sass
174
+ test/fixtures/stylesheets/yui/sass/grids.sass
175
+ test/fixtures/stylesheets/yui/sass/mixins.sass
176
+ test/sass_extensions_test.rb
177
+ test/test_helper.rb
178
+ VERSION
data/README.markdown ADDED
@@ -0,0 +1,17 @@
1
+ # Compass
2
+ A [Sass](http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html)-based CSS Meta-Framework that allows you to mix and match any of the following CSS frameworks:
3
+ - [Compass Core](http://github.com/chriseppstein/compass/tree/master/frameworks/compass) - [Wiki Documentation](http://github.com/chriseppstein/compass/wikis/compass-core-documentation)
4
+ - [Blueprint](http://blueprintcss.org/) - [Wiki Documentation](http://github.com/chriseppstein/compass/wikis/blueprint-documentation)
5
+ - [YUI](http://developer.yahoo.com/yui/grids/) - [Wiki Documentation](http://github.com/chriseppstein/compass/wikis/yui-documentation)
6
+ - [960](http://960.gs/) - [Wiki Documentation](http://github.com/chriseppstein/compass/wikis/960gs-documentation)
7
+ - [YAML](http://www.yaml.de/en/) - Planned
8
+ - Other frameworks can be added relatively easily.
9
+
10
+ ## Compass Provides
11
+ 1. A command line tool for maintaining your Sass projects.
12
+ 2. Optional integration with Ruby-on-Rails, Merb, StaticMatic, and other application servers.
13
+ 3. Loads of Sass mixins to make building your website a snap.
14
+
15
+ ## More Information
16
+ Please see the [wiki](http://github.com/chriseppstein/compass/wikis/home)
17
+
data/Rakefile ADDED
@@ -0,0 +1,125 @@
1
+ if ENV['RUN_CODE_RUN']
2
+ # We need to checkout edge haml for the run>code>run test environment.
3
+ if File.directory?("haml")
4
+ Dir.chdir("haml") do
5
+ sh "git", "pull"
6
+ end
7
+ else
8
+ sh "git", "clone", "git://github.com/nex3/haml.git"
9
+ end
10
+ $LOAD_PATH.unshift "haml/lib"
11
+ end
12
+
13
+ require 'rubygems'
14
+ require 'rake'
15
+ require 'lib/compass'
16
+
17
+ # ----- Default: Testing ------
18
+
19
+ task :default => :run_tests
20
+
21
+ require 'rake/testtask'
22
+ require 'fileutils'
23
+
24
+ Rake::TestTask.new :run_tests do |t|
25
+ t.libs << 'lib'
26
+ t.libs << 'haml/lib' if ENV["RUN_CODE_RUN"]
27
+ test_files = FileList['test/**/*_test.rb']
28
+ test_files.exclude('test/rails/*', 'test/haml/*')
29
+ t.test_files = test_files
30
+ t.verbose = true
31
+ end
32
+ Rake::Task[:test].send(:add_comment, <<END)
33
+ To run with an alternate version of Rails, make test/rails a symlink to that version.
34
+ To run with an alternate version of Haml & Sass, make test/haml a symlink to that version.
35
+ END
36
+
37
+ begin
38
+ require 'echoe'
39
+
40
+ Echoe.new('compass', open('VERSION').read) do |p|
41
+ # p.rubyforge_name = 'github'
42
+ p.summary = "Sass-Based CSS Meta-Framework."
43
+ p.description = "Sass-Based CSS Meta-Framework. Semantic, Maintainable CSS."
44
+ p.url = "http://github.com/chriseppstein/compass"
45
+ p.author = ['Chris Eppstein']
46
+ p.email = "chris@eppsteins.net"
47
+ p.dependencies = ["haml"]
48
+ p.has_rdoc = false
49
+ end
50
+
51
+ rescue LoadError => boom
52
+ puts "You are missing a dependency required for meta-operations on this gem."
53
+ puts "#{boom.to_s.capitalize}."
54
+ end
55
+
56
+ desc "Compile Examples into HTML and CSS"
57
+ task :examples do
58
+ linked_haml = "tests/haml"
59
+ if File.exists?(linked_haml) && !$:.include?(linked_haml + '/lib')
60
+ puts "[ using linked Haml ]"
61
+ $:.unshift linked_haml + '/lib'
62
+ end
63
+ require 'haml'
64
+ require 'sass'
65
+ require 'pathname'
66
+ FileList['examples/*'].each do |example|
67
+ puts "Compiling #{example} -> built_examples/#{example.sub(%r{.*/},'')}"
68
+ # compile any haml templates to html
69
+ FileList["#{example}/*.haml"].each do |haml_file|
70
+ basename = haml_file[9..-6]
71
+ engine = Haml::Engine.new(open(haml_file).read, :filename => haml_file)
72
+ target_dir = "built_examples/#{basename.sub(%r{/[^/]*$},'')}"
73
+ FileUtils.mkdir_p(target_dir)
74
+ output = open("built_examples/#{basename}",'w')
75
+ output.write(engine.render)
76
+ output.close
77
+ end
78
+ # compile any sass templates to css
79
+ FileList["#{example}/stylesheets/**/[^_]*.sass"].each do |sass_file|
80
+ basename = sass_file[9..-6]
81
+ css_filename = "built_examples/#{basename}.css"
82
+ compass_sass = File.dirname(__FILE__).sub(%r{.*/},'')
83
+ engine = Sass::Engine.new(open(sass_file).read,
84
+ :filename => sass_file,
85
+ :line_comments => true,
86
+ :css_filename => css_filename,
87
+ :load_paths => ["#{example}/stylesheets"] + Compass::Frameworks::ALL.map{|f| f.stylesheets_directory})
88
+ target_dir = "built_examples/#{basename.sub(%r{/[^/]*$},'')}"
89
+ FileUtils.mkdir_p(target_dir)
90
+ output = open(css_filename,'w')
91
+ output.write(engine.render)
92
+ output.close
93
+ end
94
+ # copy any other non-haml and non-sass files directly over
95
+ target_dir = "built_examples/#{example.sub(%r{.*/},'')}"
96
+ other_files = FileList["#{example}/**/*"]
97
+ other_files.exclude "**/*.sass", "**/*.haml"
98
+ other_files.each do |file|
99
+
100
+ if File.directory?(file)
101
+ FileUtils.mkdir_p(file)
102
+ elsif File.file?(file)
103
+ target_file = "#{target_dir}/#{file[(example.size+1)..-1]}"
104
+ # puts "mkdir -p #{File.dirname(target_file)}"
105
+ FileUtils.mkdir_p(File.dirname(target_file))
106
+ # puts "cp #{file} #{target_file}"
107
+ FileUtils.cp(file, target_file)
108
+ end
109
+ end
110
+ end
111
+ end
112
+
113
+ namespace :git do
114
+ desc "Perform normal operations required for pushing to github."
115
+ task :push => [:manifest, :gem] do
116
+ sh "git", "add", "Manifest", "compass.gemspec", "VERSION"
117
+ sh "git", "commit", "-m", "Updated Manifest and gemspec."
118
+ sh "git", "push", "origin", "master"
119
+ end
120
+ task :clean do
121
+ sh "git", "clean", "-fdx"
122
+ end
123
+ end
124
+
125
+ task :manifest => :"git:clean"
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.5.1
data/bin/compass ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env ruby
2
+ # The compass command line utility
3
+
4
+ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'compass'))
5
+ require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'compass', 'exec'))
6
+
7
+ command = Compass::Exec::Compass.new(ARGV)
8
+ exit command.run!
data/compass.gemspec ADDED
@@ -0,0 +1,37 @@
1
+ Gem::Specification.new do |s|
2
+ s.name = %q{compass}
3
+ s.version = "0.5.1.1"
4
+
5
+ s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
6
+ s.authors = ["Jeff Whitmire"]
7
+ s.date = %q{2009-02-25}
8
+ s.default_executable = %q{compass}
9
+ s.description = %q{Sass-Based CSS Meta-Framework. Semantic, Maintainable CSS.}
10
+ s.email = %q{jeff@jwhitmire.com}
11
+ s.executables = ["compass"]
12
+ s.extra_rdoc_files = ["bin/compass", "lib/compass/actions.rb", "lib/compass/commands/base.rb", "lib/compass/commands/create_project.rb", "lib/compass/commands/list_frameworks.rb", "lib/compass/commands/print_version.rb", "lib/compass/commands/project_base.rb", "lib/compass/commands/update_project.rb", "lib/compass/commands/watch_project.rb", "lib/compass/commands/write_configuration.rb", "lib/compass/compiler.rb", "lib/compass/configuration.rb", "lib/compass/core_ext.rb", "lib/compass/errors.rb", "lib/compass/exec.rb", "lib/compass/frameworks.rb", "lib/compass/installers/base.rb", "lib/compass/installers/manifest.rb", "lib/compass/installers/rails.rb", "lib/compass/installers/stand_alone.rb", "lib/compass/installers.rb", "lib/compass/logger.rb", "lib/compass/merb.rb", "lib/compass/test_case.rb", "lib/compass/validate/COPYRIGHT.html", "lib/compass/validate/css-validator-javadoc.jar", "lib/compass/validate/css-validator.jar", "lib/compass/validate/jigsaw.jar", "lib/compass/validate/JIGSAW_COPYRIGHT", "lib/compass/validate/README.html", "lib/compass/validate/xerces.jar", "lib/compass/validate/XERCES_COPYING.txt", "lib/compass/validate.rb", "lib/compass/validator.rb", "lib/compass/version.rb", "lib/compass.rb", "lib/sass_extensions.rb", "README.markdown"]
13
+ s.files = ["bin/compass", "compass.gemspec", "examples/blueprint_default/index.html", "examples/blueprint_default/parts/elements.html", "examples/blueprint_default/parts/forms.html", "examples/blueprint_default/parts/grid.html", "examples/blueprint_default/parts/test-small.jpg", "examples/blueprint_default/parts/test.jpg", "examples/blueprint_default/parts/valid.png", "examples/blueprint_default/stylesheets/ie.sass", "examples/blueprint_default/stylesheets/images/grid.png", "examples/blueprint_default/stylesheets/print.sass", "examples/blueprint_default/stylesheets/screen.sass", "examples/blueprint_plugins/index.html", "examples/blueprint_plugins/parts/fancy_type.html", "examples/blueprint_plugins/parts/test-small.jpg", "examples/blueprint_plugins/parts/test.jpg", "examples/blueprint_plugins/parts/valid.png", "examples/blueprint_plugins/stylesheets/ie.sass", "examples/blueprint_plugins/stylesheets/images/grid.png", "examples/blueprint_plugins/stylesheets/print.sass", "examples/blueprint_plugins/stylesheets/screen.sass", "examples/blueprint_scoped/stylesheets/ie.sass", "examples/blueprint_scoped/stylesheets/print.sass", "examples/blueprint_scoped/stylesheets/screen.sass", "examples/blueprint_scoped_form/stylesheets/ie.sass", "examples/blueprint_scoped_form/stylesheets/print.sass", "examples/blueprint_scoped_form/stylesheets/screen.sass", "examples/blueprint_semantic/index.html", "examples/blueprint_semantic/parts/fancy_type.html", "examples/blueprint_semantic/parts/liquid.html", "examples/blueprint_semantic/parts/test-small.jpg", "examples/blueprint_semantic/parts/test.jpg", "examples/blueprint_semantic/parts/valid.png", "examples/blueprint_semantic/stylesheets/ie.sass", "examples/blueprint_semantic/stylesheets/images/grid.png", "examples/blueprint_semantic/stylesheets/liquid.sass", "examples/blueprint_semantic/stylesheets/print.sass", "examples/blueprint_semantic/stylesheets/screen.sass", "examples/compass/compass.html", "examples/compass/sticky_footer.html.haml", "examples/compass/stylesheets/compass.sass", "examples/compass/stylesheets/images/blue_arrow.gif", "examples/compass/stylesheets/sticky_footer.sass", "examples/compass/stylesheets/utilities.sass", "examples/compass/utilities.html.haml", "examples/yui/divisions.html.haml", "examples/yui/index.html.haml", "examples/yui/stylesheets/screen.sass", "examples/yui/sub_divisions.html.haml", "examples/yui/templates.html.haml", "examples/yui/test.jpg", "examples/yui/typography.html.haml", "frameworks/blueprint/lib/blueprint/constants.rb", "frameworks/blueprint/lib/blueprint/grid_builder.rb", "frameworks/blueprint/stylesheets/_blueprint.sass", "frameworks/blueprint/stylesheets/blueprint/_ie.sass", "frameworks/blueprint/stylesheets/blueprint/_print.sass", "frameworks/blueprint/stylesheets/blueprint/_screen.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_form.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass", "frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass", "frameworks/blueprint/templates/project/grid.png", "frameworks/blueprint/templates/project/ie.sass", "frameworks/blueprint/templates/project/manifest.rb", "frameworks/blueprint/templates/project/print.sass", "frameworks/blueprint/templates/project/screen.sass", "frameworks/blueprint.rb", "frameworks/compass/stylesheets/_compass.sass", "frameworks/compass/stylesheets/compass/_layout.sass", "frameworks/compass/stylesheets/compass/_reset.sass", "frameworks/compass/stylesheets/compass/_utilities.sass", "frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass", "frameworks/compass/stylesheets/compass/utilities/_general.sass", "frameworks/compass/stylesheets/compass/utilities/_links.sass", "frameworks/compass/stylesheets/compass/utilities/_lists.sass", "frameworks/compass/stylesheets/compass/utilities/_print.sass", "frameworks/compass/stylesheets/compass/utilities/_tables.sass", "frameworks/compass/stylesheets/compass/utilities/_text.sass", "frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass", "frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass", "frameworks/compass/stylesheets/compass/utilities/general/_reset.sass", "frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass", "frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass", "frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass", "frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass", "frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass", "frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass", "frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass", "frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass", "frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass", "frameworks/compass/templates/project/ie.sass", "frameworks/compass/templates/project/manifest.rb", "frameworks/compass/templates/project/print.sass", "frameworks/compass/templates/project/screen.sass", "frameworks/compass.rb", "frameworks/yui/COPYRIGHT", "frameworks/yui/stylesheets/_yui.sass", "frameworks/yui/stylesheets/yui/modules/_base.sass", "frameworks/yui/stylesheets/yui/modules/_fonts.sass", "frameworks/yui/stylesheets/yui/modules/_grids.sass", "frameworks/yui/templates/project/manifest.rb", "frameworks/yui/templates/project/screen.sass", "frameworks/yui.rb", "lib/compass/actions.rb", "lib/compass/commands/base.rb", "lib/compass/commands/create_project.rb", "lib/compass/commands/list_frameworks.rb", "lib/compass/commands/print_version.rb", "lib/compass/commands/project_base.rb", "lib/compass/commands/update_project.rb", "lib/compass/commands/watch_project.rb", "lib/compass/commands/write_configuration.rb", "lib/compass/compiler.rb", "lib/compass/configuration.rb", "lib/compass/core_ext.rb", "lib/compass/errors.rb", "lib/compass/exec.rb", "lib/compass/frameworks.rb", "lib/compass/installers/base.rb", "lib/compass/installers/manifest.rb", "lib/compass/installers/rails.rb", "lib/compass/installers/stand_alone.rb", "lib/compass/installers.rb", "lib/compass/logger.rb", "lib/compass/merb.rb", "lib/compass/test_case.rb", "lib/compass/validate/COPYRIGHT.html", "lib/compass/validate/css-validator-javadoc.jar", "lib/compass/validate/css-validator.jar", "lib/compass/validate/jigsaw.jar", "lib/compass/validate/JIGSAW_COPYRIGHT", "lib/compass/validate/README.html", "lib/compass/validate/xerces.jar", "lib/compass/validate/XERCES_COPYING.txt", "lib/compass/validate.rb", "lib/compass/validator.rb", "lib/compass/version.rb", "lib/compass.rb", "lib/sass_extensions.rb", "Manifest", "Rakefile", "README.markdown", "test/command_line_test.rb", "test/compass_test.rb", "test/configuration_test.rb", "test/fixtures/stylesheets/blueprint/css/typography.css", "test/fixtures/stylesheets/blueprint/sass/ie.sass", "test/fixtures/stylesheets/blueprint/sass/print.sass", "test/fixtures/stylesheets/blueprint/sass/screen.sass", "test/fixtures/stylesheets/blueprint/sass/typography.sass", "test/fixtures/stylesheets/compass/css/layout.css", "test/fixtures/stylesheets/compass/css/print.css", "test/fixtures/stylesheets/compass/css/reset.css", "test/fixtures/stylesheets/compass/css/utilities.css", "test/fixtures/stylesheets/compass/sass/layout.sass", "test/fixtures/stylesheets/compass/sass/print.sass", "test/fixtures/stylesheets/compass/sass/reset.sass", "test/fixtures/stylesheets/compass/sass/utilities.sass", "test/fixtures/stylesheets/yui/css/mixins.css", "test/fixtures/stylesheets/yui/sass/base.sass", "test/fixtures/stylesheets/yui/sass/fonts.sass", "test/fixtures/stylesheets/yui/sass/grids.sass", "test/fixtures/stylesheets/yui/sass/mixins.sass", "test/sass_extensions_test.rb", "test/test_helper.rb", "VERSION"]
14
+ s.homepage = %q{http://github.com/chriseppstein/compass}
15
+ s.rdoc_options = ["--line-numbers", "--inline-source", "--title", "Compass", "--main", "README.markdown"]
16
+ s.require_paths = ["lib"]
17
+ s.rubyforge_project = %q{compass}
18
+ s.rubygems_version = %q{1.2.0}
19
+ s.summary = %q{Sass-Based CSS Meta-Framework.}
20
+ s.test_files = ["test/command_line_test.rb", "test/compass_test.rb", "test/configuration_test.rb", "test/sass_extensions_test.rb", "test/test_helper.rb"]
21
+
22
+ if s.respond_to? :specification_version then
23
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
24
+ s.specification_version = 2
25
+
26
+ if current_version >= 3 then
27
+ s.add_runtime_dependency(%q<haml>, [">= 0"])
28
+ s.add_development_dependency(%q<echoe>, [">= 0"])
29
+ else
30
+ s.add_dependency(%q<haml>, [">= 0"])
31
+ s.add_dependency(%q<echoe>, [">= 0"])
32
+ end
33
+ else
34
+ s.add_dependency(%q<haml>, [">= 0"])
35
+ s.add_dependency(%q<echoe>, [">= 0"])
36
+ end
37
+ end
@@ -0,0 +1,73 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
2
+ "http://www.w3.org/TR/html4/strict.dtd">
3
+
4
+ <html lang="en">
5
+ <head>
6
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7
+ <title>Blueprint test pages</title>
8
+
9
+ <!-- Framework CSS -->
10
+ <link rel="stylesheet" href="stylesheets/screen.css" type="text/css" media="screen, projection">
11
+ <link rel="stylesheet" href="stylesheets/index.css" type="text/css" media="screen, projection">
12
+ <link rel="stylesheet" href="stylesheets/print.css" type="text/css" media="print">
13
+ <!--[if IE]><link rel="stylesheet" href="stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]-->
14
+ </head>
15
+ <body>
16
+
17
+ <div class="container">
18
+ <h1>Blueprint test pages</h1>
19
+ <hr>
20
+
21
+ <p>Welcome to the Blueprint test pages. The HTML files below tests most HTML elements, and especially classes provided
22
+ by&nbsp;Blueprint.</p>
23
+
24
+ <table border="0" cellspacing="0" cellpadding="0">
25
+ <tr>
26
+ <th class="span-6">Test page</th>
27
+ <th class="span-8">Main files tested</th>
28
+ <th class="span-10">Description</th>
29
+ </tr>
30
+ <tr>
31
+ <td><a href="parts/grid.html">Grid</a></td>
32
+ <td>
33
+ <a href="../../frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass">grid.sass</a>
34
+ </td>
35
+ <td>Tests classes provided by the grid module.</td>
36
+ </tr>
37
+ <tr class="even">
38
+ <td><a href="parts/elements.html">Typography</a></td>
39
+ <td>
40
+ <a href="../../frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass">typography.sass</a>
41
+ </td>
42
+ <td>Tests HTML elements which gets set in the typography module.</td>
43
+ </tr>
44
+ <tr>
45
+ <td><a href="parts/forms.html">Forms</a></td>
46
+ <td>
47
+ <a href="../../frameworks/blueprint/stylesheets/blueprint/modules/_form.sass">form.sass</a>
48
+ </td>
49
+ <td>Tests classes and default look provided by the form module.</td>
50
+ </tr>
51
+ </table>
52
+
53
+ <p><em><strong>Note about the css files:</strong></em>
54
+ These test files utilize the css files that are generated from
55
+ <a href="http://haml.hamptoncatlin.com/docs/rdoc/classes/Sass.html">Sass templates</a>.
56
+ In other words, if you change any of the source files,
57
+ you'll have to re-build them with <code>rake examples</code> to see any&nbsp;changes.</p>
58
+
59
+ <div class="box">
60
+ <p>For more information and help, try these resources:</p>
61
+ <ul class="bottom">
62
+ <li><a href="http://code.google.com/p/blueprintcss">The Blueprint home page.</a></li>
63
+ <li><a href="http://groups.google.com/group/blueprintcss">Our anything-goes mailing list.</a></li>
64
+ <li><a href="http://bjorkoy.com">The blog where news about Blueprint gets posted.</a></li>
65
+ </ul>
66
+ </div>
67
+
68
+ <p><a href="http://validator.w3.org/check?uri=referer">
69
+ <img src="parts/valid.png" alt="Valid HTML 4.01 Strict" height="31" width="88" class="top"></a></p>
70
+
71
+ </div>
72
+ </body>
73
+ </html>