zurb-foundation 3.0.7 → 3.0.8.rc1

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.
Files changed (69) hide show
  1. data/.gitignore +2 -0
  2. data/CONTRIBUTING.md +43 -0
  3. data/Gemfile.lock +2 -27
  4. data/README.md +2 -2
  5. data/foundation.gemspec +1 -3
  6. data/index.html +12 -6
  7. data/lib/foundation/version.rb +1 -1
  8. data/lib/zurb-foundation.rb +11 -4
  9. data/{stylesheets → scss}/foundation/_settings.scss +17 -2
  10. data/{stylesheets → scss}/foundation/common/_base.scss +0 -0
  11. data/{stylesheets → scss}/foundation/common/_forms.scss +2 -2
  12. data/{stylesheets → scss}/foundation/common/_globals.scss +3 -0
  13. data/{stylesheets → scss}/foundation/common/_typography.scss +7 -5
  14. data/{stylesheets → scss}/foundation/components/_grid.scss +34 -19
  15. data/{stylesheets → scss}/foundation/components/modules/_all.scss +1 -1
  16. data/{stylesheets → scss}/foundation/components/modules/_buttons.scss +14 -12
  17. data/{stylesheets → scss}/foundation/components/modules/_navbar.scss +0 -0
  18. data/{stylesheets → scss}/foundation/components/modules/_offcanvas.scss +0 -0
  19. data/{stylesheets → scss}/foundation/components/modules/_orbit.scss +0 -0
  20. data/{stylesheets → scss}/foundation/components/modules/_reveal.scss +1 -0
  21. data/{stylesheets → scss}/foundation/components/modules/_tabs.scss +6 -4
  22. data/{stylesheets → scss}/foundation/components/modules/_ui.scss +19 -29
  23. data/{stylesheets → scss}/foundation/functions/_all.scss +0 -0
  24. data/{stylesheets → scss}/foundation/functions/_convert-number-to-word.scss +0 -0
  25. data/{stylesheets → scss}/foundation/functions/_grid-calc.scss +0 -0
  26. data/{stylesheets → scss}/foundation/functions/_modular-scale.sass +0 -0
  27. data/{stylesheets → scss}/foundation/mixins/_all.scss +0 -0
  28. data/{stylesheets → scss}/foundation/mixins/_clearfix.scss +0 -0
  29. data/{stylesheets → scss}/foundation/mixins/_css-triangle.scss +0 -0
  30. data/{stylesheets → scss}/foundation/mixins/_font-size.scss +2 -0
  31. data/{stylesheets → scss}/foundation/mixins/_respond-to.scss +0 -0
  32. data/{stylesheets → scss}/foundation/mixins/_semantic-grid.scss +28 -8
  33. data/{stylesheets → scss}/foundation.scss +2 -2
  34. data/templates/project/index.html +12 -12
  35. data/templates/project/manifest.rb +27 -42
  36. data/templates/project/{sass → scss}/_settings.scss +17 -0
  37. data/templates/project/{sass → scss}/app.scss +4 -4
  38. data/templates/upgrade/manifest.rb +39 -0
  39. data/test/buttons.html +184 -0
  40. data/test/config.rb +11 -0
  41. data/test/elements.html +339 -0
  42. data/test/forms.html +376 -0
  43. data/test/grid.html +560 -0
  44. data/test/images/orbit-demo/demo1.jpeg +0 -0
  45. data/test/images/orbit-demo/demo2.jpeg +0 -0
  46. data/test/images/orbit-demo/demo3.jpeg +0 -0
  47. data/test/images/orbit-demo/slider-background.jpeg +0 -0
  48. data/test/index.html +84 -0
  49. data/test/navigation.html +239 -0
  50. data/test/orbit.html +106 -0
  51. data/test/reveal.html +78 -0
  52. data/test/scss/_settings.scss +75 -0
  53. data/test/scss/styles.scss +2 -0
  54. data/test/tabs.html +184 -0
  55. data/test/template.html +60 -0
  56. data/test/type.html +194 -0
  57. data/vendor/assets/javascripts/foundation/app.js +5 -4
  58. data/vendor/assets/javascripts/foundation/index.js +1 -0
  59. data/vendor/assets/javascripts/foundation/jquery.foundation.buttons.js +6 -2
  60. data/vendor/assets/javascripts/foundation/jquery.foundation.forms.js +7 -7
  61. data/vendor/assets/javascripts/foundation/jquery.foundation.mediaQueryToggle.js +21 -0
  62. data/vendor/assets/javascripts/foundation/jquery.foundation.orbit.js +2 -1
  63. metadata +73 -75
  64. data/config/assets.yml +0 -58
  65. data/public/assets/foundation.js +0 -11
  66. data/public/assets/jquery.js +0 -23
  67. data/test.html +0 -232
  68. data/test2.html +0 -320
  69. data/type.html +0 -134
@@ -2,21 +2,23 @@
2
2
 
3
3
  // Outer row mixin for container rows
4
4
 
5
- @mixin outerRow() { width: $rowWidth; max-width: 100%; min-width: $screenSmall; margin: 0 auto; @include clearfix(); }
5
+ @mixin outerRow() { width: $rowWidth; max-width: 100%; min-width: $screenSmall; margin: 0 auto; @extend %clearfix; }
6
6
 
7
7
  // Inner row mixin for nested rows, must be a child of an outer-row element. $behavior can be 'collapse' to get rid of margins
8
8
 
9
+ @mixin innerRowBase { width: auto; max-width: none; min-width: 0; }
9
10
  @mixin innerRow($behavior: false) {
10
- @if $behavior == collapse { width: auto; max-width: none; min-width: 0; margin: 0; @include clearfix();
11
- } @else { width: auto; max-width: none; min-width: 0; margin: 0 (-($columnGutter/2)); @include clearfix(); }
11
+ @if $behavior == collapse { @extend %row-i-base; margin: 0; @extend %clearfix;
12
+ } @else { @extend %row-i-base; margin: 0 (-($columnGutter/2)); @extend %clearfix; }
12
13
  }
13
14
 
14
15
  // Columns mixin, syntax is ($columns, $behavior). Behavior can be 'centered' which centers things or 'collapse' which collapses the gutters. ex @include row(4,[center | collapse])
15
16
 
17
+ @mixin columnBase { position: relative; min-height: 1px; padding: 0 ($columnGutter/2); }
16
18
  @mixin column($columns:$columns, $behavior: false) {
17
- @if $behavior == center { float: none; margin: 0 auto; position: relative; min-height: 1px; padding: 0 ($columnGutter/2); width: gridCalc($columns, $totalColumns);
18
- } @else if $behavior == collapse { float: left; position: relative; min-height: 1px; padding: 0; width: gridCalc($columns, $totalColumns);
19
- } @else { float: left; position: relative; min-height: 1px; padding: 0 ($columnGutter/2); width: gridCalc($columns, $totalColumns); }
19
+ @if $behavior == center { @extend %fl-n; margin: 0 auto !important; @extend %c-base; width: gridCalc($columns, $totalColumns);
20
+ } @else if $behavior == collapse { @extend %fl-l; @extend %c-base; padding: 0; width: gridCalc($columns, $totalColumns);
21
+ } @else { @extend %fl-l; @extend %c-base; width: gridCalc($columns, $totalColumns); }
20
22
  }
21
23
 
22
24
  // Offset Mixin, include after a column mixin to manipulate its grid offset.
@@ -35,12 +37,30 @@
35
37
  // Mobile Columns, syntax is @include mobile-column(#);
36
38
 
37
39
  @mixin mobileColumn($columns:$columns, $behavior: false) {
38
- @if $behavior == center { @include respondTo(smallScreen) { float: none; margin: 0 auto; position: relative; min-height: 1px; padding: 0 ($columnGutter/2); width: gridCalc($columns, $mobileTotalColumns); }
40
+ @if $behavior == center { @include respondTo(smallScreen) { float: none; margin: 0 auto; position: relative; min-height: 1px; padding: 0 ($columnGutter/2); width: gridCalc($columns, $mobileTotalColumns); }
39
41
  } @else if $behavior == collapse { @include respondTo(smallScreen) { float: left; position: relative; min-height: 1px; padding: 0; width: gridCalc($columns, $mobileTotalColumns); }
40
- } @else { @include respondTo(smallScreen) { width: gridCalc($columns, $mobileTotalColumns); float: left; padding: 0 ($columnGutter/2); } }
42
+ } @else { @include respondTo(smallScreen) { float: left; width: gridCalc($columns, $mobileTotalColumns); padding: 0 ($columnGutter/2); } }
41
43
  }
42
44
 
43
45
  // Mobile Push/Pull Mixin
44
46
 
45
47
  @mixin mobilePush($push:1) { @include respondTo(smallScreen) { left: gridCalc($push, $mobileTotalColumns); } }
46
48
  @mixin mobilePull($push:1) { @include respondTo(smallScreen) { right: gridCalc($push, $mobileTotalColumns); } }
49
+
50
+ // Invisible Placeholder Classes for Grid
51
+ %fl-l { float: left; }
52
+ %fl-r { float: right; }
53
+ %fl-n { float: none; }
54
+
55
+ %clearfix { @include clearfix(); }
56
+ %clearfix-m { @include mobileClearfix(); }
57
+
58
+ %row-o { @include outerRow(); }
59
+ %row-i-base { @include innerRowBase(); }
60
+ %row-i { @include innerRow(); }
61
+
62
+ %c-base { @include columnBase(); }
63
+
64
+ @for $i from 1 through $totalColumns {
65
+ .c-#{$i} { @include column($i); }
66
+ }
@@ -7,10 +7,10 @@
7
7
 
8
8
  @import "foundation/functions/all";
9
9
 
10
- @import "foundation/mixins/all";
11
-
12
10
  @import "foundation/settings";
13
11
 
12
+ @import "foundation/mixins/all";
13
+
14
14
  @import "foundation/common/base";
15
15
 
16
16
  @import "foundation/components/grid", "foundation/components/modules/all";
@@ -29,7 +29,7 @@
29
29
  <div class="row">
30
30
  <div class="twelve columns">
31
31
  <h2>Welcome to Foundation</h2>
32
- <p>This is version 3.0.6 released on July 20, 2012</p>
32
+ <p>This is version <%= Foundation::VERSION %>.</p>
33
33
  <hr />
34
34
  </div>
35
35
  </div>
@@ -120,27 +120,27 @@
120
120
  </div>
121
121
 
122
122
  <!-- Included JS Files (Uncompressed) -->
123
- <!--
124
- <script src="jquery.js"></script>
125
- <script src="javascripts/foundation/modernizr.foundation.js"></script>
123
+ <script src="javascripts/foundation/jquery.js"></script>
124
+ <script src="javascripts/foundation/jquery.foundation.reveal.js"></script>
125
+ <script src="javascripts/foundation/jquery.foundation.orbit.js"></script>
126
+ <script src="javascripts/foundation/jquery.foundation.forms.js"></script>
126
127
  <script src="javascripts/foundation/jquery.placeholder.js"></script>
128
+ <script src="javascripts/foundation/jquery.foundation.tooltips.js"></script>
127
129
  <script src="javascripts/foundation/jquery.foundation.alerts.js"></script>
128
- <script src="javascripts/foundation/jquery.foundation.accordion.js"></script>
129
130
  <script src="javascripts/foundation/jquery.foundation.buttons.js"></script>
130
- <script src="javascripts/foundation/jquery.foundation.tooltips.js"></script>
131
- <script src="javascripts/foundation/jquery.foundation.forms.js"></script>
132
- <script src="javascripts/foundation/jquery.foundation.tabs.js"></script>
131
+ <script src="javascripts/foundation/jquery.foundation.accordion.js"></script>
133
132
  <script src="javascripts/foundation/jquery.foundation.navigation.js"></script>
134
- <script src="javascripts/foundation/jquery.foundation.reveal.js"></script>
135
- <script src="javascripts/foundation/jquery.foundation.orbit.js"></script>
136
- -->
133
+ <script src="javascripts/foundation/jquery.foundation.mediaQueryToggle.js"></script>
134
+ <script src="javascripts/foundation/jquery.foundation.tabs.js"></script>
137
135
 
138
136
  <!-- Included JS Files (Compressed) -->
137
+ <!--
139
138
  <script src="javascripts/jquery.min.js"></script>
140
139
  <script src="javascripts/foundation.min.js"></script>
140
+ -->
141
141
 
142
142
  <!-- Application Javascript, safe to override -->
143
- <script src="javascripts/app.js"></script>
143
+ <script src="javascripts/foundation/app.js"></script>
144
144
 
145
145
 
146
146
  </body>
@@ -1,53 +1,38 @@
1
1
  description 'Foundation Compass Gem'
2
2
 
3
3
  # Sass Files
4
- stylesheet 'sass/_settings.scss', :to => '_settings.scss'
5
- stylesheet 'sass/app.scss', :to => 'app.scss', :media => "screen, projector, print"
6
-
7
- # Relative asset paths
8
- js_path = "/../../vendor/assets/javascripts/foundation"
9
- compressed_js_path = "/../../public/assets"
10
- images_path = "/../../vendor/assets/images/foundation"
11
-
12
- # Compressed Javascripts
13
- javascript "#{compressed_js_path}/jquery.js", :to => "jquery.min.js"
14
- javascript "#{compressed_js_path}/foundation.js", :to => "foundation.min.js"
15
-
16
- # Uncompressed Javascripts
17
- javascript "#{js_path}/jquery.js", :to => "jquery.js"
18
- javascript "#{js_path}/modernizr.foundation.js", :to => "foundation/modernizr.foundation.js"
19
- javascript "#{js_path}/jquery.placeholder.js", :to => "foundation/jquery.placeholder.js"
20
- javascript "#{js_path}/jquery.foundation.alerts.js", :to => "foundation/jquery.foundation.alerts.js"
21
- javascript "#{js_path}/jquery.foundation.accordion.js", :to => "foundation/jquery.foundation.accordion.js"
22
- javascript "#{js_path}/jquery.foundation.buttons.js", :to => "foundation/jquery.foundation.buttons.js"
23
- javascript "#{js_path}/jquery.foundation.tooltips.js", :to => "foundation/jquery.foundation.tooltips.js"
24
- javascript "#{js_path}/jquery.foundation.forms.js", :to => "foundation/jquery.foundation.forms.js"
25
- javascript "#{js_path}/jquery.foundation.tabs.js", :to => "foundation/jquery.foundation.tabs.js"
26
- javascript "#{js_path}/jquery.foundation.navigation.js", :to => "foundation/jquery.foundation.navigation.js"
27
- javascript "#{js_path}/jquery.foundation.reveal.js", :to => "foundation/jquery.foundation.reveal.js"
28
- javascript "#{js_path}/jquery.foundation.orbit.js", :to => "foundation/jquery.foundation.orbit.js"
29
-
30
- # Customizable Javascript
31
- javascript "#{js_path}/app.js", :to => "app.js"
4
+ stylesheet 'scss/_settings.scss', :to => '_settings.scss'
5
+ stylesheet 'scss/app.scss', :to => 'app.scss', :media => "screen, projector, print"
32
6
 
33
7
  # Make sure you list all the project template files here in the manifest.
34
- html 'index.html', :erb => true
8
+ html 'index.html', :erb => true # use Foundation::VERSION
35
9
  file 'humans.txt'
36
10
  file 'robots.txt'
37
11
  file 'MIT-LICENSE.txt'
38
12
 
39
- # Image Files
40
- image "#{images_path}/orbit/bullets.jpg", :to => "foundation/orbit/bullets.jpg"
41
- image "#{images_path}/orbit/left-arrow.png", :to => "foundation/orbit/left-arrow.png"
42
- image "#{images_path}/orbit/left-arrow-small.png", :to => "foundation/orbit/left-arrow-small.png"
43
- image "#{images_path}/orbit/loading.gif", :to => "foundation/orbit/loading.gif"
44
- image "#{images_path}/orbit/mask-black.png", :to => "foundation/orbit/mask-black.png"
45
- image "#{images_path}/orbit/pause-black.png", :to => "foundation/orbit/pause-black.png"
46
- image "#{images_path}/orbit/right-arrow.png", :to => "foundation/orbit/right-arrow.png"
47
- image "#{images_path}/orbit/right-arrow-small.png", :to => "foundation/orbit/right-arrow-small.png"
48
- image "#{images_path}/orbit/rotator-black.png", :to => "foundation/orbit/rotator-black.png"
49
- image "#{images_path}/orbit/timer-black.png", :to => "foundation/orbit/timer-black.png"
50
-
13
+ # Images exist in non-standard location so they will play nicely with
14
+ # Rails asset-pipeline. So this method allows us to copy images from
15
+ # outside the compass template
16
+ def copy_images_from(relative_path, prefix_path)
17
+ absolute_path = File.join(File.dirname(__FILE__), relative_path, prefix_path)
18
+ Dir.glob("#{absolute_path}/*.*") do |img|
19
+ image "#{relative_path}/#{prefix_path}/#{File.basename(img)}",
20
+ :to => "#{prefix_path}/#{File.basename(img)}"
21
+ end
22
+ end
23
+
24
+ def copy_js_from(relative_path, prefix_path, excludes=[])
25
+ absolute_path = File.join(File.dirname(__FILE__), relative_path, prefix_path)
26
+ js_files = Dir.glob("#{absolute_path}/*.js")
27
+ js_files.reject! {|f| excludes.include? File.basename(f)}
28
+ js_files.each do |js|
29
+ javascript "#{relative_path}/#{prefix_path}/#{File.basename(js)}",
30
+ :to => "#{prefix_path}/#{File.basename(js)}"
31
+ end
32
+ end
33
+
34
+ copy_images_from("../../vendor/assets/images", "foundation/orbit")
35
+ copy_js_from("../../vendor/assets/javascripts", "foundation", ["index.js"])
51
36
 
52
37
  help %Q{
53
38
 
@@ -59,4 +44,4 @@ welcome_message %Q{
59
44
 
60
45
  w00t! You're using ZURB Foundation, now go forth and rock 'n roll!
61
46
 
62
- }
47
+ }
@@ -56,3 +56,20 @@
56
56
  // Modular Scale
57
57
  // $ratio: $golden;
58
58
  // $base-size: 14px 44px;
59
+
60
+ // Tooltip Settings
61
+ // $hasTipBorderBottom: dotted 1px #ccc;
62
+ // $hasTipFontWeight: bold;
63
+ // $hasTipFontColor: #333;
64
+ // $hasTipBorderBottomHover: dotted 1px darken($mainColor, 20%);
65
+ // $hasTipFontColorHover: $mainColor;
66
+ // $tooltipBackgroundColor: #000;
67
+ // $tooltipBackgroundOpacity: 0.85;
68
+ // $tooltipFontSize: 12;
69
+ // $tooltipFontWeight: bold;
70
+ // $tooltipFontColor: #fff;
71
+ // $tapToCloseFontSize: 10;
72
+ // $tapToCloseFontWeight: normal;
73
+ // $tapToCloseFontColor: #888;
74
+ // $tooltipFontSizeScreenSmall: 14;
75
+ // $tooltipBackgroundOpacityScreenSmall: 0.85;
@@ -9,10 +9,10 @@
9
9
  // and uncommenting what you want below. You must uncomment the following if customizing
10
10
 
11
11
  // @import "compass/css3";
12
- // @import "foundations/settings";
13
- // @import "foundations/function/all";
14
- // @import "foundations/common/globals";
15
- // @import "foundations/mixins/clearfix";
12
+ // @import "foundation/settings";
13
+ // @import "foundation/functions/all";
14
+ // @import "foundation/common/globals";
15
+ // @import "foundation/mixins/clearfix";
16
16
 
17
17
  // Control which mixins you have access too
18
18
 
@@ -0,0 +1,39 @@
1
+ description 'Foundation Compass Gem'
2
+
3
+ # Images exist in non-standard location so they will play nicely with
4
+ # Rails asset-pipeline. So this method allows us to copy images from
5
+ # outside the compass template
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
13
+
14
+ def copy_js_from(relative_path, prefix_path, excludes=[])
15
+ absolute_path = File.join(File.dirname(__FILE__), relative_path, prefix_path)
16
+ js_files = Dir.glob("#{absolute_path}/*.js")
17
+ js_files.reject! {|f| excludes.include? File.basename(f)}
18
+ js_files.each do |js|
19
+ javascript "#{relative_path}/#{prefix_path}/#{File.basename(js)}",
20
+ :to => "#{prefix_path}/#{File.basename(js)}"
21
+ end
22
+ end
23
+
24
+ copy_images_from("../../vendor/assets/images", "foundation/orbit")
25
+ copy_js_from("../../vendor/assets/javascripts", "foundation", ["app.js","index.js"])
26
+
27
+ help %Q{
28
+
29
+ If you need help, email us at foundation@zurb.com or visit foundation.zurb.com"
30
+
31
+ }
32
+
33
+ welcome_message %Q{
34
+
35
+ bundle exec compass install -r zurb-foundation foundation/upgrade
36
+
37
+ Your project assets have been upgraded, w00t! It's possible there have been additional customizable settings added to Foundation so you should check out http://foundation.zurb.com/docs/gem-install.php#settings.
38
+
39
+ }
data/test/buttons.html ADDED
@@ -0,0 +1,184 @@
1
+ <!DOCTYPE html>
2
+ <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
3
+ <!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
4
+ <!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
5
+ <!--[if IE 8]> <html class="no-js lt-ie9" lang="en"> <![endif]-->
6
+ <!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
7
+ <head>
8
+ <meta charset="utf-8" />
9
+
10
+ <!-- Set the viewport width to device width for mobile -->
11
+ <meta name="viewport" content="width=device-width" />
12
+
13
+ <title>Foundation Button Testing</title>
14
+
15
+ <!-- Included CSS Files -->
16
+ <link rel="stylesheet" href="stylesheets/styles.css">
17
+
18
+ <script src="../vendor/assets/javascripts/foundation/modernizr.foundation.js"></script>
19
+
20
+ <!-- IE Fix for HTML5 Tags -->
21
+ <!--[if lt IE 9]>
22
+ <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
23
+ <![endif]-->
24
+ </head>
25
+ <body>
26
+
27
+ <div class="row">
28
+ <div class="twelve columns">
29
+ <p><a href="index.html">&laquo; Back</a></p>
30
+ <h2>Foundation Button Testing</h2>
31
+ <hr />
32
+ <dl class="sub-nav">
33
+ <dt>Go to:</dt>
34
+ <dd><a href="#buttons">Buttons</a></dd>
35
+ <dd><a href="#button-groups">Button Groups</a></dd>
36
+ <dd><a href="#dropdown-buttons">Dropdown Buttons</a></dd>
37
+ </dl>
38
+ </div>
39
+ </div>
40
+
41
+ <!-- Test Foundation Components Here -->
42
+ <div class="row">
43
+ <div class="twelve columns">
44
+
45
+ <h3>Buttons</h3>
46
+ <h4 class="subheader">Buttons are a convenient tool when it comes to more traditional actions. To that end, Foundation includes a lot of easy to use button styles that you can customize or override.</h4>
47
+ <br>
48
+ <div class="row">
49
+ <div class="four columns">
50
+ <a name="buttons"></a>
51
+ <h4>Basic Buttons</h4>
52
+ <p>Foundation buttons have a number of parameters and styles &mdash; you can see a few examples below. The out of the box classes include size, type (color) and style (square, slightly rounded, and completely rounded).</p>
53
+ </div>
54
+ <br>
55
+ <div class="eight columns">
56
+ <div class="row">
57
+ <div class="six columns">
58
+ <a href="#" class="tiny button">Tiny Button &raquo;</a><br /><br />
59
+ <a href="#" class="small button">Small Button &raquo;</a><br /><br />
60
+ <a href="#" class="button">Regular Button &raquo;</a><br /><br />
61
+ <a href="#" class="large button">Large Button &raquo;</a><br /><br />
62
+ <br /><br />
63
+ <a href="#" class="tiny secondary button">Secondary Button &raquo;</a><br /><br />
64
+ <a href="#" class="small secondary button">Secondary Button &raquo;</a><br /><br />
65
+ <a href="#" class="secondary button">Secondary Button &raquo;</a><br /><br />
66
+ <a href="#" class="large secondary button">Secondary Button &raquo;</a><br /><br />
67
+ <br /><br />
68
+ </div>
69
+ <div class="six columns">
70
+ <a href="#" class="tiny success button">Success Button &raquo;</a><br /><br />
71
+ <a href="#" class="small success button">Success Button &raquo;</a><br /><br />
72
+ <a href="#" class="success button">Success Button &raquo;</a><br /><br />
73
+ <a href="#" class="large success button">Success Button &raquo;</a><br /><br />
74
+ <br /><br />
75
+ <a href="#" class="tiny alert button">Alert Button &raquo;</a><br /><br />
76
+ <a href="#" class="small alert button">Alert Button &raquo;</a><br /><br />
77
+ <a href="#" class="alert button">Alert Button &raquo;</a><br /><br />
78
+ <a href="#" class="large alert button">Alert Button &raquo;</a><br /><br />
79
+ <br /><br />
80
+ </div>
81
+ </div>
82
+ <p>Button classes can also be applied to <code>button</code> elements, as well as <code>input type="submit"</code> elements.</p>
83
+
84
+ <button class="button">Form Button</button>
85
+ <input type="submit" class="button" value="Input Submit Button" />
86
+ <a href="#" class="button">Regular Button &raquo;</a>
87
+ </div>
88
+ </div>
89
+
90
+ <br><br><br>
91
+
92
+ <div class="row">
93
+ <div class="four columns">
94
+ <a name="button-groups"></a>
95
+ <h4>Button Groups</h4>
96
+ <p>When you need a group of actions, button groups give you some easy-to-use options. These can have a class of <code>.rounded</code> or <code>.even</code>. You can even create button bars by using <code>.button-bar</code>.</p>
97
+ </div>
98
+ <br>
99
+ <div class="eight columns">
100
+ <ul class="button-group radius">
101
+ <li><a href="#" class="button radius">Button 1</a></li>
102
+ <li><a href="#" class="button radius">Button 2</a></li>
103
+ <li><a href="#" class="button radius">Button 3</a></li>
104
+ </ul>
105
+ <ul class="button-group even three-up">
106
+ <li><a href="#" class="button">Button 1</a></li>
107
+ <li><a href="#" class="button">Button 2</a></li>
108
+ <li><a href="#" class="button">Button 3</a></li>
109
+ </ul>
110
+ <div class="button-bar">
111
+ <ul class="button-group">
112
+ <li><a href="#" class="button">Button 1</a></li>
113
+ <li><a href="#" class="button">Button 2</a></li>
114
+ <li><a href="#" class="button">Button 3</a></li>
115
+ </ul>
116
+
117
+ <ul class="button-group">
118
+ <li><a href="#" class="button">Button 1</a></li>
119
+ <li><a href="#" class="button">Button 2</a></li>
120
+ <li><a href="#" class="button">Button 3</a></li>
121
+ </ul>
122
+ </div>
123
+ </div>
124
+ </div>
125
+
126
+ <br><br>
127
+
128
+ <div class="row">
129
+ <div class="four columns">
130
+ <a name="dropdown-buttons"> </a>
131
+ <h4>Dropdown Buttons</h4>
132
+ <p>These are useful when an action has several possible outcomes to select from, or when there are secondary choices you can make in lieu of a primary action.</p>
133
+ <p>If you need your dropdown to go up, simple add a class of <code>.up</code> to <code>.button.dropdown</code>.</p>
134
+ </div>
135
+ <div class="eight columns">
136
+ <p>
137
+ <div href="#" class="large button dropdown">
138
+ Dropdown Button
139
+ <ul>
140
+ <li><a href="#">Dropdown Item</a></li>
141
+ <li><a href="#">Another Dropdown Item</a></li>
142
+ <li class="divider"></li>
143
+ <li><a href="#">Last Item</a></li>
144
+ </ul>
145
+ </div>
146
+ </p>
147
+ <p>
148
+ <div href="#" class="large alert button split dropdown">
149
+ <a href="#">Split Button</a>
150
+ <span></span>
151
+ <ul>
152
+ <li><a href="#">Dropdown Item</a></li>
153
+ <li><a href="#">Another Dropdown Item</a></li>
154
+ <li class="divider"></li>
155
+ <li><a href="#">Last Item</a></li>
156
+ </ul>
157
+ </div>
158
+ </p>
159
+ <p>Notice that in a split button, the <code>span</code> is the dropdown affordance and the main anchor is the primary button action.</p>
160
+ </div>
161
+ </div>
162
+
163
+ </div>
164
+ </div>
165
+
166
+ <!-- Included JS Files -->
167
+ <script src="../vendor/assets/javascripts/foundation/jquery.js"></script>
168
+ <script src="../vendor/assets/javascripts/foundation/jquery.foundation.mediaQueryToggle.js"></script>
169
+ <script src="../vendor/assets/javascripts/foundation/jquery.placeholder.js"></script>
170
+ <script src="../vendor/assets/javascripts/foundation/jquery.foundation.alerts.js"></script>
171
+ <script src="../vendor/assets/javascripts/foundation/jquery.foundation.accordion.js"></script>
172
+ <script src="../vendor/assets/javascripts/foundation/jquery.foundation.buttons.js"></script>
173
+ <script src="../vendor/assets/javascripts/foundation/jquery.foundation.tooltips.js"></script>
174
+ <script src="../vendor/assets/javascripts/foundation/jquery.foundation.forms.js"></script>
175
+ <script src="../vendor/assets/javascripts/foundation/jquery.foundation.tabs.js"></script>
176
+ <script src="../vendor/assets/javascripts/foundation/jquery.foundation.navigation.js"></script>
177
+ <script src="../vendor/assets/javascripts/foundation/jquery.foundation.reveal.js"></script>
178
+ <script src="../vendor/assets/javascripts/foundation/jquery.foundation.orbit.js"></script>
179
+ <script src="../vendor/assets/javascripts/foundation/app.js"></script>
180
+ <script type="text/javascript">
181
+ // Page-Specific JavaScript Goes Here
182
+ </script>
183
+ </body>
184
+ </html>
data/test/config.rb ADDED
@@ -0,0 +1,11 @@
1
+ require File.join(File.dirname(__FILE__),"../lib/zurb-foundation")
2
+ # require "foundation"
3
+ project_type = :stand_alone
4
+ http_path = "/"
5
+ sass_dir = "scss"
6
+ css_dir = "stylesheets"
7
+ images_dir = "../vendor/assets/images"
8
+ line_comments = false
9
+ preferred_syntax = :scss
10
+ output_style = :compact
11
+ relative_assets = true