merbjedi-compass 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Manifest +178 -0
- data/README.markdown +17 -0
- data/Rakefile +125 -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 +3 -0
- data/examples/blueprint_default/stylesheets/images/grid.png +0 -0
- data/examples/blueprint_default/stylesheets/print.sass +3 -0
- data/examples/blueprint_default/stylesheets/screen.sass +8 -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 +3 -0
- data/examples/blueprint_plugins/stylesheets/images/grid.png +0 -0
- data/examples/blueprint_plugins/stylesheets/print.sass +3 -0
- data/examples/blueprint_plugins/stylesheets/screen.sass +11 -0
- data/examples/blueprint_scoped/stylesheets/ie.sass +3 -0
- data/examples/blueprint_scoped/stylesheets/print.sass +3 -0
- data/examples/blueprint_scoped/stylesheets/screen.sass +4 -0
- data/examples/blueprint_scoped_form/stylesheets/ie.sass +3 -0
- data/examples/blueprint_scoped_form/stylesheets/print.sass +3 -0
- data/examples/blueprint_scoped_form/stylesheets/screen.sass +10 -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 +3 -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 +3 -0
- data/examples/blueprint_semantic/stylesheets/screen.sass +69 -0
- data/examples/compass/compass.html +19 -0
- data/examples/compass/sticky_footer.html.haml +14 -0
- data/examples/compass/stylesheets/compass.sass +47 -0
- data/examples/compass/stylesheets/images/blue_arrow.gif +0 -0
- data/examples/compass/stylesheets/sticky_footer.sass +11 -0
- data/examples/compass/stylesheets/utilities.sass +69 -0
- data/examples/compass/utilities.html.haml +141 -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.rb +2 -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.sass +3 -0
- data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +49 -0
- data/frameworks/blueprint/stylesheets/blueprint/_print.sass +82 -0
- data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +15 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +30 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +81 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +43 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +141 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +137 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +46 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +154 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -0
- data/frameworks/blueprint/templates/project/grid.png +0 -0
- data/frameworks/blueprint/templates/project/ie.sass +3 -0
- data/frameworks/blueprint/templates/project/manifest.rb +5 -0
- data/frameworks/blueprint/templates/project/print.sass +3 -0
- data/frameworks/blueprint/templates/project/screen.sass +8 -0
- data/frameworks/compass.rb +2 -0
- data/frameworks/compass/stylesheets/_compass.sass +1 -0
- data/frameworks/compass/stylesheets/compass/_layout.sass +1 -0
- data/frameworks/compass/stylesheets/compass/_reset.sass +3 -0
- data/frameworks/compass/stylesheets/compass/_utilities.sass +5 -0
- data/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +17 -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/_print.sass +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/_tables.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +11 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +56 -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 +20 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +10 -0
- data/frameworks/compass/templates/project/ie.sass +6 -0
- data/frameworks/compass/templates/project/manifest.rb +3 -0
- data/frameworks/compass/templates/project/print.sass +6 -0
- data/frameworks/compass/templates/project/screen.sass +7 -0
- data/frameworks/yui.rb +2 -0
- data/frameworks/yui/COPYRIGHT +15 -0
- data/frameworks/yui/stylesheets/_yui.sass +7 -0
- data/frameworks/yui/stylesheets/yui/modules/_base.sass +60 -0
- data/frameworks/yui/stylesheets/yui/modules/_fonts.sass +38 -0
- data/frameworks/yui/stylesheets/yui/modules/_grids.sass +341 -0
- data/frameworks/yui/templates/project/manifest.rb +1 -0
- data/frameworks/yui/templates/project/screen.sass +4 -0
- data/lib/compass.rb +39 -0
- data/lib/compass/actions.rb +92 -0
- data/lib/compass/commands/base.rb +29 -0
- data/lib/compass/commands/create_project.rb +41 -0
- data/lib/compass/commands/list_frameworks.rb +16 -0
- data/lib/compass/commands/print_version.rb +23 -0
- data/lib/compass/commands/project_base.rb +82 -0
- data/lib/compass/commands/update_project.rb +25 -0
- data/lib/compass/commands/watch_project.rb +53 -0
- data/lib/compass/commands/write_configuration.rb +37 -0
- data/lib/compass/compiler.rb +40 -0
- data/lib/compass/configuration.rb +167 -0
- data/lib/compass/core_ext.rb +12 -0
- data/lib/compass/errors.rb +7 -0
- data/lib/compass/exec.rb +184 -0
- data/lib/compass/frameworks.rb +29 -0
- data/lib/compass/installers.rb +5 -0
- data/lib/compass/installers/base.rb +135 -0
- data/lib/compass/installers/manifest.rb +57 -0
- data/lib/compass/installers/rails.rb +118 -0
- data/lib/compass/installers/stand_alone.rb +76 -0
- data/lib/compass/logger.rb +34 -0
- data/lib/compass/merb.rb +45 -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 +66 -0
- data/lib/sass_extensions.rb +13 -0
- data/test/command_line_test.rb +147 -0
- data/test/compass_test.rb +148 -0
- data/test/configuration_test.rb +29 -0
- data/test/fixtures/stylesheets/blueprint/css/typography.css +159 -0
- data/test/fixtures/stylesheets/blueprint/sass/ie.sass +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/print.sass +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/screen.sass +17 -0
- data/test/fixtures/stylesheets/blueprint/sass/typography.sass +3 -0
- data/test/fixtures/stylesheets/compass/css/layout.css +14 -0
- data/test/fixtures/stylesheets/compass/css/print.css +19 -0
- data/test/fixtures/stylesheets/compass/css/reset.css +66 -0
- data/test/fixtures/stylesheets/compass/css/utilities.css +23 -0
- data/test/fixtures/stylesheets/compass/sass/layout.sass +3 -0
- data/test/fixtures/stylesheets/compass/sass/print.sass +5 -0
- data/test/fixtures/stylesheets/compass/sass/reset.sass +1 -0
- data/test/fixtures/stylesheets/compass/sass/utilities.sass +5 -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 +47 -0
- 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.0
|
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.0"
|
4
|
+
|
5
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
|
6
|
+
s.authors = ["Chris Eppstein"]
|
7
|
+
s.date = %q{2009-02-21}
|
8
|
+
s.default_executable = %q{compass}
|
9
|
+
s.description = %q{Sass-Based CSS Meta-Framework. Semantic, Maintainable CSS.}
|
10
|
+
s.email = %q{chris@eppsteins.net}
|
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 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 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>
|
@@ -0,0 +1,246 @@
|
|
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 HTML Elements Tests</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/print.css" type="text/css" media="print">
|
12
|
+
<!--[if IE]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]-->
|
13
|
+
|
14
|
+
</head>
|
15
|
+
<body>
|
16
|
+
|
17
|
+
<div class="container showgrid">
|
18
|
+
<h2>Tests for common HTML elements</h2>
|
19
|
+
<hr>
|
20
|
+
|
21
|
+
<h5>PARAGRAPHS <span class="alt">&</span> BOXES</h5>
|
22
|
+
|
23
|
+
<div class="span-8">
|
24
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
25
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor <sub>sub text</sub> ut labore et <sup>sup text</sup> magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
26
|
+
</div>
|
27
|
+
|
28
|
+
<div class="span-8">
|
29
|
+
<p class="small">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
30
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
|
31
|
+
<p class="large">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
|
32
|
+
</div>
|
33
|
+
|
34
|
+
<div class="span-8 last">
|
35
|
+
|
36
|
+
<div class="box">
|
37
|
+
<p class="last">Aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
|
38
|
+
</div>
|
39
|
+
<blockquote>
|
40
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p>
|
41
|
+
</blockquote>
|
42
|
+
|
43
|
+
</div>
|
44
|
+
<hr>
|
45
|
+
|
46
|
+
<h5>LISTS</h5>
|
47
|
+
|
48
|
+
<div class="span-8">
|
49
|
+
<ul>
|
50
|
+
<li>Unordered list test</li>
|
51
|
+
<li>Another list element. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</li>
|
52
|
+
<li>Yet another element in the list</li>
|
53
|
+
<li>Some long text. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</li>
|
54
|
+
</ul>
|
55
|
+
<ol>
|
56
|
+
<li>Ordered list test</li>
|
57
|
+
<li>Another list element</li>
|
58
|
+
<li>Yet another element in the list</li>
|
59
|
+
</ol>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div class="span-8">
|
63
|
+
<ol>
|
64
|
+
<li>Ordered list</li>
|
65
|
+
<li>Here's a nested unordered list
|
66
|
+
<ul>
|
67
|
+
<li>Nested Unordered list</li>
|
68
|
+
<li>Nested ordered list
|
69
|
+
<ol>
|
70
|
+
<li>The first</li>
|
71
|
+
<li>And the second</li>
|
72
|
+
</ol>
|
73
|
+
</li>
|
74
|
+
</ul>
|
75
|
+
</li>
|
76
|
+
<li>Ordered List item</li>
|
77
|
+
<li>Nested Ordered list
|
78
|
+
<ol>
|
79
|
+
<li>Some point</li>
|
80
|
+
<li>Nested Unordered list
|
81
|
+
<ul>
|
82
|
+
<li>The first</li>
|
83
|
+
<li>And the second</li>
|
84
|
+
</ul>
|
85
|
+
</li>
|
86
|
+
</ol>
|
87
|
+
</li>
|
88
|
+
</ol>
|
89
|
+
</div>
|
90
|
+
|
91
|
+
<div class="span-8 last">
|
92
|
+
<dl>
|
93
|
+
<dt>definition list dt</dt>
|
94
|
+
<dd>definition list dd</dd>
|
95
|
+
<dt>definition list dt</dt>
|
96
|
+
<dd>definition list dd</dd>
|
97
|
+
<dt>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</dt>
|
98
|
+
<dd>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</dd>
|
99
|
+
<dt>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</dt>
|
100
|
+
<dd>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</dd>
|
101
|
+
</dl>
|
102
|
+
</div>
|
103
|
+
<hr>
|
104
|
+
|
105
|
+
<h5>HEADINGS</h5>
|
106
|
+
|
107
|
+
<div class="span-8">
|
108
|
+
<h1>H1: Lorem ipsum dolor sit amet</h1>
|
109
|
+
<h2>H2: Lorem ipsum dolor sit amet, consectetur elit</h2>
|
110
|
+
<h3>H3: Lorem ipsum dolor sit amet, consectetur adipisicing elit</h3>
|
111
|
+
<h4>H4: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipis</h4>
|
112
|
+
<h5>H5: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</h5>
|
113
|
+
<h6>H6: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</h6>
|
114
|
+
</div>
|
115
|
+
|
116
|
+
<div class="span-8">
|
117
|
+
<h1>Heading 1</h1><hr>
|
118
|
+
<h2>Heading 2</h2><hr>
|
119
|
+
<h3>Heading 3</h3><hr>
|
120
|
+
<h4>Heading 4</h4><hr>
|
121
|
+
<h5>Heading 5</h5><hr>
|
122
|
+
<h6>Heading 6</h6>
|
123
|
+
</div>
|
124
|
+
|
125
|
+
<div class="span-8 last">
|
126
|
+
<h1>Heading 1</h1>
|
127
|
+
<h2>Heading 2</h2>
|
128
|
+
<h3>Heading 3</h3>
|
129
|
+
<h4>Heading 4</h4>
|
130
|
+
<h5>Heading 5</h5>
|
131
|
+
<h6>Heading 6</h6>
|
132
|
+
</div>
|
133
|
+
<hr>
|
134
|
+
|
135
|
+
<h5>MISC ELEMENTS</h5>
|
136
|
+
|
137
|
+
<div class="span-8">
|
138
|
+
<p>
|
139
|
+
<strong><strong></strong><br>
|
140
|
+
<del><del> deleted</del><br>
|
141
|
+
<dfn><dfn> dfn</dfn><br>
|
142
|
+
<em><em> emphasis</em>
|
143
|
+
</p>
|
144
|
+
<p>
|
145
|
+
<a><a> anchor</a><br>
|
146
|
+
<a href="http://www.google.com"><a> a + href</a>
|
147
|
+
</p>
|
148
|
+
<p>
|
149
|
+
<abbr title="extended abbr text should show when mouse over"><abbr> abbr - extended text when mouseover.</abbr><br>
|
150
|
+
<acronym title="extended acronym text should show when mouse over"><acronym> acronym - extended text when mouseover.</acronym>
|
151
|
+
</p>
|
152
|
+
<address>
|
153
|
+
<address><br>
|
154
|
+
Donald Duck<br>
|
155
|
+
Box 555<br>
|
156
|
+
Disneyland
|
157
|
+
</address>
|
158
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore dolore.</p>
|
159
|
+
</div>
|
160
|
+
|
161
|
+
<div class="span-8">
|
162
|
+
<table summary="This is the summary text for this table." border="0" cellspacing="0" cellpadding="0">
|
163
|
+
<caption><em>A standard test table with a caption, tr, td elements</em></caption>
|
164
|
+
<tr>
|
165
|
+
<th class="span-4">Table Header One</th>
|
166
|
+
<th class="span-4 last">Table Header Two</th>
|
167
|
+
</tr>
|
168
|
+
<tr>
|
169
|
+
<td>TD One</td>
|
170
|
+
<td>TD Two</td>
|
171
|
+
</tr>
|
172
|
+
<tr>
|
173
|
+
<td colspan="2">TD colspan 2</td>
|
174
|
+
</tr>
|
175
|
+
</table>
|
176
|
+
|
177
|
+
<table summary="This is the summary text for this table." border="0" cellspacing="0" cellpadding="0">
|
178
|
+
<caption><em>A test table with a thead, tfoot, and tbody elements</em></caption>
|
179
|
+
<thead>
|
180
|
+
<tr>
|
181
|
+
<th class="span-4">Table Header One</th>
|
182
|
+
<th class="span-4 last">Table Header Two</th>
|
183
|
+
</tr>
|
184
|
+
</thead>
|
185
|
+
<tfoot>
|
186
|
+
<tr>
|
187
|
+
<td colspan="2">tfoot footer</td>
|
188
|
+
</tr>
|
189
|
+
</tfoot>
|
190
|
+
<tbody>
|
191
|
+
<tr>
|
192
|
+
<td>TD One</td>
|
193
|
+
<td>TD Two</td>
|
194
|
+
</tr>
|
195
|
+
<tr>
|
196
|
+
<td>TD One</td>
|
197
|
+
<td>TD Two</td>
|
198
|
+
</tr>
|
199
|
+
</tbody>
|
200
|
+
<tbody>
|
201
|
+
<tr>
|
202
|
+
<td>TD One</td>
|
203
|
+
<td>TD Two</td>
|
204
|
+
</tr>
|
205
|
+
<tr>
|
206
|
+
<td>TD One</td>
|
207
|
+
<td>TD Two</td>
|
208
|
+
</tr>
|
209
|
+
</tbody>
|
210
|
+
</table>
|
211
|
+
</div>
|
212
|
+
|
213
|
+
<div class="span-8 last">
|
214
|
+
|
215
|
+
<pre><pre>
|
216
|
+
pre space1
|
217
|
+
pre space1
|
218
|
+
pre space2
|
219
|
+
pre space2
|
220
|
+
pre tab
|
221
|
+
pre tab</pre>
|
222
|
+
|
223
|
+
<code><code>
|
224
|
+
Not indented
|
225
|
+
indent1
|
226
|
+
indent1
|
227
|
+
indent2
|
228
|
+
indent3</code>
|
229
|
+
|
230
|
+
<tt><tt>
|
231
|
+
This tt text should be monospaced
|
232
|
+
and
|
233
|
+
wrap as if
|
234
|
+
one line of text
|
235
|
+
even though the code has newlines, spaces, and tabs.
|
236
|
+
It should be the same size as <p> text.
|
237
|
+
</tt>
|
238
|
+
</div>
|
239
|
+
<hr>
|
240
|
+
|
241
|
+
<p><a href="http://validator.w3.org/check?uri=referer">
|
242
|
+
<img src="valid.png" alt="Valid HTML 4.01 Strict" height="31" width="88" class="top"></a></p>
|
243
|
+
|
244
|
+
</div>
|
245
|
+
</body>
|
246
|
+
</html>
|