zurb-foundation 4.3.0 → 4.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/.gitignore +1 -0
  2. data/Gemfile.lock +1 -1
  3. data/README.md +8 -8
  4. data/docs/CHANGELOG.md +9 -1
  5. data/docs/Gemfile +5 -2
  6. data/docs/Gemfile.lock +19 -6
  7. data/docs/changelog.html.erb +1 -1
  8. data/docs/components/abide.html.erb +3 -3
  9. data/docs/components/alert-boxes.html.erb +3 -1
  10. data/docs/components/block-grid.html.erb +7 -5
  11. data/docs/components/breadcrumbs.html.erb +3 -1
  12. data/docs/components/button-groups.html.erb +4 -1
  13. data/docs/components/buttons.html.erb +3 -2
  14. data/docs/components/dropdown-buttons.html.erb +4 -1
  15. data/docs/components/dropdown.html.erb +6 -4
  16. data/docs/components/flex-video.html.erb +3 -1
  17. data/docs/components/grid.html.erb +4 -4
  18. data/docs/components/inline-lists.html.erb +3 -1
  19. data/docs/components/keystrokes.html.erb +3 -1
  20. data/docs/components/kitchen-sink.html.erb +13 -8
  21. data/docs/components/labels.html.erb +3 -1
  22. data/docs/components/pagination.html.erb +3 -1
  23. data/docs/components/panels.html.erb +3 -1
  24. data/docs/components/pricing-tables.html.erb +3 -1
  25. data/docs/components/progress-bars.html.erb +3 -1
  26. data/docs/components/reveal.html.erb +9 -1
  27. data/docs/components/section.html.erb +7 -7
  28. data/docs/components/side-nav.html.erb +3 -1
  29. data/docs/components/split-buttons.html.erb +4 -1
  30. data/docs/components/sub-nav.html.erb +3 -1
  31. data/docs/components/thumbnails.html.erb +3 -1
  32. data/docs/controller.rb +17 -2
  33. data/docs/css/docs.scss +103 -8
  34. data/docs/index.html.erb +9 -0
  35. data/docs/layout.html.erb +2 -1
  36. data/js/foundation/foundation.clearing.js +1 -1
  37. data/js/foundation/foundation.forms.js +1 -1
  38. data/js/foundation/foundation.js +3 -9
  39. data/js/foundation/foundation.orbit.js +15 -8
  40. data/js/foundation/foundation.section.js +3 -4
  41. data/js/foundation/foundation.topbar.js +3 -3
  42. data/lib/foundation/generators/templates/application.html.slim +3 -3
  43. data/lib/foundation/version.rb +1 -1
  44. data/scss/foundation/_variables.scss +0 -1
  45. data/scss/foundation/components/_buttons.scss +0 -1
  46. data/scss/foundation/components/_forms.scss +12 -7
  47. data/scss/foundation/components/_orbit.scss +12 -2
  48. metadata +4 -4
data/.gitignore CHANGED
@@ -3,6 +3,7 @@
3
3
  .bundle
4
4
  .config
5
5
  .yardoc
6
+ .idea
6
7
  InstalledFiles
7
8
  _yardoc
8
9
  coverage
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- zurb-foundation (4.3.0)
4
+ zurb-foundation (4.3.1)
5
5
  sass (>= 3.2.0)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -53,6 +53,7 @@ Drupal
53
53
  * [Zoundation Theme](http://drupal.org/project/zoundation) by [Andrea Burton](https://twitter.com/andreaburton) & [Jeff Graham](https://twitter.com/jgraham909), FunnyMonkey
54
54
 
55
55
  Alfred
56
+
56
57
  * [Foundation Alfred](https://github.com/joshmedeski/foundation-alfred) by Josh Medeski (@joshmedeski)
57
58
 
58
59
  PyroCMS
@@ -77,13 +78,17 @@ Middleman
77
78
  * [Middleman Foundation 4.x Template](https://github.com/mattolson/middleman-zurb-template) by [Matt Olson](http://mattolson.com)
78
79
 
79
80
  Magento
81
+
80
82
  * [Magento & Foundation](https://github.com/nandroid/MagentoFoundation) by Nandroid
81
83
  * [Waterlee Boilerplate](https://github.com/zeljkoprsa/waterlee-boilerplate) by Jake Sharp
82
84
 
83
- Metoer
85
+ Meteor
86
+
84
87
  * [Meteor Package for Foundation](https://atmosphere.meteor.com/package/foundation) by Eric Wallace
88
+ * [Foundation Smart Package](https://atmosphere.meteor.com/package/zurb-foundation)
85
89
 
86
90
  Python
91
+
87
92
  * [Pyramid Scaffold](https://github.com/ppinette/pyramid_foundation) by Parker Pinette
88
93
 
89
94
  CodeIgniter
@@ -94,7 +99,7 @@ Shopify
94
99
 
95
100
  * [Foundationify Shopify Theme](https://github.com/lukebussey/foundationify) by Luke Bussey
96
101
 
97
- Silverstripe
102
+ SilverStripe
98
103
 
99
104
  * [Foundation Silverstripe Theme](https://github.com/ryanwachtl/silverstripe-foundation) by [Ryan Wachtl](https://github.com/ryanwachtl)
100
105
 
@@ -125,7 +130,7 @@ Grid Generator
125
130
 
126
131
  * [Experimental Grid Generator](http://www.gridlover.net/foundation/) courtesy of [Ville Vanninen](http://foolproof.me)
127
132
 
128
- Grid displayer
133
+ Grid Displayer
129
134
 
130
135
  * [Grid displayer bookmarklet](http://alefeuvre.github.com/foundation-grid-displayer/) by [Antoine Lefeuvre](http://twitter.com/jiraisurfer)
131
136
  * [Responsive Design Bookmarklet](http://responsive.victorcoulon.fr/) by [Victor Coulon](https://twitter.com/_victa)
@@ -144,11 +149,6 @@ Yeoman Generator
144
149
  * [Yeoman 1.0-Foundation 4](https://github.com/lkbgift/foundation4-yeoman) by [Leonard Bogdonoff](http://twitter.com/lkbcc)
145
150
  * [Yeoman-Foundation](https://npmjs.org/package/yeoman-foundation) by Vincent Mac
146
151
 
147
- Meteor
148
-
149
- * [Foundation Smart Package](https://atmosphere.meteor.com/package/zurb-foundation)
150
-
151
-
152
152
  MIT Open Source License
153
153
  =======================
154
154
 
@@ -1,10 +1,18 @@
1
+ ### 4.3.1- July 23, 2013
2
+ * Fixes RTL animation issues in Orbit
3
+ * Addresses error class conflicts between Abide and general form styles
4
+ * Bug fixes
5
+
6
+
7
+ You can compare the commits [here](https://github.com/zurb/foundation/compare/v4.3.0...v4.3.1).
8
+
1
9
  ### 4.3- July 18, 2013
2
10
  * Added [Abide](http://foundation.zurb.com/docs/components/abide.html), our new form validation plugin that works with simple data-attributes.
3
11
  * Rewrote Orbit to include previous options and animations. We also made it possible to have variable height slides and separate animations.
4
12
  * Top Bar JS updates to fix a scrollTop bug
5
13
  * Fixed a positioning bug in custom forms when using the collapsed option
6
14
  * Added custom section to custom forms
7
- * Updated Interchance to support absolute URLs
15
+ * Updated Interchange to support absolute URLs
8
16
  * Updated the emCalc to be used unitlessly and with multiple values
9
17
  * Created an early "opt-in" grid that we've built for Foundation 5. This includes 2 breakpoints and three grids (small, medium, large). Use this to start planning ahead to Foundation 5.
10
18
  * Fixed a bug with Section deep linking in nested content
@@ -5,11 +5,14 @@ gem 'sprockets'
5
5
  gem 'foreman'
6
6
  gem 'stasis'
7
7
  gem 'sass', :require => false
8
- gem 'coderay'
9
- gem 'coderay_bash'
8
+ gem 'rouge'
10
9
  gem 'thin'
11
10
  gem 'uglifier'
12
11
 
12
+ group :development do
13
+ gem 'capistrano'
14
+ end
15
+
13
16
  group :production do
14
17
  gem 'therubyracer'
15
18
  end
@@ -1,9 +1,12 @@
1
1
  GEM
2
2
  remote: https://rubygems.org/
3
3
  specs:
4
- coderay (1.0.9)
5
- coderay_bash (1.0.5)
6
- coderay (>= 1.0)
4
+ capistrano (2.15.4)
5
+ highline
6
+ net-scp (>= 1.0.0)
7
+ net-sftp (>= 2.0.0)
8
+ net-ssh (>= 2.0.14)
9
+ net-ssh-gateway (>= 1.1.0)
7
10
  daemons (1.1.9)
8
11
  directory_watcher (1.4.1)
9
12
  eventmachine (1.0.3)
@@ -11,11 +14,21 @@ GEM
11
14
  multi_json (~> 1.0)
12
15
  foreman (0.61.0)
13
16
  thor (>= 0.13.6)
17
+ highline (1.6.19)
14
18
  hike (1.2.1)
15
19
  libv8 (3.3.10.4)
16
20
  multi_json (1.6.1)
21
+ net-scp (1.1.1)
22
+ net-ssh (>= 2.6.5)
23
+ net-sftp (2.1.2)
24
+ net-ssh (>= 2.6.5)
25
+ net-ssh (2.6.7)
26
+ net-ssh-gateway (1.2.0)
27
+ net-ssh (>= 2.6.5)
17
28
  rack (1.5.2)
18
29
  redcarpet (2.2.2)
30
+ rouge (0.3.9)
31
+ thor
19
32
  sass (3.2.6)
20
33
  slop (3.3.2)
21
34
  sprockets (2.9.0)
@@ -33,7 +46,7 @@ GEM
33
46
  daemons (>= 1.0.9)
34
47
  eventmachine (>= 0.12.6)
35
48
  rack (>= 1.0.0)
36
- thor (0.17.0)
49
+ thor (0.18.1)
37
50
  tilt (1.3.3)
38
51
  uglifier (1.3.0)
39
52
  execjs (>= 0.3.0)
@@ -43,10 +56,10 @@ PLATFORMS
43
56
  ruby
44
57
 
45
58
  DEPENDENCIES
46
- coderay
47
- coderay_bash
59
+ capistrano
48
60
  foreman
49
61
  redcarpet
62
+ rouge
50
63
  sass
51
64
  sprockets
52
65
  stasis
@@ -3,7 +3,7 @@
3
3
  <%= render "_sidebar.html.erb" %>
4
4
  </div>
5
5
 
6
- <div class="large-9 columns">
6
+ <div id="changelog" class="large-9 columns">
7
7
 
8
8
  <% @page_title = "Changelog" %>
9
9
  <h2><%= @page_title %></h2>
@@ -167,7 +167,7 @@
167
167
  </tr>
168
168
  <tr>
169
169
  <td>card</td>
170
- <td>visa, ames, mastercard</td>
170
+ <td>visa, amex, mastercard</td>
171
171
  </tr>
172
172
  <tr>
173
173
  <td>cvv</td>
@@ -250,7 +250,7 @@ $(document)
250
250
  dashes_only: /^[0-9-]*$/,
251
251
  ip_address: /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/
252
252
  }
253
- })
253
+ });
254
254
  ", :js %>
255
255
 
256
256
  <p>You can then use these custom patterns like you would the predfined patterns in your markup:</p>
@@ -292,7 +292,7 @@ $(document)
292
292
 
293
293
  <h3>Events</h3>
294
294
 
295
- <p>If a submit event is fired, a <code>valid</code> event is fired if the form is valid and an <code>invalid</code> event is fired if the form is invalid.</p>
295
+ <p>If a submit event is fired, a <code>valid</code> event is triggered if the form is valid and an <code>invalid</code> event is triggered if the form is invalid.</p>
296
296
 
297
297
  <p>You can bind to these events and fire your own callback:</p>
298
298
 
@@ -56,7 +56,9 @@
56
56
  <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/_variables.scss">_variables.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>
57
57
 
58
58
  <%= code_example '
59
- @import "foundation/variables", "foundation/components/global", "foundation/components/alert-boxes";
59
+ @import "foundation/variables";
60
+ @import "foundation/components/global";
61
+ @import "foundation/components/alert-boxes";
60
62
  ', :css %>
61
63
 
62
64
  <p>If you are using the mixins, you may include the styles on whatever class or ID you'd like, just make sure you follow our markup structure:</p>
@@ -57,8 +57,10 @@
57
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">_variables.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
- @import "foundation/variables", "foundation/components/global", "foundation/components/block-grid";
61
- ', :css %>
60
+ @import "foundation/variables";
61
+ @import "foundation/components/global";
62
+ @import "foundation/components/block-grid";
63
+ ', :sass %>
62
64
 
63
65
  <p>If you are using the mixins, you may include the styles on whatever class or ID you'd like, just make sure you follow our markup structure. Since we don't have any media queries baked into the mixin itself, you can apply the styles at whatever breakpoint you want! Just change the configuration within each.</p>
64
66
 
@@ -87,7 +89,7 @@ $spacing: $block-grid-default-spacing
87
89
  /* This controls whether or not base styles come through, set to false to leave out */
88
90
  /* This is handy for when you create multiple block-grids and want less CSS output repetition */
89
91
  $base-style: true
90
- ', :css %>
92
+ ', :scss %>
91
93
 
92
94
  <ul class="small-block-grid-5">
93
95
  <li><img src="../img/demos/demo1.jpg"></li>
@@ -102,7 +104,7 @@ $base-style: true
102
104
 
103
105
  <%= code_example '
104
106
  .your-small-class-name > li { clear: none !important; }
105
- ', :css %>
107
+ ', :scss %>
106
108
 
107
109
  <p><strong>Note:</strong> If you are using the same class across breakpoints, your mixin should override this and you won't need it. If you want to control the layout using different classes, use the above snippet.</p>
108
110
 
@@ -115,7 +117,7 @@ $block-grid-default-spacing: emCalc(20);
115
117
 
116
118
  /* Enables media queries for block-grid classes. Set to false if writing semantic HTML. */
117
119
  $block-grid-media-queries: true
118
- ', :css %>
120
+ ', :scss %>
119
121
 
120
122
  </div>
121
123
  </div>
@@ -49,7 +49,9 @@
49
49
  <p>We've included SCSS mixins used to style breadcrumbs. 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/_variables.scss">_variables.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>
50
50
 
51
51
  <%= code_example '
52
- @import "foundation/variables", "foundation/components/global", "foundation/components/breadcrumbs";
52
+ @import "foundation/variables";
53
+ @import "foundation/components/global";
54
+ @import "foundation/components/breadcrumbs";
53
55
  ', :css %>
54
56
 
55
57
  <p>If you are using the mixins, you may include the styles on whatever class or ID you'd like, just make sure you follow our markup structure:</p>
@@ -104,7 +104,10 @@
104
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/_variables.scss">_variables.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>
105
105
 
106
106
  <%= code_example '
107
- @import "foundation/variables", "foundation/components/global", "foundation/components/buttons", "foundation/components/button-groups";
107
+ @import "foundation/variables";
108
+ @import "foundation/components/global";
109
+ @import "foundation/components/buttons";
110
+ @import "foundation/components/button-groups";
108
111
  ', :css %>
109
112
 
110
113
  <p>If you are using the mixins, you may include the styles on whatever class or ID you'd like, just make sure you follow our markup structure:</p>
@@ -69,7 +69,9 @@
69
69
  <p>We've included SCSS mixins used to style buttons. 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/_variables.scss">_variables.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/_buttons.scss">_buttons.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>
70
70
 
71
71
  <%= code_example '
72
- @import "foundation/variables", "foundation/components/global", "foundation/components/buttons";
72
+ @import "foundation/variables";
73
+ @import "foundation/components/global";
74
+ @import "foundation/components/buttons";
73
75
  ', :css %>
74
76
 
75
77
  <p>If you are using the mixins, you may include the styles on whatever class or ID you'd like, just make sure you follow our markup structure:</p>
@@ -202,7 +204,6 @@ $button-function-factor: 10%;
202
204
  /* We use these to control button border styles. */
203
205
  $button-border-width: 1px;
204
206
  $button-border-style: solid;
205
- $button-border-color: darken($primary-color, $button-function-factor);
206
207
 
207
208
  /* We use this to set the default radius used throughout the core. */
208
209
  $button-radius: $global-radius;
@@ -86,7 +86,10 @@
86
86
  <p>We've included SCSS mixins used to style buttons. 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/_variables.scss">_variables.scss</a>, <a href="https://github.com/zurb/foundation/blob/master/scss/foundation/components/_buttons.scss">_buttons.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/_dropdown-buttons.scss">_dropdown-buttons.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>
87
87
 
88
88
  <%= code_example '
89
- @import "foundation/variables", "foundation/components/global", "foundation/components/buttons", "foundation/components/dropdown-buttons";
89
+ @import "foundation/variables";
90
+ @import "foundation/components/global";
91
+ @import "foundation/components/buttons";
92
+ @import "foundation/components/dropdown-buttons";
90
93
  ', :css %>
91
94
 
92
95
  <p>If you are using the mixins, you may include the styles on whatever class or ID you'd like, just make sure you follow our markup structure:</p>
@@ -94,8 +94,10 @@
94
94
  <p>We've included SCSS mixins used to style dropdowns. 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/blob/master/scss/foundation/_variables.scss">_variables.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/_dropdown.scss">_dropdown.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>
95
95
 
96
96
  <%= code_example '
97
- @import "foundation/variables", "foundation/components/global", "foundation/components/dropdown";
98
- ', :css %>
97
+ @import "foundation/variables";
98
+ @import "foundation/components/global";
99
+ @import "foundation/components/dropdown";
100
+ ', :sass %>
99
101
 
100
102
  <p>If you are using the mixins, you may include the styles on whatever class or ID you'd like, just make sure you follow our markup structure:</p>
101
103
 
@@ -125,7 +127,7 @@ $triangle: true
125
127
  /* By default, the dropdown is 200px max-width, taking on 100% when gets smaller than that. */
126
128
  /* You can set this to any number you want or change it globally with the variable. */
127
129
  $max-width: $f-dropdown-max-width
128
- ', :css %>
130
+ ', :sass %>
129
131
 
130
132
  <h5>The List Style Mixin</h5>
131
133
  <p>For content dropdowns, we don't add any extra style to the inside of the dropdown other than padding around the edges. For link lists, we wanted to predefined style that would look good out of the box and match the style of our custom select dropdowns. The style mixin looks like this:</p>
@@ -137,7 +139,7 @@ $max-width: $f-dropdown-max-width
137
139
 
138
140
  li { @include dropdown-style; }
139
141
  }
140
- ', :css %>
142
+ ', :sass %>
141
143
 
142
144
  <h5>Default SCSS Variables</h5>
143
145
 
@@ -55,7 +55,9 @@
55
55
  <p>We've included SCSS mixins used to style labels. 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/blob/master/scss/foundation/_variables.scss">_variables.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/_flex-video.scss">_flex-video.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>
56
56
 
57
57
  <%= code_example '
58
- @import "foundation/variables", "foundation/components/global" "foundation/components/flex-video";
58
+ @import "foundation/variables";
59
+ @import "foundation/components/global";
60
+ @import "foundation/components/flex-video";
59
61
  ', :css %>
60
62
 
61
63
  <p>The markup is just like we showed you above, but you can apply the mixin to your own custom class or ID.</p>
@@ -311,7 +311,7 @@ $behavior: collapse
311
311
 
312
312
  /* If you have a nested row and want it to be collapsed, you need to add this option */
313
313
  $behavior: nest-collapse
314
- ', :css %>
314
+ ', :scss %>
315
315
 
316
316
  <%= code_example '
317
317
  /* Mixin options creating columns, these must be nested inside or a row */
@@ -344,13 +344,13 @@ $collapse: false
344
344
  /* By default, we include float: left. */
345
345
  /* To help control this, we made it an option. Set this to false to not include those styles. */
346
346
  $float: left
347
- ', :css %>
347
+ ', :scss %>
348
348
 
349
349
  <%= code_example '
350
350
  #masthead { @include grid-row; @include panel;
351
351
  & > hgroup { @include grid-column(4); }
352
352
  & > section { @include grid-column(8); }
353
- }', :css %>
353
+ }', :scss %>
354
354
 
355
355
  <header id="masthead">
356
356
  <hgroup>
@@ -368,7 +368,7 @@ $float: left
368
368
  $row-width: emCalc(1000);
369
369
  $column-gutter: emCalc(30);
370
370
  $total-columns: 12 !default;
371
- ', :css %>
371
+ ', :scss %>
372
372
 
373
373
  <hr>
374
374
 
@@ -44,7 +44,9 @@
44
44
  <p>We've included SCSS mixins used to style inline lists. 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/blob/master/scss/foundation/_variables.scss">_variables.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/_inline-lists.scss">_inline-lists.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>
45
45
 
46
46
  <%= code_example '
47
- @import "foundation/variables", "foundation/components/global", "foundation/components/inline-lists";
47
+ @import "foundation/variables";
48
+ @import "foundation/components/global";
49
+ @import "foundation/components/inline-lists";
48
50
  ', :css %>
49
51
 
50
52
  <h5>Quick Mixin</h5>
@@ -31,7 +31,9 @@
31
31
  <p>We've included SCSS mixins used to style keystrokes. 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/blob/master/scss/foundation/_variables.scss">_variables.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/_keystrokes.scss">_keystrokes.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>
32
32
 
33
33
  <%= code_example '
34
- @import "foundation/variables", "foundation/components/global", "foundation/components/keystrokes";
34
+ @import "foundation/variables";
35
+ @import "foundation/components/global";
36
+ @import "foundation/components/keystrokes";
35
37
  ', :css %>
36
38
 
37
39
  <h5>Quick Mixin</h5>
@@ -1,4 +1,4 @@
1
- <div class="row">
1
+ <div id="kitchen-sink" class="row">
2
2
  <div class="large-12 columns">
3
3
  <div class="row">
4
4
  <div class="large-12 columns">
@@ -102,21 +102,26 @@
102
102
  <hr>
103
103
 
104
104
  <h4>Dropdown Buttons</h4>
105
+ <ul id="drop" class="f-dropdown content" data-dropdown-content>
106
+ <li><a href="#">This is a link</a></li>
107
+ <li><a href="#">This is another</a></li>
108
+ <li><a href="#">Yet another</a></li>
109
+ </ul>
105
110
 
106
111
  <a href="#" data-dropdown="drop" class="tiny button dropdown">Dropdown Button</a><br>
107
- <a href="#" data-dropdown="drop2" class="small secondary radius button dropdown">Dropdown Button</a><br>
108
- <a href="#" data-dropdown="drop3" class="button alert round dropdown">Dropdown Button</a><br>
109
- <a href="#" data-dropdown="drop4" class="large success button dropdown">Dropdown Button</a><br>
110
- <a href="#" data-dropdown="drop5" class="large button dropdown expand">Dropdown Button</a>
112
+ <a href="#" data-dropdown="drop" class="small secondary radius button dropdown">Dropdown Button</a><br>
113
+ <a href="#" data-dropdown="drop" class="button alert round dropdown">Dropdown Button</a><br>
114
+ <a href="#" data-dropdown="drop" class="large success button dropdown">Dropdown Button</a><br>
115
+ <a href="#" data-dropdown="drop" class="large button dropdown expand">Dropdown Button</a>
111
116
 
112
117
  <hr>
113
118
 
114
119
  <h4>Split Buttons</h4>
115
120
 
116
121
  <a href="#" class="tiny button split">Split Button <span data-dropdown="drop"></span></a><br>
117
- <a href="#" class="small secondary radius button split">Split Button <span data-dropdown="drop2"></span></a><br>
118
- <a href="#" class="button alert round split">Split Button <span data-dropdown="drop3"></span></a><br>
119
- <a href="#" class="large success button split">Split Button <span data-dropdown="drop4"></span></a>
122
+ <a href="#" class="small secondary radius button split">Split Button <span data-dropdown="drop"></span></a><br>
123
+ <a href="#" class="button alert round split">Split Button <span data-dropdown="drop"></span></a><br>
124
+ <a href="#" class="large success button split">Split Button <span data-dropdown="drop"></span></a>
120
125
 
121
126
  <hr>
122
127