zurb-foundation 3.0.7 → 3.0.8.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/CONTRIBUTING.md +43 -0
- data/Gemfile.lock +2 -27
- data/README.md +2 -2
- data/foundation.gemspec +1 -3
- data/index.html +12 -6
- data/lib/foundation/version.rb +1 -1
- data/lib/zurb-foundation.rb +11 -4
- data/{stylesheets → scss}/foundation/_settings.scss +17 -2
- data/{stylesheets → scss}/foundation/common/_base.scss +0 -0
- data/{stylesheets → scss}/foundation/common/_forms.scss +2 -2
- data/{stylesheets → scss}/foundation/common/_globals.scss +3 -0
- data/{stylesheets → scss}/foundation/common/_typography.scss +7 -5
- data/{stylesheets → scss}/foundation/components/_grid.scss +34 -19
- data/{stylesheets → scss}/foundation/components/modules/_all.scss +1 -1
- data/{stylesheets → scss}/foundation/components/modules/_buttons.scss +14 -12
- data/{stylesheets → scss}/foundation/components/modules/_navbar.scss +0 -0
- data/{stylesheets → scss}/foundation/components/modules/_offcanvas.scss +0 -0
- data/{stylesheets → scss}/foundation/components/modules/_orbit.scss +0 -0
- data/{stylesheets → scss}/foundation/components/modules/_reveal.scss +1 -0
- data/{stylesheets → scss}/foundation/components/modules/_tabs.scss +6 -4
- data/{stylesheets → scss}/foundation/components/modules/_ui.scss +19 -29
- data/{stylesheets → scss}/foundation/functions/_all.scss +0 -0
- data/{stylesheets → scss}/foundation/functions/_convert-number-to-word.scss +0 -0
- data/{stylesheets → scss}/foundation/functions/_grid-calc.scss +0 -0
- data/{stylesheets → scss}/foundation/functions/_modular-scale.sass +0 -0
- data/{stylesheets → scss}/foundation/mixins/_all.scss +0 -0
- data/{stylesheets → scss}/foundation/mixins/_clearfix.scss +0 -0
- data/{stylesheets → scss}/foundation/mixins/_css-triangle.scss +0 -0
- data/{stylesheets → scss}/foundation/mixins/_font-size.scss +2 -0
- data/{stylesheets → scss}/foundation/mixins/_respond-to.scss +0 -0
- data/{stylesheets → scss}/foundation/mixins/_semantic-grid.scss +28 -8
- data/{stylesheets → scss}/foundation.scss +2 -2
- data/templates/project/index.html +12 -12
- data/templates/project/manifest.rb +27 -42
- data/templates/project/{sass → scss}/_settings.scss +17 -0
- data/templates/project/{sass → scss}/app.scss +4 -4
- data/templates/upgrade/manifest.rb +39 -0
- data/test/buttons.html +184 -0
- data/test/config.rb +11 -0
- data/test/elements.html +339 -0
- data/test/forms.html +376 -0
- data/test/grid.html +560 -0
- data/test/images/orbit-demo/demo1.jpeg +0 -0
- data/test/images/orbit-demo/demo2.jpeg +0 -0
- data/test/images/orbit-demo/demo3.jpeg +0 -0
- data/test/images/orbit-demo/slider-background.jpeg +0 -0
- data/test/index.html +84 -0
- data/test/navigation.html +239 -0
- data/test/orbit.html +106 -0
- data/test/reveal.html +78 -0
- data/test/scss/_settings.scss +75 -0
- data/test/scss/styles.scss +2 -0
- data/test/tabs.html +184 -0
- data/test/template.html +60 -0
- data/test/type.html +194 -0
- data/vendor/assets/javascripts/foundation/app.js +5 -4
- data/vendor/assets/javascripts/foundation/index.js +1 -0
- data/vendor/assets/javascripts/foundation/jquery.foundation.buttons.js +6 -2
- data/vendor/assets/javascripts/foundation/jquery.foundation.forms.js +7 -7
- data/vendor/assets/javascripts/foundation/jquery.foundation.mediaQueryToggle.js +21 -0
- data/vendor/assets/javascripts/foundation/jquery.foundation.orbit.js +2 -1
- metadata +73 -75
- data/config/assets.yml +0 -58
- data/public/assets/foundation.js +0 -11
- data/public/assets/jquery.js +0 -23
- data/test.html +0 -232
- data/test2.html +0 -320
- data/type.html +0 -134
data/test/grid.html
ADDED
@@ -0,0 +1,560 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
|
3
|
+
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
|
4
|
+
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
|
5
|
+
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
|
6
|
+
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
|
7
|
+
<head>
|
8
|
+
<meta charset="utf-8" />
|
9
|
+
|
10
|
+
<!-- Set the viewport width to device width for mobile -->
|
11
|
+
<meta name="viewport" content="width=device-width" />
|
12
|
+
|
13
|
+
<title>Foundation Grid Testing</title>
|
14
|
+
|
15
|
+
<!-- Included CSS Files -->
|
16
|
+
<link rel="stylesheet" href="stylesheets/styles.css">
|
17
|
+
<style type="text/css">
|
18
|
+
.row.display {
|
19
|
+
background: #F4F4F4;
|
20
|
+
margin-bottom: 10px;
|
21
|
+
}
|
22
|
+
.row.display .column, .row.display .columns, .block-grid li {
|
23
|
+
background: #E7E7E7;
|
24
|
+
border: 1px solid #DDD;
|
25
|
+
font-size: 11px;
|
26
|
+
text-indent: 3px;
|
27
|
+
padding-top: 6px;
|
28
|
+
padding-bottom: 6px;
|
29
|
+
}
|
30
|
+
</style>
|
31
|
+
<script src="../vendor/assets/javascripts/foundation/modernizr.foundation.js"></script>
|
32
|
+
|
33
|
+
<!-- IE Fix for HTML5 Tags -->
|
34
|
+
<!--[if lt IE 9]>
|
35
|
+
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
36
|
+
<![endif]-->
|
37
|
+
</head>
|
38
|
+
<body>
|
39
|
+
|
40
|
+
<div class="row">
|
41
|
+
<div class="twelve columns">
|
42
|
+
<p><a href="index.html">« Back</a></p>
|
43
|
+
<h2>Foundation Grid Testing</h2>
|
44
|
+
<hr />
|
45
|
+
<dl class="sub-nav">
|
46
|
+
<dt>Go to:</dt>
|
47
|
+
<dd><a href="#base-ex">Grid Example</a></dd>
|
48
|
+
<dd><a href="#offset">Offsets</a></dd>
|
49
|
+
<dd><a href="#center">Centered</a></dd>
|
50
|
+
<dd><a href="#order">Source Ordering</a></dd>
|
51
|
+
<dd><a href="#mobile">Mobile Grid</a></dd>
|
52
|
+
<dd><a href="#block">Block Grids</a></dd>
|
53
|
+
</dl>
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
|
57
|
+
<!-- Test Foundation Components Here -->
|
58
|
+
<div class="row">
|
59
|
+
<div class="twelve columns">
|
60
|
+
<h3>The Grid</h3>
|
61
|
+
<h4 class="subheader">Create powerful multi-device layouts quickly and easily with the 12-column, nestable Foundation 3 grid. If you're familiar with grid systems, you'll feel right at home.</h4>
|
62
|
+
|
63
|
+
<!-- <h4>The Basics</h4>
|
64
|
+
<p>The grid is built around two key elements: rows and columns. Rows create a max-width and contain the columns; columns create the actual structure. For layouts to work properly, always put your page content inside a row and a column.</p>
|
65
|
+
|
66
|
+
<p>What you need to know is that <strong>columns don't have a fixed width.</strong> They can vary based on the resolution of the screen, or the size of the window (try scaling down this window to see what we mean). Design with that in mind.</p>
|
67
|
+
|
68
|
+
<hr />
|
69
|
+
|
70
|
+
<h4>Technical Details</h4>
|
71
|
+
<p>The Foundation 3 grid, like everything else in Foundation 3, is built with <code>box-sizing: border-box</code>, a powerful CSS property that tells the browser to consider border and padding as part of the width of an object rather than as an addition. That enables us to construct the grid extremely simply, which is good news for anyone who lamented how difficult it was to modify the Foundation 2 grid.</p>
|
72
|
+
<p>Now, gutters are created simply with padding on the columns. That means columns have simple widths like 25%, or 50%. Adjusting the padding adjusts the gutters, and this can be controlled either through SCSS variables, the download customizer, or through the CSS itself.</p>
|
73
|
+
-->
|
74
|
+
<br>
|
75
|
+
|
76
|
+
<div class="row">
|
77
|
+
<div class="four columns">
|
78
|
+
<a name="base-ex"></a>
|
79
|
+
<h4>Examples</h4>
|
80
|
+
<p>These are examples of different ways to use the Foundation Grid. Foundation 3 uses <kbd>border-box</kbd> so that borders and padding do not effect the overall width.</p>
|
81
|
+
<h5>Nesting</h5>
|
82
|
+
<p>The grid allows for nesting down as far as you'd like, though at a certain point it will get absurd. You can use this nesting to create quite complex layouts, as well as some other tricks like form layouts or visual elements.</p>
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div class="eight columns">
|
86
|
+
<div class="row display">
|
87
|
+
<div class="four columns">
|
88
|
+
.four.columns
|
89
|
+
</div>
|
90
|
+
<div class="four columns">
|
91
|
+
.four.columns
|
92
|
+
</div>
|
93
|
+
<div class="four columns">
|
94
|
+
.four.columns
|
95
|
+
</div>
|
96
|
+
</div>
|
97
|
+
<div class="row display">
|
98
|
+
<div class="three columns">
|
99
|
+
.three.columns
|
100
|
+
</div>
|
101
|
+
<div class="six columns">
|
102
|
+
.six.columns
|
103
|
+
</div>
|
104
|
+
<div class="three columns">
|
105
|
+
.three.columns
|
106
|
+
</div>
|
107
|
+
</div>
|
108
|
+
<div class="row display">
|
109
|
+
<div class="two columns">
|
110
|
+
.two.columns
|
111
|
+
</div>
|
112
|
+
<div class="eight columns">
|
113
|
+
.eight.columns
|
114
|
+
</div>
|
115
|
+
<div class="two columns">
|
116
|
+
.two.columns
|
117
|
+
</div>
|
118
|
+
</div>
|
119
|
+
<div class="row display">
|
120
|
+
<div class="one columns">
|
121
|
+
.one
|
122
|
+
</div>
|
123
|
+
<div class="eleven columns">
|
124
|
+
.eleven.columns
|
125
|
+
</div>
|
126
|
+
</div>
|
127
|
+
<div class="row display">
|
128
|
+
<div class="two columns">
|
129
|
+
.two.columns
|
130
|
+
</div>
|
131
|
+
<div class="ten columns">
|
132
|
+
.ten.columns
|
133
|
+
</div>
|
134
|
+
</div>
|
135
|
+
<div class="row display">
|
136
|
+
<div class="three columns">
|
137
|
+
.three.columns
|
138
|
+
</div>
|
139
|
+
<div class="nine columns">
|
140
|
+
.nine.columns
|
141
|
+
</div>
|
142
|
+
</div>
|
143
|
+
<div class="row display">
|
144
|
+
<div class="four columns">
|
145
|
+
.four.columns
|
146
|
+
</div>
|
147
|
+
<div class="eight columns">
|
148
|
+
.eight.columns
|
149
|
+
</div>
|
150
|
+
</div>
|
151
|
+
<div class="row display">
|
152
|
+
<div class="five columns">
|
153
|
+
.five.columns
|
154
|
+
</div>
|
155
|
+
<div class="seven columns">
|
156
|
+
.seven.columns
|
157
|
+
</div>
|
158
|
+
</div>
|
159
|
+
<div class="row display">
|
160
|
+
<div class="six columns">
|
161
|
+
.six.columns
|
162
|
+
</div>
|
163
|
+
<div class="six columns">
|
164
|
+
.six.columns
|
165
|
+
</div>
|
166
|
+
</div>
|
167
|
+
<div class="row display">
|
168
|
+
<div class="seven columns">
|
169
|
+
.seven.columns
|
170
|
+
</div>
|
171
|
+
<div class="five columns">
|
172
|
+
.five.columns
|
173
|
+
</div>
|
174
|
+
</div>
|
175
|
+
<div class="row display">
|
176
|
+
<div class="eight columns">
|
177
|
+
.eight.columns
|
178
|
+
</div>
|
179
|
+
<div class="four columns">
|
180
|
+
.four.columns
|
181
|
+
</div>
|
182
|
+
</div>
|
183
|
+
<div class="row display">
|
184
|
+
<div class="nine columns">
|
185
|
+
.nine.columns
|
186
|
+
</div>
|
187
|
+
<div class="three columns">
|
188
|
+
.three.columns
|
189
|
+
</div>
|
190
|
+
</div>
|
191
|
+
<div class="row display">
|
192
|
+
<div class="ten columns">
|
193
|
+
.ten.columns
|
194
|
+
</div>
|
195
|
+
<div class="two columns">
|
196
|
+
.two.columns
|
197
|
+
</div>
|
198
|
+
</div>
|
199
|
+
<div class="row display">
|
200
|
+
<div class="eleven columns">
|
201
|
+
.eleven.columns
|
202
|
+
</div>
|
203
|
+
<div class="one columns">
|
204
|
+
.one
|
205
|
+
</div>
|
206
|
+
</div>
|
207
|
+
<div class="row display">
|
208
|
+
<div class="twelve columns">
|
209
|
+
.twelve.columns
|
210
|
+
</div>
|
211
|
+
</div>
|
212
|
+
</div>
|
213
|
+
</div>
|
214
|
+
|
215
|
+
<br><br>
|
216
|
+
|
217
|
+
<div class="row">
|
218
|
+
<div class="four columns">
|
219
|
+
<a name="offset"></a>
|
220
|
+
<h4>Offsets</h4>
|
221
|
+
<p>Offsets allow you to create additional space between columns in a row. Like the rest of the grid, they're nestable.</p>
|
222
|
+
</div>
|
223
|
+
<div class="eight columns">
|
224
|
+
<div class="row display">
|
225
|
+
<div class="one columns">
|
226
|
+
.one
|
227
|
+
</div>
|
228
|
+
<div class="eleven columns">
|
229
|
+
.eleven.columns
|
230
|
+
</div>
|
231
|
+
</div>
|
232
|
+
<div class="row display">
|
233
|
+
<div class="one columns">
|
234
|
+
.one
|
235
|
+
</div>
|
236
|
+
<div class="ten columns offset-by-one">
|
237
|
+
.ten.columns.offset-by-one
|
238
|
+
</div>
|
239
|
+
</div>
|
240
|
+
<div class="row display">
|
241
|
+
<div class="one columns">
|
242
|
+
.one
|
243
|
+
</div>
|
244
|
+
<div class="nine columns offset-by-two">
|
245
|
+
.nine.columns.offset-by-two
|
246
|
+
</div>
|
247
|
+
</div>
|
248
|
+
<div class="row display">
|
249
|
+
<div class="one columns">
|
250
|
+
.one
|
251
|
+
</div>
|
252
|
+
<div class="eight columns offset-by-three">
|
253
|
+
.eight.columns.offset-by-three
|
254
|
+
</div>
|
255
|
+
</div>
|
256
|
+
<div class="row display">
|
257
|
+
<div class="seven columns offset-by-five">
|
258
|
+
.seven.columns.offset-by-five
|
259
|
+
</div>
|
260
|
+
</div>
|
261
|
+
<div class="row display">
|
262
|
+
<div class="six columns offset-by-six">
|
263
|
+
.six.columns.offset-by-six
|
264
|
+
</div>
|
265
|
+
</div>
|
266
|
+
<div class="row display">
|
267
|
+
<div class="five columns offset-by-seven">
|
268
|
+
.five.columns.offset-by-seven
|
269
|
+
</div>
|
270
|
+
</div>
|
271
|
+
<div class="row display">
|
272
|
+
<div class="four columns offset-by-eight">
|
273
|
+
.four.columns.offset-by-eight
|
274
|
+
</div>
|
275
|
+
</div>
|
276
|
+
</div>
|
277
|
+
</div>
|
278
|
+
|
279
|
+
<br><br>
|
280
|
+
|
281
|
+
<div class="row">
|
282
|
+
<div class="four columns">
|
283
|
+
<a name="center"></a>
|
284
|
+
<h4>Centered Columns</h4>
|
285
|
+
<p>Centered columns are placed in the middle of the row. This does not center their content, but centers the grid element itself.</p>
|
286
|
+
</div>
|
287
|
+
<div class="eight columns">
|
288
|
+
<div class="row display">
|
289
|
+
<div class="one columns centered">
|
290
|
+
.one.columns.centered
|
291
|
+
</div>
|
292
|
+
</div>
|
293
|
+
<div class="row display">
|
294
|
+
<div class="two columns centered">
|
295
|
+
.two.columns.centered
|
296
|
+
</div>
|
297
|
+
</div>
|
298
|
+
<div class="row display">
|
299
|
+
<div class="three columns centered">
|
300
|
+
.three.columns.centered
|
301
|
+
</div>
|
302
|
+
</div>
|
303
|
+
<div class="row display">
|
304
|
+
<div class="four columns centered">
|
305
|
+
.four.columns.centered
|
306
|
+
</div>
|
307
|
+
</div>
|
308
|
+
<div class="row display">
|
309
|
+
<div class="five columns centered">
|
310
|
+
.five.columns.centered
|
311
|
+
</div>
|
312
|
+
</div>
|
313
|
+
<div class="row display">
|
314
|
+
<div class="six columns centered">
|
315
|
+
.six.columns.centered
|
316
|
+
</div>
|
317
|
+
</div>
|
318
|
+
<div class="row display">
|
319
|
+
<div class="seven columns centered">
|
320
|
+
.seven.columns.centered
|
321
|
+
</div>
|
322
|
+
</div>
|
323
|
+
<div class="row display">
|
324
|
+
<div class="eight columns centered">
|
325
|
+
.eight.columns.centered
|
326
|
+
</div>
|
327
|
+
</div>
|
328
|
+
<div class="row display">
|
329
|
+
<div class="nine columns centered">
|
330
|
+
.nine.columns.centered
|
331
|
+
</div>
|
332
|
+
</div>
|
333
|
+
<div class="row display">
|
334
|
+
<div class="ten columns centered">
|
335
|
+
.ten.columns.centered
|
336
|
+
</div>
|
337
|
+
</div>
|
338
|
+
<div class="row display">
|
339
|
+
<div class="eleven columns centered">
|
340
|
+
.eleven.columns.centered
|
341
|
+
</div>
|
342
|
+
</div>
|
343
|
+
<div class="row display">
|
344
|
+
<div class="twelve columns centered">
|
345
|
+
.twelve.columns.centered
|
346
|
+
</div>
|
347
|
+
</div>
|
348
|
+
</div>
|
349
|
+
</div>
|
350
|
+
|
351
|
+
<br><br>
|
352
|
+
|
353
|
+
<div class="row">
|
354
|
+
<div class="four columns">
|
355
|
+
<a name="order"></a>
|
356
|
+
<h4>Source Ordering</h4>
|
357
|
+
<p>Using these source ordering classes, you can shift columns around on desktops and tablets. On phones, the grid will still be linearized into the order of the markup.</p>
|
358
|
+
</div>
|
359
|
+
<div class="eight columns">
|
360
|
+
<div class="row display">
|
361
|
+
<div class="two columns push-ten">
|
362
|
+
.two.columns
|
363
|
+
</div>
|
364
|
+
<div class="ten columns pull-two">
|
365
|
+
.ten.columns (last)
|
366
|
+
</div>
|
367
|
+
</div>
|
368
|
+
<div class="row display">
|
369
|
+
<div class="three columns push-nine">
|
370
|
+
.three.columns
|
371
|
+
</div>
|
372
|
+
<div class="nine columns pull-three">
|
373
|
+
.nine.columns (last)
|
374
|
+
</div>
|
375
|
+
</div>
|
376
|
+
<div class="row display">
|
377
|
+
<div class="four columns push-eight">
|
378
|
+
.four.columns
|
379
|
+
</div>
|
380
|
+
<div class="eight columns pull-four">
|
381
|
+
.eight.columns (last)
|
382
|
+
</div>
|
383
|
+
</div>
|
384
|
+
<div class="row display">
|
385
|
+
<div class="five columns push-seven">
|
386
|
+
.five.columns
|
387
|
+
</div>
|
388
|
+
<div class="seven columns pull-five">
|
389
|
+
.seven.columns (last)
|
390
|
+
</div>
|
391
|
+
</div>
|
392
|
+
<div class="row display">
|
393
|
+
<div class="six columns push-six">
|
394
|
+
.six.columns
|
395
|
+
</div>
|
396
|
+
<div class="six columns pull-six">
|
397
|
+
.six.columns (last)
|
398
|
+
</div>
|
399
|
+
</div>
|
400
|
+
<div class="row display">
|
401
|
+
<div class="seven columns push-five">
|
402
|
+
.seven.columns
|
403
|
+
</div>
|
404
|
+
<div class="five columns pull-seven">
|
405
|
+
.five.columns (last)
|
406
|
+
</div>
|
407
|
+
</div>
|
408
|
+
<div class="row display">
|
409
|
+
<div class="eight columns push-four">
|
410
|
+
.eight.columns
|
411
|
+
</div>
|
412
|
+
<div class="four columns pull-eight">
|
413
|
+
.four.columns (last)
|
414
|
+
</div>
|
415
|
+
</div>
|
416
|
+
<div class="row display">
|
417
|
+
<div class="nine columns push-three">
|
418
|
+
.nine.columns
|
419
|
+
</div>
|
420
|
+
<div class="three columns pull-nine">
|
421
|
+
.three.columns (last)
|
422
|
+
</div>
|
423
|
+
</div>
|
424
|
+
<div class="row display">
|
425
|
+
<div class="ten columns push-two">
|
426
|
+
.ten.columns
|
427
|
+
</div>
|
428
|
+
<div class="two columns pull-ten">
|
429
|
+
.two (last)
|
430
|
+
</div>
|
431
|
+
</div>
|
432
|
+
</div>
|
433
|
+
</div>
|
434
|
+
|
435
|
+
<br><br>
|
436
|
+
|
437
|
+
<div class="row">
|
438
|
+
<div class="four columns">
|
439
|
+
<a name="mobile"></a>
|
440
|
+
<h4>Mobile Grid</h4>
|
441
|
+
<p>When you're creating your layout you can optionally attach classes that take your existing grid elements and attach them to a phone grid.</p>
|
442
|
+
<h5>Mobile Source Ordering</h5>
|
443
|
+
<p>The syntax includes <code>.pull-one-mobile</code>, <code>.pull-two-mobile</code>, <code>.pull-three-mobile</code>, <code>.push-one-mobile</code>, <code>.push-two-mobile</code>, <code>.push-three-mobile</code>.</p>
|
444
|
+
</div>
|
445
|
+
<div class="eight columns">
|
446
|
+
<div class="row display">
|
447
|
+
<div class="three mobile-one columns">
|
448
|
+
.three.mobile-one.columns
|
449
|
+
</div>
|
450
|
+
<div class="nine mobile-three columns">
|
451
|
+
.nine.mobile-three.columns
|
452
|
+
</div>
|
453
|
+
</div>
|
454
|
+
<div class="row display">
|
455
|
+
<div class="six mobile-two columns">
|
456
|
+
.six.mobile-two.columns
|
457
|
+
</div>
|
458
|
+
<div class="six mobile-two columns">
|
459
|
+
.six.mobile-two.columns
|
460
|
+
</div>
|
461
|
+
</div>
|
462
|
+
<div class="row display">
|
463
|
+
<div class="nine mobile-three columns">
|
464
|
+
.nine.mobile-three.columns
|
465
|
+
</div>
|
466
|
+
<div class="three mobile-one columns">
|
467
|
+
.three.mobile-one.columns
|
468
|
+
</div>
|
469
|
+
</div>
|
470
|
+
<div class="row display">
|
471
|
+
<div class="six mobile-two columns">
|
472
|
+
.six.mobile-two.columns
|
473
|
+
</div>
|
474
|
+
<div class="six mobile-two columns">
|
475
|
+
.six.mobile-two.columns
|
476
|
+
</div>
|
477
|
+
</div>
|
478
|
+
<div class="row display">
|
479
|
+
<div class="nine mobile-three columns">
|
480
|
+
.nine.mobile-three.columns
|
481
|
+
</div>
|
482
|
+
<div class="three mobile-one columns">
|
483
|
+
.three.mobile-one.columns
|
484
|
+
</div>
|
485
|
+
</div>
|
486
|
+
</div>
|
487
|
+
</div>
|
488
|
+
|
489
|
+
<br><br>
|
490
|
+
|
491
|
+
<div class="row">
|
492
|
+
<div class="four columns">
|
493
|
+
<a name="block"></a>
|
494
|
+
<h4>Block Grids</h4>
|
495
|
+
<p>Block grids are <code>ul</code> with <code>.two-up</code>, <code>.three-up</code>, <code>.four-up</code> and <code>.five-up</code> styles. These are ideal for blocked-in content generated by an application, as they do not require rows or even numbers of elements to display correctly.</p>
|
496
|
+
</div>
|
497
|
+
<div class="eight columns">
|
498
|
+
<h6>Two-up</h6>
|
499
|
+
<ul class="block-grid two-up">
|
500
|
+
<li>Two-up element</li>
|
501
|
+
<li>Two-up element</li>
|
502
|
+
<li>Two-up element</li>
|
503
|
+
<li>Two-up element</li>
|
504
|
+
<li>Two-up element</li>
|
505
|
+
</ul>
|
506
|
+
|
507
|
+
<h6>Three-up</h6>
|
508
|
+
<ul class="block-grid three-up">
|
509
|
+
<li>Three-up element</li>
|
510
|
+
<li>Three-up element</li>
|
511
|
+
<li>Three-up element</li>
|
512
|
+
<li>Three-up element</li>
|
513
|
+
<li>Three-up element</li>
|
514
|
+
</ul>
|
515
|
+
|
516
|
+
<h6>Four-up (Mobile)</h6>
|
517
|
+
<ul class="block-grid mobile four-up">
|
518
|
+
<li>Four-up element</li>
|
519
|
+
<li>Four-up element</li>
|
520
|
+
<li>Four-up element</li>
|
521
|
+
<li>Four-up element</li>
|
522
|
+
<li>Four-up element</li>
|
523
|
+
<li>Four-up element</li>
|
524
|
+
</ul>
|
525
|
+
|
526
|
+
<h6>Five-up</h6>
|
527
|
+
<ul class="block-grid five-up">
|
528
|
+
<li>Five-up element</li>
|
529
|
+
<li>Five-up element</li>
|
530
|
+
<li>Five-up element</li>
|
531
|
+
<li>Five-up element</li>
|
532
|
+
<li>Five-up element</li>
|
533
|
+
<li>Five-up element</li>
|
534
|
+
<li>Five-up element</li>
|
535
|
+
</ul>
|
536
|
+
</div>
|
537
|
+
</div>
|
538
|
+
|
539
|
+
</div>
|
540
|
+
</div>
|
541
|
+
|
542
|
+
<!-- Included JS Files -->
|
543
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.js"></script>
|
544
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.mediaQueryToggle.js"></script>
|
545
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.placeholder.js"></script>
|
546
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.alerts.js"></script>
|
547
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.accordion.js"></script>
|
548
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.buttons.js"></script>
|
549
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.tooltips.js"></script>
|
550
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.forms.js"></script>
|
551
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.tabs.js"></script>
|
552
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.navigation.js"></script>
|
553
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.reveal.js"></script>
|
554
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.orbit.js"></script>
|
555
|
+
<script src="../vendor/assets/javascripts/foundation/app.js"></script>
|
556
|
+
<script type="text/javascript">
|
557
|
+
// Page-Specific JavaScript Goes Here
|
558
|
+
</script>
|
559
|
+
</body>
|
560
|
+
</html>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/test/index.html
ADDED
@@ -0,0 +1,84 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
|
4
|
+
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
|
5
|
+
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
|
6
|
+
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
|
7
|
+
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
|
8
|
+
<head>
|
9
|
+
<meta charset="utf-8" />
|
10
|
+
|
11
|
+
<!-- Set the viewport width to device width for mobile -->
|
12
|
+
<meta name="viewport" content="width=device-width" />
|
13
|
+
|
14
|
+
<title>Welcome to the Foundation Test Bed</title>
|
15
|
+
|
16
|
+
<!-- Included CSS Files -->
|
17
|
+
<link rel="stylesheet" href="stylesheets/styles.css">
|
18
|
+
|
19
|
+
<script src="../vendor/assets/javascripts/foundation/modernizr.foundation.js"></script>
|
20
|
+
|
21
|
+
<!-- IE Fix for HTML5 Tags -->
|
22
|
+
<!--[if lt IE 9]>
|
23
|
+
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
24
|
+
<![endif]-->
|
25
|
+
|
26
|
+
</head>
|
27
|
+
<body>
|
28
|
+
|
29
|
+
<div class="row">
|
30
|
+
<div class="twelve columns">
|
31
|
+
<h2>Welcome to the Foundation Test Bed</h2>
|
32
|
+
<h4 class="subheader">We've made it really easy to contribute to Foundation and test out the elements you want! Just pick the section that your want and dive right in.</h4>
|
33
|
+
<hr>
|
34
|
+
</div>
|
35
|
+
</div>
|
36
|
+
|
37
|
+
<div class="row">
|
38
|
+
|
39
|
+
<div class="four columns push-eight">
|
40
|
+
<div class="panel">
|
41
|
+
<h5>Available Testing Pages:</h5>
|
42
|
+
<ul class="disc">
|
43
|
+
<li><a href="grid.html">Grid</a></li>
|
44
|
+
<li><a href="type.html">Typography</a></li>
|
45
|
+
<li><a href="buttons.html">Buttons</a></li>
|
46
|
+
<li><a href="forms.html">Forms</a></li>
|
47
|
+
<li><a href="navigation.html">Navigation</a></li>
|
48
|
+
<li><a href="tabs.html">Tabs</a></li>
|
49
|
+
<li><a href="elements.html">Elements</a></li>
|
50
|
+
<li><a href="orbit.html">Orbit</a></li>
|
51
|
+
<li><a href="reveal.html">Reveal</a></li>
|
52
|
+
</ul>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
<div class="eight columns pull-four">
|
56
|
+
<h3>How to Test</h3>
|
57
|
+
<p>Within the <kbd>test/</kbd> directory you can run <kbd>bundle exec compass watch</kbd> while you're making changes to Foundation and want to see them reflected on-the-fly.</p>
|
58
|
+
|
59
|
+
<p>If you're adding a new feature to Foundation you can either update one of the existing <kbd>test/*.html</kbd> files or copy <kbd>test/template.html</kbd> to a new file. Then make sure you commit any changes to the test pages with your pull request.</p>
|
60
|
+
|
61
|
+
<p><strong>NOTE:</strong> If you add a new page make sure to include it in the available testing pages list on this page.</p>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<!-- Included JS Files -->
|
65
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.js"></script>
|
66
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.reveal.js"></script>
|
67
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.orbit.js"></script>
|
68
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.forms.js"></script>
|
69
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.placeholder.js"></script>
|
70
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.tooltips.js"></script>
|
71
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.alerts.js"></script>
|
72
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.buttons.js"></script>
|
73
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.accordion.js"></script>
|
74
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.navigation.js"></script>
|
75
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.mediaQueryToggle.js"></script>
|
76
|
+
<script src="../vendor/assets/javascripts/foundation/jquery.foundation.tabs.js"></script>
|
77
|
+
<script src="../vendor/assets/javascripts/foundation/app.js"></script>
|
78
|
+
<script type="text/javascript">
|
79
|
+
$(window).load(function(){
|
80
|
+
$("#featured").orbit();
|
81
|
+
});
|
82
|
+
</script>
|
83
|
+
</body>
|
84
|
+
</html>
|