foundation-sass 2.1 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.mkdn +23 -35
- data/lib/foundation-sass.rb +2 -2
- data/templates/project/manifest.rb +44 -57
- data/templates/project/sass/forms.sass +2 -2
- data/templates/project/sass/includes/_mixins.sass +2 -2
- metadata +4 -4
data/README.mkdn
CHANGED
@@ -1,20 +1,34 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
Foundation SASS
|
2
|
+
===============
|
3
|
+
|
4
|
+
To create your first project, you'll need to have foundation-sass installed. Foundation SASS will also install the dependencies it needs to work properly.
|
5
|
+
|
6
|
+
To install from Ruby Gems
|
7
|
+
-------------------------
|
3
8
|
|
4
|
-
To create your first project, navigate to the foundation-sass folder in terminal and install the gem. You'll also need to make sure Compass is installed.
|
5
|
-
|
6
9
|
In Terminal:
|
7
|
-
* sudo gem install compass
|
8
10
|
|
9
|
-
|
11
|
+
* `sudo gem install foundation-sass`
|
12
|
+
|
13
|
+
To install locally
|
14
|
+
------------------
|
10
15
|
|
11
16
|
In Terminal:
|
12
|
-
|
13
|
-
*
|
17
|
+
|
18
|
+
* `git clone git://github.com/zurb/foundation-sass.git`
|
19
|
+
* `cd foundation-sass`
|
20
|
+
* `sudo gem build foundation-sass.gemspec`
|
21
|
+
* `sudo gem install foundation-sass-2.1.gem`
|
22
|
+
|
23
|
+
To create your first project
|
24
|
+
----------------------------
|
25
|
+
|
26
|
+
* `cd path/to/where-you-want-new-project`
|
27
|
+
* .scss syntax: `compass create my_project -r foundation-sass --using foundation-sass --force`
|
28
|
+
* .sass syntax: `compass create my_project -r foundation-sass --using foundation-sass --syntax sass --force`
|
14
29
|
|
15
30
|
Now you should have a new project folder created with the foundation file structure, but with the awesome advantages of having all the css pre-processed with Sass.
|
16
31
|
|
17
|
-
===============================
|
18
32
|
|
19
33
|
Welcome to Foundation
|
20
34
|
=====================
|
@@ -25,19 +39,6 @@ Homepage: http://foundation.zurb.com
|
|
25
39
|
Documentation: http://foundation.zurb.com/docs
|
26
40
|
Download: http://foundation.zurb.com/files/foundation-download.zip
|
27
41
|
|
28
|
-
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).
|
29
|
-
|
30
|
-
Repo Contents
|
31
|
-
=============
|
32
|
-
|
33
|
-
* README
|
34
|
-
* IMAGES - Base images for Orbit and some standard elements
|
35
|
-
* INCLUDES - Header and footer (currently PHP)
|
36
|
-
* index.php
|
37
|
-
* JAVASCRIPTS - jQuery, app.js placeholder, placeholder
|
38
|
-
* MARKETING - the entire marketing site (foundation.zurb.com)
|
39
|
-
* robots.txt - Boilerplate robots file
|
40
|
-
* STYLESHEETS - the Foundation stylesheets
|
41
42
|
|
42
43
|
ZURB
|
43
44
|
====
|
@@ -46,19 +47,6 @@ Foundation was made by [ZURB](http://www.zurb.com), an interaction design and de
|
|
46
47
|
|
47
48
|
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/jobs)?
|
48
49
|
|
49
|
-
Community
|
50
|
-
=========
|
51
|
-
|
52
|
-
Many thanks to all the people working on implementations of Foundation for their favorite framework. If want to get on this list send an email to foundation@zurb.com.
|
53
|
-
|
54
|
-
WordPress
|
55
|
-
|
56
|
-
* [Starter Theme](https://github.com/drewsymo/Foundation) by Drew Morris
|
57
|
-
* [Optional install for roots](https://github.com/retlehs/roots) by Corey Wagehoft
|
58
|
-
|
59
|
-
.NET
|
60
|
-
|
61
|
-
* [NuGet Package for ASP.Net MVC](http://nuget.org/List/Packages/Zurb_Foundation_MPC3) by Edward Charbeneau
|
62
50
|
|
63
51
|
MIT Open Source License
|
64
52
|
=======================
|
data/lib/foundation-sass.rb
CHANGED
@@ -1,66 +1,53 @@
|
|
1
|
-
description
|
1
|
+
description 'foundation-sass'
|
2
2
|
|
3
|
-
#
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
# Sass Files
|
4
|
+
stylesheet 'sass/app.sass', :to => 'app.sass'
|
5
|
+
stylesheet 'sass/forms.sass', :to => 'forms.sass'
|
6
|
+
stylesheet 'sass/globals.sass', :to => 'globals.sass'
|
7
|
+
stylesheet 'sass/ie.sass', :to => 'ie.sass'
|
8
|
+
stylesheet 'sass/orbit.sass', :to => 'orbit.sass'
|
9
|
+
stylesheet 'sass/reveal.sass', :to => 'reveal.sass'
|
10
|
+
stylesheet 'sass/ui.sass', :to => 'ui.sass'
|
11
|
+
stylesheet 'sass/mobile.sass', :to => 'mobile.sass'
|
12
|
+
stylesheet 'sass/grid.sass', :to => 'grid.sass'
|
13
|
+
stylesheet 'sass/typography.sass', :to => 'typography.sass'
|
8
14
|
|
9
|
-
#
|
10
|
-
|
15
|
+
# Sass Mixins
|
16
|
+
stylesheet 'sass/includes/_mixins.sass', :to => 'includes/_mixins.sass'
|
17
|
+
stylesheet 'sass/includes/_settings.sass', :to => 'includes/_settings.sass'
|
18
|
+
stylesheet 'sass/includes/_colors.sass', :to => 'includes/_colors.sass'
|
11
19
|
|
12
|
-
#
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
file "stylesheets/mobile.css", :media => 'screen'
|
21
|
-
file "stylesheets/grid.css", :media => 'screen'
|
22
|
-
file "stylesheets/typography.css", :media => 'screen'
|
20
|
+
# Javascrips
|
21
|
+
javascript 'javascripts/app.js', :to => 'app.js'
|
22
|
+
javascript 'javascripts/forms.jquery.js', :to => 'forms.jquery.js'
|
23
|
+
javascript 'javascripts/jquery.customforms.js', :to => 'jquery.customforms.js'
|
24
|
+
javascript 'javascripts/jquery.min.js', :to => 'jquery.min.js'
|
25
|
+
javascript 'javascripts/jquery.reveal.js', :to => 'jquery.reveal.js'
|
26
|
+
javascript 'javascripts/jquery.orbit-1.3.0.js', :to => 'jquery.orbit-1.3.0.js'
|
27
|
+
javascript 'javascripts/jquery.placeholder.min.js', :to => 'jquery.placeholder.min.js'
|
23
28
|
|
24
|
-
#
|
25
|
-
|
26
|
-
file
|
27
|
-
file
|
28
|
-
file
|
29
|
-
file "images/misc/modal-gloss.png"
|
30
|
-
file "images/misc/table-sorter.png"
|
31
|
-
file "images/orbit/bullets.jpg"
|
32
|
-
file "images/orbit/left-arrow.png"
|
33
|
-
file "images/orbit/loading.gif"
|
34
|
-
file "images/orbit/mask-black.png"
|
35
|
-
file "images/orbit/pause-black.png"
|
36
|
-
file "images/orbit/right-arrow.png"
|
37
|
-
file "images/orbit/rotator-black.png"
|
38
|
-
file "images/orbit/timer-black.png"
|
29
|
+
# Make sure you list all the project template files here in the manifest.
|
30
|
+
html 'index.html'
|
31
|
+
file 'humans.txt'
|
32
|
+
file 'robots.txt'
|
33
|
+
file 'MIT-LICENSE.txt'
|
39
34
|
|
40
|
-
#
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
35
|
+
# Image Files
|
36
|
+
image 'images/misc/button-gloss.png', :to => 'misc/button-gloss.png'
|
37
|
+
image 'images/misc/button-overlay.png', :to => 'misc/button-overlay.png'
|
38
|
+
image 'images/misc/custom-form-sprites.png', :to => 'misc/custom-form-sprites.png'
|
39
|
+
image 'images/misc/input-bg.png', :to => 'misc/input-bg.png'
|
40
|
+
image 'images/misc/modal-gloss.png', :to => 'misc/modal-gloss.png'
|
41
|
+
image 'images/misc/table-sorter.png', :to => 'misc/table-sorter.png'
|
42
|
+
image 'images/orbit/bullets.jpg', :to => 'orbit/bullets.jpg'
|
43
|
+
image 'images/orbit/left-arrow.png', :to => 'orbit/left-arrow.png'
|
44
|
+
image 'images/orbit/loading.gif', :to => 'orbit/loading.gif'
|
45
|
+
image 'images/orbit/mask-black.png', :to => 'orbit/mask-black.png'
|
46
|
+
image 'images/orbit/pause-black.png', :to => 'orbit/pause-black.png'
|
47
|
+
image 'images/orbit/right-arrow.png', :to => 'orbit/right-arrow.png'
|
48
|
+
image 'images/orbit/rotator-black.png', :to => 'orbit/rotator-black.png'
|
49
|
+
image 'images/orbit/timer-black.png', :to => 'orbit/timer-black.png'
|
48
50
|
|
49
|
-
# Sass Files
|
50
|
-
file "sass/app.sass"
|
51
|
-
file "sass/forms.sass"
|
52
|
-
file "sass/globals.sass"
|
53
|
-
file "sass/ie.sass"
|
54
|
-
file "sass/orbit.sass"
|
55
|
-
file "sass/reveal.sass"
|
56
|
-
file "sass/ui.sass"
|
57
|
-
file "sass/mobile.sass"
|
58
|
-
file "sass/grid.sass"
|
59
|
-
file "sass/typography.sass"
|
60
|
-
# Sass Mixins
|
61
|
-
file "sass/includes/_mixins.sass"
|
62
|
-
file "sass/includes/_settings.sass"
|
63
|
-
file "sass/includes/_colors.sass"
|
64
51
|
|
65
52
|
help %Q{
|
66
53
|
|
@@ -4,7 +4,7 @@
|
|
4
4
|
/* Artfully masterminded by ZURB :: Make sure to include app.js if using inline label inputs */
|
5
5
|
|
6
6
|
/* Standard Forms */
|
7
|
-
|
7
|
+
form
|
8
8
|
margin: 0 0 18px
|
9
9
|
label
|
10
10
|
display: block
|
@@ -29,7 +29,7 @@ input.input-text, textarea
|
|
29
29
|
outline: none !important
|
30
30
|
background: #fff
|
31
31
|
&.oversize
|
32
|
-
+font-size(18, $important: true)
|
32
|
+
+font-size(18, $is-important: true)
|
33
33
|
padding: 4px 5px !important
|
34
34
|
&:focus
|
35
35
|
background: #f9f9f9
|
@@ -12,8 +12,8 @@
|
|
12
12
|
|
13
13
|
// Font size mixin to include px and rem
|
14
14
|
|
15
|
-
@mixin font-size($size, $important: false)
|
16
|
-
@if $important
|
15
|
+
@mixin font-size($size, $is-important: false)
|
16
|
+
@if $is-important
|
17
17
|
font-size: $size + px !important
|
18
18
|
font-size: ($size / 10) + rem !important
|
19
19
|
@else
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foundation-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.1.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-12-04 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: compass
|
16
|
-
requirement: &
|
16
|
+
requirement: &70275161103360 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 0.11.5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70275161103360
|
25
25
|
description: ! 'ZURB Foundation all Sassyfied for quickly jumping into foundation
|
26
26
|
using SASS. '
|
27
27
|
email: foundation@zurb.com
|