vkhater-social_stream-base 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +16 -0
- data/.rspec +1 -0
- data/.yardopts +2 -0
- data/Gemfile +10 -0
- data/LICENSE +20 -0
- data/README.rdoc +68 -0
- data/Rakefile +35 -0
- data/app/assets/images/HTML5.png +0 -0
- data/app/assets/images/HTML5_Semantics.png +0 -0
- data/app/assets/images/HTML5_Styling.png +0 -0
- data/app/assets/images/Jcrop.gif +0 -0
- data/app/assets/images/arrow-end.png +0 -0
- data/app/assets/images/arrow-start.png +0 -0
- data/app/assets/images/arrow.png +0 -0
- data/app/assets/images/big-logo.png +0 -0
- data/app/assets/images/btn/1-facebook.png +0 -0
- data/app/assets/images/btn/_notes/btn_certificates.png.mno +4 -0
- data/app/assets/images/btn/activity.png +0 -0
- data/app/assets/images/btn/arrowBlue.png +0 -0
- data/app/assets/images/btn/arrow_session_change.png +0 -0
- data/app/assets/images/btn/arrows-ffffff.png +0 -0
- data/app/assets/images/btn/bold.png +0 -0
- data/app/assets/images/btn/btn_account.png +0 -0
- data/app/assets/images/btn/btn_activities.png +0 -0
- data/app/assets/images/btn/btn_bookmark.png +0 -0
- data/app/assets/images/btn/btn_browse.png +0 -0
- data/app/assets/images/btn/btn_check.png +0 -0
- data/app/assets/images/btn/btn_close.png +0 -0
- data/app/assets/images/btn/btn_comment.png +0 -0
- data/app/assets/images/btn/btn_comment_add.png +0 -0
- data/app/assets/images/btn/btn_config.png +0 -0
- data/app/assets/images/btn/btn_date.png +0 -0
- data/app/assets/images/btn/btn_delete.png +0 -0
- data/app/assets/images/btn/btn_down.png +0 -0
- data/app/assets/images/btn/btn_edit.png +0 -0
- data/app/assets/images/btn/btn_exit.png +0 -0
- data/app/assets/images/btn/btn_find.png +0 -0
- data/app/assets/images/btn/btn_follow.png +0 -0
- data/app/assets/images/btn/btn_foward.png +0 -0
- data/app/assets/images/btn/btn_friend.png +0 -0
- data/app/assets/images/btn/btn_gallery.png +0 -0
- data/app/assets/images/btn/btn_group.png +0 -0
- data/app/assets/images/btn/btn_help.png +0 -0
- data/app/assets/images/btn/btn_home.png +0 -0
- data/app/assets/images/btn/btn_inbox.png +0 -0
- data/app/assets/images/btn/btn_info.png +0 -0
- data/app/assets/images/btn/btn_invitation.png +0 -0
- data/app/assets/images/btn/btn_like.png +0 -0
- data/app/assets/images/btn/btn_next.png +0 -0
- data/app/assets/images/btn/btn_notification.png +0 -0
- data/app/assets/images/btn/btn_notification_delete.png +0 -0
- data/app/assets/images/btn/btn_notification_read.png +0 -0
- data/app/assets/images/btn/btn_notifications.png +0 -0
- data/app/assets/images/btn/btn_page_link.png +0 -0
- data/app/assets/images/btn/btn_partner.png +0 -0
- data/app/assets/images/btn/btn_photo.png +0 -0
- data/app/assets/images/btn/btn_play.png +0 -0
- data/app/assets/images/btn/btn_printer.png +0 -0
- data/app/assets/images/btn/btn_profile.png +0 -0
- data/app/assets/images/btn/btn_rank.png +0 -0
- data/app/assets/images/btn/btn_read.png +0 -0
- data/app/assets/images/btn/btn_security.png +0 -0
- data/app/assets/images/btn/btn_send.png +0 -0
- data/app/assets/images/btn/btn_spam.png +0 -0
- data/app/assets/images/btn/btn_star.png +0 -0
- data/app/assets/images/btn/btn_tag.png +0 -0
- data/app/assets/images/btn/btn_write.png +0 -0
- data/app/assets/images/btn/close.png +0 -0
- data/app/assets/images/btn/date.png +0 -0
- data/app/assets/images/btn/delete.png +0 -0
- data/app/assets/images/btn/download.png +0 -0
- data/app/assets/images/btn/edit.png +0 -0
- data/app/assets/images/btn/error.png +0 -0
- data/app/assets/images/btn/facebook.png +0 -0
- data/app/assets/images/btn/flag.png +0 -0
- data/app/assets/images/btn/group_left.png +0 -0
- data/app/assets/images/btn/group_right.png +0 -0
- data/app/assets/images/btn/header_notifications.png +0 -0
- data/app/assets/images/btn/index_71.png +0 -0
- data/app/assets/images/btn/info.png +0 -0
- data/app/assets/images/btn/italic.png +0 -0
- data/app/assets/images/btn/like.png +0 -0
- data/app/assets/images/btn/linkedin.png +0 -0
- data/app/assets/images/btn/message_conversation.png +0 -0
- data/app/assets/images/btn/message_inbox.png +0 -0
- data/app/assets/images/btn/message_new.png +0 -0
- data/app/assets/images/btn/message_sentbox.png +0 -0
- data/app/assets/images/btn/message_trash.png +0 -0
- data/app/assets/images/btn/new.png +0 -0
- data/app/assets/images/btn/next_conference.png +0 -0
- data/app/assets/images/btn/next_space.png +0 -0
- data/app/assets/images/btn/nolike.png +0 -0
- data/app/assets/images/btn/notifications.png +0 -0
- data/app/assets/images/btn/pixel.png +0 -0
- data/app/assets/images/btn/point_blue.png +0 -0
- data/app/assets/images/btn/point_gray.png +0 -0
- data/app/assets/images/btn/post.png +0 -0
- data/app/assets/images/btn/search.png +0 -0
- data/app/assets/images/btn/search_icon.png +0 -0
- data/app/assets/images/btn/shadow.png +0 -0
- data/app/assets/images/btn/share.png +0 -0
- data/app/assets/images/btn/subtime.png +0 -0
- data/app/assets/images/btn/success.png +0 -0
- data/app/assets/images/btn/tag_cloud.png +0 -0
- data/app/assets/images/btn/twitter-follow-icon.png +0 -0
- data/app/assets/images/btn/twitter.png +0 -0
- data/app/assets/images/btn/uno.png +0 -0
- data/app/assets/images/btn/viewer.png +0 -0
- data/app/assets/images/btn/warning.png +0 -0
- data/app/assets/images/cancel.png +0 -0
- data/app/assets/images/cleditor/buttons.gif +0 -0
- data/app/assets/images/cleditor/toolbar.gif +0 -0
- data/app/assets/images/frontpage/collaborate.png +0 -0
- data/app/assets/images/frontpage/comments.png +0 -0
- data/app/assets/images/frontpage/green_sq.png +0 -0
- data/app/assets/images/frontpage/meet.png +0 -0
- data/app/assets/images/frontpage/people.png +0 -0
- data/app/assets/images/frontpage/purple_sq.png +0 -0
- data/app/assets/images/frontpage/right_comments.gif +0 -0
- data/app/assets/images/frontpage/right_conference.png +0 -0
- data/app/assets/images/frontpage/right_organizers.gif +0 -0
- data/app/assets/images/frontpage/right_people.gif +0 -0
- data/app/assets/images/frontpage/right_social.gif +0 -0
- data/app/assets/images/frontpage/right_tags.gif +0 -0
- data/app/assets/images/frontpage/right_webcam.gif +0 -0
- data/app/assets/images/frontpage/share.png +0 -0
- data/app/assets/images/frontpage/tags.png +0 -0
- data/app/assets/images/frontpage/yellow_sq.png +0 -0
- data/app/assets/images/header-logo.png +0 -0
- data/app/assets/images/html5-badge-h-css3-semantics.png +0 -0
- data/app/assets/images/icon_checkbox.png +0 -0
- data/app/assets/images/icons/favicon.ico +0 -0
- data/app/assets/images/left.png +0 -0
- data/app/assets/images/lightbox-blank.gif +0 -0
- data/app/assets/images/lightbox-btn-close.gif +0 -0
- data/app/assets/images/lightbox-btn-next.gif +0 -0
- data/app/assets/images/lightbox-btn-prev.gif +0 -0
- data/app/assets/images/lightbox-ico-loading.gif +0 -0
- data/app/assets/images/loader.gif +0 -0
- data/app/assets/images/loading.gif +0 -0
- data/app/assets/images/logo.png +0 -0
- data/app/assets/images/logos/actor/group.png +0 -0
- data/app/assets/images/logos/actor/remote_subject.png +0 -0
- data/app/assets/images/logos/actor/remote_user.png +0 -0
- data/app/assets/images/logos/actor/user.png +0 -0
- data/app/assets/images/logos/contact/group.png +0 -0
- data/app/assets/images/logos/contact/user.png +0 -0
- data/app/assets/images/logos/original/group.png +0 -0
- data/app/assets/images/logos/original/user.png +0 -0
- data/app/assets/images/logos/profile/group.png +0 -0
- data/app/assets/images/logos/profile/user.png +0 -0
- data/app/assets/images/logos/representation/group.png +0 -0
- data/app/assets/images/logos/representation/user.png +0 -0
- data/app/assets/images/mini-loading.gif +0 -0
- data/app/assets/images/right.png +0 -0
- data/app/assets/images/tipsy.gif +0 -0
- data/app/assets/javascripts/activities.js.erb +250 -0
- data/app/assets/javascripts/activities_security_chosen-modified.jquery.js +767 -0
- data/app/assets/javascripts/cheesecake.js +6 -0
- data/app/assets/javascripts/contacts.js +4 -0
- data/app/assets/javascripts/conversations.js +3 -0
- data/app/assets/javascripts/groups.js +5 -0
- data/app/assets/javascripts/invitations.js +8 -0
- data/app/assets/javascripts/jquery.ad-gallery.js +850 -0
- data/app/assets/javascripts/jquery.ad-gallery.pack.js +10 -0
- data/app/assets/javascripts/layouts.js +21 -0
- data/app/assets/javascripts/messages.js +4 -0
- data/app/assets/javascripts/posts.js +1 -0
- data/app/assets/javascripts/preloader.js +6 -0
- data/app/assets/javascripts/profiles.js +9 -0
- data/app/assets/javascripts/relation_customs.js +32 -0
- data/app/assets/javascripts/search.js.erb +3 -0
- data/app/assets/javascripts/settings.js +14 -0
- data/app/assets/javascripts/social_stream-base.js +11 -0
- data/app/assets/javascripts/ties.js +67 -0
- data/app/assets/javascripts/toolbar.js +1 -0
- data/app/assets/javascripts/users.js +2 -0
- data/app/assets/stylesheets/0_devise_sign.css +28 -0
- data/app/assets/stylesheets/_colors.scss +25 -0
- data/app/assets/stylesheets/activities.css.scss +88 -0
- data/app/assets/stylesheets/base.css.scss +257 -0
- data/app/assets/stylesheets/cheesecake.css.scss +55 -0
- data/app/assets/stylesheets/contacts.css.scss +100 -0
- data/app/assets/stylesheets/conversations.css +4 -0
- data/app/assets/stylesheets/footer.css.scss +22 -0
- data/app/assets/stylesheets/frontpage.css.scss +70 -0
- data/app/assets/stylesheets/groups.css +4 -0
- data/app/assets/stylesheets/header.css.scss +203 -0
- data/app/assets/stylesheets/home.css.scss +53 -0
- data/app/assets/stylesheets/images/add-policy.png +0 -0
- data/app/assets/stylesheets/images/fcbkcomplete/close.gif +0 -0
- data/app/assets/stylesheets/images/loading.gif +0 -0
- data/app/assets/stylesheets/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/app/assets/stylesheets/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/app/assets/stylesheets/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/app/assets/stylesheets/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/app/assets/stylesheets/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/app/assets/stylesheets/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/app/assets/stylesheets/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/app/assets/stylesheets/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/app/assets/stylesheets/images/ui-icons_222222_256x240.png +0 -0
- data/app/assets/stylesheets/images/ui-icons_2e83ff_256x240.png +0 -0
- data/app/assets/stylesheets/images/ui-icons_454545_256x240.png +0 -0
- data/app/assets/stylesheets/images/ui-icons_888888_256x240.png +0 -0
- data/app/assets/stylesheets/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/app/assets/stylesheets/invitations.css +3 -0
- data/app/assets/stylesheets/location.css.scss +38 -0
- data/app/assets/stylesheets/menu.css.scss +19 -0
- data/app/assets/stylesheets/messages.css.scss +141 -0
- data/app/assets/stylesheets/opa75.png +0 -0
- data/app/assets/stylesheets/profiles.css +4 -0
- data/app/assets/stylesheets/relation_customs.css.scss +233 -0
- data/app/assets/stylesheets/search.css.scss +165 -0
- data/app/assets/stylesheets/settings.css +9 -0
- data/app/assets/stylesheets/social_stream-base.css +5 -0
- data/app/assets/stylesheets/ties.css.scss +12 -0
- data/app/assets/stylesheets/toolbar.css +10 -0
- data/app/assets/stylesheets/users.css +4 -0
- data/app/controllers/activities_controller.rb +19 -0
- data/app/controllers/api_controller.rb +38 -0
- data/app/controllers/authentications_controller.rb +17 -0
- data/app/controllers/cheesecake_controller.rb +9 -0
- data/app/controllers/comments_controller.rb +8 -0
- data/app/controllers/contacts_controller.rb +95 -0
- data/app/controllers/conversations_controller.rb +102 -0
- data/app/controllers/frontpage_controller.rb +23 -0
- data/app/controllers/groups_controller.rb +58 -0
- data/app/controllers/home_controller.rb +3 -0
- data/app/controllers/invitations_controller.rb +36 -0
- data/app/controllers/likes_controller.rb +41 -0
- data/app/controllers/messages_controller.rb +87 -0
- data/app/controllers/notifications_controller.rb +73 -0
- data/app/controllers/omniauth_callbacks_controller.rb +17 -0
- data/app/controllers/permissions_controller.rb +15 -0
- data/app/controllers/posts_controller.rb +3 -0
- data/app/controllers/profiles_controller.rb +9 -0
- data/app/controllers/relation/customs_controller.rb +6 -0
- data/app/controllers/search_controller.rb +79 -0
- data/app/controllers/settings_controller.rb +43 -0
- data/app/controllers/subjects_controller.rb +7 -0
- data/app/controllers/tags_controller.rb +15 -0
- data/app/controllers/ties_controller.rb +11 -0
- data/app/controllers/users_controller.rb +31 -0
- data/app/helpers/activities_helper.rb +37 -0
- data/app/helpers/contacts_helper.rb +24 -0
- data/app/helpers/groups_helper.rb +3 -0
- data/app/helpers/location_helper.rb +46 -0
- data/app/helpers/permissions_helper.rb +16 -0
- data/app/helpers/profiles_helper.rb +37 -0
- data/app/helpers/search_helper.rb +38 -0
- data/app/helpers/settings_helper.rb +9 -0
- data/app/helpers/sidebar_helper.rb +10 -0
- data/app/helpers/subjects_helper.rb +15 -0
- data/app/helpers/toolbar_helper.rb +109 -0
- data/app/helpers/users_helper.rb +4 -0
- data/app/mailers/invitation_mailer.rb +11 -0
- data/app/models/ability.rb +2 -0
- data/app/models/activity.rb +390 -0
- data/app/models/activity_object.rb +64 -0
- data/app/models/activity_object_activity.rb +14 -0
- data/app/models/activity_verb.rb +22 -0
- data/app/models/actor.rb +553 -0
- data/app/models/audience.rb +9 -0
- data/app/models/authentication.rb +3 -0
- data/app/models/comment.rb +10 -0
- data/app/models/contact.rb +209 -0
- data/app/models/group.rb +51 -0
- data/app/models/like.rb +49 -0
- data/app/models/permission.rb +52 -0
- data/app/models/post.rb +12 -0
- data/app/models/profile.rb +58 -0
- data/app/models/relation.rb +169 -0
- data/app/models/relation/custom.rb +112 -0
- data/app/models/relation/public.rb +11 -0
- data/app/models/relation/reject.rb +3 -0
- data/app/models/relation/single.rb +22 -0
- data/app/models/relation_permission.rb +4 -0
- data/app/models/tie.rb +147 -0
- data/app/models/user.rb +148 -0
- data/app/views/activities/_activity.html.erb +5 -0
- data/app/views/activities/_child.html.erb +18 -0
- data/app/views/activities/_comments.html.erb +3 -0
- data/app/views/activities/_filter.html.erb +83 -0
- data/app/views/activities/_index.html.erb +14 -0
- data/app/views/activities/_new.html.erb +56 -0
- data/app/views/activities/_options.html.erb +27 -0
- data/app/views/activities/_root.html.erb +37 -0
- data/app/views/activities/_wall.html.erb +5 -0
- data/app/views/activities/index.html.erb +0 -0
- data/app/views/activities/index.js.erb +3 -0
- data/app/views/activity_objects/_activity_object.html.erb +7 -0
- data/app/views/actors/_actor.html.erb +0 -0
- data/app/views/actors/_actor_cheesecake.html.erb +4 -0
- data/app/views/api/activity_atom_feed.atom.builder +40 -0
- data/app/views/avatars/index.html.erb +15 -0
- data/app/views/avatars/update.js.erb +15 -0
- data/app/views/cheesecake/_index.html.erb +38 -0
- data/app/views/cheesecake/index.html.erb +10 -0
- data/app/views/comments/_comment.html.erb +1 -0
- data/app/views/comments/_new.html.erb +47 -0
- data/app/views/comments/create.js.erb +10 -0
- data/app/views/comments/destroy.js.erb +1 -0
- data/app/views/contacts/_contact.html.erb +20 -0
- data/app/views/contacts/_form.html.erb +38 -0
- data/app/views/contacts/_index.html.erb +40 -0
- data/app/views/contacts/_link.html.erb +9 -0
- data/app/views/contacts/_pendings.html.erb +18 -0
- data/app/views/contacts/_suggestions.html.erb +15 -0
- data/app/views/contacts/_suggestions_and_pendings.html.erb +6 -0
- data/app/views/contacts/destroy.js.erb +6 -0
- data/app/views/contacts/edit.html.erb +6 -0
- data/app/views/contacts/index.html.erb +37 -0
- data/app/views/contacts/index.js.erb +3 -0
- data/app/views/contacts/new.html.erb +5 -0
- data/app/views/contacts/suggestion.html.erb +1 -0
- data/app/views/contacts/suggestion.js.erb +1 -0
- data/app/views/conversations/_conversation.html.erb +38 -0
- data/app/views/conversations/_conversation_full.html.erb +71 -0
- data/app/views/conversations/_conversations.html.erb +5 -0
- data/app/views/conversations/_index.html.erb +11 -0
- data/app/views/conversations/_show.html.erb +13 -0
- data/app/views/conversations/edit.html.erb +10 -0
- data/app/views/conversations/index.html.erb +15 -0
- data/app/views/conversations/index.js.erb +6 -0
- data/app/views/conversations/show.html.erb +33 -0
- data/app/views/conversations/show.js.erb +26 -0
- data/app/views/devise/passwords/edit.html.erb +21 -0
- data/app/views/devise/passwords/new.html.erb +27 -0
- data/app/views/devise/registrations/_delete_account.html.erb +20 -0
- data/app/views/devise/registrations/_edit_user.html.erb +113 -0
- data/app/views/devise/registrations/edit.html.erb +20 -0
- data/app/views/devise/registrations/new.html.erb +44 -0
- data/app/views/devise/sessions/new.html.erb +35 -0
- data/app/views/devise/shared/_links.erb +25 -0
- data/app/views/frontpage/_caracteristics.html.erb +23 -0
- data/app/views/frontpage/_social_networks.html.erb +3 -0
- data/app/views/frontpage/_sponsor.html.erb +12 -0
- data/app/views/frontpage/host_meta.xml.builder +11 -0
- data/app/views/frontpage/index.html.erb +69 -0
- data/app/views/groups/_group.html.erb +4 -0
- data/app/views/groups/_group_focus_search.html.erb +2 -0
- data/app/views/groups/_group_global_search.html.erb +2 -0
- data/app/views/groups/_group_with_details.html.erb +2 -0
- data/app/views/groups/_index.html.erb +19 -0
- data/app/views/groups/_new.html.erb +81 -0
- data/app/views/groups/_show.html.erb +33 -0
- data/app/views/groups/_tag_cloud.html.erb +25 -0
- data/app/views/groups/index.html.erb +57 -0
- data/app/views/groups/index.js.erb +1 -0
- data/app/views/groups/new.html.erb +9 -0
- data/app/views/groups/show.html.erb +1 -0
- data/app/views/groups/show.js.erb +2 -0
- data/app/views/home/_groups.html.erb +24 -0
- data/app/views/home/index.html.erb +19 -0
- data/app/views/home/index.js.erb +5 -0
- data/app/views/invitation_mailer/send_invitation.html.erb +79 -0
- data/app/views/invitation_mailer/send_invitation.text.erb +21 -0
- data/app/views/invitations/_new.html.erb +28 -0
- data/app/views/invitations/new.html.erb +9 -0
- data/app/views/invitations/new.js.erb +4 -0
- data/app/views/layouts/_account.html.erb +18 -0
- data/app/views/layouts/_flash.html.erb +5 -0
- data/app/views/layouts/_footer.html.erb +16 -0
- data/app/views/layouts/_header.erb +5 -0
- data/app/views/layouts/_header_dropdown_menu.html.erb +19 -0
- data/app/views/layouts/_header_dropdown_menu_sessions.html.erb +14 -0
- data/app/views/layouts/_header_signed_in.erb +45 -0
- data/app/views/layouts/_header_signed_out.erb +34 -0
- data/app/views/layouts/_representation.html.erb +28 -0
- data/app/views/layouts/_search.html.erb +62 -0
- data/app/views/layouts/_settings.html.erb +18 -0
- data/app/views/layouts/application.html.erb +60 -0
- data/app/views/layouts/frontpage.html.erb +43 -0
- data/app/views/likes/create.js.erb +2 -0
- data/app/views/likes/destroy.js.erb +1 -0
- data/app/views/location/_location.html.erb +3 -0
- data/app/views/location/_location_body.html.erb +18 -0
- data/app/views/message_mailer/new_message_email.html.erb +35 -0
- data/app/views/message_mailer/new_message_email.text.erb +8 -0
- data/app/views/message_mailer/reply_message_email.html.erb +35 -0
- data/app/views/message_mailer/reply_message_email.text.erb +8 -0
- data/app/views/messages/_form.html.erb +39 -0
- data/app/views/messages/_message.html.erb +31 -0
- data/app/views/messages/_new.html.erb +10 -0
- data/app/views/messages/new.html.erb +37 -0
- data/app/views/messages/new.js.erb +28 -0
- data/app/views/notification_mailer/new_notification_email.html.erb +35 -0
- data/app/views/notification_mailer/new_notification_email.text.erb +9 -0
- data/app/views/notifications/_index.html.erb +21 -0
- data/app/views/notifications/_notification.html.erb +41 -0
- data/app/views/notifications/activities/_follow.html.erb +10 -0
- data/app/views/notifications/activities/_follow.text.erb +8 -0
- data/app/views/notifications/activities/_like.html.erb +30 -0
- data/app/views/notifications/activities/_like.text.erb +23 -0
- data/app/views/notifications/activities/_make-friend.html.erb +10 -0
- data/app/views/notifications/activities/_make-friend.text.erb +7 -0
- data/app/views/notifications/activities/_post.html.erb +22 -0
- data/app/views/notifications/activities/_post.text.erb +17 -0
- data/app/views/notifications/activities/_update.html.erb +18 -0
- data/app/views/notifications/activities/_update.text.erb +15 -0
- data/app/views/notifications/index.html.erb +13 -0
- data/app/views/notifications/index.js.erb +6 -0
- data/app/views/objects/_destroy.js.erb +2 -0
- data/app/views/objects/_new_activity.html.erb +8 -0
- data/app/views/objects/_show.html.erb +3 -0
- data/app/views/permissions/_index.html.erb +35 -0
- data/app/views/permissions/index.js.erb +15 -0
- data/app/views/posts/_new_activity.html.erb +1 -0
- data/app/views/posts/_new_activity_fields.erb +7 -0
- data/app/views/posts/_post.html.erb +3 -0
- data/app/views/posts/_post_focus_search.html.erb +37 -0
- data/app/views/posts/_post_global_search.html.erb +18 -0
- data/app/views/posts/_post_with_details.html.erb +3 -0
- data/app/views/posts/create.js.erb +7 -0
- data/app/views/posts/destroy.js.erb +1 -0
- data/app/views/posts/show.html.erb +10 -0
- data/app/views/profiles/_contact.html.erb +81 -0
- data/app/views/profiles/_experience.html.erb +22 -0
- data/app/views/profiles/_personal.html.erb +74 -0
- data/app/views/profiles/_profile.html.erb +40 -0
- data/app/views/profiles/_tags.html.erb +22 -0
- data/app/views/profiles/edit.html.erb +205 -0
- data/app/views/profiles/show.html.erb +22 -0
- data/app/views/profiles/update.js.erb +20 -0
- data/app/views/relation/customs/_form.html.erb +29 -0
- data/app/views/relation/customs/_list.html.erb +63 -0
- data/app/views/relation/customs/_update_rules.js.erb +5 -0
- data/app/views/relation/customs/create.js.erb +21 -0
- data/app/views/relation/customs/index.html.erb +43 -0
- data/app/views/relation/customs/update.js.erb +11 -0
- data/app/views/search/_extended_search.html.erb +19 -0
- data/app/views/search/_form.html.erb +54 -0
- data/app/views/search/_header_search.html.erb +16 -0
- data/app/views/search/_index.html.erb +12 -0
- data/app/views/search/index.html.erb +9 -0
- data/app/views/search/index.js.erb +22 -0
- data/app/views/settings/_api_key.html.erb +26 -0
- data/app/views/settings/_destroy.html.erb +17 -0
- data/app/views/settings/_index.html.erb +8 -0
- data/app/views/settings/_notifications.html.erb +34 -0
- data/app/views/settings/index.html.erb +16 -0
- data/app/views/settings/index.js.erb +7 -0
- data/app/views/subjects/_contacts.html.erb +18 -0
- data/app/views/subjects/_show.js.erb +5 -0
- data/app/views/subjects/_subject.html.erb +8 -0
- data/app/views/subjects/_subject_with_details.html.erb +17 -0
- data/app/views/ties/index.html.erb +8 -0
- data/app/views/toolbar/_home.html.erb +15 -0
- data/app/views/toolbar/_logo.html.erb +23 -0
- data/app/views/toolbar/_messages.html.erb +11 -0
- data/app/views/toolbar/_profile.html.erb +24 -0
- data/app/views/toolbar/_subject.html.erb +10 -0
- data/app/views/users/_groups.html.erb +22 -0
- data/app/views/users/_index.html.erb +19 -0
- data/app/views/users/_show.html.erb +34 -0
- data/app/views/users/_user.html.erb +2 -0
- data/app/views/users/_user_focus_search.html.erb +2 -0
- data/app/views/users/_user_global_search.html.erb +2 -0
- data/app/views/users/_user_with_details.html.erb +2 -0
- data/app/views/users/index.html.erb +41 -0
- data/app/views/users/index.js.erb +1 -0
- data/app/views/users/info.html.erb +0 -0
- data/app/views/users/show.html.erb +1 -0
- data/app/views/users/show.js.erb +2 -0
- data/app/views/users/show.xml.builder +15 -0
- data/config/locales/en.yml +472 -0
- data/config/locales/es.yml +470 -0
- data/config/routes.rb +102 -0
- data/db/migrate/20110610112023_create_social_stream.rb +319 -0
- data/db/migrate/20110705103202_empty_ties_count.rb +17 -0
- data/db/migrate/20110712090343_remove_spheres.rb +30 -0
- data/db/migrate/20110712142140_remove_permission_function.rb +26 -0
- data/db/migrate/20110912074426_add_reject_relation.rb +29 -0
- data/db/migrate/20111124100618_object_actors.rb +52 -0
- data/db/migrate/20111221103509_add_language_field.rb +13 -0
- data/lib/acts_as_taggable_on/acts_as_taggable_on/dirty.rb +37 -0
- data/lib/acts_as_taggable_on/social_stream.rb +58 -0
- data/lib/generators/social_stream/base/install_generator.rb +66 -0
- data/lib/generators/social_stream/base/templates/initializer.rb +32 -0
- data/lib/generators/social_stream/base/templates/navigation.rb +4 -0
- data/lib/generators/social_stream/base/templates/relations.yml +39 -0
- data/lib/generators/social_stream/base/templates/sphinx.yml +9 -0
- data/lib/paperclip/social_stream.rb +6 -0
- data/lib/social_stream-base.rb +104 -0
- data/lib/social_stream/ability.rb +7 -0
- data/lib/social_stream/ability/base.rb +101 -0
- data/lib/social_stream/base/dependencies.rb +47 -0
- data/lib/social_stream/base/engine.rb +69 -0
- data/lib/social_stream/base/version.rb +5 -0
- data/lib/social_stream/controllers/cancan_devise_integration.rb +33 -0
- data/lib/social_stream/controllers/helpers.rb +135 -0
- data/lib/social_stream/controllers/objects.rb +39 -0
- data/lib/social_stream/d3.rb +53 -0
- data/lib/social_stream/migrations/base.rb +58 -0
- data/lib/social_stream/migrations/components.rb +19 -0
- data/lib/social_stream/models/object.rb +133 -0
- data/lib/social_stream/models/subject.rb +118 -0
- data/lib/social_stream/models/supertype.rb +37 -0
- data/lib/social_stream/populate.rb +26 -0
- data/lib/social_stream/test_helpers.rb +11 -0
- data/lib/social_stream/test_helpers/controllers.rb +122 -0
- data/lib/social_stream/toolbar_config/base.rb +94 -0
- data/lib/social_stream/views/list.rb +17 -0
- data/lib/social_stream/views/settings/base.rb +43 -0
- data/lib/social_stream/views/sidebar/base.rb +27 -0
- data/lib/tasks/db/populate.rake +241 -0
- data/lib/tasks/workers.rake +163 -0
- data/social_stream-base.gemspec +83 -0
- data/spec/controllers/comments_controller_spec.rb +66 -0
- data/spec/controllers/contacts_controller_spec.rb +111 -0
- data/spec/controllers/frontpage_controller_spec.rb +16 -0
- data/spec/controllers/groups_controller_spec.rb +178 -0
- data/spec/controllers/home_controller_spec.rb +56 -0
- data/spec/controllers/invitations_controller_spec.rb +34 -0
- data/spec/controllers/likes_controller_spec.rb +48 -0
- data/spec/controllers/notifications_controller_spec.rb +46 -0
- data/spec/controllers/permissions_controller_spec.rb +45 -0
- data/spec/controllers/posts_controller_spec.rb +233 -0
- data/spec/controllers/profiles_controller_spec.rb +102 -0
- data/spec/controllers/relation_customs_controller_spec.rb +139 -0
- data/spec/controllers/representations_spec.rb +74 -0
- data/spec/controllers/settings_controller_spec.rb +41 -0
- data/spec/controllers/subjects_controller.rb +14 -0
- data/spec/controllers/users_controller_spec.rb +98 -0
- data/spec/dummy/.gitignore +5 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +8 -0
- data/spec/dummy/app/assets/stylesheets/application.css +8 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +44 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +40 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +30 -0
- data/spec/dummy/config/environments/production.rb +54 -0
- data/spec/dummy/config/environments/test.rb +40 -0
- data/spec/dummy/config/environments/test_pg.rb +35 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/devise.rb +220 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mailboxer.rb +8 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/social_stream.rb +32 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +12 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/navigation.rb +4 -0
- data/spec/dummy/config/relations.yml +39 -0
- data/spec/dummy/config/routes.rb +60 -0
- data/spec/dummy/db/schema.rb +5 -0
- data/spec/dummy/db/seeds.rb +8 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/factories/activity.rb +52 -0
- data/spec/factories/comment.rb +6 -0
- data/spec/factories/contact.rb +16 -0
- data/spec/factories/group.rb +5 -0
- data/spec/factories/post.rb +11 -0
- data/spec/factories/relation_custom.rb +4 -0
- data/spec/factories/tie.rb +43 -0
- data/spec/factories/user.rb +6 -0
- data/spec/integration/navigation_spec.rb +33 -0
- data/spec/models/activity_authorization_spec.rb +350 -0
- data/spec/models/activity_spec.rb +131 -0
- data/spec/models/actor_spec.rb +80 -0
- data/spec/models/contact_spec.rb +53 -0
- data/spec/models/group_spec.rb +28 -0
- data/spec/models/like_spec.rb +68 -0
- data/spec/models/post_spec.rb +63 -0
- data/spec/models/profile_spec.rb +39 -0
- data/spec/models/relation_spec.rb +78 -0
- data/spec/models/tie_spec.rb +169 -0
- data/spec/models/user_spec.rb +109 -0
- data/spec/social_stream_spec.rb +7 -0
- data/spec/spec_helper.rb +26 -0
- data/spec/support/cancan.rb +1 -0
- data/spec/support/db.rb +7 -0
- data/spec/support/devise.rb +4 -0
- data/spec/support/mock.rb +4 -0
- data/vendor/assets/javascripts/ajax.paginate.js +46 -0
- data/vendor/assets/javascripts/d3.geom.js +825 -0
- data/vendor/assets/javascripts/d3.js +4013 -0
- data/vendor/assets/javascripts/d3.layout.js +1865 -0
- data/vendor/assets/javascripts/hoverIntent.js +84 -0
- data/vendor/assets/javascripts/jqcloud-0.1.3.js +87 -0
- data/vendor/assets/javascripts/jquery.ae.image.resize.js +69 -0
- data/vendor/assets/javascripts/jquery.ba-url.js +1091 -0
- data/vendor/assets/javascripts/jquery.cleditor.min.js +31 -0
- data/vendor/assets/javascripts/jquery.fcbkcomplete.js +553 -0
- data/vendor/assets/javascripts/jquery.lightbox-with-resize-plugin.js +533 -0
- data/vendor/assets/javascripts/jquery.livequery.js +250 -0
- data/vendor/assets/javascripts/jquery.screw.js +186 -0
- data/vendor/assets/javascripts/jquery.scrollTo.min.js +11 -0
- data/vendor/assets/javascripts/jquery.tipsy.js +263 -0
- data/vendor/assets/javascripts/jquery.validate.js +1166 -0
- data/vendor/assets/javascripts/jquery.validate.old.js +1132 -0
- data/vendor/assets/javascripts/jquery.watermarkinput.js +81 -0
- data/vendor/assets/javascripts/menu.js +25 -0
- data/vendor/assets/javascripts/superfish.js +121 -0
- data/vendor/assets/stylesheets/carousel.css +23 -0
- data/vendor/assets/stylesheets/chosen-sprite.png +0 -0
- data/vendor/assets/stylesheets/chosen.css +317 -0
- data/vendor/assets/stylesheets/fcbkComplete.css +44 -0
- data/vendor/assets/stylesheets/jqcloud.css +15 -0
- data/vendor/assets/stylesheets/jquery-ui.css +620 -0
- data/vendor/assets/stylesheets/jquery.cleditor.css +24 -0
- data/vendor/assets/stylesheets/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/stylesheets/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/assets/stylesheets/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
- data/vendor/assets/stylesheets/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/assets/stylesheets/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
- data/vendor/assets/stylesheets/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
- data/vendor/assets/stylesheets/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
- data/vendor/assets/stylesheets/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
- data/vendor/assets/stylesheets/smoothness/images/ui-icons_222222_256x240.png +0 -0
- data/vendor/assets/stylesheets/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
- data/vendor/assets/stylesheets/smoothness/images/ui-icons_454545_256x240.png +0 -0
- data/vendor/assets/stylesheets/smoothness/images/ui-icons_888888_256x240.png +0 -0
- data/vendor/assets/stylesheets/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
- data/vendor/assets/stylesheets/smoothness/jquery-ui-1.7.3.custom.css +405 -0
- data/vendor/assets/stylesheets/smoothness/jquery-ui-1.8.4.custom.css +572 -0
- data/vendor/assets/stylesheets/tipsy.css +25 -0
- metadata +997 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) 2010 Anders Ekdahl (http://coffeescripter.com/)
|
3
|
+
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
|
4
|
+
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
|
5
|
+
*
|
6
|
+
* Version: 1.2.4
|
7
|
+
*
|
8
|
+
* Demo and documentation: http://coffeescripter.com/code/ad-gallery/
|
9
|
+
*/
|
10
|
+
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(8($){$.3n.3o=8(b){5 c={2s:\'Z.3p\',1W:0,1X:q,11:0.7,2t:q,1b:3q,v:q,x:q,2u:B,2v:B,1Y:0,t:{1c:B,1Z:q,1d:3r,2w:\'3s\',2x:\'3t\',20:B,2y:\'(\',2z:\')\',2A:q,2B:q},2C:\'21-2D\',2E:B,1z:B,1A:{1e:q,2F:q,2G:q}};5 d=$.2H(q,c,b);4(b&&b.t){d.t=$.2H(q,c.t,b.t)};4(!d.t.1c){d.t.1Z=q};5 e=[];$(3).2I(8(){5 a=1B 22(3,d);e[e.J]=a});w e};8 2J(a,b,c){5 d=12(a.u(\'Q\'),10);4(b==\'C\'){5 e=\'-\'+3.D+\'z\';a.u(\'Q\',3.D+\'z\')}y{5 e=3.D+\'z\';a.u(\'Q\',\'-\'+3.D+\'z\')};4(c){c.u(\'1f\',\'-\'+c[0].1C+\'z\');c.13({1f:0},3.r.1b*2)};4(3.R){3.R.13({1f:\'-\'+3.R[0].1C+\'z\'},3.r.1b*2)};w{1g:{Q:e},1h:{Q:d}}};8 2K(a,b,c){5 d=12(a.u(\'C\'),10);4(b==\'C\'){5 e=\'-\'+3.K+\'z\';a.u(\'C\',3.K+\'z\')}y{5 e=3.K+\'z\';a.u(\'C\',\'-\'+3.K+\'z\')};4(c){c.u(\'1f\',\'-\'+c[0].1C+\'z\');c.13({1f:0},3.r.1b*2)};4(3.R){3.R.13({1f:\'-\'+3.R[0].1C+\'z\'},3.r.1b*2)};w{1g:{C:e},1h:{C:d}}};8 2L(a,b,c){5 d=a.v();5 e=a.x();5 f=12(a.u(\'C\'),10);5 g=12(a.u(\'Q\'),10);a.u({v:0,x:0,Q:3.D/2,C:3.K/2});w{1g:{v:0,x:0,Q:3.D/2,C:3.K/2},1h:{v:d,x:e,Q:g,C:f}}};8 2M(a,b,c){a.u(\'S\',0);w{1g:{S:0},1h:{S:1}}};8 2N(a,b,c){a.u(\'S\',0);w{1g:{S:0},1h:{S:1},1d:0}};8 22(a,b){3.1e(a,b)};22.2O={17:q,T:q,1D:q,V:q,Z:q,1r:q,N:q,1E:q,1F:q,1i:q,1j:q,t:q,K:0,D:0,O:0,18:q,R:q,1G:0,r:q,G:q,1k:q,1H:q,1e:8(b,c){5 d=3;3.17=$(b);3.r=c;3.2P();3.2Q();4(3.r.v){3.K=3.r.v;3.T.v(3.r.v);3.17.v(3.r.v)}y{3.K=3.T.v()};4(3.r.x){3.D=3.r.x;3.T.x(3.r.x)}y{3.D=3.T.x()};3.1G=3.V.v();3.O=0;3.18=q;3.R=q;3.1k=q;3.2R();4(3.r.2u){3.2S()};5 e=8(a){w d.1I(a)};3.t=1B 23(e,3.r.t);3.L.F(3.t.2T());4(3.r.t.1c){3.t.1c()}y{3.t.24()};4(3.r.2v){3.2U()};4(3.r.2E){3.2V()};5 f=12(3.r.1W,10);4(25.26.27&&25.26.27.3u(\'#s-W\')===0){f=25.26.27.2W(/[^0-9]+/g,\'\');4((f*1)!=f){f=3.r.1W}};3.1J(B);3.1s(f,8(){4(d.r.t.1Z){d.14(f+1);d.t.1t()}});3.P(3.r.1A.1e)},2Q:8(){3.1H={\'21-3v\':2J,\'21-2D\':2K,\'3w\':2L,\'3x\':2M,\'3y\':2N}},2P:8(){3.L=3.17.E(\'.s-L\');3.1D=$(\'<p H="s-3z"></p>\');3.L.F(3.1D);3.T=3.17.E(\'.s-W-17\');3.T.3A();3.V=3.17.E(\'.s-V\');3.N=3.V.E(\'.s-3B\');3.1r=$(\'<A H="s-1r"></A>\');3.Z=$(\'<19 H="s-Z" 1K="\'+3.r.2s+\'">\');3.T.F(3.Z);3.Z.15();$(1L.3C).F(3.1r)},1J:8(a){4(a){3.Z.1l()}y{3.Z.15()}},3D:8(a,b){4($.28(b)){3.1H[a]=b}},2R:8(){5 f=3;3.G=[];5 g=0;5 h=0;5 j=3.N.E(\'a\');5 k=j.J;4(3.r.11<1){j.E(\'19\').u(\'S\',3.r.11)};j.2I(8(i){5 a=$(3);5 b=a.I(\'2X\');5 c=a.E(\'19\');4(!f.29(c[0])){c.2Y(8(){g+=3.1u.1u.2a;h++})}y{g+=c[0].1u.1u.2a;h++};a.1M(\'s-1N\'+i);a.1v(8(){f.1s(i);f.t.M();w q}).2Z(8(){4(!$(3).1w(\'.s-1m\')&&f.r.11<1){$(3).E(\'19\').1O(1P,1)};f.14(i)},8(){4(!$(3).1w(\'.s-1m\')&&f.r.11<1){$(3).E(\'19\').1O(1P,f.r.11)}});5 a=q;4(c.1n(\'s-1x\')){a=c.1n(\'s-1x\')}y 4(c.I(\'2b\')&&c.I(\'2b\').J){a=c.I(\'2b\')};5 d=q;4(c.1n(\'s-1o\')){d=c.1n(\'s-1o\')}y 4(c.I(\'2c\')&&c.I(\'2c\').J){d=c.I(\'2c\')};5 e=q;4(c.1n(\'s-U\')){e=c.1n(\'s-U\')}y 4(c.I(\'U\')&&c.I(\'U\').J){e=c.I(\'U\')};f.G[i]={1N:c.I(\'1K\'),W:b,2d:q,1p:q,1o:d,U:e,1q:q,1x:a}});5 l=2e(8(){4(k==h){f.V.E(\'.s-1N-3E\').u(\'v\',g+\'z\');1Q(l)}},3F)},2V:8(){5 a=3;$(1L).31(8(e){4(e.2f==39){a.1I();a.t.M()}y 4(e.2f==37){a.2g();a.t.M()}})},2S:8(){3.1i=$(\'<A H="s-2h"><A H="s-2h-W"></A></A>\');3.1j=$(\'<A H="s-32"><A H="s-32-W"></A></A>\');3.T.F(3.1i);3.T.F(3.1j);5 a=3;3.1j.33(3.1i).3G(8(e){$(3).u(\'x\',a.D);$(3).E(\'A\').1l()}).3H(8(e){$(3).E(\'A\').15()}).1v(8(){4($(3).1w(\'.s-2h\')){a.1I();a.t.M()}y{a.2g();a.t.M()}}).E(\'A\').u(\'S\',0.7)},2U:8(){5 c=3;3.1F=$(\'<A H="s-2i"></A>\');3.1E=$(\'<A H="s-3I"></A>\');3.V.F(3.1F);3.V.34(3.1E);5 d=0;5 e=q;$(3.1E).33(3.1F).1v(8(){5 a=c.1G-3J;4(c.r.1Y>0){5 a=c.r.1Y};4($(3).1w(\'.s-2i\')){5 b=c.N.1a()+a}y{5 b=c.N.1a()-a};4(c.r.t.20){c.t.M()};c.N.13({1a:b+\'z\'});w q}).u(\'S\',0.6).2Z(8(){5 b=\'C\';4($(3).1w(\'.s-2i\')){b=\'2j\'};e=2e(8(){d++;4(d>30&&c.r.t.20){c.t.M()};5 a=c.N.1a()+1;4(b==\'C\'){a=c.N.1a()-1};c.N.1a(a)},10);$(3).u(\'S\',1)},8(){d=0;1Q(e);$(3).u(\'S\',0.6)})},2k:8(){3.1D.2l((3.O+1)+\' / \'+3.G.J);4(!3.r.1z){3.1j.1l().u(\'x\',3.D);3.1i.1l().u(\'x\',3.D);4(3.O==(3.G.J-1)){3.1i.15()};4(3.O==0){3.1j.15()}};3.P(3.r.1A.2F)},35:8(a,b){4(b>3.D){5 c=a/b;b=3.D;a=3.D*c};4(a>3.K){5 c=b/a;a=3.K;b=3.K*c};w{v:a,x:b}},36:8(a,b,c){a.u(\'Q\',\'38\');4(c<3.D){5 d=3.D-c;a.u(\'Q\',(d/2)+\'z\')};a.u(\'C\',\'38\');4(b<3.K){5 d=3.K-b;a.u(\'C\',(d/2)+\'z\')}},3a:8(a){5 b=q;4(a.1o.J||a.U.J){5 c=\'\';4(a.U.J){c=\'<3b H="s-3c-U">\'+a.U+\'</3b>\'};5 b=\'\';4(a.1o.J){b=\'<16>\'+a.1o+\'</16>\'};b=$(\'<p H="s-W-3c">\'+c+b+\'</p>\')};w b},1s:8(a,b){4(3.G[a]&&!3.1k){5 c=3;5 d=3.G[a];3.1k=B;4(!d.1p){3.1J(B);3.14(a,8(){c.1J(q);c.2m(a,b)})}y{3.2m(a,b)}}},2m:8(a,b){4(3.G[a]){5 c=3;5 d=3.G[a];5 e=$(1L.3K(\'A\')).1M(\'s-W\');5 f=$(1B 3d()).I(\'1K\',d.W);4(d.1x){5 g=$(\'<a 2X="\'+d.1x+\'" 3L="3M"></a>\');g.F(f);e.F(g)}y{e.F(f)}3.T.34(e);5 h=3.35(d.1q.v,d.1q.x);f.I(\'v\',h.v);f.I(\'x\',h.x);e.u({v:h.v+\'z\',x:h.x+\'z\'});3.36(e,h.v,h.x);5 i=3.3a(d,e);4(i){4(!3.r.1X){e.F(i);5 j=h.v-12(i.u(\'3e-C\'),10)-12(i.u(\'3e-2j\'),10);i.u(\'v\',j+\'z\')}y{3.r.1X.F(i)}};3.3f(3.V.E(\'.s-1N\'+a));5 k=\'2j\';4(3.O<a){k=\'C\'};3.P(3.r.1A.2G);4(3.18||3.r.2t){5 l=3.r.1b;5 m=\'3N\';5 n=3.1H[3.r.2C].2n(3,e,k,i);4(1R n.1d!=\'1S\'){l=n.1d};4(1R n.3g!=\'1S\'){m=n.3g};4(3.18){5 o=3.18;5 p=3.R;o.13(n.1g,l,m,8(){o.3h();4(p)p.3h()})};e.13(n.1h,l,m,8(){c.O=a;c.18=e;c.R=i;c.1k=q;c.2k();c.P(b)})}y{3.O=a;3.18=e;c.R=i;3.1k=q;c.2k();3.P(b)}}},3i:8(){4(3.O==(3.G.J-1)){4(!3.r.1z){w q};5 a=0}y{5 a=3.O+1};w a},1I:8(a){5 b=3.3i();4(b===q)w q;3.14(b+1);3.1s(b,a);w B},3j:8(){4(3.O==0){4(!3.r.1z){w q};5 a=3.G.J-1}y{5 a=3.O-1};w a},2g:8(a){5 b=3.3j();4(b===q)w q;3.14(b-1);3.1s(b,a);w B},3O:8(){5 a=3;5 i=0;8 2o(){4(i<a.G.J){i++;a.14(i,2o)}};a.14(i,2o)},14:8(a,b){4(3.G[a]){5 c=3.G[a];4(!3.G[a].1p){5 d=$(1B 3d());d.I(\'1K\',c.W);4(!3.29(d[0])){3.1r.F(d);5 e=3;d.2Y(8(){c.1p=B;c.1q={v:3.v,x:3.x};e.P(b)}).2d(8(){c.2d=B;c.1p=q;c.1q=q})}y{c.1p=B;c.1q={v:d[0].v,x:d[0].x};3.P(b)}}y{3.P(b)}}},29:8(a){4(1R a.3k!=\'1S\'&&!a.3k){w q};4(1R a.3l!=\'1S\'&&a.3l==0){w q};w B},3f:8(a){3.N.E(\'.s-1m\').3m(\'s-1m\');a.1M(\'s-1m\');4(3.r.11<1){3.N.E(\'a:3P(.s-1m) 19\').1O(1P,3.r.11);a.E(\'19\').1O(1P,1)};5 b=a[0].1u.3Q;b-=(3.1G/2)-(a[0].2a/2);3.N.13({1a:b+\'z\'})},P:8(a){4($.28(a)){a.2n(3)}}};8 23(a,b){3.1e(a,b)};23.2O={1T:q,1U:q,X:q,L:q,r:q,2p:q,1y:q,Y:q,1V:q,1e:8(a,b){5 c=3;3.2p=a;3.r=b},2T:8(){3.1T=$(\'<16 H="s-t-1t">\'+3.r.2w+\'</16>\');3.1U=$(\'<16 H="s-t-M">\'+3.r.2x+\'</16>\');3.X=$(\'<16 H="s-t-X"></16>\');3.L=$(\'<A H="s-t-L"></A>\');3.L.F(3.1T).F(3.1U).F(3.X);3.X.15();5 a=3;3.1T.1v(8(){a.1t()});3.1U.1v(8(){a.M()});$(1L).31(8(e){4(e.2f==3R){4(a.Y){a.M()}y{a.1t()}}});w 3.L},24:8(){3.1y=q;3.M();3.L.15()},1c:8(){3.1y=B;3.L.1l()},3S:8(){4(3.1y){3.24()}y{3.1c()}},1t:8(){4(3.Y||!3.1y)w q;5 a=3;3.Y=B;3.L.1M(\'s-t-Y\');3.2q();3.P(3.r.2A);w B},M:8(){4(!3.Y)w q;3.Y=q;3.X.15();3.L.3m(\'s-t-Y\');1Q(3.1V);3.P(3.r.2B);w B},2q:8(){5 c=3;5 d=3.r.2y;5 e=3.r.2z;1Q(c.1V);3.X.1l().2l(d+(3.r.1d/2r)+e);5 f=0;3.1V=2e(8(){f+=2r;4(f>=c.r.1d){5 a=8(){4(c.Y){c.2q()};f=0};4(!c.2p(a)){c.M()};f=0};5 b=12(c.X.3T().2W(/[^0-9]/g,\'\'),10);b--;4(b>0){c.X.2l(d+b+e)}},2r)},P:8(a){4($.28(a)){a.2n(3)}}}})(3U);',62,243,'|||this|if|var|||function||||||||||||||||||false|settings|ad|slideshow|css|width|return|height|else|px|div|true|left|image_wrapper_height|find|append|images|class|attr|length|image_wrapper_width|controls|stop|thumbs_wrapper|current_index|fireCallback|top|current_description|opacity|image_wrapper|title|nav|image|countdown|running|loader||thumb_opacity|parseInt|animate|preloadImage|hide|span|wrapper|current_image|img|scrollLeft|animation_speed|enable|speed|init|bottom|old_image|new_image|next_link|prev_link|in_transition|show|active|data|desc|preloaded|size|preloads|showImage|start|parentNode|click|is|link|enabled|cycle|callbacks|new|offsetHeight|gallery_info|scroll_back|scroll_forward|nav_display_width|animations|nextImage|loading|src|document|addClass|thumb|fadeTo|300|clearInterval|typeof|undefined|start_link|stop_link|countdown_interval|start_at_index|description_wrapper|scroll_jump|autostart|stop_on_scroll|slide|AdGallery|AdGallerySlideshow|disable|window|location|hash|isFunction|isImageLoaded|offsetWidth|longdesc|alt|error|setInterval|keyCode|prevImage|next|forward|right|_afterShow|html|_showWhenLoaded|call|preloadNext|nextimage_callback|_next|1000|loader_image|animate_first_image|display_next_and_prev|display_back_and_forward|start_label|stop_label|countdown_prefix|countdown_sufix|onStart|onStop|effect|hori|enable_keyboard_move|afterImageVisible|beforeImageVisible|extend|each|VerticalSlideAnimation|HorizontalSlideAnimation|ResizeAnimation|FadeAnimation|NoneAnimation|prototype|setupElements|setupAnimations|findImages|initNextAndPrev|create|initBackAndForward|initKeyEvents|replace|href|load|hover||keydown|prev|add|prepend|_getContainedImageSize|_centerImage||0px||_getDescription|strong|description|Image|padding|highLightThumb|easing|remove|nextIndex|prevIndex|complete|naturalWidth|removeClass|fn|adGallery|gif|400|5000|Start|Stop|indexOf|vert|resize|fade|none|info|empty|thumbs|body|addAnimation|list|100|mouseover|mouseout|back|50|createElement|target|_blank|swing|preloadAll|not|offsetLeft|83|toggle|text|jQuery'.split('|'),0,{}))
|
@@ -0,0 +1,21 @@
|
|
1
|
+
//= require hoverIntent
|
2
|
+
//= require superfish
|
3
|
+
//= require jquery.watermarkinput
|
4
|
+
//
|
5
|
+
$(function() {
|
6
|
+
jQuery('ul.sf-menu').superfish({
|
7
|
+
animation: {
|
8
|
+
height: 'show'
|
9
|
+
}, // fade-in and slide-down animation
|
10
|
+
speed: 'fast', // faster animation speed
|
11
|
+
autoArrows: false,
|
12
|
+
dropShadows: false // disable drop shadows
|
13
|
+
});
|
14
|
+
|
15
|
+
$('#tabright> ul').tabs({
|
16
|
+
fx: {
|
17
|
+
height: 'toggle',
|
18
|
+
opacity: 'toggle'
|
19
|
+
}
|
20
|
+
});
|
21
|
+
});
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require jquery.scrollTo.min
|
@@ -0,0 +1,9 @@
|
|
1
|
+
//= require jquery.validate
|
2
|
+
//= require jquery.fcbkcomplete
|
3
|
+
|
4
|
+
$(function() {
|
5
|
+
jQuery.validator.addMethod("phone", function(value, element){
|
6
|
+
return this.optional(element) || /^((\((\+?)\d+\))?|(\+\d+)?)[ ]*-?(\d+[ ]*\-?[ ]*\d*)+$/.test(value);
|
7
|
+
}, " Please enter a valid telephone number");
|
8
|
+
$(".edit_profile").validate({errorClass: "validation_error"});
|
9
|
+
});
|
@@ -0,0 +1,32 @@
|
|
1
|
+
function getDomId(id) {
|
2
|
+
return id.match(/\d+$/)[0];
|
3
|
+
}
|
4
|
+
|
5
|
+
function selectRelation(radio){
|
6
|
+
$("#permissions").html("");
|
7
|
+
$('#relation_customs_list div.options').hide();
|
8
|
+
|
9
|
+
$(radio).siblings('div.options').show();
|
10
|
+
|
11
|
+
$.ajax({
|
12
|
+
url: "../permissions",
|
13
|
+
context: document.body,
|
14
|
+
data: { relation_id: getDomId($(radio).attr('id')) },
|
15
|
+
dataType: "script"
|
16
|
+
});
|
17
|
+
|
18
|
+
};
|
19
|
+
|
20
|
+
function selectPermission(box){
|
21
|
+
var id = getDomId($(box).attr('id'));
|
22
|
+
var input = $('input[id="relation_custom_permission_ids_' + id + '"]');
|
23
|
+
var label = $('label[for="relation_custom_permission_ids_' + id + '"]');
|
24
|
+
|
25
|
+
if ($(box).is(':checked')) {
|
26
|
+
input.attr('checked', 'checked');
|
27
|
+
label.parent().show();
|
28
|
+
} else {
|
29
|
+
input.removeAttr('checked');
|
30
|
+
label.parent().hide();
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
closeAllSettings = function() {
|
2
|
+
$(".settings_content").hide("slow");
|
3
|
+
$(".settings_briefing").show("slow");
|
4
|
+
}
|
5
|
+
showSettings = function(name) {
|
6
|
+
closeAllSettings();
|
7
|
+
if($("#" + name + "_content").css("display") == "none") {
|
8
|
+
$("#" + name + "_briefing").hide("slow");
|
9
|
+
$("#" + name + "_content").show("slow");
|
10
|
+
} else {
|
11
|
+
$("#" + name + "_briefing").show("slow");
|
12
|
+
$("#" + name + "_content").hide("slow");
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
//= require jquery
|
2
|
+
//= require jquery_ujs
|
3
|
+
//= require jquery-ui
|
4
|
+
//= require modernizr
|
5
|
+
//= require jquery.lightbox-with-resize-plugin
|
6
|
+
//= require jquery.screw
|
7
|
+
//
|
8
|
+
//= require avatars_for_rails
|
9
|
+
//= require social_cheesecake
|
10
|
+
//
|
11
|
+
//= require_tree .
|
@@ -0,0 +1,67 @@
|
|
1
|
+
//= require d3
|
2
|
+
//= require d3.layout
|
3
|
+
//= require d3.geom
|
4
|
+
|
5
|
+
(function( $ ){
|
6
|
+
$.fn.tiesGraph = function( data ) {
|
7
|
+
//TODO: better handling of width and height
|
8
|
+
var w = 860,
|
9
|
+
h = 500,
|
10
|
+
fill = d3.scale.category20();
|
11
|
+
|
12
|
+
var vis = d3.select(this.selector)
|
13
|
+
.append("svg:svg")
|
14
|
+
.attr("width", w)
|
15
|
+
.attr("height", h);
|
16
|
+
|
17
|
+
var force = d3.layout.force()
|
18
|
+
.charge(-120)
|
19
|
+
.linkDistance(40)
|
20
|
+
.nodes(data.nodes)
|
21
|
+
.links(data.links)
|
22
|
+
.size([w, h])
|
23
|
+
.start();
|
24
|
+
|
25
|
+
var link = vis.selectAll("line.link")
|
26
|
+
.data(data.links)
|
27
|
+
.enter().append("svg:line")
|
28
|
+
.attr("class", "link")
|
29
|
+
.style("stroke-width", function(d) { return Math.sqrt(d.value); })
|
30
|
+
.attr("x1", function(d) { return d.source.x; })
|
31
|
+
.attr("y1", function(d) { return d.source.y; })
|
32
|
+
.attr("x2", function(d) { return d.target.x; })
|
33
|
+
.attr("y2", function(d) { return d.target.y; });
|
34
|
+
|
35
|
+
var node = vis.selectAll("g.node")
|
36
|
+
.data(data.nodes)
|
37
|
+
.enter().append("svg:g")
|
38
|
+
.attr("class", "node")
|
39
|
+
.call(force.drag);
|
40
|
+
|
41
|
+
node.append("svg:image")
|
42
|
+
.attr("class", "circle")
|
43
|
+
.attr("xlink:href", function(d) { return d.logo; })
|
44
|
+
.attr("x", "-10px")
|
45
|
+
.attr("y", "-10px")
|
46
|
+
.attr("width", "20px")
|
47
|
+
.attr("height", "20px");
|
48
|
+
|
49
|
+
node.append("svg:title")
|
50
|
+
.text(function(d) { return d.name; });
|
51
|
+
|
52
|
+
vis.style("opacity", 1e-6)
|
53
|
+
.transition()
|
54
|
+
.duration(1000)
|
55
|
+
.style("opacity", 1);
|
56
|
+
|
57
|
+
force.on("tick", function() {
|
58
|
+
link.attr("x1", function(d) { return d.source.x; })
|
59
|
+
.attr("y1", function(d) { return d.source.y; })
|
60
|
+
.attr("x2", function(d) { return d.target.x; })
|
61
|
+
.attr("y2", function(d) { return d.target.y; });
|
62
|
+
|
63
|
+
node.attr("transform", function(d) { return "translate(" + d.x + "," + d.y + ")"; });
|
64
|
+
});
|
65
|
+
};
|
66
|
+
})( jQuery );
|
67
|
+
|
@@ -0,0 +1 @@
|
|
1
|
+
//= require menu
|
@@ -0,0 +1,28 @@
|
|
1
|
+
/* This stylesheet overwrites some of the parameters fixed by other stylesheets found in
|
2
|
+
* assets/stylesheets. Since they are compiled all together in alphabetic order, it should be
|
3
|
+
* start by zero to make sure it is the first one to be executed.
|
4
|
+
*/
|
5
|
+
|
6
|
+
#center_body{
|
7
|
+
border: none;
|
8
|
+
width:100%;
|
9
|
+
}
|
10
|
+
|
11
|
+
#footer ul{
|
12
|
+
padding-left: 59px;
|
13
|
+
}
|
14
|
+
#sidebar{
|
15
|
+
display:none;
|
16
|
+
}
|
17
|
+
|
18
|
+
#toolbar{
|
19
|
+
padding: 0;
|
20
|
+
}
|
21
|
+
|
22
|
+
#wrapper_body{
|
23
|
+
background-color: inherit;
|
24
|
+
background-image: url("/assets/big-logo.png");
|
25
|
+
background-repeat: no-repeat;
|
26
|
+
background-position: bottom left;
|
27
|
+
width:100%;
|
28
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
/**NOTICE**/
|
2
|
+
$alert-color: #9F6000;
|
3
|
+
$alert-background: #FEEFB3;
|
4
|
+
$error-color: #D8000C;
|
5
|
+
$error-background: #FFBABA;
|
6
|
+
$success-color: #4F8A10;
|
7
|
+
$success-background: #DFF2BF;
|
8
|
+
|
9
|
+
/**BLUES**/
|
10
|
+
$auxiliar-color: #879EB5;
|
11
|
+
$input-border-color: #BDC7D8;
|
12
|
+
$main-color: #1F4A75; /* #2A3890*/
|
13
|
+
$secondary-color: #DEEFF8; /* #E0EEF5*/
|
14
|
+
$separation-color: #D4E4EA;
|
15
|
+
$header-color: #1F4A75;
|
16
|
+
$header-notification-color: #879EB5;
|
17
|
+
|
18
|
+
/**GREYS**/
|
19
|
+
$details-color: #666; /* #6C6D6F*/
|
20
|
+
$fill-color: #f5f5f5;
|
21
|
+
|
22
|
+
/**OTHERS**/
|
23
|
+
$sentence-color: #000;
|
24
|
+
$text-over-main: #FFF;
|
25
|
+
$unread-color: #E0E0FF;
|
@@ -0,0 +1,88 @@
|
|
1
|
+
/*
|
2
|
+
*= require jquery-ui
|
3
|
+
*= require chosen
|
4
|
+
*= require tipsy
|
5
|
+
*/
|
6
|
+
|
7
|
+
@import "colors";
|
8
|
+
|
9
|
+
/* Fixes to tipsy, the plugin for tooltips */
|
10
|
+
|
11
|
+
.tipsy{ background-image: url(../assets/tipsy.gif); }
|
12
|
+
.tipsy-inner { background-color: $secondary-color; color: $sentence-color; }
|
13
|
+
|
14
|
+
/****************** WALL - ACTIVITIES *********************/
|
15
|
+
#wrapper_activities {}
|
16
|
+
#wall{ text-align:center;}
|
17
|
+
|
18
|
+
|
19
|
+
/****************** WALL - HEADER *********************/
|
20
|
+
#wrapper_activities_header { padding-top: 5px; padding-bottom: 5px; background-color: $secondary-color;}
|
21
|
+
#activities_title { vertical-align: top; margin-left: 10px; font-weight: bold;}
|
22
|
+
#activities_header { width: 100%; margin-bottom: 5px; text-align: center; padding-top: 5px;min-height: 35px;}
|
23
|
+
#activities_header input[type="text"] { color: $main-color; padding: 5px 5px 5px 5px; width:95%;
|
24
|
+
border:1px solid $input-border-color;}
|
25
|
+
#activities_share_btn { text-align: right; padding: 5px 16px 0px 10px; vertical-align: middle;}
|
26
|
+
#securities{ display:inline-block; text-align:left; float: left; padding-left:5px;}
|
27
|
+
|
28
|
+
#security_chzn .chzn-choices {
|
29
|
+
padding-left: 20px;
|
30
|
+
background: url('btn/btn_security.png') no-repeat 10px center;
|
31
|
+
}
|
32
|
+
/******************* WALL - ACTIVITY ***************/
|
33
|
+
.super_activity{width: 95%;}
|
34
|
+
.activity { text-align:left; display: block; vertical-align: top; padding: 10px 0px 5px 0px;
|
35
|
+
display: inline-block; color: $sentence-color; font-size: 13px; color: $main-color;border-bottom:1px solid #E9E9E9;}
|
36
|
+
.actor_logo { width: 38px; padding: 8px 0px 5px 5px; display: inline-block; vertical-align: top;}
|
37
|
+
.activity_content { padding: 0px; display: inline-block; color: $sentence-color; width: 89%; word-wrap: break-word; }
|
38
|
+
.actor_name {font-size: 13px;}
|
39
|
+
.actor_name a{font-weight: bold;}
|
40
|
+
.post a { color: $main-color;}
|
41
|
+
|
42
|
+
/***************** ACTIVITY OPTIONS ***/
|
43
|
+
.activity_options { color: $main-color; font-size: 10px; display: inline-block;}
|
44
|
+
.actor_name-activity_objects, .actor_name_new_comment{ font-weight: bold; color: $main-color; font-size:12px; margin: 5px 0px;}
|
45
|
+
.activity_objects{padding-bottom:5px;}
|
46
|
+
.subactivity_objects{ color: $sentence-color; font-weight:normal; font-size:11px;}
|
47
|
+
.post_time_ago { color: $details-color;}
|
48
|
+
.activity_options { list-style:none; margin:0; padding:0;}
|
49
|
+
.activity_options li { padding-left:0px; padding-right:5px; float:left;}
|
50
|
+
.activity_options li a { text-decoration:none;}
|
51
|
+
.activity_options li a:hover { text-decoration:underline;}
|
52
|
+
.icon_gray{ list-style-image:url("/images/point_gray.png");}
|
53
|
+
.activity_options .icon_blue{ padding-left:5px; list-style-image:url("/images/point_blue.png");
|
54
|
+
list-style-position:inside;}
|
55
|
+
|
56
|
+
.security, .post_time_ago, .verb_comment, .verb_like, .verb_comment, .verb_delete{ display: inline-block;}
|
57
|
+
|
58
|
+
|
59
|
+
/************* ACTIVITY - FOOTER *********/
|
60
|
+
.space_comments { padding-top: 1px; padding-bottom: 1px;}
|
61
|
+
.space_activities { text-align:center; padding: 0px 0px 0px 1px; width:100%;}
|
62
|
+
.space_sub{ display: inline; padding: 1px 200px 1px 200px; border-bottom: thin solid $separation-color;
|
63
|
+
font-size: 2px; text-align:center;}
|
64
|
+
|
65
|
+
|
66
|
+
/****************** SUB-ACTIVITY by ACTIVITY ********/
|
67
|
+
|
68
|
+
|
69
|
+
.activity_new_comment{ font-size: 11px; padding-left: 5px; background: $secondary-color;
|
70
|
+
border: thin solid $separation-color; padding-top: 3px; padding-bottom: 3px;display:none;}
|
71
|
+
.actor_logo_subactivity, .actor_logo_new_comment{ width: 40px; padding: 5px 3px 5px 2px; display: inline-block;
|
72
|
+
vertical-align: top;}
|
73
|
+
.input_new_comments{ border:1px solid $input-border-color; width:98%; padding: 2px; color:$main-color;
|
74
|
+
resize: none; position: absolute; height: 100%; overflow: hidden; font-size:inherit;}
|
75
|
+
.subactivity{ font-size: 11px; padding: 0px 5px 0px 5px; background: $secondary-color;
|
76
|
+
border: thin solid $separation-color; display:block; }
|
77
|
+
.space_comments { padding-top: 1px; padding-bottom: 1px;}
|
78
|
+
#activities_share_btn { text-align: right; padding: 5px 16px 0px 10px; vertical-align: middle;}
|
79
|
+
.activities_comment_btn{ text-align: right; padding: 5px 5px 2px 10px; vertical-align: middle;}
|
80
|
+
|
81
|
+
.hide_show_comments{font-size: 11px; padding: 3px 10px; background: $secondary-color;
|
82
|
+
border: thin solid $separation-color;}
|
83
|
+
.new_comment{ width: 465px;}
|
84
|
+
.new_comment_shown{ width: 410px;}
|
85
|
+
|
86
|
+
.copy_new_comment{visibility: hidden; padding:6px; padding-bottom: 1.5em;font-size:inherit; line-height: 1.15em;
|
87
|
+
margin-bottom:7px;}
|
88
|
+
.input_new_comments_container{min-height: 30px; position: relative; }
|
@@ -0,0 +1,257 @@
|
|
1
|
+
@import "colors";
|
2
|
+
|
3
|
+
/*************Basic SECTION ********************/
|
4
|
+
* { margin: 0; padding: 0; font-family: Arial; }
|
5
|
+
html, body {height: auto;}
|
6
|
+
.p { margin: 0px; padding: 0px; font-size: inherit; font-family: inherit; font-weight: inherit;
|
7
|
+
text-align: inherit; color: inherit; line-height: inherit; vertical-align: top;}
|
8
|
+
p { padding-top: 0px; margin-top: 0px;}
|
9
|
+
img { border: 0px;}
|
10
|
+
div { margin: 0px; padding: 0px; font-family: Helvetica; font-size: 11px;}
|
11
|
+
.AbsWrap { width: 100%; position: relative;}
|
12
|
+
.rowWrap { width: 100%;}
|
13
|
+
a:link,a:visited { color: $main-color; font-size: inherit; text-decoration: inherit;}
|
14
|
+
a:hover { text-decoration: underline;}
|
15
|
+
.clearfloat { clear: both; height: 0px;}
|
16
|
+
h2{padding-left:10px;}
|
17
|
+
|
18
|
+
|
19
|
+
/******* Main Structure SECTION***************************/
|
20
|
+
body{font-size:1.0em; color: $main-color; background-color:$text-over-main; overflow-y: scroll;}
|
21
|
+
#wrapper { background-color: $fill-color; width: 100%; margin: 0px auto; }
|
22
|
+
#wrapper_body{min-height: 552px; width: 960px; margin:0px auto; margin-left: auto; margin-right: auto;
|
23
|
+
margin-top: auto; margin-bottom:auto; background-image:none; padding-bottom: 9px;}
|
24
|
+
|
25
|
+
|
26
|
+
/*********** Notices SECTION *********************/
|
27
|
+
.notice, .success, .alert, .error, .validation, #error_explanation {
|
28
|
+
border: 1px solid;
|
29
|
+
margin: 10px 0px;
|
30
|
+
padding:15px 10px 15px 40px;
|
31
|
+
background-repeat: no-repeat;
|
32
|
+
background-position: 10px center;
|
33
|
+
width: 440px;
|
34
|
+
margin-left: auto;
|
35
|
+
margin-right: auto;
|
36
|
+
}
|
37
|
+
.notice ul, .success ul, .alert ul, .error ul, .validation ul, #error_explanation ul{
|
38
|
+
margin-left:40px;
|
39
|
+
|
40
|
+
}
|
41
|
+
label.validation_error{color: $error-color;background-color: $error-background;border: 1px solid;
|
42
|
+
display: block;padding-left:5px;padding-right:5px;width:90%;}
|
43
|
+
.notice {border-color:$input-border-color; color: $main-color;background-color: $secondary-color;
|
44
|
+
background-image: url('btn/info.png');}
|
45
|
+
.success {border-color: $success-color;color: $success-color;background-color: $success-background;
|
46
|
+
background-image:url('btn/success.png');}
|
47
|
+
.alert {border-color: $alert-color; color: $alert-color;background-color: $alert-background;
|
48
|
+
background-image: url('btn/warning.png');}
|
49
|
+
.error, #error_explanation {border-color: $error-color; color: $error-color;background-color: $error-background;
|
50
|
+
background-image: url('btn/error.png');}
|
51
|
+
.error h2, #error_explanation h2{ color: $error-color;}
|
52
|
+
|
53
|
+
/************Forms SECTION **************/
|
54
|
+
input.other_blue{ background-color:$auxiliar-color !important; border:0px; cursor:pointer; line-height:135%;
|
55
|
+
padding: 1px 5px !important; margin: 5px 0px !important;}
|
56
|
+
textarea.new_contact_text_area{ height: 100px; color: $main-color;}
|
57
|
+
.colum_field_title{ text-align: center; }
|
58
|
+
.needed{color:$details-color;font-weight: normal;}
|
59
|
+
.select_relations select{ font-size: 12px; color: white; background-color:$main-color;}
|
60
|
+
|
61
|
+
/************ Forms - Buttons SECTION ***************************/
|
62
|
+
|
63
|
+
|
64
|
+
button, input[type=submit]{margin: 10px 0 10px 0px;padding: 3px 20px 3px 20px;color:$text-over-main;
|
65
|
+
background-color: $main-color; -moz-border-radius: 6px; -webkit-border-radius: 6px;
|
66
|
+
border-radius: 6px; font-size: 13px;}
|
67
|
+
.optionHeader {
|
68
|
+
color: $text-over-main;
|
69
|
+
overflow: hidden;
|
70
|
+
background-color: $main-color;
|
71
|
+
}
|
72
|
+
|
73
|
+
|
74
|
+
/************** BLOCK DIV SECTION *********/
|
75
|
+
.block { display:block;}
|
76
|
+
.block .brief { color: $details-color;}
|
77
|
+
.block .center{ text-align:center;}
|
78
|
+
.block .close { float:right; vertical-align:top;}
|
79
|
+
.block .content{ padding: 5px 4px 5px 4px; }
|
80
|
+
.block .header{vertical-align: middle; background: $secondary-color;
|
81
|
+
padding-left: 10px; display: block; height:20px; font-weight:bold;}
|
82
|
+
.block .header_icon{ margin-top: 2px; width:14px; height:14px; }
|
83
|
+
.block .header_icon_right { float: right; padding-right: 5px; padding-top: 3px;}
|
84
|
+
.block .header_text { margin-top: 3px; display: inline-block;}
|
85
|
+
.block .header_title { margin-top: 3px; display: inline-block; font-weight: bold}
|
86
|
+
.block .logo{ display: inline-block; vertical-align:top;}
|
87
|
+
.block .right{padding-right:20px; float:right;}
|
88
|
+
.block .row { display: block;}
|
89
|
+
.block .title{ display:inline-block; }
|
90
|
+
.block .sub-block{ display: inline-block; padding-left:3px; width:70%; text-align:left;}
|
91
|
+
.block .close_add_contact { float:right; vertical-align:top; margin-right: 1%; }
|
92
|
+
|
93
|
+
/******BLOCK TAB CONTENT SECTION********/
|
94
|
+
.block .tab { margin-top: 2px; background: $text-over-main; padding: 2px 0px 2px 0px;}
|
95
|
+
.block .tab_content{ padding:5px; text-align:center;}
|
96
|
+
.block .tab li { display: inline; list-style: none; padding-right: 2px;}
|
97
|
+
.block .tab li a { background-color: $secondary-color; text-decoration: none; padding: 4px 3px; outline: none;}
|
98
|
+
.block .tab ul { background: $secondary-color;}
|
99
|
+
.block .tab li a:hover,
|
100
|
+
.block .tab li.ui-tabs-nav a,
|
101
|
+
.block .tab li.ui-tabs-selected a,
|
102
|
+
.block .tab li a:active { background-color: $separation-color; font-weight: bold; text-decoration: none;}
|
103
|
+
.block .tab_browse{ width:49%; display:inline-block;}
|
104
|
+
.ui-tabs-hide { display: none;}
|
105
|
+
|
106
|
+
|
107
|
+
/******** FORMS SECTION *******/
|
108
|
+
.block .form_comment{ font-weight:normal;}
|
109
|
+
.block .field{ display:inline; padding: 0px; width:50%;}
|
110
|
+
.block .form_tag{color: $main-color; padding: 5px 5px 5px 5px; border:1px solid $input-border-color; width:90%;}
|
111
|
+
.block .form_tag_long{color: $main-color; padding: 5px 5px 5px 5px; border:1px solid $input-border-color; width:91%;}
|
112
|
+
.block .form_label{display:inline-block; width:25%; font-weight:bold; vertical-align:top; padding-top:7px;}
|
113
|
+
.block .form_field{ display:inline-block; padding: 0px; width:73%;}
|
114
|
+
.block #form_select.form_field{ padding: 3px 0px;}
|
115
|
+
.block .form_row {display: block; padding:5px; padding-left:20px;}
|
116
|
+
.block .form_sub_row {display: block; padding:5px; padding-left:30px;}
|
117
|
+
.block .label{ display:inline-block; width:49%; }
|
118
|
+
.block .two_columns_container { margin-top: 5px; }
|
119
|
+
.block .form_column_left { display: block; padding:5px; padding-left:20px; float: left; width:60%;
|
120
|
+
text-align: center;}
|
121
|
+
.block .form_column_right { display: block; padding: 5px 10px 5px 10px; float:right; width:31%; text-align: center;}
|
122
|
+
.block .form_bottom { display: block; padding:5px; padding-left:20px; clear:both; text-align: center; }
|
123
|
+
.block .select_relations{ padding-top:20px; text-align: center; }
|
124
|
+
#form_participants{vertical-align:60%;}
|
125
|
+
|
126
|
+
div.chzn-container ul.chzn-choices li.search-field input{ cursor:pointer;}
|
127
|
+
|
128
|
+
/********* Links SECTION **********/
|
129
|
+
.contact_link a{ text-decoration:none;}
|
130
|
+
.contact_link a:hover{ text-decoration:underline;}
|
131
|
+
|
132
|
+
|
133
|
+
/********* Menu header SECTION ************/
|
134
|
+
.menu_list ul{list-style-type:none;}
|
135
|
+
.menu_list li{display: inline;padding-right: 2px; padding-left: 2px; vertical-align: top; }
|
136
|
+
.line{ display:block; margin:10px 2px 10px 10px;}
|
137
|
+
|
138
|
+
/*************MENU ICON SECTION**********/
|
139
|
+
.menu_header{ border-bottom: thin solid $separation-color; width:14.5em; padding-left:3px; padding-right:3px;}
|
140
|
+
.menu_icon{ vertical-align: middle; padding-bottom: 3px; padding-right: 3px; padding-left: 3px;
|
141
|
+
display: inline-block;}
|
142
|
+
|
143
|
+
/*************SPACES SECTION *************/
|
144
|
+
.space_center { padding-top: 9px; padding-right: 4px; text-align: center;}
|
145
|
+
|
146
|
+
/********** Current logo change **********/
|
147
|
+
.logo_grid {
|
148
|
+
width: 142px;
|
149
|
+
height: 119px;
|
150
|
+
overflow: hidden;
|
151
|
+
position: relative;
|
152
|
+
}
|
153
|
+
.logo_grid img {
|
154
|
+
position: absolute;
|
155
|
+
top: 0;
|
156
|
+
left: 23px;
|
157
|
+
border: 0;
|
158
|
+
}
|
159
|
+
|
160
|
+
.logo_caption {
|
161
|
+
top: 119px;
|
162
|
+
left: 23px;
|
163
|
+
float: left;
|
164
|
+
position: absolute;
|
165
|
+
background: $secondary-color;
|
166
|
+
opacity: 0.8;
|
167
|
+
width: 119px;
|
168
|
+
height: 18px;
|
169
|
+
/* For IE 5-7 */
|
170
|
+
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
|
171
|
+
/* For IE 8 */
|
172
|
+
-MS-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
|
173
|
+
}
|
174
|
+
|
175
|
+
.logo_full .logo_caption {
|
176
|
+
top: 119px;
|
177
|
+
left: 23px;
|
178
|
+
padding: 0px;
|
179
|
+
}
|
180
|
+
|
181
|
+
.activities_title_header{
|
182
|
+
padding: 2px;
|
183
|
+
margin-right: 10px;
|
184
|
+
margin-bottom: 5px;
|
185
|
+
border: 2px solid transparent;
|
186
|
+
color: $sentence-color;
|
187
|
+
}
|
188
|
+
|
189
|
+
.activities_title_header img{
|
190
|
+
margin-bottom: -4px;
|
191
|
+
margin-right: 4px;
|
192
|
+
}
|
193
|
+
|
194
|
+
#activity_form_select {
|
195
|
+
margin-left: 6px;
|
196
|
+
}
|
197
|
+
|
198
|
+
.activity_form_selector{
|
199
|
+
padding: 5px;
|
200
|
+
margin: 1px 2px;
|
201
|
+
margin-bottom: 5px;
|
202
|
+
float: left;
|
203
|
+
background: $text-over-main;
|
204
|
+
border: 1px solid $separation-color;
|
205
|
+
cursor: pointer;
|
206
|
+
}
|
207
|
+
|
208
|
+
.activity_form_selector.selected{
|
209
|
+
background: $auxiliar-color;
|
210
|
+
border: 1px solid $main-color;
|
211
|
+
color: $text-over-main;
|
212
|
+
font-weight: bold;
|
213
|
+
}
|
214
|
+
|
215
|
+
.activity_form_selector:hover{
|
216
|
+
background: $auxiliar-color;
|
217
|
+
color: $text-over-main;
|
218
|
+
}
|
219
|
+
|
220
|
+
.more_pending{
|
221
|
+
text-align: center;
|
222
|
+
}
|
223
|
+
|
224
|
+
/********************************* Menu list options ***********/
|
225
|
+
.menu_plain_list {
|
226
|
+
list-style: none;
|
227
|
+
}
|
228
|
+
.menu_plain_list li {
|
229
|
+
line-height: 27px;
|
230
|
+
vertical-align: top;
|
231
|
+
display: inline;
|
232
|
+
}
|
233
|
+
.menu_plain_list li span:hover {
|
234
|
+
background: $separation-color;
|
235
|
+
}
|
236
|
+
.menu_plain_list li a:hover {
|
237
|
+
text-decoration: none;
|
238
|
+
}
|
239
|
+
.menu_plain_list li span {
|
240
|
+
padding: 5px 10px;
|
241
|
+
background-color: $secondary-color;
|
242
|
+
}
|
243
|
+
.menu_plain_list li span.selected {
|
244
|
+
border: solid 1px $main-color;
|
245
|
+
}
|
246
|
+
.menu_plain_list li span.disabled {
|
247
|
+
background-color: $fill-color;
|
248
|
+
color: $input-border-color;
|
249
|
+
}
|
250
|
+
|
251
|
+
.menu_plain_list img{
|
252
|
+
vertical-align: middle;
|
253
|
+
padding-bottom: 3px;
|
254
|
+
padding-right: 3px;
|
255
|
+
padding-left: 3px;
|
256
|
+
display: inline-block;
|
257
|
+
}
|