jekyll-theme-foundation 0.1.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 +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +48 -0
  4. data/_includes/google-analytics.html +8 -0
  5. data/_includes/head.html +17 -0
  6. data/_includes/scripts.html +4 -0
  7. data/_layouts/default.html +16 -0
  8. data/_layouts/home.html +5 -0
  9. data/_layouts/page.html +5 -0
  10. data/_layouts/post.html +5 -0
  11. data/_sass/_vendor/normalize-scss/sass/_normalize.scss +3 -0
  12. data/_sass/_vendor/normalize-scss/sass/normalize/_import-now.scss +11 -0
  13. data/_sass/_vendor/normalize-scss/sass/normalize/_normalize-mixin.scss +676 -0
  14. data/_sass/_vendor/normalize-scss/sass/normalize/_variables.scss +36 -0
  15. data/_sass/_vendor/normalize-scss/sass/normalize/_vertical-rhythm.scss +61 -0
  16. data/_sass/_vendor/sassy-lists/stylesheets/functions/_contain.scss +31 -0
  17. data/_sass/_vendor/sassy-lists/stylesheets/functions/_purge.scss +38 -0
  18. data/_sass/_vendor/sassy-lists/stylesheets/functions/_remove.scss +31 -0
  19. data/_sass/_vendor/sassy-lists/stylesheets/functions/_replace.scss +46 -0
  20. data/_sass/_vendor/sassy-lists/stylesheets/functions/_to-list.scss +27 -0
  21. data/_sass/_vendor/sassy-lists/stylesheets/helpers/_missing-dependencies.scss +25 -0
  22. data/_sass/_vendor/sassy-lists/stylesheets/helpers/_true.scss +13 -0
  23. data/_sass/assets/foundation-float.scss +5 -0
  24. data/_sass/assets/foundation-prototype.scss +3 -0
  25. data/_sass/assets/foundation-rtl.scss +5 -0
  26. data/_sass/assets/foundation.scss +3 -0
  27. data/_sass/jekyll-theme-foundation.scss +5 -0
  28. data/_sass/scss/_global.scss +249 -0
  29. data/_sass/scss/components/_accordion-menu.scss +171 -0
  30. data/_sass/scss/components/_accordion.scss +155 -0
  31. data/_sass/scss/components/_badge.scss +63 -0
  32. data/_sass/scss/components/_breadcrumbs.scss +117 -0
  33. data/_sass/scss/components/_button-group.scss +253 -0
  34. data/_sass/scss/components/_button.scss +385 -0
  35. data/_sass/scss/components/_callout.scss +106 -0
  36. data/_sass/scss/components/_card.scss +129 -0
  37. data/_sass/scss/components/_close-button.scss +102 -0
  38. data/_sass/scss/components/_drilldown.scss +142 -0
  39. data/_sass/scss/components/_dropdown-menu.scss +274 -0
  40. data/_sass/scss/components/_dropdown.scss +79 -0
  41. data/_sass/scss/components/_flex-video.scss +1 -0
  42. data/_sass/scss/components/_flex.scss +117 -0
  43. data/_sass/scss/components/_float.scss +27 -0
  44. data/_sass/scss/components/_label.scss +64 -0
  45. data/_sass/scss/components/_media-object.scss +114 -0
  46. data/_sass/scss/components/_menu-icon.scss +9 -0
  47. data/_sass/scss/components/_menu.scss +495 -0
  48. data/_sass/scss/components/_off-canvas.scss +506 -0
  49. data/_sass/scss/components/_orbit.scss +196 -0
  50. data/_sass/scss/components/_pagination.scss +193 -0
  51. data/_sass/scss/components/_progress-bar.scss +64 -0
  52. data/_sass/scss/components/_responsive-embed.scss +70 -0
  53. data/_sass/scss/components/_reveal.scss +180 -0
  54. data/_sass/scss/components/_slider.scss +137 -0
  55. data/_sass/scss/components/_sticky.scss +39 -0
  56. data/_sass/scss/components/_switch.scss +247 -0
  57. data/_sass/scss/components/_table.scss +330 -0
  58. data/_sass/scss/components/_tabs.scss +196 -0
  59. data/_sass/scss/components/_thumbnail.scss +67 -0
  60. data/_sass/scss/components/_title-bar.scss +84 -0
  61. data/_sass/scss/components/_tooltip.scss +160 -0
  62. data/_sass/scss/components/_top-bar.scss +175 -0
  63. data/_sass/scss/components/_visibility.scss +132 -0
  64. data/_sass/scss/forms/_checkbox.scss +41 -0
  65. data/_sass/scss/forms/_error.scss +88 -0
  66. data/_sass/scss/forms/_fieldset.scss +53 -0
  67. data/_sass/scss/forms/_forms.scss +34 -0
  68. data/_sass/scss/forms/_help-text.scss +30 -0
  69. data/_sass/scss/forms/_input-group.scss +142 -0
  70. data/_sass/scss/forms/_label.scss +50 -0
  71. data/_sass/scss/forms/_meter.scss +116 -0
  72. data/_sass/scss/forms/_progress.scss +94 -0
  73. data/_sass/scss/forms/_range.scss +149 -0
  74. data/_sass/scss/forms/_select.scss +86 -0
  75. data/_sass/scss/forms/_text.scss +179 -0
  76. data/_sass/scss/foundation.scss +133 -0
  77. data/_sass/scss/grid/_classes.scss +176 -0
  78. data/_sass/scss/grid/_column.scss +112 -0
  79. data/_sass/scss/grid/_flex-grid.scss +259 -0
  80. data/_sass/scss/grid/_grid.scss +48 -0
  81. data/_sass/scss/grid/_gutter.scss +82 -0
  82. data/_sass/scss/grid/_layout.scss +76 -0
  83. data/_sass/scss/grid/_position.scss +76 -0
  84. data/_sass/scss/grid/_row.scss +99 -0
  85. data/_sass/scss/grid/_size.scss +24 -0
  86. data/_sass/scss/prototype/_arrow.scss +36 -0
  87. data/_sass/scss/prototype/_border-box.scss +35 -0
  88. data/_sass/scss/prototype/_border-none.scss +35 -0
  89. data/_sass/scss/prototype/_bordered.scss +54 -0
  90. data/_sass/scss/prototype/_box.scss +23 -0
  91. data/_sass/scss/prototype/_display.scss +50 -0
  92. data/_sass/scss/prototype/_font-styling.scss +95 -0
  93. data/_sass/scss/prototype/_list-style-type.scss +95 -0
  94. data/_sass/scss/prototype/_overflow.scss +72 -0
  95. data/_sass/scss/prototype/_position.scss +114 -0
  96. data/_sass/scss/prototype/_prototype.scss +87 -0
  97. data/_sass/scss/prototype/_relation.scss +157 -0
  98. data/_sass/scss/prototype/_rotate.scss +31 -0
  99. data/_sass/scss/prototype/_rounded.scss +54 -0
  100. data/_sass/scss/prototype/_separator.scss +96 -0
  101. data/_sass/scss/prototype/_shadow.scss +43 -0
  102. data/_sass/scss/prototype/_sizing.scss +73 -0
  103. data/_sass/scss/prototype/_spacing.scss +204 -0
  104. data/_sass/scss/prototype/_text-decoration.scss +48 -0
  105. data/_sass/scss/prototype/_text-transformation.scss +48 -0
  106. data/_sass/scss/prototype/_text-utilities.scss +88 -0
  107. data/_sass/scss/settings/_settings.scss +869 -0
  108. data/_sass/scss/typography/_alignment.scss +22 -0
  109. data/_sass/scss/typography/_base.scss +509 -0
  110. data/_sass/scss/typography/_helpers.scss +80 -0
  111. data/_sass/scss/typography/_print.scss +86 -0
  112. data/_sass/scss/typography/_typography.scss +26 -0
  113. data/_sass/scss/util/_breakpoint.scss +348 -0
  114. data/_sass/scss/util/_color.scss +129 -0
  115. data/_sass/scss/util/_direction.scss +31 -0
  116. data/_sass/scss/util/_flex.scss +85 -0
  117. data/_sass/scss/util/_math.scss +72 -0
  118. data/_sass/scss/util/_mixins.scss +313 -0
  119. data/_sass/scss/util/_selector.scss +41 -0
  120. data/_sass/scss/util/_typography.scss +26 -0
  121. data/_sass/scss/util/_unit.scss +152 -0
  122. data/_sass/scss/util/_util.scss +14 -0
  123. data/_sass/scss/util/_value.scss +160 -0
  124. data/_sass/scss/xy-grid/_cell.scss +169 -0
  125. data/_sass/scss/xy-grid/_classes.scss +476 -0
  126. data/_sass/scss/xy-grid/_collapse.scss +74 -0
  127. data/_sass/scss/xy-grid/_frame.scss +85 -0
  128. data/_sass/scss/xy-grid/_grid.scss +35 -0
  129. data/_sass/scss/xy-grid/_gutters.scss +45 -0
  130. data/_sass/scss/xy-grid/_layout.scss +33 -0
  131. data/_sass/scss/xy-grid/_position.scss +28 -0
  132. data/_sass/scss/xy-grid/_xy-grid.scss +51 -0
  133. data/assets/css/main.scss +5 -0
  134. data/assets/css/motion-ui.min.css +1 -0
  135. data/assets/js/foundation.min.js +5 -0
  136. data/assets/js/motion-ui.min.js +1 -0
  137. metadata +235 -0
@@ -0,0 +1,869 @@
1
+ // Foundation for Sites Settings
2
+ // -----------------------------
3
+ //
4
+ // Table of Contents:
5
+ //
6
+ // 1. Global
7
+ // 2. Breakpoints
8
+ // 3. The Grid
9
+ // 4. Base Typography
10
+ // 5. Typography Helpers
11
+ // 6. Abide
12
+ // 7. Accordion
13
+ // 8. Accordion Menu
14
+ // 9. Badge
15
+ // 10. Breadcrumbs
16
+ // 11. Button
17
+ // 12. Button Group
18
+ // 13. Callout
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
62
+
63
+ @import 'util/util';
64
+
65
+ // 1. Global
66
+ // ---------
67
+
68
+ $global-font-size: 100%;
69
+ $global-width: rem-calc(1200);
70
+ $global-lineheight: 1.5;
71
+ $foundation-palette: (
72
+ primary: #1779ba,
73
+ secondary: #767676,
74
+ success: #3adb76,
75
+ warning: #ffae00,
76
+ alert: #cc4b37,
77
+ );
78
+ $light-gray: #e6e6e6;
79
+ $medium-gray: #cacaca;
80
+ $dark-gray: #8a8a8a;
81
+ $black: #0a0a0a;
82
+ $white: #fefefe;
83
+ $body-background: $white;
84
+ $body-font-color: $black;
85
+ $body-font-family: 'Helvetica Neue', Helvetica, Roboto, Arial, sans-serif;
86
+ $body-antialiased: true;
87
+ $global-margin: 1rem;
88
+ $global-padding: 1rem;
89
+ $global-position: 1rem;
90
+ $global-weight-normal: normal;
91
+ $global-weight-bold: bold;
92
+ $global-radius: 0;
93
+ $global-menu-padding: 0.7rem 1rem;
94
+ $global-menu-nested-margin: 1rem;
95
+ $global-text-direction: ltr;
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;
103
+
104
+ // 2. Breakpoints
105
+ // --------------
106
+
107
+ $breakpoints: (
108
+ small: 0,
109
+ medium: 640px,
110
+ large: 1024px,
111
+ xlarge: 1200px,
112
+ xxlarge: 1440px,
113
+ );
114
+ $print-breakpoint: large;
115
+ $breakpoint-classes: (small medium large);
116
+
117
+ // 3. The Grid
118
+ // -----------
119
+
120
+ $grid-row-width: $global-width;
121
+ $grid-column-count: 12;
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;
129
+
130
+ // 4. Base Typography
131
+ // ------------------
132
+
133
+ $header-font-family: $body-font-family;
134
+ $header-font-weight: $global-weight-normal;
135
+ $header-font-style: normal;
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: (
141
+ small: (
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),
148
+ ),
149
+ medium: (
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),
156
+ ),
157
+ );
158
+ $header-text-rendering: optimizeLegibility;
159
+ $small-font-size: 80%;
160
+ $header-small-font-color: $medium-gray;
161
+ $paragraph-lineheight: 1.6;
162
+ $paragraph-margin-bottom: 1rem;
163
+ $paragraph-text-rendering: optimizeLegibility;
164
+ $code-color: $black;
165
+ $code-font-family: $font-family-monospace;
166
+ $code-font-weight: $global-weight-normal;
167
+ $code-background: $light-gray;
168
+ $code-border: 1px solid $medium-gray;
169
+ $code-padding: rem-calc(2 5 1);
170
+ $anchor-color: $primary-color;
171
+ $anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
172
+ $anchor-text-decoration: none;
173
+ $anchor-text-decoration-hover: none;
174
+ $hr-width: $global-width;
175
+ $hr-border: 1px solid $medium-gray;
176
+ $hr-margin: rem-calc(20) auto;
177
+ $list-lineheight: $paragraph-lineheight;
178
+ $list-margin-bottom: $paragraph-margin-bottom;
179
+ $list-style-type: disc;
180
+ $list-style-position: outside;
181
+ $list-side-margin: 1.25rem;
182
+ $list-nested-side-margin: 1.25rem;
183
+ $defnlist-margin-bottom: 1rem;
184
+ $defnlist-term-weight: $global-weight-bold;
185
+ $defnlist-term-margin-bottom: 0.3rem;
186
+ $blockquote-color: $dark-gray;
187
+ $blockquote-padding: rem-calc(9 20 0 19);
188
+ $blockquote-border: 1px solid $medium-gray;
189
+ $cite-font-size: rem-calc(13);
190
+ $cite-color: $dark-gray;
191
+ $cite-pseudo-content: '\2014 \0020';
192
+ $keystroke-font: $font-family-monospace;
193
+ $keystroke-color: $black;
194
+ $keystroke-background: $light-gray;
195
+ $keystroke-padding: rem-calc(2 4 0);
196
+ $keystroke-radius: $global-radius;
197
+ $abbr-underline: 1px dotted $black;
198
+
199
+ // 5. Typography Helpers
200
+ // ---------------------
201
+
202
+ $lead-font-size: $global-font-size * 1.25;
203
+ $lead-lineheight: 1.6;
204
+ $subheader-lineheight: 1.4;
205
+ $subheader-color: $dark-gray;
206
+ $subheader-font-weight: $global-weight-normal;
207
+ $subheader-margin-top: 0.2rem;
208
+ $subheader-margin-bottom: 0.5rem;
209
+ $stat-font-size: 2.5rem;
210
+
211
+ // 6. Abide
212
+ // --------
213
+
214
+ $abide-inputs: true;
215
+ $abide-labels: true;
216
+ $input-background-invalid: get-color(alert);
217
+ $form-label-color-invalid: get-color(alert);
218
+ $input-error-color: get-color(alert);
219
+ $input-error-font-size: rem-calc(12);
220
+ $input-error-font-weight: $global-weight-bold;
221
+
222
+ // 7. Accordion
223
+ // ------------
224
+
225
+ $accordion-background: $white;
226
+ $accordion-plusminus: true;
227
+ $accordion-title-font-size: rem-calc(12);
228
+ $accordion-item-color: $primary-color;
229
+ $accordion-item-background-hover: $light-gray;
230
+ $accordion-item-padding: 1.25rem 1rem;
231
+ $accordion-content-background: $white;
232
+ $accordion-content-border: 1px solid $light-gray;
233
+ $accordion-content-color: $body-font-color;
234
+ $accordion-content-padding: 1rem;
235
+
236
+ // 8. Accordion Menu
237
+ // -----------------
238
+
239
+ $accordionmenu-padding: $global-menu-padding;
240
+ $accordionmenu-nested-margin: $global-menu-nested-margin;
241
+ $accordionmenu-submenu-padding: $accordionmenu-padding;
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;
251
+
252
+ // 9. Badge
253
+ // --------
254
+
255
+ $badge-background: $primary-color;
256
+ $badge-color: $white;
257
+ $badge-color-alt: $black;
258
+ $badge-palette: $foundation-palette;
259
+ $badge-padding: 0.3em;
260
+ $badge-minwidth: 2.1em;
261
+ $badge-font-size: 0.6rem;
262
+
263
+ // 10. Breadcrumbs
264
+ // ---------------
265
+
266
+ $breadcrumbs-margin: 0 0 $global-margin 0;
267
+ $breadcrumbs-item-font-size: rem-calc(11);
268
+ $breadcrumbs-item-color: $primary-color;
269
+ $breadcrumbs-item-color-current: $black;
270
+ $breadcrumbs-item-color-disabled: $medium-gray;
271
+ $breadcrumbs-item-margin: 0.75rem;
272
+ $breadcrumbs-item-uppercase: true;
273
+ $breadcrumbs-item-separator: true;
274
+ $breadcrumbs-item-separator-item: '/';
275
+ $breadcrumbs-item-separator-item-rtl: '\\';
276
+ $breadcrumbs-item-separator-color: $medium-gray;
277
+
278
+ // 11. Button
279
+ // ----------
280
+
281
+ $button-font-family: inherit;
282
+ $button-padding: 0.85em 1em;
283
+ $button-margin: 0 0 $global-margin 0;
284
+ $button-fill: solid;
285
+ $button-background: $primary-color;
286
+ $button-background-hover: scale-color($button-background, $lightness: -15%);
287
+ $button-color: $white;
288
+ $button-color-alt: $black;
289
+ $button-radius: $global-radius;
290
+ $button-hollow-border-width: 1px;
291
+ $button-sizes: (
292
+ tiny: 0.6rem,
293
+ small: 0.75rem,
294
+ default: 0.9rem,
295
+ large: 1.25rem,
296
+ );
297
+ $button-palette: $foundation-palette;
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;
302
+
303
+ // 12. Button Group
304
+ // ----------------
305
+
306
+ $buttongroup-margin: 1rem;
307
+ $buttongroup-spacing: 1px;
308
+ $buttongroup-child-selector: '.button';
309
+ $buttongroup-expand-max: 6;
310
+ $buttongroup-radius-on-each: true;
311
+
312
+ // 13. Callout
313
+ // -----------
314
+
315
+ $callout-background: $white;
316
+ $callout-background-fade: 85%;
317
+ $callout-border: 1px solid rgba($black, 0.25);
318
+ $callout-margin: 0 0 1rem 0;
319
+ $callout-padding: 1rem;
320
+ $callout-font-color: $body-font-color;
321
+ $callout-font-color-alt: $body-background;
322
+ $callout-radius: $global-radius;
323
+ $callout-link-tint: 30%;
324
+
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
338
+ // ----------------
339
+
340
+ $closebutton-position: right top;
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
+ );
353
+ $closebutton-lineheight: 1;
354
+ $closebutton-color: $dark-gray;
355
+ $closebutton-color-hover: $black;
356
+
357
+ // 16. Drilldown
358
+ // -------------
359
+
360
+ $drilldown-transition: transform 0.15s linear;
361
+ $drilldown-arrows: true;
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
371
+ // ------------
372
+
373
+ $dropdown-padding: 1rem;
374
+ $dropdown-background: $body-background;
375
+ $dropdown-border: 1px solid $medium-gray;
376
+ $dropdown-font-size: 1rem;
377
+ $dropdown-width: 300px;
378
+ $dropdown-radius: $global-radius;
379
+ $dropdown-sizes: (
380
+ tiny: 100px,
381
+ small: 200px,
382
+ large: 400px,
383
+ );
384
+
385
+ // 18. Dropdown Menu
386
+ // -----------------
387
+
388
+ $dropdownmenu-arrows: true;
389
+ $dropdownmenu-arrow-color: $anchor-color;
390
+ $dropdownmenu-arrow-size: 6px;
391
+ $dropdownmenu-arrow-padding: 1.5rem;
392
+ $dropdownmenu-min-width: 200px;
393
+ $dropdownmenu-background: $white;
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
+ // ---------------------
404
+
405
+ $flex-source-ordering-count: 6;
406
+ $flexbox-responsive-breakpoints: true;
407
+
408
+ // 20. Forms
409
+ // ---------
410
+
411
+ $fieldset-border: 1px solid $medium-gray;
412
+ $fieldset-padding: rem-calc(20);
413
+ $fieldset-margin: rem-calc(18 0);
414
+ $legend-padding: rem-calc(0 3);
415
+ $form-spacing: rem-calc(16);
416
+ $helptext-color: $black;
417
+ $helptext-font-size: rem-calc(13);
418
+ $helptext-font-style: italic;
419
+ $input-prefix-color: $black;
420
+ $input-prefix-background: $light-gray;
421
+ $input-prefix-border: 1px solid $medium-gray;
422
+ $input-prefix-padding: 1rem;
423
+ $form-label-color: $black;
424
+ $form-label-font-size: rem-calc(14);
425
+ $form-label-font-weight: $global-weight-normal;
426
+ $form-label-line-height: 1.8;
427
+ $select-background: $white;
428
+ $select-triangle-color: $dark-gray;
429
+ $select-radius: $global-radius;
430
+ $input-color: $black;
431
+ $input-placeholder-color: $medium-gray;
432
+ $input-font-family: inherit;
433
+ $input-font-size: rem-calc(16);
434
+ $input-font-weight: $global-weight-normal;
435
+ $input-line-height: $global-lineheight;
436
+ $input-background: $white;
437
+ $input-background-focus: $white;
438
+ $input-background-disabled: $light-gray;
439
+ $input-border: 1px solid $medium-gray;
440
+ $input-border-focus: 1px solid $dark-gray;
441
+ $input-padding: $form-spacing / 2;
442
+ $input-shadow: inset 0 1px 2px rgba($black, 0.1);
443
+ $input-shadow-focus: 0 0 5px $medium-gray;
444
+ $input-cursor-disabled: not-allowed;
445
+ $input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
446
+ $input-number-spinners: true;
447
+ $input-radius: $global-radius;
448
+ $form-button-radius: $global-radius;
449
+
450
+ // 21. Label
451
+ // ---------
452
+
453
+ $label-background: $primary-color;
454
+ $label-color: $white;
455
+ $label-color-alt: $black;
456
+ $label-palette: $foundation-palette;
457
+ $label-font-size: 0.8rem;
458
+ $label-padding: 0.33333rem 0.5rem;
459
+ $label-radius: $global-radius;
460
+
461
+ // 22. Media Object
462
+ // ----------------
463
+
464
+ $mediaobject-margin-bottom: $global-margin;
465
+ $mediaobject-section-padding: $global-padding;
466
+ $mediaobject-image-width-stacked: 100%;
467
+
468
+ // 23. Menu
469
+ // --------
470
+
471
+ $menu-margin: 0;
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);
477
+ $menu-icon-spacing: 0.25rem;
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
+ // ---------
485
+
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
494
+ // --------------
495
+
496
+ $offcanvas-sizes: (
497
+ small: 250px,
498
+ );
499
+ $offcanvas-vertical-sizes: (
500
+ small: 250px,
501
+ );
502
+ $offcanvas-background: $light-gray;
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;
510
+ $offcanvas-transition-length: 0.5s;
511
+ $offcanvas-transition-timing: ease;
512
+ $offcanvas-fixed-reveal: true;
513
+ $offcanvas-exit-background: rgba($white, 0.25);
514
+ $maincontent-class: 'off-canvas-content';
515
+
516
+ // 26. Orbit
517
+ // ---------
518
+
519
+ $orbit-bullet-background: $medium-gray;
520
+ $orbit-bullet-background-active: $dark-gray;
521
+ $orbit-bullet-diameter: 1.2rem;
522
+ $orbit-bullet-margin: 0.1rem;
523
+ $orbit-bullet-margin-top: 0.8rem;
524
+ $orbit-bullet-margin-bottom: 0.8rem;
525
+ $orbit-caption-background: rgba($black, 0.5);
526
+ $orbit-caption-padding: 1rem;
527
+ $orbit-control-background-hover: rgba($black, 0.5);
528
+ $orbit-control-padding: 1rem;
529
+ $orbit-control-zindex: 10;
530
+
531
+ // 27. Pagination
532
+ // --------------
533
+
534
+ $pagination-font-size: rem-calc(14);
535
+ $pagination-margin-bottom: $global-margin;
536
+ $pagination-item-color: $black;
537
+ $pagination-item-padding: rem-calc(3 10);
538
+ $pagination-item-spacing: rem-calc(1);
539
+ $pagination-radius: $global-radius;
540
+ $pagination-item-background-hover: $light-gray;
541
+ $pagination-item-background-current: $primary-color;
542
+ $pagination-item-color-current: $white;
543
+ $pagination-item-color-disabled: $medium-gray;
544
+ $pagination-ellipsis-color: $black;
545
+ $pagination-mobile-items: false;
546
+ $pagination-mobile-current-item: false;
547
+ $pagination-arrows: true;
548
+
549
+ // 28. Progress Bar
550
+ // ----------------
551
+
552
+ $progress-height: 1rem;
553
+ $progress-background: $medium-gray;
554
+ $progress-margin-bottom: $global-margin;
555
+ $progress-meter-background: $primary-color;
556
+ $progress-radius: $global-radius;
557
+
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
729
+ // ----------
730
+
731
+ $reveal-background: $white;
732
+ $reveal-width: 600px;
733
+ $reveal-max-width: $global-width;
734
+ $reveal-padding: $global-padding;
735
+ $reveal-border: 1px solid $medium-gray;
736
+ $reveal-radius: $global-radius;
737
+ $reveal-zindex: 1005;
738
+ $reveal-overlay-background: rgba($black, 0.45);
739
+
740
+ // 48. Slider
741
+ // ----------
742
+
743
+ $slider-width-vertical: 0.5rem;
744
+ $slider-transition: all 0.2s ease-in-out;
745
+ $slider-height: 0.5rem;
746
+ $slider-background: $light-gray;
747
+ $slider-fill-background: $medium-gray;
748
+ $slider-handle-height: 1.4rem;
749
+ $slider-handle-width: 1.4rem;
750
+ $slider-handle-background: $primary-color;
751
+ $slider-opacity-disabled: 0.25;
752
+ $slider-radius: $global-radius;
753
+
754
+ // 49. Switch
755
+ // ----------
756
+
757
+ $switch-background: $medium-gray;
758
+ $switch-background-active: $primary-color;
759
+ $switch-height: 2rem;
760
+ $switch-height-tiny: 1.5rem;
761
+ $switch-height-small: 1.75rem;
762
+ $switch-height-large: 2.5rem;
763
+ $switch-radius: $global-radius;
764
+ $switch-margin: $global-margin;
765
+ $switch-paddle-background: $white;
766
+ $switch-paddle-offset: 0.25rem;
767
+ $switch-paddle-radius: $global-radius;
768
+ $switch-paddle-transition: all 0.25s ease-out;
769
+
770
+ // 50. Table
771
+ // ---------
772
+
773
+ $table-background: $white;
774
+ $table-color-scale: 5%;
775
+ $table-border: 1px solid smart-scale($table-background, $table-color-scale);
776
+ $table-padding: rem-calc(8 10 10);
777
+ $table-hover-scale: 2%;
778
+ $table-row-hover: darken($table-background, $table-hover-scale);
779
+ $table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
780
+ $table-is-striped: true;
781
+ $table-striped-background: smart-scale($table-background, $table-color-scale);
782
+ $table-stripe: even;
783
+ $table-head-background: smart-scale($table-background, $table-color-scale / 2);
784
+ $table-head-row-hover: darken($table-head-background, $table-hover-scale);
785
+ $table-foot-background: smart-scale($table-background, $table-color-scale);
786
+ $table-foot-row-hover: darken($table-foot-background, $table-hover-scale);
787
+ $table-head-font-color: $body-font-color;
788
+ $table-foot-font-color: $body-font-color;
789
+ $show-header-for-stacked: false;
790
+ $table-stack-breakpoint: medium;
791
+
792
+ // 51. Tabs
793
+ // --------
794
+
795
+ $tab-margin: 0;
796
+ $tab-background: $white;
797
+ $tab-color: $primary-color;
798
+ $tab-background-active: $light-gray;
799
+ $tab-active-color: $primary-color;
800
+ $tab-item-font-size: rem-calc(12);
801
+ $tab-item-background-hover: $white;
802
+ $tab-item-padding: 1.25rem 1.5rem;
803
+ $tab-expand-max: 6;
804
+ $tab-content-background: $white;
805
+ $tab-content-border: $light-gray;
806
+ $tab-content-color: $body-font-color;
807
+ $tab-content-padding: 1rem;
808
+
809
+ // 52. Thumbnail
810
+ // -------------
811
+
812
+ $thumbnail-border: solid 4px $white;
813
+ $thumbnail-margin-bottom: $global-margin;
814
+ $thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
815
+ $thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
816
+ $thumbnail-transition: box-shadow 200ms ease-out;
817
+ $thumbnail-radius: $global-radius;
818
+
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
831
+ // -----------
832
+
833
+ $has-tip-cursor: help;
834
+ $has-tip-font-weight: $global-weight-bold;
835
+ $has-tip-border-bottom: dotted 1px $dark-gray;
836
+ $tooltip-background-color: $black;
837
+ $tooltip-color: $white;
838
+ $tooltip-padding: 0.75rem;
839
+ $tooltip-max-width: 10rem;
840
+ $tooltip-font-size: $small-font-size;
841
+ $tooltip-pip-width: 0.75rem;
842
+ $tooltip-pip-height: $tooltip-pip-width * 0.866;
843
+ $tooltip-radius: $global-radius;
844
+
845
+ // 55. Top Bar
846
+ // -----------
847
+
848
+ $topbar-padding: 0.5rem;
849
+ $topbar-background: $light-gray;
850
+ $topbar-submenu-background: $topbar-background;
851
+ $topbar-title-spacing: 0.5rem 1rem 0.5rem 0;
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;
869
+