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,122 @@
1
+ /* show-box */
2
+ .show-box {
3
+ background-color:white;
4
+ /*border:1px solid #D8DFEA;*/
5
+ margin-bottom:10px;
6
+ position:relative;
7
+ min-height:60px;
8
+ }
9
+
10
+
11
+
12
+ .show-box h2 {
13
+ background-color: #F2F2F2;
14
+ border-top: #E2E2E2;
15
+ padding: 4px 5px 5px;
16
+ position: relative;
17
+ }
18
+
19
+ .show-box h2 a {
20
+ font-size: 12px;
21
+ text-decoration :none;
22
+ font-weight: normal;
23
+ }
24
+
25
+ .show-box h2 span {
26
+ float:right;
27
+ }
28
+
29
+ .show-box .show-box-right p {
30
+ padding:0px;
31
+ margin:0px;
32
+ }
33
+
34
+ .show-box-content {
35
+ padding:10px;
36
+ border-bottom:1px solid #D8DFEA;
37
+ }
38
+
39
+ .show-box-body {
40
+ min-height: 200px;
41
+ }
42
+
43
+ .show-box .show-box-left {
44
+ float:left;
45
+ width:150px;
46
+ text-align:center;
47
+ }
48
+
49
+ .show-box .show-box-right {
50
+ overflow:hidden;
51
+ text-align:left;
52
+ /*width:300px;
53
+ float:left;*/
54
+ margin-left:150px;
55
+ }
56
+
57
+ .show-box .show-box-right h2 {
58
+ }
59
+
60
+ .show-box .show-box-actions {
61
+ text-align:right;
62
+ padding: 4px;
63
+ width:100px;
64
+ position:absolute;
65
+ right:5px;
66
+ top:5px;
67
+ }
68
+
69
+ .revert .show-box-left {
70
+ float:right;
71
+ }
72
+
73
+ .revert .show-box-right {
74
+ float:left;
75
+ }
76
+
77
+
78
+ .show-box-addition {
79
+ float:left;
80
+ width:100px;
81
+ }
82
+
83
+
84
+
85
+ /* hide show-box-left */
86
+ .show-box-no-left .show-box-left{
87
+ display:none;
88
+ }
89
+
90
+ .show-box-no-left .show-box-right{
91
+ margin-left:0px;
92
+ }
93
+
94
+
95
+
96
+ .show-box-actions ul {
97
+ margin-bottom:5px;
98
+ }
99
+
100
+ .show-box-actions ul li {
101
+ border-bottom:1px solid #D8DFEA;
102
+ }
103
+
104
+ .show-box-actions ul li a {
105
+ padding:2px 5px;
106
+ display:block;
107
+ }
108
+
109
+ .show-box-actions ul li a:hover {
110
+ background-color:#5d74a2;
111
+ display:block;
112
+ color:white;
113
+ text-decoration:none;
114
+ }
115
+
116
+
117
+ .show-box-actions-bottom .show-box-actions {
118
+ bottom:5px;
119
+ top:auto;
120
+ position:relative;
121
+ width:100%;
122
+ }
@@ -0,0 +1,222 @@
1
+ #userTalk .info,
2
+ #groupWall .info,
3
+ #netWall .info,
4
+ #comments .info,
5
+ #threadlist .info {
6
+ height: 20px;
7
+ background:#F7F7F7 none repeat scroll 0% 50%;
8
+ border-top:1px #d8dfea solid;
9
+ }
10
+
11
+ * html #userTalk .info,
12
+ * html #groupWall .info,
13
+ * html #netWall .info {
14
+ height:19px;line-height:19px;
15
+ }
16
+
17
+ #comments .info span.author,
18
+ #comments .info span.timestamp,
19
+ #comments .info span.reply,
20
+ #comments .info span.remove {
21
+ float: left;
22
+ }
23
+
24
+ #threadlist .info span.author,
25
+ #threadlist .info span.time,
26
+ #threadlist .info span.reply,
27
+ #threadlist .info span.remove {
28
+ float: left;
29
+ }
30
+
31
+ *+html #userTalk .info span.time,
32
+ *+html #groupWall .info span.time,
33
+ *+html #netWall .info span.time,
34
+ *+html #comments .info span.timestamp,
35
+ *+html #threadlist .info span.time {
36
+ margin-top: -2px;
37
+ }
38
+
39
+ #userTalk .info span.author,
40
+ #groupWall .info span.author,
41
+ #netWall .info span.author {
42
+ float: left;
43
+ }
44
+
45
+ #userTalk .info span.time,
46
+ #userTalk .info span.reply,
47
+ #userTalk .info span.remove,
48
+ #groupWall .info span.time,
49
+ #groupWall .info span.reply,
50
+ #groupWall .info span.remove,
51
+ #netWall .info span.time,
52
+ #netWall .info span.reply,
53
+ #netWall .info span.remove,
54
+ #blogpage #comments .info span.remove {
55
+ float: right;
56
+ }
57
+
58
+ #userTalk .info span.reply,
59
+ #groupWall .info span.reply,
60
+ #netWall .info span.reply,
61
+ #comments .info span.reply,
62
+ #threadlist .info span.reply,
63
+ #comments .info span.remove {
64
+ padding: 0 0.5em;
65
+ float:right;
66
+ }
67
+
68
+ #comments .info span.author,
69
+ #threadlist .info span.author {
70
+ padding-left: 0.5em;
71
+ }
72
+
73
+ #userTalk .info span.remove,
74
+ #groupWall .info span.remove,
75
+ #netWall .info span.remove {
76
+ padding: 0 1.8em 0 0.5em;
77
+ }
78
+
79
+ * html #userTalk .info span.reply,
80
+ * html #userTalk .info span.remove,
81
+ * html #userTalk .info span.author,
82
+ * html #groupWall .info span.reply,
83
+ * html #groupWall .info span.remove,
84
+ * html #groupWall .info span.author,
85
+ * html #netWall .info span.reply,
86
+ * html #netWall .info span.remove,
87
+ * html #netWall .info span.author {
88
+ padding-top: 1px;
89
+ }
90
+
91
+ *+html #clublist #tools span.refresh,
92
+ *+html #clublist #tools span.search,
93
+ *+html #clublist #tools span.my {
94
+ padding-top: 4px;
95
+ }
96
+
97
+ #userTalk .info .super-actions,
98
+ #groupWall .info .super-actions,
99
+ #netWall .info .super-actions {
100
+ float: right;
101
+ padding-top: 2px;
102
+ }
103
+
104
+ #comments .info .super-actions {
105
+ float: left;
106
+ padding-top: 3px;
107
+ }
108
+
109
+ #threadlist .info .super-actions {
110
+ float: left;
111
+ padding-top: 3px;
112
+ }
113
+
114
+ #clublist #tools .super-actions {
115
+ float: right;
116
+ padding-top: 3px;
117
+ }
118
+
119
+ #threadlist .super-actions-menu li {
120
+ border: none;
121
+ }
122
+
123
+ *+html #comments .info .super-actions,
124
+ *+html #threadlist .info .super-actions {
125
+ float: right;
126
+ padding-top: 1px;
127
+ }
128
+
129
+ * html #comments .commentlist {
130
+ position: relative;
131
+ }
132
+
133
+ .super-actions {
134
+ position: relative;
135
+ }
136
+
137
+ .super-actions a {
138
+ background: url(/images/super_actions.gif) no-repeat 0 0;
139
+ display: block;
140
+ height: 16px;
141
+ line-height: 16px;
142
+ width: 16px;
143
+ }
144
+
145
+ .super-actions a:hover {
146
+ background: url(/images/super_actions.gif) no-repeat 0 100%;
147
+ }
148
+
149
+ .super-actions-menu {
150
+ visibility:hidden;
151
+ position: absolute;
152
+ top: 18px;
153
+ right: 0;
154
+ border: 1px solid #B8B7AF;
155
+ border-color: #B8B7AF #727271 #727271 #B8B7AF;
156
+ list-style: none;
157
+ width: 64px;
158
+ z-index: 1000;
159
+ }
160
+ .super-actions-menu li a.red{ color:#FF0000;}
161
+
162
+ #clublist #tools .super-actions a {
163
+ background: url(/images/super_actions_b.gif) no-repeat 0 0;
164
+ }
165
+
166
+ #clublist #tools .super-actions a:hover {
167
+ background: url(/images/super_actions_b.gif) no-repeat 0 100%;
168
+ }
169
+
170
+ #comments .info .super-actions-menu {
171
+ top: 19px;
172
+ }
173
+
174
+ #threadlist .info .super-actions-menu {
175
+ top: 19px;
176
+ }
177
+
178
+ #clublist #tools .super-actions-menu {
179
+ top: 19px;
180
+ right: 1px;
181
+ }
182
+
183
+ *+html #comments .info .super-actions-menu,
184
+ *+html #threadlist .info .super-actions-menu {
185
+ top: 17px;
186
+ }
187
+
188
+ .super-actions-menu li {
189
+ padding: 0 !important;
190
+ }
191
+
192
+ .super-actions-menu li a {
193
+ display: block;
194
+ background: #FFF !important;
195
+ padding-right: 10%;
196
+ width: 90%;
197
+ line-height: 20px;
198
+ height: 20px;
199
+ text-align: right;
200
+ border-bottom: 1px solid #DEDEEF;
201
+ }
202
+
203
+ .super-actions-menu li a:hover {
204
+ text-decoration: none;
205
+ color: #FFF;
206
+ background: #5D74A2 !important;
207
+ }
208
+
209
+ .super-actions-menu li.report a {
210
+ border-bottom: 0;
211
+ }
212
+
213
+ .super-actions:hover ul,
214
+ .super-actions a:hover ul {
215
+ visibility:visible;
216
+ }
217
+
218
+
219
+ #comments .info .super-actions,#comments .info span.timestamp{ float:right;}
220
+
221
+
222
+
@@ -0,0 +1,370 @@
1
+ /* tab */
2
+
3
+ .tabs {
4
+ margin-bottom:10px;
5
+ }
6
+
7
+ .tab ul li,.tab ul {
8
+ list-style: none;
9
+ margin:0px;
10
+ padding:0px;
11
+ }
12
+
13
+ .tab {
14
+ margin:5px 5px 0px 5px;
15
+ margin-bottom: 10px;
16
+ }
17
+
18
+ .tab ul li.selected a,.tab ul li.selected a:hover {
19
+ font-weight:bold;
20
+ }
21
+
22
+
23
+
24
+
25
+ .tab ul li {
26
+ float:left;
27
+ text-align:center;
28
+ line-height:2em;
29
+ margin-left:1px;
30
+ border-bottom:none;
31
+ }
32
+
33
+ .tab ul li a {
34
+ display:block;
35
+ padding:0px 8px;
36
+ cursor:pointer;
37
+ text-decoration:none;
38
+ }
39
+
40
+ .tab ul li a:hover {
41
+ }
42
+
43
+ .tab ul li.tab-right {
44
+ float:right;
45
+ width:auto;
46
+ }
47
+
48
+ .tab form {
49
+ display:inline;
50
+ }
51
+
52
+ .tab form input {
53
+ background-color:white;
54
+ padding:0px;
55
+ line-height:16px;
56
+ margin:0px;
57
+ }
58
+
59
+
60
+ /* vertical tab */
61
+ .vtab.tab ul,
62
+ .vtab.tab {
63
+ border-bottom: none;
64
+ }
65
+
66
+ .vtab ul li {
67
+ display:block;
68
+ float:none;
69
+ margin-left:0px;
70
+ text-align:left;
71
+ }
72
+
73
+ .tab-panel {
74
+ padding:10px 10px;
75
+ background-color:#F5F4F5;
76
+ }
77
+
78
+ .tab-panel ul.sub-panel {
79
+ }
80
+
81
+ .tab-panel ul.sub-panel li {
82
+ float:left;
83
+ margin-right:5px;
84
+ line-height:25px;
85
+ text-vertical-align:middle;
86
+ font-family:monospace;
87
+ font-size:13px;
88
+ }
89
+
90
+ .tab-panel ul.sub-panel a {
91
+ font-size:13px;
92
+ color:#000;
93
+ }
94
+
95
+ .tab-panel ul li.tab-panel-right {
96
+ float:right;
97
+ }
98
+
99
+
100
+ /* tab2 */
101
+
102
+ .tab2 {
103
+ border-bottom:1px solid #ccc;
104
+ margin:0px;
105
+ padding-left:10px;
106
+ padding-right:10px;
107
+ }
108
+
109
+ .tab2 ul li {
110
+ width:auto;
111
+ margin:0px -1px;
112
+ }
113
+
114
+ .tab2 ul li a.selected,.tab2 ul li a.selected:hover {
115
+ background-color:#aaaaff;
116
+ color:white;
117
+ }
118
+
119
+ /* fix for ie6 */
120
+ *html .tab2 ul li a{
121
+ display:block;
122
+ width:auto;
123
+ padding:2px 10px;
124
+ }
125
+
126
+ *html .tab2 ul li span a {
127
+ padding:2px 10px;
128
+ }
129
+
130
+ *html .tab2 ul {
131
+ padding:2px;
132
+ }
133
+ /* end fix ie6 */
134
+
135
+
136
+ .tab2 ul li a {
137
+ border-color:#aaaaff;
138
+ border-style:solid;
139
+ border-width:1px 1px 0pt;
140
+ color:#333333;
141
+ min-width:60px;
142
+ background-color:#F5F4F5;
143
+ padding:2px 5px;
144
+ }
145
+
146
+ .tab2 ul li span a {
147
+ padding:2px 5px;
148
+ width:auto;
149
+ }
150
+
151
+ .tab2 ul li span a:hover {
152
+ background-color:#5D74A2;
153
+ color:white;
154
+ }
155
+
156
+ .tab2 ul li a:hover {
157
+ text-decoration: underline;
158
+ background-color:#F5F4F5;
159
+ color:#333;
160
+ }
161
+
162
+ /* tab3 */
163
+ .tab3 ul {
164
+ padding-left:30px;
165
+ }
166
+
167
+ .tab3 ul li {
168
+ padding:2px 5px;
169
+ color:#ccc;
170
+ }
171
+
172
+ .tab3 ul li.selected {
173
+ color:white;
174
+ background-color:#3B5888;
175
+ }
176
+
177
+ /* sub-tab */
178
+ .sub-tab {
179
+ padding:10px 0px 0px 20px;
180
+ border-bottom:1px solid #ccc;
181
+ }
182
+
183
+ .sub-tab ul {
184
+ }
185
+
186
+ .sub-tab ul li {
187
+ border-left:1px solid #D8DFEA;
188
+ }
189
+
190
+ .sub-tab ul li a:hover, .sub-tab ul li span a:hover {
191
+ background-color:#EBEFF4;
192
+ color:#3B5888;
193
+ }
194
+
195
+ .sub-tab ul li a,.sub-tab ul li span a {
196
+ background-color:transparent;
197
+ color:#3B5888;
198
+ }
199
+
200
+ .sub-tab ul li span a {
201
+ border-bottom:2px solid #6D84B4;
202
+ }
203
+
204
+
205
+
206
+ /* end sub-tab */
207
+
208
+ /* navigation tab */
209
+ .nav-tab {
210
+ margin:15px;
211
+ padding:10px 10px 0px 10px;
212
+ border-bottom:none;
213
+ margin:0px 0px 0px 0px;
214
+ }
215
+
216
+ .nav-tab ul {
217
+ margin:0px auto;
218
+ }
219
+
220
+ .nav-tab ul li a {
221
+ font-size:14px;
222
+ color:#F5F4F5;
223
+ }
224
+
225
+ .nav-tab ul li a:hover {
226
+ }
227
+
228
+ .nav-tab ul li.tab-right {
229
+ text-align:left;
230
+ }
231
+
232
+ .nav-tab ul li span{
233
+ display:block;
234
+ }
235
+
236
+ .nav-tab ul li span a,.nav-tab ul li span a:hover {
237
+ color:black;
238
+ font-weight:bold;
239
+ background-color:#BBD1EF;
240
+ }
241
+ .nav-tab-panel {
242
+ border:2px solid #5d74a2;
243
+ border-top:none;
244
+ background-color:#BBD1EF;
245
+ }
246
+
247
+ .nav-tab-panel ul {
248
+ margin:0px auto;
249
+ }
250
+
251
+ .nav-tab-panel li {
252
+ padding:0px 8px;
253
+ background:url(/images/arrow.gif) left no-repeat ;
254
+ vertical-align:bottom;
255
+ }
256
+
257
+
258
+ /* news feed tabs */
259
+ .home-tab {
260
+ border-bottom:1px solid #D3DAE8
261
+ }
262
+
263
+ .home-tab ul li{
264
+ background-color:#D8DFEA;
265
+ }
266
+
267
+ .home-tab ul li a {
268
+ cursor:pointer;
269
+ }
270
+
271
+ .home-tab ul li a:hover {
272
+ background-color:#5D74A2;
273
+ }
274
+
275
+ .home-tab ul li span a,
276
+ .home-tab ul li a.selected {
277
+ background-color:white;
278
+ color:black;
279
+ border:1px solid #D3DAE8;
280
+ border-bottom:0px solid white;
281
+ margin-bottom:-2px;
282
+ font-weight:normal;
283
+ }
284
+
285
+ *html .home-tab ul li span a,
286
+ *html .home-tab ul li a.selected {
287
+ margin-bottom:-3px;
288
+ }
289
+
290
+ .home-tab ul li span a:hover,
291
+ .home-tab ul li a:hover .selected
292
+ {
293
+ background-color:white;
294
+ color:black;
295
+ }
296
+
297
+ .home-tab-panels .tab-panel {
298
+ padding:10px;
299
+ background-color:white;
300
+ }
301
+
302
+
303
+
304
+
305
+
306
+ /* composer tabs */
307
+ .composer-tab {
308
+ border:none;
309
+ padding:20px;
310
+ }
311
+
312
+ .composer-tab ul li {
313
+ background-color:white;
314
+ border:none;
315
+ padding-left:18px;
316
+ }
317
+
318
+ .composer-tab ul li a {
319
+ cursor:pointer;
320
+ padding-left:0px;
321
+ }
322
+
323
+ .composer-tab ul li a:hover {
324
+ background-color:white;
325
+ text-decoration:underline;
326
+ color:black;
327
+ }
328
+
329
+ .composer-tab ul li a.selected {
330
+ color:black;
331
+ background-color:white;
332
+ }
333
+
334
+ .composer-tab ul li a:hover .selected {
335
+ background-color:white;
336
+ }
337
+
338
+
339
+ .tab ul {
340
+ border-bottom: 1px solid #3B5998;
341
+ clear: all;
342
+ }
343
+
344
+ .tab ul li.selected a,.tab ul li.selected a:hover {
345
+ color:white;
346
+ background-color:#3B5998;
347
+ }
348
+
349
+ .tab ul li a:hover {
350
+ background-color: #E9EEF2;
351
+ }
352
+
353
+ .vtab ul li a {
354
+ border-bottom:1px solid #eee;
355
+ padding:3px;
356
+ }
357
+
358
+ .vtab ul li a:hover {
359
+ background-color: #E9EEF2;
360
+ }
361
+
362
+ .vtab ul li.selected a {
363
+ background-color: #E9EEF2!important;
364
+ color:#3B5998!important;
365
+ font-weight:bold;
366
+ /*
367
+ padding-left: 16px;
368
+ background: transparent url(/images/clear_star_blue_outline.gif) no-repeat 0px 50%;
369
+ */
370
+ }