zurb-foundation 3.0.8 → 3.0.9.rc1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -0
- data/foundation.gemspec +2 -2
- data/lib/foundation/generators/install_generator.rb +1 -1
- data/lib/foundation/version.rb +1 -1
- data/scss/foundation/functions/modular-scale.scss +3 -0
- data/templates/project/scss/app.scss +2 -2
- data/test/forms.html +26 -1
- metadata +11 -13
data/README.md
CHANGED
@@ -33,6 +33,7 @@ WordPress
|
|
33
33
|
|
34
34
|
* [Starter Theme](https://github.com/drewsymo/Foundation) by Drew Morris
|
35
35
|
* [Reverie](http://themefortress.com/reverie/) by Zhen
|
36
|
+
* [WP-Foundation](http://320press.com/wp-foundation/features/) by 320press
|
36
37
|
|
37
38
|
Joomla
|
38
39
|
|
@@ -85,6 +86,10 @@ Grid displayer
|
|
85
86
|
* [Grid displayer bookmarklet](http://alefeuvre.github.com/foundation-grid-displayer/) by [Antoine Lefeuvre](http://twitter.com/jiraisurfer)
|
86
87
|
* [Responsive Design Bookmarklet](http://responsive.victorcoulon.fr/) by [Victor Coulon](https://twitter.com/_victa)
|
87
88
|
|
89
|
+
Modular Scale
|
90
|
+
|
91
|
+
* [Modular Scale](https://github.com/scottkellum/modular-scale) by Mason Wendell and Scott Kellum
|
92
|
+
|
88
93
|
MIT Open Source License
|
89
94
|
=======================
|
90
95
|
|
data/foundation.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.version = Foundation::VERSION
|
17
17
|
|
18
18
|
gem.add_dependency "compass", [">= 0.12.2"]
|
19
|
-
gem.add_dependency "sass", [">= 3.2.0
|
20
|
-
gem.add_dependency "modular-scale", [">= 1.0.
|
19
|
+
gem.add_dependency "sass", [">= 3.2.0"]
|
20
|
+
gem.add_dependency "modular-scale", [">= 1.0.2"]
|
21
21
|
gem.add_dependency "rake"
|
22
22
|
end
|
@@ -7,7 +7,7 @@ module Foundation
|
|
7
7
|
|
8
8
|
def add_assets
|
9
9
|
insert_into_file "app/assets/javascripts/application#{detect_js_format[0]}", "#{detect_js_format[1]} require foundation\n", :after => "jquery_ujs\n"
|
10
|
-
settings_file = File.join(File.dirname(__FILE__),"..","..","..","templates","project","
|
10
|
+
settings_file = File.join(File.dirname(__FILE__),"..","..","..","templates","project","scss","_settings.scss")
|
11
11
|
create_file "app/assets/stylesheets/foundation_and_overrides.scss", File.read(settings_file)
|
12
12
|
append_to_file "app/assets/stylesheets/foundation_and_overrides.scss", "\n@import 'foundation';\n"
|
13
13
|
insert_into_file "app/assets/stylesheets/application#{detect_css_format[0]}", "#{detect_css_format[1]} require foundation_and_overrides\n", :after => "require_self\n"
|
data/lib/foundation/version.rb
CHANGED
@@ -13,16 +13,16 @@
|
|
13
13
|
// @import "foundation/functions/all";
|
14
14
|
// @import "foundation/common/globals";
|
15
15
|
// @import "foundation/mixins/clearfix";
|
16
|
+
// @import "modular-scale";
|
16
17
|
|
17
18
|
// Control which mixins you have access too
|
18
19
|
|
19
20
|
// @import "foundation/mixins/css-triangle";
|
20
21
|
// @import "foundation/mixins/font-size";
|
21
22
|
|
22
|
-
// Must include next
|
23
|
+
// Must include next two for semantic grid to work
|
23
24
|
|
24
25
|
// @import "foundation/mixins/respond-to";
|
25
|
-
|
26
26
|
// @import "foundation/mixins/semantic-grid";
|
27
27
|
|
28
28
|
// Must include the grid for any responsiveness
|
data/test/forms.html
CHANGED
@@ -43,7 +43,32 @@
|
|
43
43
|
<!-- Test Foundation Components Here -->
|
44
44
|
<div class="row">
|
45
45
|
<div class="twelve columns">
|
46
|
-
|
46
|
+
<form class="custom">
|
47
|
+
<div class="row collapse">
|
48
|
+
<div class="eight mobile-three columns">
|
49
|
+
<input type="text" />
|
50
|
+
</div>
|
51
|
+
<div class="four mobile-one columns">
|
52
|
+
<a href="#" class="postfix button">Buscar</a>
|
53
|
+
</div>
|
54
|
+
</div>
|
55
|
+
<div class="row">
|
56
|
+
<div class="six columns">
|
57
|
+
<label for="radio1">
|
58
|
+
<input name="radio1" type="radio" id="radio1"
|
59
|
+
checked="checked" style="display:none;">
|
60
|
+
<span class="custom radio"></span> RB1
|
61
|
+
</label>
|
62
|
+
</div>
|
63
|
+
<div class="six columns">
|
64
|
+
<label for="radio2">
|
65
|
+
<input name="radio1" type="radio" id="radio2"
|
66
|
+
style="display:none;">
|
67
|
+
<span class="custom radio"></span> RB2
|
68
|
+
</label>
|
69
|
+
</div>
|
70
|
+
</div>
|
71
|
+
</form>
|
47
72
|
<a name="general"></a>
|
48
73
|
<h3>Forms</h3>
|
49
74
|
<h4 class="subheader">We set out in Foundation 3 to create an easy to handle, powerful, and versatile form layout system. A combination of form styles and the Foundation grid means you can do basically anything.</h4>
|
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zurb-foundation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
5
|
-
prerelease:
|
4
|
+
version: 3.0.9.rc1
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- ZURB
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-08-
|
12
|
+
date: 2012-08-14 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: compass
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ! '>='
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 3.2.0
|
37
|
+
version: 3.2.0
|
38
38
|
type: :runtime
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ! '>='
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 3.2.0
|
45
|
+
version: 3.2.0
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: modular-scale
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -50,7 +50,7 @@ dependencies:
|
|
50
50
|
requirements:
|
51
51
|
- - ! '>='
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 1.0.
|
53
|
+
version: 1.0.2
|
54
54
|
type: :runtime
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -58,7 +58,7 @@ dependencies:
|
|
58
58
|
requirements:
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.0.
|
61
|
+
version: 1.0.2
|
62
62
|
- !ruby/object:Gem::Dependency
|
63
63
|
name: rake
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,6 +120,7 @@ files:
|
|
120
120
|
- scss/foundation/functions/_all.scss
|
121
121
|
- scss/foundation/functions/_convert-number-to-word.scss
|
122
122
|
- scss/foundation/functions/_grid-calc.scss
|
123
|
+
- scss/foundation/functions/modular-scale.scss
|
123
124
|
- scss/foundation/mixins/_all.scss
|
124
125
|
- scss/foundation/mixins/_clearfix.scss
|
125
126
|
- scss/foundation/mixins/_css-triangle.scss
|
@@ -193,16 +194,13 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
193
194
|
version: '0'
|
194
195
|
segments:
|
195
196
|
- 0
|
196
|
-
hash:
|
197
|
+
hash: -1006410337533300199
|
197
198
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
198
199
|
none: false
|
199
200
|
requirements:
|
200
|
-
- - ! '
|
201
|
+
- - ! '>'
|
201
202
|
- !ruby/object:Gem::Version
|
202
|
-
version:
|
203
|
-
segments:
|
204
|
-
- 0
|
205
|
-
hash: 2494856150602114202
|
203
|
+
version: 1.3.1
|
206
204
|
requirements: []
|
207
205
|
rubyforge_project:
|
208
206
|
rubygems_version: 1.8.23
|