zurb-foundation 4.0.5 → 4.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/Gemfile.lock +2 -2
- data/README.md +1 -0
- data/{CHANGELOG.md → docs/CHANGELOG.md} +63 -3
- data/docs/Gemfile +1 -0
- data/docs/Gemfile.lock +2 -0
- data/docs/_sidebar-components.html.erb +1 -0
- data/docs/_sidebar.html.erb +1 -0
- data/docs/changelog.html.erb +1 -205
- data/docs/components/alert-boxes.html.erb +1 -1
- data/docs/components/block-grid.html.erb +1 -1
- data/docs/components/breadcrumbs.html.erb +3 -3
- data/docs/components/button-groups.html.erb +1 -1
- data/docs/components/buttons.html.erb +1 -1
- data/docs/components/dropdown-buttons.html.erb +1 -1
- data/docs/components/dropdown.html.erb +1 -1
- data/docs/components/flex-video.html.erb +1 -1
- data/docs/components/forms.html.erb +1 -1
- data/docs/components/global.html.erb +92 -0
- data/docs/components/inline-lists.html.erb +1 -1
- data/docs/components/keystrokes.html.erb +2 -2
- data/docs/components/labels.html.erb +2 -2
- data/docs/components/orbit.html.erb +10 -2
- data/docs/components/pagination.html.erb +1 -1
- data/docs/components/panels.html.erb +1 -1
- data/docs/components/pricing-tables.html.erb +1 -1
- data/docs/components/progress-bars.html.erb +2 -2
- data/docs/components/section.html.erb +18 -0
- data/docs/components/side-nav.html.erb +1 -1
- data/docs/components/split-buttons.html.erb +1 -1
- data/docs/components/sub-nav.html.erb +1 -1
- data/docs/components/switch.html.erb +1 -1
- data/docs/components/thumbnails.html.erb +1 -1
- data/docs/components/top-bar.html.erb +5 -5
- data/docs/css/docs.scss +0 -1
- data/docs/layout.html.erb +2 -3
- data/docs/sass.html.erb +21 -14
- data/js/foundation/foundation.clearing.js +2 -0
- data/js/foundation/foundation.dropdown.js +10 -10
- data/js/foundation/foundation.joyride.js +9 -12
- data/js/foundation/foundation.js +28 -2
- data/js/foundation/foundation.orbit.js +17 -9
- data/js/foundation/foundation.reveal.js +6 -2
- data/js/foundation/foundation.section.js +30 -18
- data/js/foundation/foundation.topbar.js +18 -8
- data/lib/foundation/generators/USAGE +6 -5
- data/lib/foundation/generators/install_generator.rb +9 -9
- data/lib/foundation/generators/templates/application.html.erb +40 -37
- data/lib/foundation/generators/templates/application.html.haml +5 -2
- data/lib/foundation/generators/templates/application.html.slim +6 -5
- data/lib/foundation/version.rb +1 -1
- data/scss/foundation/_foundation-global.scss +19 -4
- data/scss/foundation/components/_alert-boxes.scss +1 -1
- data/scss/foundation/components/_breadcrumbs.scss +4 -4
- data/scss/foundation/components/_button-groups.scss +8 -8
- data/scss/foundation/components/_buttons.scss +4 -3
- data/scss/foundation/components/_custom-forms.scss +175 -171
- data/scss/foundation/components/_dropdown-buttons.scss +1 -1
- data/scss/foundation/components/_dropdown.scss +1 -1
- data/scss/foundation/components/_flex-video.scss +1 -1
- data/scss/foundation/components/_forms.scss +91 -89
- data/scss/foundation/components/_global.scss +7 -2
- data/scss/foundation/components/_grid.scss +3 -3
- data/scss/foundation/components/_inline-lists.scss +1 -1
- data/scss/foundation/components/_keystrokes.scss +2 -2
- data/scss/foundation/components/_labels.scss +3 -3
- data/scss/foundation/components/_magellan.scss +1 -1
- data/scss/foundation/components/_pagination.scss +1 -1
- data/scss/foundation/components/_panels.scss +1 -1
- data/scss/foundation/components/_pricing-tables.scss +1 -1
- data/scss/foundation/components/_progress-bars.scss +2 -2
- data/scss/foundation/components/_reveal.scss +1 -1
- data/scss/foundation/components/_section.scss +1 -1
- data/scss/foundation/components/_side-nav.scss +1 -1
- data/scss/foundation/components/_split-buttons.scss +1 -1
- data/scss/foundation/components/_sub-nav.scss +1 -1
- data/scss/foundation/components/_switch.scss +3 -3
- data/scss/foundation/components/_thumbs.scss +1 -1
- data/scss/foundation/components/_top-bar.scss +4 -1
- data/scss/foundation/components/_visibility.scss +273 -274
- data/templates/project/scss/_settings.scss +4 -4
- data/templates/project/scss/app.scss +8 -8
- data/templates/upgrade/manifest.rb +7 -12
- metadata +6 -6
- data/index.html +0 -113
@@ -376,7 +376,7 @@
|
|
376
376
|
// $crumb-border-size: 1px;
|
377
377
|
// $crumb-border-style: solid;
|
378
378
|
// $crumb-border-color: darken($crumb-bg, $crumb-function-factor);
|
379
|
-
// $crumb-radius: $
|
379
|
+
// $crumb-radius: $global-radius;
|
380
380
|
|
381
381
|
// We use these to set various text styles for breadcrumbs.
|
382
382
|
// $crumb-font-size: emCalc(11px);
|
@@ -573,7 +573,7 @@
|
|
573
573
|
// $keystroke-border-style: solid;
|
574
574
|
// $keystroke-border-width: 1px;
|
575
575
|
// $keystroke-border-color: darken($keystroke-bg, $keystroke-function-factor);
|
576
|
-
// $keystroke-radius: $
|
576
|
+
// $keystroke-radius: $global-radius;
|
577
577
|
|
578
578
|
//
|
579
579
|
// Label Variables
|
@@ -581,7 +581,7 @@
|
|
581
581
|
|
582
582
|
// We use these to style the labels
|
583
583
|
// $label-padding: emCalc(3px) emCalc(10px) emCalc(4px);
|
584
|
-
// $label-radius: $
|
584
|
+
// $label-radius: $global-radius;
|
585
585
|
|
586
586
|
// We use these to style the label text
|
587
587
|
// $label-font-size: emCalc(14px);
|
@@ -732,7 +732,7 @@
|
|
732
732
|
// $progress-bar-border-color: darken(#fff, 20%);
|
733
733
|
// $progress-bar-border-size: 1px;
|
734
734
|
// $progress-bar-border-style: solid;
|
735
|
-
// $progress-bar-border-radius: $
|
735
|
+
// $progress-bar-border-radius: $global-radius;
|
736
736
|
|
737
737
|
// We use these to control the margin & padding
|
738
738
|
// $progress-bar-pad: emCalc(2px);
|
@@ -7,21 +7,21 @@
|
|
7
7
|
// Import specific parts of Foundation by commenting the import "foundation"
|
8
8
|
// and uncommenting what you want below. You must uncomment the following if customizing
|
9
9
|
|
10
|
-
// @import "foundation/foundation-global";
|
11
|
-
// @import "foundation/components/global";
|
10
|
+
// @import "foundation/foundation-global"; // *always required
|
11
|
+
// @import "foundation/components/global"; // *always required
|
12
12
|
// @import "foundation/components/grid";
|
13
13
|
// @import "foundation/components/visibility";
|
14
14
|
// @import "foundation/components/block-grid";
|
15
15
|
// @import "foundation/components/type";
|
16
16
|
// @import "foundation/components/buttons";
|
17
|
-
// @import "foundation/components/forms";
|
18
|
-
// @import "foundation/components/custom-forms";
|
19
|
-
// @import "foundation/components/button-groups";
|
20
|
-
// @import "foundation/components/dropdown-buttons";
|
21
|
-
// @import "foundation/components/split-buttons";
|
17
|
+
// @import "foundation/components/forms"; // *requires components/buttons
|
18
|
+
// @import "foundation/components/custom-forms"; // *requires components/buttons, components/forms
|
19
|
+
// @import "foundation/components/button-groups"; // *requires components/buttons
|
20
|
+
// @import "foundation/components/dropdown-buttons"; // *requires components/buttons
|
21
|
+
// @import "foundation/components/split-buttons"; // *requires components/buttons
|
22
22
|
// @import "foundation/components/flex-video";
|
23
23
|
// @import "foundation/components/section";
|
24
|
-
// @import "foundation/components/top-bar";
|
24
|
+
// @import "foundation/components/top-bar"; // *requires components/grid
|
25
25
|
// @import "foundation/components/orbit";
|
26
26
|
// @import "foundation/components/reveal";
|
27
27
|
// @import "foundation/components/joyride";
|
@@ -1,15 +1,8 @@
|
|
1
1
|
description 'Foundation Compass Gem'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
def copy_images_from(relative_path, prefix_path)
|
7
|
-
absolute_path = File.join(File.dirname(__FILE__), relative_path, prefix_path)
|
8
|
-
Dir.glob("#{absolute_path}/*.*") do |img|
|
9
|
-
image "#{relative_path}/#{prefix_path}/#{File.basename(img)}",
|
10
|
-
:to => "#{prefix_path}/#{File.basename(img)}"
|
11
|
-
end
|
12
|
-
end
|
3
|
+
stylesheet '../project/scss/_settings.scss', :to => '_settings.scss'
|
4
|
+
stylesheet '../project/scss/app.scss', :to => 'app.scss'
|
5
|
+
stylesheet '../../scss/normalize.scss', :to => 'normalize.scss', :media => "screen, projector, print"
|
13
6
|
|
14
7
|
def copy_js_from(relative_path, prefix_path, excludes=[])
|
15
8
|
absolute_path = File.join(File.dirname(__FILE__), relative_path, prefix_path)
|
@@ -21,8 +14,10 @@ def copy_js_from(relative_path, prefix_path, excludes=[])
|
|
21
14
|
end
|
22
15
|
end
|
23
16
|
|
24
|
-
|
25
|
-
copy_js_from("../../
|
17
|
+
javascripts = copy_js_from("../../js", "foundation", ["index.js"])
|
18
|
+
copy_js_from("../../js", "vendor")
|
19
|
+
|
20
|
+
html '../project/index.html', :erb => true, :javascripts => javascripts, :version => Foundation::VERSION, :to => 'upgrade.html'
|
26
21
|
|
27
22
|
help %Q{
|
28
23
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zurb-foundation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-03-
|
12
|
+
date: 2013-03-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sass
|
@@ -52,7 +52,6 @@ extra_rdoc_files: []
|
|
52
52
|
files:
|
53
53
|
- .gitignore
|
54
54
|
- .rbenv-version
|
55
|
-
- CHANGELOG.md
|
56
55
|
- CONTRIBUTING.md
|
57
56
|
- Gemfile
|
58
57
|
- Gemfile.lock
|
@@ -60,6 +59,7 @@ files:
|
|
60
59
|
- LICENSE
|
61
60
|
- README.md
|
62
61
|
- Rakefile
|
62
|
+
- docs/CHANGELOG.md
|
63
63
|
- docs/Capfile
|
64
64
|
- docs/Gemfile
|
65
65
|
- docs/Gemfile.lock
|
@@ -80,6 +80,7 @@ files:
|
|
80
80
|
- docs/components/dropdown.html.erb
|
81
81
|
- docs/components/flex-video.html.erb
|
82
82
|
- docs/components/forms.html.erb
|
83
|
+
- docs/components/global.html.erb
|
83
84
|
- docs/components/grid.html.erb
|
84
85
|
- docs/components/inline-lists.html.erb
|
85
86
|
- docs/components/joyride.html.erb
|
@@ -138,7 +139,6 @@ files:
|
|
138
139
|
- docs/sass.html.erb
|
139
140
|
- docs/support.html.erb
|
140
141
|
- foundation.gemspec
|
141
|
-
- index.html
|
142
142
|
- js/foundation/foundation.alerts.js
|
143
143
|
- js/foundation/foundation.clearing.js
|
144
144
|
- js/foundation/foundation.cookie.js
|
@@ -229,7 +229,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
229
229
|
version: '0'
|
230
230
|
segments:
|
231
231
|
- 0
|
232
|
-
hash:
|
232
|
+
hash: -3158140803061983310
|
233
233
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
234
234
|
none: false
|
235
235
|
requirements:
|
@@ -238,7 +238,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
238
238
|
version: '0'
|
239
239
|
segments:
|
240
240
|
- 0
|
241
|
-
hash:
|
241
|
+
hash: -3158140803061983310
|
242
242
|
requirements: []
|
243
243
|
rubyforge_project:
|
244
244
|
rubygems_version: 1.8.23
|
data/index.html
DELETED
@@ -1,113 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
|
3
|
-
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
|
4
|
-
<head>
|
5
|
-
<meta charset="utf-8" />
|
6
|
-
|
7
|
-
<!-- Set the viewport width to device width for mobile -->
|
8
|
-
<meta name="viewport" content="width=device-width" />
|
9
|
-
|
10
|
-
<title>Welcome to Foundation</title>
|
11
|
-
|
12
|
-
<!-- Included CSS Files -->
|
13
|
-
<link rel="stylesheet" href="docs/css/foundation.css">
|
14
|
-
|
15
|
-
<script src="js/vendor/custom.modernizr.js"></script>
|
16
|
-
|
17
|
-
</head>
|
18
|
-
<body>
|
19
|
-
|
20
|
-
<div class="row">
|
21
|
-
<div class="twelve columns">
|
22
|
-
<h2>Welcome to Foundation</h2>
|
23
|
-
<p>This is version 4.0 released on SOON :).</p>
|
24
|
-
<hr />
|
25
|
-
</div>
|
26
|
-
</div>
|
27
|
-
|
28
|
-
<div class="row">
|
29
|
-
<div class="eight columns">
|
30
|
-
<h3>The Grid</h3>
|
31
|
-
|
32
|
-
<!-- Grid Example -->
|
33
|
-
<div class="row">
|
34
|
-
<div class="twelve columns">
|
35
|
-
<div class="panel">
|
36
|
-
<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>
|
37
|
-
</div>
|
38
|
-
</div>
|
39
|
-
</div>
|
40
|
-
<div class="row">
|
41
|
-
<div class="six columns">
|
42
|
-
<div class="panel">
|
43
|
-
<p>Six columns</p>
|
44
|
-
</div>
|
45
|
-
</div>
|
46
|
-
<div class="six columns">
|
47
|
-
<div class="panel">
|
48
|
-
<p>Six columns</p>
|
49
|
-
</div>
|
50
|
-
</div>
|
51
|
-
</div>
|
52
|
-
<div class="row">
|
53
|
-
<div class="four columns">
|
54
|
-
<div class="panel">
|
55
|
-
<p>Four columns</p>
|
56
|
-
</div>
|
57
|
-
</div>
|
58
|
-
<div class="four columns">
|
59
|
-
<div class="panel">
|
60
|
-
<p>Four columns</p>
|
61
|
-
</div>
|
62
|
-
</div>
|
63
|
-
<div class="four columns">
|
64
|
-
<div class="panel">
|
65
|
-
<p>Four columns</p>
|
66
|
-
</div>
|
67
|
-
</div>
|
68
|
-
</div>
|
69
|
-
|
70
|
-
<h3>Tabs</h3>
|
71
|
-
<dl class="tabs">
|
72
|
-
<dd class="active"><a href="#simple1">Simple Tab 1</a></dd>
|
73
|
-
<dd><a href="#simple2">Simple Tab 2</a></dd>
|
74
|
-
<dd><a href="#simple3">Simple Tab 3</a></dd>
|
75
|
-
</dl>
|
76
|
-
|
77
|
-
<ul class="tabs-content">
|
78
|
-
<li class="active" id="simple1Tab">This is simple tab 1's content. Pretty neat, huh?</li>
|
79
|
-
<li id="simple2Tab">This is simple tab 2's content. Now you see it!</li>
|
80
|
-
<li id="simple3Tab">This is simple tab 3's content. It's, you know...okay.</li>
|
81
|
-
</ul>
|
82
|
-
|
83
|
-
<h3>Buttons</h3>
|
84
|
-
|
85
|
-
<div class="row">
|
86
|
-
<div class="six columns">
|
87
|
-
<p><a href="#" class="small button">Small Button</a></p>
|
88
|
-
<p><a href="#" class="button">Medium Button</a></p>
|
89
|
-
<p><a href="#" class="large button">Large Button</a></p>
|
90
|
-
</div>
|
91
|
-
<div class="six columns">
|
92
|
-
<p><a href="#" class="small alert button">Small Alert Button</a></p>
|
93
|
-
<p><a href="#" class="success button">Medium Success Button</a></p>
|
94
|
-
<p><a href="#" class="large secondary button">Large Secondary Button</a></p>
|
95
|
-
</div>
|
96
|
-
</div>
|
97
|
-
</div>
|
98
|
-
|
99
|
-
<div class="four columns">
|
100
|
-
<h4>Getting Started</h4>
|
101
|
-
<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>
|
102
|
-
|
103
|
-
<h4>Other Resources</h4>
|
104
|
-
<p>Once you've exhausted the fun in this document, you should check out:</p>
|
105
|
-
<ul class="disc">
|
106
|
-
<li><a href="http://foundation.zurb.com/docs">Foundation Documentation</a><br />Everything you need to know about using the framework.</li>
|
107
|
-
<li><a href="http://github.com/zurb/foundation">Foundation on Github</a><br />Latest code, issue reports, feature requests and more.</li>
|
108
|
-
<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>
|
109
|
-
</ul>
|
110
|
-
</div>
|
111
|
-
</div>
|
112
|
-
</body>
|
113
|
-
</html>
|