zurb-foundation 3.2.5 → 4.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (239) hide show
  1. data/.gitignore +6 -2
  2. data/CHANGELOG.md +1 -26
  3. data/CONTRIBUTING.md +18 -0
  4. data/Gemfile.lock +19 -0
  5. data/Gruntfile.js +27 -0
  6. data/README.md +5 -6
  7. data/{Capfile → docs/Capfile} +0 -1
  8. data/docs/Gemfile +8 -0
  9. data/docs/Gemfile.lock +43 -0
  10. data/docs/Procfile +2 -0
  11. data/docs/README.md +1 -0
  12. data/docs/_sidebar-components.html.erb +109 -0
  13. data/docs/_sidebar.html.erb +109 -0
  14. data/docs/_zurb-jobs.html.erb +5 -0
  15. data/docs/changelog.html.erb +185 -0
  16. data/docs/compile.rb +43 -0
  17. data/docs/components/alert-boxes.html.erb +202 -0
  18. data/docs/components/block-grid.html.erb +118 -0
  19. data/docs/components/breadcrumbs.html.erb +146 -0
  20. data/docs/components/button-groups.html.erb +174 -0
  21. data/docs/components/buttons.html.erb +220 -0
  22. data/docs/components/clearing.html.erb +152 -0
  23. data/docs/components/custom-forms.html.erb +306 -0
  24. data/docs/components/dropdown-buttons.html.erb +233 -0
  25. data/docs/components/dropdown.html.erb +186 -0
  26. data/docs/components/flex-video.html.erb +93 -0
  27. data/docs/components/forms.html.erb +468 -0
  28. data/docs/components/grid.html.erb +355 -0
  29. data/docs/components/inline-lists.html.erb +89 -0
  30. data/docs/components/joyride.html.erb +178 -0
  31. data/docs/components/keystrokes.html.erb +74 -0
  32. data/docs/components/labels.html.erb +98 -0
  33. data/docs/components/magellan.html.erb +84 -0
  34. data/docs/components/orbit.html.erb +262 -0
  35. data/docs/components/pagination.html.erb +181 -0
  36. data/docs/components/panels.html.erb +121 -0
  37. data/docs/components/pricing-tables.html.erb +154 -0
  38. data/docs/components/progress-bars.html.erb +120 -0
  39. data/docs/components/reveal.html.erb +147 -0
  40. data/docs/components/section.html.erb +156 -0
  41. data/docs/components/side-nav.html.erb +122 -0
  42. data/docs/components/split-buttons.html.erb +218 -0
  43. data/docs/components/sub-nav.html.erb +120 -0
  44. data/docs/components/switch.html.erb +288 -0
  45. data/docs/components/tables.html.erb +123 -0
  46. data/docs/components/thumbnails.html.erb +87 -0
  47. data/docs/components/tooltips.html.erb +73 -0
  48. data/docs/components/top-bar.html.erb +219 -0
  49. data/docs/components/type.html.erb +359 -0
  50. data/docs/components/visibility.html.erb +102 -0
  51. data/docs/config.ru +12 -0
  52. data/docs/config/deploy.rb +33 -0
  53. data/docs/controller.rb +43 -0
  54. data/docs/css/_coderay.scss +116 -0
  55. data/docs/css/_settings.scss +1 -0
  56. data/docs/css/docs.scss +174 -0
  57. data/docs/css/normalize.scss +396 -0
  58. data/docs/css/qunit-composite.css +13 -0
  59. data/docs/css/qunit.css +235 -0
  60. data/docs/faq.html.erb +61 -0
  61. data/docs/img/demos/demo1-th.png +0 -0
  62. data/docs/img/demos/demo1.png +0 -0
  63. data/docs/img/demos/demo2-th.png +0 -0
  64. data/docs/img/demos/demo2.png +0 -0
  65. data/docs/img/demos/demo3-th.png +0 -0
  66. data/docs/img/demos/demo3.png +0 -0
  67. data/docs/img/demos/demo4-th.png +0 -0
  68. data/docs/img/demos/demo4.png +0 -0
  69. data/docs/img/demos/demo5-th.png +0 -0
  70. data/docs/img/demos/demo5.png +0 -0
  71. data/docs/index.html.erb +299 -0
  72. data/docs/javascript.html.erb +133 -0
  73. data/docs/js/docs.js +3 -0
  74. data/docs/js/qunit-composite.js +105 -0
  75. data/docs/js/qunit.js +1977 -0
  76. data/docs/js/tests/tabs/simple_tabs.html +57 -0
  77. data/docs/js/tests/tabs/simple_tabs.js +54 -0
  78. data/docs/js/tests/tooltips/tooltips.html +39 -0
  79. data/docs/js/tests/tooltips/tooltips.js +11 -0
  80. data/docs/layout.html.erb +99 -0
  81. data/docs/rails.html.erb +66 -0
  82. data/docs/sass.html.erb +299 -0
  83. data/docs/support.html.erb +134 -0
  84. data/foundation.gemspec +2 -4
  85. data/index.html +3 -23
  86. data/js/foundation/foundation.alerts.js +50 -0
  87. data/js/foundation/foundation.clearing.js +478 -0
  88. data/{vendor/assets/javascripts/foundation/jquery.cookie.js → js/foundation/foundation.cookie.js} +3 -1
  89. data/js/foundation/foundation.dropdown.js +122 -0
  90. data/js/foundation/foundation.forms.js +403 -0
  91. data/js/foundation/foundation.joyride.js +613 -0
  92. data/js/foundation/foundation.js +331 -0
  93. data/js/foundation/foundation.magellan.js +130 -0
  94. data/js/foundation/foundation.orbit.js +355 -0
  95. data/{vendor/assets/javascripts/foundation/jquery.placeholder.js → js/foundation/foundation.placeholder.js} +4 -2
  96. data/js/foundation/foundation.reveal.js +264 -0
  97. data/js/foundation/foundation.section.js +180 -0
  98. data/js/foundation/foundation.tooltips.js +195 -0
  99. data/js/foundation/foundation.topbar.js +187 -0
  100. data/js/foundation/index.js +16 -0
  101. data/{vendor/assets/javascripts/foundation/modernizr.foundation.js → js/vendor/custom.modernizr.js} +0 -0
  102. data/js/vendor/jquery.js +9597 -0
  103. data/js/vendor/zepto.js +1782 -0
  104. data/lib/foundation/engine.rb +8 -1
  105. data/lib/foundation/generators/install_generator.rb +24 -1
  106. data/lib/foundation/generators/templates/application.html.erb +20 -6
  107. data/lib/foundation/generators/templates/application.html.haml +2 -6
  108. data/lib/foundation/generators/templates/application.html.slim +2 -5
  109. data/lib/foundation/version.rb +1 -1
  110. data/lib/zurb-foundation.rb +7 -9
  111. data/package.json +9 -0
  112. data/scss/foundation.scss +42 -15
  113. data/scss/foundation/_foundation-global.scss +226 -0
  114. data/scss/foundation/components/_alert-boxes.scss +106 -0
  115. data/scss/foundation/components/_block-grid.scss +63 -0
  116. data/scss/foundation/components/_breadcrumbs.scss +117 -0
  117. data/scss/foundation/components/_button-groups.scss +59 -0
  118. data/scss/foundation/components/_buttons.scss +217 -0
  119. data/scss/foundation/components/_clearing.scss +209 -0
  120. data/scss/foundation/components/_custom-forms.scss +232 -0
  121. data/scss/foundation/components/_dropdown-buttons.scss +114 -0
  122. data/scss/foundation/components/_dropdown.scss +137 -0
  123. data/scss/foundation/components/_flex-video.scss +45 -0
  124. data/scss/foundation/components/_forms.scss +309 -0
  125. data/scss/foundation/components/_grid.scss +149 -71
  126. data/scss/foundation/components/_inline-lists.scss +47 -0
  127. data/scss/foundation/components/_joyride.scss +193 -0
  128. data/scss/foundation/components/_keystrokes.scss +56 -0
  129. data/scss/foundation/components/_labels.scss +81 -0
  130. data/scss/foundation/components/_magellan.scss +15 -0
  131. data/scss/foundation/components/_orbit.scss +193 -0
  132. data/scss/foundation/components/_pagination.scss +99 -0
  133. data/scss/foundation/components/_panels.scss +76 -0
  134. data/scss/foundation/components/_pricing-tables.scss +130 -0
  135. data/scss/foundation/components/_progress-bars.scss +68 -0
  136. data/scss/foundation/components/_reveal.scss +131 -0
  137. data/scss/foundation/components/_section.scss +194 -0
  138. data/scss/foundation/components/_side-nav.scss +68 -0
  139. data/scss/foundation/components/_split-buttons.scss +159 -0
  140. data/scss/foundation/components/_sub-nav.scss +67 -0
  141. data/scss/foundation/components/_switch.scss +242 -0
  142. data/scss/foundation/components/_tables.scss +80 -0
  143. data/scss/foundation/components/_thumbs.scss +45 -0
  144. data/scss/foundation/components/_tooltips.scss +113 -0
  145. data/scss/foundation/components/_top-bar.scss +443 -0
  146. data/scss/foundation/components/_type.scss +411 -0
  147. data/scss/foundation/components/_visibility.scss +117 -0
  148. data/scss/normalize.scss +396 -0
  149. data/templates/project/config.rb +26 -0
  150. data/templates/project/index.html +28 -43
  151. data/templates/project/manifest.rb +21 -28
  152. data/templates/project/scss/_settings.scss +4 -243
  153. data/templates/project/scss/app.scss +37 -44
  154. data/templates/project/scss/normalize.scss +396 -0
  155. data/test/stylesheets/styles.css +955 -0
  156. metadata +144 -153
  157. data/config/deploy.rb +0 -42
  158. data/lib/foundation/generators/layout_generator.rb +0 -28
  159. data/scss/foundation/_settings.scss +0 -281
  160. data/scss/foundation/common/_base.scss +0 -4
  161. data/scss/foundation/common/_forms.scss +0 -117
  162. data/scss/foundation/common/_globals.scss +0 -35
  163. data/scss/foundation/common/_ratios.scss +0 -19
  164. data/scss/foundation/common/_typography.scss +0 -104
  165. data/scss/foundation/components/modules/_all.scss +0 -10
  166. data/scss/foundation/components/modules/_buttons.scss +0 -178
  167. data/scss/foundation/components/modules/_clearing.scss +0 -61
  168. data/scss/foundation/components/modules/_joyride.scss +0 -33
  169. data/scss/foundation/components/modules/_mqueries.scss +0 -458
  170. data/scss/foundation/components/modules/_navbar.scss +0 -74
  171. data/scss/foundation/components/modules/_offcanvas.scss +0 -55
  172. data/scss/foundation/components/modules/_orbit.scss +0 -90
  173. data/scss/foundation/components/modules/_reveal.scss +0 -34
  174. data/scss/foundation/components/modules/_tabs.scss +0 -67
  175. data/scss/foundation/components/modules/_topbar.scss +0 -167
  176. data/scss/foundation/components/modules/_ui.scss +0 -292
  177. data/scss/foundation/functions/_all.scss +0 -2
  178. data/scss/foundation/functions/_convert-number-to-word.scss +0 -10
  179. data/scss/foundation/functions/_grid-calc.scss +0 -5
  180. data/scss/foundation/functions/modular-scale.scss +0 -3
  181. data/scss/foundation/mixins/_all.scss +0 -5
  182. data/scss/foundation/mixins/_clearfix.scss +0 -13
  183. data/scss/foundation/mixins/_css-triangle.scss +0 -22
  184. data/scss/foundation/mixins/_font-size.scss +0 -13
  185. data/scss/foundation/mixins/_respond-to.scss +0 -11
  186. data/scss/foundation/mixins/_semantic-grid.scss +0 -66
  187. data/test/buttons.html +0 -189
  188. data/test/clearing.html +0 -85
  189. data/test/config.rb +0 -11
  190. data/test/elements.html +0 -490
  191. data/test/forms.html +0 -371
  192. data/test/grid.html +0 -543
  193. data/test/images/orbit-demo/demo1.jpeg +0 -0
  194. data/test/images/orbit-demo/demo2.jpeg +0 -0
  195. data/test/images/orbit-demo/demo3.jpeg +0 -0
  196. data/test/images/orbit-demo/slider-background.jpeg +0 -0
  197. data/test/index.html +0 -83
  198. data/test/joyride.html +0 -127
  199. data/test/magellan.html +0 -112
  200. data/test/navigation.html +0 -269
  201. data/test/orbit.html +0 -112
  202. data/test/reveal.html +0 -91
  203. data/test/scss/_settings.scss +0 -245
  204. data/test/scss/styles.scss +0 -50
  205. data/test/tabs.html +0 -197
  206. data/test/template.html +0 -52
  207. data/test/topbar-login.html +0 -194
  208. data/test/topbar.html +0 -139
  209. data/test/type.html +0 -188
  210. data/vendor/assets/images/foundation/orbit/bullets.jpg +0 -0
  211. data/vendor/assets/images/foundation/orbit/left-arrow-small.png +0 -0
  212. data/vendor/assets/images/foundation/orbit/left-arrow.png +0 -0
  213. data/vendor/assets/images/foundation/orbit/loading.gif +0 -0
  214. data/vendor/assets/images/foundation/orbit/mask-black.png +0 -0
  215. data/vendor/assets/images/foundation/orbit/pause-black.png +0 -0
  216. data/vendor/assets/images/foundation/orbit/right-arrow-small.png +0 -0
  217. data/vendor/assets/images/foundation/orbit/right-arrow.png +0 -0
  218. data/vendor/assets/images/foundation/orbit/rotator-black.png +0 -0
  219. data/vendor/assets/images/foundation/orbit/timer-black.png +0 -0
  220. data/vendor/assets/javascripts/foundation/app.js +0 -41
  221. data/vendor/assets/javascripts/foundation/index.js +0 -19
  222. data/vendor/assets/javascripts/foundation/jquery.event.move.js +0 -580
  223. data/vendor/assets/javascripts/foundation/jquery.event.swipe.js +0 -130
  224. data/vendor/assets/javascripts/foundation/jquery.foundation.accordion.js +0 -47
  225. data/vendor/assets/javascripts/foundation/jquery.foundation.alerts.js +0 -20
  226. data/vendor/assets/javascripts/foundation/jquery.foundation.buttons.js +0 -83
  227. data/vendor/assets/javascripts/foundation/jquery.foundation.clearing.js +0 -413
  228. data/vendor/assets/javascripts/foundation/jquery.foundation.forms.js +0 -502
  229. data/vendor/assets/javascripts/foundation/jquery.foundation.joyride.js +0 -639
  230. data/vendor/assets/javascripts/foundation/jquery.foundation.magellan.js +0 -96
  231. data/vendor/assets/javascripts/foundation/jquery.foundation.mediaQueryToggle.js +0 -27
  232. data/vendor/assets/javascripts/foundation/jquery.foundation.navigation.js +0 -55
  233. data/vendor/assets/javascripts/foundation/jquery.foundation.orbit.js +0 -919
  234. data/vendor/assets/javascripts/foundation/jquery.foundation.reveal.js +0 -794
  235. data/vendor/assets/javascripts/foundation/jquery.foundation.tabs.js +0 -66
  236. data/vendor/assets/javascripts/foundation/jquery.foundation.tooltips.js +0 -211
  237. data/vendor/assets/javascripts/foundation/jquery.foundation.topbar.js +0 -174
  238. data/vendor/assets/javascripts/foundation/jquery.js +0 -9555
  239. data/vendor/assets/javascripts/foundation/jquery.offcanvas.js +0 -50
@@ -1,50 +1,39 @@
1
1
  description 'Foundation Compass Gem'
2
2
 
3
3
  # Sass Files
4
- stylesheet 'scss/_settings.scss', :to => '_settings.scss'
5
- stylesheet 'scss/app.scss', :to => 'app.scss', :media => "screen, projector, print"
4
+ file 'scss/_settings.scss', :to => 'scss/_settings.scss'
5
+ file 'scss/normalize.scss', :to => 'scss/normalize.scss', :media => "screen, projector, print"
6
+ file 'scss/app.scss', :to => 'scss/app.scss', :media => "screen, projector, print"
6
7
 
7
8
  # Make sure you list all the project template files here in the manifest.
8
9
  file 'humans.txt'
9
10
  file 'robots.txt'
10
11
  file 'MIT-LICENSE.txt'
11
12
 
12
- # Images exist in non-standard location so they will play nicely with
13
- # Rails asset-pipeline. So this method allows us to copy images from
14
- # outside the compass template
15
- def copy_images_from(relative_path, prefix_path)
16
- absolute_path = File.join(File.dirname(__FILE__), relative_path, prefix_path)
17
- img_files = Dir.glob("#{absolute_path}/*.*")
18
- img_files.each do |img|
19
- image "#{relative_path}/#{prefix_path}/#{File.basename(img)}",
20
- :to => "#{prefix_path}/#{File.basename(img)}"
21
- end
22
- end
23
-
24
13
  def copy_js_from(relative_path, prefix_path, excludes=[])
25
14
  absolute_path = File.join(File.dirname(__FILE__), relative_path, prefix_path)
26
15
  js_files = Dir.glob("#{absolute_path}/*.js")
27
16
  js_files.reject! {|f| excludes.include? File.basename(f)}
28
17
  js_files.each do |js|
29
- javascript "#{relative_path}/#{prefix_path}/#{File.basename(js)}",
30
- :to => "#{prefix_path}/#{File.basename(js)}"
18
+ file "#{relative_path}/#{prefix_path}/#{File.basename(js)}",
19
+ :to => "js/#{prefix_path}/#{File.basename(js)}"
31
20
  end
32
21
  return js_files.map {|f| "#{prefix_path}/#{File.basename(f)}"}
33
22
  end
34
23
 
35
- copy_images_from("../../vendor/assets/images", "foundation/orbit")
36
- javascripts = copy_js_from("../../vendor/assets/javascripts", "foundation", ["index.js"])
24
+ javascripts = copy_js_from("../../js", "foundation", ["index.js"])
25
+ vendor_javascripts = copy_js_from("../../js", "vendor")
37
26
 
38
- javascripts.reject! do |f|
39
- [
40
- "jquery.js",
41
- "modernizr.foundation.js",
42
- "app.js",
43
- "jquery.offcanvas.js"
44
- ].include?(File.basename(f))
45
- end
27
+ # javascripts.reject! do |f|
28
+ # [
29
+ # "jquery.js",
30
+ # "modernizr.foundation.js",
31
+ # "app.js",
32
+ # "jquery.offcanvas.js"
33
+ # ].include?(File.basename(f))
34
+ # end
46
35
 
47
- html 'index.html', :erb => true, :javascripts => javascripts
36
+ html 'index.html', :erb => true, :javascripts => javascripts, :version => Foundation::VERSION
48
37
 
49
38
  help %Q{
50
39
 
@@ -56,4 +45,8 @@ welcome_message %Q{
56
45
 
57
46
  w00t! You're using ZURB Foundation, now go forth and rock 'n roll!
58
47
 
59
- }
48
+ }
49
+
50
+ file 'config.rb'
51
+
52
+ no_configuration_file!
@@ -1,245 +1,6 @@
1
- @import "foundation/common/ratios";
1
+ // Settings file to override Foundation variables
2
2
 
3
- // Settings file containing Foundation defaults
3
+ // You can find the variables for each component at the bottom of their
4
+ // doc page. We tried to name them to where they'd make sense just by reading them.
5
+ // Go to http://foundation.zurb.com/docs/ to find what you need.
4
6
 
5
- // Grid Settings
6
-
7
- // $rowWidth: 1000px;
8
- // $columnGutter: 30px;
9
- // $totalColumns: 12;
10
- // $mobileTotalColumns: 4;
11
- // $blockGridElements: 12; // Highest number of block grid elements, Maximum of 24 supported
12
-
13
- // Colors Settings
14
-
15
- // $mainColor: #2ba6cb;
16
- // $secondaryColor: #e9e9e9;
17
- // $alertColor: #c60f13;
18
- // $successColor: #5da423;
19
- // $txtColor: #222;
20
- // $highlightColor: #ffff99;
21
- // $black: #000;
22
- // $white: #fff;
23
- // $shinyEdge: rgba(#fff, .5);
24
- // $darkEdge: rgba(#000, .2);
25
-
26
- // Font Settings
27
-
28
- // $fontSmoothing: antialiased;
29
- // $headerFontFamily: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
30
- // $headerFontWeight: bold;
31
- // $headerFontStyle: normal;
32
- // $headerFontColor: #222;
33
- // $bodyFontFamily: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
34
- // $bodyFontWeight: normal;
35
- // $bodyFontStyle: normal;
36
- // $bodyFontColor: $txtColor;
37
-
38
- // Text Direction Settings
39
-
40
- // $textDirection: ltr; // Controls default global text direction, 'rtl' or 'ltr'
41
-
42
- // Button Settings
43
-
44
- // $buttonRadius: 3px;
45
- // $btnBase: 10px;
46
-
47
- // $tinyBtnBase: $btnBase - 5;
48
- // $smallBtnBase: $btnBase - 3;
49
- // $largeBtnBase: $btnBase + 5;
50
-
51
- // Form Settings
52
-
53
- // $formSpacing: 12px;
54
- // $labelFontWeight: 500;
55
- // $labelFontColor: lighten(#000, 30%);
56
- // $labelBtmMargin: 3px;
57
- // $inputFontColor: rgba(0,0,0,0.75);
58
- // $inputFontSize: 14px;
59
- // $inputBgColor: #fff;
60
- // $inputFocusBgColor: darken(#fff, 2%);
61
- // $inputBorderColor: darken(#fff, 20%);
62
- // $inputFocusBorderColor: darken(#fff, 30%);
63
- // $inputBorderStyle: solid;
64
- // $inputBorderWidth: 1px;
65
- // $inputBorderRadius: 2px;
66
- // $fieldsetBorderRadius: 3px;
67
-
68
- // Custom Form Settings
69
-
70
- // $custFormBorderColor: #ccc;
71
- // $custFormBgColor: #fff;
72
- // $custCheckColor: #222;
73
- // $custSelectCurrentFontColor: #141414;
74
- // $custSelectBgColor: #fff;
75
- // $custSelectBorderColor: #ddd;
76
- // $custSelectTriangleColor: #aaa;
77
- // $custSelectTriangleColorOpen: #222;
78
- // $custSelectDropHeight: 200px;
79
- // $custDropdownBgColor: #fff;
80
- // $custDropdownBorderColor: darken(#fff, 20%);
81
- // $custDropdownFontColor: #555;
82
- // $custDropdownSelectedBgColor: lighten(#2ba6cb, 40%);
83
- // $custDropdownSelectedFontColor: #000;
84
- // $custFormDisabledBgColor: #ddd;
85
-
86
- // Tab Settings
87
-
88
- // $tabHeight: 40px;
89
- // $tabTermFontSize: 12px;
90
-
91
- // Nav Bar Settings
92
-
93
- // $navBarHeight: 40px;
94
- // $navFlyoutBaseWidth: 250px;
95
-
96
- // Top Bar Settings
97
-
98
- // $topBarBgColor: #222;
99
- // $topBarHeight: 45px;
100
- // $topBarHeightMobile: 45px;
101
- // $topBarBtmMargin: 30px;
102
- // $topBarTitleWeight: bold;
103
- // $topBarTitleSize: 17px;
104
- // $topBarLinkColor: #fff;
105
- // $topBarLinkWeight: bold;
106
- // $topBarLinkSize: 13px;
107
- // $topBarDropBgColor: #222;
108
- // $topBarDropLinkColor: #fff;
109
- // $topBarDropToggleSize: 5px;
110
- // $topBarDropToggleColor: #fff;
111
- // $topBarDropToggleAlpha: 0.5;
112
- // $topBarSearchWidth: 200px;
113
- // $topBarBreakPoint: 940px; // Change to 9999px for always mobile layout
114
- // $topBarNavToggleSize: 8px;
115
- // $topBarNavToggleColor: #fff;
116
-
117
- // UI Settings
118
-
119
- // $thumbRadius: 3px;
120
- // $progBarHeight: 25px;
121
- // $progBarBorderColor: darken(#fff, 20%);
122
- // $progBarBorderSize: 1px;
123
- // $progBarPad: 2px;
124
- // $linkListBottomMargin: 17px -22px;
125
- // $tableBorderRadius: 3px;
126
- // $alertBorderRadius: 3px;
127
-
128
- // Tooltip Settings
129
-
130
- // $hasTipBorderBottom: dotted 1px #ccc;
131
- // $hasTipFontWeight: bold;
132
- // $hasTipFontColor: #333;
133
- // $hasTipBorderBottomHover: dotted 1px darken($mainColor, 20%);
134
- // $hasTipFontColorHover: $mainColor;
135
- // $tooltipBackgroundColor: #000;
136
- // $tooltipBackgroundOpacity: 0.85;
137
- // $tooltipFontSize: 12px;
138
- // $tooltipFontWeight: bold;
139
- // $tooltipFontColor: #fff;
140
- // $tapToCloseFontSize: 10;
141
- // $tapToCloseFontWeight: normal;
142
- // $tapToCloseFontColor: #888;
143
- // $tooltipFontSizeScreenSm: 14;
144
- // $tooltipBgOpacityScreenSm: 0.85;
145
- // $tooltipBorderRadius: 4px;
146
-
147
- // Pricing Table Settings
148
-
149
- // $priceTableBorder: solid 1px #ddd;
150
- // $priceTitleBgColor: #ddd;
151
- // $priceTitlePadding: 15px 20px;
152
- // $priceTitleAlign: center;
153
- // $priceTitleColor: #333;
154
- // $priceTitleWeight: bold;
155
- // $priceTitleSize: 16px;
156
-
157
- // $priceMoneyBgColor: #eee;
158
- // $priceMoneyPadding: 15px 20px;
159
- // $priceMoneyAlign: center;
160
- // $priceMoneyColor: #333;
161
- // $priceMoneyWeight: normal;
162
- // $priceMoneySize: 20px;
163
-
164
- // $priceBgColor: #fff;
165
- // $priceDescColor: #777;
166
- // $priceDescPadding: 15px;
167
- // $priceDescAlign: center;
168
- // $priceDescFontSize: 12px;
169
- // $priceDescWeight: normal;
170
- // $priceDescLineHeight: 1.4;
171
- // $priceDescBtmBorder: dotted 1px #ddd;
172
-
173
- // $priceItemColor: #333;
174
- // $priceItemPadding: 15px;
175
- // $priceItemAlign: center;
176
- // $priceItemFontSize: 14px;
177
- // $priceItemWeight: normal;
178
- // $priceItemBtmBorder: dotted 1px #ddd;
179
-
180
- // $priceCtaBgColor: #f5f5f5;
181
- // $priceCtaAlign: center;
182
- // $priceCtaPadding: 20px;
183
-
184
- // Orbit Settings
185
-
186
- // $orbitCaptionBgColorOldBrowser: #000;
187
- // $orbitCaptionBgColor: rgba(0,0,0,.6);
188
- // $orbitCaptionFontColor: #fff;
189
- // $orbitBulletNavColor: #999;
190
- // $orbitBulletNavColorActive: #222;
191
- // $orbitHasThumbBorderColor: #000;
192
- // $orbitHasThumbBorderWidth: 2px;
193
- // $orbitHasThumbBorderStyle: solid;
194
- // $orbitSlideNumBgColor: rgba(0,0,0,0.7);
195
- // $orbitSlideNumFontColor: #fff;
196
- // $orbitSlideNumPadding: 5px;
197
-
198
- // Clearing Settings
199
-
200
- // $clearingBg: rgba(0,0,0,0.8);
201
- // $clearingOldBrowserBg: rgb(0,0,0);
202
- // $clearingCaptionBg: rgba(0,0,0,0.7);
203
- // $clearingCaptionOldBrowserBg: rgb(0,0,0);
204
- // $clearingCaptionFontColor: #fff;
205
- // $clearingCloseColor: #fff;
206
- // $clearingArrowColor: #fff;
207
- // $clearingArrowSize: 16px;
208
- // $clearingCarouselBg: rgba(0,0,0,0.75);
209
- // $clearingCarouselOldBrowserBg: rgb(0,0,0);
210
- // $clearingCarouselHeight: 150px;
211
- // $clearingActiveImgHeight: 75%;
212
- // $clearingCarouselThumbWidth: 175px;
213
- // $clearingCarouselThumbActiveBorder: 4px solid rgb(255,255,255);
214
- // $clearingImgBg: rgba(0,0,0,0.75);
215
- // $clearingImgOldBrowserBg: rgb(0,0,0);
216
-
217
- // Joyride Settings
218
-
219
- // $tipBg: rgba(0,0,0,0.8);
220
- // $tipBgIE8: #000;
221
- // $tipFontColor: #fff;
222
- // $tipHeaderWeight: bold;
223
- // $tipDefaultWidth: 300px;
224
- // $tipBorderRadius: 4px;
225
- // $tipPadding: 18px 20px 24px;
226
- // $tipNubSize: 14px;
227
- // $tipFontSize: 14px;
228
- // $tipTimerWidth: 50px;
229
- // $tipTimerHeight: 3px;
230
- // $tipTimerBorder: solid 1px #555;
231
- // $tipTimerColor: #666;
232
- // $tipCloseColor: #777;
233
- // $tipCloseSize: 20px;
234
- // $tipCloseWeight: normal;
235
- // $tipScreenFill: rgba(0,0,0,0.5);
236
-
237
- // Modular Scale Settings
238
-
239
- // $ratio: $golden; // THIS IS DEFAULT IN MODULAR-SCALE
240
- // $baseFontSize: 14px;
241
- // $importantModNum: 44px;
242
- // $base-size: $baseFontSize $importantModNum;
243
- // Produced the following list of values: 14, 17, 23, 27, 37, 44, 59, 71, 95, 115;
244
- // http://www.modularscale.com by Tim Brown
245
- // https://github.com/scottkellum/modular-scale by scottkellum
@@ -1,52 +1,45 @@
1
- // Your custom settings file to override Foundation defaults
2
- @import "settings";
1
+ // Global Foundation Settings
2
+ @import "foundation/foundation-global";
3
3
 
4
4
  // Comment out this import if you are customizing you imports below
5
5
  @import "foundation";
6
6
 
7
- // ----------------------------------------
8
7
  // Import specific parts of Foundation by commenting the import "foundation"
9
8
  // and uncommenting what you want below. You must uncomment the following if customizing
10
9
 
11
- // @import "compass/css3";
12
- // @import "foundation/settings";
13
- // @import "foundation/functions/all";
10
+ // @import
11
+ // "foundation/components/grid",
12
+ // "foundation/components/visibility",
13
+ // "foundation/components/block-grid",
14
+ // "foundation/components/type",
15
+ // "foundation/components/buttons",
16
+ // "foundation/components/forms",
17
+ // "foundation/components/custom-forms",
18
+ // "foundation/components/button-groups",
19
+ // "foundation/components/dropdown-buttons",
20
+ // "foundation/components/split-buttons",
21
+ // "foundation/components/flex-video",
22
+ // "foundation/components/section",
23
+ // "foundation/components/top-bar",
24
+ // "foundation/components/orbit",
25
+ // "foundation/components/reveal",
26
+ // "foundation/components/joyride",
27
+ // "foundation/components/clearing",
28
+ // "foundation/components/alert-boxes",
29
+ // "foundation/components/breadcrumbs",
30
+ // "foundation/components/keystrokes",
31
+ // "foundation/components/labels",
32
+ // "foundation/components/inline-lists",
33
+ // "foundation/components/pagination",
34
+ // "foundation/components/panels",
35
+ // "foundation/components/pricing-tables",
36
+ // "foundation/components/progress-bars",
37
+ // "foundation/components/side-nav",
38
+ // "foundation/components/sub-nav",
39
+ // "foundation/components/switch",
40
+ // "foundation/components/magellan",
41
+ // "foundation/components/tables",
42
+ // "foundation/components/thumbs",
43
+ // "foundation/components/tooltips",
44
+ // "foundation/components/dropdown";
14
45
 
15
- // Control which mixins you have access too
16
-
17
- // @import "foundation/mixins/clearfix";
18
- // @import "foundation/mixins/css-triangle";
19
- // @import "foundation/mixins/font-size";
20
-
21
- // Must include next two for semantic grid to work
22
-
23
- // @import "foundation/mixins/respond-to";
24
- // @import "foundation/mixins/semantic-grid";
25
-
26
- // @import "modular-scale";
27
- // @import "foundation/common/globals";
28
-
29
- // Must include the grid for any responsiveness
30
-
31
- // @import "foundation/components/grid";
32
-
33
- // Control which common styles get compiled
34
-
35
- // @import "foundation/common/typography";
36
- // @import "foundation/common/forms";
37
-
38
- // Control which components you get if customizing
39
-
40
- // @import "foundation/components/modules/buttons";
41
- // @import "foundation/components/modules/tabs";
42
- // @import "foundation/components/modules/ui";
43
- // @import "foundation/components/modules/topbar";
44
- // @import "foundation/components/modules/navbar";
45
- // @import "foundation/components/modules/orbit";
46
- // @import "foundation/components/modules/reveal";
47
- // @import "foundation/components/modules/offcanvas";
48
- // @import "foundation/components/modules/clearing";
49
- // @import "foundation/components/modules/joyride";
50
-
51
- // Media Queries Overrides
52
- // @import "foundation/components/modules/mqueries";
@@ -0,0 +1,396 @@
1
+ /*! normalize.css v2.1.0 | MIT License | git.io/normalize */
2
+
3
+ /* ==========================================================================
4
+ HTML5 display definitions
5
+ ========================================================================== */
6
+
7
+ /**
8
+ * Correct `block` display not defined in IE 8/9.
9
+ */
10
+
11
+ article,
12
+ aside,
13
+ details,
14
+ figcaption,
15
+ figure,
16
+ footer,
17
+ header,
18
+ hgroup,
19
+ main,
20
+ nav,
21
+ section,
22
+ summary {
23
+ display: block;
24
+ }
25
+
26
+ /**
27
+ * Correct `inline-block` display not defined in IE 8/9.
28
+ */
29
+
30
+ audio,
31
+ canvas,
32
+ video {
33
+ display: inline-block;
34
+ }
35
+
36
+ /**
37
+ * Prevent modern browsers from displaying `audio` without controls.
38
+ * Remove excess height in iOS 5 devices.
39
+ */
40
+
41
+ audio:not([controls]) {
42
+ display: none;
43
+ height: 0;
44
+ }
45
+
46
+ /**
47
+ * Address styling not present in IE 8/9.
48
+ */
49
+
50
+ [hidden] {
51
+ display: none;
52
+ }
53
+
54
+ /* ==========================================================================
55
+ Base
56
+ ========================================================================== */
57
+
58
+ /**
59
+ * 1. Set default font family to sans-serif.
60
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
61
+ * user zoom.
62
+ */
63
+
64
+ html {
65
+ font-family: sans-serif; /* 1 */
66
+ -webkit-text-size-adjust: 100%; /* 2 */
67
+ -ms-text-size-adjust: 100%; /* 2 */
68
+ }
69
+
70
+ /**
71
+ * Remove default margin.
72
+ */
73
+
74
+ body {
75
+ margin: 0;
76
+ }
77
+
78
+ /* ==========================================================================
79
+ Links
80
+ ========================================================================== */
81
+
82
+ /**
83
+ * Address `outline` inconsistency between Chrome and other browsers.
84
+ */
85
+
86
+ a:focus {
87
+ outline: thin dotted;
88
+ }
89
+
90
+ /**
91
+ * Improve readability when focused and also mouse hovered in all browsers.
92
+ */
93
+
94
+ a:active,
95
+ a:hover {
96
+ outline: 0;
97
+ }
98
+
99
+ /* ==========================================================================
100
+ Typography
101
+ ========================================================================== */
102
+
103
+ /**
104
+ * Address variable `h1` font-size and margin within `section` and `article`
105
+ * contexts in Firefox 4+, Safari 5, and Chrome.
106
+ */
107
+
108
+ h1 {
109
+ font-size: 2em;
110
+ margin: 0.67em 0;
111
+ }
112
+
113
+ /**
114
+ * Address styling not present in IE 8/9, Safari 5, and Chrome.
115
+ */
116
+
117
+ abbr[title] {
118
+ border-bottom: 1px dotted;
119
+ }
120
+
121
+ /**
122
+ * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
123
+ */
124
+
125
+ b,
126
+ strong {
127
+ font-weight: bold;
128
+ }
129
+
130
+ /**
131
+ * Address styling not present in Safari 5 and Chrome.
132
+ */
133
+
134
+ dfn {
135
+ font-style: italic;
136
+ }
137
+
138
+ /**
139
+ * Address differences between Firefox and other browsers.
140
+ */
141
+
142
+ hr {
143
+ -moz-box-sizing: content-box;
144
+ box-sizing: content-box;
145
+ height: 0;
146
+ }
147
+
148
+ /**
149
+ * Address styling not present in IE 8/9.
150
+ */
151
+
152
+ mark {
153
+ background: #ff0;
154
+ color: #000;
155
+ }
156
+
157
+ /**
158
+ * Correct font family set oddly in Safari 5 and Chrome.
159
+ */
160
+
161
+ code,
162
+ kbd,
163
+ pre,
164
+ samp {
165
+ font-family: monospace, serif;
166
+ font-size: 1em;
167
+ }
168
+
169
+ /**
170
+ * Improve readability of pre-formatted text in all browsers.
171
+ */
172
+
173
+ pre {
174
+ white-space: pre-wrap;
175
+ }
176
+
177
+ /**
178
+ * Set consistent quote types.
179
+ */
180
+
181
+ q {
182
+ quotes: "\201C" "\201D" "\2018" "\2019";
183
+ }
184
+
185
+ /**
186
+ * Address inconsistent and variable font size in all browsers.
187
+ */
188
+
189
+ small {
190
+ font-size: 80%;
191
+ }
192
+
193
+ /**
194
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
195
+ */
196
+
197
+ sub,
198
+ sup {
199
+ font-size: 75%;
200
+ line-height: 0;
201
+ position: relative;
202
+ vertical-align: baseline;
203
+ }
204
+
205
+ sup {
206
+ top: -0.5em;
207
+ }
208
+
209
+ sub {
210
+ bottom: -0.25em;
211
+ }
212
+
213
+ /* ==========================================================================
214
+ Embedded content
215
+ ========================================================================== */
216
+
217
+ /**
218
+ * Remove border when inside `a` element in IE 8/9.
219
+ */
220
+
221
+ img {
222
+ border: 0;
223
+ }
224
+
225
+ /**
226
+ * Correct overflow displayed oddly in IE 9.
227
+ */
228
+
229
+ svg:not(:root) {
230
+ overflow: hidden;
231
+ }
232
+
233
+ /* ==========================================================================
234
+ Figures
235
+ ========================================================================== */
236
+
237
+ /**
238
+ * Address margin not present in IE 8/9 and Safari 5.
239
+ */
240
+
241
+ figure {
242
+ margin: 0;
243
+ }
244
+
245
+ /* ==========================================================================
246
+ Forms
247
+ ========================================================================== */
248
+
249
+ /**
250
+ * Define consistent border, margin, and padding.
251
+ */
252
+
253
+ fieldset {
254
+ border: 1px solid #c0c0c0;
255
+ margin: 0 2px;
256
+ padding: 0.35em 0.625em 0.75em;
257
+ }
258
+
259
+ /**
260
+ * 1. Correct `color` not being inherited in IE 8/9.
261
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
262
+ */
263
+
264
+ legend {
265
+ border: 0; /* 1 */
266
+ padding: 0; /* 2 */
267
+ }
268
+
269
+ /**
270
+ * 1. Correct font family not being inherited in all browsers.
271
+ * 2. Correct font size not being inherited in all browsers.
272
+ * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
273
+ */
274
+
275
+ button,
276
+ input,
277
+ select,
278
+ textarea {
279
+ font-family: inherit; /* 1 */
280
+ font-size: 100%; /* 2 */
281
+ margin: 0; /* 3 */
282
+ }
283
+
284
+ /**
285
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
286
+ * the UA stylesheet.
287
+ */
288
+
289
+ button,
290
+ input {
291
+ line-height: normal;
292
+ }
293
+
294
+ /**
295
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
296
+ * All other form control elements do not inherit `text-transform` values.
297
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
298
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
299
+ */
300
+
301
+ button,
302
+ select {
303
+ text-transform: none;
304
+ }
305
+
306
+ /**
307
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
308
+ * and `video` controls.
309
+ * 2. Correct inability to style clickable `input` types in iOS.
310
+ * 3. Improve usability and consistency of cursor style between image-type
311
+ * `input` and others.
312
+ */
313
+
314
+ button,
315
+ html input[type="button"], /* 1 */
316
+ input[type="reset"],
317
+ input[type="submit"] {
318
+ -webkit-appearance: button; /* 2 */
319
+ cursor: pointer; /* 3 */
320
+ }
321
+
322
+ /**
323
+ * Re-set default cursor for disabled elements.
324
+ */
325
+
326
+ button[disabled],
327
+ html input[disabled] {
328
+ cursor: default;
329
+ }
330
+
331
+ /**
332
+ * 1. Address box sizing set to `content-box` in IE 8/9.
333
+ * 2. Remove excess padding in IE 8/9.
334
+ */
335
+
336
+ input[type="checkbox"],
337
+ input[type="radio"] {
338
+ box-sizing: border-box; /* 1 */
339
+ padding: 0; /* 2 */
340
+ }
341
+
342
+ /**
343
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
344
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
345
+ * (include `-moz` to future-proof).
346
+ */
347
+
348
+ input[type="search"] {
349
+ -webkit-appearance: textfield; /* 1 */
350
+ -moz-box-sizing: content-box;
351
+ -webkit-box-sizing: content-box; /* 2 */
352
+ box-sizing: content-box;
353
+ }
354
+
355
+ /**
356
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
357
+ * on OS X.
358
+ */
359
+
360
+ input[type="search"]::-webkit-search-cancel-button,
361
+ input[type="search"]::-webkit-search-decoration {
362
+ -webkit-appearance: none;
363
+ }
364
+
365
+ /**
366
+ * Remove inner padding and border in Firefox 4+.
367
+ */
368
+
369
+ button::-moz-focus-inner,
370
+ input::-moz-focus-inner {
371
+ border: 0;
372
+ padding: 0;
373
+ }
374
+
375
+ /**
376
+ * 1. Remove default vertical scrollbar in IE 8/9.
377
+ * 2. Improve readability and alignment in all browsers.
378
+ */
379
+
380
+ textarea {
381
+ overflow: auto; /* 1 */
382
+ vertical-align: top; /* 2 */
383
+ }
384
+
385
+ /* ==========================================================================
386
+ Tables
387
+ ========================================================================== */
388
+
389
+ /**
390
+ * Remove most spacing between table cells.
391
+ */
392
+
393
+ table {
394
+ border-collapse: collapse;
395
+ border-spacing: 0;
396
+ }