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
@@ -1,150 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // @variables
9
- //
10
- $include-html-pricing-classes: $include-html-classes !default;
11
-
12
- // We use this to control the border color
13
- $price-table-border: solid 1px $gainsboro !default;
14
-
15
- // We use this to control the bottom margin of the pricing table
16
- $price-table-margin-bottom: rem-calc(20) !default;
17
-
18
- // We use these to control the title styles
19
- $price-title-bg: $oil !default;
20
- $price-title-padding: rem-calc(15 20) !default;
21
- $price-title-align: center !default;
22
- $price-title-color: $smoke !default;
23
- $price-title-weight: $font-weight-normal !default;
24
- $price-title-size: rem-calc(16) !default;
25
- $price-title-font-family: $body-font-family !default;
26
-
27
- // We use these to control the price styles
28
- $price-money-bg: $vapor !default;
29
- $price-money-padding: rem-calc(15 20) !default;
30
- $price-money-align: center !default;
31
- $price-money-color: $oil !default;
32
- $price-money-weight: $font-weight-normal !default;
33
- $price-money-size: rem-calc(32) !default;
34
- $price-money-font-family: $body-font-family !default;
35
-
36
-
37
- // We use these to control the description styles
38
- $price-bg: $white !default;
39
- $price-desc-color: $monsoon !default;
40
- $price-desc-padding: rem-calc(15) !default;
41
- $price-desc-align: center !default;
42
- $price-desc-font-size: rem-calc(12) !default;
43
- $price-desc-weight: $font-weight-normal !default;
44
- $price-desc-line-height: 1.4 !default;
45
- $price-desc-bottom-border: dotted 1px $gainsboro !default;
46
-
47
- // We use these to control the list item styles
48
- $price-item-color: $oil !default;
49
- $price-item-padding: rem-calc(15) !default;
50
- $price-item-align: center !default;
51
- $price-item-font-size: rem-calc(14) !default;
52
- $price-item-weight: $font-weight-normal !default;
53
- $price-item-bottom-border: dotted 1px $gainsboro !default;
54
-
55
- // We use these to control the CTA area styles
56
- $price-cta-bg: $white !default;
57
- $price-cta-align: center !default;
58
- $price-cta-padding: rem-calc(20 20 0) !default;
59
-
60
- // @mixins
61
- //
62
- // We use this to create the container element for the pricing tables
63
- @mixin pricing-table-container {
64
- border: $price-table-border;
65
- margin-#{$default-float}: 0;
66
- margin-bottom: $price-table-margin-bottom;
67
-
68
- & * {
69
- list-style: none;
70
- line-height: 1;
71
- }
72
- }
73
- // @mixins
74
- //
75
- // We use this mixin to create the pricing table title styles
76
- @mixin pricing-table-title {
77
- background-color: $price-title-bg;
78
- padding: $price-title-padding;
79
- text-align: $price-title-align;
80
- color: $price-title-color;
81
- font-weight: $price-title-weight;
82
- font-size: $price-title-size;
83
- font-family: $price-title-font-family;
84
- }
85
-
86
- // @mixins
87
- //
88
- // We use this mixin to control the pricing table price styles
89
- @mixin pricing-table-price {
90
- background-color: $price-money-bg;
91
- padding: $price-money-padding;
92
- text-align: $price-money-align;
93
- color: $price-money-color;
94
- font-weight: $price-money-weight;
95
- font-size: $price-money-size;
96
- font-family: $price-money-font-family;
97
- }
98
-
99
- // @mixins
100
- //
101
- // We use this mixin to create the description styles for the pricing table
102
- @mixin pricing-table-description {
103
- background-color: $price-bg;
104
- padding: $price-desc-padding;
105
- text-align: $price-desc-align;
106
- color: $price-desc-color;
107
- font-size: $price-desc-font-size;
108
- font-weight: $price-desc-weight;
109
- line-height: $price-desc-line-height;
110
- border-bottom: $price-desc-bottom-border;
111
- }
112
-
113
- // @mixins
114
- //
115
- // We use this mixin to style the bullet items in the pricing table
116
- @mixin pricing-table-bullet {
117
- background-color: $price-bg;
118
- padding: $price-item-padding;
119
- text-align: $price-item-align;
120
- color: $price-item-color;
121
- font-size: $price-item-font-size;
122
- font-weight: $price-item-weight;
123
- border-bottom: $price-item-bottom-border;
124
- }
125
-
126
- // @mixins
127
- //
128
- // We use this mixin to style the CTA area of the pricing tables
129
- @mixin pricing-table-cta {
130
- background-color: $price-cta-bg;
131
- text-align: $price-cta-align;
132
- padding: $price-cta-padding;
133
- }
134
-
135
- @include exports("pricing-table") {
136
- @if $include-html-pricing-classes {
137
-
138
- /* Pricing Tables */
139
- .pricing-table {
140
- @include pricing-table-container;
141
-
142
- .title { @include pricing-table-title; }
143
- .price { @include pricing-table-price; }
144
- .description { @include pricing-table-description; }
145
- .bullet-item { @include pricing-table-bullet; }
146
- .cta-button { @include pricing-table-cta; }
147
- }
148
-
149
- }
150
- }
@@ -1,79 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // @variables
9
- //
10
- $include-html-media-classes: $include-html-classes !default;
11
-
12
- // We use this to set the progress bar height
13
- $progress-bar-height: rem-calc(25) !default;
14
- $progress-bar-color: $vapor !default;
15
-
16
- // We use these to control the border styles
17
- $progress-bar-border-color: scale-color($white, $lightness: 20%) !default;
18
- $progress-bar-border-size: 1px !default;
19
- $progress-bar-border-style: solid !default;
20
- $progress-bar-border-radius: $global-radius !default;
21
-
22
- // We use these to control the margin & padding
23
- $progress-bar-pad: rem-calc(2) !default;
24
- $progress-bar-margin-bottom: rem-calc(10) !default;
25
-
26
- // We use these to set the meter colors
27
- $progress-meter-color: $primary-color !default;
28
- $progress-meter-secondary-color: $secondary-color !default;
29
- $progress-meter-success-color: $success-color !default;
30
- $progress-meter-alert-color: $alert-color !default;
31
-
32
- // @mixins
33
- //
34
- // We use this to set up the progress bar container
35
- @mixin progress-container {
36
- background-color: $progress-bar-color;
37
- height: $progress-bar-height;
38
- border: $progress-bar-border-size $progress-bar-border-style $progress-bar-border-color;
39
- padding: $progress-bar-pad;
40
- margin-bottom: $progress-bar-margin-bottom;
41
- }
42
-
43
- // @mixins
44
- //
45
- // $bg - Default: $progress-meter-color || $primary-color
46
- @mixin progress-meter($bg:$progress-meter-color) {
47
- background: $bg;
48
- height: 100%;
49
- display: block;
50
- }
51
-
52
-
53
- @include exports("progress-bar") {
54
- @if $include-html-media-classes {
55
-
56
- /* Progress Bar */
57
- .progress {
58
- @include progress-container;
59
-
60
- // Meter
61
- .meter {
62
- @include progress-meter;
63
- }
64
- &.secondary .meter { @include progress-meter($bg:$progress-meter-secondary-color); }
65
- &.success .meter { @include progress-meter($bg:$progress-meter-success-color); }
66
- &.alert .meter { @include progress-meter($bg:$progress-meter-alert-color); }
67
-
68
- &.radius { @include radius($progress-bar-border-radius);
69
- .meter { @include radius($progress-bar-border-radius - 1); }
70
- }
71
-
72
- &.round { @include radius(1000px);
73
- .meter { @include radius(999px); }
74
- }
75
-
76
- }
77
-
78
- }
79
- }
@@ -1,168 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
-
7
- //
8
- // @name _range-slider.scss
9
- // @dependencies _global.scss
10
- //
11
-
12
- //
13
- // @variables
14
- //
15
-
16
- $include-html-range-slider-classes: $include-html-classes !default;
17
-
18
- // These variabels define the slider bar styles
19
- $range-slider-bar-width: 100% !default;
20
- $range-slider-bar-height: rem-calc(16) !default;
21
-
22
- $range-slider-bar-border-width: 1px !default;
23
- $range-slider-bar-border-style: solid !default;
24
- $range-slider-bar-border-color: $gainsboro !default;
25
- $range-slider-radius: $global-radius !default;
26
- $range-slider-round: $global-rounded !default;
27
- $range-slider-bar-bg-color: $ghost !default;
28
- $range-slider-active-segment-bg-color: scale-color($secondary-color, $lightness: -1%) !default;
29
-
30
- // Vertical bar styles
31
- $range-slider-vertical-bar-width: rem-calc(16) !default;
32
- $range-slider-vertical-bar-height: rem-calc(200) !default;
33
-
34
- // These variabels define the slider handle styles
35
- $range-slider-handle-width: rem-calc(32) !default;
36
- $range-slider-handle-height: rem-calc(22) !default;
37
- $range-slider-handle-position-top: rem-calc(-5) !default;
38
- $range-slider-handle-bg-color: $primary-color !default;
39
- $range-slider-handle-border-width: 1px !default;
40
- $range-slider-handle-border-style: solid !default;
41
- $range-slider-handle-border-color: none !default;
42
- $range-slider-handle-radius: $global-radius !default;
43
- $range-slider-handle-round: $global-rounded !default;
44
- $range-slider-handle-bg-hover-color: scale-color($primary-color, $lightness: -12%) !default;
45
- $range-slider-handle-cursor: pointer !default;
46
-
47
- $range-slider-disabled-opacity: 0.7 !default;
48
-
49
- //
50
- // @mixins
51
- //
52
-
53
- @mixin range-slider-bar-base($vertical: false) {
54
- display: block;
55
- position: relative;
56
- width: $range-slider-bar-width;
57
- height: $range-slider-bar-height;
58
- border: $range-slider-bar-border-width $range-slider-bar-border-style $range-slider-bar-border-color;
59
- margin: rem-calc(20 0);
60
- -ms-touch-action: none;
61
- touch-action: none;
62
- @if $vertical == true {
63
- display: inline-block;
64
- width: $range-slider-vertical-bar-width;
65
- height: $range-slider-vertical-bar-height;
66
- }
67
- }
68
- @mixin range-slider-bar-style(
69
- $bg: true,
70
- $radius: false,
71
- $round: false,
72
- $disabled: false) {
73
- @if $bg == true { background: $range-slider-bar-bg-color; }
74
- @if $radius == true { @include radius($range-slider-radius); }
75
- @if $round == true { @include radius($range-slider-round); }
76
- @if $disabled == true {
77
- cursor: $cursor-default-value;
78
- opacity: $range-slider-disabled-opacity;
79
- }
80
- }
81
-
82
- @mixin range-slider-bar(
83
- $bg: $range-slider-bar-bg-color,
84
- $radius:false) {
85
- @include range-slider-bar-base;
86
- @include range-slider-bar-style;
87
- }
88
-
89
- @mixin range-slider-handle-base() {
90
- display: inline-block;
91
- position: absolute;
92
- z-index: 1;
93
- top: $range-slider-handle-position-top;
94
- width: $range-slider-handle-width;
95
- height: $range-slider-handle-height;
96
- border: $range-slider-handle-border-width $range-slider-handle-border-style $range-slider-handle-border-color;
97
- cursor: $range-slider-handle-cursor;
98
-
99
- // This removes the 300ms touch delay on Windows 8
100
- -ms-touch-action: manipulation;
101
- touch-action: manipulation;
102
- }
103
- @mixin range-slider-handle-style(
104
- $bg: true,
105
- $radius: false,
106
- $round: false,
107
- $disabled: false) {
108
- @if $bg == true { background: $range-slider-handle-bg-color; }
109
- @if $radius == true { @include radius($range-slider-radius); }
110
- @if $round == true { @include radius($range-slider-round); }
111
- @if $disabled == true {
112
- cursor: $cursor-default-value;
113
- opacity: $range-slider-disabled-opacity;
114
- }
115
- &:hover {
116
- background: $range-slider-handle-bg-hover-color;
117
- }
118
- }
119
- @mixin range-slider-handle() {
120
- @include range-slider-handle-base;
121
- @include range-slider-handle-style;
122
- }
123
-
124
- // CSS Generation
125
- @include exports("range-slider-bar") {
126
- @if $include-html-range-slider-classes {
127
- .range-slider {
128
- @include range-slider-bar-base;
129
- @include range-slider-bar-style($bg:true, $radius:false);
130
- &.vertical-range {
131
- @include range-slider-bar-base($vertical: true);
132
- .range-slider-handle {
133
- margin-top: 0;
134
- margin-#{$default-float}: -($range-slider-handle-width / 4);
135
- position: absolute;
136
- bottom: -($range-slider-vertical-bar-height - $range-slider-handle-width);
137
- }
138
- .range-slider-active-segment {
139
- width: $range-slider-bar-height - rem-calc((strip-unit($range-slider-bar-border-width) * 2));
140
- height: auto;
141
- bottom: 0;
142
- }
143
- }
144
- &.radius {
145
- @include range-slider-bar-style($radius:true);
146
- .range-slider-handle { @include range-slider-handle-style($radius: true); }
147
- }
148
- &.round {
149
- @include range-slider-bar-style($round:true);
150
- .range-slider-handle { @include range-slider-handle-style($round: true); }
151
- }
152
- &.disabled, &[disabled] {
153
- @include range-slider-bar-style($disabled:true);
154
- .range-slider-handle { @include range-slider-handle-style($disabled: true); }
155
- }
156
- }
157
- .range-slider-active-segment {
158
- display: inline-block;
159
- position: absolute;
160
- height: $range-slider-bar-height - rem-calc((strip-unit($range-slider-bar-border-width) * 2));
161
- background: $range-slider-active-segment-bg-color;
162
- }
163
- .range-slider-handle {
164
- @include range-slider-handle-base;
165
- @include range-slider-handle-style($bg:true, $radius: false);
166
- }
167
- }
168
- }
@@ -1,222 +0,0 @@
1
- // Foundation by ZURB
2
- // foundation.zurb.com
3
- // Licensed under MIT Open Source
4
-
5
- @import "global";
6
- @import "grid";
7
-
8
- //
9
- // @name _reveal.scss
10
- // @dependencies _global.scss
11
- //
12
-
13
- $include-html-reveal-classes: $include-html-classes !default;
14
-
15
- // We use these to control the style of the reveal overlay.
16
- $reveal-overlay-bg: rgba($black, .45) !default;
17
- $reveal-overlay-bg-old: $black !default;
18
-
19
- // We use these to control the style of the modal itself.
20
- $reveal-modal-bg: $white !default;
21
- $reveal-position-top: rem-calc(100) !default;
22
- $reveal-default-width: 80% !default;
23
- $reveal-max-width: $row-width !default;
24
- $reveal-modal-padding: rem-calc(20) !default;
25
- $reveal-box-shadow: 0 0 10px rgba($black,.4) !default;
26
-
27
- // We use these to style the reveal close button
28
- $reveal-close-font-size: rem-calc(40) !default;
29
- $reveal-close-top: rem-calc(8) !default;
30
- $reveal-close-side: rem-calc(11) !default;
31
- $reveal-close-color: $base !default;
32
- $reveal-close-weight: $font-weight-bold !default;
33
-
34
- // We use this to set the default radius used throughout the core.
35
- $reveal-radius: $global-radius !default;
36
- $reveal-round: $global-rounded !default;
37
-
38
- // We use these to control the modal border
39
- $reveal-border-style: solid !default;
40
- $reveal-border-width: 1px !default;
41
- $reveal-border-color: $steel !default;
42
-
43
- $reveal-modal-class: "reveal-modal" !default;
44
- $close-reveal-modal-class: "close-reveal-modal" !default;
45
-
46
- //
47
- // @mixins
48
- //
49
-
50
- // We use this to create the reveal background overlay styles
51
- @mixin reveal-bg( $include-z-index-value: true ) {
52
- position: fixed;
53
- top: 0;
54
- bottom: 0;
55
- left: 0;
56
- right: 0;
57
- background: $reveal-overlay-bg-old; // Autoprefixer should be used to avoid such variables needed when Foundation for Sites can do so in the near future.
58
- background: $reveal-overlay-bg;
59
- z-index: if( $include-z-index-value, 1004, auto );
60
- display: none;
61
- #{$default-float}: 0;
62
- }
63
-
64
- // We use this mixin to create the structure of a reveal modal
65
- //
66
- // $base-style - Provides reveal base styles, can be set to false to override. Default: true, Options: false
67
- // $width - Sets reveal width Default: $reveal-default-width || 80%
68
- //
69
- @mixin reveal-modal-base( $base-style: true, $width:$reveal-default-width, $max-width:$reveal-max-width, $border-radius: $reveal-radius) {
70
- @if $base-style {
71
- visibility: hidden;
72
- display: none;
73
- position: absolute;
74
- z-index: 1005;
75
- width: 100vw;
76
- top:0;
77
- border-radius: $border-radius;
78
- #{$default-float}: 0;
79
-
80
- @media #{$small-only} {
81
- min-height:100vh;
82
- }
83
-
84
- // Make sure rows don't have a min-width on them
85
- .column, .columns { min-width: 0; }
86
-
87
- // Get rid of margin from first and last element inside modal
88
- & > :first-child { margin-top: 0; }
89
-
90
- & > :last-child { margin-bottom: 0; }
91
- }
92
-
93
- @if $width {
94
- @media #{$medium-up} {
95
- width: $width;
96
- max-width: $max-width;
97
- left: 0;
98
- right: 0;
99
- margin: 0 auto;
100
- }
101
- }
102
- }
103
-
104
- // We use this to style the reveal modal defaults
105
- //
106
- // $bg - Sets background color of reveal modal. Default: $reveal-modal-bg || $white
107
- // $padding - Padding to apply to reveal modal. Default: $reveal-modal-padding.
108
- // $border - Choose whether reveal uses a border. Default: true, Options: false
109
- // $border-style - Set reveal border style. Default: $reveal-border-style || solid
110
- // $border-width - Width of border (i.e. 1px). Default: $reveal-border-width.
111
- // $border-color - Color of border. Default: $reveal-border-color.
112
- // $box-shadow - Choose whether or not to include the default box-shadow. Default: true, Options: false
113
- // $radius - If true, set to modal radius which is $global-radius || explicitly set radius amount in px (ex. $radius:10px). Default: false
114
- // $top-offset - Default: $reveal-position-top || 50px
115
- @mixin reveal-modal-style(
116
- $bg:false,
117
- $padding:false,
118
- $border:false,
119
- $border-style:$reveal-border-style,
120
- $border-width:$reveal-border-width,
121
- $border-color:$reveal-border-color,
122
- $box-shadow:false,
123
- $radius:false,
124
- $top-offset:false) {
125
-
126
- @if $bg { background-color: $bg; }
127
- @if $padding != false { padding: $padding; }
128
-
129
- @if $border { border: $border-style $border-width $border-color; }
130
-
131
- // We can choose whether or not to include the default box-shadow.
132
- @if $box-shadow {
133
- box-shadow: $reveal-box-shadow;
134
- }
135
-
136
- // We can control how much radius is used on the modal
137
- @if $radius == true { @include radius($reveal-radius); }
138
- @else if $radius { @include radius($radius); }
139
-
140
- @if $top-offset {
141
- @media #{$medium-up} {
142
- top: $top-offset;
143
- }
144
- }
145
- }
146
-
147
- // We use this to create a close button for the reveal modal
148
- //
149
- // $color - Default: $reveal-close-color || $base
150
- @mixin reveal-close($color:$reveal-close-color) {
151
- font-size: $reveal-close-font-size;
152
- line-height: 1;
153
- position: absolute;
154
- top: $reveal-close-top;
155
- #{$opposite-direction}: $reveal-close-side;
156
- color: $color;
157
- font-weight: $reveal-close-weight;
158
- cursor: $cursor-pointer-value;
159
- }
160
-
161
- @include exports("reveal") {
162
- @if $include-html-reveal-classes {
163
-
164
- // Reveal Modals
165
- .reveal-modal-bg { @include reveal-bg; }
166
-
167
- .#{$reveal-modal-class} {
168
- @include reveal-modal-base;
169
- @include reveal-modal-style(
170
- $bg:$reveal-modal-bg,
171
- $padding:$reveal-modal-padding,
172
- $border:true,
173
- $box-shadow:true,
174
- $radius:false,
175
- $top-offset:$reveal-position-top
176
- );
177
- @include reveal-modal-style($padding:$reveal-modal-padding * 1.5);
178
-
179
- &.radius { @include reveal-modal-style($radius:true); }
180
- &.round { @include reveal-modal-style($radius:$reveal-round); }
181
- &.collapse { @include reveal-modal-style($padding:0); }
182
- &.tiny { @include reveal-modal-base(false, 30%); }
183
- &.small { @include reveal-modal-base(false, 40%); }
184
- &.medium { @include reveal-modal-base(false, 60%); }
185
- &.large { @include reveal-modal-base(false, 70%); }
186
- &.xlarge { @include reveal-modal-base(false, 95%); }
187
- &.full {
188
- @include reveal-modal-base(false, 100vw);
189
- top:0;
190
- left:0;
191
- height:100%;
192
- height: 100vh;
193
- min-height:100vh;
194
- max-width: none !important;
195
- margin-left: 0 !important;
196
- }
197
-
198
- .#{$close-reveal-modal-class} { @include reveal-close; }
199
- }
200
-
201
- dialog {
202
- @extend .#{$reveal-modal-class};
203
- display: none;
204
-
205
- &::backdrop, & + .backdrop {
206
- @include reveal-bg(false);
207
- }
208
-
209
- &[open]{
210
- display: block;
211
- }
212
- }
213
-
214
- // Reveal Print Styles: It should be invisible, adds no value being printed.
215
- @media print {
216
- dialog, .#{$reveal-modal-class} {
217
- display: none;
218
- background: $white !important;
219
- }
220
- }
221
- }
222
- }