modularis 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +15 -0
  2. data/.gitignore +24 -0
  3. data/.idea/scopes/scope_settings.xml +5 -0
  4. data/.rbenv-version +1 -0
  5. data/CONTRIBUTING.md +53 -0
  6. data/Gemfile +4 -0
  7. data/Gemfile.lock +19 -0
  8. data/Gruntfile.js +27 -0
  9. data/LICENSE +22 -0
  10. data/README.md +27 -0
  11. data/Rakefile +2 -0
  12. data/docs/CHANGELOG.md +260 -0
  13. data/docs/Capfile +4 -0
  14. data/docs/Gemfile +13 -0
  15. data/docs/Gemfile.lock +45 -0
  16. data/docs/Procfile +2 -0
  17. data/docs/README.md +1 -0
  18. data/docs/_sidebar-components.html.erb +115 -0
  19. data/docs/_sidebar.html.erb +115 -0
  20. data/docs/changelog.html.erb +33 -0
  21. data/docs/compile.rb +34 -0
  22. data/docs/components/alert-boxes.html.erb +204 -0
  23. data/docs/components/block-grid.html.erb +132 -0
  24. data/docs/components/breadcrumbs.html.erb +156 -0
  25. data/docs/components/button-groups.html.erb +230 -0
  26. data/docs/components/buttons.html.erb +222 -0
  27. data/docs/components/clearing.html.erb +152 -0
  28. data/docs/components/custom-forms.html.erb +309 -0
  29. data/docs/components/dropdown-buttons.html.erb +235 -0
  30. data/docs/components/dropdown.html.erb +188 -0
  31. data/docs/components/flex-video.html.erb +95 -0
  32. data/docs/components/forms.html.erb +477 -0
  33. data/docs/components/global.html.erb +92 -0
  34. data/docs/components/grid.html.erb +366 -0
  35. data/docs/components/inline-lists.html.erb +91 -0
  36. data/docs/components/joyride.html.erb +183 -0
  37. data/docs/components/keystrokes.html.erb +76 -0
  38. data/docs/components/kitchen-sink.html.erb +870 -0
  39. data/docs/components/labels.html.erb +102 -0
  40. data/docs/components/magellan.html.erb +86 -0
  41. data/docs/components/orbit.html.erb +276 -0
  42. data/docs/components/pagination.html.erb +183 -0
  43. data/docs/components/panels.html.erb +123 -0
  44. data/docs/components/pricing-tables.html.erb +156 -0
  45. data/docs/components/progress-bars.html.erb +123 -0
  46. data/docs/components/reveal.html.erb +162 -0
  47. data/docs/components/section.html.erb +496 -0
  48. data/docs/components/side-nav.html.erb +124 -0
  49. data/docs/components/split-buttons.html.erb +220 -0
  50. data/docs/components/sub-nav.html.erb +122 -0
  51. data/docs/components/switch.html.erb +290 -0
  52. data/docs/components/tables.html.erb +125 -0
  53. data/docs/components/thumbnails.html.erb +89 -0
  54. data/docs/components/tooltips.html.erb +75 -0
  55. data/docs/components/top-bar.html.erb +283 -0
  56. data/docs/components/type.html.erb +396 -0
  57. data/docs/components/visibility.html.erb +110 -0
  58. data/docs/config/deploy.rb +36 -0
  59. data/docs/config.ru +12 -0
  60. data/docs/controller.rb +53 -0
  61. data/docs/css/_coderay.scss +116 -0
  62. data/docs/css/_settings.scss +1 -0
  63. data/docs/css/docs.scss +185 -0
  64. data/docs/css/normalize.scss +396 -0
  65. data/docs/css/qunit-composite.css +13 -0
  66. data/docs/css/qunit.css +235 -0
  67. data/docs/faq.html.erb +63 -0
  68. data/docs/img/demos/demo1-th.jpg +0 -0
  69. data/docs/img/demos/demo1.jpg +0 -0
  70. data/docs/img/demos/demo2-th.jpg +0 -0
  71. data/docs/img/demos/demo2.jpg +0 -0
  72. data/docs/img/demos/demo3-th.jpg +0 -0
  73. data/docs/img/demos/demo3.jpg +0 -0
  74. data/docs/img/demos/demo4-th.jpg +0 -0
  75. data/docs/img/demos/demo4.jpg +0 -0
  76. data/docs/img/demos/demo5-th.jpg +0 -0
  77. data/docs/img/demos/demo5.jpg +0 -0
  78. data/docs/index.html.erb +285 -0
  79. data/docs/javascript.html.erb +134 -0
  80. data/docs/js/docs.js +3 -0
  81. data/docs/js/qunit-composite.js +105 -0
  82. data/docs/js/qunit.js +1977 -0
  83. data/docs/js/tests/tabs/simple_tabs.html +57 -0
  84. data/docs/js/tests/tabs/simple_tabs.js +54 -0
  85. data/docs/js/tests/tooltips/tooltips.html +39 -0
  86. data/docs/js/tests/tooltips/tooltips.js +11 -0
  87. data/docs/layout.html.erb +128 -0
  88. data/docs/media-queries.html.erb +96 -0
  89. data/docs/rails.html.erb +76 -0
  90. data/docs/rtl.html.erb +53 -0
  91. data/docs/sass.html.erb +1295 -0
  92. data/docs/support.html.erb +143 -0
  93. data/docs/test/_test-scripts.html.erb +36 -0
  94. data/docs/test/cards.html.erb +77 -0
  95. data/docs/test/flexbox-grid.html.erb +68 -0
  96. data/docs/test/flip-nav.html.erb +54 -0
  97. data/docs/test/layout.html.erb +15 -0
  98. data/docs/test/off-canvas1.html.erb +64 -0
  99. data/docs/test/off-canvas2.html.erb +75 -0
  100. data/docs/test/off-canvas3.html.erb +65 -0
  101. data/docs/test_layout.html.erb +128 -0
  102. data/js/modularis/index.js +18 -0
  103. data/js/vendor/custom.modernizr.js +4 -0
  104. data/js/vendor/jquery.js +9597 -0
  105. data/js/vendor/zepto.js +1884 -0
  106. data/lib/modularis/engine.rb +18 -0
  107. data/lib/modularis/generators/USAGE +15 -0
  108. data/lib/modularis/generators/install_generator.rb +54 -0
  109. data/lib/modularis/generators/templates/application.html.erb +46 -0
  110. data/lib/modularis/generators/templates/application.html.haml +31 -0
  111. data/lib/modularis/generators/templates/application.html.slim +28 -0
  112. data/lib/modularis/version.rb +3 -0
  113. data/lib/modularis.rb +17 -0
  114. data/modularis.gemspec +20 -0
  115. data/package.json +15 -0
  116. data/scss/compagecss/_variables.scss +1192 -0
  117. data/scss/compagecss/components/_alert-boxes.scss +106 -0
  118. data/scss/compagecss/components/_block-grid.scss +70 -0
  119. data/scss/compagecss/components/_breadcrumbs.scss +124 -0
  120. data/scss/compagecss/components/_button-groups.scss +88 -0
  121. data/scss/compagecss/components/_buttons.scss +226 -0
  122. data/scss/compagecss/components/_clearing.scss +217 -0
  123. data/scss/compagecss/components/_custom-forms.scss +246 -0
  124. data/scss/compagecss/components/_dropdown-buttons.scss +114 -0
  125. data/scss/compagecss/components/_dropdown.scss +149 -0
  126. data/scss/compagecss/components/_flex-video.scss +45 -0
  127. data/scss/compagecss/components/_flexbox-grid.scss +225 -0
  128. data/scss/compagecss/components/_flip.scss +105 -0
  129. data/scss/compagecss/components/_forms.scss +361 -0
  130. data/scss/compagecss/components/_global.scss +289 -0
  131. data/scss/compagecss/components/_grid.scss +184 -0
  132. data/scss/compagecss/components/_inline-lists.scss +52 -0
  133. data/scss/compagecss/components/_joyride.scss +210 -0
  134. data/scss/compagecss/components/_keystrokes.scss +56 -0
  135. data/scss/compagecss/components/_labels.scss +84 -0
  136. data/scss/compagecss/components/_magellan.scss +21 -0
  137. data/scss/compagecss/components/_off-canvas.scss +86 -0
  138. data/scss/compagecss/components/_orbit.scss +209 -0
  139. data/scss/compagecss/components/_pagination.scss +99 -0
  140. data/scss/compagecss/components/_panels.scss +76 -0
  141. data/scss/compagecss/components/_pricing-tables.scss +130 -0
  142. data/scss/compagecss/components/_progress-bars.scss +70 -0
  143. data/scss/compagecss/components/_reveal.scss +131 -0
  144. data/scss/compagecss/components/_section.scss +303 -0
  145. data/scss/compagecss/components/_side-nav.scss +68 -0
  146. data/scss/compagecss/components/_split-buttons.scss +166 -0
  147. data/scss/compagecss/components/_sub-nav.scss +67 -0
  148. data/scss/compagecss/components/_switch.scss +249 -0
  149. data/scss/compagecss/components/_tables.scss +80 -0
  150. data/scss/compagecss/components/_thumbs.scss +47 -0
  151. data/scss/compagecss/components/_tooltips.scss +113 -0
  152. data/scss/compagecss/components/_top-bar.scss +462 -0
  153. data/scss/compagecss/components/_type.scss +422 -0
  154. data/scss/compagecss/components/_visibility.scss +320 -0
  155. data/scss/modularis.scss +49 -0
  156. data/scss/normalize.scss +402 -0
  157. data/templates/project/.gitignore +44 -0
  158. data/templates/project/MIT-LICENSE.txt +20 -0
  159. data/templates/project/config.rb +26 -0
  160. data/templates/project/humans.txt +8 -0
  161. data/templates/project/index.html +124 -0
  162. data/templates/project/manifest.rb +44 -0
  163. data/templates/project/robots.txt +4 -0
  164. data/templates/project/scss/app.scss +48 -0
  165. data/templates/upgrade/manifest.rb +34 -0
  166. metadata +235 -0
@@ -0,0 +1,143 @@
1
+ <style type="text/css">
2
+
3
+ .row.support { padding: 9px 0; }
4
+ .row.support:nth-child(2n) { background: #f4f4f4; }
5
+
6
+ .support .win { color: #4ea600; font-weight: bold; }
7
+ .support .meh { color: #888; font-weight: bold; }
8
+ .support .fail { color: #cc0000; font-weight: bold; }
9
+
10
+ .tooltip { font-size: 14px; }
11
+ </style>
12
+
13
+ <div class="row">
14
+
15
+
16
+ <div class="large-9 push-3 columns">
17
+
18
+ <% @page_title = "Support" %>
19
+ <h2><%= @page_title %></h2>
20
+
21
+ <h4 class="subheader">Modularis was designed for and tested on numerous browsers and devices. Here's the rundown on what's tested, and what to do if something misbehaves.</h4>
22
+
23
+ <h5>Browser and Device Support</h5>
24
+ <p>We go to great lengths to ensure that Modularis works as expected on a variety of common browsers and devices. Given how forward-facing Modularis is there are some aesthetic properties which are not supported in older browsers (border radii, box shadows, etc), but the core elements are reliable across the board.</p>
25
+
26
+ <div class="row support">
27
+ <div class="small-3 columns"><h5>Browser/OS</h5></div>
28
+ <div class="small-3 columns"><h5>The Grid</h5></div>
29
+ <div class="small-3 columns"><h5>Layout/UI</h5></div>
30
+ <div class="small-3 columns"><h5>JS</h5></div>
31
+ </div>
32
+ <div class="row support">
33
+ <div class="small-3 columns">Chrome</div>
34
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
35
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
36
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
37
+ </div>
38
+ <div class="row support">
39
+ <div class="small-3 columns">Firefox</div>
40
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
41
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
42
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
43
+ </div>
44
+ <div class="row support">
45
+ <div class="small-3 columns">Safari</div>
46
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
47
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
48
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
49
+ </div>
50
+ <div class="row support">
51
+ <div class="small-3 columns">IE10</div>
52
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
53
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
54
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
55
+ </div>
56
+ <div class="row support">
57
+ <div class="small-3 columns">IE9</div>
58
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
59
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
60
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
61
+ </div>
62
+ <div class="row support">
63
+ <div class="small-3 columns">IE8</div>
64
+ <div class="small-3 columns"><span data-tooltip class="meh has-tip tip-top" data-width="200" title="The grid is within a media query so IE8 gets the mobile layouts. If you need a full grid for IE8, see below for a link to a gist that will help out immensely.">&#9679;</span></div>
65
+ <div class="small-3 columns"><span data-tooltip class="meh has-tip tip-top" title="90% of our UI elements will work perfectly in IE8. There are a few cases, like radio switches, where we make sure IE8 just gets normal UI elements instead of custom ones." data-width="200">&#9679;</span></div>
66
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
67
+ </div>
68
+ <div class="row support">
69
+ <div class="small-3 columns">IE7</div>
70
+ <div class="small-3 columns"><span class="fail">&#x2717;</span></div>
71
+ <div class="small-3 columns"><span data-tooltip title="While we don't officially support IE7, but our UI styles should work for the most part" class="meh has-tip tip-top" data-width="200">&#9679;</span></div>
72
+ <div class="small-3 columns"><span data-tooltip title="While we don't officially IE7, but our JS works for the most part. Clearing and tooltips have some issues with style and position." class="meh has-tip tip-top" data-width="200">&#9679;</span></div>
73
+ </div>
74
+
75
+ <div class="row support">
76
+ <div class="small-3 columns">iOS (iPhone)</div>
77
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
78
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
79
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
80
+ </div>
81
+ <div class="row support">
82
+ <div class="small-3 columns">iOS (iPad)</div>
83
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
84
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
85
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
86
+ </div>
87
+ <div class="row support">
88
+ <div class="small-3 columns">Android 2, 4 (Phone)</div>
89
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
90
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
91
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
92
+ </div>
93
+ <div class="row support">
94
+ <div class="small-3 columns">Android 2, 4 (Tablet)</div>
95
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
96
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
97
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
98
+ </div>
99
+ <div class="row support">
100
+ <div class="small-3 columns">Windows Phone 7+</div>
101
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
102
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
103
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
104
+ </div>
105
+ <div class="row support">
106
+ <div class="small-3 columns">Surface</div>
107
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
108
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
109
+ <div class="small-3 columns"><span class="win">&#x2713;</span></div>
110
+ </div>
111
+
112
+ <hr>
113
+
114
+ <h5>Want IE8 Grid Support?</h5>
115
+ <p>We know it can be hard to get clients to ditch support for IE8. We're hoping with the auto-update to IE10 release from Microsoft, we won't need to worry about it anymore. Until then, here's a gist with a grid that will work in IE8, just like it did in Modularis 3.</p>
116
+ <a class="small button" href="https://gist.github.com/themepilechris/5068210">Modularis IE8 Grid</a>
117
+
118
+ <hr>
119
+
120
+ <h5>Upgrading from Modularis 3.x?</h5>
121
+ <p>We've written a comprehensive <a href="http://modularis.themepile.com/migration.php">Migration Guide</a> to help you update your code for an existing or work in progress project.</p>
122
+
123
+ <hr />
124
+
125
+ <div class="panel">
126
+ <h4>Get Answers</h4>
127
+ <h5 class="subheader">We've outlined some of the most common frequently asked questions so that you can easily find the answer, as well as given you a way to contact us directly with questions, feedback or concerns.</h5>
128
+ <a class="button" href="faq.html">Read the FAQ or Ask a Question &raquo;</a> <a class="secondary button" href="changelog.html">See the Version Changelog &raquo;</a>
129
+ </div>
130
+
131
+ </div>
132
+ <div class="large-3 pull-9 columns">
133
+ <%= render "_sidebar.html.erb" %>
134
+ </div>
135
+ </div>
136
+
137
+
138
+
139
+
140
+
141
+
142
+
143
+
@@ -0,0 +1,36 @@
1
+ <script>
2
+
3
+ // Google Analytics
4
+ var _gaq = _gaq || [];
5
+ _gaq.push(
6
+ ['_setAccount', 'UA-2195009-2'],
7
+ ['_trackPageview'],
8
+ ['b._setAccount', 'UA-2195009-27'],
9
+ ['b._trackPageview']
10
+ );
11
+
12
+ (function() {
13
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
14
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
15
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
16
+ })();
17
+
18
+ document.write('<script src="<%= asset_path %>/vendor/'
19
+ + ('__proto__' in {} ? 'zepto' : 'jquery')
20
+ + '.js"><\/script>');
21
+ </script>
22
+ <script src="<%= asset_path %>/docs.js"></script>
23
+ <script>
24
+ $(document)
25
+ <% if @joyride %>
26
+ .modularis()
27
+ .modularis('joyride', 'start');
28
+ <% else %>
29
+ .modularis();
30
+ <% end %>
31
+
32
+ // For Kitchen Sink Page
33
+ $('#start-jr').on('click', function() {
34
+ $(document).modularis('joyride','start');
35
+ });
36
+ </script>
@@ -0,0 +1,77 @@
1
+ <body>
2
+
3
+ <div class="row">
4
+
5
+ <div class="large-12 columns">
6
+ <h1>Cards Demo</h1>
7
+ </div>
8
+
9
+ </div>
10
+
11
+ <div class="row">
12
+ <div class="large-4 small-6 columns">
13
+
14
+ <div class="card">
15
+ <div class="container">
16
+ <div class="front">
17
+ <img src="http://placehold.it/400x600" />
18
+ </div>
19
+
20
+ <div class="back">
21
+ <h5>This is a card.</h5>
22
+ <p>This card shows some content on the front and some on the back, and can be flipped by hovering on a desktop, or by swiping across on a touch device.</p>
23
+ <p>The back of the card is intentionally long, so that we can show both an example where the card is constrained to a square and where it is as long as the content on either side requires.</p>
24
+ <p>This card shows some content on the front and some on the back, and can be flipped by hovering on a desktop, or by swiping across on a touch device.</p>
25
+ <p>The back of the card is intentionally long, so that we can show both an example where the card is constrained to a square and where it is as long as the content on either side requires.</p>
26
+ </div>
27
+ </div>
28
+ </div>
29
+
30
+ </div>
31
+
32
+ <div class="large-4 small-6 columns">
33
+
34
+ <div class="card square">
35
+ <div class="container">
36
+ <div class="front">
37
+ <img src="http://placehold.it/400x200" />
38
+ <h4>Example Card Title</h4>
39
+ </div>
40
+
41
+ <div class="back">
42
+ <h5>This is a card.</h5>
43
+ <p>This card shows some content on the front and some on the back, and can be flipped by hovering on a desktop, or by swiping across on a touch device.</p>
44
+ <p>The back of the card is intentionally long, so that we can show both an example where the card is constrained to a square and where it is as long as the content on either side requires.</p>
45
+ <p>This card shows some content on the front and some on the back, and can be flipped by hovering on a desktop, or by swiping across on a touch device.</p>
46
+ <p>The back of the card is intentionally long, so that we can show both an example where the card is constrained to a square and where it is as long as the content on either side requires.</p>
47
+ </div>
48
+ </div>
49
+ </div>
50
+
51
+ </div>
52
+
53
+ <div class="large-4 columns">
54
+
55
+ <div class="card">
56
+ <div class="container">
57
+ <div class="front">
58
+ <img src="http://placehold.it/400x300" />
59
+ </div>
60
+
61
+ <div class="back">
62
+ <h5>This is a card.</h5>
63
+ <p>This card shows some content on the front and some on the back, and can be flipped by hovering on a desktop, or by swiping across on a touch device.</p>
64
+ <p>The back of the card is intentionally long, so that we can show both an example where the card is constrained to a square and where it is as long as the content on either side requires.</p>
65
+ <p>This card shows some content on the front and some on the back, and can be flipped by hovering on a desktop, or by swiping across on a touch device.</p>
66
+ <p>The back of the card is intentionally long, so that we can show both an example where the card is constrained to a square and where it is as long as the content on either side requires.</p>
67
+ </div>
68
+ </div>
69
+ </div>
70
+
71
+ </div>
72
+ </div>
73
+
74
+
75
+ <%= render "_test-scripts.html.erb" %>
76
+
77
+ </body>
@@ -0,0 +1,68 @@
1
+ <body>
2
+
3
+ <div class="row">
4
+
5
+ <div class="large-12 columns">
6
+ <h1>Flexbox Grid Demo</h1>
7
+ </div>
8
+
9
+ </div>
10
+
11
+ <div class="row">
12
+
13
+ <div class="large-4 small-6 columns">
14
+ <h4>This is the first column.</h4>
15
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
16
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
17
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
18
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
19
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
20
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
21
+ </div>
22
+
23
+ <div class="large-4 small-6 columns">
24
+ <h4>This is the second column.</h4>
25
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
26
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
27
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
28
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
29
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
30
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
31
+ </div>
32
+
33
+ <div class="large-4 columns">
34
+ <h4>This is the third column.</h4>
35
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
36
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
37
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
38
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
39
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
40
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
41
+ </div>
42
+
43
+ <div class="large-4 small-6 columns">
44
+ <h4>This is the fourth column.</h4>
45
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
46
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
47
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
48
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
49
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
50
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
51
+ </div>
52
+
53
+ <div class="large-4 columns">
54
+ <h4>This is the fifth column.</h4>
55
+ <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
56
+ tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
57
+ quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
58
+ consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
59
+ cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
60
+ proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
61
+ </div>
62
+
63
+ </div>
64
+
65
+
66
+ <%= render "_test-scripts.html.erb" %>
67
+
68
+ </body>
@@ -0,0 +1,54 @@
1
+ <body>
2
+
3
+ <div class="flip">
4
+ <div class="container">
5
+
6
+ <div class="front">
7
+ <div class="row">
8
+ <div class="large-12 columns">
9
+ <h1>This is the front of the page.</h1>
10
+ <p>On the back of this page is the nav.</p>
11
+
12
+ <a href="#" class="flip-this">Menu</a>
13
+
14
+ <ul class="small-block-grid-2 large-block-grid-4">
15
+ <li><img src="http://placehold.it/500x500" /></li>
16
+ <li><img src="http://placehold.it/500x500" /></li>
17
+ <li><img src="http://placehold.it/500x500" /></li>
18
+ <li><img src="http://placehold.it/500x500" /></li>
19
+ <li><img src="http://placehold.it/500x500" /></li>
20
+ <li><img src="http://placehold.it/500x500" /></li>
21
+ <li><img src="http://placehold.it/500x500" /></li>
22
+ <li><img src="http://placehold.it/500x500" /></li>
23
+ <li><img src="http://placehold.it/500x500" /></li>
24
+ <li><img src="http://placehold.it/500x500" /></li>
25
+ <li><img src="http://placehold.it/500x500" /></li>
26
+ <li><img src="http://placehold.it/500x500" /></li>
27
+ </ul>
28
+ </div>
29
+ </div>
30
+ </div>
31
+
32
+ <nav class="back">
33
+ <div class="row">
34
+ <div class="large-12 columns">
35
+ <ul class="side-nav">
36
+ <li><a href="#">Item 1</a></li>
37
+ <li><a href="#">Item 2</a></li>
38
+ <li><a href="#">Item 3</a></li>
39
+ <li><a href="#">Item 4</a></li>
40
+ <li><a href="#">Item 5</a></li>
41
+ </ul>
42
+
43
+ <a href="#" class="flip-this">Close</a>
44
+ </div>
45
+ </div>
46
+ </nav>
47
+
48
+ </div>
49
+ </div>
50
+
51
+
52
+ <%= render "_test-scripts.html.erb" %>
53
+
54
+ </body>
@@ -0,0 +1,15 @@
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
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
+ <title>Modularis Docs: <%= @page_title %></title>
8
+ <link rel="stylesheet" href="<%= asset_path %>/normalize.css" />
9
+ <link rel="stylesheet" href="<%= asset_path %>/docs.css" />
10
+ <script src="<%= asset_path %>/vendor/custom.modernizr.js"></script>
11
+ </head>
12
+
13
+ <%= yield %>
14
+
15
+ </html>
@@ -0,0 +1,64 @@
1
+ <body class="off-canvas">
2
+
3
+ <header id="header" class="row">
4
+ <div class="large-4 small-6 columns">
5
+ <h1 id="site-title"><a href="http://themepile.com/playground/">ZURB</a></h1>
6
+ </div>
7
+ <div class="large-8 small-6 columns">
8
+ <nav id="menu" role="navigation" class="hide-for-small">
9
+ <ul id="mainNav" class="inline-list">
10
+ <li><a href="">One</a></li>
11
+ <li><a href="">Two</a></li>
12
+ <li><a href="">Three</a></li>
13
+ <li><a href="">Four</a></li>
14
+ </ul>
15
+ </nav>
16
+ <p class="show-for-small">
17
+ <a class='sidebar-button button' id="sidebarButton" href="#sidebar" >Menu</a>
18
+ </p>
19
+ </div>
20
+ </header>
21
+
22
+ <div class="row">
23
+ <section role="main">
24
+ <div class="row">
25
+ <div class="large-8 columns">
26
+ <h3>Off Canvas Nav Sidebar on Mobile</h3>
27
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla eget nulla massa. Sed ultricies posuere tincidunt. Morbi dolor est, aliquet quis egestas eu, consectetur nec neque. Etiam velit libero, congue eu accumsan sit amet, eleifend et sem. Donec ac felis sed sapien placerat venenatis. Fusce id tempus nunc. Vestibulum pellentesque vulputate tempus. Suspendisse sed consequat lectus. Nulla bibendum venenatis eros, elementum malesuada mi imperdiet eu. Fusce ornare gravida nulla, sed scelerisque sem scelerisque at.</p>
28
+
29
+ <p>Mauris consectetur elementum massa nec convallis. Integer mauris purus, condimentum vitae mattis a, vehicula lacinia justo. Pellentesque scelerisque orci at ligula cursus eu tempor elit euismod. Donec eleifend, turpis in vulputate eleifend, orci lectus eleifend quam, et ultrices mi nisi id nulla. Nullam est magna, varius nec consectetur vel, pellentesque ac justo. Vivamus commodo pellentesque ante, sed semper nulla congue non. Nunc nec augue sed nibh dapibus accumsan. Nullam in mauris quis lacus ultricies convallis. Morbi semper suscipit elit ut suscipit. Donec lobortis tellus lorem.</p>
30
+ </div>
31
+ <div class="large-4 columns">
32
+ <h4>Sidebar</h4>
33
+ <ul class="disc">
34
+ <li><a href="#">Link to a Category</a></li>
35
+ <li><a href="#">Link to a Category</a></li>
36
+ <li><a href="#">Link to a Category</a></li>
37
+ <li><a href="#">Link to a Category</a></li>
38
+ <li><a href="http://en.wikipedia.org/wiki/The_Legend_of_Zelda:_A_Link_to_the_Past">Link to the Past</a></li>
39
+ </ul>
40
+ </div>
41
+ </div>
42
+ </section>
43
+
44
+ <section id="sidebar" role="complementary">
45
+ <nav id="sideMenu" role="navigation">
46
+ <ul id="sideMainNav" class="nav-bar">
47
+ <li><a href="">One</a></li>
48
+ <li><a href="">Two</a></li>
49
+ <li><a href="">Three</a></li>
50
+ <li><a href="">Four</a></li>
51
+ </ul>
52
+ </nav>
53
+ </section>
54
+ </div>
55
+
56
+ <footer class="site-footer row" role="contentinfo">
57
+ <div class="large-12 columns">
58
+ Created by ZURB for Modularis 3, based on code from Jason Weaver and Luke Wroblewski, ported to Modularis 4+
59
+ </div>
60
+ </footer>
61
+
62
+ <%= render "_test-scripts.html.erb" %>
63
+
64
+ </body>
@@ -0,0 +1,75 @@
1
+ <body class="off-canvas paneled">
2
+
3
+ <div class="container">
4
+
5
+ <header id="header" class="row">
6
+ <div class="large-four columns">
7
+ <h1 id="site-title"><a href="http://themepile.com/playground/">ZURB</a></h1>
8
+ </div>
9
+ <div class="large-eight columns">
10
+ <nav id="menu" role="navigation" class="hide-for-small">
11
+ <ul id="nav" class="inline-list">
12
+ <li><a href="#panel-1" class="main nav-item">Panel 1</a></li>
13
+ <li><a href="#panel-2" class="main nav-item">Panel 2</a></li>
14
+ <li><a href="#panel-3" class="main nav-item">Panel 3</a></li>
15
+ <li><a href="#panel-4" class="main nav-item">Panel 4</a></li>
16
+ <li><a href="#panel-5" class="main nav-item">Panel 5</a></li>
17
+ </ul>
18
+ </nav>
19
+
20
+ <dl class="tabs five-up show-for-small" id="switchPanels">
21
+ <dd class="active"><a href="#panel-1">1</a></dd>
22
+ <dd><a href="#panel-2">2</a></dd>
23
+ <dd><a href="#panel-3">3</a></dd>
24
+ <dd><a href="#panel-4">4</a></dd>
25
+ <dd><a href="#panel-5">5</a></dd>
26
+ </dl>
27
+ </div>
28
+ </header>
29
+
30
+ <div class="row">
31
+ <section role="main" id="main">
32
+ <article id="panel-1" class="page-panel">
33
+ <h1>Panel 1</h1>
34
+ <p>Quisque lacinia est a libero tempor quis gravida nibh luctus. Nulla facilisi. Vestibulum bibendum ipsum a lacus molestie pulvinar a nec risus. Nulla facilisi. Aenean nec tellus ligula. Ut tortor mi, consequat in ornare in, condimentum sed leo. Phasellus et luctus ipsum. Mauris gravida molestie velit ac iaculis. Integer quis libero id erat consectetur accumsan ut eget diam. In hac habitasse platea dictumst.</p>
35
+ </article><!-- /#panel-1 -->
36
+
37
+
38
+ <article id="panel-2" class="page-panel">
39
+ <h1>Panel 2</h1>
40
+ <p>Quisque lacinia est a libero tempor quis gravida nibh luctus. Nulla facilisi. Vestibulum bibendum ipsum a lacus molestie pulvinar a nec risus. Nulla facilisi. Aenean nec tellus ligula. Ut tortor mi, consequat in ornare in, condimentum sed leo. Phasellus et luctus ipsum. Mauris gravida molestie velit ac iaculis. Integer quis libero id erat consectetur accumsan ut eget diam. In hac habitasse platea dictumst.</p>
41
+ </article><!-- /#panel-2 -->
42
+
43
+
44
+ <article id="panel-3" class="page-panel">
45
+ <h1>Panel 3</h1>
46
+ <p>Quisque lacinia est a libero tempor quis gravida nibh luctus. Nulla facilisi. Vestibulum bibendum ipsum a lacus molestie pulvinar a nec risus. Nulla facilisi. Aenean nec tellus ligula. Ut tortor mi, consequat in ornare in, condimentum sed leo. Phasellus et luctus ipsum. Mauris gravida molestie velit ac iaculis. Integer quis libero id erat consectetur accumsan ut eget diam. In hac habitasse platea dictumst.</p>
47
+ <p>Quisque lacinia est a libero tempor quis gravida nibh luctus. Nulla facilisi. Vestibulum bibendum ipsum a lacus molestie pulvinar a nec risus. Nulla facilisi. Aenean nec tellus ligula. Ut tortor mi, consequat in ornare in, condimentum sed leo. Phasellus et luctus ipsum. Mauris gravida molestie velit ac iaculis. Integer quis libero id erat consectetur accumsan ut eget diam. In hac habitasse platea dictumst.</p>
48
+ <p>Quisque lacinia est a libero tempor quis gravida nibh luctus. Nulla facilisi. Vestibulum bibendum ipsum a lacus molestie pulvinar a nec risus. Nulla facilisi. Aenean nec tellus ligula. Ut tortor mi, consequat in ornare in, condimentum sed leo. Phasellus et luctus ipsum. Mauris gravida molestie velit ac iaculis. Integer quis libero id erat consectetur accumsan ut eget diam. In hac habitasse platea dictumst.</p>
49
+ </article><!-- /#panel-3 -->
50
+
51
+
52
+ <article id="panel-4" class="page-panel">
53
+ <h1>Panel 4</h1>
54
+ <p>Quisque lacinia est a libero tempor quis gravida nibh luctus. Nulla facilisi. Vestibulum bibendum ipsum a lacus molestie pulvinar a nec risus. Nulla facilisi. Aenean nec tellus ligula. Ut tortor mi, consequat in ornare in, condimentum sed leo. Phasellus et luctus ipsum. Mauris gravida molestie velit ac iaculis. Integer quis libero id erat consectetur accumsan ut eget diam. In hac habitasse platea dictumst.</p>
55
+ </article><!-- /#panel-4 -->
56
+
57
+
58
+ <article id="panel-5" class="page-panel">
59
+ <h1>Panel 5</h1>
60
+ <p>Quisque lacinia est a libero tempor quis gravida nibh luctus. Nulla facilisi. Vestibulum bibendum ipsum a lacus molestie pulvinar a nec risus. Nulla facilisi. Aenean nec tellus ligula. Ut tortor mi, consequat in ornare in, condimentum sed leo. Phasellus et luctus ipsum. Mauris gravida molestie velit ac iaculis. Integer quis libero id erat consectetur accumsan ut eget diam. In hac habitasse platea dictumst.</p>
61
+ </article><!-- /#panel-5 -->
62
+
63
+ </section>
64
+ </div>
65
+
66
+ <footer class="site-footer row" role="contentinfo">
67
+ <div class="twelve columns">
68
+ Created by ZURB for Modularis 3, based on code from Jason Weaver and Luke Wroblewski
69
+ </div>
70
+ </footer>
71
+ </div>
72
+
73
+ <%= render "_test-scripts.html.erb" %>
74
+
75
+ </body>
@@ -0,0 +1,65 @@
1
+ <body class="off-canvas nav-on-top">
2
+
3
+ <div class="container">
4
+
5
+ <nav id="topMenu" role="navigation">
6
+ <ul id="nav" class="nav-bar">
7
+ <li><a href="">One</a></li>
8
+ <li><a href="">Two</a></li>
9
+ <li><a href="">Three</a></li>
10
+ <li><a href="">Four</a></li>
11
+ </ul>
12
+ </nav>
13
+
14
+ <header id="header" class="row">
15
+ <div class="large-4 small-6 columns">
16
+ <h1 id="site-title"><a href="http://themepile.com/playground/">ZURB</a></h1>
17
+ </div>
18
+ <div class="large-8 small-6 columns">
19
+ <nav id="menu" role="navigation" class="hide-for-small">
20
+ <ul id="mainNav" class="inline-list">
21
+ <li><a href="">One</a></li>
22
+ <li><a href="">Two</a></li>
23
+ <li><a href="">Three</a></li>
24
+ <li><a href="">Four</a></li>
25
+ </ul>
26
+ </nav>
27
+ <p class="show-for-small">
28
+ <a class='menu-button button' id="menuButton" href="#menu">Menu</a>
29
+ <a class='sidebar-button button' id="sidebarButton" href="#sidebar">Extra</a>
30
+ </p>
31
+ </div>
32
+ </header>
33
+
34
+ <div class="row">
35
+ <section role="main">
36
+ <h3>Off Canvas Top Nav</h3>
37
+ <div class="row">
38
+ <div class="large-6 columns">
39
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla eget nulla massa. Sed ultricies posuere tincidunt. Morbi dolor est, aliquet quis egestas eu, consectetur nec neque. Etiam velit libero, congue eu accumsan sit amet, eleifend et sem. Donec ac felis sed sapien placerat venenatis. Fusce id tempus nunc. Vestibulum pellentesque vulputate tempus. Suspendisse sed consequat lectus. Nulla bibendum venenatis eros, elementum malesuada mi imperdiet eu. Fusce ornare gravida nulla, sed scelerisque sem scelerisque at.</p>
40
+
41
+ <p>Mauris consectetur elementum massa nec convallis. Integer mauris purus, condimentum vitae mattis a, vehicula lacinia justo. Pellentesque scelerisque orci at ligula cursus eu tempor elit euismod. Donec eleifend, turpis in vulputate eleifend, orci lectus eleifend quam, et ultrices mi nisi id nulla. Nullam est magna, varius nec consectetur vel, pellentesque ac justo. Vivamus commodo pellentesque ante, sed semper nulla congue non. Nunc nec augue sed nibh dapibus accumsan. Nullam in mauris quis lacus ultricies convallis. Morbi semper suscipit elit ut suscipit. Donec lobortis tellus lorem.</p>
42
+ </div>
43
+ <div class="large-6 columns">
44
+ <p>Quisque lacinia est a libero tempor quis gravida nibh luctus. Nulla facilisi. Vestibulum bibendum ipsum a lacus molestie pulvinar a nec risus. Nulla facilisi. Aenean nec tellus ligula. Ut tortor mi, consequat in ornare in, condimentum sed leo. Phasellus et luctus ipsum. Mauris gravida molestie velit ac iaculis. Integer quis libero id erat consectetur accumsan ut eget diam. In hac habitasse platea dictumst.</p>
45
+
46
+ <p>Quisque lacinia est a libero tempor quis gravida nibh luctus. Nulla facilisi. Vestibulum bibendum ipsum a lacus molestie pulvinar a nec risus. Nulla facilisi. Aenean nec tellus ligula. Ut tortor mi, consequat in ornare in, condimentum sed leo. Phasellus et luctus ipsum. Mauris gravida molestie velit ac iaculis. Integer quis libero id erat consectetur accumsan ut eget diam. In hac habitasse platea dictumst.</p>
47
+ </div>
48
+ </div>
49
+ </section>
50
+
51
+ <section id="sidebar" role="complementary">
52
+ <h4>Supplemental</h4>
53
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla eget nulla massa. Sed ultricies posuere tincidunt. Morbi dolor est, aliquet quis egestas eu, consectetur nec neque. Etiam velit libero, congue eu accumsan sit amet, eleifend et sem. Donec ac felis sed sapien placerat venenatis. Fusce id tempus nunc. Vestibulum pellentesque vulputate tempus. Suspendisse sed consequat lectus. Nulla bibendum venenatis eros, elementum malesuada mi imperdiet eu. Fusce ornare gravida nulla, sed scelerisque sem scelerisque at.</p>
54
+ </section>
55
+ </div>
56
+
57
+ <footer class="site-footer row" role="contentinfo">
58
+ <div class="large-12 columns">
59
+ Created by ZURB for Modularis 3, based on code from Jason Weaver and Luke Wroblewski
60
+ </div>
61
+ </footer>
62
+ </div>
63
+
64
+ <%= render "_test-scripts.html.erb" %>
65
+ </body>