humdrum-rails 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (51) hide show
  1. data/humdrum-rails.gemspec +3 -0
  2. data/lib/humdrum/version.rb +1 -1
  3. data/lib/rails/generators/humdrum/layout/layout_generator.rb +53 -39
  4. data/lib/rails/generators/humdrum/layout/templates/stylesheets/application.css +25 -0
  5. data/lib/rails/generators/humdrum/layout/templates/stylesheets/gumby.css +1845 -0
  6. data/lib/rails/generators/humdrum/layout/templates/stylesheets/overrides-bootstrap.css +4 -0
  7. data/lib/rails/generators/humdrum/layout/templates/stylesheets/overrides-gumby.css +11 -0
  8. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/admin/_footer.html.erb +0 -0
  9. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/admin/_header.html.erb +0 -0
  10. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/admin/_navbar.html.erb +0 -0
  11. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/admin.html.erb +0 -0
  12. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/common/_flash_message.html.erb +0 -0
  13. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/common/_meta_tags.html.erb +0 -0
  14. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/common/_overlays.html.erb +0 -0
  15. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/public/_footer.html.erb +0 -0
  16. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/public/_header.html.erb +0 -0
  17. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/public/_navbar.html.erb +0 -0
  18. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/public.html.erb +0 -0
  19. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/user/_footer.html.erb +0 -0
  20. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/user/_header.html.erb +0 -0
  21. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/user/_navbar.html.erb +0 -0
  22. data/lib/rails/generators/humdrum/layout/templates/views/{layouts → bootstrap/layouts}/user.html.erb +0 -0
  23. data/lib/rails/generators/humdrum/layout/templates/views/bootstrap/welcome/index.html.erb +5 -0
  24. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/admin/_footer.html.erb +0 -0
  25. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/admin/_header.html.erb +43 -0
  26. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/admin/_navbar.html.erb +0 -0
  27. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/admin.html.erb +65 -0
  28. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/common/_flash_message.html.erb +24 -0
  29. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/common/_meta_tags.html.erb +42 -0
  30. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/common/_overlays.html.erb +9 -0
  31. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/public/_footer.html.erb +0 -0
  32. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/public/_header.html.erb +43 -0
  33. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/public/_navbar.html.erb +0 -0
  34. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/public.html.erb +63 -0
  35. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/user/_footer.html.erb +0 -0
  36. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/user/_header.html.erb +43 -0
  37. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/user/_navbar.html.erb +0 -0
  38. data/lib/rails/generators/humdrum/layout/templates/views/gumby/layouts/user.html.erb +65 -0
  39. data/lib/rails/generators/humdrum/layout/templates/views/gumby/welcome/index.html.erb +5 -0
  40. metadata +69 -28
  41. data/lib/rails/generators/humdrum/layout/templates/stylesheets/bootstrap-responsive.css +0 -1109
  42. data/lib/rails/generators/humdrum/layout/templates/stylesheets/humdrum/boilerplate.css.scss +0 -299
  43. data/lib/rails/generators/humdrum/layout/templates/stylesheets/humdrum/box.css.scss +0 -57
  44. data/lib/rails/generators/humdrum/layout/templates/stylesheets/humdrum/caligraphy.css.scss +0 -30
  45. data/lib/rails/generators/humdrum/layout/templates/stylesheets/humdrum/dividers.css.scss +0 -18
  46. data/lib/rails/generators/humdrum/layout/templates/stylesheets/humdrum/form.css.scss +0 -80
  47. data/lib/rails/generators/humdrum/layout/templates/stylesheets/humdrum/misc.css.scss +0 -9
  48. data/lib/rails/generators/humdrum/layout/templates/stylesheets/humdrum/normalize.css.scss +0 -533
  49. data/lib/rails/generators/humdrum/layout/templates/stylesheets/humdrum/palettes.css.scss +0 -66
  50. data/lib/rails/generators/humdrum/layout/templates/stylesheets/humdrum/positioning.css.scss +0 -702
  51. data/lib/rails/generators/humdrum/layout/templates/views/welcome/index.html.erb +0 -5
@@ -1,533 +0,0 @@
1
- /*! normalize.css v1.1.1 | MIT License | git.io/normalize */
2
-
3
- /* ==========================================================================
4
- HTML5 display definitions
5
- ========================================================================== */
6
-
7
- /**
8
- * Correct `block` display not defined in IE 6/7/8/9 and Firefox 3.
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 6/7/8/9 and Firefox 3.
28
- */
29
-
30
- audio,
31
- canvas,
32
- video {
33
- display: inline-block;
34
- *display: inline;
35
- *zoom: 1;
36
- }
37
-
38
- /**
39
- * Prevent modern browsers from displaying `audio` without controls.
40
- * Remove excess height in iOS 5 devices.
41
- */
42
-
43
- audio:not([controls]) {
44
- display: none;
45
- height: 0;
46
- }
47
-
48
- /**
49
- * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
50
- * Known issue: no IE 6 support.
51
- */
52
-
53
- [hidden] {
54
- display: none;
55
- }
56
-
57
- /* ==========================================================================
58
- Base
59
- ========================================================================== */
60
-
61
- /**
62
- * 1. Prevent system color scheme's background color being used in Firefox, IE,
63
- * and Opera.
64
- * 2. Prevent system color scheme's text color being used in Firefox, IE, and
65
- * Opera.
66
- * 3. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
67
- * `em` units.
68
- * 4. Prevent iOS text size adjust after orientation change, without disabling
69
- * user zoom.
70
- */
71
-
72
- html {
73
- background: #fff; /* 1 */
74
- color: #000; /* 2 */
75
- font-size: 100%; /* 3 */
76
- -webkit-text-size-adjust: 100%; /* 4 */
77
- -ms-text-size-adjust: 100%; /* 4 */
78
- }
79
-
80
- /**
81
- * Address `font-family` inconsistency between `textarea` and other form
82
- * elements.
83
- */
84
-
85
- html,
86
- button,
87
- input,
88
- select,
89
- textarea {
90
- font-family: sans-serif;
91
- }
92
-
93
- /**
94
- * Address margins handled incorrectly in IE 6/7.
95
- */
96
-
97
- body {
98
- margin: 0;
99
- }
100
-
101
- /* ==========================================================================
102
- Links
103
- ========================================================================== */
104
-
105
- /**
106
- * Address `outline` inconsistency between Chrome and other browsers.
107
- */
108
-
109
- a:focus {
110
- outline: thin dotted;
111
- }
112
-
113
- /**
114
- * Improve readability when focused and also mouse hovered in all browsers.
115
- */
116
-
117
- a:active,
118
- a:hover {
119
- outline: 0;
120
- }
121
-
122
- /* ==========================================================================
123
- Typography
124
- ========================================================================== */
125
-
126
- /**
127
- * Address font sizes and margins set differently in IE 6/7.
128
- * Address font sizes within `section` and `article` in Firefox 4+, Safari 5,
129
- * and Chrome.
130
- */
131
-
132
- h1 {
133
- font-size: 2em;
134
- margin: 0.67em 0;
135
- }
136
-
137
- h2 {
138
- font-size: 1.5em;
139
- margin: 0.83em 0;
140
- }
141
-
142
- h3 {
143
- font-size: 1.17em;
144
- margin: 1em 0;
145
- }
146
-
147
- h4 {
148
- font-size: 1em;
149
- margin: 1.33em 0;
150
- }
151
-
152
- h5 {
153
- font-size: 0.83em;
154
- margin: 1.67em 0;
155
- }
156
-
157
- h6 {
158
- font-size: 0.67em;
159
- margin: 2.33em 0;
160
- }
161
-
162
- /**
163
- * Address styling not present in IE 7/8/9, Safari 5, and Chrome.
164
- */
165
-
166
- abbr[title] {
167
- border-bottom: 1px dotted;
168
- }
169
-
170
- /**
171
- * Address style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome.
172
- */
173
-
174
- b,
175
- strong {
176
- font-weight: bold;
177
- }
178
-
179
- blockquote {
180
- margin: 1em 40px;
181
- }
182
-
183
- /**
184
- * Address styling not present in Safari 5 and Chrome.
185
- */
186
-
187
- dfn {
188
- font-style: italic;
189
- }
190
-
191
- /**
192
- * Address differences between Firefox and other browsers.
193
- * Known issue: no IE 6/7 normalization.
194
- */
195
-
196
- hr {
197
- -moz-box-sizing: content-box;
198
- box-sizing: content-box;
199
- height: 0;
200
- }
201
-
202
- /**
203
- * Address styling not present in IE 6/7/8/9.
204
- */
205
-
206
- mark {
207
- background: #ff0;
208
- color: #000;
209
- }
210
-
211
- /**
212
- * Address margins set differently in IE 6/7.
213
- */
214
-
215
- p,
216
- pre {
217
- margin: 1em 0;
218
- }
219
-
220
- /**
221
- * Correct font family set oddly in IE 6, Safari 4/5, and Chrome.
222
- */
223
-
224
- code,
225
- kbd,
226
- pre,
227
- samp {
228
- font-family: monospace, serif;
229
- _font-family: 'courier new', monospace;
230
- font-size: 1em;
231
- }
232
-
233
- /**
234
- * Improve readability of pre-formatted text in all browsers.
235
- */
236
-
237
- pre {
238
- white-space: pre;
239
- white-space: pre-wrap;
240
- word-wrap: break-word;
241
- }
242
-
243
- /**
244
- * Address CSS quotes not supported in IE 6/7.
245
- */
246
-
247
- q {
248
- quotes: none;
249
- }
250
-
251
- /**
252
- * Address `quotes` property not supported in Safari 4.
253
- */
254
-
255
- q:before,
256
- q:after {
257
- content: '';
258
- content: none;
259
- }
260
-
261
- /**
262
- * Address inconsistent and variable font size in all browsers.
263
- */
264
-
265
- small {
266
- font-size: 80%;
267
- }
268
-
269
- /**
270
- * Prevent `sub` and `sup` affecting `line-height` in all browsers.
271
- */
272
-
273
- sub,
274
- sup {
275
- font-size: 75%;
276
- line-height: 0;
277
- position: relative;
278
- vertical-align: baseline;
279
- }
280
-
281
- sup {
282
- top: -0.5em;
283
- }
284
-
285
- sub {
286
- bottom: -0.25em;
287
- }
288
-
289
- /* ==========================================================================
290
- Lists
291
- ========================================================================== */
292
-
293
- /**
294
- * Address margins set differently in IE 6/7.
295
- */
296
-
297
- dl,
298
- menu,
299
- ol,
300
- ul {
301
- margin: 1em 0;
302
- }
303
-
304
- dd {
305
- margin: 0 0 0 40px;
306
- }
307
-
308
- /**
309
- * Address paddings set differently in IE 6/7.
310
- */
311
-
312
- menu,
313
- ol,
314
- ul {
315
- padding: 0 0 0 40px;
316
- }
317
-
318
- /**
319
- * Correct list images handled incorrectly in IE 7.
320
- */
321
-
322
- nav ul,
323
- nav ol {
324
- list-style: none;
325
- list-style-image: none;
326
- }
327
-
328
- /* ==========================================================================
329
- Embedded content
330
- ========================================================================== */
331
-
332
- /**
333
- * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
334
- * 2. Improve image quality when scaled in IE 7.
335
- */
336
-
337
- img {
338
- border: 0; /* 1 */
339
- -ms-interpolation-mode: bicubic; /* 2 */
340
- }
341
-
342
- /**
343
- * Correct overflow displayed oddly in IE 9.
344
- */
345
-
346
- svg:not(:root) {
347
- overflow: hidden;
348
- }
349
-
350
- /* ==========================================================================
351
- Figures
352
- ========================================================================== */
353
-
354
- /**
355
- * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
356
- */
357
-
358
- figure {
359
- margin: 0;
360
- }
361
-
362
- /* ==========================================================================
363
- Forms
364
- ========================================================================== */
365
-
366
- /**
367
- * Correct margin displayed oddly in IE 6/7.
368
- */
369
-
370
- form {
371
- margin: 0;
372
- }
373
-
374
- /**
375
- * Define consistent border, margin, and padding.
376
- */
377
-
378
- fieldset {
379
- border: 1px solid #c0c0c0;
380
- margin: 0 2px;
381
- padding: 0.35em 0.625em 0.75em;
382
- }
383
-
384
- /**
385
- * 1. Correct color not being inherited in IE 6/7/8/9.
386
- * 2. Correct text not wrapping in Firefox 3.
387
- * 3. Correct alignment displayed oddly in IE 6/7.
388
- */
389
-
390
- legend {
391
- border: 0; /* 1 */
392
- padding: 0;
393
- white-space: normal; /* 2 */
394
- *margin-left: -7px; /* 3 */
395
- }
396
-
397
- /**
398
- * 1. Correct font size not being inherited in all browsers.
399
- * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
400
- * and Chrome.
401
- * 3. Improve appearance and consistency in all browsers.
402
- */
403
-
404
- button,
405
- input,
406
- select,
407
- textarea {
408
- font-size: 100%; /* 1 */
409
- margin: 0; /* 2 */
410
- vertical-align: baseline; /* 3 */
411
- *vertical-align: middle; /* 3 */
412
- }
413
-
414
- /**
415
- * Address Firefox 3+ setting `line-height` on `input` using `!important` in
416
- * the UA stylesheet.
417
- */
418
-
419
- button,
420
- input {
421
- line-height: normal;
422
- }
423
-
424
- /**
425
- * Address inconsistent `text-transform` inheritance for `button` and `select`.
426
- * All other form control elements do not inherit `text-transform` values.
427
- * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
428
- * Correct `select` style inheritance in Firefox 4+ and Opera.
429
- */
430
-
431
- button,
432
- select {
433
- text-transform: none;
434
- }
435
-
436
- /**
437
- * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
438
- * and `video` controls.
439
- * 2. Correct inability to style clickable `input` types in iOS.
440
- * 3. Improve usability and consistency of cursor style between image-type
441
- * `input` and others.
442
- * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
443
- * Known issue: inner spacing remains in IE 6.
444
- */
445
-
446
- button,
447
- html input[type="button"], /* 1 */
448
- input[type="reset"],
449
- input[type="submit"] {
450
- -webkit-appearance: button; /* 2 */
451
- cursor: pointer; /* 3 */
452
- *overflow: visible; /* 4 */
453
- }
454
-
455
- /**
456
- * Re-set default cursor for disabled elements.
457
- */
458
-
459
- button[disabled],
460
- html input[disabled] {
461
- cursor: default;
462
- }
463
-
464
- /**
465
- * 1. Address box sizing set to content-box in IE 8/9.
466
- * 2. Remove excess padding in IE 8/9.
467
- * 3. Remove excess padding in IE 7.
468
- * Known issue: excess padding remains in IE 6.
469
- */
470
-
471
- input[type="checkbox"],
472
- input[type="radio"] {
473
- box-sizing: border-box; /* 1 */
474
- padding: 0; /* 2 */
475
- *height: 13px; /* 3 */
476
- *width: 13px; /* 3 */
477
- }
478
-
479
- /**
480
- * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
481
- * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
482
- * (include `-moz` to future-proof).
483
- */
484
-
485
- input[type="search"] {
486
- -webkit-appearance: textfield; /* 1 */
487
- -moz-box-sizing: content-box;
488
- -webkit-box-sizing: content-box; /* 2 */
489
- box-sizing: content-box;
490
- }
491
-
492
- /**
493
- * Remove inner padding and search cancel button in Safari 5 and Chrome
494
- * on OS X.
495
- */
496
-
497
- input[type="search"]::-webkit-search-cancel-button,
498
- input[type="search"]::-webkit-search-decoration {
499
- -webkit-appearance: none;
500
- }
501
-
502
- /**
503
- * Remove inner padding and border in Firefox 3+.
504
- */
505
-
506
- button::-moz-focus-inner,
507
- input::-moz-focus-inner {
508
- border: 0;
509
- padding: 0;
510
- }
511
-
512
- /**
513
- * 1. Remove default vertical scrollbar in IE 6/7/8/9.
514
- * 2. Improve readability and alignment in all browsers.
515
- */
516
-
517
- textarea {
518
- overflow: auto; /* 1 */
519
- vertical-align: top; /* 2 */
520
- }
521
-
522
- /* ==========================================================================
523
- Tables
524
- ========================================================================== */
525
-
526
- /**
527
- * Remove most spacing between table cells.
528
- */
529
-
530
- table {
531
- border-collapse: collapse;
532
- border-spacing: 0;
533
- }
@@ -1,66 +0,0 @@
1
- .palette.shadowed:hover {
2
- -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
3
- -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
4
- box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
5
- -webkit-transition: all 0.5s ease;
6
- -moz-transition: all 0.5s ease;
7
- -o-transition: all 0.5s ease;
8
- transition: all 0.5s ease; }
9
-
10
- .palette {
11
- /*position: relative;*/
12
- top: auto;
13
- z-index: 1;
14
- max-width: 100%;
15
- margin: 0px;
16
- overflow: auto;
17
- background-color: transparent;
18
- *zoom: 1; }
19
- .palette:before, .palette:after {
20
- display: table;
21
- content: "";
22
- line-height: 0; }
23
- .palette:after {
24
- clear: both; }
25
- .palette.fixed {
26
- position: fixed; }
27
- .palette.bordered {
28
- border: 1px solid #eeeeee;
29
- -webkit-background-clip: padding-box;
30
- -moz-background-clip: padding-box;
31
- background-clip: padding-box; }
32
- .palette.rounded {
33
- -webkit-border-radius: 6px;
34
- -moz-border-radius: 6px;
35
- border-radius: 6px; }
36
- .palette .palette-header {
37
- background-color: #fff;
38
- padding: 9px 15px;
39
- border-bottom: 1px solid #eeeeee; }
40
- .palette .palette-header.rounded {
41
- -webkit-border-radius: 4px 4px 0px 0px;
42
- -moz-border-radius: 4px 4px 0px 0px;
43
- border-radius: 4px 4px 0px 0px; }
44
- .palette .palette-header.bordered {
45
- border-bottom: 1px solid #dddddd;
46
- -webkit-box-shadow: inset 0 1px 0 white;
47
- -moz-box-shadow: inset 0 1px 0 white;
48
- box-shadow: inset 0 1px 0 white; }
49
- .palette .palette-body {
50
- background-color: #fff;
51
- overflow-y: auto;
52
- padding: 15px; }
53
- .palette .palette-footer {
54
- padding: 14px 15px 15px;
55
- margin-bottom: 0;
56
- text-align: right;
57
- background-color: #f5f5f5; }
58
- .palette .palette-footer.rounded {
59
- -webkit-border-radius: 0 0 6px 6px;
60
- -moz-border-radius: 0 0 6px 6px;
61
- border-radius: 0 0 6px 6px; }
62
- .palette .palette-footer.bordered {
63
- border-top: 1px solid #dddddd;
64
- -webkit-box-shadow: inset 0 1px 0 white;
65
- -moz-box-shadow: inset 0 1px 0 white;
66
- box-shadow: inset 0 1px 0 white; }