zurb-foundation 2.2.1.2 → 3.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (86) hide show
  1. data/.gitignore +17 -2
  2. data/Capfile +5 -0
  3. data/Gemfile +1 -1
  4. data/LICENSE +22 -0
  5. data/README.md +87 -0
  6. data/Rakefile +1 -0
  7. data/config/deploy.rb +42 -0
  8. data/foundation.gemspec +17 -21
  9. data/index.html +138 -0
  10. data/lib/foundation/engine.rb +2 -2
  11. data/lib/foundation/sass_script_functions.rb +29 -0
  12. data/lib/foundation/version.rb +1 -2
  13. data/lib/zurb-foundation.rb +6 -3
  14. data/stylesheets/_foundation.scss +14 -0
  15. data/stylesheets/foundation/_base.scss +6 -0
  16. data/stylesheets/foundation/_mixins.scss +46 -0
  17. data/stylesheets/foundation/_modular-scale.sass +332 -0
  18. data/stylesheets/foundation/_semantic-grid.scss +67 -0
  19. data/stylesheets/foundation/_settings.scss +71 -0
  20. data/stylesheets/foundation/app.scss +26 -0
  21. data/stylesheets/foundation/buttons.scss +175 -0
  22. data/stylesheets/foundation/forms.scss +130 -0
  23. data/stylesheets/foundation/globals.scss +34 -0
  24. data/stylesheets/foundation/grid.scss +132 -0
  25. data/stylesheets/foundation/ie.scss +16 -0
  26. data/stylesheets/foundation/mobile.scss +32 -0
  27. data/stylesheets/foundation/navbar.scss +107 -0
  28. data/stylesheets/foundation/offcanvas.scss +57 -0
  29. data/{vendor/assets/stylesheets/foundation/orbit.css.scss → stylesheets/foundation/orbit.scss} +68 -68
  30. data/stylesheets/foundation/reveal.scss +54 -0
  31. data/stylesheets/foundation/tabs.scss +89 -0
  32. data/stylesheets/foundation/typography.scss +83 -0
  33. data/stylesheets/foundation/ui.scss +352 -0
  34. data/templates/project/.gitignore +44 -0
  35. data/templates/project/MIT-LICENSE.txt +20 -0
  36. data/templates/project/humans.txt +8 -0
  37. data/templates/project/index.html +133 -0
  38. data/templates/project/manifest.rb +51 -0
  39. data/templates/project/robots.txt +4 -0
  40. data/templates/project/sass/_settings.scss +48 -0
  41. data/templates/project/sass/app.scss +20 -0
  42. data/templates/project/sass/ie.scss +4 -0
  43. data/templates/project/stylesheets/app.css +0 -0
  44. data/templates/project/stylesheets/ie.css +0 -0
  45. data/test.html +758 -0
  46. data/type.html +153 -0
  47. data/vendor/assets/images/foundation/orbit/left-arrow-small.png +0 -0
  48. data/vendor/assets/images/foundation/orbit/right-arrow-small.png +0 -0
  49. data/vendor/assets/images/foundation/orbit/right-arrow.png +0 -0
  50. data/vendor/assets/javascripts/foundation/app.js +92 -71
  51. data/vendor/assets/javascripts/foundation/index.js +8 -7
  52. data/vendor/assets/javascripts/foundation/jquery.customforms.js +74 -73
  53. data/vendor/assets/javascripts/foundation/jquery.min.js +4 -0
  54. data/vendor/assets/javascripts/foundation/jquery.offcanvas.js +50 -0
  55. data/vendor/assets/javascripts/foundation/jquery.orbit-1.4.0.js +103 -101
  56. data/vendor/assets/javascripts/foundation/jquery.placeholder.min.js +0 -1
  57. data/vendor/assets/javascripts/foundation/jquery.reveal.js +39 -15
  58. data/vendor/assets/javascripts/foundation/jquery.tooltips.js +96 -90
  59. data/vendor/assets/javascripts/foundation/modernizr.foundation.js +3 -4
  60. metadata +101 -46
  61. data/README.markdown +0 -163
  62. data/build.rb +0 -49
  63. data/lib/foundation/generators/USAGE +0 -15
  64. data/lib/foundation/generators/install_generator.rb +0 -27
  65. data/lib/foundation/generators/layout_generator.rb +0 -28
  66. data/lib/foundation/generators/templates/application.css +0 -5
  67. data/lib/foundation/generators/templates/application.html.erb +0 -31
  68. data/lib/foundation/generators/templates/application.html.haml +0 -30
  69. data/lib/foundation/generators/templates/application.html.slim +0 -30
  70. data/lib/foundation/generators/templates/application.js +0 -4
  71. data/vendor/assets/images/foundation/misc/button-gloss.png +0 -0
  72. data/vendor/assets/images/foundation/misc/button-overlay.png +0 -0
  73. data/vendor/assets/images/foundation/misc/custom-form-sprites.png +0 -0
  74. data/vendor/assets/images/foundation/misc/input-bg-outset.png +0 -0
  75. data/vendor/assets/images/foundation/misc/input-bg.png +0 -0
  76. data/vendor/assets/images/foundation/misc/modal-gloss.png +0 -0
  77. data/vendor/assets/images/foundation/misc/table-sorter.png +0 -0
  78. data/vendor/assets/stylesheets/foundation/forms.css.scss +0 -134
  79. data/vendor/assets/stylesheets/foundation/globals.css.scss +0 -139
  80. data/vendor/assets/stylesheets/foundation/grid.css.scss +0 -129
  81. data/vendor/assets/stylesheets/foundation/ie.css.scss +0 -13
  82. data/vendor/assets/stylesheets/foundation/index.css +0 -10
  83. data/vendor/assets/stylesheets/foundation/mobile.css.scss +0 -222
  84. data/vendor/assets/stylesheets/foundation/reveal.css.scss +0 -100
  85. data/vendor/assets/stylesheets/foundation/typography.css.scss +0 -63
  86. data/vendor/assets/stylesheets/foundation/ui.css.scss +0 -418
data/.gitignore CHANGED
@@ -1,5 +1,20 @@
1
1
  *.gem
2
+ *.rbc
2
3
  .bundle
4
+ .config
5
+ .yardoc
3
6
  Gemfile.lock
4
- .DS_Store
5
- pkg/*
7
+ InstalledFiles
8
+ _yardoc
9
+ coverage
10
+ doc/
11
+ lib/bundler/man
12
+ pkg
13
+ rdoc
14
+ spec/reports
15
+ test/tmp
16
+ test/version_tmp
17
+ tmp
18
+ *.DS_Store
19
+ marketing/.sass-cache/*
20
+ .sass-cache/*
data/Capfile ADDED
@@ -0,0 +1,5 @@
1
+ load 'deploy'
2
+ # Uncomment if you are using Rails' asset pipeline
3
+ # load 'deploy/assets'
4
+ Dir['vendor/gems/*/recipes/*.rb','vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
5
+ load 'config/deploy' # remove this line to skip loading any of the default tasks
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
- source "http://rubygems.org"
1
+ source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in foundation.gemspec
4
4
  gemspec
data/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ Copyright (c) 2012 Mark Hayes
2
+
3
+ MIT License
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,87 @@
1
+ Welcome to Foundation
2
+ =====================
3
+
4
+ Foundation is the most advanced responsive front-end framework in the world. With Foundation you can quickly prototype and build sites or apps that work on any kind of device, with tons of included layout constructs (like a full responsive grid), elements and best practices.
5
+
6
+ Homepage: http://foundation.zurb.com
7
+ Documentation: http://foundation.zurb.com/docs
8
+ Download: http://foundation.zurb.com/download.php
9
+
10
+ Foundation is MIT-licensed and absolutely free to use. Foundation wouldn't be possible without the support of the entire ZURB team, our friends and colleagues who gave feedback, and some luminaries who did some heavy lifting that we took advantage of (thanks guys).
11
+
12
+ Repo Contents
13
+ =============
14
+
15
+ * Base Source and Compilation Files for SCSS
16
+ * Marketing Site
17
+ * Docs
18
+ * README
19
+
20
+ ZURB
21
+ ====
22
+
23
+ Foundation was made by [ZURB](http://www.zurb.com), an interaction design and design strategy firm in Campbell, CA.
24
+
25
+ If Foundation knocks your socks off the way we hope it does and you want more, why not check out [our jobs](http://www.zurb.com/talent)?
26
+
27
+ Community
28
+ =========
29
+
30
+ Many thanks to all the people working on Foundation either to improve the base code or to support specific frameworks. If you want to get on this readme send an email to foundation@zurb.com, and if you have questions you can join the Unofficial Foundation Google Group here: http://groups.google.com/group/foundation-framework-
31
+
32
+ WordPress
33
+
34
+ * [Starter Theme](https://github.com/drewsymo/Foundation) by Drew Morris
35
+ * [Reverie](http://themefortress.com/reverie/) by Zhen
36
+
37
+ Joomla
38
+
39
+ * [Joomla Template](https://github.com/meridiansoftech/joomla_foundation_template) by Arnold Mwumva Ford, Meridian Softech
40
+
41
+ Drupal
42
+
43
+ * [Drupal Theme](https://github.com/drewkennelly/foundation7) by Drew Kennelly
44
+
45
+ Django
46
+
47
+ * [A foundation theme for the Pinax](http://pypi.python.org/pypi/pinax-theme-foundation) by Christopher Clarke, Kwesi Aguillera & Lendl Smith
48
+
49
+ MODX
50
+
51
+ * [MODX Version](http://designfromwithin.com/blog/2012/02/07/foundation-modx/) by Menno Pietersen
52
+
53
+ .NET
54
+
55
+ * [NuGet Package for ASP.Net MVC](http://www.nuget.org/packages/Zurb_Foundation_MVC3) by Edward Charbeneau, @EdCharbeneau
56
+
57
+ Other Implementations
58
+
59
+ * [Mobile First](https://github.com/adamfairhead/mobile-first-foundation) by Adam Fairhead
60
+ * [Less Version](https://github.com/justinmarsan/FoundationLess) by Justin Marsan
61
+ * [Less with Color Scheme](https://github.com/matalin/FoundationLess) by Matalin Hatchard
62
+
63
+ Editors
64
+
65
+ * [Textmate/Sublime Text2 Bundle](https://github.com/liamr/Zurb-Foundation-Textmate-Bundle) by Liam R, @liamr
66
+
67
+ PSD Templates
68
+
69
+ * [Desktop, Tablet and Phone Grid Templates](http://foundation.zurb.com/files/foundation-psd-templates.zip ) by Bruce Abel at Portfolio Creative Services Group
70
+
71
+ Grid Generator
72
+
73
+ * [Experimental Grid Generator](http://www.gridlover.net/foundation/) courtesy of [Ville Vanninen](http://foolproof.me)
74
+
75
+ Grid displayer
76
+
77
+ * [Grid displayer bookmarklet](http://alefeuvre.github.com/foundation-grid-displayer/) by [Antoine Lefeuvre](http://twitter.com/jiraisurfer)
78
+ * [Responsive Design Bookmarklet](http://responsive.victorcoulon.fr/) by [Victor Coulon](https://twitter.com/_victa)
79
+
80
+ MIT Open Source License
81
+ =======================
82
+
83
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
84
+
85
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
86
+
87
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/Rakefile CHANGED
@@ -1 +1,2 @@
1
+ #!/usr/bin/env rake
1
2
  require "bundler/gem_tasks"
data/config/deploy.rb ADDED
@@ -0,0 +1,42 @@
1
+ # use local key for authentication
2
+ ssh_options[:forward_agent] = true
3
+ default_run_options[:pty] = true
4
+
5
+ set :application, "foundation"
6
+ set :repository, "git@github.com:zurb/#{application}.git"
7
+ set :user, application
8
+ set :deploy_to, "/var/www/staging/#{application}"
9
+ set :deploy_via, :remote_cache
10
+ set :use_sudo, false
11
+ set :branch, "master"
12
+
13
+ set :scm, :git
14
+
15
+ server 'app1', :web
16
+
17
+ after "deploy:update_code", "deploy:link_cached_files"
18
+ after "deploy:update_code", "deploy:link_assets"
19
+ set :keep_releases, 3
20
+ after "deploy:update", "deploy:cleanup"
21
+
22
+ namespace :deploy do
23
+ task :default do
24
+ update
25
+ end
26
+
27
+ desc "Symlink cached files"
28
+ task :link_cached_files do
29
+ run "rm -rf #{release_path}/marketing/cache"
30
+ run "ln -nfs #{shared_path}/cache #{release_path}/marketing/cache"
31
+ run "ln -nfs #{release_path}/images/orbit #{release_path}/marketing/images/orbit"
32
+ end
33
+
34
+ desc "Symlink to stylesheets and javascripts"
35
+ task :link_assets do
36
+ run "ln -nfs #{release_path}/stylesheets #{release_path}/marketing/stylesheets"
37
+ run "ln -nfs #{release_path}/javascripts #{release_path}/marketing/javascripts"
38
+ run "ln -nfs #{release_path}/marketing/images #{release_path}/marketing/docs/images"
39
+ run "ln -nfs #{release_path}/marketing/stylesheets #{release_path}/marketing/docs/stylesheets"
40
+ run "ln -nfs #{release_path}/marketing/javascripts #{release_path}/marketing/docs/javascripts"
41
+ end
42
+ end
data/foundation.gemspec CHANGED
@@ -1,26 +1,22 @@
1
1
  # -*- encoding: utf-8 -*-
2
- $:.push File.expand_path("../lib", __FILE__)
3
- require "foundation/version"
2
+ require File.expand_path('../lib/foundation/version', __FILE__)
4
3
 
5
- Gem::Specification.new do |s|
6
- s.name = "zurb-foundation"
7
- s.version = Foundation::VERSION
8
- s.authors = ["ZURB"]
9
- s.email = ["foundation@zurb.com"]
10
- s.homepage = "http://foundation.zurb.com"
11
- s.summary = %q{Get up and running with Foundation in seconds}
12
- s.description = %q{An easy to use, powerful, and flexible framework for building prototypes and production code on any kind of device.}
4
+ Gem::Specification.new do |gem|
5
+ gem.authors = ["ZURB"]
6
+ gem.email = ["foundation@zurb.com"]
7
+ gem.description = %q{ZURB Foundation on SASS/Compass}
8
+ gem.summary = %q{ZURB Foundation on SASS/Compass}
9
+ gem.homepage = "http://foundation.zurb.com"
13
10
 
14
- s.rubyforge_project = "foundation"
11
+ gem.files = `git ls-files`.split($\).reject {|f| /marketing\/*/.match(f)}
12
+ gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
13
+ gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
14
+ gem.name = "zurb-foundation"
15
+ gem.require_paths = ["lib"]
16
+ gem.version = Foundation::VERSION
15
17
 
16
- s.files = `git ls-files`.split("\n")
17
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
18
- s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
19
- s.require_paths = ["lib"]
20
-
21
- # specify any dependencies here; for example:
22
- # s.add_development_dependency "rspec"
23
- # s.add_runtime_dependency "rest-client"
24
- s.add_runtime_dependency "railties", ">= 3.1.0", "< 4.0"
25
- s.add_runtime_dependency "jquery-rails", ">= 1.0"
18
+ gem.add_dependency "compass", [">= 0.12.2"]
19
+ gem.add_dependency "sass", [">= 3.2.0.alpha.244"]
20
+ gem.add_dependency "rake"
21
+ gem.add_development_dependency "capistrano"
26
22
  end
data/index.html ADDED
@@ -0,0 +1,138 @@
1
+ <!DOCTYPE html>
2
+
3
+ <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
4
+ <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
5
+ <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
6
+ <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
7
+ <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
8
+ <head>
9
+ <meta charset="utf-8" />
10
+
11
+ <!-- Set the viewport width to device width for mobile -->
12
+ <meta name="viewport" content="width=device-width" />
13
+
14
+ <title>Welcome to Foundation</title>
15
+
16
+ <!-- Included CSS Files -->
17
+ <link rel="stylesheet" href="marketing/stylesheets/index.css">
18
+
19
+ <!--[if lt IE 9]>
20
+ <link rel="stylesheet" href="marketing/stylesheets/ie.css">
21
+ <![endif]-->
22
+
23
+ <script src="vendor/assets/javascripts/foundation/modernizr.foundation.js"></script>
24
+
25
+ <!-- IE Fix for HTML5 Tags -->
26
+ <!--[if lt IE 9]>
27
+ <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
28
+ <![endif]-->
29
+
30
+ </head>
31
+ <body>
32
+
33
+ <div class="row">
34
+ <div class="twelve columns">
35
+ <h2>Welcome to Foundation</h2>
36
+ <p>This is version 3.0 released on June 30, 2012.</p>
37
+ <hr />
38
+ </div>
39
+ </div>
40
+
41
+ <div class="row">
42
+ <div class="eight columns">
43
+ <h3>The Grid</h3>
44
+
45
+ <!-- Grid Example -->
46
+ <div class="row">
47
+ <div class="twelve columns">
48
+ <div class="panel">
49
+ <p>This is a twelve column section in a row. Each of these includes a div.panel element so you can see where the columns are - it's not required at all for the grid.</p>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <div class="row">
54
+ <div class="six columns">
55
+ <div class="panel">
56
+ <p>Six columns</p>
57
+ </div>
58
+ </div>
59
+ <div class="six columns">
60
+ <div class="panel">
61
+ <p>Six columns</p>
62
+ </div>
63
+ </div>
64
+ </div>
65
+ <div class="row">
66
+ <div class="four columns">
67
+ <div class="panel">
68
+ <p>Four columns</p>
69
+ </div>
70
+ </div>
71
+ <div class="four columns">
72
+ <div class="panel">
73
+ <p>Four columns</p>
74
+ </div>
75
+ </div>
76
+ <div class="four columns">
77
+ <div class="panel">
78
+ <p>Four columns</p>
79
+ </div>
80
+ </div>
81
+ </div>
82
+
83
+ <h3>Tabs</h3>
84
+ <dl class="tabs">
85
+ <dd class="active"><a href="#simple1">Simple Tab 1</a></dd>
86
+ <dd><a href="#simple2">Simple Tab 2</a></dd>
87
+ <dd><a href="#simple3">Simple Tab 3</a></dd>
88
+ </dl>
89
+
90
+ <ul class="tabs-content">
91
+ <li class="active" id="simple1Tab">This is simple tab 1's content. Pretty neat, huh?</li>
92
+ <li id="simple2Tab">This is simple tab 2's content. Now you see it!</li>
93
+ <li id="simple3Tab">This is simple tab 3's content. It's, you know...okay.</li>
94
+ </ul>
95
+
96
+ <h3>Buttons</h3>
97
+
98
+ <div class="row">
99
+ <div class="six columns">
100
+ <p><a href="#" class="small button">Small Button</a></p>
101
+ <p><a href="#" class="button">Medium Button</a></p>
102
+ <p><a href="#" class="large button">Large Button</a></p>
103
+ </div>
104
+ <div class="six columns">
105
+ <p><a href="#" class="small alert button">Small Alert Button</a></p>
106
+ <p><a href="#" class="success button">Medium Success Button</a></p>
107
+ <p><a href="#" class="large secondary button">Large Secondary Button</a></p>
108
+ </div>
109
+ </div>
110
+ </div>
111
+
112
+ <div class="four columns">
113
+ <h4>Getting Started</h4>
114
+ <p>We're stoked you want to try Foundation! To get going, this file (index.html) includes some basic styles you can modify, play around with, or totally destroy to get going.</p>
115
+
116
+ <h4>Other Resources</h4>
117
+ <p>Once you've exhausted the fun in this document, you should check out:</p>
118
+ <ul class="disc">
119
+ <li><a href="http://foundation.zurb.com/docs">Foundation Documentation</a><br />Everything you need to know about using the framework.</li>
120
+ <li><a href="http://github.com/zurb/foundation">Foundation on Github</a><br />Latest code, issue reports, feature requests and more.</li>
121
+ <li><a href="http://twitter.com/foundationzurb">@foundationzurb</a><br />Ping us on Twitter if you have questions. If you build something with this we'd love to see it (and send you a totally boss sticker).</li>
122
+ </ul>
123
+ </div>
124
+ </div>
125
+
126
+
127
+
128
+ <!-- Included JS Files -->
129
+ <script src="vendor/assets/javascripts/foundation/jquery.min.js"></script>
130
+ <script src="vendor/assets/javascripts/foundation/jquery.reveal.js"></script>
131
+ <script src="vendor/assets/javascripts/foundation/jquery.orbit-1.4.0.js"></script>
132
+ <script src="vendor/assets/javascripts/foundation/jquery.customforms.js"></script>
133
+ <script src="vendor/assets/javascripts/foundation/jquery.placeholder.min.js"></script>
134
+ <script src="vendor/assets/javascripts/foundation/jquery.tooltips.js"></script>
135
+ <script src="vendor/assets/javascripts/foundation/app.js"></script>
136
+
137
+ </body>
138
+ </html>
@@ -1,5 +1,5 @@
1
1
  module Foundation
2
2
  class Engine < Rails::Engine
3
- # auto wire assets
3
+ # auto wire assets
4
4
  end
5
- end
5
+ end
@@ -0,0 +1,29 @@
1
+ module Foundation
2
+ module Sass::Script::Functions
3
+ def convert_number_to_word(number)
4
+ val = case number.to_i
5
+ when 1 then "one"
6
+ when 2 then "two"
7
+ when 3 then "three"
8
+ when 4 then "four"
9
+ when 5 then "five"
10
+ when 6 then "six"
11
+ when 7 then "seven"
12
+ when 8 then "eight"
13
+ when 9 then "nine"
14
+ when 10 then "ten"
15
+ when 11 then "eleven"
16
+ when 12 then "twelve"
17
+ when 13 then "thirteen"
18
+ when 14 then "fourteen"
19
+ when 15 then "fifteen"
20
+ when 16 then "sixteen"
21
+ else
22
+ "invalid"
23
+ end
24
+ # Sass::Script::String.new(number.value.en.numwords)
25
+ Sass::Script::String.new(val)
26
+ end
27
+ declare :convert_number_to_word, :args => [:number]
28
+ end
29
+ end
@@ -1,4 +1,3 @@
1
1
  module Foundation
2
- COMMIT = "1215de455fc08d63b795502970e0c77a7183c35d"
3
- VERSION = "2.2.1.2"
2
+ VERSION = "3.0.3"
4
3
  end
@@ -1,7 +1,10 @@
1
1
  require "foundation/version"
2
- require "foundation/generators/layout_generator"
3
- require "foundation/generators/install_generator"
2
+ require "compass"
3
+ extension_path = File.expand_path(File.dirname(File.dirname(__FILE__)))
4
+ config = {:path => extension_path}
5
+ Compass::Frameworks.register("foundation", config)
6
+ require "foundation/sass_script_functions"
4
7
 
5
8
  module Foundation
6
- require "foundation/engine"
9
+ require "foundation/engine" if defined?(Rails)
7
10
  end
@@ -0,0 +1,14 @@
1
+ @import "foundation/base";
2
+ @import "foundation/globals";
3
+ @import "foundation/typography";
4
+ @import "foundation/grid";
5
+ @import "foundation/ui";
6
+ @import "foundation/buttons";
7
+ @import "foundation/tabs";
8
+ @import "foundation/navbar";
9
+ @import "foundation/forms";
10
+ @import "foundation/orbit";
11
+ @import "foundation/reveal";
12
+ @import "foundation/ie";
13
+ @import "foundation/app";
14
+