compass 0.8.16
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.markdown +551 -0
- data/LICENSE.markdown +29 -0
- data/README.markdown +44 -0
- data/REVISION +1 -0
- data/Rakefile +127 -0
- data/VERSION.yml +4 -0
- data/bin/compass +8 -0
- data/deps.rip +1 -0
- data/examples/README.markdown +4 -0
- data/examples/blueprint_default/config.rb +7 -0
- data/examples/blueprint_default/images/grid.png +0 -0
- data/examples/blueprint_default/index.html.haml +85 -0
- data/examples/blueprint_default/parts/elements.html.haml +282 -0
- data/examples/blueprint_default/parts/forms.html.haml +190 -0
- data/examples/blueprint_default/parts/grid.html.haml +274 -0
- data/examples/blueprint_default/parts/test-small.jpg +0 -0
- data/examples/blueprint_default/parts/test.jpg +0 -0
- data/examples/blueprint_default/parts/valid.png +0 -0
- data/examples/blueprint_default/src/ie.sass +3 -0
- data/examples/blueprint_default/src/images/grid.png +0 -0
- data/examples/blueprint_default/src/print.sass +3 -0
- data/examples/blueprint_default/src/screen.sass +8 -0
- data/examples/blueprint_plugins/config.rb +8 -0
- data/examples/blueprint_plugins/images/buttons/cross.png +0 -0
- data/examples/blueprint_plugins/images/buttons/key.png +0 -0
- data/examples/blueprint_plugins/images/buttons/tick.png +0 -0
- data/examples/blueprint_plugins/images/grid.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/doc.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/email.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/external.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/feed.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/im.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/pdf.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/visited.png +0 -0
- data/examples/blueprint_plugins/images/link_icons/xls.png +0 -0
- data/examples/blueprint_plugins/images/test-small.jpg +0 -0
- data/examples/blueprint_plugins/images/test.jpg +0 -0
- data/examples/blueprint_plugins/images/valid.png +0 -0
- data/examples/blueprint_plugins/index.html.haml +96 -0
- data/examples/blueprint_plugins/plugins/buttons.html.haml +67 -0
- data/examples/blueprint_plugins/plugins/fancy_type.html.haml +100 -0
- data/examples/blueprint_plugins/plugins/link_icons.html.haml +61 -0
- data/examples/blueprint_plugins/plugins/rtl.html.haml +100 -0
- data/examples/blueprint_plugins/src/buttons.sass +49 -0
- data/examples/blueprint_plugins/src/ie.sass +3 -0
- data/examples/blueprint_plugins/src/images/grid.png +0 -0
- data/examples/blueprint_plugins/src/link_icons.sass +13 -0
- data/examples/blueprint_plugins/src/print.sass +3 -0
- data/examples/blueprint_plugins/src/rtl_screen.sass +13 -0
- data/examples/blueprint_plugins/src/screen.sass +11 -0
- data/examples/blueprint_scoped/images/grid.png +0 -0
- data/examples/blueprint_scoped/src/ie.sass +3 -0
- data/examples/blueprint_scoped/src/print.sass +3 -0
- data/examples/blueprint_scoped/src/screen.sass +4 -0
- data/examples/blueprint_scoped_form/images/grid.png +0 -0
- data/examples/blueprint_scoped_form/src/ie.sass +3 -0
- data/examples/blueprint_scoped_form/src/print.sass +3 -0
- data/examples/blueprint_scoped_form/src/screen.sass +10 -0
- data/examples/blueprint_semantic/config.rb +7 -0
- data/examples/blueprint_semantic/images/grid.png +0 -0
- data/examples/blueprint_semantic/index.html.haml +86 -0
- data/examples/blueprint_semantic/parts/fancy_type.html.haml +100 -0
- data/examples/blueprint_semantic/parts/liquid.html.haml +100 -0
- data/examples/blueprint_semantic/parts/test-small.jpg +0 -0
- data/examples/blueprint_semantic/parts/test.jpg +0 -0
- data/examples/blueprint_semantic/parts/valid.png +0 -0
- data/examples/blueprint_semantic/src/ie.sass +3 -0
- data/examples/blueprint_semantic/src/images/grid.png +0 -0
- data/examples/blueprint_semantic/src/liquid.sass +70 -0
- data/examples/blueprint_semantic/src/print.sass +3 -0
- data/examples/blueprint_semantic/src/screen.sass +71 -0
- data/examples/compass/compass.html.haml +39 -0
- data/examples/compass/config.rb +7 -0
- data/examples/compass/images/blue_arrow.gif +0 -0
- data/examples/compass/src/compass.sass +47 -0
- data/examples/compass/src/images/blue_arrow.gif +0 -0
- data/examples/compass/src/sticky_footer.sass +11 -0
- data/examples/compass/src/utilities.sass +108 -0
- data/examples/compass/sticky_footer.html.haml +14 -0
- data/examples/compass/utilities.html.haml +189 -0
- data/examples/logo/logo.html.haml +40 -0
- data/examples/logo/src/ie.sass +6 -0
- data/examples/logo/src/print.sass +6 -0
- data/examples/logo/src/screen.sass +29 -0
- data/examples/yui/divisions.html.haml +179 -0
- data/examples/yui/index.html.haml +19 -0
- data/examples/yui/src/screen.sass +13 -0
- data/examples/yui/sub_divisions.html.haml +169 -0
- data/examples/yui/templates.html.haml +54 -0
- data/examples/yui/test.jpg +0 -0
- data/examples/yui/typography.html.haml +132 -0
- data/frameworks/blueprint.rb +2 -0
- data/frameworks/blueprint/stylesheets/_blueprint.sass +3 -0
- data/frameworks/blueprint/stylesheets/blueprint/_ie.sass +93 -0
- data/frameworks/blueprint/stylesheets/blueprint/_print.sass +83 -0
- data/frameworks/blueprint/stylesheets/blueprint/_reset.sass +3 -0
- data/frameworks/blueprint/stylesheets/blueprint/_screen.sass +15 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_buttons.sass +84 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_colors.sass +33 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_debug.sass +9 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_fancy_type.sass +82 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_form.sass +55 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_grid.sass +178 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_interaction.sass +58 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_link_icons.sass +44 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_liquid.sass +141 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_reset.sass +56 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_rtl.sass +104 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_scaffolding.sass +47 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_typography.sass +155 -0
- data/frameworks/blueprint/stylesheets/blueprint/modules/_utilities.sass +37 -0
- data/frameworks/blueprint/templates/buttons/buttons.sass +49 -0
- data/frameworks/blueprint/templates/buttons/buttons/cross.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/key.png +0 -0
- data/frameworks/blueprint/templates/buttons/buttons/tick.png +0 -0
- data/frameworks/blueprint/templates/buttons/manifest.rb +5 -0
- data/frameworks/blueprint/templates/link_icons/link_icons.sass +13 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/doc.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/email.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/external.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/feed.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/im.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/pdf.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/visited.png +0 -0
- data/frameworks/blueprint/templates/link_icons/link_icons/xls.png +0 -0
- data/frameworks/blueprint/templates/link_icons/manifest.rb +10 -0
- data/frameworks/blueprint/templates/project/grid.png +0 -0
- data/frameworks/blueprint/templates/project/ie.sass +15 -0
- data/frameworks/blueprint/templates/project/manifest.rb +6 -0
- data/frameworks/blueprint/templates/project/partials/_base.sass +11 -0
- data/frameworks/blueprint/templates/project/print.sass +3 -0
- data/frameworks/blueprint/templates/project/screen.sass +40 -0
- data/frameworks/compass.rb +2 -0
- data/frameworks/compass/stylesheets/_compass.sass +1 -0
- data/frameworks/compass/stylesheets/compass/_layout.sass +1 -0
- data/frameworks/compass/stylesheets/compass/_misc.sass +24 -0
- data/frameworks/compass/stylesheets/compass/_reset.sass +3 -0
- data/frameworks/compass/stylesheets/compass/_utilities.sass +6 -0
- data/frameworks/compass/stylesheets/compass/layout/_sticky_footer.sass +17 -0
- data/frameworks/compass/stylesheets/compass/utilities/_general.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/_links.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_lists.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_print.sass +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/_sprites.sass +1 -0
- data/frameworks/compass/stylesheets/compass/utilities/_tables.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/_text.sass +2 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_clearfix.sass +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_float.sass +17 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_hacks.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_inline_block.sass +6 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_reset.sass +134 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_tabs.sass +0 -0
- data/frameworks/compass/stylesheets/compass/utilities/general/_tag_cloud.sass +19 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_hover_link.sass +5 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass +24 -0
- data/frameworks/compass/stylesheets/compass/utilities/links/_unstyled_link.sass +5 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_bullets.sass +21 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_horizontal_list.sass +52 -0
- data/frameworks/compass/stylesheets/compass/utilities/lists/_inline_list.sass +29 -0
- data/frameworks/compass/stylesheets/compass/utilities/sprites/_sprite_img.sass +12 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_alternating_rows_and_columns.sass +20 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_borders.sass +27 -0
- data/frameworks/compass/stylesheets/compass/utilities/tables/_scaffolding.sass +9 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_ellipsis.sass +13 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_nowrap.sass +3 -0
- data/frameworks/compass/stylesheets/compass/utilities/text/_replacement.sass +17 -0
- data/frameworks/compass/templates/ellipsis/ellipsis.sass +6 -0
- data/frameworks/compass/templates/ellipsis/manifest.rb +2 -0
- data/frameworks/compass/templates/ellipsis/xml/ellipsis.xml +14 -0
- data/frameworks/compass/templates/project/ie.sass +6 -0
- data/frameworks/compass/templates/project/manifest.rb +3 -0
- data/frameworks/compass/templates/project/print.sass +6 -0
- data/frameworks/compass/templates/project/screen.sass +13 -0
- data/frameworks/yui.rb +2 -0
- data/frameworks/yui/stylesheets/_yui.sass +7 -0
- data/frameworks/yui/stylesheets/yui/modules/_base.sass +60 -0
- data/frameworks/yui/stylesheets/yui/modules/_fonts.sass +38 -0
- data/frameworks/yui/stylesheets/yui/modules/_grids.sass +341 -0
- data/frameworks/yui/stylesheets/yui/modules/_reset.sass +61 -0
- data/frameworks/yui/templates/project/manifest.rb +1 -0
- data/frameworks/yui/templates/project/screen.sass +4 -0
- data/lib/compass.rb +23 -0
- data/lib/compass/actions.rb +110 -0
- data/lib/compass/app_integration.rb +5 -0
- data/lib/compass/app_integration/merb.rb +43 -0
- data/lib/compass/app_integration/rails.rb +12 -0
- data/lib/compass/app_integration/rails/action_controller.rb +15 -0
- data/lib/compass/app_integration/rails/sass_plugin.rb +5 -0
- data/lib/compass/app_integration/rails/templates/compass-install-rails.rb +80 -0
- data/lib/compass/app_integration/rails/urls.rb +14 -0
- data/lib/compass/commands/base.rb +33 -0
- data/lib/compass/commands/create_project.rb +19 -0
- data/lib/compass/commands/generate_grid_background.rb +24 -0
- data/lib/compass/commands/installer_command.rb +31 -0
- data/lib/compass/commands/list_frameworks.rb +16 -0
- data/lib/compass/commands/print_version.rb +23 -0
- data/lib/compass/commands/project_base.rb +112 -0
- data/lib/compass/commands/stamp_pattern.rb +33 -0
- data/lib/compass/commands/update_project.rb +34 -0
- data/lib/compass/commands/validate_project.rb +21 -0
- data/lib/compass/commands/watch_project.rb +64 -0
- data/lib/compass/commands/write_configuration.rb +28 -0
- data/lib/compass/compiler.rb +54 -0
- data/lib/compass/configuration.rb +324 -0
- data/lib/compass/core_ext.rb +14 -0
- data/lib/compass/dependencies.rb +10 -0
- data/lib/compass/errors.rb +7 -0
- data/lib/compass/exec.rb +251 -0
- data/lib/compass/frameworks.rb +29 -0
- data/lib/compass/grid_builder.rb +72 -0
- data/lib/compass/installers.rb +5 -0
- data/lib/compass/installers/base.rb +158 -0
- data/lib/compass/installers/manifest.rb +58 -0
- data/lib/compass/installers/rails.rb +135 -0
- data/lib/compass/installers/stand_alone.rb +60 -0
- data/lib/compass/logger.rb +42 -0
- data/lib/compass/sass_extensions.rb +5 -0
- data/lib/compass/sass_extensions/functions.rb +19 -0
- data/lib/compass/sass_extensions/functions/display.rb +22 -0
- data/lib/compass/sass_extensions/functions/enumerate.rb +6 -0
- data/lib/compass/sass_extensions/functions/inline_image.rb +35 -0
- data/lib/compass/sass_extensions/functions/selectors.rb +39 -0
- data/lib/compass/sass_extensions/functions/urls.rb +105 -0
- data/lib/compass/sass_extensions/monkey_patches.rb +3 -0
- data/lib/compass/sass_extensions/monkey_patches/stylesheet_updating.rb +23 -0
- data/lib/compass/test_case.rb +38 -0
- data/lib/compass/validator.rb +10 -0
- data/lib/compass/version.rb +57 -0
- data/lib/vendor/fssm.rb +41 -0
- data/lib/vendor/fssm/backends/fsevents.rb +37 -0
- data/lib/vendor/fssm/backends/polling.rb +26 -0
- data/lib/vendor/fssm/cache.rb +193 -0
- data/lib/vendor/fssm/ext.rb +37 -0
- data/lib/vendor/fssm/fsevents.rb +129 -0
- data/lib/vendor/fssm/monitor.rb +25 -0
- data/lib/vendor/fssm/path.rb +91 -0
- data/lib/vendor/fssm/state.rb +54 -0
- data/lib/vendor/fssm/support.rb +22 -0
- data/lib/vendor/fssm/tree.rb +176 -0
- data/test/command_line_helper.rb +102 -0
- data/test/command_line_test.rb +66 -0
- data/test/compass_test.rb +141 -0
- data/test/configuration_test.rb +118 -0
- data/test/fixtures/stylesheets/blueprint/config.rb +9 -0
- data/test/fixtures/stylesheets/blueprint/css/typography.css +158 -0
- data/test/fixtures/stylesheets/blueprint/images/grid.png +0 -0
- data/test/fixtures/stylesheets/blueprint/sass/ie.sass +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/print.sass +3 -0
- data/test/fixtures/stylesheets/blueprint/sass/screen.sass +17 -0
- data/test/fixtures/stylesheets/blueprint/sass/typography.sass +3 -0
- data/test/fixtures/stylesheets/compass/config.rb +9 -0
- data/test/fixtures/stylesheets/compass/css/layout.css +13 -0
- data/test/fixtures/stylesheets/compass/css/print.css +18 -0
- data/test/fixtures/stylesheets/compass/css/reset.css +60 -0
- data/test/fixtures/stylesheets/compass/css/utilities.css +17 -0
- data/test/fixtures/stylesheets/compass/sass/layout.sass +3 -0
- data/test/fixtures/stylesheets/compass/sass/print.sass +5 -0
- data/test/fixtures/stylesheets/compass/sass/reset.sass +10 -0
- data/test/fixtures/stylesheets/compass/sass/utilities.sass +6 -0
- data/test/fixtures/stylesheets/image_urls/config.rb +17 -0
- data/test/fixtures/stylesheets/image_urls/css/screen.css +3 -0
- data/test/fixtures/stylesheets/image_urls/images/grid.png +0 -0
- data/test/fixtures/stylesheets/image_urls/sass/screen.sass +6 -0
- data/test/fixtures/stylesheets/yui/config.rb +9 -0
- data/test/fixtures/stylesheets/yui/css/mixins.css +13 -0
- data/test/fixtures/stylesheets/yui/sass/base.sass +3 -0
- data/test/fixtures/stylesheets/yui/sass/fonts.sass +3 -0
- data/test/fixtures/stylesheets/yui/sass/grids.sass +3 -0
- data/test/fixtures/stylesheets/yui/sass/mixins.sass +16 -0
- data/test/rails_integration_test.rb +83 -0
- data/test/sass_extensions_test.rb +31 -0
- data/test/test_case_helper.rb +13 -0
- data/test/test_helper.rb +21 -0
- data/test/test_rails_helper.rb +20 -0
- metadata +372 -0
@@ -0,0 +1,190 @@
|
|
1
|
+
!!!
|
2
|
+
%html{ :lang => "en" }
|
3
|
+
%head
|
4
|
+
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
5
|
+
%title
|
6
|
+
Blueprint Forms Tests
|
7
|
+
/
|
8
|
+
Framework CSS
|
9
|
+
%link{ :href => "../stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
|
10
|
+
%link{ :href => "../stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
|
11
|
+
/
|
12
|
+
[if lt IE 8]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
|
13
|
+
%body
|
14
|
+
.container.showgrid
|
15
|
+
%h1
|
16
|
+
Forms
|
17
|
+
%hr
|
18
|
+
.span-12
|
19
|
+
%form#dummy{ :action => "", :method => "post" }
|
20
|
+
%fieldset
|
21
|
+
%legend
|
22
|
+
Simple sample form
|
23
|
+
%p
|
24
|
+
%label{ :for => "dummy0" }
|
25
|
+
Text input (title)
|
26
|
+
%br
|
27
|
+
%input#dummy0.title{ :name => "dummy0", :type => "text", :value => "Field with class .title" }
|
28
|
+
%p
|
29
|
+
%label{ :for => "dummy1" }
|
30
|
+
Another field
|
31
|
+
%br
|
32
|
+
%input#dummy1.text{ :name => "dummy1", :type => "text", :value => "Field with class .text" }
|
33
|
+
%p
|
34
|
+
%label{ :for => "dummy2" }
|
35
|
+
Textarea
|
36
|
+
%br
|
37
|
+
%textarea#dummy2{ :name => "dummy2", :rows => "5", :cols => "20" }
|
38
|
+
%p
|
39
|
+
%input{ :type => "submit", :value => "Submit" }
|
40
|
+
%input{ :type => "reset", :value => "Reset" }
|
41
|
+
.span-12.last
|
42
|
+
.error
|
43
|
+
This is a <div> with the class
|
44
|
+
%strong
|
45
|
+
\.error
|
46
|
+
\.
|
47
|
+
%a{ :href => "#" }
|
48
|
+
Link
|
49
|
+
\.
|
50
|
+
.notice
|
51
|
+
This is a <div> with the class
|
52
|
+
%strong
|
53
|
+
\.notice
|
54
|
+
\.
|
55
|
+
%a{ :href => "#" }
|
56
|
+
Link
|
57
|
+
\.
|
58
|
+
.success
|
59
|
+
This is a <div> with the class
|
60
|
+
%strong
|
61
|
+
\.success
|
62
|
+
\.
|
63
|
+
%a{ :href => "#" }
|
64
|
+
Link
|
65
|
+
\.
|
66
|
+
%fieldset
|
67
|
+
%legend
|
68
|
+
Select, checkboxes, lists
|
69
|
+
%p
|
70
|
+
%label{ :for => "dummy3" }
|
71
|
+
Select field
|
72
|
+
%br
|
73
|
+
%select#dummy3{ :name => "dummy3" }
|
74
|
+
%option{ :value => "1" }
|
75
|
+
Ottawa
|
76
|
+
%option{ :value => "2" }
|
77
|
+
Calgary
|
78
|
+
%option{ :value => "3" }
|
79
|
+
Moosejaw
|
80
|
+
%p
|
81
|
+
%label{ :for => "dummy4" }
|
82
|
+
Select with groups
|
83
|
+
%br
|
84
|
+
%select#dummy4{ :name => "dummy4" }
|
85
|
+
%option
|
86
|
+
Favorite pet
|
87
|
+
%optgroup{ :label => "mammals" }
|
88
|
+
%option
|
89
|
+
dog
|
90
|
+
%option
|
91
|
+
cat
|
92
|
+
%option
|
93
|
+
rabbit
|
94
|
+
%option
|
95
|
+
horse
|
96
|
+
%optgroup{ :label => "reptiles" }
|
97
|
+
%option
|
98
|
+
iguana
|
99
|
+
%option
|
100
|
+
snake
|
101
|
+
%p
|
102
|
+
%label
|
103
|
+
Radio buttons
|
104
|
+
%br
|
105
|
+
%input{ :name => "example", :type => "radio" }
|
106
|
+
Radio one
|
107
|
+
%br
|
108
|
+
%input{ :name => "example", :type => "radio" }
|
109
|
+
Radio two
|
110
|
+
%br
|
111
|
+
%input{ :name => "example", :type => "radio" }
|
112
|
+
Radio three
|
113
|
+
%br
|
114
|
+
%p
|
115
|
+
%label
|
116
|
+
Checkboxes
|
117
|
+
%br
|
118
|
+
%input{ :type => "checkbox" }
|
119
|
+
Check one
|
120
|
+
%br
|
121
|
+
%input{ :type => "checkbox" }
|
122
|
+
Check two
|
123
|
+
%br
|
124
|
+
%input{ :type => "checkbox" }
|
125
|
+
Check three
|
126
|
+
%br
|
127
|
+
.span-24.last
|
128
|
+
%fieldset
|
129
|
+
%legend
|
130
|
+
Alignment
|
131
|
+
%p
|
132
|
+
%label{ :for => "dummy5" }
|
133
|
+
Select field
|
134
|
+
%select#dummy5{ :name => "dummy5" }
|
135
|
+
%option{ :value => "1" }
|
136
|
+
Ottawa
|
137
|
+
%option{ :value => "2" }
|
138
|
+
Calgary
|
139
|
+
%option{ :value => "3" }
|
140
|
+
Moosejaw
|
141
|
+
%p
|
142
|
+
%label{ :for => "dummy6" }
|
143
|
+
Text input (title)
|
144
|
+
%input#dummy6.title{ :name => "dummy6", :type => "text", :value => "Field with class .title" }
|
145
|
+
%p
|
146
|
+
%label{ :for => "dummy7" }
|
147
|
+
Select field
|
148
|
+
%select#dummy7{ :name => "dummy7" }
|
149
|
+
%option{ :value => "1" }
|
150
|
+
Ottawa
|
151
|
+
%option{ :value => "2" }
|
152
|
+
Calgary
|
153
|
+
%option{ :value => "3" }
|
154
|
+
Moosejaw
|
155
|
+
%label{ :for => "dummy8" }
|
156
|
+
Another field
|
157
|
+
%input#dummy8.text{ :name => "dummy8", :type => "text", :value => "Field with class .text" }
|
158
|
+
.span-24.last
|
159
|
+
%form.inline{ :action => "", :method => "post" }
|
160
|
+
%fieldset
|
161
|
+
%legend
|
162
|
+
A form with class "inline"
|
163
|
+
.span-3
|
164
|
+
%label{ :for => "a" }
|
165
|
+
Label A:
|
166
|
+
%select#a{ :name => "a" }
|
167
|
+
%option{ :value => "0" }
|
168
|
+
All
|
169
|
+
.span-2
|
170
|
+
some text
|
171
|
+
.span-3
|
172
|
+
%input#o.checkbox{ :type => "checkbox", :name => "o", :value => "true", :checked => "checked" }
|
173
|
+
checkbox one
|
174
|
+
.span-3
|
175
|
+
%label{ :for => "b" }
|
176
|
+
Label B:
|
177
|
+
%select#b{ :name => "b" }
|
178
|
+
%option{ :value => "0" }
|
179
|
+
All
|
180
|
+
.span-2
|
181
|
+
%a{ :href => "" }
|
182
|
+
A Hyperlink
|
183
|
+
.span-8
|
184
|
+
%input#q.text{ :type => "text", :name => "q", :value => "Field with class .text" }
|
185
|
+
.span-2.last
|
186
|
+
%input.button{ :type => "submit", :value => "submit" }
|
187
|
+
%hr
|
188
|
+
%p
|
189
|
+
%a{ :href => "http://validator.w3.org/check?uri=referer" }
|
190
|
+
%img.top{ :src => "valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }
|
@@ -0,0 +1,274 @@
|
|
1
|
+
!!!
|
2
|
+
%html{ :lang => "en" }
|
3
|
+
%head
|
4
|
+
%meta{ :content => "text/html; charset=utf-8", "http-equiv" => "Content-Type" }
|
5
|
+
%title
|
6
|
+
Blueprint Grid Tests
|
7
|
+
/
|
8
|
+
Framework CSS
|
9
|
+
%link{ :href => "../stylesheets/screen.css", :rel => "stylesheet", :media => "screen, projection", :type => "text/css" }
|
10
|
+
%link{ :href => "../stylesheets/print.css", :rel => "stylesheet", :media => "print", :type => "text/css" }
|
11
|
+
/
|
12
|
+
[if IE]><link rel="stylesheet" href="../stylesheets/ie.css" type="text/css" media="screen, projection"><![endif]
|
13
|
+
%body
|
14
|
+
.container.showgrid
|
15
|
+
%h1
|
16
|
+
Blueprint Tests: grid.css
|
17
|
+
.span-8
|
18
|
+
%p
|
19
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
20
|
+
.span-8
|
21
|
+
%p
|
22
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
23
|
+
.span-8.last
|
24
|
+
%p
|
25
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
26
|
+
.span-6.append-1
|
27
|
+
%p
|
28
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
29
|
+
.span-6.append-2
|
30
|
+
%p
|
31
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
32
|
+
.span-6.append-3.last
|
33
|
+
%p
|
34
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
35
|
+
.span-6.prepend-1
|
36
|
+
%p
|
37
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
38
|
+
.span-6.prepend-2
|
39
|
+
%p
|
40
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
41
|
+
.span-6.prepend-3.last
|
42
|
+
%p
|
43
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
44
|
+
%hr
|
45
|
+
.span-12.border
|
46
|
+
%p
|
47
|
+
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.
|
48
|
+
.span-12.last
|
49
|
+
%p
|
50
|
+
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.
|
51
|
+
%hr
|
52
|
+
.span-1.prepend-1
|
53
|
+
%p
|
54
|
+
1
|
55
|
+
.span-1.prepend-2
|
56
|
+
%p
|
57
|
+
2
|
58
|
+
.span-1.prepend-3
|
59
|
+
%p
|
60
|
+
3
|
61
|
+
.span-1.prepend-4
|
62
|
+
%p
|
63
|
+
4
|
64
|
+
.span-1.prepend-5
|
65
|
+
%p
|
66
|
+
5
|
67
|
+
.span-1.prepend-3.last
|
68
|
+
%p
|
69
|
+
3
|
70
|
+
.span-1.append-1
|
71
|
+
%p
|
72
|
+
1
|
73
|
+
.span-1.append-2
|
74
|
+
%p
|
75
|
+
2
|
76
|
+
.span-1.append-3
|
77
|
+
%p
|
78
|
+
3
|
79
|
+
.span-1.append-4
|
80
|
+
%p
|
81
|
+
4
|
82
|
+
.span-1.append-5
|
83
|
+
%p
|
84
|
+
5
|
85
|
+
.span-1.append-3.last
|
86
|
+
%p
|
87
|
+
3
|
88
|
+
.span-1.border
|
89
|
+
%p
|
90
|
+
1
|
91
|
+
.span-1.border
|
92
|
+
%p
|
93
|
+
2
|
94
|
+
.span-1.border
|
95
|
+
%p
|
96
|
+
3
|
97
|
+
.span-1.border
|
98
|
+
%p
|
99
|
+
4
|
100
|
+
.span-1.border
|
101
|
+
%p
|
102
|
+
5
|
103
|
+
.span-1.border
|
104
|
+
%p
|
105
|
+
6
|
106
|
+
.span-1.border
|
107
|
+
%p
|
108
|
+
7
|
109
|
+
.span-1.border
|
110
|
+
%p
|
111
|
+
8
|
112
|
+
.span-1.border
|
113
|
+
%p
|
114
|
+
9
|
115
|
+
.span-1.border
|
116
|
+
%p
|
117
|
+
10
|
118
|
+
.span-1.border
|
119
|
+
%p
|
120
|
+
11
|
121
|
+
.span-1.border
|
122
|
+
%p
|
123
|
+
12
|
124
|
+
.span-1.border
|
125
|
+
%p
|
126
|
+
13
|
127
|
+
.span-1.border
|
128
|
+
%p
|
129
|
+
14
|
130
|
+
.span-1.border
|
131
|
+
%p
|
132
|
+
15
|
133
|
+
.span-1.border
|
134
|
+
%p
|
135
|
+
16
|
136
|
+
.span-1.border
|
137
|
+
%p
|
138
|
+
17
|
139
|
+
.span-1.border
|
140
|
+
%p
|
141
|
+
18
|
142
|
+
.span-1.border
|
143
|
+
%p
|
144
|
+
19
|
145
|
+
.span-1.border
|
146
|
+
%p
|
147
|
+
20
|
148
|
+
.span-1.border
|
149
|
+
%p
|
150
|
+
21
|
151
|
+
.span-1.border
|
152
|
+
%p
|
153
|
+
22
|
154
|
+
.span-1.border
|
155
|
+
%p
|
156
|
+
23
|
157
|
+
.span-1.last
|
158
|
+
%p
|
159
|
+
24
|
160
|
+
.span-4
|
161
|
+
%p
|
162
|
+
1
|
163
|
+
.span-4
|
164
|
+
%p
|
165
|
+
2
|
166
|
+
.span-4
|
167
|
+
%p
|
168
|
+
3
|
169
|
+
.span-4
|
170
|
+
%p
|
171
|
+
4
|
172
|
+
.span-4
|
173
|
+
%p
|
174
|
+
5
|
175
|
+
.span-4.last
|
176
|
+
%p
|
177
|
+
6
|
178
|
+
.prepend-23.span-1.last
|
179
|
+
%p
|
180
|
+
24
|
181
|
+
.prepend-1.span-1
|
182
|
+
%p
|
183
|
+
2
|
184
|
+
.prepend-20.span-1.append-1.last
|
185
|
+
%p
|
186
|
+
23
|
187
|
+
%hr
|
188
|
+
.span-24
|
189
|
+
%p
|
190
|
+
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.
|
191
|
+
.span-12
|
192
|
+
.span-6
|
193
|
+
%p
|
194
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod.
|
195
|
+
.span-6.last
|
196
|
+
%p
|
197
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
198
|
+
.span-12.last
|
199
|
+
%p
|
200
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
201
|
+
.span-12.last
|
202
|
+
.span-6
|
203
|
+
%p
|
204
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod.
|
205
|
+
.span-6.last
|
206
|
+
%p
|
207
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
208
|
+
.span-12.last
|
209
|
+
%p
|
210
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
211
|
+
.span-14.prepend-5.append-5.last
|
212
|
+
%p
|
213
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
214
|
+
%hr
|
215
|
+
.span-12
|
216
|
+
%h5
|
217
|
+
TESTING .PUSH-1 TO .PUSH-5
|
218
|
+
.span-2
|
219
|
+
%img.push-1{ :src => "test-small.jpg" }
|
220
|
+
.span-10.last
|
221
|
+
%p
|
222
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
223
|
+
.span-2
|
224
|
+
%img.push-2{ :src => "test-small.jpg" }
|
225
|
+
.span-10.last
|
226
|
+
%p
|
227
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
228
|
+
.span-2
|
229
|
+
%img.push-3{ :src => "test-small.jpg" }
|
230
|
+
.span-10.last
|
231
|
+
%p
|
232
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
233
|
+
.span-2
|
234
|
+
%img.push-4{ :src => "test-small.jpg" }
|
235
|
+
.span-10.last
|
236
|
+
%p
|
237
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
238
|
+
.span-2
|
239
|
+
%img.push-5{ :src => "test-small.jpg" }
|
240
|
+
.span-10.last
|
241
|
+
%p
|
242
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
243
|
+
.span-12.last
|
244
|
+
%h5
|
245
|
+
TESTING .PULL-1 TO .PULL-5
|
246
|
+
.span-10
|
247
|
+
%p
|
248
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
249
|
+
.span-2.last
|
250
|
+
%img.top.pull-1{ :src => "test-small.jpg" }
|
251
|
+
.span-10
|
252
|
+
%p
|
253
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
254
|
+
.span-2.last
|
255
|
+
%img.top.pull-2{ :src => "test-small.jpg" }
|
256
|
+
.span-10
|
257
|
+
%p
|
258
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
259
|
+
.span-2.last
|
260
|
+
%img.top.pull-3{ :src => "test-small.jpg" }
|
261
|
+
.span-10
|
262
|
+
%p
|
263
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
264
|
+
.span-2.last
|
265
|
+
%img.top.pull-4{ :src => "test-small.jpg" }
|
266
|
+
.span-10
|
267
|
+
%p
|
268
|
+
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
|
269
|
+
.span-2.last
|
270
|
+
%img.top.pull-5{ :src => "test-small.jpg" }
|
271
|
+
.span-24
|
272
|
+
%p
|
273
|
+
%a{ :href => "http://validator.w3.org/check?uri=referer" }
|
274
|
+
%img.bottom{ :src => "valid.png", :height => "31", :alt => "Valid HTML 4.01 Strict", :width => "88" }
|