locomotivecms_wagon 2.4.0.rc2 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (137) hide show
  1. checksums.yaml +4 -4
  2. data/generators/foundation/public/javascripts/vendor/foundation.js +10839 -6523
  3. data/generators/foundation/public/javascripts/vendor/foundation.min.js +5 -3
  4. data/generators/foundation/public/stylesheets/_settings.scss +455 -115
  5. data/generators/foundation/public/stylesheets/app.css +0 -3
  6. data/generators/foundation/public/stylesheets/app.scss +15 -6
  7. data/generators/foundation/public/stylesheets/foundation.css +4191 -1885
  8. data/generators/foundation/public/stylesheets/foundation6/_global.scss +106 -54
  9. data/generators/foundation/public/stylesheets/foundation6/components/_accordion-menu.scss +157 -14
  10. data/generators/foundation/public/stylesheets/foundation6/components/_accordion.scss +71 -28
  11. data/generators/foundation/public/stylesheets/foundation6/components/_badge.scss +17 -9
  12. data/generators/foundation/public/stylesheets/foundation6/components/_breadcrumbs.scss +33 -10
  13. data/generators/foundation/public/stylesheets/foundation6/components/_button-group.scss +168 -30
  14. data/generators/foundation/public/stylesheets/foundation6/components/_button.scss +165 -44
  15. data/generators/foundation/public/stylesheets/foundation6/components/_callout.scss +9 -18
  16. data/generators/foundation/public/stylesheets/foundation6/components/_card.scss +129 -0
  17. data/generators/foundation/public/stylesheets/foundation6/components/_close-button.scss +54 -13
  18. data/generators/foundation/public/stylesheets/foundation6/components/_drilldown.scss +108 -33
  19. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown-menu.scss +215 -64
  20. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown.scss +22 -7
  21. data/generators/foundation/public/stylesheets/foundation6/components/_flex-video.scss +1 -68
  22. data/generators/foundation/public/stylesheets/foundation6/components/_flex.scss +117 -0
  23. data/generators/foundation/public/stylesheets/foundation6/components/_float.scss +1 -1
  24. data/generators/foundation/public/stylesheets/foundation6/components/_label.scss +16 -8
  25. data/generators/foundation/public/stylesheets/foundation6/components/_media-object.scss +50 -10
  26. data/generators/foundation/public/stylesheets/foundation6/components/_menu-icon.scss +9 -0
  27. data/generators/foundation/public/stylesheets/foundation6/components/_menu.scss +373 -91
  28. data/generators/foundation/public/stylesheets/foundation6/components/_off-canvas.scss +418 -83
  29. data/generators/foundation/public/stylesheets/foundation6/components/_orbit.scss +17 -7
  30. data/generators/foundation/public/stylesheets/foundation6/components/_pagination.scss +77 -45
  31. data/generators/foundation/public/stylesheets/foundation6/components/_progress-bar.scss +16 -35
  32. data/generators/foundation/public/stylesheets/foundation6/components/_responsive-embed.scss +70 -0
  33. data/generators/foundation/public/stylesheets/foundation6/components/_reveal.scss +59 -34
  34. data/generators/foundation/public/stylesheets/foundation6/components/_slider.scss +17 -38
  35. data/generators/foundation/public/stylesheets/foundation6/components/_sticky.scss +5 -4
  36. data/generators/foundation/public/stylesheets/foundation6/components/_switch.scss +52 -36
  37. data/generators/foundation/public/stylesheets/foundation6/components/_table.scss +197 -79
  38. data/generators/foundation/public/stylesheets/foundation6/components/_tabs.scss +126 -67
  39. data/generators/foundation/public/stylesheets/foundation6/components/_thumbnail.scss +17 -4
  40. data/generators/foundation/public/stylesheets/foundation6/components/_title-bar.scss +61 -21
  41. data/generators/foundation/public/stylesheets/foundation6/components/_tooltip.scss +74 -24
  42. data/generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss +128 -10
  43. data/generators/foundation/public/stylesheets/foundation6/components/_visibility.scss +6 -5
  44. data/generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss +14 -9
  45. data/generators/foundation/public/stylesheets/foundation6/forms/_error.scss +12 -5
  46. data/generators/foundation/public/stylesheets/foundation6/forms/_fieldset.scss +6 -6
  47. data/generators/foundation/public/stylesheets/foundation6/forms/_forms.scss +11 -9
  48. data/generators/foundation/public/stylesheets/foundation6/forms/_help-text.scss +1 -1
  49. data/generators/foundation/public/stylesheets/foundation6/forms/_input-group.scss +82 -10
  50. data/generators/foundation/public/stylesheets/foundation6/forms/_label.scss +2 -0
  51. data/generators/foundation/public/stylesheets/foundation6/forms/_meter.scss +116 -0
  52. data/generators/foundation/public/stylesheets/foundation6/forms/_progress.scss +94 -0
  53. data/generators/foundation/public/stylesheets/foundation6/forms/_range.scss +149 -0
  54. data/generators/foundation/public/stylesheets/foundation6/forms/_select.scss +36 -14
  55. data/generators/foundation/public/stylesheets/foundation6/forms/_text.scss +53 -27
  56. data/generators/foundation/public/stylesheets/foundation6/foundation.scss +59 -17
  57. data/generators/foundation/public/stylesheets/foundation6/grid/_classes.scss +100 -56
  58. data/generators/foundation/public/stylesheets/foundation6/grid/_column.scss +22 -22
  59. data/generators/foundation/public/stylesheets/foundation6/grid/_flex-grid.scss +164 -96
  60. data/generators/foundation/public/stylesheets/foundation6/grid/_grid.scss +19 -4
  61. data/generators/foundation/public/stylesheets/foundation6/grid/_gutter.scss +61 -10
  62. data/generators/foundation/public/stylesheets/foundation6/grid/_layout.scss +49 -5
  63. data/generators/foundation/public/stylesheets/foundation6/grid/_position.scss +14 -9
  64. data/generators/foundation/public/stylesheets/foundation6/grid/_row.scss +42 -15
  65. data/generators/foundation/public/stylesheets/foundation6/motion-ui/_classes.scss +11 -4
  66. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_fade.scss +4 -1
  67. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_zoom.scss +1 -1
  68. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_slide.scss +1 -1
  69. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_transition.scss +1 -1
  70. data/generators/foundation/public/stylesheets/foundation6/prototype/_arrow.scss +36 -0
  71. data/generators/foundation/public/stylesheets/foundation6/prototype/_border-box.scss +35 -0
  72. data/generators/foundation/public/stylesheets/foundation6/prototype/_border-none.scss +35 -0
  73. data/generators/foundation/public/stylesheets/foundation6/prototype/_bordered.scss +54 -0
  74. data/generators/foundation/public/stylesheets/foundation6/prototype/_box.scss +23 -0
  75. data/generators/foundation/public/stylesheets/foundation6/prototype/_display.scss +50 -0
  76. data/generators/foundation/public/stylesheets/foundation6/prototype/_font-styling.scss +95 -0
  77. data/generators/foundation/public/stylesheets/foundation6/prototype/_list-style-type.scss +95 -0
  78. data/generators/foundation/public/stylesheets/foundation6/prototype/_overflow.scss +72 -0
  79. data/generators/foundation/public/stylesheets/foundation6/prototype/_position.scss +114 -0
  80. data/generators/foundation/public/stylesheets/foundation6/prototype/_prototype.scss +87 -0
  81. data/generators/foundation/public/stylesheets/foundation6/prototype/_relation.scss +157 -0
  82. data/generators/foundation/public/stylesheets/foundation6/prototype/_rotate.scss +31 -0
  83. data/generators/foundation/public/stylesheets/foundation6/prototype/_rounded.scss +54 -0
  84. data/generators/foundation/public/stylesheets/foundation6/prototype/_separator.scss +96 -0
  85. data/generators/foundation/public/stylesheets/foundation6/prototype/_shadow.scss +43 -0
  86. data/generators/foundation/public/stylesheets/foundation6/prototype/_sizing.scss +73 -0
  87. data/generators/foundation/public/stylesheets/foundation6/prototype/_spacing.scss +204 -0
  88. data/generators/foundation/public/stylesheets/foundation6/prototype/_text-decoration.scss +48 -0
  89. data/generators/foundation/public/stylesheets/foundation6/prototype/_text-transformation.scss +48 -0
  90. data/generators/foundation/public/stylesheets/foundation6/prototype/_text-utilities.scss +88 -0
  91. data/generators/foundation/public/stylesheets/foundation6/settings/_settings.scss +454 -116
  92. data/generators/foundation/public/stylesheets/foundation6/typography/_alignment.scss +9 -8
  93. data/generators/foundation/public/stylesheets/foundation6/typography/_base.scss +128 -55
  94. data/generators/foundation/public/stylesheets/foundation6/typography/_helpers.scss +7 -4
  95. data/generators/foundation/public/stylesheets/foundation6/typography/_print.scss +22 -9
  96. data/generators/foundation/public/stylesheets/foundation6/typography/_typography.scss +0 -2
  97. data/generators/foundation/public/stylesheets/foundation6/util/_breakpoint.scss +213 -47
  98. data/generators/foundation/public/stylesheets/foundation6/util/_color.scss +105 -17
  99. data/generators/foundation/public/stylesheets/foundation6/util/_direction.scss +31 -0
  100. data/generators/foundation/public/stylesheets/foundation6/util/_flex.scss +85 -0
  101. data/generators/foundation/public/stylesheets/foundation6/util/_math.scss +72 -0
  102. data/generators/foundation/public/stylesheets/foundation6/util/_mixins.scss +161 -38
  103. data/generators/foundation/public/stylesheets/foundation6/util/_selector.scss +5 -3
  104. data/generators/foundation/public/stylesheets/foundation6/util/_typography.scss +26 -0
  105. data/generators/foundation/public/stylesheets/foundation6/util/_unit.scss +100 -17
  106. data/generators/foundation/public/stylesheets/foundation6/util/_util.scss +4 -5
  107. data/generators/foundation/public/stylesheets/foundation6/util/_value.scss +68 -25
  108. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/_normalize.scss +3 -0
  109. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_import-now.scss +11 -0
  110. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_normalize-mixin.scss +676 -0
  111. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_variables.scss +36 -0
  112. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize-scss/sass/normalize/_vertical-rhythm.scss +61 -0
  113. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_contain.scss +31 -0
  114. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_purge.scss +38 -0
  115. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_remove.scss +31 -0
  116. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_replace.scss +46 -0
  117. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/functions/_to-list.scss +27 -0
  118. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/helpers/_missing-dependencies.scss +25 -0
  119. data/generators/foundation/public/stylesheets/foundation6/vendor/sassy-lists/stylesheets/helpers/_true.scss +13 -0
  120. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_cell.scss +169 -0
  121. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_classes.scss +476 -0
  122. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_collapse.scss +74 -0
  123. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_frame.scss +85 -0
  124. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_grid.scss +35 -0
  125. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_gutters.scss +45 -0
  126. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_layout.scss +33 -0
  127. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_position.scss +28 -0
  128. data/generators/foundation/public/stylesheets/foundation6/xy-grid/_xy-grid.scss +51 -0
  129. data/lib/locomotive/wagon/tools/styled_yaml.rb +1 -1
  130. data/lib/locomotive/wagon/version.rb +1 -1
  131. data/locomotivecms_wagon.gemspec +2 -2
  132. data/spec/fixtures/cassettes/authenticate.yml +102 -48
  133. data/spec/fixtures/cassettes/delete.yml +519 -259
  134. data/spec/fixtures/cassettes/push.yml +2724 -1486
  135. metadata +61 -10
  136. data/generators/foundation/public/stylesheets/foundation6/motion-ui.scss +0 -4
  137. data/generators/foundation/public/stylesheets/foundation6/vendor/normalize.scss +0 -424
@@ -16,41 +16,65 @@
16
16
  // 11. Button
17
17
  // 12. Button Group
18
18
  // 13. Callout
19
- // 14. Close Button
20
- // 15. Drilldown
21
- // 16. Dropdown
22
- // 17. Dropdown Menu
23
- // 18. Flex Video
24
- // 19. Forms
25
- // 20. Label
26
- // 21. Media Object
27
- // 22. Menu
28
- // 23. Off-canvas
29
- // 24. Orbit
30
- // 25. Pagination
31
- // 26. Progress Bar
32
- // 27. Reveal
33
- // 28. Slider
34
- // 29. Switch
35
- // 30. Table
36
- // 31. Tabs
37
- // 32. Thumbnail
38
- // 33. Tooltip
39
- // 34. Top Bar
19
+ // 14. Card
20
+ // 15. Close Button
21
+ // 16. Drilldown
22
+ // 17. Dropdown
23
+ // 18. Dropdown Menu
24
+ // 19. Flexbox Utilities
25
+ // 20. Forms
26
+ // 21. Label
27
+ // 22. Media Object
28
+ // 23. Menu
29
+ // 24. Meter
30
+ // 25. Off-canvas
31
+ // 26. Orbit
32
+ // 27. Pagination
33
+ // 28. Progress Bar
34
+ // 29. Prototype Arrow
35
+ // 30. Prototype Border-Box
36
+ // 31. Prototype Border-None
37
+ // 32. Prototype Bordered
38
+ // 33. Prototype Display
39
+ // 34. Prototype Font-Styling
40
+ // 35. Prototype List-Style-Type
41
+ // 36. Prototype Overflow
42
+ // 37. Prototype Position
43
+ // 38. Prototype Rounded
44
+ // 39. Prototype Separator
45
+ // 40. Prototype Shadow
46
+ // 41. Prototype Sizing
47
+ // 42. Prototype Spacing
48
+ // 43. Prototype Text-Decoration
49
+ // 44. Prototype Text-Transformation
50
+ // 45. Prototype Text-Utilities
51
+ // 46. Responsive Embed
52
+ // 47. Reveal
53
+ // 48. Slider
54
+ // 49. Switch
55
+ // 50. Table
56
+ // 51. Tabs
57
+ // 52. Thumbnail
58
+ // 53. Title Bar
59
+ // 54. Tooltip
60
+ // 55. Top Bar
61
+ // 56. Xy Grid
40
62
 
41
63
  @import 'util/util';
42
64
 
43
65
  // 1. Global
44
66
  // ---------
45
67
 
46
- $global-width: rem-calc(1200);
47
68
  $global-font-size: 100%;
69
+ $global-width: rem-calc(1200);
48
70
  $global-lineheight: 1.5;
49
- $primary-color: #2199e8;
50
- $secondary-color: #777;
51
- $success-color: #3adb76;
52
- $warning-color: #ffae00;
53
- $alert-color: #ec5840;
71
+ $foundation-palette: (
72
+ primary: #1779ba,
73
+ secondary: #767676,
74
+ success: #3adb76,
75
+ warning: #ffae00,
76
+ alert: #cc4b37,
77
+ );
54
78
  $light-gray: #e6e6e6;
55
79
  $medium-gray: #cacaca;
56
80
  $dark-gray: #8a8a8a;
@@ -58,18 +82,24 @@ $black: #0a0a0a;
58
82
  $white: #fefefe;
59
83
  $body-background: $white;
60
84
  $body-font-color: $black;
61
- $body-font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
85
+ $body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
62
86
  $body-antialiased: true;
63
- $text-direction: ltr;
64
87
  $global-margin: 1rem;
65
88
  $global-padding: 1rem;
66
- $global-margin: 1rem;
89
+ $global-position: 1rem;
67
90
  $global-weight-normal: normal;
68
91
  $global-weight-bold: bold;
69
92
  $global-radius: 0;
70
- $global-namespace: false;
93
+ $global-menu-padding: 0.7rem 1rem;
94
+ $global-menu-nested-margin: 1rem;
71
95
  $global-text-direction: ltr;
72
- $rem-base: 16px;
96
+ $global-flexbox: true;
97
+ $global-prototype-breakpoints: false;
98
+ $global-button-cursor: auto;
99
+ $global-color-pick-contrast-tolerance: 0;
100
+ $print-transparent-backgrounds: true;
101
+
102
+ @include add-foundation-colors;
73
103
 
74
104
  // 2. Breakpoints
75
105
  // --------------
@@ -81,6 +111,7 @@ $breakpoints: (
81
111
  xlarge: 1200px,
82
112
  xxlarge: 1440px,
83
113
  );
114
+ $print-breakpoint: large;
84
115
  $breakpoint-classes: (small medium large);
85
116
 
86
117
  // 3. The Grid
@@ -88,8 +119,13 @@ $breakpoint-classes: (small medium large);
88
119
 
89
120
  $grid-row-width: $global-width;
90
121
  $grid-column-count: 12;
91
- $grid-column-gutter: 30px;
92
- $block-grid-max: 6;
122
+ $grid-column-gutter: (
123
+ small: 20px,
124
+ medium: 30px,
125
+ );
126
+ $grid-column-align-edge: true;
127
+ $grid-column-alias: 'columns';
128
+ $block-grid-max: 8;
93
129
 
94
130
  // 4. Base Typography
95
131
  // ------------------
@@ -97,28 +133,28 @@ $block-grid-max: 6;
97
133
  $header-font-family: $body-font-family;
98
134
  $header-font-weight: $global-weight-normal;
99
135
  $header-font-style: normal;
100
- $font-family-monospace: Consolas, "Liberation Mono", Courier, monospace;
101
- $header-sizes: (
136
+ $font-family-monospace: Consolas, 'Liberation Mono', Courier, monospace;
137
+ $header-color: inherit;
138
+ $header-lineheight: 1.4;
139
+ $header-margin-bottom: 0.5rem;
140
+ $header-styles: (
102
141
  small: (
103
- 'h1': 24,
104
- 'h2': 20,
105
- 'h3': 19,
106
- 'h4': 18,
107
- 'h5': 17,
108
- 'h6': 16,
142
+ 'h1': ('font-size': 24),
143
+ 'h2': ('font-size': 20),
144
+ 'h3': ('font-size': 19),
145
+ 'h4': ('font-size': 18),
146
+ 'h5': ('font-size': 17),
147
+ 'h6': ('font-size': 16),
109
148
  ),
110
149
  medium: (
111
- 'h1': 48,
112
- 'h2': 40,
113
- 'h3': 31,
114
- 'h4': 25,
115
- 'h5': 20,
116
- 'h6': 16,
150
+ 'h1': ('font-size': 48),
151
+ 'h2': ('font-size': 40),
152
+ 'h3': ('font-size': 31),
153
+ 'h4': ('font-size': 25),
154
+ 'h5': ('font-size': 20),
155
+ 'h6': ('font-size': 16),
117
156
  ),
118
157
  );
119
- $header-color: inherit;
120
- $header-lineheight: 1.4;
121
- $header-margin-bottom: 0.5rem;
122
158
  $header-text-rendering: optimizeLegibility;
123
159
  $small-font-size: 80%;
124
160
  $header-small-font-color: $medium-gray;
@@ -152,6 +188,7 @@ $blockquote-padding: rem-calc(9 20 0 19);
152
188
  $blockquote-border: 1px solid $medium-gray;
153
189
  $cite-font-size: rem-calc(13);
154
190
  $cite-color: $dark-gray;
191
+ $cite-pseudo-content: '\2014 \0020';
155
192
  $keystroke-font: $font-family-monospace;
156
193
  $keystroke-color: $black;
157
194
  $keystroke-background: $light-gray;
@@ -176,9 +213,9 @@ $stat-font-size: 2.5rem;
176
213
 
177
214
  $abide-inputs: true;
178
215
  $abide-labels: true;
179
- $input-background-invalid: $alert-color;
180
- $form-label-color-invalid: $alert-color;
181
- $input-error-color: $alert-color;
216
+ $input-background-invalid: get-color(alert);
217
+ $form-label-color-invalid: get-color(alert);
218
+ $input-error-color: get-color(alert);
182
219
  $input-error-font-size: rem-calc(12);
183
220
  $input-error-font-weight: $global-weight-bold;
184
221
 
@@ -187,24 +224,38 @@ $input-error-font-weight: $global-weight-bold;
187
224
 
188
225
  $accordion-background: $white;
189
226
  $accordion-plusminus: true;
190
- $accordion-item-color: foreground($accordion-background, $primary-color);
227
+ $accordion-title-font-size: rem-calc(12);
228
+ $accordion-item-color: $primary-color;
191
229
  $accordion-item-background-hover: $light-gray;
192
230
  $accordion-item-padding: 1.25rem 1rem;
193
231
  $accordion-content-background: $white;
194
232
  $accordion-content-border: 1px solid $light-gray;
195
- $accordion-content-color: foreground($accordion-background, $primary-color);
233
+ $accordion-content-color: $body-font-color;
196
234
  $accordion-content-padding: 1rem;
197
235
 
198
236
  // 8. Accordion Menu
199
237
  // -----------------
200
238
 
239
+ $accordionmenu-padding: $global-menu-padding;
240
+ $accordionmenu-nested-margin: $global-menu-nested-margin;
241
+ $accordionmenu-submenu-padding: $accordionmenu-padding;
201
242
  $accordionmenu-arrows: true;
243
+ $accordionmenu-arrow-color: $primary-color;
244
+ $accordionmenu-item-background: null;
245
+ $accordionmenu-border: null;
246
+ $accordionmenu-submenu-toggle-background: null;
247
+ $accordion-submenu-toggle-border: $accordionmenu-border;
248
+ $accordionmenu-submenu-toggle-width: 40px;
249
+ $accordionmenu-submenu-toggle-height: $accordionmenu-submenu-toggle-width;
250
+ $accordionmenu-arrow-size: 6px;
202
251
 
203
252
  // 9. Badge
204
253
  // --------
205
254
 
206
255
  $badge-background: $primary-color;
207
- $badge-color: foreground($badge-background);
256
+ $badge-color: $white;
257
+ $badge-color-alt: $black;
258
+ $badge-palette: $foundation-palette;
208
259
  $badge-padding: 0.3em;
209
260
  $badge-minwidth: 2.1em;
210
261
  $badge-font-size: 0.6rem;
@@ -219,26 +270,35 @@ $breadcrumbs-item-color-current: $black;
219
270
  $breadcrumbs-item-color-disabled: $medium-gray;
220
271
  $breadcrumbs-item-margin: 0.75rem;
221
272
  $breadcrumbs-item-uppercase: true;
222
- $breadcrumbs-item-slash: true;
273
+ $breadcrumbs-item-separator: true;
274
+ $breadcrumbs-item-separator-item: '/';
275
+ $breadcrumbs-item-separator-item-rtl: '\\';
276
+ $breadcrumbs-item-separator-color: $medium-gray;
223
277
 
224
278
  // 11. Button
225
279
  // ----------
226
280
 
281
+ $button-font-family: inherit;
227
282
  $button-padding: 0.85em 1em;
228
- $button-margin: 0 $global-margin $global-margin 0;
283
+ $button-margin: 0 0 $global-margin 0;
229
284
  $button-fill: solid;
230
285
  $button-background: $primary-color;
231
286
  $button-background-hover: scale-color($button-background, $lightness: -15%);
232
- $button-color: #fff;
233
- $button-color-alt: #000;
287
+ $button-color: $white;
288
+ $button-color-alt: $black;
234
289
  $button-radius: $global-radius;
290
+ $button-hollow-border-width: 1px;
235
291
  $button-sizes: (
236
292
  tiny: 0.6rem,
237
293
  small: 0.75rem,
238
294
  default: 0.9rem,
239
295
  large: 1.25rem,
240
296
  );
297
+ $button-palette: $foundation-palette;
241
298
  $button-opacity-disabled: 0.25;
299
+ $button-background-hover-lightness: -20%;
300
+ $button-hollow-hover-lightness: -50%;
301
+ $button-transition: background-color 0.25s ease-out, color 0.25s ease-out;
242
302
 
243
303
  // 12. Button Group
244
304
  // ----------------
@@ -247,6 +307,7 @@ $buttongroup-margin: 1rem;
247
307
  $buttongroup-spacing: 1px;
248
308
  $buttongroup-child-selector: '.button';
249
309
  $buttongroup-expand-max: 6;
310
+ $buttongroup-radius-on-each: true;
250
311
 
251
312
  // 13. Callout
252
313
  // -----------
@@ -261,29 +322,58 @@ $callout-font-color-alt: $body-background;
261
322
  $callout-radius: $global-radius;
262
323
  $callout-link-tint: 30%;
263
324
 
264
- // 14. Close Button
325
+ // 14. Card
326
+ // --------
327
+
328
+ $card-background: $white;
329
+ $card-font-color: $body-font-color;
330
+ $card-divider-background: $light-gray;
331
+ $card-border: 1px solid $light-gray;
332
+ $card-shadow: none;
333
+ $card-border-radius: $global-radius;
334
+ $card-padding: $global-padding;
335
+ $card-margin-bottom: $global-margin;
336
+
337
+ // 15. Close Button
265
338
  // ----------------
266
339
 
267
340
  $closebutton-position: right top;
268
- $closebutton-offset-horizontal: 1rem;
269
- $closebutton-offset-vertical: 0.5rem;
270
- $closebutton-size: 2em;
341
+ $closebutton-offset-horizontal: (
342
+ small: 0.66rem,
343
+ medium: 1rem,
344
+ );
345
+ $closebutton-offset-vertical: (
346
+ small: 0.33em,
347
+ medium: 0.5rem,
348
+ );
349
+ $closebutton-size: (
350
+ small: 1.5em,
351
+ medium: 2em,
352
+ );
271
353
  $closebutton-lineheight: 1;
272
354
  $closebutton-color: $dark-gray;
273
355
  $closebutton-color-hover: $black;
274
356
 
275
- // 15. Drilldown
357
+ // 16. Drilldown
276
358
  // -------------
277
359
 
278
360
  $drilldown-transition: transform 0.15s linear;
279
361
  $drilldown-arrows: true;
280
-
281
- // 16. Dropdown
362
+ $drilldown-padding: $global-menu-padding;
363
+ $drilldown-nested-margin: 0;
364
+ $drilldown-background: $white;
365
+ $drilldown-submenu-padding: $drilldown-padding;
366
+ $drilldown-submenu-background: $white;
367
+ $drilldown-arrow-color: $primary-color;
368
+ $drilldown-arrow-size: 6px;
369
+
370
+ // 17. Dropdown
282
371
  // ------------
283
372
 
284
373
  $dropdown-padding: 1rem;
374
+ $dropdown-background: $body-background;
285
375
  $dropdown-border: 1px solid $medium-gray;
286
- $dropdown-font-size: 16rem;
376
+ $dropdown-font-size: 1rem;
287
377
  $dropdown-width: 300px;
288
378
  $dropdown-radius: $global-radius;
289
379
  $dropdown-sizes: (
@@ -292,23 +382,30 @@ $dropdown-sizes: (
292
382
  large: 400px,
293
383
  );
294
384
 
295
- // 17. Dropdown Menu
385
+ // 18. Dropdown Menu
296
386
  // -----------------
297
387
 
298
388
  $dropdownmenu-arrows: true;
389
+ $dropdownmenu-arrow-color: $anchor-color;
390
+ $dropdownmenu-arrow-size: 6px;
391
+ $dropdownmenu-arrow-padding: 1.5rem;
299
392
  $dropdownmenu-min-width: 200px;
300
393
  $dropdownmenu-background: $white;
301
- $dropdown-border: 1px solid $medium-gray;
302
-
303
- // 18. Flex Video
304
- // --------------
394
+ $dropdownmenu-submenu-background: $dropdownmenu-background;
395
+ $dropdownmenu-padding: $global-menu-padding;
396
+ $dropdownmenu-nested-margin: 0;
397
+ $dropdownmenu-submenu-padding: $dropdownmenu-padding;
398
+ $dropdownmenu-border: 1px solid $medium-gray;
399
+ $dropdown-menu-item-color-active: get-color(primary);
400
+ $dropdown-menu-item-background-active: transparent;
401
+
402
+ // 19. Flexbox Utilities
403
+ // ---------------------
305
404
 
306
- $flexvideo-padding-top: rem-calc(25);
307
- $flexvideo-margin-bottom: rem-calc(16);
308
- $flexvideo-ratio: 4 by 3;
309
- $flexvideo-ratio-widescreen: 16 by 9;
405
+ $flex-source-ordering-count: 6;
406
+ $flexbox-responsive-breakpoints: true;
310
407
 
311
- // 19. Forms
408
+ // 20. Forms
312
409
  // ---------
313
410
 
314
411
  $fieldset-border: 1px solid $medium-gray;
@@ -316,7 +413,7 @@ $fieldset-padding: rem-calc(20);
316
413
  $fieldset-margin: rem-calc(18 0);
317
414
  $legend-padding: rem-calc(0 3);
318
415
  $form-spacing: rem-calc(16);
319
- $helptext-color: #333;
416
+ $helptext-color: $black;
320
417
  $helptext-font-size: rem-calc(13);
321
418
  $helptext-font-style: italic;
322
419
  $input-prefix-color: $black;
@@ -327,62 +424,96 @@ $form-label-color: $black;
327
424
  $form-label-font-size: rem-calc(14);
328
425
  $form-label-font-weight: $global-weight-normal;
329
426
  $form-label-line-height: 1.8;
330
- $select-background: #fafafa;
331
- $select-triangle-color: #333;
427
+ $select-background: $white;
428
+ $select-triangle-color: $dark-gray;
332
429
  $select-radius: $global-radius;
333
- $input-color: $dark-gray;
430
+ $input-color: $black;
431
+ $input-placeholder-color: $medium-gray;
334
432
  $input-font-family: inherit;
335
433
  $input-font-size: rem-calc(16);
434
+ $input-font-weight: $global-weight-normal;
435
+ $input-line-height: $global-lineheight;
336
436
  $input-background: $white;
337
437
  $input-background-focus: $white;
338
438
  $input-background-disabled: $light-gray;
339
439
  $input-border: 1px solid $medium-gray;
340
440
  $input-border-focus: 1px solid $dark-gray;
441
+ $input-padding: $form-spacing / 2;
341
442
  $input-shadow: inset 0 1px 2px rgba($black, 0.1);
342
443
  $input-shadow-focus: 0 0 5px $medium-gray;
343
- $input-cursor-disabled: default;
444
+ $input-cursor-disabled: not-allowed;
344
445
  $input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
345
446
  $input-number-spinners: true;
346
447
  $input-radius: $global-radius;
448
+ $form-button-radius: $global-radius;
347
449
 
348
- // 20. Label
450
+ // 21. Label
349
451
  // ---------
350
452
 
351
453
  $label-background: $primary-color;
352
- $label-color: foreground($label-background);
454
+ $label-color: $white;
455
+ $label-color-alt: $black;
456
+ $label-palette: $foundation-palette;
353
457
  $label-font-size: 0.8rem;
354
458
  $label-padding: 0.33333rem 0.5rem;
355
459
  $label-radius: $global-radius;
356
460
 
357
- // 21. Media Object
461
+ // 22. Media Object
358
462
  // ----------------
359
463
 
360
464
  $mediaobject-margin-bottom: $global-margin;
361
465
  $mediaobject-section-padding: $global-padding;
362
466
  $mediaobject-image-width-stacked: 100%;
363
467
 
364
- // 22. Menu
468
+ // 23. Menu
365
469
  // --------
366
470
 
367
471
  $menu-margin: 0;
368
- $menu-margin-nested: 1rem;
369
- $menu-item-padding: 0.7rem 1rem;
472
+ $menu-nested-margin: $global-menu-nested-margin;
473
+ $menu-items-padding: $global-menu-padding;
474
+ $menu-simple-margin: 1rem;
475
+ $menu-item-color-active: $white;
476
+ $menu-item-background-active: get-color(primary);
370
477
  $menu-icon-spacing: 0.25rem;
371
- $menu-expand-max: 6;
478
+ $menu-item-background-hover: $light-gray;
479
+ $menu-state-back-compat: true;
480
+ $menu-centered-back-compat: true;
481
+ $menu-icons-back-compat: true;
482
+
483
+ // 24. Meter
484
+ // ---------
372
485
 
373
- // 23. Off-canvas
486
+ $meter-height: 1rem;
487
+ $meter-radius: $global-radius;
488
+ $meter-background: $medium-gray;
489
+ $meter-fill-good: $success-color;
490
+ $meter-fill-medium: $warning-color;
491
+ $meter-fill-bad: $alert-color;
492
+
493
+ // 25. Off-canvas
374
494
  // --------------
375
495
 
376
- $offcanvas-size: 250px;
496
+ $offcanvas-sizes: (
497
+ small: 250px,
498
+ );
499
+ $offcanvas-vertical-sizes: (
500
+ small: 250px,
501
+ );
377
502
  $offcanvas-background: $light-gray;
378
- $offcanvas-zindex: -1;
503
+ $offcanvas-shadow: 0 0 10px rgba($black, 0.7);
504
+ $offcanvas-inner-shadow-size: 20px;
505
+ $offcanvas-inner-shadow-color: rgba($black, 0.25);
506
+ $offcanvas-overlay-zindex: 11;
507
+ $offcanvas-push-zindex: 12;
508
+ $offcanvas-overlap-zindex: 13;
509
+ $offcanvas-reveal-zindex: 12;
379
510
  $offcanvas-transition-length: 0.5s;
380
511
  $offcanvas-transition-timing: ease;
512
+ $offcanvas-fixed-reveal: true;
381
513
  $offcanvas-exit-background: rgba($white, 0.25);
382
514
  $maincontent-class: 'off-canvas-content';
383
- $maincontent-shadow: 0 0 10px rgba($black, 0.5);
384
515
 
385
- // 24. Orbit
516
+ // 26. Orbit
386
517
  // ---------
387
518
 
388
519
  $orbit-bullet-background: $medium-gray;
@@ -397,7 +528,7 @@ $orbit-control-background-hover: rgba($black, 0.5);
397
528
  $orbit-control-padding: 1rem;
398
529
  $orbit-control-zindex: 10;
399
530
 
400
- // 25. Pagination
531
+ // 27. Pagination
401
532
  // --------------
402
533
 
403
534
  $pagination-font-size: rem-calc(14);
@@ -408,13 +539,14 @@ $pagination-item-spacing: rem-calc(1);
408
539
  $pagination-radius: $global-radius;
409
540
  $pagination-item-background-hover: $light-gray;
410
541
  $pagination-item-background-current: $primary-color;
411
- $pagination-item-color-current: foreground($pagination-item-background-current);
542
+ $pagination-item-color-current: $white;
412
543
  $pagination-item-color-disabled: $medium-gray;
413
544
  $pagination-ellipsis-color: $black;
414
545
  $pagination-mobile-items: false;
546
+ $pagination-mobile-current-item: false;
415
547
  $pagination-arrows: true;
416
548
 
417
- // 26. Progress Bar
549
+ // 28. Progress Bar
418
550
  // ----------------
419
551
 
420
552
  $progress-height: 1rem;
@@ -423,24 +555,194 @@ $progress-margin-bottom: $global-margin;
423
555
  $progress-meter-background: $primary-color;
424
556
  $progress-radius: $global-radius;
425
557
 
426
- // 27. Reveal
558
+ // 29. Prototype Arrow
559
+ // -------------------
560
+
561
+ $prototype-arrow-directions: (
562
+ down,
563
+ up,
564
+ right,
565
+ left
566
+ );
567
+ $prototype-arrow-size: 0.4375rem;
568
+ $prototype-arrow-color: $black;
569
+
570
+ // 30. Prototype Border-Box
571
+ // ------------------------
572
+
573
+ $prototype-border-box-breakpoints: $global-prototype-breakpoints;
574
+
575
+ // 31. Prototype Border-None
576
+ // -------------------------
577
+
578
+ $prototype-border-none-breakpoints: $global-prototype-breakpoints;
579
+
580
+ // 32. Prototype Bordered
581
+ // ----------------------
582
+
583
+ $prototype-bordered-breakpoints: $global-prototype-breakpoints;
584
+ $prototype-border-width: rem-calc(1);
585
+ $prototype-border-type: solid;
586
+ $prototype-border-color: $medium-gray;
587
+
588
+ // 33. Prototype Display
589
+ // ---------------------
590
+
591
+ $prototype-display-breakpoints: $global-prototype-breakpoints;
592
+ $prototype-display: (
593
+ inline,
594
+ inline-block,
595
+ block,
596
+ table,
597
+ table-cell
598
+ );
599
+
600
+ // 34. Prototype Font-Styling
601
+ // --------------------------
602
+
603
+ $prototype-font-breakpoints: $global-prototype-breakpoints;
604
+ $prototype-wide-letter-spacing: rem-calc(4);
605
+ $prototype-font-normal: $global-weight-normal;
606
+ $prototype-font-bold: $global-weight-bold;
607
+
608
+ // 35. Prototype List-Style-Type
609
+ // -----------------------------
610
+
611
+ $prototype-list-breakpoints: $global-prototype-breakpoints;
612
+ $prototype-style-type-unordered: (
613
+ disc,
614
+ circle,
615
+ square
616
+ );
617
+ $prototype-style-type-ordered: (
618
+ decimal,
619
+ lower-alpha,
620
+ lower-latin,
621
+ lower-roman,
622
+ upper-alpha,
623
+ upper-latin,
624
+ upper-roman
625
+ );
626
+
627
+ // 36. Prototype Overflow
628
+ // ----------------------
629
+
630
+ $prototype-overflow-breakpoints: $global-prototype-breakpoints;
631
+ $prototype-overflow: (
632
+ visible,
633
+ hidden,
634
+ scroll
635
+ );
636
+
637
+ // 37. Prototype Position
638
+ // ----------------------
639
+
640
+ $prototype-position-breakpoints: $global-prototype-breakpoints;
641
+ $prototype-position: (
642
+ static,
643
+ relative,
644
+ absolute,
645
+ fixed
646
+ );
647
+ $prototype-position-z-index: 975;
648
+
649
+ // 38. Prototype Rounded
650
+ // ---------------------
651
+
652
+ $prototype-rounded-breakpoints: $global-prototype-breakpoints;
653
+ $prototype-border-radius: rem-calc(3);
654
+
655
+ // 39. Prototype Separator
656
+ // -----------------------
657
+
658
+ $prototype-separator-breakpoints: $global-prototype-breakpoints;
659
+ $prototype-separator-align: center;
660
+ $prototype-separator-height: rem-calc(2);
661
+ $prototype-separator-width: 3rem;
662
+ $prototype-separator-background: $primary-color;
663
+ $prototype-separator-margin-top: $global-margin;
664
+
665
+ // 40. Prototype Shadow
666
+ // --------------------
667
+
668
+ $prototype-shadow-breakpoints: $global-prototype-breakpoints;
669
+ $prototype-box-shadow: 0 2px 5px 0 rgba(0,0,0,.16),
670
+ 0 2px 10px 0 rgba(0,0,0,.12);
671
+
672
+ // 41. Prototype Sizing
673
+ // --------------------
674
+
675
+ $prototype-sizing-breakpoints: $global-prototype-breakpoints;
676
+ $prototype-sizing: (
677
+ width,
678
+ height
679
+ );
680
+ $prototype-sizes: (
681
+ 25: 25%,
682
+ 50: 50%,
683
+ 75: 75%,
684
+ 100: 100%
685
+ );
686
+
687
+ // 42. Prototype Spacing
688
+ // ---------------------
689
+
690
+ $prototype-spacing-breakpoints: $global-prototype-breakpoints;
691
+ $prototype-spacers-count: 3;
692
+
693
+ // 43. Prototype Text-Decoration
694
+ // -----------------------------
695
+
696
+ $prototype-decoration-breakpoints: $global-prototype-breakpoints;
697
+ $prototype-text-decoration: (
698
+ overline,
699
+ underline,
700
+ line-through,
701
+ );
702
+
703
+ // 44. Prototype Text-Transformation
704
+ // ---------------------------------
705
+
706
+ $prototype-transformation-breakpoints: $global-prototype-breakpoints;
707
+ $prototype-text-transformation: (
708
+ lowercase,
709
+ uppercase,
710
+ capitalize
711
+ );
712
+
713
+ // 45. Prototype Text-Utilities
714
+ // ----------------------------
715
+
716
+ $prototype-utilities-breakpoints: $global-prototype-breakpoints;
717
+ $prototype-text-overflow: ellipsis;
718
+
719
+ // 46. Responsive Embed
720
+ // --------------------
721
+
722
+ $responsive-embed-margin-bottom: rem-calc(16);
723
+ $responsive-embed-ratios: (
724
+ default: 4 by 3,
725
+ widescreen: 16 by 9,
726
+ );
727
+
728
+ // 47. Reveal
427
729
  // ----------
428
730
 
429
731
  $reveal-background: $white;
430
732
  $reveal-width: 600px;
431
733
  $reveal-max-width: $global-width;
432
- $reveal-offset: rem-calc(100);
433
734
  $reveal-padding: $global-padding;
434
735
  $reveal-border: 1px solid $medium-gray;
435
736
  $reveal-radius: $global-radius;
436
737
  $reveal-zindex: 1005;
437
738
  $reveal-overlay-background: rgba($black, 0.45);
438
739
 
439
- // 28. Slider
740
+ // 48. Slider
440
741
  // ----------
441
742
 
743
+ $slider-width-vertical: 0.5rem;
744
+ $slider-transition: all 0.2s ease-in-out;
442
745
  $slider-height: 0.5rem;
443
- $slider-width-vertical: $slider-height;
444
746
  $slider-background: $light-gray;
445
747
  $slider-fill-background: $medium-gray;
446
748
  $slider-handle-height: 1.4rem;
@@ -448,9 +750,8 @@ $slider-handle-width: 1.4rem;
448
750
  $slider-handle-background: $primary-color;
449
751
  $slider-opacity-disabled: 0.25;
450
752
  $slider-radius: $global-radius;
451
- $slider-transition: all 0.2s ease-in-out;
452
753
 
453
- // 29. Switch
754
+ // 49. Switch
454
755
  // ----------
455
756
 
456
757
  $switch-background: $medium-gray;
@@ -466,7 +767,7 @@ $switch-paddle-offset: 0.25rem;
466
767
  $switch-paddle-radius: $global-radius;
467
768
  $switch-paddle-transition: all 0.25s ease-out;
468
769
 
469
- // 30. Table
770
+ // 50. Table
470
771
  // ---------
471
772
 
472
773
  $table-background: $white;
@@ -476,30 +777,36 @@ $table-padding: rem-calc(8 10 10);
476
777
  $table-hover-scale: 2%;
477
778
  $table-row-hover: darken($table-background, $table-hover-scale);
478
779
  $table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
780
+ $table-is-striped: true;
479
781
  $table-striped-background: smart-scale($table-background, $table-color-scale);
480
782
  $table-stripe: even;
481
783
  $table-head-background: smart-scale($table-background, $table-color-scale / 2);
784
+ $table-head-row-hover: darken($table-head-background, $table-hover-scale);
482
785
  $table-foot-background: smart-scale($table-background, $table-color-scale);
786
+ $table-foot-row-hover: darken($table-foot-background, $table-hover-scale);
483
787
  $table-head-font-color: $body-font-color;
788
+ $table-foot-font-color: $body-font-color;
484
789
  $show-header-for-stacked: false;
790
+ $table-stack-breakpoint: medium;
485
791
 
486
- // 31. Tabs
792
+ // 51. Tabs
487
793
  // --------
488
794
 
489
795
  $tab-margin: 0;
490
796
  $tab-background: $white;
797
+ $tab-color: $primary-color;
491
798
  $tab-background-active: $light-gray;
492
- $tab-border: $light-gray;
493
- $tab-item-color: foreground($tab-background, $primary-color);
799
+ $tab-active-color: $primary-color;
800
+ $tab-item-font-size: rem-calc(12);
494
801
  $tab-item-background-hover: $white;
495
802
  $tab-item-padding: 1.25rem 1.5rem;
496
803
  $tab-expand-max: 6;
497
804
  $tab-content-background: $white;
498
805
  $tab-content-border: $light-gray;
499
- $tab-content-color: foreground($tab-background, $primary-color);
806
+ $tab-content-color: $body-font-color;
500
807
  $tab-content-padding: 1rem;
501
808
 
502
- // 32. Thumbnail
809
+ // 52. Thumbnail
503
810
  // -------------
504
811
 
505
812
  $thumbnail-border: solid 4px $white;
@@ -509,23 +816,54 @@ $thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
509
816
  $thumbnail-transition: box-shadow 200ms ease-out;
510
817
  $thumbnail-radius: $global-radius;
511
818
 
512
- // 33. Tooltip
819
+ // 53. Title Bar
820
+ // -------------
821
+
822
+ $titlebar-background: $black;
823
+ $titlebar-color: $white;
824
+ $titlebar-padding: 0.5rem;
825
+ $titlebar-text-font-weight: bold;
826
+ $titlebar-icon-color: $white;
827
+ $titlebar-icon-color-hover: $medium-gray;
828
+ $titlebar-icon-spacing: 0.25rem;
829
+
830
+ // 54. Tooltip
513
831
  // -----------
514
832
 
833
+ $has-tip-cursor: help;
834
+ $has-tip-font-weight: $global-weight-bold;
835
+ $has-tip-border-bottom: dotted 1px $dark-gray;
515
836
  $tooltip-background-color: $black;
516
837
  $tooltip-color: $white;
517
838
  $tooltip-padding: 0.75rem;
839
+ $tooltip-max-width: 10rem;
518
840
  $tooltip-font-size: $small-font-size;
519
841
  $tooltip-pip-width: 0.75rem;
520
842
  $tooltip-pip-height: $tooltip-pip-width * 0.866;
521
- $tooltip-pip-offset: 1.25rem;
522
843
  $tooltip-radius: $global-radius;
523
844
 
524
- // 34. Top Bar
845
+ // 55. Top Bar
525
846
  // -----------
526
847
 
527
848
  $topbar-padding: 0.5rem;
528
- $topbar-background: #eee;
529
- $topbar-link-color: #fff;
849
+ $topbar-background: $light-gray;
850
+ $topbar-submenu-background: $topbar-background;
851
+ $topbar-title-spacing: 0.5rem 1rem 0.5rem 0;
530
852
  $topbar-input-width: 200px;
853
+ $topbar-unstack-breakpoint: medium;
854
+
855
+ // 56. Xy Grid
856
+ // -----------
857
+
858
+ $xy-grid: true;
859
+ $grid-container: $global-width;
860
+ $grid-columns: 12;
861
+ $grid-margin-gutters: (
862
+ small: 20px,
863
+ medium: 30px
864
+ );
865
+ $grid-padding-gutters: $grid-margin-gutters;
866
+ $grid-container-padding: $grid-padding-gutters;
867
+ $grid-container-max: $global-width;
868
+ $xy-block-grid-max: 8;
531
869