fume 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/.gitignore +1 -0
  2. data/README +0 -0
  3. data/Rakefile +18 -0
  4. data/VERSION.yml +4 -0
  5. data/fume.gemspec +96 -0
  6. data/generators/fume_simple_theme/USAGE +3 -0
  7. data/generators/fume_simple_theme/fume_simple_theme_generator.rb +41 -0
  8. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_30_cccccc_40x100.png +0 -0
  9. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-bg_flat_50_5c5c5c_40x100.png +0 -0
  10. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_20_555555_1x400.png +0 -0
  11. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_0078a3_1x400.png +0 -0
  12. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-bg_glass_40_ffc73d_1x400.png +0 -0
  13. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-bg_gloss-wave_25_333333_500x100.png +0 -0
  14. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-bg_highlight-soft_80_eeeeee_1x100.png +0 -0
  15. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_25_000000_1x100.png +0 -0
  16. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-bg_inset-soft_30_f58400_1x100.png +0 -0
  17. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-icons_222222_256x240.png +0 -0
  18. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-icons_4b8e0b_256x240.png +0 -0
  19. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-icons_a83300_256x240.png +0 -0
  20. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-icons_cccccc_256x240.png +0 -0
  21. data/generators/fume_simple_theme/templates/images/jquery-ui-1.7.2.ui-darkness/ui-icons_ffffff_256x240.png +0 -0
  22. data/generators/fume_simple_theme/templates/javascripts/jquery-1.3.2.min.js +19 -0
  23. data/generators/fume_simple_theme/templates/javascripts/jquery-ui-1.7.2.full.min.js +298 -0
  24. data/generators/fume_simple_theme/templates/javascripts/jquery-ui-i18n-1.7.2.js +771 -0
  25. data/generators/fume_simple_theme/templates/stylesheets/base.less +365 -0
  26. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/ie.css +27 -0
  27. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/buttons/icons/cross.png +0 -0
  28. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/buttons/icons/key.png +0 -0
  29. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/buttons/icons/tick.png +0 -0
  30. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/buttons/readme.txt +32 -0
  31. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/buttons/screen.css +97 -0
  32. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/fancy-type/readme.txt +14 -0
  33. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/fancy-type/screen.css +71 -0
  34. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/doc.png +0 -0
  35. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/email.png +0 -0
  36. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/external.png +0 -0
  37. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/feed.png +0 -0
  38. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/im.png +0 -0
  39. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/pdf.png +0 -0
  40. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/visited.png +0 -0
  41. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/link-icons/icons/xls.png +0 -0
  42. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/link-icons/readme.txt +18 -0
  43. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/link-icons/screen.css +40 -0
  44. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/rtl/readme.txt +10 -0
  45. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/plugins/rtl/screen.css +109 -0
  46. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/print.css +30 -0
  47. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/screen.css +251 -0
  48. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/src/forms.css +49 -0
  49. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/src/grid.css +269 -0
  50. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/src/grid.png +0 -0
  51. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/src/ie.css +61 -0
  52. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/src/print.css +85 -0
  53. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/src/reset.css +38 -0
  54. data/generators/fume_simple_theme/templates/stylesheets/blueprint-0.9.1/src/typography.css +105 -0
  55. data/generators/fume_simple_theme/templates/stylesheets/drastic-dark.less +426 -0
  56. data/generators/fume_simple_theme/templates/stylesheets/jquery-ui-1.7.2.ui-darkness.css +406 -0
  57. data/init.rb +2 -0
  58. data/lib/fume.rb +20 -0
  59. data/lib/fume/authlogic.rb +28 -0
  60. data/lib/fume/simple_theme.rb +51 -0
  61. data/rails/init.rb +1 -0
  62. metadata +124 -0
@@ -0,0 +1,38 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ reset.css
4
+ * Resets default browser CSS.
5
+
6
+ -------------------------------------------------------------- */
7
+
8
+ html, body, div, span, object, iframe,
9
+ h1, h2, h3, h4, h5, h6, p, blockquote, pre,
10
+ a, abbr, acronym, address, code,
11
+ del, dfn, em, img, q, dl, dt, dd, ol, ul, li,
12
+ fieldset, form, label, legend,
13
+ table, caption, tbody, tfoot, thead, tr, th, td {
14
+ margin: 0;
15
+ padding: 0;
16
+ border: 0;
17
+ font-weight: inherit;
18
+ font-style: inherit;
19
+ font-size: 100%;
20
+ font-family: inherit;
21
+ vertical-align: baseline;
22
+ }
23
+
24
+ body {
25
+ line-height: 1.5;
26
+ }
27
+
28
+ /* Tables still need 'cellspacing="0"' in the markup. */
29
+ table { border-collapse: separate; border-spacing: 0; }
30
+ caption, th, td { text-align: left; font-weight: normal; }
31
+ table, td, th { vertical-align: middle; }
32
+
33
+ /* Remove possible quote marks (") from <q>, <blockquote>. */
34
+ blockquote:before, blockquote:after, q:before, q:after { content: ""; }
35
+ blockquote, q { quotes: "" ""; }
36
+
37
+ /* Remove annoying border on linked images. */
38
+ a img { border: none; }
@@ -0,0 +1,105 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ typography.css
4
+ * Sets up some sensible default typography.
5
+
6
+ -------------------------------------------------------------- */
7
+
8
+ /* Default font settings.
9
+ The font-size percentage is of 16px. (0.75 * 16px = 12px) */
10
+ body {
11
+ font-size: 75%;
12
+ color: #222;
13
+ background: #fff;
14
+ font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
15
+ }
16
+
17
+
18
+ /* Headings
19
+ -------------------------------------------------------------- */
20
+
21
+ h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #111; }
22
+
23
+ h1 { font-size: 3em; line-height: 1; margin-bottom: 0.5em; }
24
+ h2 { font-size: 2em; margin-bottom: 0.75em; }
25
+ h3 { font-size: 1.5em; line-height: 1; margin-bottom: 1em; }
26
+ h4 { font-size: 1.2em; line-height: 1.25; margin-bottom: 1.25em; }
27
+ h5 { font-size: 1em; font-weight: bold; margin-bottom: 1.5em; }
28
+ h6 { font-size: 1em; font-weight: bold; }
29
+
30
+ h1 img, h2 img, h3 img,
31
+ h4 img, h5 img, h6 img {
32
+ margin: 0;
33
+ }
34
+
35
+
36
+ /* Text elements
37
+ -------------------------------------------------------------- */
38
+
39
+ p { margin: 0 0 1.5em; }
40
+ p img.left { float: left; margin: 1.5em 1.5em 1.5em 0; padding: 0; }
41
+ p img.right { float: right; margin: 1.5em 0 1.5em 1.5em; }
42
+
43
+ a:focus,
44
+ a:hover { color: #000; }
45
+ a { color: #009; text-decoration: underline; }
46
+
47
+ blockquote { margin: 1.5em; color: #666; font-style: italic; }
48
+ strong { font-weight: bold; }
49
+ em,dfn { font-style: italic; }
50
+ dfn { font-weight: bold; }
51
+ sup, sub { line-height: 0; }
52
+
53
+ abbr,
54
+ acronym { border-bottom: 1px dotted #666; }
55
+ address { margin: 0 0 1.5em; font-style: italic; }
56
+ del { color:#666; }
57
+
58
+ pre { margin: 1.5em 0; white-space: pre; }
59
+ pre,code,tt { font: 1em 'andale mono', 'lucida console', monospace; line-height: 1.5; }
60
+
61
+
62
+ /* Lists
63
+ -------------------------------------------------------------- */
64
+
65
+ li ul,
66
+ li ol { margin:0 1.5em; }
67
+ ul, ol { margin: 0 1.5em 1.5em 1.5em; }
68
+
69
+ ul { list-style-type: disc; }
70
+ ol { list-style-type: decimal; }
71
+
72
+ dl { margin: 0 0 1.5em 0; }
73
+ dl dt { font-weight: bold; }
74
+ dd { margin-left: 1.5em;}
75
+
76
+
77
+ /* Tables
78
+ -------------------------------------------------------------- */
79
+
80
+ table { margin-bottom: 1.4em; width:100%; }
81
+ th { font-weight: bold; }
82
+ thead th { background: #c3d9ff; }
83
+ th,td,caption { padding: 4px 10px 4px 5px; }
84
+ tr.even td { background: #e5ecf9; }
85
+ tfoot { font-style: italic; }
86
+ caption { background: #eee; }
87
+
88
+
89
+ /* Misc classes
90
+ -------------------------------------------------------------- */
91
+
92
+ .small { font-size: .8em; margin-bottom: 1.875em; line-height: 1.875em; }
93
+ .large { font-size: 1.2em; line-height: 2.5em; margin-bottom: 1.25em; }
94
+ .hide { display: none; }
95
+
96
+ .quiet { color: #666; }
97
+ .loud { color: #000; }
98
+ .highlight { background:#ff0; }
99
+ .added { background:#060; color: #fff; }
100
+ .removed { background:#900; color: #fff; }
101
+
102
+ .first { margin-left:0; padding-left:0; }
103
+ .last { margin-right:0; padding-right:0; }
104
+ .top { margin-top:0; padding-top:0; }
105
+ .bottom { margin-bottom:0; padding-bottom:0; }
@@ -0,0 +1,426 @@
1
+ /*
2
+
3
+ Drastic Dark
4
+ by Juan Maria Martinez Arce
5
+ juan[at]insignia4u.com
6
+
7
+ light grey: #cfcfcf
8
+ medium grey: #36393d
9
+ dark grey: #1a1a1a
10
+ interactive action yellow #ffff88
11
+ red #cc0000
12
+ light blue #E6EEFC
13
+ dark blue #0B43A8
14
+
15
+ */
16
+
17
+ #color_schemes {
18
+ disabled: #888;
19
+ }
20
+
21
+ .small {
22
+ font-size: 11px;
23
+ font-style: normal;
24
+ font-weight: normal;
25
+ text-transform: normal;
26
+ letter-spacing: normal;
27
+ line-height: 1.4em;
28
+ }
29
+
30
+ .gray {
31
+ color:#999999;
32
+ font-family: Georgia, serif;
33
+ font-size: 13px;
34
+ font-style: italic;
35
+ font-weight: normal;
36
+ text-transform: normal;
37
+ letter-spacing: normal;
38
+ line-height: 1.6em;
39
+ }
40
+
41
+ .hightlight {
42
+ background-color: #ffff88;
43
+ font-weight: bold;
44
+ color: #36393d;
45
+ }
46
+
47
+ a:link, a:visited, a:hover, a:active, h1, h2, h3 { color: #36393d; }
48
+ a { -moz-outline: none; }
49
+
50
+ body {
51
+ color: #222;
52
+ background: #cfcfcf;
53
+ font-family: helvetica, arial, sans-serif;
54
+ }
55
+
56
+ hr {
57
+ background: #f0f0ee;
58
+ color: #f0f0ee;
59
+ }
60
+
61
+ #header_wrapper {
62
+ background: #36393d;
63
+ }
64
+
65
+ #header h1 {
66
+ padding: 15px 0;
67
+ font-size: 28px;
68
+ font-style: normal;
69
+ font-weight: bold;
70
+ text-transform: normal;
71
+ letter-spacing: -1px;
72
+ line-height: 1.2em;
73
+ }
74
+
75
+ #header h1 a {
76
+ color: #FFF;
77
+ }
78
+
79
+ #user-navigation {
80
+ /* bottom: 5px;*/
81
+ /* right: 25px;*/
82
+
83
+ a.logout {
84
+ background: #cc0000;
85
+ padding: 1px 4px;
86
+ -moz-border-radius: 4px;
87
+ -webkit-border-radius: 3px;
88
+ }
89
+
90
+ input.logout {
91
+ background: #cc0000;
92
+ color: #fff;
93
+ padding: 0;
94
+ padding-top: 1px;
95
+ border: 0px solid #999;
96
+ -moz-border-radius: 4px;
97
+ -webkit-border-radius: 3px;
98
+ cursor: pointer;
99
+ }
100
+
101
+ ul li {
102
+ padding: 0px 10px;
103
+ height: 1.66em;
104
+ line-height: 1.66em;
105
+ }
106
+ }
107
+
108
+ #main .block {
109
+ .content {
110
+ background: #FFF;
111
+ padding-top: 1px;
112
+
113
+ h2 {
114
+ margin-left: 15px;
115
+ font-size: 22px;
116
+ font-style: normal;
117
+ font-weight: bold;
118
+ text-transform: normal;
119
+ letter-spacing: -1px;
120
+ line-height: 1.2em;
121
+ }
122
+
123
+ p {
124
+ font-size: 13px;
125
+ font-style: normal;
126
+ font-weight: normal;
127
+ text-transform: normal;
128
+ letter-spacing: normal;
129
+ line-height: 1.45em;
130
+ }
131
+ }
132
+ }
133
+
134
+
135
+ #sidebar {
136
+ .block {
137
+ background: #FFF;
138
+
139
+ h4 {
140
+ font-weight: bold;
141
+ }
142
+ }
143
+
144
+ .notice {
145
+ background: #E6EEFC;
146
+
147
+ h4 {
148
+ color: #0B43A8;
149
+ }
150
+ }
151
+
152
+ h3 {
153
+ background: #36393d;
154
+ color: #FFF;
155
+ border-bottom: 5px solid #1a1a1a;
156
+ }
157
+
158
+ ul li a {
159
+ :link, :visited {
160
+ background: #FFF;
161
+ border-bottom: 1px solid #F0F0EE;
162
+ text-decoration: none;
163
+ }
164
+
165
+ :hover, :active {
166
+ background: #666666;
167
+ color: #ffffff;
168
+ }
169
+ }
170
+ }
171
+
172
+ #main-navigation ul {
173
+ li {
174
+ padding-left: 15px;
175
+
176
+ a {
177
+ padding: 10px 0px;
178
+ }
179
+ }
180
+
181
+ li.active {
182
+ padding: 0;
183
+ margin-left: 15px;
184
+
185
+ a {
186
+ padding: 10px 15px;
187
+ }
188
+ }
189
+ }
190
+
191
+
192
+ #user-navigation, #main-navigation, .secondary-navigation {
193
+ ul li a {
194
+ color: #fff;
195
+
196
+ :link, :visited, :hover, :active {
197
+ color: #fff;
198
+ }
199
+ }
200
+ }
201
+ #main-navigation {
202
+ background: #1a1a1a;
203
+ ul {
204
+ li {
205
+ background: #1a1a1a;
206
+ margin-right: 0;
207
+ }
208
+
209
+ li.active {
210
+ background: #f0f0ee;
211
+
212
+ a {
213
+ color: #1a1a1a;
214
+
215
+ :link, :visited, :hover, :active {
216
+ color: #1a1a1a;
217
+ }
218
+ }
219
+ }
220
+ }
221
+ }
222
+
223
+ .secondary-navigation {
224
+ background: #36393d;
225
+ border-bottom-color: #1a1a1a;
226
+ border-bottom-width: 5px;
227
+
228
+ li a:hover {
229
+ background: #666666;
230
+ }
231
+
232
+ ul li.active, ul li.active a:hover {
233
+ background-color: #1a1a1a;
234
+ }
235
+ }
236
+
237
+
238
+ #footer .block {
239
+ color: #FFF;
240
+ background: #1a1a1a;
241
+
242
+ p {
243
+ margin: 0;
244
+ padding: 10px;
245
+ }
246
+ }
247
+
248
+
249
+ /* pagination */
250
+ .pagination {
251
+ a, span {
252
+ background: #cfcfcf;
253
+ -moz-border-radius: 3px;
254
+ border: 1px solid #c1c1c1;
255
+ }
256
+
257
+ span.disabled {
258
+ color: #color_schemes[disabled];
259
+ }
260
+
261
+ span.current {
262
+ background: #36393d;
263
+ color: #FFF;
264
+ border: 1px solid #36393d;
265
+ }
266
+
267
+ a {
268
+ color: #1a1a1a;
269
+
270
+ :hover {
271
+ border: 1px solid #666;
272
+ }
273
+ }
274
+
275
+
276
+ }
277
+
278
+
279
+ /* tables */
280
+ .table {
281
+ th {
282
+ background: #36393d;
283
+ color: #FFF;
284
+ a {
285
+ color: #FFF;
286
+ }
287
+ }
288
+
289
+ td {
290
+ border-bottom:1px solid #F0F0EE;
291
+ }
292
+
293
+ tr.even {
294
+ background: #ebebeb;
295
+ }
296
+ }
297
+
298
+ /* forms */
299
+ .form {
300
+ label.label {
301
+ color: #666666;
302
+ }
303
+
304
+ input.text_field, textarea.text_area {
305
+ /* width: 100%;*/
306
+ border: 1px solid #cfcfcf;
307
+ }
308
+
309
+ input.button {
310
+ background: #cfcfcf;
311
+ -moz-border-radius: 5px;
312
+ border: 1px solid #c1c1c1;
313
+ padding: 2px 5px;
314
+ cursor: pointer;
315
+ /* color: #36393d;*/
316
+ font-weight: bold;
317
+ /* font-size: 11px;*/
318
+
319
+ :hover {
320
+ border: 1px solid #666;
321
+ }
322
+ }
323
+
324
+ input.button[disabled] {
325
+ color: #color_schemes[disabled];
326
+ }
327
+
328
+ .description {
329
+ font-style: italic;
330
+ color: #8C8C8C;
331
+ font-size: .9em;
332
+ }
333
+
334
+ .navform a {
335
+ color: #cc0000;
336
+ }
337
+ }
338
+
339
+ /* flash-messages */
340
+ .flash {
341
+ .message {
342
+ -moz-border-radius: 3px;
343
+ -webkit-border-radius: 3px;
344
+ text-align:center;
345
+ margin: 0 auto 15px;
346
+
347
+ p {
348
+ margin:8px;
349
+ }
350
+ }
351
+
352
+ .error {
353
+ border: 1px solid #fbb;
354
+ background-color: #fdd;
355
+ }
356
+
357
+ .warning {
358
+ border: 1px solid #fffaaa;
359
+ background-color: #ffffcc;
360
+ }
361
+
362
+ .notice {
363
+ border: 1px solid #1FDF00;
364
+ background-color: #BBFFB6;
365
+ }
366
+ }
367
+
368
+
369
+ /* lists */
370
+ ul.list li {
371
+ border-bottom-color: #F0F0EE;
372
+ border-bottom-width: 1px;
373
+ border-bottom-style: solid;
374
+
375
+
376
+ .item .avatar {
377
+ border-color: #F0F0EE;
378
+ border-width: 1px;
379
+ border-style: solid;
380
+ padding: 2px;
381
+ }
382
+ }
383
+
384
+
385
+ /* box */
386
+ #box .block {
387
+ background: #FFF;
388
+
389
+ h2 {
390
+ background: #36393d;
391
+ color: #FFF;
392
+ }
393
+ }
394
+
395
+
396
+ /* rounded borders */
397
+
398
+ #main, #main-navigation, #main-navigation li, .secondary-navigation, #main .block, #sidebar .block, #sidebar h3, ul.list li,
399
+ #footer .block, .form input.button, #box .block, #box .block h2 {
400
+ -moz-border-radius-topleft: 4px;
401
+ -webkit-border-top-left-radius: 4px;
402
+ -moz-border-radius-topright: 4px;
403
+ -webkit-border-top-right-radius: 4px;
404
+ }
405
+
406
+ .secondary-navigation li.first a, .secondary-navigation ul li.first, .table th.first, .table th.first {
407
+ -moz-border-radius-topleft: 4px;
408
+ -webkit-border-top-left-radius: 4px;
409
+ }
410
+
411
+ .table th.last {
412
+ -moz-border-radius-topright: 4px;
413
+ -webkit-border-top-right-radius: 4px;
414
+ }
415
+
416
+ .secondary-navigation ul li.first {
417
+ -moz-border-radius-topleft: 4px;
418
+ -webkit-border-top-left-radius: 4px;
419
+ }
420
+
421
+ #sidebar, #sidebar .block, #main .block, #sidebar ul.navigation, ul.list li, #footer .block, .form input.button, #box .block {
422
+ -moz-border-radius-bottomleft: 4px;
423
+ -webkit-border-bottom-left-radius: 4px;
424
+ -moz-border-radius-bottomright: 4px;
425
+ -webkit-border-bottom-right-radius: 4px;
426
+ }