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,402 @@
1
+ /*! normalize.css v2.1.1 | MIT License | git.io/normalize */
2
+
3
+ /* ==========================================================================
4
+ HTML5 display definitions
5
+ ========================================================================== */
6
+
7
+ /**
8
+ * Correct `block` display not defined in IE 8/9.
9
+ */
10
+
11
+ article,
12
+ aside,
13
+ details,
14
+ figcaption,
15
+ figure,
16
+ footer,
17
+ header,
18
+ hgroup,
19
+ main,
20
+ nav,
21
+ section,
22
+ summary {
23
+ display: block;
24
+ }
25
+
26
+ /**
27
+ * Correct `inline-block` display not defined in IE 8/9.
28
+ */
29
+
30
+ audio,
31
+ canvas,
32
+ video {
33
+ display: inline-block;
34
+ }
35
+
36
+ /**
37
+ * Prevent modern browsers from displaying `audio` without controls.
38
+ * Remove excess height in iOS 5 devices.
39
+ */
40
+
41
+ audio:not([controls]) {
42
+ display: none;
43
+ height: 0;
44
+ }
45
+
46
+ /**
47
+ * Address styling not present in IE 8/9.
48
+ */
49
+
50
+ [hidden] {
51
+ display: none;
52
+ }
53
+
54
+ /* ==========================================================================
55
+ Base
56
+ ========================================================================== */
57
+
58
+ /**
59
+ * 1. Prevent system color scheme's background color being used in Firefox, IE,
60
+ * and Opera.
61
+ * 2. Prevent system color scheme's text color being used in Firefox, IE, and
62
+ * Opera.
63
+ * 3. Set default font family to sans-serif.
64
+ * 4. Prevent iOS text size adjust after orientation change, without disabling
65
+ * user zoom.
66
+ */
67
+
68
+ html {
69
+ background: #fff; /* 1 */
70
+ color: #000; /* 2 */
71
+ font-family: sans-serif; /* 3 */
72
+ -ms-text-size-adjust: 100%; /* 4 */
73
+ -webkit-text-size-adjust: 100%; /* 4 */
74
+ }
75
+
76
+ /**
77
+ * Remove default margin.
78
+ */
79
+
80
+ body {
81
+ margin: 0;
82
+ }
83
+
84
+ /* ==========================================================================
85
+ Links
86
+ ========================================================================== */
87
+
88
+ /**
89
+ * Address `outline` inconsistency between Chrome and other browsers.
90
+ */
91
+
92
+ a:focus {
93
+ outline: thin dotted;
94
+ }
95
+
96
+ /**
97
+ * Improve readability when focused and also mouse hovered in all browsers.
98
+ */
99
+
100
+ a:active,
101
+ a:hover {
102
+ outline: 0;
103
+ }
104
+
105
+ /* ==========================================================================
106
+ Typography
107
+ ========================================================================== */
108
+
109
+ /**
110
+ * Address variable `h1` font-size and margin within `section` and `article`
111
+ * contexts in Firefox 4+, Safari 5, and Chrome.
112
+ */
113
+
114
+ h1 {
115
+ font-size: 2em;
116
+ margin: 0.67em 0;
117
+ }
118
+
119
+ /**
120
+ * Address styling not present in IE 8/9, Safari 5, and Chrome.
121
+ */
122
+
123
+ abbr[title] {
124
+ border-bottom: 1px dotted;
125
+ }
126
+
127
+ /**
128
+ * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
129
+ */
130
+
131
+ b,
132
+ strong {
133
+ font-weight: bold;
134
+ }
135
+
136
+ /**
137
+ * Address styling not present in Safari 5 and Chrome.
138
+ */
139
+
140
+ dfn {
141
+ font-style: italic;
142
+ }
143
+
144
+ /**
145
+ * Address differences between Firefox and other browsers.
146
+ */
147
+
148
+ hr {
149
+ -moz-box-sizing: content-box;
150
+ box-sizing: content-box;
151
+ height: 0;
152
+ }
153
+
154
+ /**
155
+ * Address styling not present in IE 8/9.
156
+ */
157
+
158
+ mark {
159
+ background: #ff0;
160
+ color: #000;
161
+ }
162
+
163
+ /**
164
+ * Correct font family set oddly in Safari 5 and Chrome.
165
+ */
166
+
167
+ code,
168
+ kbd,
169
+ pre,
170
+ samp {
171
+ font-family: monospace, serif;
172
+ font-size: 1em;
173
+ }
174
+
175
+ /**
176
+ * Improve readability of pre-formatted text in all browsers.
177
+ */
178
+
179
+ pre {
180
+ white-space: pre-wrap;
181
+ }
182
+
183
+ /**
184
+ * Set consistent quote types.
185
+ */
186
+
187
+ q {
188
+ quotes: "\201C" "\201D" "\2018" "\2019";
189
+ }
190
+
191
+ /**
192
+ * Address inconsistent and variable font size in all browsers.
193
+ */
194
+
195
+ small {
196
+ font-size: 80%;
197
+ }
198
+
199
+ /**
200
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
201
+ */
202
+
203
+ sub,
204
+ sup {
205
+ font-size: 75%;
206
+ line-height: 0;
207
+ position: relative;
208
+ vertical-align: baseline;
209
+ }
210
+
211
+ sup {
212
+ top: -0.5em;
213
+ }
214
+
215
+ sub {
216
+ bottom: -0.25em;
217
+ }
218
+
219
+ /* ==========================================================================
220
+ Embedded content
221
+ ========================================================================== */
222
+
223
+ /**
224
+ * Remove border when inside `a` element in IE 8/9.
225
+ */
226
+
227
+ img {
228
+ border: 0;
229
+ }
230
+
231
+ /**
232
+ * Correct overflow displayed oddly in IE 9.
233
+ */
234
+
235
+ svg:not(:root) {
236
+ overflow: hidden;
237
+ }
238
+
239
+ /* ==========================================================================
240
+ Figures
241
+ ========================================================================== */
242
+
243
+ /**
244
+ * Address margin not present in IE 8/9 and Safari 5.
245
+ */
246
+
247
+ figure {
248
+ margin: 0;
249
+ }
250
+
251
+ /* ==========================================================================
252
+ Forms
253
+ ========================================================================== */
254
+
255
+ /**
256
+ * Define consistent border, margin, and padding.
257
+ */
258
+
259
+ fieldset {
260
+ border: 1px solid #c0c0c0;
261
+ margin: 0 2px;
262
+ padding: 0.35em 0.625em 0.75em;
263
+ }
264
+
265
+ /**
266
+ * 1. Correct `color` not being inherited in IE 8/9.
267
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
268
+ */
269
+
270
+ legend {
271
+ border: 0; /* 1 */
272
+ padding: 0; /* 2 */
273
+ }
274
+
275
+ /**
276
+ * 1. Correct font family not being inherited in all browsers.
277
+ * 2. Correct font size not being inherited in all browsers.
278
+ * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
279
+ */
280
+
281
+ button,
282
+ input,
283
+ select,
284
+ textarea {
285
+ font-family: inherit; /* 1 */
286
+ font-size: 100%; /* 2 */
287
+ margin: 0; /* 3 */
288
+ }
289
+
290
+ /**
291
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
292
+ * the UA stylesheet.
293
+ */
294
+
295
+ button,
296
+ input {
297
+ line-height: normal;
298
+ }
299
+
300
+ /**
301
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
302
+ * All other form control elements do not inherit `text-transform` values.
303
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
304
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
305
+ */
306
+
307
+ button,
308
+ select {
309
+ text-transform: none;
310
+ }
311
+
312
+ /**
313
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
314
+ * and `video` controls.
315
+ * 2. Correct inability to style clickable `input` types in iOS.
316
+ * 3. Improve usability and consistency of cursor style between image-type
317
+ * `input` and others.
318
+ */
319
+
320
+ button,
321
+ html input[type="button"], /* 1 */
322
+ input[type="reset"],
323
+ input[type="submit"] {
324
+ -webkit-appearance: button; /* 2 */
325
+ cursor: pointer; /* 3 */
326
+ }
327
+
328
+ /**
329
+ * Re-set default cursor for disabled elements.
330
+ */
331
+
332
+ button[disabled],
333
+ html input[disabled] {
334
+ cursor: default;
335
+ }
336
+
337
+ /**
338
+ * 1. Address box sizing set to `content-box` in IE 8/9.
339
+ * 2. Remove excess padding in IE 8/9.
340
+ */
341
+
342
+ input[type="checkbox"],
343
+ input[type="radio"] {
344
+ box-sizing: border-box; /* 1 */
345
+ padding: 0; /* 2 */
346
+ }
347
+
348
+ /**
349
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
350
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
351
+ * (include `-moz` to future-proof).
352
+ */
353
+
354
+ input[type="search"] {
355
+ -webkit-appearance: textfield; /* 1 */
356
+ -moz-box-sizing: content-box;
357
+ -webkit-box-sizing: content-box; /* 2 */
358
+ box-sizing: content-box;
359
+ }
360
+
361
+ /**
362
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
363
+ * on OS X.
364
+ */
365
+
366
+ input[type="search"]::-webkit-search-cancel-button,
367
+ input[type="search"]::-webkit-search-decoration {
368
+ -webkit-appearance: none;
369
+ }
370
+
371
+ /**
372
+ * Remove inner padding and border in Firefox 4+.
373
+ */
374
+
375
+ button::-moz-focus-inner,
376
+ input::-moz-focus-inner {
377
+ border: 0;
378
+ padding: 0;
379
+ }
380
+
381
+ /**
382
+ * 1. Remove default vertical scrollbar in IE 8/9.
383
+ * 2. Improve readability and alignment in all browsers.
384
+ */
385
+
386
+ textarea {
387
+ overflow: auto; /* 1 */
388
+ vertical-align: top; /* 2 */
389
+ }
390
+
391
+ /* ==========================================================================
392
+ Tables
393
+ ========================================================================== */
394
+
395
+ /**
396
+ * Remove most spacing between table cells.
397
+ */
398
+
399
+ table {
400
+ border-collapse: collapse;
401
+ border-spacing: 0;
402
+ }
@@ -0,0 +1,44 @@
1
+ # Numerous always-ignore extensions
2
+ *.diff
3
+ *.err
4
+ *.orig
5
+ *.log
6
+ *.rej
7
+ *.swo
8
+ *.swp
9
+ *.vi
10
+ *~
11
+ *.sass-cache
12
+
13
+ # OS or Editor folders
14
+ .DS_Store
15
+ Thumbs.db
16
+ .cache
17
+ .project
18
+ .settings
19
+ .tmproj
20
+ *.esproj
21
+ nbproject
22
+ *.sublime-project
23
+ *.sublime-workspace
24
+
25
+ # Dreamweaver added files
26
+ _notes
27
+ dwsync.xml
28
+
29
+ # Komodo
30
+ *.komodoproject
31
+ .komodotools
32
+
33
+ # Folders to ignore
34
+ .hg
35
+ .svn
36
+ .CVS
37
+ intermediate
38
+ publish
39
+ .idea
40
+
41
+ # build script local files
42
+ build/buildinfo.properties
43
+ build/config/buildinfo.properties
44
+ marketing/files/modularis-download.zip
@@ -0,0 +1,20 @@
1
+ Copyright (c) 2011 ZURB, http://www.themepile.com/
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,26 @@
1
+ require 'themepile-modularis'
2
+ # Require any additional compass plugins here.
3
+
4
+
5
+ # Set this to the root of your project when deployed:
6
+ http_path = "/"
7
+ css_dir = "stylesheets"
8
+ sass_dir = "sass"
9
+ images_dir = "images"
10
+ javascripts_dir = "javascripts"
11
+
12
+ # You can select your preferred output style here (can be overridden via the command line):
13
+ # output_style = :expanded or :nested or :compact or :compressed
14
+
15
+ # To enable relative paths to assets via compass helper functions. Uncomment:
16
+ # relative_assets = true
17
+
18
+ # To disable debugging comments that display the original location of your selectors. Uncomment:
19
+ # line_comments = false
20
+
21
+
22
+ # If you prefer the indented syntax, you might want to regenerate this
23
+ # project again passing --syntax sass, or you can uncomment this:
24
+ # preferred_syntax = :sass
25
+ # and then run:
26
+ # sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass
@@ -0,0 +1,8 @@
1
+ /* Modularis was made by ZURB, an interaction design and design strategy firm in Campbell, CA */
2
+ /* themepile.com */
3
+ /* humanstxt.org */
4
+
5
+ /* SITE */
6
+ Standards: HTML5, CSS3
7
+ Components: jQuery, Orbit, Reveal
8
+ Software: Coda, Textmate, Git
@@ -0,0 +1,124 @@
1
+ <% template = @template if defined?(@template) %>
2
+ <!DOCTYPE html>
3
+ <!--[if IE 8]> <html class="no-js lt-ie9" lang="en" <% if template[:options][:rtl] %>dir="rtl"<% end %>> <![endif]-->
4
+ <!--[if gt IE 8]><!--> <html class="no-js" lang="en" <% if template[:options][:rtl] %>dir="rtl"<% end %>> <!--<![endif]-->
5
+
6
+ <head>
7
+ <meta charset="utf-8" />
8
+ <meta name="viewport" content="width=device-width" />
9
+ <title>Modularis 4</title>
10
+
11
+ <% if template[:options][:customizer_used] %>
12
+ <link rel="stylesheet" href="<%= css_dir %>/modularis.css" />
13
+ <% else %>
14
+ <link rel="stylesheet" href="<%= css_dir %>/app.css" />
15
+ <% end %>
16
+
17
+ <script src="<%= javascripts_dir %>/vendor/custom.modernizr.js"></script>
18
+
19
+ </head>
20
+ <body>
21
+
22
+ <div class="row">
23
+ <div class="large-12 columns">
24
+ <h2>Welcome to Modularis</h2>
25
+ <p>This is version <%= template[:options][:version] %>.</p>
26
+ <hr />
27
+ </div>
28
+ </div>
29
+
30
+ <div class="row">
31
+ <div class="large-8 columns">
32
+ <h3>The Grid</h3>
33
+
34
+ <!-- Grid Example -->
35
+ <div class="row">
36
+ <div class="large-12 columns">
37
+ <div class="panel">
38
+ <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>
39
+ </div>
40
+ </div>
41
+ </div>
42
+ <div class="row">
43
+ <div class="large-6 columns">
44
+ <div class="panel">
45
+ <p>Six columns</p>
46
+ </div>
47
+ </div>
48
+ <div class="large-6 columns">
49
+ <div class="panel">
50
+ <p>Six columns</p>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <div class="row">
55
+ <div class="large-4 columns">
56
+ <div class="panel">
57
+ <p>Four columns</p>
58
+ </div>
59
+ </div>
60
+ <div class="large-4 columns">
61
+ <div class="panel">
62
+ <p>Four columns</p>
63
+ </div>
64
+ </div>
65
+ <div class="large-4 columns">
66
+ <div class="panel">
67
+ <p>Four columns</p>
68
+ </div>
69
+ </div>
70
+ </div>
71
+
72
+ <h3>Buttons</h3>
73
+
74
+ <div class="row">
75
+ <div class="large-6 columns">
76
+ <p><a href="#" class="small button">Small Button</a></p>
77
+ <p><a href="#" class="button">Medium Button</a></p>
78
+ <p><a href="#" class="large button">Large Button</a></p>
79
+ </div>
80
+ <div class="large-6 columns">
81
+ <p><a href="#" class="small alert button">Small Alert Button</a></p>
82
+ <p><a href="#" class="success button">Medium Success Button</a></p>
83
+ <p><a href="#" class="large secondary button">Large Secondary Button</a></p>
84
+ </div>
85
+ </div>
86
+ </div>
87
+
88
+ <div class="large-4 columns">
89
+ <h4>Getting Started</h4>
90
+ <p>We're stoked you want to try Modularis! To get going, this file (index.html) includes some basic styles you can modify, play around with, or totally destroy to get going.</p>
91
+
92
+ <h4>Other Resources</h4>
93
+ <p>Once you've exhausted the fun in this document, you should check out:</p>
94
+ <ul class="disc">
95
+ <li><a href="http://modularis.themepile.com/docs">Modularis Documentation</a><br />Everything you need to know about using the framework.</li>
96
+ <li><a href="http://github.com/themepile/modularis">Modularis on Github</a><br />Latest code, issue reports, feature requests and more.</li>
97
+ <li><a href="http://twitter.com/modularisthemepile">@modularisthemepile</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>
98
+ </ul>
99
+ </div>
100
+ </div>
101
+
102
+ <script>
103
+ document.write('<script src=' +
104
+ ('__proto__' in {} ? '<%= javascripts_dir %>/vendor/zepto' : '<%= javascripts_dir %>/vendor/jquery') +
105
+ '.js><\/script>')
106
+ </script>
107
+ <% if template[:options][:customizer_used] %>
108
+ <script src="<%= javascripts_dir %>/modularis.min.js"></script>
109
+ <!--
110
+ <% template[:options][:javascripts].each do |f| %>
111
+ <script src="<%= javascripts_dir %>/modularis/<%= f %>"></script>
112
+ <% end %>
113
+ -->
114
+ <% else %>
115
+ <script src="<%= javascripts_dir %>/modularis/modularis.js"></script>
116
+ <% template[:options][:javascripts].each do |f| %>
117
+ <script src="<%= javascripts_dir %>/<%= f %>"></script>
118
+ <% end %>
119
+ <% end %>
120
+ <script>
121
+ $(document).modularis();
122
+ </script>
123
+ </body>
124
+ </html>
@@ -0,0 +1,44 @@
1
+ description 'Modularis Compass Gem'
2
+
3
+ # Sass Files
4
+ stylesheet '../../scss/modularis/_variables.scss', :to => '_settings.scss'
5
+ stylesheet 'scss/app.scss', :to => 'app.scss', :media => "screen, projector, print"
6
+
7
+ # Make sure you list all the project template files here in the manifest.
8
+ file 'humans.txt'
9
+ file 'robots.txt'
10
+ file 'MIT-LICENSE.txt'
11
+
12
+ def copy_js_from(relative_path, prefix_path, excludes=[])
13
+ absolute_path = File.join(File.dirname(__FILE__), relative_path, prefix_path)
14
+ js_files = Dir.glob("#{absolute_path}/*.js")
15
+ js_files.reject! {|f| excludes.include? File.basename(f)}
16
+ js_files.each do |js|
17
+ javascript "#{relative_path}/#{prefix_path}/#{File.basename(js)}",
18
+ :to => "#{prefix_path}/#{File.basename(js)}"
19
+ end
20
+ return js_files.map {|f| "#{prefix_path}/#{File.basename(f)}"}
21
+ end
22
+
23
+ javascripts = copy_js_from("../../js", "modularis", ["modularis.js", "index.js"])
24
+ vendor_javascripts = copy_js_from("../../js", "vendor")
25
+
26
+ javascript "../../js/modularis/modularis.js", :to => "modularis/modularis.js"
27
+
28
+ html 'index.html', :erb => true, :javascripts => javascripts, :version => Modularis::VERSION
29
+
30
+ help %Q{
31
+
32
+ If you need help, email us at modularis@themepile.com or visit modularis.themepile.com"
33
+
34
+ }
35
+
36
+ welcome_message %Q{
37
+
38
+ w00t! You're using ZURB Modularis, now go forth and rock 'n roll!
39
+
40
+ }
41
+
42
+ # file 'config.rb'
43
+
44
+ # no_configuration_file!
@@ -0,0 +1,4 @@
1
+ # www.robotstxt.org/
2
+ # www.google.com/support/webmasters/bin/answer.py?hl=en&answer=156449
3
+
4
+ User-agent: *