zurb-foundation-5 5.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.bowerrc +3 -0
- data/.editorconfig +9 -0
- data/.gitignore +46 -0
- data/.travis.yml +34 -0
- data/CONTRIBUTING.md +55 -0
- data/Gemfile +3 -0
- data/Gemfile.lock +16 -0
- data/Gruntfile.js +222 -0
- data/LICENSE +22 -0
- data/README.md +44 -0
- data/bower.json +20 -0
- data/composer.json +9 -0
- data/foundation.gemspec +21 -0
- data/humans.txt +8 -0
- data/js/foundation/foundation.abide.js +299 -0
- data/js/foundation/foundation.accordion.js +54 -0
- data/js/foundation/foundation.alert.js +43 -0
- data/js/foundation/foundation.clearing.js +531 -0
- data/js/foundation/foundation.dropdown.js +306 -0
- data/js/foundation/foundation.equalizer.js +68 -0
- data/js/foundation/foundation.interchange.js +331 -0
- data/js/foundation/foundation.joyride.js +849 -0
- data/js/foundation/foundation.js +609 -0
- data/js/foundation/foundation.magellan.js +173 -0
- data/js/foundation/foundation.offcanvas.js +50 -0
- data/js/foundation/foundation.orbit.js +606 -0
- data/js/foundation/foundation.reveal.js +427 -0
- data/js/foundation/foundation.slider.js +200 -0
- data/js/foundation/foundation.tab.js +168 -0
- data/js/foundation/foundation.tooltip.js +272 -0
- data/js/foundation/foundation.topbar.js +422 -0
- data/karma.conf.js +114 -0
- data/lib/foundation/engine.rb +20 -0
- data/lib/foundation/generators/USAGE +15 -0
- data/lib/foundation/generators/install_generator.rb +54 -0
- data/lib/foundation/generators/templates/application.html.erb +47 -0
- data/lib/foundation/generators/templates/application.html.haml +31 -0
- data/lib/foundation/generators/templates/application.html.slim +35 -0
- data/lib/foundation/sprockets.rb +4 -0
- data/lib/foundation/version.rb +3 -0
- data/lib/scss.js +114 -0
- data/lib/zurb-foundation.rb +33 -0
- data/package.json +48 -0
- data/robots.txt +4 -0
- data/run-tests.sh +83 -0
- data/sache.json +5 -0
- data/scss/foundation.scss +45 -0
- data/scss/foundation/_functions.scss +101 -0
- data/scss/foundation/_settings.scss +1279 -0
- data/scss/foundation/components/_accordion.scss +52 -0
- data/scss/foundation/components/_alert-boxes.scss +126 -0
- data/scss/foundation/components/_block-grid.scss +132 -0
- data/scss/foundation/components/_breadcrumbs.scss +127 -0
- data/scss/foundation/components/_button-groups.scss +108 -0
- data/scss/foundation/components/_buttons.scss +222 -0
- data/scss/foundation/components/_clearing.scss +247 -0
- data/scss/foundation/components/_dropdown-buttons.scss +129 -0
- data/scss/foundation/components/_dropdown.scss +248 -0
- data/scss/foundation/components/_flex-video.scss +51 -0
- data/scss/foundation/components/_forms.scss +496 -0
- data/scss/foundation/components/_global.scss +365 -0
- data/scss/foundation/components/_grid.scss +261 -0
- data/scss/foundation/components/_inline-lists.scss +56 -0
- data/scss/foundation/components/_joyride.scss +220 -0
- data/scss/foundation/components/_keystrokes.scss +61 -0
- data/scss/foundation/components/_labels.scss +104 -0
- data/scss/foundation/components/_magellan.scss +34 -0
- data/scss/foundation/components/_offcanvas.scss +381 -0
- data/scss/foundation/components/_orbit.scss +415 -0
- data/scss/foundation/components/_pagination.scss +150 -0
- data/scss/foundation/components/_panels.scss +91 -0
- data/scss/foundation/components/_pricing-tables.scss +150 -0
- data/scss/foundation/components/_progress-bars.scss +79 -0
- data/scss/foundation/components/_range-slider.scss +148 -0
- data/scss/foundation/components/_reveal-new.scss +0 -0
- data/scss/foundation/components/_reveal.scss +216 -0
- data/scss/foundation/components/_side-nav.scss +93 -0
- data/scss/foundation/components/_split-buttons.scss +191 -0
- data/scss/foundation/components/_sub-nav.scss +125 -0
- data/scss/foundation/components/_switch.scss +294 -0
- data/scss/foundation/components/_tables.scss +97 -0
- data/scss/foundation/components/_tabs.scss +105 -0
- data/scss/foundation/components/_thumbs.scss +68 -0
- data/scss/foundation/components/_tooltips.scss +140 -0
- data/scss/foundation/components/_top-bar.scss +640 -0
- data/scss/foundation/components/_type.scss +493 -0
- data/scss/foundation/components/_visibility.scss +345 -0
- data/scss/foundation/test.html +0 -0
- data/scss/normalize.scss +423 -0
- data/spec/abide/abide.js +173 -0
- data/spec/abide/advanced.html +22 -0
- data/spec/abide/basic.html +13 -0
- data/spec/accordion/accordion.js +94 -0
- data/spec/accordion/basic.html +39 -0
- data/spec/accordion/grid.html +44 -0
- data/spec/accordion/multiexpand.html +20 -0
- data/spec/alert/alert.js +35 -0
- data/spec/alert/basic.html +4 -0
- data/spec/clearing/222.gif +0 -0
- data/spec/clearing/777.gif +0 -0
- data/spec/clearing/basic.html +5 -0
- data/spec/clearing/ccc.gif +0 -0
- data/spec/clearing/clearing.js +55 -0
- data/spec/dropdown/basic.html +10 -0
- data/spec/dropdown/dropdown.js +65 -0
- data/spec/equalizer/basic.html +24 -0
- data/spec/equalizer/equalizer.js +30 -0
- data/spec/framework/framework.js +14 -0
- data/spec/helpers.js +37 -0
- data/spec/interchange/basic.html +3 -0
- data/spec/interchange/interchange.js +60 -0
- data/spec/joyride/joyride.js +14 -0
- data/spec/magellan/magellan.js +14 -0
- data/spec/offcanvas/offcanvas.js +14 -0
- data/spec/orbit/orbit.js +14 -0
- data/spec/reveal/reveal.js +14 -0
- data/spec/tab/tab.js +14 -0
- data/spec/tooltip/tooltip.js +14 -0
- data/spec/topbar/multidropdown.html +60 -0
- data/spec/topbar/sticky.html +31 -0
- data/spec/topbar/topbar.js +96 -0
- metadata +238 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ba9730f5f16fc357df304cb51e83f1ee4bb60357
|
4
|
+
data.tar.gz: 8ec7247beb029abacba3a3837d87c962a4b96db1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 27bc0e592579643a24f09db0b3af92cf0223e11a092fc29bad67f5fda8d101ee88d29cb448d4b93c5068757e2bc633bf4fd1eab099ffdef8c4aeb29e115042bb
|
7
|
+
data.tar.gz: 3b03f695125642b50a5c9c8cef611ed6b72045ba4d2c555fd35b2ab6386fd7db11241b9a2735fa140c693fd09df2b59d2ff88d6f5d30efdfe678344ed7cc9b2f
|
data/.bowerrc
ADDED
data/.editorconfig
ADDED
data/.gitignore
ADDED
@@ -0,0 +1,46 @@
|
|
1
|
+
*.DS_Store
|
2
|
+
*.gem
|
3
|
+
*.orig
|
4
|
+
*.rbc
|
5
|
+
*.rbenv-version
|
6
|
+
*.ruby-version
|
7
|
+
*.scssc
|
8
|
+
*.sublime-*
|
9
|
+
.bundle
|
10
|
+
.config
|
11
|
+
.grunt
|
12
|
+
.idea
|
13
|
+
.sass-cache/*
|
14
|
+
.yardoc
|
15
|
+
|
16
|
+
bower_components
|
17
|
+
dist
|
18
|
+
/docs2/public/*
|
19
|
+
vendor
|
20
|
+
_yardoc
|
21
|
+
coverage
|
22
|
+
docs/public/*
|
23
|
+
InstalledFiles
|
24
|
+
lib/bundler/man
|
25
|
+
marketing/.sass-cache/*
|
26
|
+
node_modules
|
27
|
+
pkg
|
28
|
+
rdoc
|
29
|
+
spec/reports
|
30
|
+
|
31
|
+
test/
|
32
|
+
test/.sass-cache/*
|
33
|
+
test/css
|
34
|
+
test/css/styles.css
|
35
|
+
*.orig
|
36
|
+
node_modules
|
37
|
+
docs/public/*
|
38
|
+
*.scssc
|
39
|
+
*.rbenv-version
|
40
|
+
*.ruby-version
|
41
|
+
/docs2/public/*
|
42
|
+
.settings
|
43
|
+
test/scss/output-test
|
44
|
+
test/tmp
|
45
|
+
test/version_tmp
|
46
|
+
tmp
|
data/.travis.yml
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
language: node_js
|
2
|
+
node_js:
|
3
|
+
- '0.10'
|
4
|
+
branches:
|
5
|
+
only:
|
6
|
+
- master
|
7
|
+
before_install:
|
8
|
+
- npm install -g grunt-cli bower
|
9
|
+
- gem install bundler
|
10
|
+
- bundle install
|
11
|
+
before_script:
|
12
|
+
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
|
13
|
+
- git config --global user.email "mark@zurb.com"
|
14
|
+
- git config --global user.name "mhayes"
|
15
|
+
- bower install
|
16
|
+
script: ./run-tests.sh
|
17
|
+
after_script:
|
18
|
+
- git clone https://mhayes:${GH_TOKEN}@github.com/zurb/bower-foundation.git
|
19
|
+
- rm -rf bower-foundation/*
|
20
|
+
- cp -r dist/assets/* bower-foundation/
|
21
|
+
- cd bower-foundation
|
22
|
+
- git remote rm origin
|
23
|
+
- git remote add origin https://mhayes:${GH_TOKEN}@github.com/zurb/bower-foundation.git
|
24
|
+
- git add -A
|
25
|
+
- git commit -m "Foundation build to bower-foundation"
|
26
|
+
- git push -fq origin master
|
27
|
+
- echo -e "Done with magic\n"
|
28
|
+
env:
|
29
|
+
global:
|
30
|
+
secure: USNBfNsfQFF6UgNzXRXA+8mWc66WvOUXjIH5PRjbBRUfUFZkt0a74P7uW/IMJZ0XlQwbWCphzv6Rh1qfI5bbmh6nwlJtBgP6KCc/GrPyN61YrudmPZfiNrHFkylhELz82CE6oWZjZGRwlCsLa3IADo27azmQx7kJhko5t3war5A=
|
31
|
+
notifications:
|
32
|
+
email:
|
33
|
+
recipients:
|
34
|
+
- eric@zurb.com
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,55 @@
|
|
1
|
+
# Foundation
|
2
|
+
|
3
|
+
This is the Foundation project. We love making super awesome stuff, but even more we like to empower people to make changes on their own. Feel free to fork and improve Foundation.
|
4
|
+
|
5
|
+
## Compass Project
|
6
|
+
|
7
|
+
If you have a compass project and would like updated assets you can run the following command at any given time from within your project directory:
|
8
|
+
|
9
|
+
```bash
|
10
|
+
compass create -r zurb-foundation --using foundation
|
11
|
+
```
|
12
|
+
|
13
|
+
## Development
|
14
|
+
|
15
|
+
Want to test out the Compass templates. Don't recompile the gem every time, use `bundler` like so:
|
16
|
+
|
17
|
+
```bash
|
18
|
+
mkdir demo1
|
19
|
+
cd demo1
|
20
|
+
echo -e 'source "https://rubygems.org"\n
|
21
|
+
gem "zurb-foundation", :path => "/path/to/foundation/repo"\n
|
22
|
+
gem "compass"\n' > Gemfile
|
23
|
+
bundle exec compass create -r zurb-foundation --using foundation
|
24
|
+
```
|
25
|
+
|
26
|
+
On subsequent template updates use:
|
27
|
+
|
28
|
+
```bash
|
29
|
+
bundle exec compass create -r zurb-foundation --using foundation --force
|
30
|
+
```
|
31
|
+
|
32
|
+
## Contributing
|
33
|
+
|
34
|
+
1. Fork it
|
35
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
36
|
+
3. All code should have a 2 space indentation to avoid conflicts.
|
37
|
+
4. Test your changes to the best of your ability.
|
38
|
+
5. Update the documentation to reflect your changes if they add or changes current functionality. Make sure you are in the docs folder, then run `bundle && bundle exec foreman start` to compile to documentation.
|
39
|
+
6. Commit your changes (`git commit -am 'Added some feature'`)
|
40
|
+
7. Push to the branch (`git push origin my-new-feature`)
|
41
|
+
8. Create new Pull Request
|
42
|
+
|
43
|
+
## JavaScript Testing
|
44
|
+
|
45
|
+
The Foundation JS libraries are tested with Jasmine. Grunt can be used to run the test suite.
|
46
|
+
|
47
|
+
1. Install `node.js` and `npm` with `brew install node`
|
48
|
+
* You may need to `source` your bash config or restart your terminal client to make sure your PATH is up to date.
|
49
|
+
2. From the root of the project, install required packages locally with `npm install`
|
50
|
+
3. Install bower with `npm install -g bower` and and required assets locally `bower install`
|
51
|
+
4. Install the command line interface for grunt with `npm install -g grunt-cli`
|
52
|
+
5. Install PhantomJS with `brew install PhantomJS` (we assume you have Chrome and Firefox installed)
|
53
|
+
* If you get connection errors with PhantomJS when running the suite, ensure `node -v` returns `v0.10.12` or later. Upgrade with `brew upgrade node`
|
54
|
+
6. Run `grunt karma:dev` to run the tests with some real browsers
|
55
|
+
7. Run `grunt build:assets` to compile any changes to foundation JS source into testing distribution
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
data/Gruntfile.js
ADDED
@@ -0,0 +1,222 @@
|
|
1
|
+
module.exports = function(grunt) {
|
2
|
+
var hljs = require('highlight.js');
|
3
|
+
hljs.LANGUAGES['scss'] = require('./lib/scss.js')(hljs);
|
4
|
+
|
5
|
+
grunt.initConfig({
|
6
|
+
pkg: grunt.file.readJSON('package.json'),
|
7
|
+
vendor: grunt.file.readJSON('.bowerrc').directory,
|
8
|
+
|
9
|
+
foundation: {
|
10
|
+
js: ['js/foundation/foundation.js', 'js/foundation/foundation.*.js'],
|
11
|
+
scss: ['scss/foundation.scss']
|
12
|
+
},
|
13
|
+
|
14
|
+
jst: {
|
15
|
+
compile: {
|
16
|
+
files: {
|
17
|
+
'dist/docs/assets/js/templates.js': ['doc/templates/*.html']
|
18
|
+
}
|
19
|
+
}
|
20
|
+
},
|
21
|
+
|
22
|
+
assemble: {
|
23
|
+
options: {
|
24
|
+
marked: {
|
25
|
+
highlight: function(code, lang) {
|
26
|
+
if (lang === undefined) lang = 'bash';
|
27
|
+
if (lang === 'html') lang = 'xml';
|
28
|
+
if (lang === 'js') lang = 'javascript';
|
29
|
+
return '<div class="code-container">' + hljs.highlight(lang, code).value + '</div>';
|
30
|
+
}
|
31
|
+
}
|
32
|
+
},
|
33
|
+
dist: {
|
34
|
+
options: {
|
35
|
+
flatten: false,
|
36
|
+
assets: 'dist/docs/assets',
|
37
|
+
data: ['doc/data/*.json'],
|
38
|
+
helpers: ['doc/helpers/*.js'],
|
39
|
+
partials: ['doc/includes/**/*.{html,scss}'],
|
40
|
+
layoutdir: 'doc/layouts',
|
41
|
+
layout: 'default.html'
|
42
|
+
},
|
43
|
+
expand: true,
|
44
|
+
cwd: 'doc/pages',
|
45
|
+
src: '**/*.{html,md}',
|
46
|
+
dest: 'dist/docs/'
|
47
|
+
}
|
48
|
+
},
|
49
|
+
|
50
|
+
sass: {
|
51
|
+
dist: {
|
52
|
+
options: {
|
53
|
+
includePaths: ['scss']
|
54
|
+
},
|
55
|
+
files: {
|
56
|
+
'dist/assets/css/foundation.css': '<%= foundation.scss %>',
|
57
|
+
'dist/assets/css/normalize.css': 'scss/normalize.scss',
|
58
|
+
'dist/docs/assets/css/docs.css': 'doc/assets/scss/docs.scss'
|
59
|
+
}
|
60
|
+
},
|
61
|
+
dist_compressed: {
|
62
|
+
options: {
|
63
|
+
outputStyle:'compressed',
|
64
|
+
includePaths: ['scss']
|
65
|
+
},
|
66
|
+
files: {
|
67
|
+
'dist/assets/css/foundation.min.css': '<%= foundation.scss %>'
|
68
|
+
}
|
69
|
+
}
|
70
|
+
},
|
71
|
+
|
72
|
+
concat: {
|
73
|
+
dist: {
|
74
|
+
files: {
|
75
|
+
'dist/assets/js/foundation.js': '<%= foundation.js %>'
|
76
|
+
}
|
77
|
+
}
|
78
|
+
},
|
79
|
+
|
80
|
+
uglify: {
|
81
|
+
options: {
|
82
|
+
preserveComments: 'some'
|
83
|
+
},
|
84
|
+
dist: {
|
85
|
+
files: {
|
86
|
+
'dist/assets/js/foundation.min.js': ['<%= foundation.js %>'],
|
87
|
+
'dist/docs/assets/js/modernizr.js': ['<%= vendor %>/modernizr/modernizr.js'],
|
88
|
+
'dist/docs/assets/js/all.js': ['vendor/lodash/dist/lodash.min.js','<%= vendor %>/fastclick/lib/fastclick.js', '<%= vendor %>/jquery-placeholder/jquery.placeholder.js', '<%= vendor %>/jquery.autocomplete/dist/jquery.autocomplete.js', '<%= foundation.js %>', 'doc/assets/js/docs.js']
|
89
|
+
}
|
90
|
+
},
|
91
|
+
vendor: {
|
92
|
+
files: {
|
93
|
+
'dist/docs/assets/js/placeholder.js': '<%= vendor %>/jquery-placeholder/jquery.placeholder.js',
|
94
|
+
'dist/docs/assets/js/fastclick.js': '<%= vendor %>/fastclick/lib/fastclick.js',
|
95
|
+
'dist/docs/assets/js/jquery.cookie.js': '<%= vendor %>/jquery.cookie/jquery.cookie.js',
|
96
|
+
'dist/docs/assets/js/jquery.js': '<%= vendor %>/jquery/dist/jquery.js',
|
97
|
+
'dist/docs/assets/js/modernizr.js': '<%= vendor %>/modernizr/modernizr.js'
|
98
|
+
}
|
99
|
+
}
|
100
|
+
},
|
101
|
+
|
102
|
+
copy: {
|
103
|
+
dist: {
|
104
|
+
files: [
|
105
|
+
{expand:true, cwd: 'doc/assets/', src: ['**/*','!{scss,js}/**/*'], dest: 'dist/docs/assets/', filter:'isFile'},
|
106
|
+
{expand:true, cwd: 'js/', src: ['foundation/*.js'], dest: 'dist/assets/js', filter: 'isFile'},
|
107
|
+
{src: '<%= vendor %>/jquery/jquery.min.js', dest: 'dist/docs/assets/js/jquery.js'},
|
108
|
+
{expand:true, cwd: 'scss/', src: '**/*.scss', dest: 'dist/assets/scss/', filter: 'isFile'},
|
109
|
+
{src: 'bower.json', dest: 'dist/assets/'}
|
110
|
+
]
|
111
|
+
}
|
112
|
+
},
|
113
|
+
|
114
|
+
clean: ['dist/'],
|
115
|
+
|
116
|
+
karma: {
|
117
|
+
options: {
|
118
|
+
configFile: 'karma.conf.js',
|
119
|
+
runnerPort: 9999,
|
120
|
+
},
|
121
|
+
continuous: {
|
122
|
+
singleRun: true,
|
123
|
+
browsers: ['TinyPhantomJS', 'SmallPhantomJS']
|
124
|
+
},
|
125
|
+
dev: {
|
126
|
+
singleRun: true,
|
127
|
+
browsers: ['TinyPhantomJS', 'SmallPhantomJS', 'TinyChrome', 'Firefox'],
|
128
|
+
reporters: 'dots'
|
129
|
+
},
|
130
|
+
dev_watch: {
|
131
|
+
background: true,
|
132
|
+
browsers: ['TinyPhantomJS', 'SmallPhantomJS', 'TinyChrome', 'Firefox']
|
133
|
+
},
|
134
|
+
mac: {
|
135
|
+
singleRun: true,
|
136
|
+
browsers: ['TinyPhantomJS', 'SmallPhantomJS', 'TinyChrome', 'Firefox', 'Safari'],
|
137
|
+
reporters: 'dots'
|
138
|
+
},
|
139
|
+
win: {
|
140
|
+
singleRun: true,
|
141
|
+
browsers: ['TinyPhantomJS', 'SmallPhantomJS', 'TinyChrome', 'Firefox', 'IE'],
|
142
|
+
reporters: 'dots'
|
143
|
+
}
|
144
|
+
},
|
145
|
+
|
146
|
+
watch: {
|
147
|
+
grunt: { files: ['Gruntfile.js'] },
|
148
|
+
karma: {
|
149
|
+
files: [
|
150
|
+
'dist/assets/js/*.js',
|
151
|
+
'spec/**/*.js',
|
152
|
+
'dist/assets/css/*.css'
|
153
|
+
],
|
154
|
+
tasks: ['karma:dev_watch:run']
|
155
|
+
},
|
156
|
+
sass: {
|
157
|
+
files: ['scss/**/*.scss', 'doc/assets/**/*.scss'],
|
158
|
+
tasks: ['sass'],
|
159
|
+
options: {
|
160
|
+
livereload:true
|
161
|
+
}
|
162
|
+
},
|
163
|
+
js: {
|
164
|
+
files: ['js/**/*.js', 'doc/assets/js/**/*.js'],
|
165
|
+
tasks: ['copy', 'concat', 'uglify'],
|
166
|
+
options: {livereload:true}
|
167
|
+
},
|
168
|
+
assemble_all: {
|
169
|
+
files: ['doc/{includes,layouts}/**/*.html'],
|
170
|
+
tasks: ['assemble'],
|
171
|
+
options: {livereload:true}
|
172
|
+
},
|
173
|
+
assemble_pages: {
|
174
|
+
files: ['doc/pages/**/*.html'],
|
175
|
+
tasks: ['newer:assemble'],
|
176
|
+
options: {livereload:true}
|
177
|
+
},
|
178
|
+
assets: {
|
179
|
+
options: {cwd: 'doc/assets/', livereload: true},
|
180
|
+
files: ['**/*','!{scss,js}/**/*'],
|
181
|
+
tasks: ['copy']
|
182
|
+
},
|
183
|
+
jst: {
|
184
|
+
files: ['doc/templates/*.html'],
|
185
|
+
tasks: ['jst'],
|
186
|
+
options: {livereload:false}
|
187
|
+
}
|
188
|
+
},
|
189
|
+
|
190
|
+
rsync: {
|
191
|
+
dist: {
|
192
|
+
options: {
|
193
|
+
args: ["--verbose"],
|
194
|
+
src: "./dist/docs/",
|
195
|
+
recursive: true,
|
196
|
+
dest: "/home/deployer/sites/foundation-docs/current",
|
197
|
+
host: "deployer@foundation5.zurb.com"
|
198
|
+
}
|
199
|
+
}
|
200
|
+
}
|
201
|
+
});
|
202
|
+
|
203
|
+
grunt.loadNpmTasks('assemble');
|
204
|
+
grunt.loadNpmTasks('grunt-contrib-clean');
|
205
|
+
grunt.loadNpmTasks('grunt-contrib-concat');
|
206
|
+
grunt.loadNpmTasks('grunt-contrib-copy');
|
207
|
+
grunt.loadNpmTasks('grunt-contrib-uglify');
|
208
|
+
grunt.loadNpmTasks('grunt-contrib-watch');
|
209
|
+
grunt.loadNpmTasks('grunt-karma');
|
210
|
+
grunt.loadNpmTasks('grunt-newer');
|
211
|
+
grunt.loadNpmTasks('grunt-rsync');
|
212
|
+
grunt.loadNpmTasks('grunt-sass');
|
213
|
+
grunt.loadNpmTasks('grunt-contrib-jst');
|
214
|
+
|
215
|
+
grunt.task.registerTask('watch_start', ['karma:dev_watch:start', 'watch']);
|
216
|
+
grunt.registerTask('build:assets', ['clean', 'sass', 'concat', 'uglify', 'copy', 'jst']);
|
217
|
+
grunt.registerTask('build', ['build:assets', 'assemble']);
|
218
|
+
grunt.registerTask('travis', ['build', 'karma:continuous']);
|
219
|
+
grunt.registerTask('develop', ['travis', 'watch_start']);
|
220
|
+
grunt.registerTask('deploy', ['build', 'rsync:dist']);
|
221
|
+
grunt.registerTask('default', ['build', 'watch']);
|
222
|
+
};
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013-2014 ZURB, inc.
|
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,44 @@
|
|
1
|
+
# [Foundation](http://foundation.zurb.com)
|
2
|
+
|
3
|
+
[![Build Status](https://travis-ci.org/zurb/foundation.png)](https://travis-ci.org/zurb/foundation)
|
4
|
+
|
5
|
+
|
6
|
+
Foundation is the most advanced responsive front-end framework in the world. You can quickly prototype and build sites or apps that work on any kind of device with Foundation, which includes layout constructs (like a fully responsive grid), elements and best practices.
|
7
|
+
|
8
|
+
To get started, check out <http://foundation.zurb.com/docs>
|
9
|
+
|
10
|
+
|
11
|
+
## Quickstart
|
12
|
+
|
13
|
+
To get going with Foundation you can:
|
14
|
+
|
15
|
+
* [Download the latest release](http://foundation.zurb.com/cdn/releases/foundation-latest.zip)
|
16
|
+
* [Install with Bower](http://bower.io): `bower install zurb/bower-foundation`
|
17
|
+
|
18
|
+
## Documentation
|
19
|
+
|
20
|
+
Foundation uses [Assemble.io](http://assemble.io) and [Grunt](http://gruntjs.com/) to generate its [documentation pages](http://foundation.zurb.com/docs). Documentation can also be run from your local computer:
|
21
|
+
|
22
|
+
### View documentation locally
|
23
|
+
|
24
|
+
You'll want to clone the Foundation repo first and install all the dependencies. You can do this using the following commands:
|
25
|
+
|
26
|
+
```
|
27
|
+
git clone git@github.com:zurb/foundation.git
|
28
|
+
cd foundation
|
29
|
+
npm install -g grunt-cli bower
|
30
|
+
npm install
|
31
|
+
bower install
|
32
|
+
```
|
33
|
+
|
34
|
+
Then just run `grunt build` and the documentation will be compiled:
|
35
|
+
|
36
|
+
```
|
37
|
+
foundation/
|
38
|
+
├── dist/
|
39
|
+
│ └── ...
|
40
|
+
├────── docs/
|
41
|
+
│ └── ...
|
42
|
+
```
|
43
|
+
|
44
|
+
Copyright (c) 2014 ZURB, inc.
|