pho-utensil 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. data/README.rdoc +4 -0
  2. data/Rakefile +47 -0
  3. data/bin/utensil +7 -0
  4. data/lib/utensil-app.rb +159 -0
  5. data/public/css/blueprint/ie.css +28 -0
  6. data/public/css/blueprint/plugins/fancy-type/screen.css +71 -0
  7. data/public/css/blueprint/print.css +30 -0
  8. data/public/css/blueprint/screen.css +252 -0
  9. data/public/css/blueprint/src/forms.css +49 -0
  10. data/public/css/blueprint/src/grid.css +269 -0
  11. data/public/css/blueprint/src/grid.png +0 -0
  12. data/public/css/blueprint/src/ie.css +61 -0
  13. data/public/css/blueprint/src/print.css +85 -0
  14. data/public/css/blueprint/src/reset.css +38 -0
  15. data/public/css/blueprint/src/typography.css +105 -0
  16. data/public/css/impromptu.css +318 -0
  17. data/public/css/spared.css +99 -0
  18. data/public/icons/script_delete.png +0 -0
  19. data/public/icons/script_edit.png +0 -0
  20. data/public/icons/script_error.png +0 -0
  21. data/public/icons/script_go.png +0 -0
  22. data/public/img/purzen_Cartoon_spatula.png +0 -0
  23. data/public/js/spared-config.js +126 -0
  24. data/public/js/spared-examples.js +13 -0
  25. data/public/js/spared-prefixes.js +85 -0
  26. data/public/js/spared-templates.js +9 -0
  27. data/public/js/spared.js +190 -0
  28. data/public/lib/jquery-1.2.6.js +3549 -0
  29. data/public/lib/jquery-impromptu.1.5.js +133 -0
  30. data/public/lib/jquery.ui.all.js +9639 -0
  31. data/public/rq/list-properties-of-type.rq +9 -0
  32. data/public/rq/list-properties.rq +7 -0
  33. data/public/rq/list-types.rq +7 -0
  34. data/views/admin.erb +37 -0
  35. data/views/configure.erb +4 -0
  36. data/views/enrich.erb +35 -0
  37. data/views/explore.erb +1 -0
  38. data/views/index.erb +33 -0
  39. data/views/layout.erb +53 -0
  40. data/views/spared.erb +66 -0
  41. data/views/update.erb +28 -0
  42. data/views/upload.erb +35 -0
  43. metadata +117 -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,318 @@
1
+ /*
2
+ ------------------------------
3
+ Impromptu's
4
+ ------------------------------
5
+ */
6
+ .jqiwarning .jqi{ background-color: #b0be96; }
7
+ .jqifade{
8
+ position: absolute;
9
+ background-color: #ffffff;
10
+ }
11
+ div.jqi{
12
+ position: absolute;
13
+ background-color: #d0dEb6;
14
+ padding: 10px;
15
+ width: 300px;
16
+ text-align: left;
17
+ }
18
+ div.jqi .jqiclose{
19
+ float: right;
20
+ margin: -35px -10px 0 0;
21
+ cursor: pointer;
22
+ color: #c0cEa6;
23
+ }
24
+ div.jqi .jqicontainer{
25
+ background-color: #e0eEc6;
26
+ padding: 5px;
27
+ color: #ffffff;
28
+ font-weight: bold;
29
+ }
30
+ div.jqi .jqimessage{
31
+ background-color: #c0cEa6;
32
+ padding: 10px;
33
+ }
34
+ div.jqi .jqibuttons{
35
+ text-align: center;
36
+ padding: 5px 0 0 0;
37
+ }
38
+ div.jqi button{
39
+ padding: 3px 10px 3px 10px;
40
+ margin: 0 10px;
41
+ }
42
+
43
+ /*
44
+ ------------------------------
45
+ impromptu
46
+ ------------------------------
47
+ */
48
+ .impromptuwarning .impromptu{ background-color: #aaaaaa; }
49
+ .impromptufade{
50
+ position: absolute;
51
+ background-color: #ffffff;
52
+ }
53
+ div.impromptu{
54
+ position: absolute;
55
+ background-color: #cccccc;
56
+ padding: 10px;
57
+ width: 300px;
58
+ text-align: left;
59
+ }
60
+ div.impromptu .impromptuclose{
61
+ float: right;
62
+ margin: -35px -10px 0 0;
63
+ cursor: pointer;
64
+ color: #213e80;
65
+ }
66
+ div.impromptu .impromptucontainer{
67
+ background-color: #213e80;
68
+ padding: 5px;
69
+ color: #ffffff;
70
+ font-weight: bold;
71
+ }
72
+ div.impromptu .impromptumessage{
73
+ background-color: #415ea0;
74
+ padding: 10px;
75
+ }
76
+ div.impromptu .impromptubuttons{
77
+ text-align: center;
78
+ padding: 5px 0 0 0;
79
+ }
80
+ div.impromptu button{
81
+ padding: 3px 10px 3px 10px;
82
+ margin: 0 10px;
83
+ }
84
+
85
+ /*
86
+ ------------------------------
87
+ columns ex
88
+ ------------------------------
89
+ */
90
+ .colsJqifadewarning .colsJqi{ background-color: #b0be96; }
91
+ .colsJqifade{
92
+ position: absolute;
93
+ background-color: #ffffff;
94
+ }
95
+ div.colsJqi{
96
+ position: absolute;
97
+ background-color: #d0dEb6;
98
+ padding: 10px;
99
+ width: 400px;
100
+ text-align: left;
101
+ }
102
+ div.colsJqi .colsJqiclose{
103
+ float: right;
104
+ margin: -35px -10px 0 0;
105
+ cursor: pointer;
106
+ color: #bbbbbb;
107
+ }
108
+ div.colsJqi .colsJqicontainer{
109
+ background-color: #e0eEc6;
110
+ padding: 5px;
111
+ color: #ffffff;
112
+ font-weight: bold;
113
+ height: 160px;
114
+ }
115
+ div.colsJqi .colsJqimessage{
116
+ background-color: #c0cEa6;
117
+ padding: 10px;
118
+ width: 280px;
119
+ height: 140px;
120
+ float: left;
121
+ }
122
+ div.colsJqi .jqibuttons{
123
+ text-align: center;
124
+ padding: 5px 0 0 0;
125
+ }
126
+ div.colsJqi button{
127
+ background: url(../images/button_bg.jpg) top left repeat-x #ffffff;
128
+ border: solid #777777 1px;
129
+ font-size: 12px;
130
+ padding: 3px 10px 3px 10px;
131
+ margin: 5px 5px 5px 10px;
132
+ width: 75px;
133
+ }
134
+ div.colsJqi button:hover{
135
+ border: solid #aaaaaa 1px;
136
+ }
137
+
138
+ /*
139
+ ------------------------------
140
+ brown theme
141
+ ------------------------------
142
+ */
143
+ .brownJqiwarning .brownJqi{ background-color: #cccccc; }
144
+ .brownJqifade{
145
+ position: absolute;
146
+ background-color: #ffffff;
147
+ }
148
+ div.brownJqi{
149
+ position: absolute;
150
+ background-color: transparent;
151
+ padding: 10px;
152
+ width: 300px;
153
+ text-align: left;
154
+ }
155
+ div.brownJqi .brownJqiclose{
156
+ float: right;
157
+ margin: -20px 0 0 0;
158
+ cursor: pointer;
159
+ color: #777777;
160
+ font-size: 11px;
161
+ }
162
+ div.brownJqi .brownJqicontainer{
163
+ position: relative;
164
+ background-color: transparent;
165
+ border: solid 1px #5F5D5A;
166
+ color: #ffffff;
167
+ font-weight: bold;
168
+ }
169
+ div.brownJqi .brownJqimessage{
170
+ position: relative;
171
+ background-color: #F7F6F2;
172
+ border-top: solid 1px #C6B8AE;
173
+ border-bottom: solid 1px #C6B8AE;
174
+ }
175
+ div.brownJqi .brownJqimessage h3{
176
+ background: url(../images/brown_theme_gradient.jpg) top left repeat-x #ffffff;
177
+ margin: 0;
178
+ padding: 7px 0 7px 15px;
179
+ color: #4D4A47;
180
+ }
181
+ div.brownJqi .brownJqimessage p{
182
+ padding: 10px;
183
+ color: #777777;
184
+ }
185
+ div.brownJqi .brownJqimessage img.helpImg{
186
+ position: absolute;
187
+ bottom: -25px;
188
+ left: 10px;
189
+ }
190
+ div.brownJqi .brownJqibuttons{
191
+ text-align: right;
192
+ }
193
+ div.brownJqi button{
194
+ background: url(../images/brown_theme_gradient.jpg) top left repeat-x #ffffff;
195
+ border: solid #777777 1px;
196
+ font-size: 12px;
197
+ padding: 3px 10px 3px 10px;
198
+ margin: 5px 5px 5px 10px;
199
+ }
200
+ div.brownJqi button:hover{
201
+ border: solid #aaaaaa 1px;
202
+ }
203
+
204
+ /*
205
+ *------------------------
206
+ * clean blue ex
207
+ *------------------------
208
+ */
209
+ .cleanbluewarning .cleanblue { background-color: #acb4c4; }
210
+ .cleanbluefade{
211
+ position: absolute;
212
+ background-color: #aaaaaa;
213
+ }
214
+ div.cleanblue {
215
+ font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
216
+ position: absolute;
217
+ background-color: #ffffff;
218
+ width: 300px;
219
+ font-size: 11px;
220
+ text-align: left;
221
+ border: solid 1px #213e80;
222
+ }
223
+ div.cleanblue .cleanbluecontainer{
224
+ background-color: #ffffff;
225
+ border-top: solid 14px #213e80;
226
+ padding: 5px;
227
+ font-weight: bold;
228
+ }
229
+ div.cleanblue .cleanblueclose{
230
+ float: right;
231
+ width: 18px;
232
+ cursor: default;
233
+ margin: -19px -12px 0 0;
234
+ color: #ffffff;
235
+ font-weight: bold;
236
+ }
237
+ div.cleanblue .cleanbluemessage{
238
+ padding: 10px;
239
+ line-height: 20px;
240
+ font-size: 11px;
241
+ color: #333333;
242
+ }
243
+ div.cleanblue .cleanbluebuttons{
244
+ text-align: right;
245
+ padding: 5px 0 5px 0;
246
+ border: solid 1px #eeeeee;
247
+ background-color: #f4f4f4;
248
+ }
249
+ div.cleanblue button{
250
+ padding: 3px 10px;
251
+ margin: 0 10px;
252
+ background-color: #314e90;
253
+ border: solid 1px #f4f4f4;
254
+ color: #ffffff;
255
+ font-weight: bold;
256
+ font-size: 12px;
257
+ }
258
+ div.cleanblue button:hover{
259
+ border: solid 1px #d4d4d4;
260
+ }
261
+
262
+ /*
263
+ *------------------------
264
+ * blueprint integration
265
+ *------------------------
266
+ */
267
+ .blueprintwarning .blueprint { background-color: #acb4c4; }
268
+ .blueprintfade{
269
+ position: absolute;
270
+ background-color: #aaaaaa;
271
+ }
272
+ div.blueprint {
273
+ font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
274
+ position: absolute;
275
+ background-color: #ffffff;
276
+ width: 300px;
277
+ font-size: 75%;
278
+ text-align: left;
279
+ border: solid 1px #E5ECF9;
280
+ }
281
+ div.blueprint .blueprintcontainer{
282
+ background-color: #ffffff;
283
+ border-top: solid 14px #E5ECF9;
284
+ padding: 5px;
285
+ font-weight: bold;
286
+ }
287
+ div.blueprint .blueprintclose{
288
+ float: right;
289
+ width: 18px;
290
+ cursor: default;
291
+ margin: -19px -12px 0 0;
292
+ color: #565656;
293
+ font-weight: bold;
294
+ }
295
+ div.blueprint .blueprintmessage{
296
+ padding: 10px;
297
+ line-height: 20px;
298
+ font-size: 11px;
299
+ color: #333333;
300
+ }
301
+ div.blueprint .blueprintbuttons{
302
+ text-align: right;
303
+ padding: 5px 0 5px 0;
304
+ border: solid 1px #eeeeee;
305
+ background-color: #ffffff;
306
+ }
307
+ div.blueprint button{
308
+ padding: 3px 10px;
309
+ margin: 0 10px;
310
+ background-color: #f5f5f5;
311
+ border: solid 1px #f4f4f4;
312
+ color: #565656;
313
+ font-weight: bold;
314
+ font-size: 12px;
315
+ }
316
+ div.blueprint button:hover{
317
+ border: solid 1px #d4d4d4;
318
+ }