spike 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. data/.document +5 -0
  2. data/.gitignore +21 -0
  3. data/.gitmodules +6 -0
  4. data/LICENSE +20 -0
  5. data/README.md +45 -0
  6. data/Rakefile +56 -0
  7. data/VERSION +1 -0
  8. data/bin/spike +5 -0
  9. data/lib/initializers/960.rb +33 -0
  10. data/lib/initializers/jquery.rb +1 -0
  11. data/lib/spike.rb +61 -0
  12. data/lib/template/app.css +0 -0
  13. data/lib/template/css/960/README.txt +52 -0
  14. data/lib/template/css/960/code/css/960.css +1 -0
  15. data/lib/template/css/960/code/css/960_24_col.css +1 -0
  16. data/lib/template/css/960/code/css/reset.css +1 -0
  17. data/lib/template/css/960/code/css/rtl_960.css +1 -0
  18. data/lib/template/css/960/code/css/rtl_960_24_col.css +1 -0
  19. data/lib/template/css/960/code/css/rtl_text.css +1 -0
  20. data/lib/template/css/960/code/css/text.css +1 -0
  21. data/lib/template/css/960/code/css/uncompressed/960.css +628 -0
  22. data/lib/template/css/960/code/css/uncompressed/960_24_col.css +599 -0
  23. data/lib/template/css/960/code/css/uncompressed/demo.css +47 -0
  24. data/lib/template/css/960/code/css/uncompressed/reset.css +53 -0
  25. data/lib/template/css/960/code/css/uncompressed/rtl_960.css +628 -0
  26. data/lib/template/css/960/code/css/uncompressed/rtl_960_24_col.css +599 -0
  27. data/lib/template/css/960/code/css/uncompressed/rtl_text.css +84 -0
  28. data/lib/template/css/960/code/css/uncompressed/text.css +84 -0
  29. data/lib/template/css/960/code/demo.html +538 -0
  30. data/lib/template/css/960/code/demo_24_col.html +411 -0
  31. data/lib/template/css/960/code/img/12_col.gif +0 -0
  32. data/lib/template/css/960/code/img/16_col.gif +0 -0
  33. data/lib/template/css/960/code/img/24_col.gif +0 -0
  34. data/lib/template/css/960/code/rtl_demo.html +538 -0
  35. data/lib/template/css/960/code/rtl_demo_24_col.html +411 -0
  36. data/lib/template/css/960/fireworks_extension/960.gs Grid Commands.mxp +0 -0
  37. data/lib/template/css/960/fireworks_extension/_source/12 columns.jsf +26 -0
  38. data/lib/template/css/960/fireworks_extension/_source/16 columns.jsf +26 -0
  39. data/lib/template/css/960/fireworks_extension/_source/24 columns.jsf +26 -0
  40. data/lib/template/css/960/fireworks_extension/_source/960.gs Grid Commands.mxi +22 -0
  41. data/lib/template/css/960/licenses/GPL_license.txt +674 -0
  42. data/lib/template/css/960/licenses/MIT_license.txt +20 -0
  43. data/lib/template/css/960/sketch_sheets/960_sketch.pdf +0 -0
  44. data/lib/template/css/960/templates/acorn/960_grid_12_col.acorn +0 -0
  45. data/lib/template/css/960/templates/acorn/960_grid_16_col.acorn +0 -0
  46. data/lib/template/css/960/templates/acorn/960_grid_24_col.acorn +0 -0
  47. data/lib/template/css/960/templates/corel_draw/960_grid_12_col.cdt +0 -0
  48. data/lib/template/css/960/templates/corel_draw/960_grid_16_col.cdt +0 -0
  49. data/lib/template/css/960/templates/corel_draw/960_grid_24_col.cdt +0 -0
  50. data/lib/template/css/960/templates/expression_design/960_grid_12_col.design +0 -0
  51. data/lib/template/css/960/templates/expression_design/960_grid_16_col.design +0 -0
  52. data/lib/template/css/960/templates/expression_design/960_grid_24_col.design +0 -0
  53. data/lib/template/css/960/templates/fireworks/960_grid_12_col.png +0 -0
  54. data/lib/template/css/960/templates/fireworks/960_grid_16_col.png +0 -0
  55. data/lib/template/css/960/templates/fireworks/960_grid_24_col.png +0 -0
  56. data/lib/template/css/960/templates/flash/960_grid_12_col.fla +0 -0
  57. data/lib/template/css/960/templates/flash/960_grid_16_col.fla +0 -0
  58. data/lib/template/css/960/templates/flash/960_grid_24_col.fla +0 -0
  59. data/lib/template/css/960/templates/gimp/960_grid_12_col.xcf +0 -0
  60. data/lib/template/css/960/templates/gimp/960_grid_16_col.xcf +0 -0
  61. data/lib/template/css/960/templates/gimp/960_grid_24_col.xcf +0 -0
  62. data/lib/template/css/960/templates/illustrator/960_grid_12_col.ai +372 -0
  63. data/lib/template/css/960/templates/illustrator/960_grid_16_col.ai +361 -0
  64. data/lib/template/css/960/templates/indesign/960_grid_12_col.inx +1197 -0
  65. data/lib/template/css/960/templates/indesign/960_grid_16_col.inx +1214 -0
  66. data/lib/template/css/960/templates/inkscape/960_grid_12_col.svg +217 -0
  67. data/lib/template/css/960/templates/inkscape/960_grid_16_col.svg +265 -0
  68. data/lib/template/css/960/templates/inkscape/960_grid_24_col.svg +174 -0
  69. data/lib/template/css/960/templates/omnigraffle/960_graffle.graffle +0 -0
  70. data/lib/template/css/960/templates/photoshop/960_grid_12_col.psd +0 -0
  71. data/lib/template/css/960/templates/photoshop/960_grid_16_col.psd +0 -0
  72. data/lib/template/css/960/templates/photoshop/960_grid_24_col.psd +0 -0
  73. data/lib/template/css/960/templates/visio/960_visio.vsd +0 -0
  74. data/lib/template/css/blueprint/AUTHORS.textile +42 -0
  75. data/lib/template/css/blueprint/CHANGELOG +159 -0
  76. data/lib/template/css/blueprint/LICENSE +22 -0
  77. data/lib/template/css/blueprint/README.textile +81 -0
  78. data/lib/template/css/blueprint/TUTORIAL.textile +206 -0
  79. data/lib/template/css/blueprint/blueprint/ie.css +35 -0
  80. data/lib/template/css/blueprint/blueprint/plugins/buttons/icons/cross.png +0 -0
  81. data/lib/template/css/blueprint/blueprint/plugins/buttons/icons/key.png +0 -0
  82. data/lib/template/css/blueprint/blueprint/plugins/buttons/icons/tick.png +0 -0
  83. data/lib/template/css/blueprint/blueprint/plugins/buttons/readme.txt +32 -0
  84. data/lib/template/css/blueprint/blueprint/plugins/buttons/screen.css +97 -0
  85. data/lib/template/css/blueprint/blueprint/plugins/fancy-type/readme.txt +14 -0
  86. data/lib/template/css/blueprint/blueprint/plugins/fancy-type/screen.css +71 -0
  87. data/lib/template/css/blueprint/blueprint/plugins/link-icons/icons/doc.png +0 -0
  88. data/lib/template/css/blueprint/blueprint/plugins/link-icons/icons/email.png +0 -0
  89. data/lib/template/css/blueprint/blueprint/plugins/link-icons/icons/external.png +0 -0
  90. data/lib/template/css/blueprint/blueprint/plugins/link-icons/icons/feed.png +0 -0
  91. data/lib/template/css/blueprint/blueprint/plugins/link-icons/icons/im.png +0 -0
  92. data/lib/template/css/blueprint/blueprint/plugins/link-icons/icons/pdf.png +0 -0
  93. data/lib/template/css/blueprint/blueprint/plugins/link-icons/icons/visited.png +0 -0
  94. data/lib/template/css/blueprint/blueprint/plugins/link-icons/icons/xls.png +0 -0
  95. data/lib/template/css/blueprint/blueprint/plugins/link-icons/readme.txt +18 -0
  96. data/lib/template/css/blueprint/blueprint/plugins/link-icons/screen.css +40 -0
  97. data/lib/template/css/blueprint/blueprint/plugins/rtl/readme.txt +10 -0
  98. data/lib/template/css/blueprint/blueprint/plugins/rtl/screen.css +110 -0
  99. data/lib/template/css/blueprint/blueprint/print.css +29 -0
  100. data/lib/template/css/blueprint/blueprint/screen.css +258 -0
  101. data/lib/template/css/blueprint/blueprint/src/forms.css +65 -0
  102. data/lib/template/css/blueprint/blueprint/src/grid.css +280 -0
  103. data/lib/template/css/blueprint/blueprint/src/grid.png +0 -0
  104. data/lib/template/css/blueprint/blueprint/src/ie.css +76 -0
  105. data/lib/template/css/blueprint/blueprint/src/print.css +85 -0
  106. data/lib/template/css/blueprint/blueprint/src/reset.css +45 -0
  107. data/lib/template/css/blueprint/blueprint/src/typography.css +106 -0
  108. data/lib/template/css/blueprint/lib/blueprint/blueprint.rb +39 -0
  109. data/lib/template/css/blueprint/lib/blueprint/compressor.rb +290 -0
  110. data/lib/template/css/blueprint/lib/blueprint/core_ext.rb +39 -0
  111. data/lib/template/css/blueprint/lib/blueprint/css_parser.rb +72 -0
  112. data/lib/template/css/blueprint/lib/blueprint/custom_layout.rb +72 -0
  113. data/lib/template/css/blueprint/lib/blueprint/grid.css.erb +146 -0
  114. data/lib/template/css/blueprint/lib/blueprint/grid_builder.rb +63 -0
  115. data/lib/template/css/blueprint/lib/blueprint/namespace.rb +38 -0
  116. data/lib/template/css/blueprint/lib/blueprint/semantic_class_names.rb +64 -0
  117. data/lib/template/css/blueprint/lib/blueprint/validate/COPYRIGHT.html +93 -0
  118. data/lib/template/css/blueprint/lib/blueprint/validate/JIGSAW_COPYRIGHT +64 -0
  119. data/lib/template/css/blueprint/lib/blueprint/validate/README.html +83 -0
  120. data/lib/template/css/blueprint/lib/blueprint/validate/XERCES_COPYING.txt +56 -0
  121. data/lib/template/css/blueprint/lib/blueprint/validate/css-validator-javadoc.jar +0 -0
  122. data/lib/template/css/blueprint/lib/blueprint/validate/css-validator.jar +0 -0
  123. data/lib/template/css/blueprint/lib/blueprint/validate/jigsaw.jar +0 -0
  124. data/lib/template/css/blueprint/lib/blueprint/validate/xerces.jar +0 -0
  125. data/lib/template/css/blueprint/lib/blueprint/validator.rb +49 -0
  126. data/lib/template/css/blueprint/lib/compress.rb +167 -0
  127. data/lib/template/css/blueprint/lib/settings.example.yml +33 -0
  128. data/lib/template/css/blueprint/lib/validate.rb +15 -0
  129. data/lib/template/css/blueprint/templates/psd/fixed-width.psd +0 -0
  130. data/lib/template/css/blueprint/tests/index.html +83 -0
  131. data/lib/template/css/blueprint/tests/parts/elements.html +247 -0
  132. data/lib/template/css/blueprint/tests/parts/forms.html +191 -0
  133. data/lib/template/css/blueprint/tests/parts/grid.html +163 -0
  134. data/lib/template/css/blueprint/tests/parts/sample.html +75 -0
  135. data/lib/template/css/blueprint/tests/parts/test-small.jpg +0 -0
  136. data/lib/template/css/blueprint/tests/parts/test.jpg +0 -0
  137. data/lib/template/css/blueprint/tests/parts/valid.png +0 -0
  138. data/lib/template/index.html +16 -0
  139. data/spike.gemspec +190 -0
  140. data/test/helper.rb +10 -0
  141. data/test/test_spike.rb +7 -0
  142. metadata +227 -0
@@ -0,0 +1,33 @@
1
+ # refer to http://www.yaml.org/spec/1.1/ for clarification on YAML collections
2
+ project1:
3
+ path: /path/to/my/project/stylesheets
4
+ namespace: custom-namespace-1-
5
+ custom_css:
6
+ ie.css:
7
+ - custom-ie.css
8
+ print.css:
9
+ - docs.css
10
+ - my-print-styles.css
11
+ screen.css:
12
+ - subfolder-of-stylesheets/sub_css.css
13
+ custom_layout:
14
+ column_count: 12
15
+ column_width: 70
16
+ gutter_width: 10
17
+ plugins:
18
+ - fancy-type
19
+ - buttons
20
+ project2:
21
+ path: /path/to/different/stylesheets
22
+ namespace: different-namespace-
23
+ custom_css:
24
+ screen.css:
25
+ - custom_screen.css
26
+ semantic_classes:
27
+ "#footer, #header": ".span-24"
28
+ "#content": ".span-17, .colborder"
29
+ "#extra-content": ".span-6"
30
+ "div#navigation": ".span_24"
31
+ "div.section, div.entry, .feeds": ".span-6"
32
+ project3:
33
+ path: /path/to/another/projects/styles
@@ -0,0 +1,15 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "blueprint/blueprint"
4
+ require "blueprint/validator"
5
+
6
+ # This script will validate the core Blueprint files.
7
+ #
8
+ # The files are not completely valid. This has to do
9
+ # with a small number of CSS hacks needed to ensure
10
+ # consistent rendering across browsers.
11
+ #
12
+ # To add your own CSS files for validation, see
13
+ # /lib/blueprint/validator.rb
14
+
15
+ Blueprint::Validator.new.validate
@@ -0,0 +1,83 @@
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="../blueprint/screen.css" type="text/css" media="screen, projection">
11
+ <link rel="stylesheet" href="../blueprint/print.css" type="text/css" media="print">
12
+ <!--[if lt IE 8]><link rel="stylesheet" href="../blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
13
+ <style type="text/css" media="screen">
14
+ p, table, hr, .box { margin-bottom:25px; }
15
+ .box p { margin-bottom:10px; }
16
+ </style>
17
+ </head>
18
+ <body>
19
+
20
+ <div class="container">
21
+ <h1>Blueprint test pages</h1>
22
+ <hr>
23
+
24
+ <p>Welcome to the Blueprint test pages. The HTML files below tests most HTML elements, and especially classes provided
25
+ by&nbsp;Blueprint.</p>
26
+
27
+ <table border="0" cellspacing="0" cellpadding="0">
28
+ <tr>
29
+ <th class="span-6">Test page</th>
30
+ <th class="span-8">Main files tested</th>
31
+ <th class="span-10">Description</th>
32
+ </tr>
33
+ <tr>
34
+ <td><a href="parts/sample.html">Sample page</a></td>
35
+ <td>
36
+ <a href="../blueprint/src/grid.css">grid.css</a>,
37
+ <a href="../blueprint/src/typography.css">typography.css</a>
38
+ </td>
39
+ <td>A simple sample page, with common elements.</td>
40
+ </tr>
41
+ <tr class="even">
42
+ <td><a href="parts/grid.html">Grid</a></td>
43
+ <td>
44
+ <a href="../blueprint/src/grid.css">grid.css</a>
45
+ </td>
46
+ <td>Tests classes provided by grid.css.</td>
47
+ </tr>
48
+ <tr>
49
+ <td><a href="parts/elements.html">Typography</a></td>
50
+ <td>
51
+ <a href="../blueprint/src/typography.css">typography.css</a>
52
+ </td>
53
+ <td>Tests HTML elements which gets set in typography.css.</td>
54
+ </tr>
55
+ <tr class="even">
56
+ <td><a href="parts/forms.html">Forms</a></td>
57
+ <td>
58
+ <a href="../blueprint/src/forms.css">forms.css</a>
59
+ </td>
60
+ <td>Tests classes and default look provided by forms.css.</td>
61
+ </tr>
62
+ </table>
63
+
64
+ <p><em><strong>Note about the compressed versions:</strong></em>
65
+ These test files utilize the compressed files. In other words, if you change any of the source files,
66
+ you'll have to re-compress them with the ruby script in the scripts folder to see any&nbsp;changes.</p>
67
+
68
+ <div class="box">
69
+ <p>For more information and help, try these resources:</p>
70
+ <ul class="bottom">
71
+ <li><a href="http://blueprintcss.org">The Blueprint home page</a></li>
72
+ <li><a href="http://github.com/joshuaclayton/blueprint-css/wikis/home">The Blueprint Wiki</a></li>
73
+ <li><a href="http://groups.google.com/group/blueprintcss">The Blueprint mailing list</a></li>
74
+ <li><a href="http://christianmontoya.com">The blog for news about Blueprint</a></li>
75
+ </ul>
76
+ </div>
77
+
78
+ <p><a href="http://validator.w3.org/check?uri=referer">
79
+ <img src="parts/valid.png" alt="Valid HTML 4.01 Strict" height="31" width="88" class="top"></a></p>
80
+
81
+ </div>
82
+ </body>
83
+ </html>
@@ -0,0 +1,247 @@
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="../../blueprint/screen.css" type="text/css" media="screen, projection">
11
+ <link rel="stylesheet" href="../../blueprint/print.css" type="text/css" media="print">
12
+ <!--[if lt IE 8]><link rel="stylesheet" href="../../blueprint/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
+ <h5>PARAGRAPHS <span class="alt">&amp;</span> BOXES</h5>
21
+ <div class="span-8">
22
+ <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>
23
+ <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>
24
+ </div>
25
+
26
+ <div class="span-8">
27
+ <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>
28
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
29
+ <p class="large">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
30
+ </div>
31
+
32
+ <div class="span-8 last">
33
+
34
+ <div class="box">
35
+ <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>
36
+ </div>
37
+ <blockquote>
38
+ <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>
39
+ </blockquote>
40
+
41
+ </div>
42
+ <hr>
43
+
44
+ <h5>LISTS</h5>
45
+
46
+ <div class="span-8">
47
+ <ul>
48
+ <li>Unordered list test</li>
49
+ <li>Another list element. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</li>
50
+ <li>Yet another element in the list</li>
51
+ <li>Some long text. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</li>
52
+ </ul>
53
+ <ol>
54
+ <li>Ordered list test</li>
55
+ <li>Another list element</li>
56
+ <li>Yet another element in the list</li>
57
+ </ol>
58
+ </div>
59
+
60
+ <div class="span-8">
61
+ <ol>
62
+ <li>Ordered list</li>
63
+ <li>Here's a nested unordered list
64
+ <ul>
65
+ <li>Nested Unordered list</li>
66
+ <li>Nested ordered list
67
+ <ol>
68
+ <li>The first</li>
69
+ <li>And the second</li>
70
+ </ol>
71
+ </li>
72
+ </ul>
73
+ </li>
74
+ <li>Ordered List item</li>
75
+ <li>Nested Ordered list
76
+ <ol>
77
+ <li>Some point</li>
78
+ <li>Nested Unordered list
79
+ <ul>
80
+ <li>The first</li>
81
+ <li>And the second</li>
82
+ </ul>
83
+ </li>
84
+ </ol>
85
+ </li>
86
+ </ol>
87
+ </div>
88
+
89
+ <div class="span-8 last">
90
+ <dl>
91
+ <dt>definition list dt</dt>
92
+ <dd>definition list dd</dd>
93
+ <dt>definition list dt</dt>
94
+ <dd>definition list dd</dd>
95
+ <dt>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</dt>
96
+ <dd>Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</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
+ </dl>
100
+ </div>
101
+ <hr>
102
+
103
+ <h5>HEADINGS</h5>
104
+
105
+ <div class="span-8">
106
+ <h1>H1: Lorem ipsum dolor sit amet</h1>
107
+ <h2>H2: Lorem ipsum dolor sit amet, consectetur elit</h2>
108
+ <h3>H3: Lorem ipsum dolor sit amet, consectetur adipisicing elit</h3>
109
+ <h4>H4: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipis</h4>
110
+ <h5>H5: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</h5>
111
+ <h6>H6: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit</h6>
112
+ </div>
113
+
114
+ <div class="span-8">
115
+ <h1>Heading 1</h1><hr>
116
+ <h2>Heading 2</h2><hr>
117
+ <h3>Heading 3</h3><hr>
118
+ <h4>Heading 4</h4><hr>
119
+ <h5>Heading 5</h5><hr>
120
+ <h6>Heading 6</h6>
121
+ </div>
122
+
123
+ <div class="span-8 last">
124
+ <h1>Heading 1</h1>
125
+ <h2>Heading 2</h2>
126
+ <h3>Heading 3</h3>
127
+ <h4>Heading 4</h4>
128
+ <h5>Heading 5</h5>
129
+ <h6>Heading 6</h6>
130
+ </div>
131
+ <hr>
132
+
133
+ <h5>MISC ELEMENTS</h5>
134
+
135
+ <div class="span-8">
136
+ <p>
137
+ <strong>&lt;strong&gt;</strong><br>
138
+ <del>&lt;del&gt; deleted</del><br>
139
+ <dfn>&lt;dfn&gt; dfn</dfn><br>
140
+ <em>&lt;em&gt; emphasis</em>
141
+ </p>
142
+ <p>
143
+ <a>&lt;a&gt; anchor</a><br>
144
+ <a href="http://www.google.com">&lt;a&gt; a + href</a>
145
+ </p>
146
+ <p>
147
+ <abbr title="extended abbr text should show when mouse over">&lt;abbr&gt; abbr - extended text when mouseover.</abbr><br>
148
+ <acronym title="extended acronym text should show when mouse over">&lt;acronym&gt; acronym - extended text when mouseover.</acronym>
149
+ </p>
150
+ <address>
151
+ &lt;address&gt;<br>
152
+ Donald Duck<br>
153
+ Box 555<br>
154
+ Disneyland
155
+ </address>
156
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore dolore.</p>
157
+ </div>
158
+
159
+ <div class="span-8">
160
+ <table summary="This is the summary text for this table." border="0" cellspacing="0" cellpadding="0">
161
+ <caption><em>A standard test table with a caption, tr, td elements</em></caption>
162
+ <tr>
163
+ <th class="span-4">Table Header One</th>
164
+ <th class="span-4 last">Table Header Two</th>
165
+ </tr>
166
+ <tr>
167
+ <td>TD One</td>
168
+ <td>TD Two</td>
169
+ </tr>
170
+ <tr>
171
+ <td colspan="2">TD colspan 2</td>
172
+ </tr>
173
+ </table>
174
+
175
+ <table summary="This is the summary text for this table." border="0" cellspacing="0" cellpadding="0">
176
+ <caption><em>A test table with a thead, tfoot, and tbody elements</em></caption>
177
+ <thead>
178
+ <tr>
179
+ <th class="span-4">Table Header One</th>
180
+ <th class="span-4 last">Table Header Two</th>
181
+ </tr>
182
+ </thead>
183
+ <tfoot>
184
+ <tr>
185
+ <td colspan="2">tfoot footer</td>
186
+ </tr>
187
+ </tfoot>
188
+ <tbody>
189
+ <tr>
190
+ <td>TD One</td>
191
+ <td>TD Two</td>
192
+ </tr>
193
+ <tr>
194
+ <td>TD One</td>
195
+ <td>TD Two</td>
196
+ </tr>
197
+ </tbody>
198
+ <tbody>
199
+ <tr>
200
+ <td>TD One</td>
201
+ <td>TD Two</td>
202
+ </tr>
203
+ <tr>
204
+ <td>TD One</td>
205
+ <td>TD Two</td>
206
+ </tr>
207
+ </tbody>
208
+ </table>
209
+ </div>
210
+
211
+ <div class="span-8 last">
212
+
213
+ <pre>&lt;pre&gt;
214
+ pre space1
215
+ pre space1
216
+ pre space2
217
+ pre space2
218
+ pre tab
219
+ pre tab</pre>
220
+
221
+ <code>&lt;code&gt;
222
+ Not indented
223
+ indent1
224
+ indent1
225
+ indent2
226
+ indent3</code>
227
+
228
+ <tt>&lt;tt&gt;
229
+ This tt text should be monospaced
230
+ and
231
+ wrap as if
232
+ one line of text
233
+ even though the code has newlines, spaces, and tabs.
234
+ It should be the same size as &lt;p&gt; text.
235
+ </tt>
236
+ </div>
237
+ <hr>
238
+
239
+ <p>
240
+ <a href="http://validator.w3.org/check?uri=referer">
241
+ <img src="valid.png" alt="Valid HTML 4.01 Strict" height="31" width="88" class="top">
242
+ </a>
243
+ </p>
244
+
245
+ </div>
246
+ </body>
247
+ </html>
@@ -0,0 +1,191 @@
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 Forms Tests</title>
8
+
9
+ <!-- Framework CSS -->
10
+ <link rel="stylesheet" href="../../blueprint/screen.css" type="text/css" media="screen, projection">
11
+ <link rel="stylesheet" href="../../blueprint/print.css" type="text/css" media="print">
12
+ <!--[if lt IE 8]><link rel="stylesheet" href="../../blueprint/ie.css" type="text/css" media="screen, projection"><![endif]-->
13
+ </head>
14
+ <body>
15
+ <div class="container showgrid">
16
+ <h1>Forms</h1>
17
+ <hr>
18
+
19
+ <div class="span-12">
20
+
21
+ <form id="dummy" action="" method="post">
22
+
23
+ <fieldset>
24
+ <legend>Simple sample form</legend>
25
+ <p>
26
+ <label for="dummy0">Text input (title)</label><br>
27
+ <input type="text" class="title" name="dummy0" id="dummy0" value="Field with class .title">
28
+ </p>
29
+
30
+ <p>
31
+ <label for="dummy1">Another field</label><br>
32
+ <input type="text" class="text" id="dummy1" name="dummy1" value="Field with class .text">
33
+ </p>
34
+
35
+ <p>
36
+ <label for="dummy2">Textarea</label><br>
37
+ <textarea name="dummy2" id="dummy2" rows="5" cols="20"></textarea>
38
+ </p>
39
+
40
+ <p>
41
+ <label for="dummy3">A password field</label><br>
42
+ <input type="password" class="text" id="dummy3" name="dummy3" value="Password field with class .text">
43
+ </p>
44
+
45
+ <p>
46
+ <input type="submit" value="Submit">
47
+ <input type="reset" value="Reset">
48
+ </p>
49
+
50
+ </fieldset>
51
+ </form>
52
+
53
+ </div>
54
+ <div class="span-12 last">
55
+
56
+ <div class="error">
57
+ This is a &lt;div&gt; with the class <strong>.error</strong>. <a href="#">Link</a>.
58
+ </div>
59
+ <div class="notice">
60
+ This is a &lt;div&gt; with the class <strong>.notice</strong>. <a href="#">Link</a>.
61
+ </div>
62
+ <div class="success">
63
+ This is a &lt;div&gt; with the class <strong>.success</strong>. <a href="#">Link</a>.
64
+ </div>
65
+
66
+ <fieldset>
67
+ <legend>Select, checkboxes, lists</legend>
68
+
69
+ <p>
70
+ <label for="dummy3">Select field</label><br>
71
+ <select id="dummy3" name="dummy3">
72
+ <option value="1">Ottawa</option>
73
+ <option value="2">Calgary</option>
74
+ <option value="3">Moosejaw</option>
75
+ </select>
76
+ </p>
77
+
78
+ <p>
79
+ <label for="dummy4">Select with groups</label><br>
80
+ <select id="dummy4" name="dummy4">
81
+ <option>Favorite pet</option>
82
+ <optgroup label="mammals">
83
+ <option>dog</option>
84
+ <option>cat</option>
85
+ <option>rabbit</option>
86
+ <option>horse</option>
87
+ </optgroup>
88
+ <optgroup label="reptiles">
89
+ <option>iguana</option>
90
+ <option>snake</option>
91
+ </optgroup>
92
+ </select>
93
+ </p>
94
+
95
+ <p><label>Radio buttons</label><br>
96
+ <input type="radio" name="example"> Radio one<br>
97
+ <input type="radio" name="example"> Radio two<br>
98
+ <input type="radio" name="example"> Radio three<br>
99
+ </p>
100
+
101
+ <p><label>Checkboxes</label><br>
102
+ <input type="checkbox"> Check one<br>
103
+ <input type="checkbox"> Check two<br>
104
+ <input type="checkbox"> Check three<br>
105
+ </p>
106
+
107
+ </fieldset>
108
+
109
+ </div>
110
+
111
+ <div class="span-24 last">
112
+
113
+ <fieldset>
114
+ <legend>Alignment</legend>
115
+
116
+ <p>
117
+ <label for="dummy5">Select field</label>
118
+ <select id="dummy5" name="dummy5">
119
+ <option value="1">Ottawa</option>
120
+ <option value="2">Calgary</option>
121
+ <option value="3">Moosejaw</option>
122
+ </select>
123
+ </p>
124
+
125
+ <p>
126
+ <label for="dummy6">Text input (title)</label>
127
+ <input type="text" class="title" name="dummy6" id="dummy6" value="Field with class .title">
128
+ </p>
129
+
130
+ <p>
131
+ <label for="dummy7">Select field</label>
132
+ <select id="dummy7" name="dummy7">
133
+ <option value="1">Ottawa</option>
134
+ <option value="2">Calgary</option>
135
+ <option value="3">Moosejaw</option>
136
+ </select>
137
+ <label for="dummy8">Another field</label>
138
+ <input type="text" class="text" id="dummy8" name="dummy8" value="Field with class .text">
139
+ </p>
140
+
141
+ </fieldset>
142
+
143
+ </div>
144
+
145
+ <div class="span-24 last">
146
+ <form action="" method="post" class="inline">
147
+ <fieldset>
148
+ <legend>A form with class "inline"</legend>
149
+ <div class="span-3">
150
+ <label for="a">Label A:</label>
151
+ <select id="a" name="a" >
152
+ <option value="0">All</option>
153
+ </select>
154
+ </div>
155
+ <div class="span-2">
156
+ some text
157
+ </div>
158
+ <div class="span-3">
159
+ <input type="checkbox" id="o" name="o" value="true" checked="checked" class="checkbox">checkbox one
160
+ </div>
161
+ <div class="span-3">
162
+ <label for="b">Label B:</label>
163
+ <select id="b" name="b" >
164
+ <option value="0">All</option>
165
+ </select>
166
+ </div>
167
+ <div class="span-2">
168
+ <a href="">A Hyperlink</a>
169
+ </div>
170
+ <div class="span-8">
171
+ <input type="text" class="text" id="q" name="q" value="Field with class .text">
172
+ </div>
173
+ <div class="span-2 last">
174
+ <input type="submit" value="submit" class="button">
175
+ </div>
176
+ </fieldset>
177
+
178
+ </form>
179
+
180
+ </div>
181
+
182
+ <hr>
183
+
184
+ <p>
185
+ <a href="http://validator.w3.org/check?uri=referer">
186
+ <img src="valid.png" alt="Valid HTML 4.01 Strict" height="31" width="88" class="top"></a>
187
+ </p>
188
+
189
+ </div>
190
+ </body>
191
+ </html>