foundation-rails 5.5.2.1 → 5.5.3.1

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 (46) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/bower.json +2 -2
  4. data/lib/foundation/rails/version.rb +1 -1
  5. data/vendor/assets/javascripts/foundation.js +1 -1
  6. data/vendor/assets/javascripts/foundation/foundation.abide.js +42 -24
  7. data/vendor/assets/javascripts/foundation/foundation.accordion.js +39 -2
  8. data/vendor/assets/javascripts/foundation/foundation.alert.js +1 -1
  9. data/vendor/assets/javascripts/foundation/foundation.clearing.js +5 -5
  10. data/vendor/assets/javascripts/foundation/foundation.dropdown.js +17 -12
  11. data/vendor/assets/javascripts/foundation/foundation.equalizer.js +1 -1
  12. data/vendor/assets/javascripts/foundation/foundation.interchange.js +3 -2
  13. data/vendor/assets/javascripts/foundation/foundation.joyride.js +53 -50
  14. data/vendor/assets/javascripts/foundation/foundation.js +24 -17
  15. data/vendor/assets/javascripts/foundation/foundation.magellan.js +4 -5
  16. data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +75 -2
  17. data/vendor/assets/javascripts/foundation/foundation.orbit.js +1 -1
  18. data/vendor/assets/javascripts/foundation/foundation.reveal.js +40 -16
  19. data/vendor/assets/javascripts/foundation/foundation.slider.js +21 -6
  20. data/vendor/assets/javascripts/foundation/foundation.tab.js +25 -27
  21. data/vendor/assets/javascripts/foundation/foundation.tooltip.js +24 -15
  22. data/vendor/assets/javascripts/foundation/foundation.topbar.js +11 -11
  23. data/vendor/assets/stylesheets/foundation.scss +0 -2
  24. data/vendor/assets/stylesheets/foundation/_functions.scss +2 -2
  25. data/vendor/assets/stylesheets/foundation/_settings.scss +6 -3
  26. data/vendor/assets/stylesheets/foundation/components/_accordion.scss +6 -2
  27. data/vendor/assets/stylesheets/foundation/components/_breadcrumbs.scss +2 -1
  28. data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +1 -0
  29. data/vendor/assets/stylesheets/foundation/components/_buttons.scss +18 -13
  30. data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +3 -2
  31. data/vendor/assets/stylesheets/foundation/components/_forms.scss +21 -23
  32. data/vendor/assets/stylesheets/foundation/components/_global.scss +73 -9
  33. data/vendor/assets/stylesheets/foundation/components/_grid.scss +15 -15
  34. data/vendor/assets/stylesheets/foundation/components/_inline-lists.scss +2 -1
  35. data/vendor/assets/stylesheets/foundation/components/_joyride.scss +1 -1
  36. data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +92 -4
  37. data/vendor/assets/stylesheets/foundation/components/_pagination.scss +1 -0
  38. data/vendor/assets/stylesheets/foundation/components/_progress-bars.scss +6 -0
  39. data/vendor/assets/stylesheets/foundation/components/_range-slider.scss +2 -2
  40. data/vendor/assets/stylesheets/foundation/components/_reveal.scss +3 -0
  41. data/vendor/assets/stylesheets/foundation/components/_tabs.scss +1 -1
  42. data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +1 -1
  43. data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +11 -3
  44. data/vendor/assets/stylesheets/foundation/components/_type.scss +73 -12
  45. data/vendor/assets/stylesheets/foundation/components/_visibility.scss +8 -75
  46. metadata +3 -4
@@ -76,7 +76,7 @@ $topbar-menu-icon-position: $opposite-direction !default; // Change to $default-
76
76
  $topbar-transition-speed: 300ms !default;
77
77
  // Using rem-calc for the below breakpoint causes issues with top bar
78
78
  $topbar-breakpoint: #{lower-bound($medium-range)} !default; // Change to 9999px for always mobile layout
79
- $topbar-media-query: "#{$screen} and (min-width:#{lower-bound($topbar-breakpoint)})";
79
+ $topbar-media-query: "#{$screen} and (min-width:#{lower-bound($topbar-breakpoint)})" !default;
80
80
 
81
81
  // Top-bar input styles
82
82
  $topbar-input-height: rem-calc(28) !default;
@@ -329,7 +329,7 @@ $topbar-dropdown-arrows: true !default; //Set false to remove the \00bb >> text
329
329
  }
330
330
 
331
331
  ul li {
332
- background: $topbar-dropdown-bg;
332
+ background: $topbar-dropdown-bg;
333
333
 
334
334
  > a {
335
335
  color: $topbar-link-color;
@@ -514,14 +514,22 @@ $topbar-dropdown-arrows: true !default; //Set false to remove the \00bb >> text
514
514
  top: (($topbar-height - $topbar-input-height) / 2);
515
515
  }
516
516
 
517
+ .has-form > .button,
518
+ .has-form > button {
519
+ font-size: rem-calc(14);
520
+ height: $topbar-input-height;
521
+ position: relative;
522
+ top: (($topbar-height - $topbar-input-height) / 2);
523
+ }
524
+
517
525
  &.expanded {
518
526
  background: $topbar-bg;
519
527
  }
520
528
  }
521
529
 
522
530
  .contain-to-grid .top-bar {
523
- margin-bottom: $topbar-margin-bottom;
524
531
  margin: 0 auto;
532
+ margin-bottom: $topbar-margin-bottom;
525
533
  max-width: $row-width;
526
534
  }
527
535
 
@@ -124,6 +124,9 @@ $microformat-abbr-padding: rem-calc(0 1) !default;
124
124
  $microformat-abbr-font-weight: $font-weight-bold !default;
125
125
  $microformat-abbr-font-decoration: none !default;
126
126
 
127
+ // Controls the page margin when printing the website
128
+ $print-margin: 0.34in !default;
129
+
127
130
  // Text alignment class names
128
131
  $align-class-names:
129
132
  small-only,
@@ -325,17 +328,6 @@ $align-class-breakpoints:
325
328
 
326
329
  ul {
327
330
  margin-#{$default-float}: $list-side-margin;
328
- &.no-bullet {
329
- margin-#{$default-float}: $list-side-margin-no-bullet;
330
- li {
331
- ul,
332
- ol {
333
- margin-#{$default-float}: $list-nested-margin;
334
- margin-bottom: 0;
335
- list-style: none;
336
- }
337
- }
338
- }
339
331
  }
340
332
 
341
333
  /* Unordered Lists */
@@ -356,7 +348,6 @@ $align-class-breakpoints:
356
348
  &.square { list-style-type: square; margin-#{$default-float}: $list-side-margin;}
357
349
  &.circle { list-style-type: circle; margin-#{$default-float}: $list-side-margin;}
358
350
  &.disc { list-style-type: disc; margin-#{$default-float}: $list-side-margin;}
359
- &.no-bullet { list-style: none; }
360
351
  }
361
352
 
362
353
  /* Ordered Lists */
@@ -371,6 +362,21 @@ $align-class-breakpoints:
371
362
  }
372
363
  }
373
364
 
365
+ // Lists without bullets
366
+ .no-bullet {
367
+ list-style-type: none;
368
+ margin-#{$default-float}: $list-side-margin-no-bullet;
369
+
370
+ li {
371
+ ul,
372
+ ol {
373
+ margin-#{$default-float}: $list-nested-margin;
374
+ margin-bottom: 0;
375
+ list-style: none;
376
+ }
377
+ }
378
+ }
379
+
374
380
  /* Definition Lists */
375
381
  dl {
376
382
  dt {
@@ -460,5 +466,60 @@ $align-class-breakpoints:
460
466
  h5 { font-size: $h5-font-size; }
461
467
  h6 { font-size: $h6-font-size; }
462
468
  }
469
+
470
+ // Only include these styles if you want them.
471
+ @if $include-print-styles {
472
+ /*
473
+ * Print styles.
474
+ *
475
+ * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
476
+ * Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
477
+ */
478
+ @media print {
479
+ * {
480
+ background: transparent !important;
481
+ color: $black !important; /* Black prints faster: h5bp.com/s */
482
+ box-shadow: none !important;
483
+ text-shadow: none !important;
484
+ }
485
+
486
+ a,
487
+ a:visited { text-decoration: underline;}
488
+ a[href]:after { content: " (" attr(href) ")"; }
489
+
490
+ abbr[title]:after { content: " (" attr(title) ")"; }
491
+
492
+ // Don't show links for images, or javascript/internal links
493
+ .ir a:after,
494
+ a[href^="javascript:"]:after,
495
+ a[href^="#"]:after { content: ""; }
496
+
497
+ pre,
498
+ blockquote {
499
+ border: 1px solid $aluminum;
500
+ page-break-inside: avoid;
501
+ }
502
+
503
+ thead { display: table-header-group; /* h5bp.com/t */ }
504
+
505
+ tr,
506
+ img { page-break-inside: avoid; }
507
+
508
+ img { max-width: 100% !important; }
509
+
510
+ @page { margin: $print-margin; }
511
+
512
+ p,
513
+ h2,
514
+ h3 {
515
+ orphans: 3;
516
+ widows: 3;
517
+ }
518
+
519
+ h2,
520
+ h3 { page-break-after: avoid; }
521
+ }
522
+ }
523
+
463
524
  }
464
525
  }
@@ -403,79 +403,15 @@ $visibility-breakpoint-queries:
403
403
  }
404
404
  }
405
405
 
406
- // Only include these styles if you want them.
407
- @if $include-print-styles {
408
- /*
409
- * Print styles.
410
- *
411
- * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
412
- * Credit to Paul Irish and HTML5 Boilerplate (html5boilerplate.com)
413
- */
414
- .print-only { display: none !important; }
415
- @media print {
416
- * {
417
- background: transparent !important;
418
- box-shadow: none !important;
419
- color: $black !important; /* Black prints faster: h5bp.com/s */
420
- text-shadow: none !important;
421
- }
422
- .show-for-print { display: block; }
423
- .hide-for-print { display: none; }
424
-
425
- table.show-for-print { display: table !important; }
426
- thead.show-for-print { display: table-header-group !important; }
427
- tbody.show-for-print { display: table-row-group !important; }
428
- tr.show-for-print { display: table-row !important; }
429
- td.show-for-print { display: table-cell !important; }
430
- th.show-for-print { display: table-cell !important; }
431
-
432
- a,
433
- a:visited { text-decoration: underline;}
434
- a[href]:after { content: " (" attr(href) ")"; }
435
-
436
- abbr[title]:after { content: " (" attr(title) ")"; }
437
-
438
- // Don't show links for images, or javascript/internal links
439
- .ir a:after,
440
- a[href^="javascript:"]:after,
441
- a[href^="#"]:after { content: ""; }
442
-
443
- pre,
444
- blockquote {
445
- border: 1px solid $aluminum;
446
- page-break-inside: avoid;
447
- }
448
-
449
- thead { display: table-header-group; /* h5bp.com/t */ }
450
-
451
- tr,
452
- img { page-break-inside: avoid; }
453
-
454
- img { max-width: 100% !important; }
455
-
456
- @page { margin: .5cm; }
457
-
458
- p,
459
- h2,
460
- h3 {
461
- orphans: 3;
462
- widows: 3;
463
- }
464
-
465
- h2,
466
- h3 { page-break-after: avoid; }
467
-
468
- .hide-on-print { display: none !important; }
469
- .print-only { display: block !important; }
470
- .hide-for-print { display: none !important; }
471
- .show-for-print { display: inherit !important; }
472
- }
473
- }
474
-
475
406
  /* Print visibility */
407
+ @if $include-print-styles {
408
+ .print-only,
409
+ .show-for-print { display: none !important; }
476
410
  @media print {
477
- .show-for-print { display: block; }
478
- .hide-for-print { display: none; }
411
+ .print-only,
412
+ .show-for-print { display: block !important; }
413
+ .hide-on-print,
414
+ .hide-for-print { display: none !important; }
479
415
 
480
416
  table.show-for-print { display: table !important; }
481
417
  thead.show-for-print { display: table-header-group !important; }
@@ -484,9 +420,6 @@ $visibility-breakpoint-queries:
484
420
  td.show-for-print { display: table-cell !important; }
485
421
  th.show-for-print { display: table-cell !important; }
486
422
  }
487
-
488
- @media not print{
489
- .show-for-print { display: none !important; }
490
- }
423
+ }
491
424
  }
492
425
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foundation-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.5.2.1
4
+ version: 5.5.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ZURB
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-03 00:00:00.000000000 Z
11
+ date: 2015-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -226,7 +226,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
226
226
  version: '0'
227
227
  requirements: []
228
228
  rubyforge_project:
229
- rubygems_version: 2.4.5
229
+ rubygems_version: 2.2.2
230
230
  signing_key:
231
231
  specification_version: 4
232
232
  summary: ZURB Foundation on Sass/Compass
@@ -234,4 +234,3 @@ test_files:
234
234
  - spec/features/generator_spec.rb
235
235
  - spec/spec_helper.rb
236
236
  - spec/support/helpers.rb
237
- has_rdoc: