zscaffold_admin 0.0.1

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 (64) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +18 -0
  3. data/Rakefile +31 -0
  4. data/lib/generators/scaffold_admin/USAGE +8 -0
  5. data/lib/generators/scaffold_admin/install_generator.rb +50 -0
  6. data/lib/generators/scaffold_admin/scaffold_admin_generator.rb +109 -0
  7. data/lib/generators/scaffold_admin/templates/controller.rb +65 -0
  8. data/lib/generators/scaffold_admin/templates/helper.rb +9 -0
  9. data/lib/generators/scaffold_admin/templates/images/breadcrumb_divider.png +0 -0
  10. data/lib/generators/scaffold_admin/templates/images/btn_submit.png +0 -0
  11. data/lib/generators/scaffold_admin/templates/images/btn_submit_2.png +0 -0
  12. data/lib/generators/scaffold_admin/templates/images/btn_view_site.png +0 -0
  13. data/lib/generators/scaffold_admin/templates/images/header_bg.png +0 -0
  14. data/lib/generators/scaffold_admin/templates/images/header_shadow.png +0 -0
  15. data/lib/generators/scaffold_admin/templates/images/icn_add_user.png +0 -0
  16. data/lib/generators/scaffold_admin/templates/images/icn_alert_error.png +0 -0
  17. data/lib/generators/scaffold_admin/templates/images/icn_alert_info.png +0 -0
  18. data/lib/generators/scaffold_admin/templates/images/icn_alert_success.png +0 -0
  19. data/lib/generators/scaffold_admin/templates/images/icn_alert_warning.png +0 -0
  20. data/lib/generators/scaffold_admin/templates/images/icn_audio.png +0 -0
  21. data/lib/generators/scaffold_admin/templates/images/icn_categories.png +0 -0
  22. data/lib/generators/scaffold_admin/templates/images/icn_edit.png +0 -0
  23. data/lib/generators/scaffold_admin/templates/images/icn_edit_article.png +0 -0
  24. data/lib/generators/scaffold_admin/templates/images/icn_folder.png +0 -0
  25. data/lib/generators/scaffold_admin/templates/images/icn_jump_back.png +0 -0
  26. data/lib/generators/scaffold_admin/templates/images/icn_logout.png +0 -0
  27. data/lib/generators/scaffold_admin/templates/images/icn_new_article.png +0 -0
  28. data/lib/generators/scaffold_admin/templates/images/icn_photo.png +0 -0
  29. data/lib/generators/scaffold_admin/templates/images/icn_profile.png +0 -0
  30. data/lib/generators/scaffold_admin/templates/images/icn_search.png +0 -0
  31. data/lib/generators/scaffold_admin/templates/images/icn_security.png +0 -0
  32. data/lib/generators/scaffold_admin/templates/images/icn_settings.png +0 -0
  33. data/lib/generators/scaffold_admin/templates/images/icn_tags.png +0 -0
  34. data/lib/generators/scaffold_admin/templates/images/icn_trash.png +0 -0
  35. data/lib/generators/scaffold_admin/templates/images/icn_user.png +0 -0
  36. data/lib/generators/scaffold_admin/templates/images/icn_video.png +0 -0
  37. data/lib/generators/scaffold_admin/templates/images/icn_view_users.png +0 -0
  38. data/lib/generators/scaffold_admin/templates/images/module_footer_bg.png +0 -0
  39. data/lib/generators/scaffold_admin/templates/images/post_message.png +0 -0
  40. data/lib/generators/scaffold_admin/templates/images/secondary_bar.png +0 -0
  41. data/lib/generators/scaffold_admin/templates/images/secondary_bar_shadow.png +0 -0
  42. data/lib/generators/scaffold_admin/templates/images/sidebar.png +0 -0
  43. data/lib/generators/scaffold_admin/templates/images/sidebar_divider.png +0 -0
  44. data/lib/generators/scaffold_admin/templates/images/sidebar_shadow.png +0 -0
  45. data/lib/generators/scaffold_admin/templates/images/table_sorter_header.png +0 -0
  46. data/lib/generators/scaffold_admin/templates/javascripts/hideshow.js +69 -0
  47. data/lib/generators/scaffold_admin/templates/javascripts/jquery-1.5.2.min.js +16 -0
  48. data/lib/generators/scaffold_admin/templates/javascripts/jquery.equalHeight.js +20 -0
  49. data/lib/generators/scaffold_admin/templates/javascripts/jquery.tablesorter.min.js +4 -0
  50. data/lib/generators/scaffold_admin/templates/layouts/admin.html.erb +65 -0
  51. data/lib/generators/scaffold_admin/templates/migration.rb +11 -0
  52. data/lib/generators/scaffold_admin/templates/model.rb +9 -0
  53. data/lib/generators/scaffold_admin/templates/shared/_menu.html.erb +26 -0
  54. data/lib/generators/scaffold_admin/templates/stylesheets/ie.css +43 -0
  55. data/lib/generators/scaffold_admin/templates/stylesheets/layout.css +883 -0
  56. data/lib/generators/scaffold_admin/templates/views/_form.html.erb +32 -0
  57. data/lib/generators/scaffold_admin/templates/views/edit.html.erb +6 -0
  58. data/lib/generators/scaffold_admin/templates/views/index.html.erb +40 -0
  59. data/lib/generators/scaffold_admin/templates/views/new.html.erb +6 -0
  60. data/lib/generators/scaffold_admin/templates/views/show.html.erb +22 -0
  61. data/lib/tasks/zscaffold_admin_tasks.rake +4 -0
  62. data/lib/zscaffold_admin/engine.rb +5 -0
  63. data/lib/zscaffold_admin.rb +4 -0
  64. metadata +126 -0
@@ -0,0 +1,883 @@
1
+ /* Essentials */
2
+
3
+ html, div, map, dt, isindex, form, header, aside, section, section, article, footer {
4
+ display: block;
5
+ }
6
+
7
+ html, body {
8
+ height: 100%;
9
+ margin: 0;
10
+ padding: 0;
11
+ font-family: "Helvetica Neue", Helvetica, Arial, Verdana, sans-serif;
12
+ background: #F8F8F8;
13
+ font-size: 12px;
14
+ }
15
+
16
+ .clear {
17
+ clear: both;
18
+ }
19
+
20
+ .spacer {
21
+ height: 20px;
22
+ }
23
+
24
+ a:link, a:visited {
25
+ color: #77BACE;
26
+ text-decoration: none;
27
+ }
28
+
29
+ a:hover {
30
+ text-decoration: underline;
31
+ }
32
+
33
+
34
+ /* Header */
35
+
36
+ header#header {
37
+ height: 55px;
38
+ width: 100%;
39
+ background: #222222 url(/assets/header_bg.png) repeat-x;
40
+ }
41
+
42
+ header#header h1.site_title, header#header h2.section_title {
43
+ float: left;
44
+ margin: 0;
45
+ font-size: 22px;
46
+ display: block;
47
+ width: 23%;
48
+ height: 55px;
49
+ font-weight: normal;
50
+ text-align: left;
51
+ text-indent: 1.8%;
52
+ line-height: 55px;
53
+ color: #fff;
54
+ text-shadow: 0 -1px 0 #000;
55
+ }
56
+
57
+ header#header h1.site_title a {
58
+ color: #fff;
59
+ text-decoration: none;
60
+ }
61
+
62
+ header#header h2.section_title {
63
+ text-align: center;
64
+ text-indent: 4.5%;
65
+ width: 68%;
66
+ background: url(/assets/header_shadow.png) no-repeat left top;
67
+ }
68
+
69
+ .btn_view_site {
70
+ float: left;
71
+ width: 9%;
72
+ }
73
+
74
+ .btn_view_site a {
75
+ display: block;
76
+ margin-top: 12px;
77
+ width: 91px;
78
+ height: 27px;
79
+ background: url(/assets/btn_view_site.png) no-repeat;
80
+ text-align: center;
81
+ line-height: 29px;
82
+ color: #fff;
83
+ text-decoration: none;
84
+ text-shadow: 0 -1px 0 #000;}
85
+
86
+ .btn_view_site a:hover {
87
+ background-position: 0 -27px;
88
+ }
89
+
90
+ /* Secondary Header Bar */
91
+
92
+ section#secondary_bar {
93
+ height: 38px;
94
+ width: 100%;
95
+ background: #F1F1F4 url(/assets/secondary_bar.png) repeat-x;
96
+ }
97
+
98
+ section#secondary_bar .user {
99
+ float: left;
100
+ width: 23%;
101
+ height: 38px;
102
+ }
103
+
104
+ .user p {
105
+ margin: 0;
106
+ padding: 0;
107
+ color: #666666;
108
+ font-weight: bold;
109
+ display: block;
110
+ float: left;
111
+ width: 85%;
112
+ height: 35px;
113
+ line-height: 35px;
114
+ text-indent: 25px;
115
+ text-shadow: 0 1px 0 #fff;
116
+ background: url(/assets/icn_user.png) no-repeat center left;
117
+ margin-left: 6%;
118
+ }
119
+
120
+ .user a {
121
+ text-decoration: none;
122
+ color: #666666}
123
+
124
+ .user a:hover {
125
+ color: #77BACE;
126
+ }
127
+
128
+ .user a.logout_user {
129
+ float: left;
130
+ display: block;
131
+ width: 16px;
132
+ height: 35px;
133
+ text-indent: -5000px;
134
+ background: url(/assets/icn_logout.png) center no-repeat;
135
+ }
136
+
137
+ /* Breadcrumbs */
138
+
139
+ section#secondary_bar .breadcrumbs_container {
140
+ float: left;
141
+ width: 77%;
142
+ background: url(/assets/secondary_bar_shadow.png) no-repeat left top;
143
+ height: 38px;
144
+ }
145
+
146
+ article.breadcrumbs {
147
+ float: left;
148
+ padding: 0 10px;
149
+ border: 1px solid #ccc;
150
+ -webkit-border-radius: 5px;
151
+ -moz-border-radius: 5px;
152
+ border-radius: 5px;
153
+ -webkit-box-shadow: 0 1px 0 #fff;
154
+ -moz-box-shadow: 0 1px 0 #fff;
155
+ box-shadow: 0 1px 0 #fff;
156
+ height: 23px;
157
+ margin: 4px 3%;
158
+ }
159
+
160
+ .breadcrumbs a {
161
+ display: inline-block;
162
+ float: left;
163
+ height: 24px;
164
+ line-height: 23px;
165
+ }
166
+
167
+ .breadcrumbs a.current, .breadcrumbs a.current:hover {
168
+ color: #9E9E9E;
169
+ font-weight: bold;
170
+ text-shadow: 0 1px 0 #fff;
171
+ text-decoration: none;
172
+ }
173
+
174
+ .breadcrumbs a:link, .breadcrumbs a:visited {
175
+ color: #44474F;
176
+ text-decoration: none;
177
+ text-shadow: 0 1px 0 #fff;
178
+ font-weight: bold;}
179
+
180
+ .breadcrumbs a:hover {
181
+ color: #222222;
182
+ }
183
+
184
+ .breadcrumb_divider {
185
+ display: inline-block;
186
+ width: 12px;
187
+ height: 24px;
188
+ background: url(/assets/breadcrumb_divider.png) no-repeat;
189
+ float: left;
190
+ margin: 0 5px;
191
+ }
192
+
193
+ /* Sidebar */
194
+
195
+ aside#sidebar {
196
+ width: 23%;
197
+ background: #E0E0E3 url(/assets/sidebar.png) repeat;
198
+ float: left;
199
+ min-height: 500px;
200
+ margin-top: -4px;
201
+ }
202
+
203
+ #sidebar hr {
204
+ border: none;
205
+ outline: none;
206
+ background: url(/assets/sidebar_divider.png) repeat-x;
207
+ display: block;
208
+ width: 100%;
209
+ height: 2px;}
210
+
211
+
212
+ /* Search */
213
+
214
+ .quick_search {
215
+ text-align: center;
216
+ padding: 14px 0 10px 0;
217
+ }
218
+
219
+ .quick_search input[type=text] {
220
+ -webkit-border-radius: 20px;
221
+ -moz-border-radius: 20px;
222
+ border-radius: 20px;
223
+ border: 1px solid #bbb;
224
+ height: 26px;
225
+ width: 90%;
226
+ color: #ccc;
227
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
228
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
229
+ box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
230
+ text-indent: 30px;
231
+ background: #fff url(/assets/icn_search.png) no-repeat;
232
+ background-position: 10px 6px;
233
+ }
234
+
235
+ .quick_search input[type=text]:focus {
236
+ outline: none;
237
+ color: #666666;
238
+ border: 1px solid #77BACE;
239
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
240
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
241
+ box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
242
+ }
243
+
244
+ /* Sidebar Menu */
245
+
246
+ #sidebar h3 {
247
+ color: #1F1F20;
248
+ text-transform: uppercase;
249
+ text-shadow: 0 1px 0 #fff;
250
+ font-size: 13px;
251
+ margin: 10px 0 10px 6%;
252
+ display: block;
253
+ float: left;
254
+ width: 90%;
255
+ }
256
+
257
+ .toggleLink {
258
+ color: #999999;
259
+ font-size: 10px;
260
+ text-decoration: none;
261
+ display: block;
262
+ float: right;
263
+ margin-right: 2%
264
+ }
265
+
266
+ #sidebar .toggleLink:hover {
267
+ color: #77BACE;
268
+ text-decoration: none;
269
+ }
270
+
271
+ #sidebar ul {
272
+ clear: both;
273
+ margin: 0; padding: 0;
274
+ }
275
+
276
+ #sidebar li {
277
+ list-style: none;
278
+ margin: 0 0 0 12%; padding: 0;
279
+ }
280
+
281
+ #sidebar li a {
282
+ color: #666666;
283
+ padding-left: 25px;
284
+ text-decoration: none;
285
+ display: inline-block;
286
+ height: 17px;
287
+ line-height: 17px;
288
+ text-shadow: 0 1px 0 #fff;
289
+ margin: 2px 0;
290
+ }
291
+
292
+ #sidebar li a:hover {
293
+ color: #444444;
294
+ }
295
+
296
+ /* Sidebar Icons */
297
+
298
+ #sidebar li.icn_new_article a {
299
+ background: url(/assets/icn_new_article.png) no-repeat center left;
300
+ }
301
+ #sidebar li.icn_edit_article a {
302
+ background: url(/assets/icn_edit_article.png) no-repeat center left;
303
+ }
304
+ #sidebar li.icn_categories a {
305
+ background: url(/assets/icn_categories.png) no-repeat center left;
306
+ }
307
+ #sidebar li.icn_tags a {
308
+ background: url(/assets/icn_tags.png) no-repeat center left;
309
+ }
310
+ #sidebar li.icn_add_user a {
311
+ background: url(/assets/icn_add_user.png) no-repeat center left;
312
+ }
313
+ #sidebar li.icn_view_users a {
314
+ background: url(/assets/icn_view_users.png) no-repeat center left;
315
+ }
316
+ #sidebar li.icn_profile a {
317
+ background: url(/assets/icn_profile.png) no-repeat center left;
318
+ }
319
+ #sidebar li.icn_folder a {
320
+ background: url(/assets/icn_folder.png) no-repeat center left;
321
+ }
322
+ #sidebar li.icn_photo a {
323
+ background: url(/assets/icn_photo.png) no-repeat center left;
324
+ }
325
+ #sidebar li.icn_audio a {
326
+ background: url(/assets/icn_audio.png) no-repeat center left;
327
+ }
328
+ #sidebar li.icn_video a {
329
+ background: url(/assets/icn_video.png) no-repeat center left;
330
+ }
331
+ #sidebar li.icn_settings a {
332
+ background: url(/assets/icn_settings.png) no-repeat center left;
333
+ }
334
+ #sidebar li.icn_security a {
335
+ background: url(/assets/icn_security.png) no-repeat center left;
336
+ }
337
+ #sidebar li.icn_jump_back a {
338
+ background: url(/assets/icn_jump_back.png) no-repeat center left;
339
+ }
340
+
341
+ #sidebar p {
342
+ color: #666666;
343
+ padding-left: 6%;
344
+ text-shadow: 0 1px 0 #fff;
345
+ margin: 10px 0 0 0;}
346
+
347
+ #sidebar a {
348
+ color: #666666;
349
+ text-decoration: none;
350
+ }
351
+
352
+ #sidebar a:hover {
353
+ text-decoration: underline;
354
+ }
355
+
356
+ #sidebar footer {
357
+ margin-top: 20%;
358
+ }
359
+
360
+
361
+ /* Main Content */
362
+
363
+
364
+ section#main {
365
+ width: 77%;
366
+ min-height: 500px;
367
+ background: url(/assets/sidebar_shadow.png) repeat-y left top;
368
+ float: left;
369
+ margin-top: -2px;
370
+ }
371
+
372
+ #main h3 {
373
+ color: #1F1F20;
374
+ text-transform: uppercase;
375
+ text-shadow: 0 1px 0 #fff;
376
+ font-size: 13px;
377
+ margin: 8px 20px;
378
+ }
379
+
380
+ /* Modules */
381
+
382
+ .module {
383
+ border: 1px solid #9BA0AF;
384
+ width: 100%;
385
+ margin: 20px 3% 0 3%;
386
+ margin-top: 20px;
387
+ -webkit-border-radius: 5px;
388
+ -moz-border-radius: 5px;
389
+ border-radius: 5px;
390
+ background: #ffffff;
391
+ }
392
+
393
+ #main .module header h3 {
394
+ display: block;
395
+ width: 90%;
396
+ float: left;
397
+ }
398
+
399
+ .module header {
400
+ height: 38px;
401
+ width: 100%;
402
+ background: #F1F1F4 url(/assets/secondary_bar.png) repeat-x;
403
+ -webkit-border-top-left-radius: 5px; -webkit-border-top-right-radius: 5px;
404
+ -moz-border-radius-topleft: 5px; -moz-border-radius-topright: 5px;
405
+ border-top-left-radius: 5px; border-top-right-radius: 5px;
406
+ }
407
+
408
+ .module footer {
409
+ height: 32px;
410
+ width: 100%;
411
+ border-top: 1px solid #9CA1B0;
412
+ background: #F1F1F4 url(/assets/module_footer_bg.png) repeat-x;
413
+ -webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px;
414
+ -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px;
415
+ -webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-right-radius: 5px;
416
+ }
417
+
418
+ .module_content {
419
+ margin: 10px 20px;
420
+ color: #666;}
421
+
422
+ /* Module Widths */
423
+
424
+ .width_full {
425
+ width: 95%;
426
+ }
427
+
428
+ .width_half {
429
+ width: 46%;
430
+ margin-right: 0;
431
+ float: left;
432
+ }
433
+
434
+ .width_quarter {
435
+ width: 26%;
436
+ margin-right: 0;
437
+ float: left;
438
+ }
439
+
440
+ .width_3_quarter {
441
+ width: 66%;
442
+ margin-right: 0;
443
+ float: left;
444
+ }
445
+
446
+ /* Stats Module */
447
+
448
+ .stats_graph {
449
+ width: 64%;
450
+ float: left;
451
+ }
452
+
453
+ .stats_overview {
454
+ background: #F6F6F6;
455
+ border: 1px solid #ccc;
456
+ float: right;
457
+ width: 26%;
458
+ -webkit-border-radius: 5px;
459
+ -moz-border-radius: 5px;
460
+ border-radius: 5px;
461
+ }
462
+
463
+ .overview_today, .overview_previous {
464
+ width: 50%;
465
+ float: left;}
466
+
467
+ .stats_overview p {
468
+ margin: 0; padding: 0;
469
+ text-align: center;
470
+ text-transform: uppercase;
471
+ text-shadow: 0 1px 0 #fff;
472
+ }
473
+
474
+ .stats_overview p.overview_day {
475
+ font-size: 12px;
476
+ font-weight: bold;
477
+ margin: 6px 0;
478
+ }
479
+
480
+ .stats_overview p.overview_count {
481
+ font-size: 26px;
482
+ font-weight: bold;
483
+ color: #333333;}
484
+
485
+ .stats_overview p.overview_type {
486
+ font-size: 10px;
487
+ color: #999999;
488
+ margin-bottom: 8px}
489
+
490
+ /* Content Manager */
491
+
492
+ .tablesorter {
493
+ width: 100%;
494
+ margin: -5px 0 0 0;
495
+ }
496
+
497
+ .tablesorter td{
498
+ margin: 0;
499
+ padding: 0;
500
+ border-bottom: 1px dotted #ccc;
501
+ }
502
+
503
+ .tablesorter thead tr {
504
+ height: 34px;
505
+ background: url(/assets/table_sorter_header.png) repeat-x;
506
+ text-align: left;
507
+ text-indent: 10px;
508
+ cursor: pointer;
509
+ }
510
+
511
+ .tablesorter td {
512
+ padding: 15px 10px;
513
+ }
514
+
515
+ .tablesorter input[type=image] {
516
+ margin-right: 10px;}
517
+
518
+ ul.tabs {
519
+ margin: 3px 10px 0 0;
520
+ padding: 0;
521
+ float: right;
522
+ list-style: none;
523
+ height: 24px; /*--Set height of tabs--*/
524
+ -webkit-border-radius: 5px;
525
+ -moz-border-radius: 5px;
526
+ border-radius: 5px;
527
+ -webkit-box-shadow: 0 1px 0 #fff;
528
+ -moz-box-shadow: 0 1px 0 #fff;
529
+ box-shadow: 0 1px 0 #fff;
530
+ border: 1px solid #ccc;
531
+ font-weight: bold;
532
+ text-shadow: 0 1px 0 #fff;
533
+ }
534
+ ul.tabs li {
535
+ float: left;
536
+ margin: 0;
537
+ padding: 0;
538
+ line-height: 24px;
539
+ }
540
+ ul.tabs li a {
541
+ text-decoration: none;
542
+ color: #999;
543
+ display: block;
544
+ padding: 0 10px;
545
+ height: 24px;
546
+ }
547
+
548
+ ul.tabs li a:hover {
549
+ color: #44474F;
550
+ }
551
+
552
+ html ul.tabs li.active a {
553
+ color: #44474F;
554
+ }
555
+
556
+ html ul.tabs li.active, html ul.tabs li.active a:hover {
557
+ background: #F1F2F4;
558
+ -webkit-box-shadow: inset 0 2px 3px #818181;
559
+ -moz-box-shadow: inset 0 2px 3px #818181;
560
+ box-shadow: inset 0 2px 3px #818181;
561
+ }
562
+
563
+ html ul.tabs li:first-child, html ul.tabs li:first-child a {
564
+ -webkit-border-top-left-radius: 5px; -webkit-border-bottom-left-radius: 5px;
565
+ -moz-border-radius-topleft: 5px; -moz-border-radius-bottomleft: 5px;
566
+ border-top-left-radius: 5px; border-bottom-left-radius: 5px;
567
+ }
568
+
569
+ html ul.tabs li:last-child, html ul.tabs li:last-child a {
570
+ -webkit-border-top-right-radius: 5px; -webkit-border-bottom-right-radius: 5px;
571
+ -moz-border-radius-topright: 5px; -moz-border-radius-bottomright: 5px;
572
+ border-top-right-radius: 5px; border-bottom-right-radius: 5px;
573
+ }
574
+
575
+ #main .module header h3.tabs_involved {
576
+ display: block;
577
+ width: 60%;
578
+ float: left;
579
+ }
580
+
581
+ /* Messages */
582
+
583
+ .message {
584
+ border-bottom: 1px dotted #cccccc;
585
+ }
586
+
587
+ input[type=submit] {
588
+ background: #D0D1D4 url(/assets/btn_submit.png) repeat-x;
589
+ border: 1px solid #A8A9A8;
590
+ -webkit-box-shadow: 0 1px 0 #fff;
591
+ -moz-box-shadow: 0 1px 0 #fff;
592
+ box-shadow: 0 1px 0 #fff;
593
+ font-weight: bold;
594
+ height: 22px;
595
+ -webkit-border-radius: 5px;
596
+ -moz-border-radius: 5px;
597
+ border-radius: 5px;
598
+ padding: 0 10px;
599
+ color: #666;
600
+ text-shadow: 0 1px 0 #fff;
601
+ cursor: pointer;
602
+ }
603
+
604
+ input[type=submit]:hover {
605
+ color: #333333;
606
+ }
607
+
608
+ input[type=submit].alt_btn {
609
+ background: #D0D1D4 url(/assets/btn_submit_2.png) repeat-x;
610
+ border: 1px solid#30B0C8;
611
+ -webkit-box-shadow: 0 1px 0 #fff;
612
+ -moz-box-shadow: 0 1px 0 #fff;
613
+ box-shadow: 0 1px 0 #fff;
614
+ font-weight: bold;
615
+ height: 22px;
616
+ -webkit-border-radius: 5px;
617
+ -moz-border-radius: 5px;
618
+ border-radius: 5px;
619
+ padding: 0 10px;
620
+ color: #003E49;
621
+ text-shadow: 0 1px 0 #6CDCF9;
622
+ cursor: pointer;
623
+ }
624
+
625
+ input[type=submit].alt_btn:hover {
626
+ color: #001217;
627
+ }
628
+
629
+ input[type=submit].btn_post_message {
630
+ background: #D0D1D4 url(/assets/post_message.png) no-repeat;
631
+ display: block;
632
+ width: 37px;
633
+ border: none;
634
+ height: 24px;
635
+ cursor: pointer;
636
+ text-indent: -5000px;
637
+ }
638
+
639
+ input[type=submit].btn_post_message:hover {
640
+ background-position: 0 -24px;
641
+ }
642
+
643
+ .post_message {
644
+ text-align: left;
645
+ padding: 5px 0;
646
+ }
647
+
648
+ .post_message input[type=text] {
649
+ -webkit-border-radius: 5px;
650
+ -moz-border-radius: 5px;
651
+ border-radius: 5px;
652
+ border: 1px solid #bbb;
653
+ height: 20px;
654
+ width: 70%;
655
+ color: #ccc;
656
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
657
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
658
+ box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
659
+ text-indent: 10px;
660
+ background-position: 10px 6px;
661
+ float: left;
662
+ margin: 0 3.5%;
663
+ }
664
+
665
+ .post_message input[type=text]:focus {
666
+ outline: none;
667
+ border: 1px solid #77BACE;
668
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
669
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
670
+ box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
671
+ color: #666666;
672
+ }
673
+
674
+ .post_message input[type=image] {
675
+ float: left;
676
+ }
677
+
678
+ .message_list {
679
+ height: 250px;
680
+ overflow-x:hidden;
681
+ overflow-y: scroll;
682
+ }
683
+
684
+ /* New/Edit Article Module */
685
+
686
+ fieldset {
687
+ -webkit-border-radius: 5px;
688
+ -moz-border-radius: 5px;
689
+ border-radius: 5px;
690
+ background: #F6F6F6;
691
+ border: 1px solid #ccc;
692
+ padding: 1% 0%;
693
+ margin: 10px 0;
694
+ }
695
+
696
+ fieldset label {
697
+ display: block;
698
+ float: left;
699
+ width: 200px;
700
+ height: 25px;
701
+ line-height: 25px;
702
+ text-shadow: 0 1px 0 #fff;
703
+ font-weight: bold;
704
+ padding-left: 10px;
705
+ margin: -5px 0 5px 0;
706
+ text-transform: uppercase;
707
+ }
708
+
709
+ fieldset input[type=text] {
710
+ -webkit-border-radius: 5px;
711
+ -moz-border-radius: 5px;
712
+ border-radius: 5px;
713
+ border: 1px solid #BBBBBB;
714
+ height: 20px;
715
+ color: #666666;
716
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
717
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
718
+ box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
719
+ padding-left: 10px;
720
+ background-position: 10px 6px;
721
+ margin: 0;
722
+ display: block;
723
+ float: left;
724
+ width: 96%;
725
+ margin: 0 10px;
726
+ }
727
+
728
+ fieldset input[type=text]:focus {
729
+ outline: none;
730
+ border: 1px solid #77BACE;
731
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
732
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
733
+ box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
734
+ }
735
+
736
+ fieldset select {
737
+ width: 96%;
738
+ margin: 0 10px;
739
+ border: 1px solid #bbb;
740
+ height: 20px;
741
+ color: #666666;
742
+ }
743
+
744
+ fieldset textarea {
745
+ -webkit-border-radius: 5px;
746
+ -moz-border-radius: 5px;
747
+ border-radius: 5px;
748
+ border: 1px solid #BBBBBB;
749
+ color: #666666;
750
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
751
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
752
+ box-shadow: inset 0 2px 2px #ccc, 0 1px 0 #fff;
753
+ padding-left: 10px;
754
+ background-position: 10px 6px;
755
+ margin: 0 0.5%;
756
+ display: block;
757
+ float: left;
758
+ width: 96%;
759
+ margin: 0 10px;
760
+ }
761
+
762
+ fieldset textarea:focus {
763
+ outline: none;
764
+ border: 1px solid #77BACE;
765
+ -webkit-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
766
+ -moz-box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
767
+ box-shadow: inset 0 2px 2px #ccc, 0 0 10px #ADDCE6;
768
+ }
769
+
770
+ .submit_link {
771
+ float: right;
772
+ margin-right: 3%;
773
+ padding: 5px 0;
774
+ }
775
+
776
+ .submit_link select {
777
+ width: 150px;
778
+ border: 1px solid #bbb;
779
+ height: 20px;
780
+ color: #666666;
781
+ }
782
+
783
+ #main .module_content h1 {
784
+ color: #333333;
785
+ text-transform: none;
786
+ text-shadow: 0 1px 0 #fff;
787
+ font-size: 22px;
788
+ margin: 8px 0px;
789
+ }
790
+
791
+ #main .module_content h2 {
792
+ color: #444444;
793
+ text-transform: none;
794
+ text-shadow: 0 1px 0 #fff;
795
+ font-size: 18px;
796
+ margin: 8px 0px;
797
+ }
798
+
799
+ #main .module_content h3 {
800
+ color: #666666;
801
+ text-transform: uppercase;
802
+ text-shadow: 0 1px 0 #fff;
803
+ font-size: 13px;
804
+ margin: 8px 0px;
805
+ }
806
+
807
+ #main .module_content h4 {
808
+ color: #666666;
809
+ text-transform: none;
810
+ text-shadow: 0 1px 0 #fff;
811
+ font-size: 13px;
812
+ margin: 8px 0px;
813
+ }
814
+
815
+ #main .module_content li {
816
+ line-height: 150%;
817
+ }
818
+
819
+ /* Alerts */
820
+
821
+ #main h4.alert_info {
822
+ display: block;
823
+ width: 95%;
824
+ margin: 20px 3% 0 3%;
825
+ margin-top: 20px;
826
+ -webkit-border-radius: 5px;
827
+ -moz-border-radius: 5px;
828
+ border-radius: 5px;
829
+ background: #B5E5EF url(/assets/icn_alert_info.png) no-repeat;
830
+ background-position: 10px 10px;
831
+ border: 1px solid #77BACE;
832
+ color: #082B33;
833
+ padding: 10px 0;
834
+ text-indent: 40px;
835
+ font-size: 14px;}
836
+
837
+ #main h4.alert_warning {
838
+ display: block;
839
+ width: 95%;
840
+ margin: 20px 3% 0 3%;
841
+ margin-top: 20px;
842
+ -webkit-border-radius: 5px;
843
+ -moz-border-radius: 5px;
844
+ border-radius: 5px;
845
+ background: #F5F3BA url(/assets/icn_alert_warning.png) no-repeat;
846
+ background-position: 10px 10px;
847
+ border: 1px solid #C7A20D;
848
+ color: #796616;
849
+ padding: 10px 0;
850
+ text-indent: 40px;
851
+ font-size: 14px;}
852
+
853
+ #main h4.alert_error {
854
+ display: block;
855
+ width: 95%;
856
+ margin: 20px 3% 0 3%;
857
+ margin-top: 20px;
858
+ -webkit-border-radius: 5px;
859
+ -moz-border-radius: 5px;
860
+ border-radius: 5px;
861
+ background: #F3D9D9 url(/assets/icn_alert_error.png) no-repeat;
862
+ background-position: 10px 10px;
863
+ border: 1px solid #D20009;
864
+ color: #7B040F;
865
+ padding: 10px 0;
866
+ text-indent: 40px;
867
+ font-size: 14px;}
868
+
869
+ #main h4.alert_success {
870
+ display: block;
871
+ width: 95%;
872
+ margin: 20px 3% 0 3%;
873
+ margin-top: 20px;
874
+ -webkit-border-radius: 5px;
875
+ -moz-border-radius: 5px;
876
+ border-radius: 5px;
877
+ background: #E2F6C5 url(/assets/icn_alert_success.png) no-repeat;
878
+ background-position: 10px 10px;
879
+ border: 1px solid #79C20D;
880
+ color: #32510F;
881
+ padding: 10px 0;
882
+ text-indent: 40px;
883
+ font-size: 14px;}