foundation-rails 5.4.3.1 → 5.4.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. data/bower.json +2 -2
  2. data/lib/foundation/rails/version.rb +1 -1
  3. data/vendor/assets/_settings.scss +33 -34
  4. data/vendor/assets/javascripts/foundation/foundation.abide.js +18 -13
  5. data/vendor/assets/javascripts/foundation/foundation.accordion.js +1 -1
  6. data/vendor/assets/javascripts/foundation/foundation.alert.js +1 -1
  7. data/vendor/assets/javascripts/foundation/foundation.clearing.js +1 -1
  8. data/vendor/assets/javascripts/foundation/foundation.dropdown.js +30 -27
  9. data/vendor/assets/javascripts/foundation/foundation.equalizer.js +1 -1
  10. data/vendor/assets/javascripts/foundation/foundation.interchange.js +1 -1
  11. data/vendor/assets/javascripts/foundation/foundation.joyride.js +1 -1
  12. data/vendor/assets/javascripts/foundation/foundation.js +1 -1
  13. data/vendor/assets/javascripts/foundation/foundation.magellan.js +5 -5
  14. data/vendor/assets/javascripts/foundation/foundation.offcanvas.js +1 -1
  15. data/vendor/assets/javascripts/foundation/foundation.orbit.js +1 -1
  16. data/vendor/assets/javascripts/foundation/foundation.reveal.js +2 -1
  17. data/vendor/assets/javascripts/foundation/foundation.slider.js +10 -11
  18. data/vendor/assets/javascripts/foundation/foundation.tab.js +16 -22
  19. data/vendor/assets/javascripts/foundation/foundation.tooltip.js +1 -1
  20. data/vendor/assets/javascripts/foundation/foundation.topbar.js +1 -1
  21. data/vendor/assets/stylesheets/foundation/_functions.scss +3 -3
  22. data/vendor/assets/stylesheets/foundation/_settings.scss +33 -34
  23. data/vendor/assets/stylesheets/foundation/components/_accordion.scss +6 -5
  24. data/vendor/assets/stylesheets/foundation/components/_button-groups.scss +21 -23
  25. data/vendor/assets/stylesheets/foundation/components/_buttons.scss +8 -0
  26. data/vendor/assets/stylesheets/foundation/components/_dropdown.scss +23 -10
  27. data/vendor/assets/stylesheets/foundation/components/_global.scss +8 -3
  28. data/vendor/assets/stylesheets/foundation/components/_labels.scss +2 -1
  29. data/vendor/assets/stylesheets/foundation/components/_offcanvas.scss +22 -19
  30. data/vendor/assets/stylesheets/foundation/components/_panels.scss +2 -0
  31. data/vendor/assets/stylesheets/foundation/components/_reveal.scss +2 -2
  32. data/vendor/assets/stylesheets/foundation/components/_switches.scss +1 -1
  33. data/vendor/assets/stylesheets/foundation/components/_tables.scss +3 -3
  34. data/vendor/assets/stylesheets/foundation/components/_tooltips.scss +1 -1
  35. data/vendor/assets/stylesheets/foundation/components/_top-bar.scss +2 -1
  36. data/vendor/assets/stylesheets/foundation/components/_type.scss +1 -1
  37. metadata +4 -4
@@ -47,6 +47,8 @@ $callout-panel-link-color: $primary-color !default;
47
47
  padding: $padding;
48
48
 
49
49
  background: $bg;
50
+ @if $bg-lightness >= 50% { color: $panel-font-color; }
51
+ @else { color: $panel-font-color-alt; }
50
52
 
51
53
  // Respect the padding, fool.
52
54
  &>:first-child { margin-top: 0; }
@@ -55,7 +55,7 @@ $close-reveal-modal-class: "close-reveal-modal" !default;
55
55
  right: 0;
56
56
  background: $reveal-overlay-bg-old; // Autoprefixer should be used to avoid such variables needed when Foundation for Sites can do so in the near future.
57
57
  background: $reveal-overlay-bg;
58
- z-index: if( $include-z-index-value, 1004, null );
58
+ z-index: if( $include-z-index-value, 1004, auto );
59
59
  display: none;
60
60
  #{$default-float}: 0;
61
61
  }
@@ -209,7 +209,7 @@ $close-reveal-modal-class: "close-reveal-modal" !default;
209
209
  }
210
210
  }
211
211
 
212
- // Reveal Print Styles: It should be invislbe, adds no value being printed.
212
+ // Reveal Print Styles: It should be invisible, adds no value being printed.
213
213
  @media print {
214
214
  dialog, .#{$reveal-modal-class} {
215
215
  display: none;
@@ -29,7 +29,7 @@ $switch-bottom-margin: 1.5rem !default;
29
29
  $switch-paddle-bg: $white !default;
30
30
  $switch-paddle-transition-speed: .15s !default;
31
31
  $switch-paddle-transition-ease: ease-out !default;
32
- $switch-active-color: $primary-color;
32
+ $switch-active-color: $primary-color !default;
33
33
 
34
34
 
35
35
  //
@@ -50,7 +50,8 @@ $table-row-font-size: rem-calc(14) !default;
50
50
  $table-row-font-color: $jet !default;
51
51
  $table-line-height: rem-calc(18) !default;
52
52
 
53
- // These are for controlling the display and margin of tables
53
+ // These are for controlling the layout, display and margin of tables
54
+ $table-layout: auto !default;
54
55
  $table-display: table-cell !default;
55
56
  $table-margin-bottom: rem-calc(20) !default;
56
57
 
@@ -63,8 +64,7 @@ $table-margin-bottom: rem-calc(20) !default;
63
64
  background: $table-bg;
64
65
  margin-bottom: $table-margin-bottom;
65
66
  border: $table-border-style $table-border-size $table-border-color;
66
- table-layout: fixed;
67
- width: 100%;
67
+ table-layout: $table-layout;
68
68
 
69
69
  caption {
70
70
  background: $table-caption-bg;
@@ -54,7 +54,7 @@ $tooltip-max-width: 300px !default;
54
54
  .tooltip {
55
55
  display: none;
56
56
  position: absolute;
57
- z-index: 999;
57
+ z-index: 1006;
58
58
  font-weight: $tooltip-font-weight;
59
59
  font-size: $tooltip-font-size;
60
60
  line-height: $tooltip-line-height;
@@ -48,7 +48,7 @@ $topbar-link-bg-active-hover: scale-color($primary-color, $lightness: -14%) !def
48
48
  $topbar-link-font-family: $body-font-family !default;
49
49
  $topbar-link-text-transform: none !default;
50
50
  $topbar-link-padding: $topbar-height / 3 !default;
51
- $topbar-back-link-size: $h5-font-size !default;
51
+ $topbar-back-link-size: rem-calc(18) !default;
52
52
  $topbar-link-dropdown-padding: 20px;
53
53
  $topbar-button-font-size: 0.75rem !default;
54
54
  $topbar-button-top: 7px !default;
@@ -411,6 +411,7 @@ $topbar-arrows: true !default; //Set false to remove the triangle icon from the
411
411
  // Back Button
412
412
  margin-bottom: 0;
413
413
  margin-top: 0;
414
+ font-size: $topbar-back-link-size;
414
415
  a {
415
416
  color: $topbar-link-color;
416
417
  // line-height: $topbar-height / 2;
@@ -56,7 +56,7 @@ $paragraph-text-rendering: optimizeLegibility !default;
56
56
 
57
57
  // We use these to style <code> tags
58
58
  $code-color: $oil !default;
59
- $code-font-family: Consolas, 'Liberation Mono', Courier, monospace !default;
59
+ $code-font-family: $font-family-monospace !default;
60
60
  $code-font-weight: $font-weight-normal !default;
61
61
  $code-background-color: scale-color($secondary-color, $lightness: 70%) !default;
62
62
  $code-border-size: 1px !default;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foundation-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.3.1
4
+ version: 5.4.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-09 00:00:00.000000000 Z
12
+ date: 2014-09-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -238,7 +238,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
238
238
  version: '0'
239
239
  segments:
240
240
  - 0
241
- hash: -1584287917705127837
241
+ hash: 3422885692097356801
242
242
  required_rubygems_version: !ruby/object:Gem::Requirement
243
243
  none: false
244
244
  requirements:
@@ -247,7 +247,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
247
247
  version: '0'
248
248
  segments:
249
249
  - 0
250
- hash: -1584287917705127837
250
+ hash: 3422885692097356801
251
251
  requirements: []
252
252
  rubyforge_project:
253
253
  rubygems_version: 1.8.23