foundation-rails 6.3.1.0 → 6.4.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bower.json +3 -3
- data/lib/foundation/rails/version.rb +1 -1
- data/lib/generators/foundation/install_generator.rb +1 -1
- data/lib/generators/foundation/templates/_settings.scss +291 -48
- data/vendor/assets/js/entries/foundation-plugins.js +25 -0
- data/vendor/assets/js/entries/foundation.js +101 -0
- data/vendor/assets/js/entries/plugins/foundation.abide.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.accordion.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.accordionMenu.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.core.js +21 -0
- data/vendor/assets/js/entries/plugins/foundation.drilldown.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.dropdown.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.dropdownMenu.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.equalizer.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.interchange.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.magellan.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.offcanvas.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.orbit.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.responsiveAccordionTabs.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.responsiveMenu.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.responsiveToggle.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.reveal.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.slider.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.smoothScroll.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.sticky.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.tabs.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.toggler.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.tooltip.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.util.box.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.util.imageLoader.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.util.keyboard.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.util.mediaQuery.js +4 -0
- data/vendor/assets/js/entries/plugins/foundation.util.motion.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.util.nest.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.util.timer.js +5 -0
- data/vendor/assets/js/entries/plugins/foundation.util.touch.js +7 -0
- data/vendor/assets/js/entries/plugins/foundation.util.triggers.js +5 -0
- data/vendor/assets/js/foundation.abide.js.es6 +18 -15
- data/vendor/assets/js/foundation.accordion.js.es6 +37 -23
- data/vendor/assets/js/foundation.accordionMenu.js.es6 +96 -51
- data/vendor/assets/js/foundation.core.js.es6 +46 -87
- data/vendor/assets/js/foundation.drilldown.js.es6 +47 -29
- data/vendor/assets/js/foundation.dropdown.js.es6 +84 -122
- data/vendor/assets/js/foundation.dropdownMenu.js.es6 +44 -28
- data/vendor/assets/js/foundation.equalizer.js.es6 +18 -17
- data/vendor/assets/js/foundation.interchange.js.es6 +26 -19
- data/vendor/assets/js/foundation.js.es6 +8 -3
- data/vendor/assets/js/foundation.magellan.js.es6 +36 -30
- data/vendor/assets/js/foundation.offcanvas.js.es6 +148 -36
- data/vendor/assets/js/foundation.orbit.js.es6 +26 -18
- data/vendor/assets/js/foundation.plugin.js.es6 +54 -0
- data/vendor/assets/js/foundation.positionable.js.es6 +206 -0
- data/vendor/assets/js/{foundation.zf.responsiveAccordionTabs.js.es6 → foundation.responsiveAccordionTabs.js.es6} +33 -30
- data/vendor/assets/js/foundation.responsiveMenu.js.es6 +37 -29
- data/vendor/assets/js/foundation.responsiveToggle.js.es6 +17 -16
- data/vendor/assets/js/foundation.reveal.js.es6 +61 -79
- data/vendor/assets/js/foundation.slider.js.es6 +33 -18
- data/vendor/assets/js/foundation.smoothScroll.js.es6 +135 -0
- data/vendor/assets/js/foundation.sticky.js.es6 +25 -17
- data/vendor/assets/js/foundation.tabs.js.es6 +35 -27
- data/vendor/assets/js/foundation.toggler.js.es6 +15 -13
- data/vendor/assets/js/foundation.tooltip.js.es6 +100 -108
- data/vendor/assets/js/foundation.util.box.js.es6 +114 -78
- data/vendor/assets/js/foundation.util.core.js.es6 +52 -0
- data/vendor/assets/js/foundation.util.imageLoader.js.es6 +45 -0
- data/vendor/assets/js/foundation.util.keyboard.js.es6 +41 -31
- data/vendor/assets/js/foundation.util.mediaQuery.js.es6 +59 -55
- data/vendor/assets/js/foundation.util.motion.js.es6 +4 -5
- data/vendor/assets/js/foundation.util.nest.js.es6 +9 -23
- data/vendor/assets/js/{foundation.util.timerAndImageLoader.js.es6 → foundation.util.timer.js.es6} +2 -42
- data/vendor/assets/js/foundation.util.touch.js.es6 +91 -294
- data/vendor/assets/js/foundation.util.triggers.js.es6 +199 -141
- data/vendor/assets/scss/_global.scss +29 -1
- data/vendor/assets/scss/components/_accordion-menu.scss +148 -13
- data/vendor/assets/scss/components/_accordion.scss +5 -0
- data/vendor/assets/scss/components/_breadcrumbs.scss +26 -9
- data/vendor/assets/scss/components/_button-group.scss +4 -4
- data/vendor/assets/scss/components/_button.scss +59 -12
- data/vendor/assets/scss/components/_card.scss +10 -2
- data/vendor/assets/scss/components/_drilldown.scss +90 -41
- data/vendor/assets/scss/components/_dropdown-menu.scss +52 -6
- data/vendor/assets/scss/components/_dropdown.scss +8 -1
- data/vendor/assets/scss/components/_flex.scss +85 -2
- data/vendor/assets/scss/components/_menu.scss +267 -162
- data/vendor/assets/scss/components/_off-canvas.scss +159 -45
- data/vendor/assets/scss/components/_pagination.scss +1 -1
- data/vendor/assets/scss/components/_reveal.scss +13 -11
- data/vendor/assets/scss/components/_slider.scss +0 -1
- data/vendor/assets/scss/components/_sticky.scss +1 -0
- data/vendor/assets/scss/components/_table.scss +7 -6
- data/vendor/assets/scss/components/_tabs.scss +1 -1
- data/vendor/assets/scss/components/_title-bar.scss +1 -1
- data/vendor/assets/scss/components/_tooltip.scss +74 -21
- data/vendor/assets/scss/components/_top-bar.scss +2 -0
- data/vendor/assets/scss/forms/_fieldset.scss +0 -1
- data/vendor/assets/scss/forms/_meter.scss +7 -1
- data/vendor/assets/scss/forms/_select.scss +4 -3
- data/vendor/assets/scss/forms/_text.scss +11 -2
- data/vendor/assets/scss/foundation.scss +17 -3
- data/vendor/assets/scss/grid/_flex-grid.scss +3 -52
- data/vendor/assets/scss/prototype/_arrow.scss +36 -0
- data/vendor/assets/scss/prototype/_border-box.scss +35 -0
- data/vendor/assets/scss/prototype/_border-none.scss +35 -0
- data/vendor/assets/scss/prototype/_bordered.scss +54 -0
- data/vendor/assets/scss/prototype/_box.scss +23 -0
- data/vendor/assets/scss/prototype/_display.scss +50 -0
- data/vendor/assets/scss/prototype/_font-styling.scss +95 -0
- data/vendor/assets/scss/prototype/_list-style-type.scss +95 -0
- data/vendor/assets/scss/prototype/_overflow.scss +72 -0
- data/vendor/assets/scss/prototype/_position.scss +114 -0
- data/vendor/assets/scss/prototype/_prototype.scss +91 -0
- data/vendor/assets/scss/prototype/_relation.scss +157 -0
- data/vendor/assets/scss/prototype/_rotate.scss +31 -0
- data/vendor/assets/scss/prototype/_rounded.scss +54 -0
- data/vendor/assets/scss/prototype/_separator.scss +96 -0
- data/vendor/assets/scss/prototype/_shadow.scss +43 -0
- data/vendor/assets/scss/prototype/_sizing.scss +73 -0
- data/vendor/assets/scss/prototype/_spacing.scss +204 -0
- data/vendor/assets/scss/prototype/_text-decoration.scss +48 -0
- data/vendor/assets/scss/prototype/_text-transformation.scss +48 -0
- data/vendor/assets/scss/prototype/_text-utilities.scss +88 -0
- data/vendor/assets/scss/prototype/_typescale.scss +20 -0
- data/vendor/assets/scss/settings/_settings.scss +291 -48
- data/vendor/assets/scss/typography/_base.scss +2 -2
- data/vendor/assets/scss/typography/_helpers.scss +6 -4
- data/vendor/assets/scss/util/_breakpoint.scss +60 -1
- data/vendor/assets/scss/util/_color.scss +8 -5
- data/vendor/assets/scss/util/_mixins.scss +45 -5
- data/vendor/assets/scss/xy-grid/_cell.scss +179 -0
- data/vendor/assets/scss/xy-grid/_classes.scss +455 -0
- data/vendor/assets/scss/xy-grid/_collapse.scss +54 -0
- data/vendor/assets/scss/xy-grid/_frame.scss +54 -0
- data/vendor/assets/scss/xy-grid/_grid.scss +56 -0
- data/vendor/assets/scss/xy-grid/_gutters.scss +45 -0
- data/vendor/assets/scss/xy-grid/_layout.scss +33 -0
- data/vendor/assets/scss/xy-grid/_position.scss +28 -0
- data/vendor/assets/scss/xy-grid/_xy-grid.scss +52 -0
- metadata +73 -4
@@ -6,6 +6,10 @@
|
|
6
6
|
/// @group tooltip
|
7
7
|
////
|
8
8
|
|
9
|
+
/// Default cursor of the defined term.
|
10
|
+
/// @type Keyword
|
11
|
+
$has-tip-cursor: help !default;
|
12
|
+
|
9
13
|
/// Default font weight of the defined term.
|
10
14
|
/// @type Keyword | Number
|
11
15
|
$has-tip-font-weight: $global-weight-bold !default;
|
@@ -26,6 +30,10 @@ $tooltip-color: $white !default;
|
|
26
30
|
/// @type Number
|
27
31
|
$tooltip-padding: 0.75rem !default;
|
28
32
|
|
33
|
+
/// Default max width for tooltips.
|
34
|
+
/// @type Number
|
35
|
+
$tooltip-max-width: 10rem !default;
|
36
|
+
|
29
37
|
/// Default font size of the tooltip text. By default, we recommend a smaller font size than the body copy.
|
30
38
|
/// @type Number
|
31
39
|
$tooltip-font-size: $small-font-size !default;
|
@@ -48,7 +56,7 @@ $tooltip-radius: $global-radius !default;
|
|
48
56
|
|
49
57
|
border-bottom: $has-tip-border-bottom;
|
50
58
|
font-weight: $has-tip-font-weight;
|
51
|
-
cursor:
|
59
|
+
cursor: $has-tip-cursor;
|
52
60
|
}
|
53
61
|
|
54
62
|
@mixin tooltip {
|
@@ -56,7 +64,7 @@ $tooltip-radius: $global-radius !default;
|
|
56
64
|
top: calc(100% + #{$tooltip-pip-height});
|
57
65
|
z-index: 1200;
|
58
66
|
|
59
|
-
max-width:
|
67
|
+
max-width: $tooltip-max-width;
|
60
68
|
padding: $tooltip-padding;
|
61
69
|
|
62
70
|
border-radius: $tooltip-radius;
|
@@ -65,34 +73,79 @@ $tooltip-radius: $global-radius !default;
|
|
65
73
|
color: $tooltip-color;
|
66
74
|
|
67
75
|
&::before {
|
68
|
-
@include css-triangle($tooltip-pip-width, $tooltip-background-color, up);
|
69
76
|
position: absolute;
|
70
|
-
bottom: 100%;
|
71
|
-
left: 50%;
|
72
|
-
transform: translateX(-50%);
|
73
77
|
}
|
74
78
|
|
75
|
-
&.
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
+
&.bottom {
|
80
|
+
&::before {
|
81
|
+
@include css-triangle($tooltip-pip-width, $tooltip-background-color, up);
|
82
|
+
bottom: 100%;
|
83
|
+
}
|
84
|
+
|
85
|
+
&.align-center::before {
|
86
|
+
left: 50%;
|
87
|
+
transform: translateX(-50%);
|
88
|
+
}
|
79
89
|
}
|
80
90
|
|
81
|
-
&.
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
91
|
+
&.top {
|
92
|
+
&::before {
|
93
|
+
@include css-triangle($tooltip-pip-width, $tooltip-background-color, down);
|
94
|
+
top: 100%;
|
95
|
+
bottom: auto;
|
96
|
+
}
|
97
|
+
|
98
|
+
&.align-center::before {
|
99
|
+
left: 50%;
|
100
|
+
transform: translateX(-50%);
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
&.left {
|
105
|
+
&::before {
|
106
|
+
@include css-triangle($tooltip-pip-width, $tooltip-background-color, right);
|
107
|
+
left: 100%;
|
108
|
+
}
|
109
|
+
|
110
|
+
&.align-center::before {
|
111
|
+
bottom: auto;
|
112
|
+
top: 50%;
|
113
|
+
transform: translateY(-50%);
|
114
|
+
}
|
87
115
|
}
|
88
116
|
|
89
|
-
&.right
|
90
|
-
|
91
|
-
|
92
|
-
|
117
|
+
&.right {
|
118
|
+
&::before {
|
119
|
+
@include css-triangle($tooltip-pip-width, $tooltip-background-color, left);
|
120
|
+
right: 100%;
|
121
|
+
left: auto;
|
122
|
+
}
|
123
|
+
|
124
|
+
&.align-center::before {
|
125
|
+
bottom: auto;
|
126
|
+
top: 50%;
|
127
|
+
transform: translateY(-50%);
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
&.align-top::before {
|
93
132
|
bottom: auto;
|
133
|
+
top: 10%;
|
134
|
+
}
|
135
|
+
|
136
|
+
&.align-bottom::before {
|
137
|
+
bottom: 10%;
|
138
|
+
top: auto;
|
139
|
+
}
|
140
|
+
|
141
|
+
&.align-left::before {
|
142
|
+
left: 10%;
|
143
|
+
right: auto;
|
144
|
+
}
|
145
|
+
|
146
|
+
&.align-right::before {
|
94
147
|
left: auto;
|
95
|
-
|
148
|
+
right: 10%;
|
96
149
|
}
|
97
150
|
}
|
98
151
|
|
@@ -37,7 +37,13 @@ $meter-fill-bad: $alert-color !default;
|
|
37
37
|
height: $meter-height;
|
38
38
|
margin-bottom: 1rem;
|
39
39
|
|
40
|
-
appearance: none
|
40
|
+
// Disable `-webkit-appearance: none` from getting prefixed,
|
41
|
+
// We have disabled autoprefixer first and are just only using
|
42
|
+
// `-moz-appearance: none` as a prefix and neglecting the webkit.
|
43
|
+
|
44
|
+
/*! autoprefixer: off */
|
45
|
+
-moz-appearance: none;
|
46
|
+
appearance: none;
|
41
47
|
|
42
48
|
@if has-value($meter-radius) {
|
43
49
|
border-radius: $meter-radius;
|
@@ -19,11 +19,11 @@ $select-triangle-color: $dark-gray !default;
|
|
19
19
|
$select-radius: $global-radius !default;
|
20
20
|
|
21
21
|
@mixin form-select {
|
22
|
-
$height: ($input-font-size + ($
|
22
|
+
$height: ($input-font-size * unitless-calc($input-line-height)) + (get-side($input-padding, 'top') + get-side($input-padding, 'bottom')) - rem-calc(1);
|
23
23
|
|
24
24
|
height: $height;
|
25
25
|
margin: 0 0 $form-spacing;
|
26
|
-
padding:
|
26
|
+
padding: $input-padding;
|
27
27
|
|
28
28
|
appearance: none;
|
29
29
|
border: $input-border;
|
@@ -32,7 +32,8 @@ $select-radius: $global-radius !default;
|
|
32
32
|
|
33
33
|
font-family: $input-font-family;
|
34
34
|
font-size: $input-font-size;
|
35
|
-
|
35
|
+
font-weight: $input-font-weight;
|
36
|
+
line-height: $input-line-height;
|
36
37
|
color: $input-color;
|
37
38
|
|
38
39
|
@if $select-triangle-color != transparent {
|
@@ -26,6 +26,10 @@ $input-font-size: rem-calc(16) !default;
|
|
26
26
|
/// @type Keyword
|
27
27
|
$input-font-weight: $global-weight-normal !default;
|
28
28
|
|
29
|
+
/// Line height of text inputs.
|
30
|
+
/// @type Keyword
|
31
|
+
$input-line-height: $global-lineheight !default;
|
32
|
+
|
29
33
|
/// Background color of text inputs.
|
30
34
|
/// @type Color
|
31
35
|
$input-background: $white !default;
|
@@ -46,6 +50,10 @@ $input-border: 1px solid $medium-gray !default;
|
|
46
50
|
/// @type Color
|
47
51
|
$input-border-focus: 1px solid $dark-gray !default;
|
48
52
|
|
53
|
+
/// Padding of text inputs.
|
54
|
+
/// @type Color
|
55
|
+
$input-padding: $form-spacing / 2 !default;
|
56
|
+
|
49
57
|
/// Box shadow inside text inputs when not focused.
|
50
58
|
/// @type Shadow
|
51
59
|
$input-shadow: inset 0 1px 2px rgba($black, 0.1) !default;
|
@@ -75,14 +83,14 @@ $input-radius: $global-radius !default;
|
|
75
83
|
$form-button-radius: $global-radius !default;
|
76
84
|
|
77
85
|
@mixin form-element {
|
78
|
-
$height: ($input-font-size + ($
|
86
|
+
$height: ($input-font-size * unitless-calc($input-line-height)) + (get-side($input-padding, 'top') + get-side($input-padding, 'bottom')) - rem-calc(1);
|
79
87
|
|
80
88
|
display: block;
|
81
89
|
box-sizing: border-box;
|
82
90
|
width: 100%;
|
83
91
|
height: $height;
|
84
92
|
margin: 0 0 $form-spacing;
|
85
|
-
padding: $
|
93
|
+
padding: $input-padding;
|
86
94
|
|
87
95
|
border: $input-border;
|
88
96
|
border-radius: $input-radius;
|
@@ -92,6 +100,7 @@ $form-button-radius: $global-radius !default;
|
|
92
100
|
font-family: $input-font-family;
|
93
101
|
font-size: $input-font-size;
|
94
102
|
font-weight: $input-font-weight;
|
103
|
+
line-height: $input-line-height;
|
95
104
|
color: $input-color;
|
96
105
|
|
97
106
|
@if has-value($input-transition) {
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* Foundation for Sites by ZURB
|
3
|
-
* Version 6.
|
3
|
+
* Version 6.4.1
|
4
4
|
* foundation.zurb.com
|
5
5
|
* Licensed under MIT Open Source
|
6
6
|
*/
|
@@ -27,6 +27,7 @@
|
|
27
27
|
|
28
28
|
// Components
|
29
29
|
@import 'grid/grid';
|
30
|
+
@import 'xy-grid/xy-grid';
|
30
31
|
@import 'typography/typography';
|
31
32
|
@import 'forms/forms';
|
32
33
|
@import 'components/visibility';
|
@@ -63,8 +64,12 @@
|
|
63
64
|
@import 'components/top-bar';
|
64
65
|
@import 'components/thumbnail';
|
65
66
|
@import 'components/tooltip';
|
67
|
+
@import 'prototype/prototype';
|
66
68
|
|
67
|
-
@mixin foundation-everything(
|
69
|
+
@mixin foundation-everything(
|
70
|
+
$flex: true,
|
71
|
+
$prototype: false
|
72
|
+
) {
|
68
73
|
@if $flex {
|
69
74
|
$global-flexbox: true !global;
|
70
75
|
}
|
@@ -74,7 +79,12 @@
|
|
74
79
|
@include foundation-grid;
|
75
80
|
}
|
76
81
|
@else {
|
77
|
-
@
|
82
|
+
@if $xy-grid {
|
83
|
+
@include foundation-xy-grid-classes;
|
84
|
+
}
|
85
|
+
@else {
|
86
|
+
@include foundation-flex-grid;
|
87
|
+
}
|
78
88
|
}
|
79
89
|
@include foundation-typography;
|
80
90
|
@include foundation-forms;
|
@@ -115,4 +125,8 @@
|
|
115
125
|
@if $flex {
|
116
126
|
@include foundation-flex-classes;
|
117
127
|
}
|
128
|
+
|
129
|
+
@if $prototype {
|
130
|
+
@include foundation-prototype-classes;
|
131
|
+
}
|
118
132
|
}
|
@@ -86,7 +86,7 @@
|
|
86
86
|
// fixes recent Chrome version not limiting child width
|
87
87
|
// https://stackoverflow.com/questions/34934586/white-space-nowrap-and-flexbox-did-not-work-in-chrome
|
88
88
|
@if $columns == expand {
|
89
|
-
min-width:
|
89
|
+
min-width: 0;
|
90
90
|
}
|
91
91
|
// max-width fixes IE 10/11 not respecting the flex-basis property
|
92
92
|
@if $columns != expand and $columns != shrink {
|
@@ -143,8 +143,8 @@
|
|
143
143
|
|
144
144
|
// Expanded row
|
145
145
|
&.expanded {
|
146
|
-
@include grid-row-size(expand);
|
147
|
-
|
146
|
+
@include grid-row-size(expand);
|
147
|
+
|
148
148
|
.row {
|
149
149
|
margin-right: auto;
|
150
150
|
margin-left: auto;
|
@@ -190,29 +190,6 @@
|
|
190
190
|
padding-left: 0;
|
191
191
|
}
|
192
192
|
|
193
|
-
|
194
|
-
.flex-container {
|
195
|
-
@include flex;
|
196
|
-
}
|
197
|
-
|
198
|
-
.flex-child-auto {
|
199
|
-
flex: 1 1 auto;
|
200
|
-
}
|
201
|
-
|
202
|
-
.flex-child-grow {
|
203
|
-
flex: 1 0 auto;
|
204
|
-
}
|
205
|
-
|
206
|
-
.flex-child-shrink {
|
207
|
-
flex: 0 1 auto;
|
208
|
-
}
|
209
|
-
|
210
|
-
@each $dir, $prop in $-zf-flex-direction {
|
211
|
-
.flex-dir-#{$dir} {
|
212
|
-
@include flex-direction($prop);
|
213
|
-
}
|
214
|
-
}
|
215
|
-
|
216
193
|
@include -zf-each-breakpoint {
|
217
194
|
@for $i from 1 through $grid-column-count {
|
218
195
|
// Sizing (percentage)
|
@@ -229,13 +206,6 @@
|
|
229
206
|
}
|
230
207
|
}
|
231
208
|
|
232
|
-
// Source ordering
|
233
|
-
@for $i from 1 through 6 {
|
234
|
-
.#{$-zf-size}-order-#{$i} {
|
235
|
-
@include flex-order($i);
|
236
|
-
}
|
237
|
-
}
|
238
|
-
|
239
209
|
// Block grid
|
240
210
|
@for $i from 1 through $block-grid-max {
|
241
211
|
.#{$-zf-size}-up-#{$i} {
|
@@ -251,25 +221,6 @@
|
|
251
221
|
}
|
252
222
|
}
|
253
223
|
|
254
|
-
// direction helper classes
|
255
|
-
@each $dir, $prop in $-zf-flex-direction {
|
256
|
-
.#{$-zf-size}-flex-dir-#{$dir} {
|
257
|
-
@include flex-direction($prop);
|
258
|
-
}
|
259
|
-
}
|
260
|
-
// child helper classes
|
261
|
-
.#{$-zf-size}-flex-child-auto {
|
262
|
-
flex: 1 1 auto;
|
263
|
-
}
|
264
|
-
|
265
|
-
.#{$-zf-size}-flex-child-grow {
|
266
|
-
flex: 1 0 auto;
|
267
|
-
}
|
268
|
-
|
269
|
-
.#{$-zf-size}-flex-child-shrink {
|
270
|
-
flex: 0 1 auto;
|
271
|
-
}
|
272
|
-
|
273
224
|
// Auto-stacking/unstacking
|
274
225
|
@at-root (without: media) {
|
275
226
|
.row.#{$-zf-size}-unstack {
|
@@ -0,0 +1,36 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-arrow
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Map containing all the `arrow` direction
|
10
|
+
/// @type Map
|
11
|
+
$prototype-arrow-directions: (
|
12
|
+
down,
|
13
|
+
up,
|
14
|
+
right,
|
15
|
+
left
|
16
|
+
) !default;
|
17
|
+
|
18
|
+
/// Width of the Arrow, `0.4375rem` by default.
|
19
|
+
/// @type Number
|
20
|
+
$prototype-arrow-size: 0.4375rem;
|
21
|
+
|
22
|
+
/// Color of the Arrow, `$black` by default.
|
23
|
+
/// @type Color
|
24
|
+
$prototype-arrow-color: $black;
|
25
|
+
|
26
|
+
@mixin foundation-prototype-arrow {
|
27
|
+
@each $prototype-arrow-direction in $prototype-arrow-directions {
|
28
|
+
.arrow-#{$prototype-arrow-direction} {
|
29
|
+
@include css-triangle(
|
30
|
+
$prototype-arrow-size,
|
31
|
+
$prototype-arrow-color,
|
32
|
+
$prototype-arrow-direction
|
33
|
+
);
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
// Foundation for Sites by ZURB
|
2
|
+
// foundation.zurb.com
|
3
|
+
// Licensed under MIT Open Source
|
4
|
+
|
5
|
+
////
|
6
|
+
/// @group prototype-border-box
|
7
|
+
////
|
8
|
+
|
9
|
+
/// Responsive breakpoints for border box.
|
10
|
+
/// @type Boolean
|
11
|
+
$prototype-border-box-breakpoints: $global-prototype-breakpoints !default;
|
12
|
+
|
13
|
+
/// Border box utility
|
14
|
+
@mixin border-box {
|
15
|
+
box-sizing: border-box !important;
|
16
|
+
}
|
17
|
+
|
18
|
+
@mixin foundation-prototype-border-box {
|
19
|
+
.border-box {
|
20
|
+
@include border-box;
|
21
|
+
}
|
22
|
+
|
23
|
+
@if ($prototype-border-box-breakpoints) {
|
24
|
+
// Loop through Responsive Breakpoints
|
25
|
+
@each $size in $breakpoint-classes {
|
26
|
+
@include breakpoint($size) {
|
27
|
+
@if $size != $-zf-zero-breakpoint {
|
28
|
+
.#{$size}-border-box {
|
29
|
+
@include border-box;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
}
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|