forked from foundation/foundation-sites
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
494 lines (428 loc) · 15.8 KB
/
test.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
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
<!DOCTYPE html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
<meta charset="utf-8" />
<!-- Set the viewport width to device width for mobile -->
<meta name="viewport" content="width=device-width" />
<title>Welcome to Foundation Testing</title>
<!-- Included CSS Files -->
<!-- Combine and Compress These CSS Files -->
<link rel="stylesheet" href="stylesheets/globals.css">
<link rel="stylesheet" href="stylesheets/typography.css">
<link rel="stylesheet" href="stylesheets/grid.css">
<link rel="stylesheet" href="stylesheets/ui.css">
<link rel="stylesheet" href="stylesheets/forms.css">
<link rel="stylesheet" href="stylesheets/orbit.css">
<link rel="stylesheet" href="stylesheets/reveal.css">
<link rel="stylesheet" href="stylesheets/mobile.css">
<!-- End Combine and Compress These CSS Files -->
<link rel="stylesheet" href="stylesheets/app.css">
<!--[if lt IE 9]>
<link rel="stylesheet" href="stylesheets/ie.css">
<![endif]-->
<script src="javascripts/modernizr.foundation.js"></script>
<!-- IE Fix for HTML5 Tags -->
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style type="text/css">
.display-grid .row { background: #eee; margin-bottom: 8px; }
.display-grid .column, .display-grid .columns { background: #ddd; }
</style>
</head>
<body>
<!-- container -->
<div class="container">
<div class="row">
<div class="twelve columns">
<h2>Foundation Testbed</h2>
<p>This page includes common elements and weird edge cases so we can test the crap out of stuff. It will probably change in each release to test new elements.</p>
<hr />
</div>
</div>
<div class="row">
<div class="twelve columns">
<ul class="nav-bar">
<li>
<a href="#" class="main">Nav Item 1</a>
</li>
<li class="has-flyout">
<a href="#" class="main">Nav Item 2</a>
<a href="#" class="flyout-toggle"><span></span></a>
<div class="flyout small">
<h5>Small Example (200px)</h5>
<p>This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. This is example text. </p>
</div>
</li>
<li class="has-flyout">
<a href="#" class="main">Nav Item 3</a>
<a href="#" class="flyout-toggle"><span></span></a>
<div class="flyout">
Content...
</div>
</li>
<li class="has-flyout">
<a href="#" class="main">Nav Item 4</a>
<a href="#" class="flyout-toggle"><span></span></a>
<div class="flyout large right">
Content...
</div>
</li>
<li class="has-flyout">
<a href="#" class="main" data-reveal-id="testModal">Reveal</a>
<a href="#" class="flyout-toggle"><span></span></a>
<div class="flyout large right">
Content...
</div>
</li>
</ul>
</div>
</div>
<div class="row">
<div class="eight columns">
<ul class="breadcrumbs">
<li><a href="#">Home</a></li>
<li><a href="#">Features</a></li>
<li><a href="#">Gene Splicing</a></li>
<li><a href="#">Features</a></li>
<li><a href="#">Gene Splicing</a></li>
<li><a href="#">Features</a></li>
<li><a href="#">Gene Splicing</a></li>
<li class="current"><a href="#">Home</a></li>
</ul>
<ul class="breadcrumbs">
<li><a href="#">Home</a></li>
<li><a href="#">Features</a></li>
<li class="unavailable"><a href="#">Gene Splicing</a></li>
<li class="current"><a href="#">Home</a></li>
</ul>
<ul class="breadcrumbs">
<li><span>Home</span></li>
<li><span>Features</span></li>
<li><span>Gene Splicing</span></li>
<li class="current"><span>Home</span></li>
</ul>
<form>
<input type="submit" class="tiny blue nice button radius" />
<a href="#" class="tiny blue nice button radius">Link Button</a>
</form>
<form>
<input type="submit" class="small blue nice button radius" />
<a href="#" class="small blue nice button radius">Link Button</a>
</form>
<form>
<input type="submit" class="medium blue nice button radius" />
<a href="#" class="medium blue nice button radius">Link Button</a>
</form>
<form>
<input type="submit" class="large blue nice button radius" />
<a href="#" class="large blue nice button radius">Link Button</a>
</form>
<h3>The Grid</h3>
<div class="display-grid">
<div class="row">
<div class="twelve columns">
This is a twelve column section in a row.
</div>
</div>
<div class="row">
<div class="six columns">
Six Columns
</div>
<div class="six columns">
Six Columns
</div>
</div>
<div class="row">
<div class="eight columns">
Eight Columns
</div>
<div class="four columns">
Four Columns
</div>
</div>
<div class="row">
<div class="four columns">
Four Columns
</div>
<div class="four columns">
Four Columns
</div>
<div class="four columns">
Four Columns
</div>
</div>
<div class="row">
<div class="three columns">
Three Columns
</div>
<div class="three columns">
Three Columns
</div>
<div class="three columns">
Three Columns
</div>
<div class="three columns">
Three Columns
</div>
</div>
<div class="row">
<div class="ten columns">
Ten Columns
</div>
<div class="two columns">
Two
</div>
</div>
<div class="row">
<div class="two columns">
Two
</div>
<div class="two columns">
Two
</div>
<div class="two columns">
Two
</div>
<div class="two columns">
Two
</div>
<div class="two columns">
Two
</div>
<div class="two columns">
Two
</div>
</div>
</div>
<h3>Tabs</h3>
<dl class="contained mobile tabs">
<dd><a href="#simple1" class="active">Complex Form Content</a></dd>
<dd><a href="#simple2">Modal Dialog Call</a></dd>
<dd><a href="#simple3">UI Elements</a></dd>
</dl>
<ul class="contained tabs-content">
<li class="active" id="simple1Tab">
<form>
<label>Label</label>
<input type="text" class="input-text expand" placeholder="input.input-text.expand" />
<p>This is a paragraph with an inline select element.
<select>
<option>Option 1</option>
</select>
</p>
<input type="submit" class="blue button" value="Submit Input" />
</form>
<form class="nice">
<label>Nice Form Label</label>
<input type="text" class="input-text expand" placeholder="input.input-text.expand" />
<p>This is a paragraph with an inline select element.
<select>
<option>Option 1</option>
</select>
</p>
<input type="submit" class="nice blue button" value="Submit Input" />
</form>
<form class="custom">
<label>Custom Form Label</label>
<input type="text" class="input-text expand" placeholder="input.input-text.expand" />
<p>This is a paragraph with an inline select element.
<select class="small">
<option></option>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
<option>Option 5</option>
<option>Option 6</option>
</select>
</p>
<p>This is a paragraph with an inline select element.
<select>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
<option>Option 5</option>
<option>Option 6</option>
</select>
</p>
<input type="submit" class="nice blue button" value="Submit Input" />
</form>
</li>
<li id="simple2Tab">
<p>This button calls a modal from within the tabs.</p>
<a href="#" data-reveal-id="testModal" class="nice blue button">Fire Reveal Modal</a>
<form class="custom">
<label>Custom Form Label</label>
<input type="text" class="input-text expand" placeholder="input.input-text.expand" />
<p>This is a paragraph with an inline select element.
<select class="small">
<option></option>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
<option>Option 5</option>
<option>Option 6</option>
</select>
</p>
<p>This is a paragraph with an inline select element.
<select>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
<option>Option 5</option>
<option>Option 6</option>
</select>
</p>
<input type="submit" class="nice blue button" value="Submit Input" />
</form>
</li>
<li id="simple3Tab">
<div class="alert-box success">
This is a success alert (div.alert-box.success).
<a href="" class="close">×</a>
</div>
<p>
<span class="blue radius label">Added 01/19</span> This <span class="has-tip bottom" id="interestingTip" data-width="210" title="Some small explanation or tidbit that would live within the tooltip. Should only work for simple text tips.">paragraph</span> has an inline label to let you know that it was added on January 19, 2012 courtesy of Thomas Klemm. Thanks man!
</p>
<ul class="pagination">
<li class="unavailable"><a href="">«</a></li>
<li class="current"><a href="">1</a></li>
<li><a href="">2</a></li>
<li><a href="">3</a></li>
<li><a href="">4</a></li>
<li class="unavailable"><a href="">…</a></li>
<li><a href="">12</a></li>
<li><a href="">13</a></li>
<li><a href="">»</a></li>
</ul>
</li>
</ul>
<h3>Buttons</h3>
<div class="row">
<div class="six columns">
<p><a href="#" class="tiny white button">Tiny White Button</a></p>
<p><a href="#" class="small blue button">Small Blue Button</a></p>
<p><a href="#" class="red button">Medium Red Button</a></p>
<p><a href="#" class="large black button">Large Black Button</a></p>
</div>
<div class="six columns">
<p><a href="#" class="nice radius tiny white button">Tiny White Button</a></p>
<p><a href="#" class="nice radius small blue button">Nice Blue Button</a></p>
<p><a href="#" class="nice radius red button">Nice Red Button</a></p>
<p><a href="#" class="nice radius large black button">Nice Black Button</a></p>
</div>
</div>
<h3>Reveal</h3>
<div class="row">
<div class="six columns">
<h6>Data Attributes</h6>
<p>
<a href="#" class="tiny blue button" data-reveal-id="testModal">Default</a>
<a href="#" class="tiny blue button" data-reveal-id="testModal" data-animation="fade">Fade</a>
<a href="#" class="tiny blue button" data-reveal-id="testModal" data-animation="none">None</a>
</p>
<h6>JavaScript</h6>
<p>
<a href="#" id="fireReveal" class="tiny blue button">Default</a>
<a href="#" id="fireRevealFade" class="tiny blue button">Fade</a>
<a href="#" id="fireRevealNone" class="tiny blue button">None</a>
</p>
</div>
</div>
<h3>Disabled Forms</h3>
<form class="custom">
<label for="radio1"><input name="radio1" type="radio" id="radio1" style="display: none; "> Radio Button 1</label>
<label for="radio2"><input name="radio1" type="radio" id="radio2" style="display: none; "> Radio Button 2</label>
<label for="radio3"><input name="radio1" disabled="DISABLED" type="radio" id="radio3" style="display: none; "> Radio Button 3</label>
<label for="checkbox1"><input type="checkbox" id="checkbox1" style="display: none; "> Label for Checkbox</label>
<label for="checkbox2"><input type="checkbox" id="checkbox2" checked="" style="display: none; "> Label for Checkbox</label>
<label for="checkbox3"><input type="checkbox" disabled="DISABLED" checked="" id="checkbox3" style="display: none; "> Label for Checkbox</label>
<p>This is a paragraph with an inline select element.
<select disabled="DISABLED">
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
<option>Option 5</option>
<option>Option 6</option>
</select>
</p>
</form>
</div>
<div class="four columns">
<dl class="sub-nav">
<dt>Filter:</dt>
<dd class="active"><a href="#">All</a></dd>
<dd><a href="#">Active</a></dd>
<dd><a href="#">Pending</a></dd>
</dl>
<h4>Other Resources</h4>
<p>Once you've exhausted the fun in this document, you should check out:</p>
<ul class="disc">
<li><a href="http://foundation.zurb.com/docs">Foundation Documentation</a><br />Everything you need to know about using the framework.</li>
<li><a href="http://github.com/zurb/foundation">Foundation on Github</a><br />Latest code, issue reports, feature requests and more.</li>
<li><a href="http://twitter.com/foundationzurb">@foundationzurb</a><br />Ping us on Twitter if you have questions. If you build something with this we'd love to see it (and send you a totally boss sticker).</li>
</ul>
<p><a href="#" class="tiny white button">Tiny White Button</a></p>
</div>
</div>
</div>
<!-- container -->
<div id="testModal" class="reveal-modal">
<h2>Awesome. I have it.</h2>
<p class="lead">Your couch. It's mine.</p>
<form class="nice custom">
<label>Custom Form Label</label>
<input type="text" class="input-text expand" placeholder="input.input-text.expand" />
<p>This is a paragraph with an inline select element.
<select>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
<option>Option 5</option>
<option>Option 6</option>
<option>Option 7</option>
</select>
</p>
<input type="submit" class="nice blue button" value="Submit Input" />
</form>
<a class="close-reveal-modal">×</a>
</div>
<!-- Included JS Files -->
<script src="javascripts/jquery.min.js"></script>
<!-- Combine and Compress These JS Files -->
<script src="javascripts/jquery.reveal.js"></script>
<script src="javascripts/jquery.orbit-1.4.0.js"></script>
<script src="javascripts/jquery.customforms.js"></script>
<script src="javascripts/jquery.placeholder.min.js"></script>
<script src="javascripts/jquery.tooltips.js"></script>
<!-- End Combine and Compress These JS Files -->
<script src="javascripts/app.js"></script>
<script>
$('#testModal').bind('reveal:open reveal:opened reveal:close reveal:closed', function (event) {
console.log(event);
});
$('#fireReveal').click(function (event) {
event.preventDefault();
$('#testModal').reveal();
});
$('#fireRevealFade').click(function (event) {
event.preventDefault();
$('#testModal').reveal({animation: 'fade'});
});
$('#fireRevealNone').click(function (event) {
event.preventDefault();
$('#testModal').reveal({animation: 'none'});
});
</script>
</body>
</html>