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.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/.travis.yml +2 -0
- data/Appraisals +4 -0
- data/Gemfile +1 -1
- data/Gemfile.lock +199 -146
- data/bower.json +3 -3
- data/foundation-rails.gemspec +4 -4
- data/gemfiles/rails_7.1.gemfile +10 -0
- data/gemfiles/rails_7.1.gemfile.lock +261 -0
- data/lib/foundation/rails/version.rb +1 -1
- data/lib/generators/foundation/templates/_settings.scss +32 -28
- data/vendor/assets/js/foundation.cjs.js +2101 -3230
- data/vendor/assets/js/foundation.cjs.js.map +1 -1
- data/vendor/assets/js/foundation.es6.js +505 -379
- data/vendor/assets/js/foundation.es6.js.map +1 -1
- data/vendor/assets/js/foundation.esm.js +1779 -2911
- data/vendor/assets/js/foundation.esm.js.map +1 -1
- data/vendor/assets/js/foundation.js +2544 -3970
- data/vendor/assets/js/foundation.js.map +1 -1
- data/vendor/assets/js/foundation.min.js +1 -1
- data/vendor/assets/js/foundation.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.abide.js +277 -367
- data/vendor/assets/js/plugins/foundation.abide.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.abide.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.abide.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordion.js +205 -277
- data/vendor/assets/js/plugins/foundation.accordion.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordion.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.accordion.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordionMenu.js +174 -262
- data/vendor/assets/js/plugins/foundation.accordionMenu.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.accordionMenu.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.accordionMenu.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.core.js +314 -457
- data/vendor/assets/js/plugins/foundation.core.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.core.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.core.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.drilldown.js +259 -359
- data/vendor/assets/js/plugins/foundation.drilldown.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.drilldown.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.drilldown.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdown.js +291 -462
- data/vendor/assets/js/plugins/foundation.dropdown.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdown.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.dropdown.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdownMenu.js +251 -349
- data/vendor/assets/js/plugins/foundation.dropdownMenu.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.dropdownMenu.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.equalizer.js +178 -261
- data/vendor/assets/js/plugins/foundation.equalizer.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.equalizer.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.equalizer.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.interchange.js +455 -240
- data/vendor/assets/js/plugins/foundation.interchange.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.interchange.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.interchange.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.magellan.js +226 -342
- data/vendor/assets/js/plugins/foundation.magellan.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.magellan.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.magellan.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.offcanvas.js +326 -471
- data/vendor/assets/js/plugins/foundation.offcanvas.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.offcanvas.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.offcanvas.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.orbit.js +244 -347
- data/vendor/assets/js/plugins/foundation.orbit.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.orbit.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.orbit.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js +203 -288
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveAccordionTabs.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveMenu.js +205 -255
- data/vendor/assets/js/plugins/foundation.responsiveMenu.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveMenu.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveToggle.js +170 -226
- data/vendor/assets/js/plugins/foundation.responsiveToggle.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.responsiveToggle.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.reveal.js +285 -445
- data/vendor/assets/js/plugins/foundation.reveal.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.reveal.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.reveal.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.slider.js +321 -486
- data/vendor/assets/js/plugins/foundation.slider.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.slider.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.slider.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.smoothScroll.js +138 -188
- data/vendor/assets/js/plugins/foundation.smoothScroll.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.smoothScroll.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.smoothScroll.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.sticky.js +253 -395
- data/vendor/assets/js/plugins/foundation.sticky.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.sticky.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.sticky.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tabs.js +228 -317
- data/vendor/assets/js/plugins/foundation.tabs.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tabs.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.tabs.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.toggler.js +207 -294
- data/vendor/assets/js/plugins/foundation.toggler.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.toggler.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.toggler.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tooltip.js +276 -437
- data/vendor/assets/js/plugins/foundation.tooltip.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.tooltip.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.tooltip.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.box.js +176 -234
- data/vendor/assets/js/plugins/foundation.util.box.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.box.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.box.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.imageLoader.js +110 -150
- data/vendor/assets/js/plugins/foundation.util.imageLoader.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.imageLoader.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.keyboard.js +157 -172
- data/vendor/assets/js/plugins/foundation.util.keyboard.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.keyboard.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.keyboard.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.js +167 -233
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.mediaQuery.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.motion.js +127 -161
- data/vendor/assets/js/plugins/foundation.util.motion.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.motion.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.motion.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.nest.js +126 -160
- data/vendor/assets/js/plugins/foundation.util.nest.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.nest.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.nest.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.timer.js +116 -171
- data/vendor/assets/js/plugins/foundation.util.timer.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.timer.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.timer.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.touch.js +172 -228
- data/vendor/assets/js/plugins/foundation.util.touch.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.touch.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.touch.min.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.triggers.js +158 -222
- data/vendor/assets/js/plugins/foundation.util.triggers.js.map +1 -1
- data/vendor/assets/js/plugins/foundation.util.triggers.min.js +1 -1
- data/vendor/assets/js/plugins/foundation.util.triggers.min.js.map +1 -1
- data/vendor/assets/scss/_global.scss +20 -7
- data/vendor/assets/scss/components/_accordion-menu.scss +2 -2
- data/vendor/assets/scss/components/_accordion.scss +2 -2
- data/vendor/assets/scss/components/_badge.scss +3 -3
- data/vendor/assets/scss/components/_breadcrumbs.scss +4 -3
- data/vendor/assets/scss/components/_button-group.scss +23 -13
- data/vendor/assets/scss/components/_button.scss +15 -15
- data/vendor/assets/scss/components/_callout.scss +4 -4
- data/vendor/assets/scss/components/_card.scss +2 -2
- data/vendor/assets/scss/components/_close-button.scss +7 -6
- data/vendor/assets/scss/components/_drilldown.scss +2 -2
- data/vendor/assets/scss/components/_dropdown-menu.scss +3 -3
- data/vendor/assets/scss/components/_dropdown.scss +2 -2
- data/vendor/assets/scss/components/_flex.scss +2 -2
- data/vendor/assets/scss/components/_float.scss +2 -2
- data/vendor/assets/scss/components/_label.scss +3 -3
- data/vendor/assets/scss/components/_media-object.scss +2 -2
- data/vendor/assets/scss/components/_menu.scss +56 -21
- data/vendor/assets/scss/components/_off-canvas.scss +20 -18
- data/vendor/assets/scss/components/_orbit.scss +5 -5
- data/vendor/assets/scss/components/_pagination.scss +3 -3
- data/vendor/assets/scss/components/_progress-bar.scss +3 -3
- data/vendor/assets/scss/components/_responsive-embed.scss +3 -3
- data/vendor/assets/scss/components/_reveal.scss +10 -5
- data/vendor/assets/scss/components/_slider.scss +7 -4
- data/vendor/assets/scss/components/_sticky.scss +2 -2
- data/vendor/assets/scss/components/_switch.scss +27 -4
- data/vendor/assets/scss/components/_table.scss +10 -9
- data/vendor/assets/scss/components/_tabs.scss +4 -4
- data/vendor/assets/scss/components/_thumbnail.scss +2 -2
- data/vendor/assets/scss/components/_title-bar.scss +2 -2
- data/vendor/assets/scss/components/_tooltip.scss +2 -2
- data/vendor/assets/scss/components/_top-bar.scss +9 -7
- data/vendor/assets/scss/components/_visibility.scss +48 -5
- data/vendor/assets/scss/forms/_checkbox.scss +2 -2
- data/vendor/assets/scss/forms/_error.scss +2 -2
- data/vendor/assets/scss/forms/_fieldset.scss +2 -2
- data/vendor/assets/scss/forms/_forms.scss +2 -2
- data/vendor/assets/scss/forms/_help-text.scss +2 -2
- data/vendor/assets/scss/forms/_input-group.scss +2 -2
- data/vendor/assets/scss/forms/_label.scss +4 -3
- data/vendor/assets/scss/forms/_meter.scss +2 -2
- data/vendor/assets/scss/forms/_progress.scss +3 -3
- data/vendor/assets/scss/forms/_range.scss +3 -3
- data/vendor/assets/scss/forms/_select.scss +7 -6
- data/vendor/assets/scss/forms/_text.scss +4 -4
- data/vendor/assets/scss/foundation.scss +3 -3
- data/vendor/assets/scss/grid/_classes.scss +3 -3
- data/vendor/assets/scss/grid/_column.scss +5 -4
- data/vendor/assets/scss/grid/_flex-grid.scss +9 -8
- data/vendor/assets/scss/grid/_grid.scss +2 -2
- data/vendor/assets/scss/grid/_gutter.scss +3 -3
- data/vendor/assets/scss/grid/_layout.scss +7 -7
- data/vendor/assets/scss/grid/_position.scss +6 -6
- data/vendor/assets/scss/grid/_row.scss +3 -3
- data/vendor/assets/scss/grid/_size.scss +2 -2
- data/vendor/assets/scss/motion-ui/util/_animation.scss +1 -1
- data/vendor/assets/scss/motion-ui/util/_series.scss +1 -1
- data/vendor/assets/scss/motion-ui/util/_unit.scss +54 -1
- data/vendor/assets/scss/prototype/_arrow.scss +2 -2
- data/vendor/assets/scss/prototype/_border-box.scss +2 -2
- data/vendor/assets/scss/prototype/_border-none.scss +3 -3
- data/vendor/assets/scss/prototype/_bordered.scss +2 -2
- data/vendor/assets/scss/prototype/_box.scss +2 -2
- data/vendor/assets/scss/prototype/_display.scss +2 -2
- data/vendor/assets/scss/prototype/_font-styling.scss +4 -4
- data/vendor/assets/scss/prototype/_list-style-type.scss +2 -2
- data/vendor/assets/scss/prototype/_overflow.scss +11 -2
- data/vendor/assets/scss/prototype/_position.scss +2 -2
- data/vendor/assets/scss/prototype/_prototype.scss +2 -2
- data/vendor/assets/scss/prototype/_rotate.scss +9 -7
- data/vendor/assets/scss/prototype/_rounded.scss +2 -2
- data/vendor/assets/scss/prototype/_separator.scss +7 -7
- data/vendor/assets/scss/prototype/_shadow.scss +3 -4
- data/vendor/assets/scss/prototype/_sizing.scss +2 -2
- data/vendor/assets/scss/prototype/_spacing.scss +35 -35
- data/vendor/assets/scss/prototype/_text-decoration.scss +2 -2
- data/vendor/assets/scss/prototype/_text-transformation.scss +5 -5
- data/vendor/assets/scss/prototype/_text-utilities.scss +2 -2
- data/vendor/assets/scss/settings/_settings.scss +32 -28
- data/vendor/assets/scss/typography/_alignment.scss +2 -2
- data/vendor/assets/scss/typography/_base.scss +8 -8
- data/vendor/assets/scss/typography/_helpers.scss +12 -4
- data/vendor/assets/scss/typography/_print.scss +4 -4
- data/vendor/assets/scss/typography/_typography.scss +2 -2
- data/vendor/assets/scss/util/_breakpoint.scss +24 -21
- data/vendor/assets/scss/util/_color.scss +22 -10
- data/vendor/assets/scss/util/_direction.scss +3 -3
- data/vendor/assets/scss/util/_flex.scss +1 -1
- data/vendor/assets/scss/util/_math.scss +63 -11
- data/vendor/assets/scss/util/_mixins.scss +20 -16
- data/vendor/assets/scss/util/_selector.scss +3 -17
- data/vendor/assets/scss/util/_typography.scss +8 -8
- data/vendor/assets/scss/util/_unit.scss +16 -10
- data/vendor/assets/scss/util/_util.scss +2 -2
- data/vendor/assets/scss/util/_value.scss +5 -20
- data/vendor/assets/scss/vendor/normalize.scss +19 -2
- data/vendor/assets/scss/xy-grid/_cell.scss +18 -7
- data/vendor/assets/scss/xy-grid/_classes.scss +16 -16
- data/vendor/assets/scss/xy-grid/_collapse.scss +2 -2
- data/vendor/assets/scss/xy-grid/_frame.scss +12 -0
- data/vendor/assets/scss/xy-grid/_grid.scss +4 -4
- data/vendor/assets/scss/xy-grid/_gutters.scss +4 -4
- data/vendor/assets/scss/xy-grid/_layout.scss +3 -3
- data/vendor/assets/scss/xy-grid/_position.scss +14 -9
- data/vendor/assets/scss/xy-grid/_xy-grid.scss +4 -4
- metadata +21 -19
@@ -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
|
59
|
+
@return divide($num, $num * 0 + 1);
|
7
60
|
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// Foundation for Sites
|
2
|
-
// foundation
|
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:
|
15
|
+
border: 0 !important;
|
16
16
|
}
|
17
17
|
|
18
18
|
@mixin foundation-prototype-border-none {
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// Foundation for Sites
|
2
|
-
// foundation
|
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
|
2
|
-
// foundation
|
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,7 +1,9 @@
|
|
1
|
-
// Foundation for Sites
|
2
|
-
// foundation
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
31
|
-
}
|
32
|
+
transform: rotateZ($deg + deg);
|
33
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
|
-
// Foundation for Sites
|
2
|
-
// foundation
|
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
|
-
|
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
|
-
|
67
|
-
|
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
|
-
|
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
|
2
|
-
// foundation
|
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
|
-
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
|
2
|
-
// foundation
|
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
|
-
|
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
|
2
|
-
// foundation
|
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
|
-
|
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
|
-
|
42
|
-
|
41
|
+
@include text-transform($transformation);
|
42
|
+
}
|
43
43
|
}
|
44
44
|
}
|
45
45
|
}
|