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,185 @@
1
+ /* layout */
2
+ #container {
3
+ width:940px;
4
+ margin:5px auto;
5
+ min-height: 550px;
6
+ background-color: white;
7
+ padding:10px;
8
+ }
9
+
10
+ #header {
11
+ }
12
+
13
+ .columns {
14
+ min-height:350px;
15
+ }
16
+
17
+ .column-1 {
18
+ width:75%;
19
+ float:left;
20
+ margin-right:5px;
21
+ overflow: hidden;
22
+ }
23
+
24
+ .column-2 {
25
+ width:24%;
26
+ float:left;
27
+ overflow: hidden;
28
+ }
29
+
30
+
31
+ #header #logo img {
32
+ width: 140px;
33
+ height: 60px;
34
+ }
35
+
36
+ #header #logo a {
37
+ border:none;
38
+ }
39
+
40
+ #footer .info {
41
+ font-size:14px;
42
+ color:#888;
43
+ }
44
+
45
+ #footer .info h6{
46
+ font-weight:bold;
47
+ }
48
+
49
+ #footer {
50
+ padding:10px;
51
+ clear:both;
52
+ background-color:#eee;
53
+ border-top:1px solid #ccc;
54
+ }
55
+
56
+ #footer span{
57
+ float:right;
58
+ }
59
+
60
+ #sidebar {
61
+ float:left;
62
+ width:140px;
63
+ overflow:hidden;
64
+ padding:10px;
65
+ }
66
+
67
+ #widebar {
68
+ float:right;
69
+ width:760px;
70
+ overflow:hidden;
71
+ margin-top:0px;
72
+ padding:10px;
73
+ }
74
+
75
+ #column,.column {
76
+ background:transparent url(/images/white_gray_bg.gif) repeat-y scroll right top;
77
+ }
78
+
79
+
80
+ #column-top,.column-top {
81
+ background-color:#f7f7f7;
82
+ border-bottom:1px solid #ccc;
83
+ padding:8px;
84
+ }
85
+
86
+ .wide-column,#wide-column {
87
+ float:left;
88
+ width:610px;
89
+ margin-right:5px;
90
+ overflow:hidden;
91
+ padding:10px;
92
+ }
93
+
94
+
95
+ .side-column,#side-column {
96
+ float:left;
97
+ width:160px;
98
+ overflow:hidden;
99
+ }
100
+
101
+ .home-column {
102
+ background:none;
103
+ }
104
+
105
+ .home-column .side-column {
106
+ width:220px;
107
+ padding-top:20px;
108
+ }
109
+
110
+ .home-column .wide-column {
111
+ width:530px;
112
+ }
113
+
114
+ .dashboard {
115
+ background:transparent url(/images/dashboard_bg.gif) repeat-y scroll right top;
116
+ }
117
+
118
+ .dashboard .wide-column {
119
+ width:590px;
120
+ }
121
+
122
+ .dashboard .side-column {
123
+ width:180px;
124
+ }
125
+
126
+ #content {
127
+ /*这里是现实主要内容的div*/
128
+ background-color:white;
129
+ }
130
+
131
+
132
+
133
+ /* new ui */
134
+ .UIRoundedBox_Container{margin:0px;padding:0px;}
135
+ .UIRoundedBox_BottomMargin{padding-bottom:10px;}
136
+ .UIRoundedBox_Box{margin:0px;padding:0px;}
137
+ .UIRoundedBox_Container .UIRoundedBox_Side{background:url(/images/ui/UIRoundedBox_SideSpriteGray.gif) 0 0 repeat-y;}
138
+ .UIRoundedBox_WhiteBackground .UIRoundedBox_Side{background:url(/images/ui/UIRoundedBox_SideSpriteWhite.gif) 0 0 repeat-y;}
139
+ .UIRoundedBox_Container .UIRoundedBox_LS{background-position:left top;}
140
+ .UIRoundedBox_Container .UIRoundedBox_RS{background-position:right top;}
141
+ .UIRoundedBox_Container .UIRoundedBox_Corner{background:url(/images/ui/UIRoundedBox_SpriteGray.gif) 0 0 no-repeat;}
142
+ .UIRoundedBox_WhiteBackground .UIRoundedBox_Corner{background:url(/images/ui/UIRoundedBox_SpriteWhite.gif) 0 0 repeat-y;}
143
+ .UIRoundedBox_Container .UIRoundedBox_TL{padding:0;background-position:left top;}
144
+ .UIRoundedBox_Container .UIRoundedBox_TR{padding:5px 0 0 0;background-position:right top;}
145
+ .UIRoundedBox_Container .UIRoundedBox_BL{padding:0;background-position:left bottom;}
146
+ .UIRoundedBox_Container .UIRoundedBox_BR{padding:0 0 5px 0;background-position:right bottom;}
147
+ .UIInterstitialBox_Container{padding:25px 30px;}
148
+
149
+
150
+ /* new ui layout */
151
+ .UITwoColumnLayout_Container{margin:0px;overflow:hidden;}
152
+ .UITwoColumnLayout_Content{float:left;margin:0px;padding:0px;width:540px;}
153
+ .UITwoColumnLayout_NarrowContent{float:right;width:200px;}
154
+ .UITwoColumnLayout_FullPage .UITwoColumnLayout_Content{width:600px;}
155
+ .UITwoColumnLayout_FullPage .UITwoColumnLayout_NarrowContent{width:320px;}
156
+ .UITwoColumnLayout_StandardWide .UITwoColumnLayout_Content{width:420px;}
157
+ .UITwoColumnLayout_StandardWide .UITwoColumnLayout_NarrowContent{width:320px;}
158
+ .UITwoColumnLayout_LeftOrientation .UITwoColumnLayout_Content{float:right;}
159
+ .UITwoColumnLayout_LeftOrientation .UITwoColumnLayout_NarrowContent{float:left;}
160
+ .UITwoColumnLayout_TopMargin{padding:17px 0px 0px 0px;}
161
+ .UISimpleMessageLayout_Container{padding:0px;margin:0px;}
162
+ .UISimpleMessageLayout_Title{padding:0px;margin:0px;font-size:14px;color:#262626;font-weight:bold;}
163
+ .UISimpleMessageLayout_Content{margin:0px;padding:0px;}
164
+ .UISimpleMessageLayout_HasIcon .UISimpleMessageLayout_Title{padding-left:25px;background-position:0px 0px;background-repeat:no-repeat;}
165
+ .UISimpleMessageLayout_HasIcon .UISimpleMessageLayout_Content{padding-left:25px;}
166
+
167
+ .toolbar {
168
+ text-align:right;
169
+ }
170
+
171
+ .announce > h2 {
172
+ font-weight:bold;
173
+ }
174
+
175
+ .announce > div {
176
+ padding:10px;
177
+ text-align:center;
178
+ font-size:12px;
179
+ color:#888;
180
+ margin-top:20px;
181
+ }
182
+
183
+ .announce a {
184
+ font-size:12px;
185
+ }
@@ -0,0 +1,26 @@
1
+ #lightbox{
2
+ background-color:#eee;
3
+ padding: 10px;
4
+ border-bottom: 2px solid #666;
5
+ border-right: 2px solid #666;
6
+ }
7
+ #lightboxDetails{
8
+ font-size: 0.8em;
9
+ padding-top: 0.4em;
10
+ }
11
+ #lightboxCaption{ float: left; }
12
+ #keyboardMsg{ float: right; }
13
+ #closeButton{ top: 5px; right: 5px; }
14
+
15
+ #lightbox img{ border: none; clear: both;}
16
+ #overlay img{ border: none; }
17
+
18
+ #overlay{ background-image: url(overlay.png); }
19
+
20
+ * html #overlay{
21
+ background-color: #333;
22
+ back\ground-color: transparent;
23
+ background-image: url(blank.gif);
24
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="overlay.png", sizingMethod="scale");
25
+ }
26
+
@@ -0,0 +1,49 @@
1
+ /* lister */
2
+ .lister {
3
+ width:98%;
4
+ margin-bottom:10px;
5
+ border-collapse: collapse;
6
+ margin-left: auto;
7
+ margin-right: auto;
8
+ }
9
+
10
+ .lister input[type=checkbox] {
11
+ margin:0px 5px;
12
+ }
13
+
14
+ .lister thead tr th h2 {
15
+ font-size:14px;
16
+ font-weight:bold;
17
+ }
18
+
19
+ .lister thead tr th h3 {
20
+ font-size:12px;
21
+ font-weight:bold;
22
+ }
23
+
24
+ .lister tbody td {
25
+ padding:4px;
26
+ border-bottom:1px solid #FCF9E6;
27
+ }
28
+
29
+ .lister thead th {
30
+ padding:5px 10px;
31
+ text-align:left;
32
+ }
33
+
34
+ .lister thead td {
35
+ padding:5px 5px;
36
+ background-color:#E9EEF2;
37
+ text-align:center;
38
+ }
39
+
40
+
41
+ .lister thead th span {
42
+ float:right;
43
+ margin-top:-15px;
44
+ font-weight:normal;
45
+ }
46
+
47
+ .lister tr td {
48
+ border:1px solid #ddd;
49
+ }
@@ -0,0 +1,153 @@
1
+ #MB_overlay {
2
+ position: absolute;
3
+ margin: auto;
4
+ top: 0; left: 0;
5
+ width: 100%; height: 100%;
6
+ z-index: 9999;
7
+ background-color: #ccc!important;
8
+ }
9
+ #MB_overlay[id] { position: fixed; }
10
+
11
+ #MB_window {
12
+ position: absolute;
13
+ top: 100px;
14
+ border: 0 solid;
15
+ text-align: left;
16
+ z-index: 10000;
17
+ }
18
+ #MB_window[id] { position: fixed!important; }
19
+
20
+ #MB_frame {
21
+ position: relative;
22
+ background-color: #EFEFEF;
23
+ height: 100%;
24
+ }
25
+
26
+ #MB_header {
27
+ margin: 0;
28
+ padding: 0;
29
+ }
30
+
31
+ #MB_content {
32
+ overflow: auto;
33
+ }
34
+
35
+ #MB_caption {
36
+ padding: 5px 10px;
37
+ margin: 0;
38
+ text-align: left;
39
+ background:#6D84B4 none repeat scroll 0% 0%;
40
+ border:1px solid #3B5888;
41
+ color:white;
42
+ float:none !important;
43
+ font-size:14px;
44
+ margin:0px;
45
+ }
46
+
47
+ #MB_close {
48
+ display: block;
49
+ position: absolute;
50
+ right: 5px; top: 4px;
51
+ padding: 2px 3px;
52
+ font-weight: bold;
53
+ text-decoration: none;
54
+ font-size: 13px;
55
+ color:white;
56
+ }
57
+ #MB_close:hover {
58
+ background: transparent;
59
+ }
60
+
61
+ #MB_loading {
62
+ padding: 1.5em;
63
+ text-indent: -10000px;
64
+ background: transparent url(/images/load.gif) 50% 0 no-repeat;
65
+ }
66
+
67
+ /* Color scheme */
68
+ #MB_frame {
69
+ padding-bottom: 0px;
70
+ }
71
+ #MB_window {
72
+ background-color: #EFEFEF;
73
+ color: #000;
74
+ }
75
+ #MB_content { border-top: 1px solid #F9F9F9; }
76
+ #MB_header {
77
+ background-color: #DDD;
78
+ border-bottom: 1px solid #CCC;
79
+ }
80
+ #MB_close:hover { color: #000 }
81
+
82
+
83
+ /* Alert message */
84
+ .MB_alert {
85
+ margin: 0px 0px;
86
+ text-align: center;
87
+ }
88
+
89
+ #modalbox-templates {
90
+ display:none;
91
+ }
92
+
93
+ .mb-table {
94
+ background-color:transparent;
95
+ }
96
+
97
+
98
+ .mb-td-border {
99
+ background-image:url(/images/pop_dialog_border.png) !important;
100
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/pop_dialog_border.png', sizingMethod='scale');
101
+ }
102
+
103
+ .mb-td-top-left {
104
+ background-image:url(/images/pop_dialog_top_left.png) !important;
105
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/pop_dialog_top_left.png', sizingMethod='crop');
106
+ }
107
+
108
+ .mb-td-top-right {
109
+ background-image:url(/images/pop_dialog_top_right.png) !important;
110
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/pop_dialog_top_right.png', sizingMethod='crop');
111
+ }
112
+
113
+ .mb-td-bottom-left {
114
+ background-image:url(/images/pop_dialog_bottom_left.png) !important;
115
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/pop_dialog_bottom_left.png', sizingMethod='crop');
116
+ }
117
+
118
+ .mb-td-bottom-right {
119
+ background-image:url(/images/pop_dialog_bottom_right.png) !important;
120
+ filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/pop_dialog_bottom_right.png', sizingMethod='crop');
121
+ }
122
+
123
+ .mb-td-top-left,
124
+ .mb-td-top-right,
125
+ .mb-td-bottom-left,
126
+ .mb-td-bottom-right {
127
+ height:10px;
128
+ overflow:hidden;
129
+ padding:0 !important;
130
+ width:10px !important;
131
+ }
132
+
133
+ .mb-buttons {
134
+ background:#F2F2F2 none repeat scroll 0 0;
135
+ padding:8px;
136
+ text-align:right;
137
+ }
138
+
139
+ .mb-buttons input {
140
+ margin-left:5px;
141
+ }
142
+
143
+ .mb-body {
144
+ border-bottom:1px solid #CCCCCC;
145
+ padding:10px;
146
+ background-color:white;
147
+ }
148
+
149
+ .mb-summary {
150
+ background:#F2F2F2 none repeat scroll 0 0;
151
+ border-bottom:1px solid #CCCCCC;
152
+ padding:8px 10px;
153
+ }
@@ -0,0 +1,62 @@
1
+ /* message list */
2
+ .messagelist { table-layout:fixed;}
3
+ .messagelist thead th, .messagelist tfoot td { background:#d8dfea; font-weight:normal;}
4
+ .messagelist thead th, .messagelist tbody td { padding-top:3px; padding-bottom:3px; border-bottom:1px solid #d8dfea; overflow:hidden;}
5
+ .messagelist tbody td p { white-space:nowrap;}
6
+ .messagelist tfoot td { padding:3px 10px 4px;}
7
+
8
+ .messagelist .check { padding:3px;}
9
+ .messagelist .author { width:6em; padding:3px 10px 3px 3px;}
10
+ .messagelist .title { padding:3px 10px 3px 0;}
11
+ .messagelist .date { width:8em; padding:3px 5px;}
12
+ .messagelist .action { width:2em; padding:3px 10px 3px 0;}
13
+
14
+ .inbox .read0 td { background:#feb;}
15
+ .inbox .stat { width:20px; padding:3px; text-align:right;}
16
+ .inbox .check { width:20px;}
17
+ .outbox .check { width:30px; text-align:right;}
18
+
19
+ /* message */
20
+ .message { padding:20px; background:#fff;}
21
+ .message h3 { color:#3B5888;}
22
+ .message h4 { clear:both; font-weight:normal;line-height:24px;}
23
+ .message p { clear:both; margin:5px 0;}
24
+ .message .text { margin:5px 0; padding:5px 0; border-top:1px solid #d8dfea; border-bottom:1px solid #d8dfea;}
25
+ .message .time { margin-left:10px;}
26
+
27
+ .message label { float:left; width:50px; line-height:24px;}
28
+ html>body .message #title { width:448px;}
29
+ .message #title { width:445px;}
30
+ .message #text { width:498px;}
31
+
32
+ .text { overflow:hidden;}
33
+
34
+ .message_prompt {
35
+ border:1px solid #ffe222; background:#fffbe2;
36
+ text-align: center;
37
+ height: 1.9em;
38
+ line-height: 1.9em;
39
+ margin: 1.0em 0 2.0em 0;
40
+ background: url(/images/waring_icon.gif) no-repeat 85px center;
41
+ }
42
+
43
+ .message-ad {
44
+ margin: 10px;
45
+ padding: 10px;
46
+ border: 1px solid #CDCDCD;
47
+ background: #F7F7F7;
48
+ }
49
+ .message-ad h3 {
50
+ border-bottom: 1px solid #D7DCE8;
51
+ padding-bottom: 4px;
52
+ margin-bottom:5px;
53
+ }
54
+ .message-ad .messagelist tbody td {
55
+ border-bottom: 1px solid #EEE;
56
+ }
57
+ .message-ad .messagelist .author {
58
+ width:8.5em
59
+ }
60
+ .message-ad .messagelist .action {
61
+ width:3.0em
62
+ }