locomotivecms_wagon 2.2.0.beta1 → 2.2.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (219) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -1
  3. data/generators/blank/config/metafields_schema.yml +1 -1
  4. data/generators/bootstrap/config/metafields_schema.yml +1 -1
  5. data/generators/{foundation5 → foundation}/Gemfile.tt +1 -1
  6. data/generators/{foundation5 → foundation}/Guardfile +0 -0
  7. data/generators/foundation/app/content_types/.gitkeep +0 -0
  8. data/generators/foundation/app/views/pages/404.liquid +11 -0
  9. data/generators/{foundation5 → foundation}/app/views/pages/404.liquid.haml +4 -3
  10. data/generators/{foundation5 → foundation}/app/views/pages/index.liquid +54 -78
  11. data/generators/foundation/app/views/pages/index.liquid.haml +144 -0
  12. data/generators/foundation/app/views/snippets/.gitkeep +0 -0
  13. data/generators/{foundation5 → foundation}/config/deploy.yml +2 -1
  14. data/generators/{foundation5 → foundation}/config/metafields_schema.yml +1 -1
  15. data/generators/{foundation5/config/site.yml.tt → foundation/config/site.yml} +2 -2
  16. data/generators/{foundation5 → foundation}/config/translations.yml +0 -0
  17. data/generators/foundation/data/.gitkeep +0 -0
  18. data/generators/foundation/log/.gitkeep +0 -0
  19. data/generators/foundation/public/images/.gitkeep +0 -0
  20. data/generators/foundation/public/javascripts/app.js +1 -0
  21. data/generators/foundation/public/javascripts/vendor/foundation.js +7472 -0
  22. data/generators/foundation/public/javascripts/vendor/foundation.min.js +3 -0
  23. data/generators/foundation/public/javascripts/vendor/what-input.js +212 -0
  24. data/generators/foundation/public/javascripts/vendor/what-input.min.js +1 -0
  25. data/generators/foundation/public/stylesheets/_settings.scss +529 -0
  26. data/generators/foundation/public/stylesheets/app.css +3 -0
  27. data/generators/foundation/public/stylesheets/app.scss +43 -0
  28. data/generators/foundation/public/stylesheets/foundation.css +3499 -0
  29. data/generators/foundation/public/stylesheets/foundation6/_global.scss +197 -0
  30. data/generators/foundation/public/stylesheets/foundation6/components/_accordion-menu.scss +28 -0
  31. data/generators/foundation/public/stylesheets/foundation6/components/_accordion.scss +112 -0
  32. data/generators/foundation/public/stylesheets/foundation6/components/_badge.scss +55 -0
  33. data/generators/foundation/public/stylesheets/foundation6/components/_breadcrumbs.scss +94 -0
  34. data/generators/foundation/public/stylesheets/foundation6/components/_button-group.scss +115 -0
  35. data/generators/foundation/public/stylesheets/foundation6/components/_button.scss +264 -0
  36. data/generators/foundation/public/stylesheets/foundation6/components/_callout.scss +115 -0
  37. data/generators/foundation/public/stylesheets/foundation6/components/_close-button.scss +61 -0
  38. data/generators/foundation/public/stylesheets/foundation6/components/_drilldown.scss +67 -0
  39. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown-menu.scss +123 -0
  40. data/generators/foundation/public/stylesheets/foundation6/components/_dropdown.scss +64 -0
  41. data/generators/foundation/public/stylesheets/foundation6/components/_flex-video.scss +68 -0
  42. data/generators/foundation/public/stylesheets/foundation6/components/_float.scss +27 -0
  43. data/generators/foundation/public/stylesheets/foundation6/components/_label.scss +56 -0
  44. data/generators/foundation/public/stylesheets/foundation6/components/_media-object.scss +74 -0
  45. data/generators/foundation/public/stylesheets/foundation6/components/_menu.scss +213 -0
  46. data/generators/foundation/public/stylesheets/foundation6/components/_off-canvas.scss +170 -0
  47. data/generators/foundation/public/stylesheets/foundation6/components/_orbit.scss +186 -0
  48. data/generators/foundation/public/stylesheets/foundation6/components/_pagination.scss +161 -0
  49. data/generators/foundation/public/stylesheets/foundation6/components/_progress-bar.scss +83 -0
  50. data/generators/foundation/public/stylesheets/foundation6/components/_reveal.scss +155 -0
  51. data/generators/foundation/public/stylesheets/foundation6/components/_slider.scss +158 -0
  52. data/generators/foundation/public/stylesheets/foundation6/components/_sticky.scss +38 -0
  53. data/generators/foundation/public/stylesheets/foundation6/components/_switch.scss +231 -0
  54. data/generators/foundation/public/stylesheets/foundation6/components/_table.scss +212 -0
  55. data/generators/foundation/public/stylesheets/foundation6/components/_tabs.scss +137 -0
  56. data/generators/foundation/public/stylesheets/foundation6/components/_thumbnail.scss +54 -0
  57. data/generators/foundation/public/stylesheets/foundation6/components/_title-bar.scss +44 -0
  58. data/generators/foundation/public/stylesheets/foundation6/components/_tooltip.scss +110 -0
  59. data/generators/foundation/public/stylesheets/foundation6/components/_top-bar.scss +57 -0
  60. data/generators/foundation/public/stylesheets/foundation6/components/_visibility.scss +131 -0
  61. data/generators/foundation/public/stylesheets/foundation6/forms/_checkbox.scss +36 -0
  62. data/generators/foundation/public/stylesheets/foundation6/forms/_error.scss +81 -0
  63. data/generators/foundation/public/stylesheets/foundation6/forms/_fieldset.scss +53 -0
  64. data/generators/foundation/public/stylesheets/foundation6/forms/_forms.scss +32 -0
  65. data/generators/foundation/public/stylesheets/foundation6/forms/_help-text.scss +30 -0
  66. data/generators/foundation/public/stylesheets/foundation6/forms/_input-group.scss +70 -0
  67. data/generators/foundation/public/stylesheets/foundation6/forms/_label.scss +48 -0
  68. data/generators/foundation/public/stylesheets/foundation6/forms/_select.scss +64 -0
  69. data/generators/foundation/public/stylesheets/foundation6/forms/_text.scss +153 -0
  70. data/generators/foundation/public/stylesheets/foundation6/foundation.scss +91 -0
  71. data/generators/foundation/public/stylesheets/foundation6/grid/_classes.scss +132 -0
  72. data/generators/foundation/public/stylesheets/foundation6/grid/_column.scss +112 -0
  73. data/generators/foundation/public/stylesheets/foundation6/grid/_flex-grid.scss +191 -0
  74. data/generators/foundation/public/stylesheets/foundation6/grid/_grid.scss +33 -0
  75. data/generators/foundation/public/stylesheets/foundation6/grid/_gutter.scss +31 -0
  76. data/generators/foundation/public/stylesheets/foundation6/grid/_layout.scss +32 -0
  77. data/generators/foundation/public/stylesheets/foundation6/grid/_position.scss +71 -0
  78. data/generators/foundation/public/stylesheets/foundation6/grid/_row.scss +72 -0
  79. data/generators/foundation/public/stylesheets/foundation6/grid/_size.scss +24 -0
  80. data/generators/foundation/public/stylesheets/foundation6/motion-ui/_classes.scss +102 -0
  81. data/generators/foundation/public/stylesheets/foundation6/motion-ui/_settings.scss +61 -0
  82. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_fade.scss +29 -0
  83. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_hinge.scss +65 -0
  84. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_shake.scss +15 -0
  85. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_slide.scss +41 -0
  86. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_spin.scss +28 -0
  87. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_wiggle.scss +13 -0
  88. data/generators/foundation/public/stylesheets/foundation6/motion-ui/effects/_zoom.scss +15 -0
  89. data/generators/foundation/public/stylesheets/foundation6/motion-ui/motion-ui.scss +29 -0
  90. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_fade.scss +28 -0
  91. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_hinge.scss +43 -0
  92. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_slide.scss +42 -0
  93. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_spin.scss +39 -0
  94. data/generators/foundation/public/stylesheets/foundation6/motion-ui/transitions/_zoom.scss +39 -0
  95. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_animation.scss +7 -0
  96. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_args.scss +15 -0
  97. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_keyframe.scss +136 -0
  98. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_selector.scss +23 -0
  99. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_series.scss +54 -0
  100. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_transition.scss +45 -0
  101. data/generators/foundation/public/stylesheets/foundation6/motion-ui/util/_unit.scss +7 -0
  102. data/generators/foundation/public/stylesheets/foundation6/motion-ui.scss +4 -0
  103. data/generators/foundation/public/stylesheets/foundation6/settings/_settings.scss +531 -0
  104. data/generators/foundation/public/stylesheets/foundation6/typography/_alignment.scss +21 -0
  105. data/generators/foundation/public/stylesheets/foundation6/typography/_base.scss +436 -0
  106. data/generators/foundation/public/stylesheets/foundation6/typography/_helpers.scss +77 -0
  107. data/generators/foundation/public/stylesheets/foundation6/typography/_print.scss +73 -0
  108. data/generators/foundation/public/stylesheets/foundation6/typography/_typography.scss +28 -0
  109. data/generators/foundation/public/stylesheets/foundation6/util/_breakpoint.scss +182 -0
  110. data/generators/foundation/public/stylesheets/foundation6/util/_color.scss +41 -0
  111. data/generators/foundation/public/stylesheets/foundation6/util/_mixins.scss +190 -0
  112. data/generators/foundation/public/stylesheets/foundation6/util/_selector.scss +39 -0
  113. data/generators/foundation/public/stylesheets/foundation6/util/_unit.scss +69 -0
  114. data/generators/foundation/public/stylesheets/foundation6/util/_util.scss +15 -0
  115. data/generators/foundation/public/stylesheets/foundation6/util/_value.scss +117 -0
  116. data/generators/{foundation5/public/stylesheets/normalize.css.scss → foundation/public/stylesheets/foundation6/vendor/normalize.scss} +8 -11
  117. data/generators/site_metafields/schema.yml.tt +1 -1
  118. data/lib/locomotive/wagon/commands/push_command.rb +1 -0
  119. data/lib/locomotive/wagon/commands/serve_command.rb +1 -0
  120. data/lib/locomotive/wagon/decorators/concerns/persist_assets_concern.rb +3 -3
  121. data/lib/locomotive/wagon/decorators/content_type_decorator.rb +5 -1
  122. data/lib/locomotive/wagon/generators/site/{foundation5.rb → foundation.rb} +8 -12
  123. data/lib/locomotive/wagon/generators/site.rb +1 -1
  124. data/lib/locomotive/wagon/version.rb +1 -1
  125. data/locomotivecms_wagon.gemspec +3 -2
  126. data/spec/fixtures/cassettes/authenticate.yml +38 -38
  127. data/spec/fixtures/cassettes/delete.yml +211 -211
  128. data/spec/fixtures/cassettes/push.yml +1333 -1374
  129. data/spec/integration/cli_spec.rb +1 -1
  130. data/spec/unit/decorators/content_entry_decorator_spec.rb +23 -0
  131. metadata +133 -104
  132. data/generators/foundation5/app/content_types/.empty_directory +0 -1
  133. data/generators/foundation5/app/views/pages/404.liquid +0 -10
  134. data/generators/foundation5/app/views/pages/index.liquid.haml +0 -157
  135. data/generators/foundation5/data/.empty_directory +0 -1
  136. data/generators/foundation5/icon.png +0 -0
  137. data/generators/foundation5/public/fonts/.empty_directory +0 -1
  138. data/generators/foundation5/public/images/.empty_directory +0 -1
  139. data/generators/foundation5/public/javascripts/foundation/foundation.abide.js +0 -299
  140. data/generators/foundation5/public/javascripts/foundation/foundation.accordion.js +0 -59
  141. data/generators/foundation5/public/javascripts/foundation/foundation.alert.js +0 -43
  142. data/generators/foundation5/public/javascripts/foundation/foundation.clearing.js +0 -534
  143. data/generators/foundation5/public/javascripts/foundation/foundation.dropdown.js +0 -311
  144. data/generators/foundation5/public/javascripts/foundation/foundation.equalizer.js +0 -74
  145. data/generators/foundation5/public/javascripts/foundation/foundation.interchange.js +0 -331
  146. data/generators/foundation5/public/javascripts/foundation/foundation.joyride.js +0 -843
  147. data/generators/foundation5/public/javascripts/foundation/foundation.js +0 -611
  148. data/generators/foundation5/public/javascripts/foundation/foundation.magellan.js +0 -178
  149. data/generators/foundation5/public/javascripts/foundation/foundation.offcanvas.js +0 -108
  150. data/generators/foundation5/public/javascripts/foundation/foundation.orbit.js +0 -610
  151. data/generators/foundation5/public/javascripts/foundation/foundation.reveal.js +0 -437
  152. data/generators/foundation5/public/javascripts/foundation/foundation.slider.js +0 -199
  153. data/generators/foundation5/public/javascripts/foundation/foundation.tab.js +0 -167
  154. data/generators/foundation5/public/javascripts/foundation/foundation.tooltip.js +0 -298
  155. data/generators/foundation5/public/javascripts/foundation/foundation.topbar.js +0 -425
  156. data/generators/foundation5/public/javascripts/foundation.js +0 -4161
  157. data/generators/foundation5/public/javascripts/foundation.min.js +0 -10
  158. data/generators/foundation5/public/javascripts/vendor/custom.modernizr.js +0 -4
  159. data/generators/foundation5/public/javascripts/vendor/custom.modernizr.min.js +0 -1
  160. data/generators/foundation5/public/javascripts/vendor/fastclick.js +0 -9
  161. data/generators/foundation5/public/javascripts/vendor/fastclick.min.js +0 -11
  162. data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.js +0 -645
  163. data/generators/foundation5/public/javascripts/vendor/jquery.autocomplete.min.js +0 -1
  164. data/generators/foundation5/public/javascripts/vendor/jquery.cookie.js +0 -8
  165. data/generators/foundation5/public/javascripts/vendor/jquery.cookie.min.js +0 -8
  166. data/generators/foundation5/public/javascripts/vendor/jquery.js +0 -26
  167. data/generators/foundation5/public/javascripts/vendor/jquery.min.js +0 -27
  168. data/generators/foundation5/public/javascripts/vendor/modernizr.js +0 -8
  169. data/generators/foundation5/public/javascripts/vendor/modernizr.min.js +0 -1
  170. data/generators/foundation5/public/javascripts/vendor/placeholder.js +0 -2
  171. data/generators/foundation5/public/javascripts/vendor/placeholder.min.js +0 -1
  172. data/generators/foundation5/public/samples/.empty_directory +0 -1
  173. data/generators/foundation5/public/stylesheets/application.css +0 -2
  174. data/generators/foundation5/public/stylesheets/application.css.scss +0 -3
  175. data/generators/foundation5/public/stylesheets/foundation/_functions.scss +0 -102
  176. data/generators/foundation5/public/stylesheets/foundation/_settings.scss +0 -1441
  177. data/generators/foundation5/public/stylesheets/foundation/components/_accordion.scss +0 -157
  178. data/generators/foundation5/public/stylesheets/foundation/components/_alert-boxes.scss +0 -128
  179. data/generators/foundation5/public/stylesheets/foundation/components/_block-grid.scss +0 -132
  180. data/generators/foundation5/public/stylesheets/foundation/components/_breadcrumbs.scss +0 -132
  181. data/generators/foundation5/public/stylesheets/foundation/components/_button-groups.scss +0 -197
  182. data/generators/foundation5/public/stylesheets/foundation/components/_buttons.scss +0 -259
  183. data/generators/foundation5/public/stylesheets/foundation/components/_clearing.scss +0 -247
  184. data/generators/foundation5/public/stylesheets/foundation/components/_dropdown-buttons.scss +0 -130
  185. data/generators/foundation5/public/stylesheets/foundation/components/_dropdown.scss +0 -262
  186. data/generators/foundation5/public/stylesheets/foundation/components/_flex-video.scss +0 -51
  187. data/generators/foundation5/public/stylesheets/foundation/components/_forms.scss +0 -585
  188. data/generators/foundation5/public/stylesheets/foundation/components/_global.scss +0 -460
  189. data/generators/foundation5/public/stylesheets/foundation/components/_grid.scss +0 -275
  190. data/generators/foundation5/public/stylesheets/foundation/components/_icon-bar.scss +0 -293
  191. data/generators/foundation5/public/stylesheets/foundation/components/_inline-lists.scss +0 -57
  192. data/generators/foundation5/public/stylesheets/foundation/components/_joyride.scss +0 -222
  193. data/generators/foundation5/public/stylesheets/foundation/components/_keystrokes.scss +0 -61
  194. data/generators/foundation5/public/stylesheets/foundation/components/_labels.scss +0 -106
  195. data/generators/foundation5/public/stylesheets/foundation/components/_magellan.scss +0 -34
  196. data/generators/foundation5/public/stylesheets/foundation/components/_offcanvas.scss +0 -513
  197. data/generators/foundation5/public/stylesheets/foundation/components/_orbit.scss +0 -368
  198. data/generators/foundation5/public/stylesheets/foundation/components/_pagination.scss +0 -162
  199. data/generators/foundation5/public/stylesheets/foundation/components/_panels.scss +0 -95
  200. data/generators/foundation5/public/stylesheets/foundation/components/_pricing-tables.scss +0 -150
  201. data/generators/foundation5/public/stylesheets/foundation/components/_progress-bars.scss +0 -79
  202. data/generators/foundation5/public/stylesheets/foundation/components/_range-slider.scss +0 -168
  203. data/generators/foundation5/public/stylesheets/foundation/components/_reveal.scss +0 -222
  204. data/generators/foundation5/public/stylesheets/foundation/components/_side-nav.scss +0 -116
  205. data/generators/foundation5/public/stylesheets/foundation/components/_split-buttons.scss +0 -191
  206. data/generators/foundation5/public/stylesheets/foundation/components/_sub-nav.scss +0 -123
  207. data/generators/foundation5/public/stylesheets/foundation/components/_switches.scss +0 -230
  208. data/generators/foundation5/public/stylesheets/foundation/components/_tables.scss +0 -135
  209. data/generators/foundation5/public/stylesheets/foundation/components/_tabs.scss +0 -123
  210. data/generators/foundation5/public/stylesheets/foundation/components/_thumbs.scss +0 -66
  211. data/generators/foundation5/public/stylesheets/foundation/components/_toolbar.scss +0 -70
  212. data/generators/foundation5/public/stylesheets/foundation/components/_tooltips.scss +0 -142
  213. data/generators/foundation5/public/stylesheets/foundation/components/_top-bar.scss +0 -685
  214. data/generators/foundation5/public/stylesheets/foundation/components/_type.scss +0 -525
  215. data/generators/foundation5/public/stylesheets/foundation/components/_visibility.scss +0 -408
  216. data/generators/foundation5/public/stylesheets/foundation.css +0 -6138
  217. data/generators/foundation5/public/stylesheets/foundation.css.scss +0 -45
  218. data/generators/foundation5/public/stylesheets/normalize.css +0 -357
  219. data/lib/locomotive/wagon/generators/site/foundation4.rb +0 -34
@@ -0,0 +1,529 @@
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. 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
40
+
41
+ @import 'foundation6/util/util';
42
+
43
+ // 1. Global
44
+ // ---------
45
+
46
+ $global-width: rem-calc(1200);
47
+ $global-font-size: 100%;
48
+ $global-lineheight: 1.5;
49
+ $primary-color: #2199e8;
50
+ $secondary-color: #777;
51
+ $success-color: #3adb76;
52
+ $warning-color: #ffae00;
53
+ $alert-color: #ec5840;
54
+ $light-gray: #e6e6e6;
55
+ $medium-gray: #cacaca;
56
+ $dark-gray: #8a8a8a;
57
+ $black: #0a0a0a;
58
+ $white: #fefefe;
59
+ $body-background: $white;
60
+ $body-font-color: $black;
61
+ $body-font-family: "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
62
+ $body-antialiased: true;
63
+ $text-direction: ltr;
64
+ $global-margin: 1rem;
65
+ $global-padding: 1rem;
66
+ $global-margin: 1rem;
67
+ $global-weight-normal: normal;
68
+ $global-weight-bold: bold;
69
+ $global-radius: 0;
70
+ $global-text-direction: ltr;
71
+ $rem-base: 16px;
72
+
73
+ // 2. Breakpoints
74
+ // --------------
75
+
76
+ $breakpoints: (
77
+ small: 0,
78
+ medium: 640px,
79
+ large: 1024px,
80
+ xlarge: 1200px,
81
+ xxlarge: 1440px,
82
+ );
83
+ $breakpoint-classes: (small medium large);
84
+
85
+ // 3. The Grid
86
+ // -----------
87
+
88
+ $grid-row-width: $global-width;
89
+ $grid-column-count: 12;
90
+ $grid-column-gutter: 30px;
91
+ $block-grid-max: 6;
92
+
93
+ // 4. Base Typography
94
+ // ------------------
95
+
96
+ $header-font-family: $body-font-family;
97
+ $header-font-weight: $global-weight-normal;
98
+ $header-font-style: normal;
99
+ $font-family-monospace: Consolas, "Liberation Mono", Courier, monospace;
100
+ $header-sizes: (
101
+ small: (
102
+ 'h1': 24,
103
+ 'h2': 20,
104
+ 'h3': 19,
105
+ 'h4': 18,
106
+ 'h5': 17,
107
+ 'h6': 16,
108
+ ),
109
+ medium: (
110
+ 'h1': 48,
111
+ 'h2': 40,
112
+ 'h3': 31,
113
+ 'h4': 25,
114
+ 'h5': 20,
115
+ 'h6': 16,
116
+ ),
117
+ );
118
+ $header-color: inherit;
119
+ $header-lineheight: 1.4;
120
+ $header-margin-bottom: 0.5rem;
121
+ $header-text-rendering: optimizeLegibility;
122
+ $small-font-size: 80%;
123
+ $header-small-font-color: $medium-gray;
124
+ $paragraph-lineheight: 1.6;
125
+ $paragraph-margin-bottom: 1rem;
126
+ $paragraph-text-rendering: optimizeLegibility;
127
+ $code-color: $black;
128
+ $code-font-family: $font-family-monospace;
129
+ $code-font-weight: $global-weight-normal;
130
+ $code-background: $light-gray;
131
+ $code-border: 1px solid $medium-gray;
132
+ $code-padding: rem-calc(2 5 1);
133
+ $anchor-color: $primary-color;
134
+ $anchor-color-hover: scale-color($anchor-color, $lightness: -14%);
135
+ $anchor-text-decoration: none;
136
+ $anchor-text-decoration-hover: none;
137
+ $hr-width: $global-width;
138
+ $hr-border: 1px solid $medium-gray;
139
+ $hr-margin: rem-calc(20) auto;
140
+ $list-lineheight: $paragraph-lineheight;
141
+ $list-margin-bottom: $paragraph-margin-bottom;
142
+ $list-style-type: disc;
143
+ $list-style-position: outside;
144
+ $list-side-margin: 1.25rem;
145
+ $list-nested-side-margin: 1.25rem;
146
+ $defnlist-margin-bottom: 1rem;
147
+ $defnlist-term-weight: $global-weight-bold;
148
+ $defnlist-term-margin-bottom: 0.3rem;
149
+ $blockquote-color: $dark-gray;
150
+ $blockquote-padding: rem-calc(9 20 0 19);
151
+ $blockquote-border: 1px solid $medium-gray;
152
+ $cite-font-size: rem-calc(13);
153
+ $cite-color: $dark-gray;
154
+ $keystroke-font: $font-family-monospace;
155
+ $keystroke-color: $black;
156
+ $keystroke-background: $light-gray;
157
+ $keystroke-padding: rem-calc(2 4 0);
158
+ $keystroke-radius: $global-radius;
159
+ $abbr-underline: 1px dotted $black;
160
+
161
+ // 5. Typography Helpers
162
+ // ---------------------
163
+
164
+ $lead-font-size: $global-font-size * 1.25;
165
+ $lead-lineheight: 1.6;
166
+ $subheader-lineheight: 1.4;
167
+ $subheader-color: $dark-gray;
168
+ $subheader-font-weight: $global-weight-normal;
169
+ $subheader-margin-top: 0.2rem;
170
+ $subheader-margin-bottom: 0.5rem;
171
+ $stat-font-size: 2.5rem;
172
+
173
+ // 6. Abide
174
+ // --------
175
+
176
+ $abide-inputs: true;
177
+ $abide-labels: true;
178
+ $input-background-invalid: $alert-color;
179
+ $form-label-color-invalid: $alert-color;
180
+ $input-error-color: $alert-color;
181
+ $input-error-font-size: rem-calc(12);
182
+ $input-error-font-weight: $global-weight-bold;
183
+
184
+ // 7. Accordion
185
+ // ------------
186
+
187
+ $accordion-background: $white;
188
+ $accordion-plusminus: true;
189
+ $accordion-item-color: foreground($accordion-background, $primary-color);
190
+ $accordion-item-background-hover: $light-gray;
191
+ $accordion-item-padding: 1.25rem 1rem;
192
+ $accordion-content-background: $white;
193
+ $accordion-content-border: 1px solid $light-gray;
194
+ $accordion-content-color: foreground($accordion-background, $primary-color);
195
+ $accordion-content-padding: 1rem;
196
+
197
+ // 8. Accordion Menu
198
+ // -----------------
199
+
200
+ $accordionmenu-arrows: true;
201
+
202
+ // 9. Badge
203
+ // --------
204
+
205
+ $badge-background: $primary-color;
206
+ $badge-color: foreground($badge-background);
207
+ $badge-padding: 0.3em;
208
+ $badge-minwidth: 2.1em;
209
+ $badge-font-size: 0.6rem;
210
+
211
+ // 10. Breadcrumbs
212
+ // ---------------
213
+
214
+ $breadcrumbs-margin: 0 0 $global-margin 0;
215
+ $breadcrumbs-item-font-size: rem-calc(11);
216
+ $breadcrumbs-item-color: $primary-color;
217
+ $breadcrumbs-item-color-current: $black;
218
+ $breadcrumbs-item-color-disabled: $medium-gray;
219
+ $breadcrumbs-item-margin: 0.75rem;
220
+ $breadcrumbs-item-uppercase: true;
221
+ $breadcrumbs-item-slash: true;
222
+
223
+ // 11. Button
224
+ // ----------
225
+
226
+ $button-padding: 0.85em 1em;
227
+ $button-margin: 0 $global-margin $global-margin 0;
228
+ $button-fill: solid;
229
+ $button-background: $primary-color;
230
+ $button-background-hover: scale-color($button-background, $lightness: -15%);
231
+ $button-color: #fff;
232
+ $button-color-alt: #000;
233
+ $button-radius: $global-radius;
234
+ $button-sizes: (
235
+ tiny: 0.6rem,
236
+ small: 0.75rem,
237
+ default: 0.9rem,
238
+ large: 1.25rem,
239
+ );
240
+ $button-opacity-disabled: 0.25;
241
+
242
+ // 12. Button Group
243
+ // ----------------
244
+
245
+ $buttongroup-margin: 1rem;
246
+ $buttongroup-spacing: 1px;
247
+ $buttongroup-child-selector: '.button';
248
+ $buttongroup-expand-max: 6;
249
+
250
+ // 13. Callout
251
+ // -----------
252
+
253
+ $callout-background: $white;
254
+ $callout-background-fade: 85%;
255
+ $callout-border: 1px solid rgba($black, 0.25);
256
+ $callout-margin: 0 0 1rem 0;
257
+ $callout-padding: 1rem;
258
+ $callout-font-color: $body-font-color;
259
+ $callout-font-color-alt: $body-background;
260
+ $callout-radius: $global-radius;
261
+ $callout-link-tint: 30%;
262
+
263
+ // 14. Close Button
264
+ // ----------------
265
+
266
+ $closebutton-position: right top;
267
+ $closebutton-offset-horizontal: 1rem;
268
+ $closebutton-offset-vertical: 0.5rem;
269
+ $closebutton-size: 2em;
270
+ $closebutton-lineheight: 1;
271
+ $closebutton-color: $dark-gray;
272
+ $closebutton-color-hover: $black;
273
+
274
+ // 15. Drilldown
275
+ // -------------
276
+
277
+ $drilldown-transition: transform 0.15s linear;
278
+ $drilldown-arrows: true;
279
+
280
+ // 16. Dropdown
281
+ // ------------
282
+
283
+ $dropdown-padding: 1rem;
284
+ $dropdown-border: 1px solid $medium-gray;
285
+ $dropdown-font-size: 16rem;
286
+ $dropdown-width: 300px;
287
+ $dropdown-radius: $global-radius;
288
+ $dropdown-sizes: (
289
+ tiny: 100px,
290
+ small: 200px,
291
+ large: 400px,
292
+ );
293
+
294
+ // 17. Dropdown Menu
295
+ // -----------------
296
+
297
+ $dropdownmenu-arrows: true;
298
+ $dropdownmenu-min-width: 200px;
299
+ $dropdownmenu-background: $white;
300
+ $dropdown-border: 1px solid $medium-gray;
301
+
302
+ // 18. Flex Video
303
+ // --------------
304
+
305
+ $flexvideo-padding-top: rem-calc(25);
306
+ $flexvideo-margin-bottom: rem-calc(16);
307
+ $flexvideo-ratio: 4 by 3;
308
+ $flexvideo-ratio-widescreen: 16 by 9;
309
+
310
+ // 19. Forms
311
+ // ---------
312
+
313
+ $fieldset-border: 1px solid $medium-gray;
314
+ $fieldset-padding: rem-calc(20);
315
+ $fieldset-margin: rem-calc(18 0);
316
+ $legend-padding: rem-calc(0 3);
317
+ $form-spacing: rem-calc(16);
318
+ $helptext-color: #333;
319
+ $helptext-font-size: rem-calc(13);
320
+ $helptext-font-style: italic;
321
+ $input-prefix-color: $black;
322
+ $input-prefix-background: $light-gray;
323
+ $input-prefix-border: 1px solid $medium-gray;
324
+ $input-prefix-padding: 1rem;
325
+ $form-label-color: $black;
326
+ $form-label-font-size: rem-calc(14);
327
+ $form-label-font-weight: $global-weight-normal;
328
+ $form-label-line-height: 1.8;
329
+ $select-background: #fafafa;
330
+ $select-triangle-color: #333;
331
+ $select-radius: $global-radius;
332
+ $input-color: $dark-gray;
333
+ $input-font-family: inherit;
334
+ $input-font-size: rem-calc(16);
335
+ $input-background: $white;
336
+ $input-background-focus: $white;
337
+ $input-background-disabled: $light-gray;
338
+ $input-border: 1px solid $medium-gray;
339
+ $input-border-focus: 1px solid $dark-gray;
340
+ $input-shadow: inset 0 1px 2px rgba($black, 0.1);
341
+ $input-shadow-focus: 0 0 5px $medium-gray;
342
+ $input-cursor-disabled: default;
343
+ $input-transition: box-shadow 0.5s, border-color 0.25s ease-in-out;
344
+ $input-number-spinners: true;
345
+ $input-radius: $global-radius;
346
+
347
+ // 20. Label
348
+ // ---------
349
+
350
+ $label-background: $primary-color;
351
+ $label-color: foreground($label-background);
352
+ $label-font-size: 0.8rem;
353
+ $label-padding: 0.33333rem 0.5rem;
354
+ $label-radius: $global-radius;
355
+
356
+ // 21. Media Object
357
+ // ----------------
358
+
359
+ $mediaobject-margin-bottom: $global-margin;
360
+ $mediaobject-section-padding: $global-padding;
361
+ $mediaobject-image-width-stacked: 100%;
362
+
363
+ // 22. Menu
364
+ // --------
365
+
366
+ $menu-margin: 0;
367
+ $menu-margin-nested: 1rem;
368
+ $menu-item-padding: 0.7rem 1rem;
369
+ $menu-icon-spacing: 0.25rem;
370
+ $menu-expand-max: 6;
371
+
372
+ // 23. Off-canvas
373
+ // --------------
374
+
375
+ $offcanvas-size: 250px;
376
+ $offcanvas-background: $light-gray;
377
+ $offcanvas-zindex: -1;
378
+ $offcanvas-transition-length: 0.5s;
379
+ $offcanvas-transition-timing: ease;
380
+ $offcanvas-exit-background: rgba($white, 0.25);
381
+ $maincontent-class: 'off-canvas-content';
382
+ $maincontent-shadow: 0 0 10px rgba($black, 0.5);
383
+
384
+ // 24. Orbit
385
+ // ---------
386
+
387
+ $orbit-bullet-background: $medium-gray;
388
+ $orbit-bullet-background-active: $dark-gray;
389
+ $orbit-bullet-diameter: 1.2rem;
390
+ $orbit-bullet-margin: 0.1rem;
391
+ $orbit-bullet-margin-top: 0.8rem;
392
+ $orbit-bullet-margin-bottom: 0.8rem;
393
+ $orbit-caption-background: rgba($black, 0.5);
394
+ $orbit-caption-padding: 1rem;
395
+ $orbit-control-background-hover: rgba($black, 0.5);
396
+ $orbit-control-padding: 1rem;
397
+ $orbit-control-zindex: 10;
398
+
399
+ // 25. Pagination
400
+ // --------------
401
+
402
+ $pagination-font-size: rem-calc(14);
403
+ $pagination-margin-bottom: $global-margin;
404
+ $pagination-item-color: $black;
405
+ $pagination-item-padding: rem-calc(3 10);
406
+ $pagination-item-spacing: rem-calc(1);
407
+ $pagination-radius: $global-radius;
408
+ $pagination-item-background-hover: $light-gray;
409
+ $pagination-item-background-current: $primary-color;
410
+ $pagination-item-color-current: foreground($pagination-item-background-current);
411
+ $pagination-item-color-disabled: $medium-gray;
412
+ $pagination-ellipsis-color: $black;
413
+ $pagination-mobile-items: false;
414
+ $pagination-arrows: true;
415
+
416
+ // 26. Progress Bar
417
+ // ----------------
418
+
419
+ $progress-height: 1rem;
420
+ $progress-background: $medium-gray;
421
+ $progress-margin-bottom: $global-margin;
422
+ $progress-meter-background: $primary-color;
423
+ $progress-radius: $global-radius;
424
+
425
+ // 27. Reveal
426
+ // ----------
427
+
428
+ $reveal-background: $white;
429
+ $reveal-width: 600px;
430
+ $reveal-max-width: $global-width;
431
+ $reveal-offset: rem-calc(100);
432
+ $reveal-padding: $global-padding;
433
+ $reveal-border: 1px solid $medium-gray;
434
+ $reveal-radius: $global-radius;
435
+ $reveal-zindex: 1005;
436
+ $reveal-overlay-background: rgba($black, 0.45);
437
+
438
+ // 28. Slider
439
+ // ----------
440
+
441
+ $slider-height: 0.5rem;
442
+ $slider-width-vertical: $slider-height;
443
+ $slider-background: $light-gray;
444
+ $slider-fill-background: $medium-gray;
445
+ $slider-handle-height: 1.4rem;
446
+ $slider-handle-width: 1.4rem;
447
+ $slider-handle-background: $primary-color;
448
+ $slider-opacity-disabled: 0.25;
449
+ $slider-radius: $global-radius;
450
+ $slider-transition: all 0.2s ease-in-out;
451
+
452
+ // 29. Switch
453
+ // ----------
454
+
455
+ $switch-background: $medium-gray;
456
+ $switch-background-active: $primary-color;
457
+ $switch-height: 2rem;
458
+ $switch-height-tiny: 1.5rem;
459
+ $switch-height-small: 1.75rem;
460
+ $switch-height-large: 2.5rem;
461
+ $switch-radius: $global-radius;
462
+ $switch-margin: $global-margin;
463
+ $switch-paddle-background: $white;
464
+ $switch-paddle-offset: 0.25rem;
465
+ $switch-paddle-radius: $global-radius;
466
+ $switch-paddle-transition: all 0.25s ease-out;
467
+
468
+ // 30. Table
469
+ // ---------
470
+
471
+ $table-background: $white;
472
+ $table-color-scale: 5%;
473
+ $table-border: 1px solid smart-scale($table-background, $table-color-scale);
474
+ $table-padding: rem-calc(8 10 10);
475
+ $table-hover-scale: 2%;
476
+ $table-row-hover: darken($table-background, $table-hover-scale);
477
+ $table-row-stripe-hover: darken($table-background, $table-color-scale + $table-hover-scale);
478
+ $table-striped-background: smart-scale($table-background, $table-color-scale);
479
+ $table-stripe: even;
480
+ $table-head-background: smart-scale($table-background, $table-color-scale / 2);
481
+ $table-foot-background: smart-scale($table-background, $table-color-scale);
482
+ $table-head-font-color: $body-font-color;
483
+ $show-header-for-stacked: false;
484
+
485
+ // 31. Tabs
486
+ // --------
487
+
488
+ $tab-margin: 0;
489
+ $tab-background: $white;
490
+ $tab-background-active: $light-gray;
491
+ $tab-border: $light-gray;
492
+ $tab-item-color: foreground($tab-background, $primary-color);
493
+ $tab-item-background-hover: $white;
494
+ $tab-item-padding: 1.25rem 1.5rem;
495
+ $tab-expand-max: 6;
496
+ $tab-content-background: $white;
497
+ $tab-content-border: $light-gray;
498
+ $tab-content-color: foreground($tab-background, $primary-color);
499
+ $tab-content-padding: 1rem;
500
+
501
+ // 32. Thumbnail
502
+ // -------------
503
+
504
+ $thumbnail-border: solid 4px $white;
505
+ $thumbnail-margin-bottom: $global-margin;
506
+ $thumbnail-shadow: 0 0 0 1px rgba($black, 0.2);
507
+ $thumbnail-shadow-hover: 0 0 6px 1px rgba($primary-color, 0.5);
508
+ $thumbnail-transition: box-shadow 200ms ease-out;
509
+ $thumbnail-radius: $global-radius;
510
+
511
+ // 33. Tooltip
512
+ // -----------
513
+
514
+ $tooltip-background-color: $black;
515
+ $tooltip-color: $white;
516
+ $tooltip-padding: 0.75rem;
517
+ $tooltip-font-size: $small-font-size;
518
+ $tooltip-pip-width: 0.75rem;
519
+ $tooltip-pip-height: $tooltip-pip-width * 0.866;
520
+ $tooltip-pip-offset: 1.25rem;
521
+ $tooltip-radius: $global-radius;
522
+
523
+ // 34. Top Bar
524
+ // -----------
525
+
526
+ $topbar-padding: 0.5rem;
527
+ $topbar-background: #eee;
528
+ $topbar-link-color: #fff;
529
+ $topbar-input-width: 200px;
@@ -0,0 +1,3 @@
1
+ /*Import Foundation Styles*/
2
+
3
+ @import url("foundation.css");
@@ -0,0 +1,43 @@
1
+ @charset 'utf-8';
2
+
3
+ @import 'settings';
4
+ @import 'foundation6/foundation';
5
+ @import 'foundation6/motion-ui';
6
+
7
+ @include foundation-global-styles;
8
+ @include foundation-grid;
9
+ @include foundation-typography;
10
+ @include foundation-button;
11
+ @include foundation-forms;
12
+ @include foundation-visibility-classes;
13
+ @include foundation-float-classes;
14
+ @include foundation-accordion;
15
+ @include foundation-badge;
16
+ @include foundation-breadcrumbs;
17
+ @include foundation-button-group;
18
+ @include foundation-callout;
19
+ @include foundation-close-button;
20
+ @include foundation-drilldown-menu;
21
+ @include foundation-dropdown;
22
+ @include foundation-dropdown-menu;
23
+ @include foundation-flex-video;
24
+ @include foundation-label;
25
+ @include foundation-media-object;
26
+ @include foundation-menu;
27
+ @include foundation-off-canvas;
28
+ @include foundation-orbit;
29
+ @include foundation-pagination;
30
+ @include foundation-progress-bar;
31
+ @include foundation-slider;
32
+ @include foundation-sticky;
33
+ @include foundation-reveal;
34
+ @include foundation-switch;
35
+ @include foundation-table;
36
+ @include foundation-tabs;
37
+ @include foundation-thumbnail;
38
+ @include foundation-title-bar;
39
+ @include foundation-tooltip;
40
+ @include foundation-top-bar;
41
+
42
+ @include motion-ui-transitions;
43
+ @include motion-ui-animations;