social_stream 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. data/Rakefile +0 -12
  2. data/app/controllers/activities_controller.rb +17 -1
  3. data/app/controllers/api_controller.rb +2 -2
  4. data/app/controllers/avatars_controller.rb +44 -0
  5. data/app/controllers/contacts_controller.rb +13 -21
  6. data/app/controllers/conversations_controller.rb +107 -0
  7. data/app/controllers/groups_controller.rb +7 -11
  8. data/app/controllers/messages_controller.rb +21 -88
  9. data/app/controllers/profiles_controller.rb +3 -1
  10. data/app/controllers/pshb_controller.rb +37 -1
  11. data/app/controllers/ties_controller.rb +7 -8
  12. data/app/controllers/users_controller.rb +19 -43
  13. data/app/helpers/location_helper.rb +34 -0
  14. data/app/helpers/subjects_helper.rb +18 -1
  15. data/app/models/activity.rb +67 -27
  16. data/app/models/activity_verb.rb +1 -1
  17. data/app/models/actor.rb +85 -37
  18. data/app/models/avatar.rb +90 -0
  19. data/app/models/group.rb +2 -2
  20. data/app/models/profile.rb +8 -0
  21. data/app/models/tie.rb +20 -22
  22. data/app/models/user.rb +2 -8
  23. data/app/views/activities/_index.html.erb +22 -0
  24. data/app/views/activities/_options.html.erb +3 -1
  25. data/app/views/activities/_root.html.erb +4 -2
  26. data/app/views/activities/_walls.html.erb +34 -0
  27. data/app/views/activities/index.js.erb +1 -0
  28. data/app/views/avatars/_form.html.erb +23 -0
  29. data/app/views/{logos → avatars}/_precrop.html.erb +23 -15
  30. data/app/views/avatars/edit.html.erb +6 -0
  31. data/app/views/avatars/index.html.erb +42 -0
  32. data/app/views/{logos → avatars}/new.html.erb +7 -11
  33. data/app/views/avatars/show.html.erb +5 -0
  34. data/app/views/contacts/_index.html.erb +33 -0
  35. data/app/views/contacts/index.html.erb +35 -2
  36. data/app/views/contacts/index.js.erb +1 -0
  37. data/app/views/conversations/_conversation.html.erb +37 -0
  38. data/app/views/conversations/_conversation_full.html.erb +52 -0
  39. data/app/views/{messages → conversations}/_conversations.html.erb +2 -1
  40. data/app/views/conversations/_index.html.erb +23 -0
  41. data/app/views/{messages → conversations}/_menu_options.html.erb +2 -2
  42. data/app/views/conversations/_show.html.erb +21 -0
  43. data/app/views/{messages → conversations}/edit.html.erb +0 -0
  44. data/app/views/{messages → conversations}/index.html.erb +1 -3
  45. data/app/views/conversations/index.js.erb +7 -0
  46. data/app/views/conversations/show.html.erb +47 -0
  47. data/app/views/conversations/show.js.erb +39 -0
  48. data/app/views/frontpage/_header.html.erb +5 -1
  49. data/app/views/groups/_new.html.erb +50 -48
  50. data/app/views/groups/_sidebar_show.html.erb +1 -1
  51. data/app/views/groups/index.html.erb +1 -1
  52. data/app/views/groups/new.html.erb +6 -1
  53. data/app/views/groups/show.html.erb +1 -3
  54. data/app/views/home/_menu.html.erb +46 -0
  55. data/app/views/home/_sidebar.html.erb +12 -0
  56. data/app/views/home/index.html.erb +3 -3
  57. data/app/views/layouts/application.html.erb +1 -1
  58. data/app/views/layouts/test.html +58 -41
  59. data/app/views/location/_location.html.erb +3 -0
  60. data/app/views/messages/_form.html.erb +5 -52
  61. data/app/views/messages/_message.html.erb +31 -0
  62. data/app/views/messages/_new.html.erb +10 -16
  63. data/app/views/messages/new.html.erb +48 -3
  64. data/app/views/messages/new.js.erb +38 -1
  65. data/app/views/profiles/_profile.html.erb +194 -0
  66. data/app/views/profiles/edit.html.erb +168 -0
  67. data/app/views/profiles/show.html.erb +2 -175
  68. data/app/views/{users → profiles}/update.js.erb +12 -15
  69. data/app/views/subjects/_contacts.html.erb +2 -3
  70. data/app/views/subjects/_toolbar_home.html.erb +1 -1
  71. data/app/views/subjects/_toolbar_home_menu.html.erb +4 -1
  72. data/app/views/subjects/_toolbar_home_menu_options.html.erb +4 -7
  73. data/app/views/subjects/_toolbar_home_menu_options_subjects.html.erb +0 -3
  74. data/app/views/subjects/_toolbar_logo.html.erb +1 -1
  75. data/app/views/subjects/_toolbar_message_menu.html.erb +17 -0
  76. data/app/views/subjects/_toolbar_profile.html.erb +4 -12
  77. data/app/views/subjects/_toolbar_profile_menu.html.erb +9 -10
  78. data/app/views/subjects/_toolbar_profile_menu_basic_options.html.erb +6 -5
  79. data/app/views/subjects/_toolbar_profile_menu_tie_options.html.erb +13 -13
  80. data/app/views/ties/_new.html.erb +30 -25
  81. data/app/views/ties/_suggestions.html.erb +1 -0
  82. data/app/views/ties/new.js.erb +2 -0
  83. data/app/views/users/_index.html.erb +1 -1
  84. data/app/views/users/index.html.erb +1 -3
  85. data/app/views/users/show.html.erb +4 -3
  86. data/config/locales/en.yml +79 -24
  87. data/config/routes.rb +8 -2
  88. data/lib/generators/social_stream/install_generator.rb +1 -1
  89. data/lib/generators/social_stream/templates/migration.rb +17 -11
  90. data/lib/generators/social_stream/templates/public/images/btn/message_conversation.png +0 -0
  91. data/lib/generators/social_stream/templates/public/images/btn/message_inbox.png +0 -0
  92. data/lib/generators/social_stream/templates/public/images/btn/message_new.png +0 -0
  93. data/lib/generators/social_stream/templates/public/images/btn/message_sentbox.png +0 -0
  94. data/lib/generators/social_stream/templates/public/images/btn/message_trash.png +0 -0
  95. data/lib/generators/social_stream/templates/public/javascripts/ajax.paginate.js +1 -1
  96. data/lib/generators/social_stream/templates/public/javascripts/menu.js +9 -99
  97. data/lib/generators/social_stream/templates/public/stylesheets/default/base.css +14 -5
  98. data/lib/generators/social_stream/templates/public/stylesheets/default/home.css +1 -0
  99. data/lib/generators/social_stream/templates/public/stylesheets/default/jquery-ui.css +13 -10
  100. data/lib/generators/social_stream/templates/public/stylesheets/default/menu.css +5 -11
  101. data/lib/generators/social_stream/templates/public/stylesheets/default/messages.css +96 -20
  102. data/lib/generators/social_stream/templates/relations.yml +1 -0
  103. data/lib/paperclip/social_stream.rb +1 -1
  104. data/lib/social_stream/ability.rb +1 -0
  105. data/lib/social_stream/controllers/helpers.rb +20 -0
  106. data/lib/social_stream/models/subject.rb +13 -12
  107. data/lib/social_stream/rails.rb +4 -1
  108. data/lib/social_stream/version.rb +1 -1
  109. data/lib/tasks/db/populate.rake +14 -4
  110. data/social_stream.gemspec +31 -5
  111. data/spec/controllers/contacts_controller_spec.rb +6 -0
  112. data/spec/controllers/profiles_controller_spec.rb +3 -4
  113. data/spec/dummy/config/initializers/devise.rb +4 -1
  114. data/spec/dummy/config/relations.yml +1 -0
  115. data/spec/models/activity_spec.rb +24 -0
  116. metadata +91 -89
  117. data/app/controllers/logos_controller.rb +0 -37
  118. data/app/models/logo.rb +0 -88
  119. data/app/views/activities/_activities.html.erb +0 -46
  120. data/app/views/groups/_profile.html.erb +0 -142
  121. data/app/views/groups/edit.html.erb +0 -135
  122. data/app/views/groups/update.js.erb +0 -39
  123. data/app/views/logos/_form.html.erb +0 -33
  124. data/app/views/logos/edit.html.erb +0 -6
  125. data/app/views/logos/index.html.erb +0 -27
  126. data/app/views/logos/show.html.erb +0 -5
  127. data/app/views/menu/_group.html.erb +0 -15
  128. data/app/views/menu/_home_user.html.erb +0 -0
  129. data/app/views/menu/_optionsGroups.html.erb +0 -11
  130. data/app/views/menu/_optionsUser.html.erb +0 -11
  131. data/app/views/menu/_services.html.erb +0 -11
  132. data/app/views/menu/_tiesGroup.html.erb +0 -14
  133. data/app/views/menu/_tiesUser.html.erb +0 -11
  134. data/app/views/menu/_user.html.erb +0 -15
  135. data/app/views/messages/_conversation.html.erb +0 -34
  136. data/app/views/messages/_conversation_full.html.erb +0 -65
  137. data/app/views/messages/_index.html.erb +0 -19
  138. data/app/views/messages/_location.html.erb +0 -3
  139. data/app/views/messages/_show.html.erb +0 -22
  140. data/app/views/messages/index.js.erb +0 -1
  141. data/app/views/messages/show.html.erb +0 -10
  142. data/app/views/messages/show.js.erb +0 -1
  143. data/app/views/users/_profile.html.erb +0 -171
  144. data/app/views/users/_sidebar_show.html.erb +0 -1
  145. data/app/views/users/edit.html.erb +0 -194
data/config/routes.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  Rails.application.routes.draw do
2
- get "contacts/index"
3
2
  root :to => "frontpage#index"
4
3
 
5
4
  match 'home' => 'home#index', :as => :home
@@ -15,6 +14,9 @@ Rails.application.routes.draw do
15
14
 
16
15
  # PubSubHubBub
17
16
  match 'pshb/callback' => 'pshb#callback', :as => :pshb_callback
17
+ # Test
18
+ match 'pshb/test_s' => 'pshb#pshb_subscription_request'
19
+ match 'pshb/test_p' => 'pshb#pshb_publish'
18
20
 
19
21
  # Webfinger
20
22
  match '.well-known/host-meta',:to => 'frontpage#host_meta'
@@ -23,17 +25,21 @@ Rails.application.routes.draw do
23
25
  SocialStream.subjects.each do |actor|
24
26
  resources actor.to_s.pluralize do
25
27
  resource :profile
28
+ resources :activities
26
29
  end
27
30
  end
28
31
 
32
+ match 'contacts' => 'contacts#index', :as => 'contacts'
33
+
29
34
  # Find subjects by slug
30
35
  match 'subjects/lrdd/:id' => 'subjects#lrdd', :as => 'subject_lrdd'
31
36
 
32
37
  resource :representation
33
38
 
34
- resources :logos
39
+ resources :avatars
35
40
 
36
41
  resources :messages
42
+ resources :conversations
37
43
 
38
44
  resources :ties do
39
45
  collection do
@@ -1,8 +1,8 @@
1
1
  class SocialStream::InstallGenerator < Rails::Generators::Base #:nodoc:
2
2
  include Rails::Generators::Migration
3
3
 
4
- hook_for :javascript
5
4
  hook_for :authentication
5
+ hook_for :messages
6
6
 
7
7
  source_root File.expand_path('../templates', __FILE__)
8
8
 
@@ -40,10 +40,6 @@ class CreateSocialStream < ActiveRecord::Migration
40
40
  t.datetime "created_at"
41
41
  t.datetime "updated_at"
42
42
  t.integer "activity_object_id"
43
- t.string "logo_file_name"
44
- t.string "logo_content_type"
45
- t.integer "logo_file_size"
46
- t.datetime "logo_updated_at"
47
43
  end
48
44
 
49
45
  add_index "actors", "activity_object_id"
@@ -58,7 +54,18 @@ class CreateSocialStream < ActiveRecord::Migration
58
54
  end
59
55
 
60
56
  add_index "authentications", "user_id"
57
+
58
+ create_table "avatars", :force => true do |t|
59
+ t.integer "actor_id"
60
+ t.string "logo_file_name"
61
+ t.string "logo_content_type"
62
+ t.integer "logo_file_size"
63
+ t.datetime "logo_updated_at"
64
+ t.boolean "active", :default => true
65
+ end
61
66
 
67
+ add_index "avatars", "actor_id"
68
+
62
69
  create_table "comments", :force => true do |t|
63
70
  t.integer "activity_object_id"
64
71
  t.text "text"
@@ -84,13 +91,7 @@ class CreateSocialStream < ActiveRecord::Migration
84
91
  t.datetime "updated_at"
85
92
  end
86
93
 
87
- create_table "logos", :force => true do |t|
88
- t.string "logo_file_name"
89
- t.string "logo_content_type"
90
- t.integer "logo_file_size"
91
- t.datetime "logo_updated_at"
92
- end
93
-
94
+
94
95
  create_table "posts", :force => true do |t|
95
96
  t.integer "activity_object_id"
96
97
  t.datetime "created_at"
@@ -214,6 +215,8 @@ class CreateSocialStream < ActiveRecord::Migration
214
215
  add_foreign_key "actors", "activity_objects", :name => "actors_on_activity_object_id"
215
216
 
216
217
  add_foreign_key "authentications", "users", :name => "authentications_on_user_id"
218
+
219
+ add_foreign_key "avatars", "actors", :name => "avatars_on_actor_id"
217
220
 
218
221
  add_foreign_key "comments", "activity_objects", :name => "comments_on_activity_object_id"
219
222
 
@@ -249,6 +252,8 @@ class CreateSocialStream < ActiveRecord::Migration
249
252
  remove_foreign_key "actors", :name => "actors_on_activity_object_id"
250
253
 
251
254
  remove_foreign_key "authentications", :name => "authentications_on_user_id"
255
+
256
+ remove_foreign_key "avatars", :name => "avatars_on_actor_id"
252
257
 
253
258
  remove_foreign_key "comments", :name => "comments_on_activity_object_id"
254
259
 
@@ -279,6 +284,7 @@ class CreateSocialStream < ActiveRecord::Migration
279
284
  drop_table :activity_verbs
280
285
  drop_table :actors
281
286
  drop_table :authentications
287
+ drop_table :avatars
282
288
  drop_table :comments
283
289
  drop_table :groups
284
290
  drop_table :permissions
@@ -1,5 +1,4 @@
1
1
  $(function(){
2
-
3
2
  $('#search_field').live('click',function(){
4
3
  if(this.value=="Search by name"){
5
4
  this.value="";
@@ -50,4 +49,5 @@ $(function(){
50
49
  if ($.fragment().letter) {
51
50
  $(document).trigger("fragmentChange.letter");
52
51
  }
52
+
53
53
  });
@@ -1,99 +1,9 @@
1
- /*
2
- Simple JQuery menu.
3
- HTML structure to use:
4
-
5
- Notes:
6
-
7
- Each menu MUST have a class 'menu' set. If the menu doesn't have this, the JS won't make it dynamic
8
- If you want a panel to be expanded at page load, give the containing LI element the classname 'expand'.
9
- Use this to set the right state in your page (generation) code.
10
-
11
- Optional extra classnames for the UL element that holds an accordion:
12
-
13
- noaccordion : no accordion functionality
14
- collapsible : menu works like an accordion but can be fully collapsed
15
-
16
- <ul class="menu [optional class] [optional class]">
17
- <li><a href="#">Sub menu heading</a>
18
- <ul>
19
- <li><a href="http://site.com/">Link</a></li>
20
- <li><a href="http://site.com/">Link</a></li>
21
- <li><a href="http://site.com/">Link</a></li>
22
- ...
23
- ...
24
- </ul>
25
- // This item is open at page load time
26
- <li class="expand"><a href="#">Sub menu heading</a>
27
- <ul>
28
- <li><a href="http://site.com/">Link</a></li>
29
- <li><a href="http://site.com/">Link</a></li>
30
- <li><a href="http://site.com/">Link</a></li>
31
- ...
32
- ...
33
- </ul>
34
- ...
35
- ...
36
- </ul>
37
-
38
- Copyright 2007-2010 by Marco van Hylckama Vlieg
39
-
40
- web: http://www.i-marco.nl/weblog/
41
- email: marco@i-marco.nl
42
-
43
- Free to use any way you like.
44
- */
45
-
46
-
47
- jQuery.fn.initMenu = function() {
48
- return this.each(function(){
49
- var theMenu = $(this).get(0);
50
- $('.acitem', this).hide();
51
- $('li.expand > .acitem', this).show();
52
- $('li.expand > .acitem', this).prev().addClass('active');
53
- $('li a', this).click(
54
- function(e) {
55
- e.stopImmediatePropagation();
56
- var theElement = $(this).next();
57
- var parent = this.parentNode.parentNode;
58
- if($(parent).hasClass('noaccordion')) {
59
- if(theElement[0] === undefined) {
60
- window.location.href = this.href;
61
- }
62
- $(theElement).slideToggle('normal', function() {
63
- if ($(this).is(':visible')) {
64
- $(this).prev().addClass('active');
65
- }
66
- else {
67
- $(this).prev().removeClass('active');
68
- }
69
- });
70
- return false;
71
- }
72
- else {
73
- if(theElement.hasClass('acitem') && theElement.is(':visible')) {
74
- if($(parent).hasClass('collapsible')) {
75
- $('.acitem:visible', parent).first().slideUp('normal',
76
- function() {
77
- $(this).prev().removeClass('active');
78
- }
79
- );
80
- return false;
81
- }
82
- return false;
83
- }
84
- if(theElement.hasClass('acitem') && !theElement.is(':visible')) {
85
- $('.acitem:visible', parent).first().slideUp('normal', function() {
86
- $(this).prev().removeClass('active');
87
- });
88
- theElement.slideDown('normal', function() {
89
- $(this).prev().addClass('active');
90
- });
91
- return false;
92
- }
93
- }
94
- }
95
- );
96
- });
97
- };
98
-
99
- $(document).ready(function() {$('.toolbar').initMenu();});
1
+ function initMenu() {
2
+ $('.menu ul').hide();
3
+ $('.menu li a').click(
4
+ function() {
5
+ $(this).next().slideToggle('normal');
6
+ }
7
+ );
8
+ }
9
+ $(document).ready(function() {initMenu();});
@@ -20,16 +20,18 @@ body{font-size:1.0em; color:#2A3890; background-color:#ffffff; }
20
20
  margin-top: auto; margin-bottom:auto;}
21
21
 
22
22
 
23
- /*********** Errors SECTION *********************/
24
- #notice { padding:2px; color:#1F4A75; font-weight:bold; font-size:1.3em; display:block; text-align:center;}
23
+ /*********** Notices SECTION *********************/
25
24
  .error, .notice, .success {padding:.8em;margin-bottom:1em;}
26
- .error{padding:.8em;margin-bottom:1em;color:red;}
27
-
25
+ .notice {color:#1F4A75; font-weight:bold; font-size:1.3em; display:block; text-align:center;}
26
+ .error{color:red;}
27
+ .success {color: #088A08}
28
28
 
29
29
  /************Forms SECTION **************/
30
30
  input.other_blue{ background:#497FC1; border:0px; cursor:pointer; font-size:1.0em; line-height:135%;
31
31
  margin-right:4px; color:white; padding:1px;}
32
-
32
+ textarea.new_tie_text_area{ width:100%; height: 100px; }
33
+ .colum_field_title{ text-align: center; }
34
+ .select_relations select{ font-size: 12px; color: white; background-color:#1F4A75;}
33
35
 
34
36
  /************ Forms - Buttons SECTION ***************************/
35
37
  .myButton{ cursor:pointer;
@@ -82,6 +84,7 @@ input.other_blue{ background:#497FC1; border:0px; cursor:pointer; font-size:1.0
82
84
  .block .row { display: block;}
83
85
  .block .title{ display:inline-block; }
84
86
  .block .sub-block{ display: inline-block; padding-left:3px; width:70%; text-align:left;}
87
+ .block .close_add_contact { float:right; vertical-align:top; margin-right: 1%; }
85
88
 
86
89
  /******BLOCK TAB CONTENT SECTION********/
87
90
  .block .tab { margin-top: 2px; background: #fff; /*border-top: thin solid #D4E4EA;*/
@@ -106,6 +109,12 @@ input.other_blue{ background:#497FC1; border:0px; cursor:pointer; font-size:1.0
106
109
  .block .form_field{ display:inline-block; padding: 0px; width:73%;}
107
110
  .block .form_row { display: block; padding:5px; padding-left:20px; }
108
111
  .block .label{ display:inline-block; width:49%; }
112
+ .block .two_columns_container { margin-top: 5px; }
113
+ .block .form_column_left { display: block; padding:5px; padding-left:20px; float: left; width:60%; }
114
+ .block .form_column_right { display: block; padding:5px; padding-left:20px; float:right; width:30%; }
115
+ .block .form_bottom { display: block; padding:5px; padding-left:20px; clear:both; text-align: center; }
116
+ .block .select_relations{ padding-top:20px; text-align: center; }
117
+
109
118
 
110
119
  /********* Links SECTION **********/
111
120
  .tie_link a{ text-decoration:none;}
@@ -15,6 +15,7 @@
15
15
  #toolbar { width: 160px; border-color: #000; vertical-align: top; display: table-cell;padding: 5px 5px 5px 5px;}
16
16
  #toolbarContent{}
17
17
  #wrapper_body{background-color:#fff;}
18
+ #content_logo{width: 779px}
18
19
 
19
20
 
20
21
  /*************** HOME ****************/
@@ -16,9 +16,9 @@
16
16
  ----------------------------------*/
17
17
  .ui-helper-hidden { display: none; }
18
18
  .ui-helper-hidden-accessible { position: absolute !important;/* clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px);*/ }
19
- .ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
19
+ .ui-helper-reset, .activity_tabs { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
20
20
  .ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
21
- .ui-helper-clearfix { display: inline-block; }
21
+ .ui-helper-clearfix, .activity_tabs { display: inline-block; }
22
22
  /* required comment for clearfix to work in Opera \*/
23
23
  * html .ui-helper-clearfix { height:1%; }
24
24
  .ui-helper-clearfix { display:block; }
@@ -564,11 +564,11 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
564
564
  .ui-corner-tr { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; }
565
565
  .ui-corner-bl { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; }
566
566
  .ui-corner-br { -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; }
567
- .ui-corner-top { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; }
567
+ .ui-corner-top, .activity_tabs li { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; }
568
568
  .ui-corner-bottom { -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; }
569
569
  .ui-corner-right { -moz-border-radius-topright: 4px/*{cornerRadius}*/; -webkit-border-top-right-radius: 4px/*{cornerRadius}*/; border-top-right-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomright: 4px/*{cornerRadius}*/; -webkit-border-bottom-right-radius: 4px/*{cornerRadius}*/; border-bottom-right-radius: 4px/*{cornerRadius}*/; }
570
570
  .ui-corner-left { -moz-border-radius-topleft: 4px/*{cornerRadius}*/; -webkit-border-top-left-radius: 4px/*{cornerRadius}*/; border-top-left-radius: 4px/*{cornerRadius}*/; -moz-border-radius-bottomleft: 4px/*{cornerRadius}*/; -webkit-border-bottom-left-radius: 4px/*{cornerRadius}*/; border-bottom-left-radius: 4px/*{cornerRadius}*/; }
571
- .ui-corner-all { -moz-border-radius: 4px/*{cornerRadius}*/; -webkit-border-radius: 4px/*{cornerRadius}*/; border-radius: 4px/*{cornerRadius}*/; }
571
+ .ui-corner-all, #tabs { -moz-border-radius: 4px/*{cornerRadius}*/; -webkit-border-radius: 4px/*{cornerRadius}*/; border-radius: 4px/*{cornerRadius}*/; }
572
572
 
573
573
  /* Overlays */
574
574
  .ui-widget-overlay { background: #aaaaaa/*{bgColorOverlay}*/ url(images/ui-bg_flat_0_aaaaaa_40x100.png)/*{bgImgUrlOverlay}*/ 50%/*{bgOverlayXPos}*/ 50%/*{bgOverlayYPos}*/ repeat-x/*{bgOverlayRepeat}*/; opacity: .3;filter:Alpha(Opacity=30)/*{opacityOverlay}*/; }
@@ -579,7 +579,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
579
579
  #tabs{
580
580
  border: none;
581
581
  }
582
- .ui-widget-header {
582
+ .ui-widget-header, .activity_tabs {
583
583
  color: #2A3890;
584
584
  font-weight: bold;
585
585
  background: #E1EEF5;
@@ -589,7 +589,7 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
589
589
  border-bottom: solid #D4E4EA;
590
590
  border-width: 2px;
591
591
  }
592
- .ui-widget-content {
592
+ .ui-widget-content, #tabs {
593
593
  color: #2A3890;
594
594
  }
595
595
  .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
@@ -602,16 +602,19 @@ button.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra pad
602
602
  #ui-datepicker-div{
603
603
  font-size: 12px;
604
604
  }
605
-
606
- .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited {
605
+ .activity_tabs li{
606
+ display: inline;
607
+ list-style: none;
608
+ }
609
+ .ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited, .activity_tabs a {
607
610
  color: #CAD8F3;
608
611
  text-decoration: none;
609
612
  }
610
613
 
611
- .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited {
614
+ .ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited, .activity_tabs .ui-tabs-selected a {
612
615
  color: #2A3890;
613
616
  }
614
617
 
615
- .ui-tabs .ui-tabs-nav {
618
+ .ui-tabs .ui-tabs-nav, .activity_tabs {
616
619
  background-color: white;
617
620
  }
@@ -1,20 +1,17 @@
1
1
  /**************MENU***********/
2
- div.panel { border: 1px #2A3890 solid; padding: 5px; margin-top: 0px;}
3
-
4
-
5
- ul.menu, ul.menu ul {list-style-type:none; margin: 0; padding: 0; width: 15em; }
2
+ ul.menu {list-style-type:none; margin: 0; padding: 0; width: 15em; border-bottom: thin solid #D4E4EA; }
3
+ ul.menu ul {list-style-type:none; margin: 0; padding: 0; width: 15em; }
6
4
  ul.menu a { display: block; text-decoration: none; }
7
-
8
- ul.menu li { border-bottom: thin solid #D4E4EA; padding-left:0px; }
5
+ ul.menu li { border-top: thin solid #D4E4EA; padding-left:0px; }
9
6
  ul.menu li a, ul.menu ul.menu li a { background: #fff; color: #2A3890; padding: 0.3em; padding:5px 0px 5px 0px; }
10
7
  ul.menu li a:hover, ul.menu ul.menu li a:hover { background: #DEEFF8; color: #2A3890; text-decoration:none; }
11
8
  ul.menu li ul li a, ul.menu ul.menu li ul li a { background: #fff; border-left: 5px #2A3890 solid;
12
9
  color: #2A3890; padding-left: 10px;}
13
-
14
-
10
+ ul.menu li ul li a:hover { background: #DEEFF8; border-left: 5px #2A3890 solid; padding-left: 15px;}
15
11
 
16
12
 
17
13
  /*
14
+ div.panel { border: 1px #2A3890 solid; padding: 5px; margin-top: 0px;}
18
15
  ul.menu li ul li a:hover, ul.menu ul.menu li ul li a:hover { background: #DEEFF8; border-left: 5px #2A3890 solid;
19
16
  text-decoration:none; }
20
17
  ul.menu ul.menu li a:hover { border-left: 0; padding-left: 0.5em;}
@@ -28,6 +25,3 @@ ul.menu div.panel a:hover { color: #2A3890; text-decoration: underline;}
28
25
  */
29
26
 
30
27
 
31
-
32
-
33
-
@@ -4,41 +4,117 @@
4
4
  text-align: center;
5
5
  }
6
6
  /******************* Message ***********************/
7
-
8
- /***************** Conversation ********************/
9
- .conversation {
7
+ .message{
8
+ width:549px;
9
+ padding: 5px 5px 5px 5px;
10
+ }
11
+ .message .container{
12
+ float:left;
13
+ width:509px;
14
+ }
15
+ .message .header{
16
+ padding: 5px 5px 5px 5px;
17
+ background-color: #E0EEF5;
18
+ height:40px;
19
+ }
20
+ .message .body{
21
+ padding: 5px 5px 5px 5px;
22
+ border: 1px solid #E0EEF5;
23
+ }
24
+ .message .content_left {
25
+ float:left;
26
+ width:25%;
27
+ }
28
+ .message .content_right {
29
+ float:left;
30
+ width:75%;
31
+ }
32
+ .message .sender_photo {
33
+ float:left;
34
+ padding: 0px 5px 0px 0px;
35
+ }
36
+ .message .sender_name {
37
+ }
38
+ .message .subject {
39
+ }
40
+ .message .date {
41
+ }
42
+ .conversation_full .messages .unread .header{
43
+ color: #FFF;
44
+ background-color: #708EE5;
45
+ }
46
+ .conversation_full .messages .unread .body{
47
+ border: 1px solid #708EE5;
48
+ }
49
+ .conversation_full .messages .unread .subject{
50
+ font-weight: bold;
51
+ }
52
+ /*************** Full Conversation *****************/
53
+ .conversation_full {
54
+ }
55
+ .conversation_full .title {
56
+ float:left;
57
+ padding: 5px 5px 5px 5px;
58
+ }
59
+ .conversation_full .action {
60
+ float:right;
61
+ padding: 5px 5px 5px 5px;
62
+ }
63
+ .conversation_full .participants {
64
+ border-top:1px solid #E0EEF5;
65
+ border-bottom:1px solid #E0EEF5;
66
+ padding: 5px 5px 3px 5px;
67
+ }
68
+ /***************** Conversations *******************/
69
+ .conversations {
70
+ border-top:1px solid #E0EEF5;
71
+ border-bottom:1px solid #E0EEF5;
72
+ }
73
+ .conversations .unread {
74
+ background-color: #E0EEF5;
75
+ }
76
+ .conversations .conversation {
10
77
  color: #2A3890;
11
78
  padding: 5px 5px 5px 5px;
12
79
  width:549px;
80
+ height:40px;
81
+ border-bottom:1px solid #E0EEF5;
13
82
  }
14
- .conversation .content_left{
83
+ .conversations .conversation .content_left {
15
84
  float:left;
16
85
  width:25%;
86
+ padding: 7px 0px 0px 0px;
17
87
  }
18
- .conversation .content_right{
88
+ .conversations .conversation .content_right {
19
89
  float:left;
20
90
  width:60%;
91
+ padding: 7px 0px 0px 0px;
21
92
  }
22
- .active {
23
- border:1px solid #E0EEF5;
24
- background-color: #E0EEF5;
25
- }
26
- .conversation .actor_photo {
93
+ .conversations .conversation .sender_photo {
27
94
  float:left;
28
- padding: 0px 5px 0px 0px;
95
+ padding: 2px 5px 0px 0px;
29
96
  }
30
- .conversation .action {
97
+ .conversations .conversation .action {
31
98
  float:right;
32
99
  }
33
- .conversation .actor_name {
34
- //border:1px solid #000000;
100
+ .conversations .conversation .sender_name {
101
+ }
102
+ .conversations .conversation .subject {
103
+ }
104
+ .conversations .unread .subject {
105
+ font-weight: bold;
35
106
  }
36
- .conversation .subject {
37
- //border:1px solid #000000;
107
+ .conversations .conversation .date {
38
108
  }
39
- .conversation .date {
40
- //border:1px solid #000000;
109
+ .conversations .conversation .briefing {
110
+ color: #2A48A0;
111
+ }
112
+ .conversations .conversation .notification {
113
+ float:left;
114
+ width:5px;
115
+ height:100%;
116
+ margin: 0px 5px 0px 0px;
41
117
  }
42
- .conversation .briefing {
43
- //border:1px solid #000000;
118
+ .conversations .unread .notification {
119
+ background-color: #2A3890;
44
120
  }