zurb-foundation 4.0.3 → 4.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (92) hide show
  1. data/CHANGELOG.md +11 -0
  2. data/Gemfile.lock +1 -1
  3. data/README.md +5 -0
  4. data/docs/Gemfile +2 -1
  5. data/docs/Gemfile.lock +1 -1
  6. data/docs/_sidebar-components.html.erb +40 -40
  7. data/docs/_sidebar.html.erb +9 -9
  8. data/docs/changelog.html.erb +30 -6
  9. data/docs/components/alert-boxes.html.erb +1 -1
  10. data/docs/components/block-grid.html.erb +10 -10
  11. data/docs/components/breadcrumbs.html.erb +1 -1
  12. data/docs/components/button-groups.html.erb +57 -3
  13. data/docs/components/buttons.html.erb +1 -1
  14. data/docs/components/clearing.html.erb +12 -14
  15. data/docs/components/custom-forms.html.erb +3 -3
  16. data/docs/components/dropdown-buttons.html.erb +1 -1
  17. data/docs/components/dropdown.html.erb +2 -2
  18. data/docs/components/flex-video.html.erb +1 -1
  19. data/docs/components/forms.html.erb +4 -3
  20. data/docs/components/grid.html.erb +2 -2
  21. data/docs/components/inline-lists.html.erb +1 -1
  22. data/docs/components/keystrokes.html.erb +1 -1
  23. data/docs/components/labels.html.erb +1 -1
  24. data/docs/components/orbit.html.erb +11 -11
  25. data/docs/components/pagination.html.erb +1 -1
  26. data/docs/components/panels.html.erb +1 -1
  27. data/docs/components/pricing-tables.html.erb +1 -1
  28. data/docs/components/progress-bars.html.erb +1 -1
  29. data/docs/components/reveal.html.erb +8 -0
  30. data/docs/components/section.html.erb +29 -3
  31. data/docs/components/side-nav.html.erb +1 -1
  32. data/docs/components/split-buttons.html.erb +1 -1
  33. data/docs/components/sub-nav.html.erb +1 -1
  34. data/docs/components/switch.html.erb +1 -1
  35. data/docs/components/thumbnails.html.erb +5 -5
  36. data/docs/components/top-bar.html.erb +65 -2
  37. data/docs/components/type.html.erb +1 -1
  38. data/docs/css/docs.scss +2 -0
  39. data/docs/faq.html.erb +2 -0
  40. data/docs/img/demos/demo1-th.jpg +0 -0
  41. data/docs/img/demos/demo1.jpg +0 -0
  42. data/docs/img/demos/demo2-th.jpg +0 -0
  43. data/docs/img/demos/demo2.jpg +0 -0
  44. data/docs/img/demos/demo3-th.jpg +0 -0
  45. data/docs/img/demos/demo3.jpg +0 -0
  46. data/docs/img/demos/demo4-th.jpg +0 -0
  47. data/docs/img/demos/demo4.jpg +0 -0
  48. data/docs/img/demos/demo5-th.jpg +0 -0
  49. data/docs/img/demos/demo5.jpg +0 -0
  50. data/docs/index.html.erb +1 -1
  51. data/docs/javascript.html.erb +2 -2
  52. data/docs/layout.html.erb +18 -2
  53. data/docs/rails.html.erb +10 -2
  54. data/docs/sass.html.erb +49 -19
  55. data/docs/support.html.erb +1 -1
  56. data/js/foundation/foundation.forms.js +1 -1
  57. data/js/foundation/foundation.js +1 -1
  58. data/js/foundation/foundation.reveal.js +9 -3
  59. data/js/foundation/foundation.topbar.js +7 -5
  60. data/lib/foundation/engine.rb +12 -4
  61. data/lib/foundation/version.rb +1 -1
  62. data/scss/foundation.scss +1 -2
  63. data/scss/foundation/_foundation-global.scss +25 -74
  64. data/scss/foundation/components/_block-grid.scss +2 -2
  65. data/scss/foundation/components/_button-groups.scss +17 -2
  66. data/scss/foundation/components/_buttons.scss +2 -2
  67. data/scss/foundation/components/_custom-forms.scss +10 -7
  68. data/scss/foundation/components/_forms.scss +28 -0
  69. data/scss/foundation/components/_global.scss +62 -0
  70. data/scss/foundation/components/_orbit.scss +1 -1
  71. data/scss/foundation/components/_section.scss +4 -4
  72. data/scss/foundation/components/_switch.scss +17 -9
  73. data/scss/foundation/components/_tooltips.scss +1 -2
  74. data/scss/foundation/components/_top-bar.scss +11 -2
  75. data/scss/foundation/components/_type.scss +3 -2
  76. data/scss/foundation/components/_visibility.scss +2 -2
  77. data/templates/project/config.rb +4 -4
  78. data/templates/project/index.html +9 -9
  79. data/templates/project/manifest.rb +8 -8
  80. data/templates/project/scss/_settings.scss +11 -10
  81. data/templates/project/scss/app.scss +1 -0
  82. metadata +15 -14
  83. data/docs/img/demos/demo1-th.png +0 -0
  84. data/docs/img/demos/demo1.png +0 -0
  85. data/docs/img/demos/demo2-th.png +0 -0
  86. data/docs/img/demos/demo2.png +0 -0
  87. data/docs/img/demos/demo3-th.png +0 -0
  88. data/docs/img/demos/demo3.png +0 -0
  89. data/docs/img/demos/demo4-th.png +0 -0
  90. data/docs/img/demos/demo4.png +0 -0
  91. data/docs/img/demos/demo5-th.png +0 -0
  92. data/docs/img/demos/demo5.png +0 -0
data/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@
2
2
  We'll keep you up to date with what we've released so you at least have a gist of what goes into each update. For the most part, we'll try to list things out as detailed as we see necessary.
3
3
 
4
4
  ---
5
+ ### 4.0.4
6
+ This patch fixes various bugs that have been submitted since release. We'll be more specific with changelog updates going forward.
7
+
8
+ ### 4.0.3
9
+ Bug fixes
10
+
11
+ ### 4.0.2
12
+ Bug fixes
13
+
14
+ ### 4.0.1
15
+ Bug fixes
5
16
 
6
17
  ### **4.0**- February 28, 2013
7
18
  Initial launch of Foundation 4, a rewritten, mobile-first implementation of the framework. Major enhancements include a mobile-first approach across the board, Scss tools to allow for all-semantic coding, and rewritten JS plugins for speed and ease of use. Marketing site updates, new docs, refined and simplified styles and more. Review the [migration guide](http://foundation.zurb.com/migration.php) for more information.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zurb-foundation (4.0.3)
4
+ zurb-foundation (4.0.4)
5
5
  rake
6
6
  sass (>= 3.2.0)
7
7
 
data/README.md CHANGED
@@ -61,6 +61,10 @@ MODX
61
61
 
62
62
  * [NuGet Package for ASP.Net MVC](http://www.nuget.org/packages/Foundation3_MVC4) by Edward Charbeneau, @EdCharbeneau
63
63
 
64
+ Middleman
65
+
66
+ * [Middleman Skeleton](https://github.com/axyz/middleman-zurb-foundation) by [Andrea Moretti](https://twitter.com/axyz)
67
+
64
68
  Python
65
69
  * [Pyramid Scaffold](https://github.com/ppinette/pyramid_foundation) by Parker Pinette
66
70
 
@@ -90,6 +94,7 @@ Grid displayer
90
94
 
91
95
  * [Grid displayer bookmarklet](http://alefeuvre.github.com/foundation-grid-displayer/) by [Antoine Lefeuvre](http://twitter.com/jiraisurfer)
92
96
  * [Responsive Design Bookmarklet](http://responsive.victorcoulon.fr/) by [Victor Coulon](https://twitter.com/_victa)
97
+ * [Vertical Rhythm Grid Bookmarklet](http://gridwax.gs/) by [Kevin Altman](http://twitter.com/itg)
93
98
 
94
99
  Modular Scale
95
100
 
data/docs/Gemfile CHANGED
@@ -1,4 +1,5 @@
1
- source :rubygems
1
+ source 'https://rubygems.org'
2
+
2
3
  gem 'sprockets'
3
4
  gem 'foreman'
4
5
  gem 'stasis'
data/docs/Gemfile.lock CHANGED
@@ -1,5 +1,5 @@
1
1
  GEM
2
- remote: http://rubygems.org/
2
+ remote: https://rubygems.org/
3
3
  specs:
4
4
  coderay (1.0.9)
5
5
  directory_watcher (1.4.1)
@@ -1,13 +1,13 @@
1
- <div class="section-container accordion" data-section data-options="deep_linking: false">
1
+ <div class="docs section-container accordion" data-section data-options="deep_linking: false">
2
2
  <section class="section <%= @side_nav == 'using' ? 'active': '' %>">
3
3
  <p class="title"><a href="#">Using Foundation</a></p>
4
4
  <div class="content">
5
5
  <ul class="side-nav">
6
- <li><a href="http://foundation.zurb.com/docs/">Get Started</a></li>
6
+ <li><a href="../">Get Started</a></li>
7
7
  <li><a href="../javascript.html">Javascript</a></li>
8
8
  <li><a href="../sass.html">Sass</a></li>
9
9
  <li><a href="../rails.html">Rails</a></li>
10
- <li><a href="visibility.html">Visibility Classes</a></li>
10
+ <li><a class="<%= @page_title == 'Visibility Classes' ? 'active': '' %>" href="visibility.html">Visibility Classes</a></li>
11
11
  </ul>
12
12
  </div>
13
13
  </section>
@@ -15,8 +15,8 @@
15
15
  <p class="title"><a href="#">Grid</a></p>
16
16
  <div class="content">
17
17
  <ul class="side-nav">
18
- <li><a href="grid.html">Grid</a></li>
19
- <li><a href="block-grid.html">Block Grid</a></li>
18
+ <li><a class="<%= @page_title == 'Grid' ? 'active': '' %>" href="grid.html">Grid</a></li>
19
+ <li><a class="<%= @page_title == 'Block Grid' ? 'active': '' %>" href="block-grid.html">Block Grid</a></li>
20
20
  </ul>
21
21
  </div>
22
22
  </section>
@@ -24,11 +24,11 @@
24
24
  <p class="title"><a href="#">Navigation</a></p>
25
25
  <div class="content">
26
26
  <ul class="side-nav">
27
- <li><a href="pagination.html">Pagination</a></li>
28
- <li><a href="side-nav.html">Side Nav</a></li>
29
- <li><a href="sub-nav.html">Sub Nav</a></li>
30
- <li><a href="top-bar.html">Top Bar</a></li>
31
- <li><a href="breadcrumbs.html">Breadcrumbs</a></li>
27
+ <li><a class="<%= @page_title == 'Pagination' ? 'active': '' %>" href="pagination.html">Pagination</a></li>
28
+ <li><a class="<%= @page_title == 'Side Nav' ? 'active': '' %>" href="side-nav.html">Side Nav</a></li>
29
+ <li><a class="<%= @page_title == 'Sub Nav' ? 'active': '' %>" href="sub-nav.html">Sub Nav</a></li>
30
+ <li><a class="<%= @page_title == 'Top Bar' ? 'active': '' %>" href="top-bar.html">Top Bar</a></li>
31
+ <li><a class="<%= @page_title == 'Breadcrumbs' ? 'active': '' %>" href="breadcrumbs.html">Breadcrumbs</a></li>
32
32
  </ul>
33
33
  </div>
34
34
  </section>
@@ -36,10 +36,10 @@
36
36
  <p class="title"><a href="#">Buttons</a></p>
37
37
  <div class="content">
38
38
  <ul class="side-nav">
39
- <li><a href="buttons.html">Buttons</a></li>
40
- <li><a href="button-groups.html">Button Groups</a></li>
41
- <li><a href="dropdown-buttons.html">Dropdown Buttons</a></li>
42
- <li><a href="split-buttons.html">Split Buttons</a></li>
39
+ <li><a class="<%= @page_title == 'Buttons' ? 'active': '' %>" href="buttons.html">Buttons</a></li>
40
+ <li><a class="<%= @page_title == 'Button Groups' ? 'active': '' %>" href="button-groups.html">Button Groups</a></li>
41
+ <li><a class="<%= @page_title == 'Dropdown Buttons' ? 'active': '' %>" href="dropdown-buttons.html">Dropdown Buttons</a></li>
42
+ <li><a class="<%= @page_title == 'Split Buttons' ? 'active': '' %>" href="split-buttons.html">Split Buttons</a></li>
43
43
  </ul>
44
44
  </div>
45
45
  </section>
@@ -47,9 +47,9 @@
47
47
  <p class="title"><a href="#">Forms</a></p>
48
48
  <div class="content">
49
49
  <ul class="side-nav">
50
- <li><a href="forms.html">Forms</a></li>
51
- <li><a href="custom-forms.html">Custom Forms</a></li>
52
- <li><a href="switch.html">Switch</a></li>
50
+ <li><a class="<%= @page_title == 'Forms' ? 'active': '' %>" href="forms.html">Forms</a></li>
51
+ <li><a class="<%= @page_title == 'Custom Forms' ? 'active': '' %>" href="custom-forms.html">Custom Forms</a></li>
52
+ <li><a class="<%= @page_title == 'Switch' ? 'active': '' %>" href="switch.html">Switch</a></li>
53
53
  </ul>
54
54
  </div>
55
55
  </section>
@@ -57,10 +57,10 @@
57
57
  <p class="title"><a href="#">Typography</a></p>
58
58
  <div class="content">
59
59
  <ul class="side-nav">
60
- <li><a href="type.html">Type</a></li>
61
- <li><a href="inline-lists.html">Inline Lists</a></li>
62
- <li><a href="labels.html">Labels</a></li>
63
- <li><a href="keystrokes.html">Keystrokes</a></li>
60
+ <li><a class="<%= @page_title == 'Typography' ? 'active': '' %>" href="type.html">Type</a></li>
61
+ <li><a class="<%= @page_title == 'Inline Lists' ? 'active': '' %>" href="inline-lists.html">Inline Lists</a></li>
62
+ <li><a class="<%= @page_title == 'Labels' ? 'active': '' %>" href="labels.html">Labels</a></li>
63
+ <li><a class="<%= @page_title == 'Keystrokes' ? 'active': '' %>" href="keystrokes.html">Keystrokes</a></li>
64
64
  </ul>
65
65
  </div>
66
66
  </section>
@@ -68,13 +68,13 @@
68
68
  <p class="title"><a href="#">CSS Components</a></p>
69
69
  <div class="content">
70
70
  <ul class="side-nav">
71
- <li><a href="alert-boxes.html">Alert Boxes</a></li>
72
- <li><a href="panels.html">Panels</a></li>
73
- <li><a href="pricing-tables.html">Pricing Tables</a></li>
74
- <li><a href="progress-bars.html">Progress Bars</a></li>
75
- <li><a href="tables.html">Tables</a></li>
76
- <li><a href="thumbnails.html">Thumbnails</a></li>
77
- <li><a href="flex-video.html">Flex Video</a></li>
71
+ <li><a class="<%= @page_title == 'Alert Boxes' ? 'active': '' %>" href="alert-boxes.html">Alert Boxes</a></li>
72
+ <li><a class="<%= @page_title == 'Panels' ? 'active': '' %>" href="panels.html">Panels</a></li>
73
+ <li><a class="<%= @page_title == 'Pricing Tables' ? 'active': '' %>" href="pricing-tables.html">Pricing Tables</a></li>
74
+ <li><a class="<%= @page_title == 'Progress Bars' ? 'active': '' %>" href="progress-bars.html">Progress Bars</a></li>
75
+ <li><a class="<%= @page_title == 'Tables' ? 'active': '' %>" href="tables.html">Tables</a></li>
76
+ <li><a class="<%= @page_title == 'Thumbnails' ? 'active': '' %>" href="thumbnails.html">Thumbnails</a></li>
77
+ <li><a class="<%= @page_title == 'Flex Video' ? 'active': '' %>" href="flex-video.html">Flex Video</a></li>
78
78
  </ul>
79
79
  </div>
80
80
  </section>
@@ -82,29 +82,29 @@
82
82
  <p class="title"><a href="#">Javascript</a></p>
83
83
  <div class="content">
84
84
  <ul class="side-nav">
85
- <li><a href="clearing.html">Clearing</a></li>
86
- <li><a href="dropdown.html">Dropdown</a></li>
87
- <li><a href="joyride.html">Joyride</a></li>
88
- <li><a href="magellan.html">Magellan</a></li>
89
- <li><a href="orbit.html">Orbit</a></li>
90
- <li><a href="reveal.html">Reveal</a></li>
91
- <li><a href="section.html">Section</a></li>
92
- <li><a href="tooltips.html">Tooltips</a></li>
85
+ <li><a class="<%= @page_title == 'Clearing' ? 'active': '' %>" href="clearing.html">Clearing</a></li>
86
+ <li><a class="<%= @page_title == 'Dropdown' ? 'active': '' %>" href="dropdown.html">Dropdown</a></li>
87
+ <li><a class="<%= @page_title == 'Joyride' ? 'active': '' %>" href="joyride.html">Joyride</a></li>
88
+ <li><a class="<%= @page_title == 'Magellan' ? 'active': '' %>" href="magellan.html">Magellan</a></li>
89
+ <li><a class="<%= @page_title == 'Orbit' ? 'active': '' %>" href="orbit.html">Orbit</a></li>
90
+ <li><a class="<%= @page_title == 'Reveal' ? 'active': '' %>" href="reveal.html">Reveal</a></li>
91
+ <li><a class="<%= @page_title == 'Sections' ? 'active': '' %>" href="section.html">Section</a></li>
92
+ <li><a class="<%= @page_title == 'Tooltips' ? 'active': '' %>" href="tooltips.html">Tooltips</a></li>
93
93
  </ul>
94
94
  </div>
95
95
  </section>
96
- <section class="section">
96
+ <section class="section <%= @page_title == 'FAQ' ? 'active': '' %>">
97
97
  <p class="title"><a href="../faq.html">FAQ</a></p>
98
98
  </section>
99
- <section class="section">
99
+ <section class="section <%= @page_title == 'Support' ? 'active': '' %>">
100
100
  <p class="title"><a href="../support.html">Support</a></p>
101
101
  </section>
102
102
  </div>
103
103
 
104
104
  <p><a href="http://foundation.zurb.com/download.php" class="button expand" style="margin-bottom: 0;">Download Foundation 4</a></p>
105
105
 
106
- <!-- <div class="jobs hide-for-small">
106
+ <div class="jobs hide-for-small">
107
107
  <h5>Awesome product jobs:</h5>
108
108
  <script type="text/javascript" src="http://www.zurb.com/jobs/widgets/jobs.js?limit=3&variation=foundation-sidebar"></script>
109
109
  <a id="via" href="http://zurbjobs.com">via&nbsp;<span class="jobs-link">ZURBjobs</span></a>
110
- </div> -->
110
+ </div>
@@ -1,12 +1,12 @@
1
- <div class="section-container accordion" data-section data-options="deep_linking: false">
1
+ <div class="docs section-container accordion" data-section data-options="deep_linking: false">
2
2
  <section class="section <%= @side_nav == 'using' ? 'active': '' %>">
3
3
  <p class="title"><a href="#">Using Foundation</a></p>
4
4
  <div class="content">
5
5
  <ul class="side-nav">
6
- <li><a href="http://foundation.zurb.com/docs/">Get Started</a></li>
7
- <li><a href="javascript.html">Javascript</a></li>
8
- <li><a href="sass.html">Sass</a></li>
9
- <li><a href="rails.html">Rails</a></li>
6
+ <li><a class="<%= @page_title == 'Getting Started' ? 'active': '' %>" href="index.html">Get Started</a></li>
7
+ <li><a class="<%= @page_title == 'Javascript' ? 'active': '' %>" href="javascript.html">Javascript</a></li>
8
+ <li><a class="<%= @page_title == 'Sass' ? 'active': '' %>" href="sass.html">Sass</a></li>
9
+ <li><a class="<%= @page_title == 'Rails' ? 'active': '' %>" href="rails.html">Rails</a></li>
10
10
  <li><a href="components/visibility.html">Visibility Classes</a></li>
11
11
  </ul>
12
12
  </div>
@@ -92,18 +92,18 @@
92
92
  </ul>
93
93
  </div>
94
94
  </section>
95
- <section class="section">
95
+ <section class="section <%= @page_title == 'FAQ' ? 'active': '' %>">
96
96
  <p class="title"><a href="faq.html">FAQ</a></p>
97
97
  </section>
98
- <section class="section">
98
+ <section class="section <%= @page_title == 'Support' ? 'active': '' %>">
99
99
  <p class="title"><a href="support.html">Support</a></p>
100
100
  </section>
101
101
  </div>
102
102
 
103
103
  <p><a href="http://foundation.zurb.com/download.php" class="button expand" style="margin-bottom: 0;">Download Foundation 4</a></p>
104
104
 
105
- <!-- <div class="jobs hide-for-small">
105
+ <div class="jobs hide-for-small">
106
106
  <h5>Awesome product jobs:</h5>
107
107
  <script type="text/javascript" src="http://www.zurb.com/jobs/widgets/jobs.js?limit=3&variation=foundation-sidebar"></script>
108
108
  <a id="via" href="http://zurbjobs.com">via&nbsp;<span class="jobs-link">ZURBjobs</span></a>
109
- </div> -->
109
+ </div>
@@ -7,14 +7,36 @@
7
7
 
8
8
  <% @page_title = "Changelog" %>
9
9
  <h2><%= @page_title %></h2>
10
-
10
+
11
11
  <h4 class="subheader">We'll keep you up to date with what we've released so you at least have a gist of what goes into each update. For the most part, we'll try to list things out as detailed as we see necessary.</h4>
12
-
12
+
13
13
  <hr />
14
-
14
+
15
+ <h5>4.0.4</h5>
16
+ <p>This patch fixes various bugs that have been submitted since release. We'll be more specific with changelog updates going forward.</p>
17
+
18
+ <hr>
19
+
20
+ <h5>4.0.3</h5>
21
+ <p>Bug fixes.</p>
22
+
23
+ <hr>
24
+
25
+ <h5>4.0.2</h5>
26
+ <p>Bug fixes.</p>
27
+
28
+ <hr>
29
+
30
+ <h5>4.0.1</h5>
31
+ <p>This patch fixes a few quick bugs.</p>
32
+
33
+ <hr>
34
+
15
35
  <h5><strong>4.0</strong> &mdash; Feburary 28, 2013</h5>
16
36
  <p>Initial launch of Foundation 4, a rewritten, mobile-first implementation of the framework. Major enhancements include a mobile-first approach across the board, Scss tools to allow for all-semantic coding, and rewritten JS plugins for speed and ease of use. Marketing site updates, new docs, refined and simplified styles and more. Review the <a href="http://foundation.zurb.com/migration.php">migration guide</a> for more information.</p>
17
-
37
+
38
+ <hr>
39
+
18
40
  <h5>3.2.5 &mdash; January 26, 2013</h5>
19
41
  <p>This patch fixes compatability with jQuery 1.9. This patch includes:</p>
20
42
  <ul class="disc">
@@ -23,6 +45,8 @@
23
45
  <li>Add Clearing and Joyride to SCSS project templates.</li>
24
46
  </ul>
25
47
 
48
+ <hr>
49
+
26
50
  <h5>3.2.4 &mdash; January 14, 2013</h5>
27
51
  <p>This patch includes bug fixes and a few style improvements for small UI elements. This patch includes:</p>
28
52
  <ul class="disc">
@@ -171,8 +195,8 @@
171
195
  <h5 class="subheader">Foundation is the most advanced front-end framework in existence. We've ditched IE7 so that we can do more awesome things and push the web to where it needs to be.</h5>
172
196
  <a class="button" href="support.html">Browser Support &raquo;</a> <a class="secondary button" href="faq.html">Frequently Asked Questions &raquo;</a>
173
197
  </div>
174
-
175
-
198
+
199
+
176
200
  </div>
177
201
  </div>
178
202
 
@@ -48,7 +48,7 @@
48
48
  <hr>
49
49
 
50
50
  <h3>Build with Mixins</h3>
51
- <p>We've included SCSS mixins used to style alert boxes. To use these mixins, you'll need to have the <a href="#extention-install">extension installed</a> or grab <a href="#">_foundation-global.scss</a> and <a href="#">_alerts.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
51
+ <p>We've included SCSS mixins used to style alert boxes. To use these mixins, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_alert-boxes.scss">_alert-boxes.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
52
52
 
53
53
  <%= code_example '
54
54
  @import "foundation/foundation-global", "foundation/alerts";
@@ -10,10 +10,10 @@
10
10
  <h4 class="subheader">Block grids give you a way to evenly split contents of a list within the grid. If you wanted to create a row of 5 images or paragraphs that need to stay evenly spaced no matter the screen size, the block grid is for you.</h4>
11
11
 
12
12
  <ul class="small-block-grid-2 large-block-grid-5">
13
- <li><img src="../img/demos/demo1.png"></li>
14
- <li><img src="../img/demos/demo2.png"></li>
15
- <li><img src="../img/demos/demo3.png"></li>
16
- <li><img src="../img/demos/demo4.png"></li>
13
+ <li><img src="../img/demos/demo1.jpg"></li>
14
+ <li><img src="../img/demos/demo2.jpg"></li>
15
+ <li><img src="../img/demos/demo3.jpg"></li>
16
+ <li><img src="../img/demos/demo4.jpg"></li>
17
17
  </ul>
18
18
 
19
19
  <hr>
@@ -54,7 +54,7 @@
54
54
  <hr>
55
55
 
56
56
  <h3>Using The Mixin</h3>
57
- <p>We've included SCSS mixins used to style block-grids. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/tree/master/scss/foundation/components">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/tree/master/scss/foundation/components">_block-grid.scss</a> from Github and throw them into a foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
57
+ <p>We've included SCSS mixins used to style block-grids. To use the mixin, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/tree/master/scss/foundation/components">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/tree/master/scss/foundation/components">_block-grid.scss</a> from Github and throw them into a foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
58
58
 
59
59
  <%= code_example '
60
60
  @import "foundation/foundation-global", "foundation/block-grid";
@@ -90,11 +90,11 @@ $base-style: true
90
90
  ', :css %>
91
91
 
92
92
  <ul class="small-block-grid-5">
93
- <li><img src="../img/demos/demo1.png"></li>
94
- <li><img src="../img/demos/demo2.png"></li>
95
- <li><img src="../img/demos/demo3.png"></li>
96
- <li><img src="../img/demos/demo4.png"></li>
97
- <li><img src="../img/demos/demo5.png"></li>
93
+ <li><img src="../img/demos/demo1.jpg"></li>
94
+ <li><img src="../img/demos/demo2.jpg"></li>
95
+ <li><img src="../img/demos/demo3.jpg"></li>
96
+ <li><img src="../img/demos/demo4.jpg"></li>
97
+ <li><img src="../img/demos/demo5.jpg"></li>
98
98
  </ul>
99
99
 
100
100
  <h5>Available SCSS Variables</h5>
@@ -38,7 +38,7 @@
38
38
  <hr>
39
39
 
40
40
  <h3>Build with Mixins</h3>
41
- <p>We've included SCSS mixins used to style alert boxes. To use these mixins, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_breadcrumbs.scss">_breadcrumbs.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
41
+ <p>We've included SCSS mixins used to style alert boxes. To use these mixins, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_breadcrumbs.scss">_breadcrumbs.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
42
42
 
43
43
  <%= code_example '
44
44
  @import "foundation/foundation-global", "foundation/breadcrumbs";
@@ -65,12 +65,43 @@
65
65
  </ul>
66
66
  ', :html %>
67
67
 
68
- <p>For these styles to take effect, make sure you have the <strong>default Foundation CSS package</strong> or that you've selected <strong>buttons and button-groups from a custom package</strong>. These should be linked up following our default <a href="../index.html">HTML page structure</a>.</p>
68
+ <h5>Button Bars</h5>
69
+ <p>A button bar is a group of button groups (I N C E P T I O N), perfect for situations where you want groups of actions that are all related to a similar element or page. Simply wrap two or more button groups in a <code>.button-bar</code> and Foundation takes care of the rest.</p>
70
+
71
+ <%= code_example '
72
+ <div class="button-bar">
73
+ <ul class="button-group">
74
+ <li><a href="#" class="small button">Button 1</a></li>
75
+ <li><a href="#" class="small button">Button 2</a></li>
76
+ <li><a href="#" class="small button">Button 3</a></li>
77
+ </ul>
78
+ <ul class="button-group">
79
+ <li><a href="#" class="small button">Button 1</a></li>
80
+ <li><a href="#" class="small button">Button 2</a></li>
81
+ <li><a href="#" class="small button">Button 3</a></li>
82
+ </ul>
83
+ </div>
84
+ ', :html %>
85
+ <div class="button-bar">
86
+ <ul class="button-group">
87
+ <li><a href="#" class="small button">Button 1</a></li>
88
+ <li><a href="#" class="small button">Button 2</a></li>
89
+ <li><a href="#" class="small button">Button 3</a></li>
90
+ </ul>
91
+ <ul class="button-group secondary">
92
+ <li><a href="#" class="small button">Button 1</a></li>
93
+ <li><a href="#" class="small button">Button 2</a></li>
94
+ <li><a href="#" class="small button">Button 3</a></li>
95
+ </ul>
96
+ </div>
97
+
98
+
99
+ <p>For any of these styles to take effect, make sure you have the <strong>default Foundation CSS package</strong> or that you've selected <strong>buttons and button-groups from a custom package</strong>. These should be linked up following our default <a href="../index.html">HTML page structure</a>.</p>
69
100
 
70
101
  <hr>
71
102
 
72
103
  <h3>Build with Mixins</h3>
73
- <p>We've included SCSS mixins used to style button groups. To use these mixins, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_buttons.scss">_buttons.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_button-groups.scss">_button-groups.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
104
+ <p>We've included SCSS mixins used to style button groups. To use these mixins, you'll need to have the <a href="../sass.html">extension installed</a> or grab <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/_foundation-global.scss">_foundation-global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_global.scss">_global.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_buttons.scss">_buttons.scss</a> and <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_button-groups.scss">_button-groups.scss</a> from Github and throw them into a Foundation folder in your project directory. From there, you can import the files at the top of your own SCSS stylesheet, like so:</p>
74
105
 
75
106
  <%= code_example '
76
107
  @import "foundation/foundation-global", "foundation/buttons", "foundation/button-groups";
@@ -156,10 +187,33 @@ $float: left
156
187
  <li><a href="#" class="button-class">Button 3</a></li>
157
188
  </ul>
158
189
 
190
+ <h5>Building Button Bars</h5>
191
+ <p>You can also build button bars with mixin options.</p>
192
+ <%= code_example '
193
+ <div class="your-bar-class-name">
194
+ <ul class="your-class-name">
195
+ <li><a href="#" class="your-button-class">Button 1</a></li>
196
+ <li><a href="#" class="your-button-class">Button 2</a></li>
197
+ <li><a href="#" class="your-button-class">Button 3</a></li>
198
+ </ul>
199
+ <ul class="your-class-name">
200
+ <li><a href="#" class="your-button-class">Button 1</a></li>
201
+ <li><a href="#" class="your-button-class">Button 2</a></li>
202
+ <li><a href="#" class="your-button-class">Button 3</a></li>
203
+ </ul>
204
+ </div>
205
+ ', :html %>
206
+
207
+ <%= code_example '
208
+ .your-bar-class-name { @include clearfix;
209
+ .your-button-class { @include button-group-container(false,true); }
210
+ }
211
+ ', :css %>
212
+
159
213
  <h5>Default SCSS Variables</h5>
160
214
  <%= code_example '
161
215
  /* We use this to set the margin below button groups. */
162
- $button-group-bottom-margin: emCalc(20px);
216
+ $button-bar-margin-right: emCalc(10px);
163
217
  ', :css %>
164
218
 
165
219
  <p><strong>Note:</strong> <code>emCalc();</code> is a function we wrote to convert <code>px</code> to <code>em</code>.</p>