-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
453 lines (417 loc) · 16.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Ubilabs CSS Test Page</title>
<link href="stylesheets/reset.css" media="all" rel="stylesheet" type="text/css" />
<link href="stylesheets/base.css" media="all" rel="stylesheet" type="text/css" />
<link href="stylesheets/form.css" media="all" rel="stylesheet" type="text/css" />
<link href="stylesheets/layout.css" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="wrapper">
<div id="header">
<h1>Ubilabs CSS Test Page</h1>
</div>
<div id="nav">
<ul>
<li><a href="#paragraphs">Paragraphs</a></li>
<li><a href="#lists">Lists</a></li>
<li><a href="#headings">Headings</a></li>
<li><a href="#misc">Misc</a></li>
<li><a href="#tables">Tables</a></li>
<li><a href="#code">Code</a></li>
<li><a href="#flashes">Flash Messages</a></li>
<li><a href="#forms">Forms</a></li>
</ul>
</div>
<div id="content">
<h2>Tests for common HTML elements</h2>
<div id="section">
<a href="#" id="toggle">Toggle content to see sticky footer behaviour.</a>
</div>
<div id="layout" class="section">
<h3>Layout</h3>
The current layout of this document:
<pre><div id="wrapper">
<div id="header"></div>
<div id="nav"></div>
<div id="content"></div>
</div>
<div id="footer"></div></pre>
</div>
<div id="paragraphs" class="section">
<h3>Paragraphs</h3>
<div>
<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 <em>nostrud exercitation ullamco</em> laboris
aliquip ex ea commodo consequat. Duis aute irure dolor in
reprehenderit in voluptate velit <strong>esse cillum</strong> dolore
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in
culpa qui officia deserunt mollit anim id est laborum.
</p>
<p>
Ut enim ad minim veniam, lorem ipsum dolor ipsum dolor sit amet,
consectetur sed eiusmod aliquip ex ea tempor <sub>sub text</sub>
ut labore et <sup>sup text</sup> ad minim veniam, quis nostrud
ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute
irure dolor in <code>{{dolore}}</code> in voluptate velit esse eu
fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident,
sunt in culpa qui officia deserunt mollit anim id est laborum.
</p>
<blockquote>
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 aliquip
ex ea commodo consequat.
</blockquote>
<p>
Lorem ipsum dolor sit amet, <a href="#">consectetur adipisicing</a>
elit, sed do eiusmod tempor incididunt ut labore et dolore aliqua.
</p>
</div>
</div>
<div id="lists" class="section">
<h3>Lists</h3>
<ul>
<li>Unordered list test</li>
<li>Another list element. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</li>
<li>Yet another element in the list</li>
<li>Some long text. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</li>
</ul>
<ol>
<li>Ordered list test</li>
<li>Another list element</li>
<li>Yet another element in the list</li>
</ol>
<ol>
<li>Ordered list</li>
<li>Here's a nested unordered list
<ul>
<li>Nested Unordered list</li>
<li>Nested ordered list
<ol>
<li>The first</li>
<li>And the second</li>
</ol>
</li>
</ul>
</li>
<li>Ordered List item</li>
<li>
Nested Ordered list
<ol>
<li>Some point</li>
<li>Nested Unordered list
<ul>
<li>The first</li>
<li>And the second</li>
</ul>
</li>
</ol>
</li>
</ol>
<dl>
<dt>definition list dt</dt>
<dd>definition list dd</dd>
<dt>definition list dt</dt>
<dd>definition list dd</dd>
</dl>
<dl>
<dt>Lorem ipsum dolor sit amet, consectetur adipisicing eiusmod tempor incididunt ut labore et dolore magna aliqua elit adipisicing elit adipisicing elit</dt>
<dd>Lorem ipsum dolor sit amet, consectetur adipisicing eiusmod tempor incididunt ut labore et dolore magna aliqua elit adipisicing elit adipisicing elit</dd>
<dt>Lorem ipsum dolor sit amet, consectetur adipisicing eiusmod tempor incididunt ut labore et dolore magna aliqua elit adipisicing elit adipisicing elit</dt>
<dd>Lorem ipsum dolor sit amet, consectetur adipisicing eiusmod tempor incididunt ut labore et dolore magna aliqua elit adipisicing elit adipisicing elit</dd>
</dl>
</div>
<div id="headings" class="section">
<h3>Headings</h3>
<div>
<h2>H2: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing</h2>
<h3>H3: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing tempor incididunt</h3>
<h4>H4: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing tempor incididunt consectetur adipisicing</h4>
<h5>H5: Lorem ipsum dolor sit amet, consectetur adipisicing elit adipisicing elit adipisicing elit tempor incididunt consectetur adipisicing consectetur adipisicing </h5>
</div>
<hr />
<div>
<p>h2 should be used on top of #content only!</p>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
</div>
</div>
<div id="misc" class="section">
<h3>Misc elements</h3>
<p>
<strong><strong></strong><br/>
<del><del> deleted</del><br/>
<dfn><dfn> dfn</dfn><br/>
<em><em> emphasis</em><br/>
<b><b> deprecated</b><br/>
<i><i> deprecated</i>
</p>
<p>
<a><a> anchor</a><br/>
<a href="http://www.google.com"><a> a + href</a>
</p>
<p>
<abbr title="extended abbr text should show when mouse over"><abbr> abbr - extended text when mouseover.</abbr><br/>
<acronym title="extended acronym text should show when mouse over"><acronym> acronym - extended text when mouseover.</acronym>
</p>
<address>
<address><br/>
Donald Duck<br/>
Box 555<br/>
Disneyland
</address>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore dolore.</p>
</div>
<div id="tables" class="section">
<table summary="This is the summary text for this table.">
<caption>A standard test table with a caption, tr, td elements</caption>
<tr>
<th>Table Header One</th>
<th>Table Header Two</th>
</tr>
<tr>
<td>TD One</td>
<td>TD Two</td>
</tr>
<tr>
<td colspan="2">TD colspan 2</td>
</tr>
</table>
<table summary="This is the summary text for this table.">
<caption>A test table with a thead, tfoot, and tbody elements</caption>
<thead>
<tr>
<th>Table Header One</th>
<th>Table Header Two</th>
</tr>
</thead>
<tfoot>
<tr>
<td colspan="2">tfoot footer</td>
</tr>
</tfoot>
<tbody>
<tr>
<td>TD One</td>
<td>TD Two</td>
</tr>
<tr>
<td>TD One</td>
<td>TD Two</td>
</tr>
</tbody>
<tbody>
<tr>
<td>TD One</td>
<td>TD Two</td>
</tr>
<tr>
<td>TD One</td>
<td>TD Two</td>
</tr>
</tbody>
</table>
</div>
<div id="code" class="section">
<pre><pre>
pre space1
pre space1
pre space2
pre space2
pre tab
pre tab</pre>
<code><code>
Not indented
indent1
indent1
indent2
indent3</code>
<tt><tt>
This tt text should be monospaced
and
wrap as if
one line of text
even though the code has newlines, spaces, and tabs.
It should be the same size as <p> text.
</tt>
</div>
<div id="flashes" class="section">
<h3>Flash messages</h3>
<div class="flash_notice">Standard success notice</div>
<div class="flash_error">Standard error</div>
<div class="flash_notice">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>
<div class="flash_failure">
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do
eiusmod tempor incididunt ut labore et dolore magna aliqua.
</div>
</div>
<div id="forms" class="section">
<h3>Form styles</h3>
<form action="forms.html" class="formtastic" method="get">
<fieldset class="inputs">
<ol>
<li class="select required">
<label for="i1">Options<abbr title="required">*</abbr></label>
<select id="i1" name="i1">
<option value="1">Option 1</option>
<option value="2">Option 2</option>
<option value="3">Option 3</option>
</select>
</li>
<li class="string required error" id="e1">
<label for="e1">Field with error</label>
<input id="e1" maxlength="255" name="e1" size="50" type="text" value="" />
<p class="inline-errors">Error message goes here.</p>
</li>
<li class="string">
<label for="i2">Optional</label>
<input id="i2" maxlength="255" name="i2" size="50" type="text" />
<p class="inline-hints">An inline hint.</p>
</li>
<li class="check_boxes optional">
<fieldset><legend class="label">
<label for="c1">Checkboxes</label>
</legend>
<ol>
<li>
<label for="c1">
<input name="c1" type="hidden" value="" />
<input checked="checked" id="c1" name="c1" type="checkbox" value="c2" />
Checkbox #1
</label>
</li>
<li>
<label for="c2">
<input name="c2" type="hidden" value="" />
<input id="c2" name="c2" type="checkbox" value="c2" />
Checkbox #2
</label>
</li>
<li>
<label for="c3">
<input name="c3" type="hidden" value="" />
<input id="c3" name="c3" type="checkbox" value="c3" />
Checkbox #3
</label>
</li>
</ol>
</fieldset>
</li>
<li class="text">
<label for="i3">Text Area</label>
<textarea cols="40" id="i3" name="i3" rows="8"></textarea>
</li>
<li class="file">
<label for="f1">File input</label>
<input id="f1" name="f1" type="file" />
</li>
<li class="boolean">
<label for="b1">
<input name="b1" type="hidden" value="0" />
<input id="b1" name="b1" type="checkbox" value="1" />
Boolean options
</label>
</li>
<li class="radio">
<fieldset>
<legend class="label">
<label for="r1">Options</label>
</legend>
<ol>
<li>
<label for="r1">
<input id="r1" name="r1" type="radio" value="1" />
Option 1
</label>
</li>
<li>
<label for="r2">
<input id="r2" name="r1" type="radio" value="2" />
Option 2
</label>
</li>
<li>
<label for="r3">
<input id="r3" name="r1" type="radio" value="3" />
Option 3
</label>
</li>
</ol>
</fieldset>
</li>
<li class="date">
<fieldset><legend class="label"><label for="i5">Date Field</label></legend>
<ol>
<li>
<label for="i5">Year</label>
<select id="i5" name="i5">
<option value="2008">2008</option>
<option value="2009">2009</option>
<option selected="selected" value="2010">2010</option>
<option value="2011">2011</option>
<option value="2012">2012</option>
</select>
</li>
<li>
<label for="i6">Month</label>
<select id="i6" name="i6">
<option value="1">January</option>
<option value="2">February</option>
<option selected="selected" value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
</select>
</li>
<li>
<label for="i7">Day</label>
<select id="i7" name="i7">
<option value="15">15</option>
<option value="16">16</option>
<option selected="selected" value="17">17</option>
<option value="18">18</option>
<option value="19">19</option>
</select>
</li>
</ol>
</fieldset>
</li>
<li class="boolean">
<label for="i8">
<input name="i8" type="hidden" value="0" />
<input id="i8" name="i4" type="checkbox" value="1" />
I have read and agree with the terms and conditions. I have read and agree with the terms and conditions.
</label>
</li>
</ol>
</fieldset>
<fieldset class="buttons">
<ol>
<li class="commit">
<input name="submit" type="submit" value="Submit">
</li>
<li>
or <a href="#">cancel</a>
</li>
</ol>
</fieldset>
</form>
</div>
</div>
</div>
<div id="footer">
A sticky footer.
</div>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script>
<script src="javascripts/application.js" type="text/javascript"></script>
</body>
</html>