typus 0.9.18 → 0.9.19

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 (55) hide show
  1. data/README.rdoc +50 -1
  2. data/VERSION +1 -1
  3. data/app/helpers/admin/table_helper.rb +40 -40
  4. data/generators/typus/templates/config/initializers/typus.rb +1 -1
  5. data/generators/typus/templates/config/typus/README +0 -1
  6. data/generators/typus/templates/config/typus/typus.yml +1 -3
  7. data/generators/typus/templates/public/images/admin/fancyzoom/bl.gif +0 -0
  8. data/generators/typus/templates/public/images/admin/fancyzoom/bl.png +0 -0
  9. data/generators/typus/templates/public/images/admin/fancyzoom/bm.gif +0 -0
  10. data/generators/typus/templates/public/images/admin/fancyzoom/bm.png +0 -0
  11. data/generators/typus/templates/public/images/admin/fancyzoom/br.gif +0 -0
  12. data/generators/typus/templates/public/images/admin/fancyzoom/br.png +0 -0
  13. data/generators/typus/templates/public/images/admin/fancyzoom/closebox.gif +0 -0
  14. data/generators/typus/templates/public/images/admin/fancyzoom/closebox.png +0 -0
  15. data/generators/typus/templates/public/images/admin/fancyzoom/ml.gif +0 -0
  16. data/generators/typus/templates/public/images/admin/fancyzoom/ml.png +0 -0
  17. data/generators/typus/templates/public/images/admin/fancyzoom/mr.gif +0 -0
  18. data/generators/typus/templates/public/images/admin/fancyzoom/mr.png +0 -0
  19. data/generators/typus/templates/public/images/admin/fancyzoom/tl.gif +0 -0
  20. data/generators/typus/templates/public/images/admin/fancyzoom/tl.png +0 -0
  21. data/generators/typus/templates/public/images/admin/fancyzoom/tm.gif +0 -0
  22. data/generators/typus/templates/public/images/admin/fancyzoom/tm.png +0 -0
  23. data/generators/typus/templates/public/images/admin/fancyzoom/tr.gif +0 -0
  24. data/generators/typus/templates/public/images/admin/fancyzoom/tr.png +0 -0
  25. data/generators/typus/templates/public/images/admin/ui-icons.png +0 -0
  26. data/generators/typus/templates/public/javascripts/admin/builder.js +136 -0
  27. data/generators/typus/templates/public/javascripts/admin/controls.js +963 -0
  28. data/generators/typus/templates/public/javascripts/admin/dragdrop.js +973 -0
  29. data/generators/typus/templates/public/javascripts/admin/effects.js +1128 -0
  30. data/generators/typus/templates/public/javascripts/admin/fancyzoom.js +221 -0
  31. data/generators/typus/templates/public/javascripts/admin/prototype.js +4320 -0
  32. data/generators/typus/templates/public/javascripts/admin/scriptaculous.js +58 -0
  33. data/generators/typus/templates/public/javascripts/admin/slider.js +275 -0
  34. data/generators/typus/templates/public/javascripts/admin/sound.js +55 -0
  35. data/generators/typus/templates/public/stylesheets/admin/screen.css +163 -524
  36. data/generators/typus/typus_generator.rb +10 -4
  37. data/generators/typus_update_schema_to_01/templates/config/typus.yml +1 -3
  38. data/lib/typus/configuration.rb +1 -1
  39. data/lib/typus/generator.rb +9 -9
  40. data/lib/typus/preview.rb +13 -0
  41. data/lib/typus.rb +1 -0
  42. data/test/config/default/typus.yml +1 -3
  43. data/test/config/working/typus.yml +1 -3
  44. data/test/functional/admin/comments_controller_test.rb +2 -2
  45. data/test/helpers/admin/form_helper_test.rb +2 -2
  46. data/test/helpers/admin/table_helper_test.rb +14 -14
  47. data/test/lib/configuration_test.rb +1 -1
  48. data/typus.gemspec +31 -8
  49. metadata +31 -8
  50. data/generators/typus/templates/public/images/admin/arrow_down.gif +0 -0
  51. data/generators/typus/templates/public/images/admin/arrow_up.gif +0 -0
  52. data/generators/typus/templates/public/images/admin/spinner.gif +0 -0
  53. data/generators/typus/templates/public/images/admin/status_false.gif +0 -0
  54. data/generators/typus/templates/public/images/admin/status_true.gif +0 -0
  55. data/generators/typus/templates/public/images/admin/trash.gif +0 -0
@@ -1,36 +1,11 @@
1
1
  /* @group Defaults */
2
2
 
3
- html {
4
- background: #000;
5
- height: 100%;
6
- margin-bottom: 1px;
7
- }
8
-
9
- body {
10
- color: #000;
11
- font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
12
- font-size: 75%;
13
- }
14
-
15
- label {
16
- display: block;
17
- font-weight: bold;
18
- margin-bottom: 5px;
19
- }
20
-
21
- strong {
22
- font-weight: bold;
23
- }
24
-
25
- dt {
26
- float: left;
27
- font-weight: bold;
28
- width: 200px;
29
- }
30
-
31
- dd {
32
- margin: 0 0 0 220px;
33
- }
3
+ html { background: #000; height: 100%; margin-bottom: 1px; }
4
+ body { color: #000; font-family: "Lucida Grande", Helvetica, Arial, sans-serif; font-size: 75%; }
5
+ label { display: block; font-weight: bold; margin-bottom: 5px; }
6
+ strong { font-weight: bold; }
7
+ dt { float: left; font-weight: bold; width: 200px; }
8
+ dd { margin: 0 0 0 220px; }
34
9
 
35
10
  /* @end */
36
11
 
@@ -38,22 +13,9 @@ dd {
38
13
 
39
14
  a,
40
15
  a:visited,
41
- a:link {
42
- color: #000;
43
- font-weight: normal;
44
- text-decoration: none;
45
- }
46
-
47
- a:hover {
48
- color: #333;
49
- text-decoration: underline;
50
- }
51
-
52
- a.on {
53
- color: #333;
54
- font-weight: bold;
55
- text-decoration: underline;
56
- }
16
+ a:link { color: #000; font-weight: normal; text-decoration: none; }
17
+ a:hover { color: #333; text-decoration: underline; }
18
+ a.on { color: #333; font-weight: bold; text-decoration: underline; }
57
19
 
58
20
  /* @end */
59
21
 
@@ -66,9 +28,7 @@ a.on {
66
28
  width: 940px;
67
29
  }
68
30
 
69
- #wrapper {
70
- background: #FFF;
71
- }
31
+ #wrapper { background: #FFF; }
72
32
 
73
33
  #content_wrapper {
74
34
  background: #FFF;
@@ -96,103 +56,37 @@ a.on {
96
56
  margin-right: 0.25em;
97
57
  }
98
58
 
99
- #header a {
100
- color: #FFF;
101
- }
102
-
103
- #header .left {
104
- float: left;
105
- }
106
-
107
- #header .right {
108
- float: right;
109
- margin-top: 1em;
110
- }
111
-
112
- #header .left ul {
113
- display: block;
114
- float: left;
115
- margin-top: 1em;
116
- }
117
-
118
- #header .left li,
119
- #header .right li {
120
- display: inline;
121
- padding-left: 0.5em;
122
- }
59
+ #header a { color: #FFF; }
60
+ #header .left { float: left; }
61
+ #header .right { float: right; margin-top: 1em; }
62
+ #header .left ul { display: block; float: left; margin-top: 1em; }
63
+ #header .left li, #header .right li { display: inline; padding-left: 0.5em; }
123
64
 
124
65
  /* @end */
125
66
 
126
67
  /* @group Content */
127
68
 
128
- #content {
129
- width: 700px;
130
- float: left;
131
- padding: 1.5em 0;
132
- }
133
-
134
- #content h2 {
135
- font-size: 1.5em;
136
- font-weight: bold;
137
- margin: 0em 0em 0.5em 0em;
138
- }
139
-
140
- #content h2 a {
141
- font-weight: bold;
142
- }
143
-
144
- #content h2 small {
145
- font-size: 0.75em;
146
- }
147
-
148
- #content h2 small a {
149
- color: #666;
150
- }
151
-
152
- #content h3 {
153
- font-size: 1.25em;
154
- font-weight: bold;
155
- margin: 1em 0em;
156
- }
157
-
158
- #content h4 {
159
- margin: 1em 0em;
160
- }
161
-
162
- #content ol {
163
- margin: 1em 2em;
164
- }
165
-
166
- #content ul {
167
- margin: 0em 1.5em;
168
- }
169
-
170
- #content li {
171
- list-style: square;
172
- line-height: 20px;
173
- }
174
-
175
- #content ul li {
176
- list-style: square;
177
- }
178
-
179
- #content p {
180
- margin: 1em 0em;
181
- }
182
-
183
- #content p a {
184
- text-decoration: underline;
185
- }
186
-
187
- #content p a:hover {
188
- color: #408BB6;
189
- }
69
+ #content { float: left; padding: 1.5em 0; width: 700px; }
70
+
71
+ #content h2 { font-size: 1.5em; font-weight: bold; margin: 0 0 0.5em 0; }
72
+ #content h2 a { font-weight: bold; }
73
+ #content h2 small { font-size: 0.75em; }
74
+ #content h2 small a { color: #666; }
75
+ #content h3 { font-size: 1.25em; font-weight: bold; margin: 1em 0; }
76
+ #content h4 { margin: 1em 0; }
77
+ #content ol { margin: 1em 2em; }
78
+ #content ul { margin: 0 1.5em; }
79
+ #content li { list-style: square; line-height: 20px; }
80
+ #content ul li { list-style: square; }
81
+ #content p { margin: 1em 0; }
82
+ #content p a { text-decoration: underline; }
83
+ #content p a:hover { color: #408BB6; }
190
84
 
191
85
  #content pre {
192
86
  background: #000;
193
87
  color: #FFF;
194
88
  font-size: 1.25em;
195
- margin: 1em 0em;
89
+ margin: 1em 0;
196
90
  overflow: auto;
197
91
  padding: 1em;
198
92
  }
@@ -202,17 +96,11 @@ a.on {
202
96
  font-size: 1.25em;
203
97
  font-family: georgia;
204
98
  margin: 1em;
205
- padding: 0em 1em;
99
+ padding: 0 1em;
206
100
  }
207
101
 
208
- #content table.typus {
209
- margin: 1em 0em;
210
- background: #000;
211
- }
212
-
213
- #content h2+table.typus {
214
- margin: 0em; /* Here we overwrite a preference */
215
- }
102
+ #content table.typus { background: #000; margin: 1em 0; }
103
+ #content h2+table.typus { margin: 0; }
216
104
 
217
105
  /* @end */
218
106
 
@@ -225,179 +113,75 @@ a.on {
225
113
  width: 220px;
226
114
  }
227
115
 
228
- #sidebar h2 {
229
- font-size: 1.5em;
230
- font-weight: bold;
231
- }
232
-
233
- #sidebar h3 {
234
- margin: 1em 0;
235
- }
236
-
237
- #sidebar p {
238
- margin: 1em 0;
239
- }
240
-
241
- #sidebar p a {
242
- text-decoration: underline;
243
- }
244
-
245
- #sidebar label {
246
- font-size: 15px;
247
- }
248
-
249
- #sidebar form {
250
- margin-bottom: 1.25em;
251
- }
252
-
253
- #sidebar ul {
254
- margin: 1em 0em;
255
- }
256
-
257
- #sidebar code {
258
- font-size: 1.25em;
259
- color: green;
260
- }
261
-
262
- #sidebar small {
263
- font-size: 0.85em;
264
- }
116
+ #sidebar h2 { font-size: 1.5em; font-weight: bold; }
117
+ #sidebar h3 { margin: 1em 0; }
118
+ #sidebar p { margin: 1em 0; }
119
+ #sidebar p a { text-decoration: underline; }
120
+ #sidebar label { font-size: 15px; }
121
+ #sidebar form { margin-bottom: 1.25em; }
122
+ #sidebar ul { margin: 1em 0; }
123
+ #sidebar code { color: green; font-size: 1.25em; }
124
+ #sidebar small { font-size: 0.85em; }
265
125
 
266
126
  /* @end */
267
127
 
268
128
  /* @group Footer */
269
129
 
270
- #footer_wrapper {
271
- background: #000;
272
- }
130
+ #footer_wrapper { background: #000; }
131
+ #footer { background: #000; margin: 0 auto; width: 940px; }
132
+ #footer .left { float: left; }
133
+ #footer .right { float: right; }
134
+ #footer a { color: #FFF; font-weight: normal; text-decoration: underline; }
135
+ #footer a:hover { color: #408BB6; }
273
136
 
274
- #footer {
275
- background: #000;
276
- margin: 0 auto;
277
- width: 940px;
137
+ #footer p {
138
+ color: #FFF;
139
+ font-size: 0.9em;
140
+ line-height: 18px;
141
+ padding: 1em 0;
278
142
  }
279
143
 
280
- #footer .left {
281
- float: left;
282
- }
283
-
284
- #footer .right {
285
- float: right;
286
- }
287
-
288
- #footer p {
289
- color: #FFF;
290
- font-size: 0.9em;
291
- line-height: 18px;
292
- padding: 1em 0em;
293
- }
294
-
295
- #footer a {
296
- color: #FFF;
297
- font-weight: normal;
298
- text-decoration: underline;
299
- }
300
-
301
- #footer a:hover {
302
- color: #408BB6;
303
- }
304
-
305
144
  /* @end */
306
145
 
307
146
  /* @group Content Forms */
308
147
 
309
- #content form {
310
- margin: 1em 0em 2em 0em;
148
+ #content form { margin: 1em 0 2em 0; }
149
+ #content form ul { margin: 0; }
150
+ #content form ul li { list-style: none; margin: 1em 0; }
151
+ #content form ul li p { margin: 0.5em 0; }
152
+ #content form small { font-size: 0.9em; font-weight: normal; }
153
+ input.button { margin: 10px 0 0 0; }
154
+ #content input.text:focus { background: #FFFCE1; }
155
+ #content textarea:focus { background: #FFFCE1; }
156
+ #content select { border: 1px solid #999; font-size: 1.20em; }
157
+ #content label.inline_label { display: inline; font-weight: normal; }
158
+
159
+ #content input.text {
160
+ border: 1px solid #999;
161
+ font-size: 20px;
162
+ padding: 5px;
163
+ width: 688px;
311
164
  }
312
165
 
313
- #content form ul {
314
- margin: 0;
315
- }
316
-
317
- #content form ul li {
318
- list-style: none;
319
- margin: 1em 0;
320
- }
321
-
322
- #content form ul li p {
323
- margin: 0.5em 0;
324
- }
325
-
326
- #content form small {
327
- font-size: 0.9em;
328
- font-weight: normal;
329
- }
330
-
331
- #content input.text {
332
- border: 1px solid #999;
333
- font-size: 20px;
334
- padding: 5px;
335
- width: 688px;
336
- }
337
-
338
- input.button {
339
- margin: 10px 0 0 0;
340
- }
341
-
342
- #content input.text:focus {
343
- background: #FFFCE1;
344
- }
345
-
346
- #content textarea {
347
- border: 1px solid #999;
348
- font-family: "Courier";
349
- font-size: 14px;
350
- padding: 3px;
351
- width: 691px;
352
- }
353
-
354
- #content textarea:focus {
355
- background: #FFFCE1;
356
- }
357
-
358
- #content select {
359
- border: 1px solid #999;
360
- font-size: 1.20em;
361
- }
362
-
363
- #content label.inline_label {
364
- display: inline;
365
- font-weight: normal;
366
- }
166
+ #content textarea {
167
+ border: 1px solid #999;
168
+ font-family: "Courier";
169
+ font-size: 14px;
170
+ padding: 3px;
171
+ width: 691px;
172
+ }
367
173
 
368
174
  /* @end */
369
175
 
370
176
  /* @group Content Tables */
371
177
 
372
- #content table.typus {
373
- width: 100%;
374
- }
178
+ #content table.typus { width: 100%; }
375
179
 
376
- #content table.typus small {
377
- font-size: 0.8em;
378
- }
379
-
380
- #content table.typus th {
381
- color: #FFF;
382
- font-weight: normal;
383
- padding: 4px;
384
- }
385
-
386
- #content table.typus th a {
387
- color: #FFF!important;
388
- }
389
-
390
- #content .asc { background: transparent url(/images/admin/arrow_up.gif) no-repeat right center; }
391
-
392
- #content .desc { background: transparent url(/images/admin/arrow_down.gif) no-repeat right center; }
393
-
394
- #content table.typus td.right {
395
- text-align: right;
396
- }
397
-
398
- #content table.typus tr.even {
399
- background: #FFF!important;
400
- }
180
+ #content table.typus small { font-size: 0.8em; }
181
+ #content table.typus th { color: #FFF; font-weight: normal; padding: 4px; }
182
+ #content table.typus th a { color: #FFF!important; }
183
+ #content table.typus td.right { text-align: right; }
184
+ #content table.typus tr.even { background: #FFF!important; }
401
185
 
402
186
  #content table.typus tr.even:hover,
403
187
  #content table.typus tr.odd:hover {
@@ -429,10 +213,7 @@ a.on {
429
213
 
430
214
  /* @group Rails Errors */
431
215
 
432
- .fieldWithErrors input {
433
- background: #FBE3E4;
434
- border: 1px solid #8A1F11!important;
435
- }
216
+ .fieldWithErrors input { background: #FBE3E4; border: 1px solid #8A1F11!important; }
436
217
 
437
218
  .errorExplanation {
438
219
  background: #FBE3E4;
@@ -441,33 +222,16 @@ a.on {
441
222
  padding: 0 10px;
442
223
  }
443
224
 
444
- .errorExplanation h3 {
445
- display: none;
446
- }
447
-
448
- .errorExplanation p {
449
- font-weight: bold;
450
- padding: 0 5px;
451
- }
452
-
453
- .errorExplanation ul {
454
- margin: 0 0 10px 25px!important;
455
- }
456
-
457
- .errorExplanation ul li {
458
- list-style: square!important;
459
- margin: 0!important;
460
- }
225
+ .errorExplanation h3 { display: none; }
226
+ .errorExplanation p { font-weight: bold; padding: 0 5px; }
227
+ .errorExplanation ul { margin: 0 0 10px 25px!important; }
228
+ .errorExplanation ul li { list-style: square!important; margin: 0!important; }
461
229
 
462
230
  /* @end */
463
231
 
464
232
  /* @group Search Box */
465
233
 
466
- input#search {
467
- border: 1px solid #999;
468
- font-size: 1.2em;
469
- padding: 3px;
470
- }
234
+ input#search { border: 1px solid #999; font-size: 1.2em; padding: 3px; }
471
235
 
472
236
  /* @end */
473
237
 
@@ -477,69 +241,38 @@ input#search {
477
241
  color: #FFF;
478
242
  font-size: 0.9em;
479
243
  line-height: 18px;
480
- margin: 0em auto;
481
- padding: 0em 1.5em;
244
+ margin: 0 auto;
245
+ padding: 0 1.5em;
482
246
  text-align: center;
483
247
  width: 420px;
484
248
  }
485
249
 
486
- #bottom_dialog a {
487
- color: #FFF;
488
- font-weight: bold;
489
- }
250
+ #bottom_dialog a { color: #FFF; font-weight: bold; }
490
251
 
491
252
  #dialog {
492
253
  background: #FFF;
493
254
  border: 0.5em solid #408BB6;
494
255
  margin: 5em auto 1em auto;
495
- padding: 0em 1.5em;
256
+ padding: 0 1.5em;
496
257
  width: 35em;
497
258
  }
498
259
 
499
- #dialog h1 {
500
- font-size: 2em;
501
- font-weight: bold;
502
- margin: 0.5em 0;
503
- }
504
-
505
- #dialog h1 a {
506
- font-weight: bold;
507
- }
508
-
509
- #dialog h1 a:hover {
510
- color: #000;
511
- text-decoration: underline;
512
- }
513
-
514
- #dialog li {
515
- margin: 1em 0;
516
- }
517
-
518
- #dialog li a {
519
- margin: 0.5em;
520
- display: inline;
521
- font-size: 11px;
522
- }
523
-
524
- #dialog input.text {
525
- border: 1px solid #999;
526
- font-size: 2em;
527
- padding: 0.25em;
528
- width: 16.75em;
529
- }
260
+ #dialog h1 { font-size: 2em; font-weight: bold; margin: 0.5em 0; }
261
+ #dialog h1 a { font-weight: bold; }
262
+ #dialog h1 a:hover { color: #000; text-decoration: underline; }
263
+ #dialog li { margin: 1em 0; }
264
+ #dialog li a { display: inline; font-size: 11px; margin: 0.5em; }
530
265
 
531
- #dialog input.button {
532
- margin: 0.5em 0em;
533
- }
534
-
535
- #dialog .errorExplanation ul {
536
- margin: 10px 0 10px 0px!important;
537
- }
266
+ #dialog input.text {
267
+ border: 1px solid #999;
268
+ font-size: 2em;
269
+ padding: 0.25em;
270
+ width: 16.75em;
271
+ }
538
272
 
539
- #dialog .errorExplanation li {
540
- font-weight: bold;
541
- list-style: none!important;
542
- }
273
+ #dialog input.button { margin: 0.5em 0; }
274
+ #dialog .errorExplanation ul { margin: 10px 0 10px 0!important; }
275
+ #dialog .errorExplanation li { font-weight: bold; list-style: none!important; }
543
276
 
544
277
  /* @end */
545
278
 
@@ -548,37 +281,30 @@ input#search {
548
281
  .pagination {
549
282
  border-bottom: 1px solid #F5F5F5;
550
283
  border-top: 1px solid #F5F5F5;
551
- margin: 1.5em auto 0em auto;
284
+ margin: 1.5em auto 0 auto;
552
285
  padding: 1em;
553
286
  text-align: center;
554
287
  }
555
288
 
556
- .pagination a {
557
- color: #333;
558
- margin: 2px;
559
- padding: 2px 3px;
560
- text-decoration: none;
561
- }
289
+ .pagination a {
290
+ color: #333;
291
+ margin: 2px;
292
+ padding: 2px 3px;
293
+ text-decoration: none;
294
+ }
562
295
 
563
- .pagination a:hover,
564
- .pagination a:active {
565
- background: #000;
566
- color: #FFF;
567
- }
296
+ .pagination a:hover,
297
+ .pagination a:active { background: #000; color: #FFF; }
568
298
 
569
- .pagination span.current {
570
- background-color: #408BB6;
571
- color: #FFF;
572
- font-weight: bold;
573
- margin: 2px;
574
- padding: 2px 3px;
575
- }
299
+ .pagination span.current {
300
+ background-color: #408BB6;
301
+ color: #FFF;
302
+ font-weight: bold;
303
+ margin: 2px;
304
+ padding: 2px 3px;
305
+ }
576
306
 
577
- .pagination span.disabled {
578
- color: #DDD;
579
- margin: 2px;
580
- padding: 2px 3px;
581
- }
307
+ .pagination span.disabled { color: #DDD; margin: 2px; padding: 2px 3px; }
582
308
 
583
309
  /* @end */
584
310
 
@@ -586,148 +312,61 @@ input#search {
586
312
 
587
313
  .error,
588
314
  .notice,
589
- .success {
590
- border: 1px solid #CCC;
591
- font-weight: bold;
592
- margin: 0em 0em 1em 0em;
593
- }
594
-
595
- .error p,
596
- .notice p,
597
- .success p {
598
- font-weight: bold;
599
- margin: 0em!important;
600
- padding: 1em;
601
- }
602
-
603
- .error {
604
- background: #FBE3E4;
605
- border-color: #FBC2C4;
606
- color: #8A1F11;
607
- }
608
-
609
- .error a {
610
- color: #8A1F11;
611
- }
612
-
613
- .notice {
614
- background: #FFF6BF;
615
- border-color: #FFD324;
616
- color: #514721;
617
- }
618
-
619
- .notice a {
620
- color: #514721;
621
- }
622
-
623
- .success {
624
- background: #E6EFC2;
625
- border-color: #C6D880;
626
- color: #264409;
627
- }
628
-
629
- .success a {
630
- color: #264409;
631
- }
315
+ .success { border: 1px solid #CCC; font-weight: bold; margin: 0 0 1em 0; }
316
+ .error p,
317
+ .notice p,
318
+ .success p { font-weight: bold; margin: 0!important; padding: 1em; }
319
+ .error { background: #FBE3E4; border-color: #FBC2C4; color: #8A1F11; }
320
+ .error a { color: #8A1F11; }
321
+ .notice { background: #FFF6BF; border-color: #FFD324; color: #514721; }
322
+ .notice a { color: #514721; }
323
+ .success { background: #E6EFC2; border-color: #C6D880; color: #264409; }
324
+ .success a { color: #264409; }
632
325
 
633
326
  /* @end */
634
327
 
635
328
  /* @group Microformats */
636
329
 
637
- .box {
638
- border: 1px solid #D3D3D3;
639
- margin: 1em 0em;
640
- padding: 10px;
330
+ .box { border: 1px solid #D3D3D3; margin: 1em 0; padding: 10px; }
331
+ .box:hover { border: 1px solid #999; }
332
+ .box .preview { float: left; margin: 0 15px 0 0; width: 200px; }
333
+ .box .content h2 { font-size: 16px!important; margin: 0 0 10px 0!important; }
334
+ .box .content h3 { font-size: 14px!important; margin: 0 0 10px 0!important; }
335
+ .box .content blockquote p { font-size: 16px!important; }
336
+ .box .content p { font-size: 12px!important; margin: 0 0 10px 0!important; }
337
+ .box .content ul { margin: 0 0 10px 20px!important; }
338
+ .box .metadata { float: left; width: 350px; }
339
+ .box .metadata ul { margin: 0!important; padding: 0!important; }
340
+ .box .metadata ul li { list-style: none!important; }
341
+ .box .actions ul { margin: 0!important; }
342
+ .box .actions ul li { display: inline; list-style: none!important; }
343
+
344
+ .box .actions {
345
+ float: right;
346
+ position: relative;
347
+ top: 0;
348
+ right: 0;
349
+ text-align: right;
641
350
  }
642
351
 
643
- .box:hover {
644
- border: 1px solid #999;
645
- }
646
-
647
- .box .preview {
648
- float: left;
649
- margin: 0 15px 0 0;
650
- width: 200px;
651
- }
652
-
653
- .box .content {
654
- }
655
-
656
- .box .content h2 {
657
- font-size: 16px!important;
658
- margin: 0 0 10px 0!important;
659
- }
660
-
661
- .box .content h3 {
662
- font-size: 14px!important;
663
- margin: 0 0 10px 0!important;
664
- }
665
-
666
- .box .content blockquote p {
667
- font-size: 16px!important;
668
- }
669
-
670
- .box .content p {
671
- font-size: 12px!important;
672
- margin: 0 0 10px 0!important;
673
- }
674
-
675
- .box .content ul {
676
- margin: 0 0 10px 20px!important;
677
- }
678
-
679
- .box .metadata {
680
- float: left;
681
- width: 350px;
682
- }
683
-
684
- .box .metadata ul {
685
- margin: 0!important;
686
- padding: 0!important;
687
- }
688
-
689
- .box .metadata ul li {
690
- list-style: none!important;
691
- }
692
-
693
- .box .actions {
694
- float: right;
695
- position: relative;
696
- top: 0;
697
- right: 0;
698
- text-align: right;
699
- }
700
-
701
- .box .actions ul {
702
- margin: 0!important;
703
- }
704
-
705
- .box .actions ul li {
706
- display: inline;
707
- list-style: none!important;
708
- }
709
-
710
352
  /* @end */
711
353
 
712
354
  /* @group Clean Me */
713
355
 
714
- .box_relationships {
715
- border-top: 1px dotted #D3D3D3;
716
- padding: 1.5em 0em;
717
- }
356
+ .box_relationships { border-top: 1px dotted #D3D3D3; padding: 1.5em 0; }
718
357
 
719
358
  /* @end */
720
359
 
721
360
  /* @group Hacks */
722
361
 
723
- .clear {
724
- clear: both;
725
- }
362
+ .clear { clear: both; }
363
+ .tip { color: #666; font-size: 10px; margin: -10px 0 10px 0!important; }
726
364
 
727
- .tip {
728
- color: #666;
729
- font-size: 10px;
730
- margin: -10px 0 10px 0!important;
731
- }
365
+ /* @end */
366
+
367
+ /* @group Sprite */
368
+
369
+ .sprite { background: url(/images/admin/ui-icons.png) no-repeat; text-indent: -1000px; }
370
+ .trash { background-position: -177px -97px; height: 15px; width: 15px; }
732
371
 
733
372
  /* @end */