zurb-foundation 3.2.3 → 3.2.4.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/CHANGELOG.md +19 -0
  2. data/README.md +1 -0
  3. data/foundation.gemspec +1 -1
  4. data/lib/foundation/version.rb +1 -1
  5. data/scss/foundation/_settings.scss +8 -3
  6. data/scss/foundation/common/_forms.scss +6 -8
  7. data/scss/foundation/components/_grid.scss +8 -8
  8. data/scss/foundation/components/modules/_buttons.scss +11 -12
  9. data/scss/foundation/components/modules/_clearing.scss +1 -1
  10. data/scss/foundation/components/modules/_mqueries.scss +9 -9
  11. data/scss/foundation/components/modules/_orbit.scss +16 -16
  12. data/scss/foundation/components/modules/_reveal.scss +1 -2
  13. data/scss/foundation/components/modules/_tabs.scss +3 -3
  14. data/scss/foundation/components/modules/_topbar.scss +31 -5
  15. data/scss/foundation/components/modules/_ui.scss +7 -2
  16. data/scss/foundation/mixins/_semantic-grid.scss +3 -3
  17. data/templates/project/scss/_settings.scss +2 -0
  18. data/test/buttons.html +1 -0
  19. data/test/elements.html +1 -1
  20. data/test/grid.html +0 -11
  21. data/test/navigation.html +22 -0
  22. data/test/orbit.html +2 -1
  23. data/test/scss/_settings.scss +2 -0
  24. data/test/topbar-login.html +194 -0
  25. data/test/topbar.html +50 -95
  26. data/vendor/assets/javascripts/foundation/app.js +4 -1
  27. data/vendor/assets/javascripts/foundation/jquery.foundation.accordion.js +33 -24
  28. data/vendor/assets/javascripts/foundation/jquery.foundation.buttons.js +3 -3
  29. data/vendor/assets/javascripts/foundation/jquery.foundation.forms.js +21 -5
  30. data/vendor/assets/javascripts/foundation/jquery.foundation.joyride.js +6 -6
  31. data/vendor/assets/javascripts/foundation/jquery.foundation.magellan.js +29 -22
  32. data/vendor/assets/javascripts/foundation/jquery.foundation.orbit.js +10 -5
  33. data/vendor/assets/javascripts/foundation/jquery.foundation.tabs.js +14 -4
  34. data/vendor/assets/javascripts/foundation/jquery.foundation.tooltips.js +17 -8
  35. data/vendor/assets/javascripts/foundation/jquery.foundation.topbar.js +17 -1
  36. metadata +12 -14
  37. data/marketing/.rbenv-version +0 -1
@@ -127,7 +127,7 @@
127
127
  // Put element back in the DOM
128
128
  settings.$section.appendTo(settings.$topbar);
129
129
  },
130
-
130
+
131
131
  largestUL : function () {
132
132
  var uls = settings.$topbar.find('section ul ul'),
133
133
  largest = uls.first(),
@@ -155,4 +155,20 @@
155
155
  }
156
156
  };
157
157
 
158
+ // Monitor scroll position for sticky
159
+ if ($('.sticky').length > 0) {
160
+ var distance = $('.sticky').length ? $('.sticky').offset().top: 0,
161
+ $window = $(window);
162
+
163
+ $window.scroll(function() {
164
+ if ( $window.scrollTop() >= distance ) {
165
+ $(".sticky").addClass("fixed");
166
+ }
167
+
168
+ else if ( $window.scrollTop() < distance ) {
169
+ $(".sticky").removeClass("fixed");
170
+ }
171
+ });
172
+ }
173
+
158
174
  }(jQuery, this));
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zurb-foundation
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.3
5
- prerelease:
4
+ version: 3.2.4.rc1
5
+ prerelease: 6
6
6
  platform: ruby
7
7
  authors:
8
8
  - ZURB
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-05 00:00:00.000000000 Z
12
+ date: 2013-01-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: compass
@@ -48,17 +48,17 @@ dependencies:
48
48
  requirement: !ruby/object:Gem::Requirement
49
49
  none: false
50
50
  requirements:
51
- - - ! '>='
51
+ - - '='
52
52
  - !ruby/object:Gem::Version
53
- version: 1.0.2
53
+ version: 1.0.6
54
54
  type: :runtime
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
59
- - - ! '>='
59
+ - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 1.0.2
61
+ version: 1.0.6
62
62
  - !ruby/object:Gem::Dependency
63
63
  name: rake
64
64
  requirement: !ruby/object:Gem::Requirement
@@ -104,7 +104,6 @@ files:
104
104
  - lib/foundation/generators/templates/application.html.slim
105
105
  - lib/foundation/version.rb
106
106
  - lib/zurb-foundation.rb
107
- - marketing/.rbenv-version
108
107
  - scss/foundation.scss
109
108
  - scss/foundation/_settings.scss
110
109
  - scss/foundation/common/_base.scss
@@ -164,6 +163,7 @@ files:
164
163
  - test/scss/styles.scss
165
164
  - test/tabs.html
166
165
  - test/template.html
166
+ - test/topbar-login.html
167
167
  - test/topbar.html
168
168
  - test/type.html
169
169
  - vendor/assets/images/foundation/orbit/bullets.jpg
@@ -213,16 +213,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
213
213
  version: '0'
214
214
  segments:
215
215
  - 0
216
- hash: -2864876717147565051
216
+ hash: -2186472348543390455
217
217
  required_rubygems_version: !ruby/object:Gem::Requirement
218
218
  none: false
219
219
  requirements:
220
- - - ! '>='
220
+ - - ! '>'
221
221
  - !ruby/object:Gem::Version
222
- version: '0'
223
- segments:
224
- - 0
225
- hash: -2864876717147565051
222
+ version: 1.3.1
226
223
  requirements: []
227
224
  rubyforge_project:
228
225
  rubygems_version: 1.8.23
@@ -250,5 +247,6 @@ test_files:
250
247
  - test/scss/styles.scss
251
248
  - test/tabs.html
252
249
  - test/template.html
250
+ - test/topbar-login.html
253
251
  - test/topbar.html
254
252
  - test/type.html
@@ -1 +0,0 @@
1
- 1.9.3-p194