foundation-rails 5.5.1.2 → 5.5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. data/bower.json +2 -2
  2. data/lib/foundation/rails/version.rb +1 -1
  3. data/vendor/assets/javascripts/foundation.js +1 -1
  4. data/vendor/assets/javascripts/foundation/foundation.abide.js +96 -28
  5. data/vendor/assets/javascripts/foundation/foundation.accordion.js +28 -7
  6. data/vendor/assets/javascripts/foundation/foundation.alert.js +3 -3
  7. data/vendor/assets/javascripts/foundation/foundation.clearing.js +50 -20
  8. data/vendor/assets/javascripts/foundation/foundation.dropdown.js +26 -11
  9. data/vendor/assets/javascripts/foundation/foundation.equalizer.js +43 -16
  10. data/vendor/assets/javascripts/foundation/foundation.interchange.js +19 -14
  11. data/vendor/assets/javascripts/foundation/foundation.joyride.js +1 -1
  12. data/vendor/assets/javascripts/foundation/foundation.js +51 -29
  13. data/vendor/assets/javascripts/foundation/foundation.magellan.js +40 -28
  14. data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +3 -3
  15. data/vendor/assets/javascripts/foundation/foundation.orbit.js +1 -1
  16. data/vendor/assets/javascripts/foundation/foundation.reveal.js +70 -43
  17. data/vendor/assets/javascripts/foundation/foundation.slider.js +23 -5
  18. data/vendor/assets/javascripts/foundation/foundation.tab.js +30 -18
  19. data/vendor/assets/javascripts/foundation/foundation.tooltip.js +47 -15
  20. data/vendor/assets/javascripts/foundation/foundation.topbar.js +31 -25
  21. data/vendor/assets/stylesheets/foundation.scss +37 -38
  22. data/vendor/assets/stylesheets/foundation/_functions.scss +52 -42
  23. data/vendor/assets/stylesheets/foundation/_settings.scss +53 -34
  24. data/vendor/assets/stylesheets/foundation/components/_accordion.scss +7 -7
  25. data/vendor/assets/stylesheets/foundation/components/_alert-boxes.scss +11 -11
  26. data/vendor/assets/stylesheets/foundation/components/_block-grid.scss +13 -13
  27. data/vendor/assets/stylesheets/foundation/components/_breadcrumbs.scss +17 -18
  28. data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +29 -22
  29. data/vendor/assets/stylesheets/foundation/components/_buttons.scss +13 -17
  30. data/vendor/assets/stylesheets/foundation/components/_clearing.scss +51 -47
  31. data/vendor/assets/stylesheets/foundation/components/_dropdown-buttons.scss +10 -11
  32. data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +42 -36
  33. data/vendor/assets/stylesheets/foundation/components/_flex-video.scss +7 -7
  34. data/vendor/assets/stylesheets/foundation/components/_forms.scss +82 -50
  35. data/vendor/assets/stylesheets/foundation/components/_global.scss +86 -64
  36. data/vendor/assets/stylesheets/foundation/components/_grid.scss +24 -21
  37. data/vendor/assets/stylesheets/foundation/components/_icon-bar.scss +335 -234
  38. data/vendor/assets/stylesheets/foundation/components/_inline-lists.scss +8 -8
  39. data/vendor/assets/stylesheets/foundation/components/_joyride.scss +40 -42
  40. data/vendor/assets/stylesheets/foundation/components/_keystrokes.scss +2 -3
  41. data/vendor/assets/stylesheets/foundation/components/_labels.scss +6 -6
  42. data/vendor/assets/stylesheets/foundation/components/_magellan.scss +2 -2
  43. data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +178 -175
  44. data/vendor/assets/stylesheets/foundation/components/_orbit.scss +82 -62
  45. data/vendor/assets/stylesheets/foundation/components/_pagination.scss +15 -15
  46. data/vendor/assets/stylesheets/foundation/components/_panels.scss +21 -15
  47. data/vendor/assets/stylesheets/foundation/components/_pricing-tables.scss +16 -16
  48. data/vendor/assets/stylesheets/foundation/components/_progress-bars.scss +4 -4
  49. data/vendor/assets/stylesheets/foundation/components/_range-slider.scss +23 -16
  50. data/vendor/assets/stylesheets/foundation/components/_reveal.scss +27 -27
  51. data/vendor/assets/stylesheets/foundation/components/_side-nav.scss +15 -11
  52. data/vendor/assets/stylesheets/foundation/components/_split-buttons.scss +16 -16
  53. data/vendor/assets/stylesheets/foundation/components/_sub-nav.scss +14 -11
  54. data/vendor/assets/stylesheets/foundation/components/_switches.scss +22 -19
  55. data/vendor/assets/stylesheets/foundation/components/_tables.scss +8 -8
  56. data/vendor/assets/stylesheets/foundation/components/_tabs.scss +49 -32
  57. data/vendor/assets/stylesheets/foundation/components/_thumbs.scss +8 -8
  58. data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +25 -25
  59. data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +163 -122
  60. data/vendor/assets/stylesheets/foundation/components/_type.scss +19 -19
  61. data/vendor/assets/stylesheets/foundation/components/_visibility.scss +23 -5
  62. data/vendor/assets/stylesheets/normalize.scss +8 -11
  63. metadata +28 -20
  64. checksums.yaml +0 -7
  65. data/vendor/assets/stylesheets/foundation/components/_toolbar.scss +0 -72
@@ -2,7 +2,7 @@
2
2
  // foundation.zurb.com
3
3
  // Licensed under MIT Open Source
4
4
 
5
- @import "global";
5
+ @import 'global';
6
6
 
7
7
  $include-html-type-classes: $include-html-classes !default;
8
8
 
@@ -216,8 +216,8 @@ $align-class-breakpoints:
216
216
  /* Default Link Styles */
217
217
  a {
218
218
  color: $anchor-font-color;
219
- text-decoration: $anchor-text-decoration;
220
219
  line-height: inherit;
220
+ text-decoration: $anchor-text-decoration;
221
221
 
222
222
  &:hover,
223
223
  &:focus {
@@ -233,8 +233,8 @@ $align-class-breakpoints:
233
233
  /* Default paragraph styles */
234
234
  p {
235
235
  font-family: $paragraph-font-family;
236
- font-weight: $paragraph-font-weight;
237
236
  font-size: $paragraph-font-size;
237
+ font-weight: $paragraph-font-weight;
238
238
  line-height: $paragraph-line-height;
239
239
  margin-bottom: $paragraph-margin-bottom;
240
240
  text-rendering: $paragraph-text-rendering;
@@ -243,25 +243,25 @@ $align-class-breakpoints:
243
243
 
244
244
  & aside {
245
245
  font-size: $paragraph-aside-font-size;
246
- line-height: $paragraph-aside-line-height;
247
246
  font-style: $paragraph-aside-font-style;
247
+ line-height: $paragraph-aside-line-height;
248
248
  }
249
249
  }
250
250
 
251
251
  /* Default header styles */
252
252
  h1, h2, h3, h4, h5, h6 {
253
+ color: $header-font-color;
253
254
  font-family: $header-font-family;
254
- font-weight: $header-font-weight;
255
255
  font-style: $header-font-style;
256
- color: $header-font-color;
257
- text-rendering: $header-text-rendering;
258
- margin-top: $header-top-margin;
259
- margin-bottom: $header-bottom-margin;
256
+ font-weight: $header-font-weight;
260
257
  line-height: $header-line-height;
258
+ margin-bottom: $header-bottom-margin;
259
+ margin-top: $header-top-margin;
260
+ text-rendering: $header-text-rendering;
261
261
 
262
262
  small {
263
- font-size: $small-font-size;
264
263
  color: $small-font-color;
264
+ font-size: $small-font-size;
265
265
  line-height: 0;
266
266
  }
267
267
  }
@@ -279,8 +279,8 @@ $align-class-breakpoints:
279
279
  border: $hr-border-style $hr-border-color;
280
280
  border-width: $hr-border-width 0 0;
281
281
  clear: both;
282
- margin: $hr-margin 0 ($hr-margin - rem-calc($hr-border-width));
283
282
  height: 0;
283
+ margin: $hr-margin 0 ($hr-margin - rem-calc($hr-border-width));
284
284
  }
285
285
 
286
286
  /* Helpful Typography Defaults */
@@ -302,13 +302,13 @@ $align-class-breakpoints:
302
302
  }
303
303
 
304
304
  code {
305
- font-family: $code-font-family;
306
- font-weight: $code-font-weight;
307
- color: $code-color;
308
305
  background-color: $code-background-color;
309
- border-width: $code-border-size;
310
- border-style: $code-border-style;
311
306
  border-color: $code-border-color;
307
+ border-style: $code-border-style;
308
+ border-width: $code-border-size;
309
+ color: $code-color;
310
+ font-family: $code-font-family;
311
+ font-weight: $code-font-weight;
312
312
  padding: $code-padding;
313
313
  }
314
314
 
@@ -316,11 +316,11 @@ $align-class-breakpoints:
316
316
  ul,
317
317
  ol,
318
318
  dl {
319
+ font-family: $list-font-family;
319
320
  font-size: $list-font-size;
320
321
  line-height: $list-line-height;
321
- margin-bottom: $list-margin-bottom;
322
322
  list-style-position: $list-style-position;
323
- font-family: $list-font-family;
323
+ margin-bottom: $list-margin-bottom;
324
324
  }
325
325
 
326
326
  ul {
@@ -452,7 +452,7 @@ $align-class-breakpoints:
452
452
 
453
453
 
454
454
  @media #{$medium-up} {
455
- h1,h2,h3,h4,h5,h6 { line-height: $header-line-height; }
455
+ h1, h2, h3, h4, h5, h6 { line-height: $header-line-height; }
456
456
  h1 { font-size: $h1-font-size; }
457
457
  h2 { font-size: $h2-font-size; }
458
458
  h3 { font-size: $h3-font-size; }
@@ -2,7 +2,7 @@
2
2
  // foundation.zurb.com
3
3
  // Licensed under MIT Open Source
4
4
 
5
- @import "global";
5
+ @import 'global';
6
6
 
7
7
  //
8
8
  // Foundation Visibility Classes
@@ -276,8 +276,8 @@ $visibility-breakpoint-queries:
276
276
  }
277
277
  }
278
278
 
279
-
280
- @if $include-html-visibility-classes != false {
279
+ @include exports("visibility"){
280
+ @if $include-html-visibility-classes != false {
281
281
 
282
282
  @include visibility-loop;
283
283
 
@@ -390,6 +390,19 @@ $visibility-breakpoint-queries:
390
390
  th.hide-for-touch { display: table-cell !important; }
391
391
  .touch th.show-for-touch { display: table-cell !important; }
392
392
 
393
+ /* Screen reader-specific classes */
394
+ .show-for-sr {
395
+ @include element-invisible;
396
+ }
397
+ .show-on-focus {
398
+ @include element-invisible;
399
+
400
+ &:focus,
401
+ &:active {
402
+ @include element-invisible-off;
403
+ }
404
+ }
405
+
393
406
  // Only include these styles if you want them.
394
407
  @if $include-print-styles {
395
408
  /*
@@ -402,8 +415,8 @@ $visibility-breakpoint-queries:
402
415
  @media print {
403
416
  * {
404
417
  background: transparent !important;
405
- color: $black !important; /* Black prints faster: h5bp.com/s */
406
418
  box-shadow: none !important;
419
+ color: $black !important; /* Black prints faster: h5bp.com/s */
407
420
  text-shadow: none !important;
408
421
  }
409
422
  .show-for-print { display: block; }
@@ -440,7 +453,7 @@ $visibility-breakpoint-queries:
440
453
 
441
454
  img { max-width: 100% !important; }
442
455
 
443
- @page { margin: 0.5cm; }
456
+ @page { margin: .5cm; }
444
457
 
445
458
  p,
446
459
  h2,
@@ -470,5 +483,10 @@ $visibility-breakpoint-queries:
470
483
  tr.show-for-print { display: table-row !important; }
471
484
  td.show-for-print { display: table-cell !important; }
472
485
  th.show-for-print { display: table-cell !important; }
486
+ }
487
+
488
+ @media not print{
489
+ .show-for-print { display: none !important; }
490
+ }
473
491
  }
474
492
  }
@@ -1,9 +1,9 @@
1
- /*! normalize.css v3.0.2 | MIT License | git.io/normalize */
1
+ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
2
2
 
3
3
  /**
4
4
  * 1. Set default font family to sans-serif.
5
- * 2. Prevent iOS text size adjust after orientation change, without disabling
6
- * user zoom.
5
+ * 2. Prevent iOS and IE text size adjust after device orientation change,
6
+ * without disabling user zoom.
7
7
  */
8
8
 
9
9
  html {
@@ -71,7 +71,7 @@ audio:not([controls]) {
71
71
 
72
72
  /**
73
73
  * Address `[hidden]` styling not present in IE 8/9/10.
74
- * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
74
+ * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
75
75
  */
76
76
 
77
77
  [hidden],
@@ -91,7 +91,8 @@ a {
91
91
  }
92
92
 
93
93
  /**
94
- * Improve readability when focused and also mouse hovered in all browsers.
94
+ * Improve readability of focused elements when they are also in an
95
+ * active/hover state.
95
96
  */
96
97
 
97
98
  a:active,
@@ -209,7 +210,6 @@ figure {
209
210
  */
210
211
 
211
212
  hr {
212
- -moz-box-sizing: content-box;
213
213
  box-sizing: content-box;
214
214
  height: 0;
215
215
  }
@@ -350,15 +350,12 @@ input[type="number"]::-webkit-outer-spin-button {
350
350
 
351
351
  /**
352
352
  * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
353
- * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
354
- * (include `-moz` to future-proof).
353
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
355
354
  */
356
355
 
357
356
  input[type="search"] {
358
357
  -webkit-appearance: textfield; /* 1 */
359
- -moz-box-sizing: content-box;
360
- -webkit-box-sizing: content-box; /* 2 */
361
- box-sizing: content-box;
358
+ box-sizing: content-box; /* 2 */
362
359
  }
363
360
 
364
361
  /**
metadata CHANGED
@@ -1,75 +1,84 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foundation-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.5.1.2
4
+ version: 5.5.2.0
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - ZURB
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2015-04-09 00:00:00.000000000 Z
12
+ date: 2015-04-30 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: bundler
15
16
  requirement: !ruby/object:Gem::Requirement
17
+ none: false
16
18
  requirements:
17
- - - "~>"
19
+ - - ~>
18
20
  - !ruby/object:Gem::Version
19
21
  version: '1.3'
20
22
  type: :development
21
23
  prerelease: false
22
24
  version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
23
26
  requirements:
24
- - - "~>"
27
+ - - ~>
25
28
  - !ruby/object:Gem::Version
26
29
  version: '1.3'
27
30
  - !ruby/object:Gem::Dependency
28
31
  name: sass
29
32
  requirement: !ruby/object:Gem::Requirement
33
+ none: false
30
34
  requirements:
31
- - - ">="
35
+ - - ! '>='
32
36
  - !ruby/object:Gem::Version
33
37
  version: 3.3.0
34
- - - "<"
38
+ - - <
35
39
  - !ruby/object:Gem::Version
36
40
  version: '3.5'
37
41
  type: :runtime
38
42
  prerelease: false
39
43
  version_requirements: !ruby/object:Gem::Requirement
44
+ none: false
40
45
  requirements:
41
- - - ">="
46
+ - - ! '>='
42
47
  - !ruby/object:Gem::Version
43
48
  version: 3.3.0
44
- - - "<"
49
+ - - <
45
50
  - !ruby/object:Gem::Version
46
51
  version: '3.5'
47
52
  - !ruby/object:Gem::Dependency
48
53
  name: railties
49
54
  requirement: !ruby/object:Gem::Requirement
55
+ none: false
50
56
  requirements:
51
- - - ">="
57
+ - - ! '>='
52
58
  - !ruby/object:Gem::Version
53
59
  version: 3.1.0
54
60
  type: :runtime
55
61
  prerelease: false
56
62
  version_requirements: !ruby/object:Gem::Requirement
63
+ none: false
57
64
  requirements:
58
- - - ">="
65
+ - - ! '>='
59
66
  - !ruby/object:Gem::Version
60
67
  version: 3.1.0
61
68
  - !ruby/object:Gem::Dependency
62
69
  name: rake
63
70
  requirement: !ruby/object:Gem::Requirement
71
+ none: false
64
72
  requirements:
65
- - - ">="
73
+ - - ! '>='
66
74
  - !ruby/object:Gem::Version
67
75
  version: '0'
68
76
  type: :development
69
77
  prerelease: false
70
78
  version_requirements: !ruby/object:Gem::Requirement
79
+ none: false
71
80
  requirements:
72
- - - ">="
81
+ - - ! '>='
73
82
  - !ruby/object:Gem::Version
74
83
  version: '0'
75
84
  description: ZURB Foundation on Sass/Compass
@@ -79,7 +88,7 @@ executables: []
79
88
  extensions: []
80
89
  extra_rdoc_files: []
81
90
  files:
82
- - ".gitignore"
91
+ - .gitignore
83
92
  - Gemfile
84
93
  - LICENSE.txt
85
94
  - README.md
@@ -213,7 +222,6 @@ files:
213
222
  - vendor/assets/stylesheets/foundation/components/_tables.scss
214
223
  - vendor/assets/stylesheets/foundation/components/_tabs.scss
215
224
  - vendor/assets/stylesheets/foundation/components/_thumbs.scss
216
- - vendor/assets/stylesheets/foundation/components/_toolbar.scss
217
225
  - vendor/assets/stylesheets/foundation/components/_tooltips.scss
218
226
  - vendor/assets/stylesheets/foundation/components/_top-bar.scss
219
227
  - vendor/assets/stylesheets/foundation/components/_type.scss
@@ -222,26 +230,27 @@ files:
222
230
  homepage: http://foundation.zurb.com
223
231
  licenses:
224
232
  - MIT
225
- metadata: {}
226
233
  post_install_message:
227
234
  rdoc_options: []
228
235
  require_paths:
229
236
  - lib
230
237
  required_ruby_version: !ruby/object:Gem::Requirement
238
+ none: false
231
239
  requirements:
232
- - - ">="
240
+ - - ! '>='
233
241
  - !ruby/object:Gem::Version
234
242
  version: '0'
235
243
  required_rubygems_version: !ruby/object:Gem::Requirement
244
+ none: false
236
245
  requirements:
237
- - - ">="
246
+ - - ! '>='
238
247
  - !ruby/object:Gem::Version
239
248
  version: '0'
240
249
  requirements: []
241
250
  rubyforge_project:
242
- rubygems_version: 2.4.5
251
+ rubygems_version: 1.8.23
243
252
  signing_key:
244
- specification_version: 4
253
+ specification_version: 3
245
254
  summary: ZURB Foundation on Sass/Compass
246
255
  test_files:
247
256
  - test/dummy/.gitignore
@@ -303,4 +312,3 @@ test_files:
303
312
  - test/dummy/test/test_helper.rb
304
313
  - test/dummy/vendor/assets/javascripts/.keep
305
314
  - test/dummy/vendor/assets/stylesheets/.keep
306
- has_rdoc:
checksums.yaml DELETED
@@ -1,7 +0,0 @@
1
- ---
2
- SHA1:
3
- metadata.gz: e12e0a8ee76fec487654f66cf43098f4164a516c
4
- data.tar.gz: 1c31c465aeadc919b9775c828c42436317352e12
5
- SHA512:
6
- metadata.gz: 6c38b7f2f27ae9d5e716568c9e834b308b48e63e3b9bf6c69c06d9213f0398cc821768c36cb79bd1803459ba788868fba5443b50eab0737afd2e8a84b2e56e13
7
- data.tar.gz: e1c75917ad060d73cfc43e1b0ef30cb4dbddd07e7115219ba73888b7808399f7df8c4b935aac77aeb971c4e2a9b9715d1db61c8923584c7dab4c89670c035ae5
@@ -1,72 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
- // toolbar styles
5
-
6
- @import "global";
7
-
8
- .toolbar {
9
- background: $oil;
10
- width: 100%;
11
- font-size: 0;
12
- display: inline-block;
13
-
14
- &.label-bottom .tab .tab-content {
15
- i, img { margin-bottom: 10px; }
16
- }
17
-
18
- &.label-right .tab .tab-content {
19
- i, img { margin-right: 10px; display: inline-block;}
20
- label { display: inline-block; }
21
- }
22
-
23
- &.vertical.label-right .tab .tab-content {
24
- text-align: left;
25
- }
26
-
27
- &.vertical {
28
- height: 100%;
29
- width: auto;
30
-
31
- .tab {
32
- width: auto;
33
- margin: auto;
34
- float: none;
35
- }
36
- }
37
-
38
- .tab {
39
- text-align: center;
40
- width: 25%;
41
- margin: 0 auto;
42
- display: block;
43
- padding: 20px;
44
- float: left;
45
-
46
- &:hover {
47
- background: rgba($white, 0.1);
48
- }
49
- }
50
- }
51
-
52
- .toolbar .tab-content {
53
- font-size: 16px;
54
- text-align: center;
55
-
56
- label { color: $iron; }
57
-
58
- i {
59
- font-size: 30px;
60
- display: block;
61
- margin: 0 auto;
62
- color: $iron;
63
- vertical-align: middle;
64
- }
65
-
66
- img {
67
- width: 30px;
68
- height: 30px;
69
- display: block;
70
- margin: 0 auto;
71
- }
72
- }