fume 0.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.
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,365 @@
1
+ @import "blueprint-0.9.1/src/reset.css";
2
+ @import "blueprint-0.9.1/src/typography.css";
3
+
4
+ thead th {
5
+ background-color: transparent;
6
+ }
7
+
8
+ body {
9
+ line-height: 1;
10
+ font-size: 80%;
11
+ }
12
+
13
+ .clear {
14
+ clear: both;
15
+ }
16
+
17
+ h1 { margin: 15px 0 }
18
+ h2 { margin: 15px 0; }
19
+ h3 { margin: 10px 0; }
20
+ h4 { margin: 10px 0; }
21
+ hr { height: 1px; border: 0; }
22
+ p { margin: 15px 0;}
23
+
24
+ #container {
25
+ min-width: 1050px;
26
+ }
27
+
28
+ #header, #page {
29
+ margin: 0 40px;
30
+ }
31
+
32
+ #header {
33
+ position: relative;
34
+
35
+ h1 {
36
+ margin: 0;
37
+ padding: 10px 0;
38
+ font-size: 30px;
39
+
40
+ a {
41
+ text-decoration: none;
42
+ }
43
+ }
44
+ }
45
+
46
+ .sidebar {
47
+ #main {
48
+ width: 78%;
49
+ float: left;
50
+ }
51
+ }
52
+
53
+ .actions-bar {
54
+ padding: 10px 1px;
55
+
56
+ .actions {
57
+ float: left;
58
+ }
59
+
60
+ .pagination {
61
+ float: right;
62
+ padding: 1px 0;
63
+ }
64
+ }
65
+
66
+ #sidebar {
67
+ width: 21%;
68
+ float: right;
69
+
70
+ h3 {
71
+ padding: 10px 15px;
72
+ margin: 0;
73
+ font-size: 1.2em;
74
+ }
75
+
76
+ .block {
77
+ margin-bottom: 20px;
78
+ padding-bottom: 10px;
79
+
80
+ .content {
81
+ padding: 0 15px;
82
+ }
83
+ }
84
+
85
+ .block .sidebar-block, .notice {
86
+ padding:10px;
87
+ }
88
+ }
89
+
90
+ #sidebar ul.navigation li a {
91
+ :link, :visited {
92
+ display: block;
93
+ padding: 10px 15px;
94
+ }
95
+ }
96
+
97
+
98
+ #page {
99
+ padding-top: 20px;
100
+ }
101
+
102
+ #main .block {
103
+ margin-bottom: 20px;
104
+ /* padding-top: 1px;*/
105
+
106
+ .content .inner {
107
+ padding: 0 15px 15px;
108
+ }
109
+
110
+ }
111
+
112
+
113
+ #user-navigation {
114
+ position: absolute;
115
+ right: 20px;
116
+ bottom: 5px;
117
+ }
118
+
119
+ #main-navigation {
120
+ width: 100%;
121
+
122
+ ul li a {
123
+ font-size: 15px;
124
+ display: block;
125
+ padding: 8px 15px;
126
+ }
127
+ }
128
+
129
+ #user-navigation ul, #main-navigation ul, .secondary-navigation ul, #sidebar ul.navigation {
130
+ margin: 0;
131
+ padding: 0;
132
+ list-style-type: none;
133
+ }
134
+
135
+ #user-navigation ul li, #main-navigation ul li, .secondary-navigation ul li {
136
+ float: left;
137
+ }
138
+
139
+ #main-navigation ul li {
140
+ margin-right: 5px;
141
+ }
142
+
143
+ #user-navigation ul li {
144
+ padding: 5px 10px;
145
+ }
146
+
147
+ #main-navigation ul li a:link, #main-navigation ul li a:visited, #main-navigation ul li a:hover, #main-navigation ul li a:active,
148
+ .secondary-navigation ul li a:link, .secondary-navigation ul li a:visited, .secondary-navigation ul li a:hover, .secondary-navigation ul li a:active,
149
+ #user-navigation ul li a:link, #user-navigation ul li a:visited, #user-navigation ul li a:hover, #user-navigation ul li a:active {
150
+ text-decoration: none;
151
+ }
152
+
153
+ .secondary-navigation {
154
+ font-size: 1.2em;
155
+ border-bottom-width: 10px;
156
+ border-bottom-style: solid;
157
+
158
+ ul li {
159
+ a, span {
160
+ display: block;
161
+ padding: 10px 15px;
162
+ }
163
+ }
164
+ }
165
+
166
+
167
+ #footer {
168
+ padding-bottom: 20px;
169
+ }
170
+
171
+ /* pagination */
172
+ .pagination {
173
+ a, span {
174
+ padding: 2px 5px;
175
+ margin-right: 5px;
176
+ display: block;
177
+ float: left;
178
+ border-style: solid;
179
+ border-width: 1px;
180
+ }
181
+
182
+ span.current {
183
+ font-weight: bold;
184
+ }
185
+
186
+ a {
187
+ text-decoration: none;
188
+ }
189
+ }
190
+
191
+
192
+ /* tables */
193
+
194
+ .table {
195
+ width: 100%;
196
+ border-collapse: collapse;
197
+ margin-bottom: 15px;
198
+
199
+ th {
200
+ padding: 10px;
201
+ font-weight: bold;
202
+ text-align: left;
203
+ }
204
+
205
+ th.first {
206
+ /* width: 30px;*/
207
+ }
208
+
209
+ th.last {
210
+ /* width: 200px; */
211
+ }
212
+
213
+ .checkbox {
214
+ margin-left: 10px;
215
+ }
216
+
217
+ td {
218
+ padding: 10px;
219
+
220
+ form {
221
+ display: inline;
222
+
223
+ div {
224
+ display: inline;
225
+ }
226
+ }
227
+ }
228
+
229
+ td.last {
230
+ text-align: right;
231
+ }
232
+ }
233
+
234
+
235
+ /* forms */
236
+
237
+ input.checkbox {
238
+ margin: 0;
239
+ padding: 0;
240
+ }
241
+
242
+ .form {
243
+ .group {
244
+ margin-bottom: 15px;
245
+ }
246
+
247
+ div.left {
248
+ width: 20%;
249
+ float: left;
250
+ }
251
+
252
+ div.right {
253
+ width: 75%;
254
+ float: right;
255
+ }
256
+
257
+ .columns {
258
+ .column {
259
+ width: 48%;
260
+ }
261
+
262
+ .left {
263
+ float: left;
264
+ }
265
+
266
+ .right {
267
+ float: right;
268
+ }
269
+ }
270
+
271
+ label.label, input.text_field, textarea.text_area {
272
+ font-size: 1.2em;
273
+ padding: 1px 0;
274
+ margin: 0;
275
+ }
276
+
277
+ label.right {
278
+ text-align: right;
279
+ }
280
+
281
+ input.checkbox, input.radio {
282
+ margin-right: 5px;
283
+ }
284
+
285
+ label.checkbox, label.radio {
286
+ line-height: 1.5em;
287
+ }
288
+
289
+ label.label {
290
+ display: block;
291
+ padding-bottom: 2px;
292
+ font-weight: bold;
293
+ }
294
+
295
+ div.fieldWithErrors label.label {
296
+ display: inline;
297
+ }
298
+
299
+ .fieldWithErrors .error {
300
+ color: red;
301
+ }
302
+
303
+ input.text_field, textarea.text_area {
304
+ /* width: 100%;*/
305
+ border-width: 1px;
306
+ border-style: solid;
307
+ }
308
+ }
309
+
310
+
311
+ /* lists */
312
+
313
+ ul.list {
314
+ margin: 0;
315
+ padding: 0;
316
+ list-style-type: none;
317
+
318
+ li {
319
+ clear: left;
320
+ padding-bottom: 5px;
321
+
322
+ .left {
323
+ float: left;
324
+
325
+ .avatar {
326
+ width: 50px;
327
+ height: 50px;
328
+ }
329
+ }
330
+
331
+ .item {
332
+ margin-left: 80px;
333
+
334
+ .avatar {
335
+ float: left;
336
+ margin: 0 5px 5px 0;
337
+ width: 30px;
338
+ height: 30px;
339
+ }
340
+ }
341
+ }
342
+ }
343
+
344
+
345
+ /* box */
346
+
347
+ #box {
348
+ width: 500px;
349
+ margin: 50px auto;
350
+
351
+ .block {
352
+ margin-bottom: 20px;
353
+
354
+ h2 {
355
+ padding: 10px 15px;
356
+ margin: 0;
357
+ }
358
+
359
+ .content {
360
+ padding: 10px 20px;
361
+ }
362
+
363
+ }
364
+ }
365
+
@@ -0,0 +1,27 @@
1
+ /* -----------------------------------------------------------------------
2
+
3
+
4
+ Blueprint CSS Framework 0.8
5
+ http://blueprintcss.org
6
+
7
+ * Copyright (c) 2007-Present. See LICENSE for more info.
8
+ * See README for instructions on how to use Blueprint.
9
+ * For credits and origins, see AUTHORS.
10
+ * This is a compressed file. See the sources in the 'src' directory.
11
+
12
+ ----------------------------------------------------------------------- */
13
+
14
+ /* ie.css */
15
+ body {text-align:center;}
16
+ .container {text-align:left;}
17
+ * html .column, * html div.span-1, * html div.span-2, * html div.span-3, * html div.span-4, * html div.span-5, * html div.span-6, * html div.span-7, * html div.span-8, * html div.span-9, * html div.span-10, * html div.span-11, * html div.span-12, * html div.span-13, * html div.span-14, * html div.span-15, * html div.span-16, * html div.span-17, * html div.span-18, * html div.span-19, * html div.span-20, * html div.span-21, * html div.span-22, * html div.span-23, * html div.span-24 {overflow-x:hidden;}
18
+ * html legend {margin:0px -8px 16px 0;padding:0;}
19
+ ol {margin-left:2em;}
20
+ sup {vertical-align:text-top;}
21
+ sub {vertical-align:text-bottom;}
22
+ html>body p code {*white-space:normal;}
23
+ hr {margin:-8px auto 11px;}
24
+ img {-ms-interpolation-mode:bicubic;}
25
+ .clearfix, .container {display:inline-block;}
26
+ * html .clearfix, * html .container {height:1%;}
27
+ fieldset {padding-top:0;}
@@ -0,0 +1,32 @@
1
+ Buttons
2
+
3
+ * Gives you great looking CSS buttons, for both <a> and <button>.
4
+ * Demo: particletree.com/features/rediscovering-the-button-element
5
+
6
+
7
+ Credits
8
+ ----------------------------------------------------------------
9
+
10
+ * Created by Kevin Hale [particletree.com]
11
+ * Adapted for Blueprint by Olav Bjorkoy [bjorkoy.com]
12
+
13
+
14
+ Usage
15
+ ----------------------------------------------------------------
16
+
17
+ 1) Add this plugin to lib/settings.yml.
18
+ See compress.rb for instructions.
19
+
20
+ 2) Use the following HTML code to place the buttons on your site:
21
+
22
+ <button type="submit" class="button positive">
23
+ <img src="css/blueprint/plugins/buttons/icons/tick.png" alt=""/> Save
24
+ </button>
25
+
26
+ <a class="button" href="/password/reset/">
27
+ <img src="css/blueprint/plugins/buttons/icons/key.png" alt=""/> Change Password
28
+ </a>
29
+
30
+ <a href="#" class="button negative">
31
+ <img src="css/blueprint/plugins/buttons/icons/cross.png" alt=""/> Cancel
32
+ </a>
@@ -0,0 +1,97 @@
1
+ /* --------------------------------------------------------------
2
+
3
+ buttons.css
4
+ * Gives you some great CSS-only buttons.
5
+
6
+ Created by Kevin Hale [particletree.com]
7
+ * particletree.com/features/rediscovering-the-button-element
8
+
9
+ See Readme.txt in this folder for instructions.
10
+
11
+ -------------------------------------------------------------- */
12
+
13
+ a.button, button {
14
+ display:block;
15
+ float:left;
16
+ margin: 0.7em 0.5em 0.7em 0;
17
+ padding:5px 10px 5px 7px; /* Links */
18
+
19
+ border:1px solid #dedede;
20
+ border-top:1px solid #eee;
21
+ border-left:1px solid #eee;
22
+
23
+ background-color:#f5f5f5;
24
+ font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
25
+ font-size:100%;
26
+ line-height:130%;
27
+ text-decoration:none;
28
+ font-weight:bold;
29
+ color:#565656;
30
+ cursor:pointer;
31
+ }
32
+ button {
33
+ width:auto;
34
+ overflow:visible;
35
+ padding:4px 10px 3px 7px; /* IE6 */
36
+ }
37
+ button[type] {
38
+ padding:4px 10px 4px 7px; /* Firefox */
39
+ line-height:17px; /* Safari */
40
+ }
41
+ *:first-child+html button[type] {
42
+ padding:4px 10px 3px 7px; /* IE7 */
43
+ }
44
+ button img, a.button img{
45
+ margin:0 3px -3px 0 !important;
46
+ padding:0;
47
+ border:none;
48
+ width:16px;
49
+ height:16px;
50
+ float:none;
51
+ }
52
+
53
+
54
+ /* Button colors
55
+ -------------------------------------------------------------- */
56
+
57
+ /* Standard */
58
+ button:hover, a.button:hover{
59
+ background-color:#dff4ff;
60
+ border:1px solid #c2e1ef;
61
+ color:#336699;
62
+ }
63
+ a.button:active{
64
+ background-color:#6299c5;
65
+ border:1px solid #6299c5;
66
+ color:#fff;
67
+ }
68
+
69
+ /* Positive */
70
+ body .positive {
71
+ color:#529214;
72
+ }
73
+ a.positive:hover, button.positive:hover {
74
+ background-color:#E6EFC2;
75
+ border:1px solid #C6D880;
76
+ color:#529214;
77
+ }
78
+ a.positive:active {
79
+ background-color:#529214;
80
+ border:1px solid #529214;
81
+ color:#fff;
82
+ }
83
+
84
+ /* Negative */
85
+ body .negative {
86
+ color:#d12f19;
87
+ }
88
+ a.negative:hover, button.negative:hover {
89
+ background-color:#fbe3e4;
90
+ border:1px solid #fbc2c4;
91
+ color:#d12f19;
92
+ }
93
+ a.negative:active {
94
+ background-color:#d12f19;
95
+ border:1px solid #d12f19;
96
+ color:#fff;
97
+ }