foundation-rails 6.6.1.0 → 6.9.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (253) hide show
  1. checksums.yaml +4 -4
  2. data/.ruby-version +1 -1
  3. data/.travis.yml +2 -0
  4. data/Appraisals +4 -0
  5. data/Gemfile +1 -1
  6. data/Gemfile.lock +199 -146
  7. data/bower.json +3 -3
  8. data/foundation-rails.gemspec +4 -4
  9. data/gemfiles/rails_7.1.gemfile +10 -0
  10. data/gemfiles/rails_7.1.gemfile.lock +261 -0
  11. data/lib/foundation/rails/version.rb +1 -1
  12. data/lib/generators/foundation/templates/_settings.scss +32 -28
  13. data/vendor/assets/js/foundation.cjs.js +2101 -3230
  14. data/vendor/assets/js/foundation.cjs.js.map +1 -1
  15. data/vendor/assets/js/foundation.es6.js +505 -379
  16. data/vendor/assets/js/foundation.es6.js.map +1 -1
  17. data/vendor/assets/js/foundation.esm.js +1779 -2911
  18. data/vendor/assets/js/foundation.esm.js.map +1 -1
  19. data/vendor/assets/js/foundation.js +2544 -3970
  20. data/vendor/assets/js/foundation.js.map +1 -1
  21. data/vendor/assets/js/foundation.min.js +1 -1
  22. data/vendor/assets/js/foundation.min.js.map +1 -1
  23. data/vendor/assets/js/plugins/foundation.abide.js +277 -367
  24. data/vendor/assets/js/plugins/foundation.abide.js.map +1 -1
  25. data/vendor/assets/js/plugins/foundation.abide.min.js +1 -1
  26. data/vendor/assets/js/plugins/foundation.abide.min.js.map +1 -1
  27. data/vendor/assets/js/plugins/foundation.accordion.js +205 -277
  28. data/vendor/assets/js/plugins/foundation.accordion.js.map +1 -1
  29. data/vendor/assets/js/plugins/foundation.accordion.min.js +1 -1
  30. data/vendor/assets/js/plugins/foundation.accordion.min.js.map +1 -1
  31. data/vendor/assets/js/plugins/foundation.accordionMenu.js +174 -262
  32. data/vendor/assets/js/plugins/foundation.accordionMenu.js.map +1 -1
  33. data/vendor/assets/js/plugins/foundation.accordionMenu.min.js +1 -1
  34. data/vendor/assets/js/plugins/foundation.accordionMenu.min.js.map +1 -1
  35. data/vendor/assets/js/plugins/foundation.core.js +314 -457
  36. data/vendor/assets/js/plugins/foundation.core.js.map +1 -1
  37. data/vendor/assets/js/plugins/foundation.core.min.js +1 -1
  38. data/vendor/assets/js/plugins/foundation.core.min.js.map +1 -1
  39. data/vendor/assets/js/plugins/foundation.drilldown.js +259 -359
  40. data/vendor/assets/js/plugins/foundation.drilldown.js.map +1 -1
  41. data/vendor/assets/js/plugins/foundation.drilldown.min.js +1 -1
  42. data/vendor/assets/js/plugins/foundation.drilldown.min.js.map +1 -1
  43. data/vendor/assets/js/plugins/foundation.dropdown.js +291 -462
  44. data/vendor/assets/js/plugins/foundation.dropdown.js.map +1 -1
  45. data/vendor/assets/js/plugins/foundation.dropdown.min.js +1 -1
  46. data/vendor/assets/js/plugins/foundation.dropdown.min.js.map +1 -1
  47. data/vendor/assets/js/plugins/foundation.dropdownMenu.js +251 -349
  48. data/vendor/assets/js/plugins/foundation.dropdownMenu.js.map +1 -1
  49. data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js +1 -1
  50. data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js.map +1 -1
  51. data/vendor/assets/js/plugins/foundation.equalizer.js +178 -261
  52. data/vendor/assets/js/plugins/foundation.equalizer.js.map +1 -1
  53. data/vendor/assets/js/plugins/foundation.equalizer.min.js +1 -1
  54. data/vendor/assets/js/plugins/foundation.equalizer.min.js.map +1 -1
  55. data/vendor/assets/js/plugins/foundation.interchange.js +455 -240
  56. data/vendor/assets/js/plugins/foundation.interchange.js.map +1 -1
  57. data/vendor/assets/js/plugins/foundation.interchange.min.js +1 -1
  58. data/vendor/assets/js/plugins/foundation.interchange.min.js.map +1 -1
  59. data/vendor/assets/js/plugins/foundation.magellan.js +226 -342
  60. data/vendor/assets/js/plugins/foundation.magellan.js.map +1 -1
  61. data/vendor/assets/js/plugins/foundation.magellan.min.js +1 -1
  62. data/vendor/assets/js/plugins/foundation.magellan.min.js.map +1 -1
  63. data/vendor/assets/js/plugins/foundation.offcanvas.js +326 -471
  64. data/vendor/assets/js/plugins/foundation.offcanvas.js.map +1 -1
  65. data/vendor/assets/js/plugins/foundation.offcanvas.min.js +1 -1
  66. data/vendor/assets/js/plugins/foundation.offcanvas.min.js.map +1 -1
  67. data/vendor/assets/js/plugins/foundation.orbit.js +244 -347
  68. data/vendor/assets/js/plugins/foundation.orbit.js.map +1 -1
  69. data/vendor/assets/js/plugins/foundation.orbit.min.js +1 -1
  70. data/vendor/assets/js/plugins/foundation.orbit.min.js.map +1 -1
  71. data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js +203 -288
  72. data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js.map +1 -1
  73. data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js +1 -1
  74. data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js.map +1 -1
  75. data/vendor/assets/js/plugins/foundation.responsiveMenu.js +205 -255
  76. data/vendor/assets/js/plugins/foundation.responsiveMenu.js.map +1 -1
  77. data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js +1 -1
  78. data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js.map +1 -1
  79. data/vendor/assets/js/plugins/foundation.responsiveToggle.js +170 -226
  80. data/vendor/assets/js/plugins/foundation.responsiveToggle.js.map +1 -1
  81. data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js +1 -1
  82. data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js.map +1 -1
  83. data/vendor/assets/js/plugins/foundation.reveal.js +285 -445
  84. data/vendor/assets/js/plugins/foundation.reveal.js.map +1 -1
  85. data/vendor/assets/js/plugins/foundation.reveal.min.js +1 -1
  86. data/vendor/assets/js/plugins/foundation.reveal.min.js.map +1 -1
  87. data/vendor/assets/js/plugins/foundation.slider.js +321 -486
  88. data/vendor/assets/js/plugins/foundation.slider.js.map +1 -1
  89. data/vendor/assets/js/plugins/foundation.slider.min.js +1 -1
  90. data/vendor/assets/js/plugins/foundation.slider.min.js.map +1 -1
  91. data/vendor/assets/js/plugins/foundation.smoothScroll.js +138 -188
  92. data/vendor/assets/js/plugins/foundation.smoothScroll.js.map +1 -1
  93. data/vendor/assets/js/plugins/foundation.smoothScroll.min.js +1 -1
  94. data/vendor/assets/js/plugins/foundation.smoothScroll.min.js.map +1 -1
  95. data/vendor/assets/js/plugins/foundation.sticky.js +253 -395
  96. data/vendor/assets/js/plugins/foundation.sticky.js.map +1 -1
  97. data/vendor/assets/js/plugins/foundation.sticky.min.js +1 -1
  98. data/vendor/assets/js/plugins/foundation.sticky.min.js.map +1 -1
  99. data/vendor/assets/js/plugins/foundation.tabs.js +228 -317
  100. data/vendor/assets/js/plugins/foundation.tabs.js.map +1 -1
  101. data/vendor/assets/js/plugins/foundation.tabs.min.js +1 -1
  102. data/vendor/assets/js/plugins/foundation.tabs.min.js.map +1 -1
  103. data/vendor/assets/js/plugins/foundation.toggler.js +207 -294
  104. data/vendor/assets/js/plugins/foundation.toggler.js.map +1 -1
  105. data/vendor/assets/js/plugins/foundation.toggler.min.js +1 -1
  106. data/vendor/assets/js/plugins/foundation.toggler.min.js.map +1 -1
  107. data/vendor/assets/js/plugins/foundation.tooltip.js +276 -437
  108. data/vendor/assets/js/plugins/foundation.tooltip.js.map +1 -1
  109. data/vendor/assets/js/plugins/foundation.tooltip.min.js +1 -1
  110. data/vendor/assets/js/plugins/foundation.tooltip.min.js.map +1 -1
  111. data/vendor/assets/js/plugins/foundation.util.box.js +176 -234
  112. data/vendor/assets/js/plugins/foundation.util.box.js.map +1 -1
  113. data/vendor/assets/js/plugins/foundation.util.box.min.js +1 -1
  114. data/vendor/assets/js/plugins/foundation.util.box.min.js.map +1 -1
  115. data/vendor/assets/js/plugins/foundation.util.imageLoader.js +110 -150
  116. data/vendor/assets/js/plugins/foundation.util.imageLoader.js.map +1 -1
  117. data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js +1 -1
  118. data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js.map +1 -1
  119. data/vendor/assets/js/plugins/foundation.util.keyboard.js +157 -172
  120. data/vendor/assets/js/plugins/foundation.util.keyboard.js.map +1 -1
  121. data/vendor/assets/js/plugins/foundation.util.keyboard.min.js +1 -1
  122. data/vendor/assets/js/plugins/foundation.util.keyboard.min.js.map +1 -1
  123. data/vendor/assets/js/plugins/foundation.util.mediaQuery.js +167 -233
  124. data/vendor/assets/js/plugins/foundation.util.mediaQuery.js.map +1 -1
  125. data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js +1 -1
  126. data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js.map +1 -1
  127. data/vendor/assets/js/plugins/foundation.util.motion.js +127 -161
  128. data/vendor/assets/js/plugins/foundation.util.motion.js.map +1 -1
  129. data/vendor/assets/js/plugins/foundation.util.motion.min.js +1 -1
  130. data/vendor/assets/js/plugins/foundation.util.motion.min.js.map +1 -1
  131. data/vendor/assets/js/plugins/foundation.util.nest.js +126 -160
  132. data/vendor/assets/js/plugins/foundation.util.nest.js.map +1 -1
  133. data/vendor/assets/js/plugins/foundation.util.nest.min.js +1 -1
  134. data/vendor/assets/js/plugins/foundation.util.nest.min.js.map +1 -1
  135. data/vendor/assets/js/plugins/foundation.util.timer.js +116 -171
  136. data/vendor/assets/js/plugins/foundation.util.timer.js.map +1 -1
  137. data/vendor/assets/js/plugins/foundation.util.timer.min.js +1 -1
  138. data/vendor/assets/js/plugins/foundation.util.timer.min.js.map +1 -1
  139. data/vendor/assets/js/plugins/foundation.util.touch.js +172 -228
  140. data/vendor/assets/js/plugins/foundation.util.touch.js.map +1 -1
  141. data/vendor/assets/js/plugins/foundation.util.touch.min.js +1 -1
  142. data/vendor/assets/js/plugins/foundation.util.touch.min.js.map +1 -1
  143. data/vendor/assets/js/plugins/foundation.util.triggers.js +158 -222
  144. data/vendor/assets/js/plugins/foundation.util.triggers.js.map +1 -1
  145. data/vendor/assets/js/plugins/foundation.util.triggers.min.js +1 -1
  146. data/vendor/assets/js/plugins/foundation.util.triggers.min.js.map +1 -1
  147. data/vendor/assets/scss/_global.scss +20 -7
  148. data/vendor/assets/scss/components/_accordion-menu.scss +2 -2
  149. data/vendor/assets/scss/components/_accordion.scss +2 -2
  150. data/vendor/assets/scss/components/_badge.scss +3 -3
  151. data/vendor/assets/scss/components/_breadcrumbs.scss +4 -3
  152. data/vendor/assets/scss/components/_button-group.scss +23 -13
  153. data/vendor/assets/scss/components/_button.scss +15 -15
  154. data/vendor/assets/scss/components/_callout.scss +4 -4
  155. data/vendor/assets/scss/components/_card.scss +2 -2
  156. data/vendor/assets/scss/components/_close-button.scss +7 -6
  157. data/vendor/assets/scss/components/_drilldown.scss +2 -2
  158. data/vendor/assets/scss/components/_dropdown-menu.scss +3 -3
  159. data/vendor/assets/scss/components/_dropdown.scss +2 -2
  160. data/vendor/assets/scss/components/_flex.scss +2 -2
  161. data/vendor/assets/scss/components/_float.scss +2 -2
  162. data/vendor/assets/scss/components/_label.scss +3 -3
  163. data/vendor/assets/scss/components/_media-object.scss +2 -2
  164. data/vendor/assets/scss/components/_menu.scss +56 -21
  165. data/vendor/assets/scss/components/_off-canvas.scss +20 -18
  166. data/vendor/assets/scss/components/_orbit.scss +5 -5
  167. data/vendor/assets/scss/components/_pagination.scss +3 -3
  168. data/vendor/assets/scss/components/_progress-bar.scss +3 -3
  169. data/vendor/assets/scss/components/_responsive-embed.scss +3 -3
  170. data/vendor/assets/scss/components/_reveal.scss +10 -5
  171. data/vendor/assets/scss/components/_slider.scss +7 -4
  172. data/vendor/assets/scss/components/_sticky.scss +2 -2
  173. data/vendor/assets/scss/components/_switch.scss +27 -4
  174. data/vendor/assets/scss/components/_table.scss +10 -9
  175. data/vendor/assets/scss/components/_tabs.scss +4 -4
  176. data/vendor/assets/scss/components/_thumbnail.scss +2 -2
  177. data/vendor/assets/scss/components/_title-bar.scss +2 -2
  178. data/vendor/assets/scss/components/_tooltip.scss +2 -2
  179. data/vendor/assets/scss/components/_top-bar.scss +9 -7
  180. data/vendor/assets/scss/components/_visibility.scss +48 -5
  181. data/vendor/assets/scss/forms/_checkbox.scss +2 -2
  182. data/vendor/assets/scss/forms/_error.scss +2 -2
  183. data/vendor/assets/scss/forms/_fieldset.scss +2 -2
  184. data/vendor/assets/scss/forms/_forms.scss +2 -2
  185. data/vendor/assets/scss/forms/_help-text.scss +2 -2
  186. data/vendor/assets/scss/forms/_input-group.scss +2 -2
  187. data/vendor/assets/scss/forms/_label.scss +4 -3
  188. data/vendor/assets/scss/forms/_meter.scss +2 -2
  189. data/vendor/assets/scss/forms/_progress.scss +3 -3
  190. data/vendor/assets/scss/forms/_range.scss +3 -3
  191. data/vendor/assets/scss/forms/_select.scss +7 -6
  192. data/vendor/assets/scss/forms/_text.scss +4 -4
  193. data/vendor/assets/scss/foundation.scss +3 -3
  194. data/vendor/assets/scss/grid/_classes.scss +3 -3
  195. data/vendor/assets/scss/grid/_column.scss +5 -4
  196. data/vendor/assets/scss/grid/_flex-grid.scss +9 -8
  197. data/vendor/assets/scss/grid/_grid.scss +2 -2
  198. data/vendor/assets/scss/grid/_gutter.scss +3 -3
  199. data/vendor/assets/scss/grid/_layout.scss +7 -7
  200. data/vendor/assets/scss/grid/_position.scss +6 -6
  201. data/vendor/assets/scss/grid/_row.scss +3 -3
  202. data/vendor/assets/scss/grid/_size.scss +2 -2
  203. data/vendor/assets/scss/motion-ui/util/_animation.scss +1 -1
  204. data/vendor/assets/scss/motion-ui/util/_series.scss +1 -1
  205. data/vendor/assets/scss/motion-ui/util/_unit.scss +54 -1
  206. data/vendor/assets/scss/prototype/_arrow.scss +2 -2
  207. data/vendor/assets/scss/prototype/_border-box.scss +2 -2
  208. data/vendor/assets/scss/prototype/_border-none.scss +3 -3
  209. data/vendor/assets/scss/prototype/_bordered.scss +2 -2
  210. data/vendor/assets/scss/prototype/_box.scss +2 -2
  211. data/vendor/assets/scss/prototype/_display.scss +2 -2
  212. data/vendor/assets/scss/prototype/_font-styling.scss +4 -4
  213. data/vendor/assets/scss/prototype/_list-style-type.scss +2 -2
  214. data/vendor/assets/scss/prototype/_overflow.scss +11 -2
  215. data/vendor/assets/scss/prototype/_position.scss +2 -2
  216. data/vendor/assets/scss/prototype/_prototype.scss +2 -2
  217. data/vendor/assets/scss/prototype/_rotate.scss +9 -7
  218. data/vendor/assets/scss/prototype/_rounded.scss +2 -2
  219. data/vendor/assets/scss/prototype/_separator.scss +7 -7
  220. data/vendor/assets/scss/prototype/_shadow.scss +3 -4
  221. data/vendor/assets/scss/prototype/_sizing.scss +2 -2
  222. data/vendor/assets/scss/prototype/_spacing.scss +35 -35
  223. data/vendor/assets/scss/prototype/_text-decoration.scss +2 -2
  224. data/vendor/assets/scss/prototype/_text-transformation.scss +5 -5
  225. data/vendor/assets/scss/prototype/_text-utilities.scss +2 -2
  226. data/vendor/assets/scss/settings/_settings.scss +32 -28
  227. data/vendor/assets/scss/typography/_alignment.scss +2 -2
  228. data/vendor/assets/scss/typography/_base.scss +8 -8
  229. data/vendor/assets/scss/typography/_helpers.scss +12 -4
  230. data/vendor/assets/scss/typography/_print.scss +4 -4
  231. data/vendor/assets/scss/typography/_typography.scss +2 -2
  232. data/vendor/assets/scss/util/_breakpoint.scss +24 -21
  233. data/vendor/assets/scss/util/_color.scss +22 -10
  234. data/vendor/assets/scss/util/_direction.scss +3 -3
  235. data/vendor/assets/scss/util/_flex.scss +1 -1
  236. data/vendor/assets/scss/util/_math.scss +63 -11
  237. data/vendor/assets/scss/util/_mixins.scss +20 -16
  238. data/vendor/assets/scss/util/_selector.scss +3 -17
  239. data/vendor/assets/scss/util/_typography.scss +8 -8
  240. data/vendor/assets/scss/util/_unit.scss +16 -10
  241. data/vendor/assets/scss/util/_util.scss +2 -2
  242. data/vendor/assets/scss/util/_value.scss +5 -20
  243. data/vendor/assets/scss/vendor/normalize.scss +19 -2
  244. data/vendor/assets/scss/xy-grid/_cell.scss +18 -7
  245. data/vendor/assets/scss/xy-grid/_classes.scss +16 -16
  246. data/vendor/assets/scss/xy-grid/_collapse.scss +2 -2
  247. data/vendor/assets/scss/xy-grid/_frame.scss +12 -0
  248. data/vendor/assets/scss/xy-grid/_grid.scss +4 -4
  249. data/vendor/assets/scss/xy-grid/_gutters.scss +4 -4
  250. data/vendor/assets/scss/xy-grid/_layout.scss +3 -3
  251. data/vendor/assets/scss/xy-grid/_position.scss +14 -9
  252. data/vendor/assets/scss/xy-grid/_xy-grid.scss +4 -4
  253. metadata +21 -19
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -2,6 +2,6 @@
2
2
  /// @param {Arglist} $effects... - One or more effect functions to build the keyframe with.
3
3
  @mixin mui-animation($args...) {
4
4
  $name: map-get(-mui-process-args($args...), name);
5
- @include mui-keyframes($name, $args...);
6
5
  animation-name: unquote($name);
6
+ @include mui-keyframes($name, $args...);
7
7
  }
@@ -42,9 +42,9 @@ $-mui-queue: ();
42
42
 
43
43
  // Start the animation
44
44
  .#{map-get($motion-ui-settings, activate-queue-class)} & {
45
- @include mui-animation($kf);
46
45
  animation-delay: $actual-delay;
47
46
  animation-duration: $duration;
47
+ @include mui-animation($kf);
48
48
  }
49
49
 
50
50
  // Pause the animation.
@@ -1,7 +1,60 @@
1
+ @use "sass:math";
2
+
1
3
  /// Removes the unit (e.g. px, em, rem) from a value, returning the number only.
2
4
  /// @param {Number} $num - Number to strip unit from.
3
5
  /// @return {Number} The same number, sans unit.
4
6
  /// @access private
7
+
8
+ /// Divide the given `$divident` by the given `$divisor`.
9
+ ///
10
+ /// @param {Number} $divident - The divident.
11
+ /// @param {Number} $divisor - The divisor.
12
+ /// @param {Number} $precision - The precision decimals for the division.
13
+ ///
14
+ /// @return {Number} The product of the division.
15
+ @function divide($dividend, $divisor, $precision: 12) {
16
+ $sign: if($dividend > 0 and $divisor > 0 or $dividend < 0 and $divisor < 0, 1, -1);
17
+ $dividend: math.abs($dividend);
18
+ $divisor: math.abs($divisor);
19
+ @if $dividend == 0 {
20
+ @return 0;
21
+ }
22
+ @if $divisor == 0 {
23
+ @error 'Cannot divide by 0';
24
+ }
25
+ $remainder: $dividend;
26
+ $result: 0;
27
+ $factor: 10;
28
+ @while ($remainder > 0 and $precision >= 0) {
29
+ $quotient: 0;
30
+ @while ($remainder >= $divisor) {
31
+ $remainder: $remainder - $divisor;
32
+ $quotient: $quotient + 1;
33
+ }
34
+ $result: $result * 10 + $quotient;
35
+ $factor: $factor * 0.1;
36
+ $remainder: $remainder * 10;
37
+ $precision: $precision - 1;
38
+ @if ($precision < 0 and $remainder >= $divisor * 5) {
39
+ $result: $result + 1;
40
+ }
41
+ }
42
+ $result: $result * $factor * $sign;
43
+ $dividend-unit: unit($dividend);
44
+ $divisor-unit: unit($divisor);
45
+ $unit-map: (
46
+ 'px': 1px,
47
+ 'rem': 1rem,
48
+ 'em': 1em,
49
+ '%': 1%
50
+ );
51
+ @if ($dividend-unit != $divisor-unit and map-has-key($unit-map, $dividend-unit)) {
52
+ $result: $result * map-get($unit-map, $dividend-unit);
53
+ }
54
+
55
+ @return $result;
56
+ }
57
+
5
58
  @function strip-unit($num) {
6
- @return $num / ($num * 0 + 1);
59
+ @return divide($num, $num * 0 + 1);
7
60
  }
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -12,7 +12,7 @@ $prototype-border-none-breakpoints: $global-prototype-breakpoints !default;
12
12
 
13
13
  /// Border none utility
14
14
  @mixin border-none {
15
- border: none !important;
15
+ border: 0 !important;
16
16
  }
17
17
 
18
18
  @mixin foundation-prototype-border-none {
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -52,7 +52,7 @@ $prototype-font-bold: $global-weight-bold !default;
52
52
  }
53
53
 
54
54
  @mixin foundation-prototype-font-styling {
55
- .font-wide{
55
+ .font-wide {
56
56
  @include font-wide;
57
57
  }
58
58
 
@@ -73,7 +73,7 @@ $prototype-font-bold: $global-weight-bold !default;
73
73
  @each $size in $breakpoint-classes {
74
74
  @include breakpoint($size) {
75
75
  @if $size != $-zf-zero-breakpoint {
76
- .#{$size}-font-wide{
76
+ .#{$size}-font-wide {
77
77
  @include font-wide;
78
78
  }
79
79
 
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -22,18 +22,27 @@ $prototype-overflow: (
22
22
  /// @param {String} $overflow [] Overflow classes
23
23
  @mixin overflow($overflow) {
24
24
  overflow: $overflow !important;
25
+ @if $overflow == 'scroll' {
26
+ -webkit-overflow-scrolling: touch;
27
+ }
25
28
  }
26
29
 
27
30
  /// Overflow classes on horizontal axis, by default coming through a map `$prototype-overflow`
28
31
  /// @param {String} $overflow [] Overflow classes (horizontal axis)
29
32
  @mixin overflow-x($overflow) {
30
33
  overflow-x: $overflow !important;
34
+ @if $overflow == 'scroll' {
35
+ -webkit-overflow-scrolling: touch;
36
+ }
31
37
  }
32
38
 
33
39
  /// Overflow classes on vertical axis, by default coming through a map `$prototype-overflow`
34
40
  /// @param {String} $overflow [] Overflow classes (vertical axis)
35
41
  @mixin overflow-y($overflow) {
36
42
  overflow-y: $overflow !important;
43
+ @if $overflow == 'scroll' {
44
+ -webkit-overflow-scrolling: touch;
45
+ }
37
46
  }
38
47
 
39
48
  @mixin foundation-prototype-overflow {
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -1,7 +1,9 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
+ // sass-lint:disable mixin-name-format
6
+
5
7
  ////
6
8
  /// @group prototype-rotate
7
9
  ////
@@ -9,23 +11,23 @@
9
11
  /// Rotate Mixin: Rotate an element to a certain deg
10
12
  /// @param {Number} $deg[] Degree of rotation
11
13
  @mixin rotate($deg) {
12
- transform:rotate($deg + deg);
14
+ transform: rotate($deg + deg);
13
15
  }
14
16
 
15
17
  /// RotateX Mixin: Rotate an element to a certain deg on X-Axis
16
18
  /// @param {Number} $deg[] Degree of rotation
17
19
  @mixin rotateX($deg) {
18
- transform:rotateX($deg + deg);
20
+ transform: rotateX($deg + deg);
19
21
  }
20
22
 
21
23
  /// RotateY Mixin: Rotate an element to a certain deg on Y-Axis
22
24
  /// @param {Number} $deg[] Degree of rotation
23
25
  @mixin rotateY($deg) {
24
- transform:rotateY($deg + deg);
26
+ transform: rotateY($deg + deg);
25
27
  }
26
28
 
27
29
  /// RotateZ Mixin: Rotate an element to a certain deg on Z-Axis
28
30
  /// @param {Number} $deg[] Degree of rotation
29
31
  @mixin rotateZ($deg) {
30
- transform:rotateZ($deg + deg);
31
- }
32
+ transform: rotateZ($deg + deg);
33
+ }
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -44,7 +44,7 @@ $prototype-separator-margin-top: $global-margin !default;
44
44
  $top: $prototype-separator-margin-top
45
45
  ) {
46
46
  text-align: $align !important;
47
- @include clearfix;
47
+ @include clearfix;
48
48
 
49
49
  &::after {
50
50
  @include position(relative);
@@ -63,9 +63,9 @@ $prototype-separator-margin-top: $global-margin !default;
63
63
  }
64
64
 
65
65
  @mixin foundation-prototype-separator {
66
- .separator-center {
67
- @include separator(center);
68
- }
66
+ .separator-center {
67
+ @include separator(center);
68
+ }
69
69
 
70
70
  .separator-left {
71
71
  @include separator(left);
@@ -75,7 +75,7 @@ $prototype-separator-margin-top: $global-margin !default;
75
75
  @include separator(right);
76
76
  }
77
77
 
78
- @if ($prototype-separator-breakpoints) {
78
+ @if ($prototype-separator-breakpoints) {
79
79
  // Loop through Responsive Breakpoints
80
80
  @each $size in $breakpoint-classes {
81
81
  @include breakpoint($size) {
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -12,8 +12,7 @@ $prototype-shadow-breakpoints: $global-prototype-breakpoints !default;
12
12
 
13
13
  /// Default value for `prototype-box-shadow`
14
14
  /// @type Number
15
- $prototype-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),
16
- 0 2px 10px 0 rgba(0,0,0,.12) !default;
15
+ $prototype-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12) !default;
17
16
 
18
17
  /// Shadow Utility: Adds a light box shadow to an element by default.
19
18
  /// @param {Number} $shadow [$prototype-box-shadow] Box Shadow of a component
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -68,23 +68,23 @@ $prototype-spacers-count: 3 !default;
68
68
  /// @param {String} $dir [] Direction
69
69
  /// @param {Number} $spacer [] Spacer
70
70
  @mixin margin-direction($dir, $spacer) {
71
- @if ($dir == top) {
72
- @include margin($top: $spacer);
71
+ @if ($dir == top) {
72
+ @include margin($top: $spacer);
73
73
  }
74
- @else if ($dir == right) {
75
- @include margin($right: $spacer);
74
+ @else if ($dir == right) {
75
+ @include margin($right: $spacer);
76
76
  }
77
- @else if ($dir == bottom) {
78
- @include margin($bottom: $spacer);
77
+ @else if ($dir == bottom) {
78
+ @include margin($bottom: $spacer);
79
79
  }
80
- @else if ($dir == left) {
81
- @include margin($left: $spacer);
80
+ @else if ($dir == left) {
81
+ @include margin($left: $spacer);
82
82
  }
83
- @else if ($dir == horizontal) {
84
- @include margin($right: $spacer, $left: $spacer);
83
+ @else if ($dir == horizontal) {
84
+ @include margin($right: $spacer, $left: $spacer);
85
85
  }
86
- @else if ($dir == vertical) {
87
- @include margin($top: $spacer, $bottom: $spacer);
86
+ @else if ($dir == vertical) {
87
+ @include margin($top: $spacer, $bottom: $spacer);
88
88
  }
89
89
  }
90
90
 
@@ -92,36 +92,36 @@ $prototype-spacers-count: 3 !default;
92
92
  /// @param {String} $dir [] Direction
93
93
  /// @param {Number} $spacer [] Spacer
94
94
  @mixin padding-direction($dir, $spacer) {
95
- @if ($dir == top) {
96
- @include padding($top: $spacer);
95
+ @if ($dir == top) {
96
+ @include padding($top: $spacer);
97
97
  }
98
- @else if ($dir == right) {
99
- @include padding($right: $spacer);
98
+ @else if ($dir == right) {
99
+ @include padding($right: $spacer);
100
100
  }
101
- @else if ($dir == bottom) {
102
- @include padding($bottom: $spacer);
101
+ @else if ($dir == bottom) {
102
+ @include padding($bottom: $spacer);
103
103
  }
104
- @else if ($dir == left) {
105
- @include padding($left: $spacer);
104
+ @else if ($dir == left) {
105
+ @include padding($left: $spacer);
106
106
  }
107
- @else if ($dir == horizontal) {
108
- @include padding($right: $spacer, $left: $spacer);
107
+ @else if ($dir == horizontal) {
108
+ @include padding($right: $spacer, $left: $spacer);
109
109
  }
110
- @else if ($dir == vertical) {
111
- @include padding($top: $spacer, $bottom: $spacer);
110
+ @else if ($dir == vertical) {
111
+ @include padding($top: $spacer, $bottom: $spacer);
112
112
  }
113
113
  }
114
114
 
115
115
  @mixin foundation-prototype-spacing {
116
116
  @for $spacer from 0 through $prototype-spacers-count {
117
-
117
+
118
118
  @each $prop in (margin, padding) {
119
119
  // All Sides
120
120
  .#{$prop}-#{$spacer} {
121
- @if ($prop == margin) {
121
+ @if ($prop == margin) {
122
122
  margin: $spacer * $global-margin !important;
123
123
  }
124
- @else if ($prop == padding) {
124
+ @else if ($prop == padding) {
125
125
  padding: $spacer * $global-padding !important;
126
126
  }
127
127
  }
@@ -129,7 +129,7 @@ $prototype-spacers-count: 3 !default;
129
129
  @each $dir in (top, right, bottom, left, horizontal, vertical) {
130
130
  // Top Side
131
131
  .#{$prop}-#{$dir}-#{$spacer} {
132
- @if ($prop == margin) {
132
+ @if ($prop == margin) {
133
133
  @include margin-direction($dir, $spacer);
134
134
  }
135
135
  @else if ($prop == padding) {
@@ -142,7 +142,7 @@ $prototype-spacers-count: 3 !default;
142
142
 
143
143
  @if ($prototype-spacing-breakpoints) {
144
144
  @for $spacer from 0 through $prototype-spacers-count {
145
- // Loop through Responsive Breakpoints
145
+ // Loop through Responsive Breakpoints
146
146
  @each $size in $breakpoint-classes {
147
147
  @include breakpoint($size) {
148
148
  @if $size != $-zf-zero-breakpoint {
@@ -150,10 +150,10 @@ $prototype-spacers-count: 3 !default;
150
150
  @each $prop in (margin, padding) {
151
151
  // All Sides
152
152
  &-#{$prop}-#{$spacer} {
153
- @if ($prop == margin) {
153
+ @if ($prop == margin) {
154
154
  margin: $spacer * $global-margin !important;
155
155
  }
156
- @else if ($prop == padding) {
156
+ @else if ($prop == padding) {
157
157
  padding: $spacer * $global-padding !important;
158
158
  }
159
159
  }
@@ -161,10 +161,10 @@ $prototype-spacers-count: 3 !default;
161
161
  @each $dir in (top, right, bottom, left, horizontal, vertical) {
162
162
  // Top Side
163
163
  &-#{$prop}-#{$dir}-#{$spacer} {
164
- @if ($prop == margin) {
164
+ @if ($prop == margin) {
165
165
  @include margin-direction($dir, $spacer);
166
166
  }
167
- @else if ($prop == padding) {
167
+ @else if ($prop == padding) {
168
168
  @include padding-direction($dir, $spacer);
169
169
  }
170
170
  }
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////
@@ -33,13 +33,13 @@ $prototype-text-transformation: (
33
33
 
34
34
  @if ($prototype-transformation-breakpoints) {
35
35
  // Loop through Responsive Breakpoints
36
- @each $size in $breakpoint-classes {
36
+ @each $size in $breakpoint-classes {
37
37
  @include breakpoint($size) {
38
38
  @each $transformation in $prototype-text-transformation {
39
39
  @if $size != $-zf-zero-breakpoint {
40
40
  .#{$size}-text-#{$transformation} {
41
- @include text-transform($transformation);
42
- }
41
+ @include text-transform($transformation);
42
+ }
43
43
  }
44
44
  }
45
45
  }
@@ -1,5 +1,5 @@
1
- // Foundation for Sites by ZURB
2
- // foundation.zurb.com
1
+ // Foundation for Sites
2
+ // https://get.foundation
3
3
  // Licensed under MIT Open Source
4
4
 
5
5
  ////