modularis 0.1 → 1.0
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.
- checksums.yaml +8 -8
- data/CHANGELOG.md +0 -0
- data/README.md +54 -25
- data/lib/modularis.rb +8 -16
- metadata +11 -44
- data/.gitignore +0 -24
- data/.idea/scopes/scope_settings.xml +0 -5
- data/.rbenv-version +0 -1
- data/CONTRIBUTING.md +0 -53
- data/Gemfile +0 -4
- data/Gemfile.lock +0 -19
- data/Gruntfile.js +0 -27
- data/LICENSE +0 -22
- data/Rakefile +0 -2
- data/js/modularis/index.js +0 -18
- data/js/vendor/custom.modernizr.js +0 -4
- data/js/vendor/jquery.js +0 -9597
- data/js/vendor/zepto.js +0 -1884
- data/lib/modularis/engine.rb +0 -18
- data/lib/modularis/generators/USAGE +0 -15
- data/lib/modularis/generators/install_generator.rb +0 -54
- data/lib/modularis/generators/templates/application.html.erb +0 -46
- data/lib/modularis/generators/templates/application.html.haml +0 -31
- data/lib/modularis/generators/templates/application.html.slim +0 -28
- data/lib/modularis/version.rb +0 -3
- data/modularis.gemspec +0 -20
- data/package.json +0 -15
- data/scss/compagecss/_settings.scss +0 -1192
- data/scss/modularis.scss +0 -5
- data/scss/normalize.scss +0 -402
- data/templates/project/.gitignore +0 -44
- data/templates/project/MIT-LICENSE.txt +0 -20
- data/templates/project/config.rb +0 -49
- data/templates/project/humans.txt +0 -8
- data/templates/project/index.html +0 -124
- data/templates/project/manifest.rb +0 -42
- data/templates/project/robots.txt +0 -4
- data/templates/project/scss/app.scss +0 -48
- data/templates/upgrade/manifest.rb +0 -34
data/scss/modularis.scss
DELETED
data/scss/normalize.scss
DELETED
@@ -1,402 +0,0 @@
|
|
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
|
-
}
|
@@ -1,44 +0,0 @@
|
|
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
|
@@ -1,20 +0,0 @@
|
|
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.
|
data/templates/project/config.rb
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
# Require any additional compass plugins here.
|
2
|
-
|
3
|
-
# Set this to the root of your project when deployed:
|
4
|
-
http_path = "/"
|
5
|
-
css_dir = "css"
|
6
|
-
sass_dir = "scss"
|
7
|
-
images_dir = "images"
|
8
|
-
javascripts_dir = "js"
|
9
|
-
|
10
|
-
# You can select your preferred output style here (can be overridden via the command line):
|
11
|
-
# output_style = :expanded or :nested or :compact or :compressed
|
12
|
-
output_style = :expanded
|
13
|
-
# To enable relative paths to assets via compass helper functions. Uncomment:
|
14
|
-
relative_assets = true
|
15
|
-
|
16
|
-
# To disable debugging comments that display the original location of your selectors. Uncomment:
|
17
|
-
line_comments = false
|
18
|
-
|
19
|
-
|
20
|
-
# If you prefer the indented syntax, you might want to regenerate this
|
21
|
-
# project again passing --syntax sass, or you can uncomment this:
|
22
|
-
# preferred_syntax = :sass
|
23
|
-
# and then run:
|
24
|
-
# sass-convert -R --from scss --to sass scss scss && rm -rf sass && mv scss sass
|
25
|
-
|
26
|
-
# Make a copy of sprites with a name that has no uniqueness of the hash.
|
27
|
-
on_sprite_saved do |filename|
|
28
|
-
if File.exists?(filename)
|
29
|
-
FileUtils.cp filename, filename.gsub(%r{-s[a-z0-9]{10}\.png$}, '.png')
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
|
-
# Replace in stylesheets generated references to sprites
|
34
|
-
# by their counterparts without the hash uniqueness.
|
35
|
-
on_stylesheet_saved do |filename|
|
36
|
-
if File.exists?(filename)
|
37
|
-
css = File.read filename
|
38
|
-
File.open(filename, 'w+') do |f|
|
39
|
-
f << css.gsub(%r{-s[a-z0-9]{10}\.png}, '.png')
|
40
|
-
end
|
41
|
-
end
|
42
|
-
end
|
43
|
-
|
44
|
-
def decimal(value)
|
45
|
-
unless value.is_a?(Sass::Script::Number) && value.unit_str == "%"
|
46
|
-
raise ArgumentError.new("#{value.inspect} is not a percent")
|
47
|
-
end
|
48
|
-
Sass::Script::Number.new(value.value / 100.0)
|
49
|
-
end
|
@@ -1,124 +0,0 @@
|
|
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>
|
@@ -1,42 +0,0 @@
|
|
1
|
-
description 'Modularis Compass Gem'
|
2
|
-
|
3
|
-
# Sass Files
|
4
|
-
stylesheet '../../scss/modularis/_settings.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
|
-
}
|
39
|
-
|
40
|
-
# file 'config.rb'
|
41
|
-
|
42
|
-
# no_configuration_file!
|