ZURB-foundation 2.1.5.2 → 2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.mkdn +35 -3
- data/lib/ZURB-foundation.rb +2 -2
- data/stylesheets/zurb/_buttons.sass +91 -59
- data/stylesheets/zurb/_forms.sass +62 -30
- data/stylesheets/zurb/_globals.sass +23 -35
- data/stylesheets/zurb/_grid.sass +18 -3
- data/stylesheets/zurb/_mobile.sass +66 -48
- data/stylesheets/zurb/_orbit.sass +16 -33
- data/stylesheets/zurb/_reveal.sass +20 -15
- data/stylesheets/zurb/_typography.sass +7 -13
- data/stylesheets/zurb/_ui.sass +149 -113
- data/stylesheets/zurb/shared/_colors.sass +1 -1
- data/stylesheets/zurb/shared/_mixins.sass +4 -4
- data/templates/project/MIT-LICENSE.txt +1 -1
- data/templates/project/humans.txt +1 -1
- data/templates/project/index.html +35 -23
- data/templates/project/javascripts/app.js +20 -2
- data/templates/project/javascripts/jquery.customforms.js +18 -4
- data/templates/project/javascripts/jquery.orbit-1.4.0.js +9 -3
- data/templates/project/javascripts/jquery.reveal.js +63 -37
- data/templates/project/javascripts/jquery.tooltips.js +126 -76
- data/templates/project/javascripts/modernizr.foundation.js +3 -3
- data/templates/project/manifest.rb +1 -1
- data/templates/project/sass/_settings.sass +15 -12
- data/templates/project/sass/app.sass +14 -7
- data/templates/project/sass/foundation.sass +17 -0
- data/templates/project/sass/ie.sass +15 -1
- metadata +5 -5
- data/templates/project/javascripts/forms.jquery.js +0 -58
@@ -1,18 +1,10 @@
|
|
1
|
-
// CSS for jQuery Reveal Plugin
|
2
|
-
//
|
3
|
-
//
|
4
|
-
//
|
5
|
-
// Example markup:
|
6
|
-
//
|
7
|
-
// <div id="myModal" class="reveal-modal">
|
8
|
-
// <h2>Awesome. I have it.</h2>
|
9
|
-
// <p class="lead">Your couch. I it's mine.</p>
|
10
|
-
// <p>Lorem ipsum dolor sit amet ...</p>
|
11
|
-
// <a class="close-reveal-modal">×</a>
|
12
|
-
// </div>
|
1
|
+
// CSS for jQuery Reveal Plugin
|
2
|
+
// Maintained for Foundation. foundation.zurb.com
|
3
|
+
// Free to use under the MIT license.
|
4
|
+
// http://www.opensource.org/licenses/mit-license.php
|
13
5
|
|
14
6
|
// Reveal Modals
|
15
|
-
|
7
|
+
//-------------------------------------------------
|
16
8
|
|
17
9
|
.reveal-modal-bg
|
18
10
|
position: fixed
|
@@ -63,7 +55,7 @@
|
|
63
55
|
min-width: 0
|
64
56
|
|
65
57
|
// Reveal mobile
|
66
|
-
|
58
|
+
//--------------------------------------------------
|
67
59
|
|
68
60
|
@media handheld, only screen and (max-width: 1023px)
|
69
61
|
.reveal-modal-bg
|
@@ -86,4 +78,17 @@
|
|
86
78
|
left: 5%
|
87
79
|
margin-left: 0
|
88
80
|
padding: 20px
|
89
|
-
height: auto
|
81
|
+
height: auto
|
82
|
+
|
83
|
+
// NOTES
|
84
|
+
|
85
|
+
// Close button entity is ×
|
86
|
+
|
87
|
+
// Example markup
|
88
|
+
|
89
|
+
// <div id="myModal" class="reveal-modal">
|
90
|
+
// <h2>Awesome. I have it.</h2>
|
91
|
+
// <p class="lead">Your couch. I it's mine.</p>
|
92
|
+
// <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ultrices aliquet placerat. Duis pulvinar orci et nisi euismod vitae tempus lorem consectetur. Duis at magna quis turpis mattis venenatis eget id diam. </p>
|
93
|
+
// <a class="close-reveal-modal">×</a>
|
94
|
+
// </div>
|
@@ -1,14 +1,10 @@
|
|
1
1
|
// Typography
|
2
|
-
|
2
|
+
//------------------------------------------------
|
3
3
|
|
4
4
|
#{headings(all)}
|
5
5
|
color: #181818
|
6
6
|
font-weight: bold
|
7
7
|
line-height: 1.25
|
8
|
-
small
|
9
|
-
color: #777
|
10
|
-
a
|
11
|
-
font-weight: inherit
|
12
8
|
|
13
9
|
h1
|
14
10
|
+font-size(46)
|
@@ -57,15 +53,13 @@ small
|
|
57
53
|
|
58
54
|
// Blockquotes
|
59
55
|
//--------------------------------------------
|
60
|
-
blockquote
|
56
|
+
blockquote, blockquote p
|
61
57
|
line-height: 20px
|
62
58
|
color: #777
|
59
|
+
blockquote
|
63
60
|
margin: 0 0 18px
|
64
61
|
padding: 9px 20px 0 19px
|
65
62
|
border-left: 1px solid #ddd
|
66
|
-
p
|
67
|
-
line-height: 20px
|
68
|
-
color: #777
|
69
63
|
cite
|
70
64
|
display: block
|
71
65
|
+font-size(12)
|
@@ -92,13 +86,13 @@ abbr
|
|
92
86
|
text-transform: none
|
93
87
|
|
94
88
|
// Print styles
|
95
|
-
|
89
|
+
//-------------------------------------------
|
96
90
|
|
97
91
|
// Notes:
|
98
92
|
//
|
99
|
-
//
|
100
|
-
//
|
101
|
-
//
|
93
|
+
// Using "@media print" to avoid additional HTTP request to print.css
|
94
|
+
// Source: http://www.phpied.com/delay-loading-your-print-css/
|
95
|
+
// Credit: Paul Irish & HTML5 Boilerplate (http://html5boilerplate.com/)
|
102
96
|
|
103
97
|
.print-only
|
104
98
|
display: none !important
|
data/stylesheets/zurb/_ui.sass
CHANGED
@@ -4,15 +4,16 @@
|
|
4
4
|
// Labels
|
5
5
|
// Tabs
|
6
6
|
// Pagination
|
7
|
+
// Breadcrumbs
|
7
8
|
// Lists
|
8
9
|
// Panels
|
9
10
|
// Nav
|
10
|
-
// Tooltips
|
11
11
|
// Video
|
12
12
|
// Microformats
|
13
|
+
// Tooltips
|
13
14
|
|
14
15
|
// Alerts
|
15
|
-
|
16
|
+
//----------------------------------------------
|
16
17
|
|
17
18
|
div.alert-box
|
18
19
|
display: block
|
@@ -51,7 +52,7 @@ div.alert-box
|
|
51
52
|
|
52
53
|
|
53
54
|
// Labels
|
54
|
-
|
55
|
+
//------------------------------------------------
|
55
56
|
.label
|
56
57
|
padding: 0px 4px 2px
|
57
58
|
+font-size(11)
|
@@ -64,7 +65,7 @@ div.alert-box
|
|
64
65
|
position: relative
|
65
66
|
bottom: 1px
|
66
67
|
color: $white
|
67
|
-
background: $
|
68
|
+
background: $default-color
|
68
69
|
&.radius
|
69
70
|
+border-radius(2px)
|
70
71
|
&.round
|
@@ -86,7 +87,7 @@ div.alert-box
|
|
86
87
|
|
87
88
|
|
88
89
|
// Tabs
|
89
|
-
|
90
|
+
//------------------------------------------------
|
90
91
|
|
91
92
|
dl.tabs
|
92
93
|
display: block
|
@@ -193,23 +194,16 @@ dl.tabs.vertical dd a
|
|
193
194
|
border-top: 1px solid #eee
|
194
195
|
&.active
|
195
196
|
border: none
|
196
|
-
background: $
|
197
|
+
background: $default-color
|
197
198
|
color: $white
|
198
199
|
margin: 0
|
199
200
|
position: static
|
200
201
|
top: 0
|
201
202
|
height: auto
|
202
203
|
&:first-child
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
dt, dd, dt
|
207
|
-
float: none
|
208
|
-
height: auto
|
209
|
-
dl.nice.tabs.vertical
|
210
|
-
dd
|
211
|
-
float: none
|
212
|
-
height: auto
|
204
|
+
a
|
205
|
+
&.active
|
206
|
+
margin: 0
|
213
207
|
|
214
208
|
ul.tabs-content
|
215
209
|
margin: 0
|
@@ -218,6 +212,8 @@ ul.tabs-content
|
|
218
212
|
display: none
|
219
213
|
&.active
|
220
214
|
display: block
|
215
|
+
.no-js ul.tabs-content>li
|
216
|
+
display: block
|
221
217
|
|
222
218
|
dl.contained, dl.nice.contained
|
223
219
|
margin-bottom: 0
|
@@ -232,12 +228,14 @@ ul.contained.tabs-content
|
|
232
228
|
padding: 20px
|
233
229
|
border: solid 0 #ddd
|
234
230
|
border-width: 0 1px 1px 1px
|
231
|
+
ul.contained.vertical.tabs-content>li
|
232
|
+
border-width: 1px 1px 1px 1px
|
235
233
|
ul.nice.contained.tabs-content
|
236
234
|
&>li
|
237
235
|
border-color: #eee
|
238
236
|
|
239
237
|
// Pagination
|
240
|
-
|
238
|
+
//------------------------------------------------
|
241
239
|
|
242
240
|
ul.pagination
|
243
241
|
display: block
|
@@ -266,8 +264,51 @@ ul.pagination
|
|
266
264
|
a
|
267
265
|
border-bottom: none
|
268
266
|
|
267
|
+
// Breadcrumbs
|
268
|
+
//------------------------------------------------
|
269
|
+
ul.breadcrums
|
270
|
+
display: block
|
271
|
+
background: #f4f4f4
|
272
|
+
padding: 7px 10px
|
273
|
+
border: 1px solid #ddd
|
274
|
+
+border-radius(2px)
|
275
|
+
overflow: hidden
|
276
|
+
li
|
277
|
+
margin: 0
|
278
|
+
padding: 0 12px 0 0
|
279
|
+
float: left
|
280
|
+
a, span
|
281
|
+
text-transform: uppercase
|
282
|
+
+font-size(11)
|
283
|
+
padding-left: 12px
|
284
|
+
&:first-child
|
285
|
+
a, span
|
286
|
+
padding-left: 0
|
287
|
+
&:before
|
288
|
+
content: "/"
|
289
|
+
color: #333
|
290
|
+
&:first-child
|
291
|
+
&:before
|
292
|
+
content: ""
|
293
|
+
&.current
|
294
|
+
a
|
295
|
+
cursor: default
|
296
|
+
color: #333
|
297
|
+
&:hover a, a:focus
|
298
|
+
text-decoration: underline
|
299
|
+
&.current
|
300
|
+
&:hover a, a:focus
|
301
|
+
text-decoration: none
|
302
|
+
&.unavailable
|
303
|
+
a
|
304
|
+
color: #999
|
305
|
+
&:hover a, a:focus
|
306
|
+
text-decoration: none
|
307
|
+
color: #999
|
308
|
+
cursor: default
|
309
|
+
|
269
310
|
// Lists
|
270
|
-
|
311
|
+
//--------------------------------------------------
|
271
312
|
|
272
313
|
ul.nice, ol.nice
|
273
314
|
list-style: none
|
@@ -282,7 +323,7 @@ ul.nice li span.bullet, ol.nice li span.number
|
|
282
323
|
color: #ccc
|
283
324
|
|
284
325
|
// Panels
|
285
|
-
|
326
|
+
//---------------------------------------------------
|
286
327
|
|
287
328
|
div.panel
|
288
329
|
padding: 20px 20px 2px 20px
|
@@ -292,7 +333,7 @@ div.panel
|
|
292
333
|
margin: 0 0 20px 0
|
293
334
|
|
294
335
|
// Nav Bar with Dropdowns
|
295
|
-
|
336
|
+
//----------------------------------------------------
|
296
337
|
|
297
338
|
.nav-bar
|
298
339
|
height: 45px
|
@@ -307,46 +348,35 @@ div.panel
|
|
307
348
|
margin: 0
|
308
349
|
border-right: 1px solid #ddd
|
309
350
|
line-height: 45px
|
310
|
-
.flyout
|
311
|
-
display: none
|
312
351
|
&>a.main
|
313
352
|
position: relative
|
314
353
|
+font-size(15)
|
315
354
|
padding: 0 20px
|
316
355
|
display: block
|
317
356
|
text-decoration: none
|
318
|
-
border-right: 1px solid #ddd
|
319
357
|
&>input
|
320
358
|
margin: 0 16px
|
321
359
|
ul
|
322
360
|
margin-bottom: 0
|
323
361
|
li
|
324
362
|
line-height: 1.3
|
325
|
-
&:hover
|
326
|
-
.flyout
|
327
|
-
display: block
|
328
|
-
&>a.main
|
329
|
-
color: #141414
|
330
|
-
z-index: 2
|
331
|
-
&:after
|
332
|
-
border-top-color: #141414
|
333
363
|
&.has-flyout
|
334
364
|
&>a.main
|
335
365
|
padding-right: 36px
|
336
|
-
|
337
|
-
|
366
|
+
&>a.flyout-toggle
|
367
|
+
position: absolute
|
368
|
+
right: 0
|
369
|
+
top: 0
|
370
|
+
padding: 22px
|
371
|
+
z-index: 2
|
372
|
+
display: block
|
373
|
+
span
|
338
374
|
width: 0
|
339
|
-
height: 0
|
375
|
+
height: 0
|
340
376
|
border-left: 4px solid transparent
|
341
377
|
border-right: 4px solid transparent
|
342
|
-
border-top: 4px solid
|
343
|
-
display: block
|
344
|
-
position: absolute
|
345
|
-
right: 18px
|
346
|
-
bottom: 20px
|
347
|
-
&>a.flyout-toggle
|
348
|
-
display: none
|
349
|
-
|
378
|
+
border-top: 4px solid $default-color
|
379
|
+
display: block
|
350
380
|
.flyout
|
351
381
|
background: #fff
|
352
382
|
margin: 0
|
@@ -356,7 +386,7 @@ div.panel
|
|
356
386
|
top: 45px
|
357
387
|
left: -1px
|
358
388
|
width: 400px
|
359
|
-
z-index:
|
389
|
+
z-index: 40
|
360
390
|
&.small
|
361
391
|
width: 200px
|
362
392
|
&.large
|
@@ -366,10 +396,11 @@ div.panel
|
|
366
396
|
right: 0
|
367
397
|
p:last-child
|
368
398
|
margin-bottom: 0
|
369
|
-
|
399
|
+
.nav-bar>li .flyout
|
400
|
+
display: none
|
370
401
|
|
371
402
|
// Sub Navs
|
372
|
-
|
403
|
+
//---------------------------------------------------
|
373
404
|
// http://www.zurb.com/article/292/how-to-create-simple-and-effective-sub-na
|
374
405
|
dl.sub-nav
|
375
406
|
display: block
|
@@ -391,75 +422,12 @@ dl.sub-nav
|
|
391
422
|
+border-radius(12px)
|
392
423
|
&.active
|
393
424
|
a
|
394
|
-
background: $
|
425
|
+
background: $default-color
|
395
426
|
color: $white
|
396
427
|
padding: 3px 9px
|
397
428
|
|
398
|
-
|
399
|
-
// Tooltips
|
400
|
-
//----------------------------------------------------------------------------------------------------
|
401
|
-
|
402
|
-
.has-tip
|
403
|
-
border-bottom: dotted 1px #ccc
|
404
|
-
cursor: help
|
405
|
-
font-weight: bold
|
406
|
-
color: #333
|
407
|
-
&:hover
|
408
|
-
border-bottom: dotted 1px #0593dc
|
409
|
-
color: #0192dd
|
410
|
-
&.opened
|
411
|
-
color: #0192DD !important
|
412
|
-
border-bottom: dotted 1px #0593DC !important
|
413
|
-
.tooltip
|
414
|
-
display: block
|
415
|
-
background: rgb(0,0,0)
|
416
|
-
background: rgba(0,0,0,0.85)
|
417
|
-
position: absolute
|
418
|
-
color: #fff
|
419
|
-
font-weight: bold
|
420
|
-
+font-size(12)
|
421
|
-
width: auto
|
422
|
-
padding: 5px 9px 7px 8px
|
423
|
-
z-index: 999
|
424
|
-
&>.nub
|
425
|
-
display: block
|
426
|
-
width: 0
|
427
|
-
height: 0
|
428
|
-
border: solid 6px
|
429
|
-
border-color: transparent transparent rgb(0,0,0) transparent
|
430
|
-
border-color: transparent transparent rgba(0,0,0,0.85) transparent
|
431
|
-
position: absolute
|
432
|
-
top: -12px
|
433
|
-
left: 10px
|
434
|
-
&.top>.nub
|
435
|
-
border-color: rgb(0,0,0) transparent transparent transparent
|
436
|
-
border-color: rgba(0,0,0,0.85) transparent transparent transparent
|
437
|
-
top: auto
|
438
|
-
bottom: -12px
|
439
|
-
&.left, .right, .left, .right
|
440
|
-
float: none !important
|
441
|
-
&.left>.nub
|
442
|
-
border-color: transparent transparent transparent rgb(0,0,0)
|
443
|
-
border-color: transparent transparent transparent rgba(0,0,0,0.85)
|
444
|
-
right: -12px
|
445
|
-
left: auto
|
446
|
-
&.right>.nub
|
447
|
-
border-color: transparent rgb(0,0,0) transparent transparent
|
448
|
-
border-color: transparent rgba(0,0,0,0.85) transparent transparent
|
449
|
-
right: auto
|
450
|
-
left: -12px
|
451
|
-
&.radius
|
452
|
-
+border-radius(6px)
|
453
|
-
.tap-to-close
|
454
|
-
display: block
|
455
|
-
font-size: 10px
|
456
|
-
font-size: 1.0rem
|
457
|
-
color: #888
|
458
|
-
font-weight: normal
|
459
|
-
|
460
|
-
|
461
429
|
// Video
|
462
|
-
|
430
|
+
//---------------------------------------------------
|
463
431
|
// Mad props to http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
|
464
432
|
|
465
433
|
.flex-video
|
@@ -481,7 +449,7 @@ dl.sub-nav
|
|
481
449
|
height: 100%
|
482
450
|
|
483
451
|
// Microformats
|
484
|
-
|
452
|
+
//---------------------------------------------------
|
485
453
|
|
486
454
|
// hcard
|
487
455
|
ul.vcard
|
@@ -496,7 +464,6 @@ ul.vcard
|
|
496
464
|
font-weight: bold
|
497
465
|
+font-size(15)
|
498
466
|
|
499
|
-
// vevent
|
500
467
|
p.vevent span.summary
|
501
468
|
font-weight: bold
|
502
469
|
p.vevent abbr
|
@@ -504,4 +471,73 @@ p.vevent abbr
|
|
504
471
|
text-decoration: none
|
505
472
|
font-weight: bold
|
506
473
|
border: none
|
507
|
-
padding: 0 1px
|
474
|
+
padding: 0 1px
|
475
|
+
|
476
|
+
// Tooltips
|
477
|
+
//--------------------------------------------------------
|
478
|
+
|
479
|
+
.has-tip
|
480
|
+
border-bottom: dotted 1px #ccc
|
481
|
+
cursor: help
|
482
|
+
font-weight: bold
|
483
|
+
color: #333
|
484
|
+
&:hover
|
485
|
+
border-bottom: dotted 1px #0593dc
|
486
|
+
color: #0192dd
|
487
|
+
.tooltip
|
488
|
+
display: none
|
489
|
+
background: rgb(0,0,0)
|
490
|
+
background: rgba(0,0,0,0.8)
|
491
|
+
position: absolute
|
492
|
+
color: #fff
|
493
|
+
font-weight: bold
|
494
|
+
+font-size(12)
|
495
|
+
padding: 5px
|
496
|
+
z-index: 999
|
497
|
+
+border-radius(4px)
|
498
|
+
line-height: normal
|
499
|
+
&>.nub
|
500
|
+
display: block
|
501
|
+
width: 0
|
502
|
+
height: 0
|
503
|
+
border: solid 6px
|
504
|
+
border-color: transparent transparent rgb(0,0,0) transparent
|
505
|
+
border-color: transparent transparent rgba(0,0,0,0.8) transparent
|
506
|
+
position: absolute
|
507
|
+
top: -10px
|
508
|
+
left: 10px
|
509
|
+
&.tip-override>.nub
|
510
|
+
border-color: transparent transparent rgb(0,0,0) transparent !important
|
511
|
+
border-color: transparent transparent rgba(0,0,0, 0.8) transparent !important
|
512
|
+
top: -10px !important
|
513
|
+
&.tip-top>.nub
|
514
|
+
border-color: rgb(0,0,0) transparent transparent transparent
|
515
|
+
border-color: rgba(0,0,0,0.8) transparent transparent transparent
|
516
|
+
top: auto
|
517
|
+
bottom: -10px
|
518
|
+
&.tip-left, .tip-right
|
519
|
+
float: none !important
|
520
|
+
&.tip-left>.nub
|
521
|
+
border-color: transparent transparent transparent rgb(0,0,0)
|
522
|
+
border-color: transparent transparent transparent rgba(0,0,0,0.8)
|
523
|
+
right: -10px
|
524
|
+
left: auto
|
525
|
+
&.tip-right>.nub
|
526
|
+
border-color: transparent rgb(0,0,0) transparent transparent
|
527
|
+
border-color: transparent rgba(0,0,0,0.8) transparent transparent
|
528
|
+
right: auto
|
529
|
+
left: -10px
|
530
|
+
&.noradius
|
531
|
+
+border-radius(0px)
|
532
|
+
.has-tip
|
533
|
+
&.opened
|
534
|
+
color: $default-color !important
|
535
|
+
border-bottom: dotted 1px darken($default-color, 5%)
|
536
|
+
&.tip-left, .tip-right
|
537
|
+
float: none !important
|
538
|
+
.tap-to-close
|
539
|
+
display: block
|
540
|
+
font-size: 10px
|
541
|
+
font-size: 1.0rem
|
542
|
+
color: #888
|
543
|
+
font-weight: normal
|