fcid 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. data/app/assets/images/expand.gif +0 -0
  2. data/app/assets/javascripts/fcid.js +14 -0
  3. data/app/assets/javascripts/jquery.corner.js +152 -0
  4. data/app/assets/stylesheets/fcid/admin.css +3 -0
  5. data/app/assets/stylesheets/fcid/application.css +30 -0
  6. data/app/assets/stylesheets/fcid/apps.css +74 -0
  7. data/app/assets/stylesheets/fcid/base.css +151 -0
  8. data/app/assets/stylesheets/fcid/base_xiaonei.css +1678 -0
  9. data/app/assets/stylesheets/fcid/box.css +135 -0
  10. data/app/assets/stylesheets/fcid/chat.css +200 -0
  11. data/app/assets/stylesheets/fcid/coderay.css +10 -0
  12. data/app/assets/stylesheets/fcid/common.css +16 -0
  13. data/app/assets/stylesheets/fcid/dashboardpro.css +1205 -0
  14. data/app/assets/stylesheets/fcid/dialog.css +175 -0
  15. data/app/assets/stylesheets/fcid/dialogpro.css +296 -0
  16. data/app/assets/stylesheets/fcid/editor.css +73 -0
  17. data/app/assets/stylesheets/fcid/feeds.css +41 -0
  18. data/app/assets/stylesheets/fcid/flyout_menu.css +38 -0
  19. data/app/assets/stylesheets/fcid/form.css +176 -0
  20. data/app/assets/stylesheets/fcid/friend_selector.css +65 -0
  21. data/app/assets/stylesheets/fcid/friends.css +445 -0
  22. data/app/assets/stylesheets/fcid/green.css +942 -0
  23. data/app/assets/stylesheets/fcid/layout.css +185 -0
  24. data/app/assets/stylesheets/fcid/lightbox.css +26 -0
  25. data/app/assets/stylesheets/fcid/lister.css +49 -0
  26. data/app/assets/stylesheets/fcid/modalbox.css +153 -0
  27. data/app/assets/stylesheets/fcid/msg.css +62 -0
  28. data/app/assets/stylesheets/fcid/navigationpro.css +878 -0
  29. data/app/assets/stylesheets/fcid/notification.css +162 -0
  30. data/app/assets/stylesheets/fcid/pagination.css +45 -0
  31. data/app/assets/stylesheets/fcid/pill_filter.css +83 -0
  32. data/app/assets/stylesheets/fcid/post.css +69 -0
  33. data/app/assets/stylesheets/fcid/powerapple.css +2645 -0
  34. data/app/assets/stylesheets/fcid/rails.css +58 -0
  35. data/app/assets/stylesheets/fcid/register.css +711 -0
  36. data/app/assets/stylesheets/fcid/showbox.css +122 -0
  37. data/app/assets/stylesheets/fcid/super-actions.css +222 -0
  38. data/app/assets/stylesheets/fcid/tabs.css +370 -0
  39. data/app/assets/stylesheets/fcid/toolbar.css +10 -0
  40. data/{lib → app/models}/fcid/base.rb +0 -0
  41. data/{lib → app/models}/fcid/email.rb +0 -0
  42. data/{lib → app/models}/fcid/feed.rb +0 -0
  43. data/{lib → app/models}/fcid/friendship.rb +0 -0
  44. data/{lib → app/models}/fcid/message.rb +0 -0
  45. data/{lib → app/models}/fcid/notification.rb +0 -0
  46. data/{lib → app/models}/fcid/session.rb +0 -0
  47. data/{lib → app/models}/fcid/user.rb +0 -0
  48. data/lib/fcid.rb +0 -3
  49. data/lib/fcid/controller.rb +22 -24
  50. data/lib/fcid/version.rb +1 -1
  51. data/test/dummy/db/development.sqlite3 +0 -0
  52. data/test/dummy/db/test.sqlite3 +0 -0
  53. data/test/dummy/log/development.log +2 -0
  54. metadata +133 -67
@@ -0,0 +1,942 @@
1
+
2
+ /*普通标签样式*/
3
+
4
+ body
5
+ {
6
+ /*background-color:#505050;*/
7
+ padding:0px;
8
+ margin:0px;
9
+ background:url("/images/background.gif") repeat-x;
10
+ }
11
+
12
+ form textarea {
13
+ width:280px;
14
+ height:60px;
15
+ }
16
+
17
+ td,th,tt,dl,div
18
+ {
19
+ margin:1px 10px 1px 10px;
20
+ padding:1px;
21
+ font-size:12px;
22
+ font-family:tahoma;
23
+ }
24
+
25
+ form
26
+ {
27
+ padding:0px;
28
+ margin:0px;
29
+ }
30
+
31
+ form label , .show label
32
+ {
33
+ width:140px;
34
+ float:left;
35
+ display:block;
36
+ text-align:right;
37
+ margin-right:20px;
38
+ }
39
+
40
+ .show p , .show div
41
+ {
42
+ padding:0px;
43
+ margin:0px;
44
+ }
45
+
46
+ form div, .show div
47
+ {
48
+ width: auto;
49
+ margin-left:165px;
50
+ }
51
+
52
+
53
+
54
+ li,ul,ol
55
+ {
56
+ list-style:none;
57
+ padding:2px;
58
+ margin:2px;
59
+ }
60
+ /*图片*/
61
+
62
+ /*连接样式*/
63
+ a
64
+ {
65
+ /*color:#131;*/
66
+ color:green;
67
+ background:transparent;
68
+ font-size:12px;
69
+ text-decoration:none;
70
+ text-decoration:none;
71
+ }
72
+
73
+ a:hover
74
+ {
75
+ text-decoration:none;
76
+ }
77
+
78
+ a img
79
+ {
80
+ text-decoration:none;
81
+ background-color:white;
82
+ margin:0px;
83
+ padding:0px;
84
+ border:none;
85
+ }
86
+
87
+ .pagination
88
+ {
89
+ /*分页导航的样式*/
90
+ text-indent:20px;
91
+ padding:5px;
92
+ color:#333;
93
+ font-size:16px;
94
+ font-weight:bold;
95
+ margin:0px;
96
+ }
97
+
98
+ .pagination a
99
+ {
100
+ background-color:#AEA;
101
+ font-size:14px;
102
+ font-weight:normal!important;
103
+ border:1px solid #FFB324;
104
+ padding:1px 5px;;
105
+ text-decoration:none;
106
+ }
107
+
108
+ .pagination a:hover
109
+ {
110
+ background-color:#FFB324;
111
+ color:white;
112
+ }
113
+
114
+
115
+ /*主DIV样式*/
116
+ #container
117
+ {
118
+ width:96%;
119
+ padding:10px;
120
+ margin:10px;
121
+ /*border:3px solid #AEA;*/
122
+ }
123
+
124
+ .box
125
+ {
126
+ margin:2px 2px 15px 2px;
127
+ /*border:2px outset #0F0;*/
128
+ background-color:white;
129
+ /*dedebb*/
130
+ }
131
+
132
+
133
+ .box h2
134
+ {
135
+ padding:3px 3px 3px 10px;
136
+ font-size:14px;
137
+ font-weight:normal;
138
+ height:18px;
139
+ /*background-color:#aea;*/
140
+ background-color:#efe;
141
+ border-bottom:1px dashed #eef;
142
+ margin:0px;
143
+ }
144
+
145
+ .box p
146
+ {
147
+ padding:3px;
148
+ font-size:12px;
149
+ margin:2px;
150
+ }
151
+
152
+ .box menu
153
+ {
154
+ background-color:#AEA;
155
+ margin:0px;
156
+ padding:3px;
157
+ }
158
+
159
+ .box h3
160
+ {
161
+ text-align:right;
162
+ padding:3px 30px 3px 3px;
163
+ font-size:12px;
164
+ font-weight:normal;
165
+ margin:0px 0px 0px 0px;
166
+ }
167
+
168
+
169
+
170
+ #notice
171
+ {
172
+ font-size:14px;
173
+ padding:20px 10px 20px 60px;
174
+ border:1px solid green;
175
+ background:url("/images/notice.gif") no-repeat left #AEA;
176
+ color: #333;
177
+ margin:0px;
178
+ margin-bottom:10px;
179
+ }
180
+
181
+ #warn
182
+ {
183
+ background-color:green;
184
+ }
185
+
186
+ #error
187
+ {
188
+ background-color:red;
189
+ }
190
+
191
+ /**下面的是rails自己的scaffold样式**/
192
+ pre {
193
+ background-color: #eee;
194
+ padding: 10px;
195
+ font-size: 11px;
196
+ }
197
+
198
+ .fieldWithErrors {
199
+ display: list-item;
200
+ list-style:none;
201
+ background:url("/images/pending.gif") left no-repeat;
202
+ padding-left:20px;
203
+ margin:0px;
204
+ }
205
+
206
+ #errorExplanation {
207
+ width: 400px;
208
+ border: 2px solid red;
209
+ padding: 7px;
210
+ padding-bottom: 12px;
211
+ margin-bottom: 20px;
212
+ background-color: #f0f0f0;
213
+ }
214
+
215
+ #errorExplanation h2 {
216
+ text-align: left;
217
+ font-weight: bold;
218
+ padding: 5px 5px 5px 15px;
219
+ font-size: 12px;
220
+ margin: -7px;
221
+ background-color: #c00!important;
222
+ background-image: none;
223
+ color: #fff;
224
+ }
225
+
226
+ #errorExplanation p {
227
+ margin-bottom: 0;
228
+ padding: 5px;
229
+ }
230
+
231
+ #errorExplanation ul li {
232
+ font-size: 12px;
233
+ list-style: disk;
234
+ margin-left:30px;
235
+ }
236
+
237
+ div.uploadStatus {
238
+ margin: 5px;
239
+ }
240
+
241
+ div.progressBar {
242
+ margin: 5px;
243
+ }
244
+
245
+ div.progressBar div.border {
246
+ background-color: #fff;
247
+ border: 1px solid grey;
248
+ width: 100%;
249
+ }
250
+
251
+ div.progressBar div.background {
252
+ background-color: #333;
253
+ height: 18px;
254
+ width: 0%;
255
+ }
256
+
257
+ .formError
258
+ {
259
+ color:red;
260
+ }
261
+
262
+
263
+
264
+
265
+
266
+
267
+
268
+
269
+ h2
270
+ {
271
+ margin:0px;
272
+ }
273
+
274
+ #header
275
+ {
276
+ }
277
+ #header a img
278
+ {
279
+ border:0px;
280
+ }
281
+
282
+
283
+ #layout_left
284
+ {
285
+ float:left;
286
+ width:65%;
287
+ vertical-align:top;
288
+ word-wrap:break-word;
289
+ word-break:break-all;
290
+ }
291
+
292
+ #layout_right
293
+ {
294
+ width:30%;
295
+ float:right;
296
+ }
297
+
298
+
299
+
300
+ a.cancel
301
+ {
302
+ font-size:12px;
303
+ color:red;
304
+ }
305
+
306
+ a.cancel:hover
307
+ {
308
+ color:white;
309
+ background-color:red;
310
+ }
311
+
312
+ a.expand
313
+ {
314
+ padding:0px 0px 0px 23px;
315
+ background:url("/images/expand.gif?") left no-repeat;
316
+ color:green;
317
+ font-size:12px;
318
+ margin:20px 0px;
319
+ position:relative;
320
+ }
321
+
322
+
323
+
324
+ a.expand:hover
325
+ {
326
+ color:white;
327
+ background-color:green;
328
+ padding:0px 0px 0px 23px;
329
+ background-image:url("/images/expand.gif") left no-repeat;
330
+ font-size:12px;
331
+ }
332
+
333
+ a.admin
334
+ {
335
+ color:green;
336
+ font-weight:normal;
337
+ font-size:12px;
338
+ }
339
+
340
+ a.admin:hover
341
+ {
342
+ color:white;
343
+ background-color:green;
344
+ font-weight:normal;
345
+ }
346
+
347
+
348
+ .lister
349
+ {
350
+ word-wrap: break-word;
351
+ word-break:break-all;
352
+ width:100%;
353
+ }
354
+
355
+ .lister td
356
+ {
357
+ vertical-align:top;
358
+ word-wrap: break-word;
359
+ border-bottom:1px solid #AEA;
360
+ padding:2px;
361
+ }
362
+
363
+
364
+
365
+ .lister thead td
366
+ {
367
+ font-size:13px;
368
+ text-align:center;
369
+ }
370
+
371
+ .lister tfoot td
372
+ {
373
+ border:none;
374
+ }
375
+
376
+
377
+
378
+ /*for abuse form*/
379
+ #abuse_form
380
+ {
381
+ border:1px solid green;
382
+ }
383
+ #abuse_form h2
384
+ {
385
+ background-color:green;
386
+ color:white;
387
+ }
388
+
389
+
390
+ /*for aotianlong editor*/
391
+ .AotianlongEditor ul
392
+ {
393
+ margin:0px;
394
+ padding:3px;
395
+ }
396
+ .AotianlongEditor ul li
397
+ {
398
+ display:inline;
399
+ }
400
+
401
+ code
402
+ {
403
+ display:block;
404
+ background-color:#efe;
405
+ color:green;
406
+ clear:both;
407
+ padding:10px;
408
+ margin:5px;
409
+ }
410
+
411
+ blockquote
412
+ {
413
+ background-color:#eef;
414
+ border:1px solid #aaf;
415
+ padding:5px;
416
+ margin:3px;
417
+ }
418
+
419
+ blockquote h2
420
+ {
421
+ color:blue!important;
422
+ }
423
+
424
+ .unread td
425
+ {
426
+ font-weight:bold;
427
+ background-color:#eef;
428
+ }
429
+
430
+
431
+
432
+ #footer
433
+ {
434
+ text-align:center;
435
+ padding:20px;
436
+ clear:both;
437
+ }
438
+
439
+ .clear {
440
+ clear: both }
441
+
442
+ #logo
443
+ {
444
+ float:left;
445
+ margin:0px;
446
+ padding:0px;
447
+ }
448
+
449
+ #logo h1
450
+ {
451
+ margin:0;
452
+ padding:0;
453
+ display:inline;
454
+ font-size:40px;
455
+ }
456
+
457
+ #user_status
458
+ {
459
+ text-align:right;
460
+ margin:0px;
461
+ }
462
+
463
+ #navigator_bar
464
+ {
465
+ background:url("/images/top_bg.gif") left repeat-x;
466
+ text-align:center;
467
+ clear:both;
468
+ padding:0px;
469
+ margin:0px;
470
+ }
471
+
472
+ #navigator_bar td
473
+ {
474
+ text-align:center;
475
+ width:100px;
476
+ border-left:1px solid black;
477
+ border-right:1px solid black;
478
+ }
479
+
480
+ #navigator_search
481
+ {
482
+ background-color:gold;
483
+ margin:0px;
484
+ padding:5px;
485
+ }
486
+
487
+
488
+ .categories_list ul h2
489
+ {
490
+ font-size:13px;
491
+ font-weight:bold;
492
+ }
493
+
494
+ .categorys_list ul li
495
+ {
496
+ background:url("/images/bullet.gif") center no-repeat;
497
+ padding-left:20px;
498
+ }
499
+
500
+ .AotianlongEditor
501
+ {
502
+ padding:0px;
503
+ margin:0px;
504
+ }
505
+
506
+ /*layout 2*/
507
+ #layout2_left
508
+ {
509
+ width:20%;
510
+ float:left;
511
+ }
512
+
513
+ #layout2_right
514
+ {
515
+ width:75%;
516
+ text-align:left;
517
+ float:right;
518
+ }
519
+
520
+ .lister thead th
521
+ {
522
+ background-color: #9AD429;
523
+ border-top: 1px solid #77A61A;
524
+ border-bottom: 1px solid #77A61A;
525
+ line-height: 160%;
526
+ padding: 6px;
527
+ text-align:left;
528
+ }
529
+
530
+
531
+ .category_info h2,h3
532
+ {
533
+ text-align:right;
534
+ margin:0px;
535
+ }
536
+
537
+
538
+ .post_description img
539
+ {
540
+ float:left;
541
+ margin-right:20px;
542
+ border:1px solid #000066;
543
+ }
544
+
545
+
546
+ .post_description p
547
+ {
548
+ padding:3px;
549
+ margin-left:110px;
550
+ }
551
+
552
+ .before_and_after
553
+ {
554
+ background-color:gold;
555
+ padding:5px;
556
+ }
557
+
558
+ .post_details
559
+ {
560
+ padding:5px;
561
+ }
562
+
563
+ .path
564
+ {
565
+ background-color:#9AD429;
566
+ color:white;
567
+ font-weight:bold;
568
+ padding:5px 10px;
569
+ }
570
+
571
+ .comment_form
572
+ {
573
+ }
574
+
575
+ .comment_form h2
576
+ {
577
+ font-size:14px;
578
+ background-color:#efe;
579
+ }
580
+
581
+ .comments_list
582
+ {
583
+ }
584
+
585
+ .comments_list h2 , .comment_form h2
586
+ {
587
+ background-color:#9AD429;
588
+ font-size:13px;
589
+ padding:5px;
590
+ color:white;
591
+ }
592
+
593
+ .comment_item
594
+ {
595
+ margin:10px;
596
+ padding:10px;
597
+ border-left:2px solid #9AD429;
598
+ border-bottom:1px solid #9AD429;
599
+ border-top:1px solid #9AD429;
600
+ }
601
+
602
+
603
+
604
+ .post_head td
605
+ {
606
+ border-bottom:none;
607
+ }
608
+
609
+ strong.highlight
610
+ {
611
+ font-size:14px;
612
+ color:red;
613
+ font-weight:bold;
614
+ }
615
+
616
+ .admin_msg_board
617
+ {
618
+ background-color:#efe;
619
+ }
620
+
621
+
622
+ .categories h2
623
+ {
624
+ font-size:15px;
625
+ }
626
+
627
+ .categories h2 span
628
+ {
629
+ font-weight:normal;
630
+ font-size:11px;
631
+ }
632
+
633
+ .categories li
634
+ {
635
+ padding: 0px 15px 0px 10px;
636
+ font-size:12px;
637
+ background: url("/images/bullet.gif") no-repeat 0em 0.7em;
638
+ }
639
+
640
+ .description
641
+ {
642
+ border:1px solid gray;
643
+ padding: 10px;
644
+ }
645
+
646
+
647
+
648
+
649
+
650
+ /*styles for form*/
651
+ form b
652
+ {
653
+ display:block;
654
+ padding:3px 0px;
655
+ margin-bottom:3px;
656
+ }
657
+
658
+ .tool_links
659
+ {
660
+ margin:10px 5px;
661
+ }
662
+
663
+ .tool_links a , a.tool_link
664
+ {
665
+ padding:3px;
666
+ background-color:#AEA;
667
+ border:2px outset #AEA;
668
+ text-decoration:none;
669
+ }
670
+
671
+ .tool_links a:hover , a.tool_link:hover
672
+ {
673
+ background-color:#FFB324;
674
+ padding:3px;
675
+ color:white;
676
+ text-decoration:none;
677
+ }
678
+
679
+ .post_header td
680
+ {
681
+ border:none;
682
+ }
683
+
684
+ .vip_post_head,.vip_post_description
685
+ {
686
+ background-color:#fee;
687
+ }
688
+
689
+ /****************************************/
690
+ .center
691
+ {
692
+ text-align:center;
693
+ }
694
+
695
+ .left
696
+ {
697
+ text-align:left;
698
+ }
699
+
700
+ .right
701
+ {
702
+ text-align:right;
703
+ }
704
+
705
+ .bold
706
+ {
707
+ font-weight:bold;
708
+ }
709
+
710
+ .collections
711
+ {
712
+ clear:both;
713
+ }
714
+
715
+ .collections li
716
+ {
717
+ float:left;
718
+ width:18%;
719
+ }
720
+
721
+ .collections p
722
+ {
723
+ padding:0px;
724
+ margin:0px;
725
+ }
726
+
727
+ .tip , .tips
728
+ {
729
+ font-size:12px;
730
+ padding:10px 10px 10px 40px;
731
+ border:1px solid green;
732
+ background:url("/images/tips.gif") no-repeat left #AEA;
733
+ color: #333;
734
+ margin:4px;
735
+ }
736
+
737
+
738
+ /*navigator*/
739
+ .tab
740
+ {
741
+ clear:both;
742
+ text-align:center;
743
+ border-bottom:1px solid green;
744
+ }
745
+ .tab ul
746
+ {
747
+ position:relative;
748
+ margin-bottom:5px;
749
+ }
750
+ .tab li
751
+ {
752
+ float:left;
753
+ /*position:relative;*/
754
+ }
755
+
756
+ .tab span a
757
+ {
758
+ background-color:green;
759
+ color:black;
760
+ font-weight:bold;
761
+ padding:6px 10px 3px 10px;
762
+ text-decoration:none;
763
+ }
764
+
765
+ .tab a
766
+ {
767
+ top:0;
768
+ margin:1px 5px 2px 2px;
769
+ border:1px outset green;
770
+ border-bottom:none;
771
+ padding:3px 10px 3px 10px;
772
+ font-size:14px;
773
+ background-color:#AEA;
774
+ }
775
+
776
+ .tab a:hover
777
+ {
778
+ background-color:green;
779
+ }
780
+
781
+ .tabarea
782
+ {
783
+ text-align:left;
784
+ border-top:1px solid #6FBDCE;
785
+ clear:both;
786
+ margin-top:-1px;
787
+ }
788
+
789
+
790
+ /*contents*/
791
+ .contents li
792
+ {
793
+ clear:both;
794
+ }
795
+
796
+ .contents li dl
797
+ {
798
+ clear:both;
799
+ display:block;
800
+ height:auto;
801
+ }
802
+
803
+ .contents li dl dt
804
+ {
805
+ float:left;
806
+ text-align:center;
807
+ width:100px;
808
+ }
809
+
810
+ .contents li dl dd
811
+ {
812
+ margin-left:120px;
813
+ }
814
+
815
+ .contents li dl dd div
816
+ {
817
+ color:#333;
818
+ font-size:13px;
819
+ padding:5px;
820
+ margin-bottom:20px;
821
+ }
822
+
823
+ .contents li dl dd menu
824
+ {
825
+ background-color:transparent;
826
+ border-top:1px dashed green;
827
+ padding-top:15px;
828
+ color:#555;
829
+ }
830
+
831
+ .contents li dl dd strong
832
+ {
833
+ font-size:14px;
834
+ display:block;
835
+ height:18px;
836
+ padding:3px 5px;
837
+ }
838
+
839
+ .contents li dl dd strong span
840
+ {
841
+ font-size:12px;
842
+ color:gray;
843
+ font-weight:normal;
844
+ }
845
+
846
+ /***********************************/
847
+ .half li:first
848
+ {
849
+ width:50%;
850
+ float:left;
851
+ }
852
+
853
+ .shadow
854
+ {
855
+ position:relative;
856
+ right:-2px;
857
+ bottom:-2px;
858
+ background-color:red;
859
+ height:100px;
860
+ }
861
+
862
+ .thing_head
863
+ {
864
+ margin:10px;
865
+ font-size:18px;
866
+ font-weight:bold;
867
+ }
868
+
869
+ .thing_head a
870
+ {
871
+ color:black;
872
+ font-size:18px;
873
+ }
874
+
875
+ .thing_head a:hover
876
+ {
877
+ background-color:black;
878
+ color:white;
879
+ }
880
+
881
+
882
+ .tab1
883
+ {
884
+ }
885
+
886
+ .tab1 ul li
887
+ {
888
+ float:left;
889
+ border:1px solid #efe;
890
+ background-color:#efe;
891
+ padding:4px;
892
+ margin:2px 5px;
893
+ }
894
+
895
+ /*styles for chat*/
896
+ #message_output li
897
+ {
898
+ line-height:20px;
899
+ font-size:14px;
900
+ }
901
+
902
+ #message_output li span
903
+ {
904
+ color:gray;
905
+ font-size:12px;
906
+ margin-left:10px;
907
+ }
908
+
909
+ .album li
910
+ {
911
+ background:url("/images/album_background.gif") no-repeat;
912
+ }
913
+
914
+
915
+ dl.split {
916
+ clear:both;
917
+ }
918
+
919
+ dl.split dt {
920
+ float:left;
921
+ width:50%;
922
+ margin:0px;
923
+ padding:0px;
924
+ }
925
+
926
+ dl.split dd {
927
+ float:right;
928
+ width:50%;
929
+ margin:0px;
930
+ padding:0px;
931
+ }
932
+
933
+
934
+ form dl dt {
935
+ width:250px;
936
+ margin-right:50px;
937
+ }
938
+
939
+ form dl dd {
940
+ margin-top:-18px;
941
+ width:auto;
942
+ }