social_stream 0.11.2 → 0.11.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (168) hide show
  1. data/Gemfile +0 -9
  2. data/base/app/assets/stylesheets/contacts.css.scss +8 -3
  3. data/base/app/assets/stylesheets/frontpage.css.scss +1 -1
  4. data/base/app/assets/stylesheets/search.css.scss +17 -1
  5. data/base/app/controllers/contacts_controller.rb +2 -5
  6. data/base/app/models/contact.rb +3 -2
  7. data/base/app/views/activities/_options.html.erb +1 -1
  8. data/base/app/views/contacts/_form.html.erb +14 -7
  9. data/base/app/views/frontpage/_social_networks.html.erb +3 -0
  10. data/base/app/views/groups/_new.html.erb +2 -2
  11. data/base/app/views/groups/_show.html.erb +1 -2
  12. data/base/app/views/groups/index.html.erb +1 -1
  13. data/base/app/views/layouts/_header_signed_out.erb +1 -3
  14. data/base/app/views/notifications/activities/_follow_subject.html.erb +5 -2
  15. data/base/app/views/notifications/activities/_like_subject.html.erb +6 -2
  16. data/base/app/views/notifications/activities/_make-friend_subject.html.erb +5 -2
  17. data/base/app/views/notifications/activities/_post_subject.html.erb +6 -1
  18. data/base/app/views/notifications/activities/_update_body.html.erb +5 -1
  19. data/base/app/views/notifications/activities/_update_subject.html.erb +5 -1
  20. data/base/app/views/posts/_post_focus_search.html.erb +37 -3
  21. data/base/app/views/posts/_post_global_search.html.erb +2 -0
  22. data/base/app/views/profiles/_contact.html.erb +1 -1
  23. data/base/app/views/search/index.js.erb +2 -0
  24. data/base/app/views/toolbar/_home.html.erb +4 -0
  25. data/base/config/locales/en.yml +26 -0
  26. data/base/config/locales/es.yml +26 -0
  27. data/base/lib/mailboxer/notification_decoder.rb +8 -6
  28. data/base/lib/social_stream-base.rb +1 -1
  29. data/base/lib/social_stream/base/version.rb +1 -1
  30. data/base/lib/social_stream/migrations/components.rb +1 -1
  31. data/base/lib/social_stream/toolbar_config/base.rb +12 -1
  32. data/base/social_stream-base.gemspec +1 -1
  33. data/base/spec/controllers/contacts_controller_spec.rb +4 -4
  34. data/events/app/assets/javascripts/social_stream-events.js +2 -2
  35. data/events/app/assets/stylesheets/social_stream-events.css +3 -0
  36. data/events/{app → vendor}/assets/javascripts/jquery.ad-gallery.js +0 -0
  37. data/events/{app → vendor}/assets/javascripts/jquery.ad-gallery.pack.js +0 -0
  38. data/events/{app → vendor}/assets/stylesheets/ad_next.png +0 -0
  39. data/events/{app → vendor}/assets/stylesheets/ad_prev.png +0 -0
  40. data/events/{app → vendor}/assets/stylesheets/ad_scroll_back.png +0 -0
  41. data/events/{app → vendor}/assets/stylesheets/ad_scroll_forward.png +0 -0
  42. data/events/{app → vendor}/assets/stylesheets/fullcalendar.css +0 -0
  43. data/events/{app → vendor}/assets/stylesheets/fullcalendar.print.css +0 -0
  44. data/events/{app → vendor}/assets/stylesheets/jquery.ad-gallery.css +0 -0
  45. data/events/{app → vendor}/assets/stylesheets/loader.gif +0 -0
  46. data/events/vendor/assets/stylesheets/social_stream-events.css +273 -0
  47. data/lib/social_stream.rb +0 -4
  48. data/lib/social_stream/version.rb +1 -1
  49. data/presence/.gitignore +4 -0
  50. data/presence/Gemfile +4 -0
  51. data/presence/Rakefile +1 -0
  52. data/presence/app/assets/audio/chat/onMessageAudio.mp3 +0 -0
  53. data/presence/app/assets/audio/chat/onMessageAudio.wav +0 -0
  54. data/presence/app/assets/images/arrow.png +0 -0
  55. data/presence/app/assets/images/black_arrow3.png +0 -0
  56. data/presence/app/assets/images/status/available.png +0 -0
  57. data/presence/app/assets/images/status/away.png +0 -0
  58. data/presence/app/assets/images/status/dnd.png +0 -0
  59. data/presence/app/assets/javascripts/jquery-ui-1.8.14.custom.min.js +789 -0
  60. data/presence/app/assets/javascripts/jquery.tools.min.js +17 -0
  61. data/presence/app/assets/javascripts/jquery.tools.tooltip.js +11 -0
  62. data/presence/app/assets/javascripts/jquery.ui.chatbox.js +260 -0
  63. data/presence/app/assets/javascripts/social_stream-presence.js +2 -0
  64. data/presence/app/assets/javascripts/store.js +27 -0
  65. data/presence/app/assets/javascripts/strophe.js +3612 -0
  66. data/presence/app/assets/javascripts/xmpp_client.js +498 -0
  67. data/presence/app/assets/stylesheets/chat.css +231 -0
  68. data/presence/app/assets/stylesheets/jquery.ui.chatbox.css +54 -0
  69. data/presence/app/assets/stylesheets/social_stream-presence.css +3 -0
  70. data/presence/app/controllers/xmpp_controller.rb +190 -0
  71. data/presence/app/helpers/xmpp_helper.rb +33 -0
  72. data/presence/app/views/xmpp/_chat.html.erb +59 -0
  73. data/presence/app/views/xmpp/_chat_connecting.html.erb +8 -0
  74. data/presence/app/views/xmpp/_chat_contacts.html.erb +46 -0
  75. data/presence/app/views/xmpp/_chat_off.html.erb +35 -0
  76. data/presence/app/views/xmpp/active_users.html.erb +33 -0
  77. data/presence/app/views/xmpp/chat.html.erb +13 -0
  78. data/presence/app/views/xmpp/index.html +19 -0
  79. data/presence/app/views/xmpp/test.html.erb +11 -0
  80. data/presence/config/routes.rb +15 -0
  81. data/presence/db/migrate/20110711111408_add_connected_column_to_user.rb +9 -0
  82. data/presence/db/migrate/20110928135031_add_status_column_to_user.rb +9 -0
  83. data/presence/ejabberd/conf/ejabberd.cfg +625 -0
  84. data/presence/ejabberd/conf/ejabberdctl.cfg +154 -0
  85. data/presence/ejabberd/conf/inetrc +3 -0
  86. data/presence/ejabberd/conf/server.pem +37 -0
  87. data/presence/ejabberd/conf/ssconfig.cfg +29 -0
  88. data/presence/ejabberd/ejabberd_scripts/authentication_script +117 -0
  89. data/presence/ejabberd/ejabberd_scripts/authentication_script_org +114 -0
  90. data/presence/ejabberd/ejabberd_scripts/compile_module +34 -0
  91. data/presence/ejabberd/ejabberd_scripts/generate_random_password +18 -0
  92. data/presence/ejabberd/ejabberd_scripts/kill_authentication_script.sh +13 -0
  93. data/presence/ejabberd/ejabberd_scripts/reset_connection_script +55 -0
  94. data/presence/ejabberd/ejabberd_scripts/reset_logs.sh +23 -0
  95. data/presence/ejabberd/ejabberd_scripts/set_connection_script +48 -0
  96. data/presence/ejabberd/ejabberd_scripts/set_presence_script +48 -0
  97. data/presence/ejabberd/ejabberd_scripts/show_config.sh +30 -0
  98. data/presence/ejabberd/ejabberd_scripts/start_ejabberd.sh +68 -0
  99. data/presence/ejabberd/ejabberd_scripts/stop_ejabberd.sh +12 -0
  100. data/presence/ejabberd/ejabberd_scripts/synchronize_presence_script +57 -0
  101. data/presence/ejabberd/ejabberd_scripts/unset_connection_script +48 -0
  102. data/presence/ejabberd/mod_admin_extra/mod_admin_extra.beam +0 -0
  103. data/presence/ejabberd/mod_admin_extra/mod_admin_extra.erl +1560 -0
  104. data/presence/ejabberd/mod_sspresence/mod_sspresence.erl +230 -0
  105. data/presence/lib/social_stream-presence.rb +13 -0
  106. data/presence/lib/social_stream/migrations/presence.rb +9 -0
  107. data/presence/lib/social_stream/presence/config.rb +9 -0
  108. data/presence/lib/social_stream/presence/engine.rb +49 -0
  109. data/presence/lib/social_stream/presence/models/buddy_manager.rb +67 -0
  110. data/presence/social_stream-presence.gemspec +28 -0
  111. data/presence/spec/demo/.gitignore +5 -0
  112. data/presence/spec/demo/.rspec +1 -0
  113. data/presence/spec/demo/README +261 -0
  114. data/presence/spec/demo/Rakefile +7 -0
  115. data/presence/spec/demo/app/assets/images/rails.png +0 -0
  116. data/presence/spec/demo/app/assets/javascripts/application.js +9 -0
  117. data/presence/spec/demo/app/assets/stylesheets/application.css +7 -0
  118. data/presence/spec/demo/app/controllers/application_controller.rb +3 -0
  119. data/presence/spec/demo/app/helpers/application_helper.rb +2 -0
  120. data/presence/spec/demo/app/mailers/.gitkeep +0 -0
  121. data/presence/spec/demo/app/models/.gitkeep +0 -0
  122. data/presence/spec/demo/app/views/layouts/application.html.erb +14 -0
  123. data/presence/spec/demo/autotest/discover.rb +2 -0
  124. data/presence/spec/demo/config.ru +4 -0
  125. data/presence/spec/demo/config/application.rb +41 -0
  126. data/presence/spec/demo/config/boot.rb +6 -0
  127. data/presence/spec/demo/config/database.yml +25 -0
  128. data/presence/spec/demo/config/environment.rb +5 -0
  129. data/presence/spec/demo/config/environments/development.rb +27 -0
  130. data/presence/spec/demo/config/environments/production.rb +54 -0
  131. data/presence/spec/demo/config/environments/test.rb +39 -0
  132. data/presence/spec/demo/config/initializers/backtrace_silencers.rb +7 -0
  133. data/presence/spec/demo/config/initializers/inflections.rb +10 -0
  134. data/presence/spec/demo/config/initializers/mime_types.rb +5 -0
  135. data/presence/spec/demo/config/initializers/secret_token.rb +7 -0
  136. data/presence/spec/demo/config/initializers/session_store.rb +8 -0
  137. data/presence/spec/demo/config/initializers/wrap_parameters.rb +12 -0
  138. data/presence/spec/demo/config/locales/en.yml +5 -0
  139. data/presence/spec/demo/config/routes.rb +58 -0
  140. data/presence/spec/demo/db/seeds.rb +7 -0
  141. data/presence/spec/demo/doc/README_FOR_APP +2 -0
  142. data/presence/spec/demo/lib/tasks/.gitkeep +0 -0
  143. data/presence/spec/demo/log/.gitkeep +0 -0
  144. data/presence/spec/demo/public/404.html +26 -0
  145. data/presence/spec/demo/public/422.html +26 -0
  146. data/presence/spec/demo/public/500.html +26 -0
  147. data/presence/spec/demo/public/favicon.ico +0 -0
  148. data/presence/spec/demo/public/index.html +241 -0
  149. data/presence/spec/demo/public/robots.txt +5 -0
  150. data/presence/spec/demo/script/rails +6 -0
  151. data/presence/spec/demo/spec/spec_helper.rb +27 -0
  152. data/presence/spec/demo/test/fixtures/.gitkeep +0 -0
  153. data/presence/spec/demo/test/functional/.gitkeep +0 -0
  154. data/presence/spec/demo/test/integration/.gitkeep +0 -0
  155. data/presence/spec/demo/test/performance/browsing_test.rb +12 -0
  156. data/presence/spec/demo/test/test_helper.rb +13 -0
  157. data/presence/spec/demo/test/unit/.gitkeep +0 -0
  158. data/presence/spec/demo/vendor/assets/stylesheets/.gitkeep +0 -0
  159. data/presence/spec/demo/vendor/plugins/.gitkeep +0 -0
  160. data/presence/spec/discover.rb +2 -0
  161. data/presence/spec/spec_helper.rb +27 -0
  162. data/social_stream.gemspec +9 -2
  163. data/spec/dummy/config/environments/{test_pg.rb → test_mysql.rb} +6 -2
  164. data/spec/dummy/config/environments/test_postgres.rb +39 -0
  165. data/spec/spec_helper.rb +1 -4
  166. metadata +135 -21
  167. data/base/app/views/groups/_new_activity.html.erb +0 -1
  168. data/base/app/views/groups/_new_activity_fields.html.erb +0 -7
@@ -13,10 +13,11 @@ module Mailboxer
13
13
  notification_text = notification_text.gsub(/\%\{sender.name\}/,truncate_name(activity.sender.name))
14
14
 
15
15
  if activity.receiver.subject.is_a?(User)
16
- notification_text = notification_text.gsub(/\%\{whose\}/,"your")
17
- notification_text = notification_text.gsub(/\%\{who\}/,"you")
16
+ notification_text = notification_text.gsub(/\%\{whose\}/,t('notification.whose.user'))
17
+ notification_text = notification_text.gsub(/\%\{who\}/,t('notification.who.user'))
18
18
  else
19
- notification_text = notification_text.gsub(/\%\{whose\}/,truncate_name(activity.receiver.name)+"'s")
19
+ notification_text = notification_text.gsub(/\%\{whose\}/,t('notification.whose.others',
20
+ :receiver => truncate_name(activity.receiver.name)))
20
21
  notification_text = notification_text.gsub(/\%\{who\}/,truncate_name(activity.receiver.name))
21
22
  end
22
23
 
@@ -49,10 +50,11 @@ module Mailboxer
49
50
  notification_text = notification_text.gsub(/\%\{sender.name\}/,truncate_name(activity.sender.name))
50
51
 
51
52
  if activity.receiver.subject.is_a?(User)
52
- notification_text = notification_text.gsub(/\%\{whose\}/,"your")
53
- notification_text = notification_text.gsub(/\%\{who\}/,"you")
53
+ notification_text = notification_text.gsub(/\%\{whose\}/,t('notification.whose.user'))
54
+ notification_text = notification_text.gsub(/\%\{who\}/,t('notification.who.user'))
54
55
  else
55
- notification_text = notification_text.gsub(/\%\{whose\}/,truncate_name(activity.receiver.name)+"'s")
56
+ notification_text = notification_text.gsub(/\%\{whose\}/,t('notification.whose.others',
57
+ :receiver => truncate_name(activity.receiver.name)))
56
58
  notification_text = notification_text.gsub(/\%\{who\}/,truncate_name(activity.receiver.name))
57
59
  end
58
60
 
@@ -77,7 +77,7 @@ module SocialStream
77
77
  @@objects = [ :post, :comment ]
78
78
 
79
79
  mattr_accessor :activity_forms
80
- @@activity_forms = [ :post, :group ]
80
+ @@activity_forms = [ :post ]
81
81
 
82
82
  mattr_accessor :quick_search_models
83
83
  @@quick_search_models = [ :user, :group, :post ]
@@ -1,5 +1,5 @@
1
1
  module SocialStream
2
2
  module Base
3
- VERSION = "0.9.18".freeze
3
+ VERSION = "0.9.19".freeze
4
4
  end
5
5
  end
@@ -4,7 +4,7 @@ module SocialStream
4
4
  module Migrations
5
5
  class Components < Base
6
6
  def initialize
7
- @component = find_migration("social_stream-#{ self.class.name.split('::').last.tableize }")
7
+ @component = find_migration("social_stream-#{ self.class.name.split('::').last.underscore }")
8
8
  end
9
9
 
10
10
  def up(options = {})
@@ -4,7 +4,7 @@ module SocialStream
4
4
  # Base toolbar items
5
5
  def home_toolbar_items
6
6
  Array.new.tap do |items|
7
- #Contacts
7
+ #Contacts
8
8
  items << {
9
9
  :key => :contacts,
10
10
  :name => image_tag("btn/btn_friend.png")+t('contact.other'),
@@ -17,6 +17,17 @@ module SocialStream
17
17
  {:key => :invitations, :name => image_tag("btn/btn_invitation.png")+t('invitation.toolbar'), :url => new_invitation_path}
18
18
  ]
19
19
  }
20
+
21
+ # Groups
22
+ items << {
23
+ :key => :groups,
24
+ :name => image_tag("btn/btn_group.png") + t('group.other'),
25
+ :url => '#',
26
+ :options => { :link => { :id => "groups_menu" } },
27
+ :items => [
28
+ {:key => :new_group ,:name => image_tag("btn/btn_group.png")+t('group.new.action'),:url => new_group_path}
29
+ ]
30
+ }
20
31
  end
21
32
  end
22
33
 
@@ -26,7 +26,7 @@ Gem::Specification.new do |s|
26
26
  # Slug generation
27
27
  s.add_runtime_dependency('stringex', '~> 1.3.0')
28
28
  # Avatar attachments
29
- s.add_runtime_dependency('avatars_for_rails', '~> 0.1.4')
29
+ s.add_runtime_dependency('avatars_for_rails', '~> 0.1.5')
30
30
  # jQuery
31
31
  s.add_runtime_dependency('jquery-rails', '~> 1.0.9')
32
32
  # Authorization
@@ -28,7 +28,7 @@ describe ContactsController do
28
28
  sign_in @user
29
29
 
30
30
  put :update, :id => @tie.contact_id,
31
- :contact => { "relation_ids" => [ "gotcha", @user.relations.last.id ] }
31
+ :contact => { "relation_ids" => [ @user.relations.last.id ] }
32
32
 
33
33
  response.should redirect_to(@tie.receiver_subject)
34
34
  @user.reload.
@@ -46,7 +46,7 @@ describe ContactsController do
46
46
 
47
47
 
48
48
  put :update, :id => contact.id,
49
- :contact => { :relation_ids => [ "gotcha", @user.relations.last.id ],
49
+ :contact => { :relation_ids => [ @user.relations.last.id ],
50
50
  :message => "Testing" }
51
51
 
52
52
  response.should redirect_to(contact.receiver_subject)
@@ -67,7 +67,7 @@ describe ContactsController do
67
67
 
68
68
 
69
69
  put :update, :id => contact.id,
70
- :contact => { :relation_ids => [ "gotcha", relations.map(&:id) ].flatten,
70
+ :contact => { :relation_ids => relations.map(&:id),
71
71
  :message => "Testing" }
72
72
 
73
73
  response.should redirect_to(contact.receiver_subject)
@@ -96,7 +96,7 @@ describe ContactsController do
96
96
  sign_in @user
97
97
 
98
98
  put :update, :id => @contact,
99
- :contact => { "relation_ids" => [ "gotcha", @user.relations.last.id ] }
99
+ :contact => { "relation_ids" => [ @user.relations.last.id ] }
100
100
 
101
101
  response.should redirect_to(home_path)
102
102
  end
@@ -1,5 +1,5 @@
1
1
  //= require fullcalendar
2
2
  //= require gcal
3
+ //= require jquery.ad-gallery
4
+ //= require jquery.ad-gallery.pack
3
5
  //= require_tree .
4
-
5
-
@@ -9,6 +9,9 @@
9
9
  *= require_self
10
10
  *= require social_stream-base
11
11
  *= require social_stream-documents
12
+ *= require fullcalendar.print
13
+ *= require fullcalendar
14
+ *= require jquery.ad-gallery
12
15
  *= require_tree .
13
16
  */
14
17
  #filter_div
@@ -0,0 +1,273 @@
1
+ /*
2
+ *= require_tree .
3
+ */
4
+
5
+ /*
6
+ * This is a manifest file that'll automatically include all the stylesheets available in this directory
7
+ * and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
8
+ * the top of the compiled file, but it's generally better to create a new file per style scope.
9
+ *= require_self
10
+ *= require social_stream-base
11
+ *= require social_stream-documents
12
+ *= require_tree .
13
+ */
14
+ #filter_div
15
+ {
16
+ float: right;
17
+ height: 10px;
18
+ padding-top: 5px;
19
+ width: 76px;
20
+ z-index: 2000;
21
+ }
22
+ #calendar{margin-top:-9px;}
23
+ #fc-btn-agenda{ padding-left: 1px;}
24
+
25
+ #founder{ padding: 1px; padding-top: 5px; text-align: center; }
26
+ #founder #created{display: inline-block;}
27
+ #founder #thumb{display: inline-block;}
28
+
29
+ .sb_wrapper input[type="text"],
30
+ ul.sb_dropdown{
31
+ border:1px solid #fff;
32
+ background: #fafafa;
33
+ background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#fafafa));
34
+ background: -moz-linear-gradient(top, #f2f2f2, #fafafa);
35
+ font-size:24px;
36
+ font-family:"Myriad Pro", "Trebuchet MS", sans-serif;
37
+ -moz-box-shadow:1px 1px 3px #555;
38
+ -webkit-box-shadow:1px 1px 3px #555;
39
+ -box-shadow:1px 1px 3px #555;
40
+ outline:none;
41
+ padding:6px 5px 6px 20px;
42
+ text-shadow:1px 1px 1px #fff;
43
+ width:295px;
44
+ float:left;
45
+ margin:3px 0px;
46
+ }
47
+ ul.sb_dropdown{
48
+ float:left;
49
+ margin-right:50px;
50
+ list-style:none;
51
+ width:295px;
52
+ padding:6px 5px;
53
+ -moz-border-radius:0px 0px 10px 10px;
54
+ -webkit-border-bottom-right-radius:10px;
55
+ -webkit-border-bottom-left-radius:10px;
56
+ border-bottom-right-radius:10px;
57
+ border-bottom-left-radius:10px;
58
+ }
59
+ ul.sb_dropdown li{
60
+ font-size:8px;
61
+ line-height:2px;
62
+ height:22px;
63
+ float:left;
64
+ width:30%;
65
+ }
66
+ ul.sb_dropdown li input[type="checkbox"]{
67
+ float:left;
68
+ margin:10px 4px 0 5px;
69
+ }
70
+ ul.sb_dropdown li.sb_filter{
71
+ width:148px;
72
+ border:1px solid #f9f9f9;
73
+ clear:both;
74
+ background: #ddd;
75
+ font-size:12px;
76
+ text-transform:uppercase;
77
+ letter-spacing:1px;
78
+ color:#444;
79
+ height:16px;
80
+ line-height:16px;
81
+ padding:5px;
82
+ -moz-box-shadow:0px 0px 2px #777;
83
+ -webkit-box-shadow:0px 0px 3px #555 inset;
84
+ -box-shadow:0px 0px 3px #555 inset;
85
+
86
+ }
87
+ span.sb_up,
88
+ span.sb_down{
89
+ margin-top:10px;
90
+ padding:5px 25px 5px 25px;
91
+ width:14px;
92
+ height:41px;
93
+ background-color:#f2f2f2;
94
+ background-position:center center;
95
+ background-repeat: no-repeat;
96
+ z-index:10;
97
+ border:1px solid #fff;
98
+ -moz-box-shadow:1px 0px 1px #ddd;
99
+ -webkit-box-shadow:1px 0px 1px #ddd;
100
+ -box-shadow:1px 0px 1px #ddd;
101
+
102
+ }
103
+ span.sb_up{
104
+ background-image:url(../icons/up.png);
105
+ }
106
+ span.sb_down{
107
+ background-image:url(../icons/down.png);
108
+ }
109
+ input.sb_search{
110
+ background:#f2f2f2 url(../icons/search.png) no-repeat center center;
111
+ height:43px;
112
+ width:50px;
113
+ float:left;
114
+ border:none;
115
+ margin:3px 0px;
116
+ border:1px solid #fff;
117
+ -moz-box-shadow:1px 1px 3px #555;
118
+ -webkit-box-shadow:1px 1px 3px #555;
119
+ -box-shadow:1px 1px 3px #555;
120
+ outline:none;
121
+ cursor:pointer;
122
+ }
123
+ input.sb_search:hover{
124
+ background-color:#fff;
125
+ }
126
+
127
+ .space_center_manage
128
+ {
129
+ padding-right: 0;
130
+ padding-top: 9px;
131
+ text-align: left;
132
+ }
133
+ .tie_form {
134
+ display: inline;
135
+ height: 1%;
136
+ margin: 0 0;
137
+ overflow: hidden;
138
+ }
139
+ #contact_data{width: 250px;}
140
+
141
+
142
+ .session_wrapper1,.session_wrapper2{float:left;display:block;}
143
+ .session_wrapper1{
144
+ width:14%;
145
+ text-align:center;
146
+ margin:15px 0 15px 0;
147
+ color:#000;
148
+ }
149
+ .session_wrapper2{width:86%;padding-top: 5px;}
150
+
151
+ .event_date_image{margin: 0px 10px 0px 0px;width:100%;color:black;text-align:center;font-weight: bold;vertical-align: middle;}
152
+ .event_day{font-size: 3.5em;line-height:90%;}
153
+ .event_month{font-size: 2.5em;line-height:80%;}
154
+ .event_year{font-size: 1.2em;line-height:110%;}
155
+ .event_hour{font-size: 1.5em;line-height:80%;min-width: 30px; min-height: 20px;}
156
+ .event_day_name{font-size: 1em;line-height:80%;}
157
+ .event_time{font-size: 1em; line-height:50%;}
158
+
159
+ .session_title{
160
+ border-bottom: 1px solid #ccc;
161
+ width: 100%;
162
+ }
163
+
164
+ .schedule{ height: 85px;}
165
+
166
+ .block .session{height: 110px;}
167
+ .block .session_title_black {color: black;}
168
+ .block .session_content{font-size: 13px;}
169
+
170
+
171
+
172
+
173
+
174
+ .sb_wrapper input[type="text"],
175
+ ul.sb_dropdown{
176
+ border:1px solid #fff;
177
+ background: #fafafa;
178
+ background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#fafafa));
179
+ background: -moz-linear-gradient(top, #f2f2f2, #fafafa);
180
+ font-size:24px;
181
+ font-family:"Myriad Pro", "Trebuchet MS", sans-serif;
182
+ -moz-box-shadow:1px 1px 3px #555;
183
+ -webkit-box-shadow:1px 1px 3px #555;
184
+ -box-shadow:1px 1px 3px #555;
185
+ outline:none;
186
+ padding:6px 5px 6px 20px;
187
+ text-shadow:1px 1px 1px #fff;
188
+ width:100px;
189
+ float: right;
190
+ margin:3px 0px;
191
+ margin-right:0px;
192
+ z-index: 2000;
193
+ }s
194
+ ul.sb_dropdown{
195
+ float:right;
196
+ list-style:none;
197
+ z-index:2000;
198
+ width:150px;
199
+ padding:6px 5px;
200
+ -moz-border-radius:0px 0px 10px 10px;
201
+ -webkit-border-bottom-right-radius:10px;
202
+ -webkit-border-bottom-left-radius:10px;
203
+ border-bottom-right-radius:10px;
204
+ border-bottom-left-radius:10px;
205
+ }
206
+ ul.sb_dropdown li{
207
+ float: left;
208
+ font-size: 12px;
209
+ height: 25px;
210
+ line-height: 10px;
211
+ width: 100%;
212
+ }
213
+ ul.sb_dropdown li input[type="checkbox"]{
214
+ float:right;
215
+ margin:0px 3px 0 5px;
216
+ }
217
+ ul.sb_dropdown li.sb_filter{
218
+ width:295px;
219
+ border:1px solid #f9f9f9;
220
+ clear:both;
221
+ background: #ddd;
222
+ font-size:12px;
223
+ text-transform:uppercase;
224
+ letter-spacing:1px;
225
+ color:#444;
226
+ height:16px;
227
+ line-height:16px;
228
+ padding:5px;
229
+ -moz-box-shadow:0px 0px 2px #777;
230
+ -webkit-box-shadow:0px 0px 3px #555 inset;
231
+ -box-shadow:0px 0px 3px #555 inset;
232
+
233
+ }
234
+ span.sb_up,
235
+ span.sb_down{
236
+
237
+ width:14px;
238
+ height:41px;
239
+ background-color:#f2f2f2;
240
+ /*background-position:center center;*/
241
+ background-position: left center;
242
+ background-repeat: no-repeat;
243
+ z-index:10;
244
+ border:1px solid #fff;
245
+ -moz-box-shadow:1px 0px 1px #ddd;
246
+ -webkit-box-shadow:1px 0px 1px #ddd;
247
+ -box-shadow:1px 0px 1px #ddd;
248
+
249
+ }
250
+ span.sb_up{
251
+ background-image:url("icons/up.png");
252
+ }
253
+ span.sb_down{
254
+ background-image:url("icons/down.png");
255
+ }
256
+ input.sb_search{
257
+ background:#f2f2f2 url("icons/search.png") no-repeat center center;
258
+ height:43px;
259
+ width:50px;
260
+ float:left;
261
+ border:none;
262
+ margin:3px 0px;
263
+ border:1px solid #fff;
264
+ -moz-box-shadow:1px 1px 3px #555;
265
+ -webkit-box-shadow:1px 1px 3px #555;
266
+ -box-shadow:1px 1px 3px #555;
267
+ outline:none;
268
+ cursor:pointer;
269
+ }
270
+ input.sb_search:hover{
271
+ background-color:#fff;
272
+ }
273
+