zurb-foundation 4.2.3 → 4.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (125) hide show
  1. data/CONTRIBUTING.md +1 -1
  2. data/Gemfile.lock +1 -1
  3. data/README.md +8 -0
  4. data/docs/CHANGELOG.md +17 -0
  5. data/docs/README.md +3 -1
  6. data/docs/_sidebar-components.html.erb +2 -1
  7. data/docs/_sidebar.html.erb +2 -1
  8. data/docs/compile.rb +8 -1
  9. data/docs/components/abide.html.erb +371 -0
  10. data/docs/components/alert-boxes.html.erb +12 -9
  11. data/docs/components/block-grid.html.erb +1 -1
  12. data/docs/components/breadcrumbs.html.erb +7 -5
  13. data/docs/components/button-groups.html.erb +4 -2
  14. data/docs/components/buttons.html.erb +13 -9
  15. data/docs/components/clearing.html.erb +2 -0
  16. data/docs/components/dropdown-buttons.html.erb +59 -55
  17. data/docs/components/dropdown.html.erb +34 -32
  18. data/docs/components/flex-video.html.erb +4 -2
  19. data/docs/components/forms.html.erb +16 -15
  20. data/docs/components/global.html.erb +27 -4
  21. data/docs/components/grid.html.erb +21 -3
  22. data/docs/components/inline-lists.html.erb +8 -3
  23. data/docs/components/joyride.html.erb +5 -3
  24. data/docs/components/keystrokes.html.erb +4 -2
  25. data/docs/components/kitchen-sink.html.erb +15 -40
  26. data/docs/components/labels.html.erb +4 -2
  27. data/docs/components/magellan.html.erb +4 -2
  28. data/docs/components/orbit.html.erb +39 -27
  29. data/docs/components/pagination.html.erb +10 -8
  30. data/docs/components/panels.html.erb +7 -3
  31. data/docs/components/pricing-tables.html.erb +12 -10
  32. data/docs/components/progress-bars.html.erb +6 -4
  33. data/docs/components/reveal.html.erb +7 -28
  34. data/docs/components/section.html.erb +15 -13
  35. data/docs/components/side-nav.html.erb +5 -3
  36. data/docs/components/split-buttons.html.erb +45 -43
  37. data/docs/components/sub-nav.html.erb +7 -5
  38. data/docs/components/switch.html.erb +3 -1
  39. data/docs/components/tables.html.erb +8 -6
  40. data/docs/components/thumbnails.html.erb +2 -0
  41. data/docs/components/tooltips.html.erb +6 -4
  42. data/docs/components/top-bar.html.erb +9 -8
  43. data/docs/components/type.html.erb +20 -18
  44. data/docs/config.ru +2 -1
  45. data/docs/css/_footer.scss +420 -0
  46. data/docs/css/_offcanvas.scss +140 -0
  47. data/docs/css/docs.scss +10 -1
  48. data/docs/fonts/ProximaNova-Reg-webfont.eot +0 -0
  49. data/docs/fonts/ProximaNova-Reg-webfont.svg +244 -0
  50. data/docs/fonts/ProximaNova-Reg-webfont.ttf +0 -0
  51. data/docs/fonts/ProximaNova-Reg-webfont.woff +0 -0
  52. data/docs/fonts/proximanovacond-bold-webfont.eot +0 -0
  53. data/docs/fonts/proximanovacond-bold-webfont.svg +247 -0
  54. data/docs/fonts/proximanovacond-bold-webfont.ttf +0 -0
  55. data/docs/fonts/proximanovacond-bold-webfont.woff +0 -0
  56. data/docs/img/demos/orbit/demo1.jpg +0 -0
  57. data/docs/img/demos/orbit/demo2.jpg +0 -0
  58. data/docs/img/demos/orbit/demo3.jpg +0 -0
  59. data/docs/img/icons/footer-icons.png +0 -0
  60. data/docs/img/icons/footer-top-icons.png +0 -0
  61. data/docs/img/icons/social.png +0 -0
  62. data/docs/img/offcanvas/footer-icons.png +0 -0
  63. data/docs/img/offcanvas/menu-wht.png +0 -0
  64. data/docs/img/offcanvas/search.png +0 -0
  65. data/docs/img/offcanvas/zurb-logo.png +0 -0
  66. data/docs/img/offcanvas/zurb-wht.png +0 -0
  67. data/docs/js/docs.js +1 -0
  68. data/docs/js/jquery.offcanvas.js +28 -0
  69. data/docs/layout.html.erb +226 -42
  70. data/docs/media-queries.html.erb +3 -3
  71. data/docs/sass.html.erb +142 -142
  72. data/docs/support.html.erb +1 -1
  73. data/js/foundation/foundation.abide.js +194 -0
  74. data/js/foundation/foundation.dropdown.js +8 -9
  75. data/js/foundation/foundation.forms.js +11 -3
  76. data/js/foundation/foundation.interchange.js +25 -16
  77. data/js/foundation/foundation.joyride.js +9 -3
  78. data/js/foundation/foundation.js +2 -3
  79. data/js/foundation/foundation.magellan.js +3 -2
  80. data/js/foundation/foundation.orbit.js +359 -344
  81. data/js/foundation/foundation.reveal.js +1 -1
  82. data/js/foundation/foundation.section.js +290 -311
  83. data/js/foundation/foundation.tooltips.js +2 -2
  84. data/js/foundation/foundation.topbar.js +20 -23
  85. data/js/foundation/index.js +1 -0
  86. data/js/vendor/jquery.js +103 -121
  87. data/lib/foundation/generators/templates/application.html.slim +15 -8
  88. data/lib/foundation/version.rb +1 -1
  89. data/scss/foundation.scss +2 -5
  90. data/scss/foundation/_variables.scss +326 -295
  91. data/scss/foundation/components/_alert-boxes.scss +10 -10
  92. data/scss/foundation/components/_block-grid.scss +1 -1
  93. data/scss/foundation/components/_breadcrumbs.scss +8 -8
  94. data/scss/foundation/components/_button-groups.scss +2 -2
  95. data/scss/foundation/components/_buttons.scss +18 -18
  96. data/scss/foundation/components/_custom-forms.scss +20 -14
  97. data/scss/foundation/components/_dropdown-buttons.scss +9 -9
  98. data/scss/foundation/components/_dropdown.scss +4 -4
  99. data/scss/foundation/components/_flex-video.scss +3 -3
  100. data/scss/foundation/components/_forms.scss +54 -24
  101. data/scss/foundation/components/_global.scss +28 -5
  102. data/scss/foundation/components/_grid-5.scss +214 -0
  103. data/scss/foundation/components/_grid.scss +3 -3
  104. data/scss/foundation/components/_inline-lists.scss +3 -3
  105. data/scss/foundation/components/_joyride.scss +6 -6
  106. data/scss/foundation/components/_keystrokes.scss +3 -3
  107. data/scss/foundation/components/_labels.scss +3 -3
  108. data/scss/foundation/components/_orbit.scss +34 -9
  109. data/scss/foundation/components/_pagination.scss +8 -6
  110. data/scss/foundation/components/_panels.scss +3 -3
  111. data/scss/foundation/components/_pricing-tables.scss +10 -10
  112. data/scss/foundation/components/_progress-bars.scss +3 -3
  113. data/scss/foundation/components/_reveal.scss +7 -7
  114. data/scss/foundation/components/_section.scss +252 -214
  115. data/scss/foundation/components/_side-nav.scss +3 -3
  116. data/scss/foundation/components/_split-buttons.scss +7 -7
  117. data/scss/foundation/components/_sub-nav.scss +7 -7
  118. data/scss/foundation/components/_switch.scss +4 -4
  119. data/scss/foundation/components/_tables.scss +6 -6
  120. data/scss/foundation/components/_tooltips.scss +4 -4
  121. data/scss/foundation/components/_top-bar.scss +14 -10
  122. data/scss/foundation/components/_type.scss +23 -23
  123. data/templates/project/index.html +4 -4
  124. data/templates/project/scss/app.scss +8 -0
  125. metadata +29 -4
@@ -4,17 +4,17 @@
4
4
  $include-html-nav-classes: $include-html-classes !default;
5
5
 
6
6
  // We use this to control padding.
7
- $side-nav-padding: emCalc(14px) 0 !default;
7
+ $side-nav-padding: emCalc(14, 0) !default;
8
8
 
9
9
  // We use these to control list styles.
10
10
  $side-nav-list-type: none !default;
11
11
  $side-nav-list-position: inside !default;
12
- $side-nav-list-margin: 0 0 emCalc(7px) 0 !default;
12
+ $side-nav-list-margin: emCalc(0, 0, 7, 0) !default;
13
13
 
14
14
  // We use these to control link styles.
15
15
  $side-nav-link-color: $primary-color !default;
16
16
  $side-nav-link-color-active: lighten(#000, 30%) !default;
17
- $side-nav-font-size: emCalc(14px) !default;
17
+ $side-nav-font-size: emCalc(14) !default;
18
18
  $side-nav-font-weight: bold !default;
19
19
 
20
20
  // We use these to control border styles
@@ -14,28 +14,28 @@ $split-button-padding-tny: $button-tny * 9 !default;
14
14
  $split-button-span-width-tny: $button-tny * 6.5 !default;
15
15
  $split-button-pip-size-tny: $button-tny !default;
16
16
  $split-button-pip-top-tny: $button-tny * 2 !default;
17
- $split-button-pip-default-float-tny: emCalc(-5px) !default;
17
+ $split-button-pip-default-float-tny: emCalc(-5) !default;
18
18
 
19
19
  // We use these to control small split buttons
20
20
  $split-button-padding-sml: $button-sml * 7 !default;
21
21
  $split-button-span-width-sml: $button-sml * 5 !default;
22
22
  $split-button-pip-size-sml: $button-sml !default;
23
23
  $split-button-pip-top-sml: $button-sml * 1.5 !default;
24
- $split-button-pip-default-float-sml: emCalc(-9px) !default;
24
+ $split-button-pip-default-float-sml: emCalc(-9) !default;
25
25
 
26
26
  // We use these to control medium split buttons
27
27
  $split-button-padding-med: $button-med * 6.4 !default;
28
28
  $split-button-span-width-med: $button-med * 4 !default;
29
- $split-button-pip-size-med: $button-med - emCalc(3px) !default;
29
+ $split-button-pip-size-med: $button-med - emCalc(3) !default;
30
30
  $split-button-pip-top-med: $button-med * 1.5 !default;
31
- $split-button-pip-default-float-med: emCalc(-9px) !default;
31
+ $split-button-pip-default-float-med: emCalc(-9) !default;
32
32
 
33
33
  // We use these to control large split buttons
34
34
  $split-button-padding-lrg: $button-lrg * 6 !default;
35
35
  $split-button-span-width-lrg: $button-lrg * 3.75 !default;
36
- $split-button-pip-size-lrg: $button-lrg - emCalc(6px) !default;
37
- $split-button-pip-top-lrg: $button-lrg + emCalc(5px) !default;
38
- $split-button-pip-default-float-lrg: emCalc(-9px) !default;
36
+ $split-button-pip-size-lrg: $button-lrg - emCalc(6) !default;
37
+ $split-button-pip-top-lrg: $button-lrg + emCalc(5) !default;
38
+ $split-button-pip-default-float-lrg: emCalc(-9) !default;
39
39
 
40
40
 
41
41
  //
@@ -4,11 +4,11 @@
4
4
  $include-html-nav-classes: $include-html-classes !default;
5
5
 
6
6
  // We use these to control margin and padding
7
- $sub-nav-list-margin: emCalc(-4px) 0 emCalc(18px) !default;
8
- $sub-nav-list-padding-top: emCalc(4px) !default;
7
+ $sub-nav-list-margin: emCalc(-4, 0, 18) !default;
8
+ $sub-nav-list-padding-top: emCalc(4) !default;
9
9
 
10
10
  // We use this to control the definition
11
- $sub-nav-font-size: emCalc(14px) !default;
11
+ $sub-nav-font-size: emCalc(14) !default;
12
12
  $sub-nav-font-color: #999 !default;
13
13
  $sub-nav-font-weight: normal !default;
14
14
  $sub-nav-text-decoration: none !default;
@@ -18,7 +18,7 @@ $sub-nav-border-radius: 1000px !default;
18
18
  $sub-nav-active-font-weight: bold !default;
19
19
  $sub-nav-active-bg: $primary-color !default;
20
20
  $sub-nav-active-color: #fff !default;
21
- $sub-nav-active-padding: emCalc(3px) emCalc(9px) !default;
21
+ $sub-nav-active-padding: emCalc(3, 9) !default;
22
22
  $sub-nav-active-cursor: default !default;
23
23
 
24
24
  //
@@ -32,14 +32,14 @@ $sub-nav-active-cursor: default !default;
32
32
  margin: $sub-nav-list-margin;
33
33
  padding-top: $sub-nav-list-padding-top;
34
34
  margin-#{$opposite-direction}: 0;
35
- margin-#{$default-float}: emCalc(-9px);
35
+ margin-#{$default-float}: emCalc(-9);
36
36
 
37
37
  dt,
38
38
  dd {
39
39
  float: $default-float;
40
40
  display: inline;
41
- margin-#{$default-float}: emCalc(9px);
42
- margin-bottom: emCalc(10px);
41
+ margin-#{$default-float}: emCalc(9);
42
+ margin-bottom: emCalc(10);
43
43
  font-weight: $sub-nav-font-weight;
44
44
  font-size: $font-size;
45
45
 
@@ -14,7 +14,7 @@ $switch-height-tny: 22px !default;
14
14
  $switch-height-sml: 28px !default;
15
15
  $switch-height-med: 36px !default;
16
16
  $switch-height-lrg: 44px !default;
17
- $switch-bottom-margin: emCalc(20px) !default;
17
+ $switch-bottom-margin: emCalc(20) !default;
18
18
 
19
19
  // We use these to control default font sizes for our classes.
20
20
  $switch-font-size-tny: 11px !default;
@@ -35,7 +35,7 @@ $switch-positive-color: lighten($success-color, 50%) !default;
35
35
  $switch-negative-color: #f5f5f5 !default;
36
36
 
37
37
  // Outline Style for tabbing through switches
38
- $switch-label-outline: 1px dotted #888 !default;
38
+ $switch-label-outline: 1px dotted #888 !default;
39
39
 
40
40
 
41
41
  //
@@ -142,7 +142,7 @@ $switch-label-outline: 1px dotted #888 !default;
142
142
  height: $height;
143
143
 
144
144
  label {
145
- padding: 0 emCalc($switch-label-side-padding);
145
+ padding: emCalc(0, $switch-label-side-padding);
146
146
  line-height: $line-height;
147
147
  font-size: emCalc($font-size);
148
148
  }
@@ -251,7 +251,7 @@ $switch-label-outline: 1px dotted #888 !default;
251
251
  // Make the switch completely round, like a pill
252
252
  &.round { @include radius(1000px);
253
253
  span:last-child { @include radius(999px); }
254
- label { padding: 0 emCalc($switch-label-side-padding + 3px); }
254
+ label { padding: emCalc(0, $switch-label-side-padding + 3); }
255
255
  }
256
256
 
257
257
  }
@@ -14,20 +14,20 @@ $table-border-color: #ddd !default;
14
14
 
15
15
  // These control the table head styles
16
16
  $table-head-bg: #f5f5f5 !default;
17
- $table-head-font-size: emCalc(14px) !default;
17
+ $table-head-font-size: emCalc(14) !default;
18
18
  $table-head-font-color: #222 !default;
19
19
  $table-head-font-weight: bold !default;
20
- $table-head-padding: emCalc(8px) emCalc(10px) emCalc(10px) !default;
20
+ $table-head-padding: emCalc(8, 10, 10) !default;
21
21
 
22
22
  // These control the row padding and font styles
23
- $table-row-padding: emCalc(9px) emCalc(10px) !default;
24
- $table-row-font-size: emCalc(14px) !default;
23
+ $table-row-padding: emCalc(9, 10) !default;
24
+ $table-row-font-size: emCalc(14) !default;
25
25
  $table-row-font-color: #222 !default;
26
- $table-line-height: emCalc(18px) !default;
26
+ $table-line-height: emCalc(18) !default;
27
27
 
28
28
  // These are for controlling the display and margin of tables
29
29
  $table-display: table-cell !default;
30
- $table-margin-bottom: emCalc(20px) !default;
30
+ $table-margin-bottom: emCalc(20) !default;
31
31
 
32
32
 
33
33
  //
@@ -10,16 +10,16 @@ $has-tip-border-bottom-hover: dotted 1px darken($primary-color, 20%) !default;
10
10
  $has-tip-font-color-hover: $primary-color !default;
11
11
  $has-tip-cursor-type: help !default;
12
12
 
13
- $tooltip-padding: emCalc(8px) !default;
13
+ $tooltip-padding: emCalc(8) !default;
14
14
  $tooltip-bg: #000 !default;
15
- $tooltip-font-size: emCalc(15px) !default;
15
+ $tooltip-font-size: emCalc(15) !default;
16
16
  $tooltip-font-weight: bold !default;
17
17
  $tooltip-font-color: #fff !default;
18
18
  $tooltip-line-height: 1.3 !default;
19
- $tooltip-close-font-size: emCalc(10px) !default;
19
+ $tooltip-close-font-size: emCalc(10) !default;
20
20
  $tooltip-close-font-weight: normal !default;
21
21
  $tooltip-close-font-color: #888 !default;
22
- $tooltip-font-size-sml: emCalc(14px) !default;
22
+ $tooltip-font-size-sml: emCalc(14) !default;
23
23
  $tooltip-radius: $global-radius !default;
24
24
  $tooltip-pip-size: 5px !default;
25
25
 
@@ -8,14 +8,14 @@ $topbar-bg: #111 !default;
8
8
 
9
9
  // Height and margin
10
10
  $topbar-height: 45px !default;
11
- $topbar-margin-bottom: emCalc(30px) !default;
11
+ $topbar-margin-bottom: emCalc(30) !default;
12
12
 
13
13
  // Control Input height for top bar
14
14
  $topbar-input-height: 2.45em !default;
15
15
 
16
16
  // Controlling the styles for the title in the top bar
17
17
  $topbar-title-weight: bold !default;
18
- $topbar-title-font-size: emCalc(17px) !default;
18
+ $topbar-title-font-size: emCalc(17) !default;
19
19
 
20
20
  // Style the top bar dropdown elements
21
21
  $topbar-dropdown-bg: #222 !default;
@@ -30,7 +30,7 @@ $topbar-link-color: #fff !default;
30
30
  $topbar-link-color-hover: #fff !default;
31
31
  $topbar-link-color-active: #fff !default;
32
32
  $topbar-link-weight: bold !default;
33
- $topbar-link-font-size: emCalc(13px) !default;
33
+ $topbar-link-font-size: emCalc(13) !default;
34
34
  $topbar-link-hover-lightness: -30% !default; // Darken by 30%
35
35
  $topbar-link-bg-hover: darken($topbar-bg, 3%) !default;
36
36
  $topbar-link-bg-active: darken($topbar-bg, 3%) !default;
@@ -38,11 +38,11 @@ $topbar-link-bg-active: darken($topbar-bg, 3%) !default;
38
38
  $topbar-dropdown-label-color: #555 !default;
39
39
  $topbar-dropdown-label-text-transform: uppercase !default;
40
40
  $topbar-dropdown-label-font-weight: bold !default;
41
- $topbar-dropdown-label-font-size: emCalc(10px) !default;
41
+ $topbar-dropdown-label-font-size: emCalc(10) !default;
42
42
 
43
43
  // Top menu icon styles
44
44
  $topbar-menu-link-transform: uppercase !default;
45
- $topbar-menu-link-font-size: emCalc(13px) !default;
45
+ $topbar-menu-link-font-size: emCalc(13) !default;
46
46
  $topbar-menu-link-weight: bold !default;
47
47
  $topbar-menu-link-color: #fff !default;
48
48
  $topbar-menu-icon-color: #fff !default;
@@ -51,7 +51,7 @@ $topbar-menu-icon-color-toggled: #888 !default;
51
51
 
52
52
  // Transitions and breakpoint styles
53
53
  $topbar-transition-speed: 300ms !default;
54
- $topbar-breakpoint: emCalc(940px) !default; // Change to 9999px for always mobile layout
54
+ $topbar-breakpoint: emCalc(940) !default; // Change to 9999px for always mobile layout
55
55
  $topbar-media-query: "only screen and (min-width: #{$topbar-breakpoint})" !default;
56
56
 
57
57
  // Divider Styles
@@ -68,7 +68,7 @@ $topbar-sticky-class: ".sticky" !default;
68
68
  width: 100%;
69
69
  background: $topbar-bg;
70
70
 
71
- .top-bar { margin-bottom: 0; }
71
+ .top-bar { margin-bottom: $topbar-margin-bottom; }
72
72
  }
73
73
 
74
74
  // Wrapped around .top-bar to make it stick to the top
@@ -324,6 +324,9 @@ $topbar-sticky-class: ".sticky" !default;
324
324
  a {
325
325
  font-weight: normal;
326
326
  padding: 8px $topbar-height / 3;
327
+ &.parent-link {
328
+ font-weight: $topbar-link-weight;
329
+ }
327
330
  }
328
331
 
329
332
  &.title h5 { margin-bottom: 0;
@@ -369,7 +372,7 @@ $topbar-sticky-class: ".sticky" !default;
369
372
  input,
370
373
  .button {
371
374
  line-height: 2em;
372
- font-size: emCalc(14px);
375
+ font-size: emCalc(14);
373
376
  height: 2em;
374
377
  padding: 0 10px;
375
378
  position: relative;
@@ -382,6 +385,7 @@ $topbar-sticky-class: ".sticky" !default;
382
385
  .contain-to-grid .top-bar {
383
386
  max-width: $row-width;
384
387
  margin: 0 auto;
388
+ margin-bottom: $topbar-margin-bottom;
385
389
  }
386
390
 
387
391
  .top-bar-section {
@@ -423,7 +427,7 @@ $topbar-sticky-class: ".sticky" !default;
423
427
  & > .dropdown { visibility: hidden; }
424
428
  }
425
429
 
426
- &.hover {
430
+ &.hover, &.not-click:hover {
427
431
  & > .dropdown {
428
432
  visibility: visible;
429
433
  }
@@ -501,7 +505,7 @@ $topbar-sticky-class: ".sticky" !default;
501
505
  // Degrade gracefully when Javascript is disabled. Displays dropdown and changes
502
506
  // background & text color on hover.
503
507
  .no-js .top-bar-section {
504
- ul li {
508
+ ul li {
505
509
  // Apply the hover link color when it has that class
506
510
  &:hover > a {
507
511
  background: $topbar-link-bg-hover;
@@ -14,11 +14,11 @@ $header-bottom-margin: .5em !default;
14
14
  $header-text-rendering: optimizeLegibility !default;
15
15
 
16
16
  // We use these to control header font sizes
17
- $h1-font-size: emCalc(44px) !default;
18
- $h2-font-size: emCalc(37px) !default;
19
- $h3-font-size: emCalc(27px) !default;
20
- $h4-font-size: emCalc(23px) !default;
21
- $h5-font-size: emCalc(18px) !default;
17
+ $h1-font-size: emCalc(44) !default;
18
+ $h2-font-size: emCalc(37) !default;
19
+ $h3-font-size: emCalc(27) !default;
20
+ $h4-font-size: emCalc(23) !default;
21
+ $h5-font-size: emCalc(18) !default;
22
22
  $h6-font-size: 1em !default;
23
23
 
24
24
  // These control how subheaders are styled.
@@ -37,8 +37,8 @@ $paragraph-font-family: inherit !default;
37
37
  $paragraph-font-weight: normal !default;
38
38
  $paragraph-font-size: 1em !default;
39
39
  $paragraph-line-height: 1.6 !default;
40
- $paragraph-margin-bottom: emCalc(20px) !default;
41
- $paragraph-aside-font-size: emCalc(14px) !default;
40
+ $paragraph-margin-bottom: emCalc(20) !default;
41
+ $paragraph-aside-font-size: emCalc(14) !default;
42
42
  $paragraph-aside-line-height: 1.35 !default;
43
43
  $paragraph-aside-font-style: italic !default;
44
44
  $paragraph-text-rendering: optimizeLegibility !default;
@@ -57,21 +57,21 @@ $anchor-font-color-hover: darken($primary-color, 5%) !default;
57
57
  $hr-border-width: 1px !default;
58
58
  $hr-border-style: solid !default;
59
59
  $hr-border-color: #ddd !default;
60
- $hr-margin: emCalc(20px) !default;
60
+ $hr-margin: emCalc(20) !default;
61
61
 
62
62
  // We use these to style lists
63
63
  $list-style-position: outside !default;
64
64
  $list-side-margin: 0 !default;
65
- $list-nested-margin: emCalc(20px) !default;
65
+ $list-nested-margin: emCalc(20) !default;
66
66
  $definition-list-header-weight: bold !default;
67
67
  $definition-list-header-margin-bottom: .3em !default;
68
- $definition-list-margin-bottom: emCalc(12px) !default;
68
+ $definition-list-margin-bottom: emCalc(12) !default;
69
69
 
70
70
  // We use these to style blockquotes
71
71
  $blockquote-font-color: lighten($header-font-color, 30%) !default;
72
- $blockquote-padding: emCalc(9px) emCalc(20px) 0 emCalc(19px) !default;
72
+ $blockquote-padding: emCalc(9, 20, 0, 19) !default;
73
73
  $blockquote-border: 1px solid #ddd !default;
74
- $blockquote-cite-font-size: emCalc(13px) !default;
74
+ $blockquote-cite-font-size: emCalc(13) !default;
75
75
  $blockquote-cite-font-color: lighten($header-font-color, 20%) !default;
76
76
  $blockquote-cite-link-color: $blockquote-cite-font-color !default;
77
77
 
@@ -79,8 +79,8 @@ $blockquote-cite-link-color: $blockquote-cite-font-color !default;
79
79
  $acronym-underline: 1px dotted #ddd !default;
80
80
 
81
81
  // We use these to control padding and margin
82
- $microformat-padding: emCalc(10px) emCalc(12px) !default;
83
- $microformat-margin: 0 0 emCalc(20px) 0 !default;
82
+ $microformat-padding: emCalc(10, 12) !default;
83
+ $microformat-margin: emCalc(0, 0, 20, 0) !default;
84
84
 
85
85
  // We use these to control the border styles
86
86
  $microformat-border-width: 1px !default;
@@ -89,13 +89,13 @@ $microformat-border-color: #ddd !default;
89
89
 
90
90
  // We use these to control full name font styles
91
91
  $microformat-fullname-font-weight: bold !default;
92
- $microformat-fullname-font-size: emCalc(15px) !default;
92
+ $microformat-fullname-font-size: emCalc(15) !default;
93
93
 
94
94
  // We use this to control the summary font styles
95
95
  $microformat-summary-font-weight: bold !default;
96
96
 
97
97
  // We use this to control abbr padding
98
- $microformat-abbr-padding: 0 emCalc(1px) !default;
98
+ $microformat-abbr-padding: emCalc(0, 1) !default;
99
99
 
100
100
  // We use this to control abbr font styles
101
101
  $microformat-abbr-font-weight: bold !default;
@@ -108,7 +108,7 @@ $microformat-abbr-font-decoration: none !default;
108
108
 
109
109
  // These will throw a deprecation warning if used within a media query.
110
110
  %lead {
111
- font-size: $paragraph-font-size + emCalc(3.5px);
111
+ font-size: $paragraph-font-size + emCalc(3.5);
112
112
  line-height: 1.6;
113
113
  }
114
114
 
@@ -186,7 +186,7 @@ $microformat-abbr-font-decoration: none !default;
186
186
  text-rendering: $header-text-rendering;
187
187
  margin-top: $header-top-margin;
188
188
  margin-bottom: $header-bottom-margin;
189
- line-height: $header-line-height - emCalc(3px);
189
+ line-height: $header-line-height - emCalc(3);
190
190
 
191
191
  small {
192
192
  font-size: $small-font-size;
@@ -195,10 +195,10 @@ $microformat-abbr-font-decoration: none !default;
195
195
  }
196
196
  }
197
197
 
198
- h1 { font-size: $h1-font-size - emCalc(10px); }
199
- h2 { font-size: $h2-font-size - emCalc(10px); }
200
- h3 { font-size: $h3-font-size - emCalc(5px); }
201
- h4 { font-size: $h4-font-size - emCalc(5px); }
198
+ h1 { font-size: $h1-font-size - emCalc(10); }
199
+ h2 { font-size: $h2-font-size - emCalc(10); }
200
+ h3 { font-size: $h3-font-size - emCalc(5); }
201
+ h4 { font-size: $h4-font-size - emCalc(5); }
202
202
  h5 { font-size: $h5-font-size; }
203
203
  h6 { font-size: $h6-font-size; }
204
204
 
@@ -208,7 +208,7 @@ $microformat-abbr-font-decoration: none !default;
208
208
  border: $hr-border-style $hr-border-color;
209
209
  border-width: $hr-border-width 0 0;
210
210
  clear: both;
211
- margin: $hr-margin 0 ($hr-margin - emCalc(1px));
211
+ margin: $hr-margin 0 ($hr-margin - emCalc(1));
212
212
  height: 0;
213
213
  }
214
214
 
@@ -4,14 +4,14 @@
4
4
  <!--[if gt IE 8]><!--> <html class="no-js" lang="en" <% if template[:options][:rtl] %>dir="rtl"<% end %>> <!--<![endif]-->
5
5
 
6
6
  <head>
7
- <meta charset="utf-8" />
8
- <meta name="viewport" content="width=device-width" />
7
+ <meta charset="utf-8">
8
+ <meta name="viewport" content="width=device-width">
9
9
  <title>Foundation 4</title>
10
10
 
11
11
  <% if template[:options][:customizer_used] %>
12
- <link rel="stylesheet" href="<%= css_dir %>/foundation.css" />
12
+ <link rel="stylesheet" href="<%= css_dir %>/foundation.css">
13
13
  <% else %>
14
- <link rel="stylesheet" href="<%= css_dir %>/app.css" />
14
+ <link rel="stylesheet" href="<%= css_dir %>/app.css">
15
15
  <% end %>
16
16
 
17
17
  <script src="<%= javascripts_dir %>/vendor/custom.modernizr.js"></script>
@@ -12,6 +12,14 @@
12
12
 
13
13
  // @import "foundation/components/global"; // *always required
14
14
  // @import "foundation/components/grid";
15
+
16
+ //
17
+ // Use this grid if you want to start using the new Foundation 5 grid early.
18
+ // It will change breakpoints to min-width: 640px and 1024px.
19
+ //
20
+ // @import "foundation/components/grid-5";
21
+ //
22
+
15
23
  // @import "foundation/components/visibility";
16
24
  // @import "foundation/components/block-grid";
17
25
  // @import "foundation/components/type";
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zurb-foundation
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.3
4
+ version: 4.3.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-26 00:00:00.000000000 Z
12
+ date: 2013-07-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sass
@@ -70,6 +70,7 @@ files:
70
70
  - docs/_sidebar.html.erb
71
71
  - docs/changelog.html.erb
72
72
  - docs/compile.rb
73
+ - docs/components/abide.html.erb
73
74
  - docs/components/alert-boxes.html.erb
74
75
  - docs/components/block-grid.html.erb
75
76
  - docs/components/breadcrumbs.html.erb
@@ -111,12 +112,22 @@ files:
111
112
  - docs/config/deploy.rb
112
113
  - docs/controller.rb
113
114
  - docs/css/_coderay.scss
115
+ - docs/css/_footer.scss
116
+ - docs/css/_offcanvas.scss
114
117
  - docs/css/_settings.scss
115
118
  - docs/css/docs.scss
116
119
  - docs/css/normalize.scss
117
120
  - docs/css/qunit-composite.css
118
121
  - docs/css/qunit.css
119
122
  - docs/faq.html.erb
123
+ - docs/fonts/ProximaNova-Reg-webfont.eot
124
+ - docs/fonts/ProximaNova-Reg-webfont.svg
125
+ - docs/fonts/ProximaNova-Reg-webfont.ttf
126
+ - docs/fonts/ProximaNova-Reg-webfont.woff
127
+ - docs/fonts/proximanovacond-bold-webfont.eot
128
+ - docs/fonts/proximanovacond-bold-webfont.svg
129
+ - docs/fonts/proximanovacond-bold-webfont.ttf
130
+ - docs/fonts/proximanovacond-bold-webfont.woff
120
131
  - docs/img/demos/demo1-th.jpg
121
132
  - docs/img/demos/demo1.jpg
122
133
  - docs/img/demos/demo2-th.jpg
@@ -132,14 +143,26 @@ files:
132
143
  - docs/img/demos/interchange/med.jpg
133
144
  - docs/img/demos/interchange/small.jpg
134
145
  - docs/img/demos/interchange/smallest.jpg
146
+ - docs/img/demos/orbit/demo1.jpg
147
+ - docs/img/demos/orbit/demo2.jpg
148
+ - docs/img/demos/orbit/demo3.jpg
135
149
  - docs/img/favicons/apple-touch-icon-114x114-precomposed.png
136
150
  - docs/img/favicons/apple-touch-icon-144x144-precomposed.png
137
151
  - docs/img/favicons/apple-touch-icon-72x72-precomposed.png
138
152
  - docs/img/favicons/apple-touch-icon-precomposed.png
139
153
  - docs/img/favicons/favicon.ico
154
+ - docs/img/icons/footer-icons.png
155
+ - docs/img/icons/footer-top-icons.png
156
+ - docs/img/icons/social.png
157
+ - docs/img/offcanvas/footer-icons.png
158
+ - docs/img/offcanvas/menu-wht.png
159
+ - docs/img/offcanvas/search.png
160
+ - docs/img/offcanvas/zurb-logo.png
161
+ - docs/img/offcanvas/zurb-wht.png
140
162
  - docs/index.html.erb
141
163
  - docs/javascript.html.erb
142
164
  - docs/js/docs.js
165
+ - docs/js/jquery.offcanvas.js
143
166
  - docs/js/qunit-composite.js
144
167
  - docs/js/qunit.js
145
168
  - docs/js/tests/tabs/simple_tabs.html
@@ -153,6 +176,7 @@ files:
153
176
  - docs/sass.html.erb
154
177
  - docs/support.html.erb
155
178
  - foundation.gemspec
179
+ - js/foundation/foundation.abide.js
156
180
  - js/foundation/foundation.alerts.js
157
181
  - js/foundation/foundation.clearing.js
158
182
  - js/foundation/foundation.cookie.js
@@ -196,6 +220,7 @@ files:
196
220
  - scss/foundation/components/_flex-video.scss
197
221
  - scss/foundation/components/_forms.scss
198
222
  - scss/foundation/components/_global.scss
223
+ - scss/foundation/components/_grid-5.scss
199
224
  - scss/foundation/components/_grid.scss
200
225
  - scss/foundation/components/_inline-lists.scss
201
226
  - scss/foundation/components/_joyride.scss
@@ -243,7 +268,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
243
268
  version: '0'
244
269
  segments:
245
270
  - 0
246
- hash: 2423571560475878438
271
+ hash: 3735898453351484891
247
272
  required_rubygems_version: !ruby/object:Gem::Requirement
248
273
  none: false
249
274
  requirements:
@@ -252,7 +277,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
252
277
  version: '0'
253
278
  segments:
254
279
  - 0
255
- hash: 2423571560475878438
280
+ hash: 3735898453351484891
256
281
  requirements: []
257
282
  rubyforge_project:
258
283
  rubygems_version: 1.8.23