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,175 @@
1
+ .dialog-overlay {
2
+ position: fixed;
3
+ margin: auto;
4
+ top: 0; left: 0;
5
+ width: 100%;
6
+ height: 100%;
7
+ z-index: 9000;
8
+ background-color: #ccc!important;
9
+ }
10
+
11
+ .dialog-window {
12
+ /*position: fixed;*/
13
+ position: absolute;
14
+ top: 100px;
15
+ border: 0 solid;
16
+ text-align: left;
17
+ z-index: 10000;
18
+ border-collapse:collapse;
19
+ border-spacing:0px;
20
+ }
21
+
22
+ .dialog-iframe {
23
+ overflow:hidden;
24
+ width:100%;
25
+ height:100%;
26
+ padding:0px;
27
+ margin:0px;
28
+ }
29
+
30
+ .dialog-caption {
31
+ padding: 5px 10px;
32
+ margin: 0;
33
+ text-align: left;
34
+ background:#6D84B4 none repeat scroll 0% 0%;
35
+ border:1px solid #3B5888;
36
+ color:white;
37
+ float:none !important;
38
+ font-size:14px;
39
+ margin:0px;
40
+ padding-right:40px;
41
+ }
42
+
43
+ .dialog-body .dialog-oprations,
44
+ .dialog-body .dialog-buttons {
45
+ margin-left:-10px;
46
+ margin-bottom:-10px;
47
+ margin-right:-10px;
48
+ }
49
+
50
+ .dialog-body .dialog-caption {
51
+ margin:-10px;
52
+ margin-bottom:0px;
53
+ }
54
+
55
+ .dialog-container {
56
+ position:relative;
57
+ z-index: 10001
58
+ background-color:white;
59
+ overflow:hidden;
60
+ }
61
+
62
+ .dialog-close {
63
+ position: absolute;
64
+ right: 5px; top: 4px;
65
+ padding: 2px 3px;
66
+ font-weight: bold;
67
+ text-decoration: none;
68
+ font-size: 13px;
69
+ color:white;
70
+ cursor:pointer;
71
+ }
72
+
73
+ .dialog-close:hover {
74
+ background: transparent;
75
+ }
76
+
77
+ .dialog-loading {
78
+ padding: 1.5em;
79
+ text-indent: -10000px;
80
+ background: transparent url(/images/load.gif) 50% 0 no-repeat;
81
+ }
82
+
83
+ /* Alert message */
84
+ .dialog-alert {
85
+ margin: 0px 0px;
86
+ /*text-align: center;*/
87
+ }
88
+
89
+
90
+
91
+ .dialog-window td {
92
+ margin:0px;
93
+ padding:0px;
94
+ }
95
+
96
+ .dialog-window-td-border {
97
+ background-image:url(/images/pop_dialog_border.png) !important;
98
+ }
99
+
100
+ .dialog-window-td-top-left {
101
+ background-image:url(/images/pop_dialog_top_left.png) !important;
102
+ }
103
+
104
+ .dialog-window-td-top-right {
105
+ background-image:url(/images/pop_dialog_top_right.png) !important;
106
+ }
107
+
108
+ .dialog-window-td-bottom-left {
109
+ background-image:url(/images/pop_dialog_bottom_left.png) !important;
110
+ }
111
+
112
+ .dialog-window-td-bottom-right {
113
+ background-image:url(/images/pop_dialog_bottom_right.png) !important;
114
+ }
115
+
116
+ .dialog-window-td-top-left,
117
+ .dialog-window-td-top-right,
118
+ .dialog-window-td-bottom-left,
119
+ .dialog-window-td-bottom-right {
120
+ height:10px;
121
+ overflow:hidden;
122
+ padding:0 !important;
123
+ width:10px !important;
124
+ }
125
+
126
+ .dialog-buttons {
127
+ background:#F2F2F2 none repeat scroll 0 0;
128
+ padding:8px;
129
+ text-align:right;
130
+ }
131
+
132
+ .dialog-buttons input {
133
+ margin-left:5px;
134
+ }
135
+
136
+ .dialog-body {
137
+ padding:10px;
138
+ background-color:white;
139
+ overflow:hidden;
140
+ position:relative;
141
+ }
142
+
143
+ .dialog-summary {
144
+ background:#F2F2F2 none repeat scroll 0 0;
145
+ border-bottom:1px solid #CCCCCC;
146
+ padding:8px 10px;
147
+ margin:-10px -10px 0px -10px;
148
+ }
149
+
150
+ .dialog-window-noshadow td.dialog-window-td-top-left,
151
+ .dialog-window-noshadow td.dialog-window-td-top-right,
152
+ .dialog-window-noshadow td.dialog-window-td-bottom-left,
153
+ .dialog-window-noshadow td.dialog-window-td-bottom-right,
154
+ .dialog-window-noshadow td.dialog-window-td-border
155
+ {
156
+ background-image:none!important;
157
+ width:0px;
158
+ height:0px;
159
+ border:none;
160
+ }
161
+
162
+ .dialog-oprations {
163
+ background:#F2F2F2 none repeat scroll 0 0;
164
+ padding:8px;
165
+ text-align:right;
166
+ border-top:1px solid #CCCCCC;
167
+ }
168
+
169
+ .dialog-button {
170
+
171
+ }
172
+
173
+ .dialog-templates {
174
+ display:none;
175
+ }
@@ -0,0 +1,296 @@
1
+ .generic_dialog { /* this just provides a convenient overlay and superclass for everything */
2
+ height: 0px;
3
+ left: 0px;
4
+ overflow: visible;
5
+ position: absolute;
6
+ top: 0px;
7
+ width: 100%;
8
+ z-index: 100;
9
+ }
10
+
11
+ #generic_dialog_iframe {
12
+ filter: alpha(opacity=0);
13
+ left: 0px;
14
+ position: absolute;
15
+ top: 0px;
16
+ z-index: 3;
17
+ }
18
+
19
+ .generic_dialog .generic_dialog_popup {
20
+ height: 0px;
21
+ overflow: visible;
22
+ position: relative;
23
+ }
24
+
25
+ .generic_dialog div.dialog_loading {
26
+ background-color: #f2f2f2;
27
+ border: 1px solid #606060;
28
+ font-size: 24px;
29
+ padding: 10px;
30
+ }
31
+
32
+ #generic_dialog_overlay {
33
+ z-index: 99;
34
+ display: block;
35
+ position: absolute;
36
+ top: 0px;
37
+ left: 0px;
38
+ width: 100%;
39
+ }
40
+
41
+ table.pop_dialog_table {
42
+ border-collapse: collapse;
43
+ margin: auto;
44
+ table-layout: fixed;
45
+ width: 465px; /* default width... override if you want it different */
46
+ }
47
+
48
+ table.pop_dialog_table.shorter{ width:270px;}
49
+
50
+ td.pop_topleft, td.pop_topright, td.pop_bottomleft, td.pop_bottomright {
51
+ height: 10px;
52
+ overflow: hidden;
53
+ padding: 0px!important;
54
+ padding: 5px;
55
+ width: 10px!important;
56
+ width: 0px;
57
+ }
58
+
59
+ td.pop_topleft {
60
+ background-image: url('/images/pop_dialog_top_left.png')!important;
61
+ background-image: none;
62
+ filter: none!important;
63
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://static.xiaonei.com/img/pop_dialog_top_left.png', sizingMethod='crop');
64
+ }
65
+
66
+ td.pop_topright {
67
+ background-image: url('/images/pop_dialog_top_right.png')!important;
68
+ background-image: none;
69
+ filter: none!important;
70
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://static.xiaonei.com/img/pop_dialog_top_right.png', sizingMethod='crop');
71
+ }
72
+
73
+ td.pop_bottomleft {
74
+ background-image: url('/images/pop_dialog_bottom_left.png')!important;
75
+ background-image: none;
76
+ filter: none!important;
77
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://static.xiaonei.com/img/pop_dialog_bottom_left.png', sizingMethod='crop');
78
+ }
79
+
80
+ td.pop_bottomright {
81
+ background-image: url('/images/pop_dialog_bottom_right.png')!important;
82
+ background-image: none;
83
+ filter: none!important;
84
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://static.xiaonei.com/img/pop_dialog_bottom_right.png', sizingMethod='scale');
85
+ }
86
+
87
+ td.pop_border {
88
+ background-image: url('/images/pop_dialog_border.png')!important;
89
+ background-image: none;
90
+ filter: none!important;
91
+ filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://static.xiaonei.com/img/pop_dialog_border.png', sizingMethod='scale');
92
+ }
93
+
94
+ td.pop_content {
95
+ background-color: white;
96
+ padding: 0px;
97
+ }
98
+
99
+ td.pop_content.morpadding_bluebg{ padding:10px; background-color:#d2d9e6;}
100
+
101
+ td.pop_content h2 {
102
+ background: #6d84b4;
103
+ border: 1px solid #3B5888;
104
+ color: white;
105
+ font-size: 14px;
106
+ font-weight: bold;
107
+ margin: 0px;
108
+
109
+ }
110
+
111
+ td.pop_content h2 span {
112
+ display: block;
113
+ padding: 4px 10px 5px 10px;
114
+ }
115
+
116
+ td.pop_content h2 a.floatright{ float:right; }
117
+
118
+ td.pop_content .dialog_content {
119
+ background: #fff;
120
+ border: 1px solid #555;
121
+ border-top-width: 0px;
122
+ }
123
+
124
+ td.pop_content .dialog_content.borderblue{ border:1px #8598c0 solid;}
125
+
126
+ td.pop_content .dialog_body {
127
+ padding: 10px;
128
+ border-bottom: 1px solid #ccc;
129
+ }
130
+
131
+ td.pop_content .dialog_summary {
132
+ background: #f2f2f2;
133
+ padding: 8px 10px 8px 10px;
134
+ border-bottom: 1px solid #ccc;
135
+ }
136
+
137
+ td.pop_content .dialog_summary p.centertext{margin:30px; text-align:center; line-height:20px;}
138
+ td.pop_content .dialog_summary ul.classlist{ list-style:none;}
139
+ td.pop_content .dialog_summary ul.classlist li{ list-style:none; height:25px; line-height:25px;}
140
+ td.pop_content .dialog_summary ul.classlist li input.floatleft{ background:none; float:left; vertical-align:middle; margin-right:5px; margin-top:7px;}
141
+ *html td.pop_content .dialog_summary ul.classlist li input.floatleft{ margin:0; margin-top:3px;}
142
+ *+html td.pop_content .dialog_summary ul.classlist li input.floatleft{ margin:0; margin-top:3px;}
143
+ td.pop_content .dialog_summary ul.classlist li .gray{ color:#b4b4b4;}
144
+
145
+ td.pop_content .dialog_summary.higher{ height:100px; padding:10px;}
146
+
147
+ td.pop_content .dialog_buttons {
148
+ background: #f2f2f2;
149
+ padding: 8px;
150
+ text-align: right;
151
+ }
152
+
153
+ td.pop_content .dialog_buttons.alignleft{ text-align:left;}
154
+
155
+ td.pop_content .dialog_buttons input {
156
+ margin-left: 5px;
157
+ }
158
+
159
+ td.pop_content .dialog_buttons_left_msg {
160
+ float:left;
161
+ }
162
+
163
+ .contextual_dialog .generic_dialog_popup {
164
+ width: 360px;
165
+ }
166
+
167
+ .contextual_dialog .contextual_arrow,
168
+ .contextual_dialog .contextual_arrow_rev {
169
+ background-image: url('/images/minifeed_dialog_triangle.gif');
170
+ background-repeat: no-repeat;
171
+ height: 12px;
172
+ position: relative;
173
+ top: 1px;
174
+ }
175
+ .contextual_dialog .contextual_arrow_rev {
176
+ background-image: url('/images/minifeed_dialog_triangle_rev.gif');
177
+ }
178
+
179
+ .contextual_dialog .contextual_arrow span,
180
+ .contextual_dialog .contextual_arrow_rev span {
181
+ display: none;
182
+ }
183
+
184
+ .contextual_dialog h2 {
185
+ color: black;
186
+ font-size: 11px;
187
+ padding-bottom: 2px;
188
+ }
189
+
190
+ .contextual_dialog .contextual_dialog_content {
191
+ background-color: #f0f0f0;
192
+ border: 1px solid #b7b7b7;
193
+ border-bottom: 2px solid #3B5888;
194
+ line-height: 15px;
195
+ padding: 8px 10px 10px 10px;
196
+ }
197
+
198
+ .contextual_dialog .dialog_buttons {
199
+ padding-top: 10px;
200
+ }
201
+
202
+ .contextual_dialog .dialog_buttons input {
203
+ margin-right: 10px;
204
+ }
205
+
206
+ .errorDialog td.pop_content h2 {
207
+ background: #AA2222;
208
+ border: none;
209
+ border-bottom: 1px solid #AA3300;
210
+ }
211
+
212
+ .errorDialog td.pop_content {
213
+ border: 1px solid #AA3300;
214
+ }
215
+
216
+ ul.square_bullets {
217
+ color:#3B5888;
218
+ list-style-image:none;
219
+ list-style-position:outside;
220
+ list-style-type:square;
221
+ padding-left:20px;
222
+ }
223
+
224
+
225
+
226
+
227
+
228
+
229
+ /* popup div start*/
230
+ .clearfix:after{content:".";display:block;clear:both;visibility:hidden;line-height:0;height:0;}
231
+ .clearfix{display:inline-block;}
232
+ html[xmlns] .clearfix{display:block;}
233
+ #dialog_content #sub-nav ul{margin:0 100px;}
234
+ td.pop_content h2 a {float:right;padding:6px 10px;color:#fff;font-weight:normal;font-size:12px; }
235
+ td.pop_content h2 a:hover {color:#fff; }
236
+ .share_send, .share_post {background:#f7f7f7 none repeat scroll 0%;padding-top:15px;}
237
+ .composer_fields dt {float:left;margin:0pt;padding:0pt 10px 0pt 20pt;text-align:right;width:65px;}
238
+ .composer_fields dd {float:left;margin:0pt 0pt 10px;width:300px;}
239
+ .composer_fields textarea {height:50px; margin:0pt;overflow:auto;}
240
+ .composer_fields label {color:#666;font-weight:bold;padding-top:4px;display:block; }
241
+ .attachment_stage {background-color:#f0f0f0;border-bottom:1px solid #ccc;border-top:1px solid #ccc;}
242
+ .attachment_stage_area {overflow:hidden;padding:8px 3px 7px 8px;}
243
+ .share-title {font-weight:bold;color:#555; }
244
+ .share_info.share-with-pic {margin-left:115px;}
245
+ .share_thumb {border:1px solid #ccc;float:left; margin-right:5px;}
246
+ .share_thumb img {border:3px solid #fff; }
247
+ .share-description {line-height:18px; color:#808080;}
248
+ .share-description a {margin-right:3px;}
249
+ .share_buttons {text-align:center;padding:0 60px 10px 0;}
250
+ .share_buttons input {margin:0 5px; }
251
+ .share_pop_dialog div.tokenizer,.share_pop_dialog input.inputtext,.share_pop_dialog textarea {width:295px; border:1px solid #8496BA; }
252
+ .share_pop_dialog input.inputtext,.share_pop_dialog textarea {padding:5px 0pt 5px 3px;}
253
+ .loading {padding:10px;font-size:14px; font-weight:bold;background:#f7f7f7; }
254
+ .messages_div {font-size:14px;}
255
+ .share-description strong { color:#333; }
256
+ /* popup div end */
257
+
258
+
259
+ .friend-request {overflow:hidden;zoom:1}
260
+ .friend-request .avatar {float:left;margin-right:15px;}
261
+ .friend-request .avatar img {width:100px;}
262
+ .friend-request .msg {width:275px;float:left;}
263
+ .friend-request #addMsgBox p {padding-bottom:0.2em;}
264
+
265
+ .twin_comment_holder label {font-weight:normal;float:right;padding:0;margin-top:-6px;position:relative;}
266
+ .twin_comment_holder label input {margin-right:5px;background:#F7F7F7}
267
+ * html .twin_comment_holder label input {margin:0;padding:0;vertical-align:middle}
268
+ *+html .twin_comment_holder label input {margin:0;padding:0;vertical-align:middle}
269
+
270
+
271
+
272
+ /*for recommendpop style*/
273
+ td.pop_content .dialog_body h1.general{ font-size:15px; margin-bottom:15px;}
274
+ td.pop_content .dialog_body p.altbox{ color:#999; margin-bottom:15px; padding-bottom:3px; border-bottom:1px #e0e0e0 solid;}
275
+ td.pop_content .dialog_body p.namefilter{ margin-bottom:15px;}
276
+ td.pop_content .dialog_body p.namefilter label{ color:#999; font-weight:bold;}
277
+ td.pop_content .dialog_body p.namefilter .inputtext{ width:200px;}
278
+ td.pop_content .dialog_body #list-results .selector{ height:200px; margin-bottom:15px;}
279
+ table.pop_dialog_table.w515{ width:515px;}
280
+
281
+ td.pop_content .msbbox_yellow{ margin:10px; border:1px #e2c822 solid; background-color:#fff9d7; padding:15px; text-align:center;}
282
+
283
+
284
+
285
+
286
+
287
+
288
+
289
+
290
+
291
+
292
+
293
+
294
+
295
+
296
+