Version Description
= 3.0.0 = See: https://codex.buddypress.org/releases/version-3-0-0/
Download this release
Release Info
Developer | DJPaul |
Plugin | BuddyPress |
Version | 3.0.0-RC2 |
Comparing to | |
See all releases |
Code changes from version 3.0.0-beta2 to 3.0.0-RC2
- bp-activity/bp-activity-filters.php +1 -31
- bp-activity/bp-activity-notifications.php +72 -0
- bp-activity/classes/class-bp-activity-component.php +0 -5
- bp-activity/screens/settings-email.php +0 -83
- bp-core/admin/bp-core-admin-functions.php +10 -6
- bp-core/admin/bp-core-admin-settings.php +4 -4
- bp-core/admin/css/common-rtl.css +74 -342
- bp-core/admin/css/common-rtl.min.css +1 -1
- bp-core/admin/css/common.css +74 -342
- bp-core/admin/css/common.min.css +1 -1
- bp-core/admin/css/hello-rtl.css +319 -0
- bp-core/admin/css/hello-rtl.min.css +1 -0
- bp-core/admin/css/hello.css +319 -0
- bp-core/admin/css/hello.min.css +1 -0
- bp-core/admin/js/hello.js +67 -0
- bp-core/admin/js/hello.min.js +1 -0
- bp-core/admin/sass/hello.scss +386 -0
- bp-core/bp-core-functions.php +37 -0
- bp-core/bp-core-theme-compatibility.php +4 -0
- bp-core/classes/class-bp-admin.php +289 -269
- bp-friends/bp-friends-notifications.php +65 -0
- bp-friends/classes/class-bp-friends-component.php +0 -5
- bp-friends/screens/settings-email.php +0 -73
- bp-groups/bp-groups-notifications.php +112 -0
- bp-groups/classes/class-bp-groups-component.php +0 -5
- bp-groups/screens/user/settings-email.php +0 -120
- bp-loader.php +1 -1
- bp-messages/bp-messages-filters.php +43 -15
- bp-messages/bp-messages-notifications.php +55 -0
- bp-messages/bp-messages-star.php +18 -0
- bp-messages/classes/class-bp-messages-component.php +0 -5
- bp-messages/screens/settings-email.php +0 -63
- bp-messages/screens/starred.php +0 -18
- bp-settings/classes/class-bp-settings-component.php +2 -2
- bp-templates/bp-legacy/buddypress-functions.php +1 -0
- bp-templates/bp-legacy/buddypress/activity/activity-loop.php +1 -0
- bp-templates/bp-legacy/buddypress/activity/comment.php +1 -0
- bp-templates/bp-legacy/buddypress/activity/entry.php +1 -0
- bp-templates/bp-legacy/buddypress/activity/index.php +1 -0
- bp-templates/bp-legacy/buddypress/activity/post-form.php +1 -0
- bp-templates/bp-legacy/buddypress/activity/single/home.php +1 -0
- bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/camera.php +1 -0
- bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/crop.php +1 -0
- bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/index.php +1 -0
- bp-templates/bp-legacy/buddypress/assets/_attachments/cover-images/index.php +1 -0
- bp-templates/bp-legacy/buddypress/assets/_attachments/uploader.php +1 -0
- bp-templates/bp-legacy/buddypress/assets/emails/single-bp-email.php +1 -0
- bp-templates/bp-legacy/buddypress/assets/embeds/activity.php +5 -1
- bp-templates/bp-legacy/buddypress/assets/embeds/footer.php +6 -1
- bp-templates/bp-legacy/buddypress/assets/embeds/header-activity.php +5 -0
- bp-templates/bp-legacy/buddypress/assets/embeds/header.php +5 -1
- bp-templates/bp-legacy/buddypress/blogs/blogs-loop.php +1 -0
- bp-templates/bp-legacy/buddypress/blogs/create.php +1 -0
- bp-templates/bp-legacy/buddypress/blogs/index.php +1 -0
- bp-templates/bp-legacy/buddypress/common/search/dir-search-form.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/create.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/groups-loop.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/index.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/activity.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/admin.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/admin/group-cover-image.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/admin/membership-requests.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/group-header.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/home.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/members.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/plugins.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/request-membership.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php +1 -0
- bp-templates/bp-legacy/buddypress/groups/single/send-invites.php +1 -0
- bp-templates/bp-legacy/buddypress/members/activate.php +1 -0
- bp-templates/bp-legacy/buddypress/members/index.php +1 -0
- bp-templates/bp-legacy/buddypress/members/members-loop.php +1 -0
- bp-templates/bp-legacy/buddypress/members/register.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/activity.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/blogs.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/friends.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/friends/requests.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/groups.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/groups/invites.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/home.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/member-header.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/messages.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/messages/compose.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/messages/message.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/messages/notices-loop.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/messages/single.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/notifications.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/notifications/feedback-no-notifications.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/notifications/notifications-loop.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/notifications/read.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/notifications/unread.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/plugins.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/profile.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/profile/change-cover-image.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/profile/edit.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/settings.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/settings/capabilities.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/settings/delete-account.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/settings/general.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php +1 -0
- bp-templates/bp-legacy/buddypress/members/single/settings/profile.php +1 -0
- bp-templates/bp-legacy/css/buddypress-rtl.css +2 -0
- bp-templates/bp-legacy/css/buddypress.css +2 -0
- bp-templates/bp-legacy/css/embeds-activity-rtl.css +3 -0
- bp-templates/bp-legacy/css/embeds-activity.css +3 -0
- bp-templates/bp-legacy/css/twentyeleven-rtl.css +2 -0
- bp-templates/bp-legacy/css/twentyeleven.css +2 -0
- bp-templates/bp-legacy/css/twentyeleven.scss +2 -0
- bp-templates/bp-legacy/css/twentyfifteen-rtl.css +2 -0
- bp-templates/bp-legacy/css/twentyfifteen.css +2 -0
- bp-templates/bp-legacy/css/twentyfifteen.scss +2 -0
- bp-templates/bp-legacy/css/twentyfourteen-rtl.css +2 -0
- bp-templates/bp-legacy/css/twentyfourteen.css +2 -0
- bp-templates/bp-legacy/css/twentyfourteen.scss +2 -0
- bp-templates/bp-legacy/css/twentyseventeen-rtl.css +2 -0
- bp-templates/bp-legacy/css/twentyseventeen.css +2 -0
- bp-templates/bp-legacy/css/twentyseventeen.scss +2 -0
- bp-templates/bp-legacy/css/twentysixteen-rtl.css +2 -0
- bp-templates/bp-legacy/css/twentysixteen.css +2 -0
- bp-templates/bp-legacy/css/twentysixteen.scss +2 -0
- bp-templates/bp-legacy/css/twentyten-rtl.css +2 -0
- bp-templates/bp-legacy/css/twentyten.css +2 -0
- bp-templates/bp-legacy/css/twentyten.scss +2 -0
- bp-templates/bp-legacy/css/twentythirteen-rtl.css +2 -0
- bp-templates/bp-legacy/css/twentythirteen.css +2 -0
- bp-templates/bp-legacy/css/twentythirteen.scss +2 -0
- bp-templates/bp-legacy/css/twentytwelve-rtl.css +2 -0
- bp-templates/bp-legacy/css/twentytwelve.css +2 -0
- bp-templates/bp-legacy/css/twentytwelve.scss +2 -0
- bp-templates/bp-legacy/js/buddypress.js +1 -0
- bp-templates/bp-legacy/js/password-verify.js +1 -0
- bp-templates/bp-nouveau/buddypress-functions.php +53 -36
- bp-templates/bp-nouveau/buddypress/activity/activity-loop.php +8 -2
- bp-templates/bp-nouveau/buddypress/activity/comment-form.php +1 -0
- bp-templates/bp-nouveau/buddypress/activity/comment.php +2 -0
- bp-templates/bp-nouveau/buddypress/activity/entry.php +2 -1
- bp-templates/bp-nouveau/buddypress/activity/index.php +1 -0
- bp-templates/bp-nouveau/buddypress/activity/post-form.php +4 -0
- bp-templates/bp-nouveau/buddypress/activity/single/home.php +2 -0
- bp-templates/bp-nouveau/buddypress/activity/widget.php +4 -3
- bp-templates/bp-nouveau/buddypress/assets/_attachments/avatars/camera.php +1 -0
- bp-templates/bp-nouveau/buddypress/assets/_attachments/avatars/crop.php +1 -0
- bp-templates/bp-nouveau/buddypress/assets/_attachments/avatars/index.php +15 -2
- bp-templates/bp-nouveau/buddypress/assets/_attachments/cover-images/index.php +15 -2
- bp-templates/bp-nouveau/buddypress/assets/_attachments/uploader.php +1 -0
- bp-templates/bp-nouveau/buddypress/assets/emails/single-bp-email.php +1 -0
- bp-templates/bp-nouveau/buddypress/assets/embeds/activity.php +4 -0
- bp-templates/bp-nouveau/buddypress/assets/embeds/footer.php +5 -0
- bp-templates/bp-nouveau/buddypress/assets/embeds/header-activity.php +5 -0
- bp-templates/bp-nouveau/buddypress/assets/embeds/header.php +5 -0
- bp-templates/bp-nouveau/buddypress/blogs/blogs-loop.php +1 -0
- bp-templates/bp-nouveau/buddypress/blogs/create.php +1 -0
- bp-templates/bp-nouveau/buddypress/blogs/index.php +1 -0
- bp-templates/bp-nouveau/buddypress/common/filters/directory-filters.php +1 -0
- bp-templates/bp-nouveau/buddypress/common/filters/groups-screens-filters.php +1 -0
- bp-templates/bp-nouveau/buddypress/common/filters/user-screens-filters.php +5 -4
- bp-templates/bp-nouveau/buddypress/common/js-templates/activity/form.php +2 -1
- bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php +54 -21
- bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php +48 -24
- bp-templates/bp-nouveau/buddypress/common/nav/directory-nav.php +1 -0
- bp-templates/bp-nouveau/buddypress/common/notices/template-notices.php +2 -1
- bp-templates/bp-nouveau/buddypress/common/search-and-filters-bar.php +1 -0
- bp-templates/bp-nouveau/buddypress/common/search/search-form.php +7 -6
- bp-templates/bp-nouveau/buddypress/groups/create-invites.php +0 -14
- bp-templates/bp-nouveau/buddypress/groups/create.php +12 -2
- bp-templates/bp-nouveau/buddypress/groups/groups-loop.php +1 -0
- bp-templates/bp-nouveau/buddypress/groups/index.php +1 -0
- bp-templates/bp-nouveau/buddypress/groups/single/activity.php +5 -2
- bp-templates/bp-nouveau/buddypress/groups/single/admin.php +1 -0
- bp-templates/bp-nouveau/buddypress/groups/single/admin/delete-group.php +1 -0
- bp-templates/bp-nouveau/buddypress/groups/single/admin/edit-details.php +15 -3
- bp-templates/bp-nouveau/buddypress/groups/single/admin/group-avatar.php +15 -3
- bp-templates/bp-nouveau/buddypress/groups/single/admin/group-cover-image.php +6 -3
- bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php +14 -3
- bp-templates/bp-nouveau/buddypress/groups/single/admin/manage-members.php +1 -0
- bp-templates/bp-nouveau/buddypress/groups/single/admin/membership-requests.php +1 -0
- bp-templates/bp-nouveau/buddypress/groups/single/cover-image-header.php +2 -1
- bp-templates/bp-nouveau/buddypress/groups/single/default-front.php +1 -0
- bp-templates/bp-nouveau/buddypress/groups/single/group-header.php +1 -0
- bp-templates/bp-nouveau/buddypress/groups/single/home.php +1 -0
- bp-templates/bp-nouveau/buddypress/groups/single/members-loop.php +2 -1
- bp-templates/bp-nouveau/buddypress/groups/single/members.php +9 -4
- bp-templates/bp-nouveau/buddypress/groups/single/parts/admin-subnav.php +1 -0
- bp-templates/bp-nouveau/buddypress/groups/single/parts/header-item-actions.php +3 -0
- bp-templates/bp-nouveau/buddypress/groups/single/parts/item-nav.php +1 -0
- bp-templates/bp-nouveau/buddypress/groups/single/plugins.php +1 -0
- bp-templates/bp-nouveau/buddypress/groups/single/request-membership.php +1 -0
- bp-templates/bp-nouveau/buddypress/groups/single/requests-loop.php +22 -5
- bp-templates/bp-nouveau/buddypress/groups/single/send-invites.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/activate.php +2 -1
- bp-templates/bp-nouveau/buddypress/members/index.php +2 -0
- bp-templates/bp-nouveau/buddypress/members/members-loop.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/register.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/activity.php +5 -1
- bp-templates/bp-nouveau/buddypress/members/single/blogs.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/cover-image-header.php +2 -1
- bp-templates/bp-nouveau/buddypress/members/single/default-front.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/friends.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/friends/requests.php +5 -1
- bp-templates/bp-nouveau/buddypress/members/single/groups.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/groups/invites.php +5 -1
- bp-templates/bp-nouveau/buddypress/members/single/home.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/member-header.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/messages.php +2 -0
- bp-templates/bp-nouveau/buddypress/members/single/notifications.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/notifications/notifications-loop.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/parts/item-nav.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/parts/item-subnav.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/parts/profile-visibility.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/plugins.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/profile.php +3 -2
- bp-templates/bp-nouveau/buddypress/members/single/profile/change-avatar.php +4 -3
- bp-templates/bp-nouveau/buddypress/members/single/profile/change-cover-image.php +4 -3
- bp-templates/bp-nouveau/buddypress/members/single/profile/edit.php +6 -3
- bp-templates/bp-nouveau/buddypress/members/single/profile/profile-loop.php +8 -3
- bp-templates/bp-nouveau/buddypress/members/single/profile/profile-wp.php +2 -1
- bp-templates/bp-nouveau/buddypress/members/single/settings.php +2 -0
- bp-templates/bp-nouveau/buddypress/members/single/settings/capabilities.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/settings/delete-account.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/settings/general.php +2 -1
- bp-templates/bp-nouveau/buddypress/members/single/settings/group-invites.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/settings/notifications.php +1 -0
- bp-templates/bp-nouveau/buddypress/members/single/settings/profile.php +1 -0
- bp-templates/bp-nouveau/common-styles/_bp-mixins.scss +11 -5
- bp-templates/bp-nouveau/common-styles/_bp-variables.scss +3 -2
- bp-templates/bp-nouveau/common-styles/_bp_activity_comments.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_activity_entries.scss +2 -1
- bp-templates/bp-nouveau/common-styles/_bp_animations.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_blogs_loop.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_buttons.scss +6 -0
- bp-templates/bp-nouveau/common-styles/_bp_comment_form.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_cover_image.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_filters.scss +12 -0
- bp-templates/bp-nouveau/common-styles/_bp_forms.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_general_classes.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_generic_and_typography.scss +2 -1
- bp-templates/bp-nouveau/common-styles/_bp_group_header.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_groups_activity.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_groups_create.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_groups_item_body.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_groups_loop.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_groups_management.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_info_messages.scss +6 -3
- bp-templates/bp-nouveau/common-styles/_bp_item_body_general.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_item_header_general.scss +6 -0
- bp-templates/bp-nouveau/common-styles/_bp_layouts.scss +14 -1
- bp-templates/bp-nouveau/common-styles/_bp_lists.scss +12 -1
- bp-templates/bp-nouveau/common-styles/_bp_members_loop.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_messages.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_navigation.scss +40 -42
- bp-templates/bp-nouveau/common-styles/_bp_pagination.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_registration.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_search.scss +2 -1
- bp-templates/bp-nouveau/common-styles/_bp_tables.scss +2 -1
- bp-templates/bp-nouveau/common-styles/_bp_tooltips.scss +14 -1
- bp-templates/bp-nouveau/common-styles/_bp_update_form.scss +5 -2
- bp-templates/bp-nouveau/common-styles/_bp_user_header.scss +1 -0
- bp-templates/bp-nouveau/common-styles/_bp_user_profile.scss +2 -0
- bp-templates/bp-nouveau/common-styles/_bp_user_settings.scss +1 -1
- bp-templates/bp-nouveau/common-styles/_bp_widgets.scss +27 -1
- bp-templates/bp-nouveau/css/buddypress-rtl.css +209 -79
- bp-templates/bp-nouveau/css/buddypress-rtl.min.css +1 -1
- bp-templates/bp-nouveau/css/buddypress.css +209 -79
- bp-templates/bp-nouveau/css/buddypress.min.css +1 -1
- bp-templates/bp-nouveau/css/embeds-activity-rtl.css +5 -1
- bp-templates/bp-nouveau/css/embeds-activity.css +5 -1
- bp-templates/bp-nouveau/includes/activity/ajax.php +19 -1
- bp-templates/bp-nouveau/includes/activity/functions.php +49 -33
- bp-templates/bp-nouveau/includes/activity/loader.php +3 -2
- bp-templates/bp-nouveau/includes/activity/template-tags.php +40 -12
- bp-templates/bp-nouveau/includes/activity/widgets.php +18 -1
- bp-templates/bp-nouveau/includes/ajax.php +17 -0
- bp-templates/bp-nouveau/includes/blogs/ajax.php +1 -0
- bp-templates/bp-nouveau/includes/blogs/functions.php +13 -0
- bp-templates/bp-nouveau/includes/blogs/template-tags.php +10 -9
- bp-templates/bp-nouveau/includes/classes.php +19 -2
- bp-templates/bp-nouveau/includes/customizer-controls.php +4 -1
- bp-templates/bp-nouveau/includes/customizer.php +49 -70
- bp-templates/bp-nouveau/includes/friends/ajax.php +1 -0
- bp-templates/bp-nouveau/includes/friends/loader.php +1 -0
- bp-templates/bp-nouveau/includes/functions.php +55 -22
- bp-templates/bp-nouveau/includes/groups/ajax.php +28 -27
- bp-templates/bp-nouveau/includes/groups/classes.php +2 -0
- bp-templates/bp-nouveau/includes/groups/functions.php +137 -37
- bp-templates/bp-nouveau/includes/groups/loader.php +1 -0
- bp-templates/bp-nouveau/includes/groups/template-tags.php +40 -20
- bp-templates/bp-nouveau/includes/members/functions.php +38 -2
- bp-templates/bp-nouveau/includes/members/loader.php +1 -0
- bp-templates/bp-nouveau/includes/members/template-tags.php +35 -16
- bp-templates/bp-nouveau/includes/messages/ajax.php +35 -14
- bp-templates/bp-nouveau/includes/messages/functions.php +38 -5
- bp-templates/bp-nouveau/includes/messages/loader.php +1 -15
- bp-templates/bp-nouveau/includes/messages/template-tags.php +1 -0
- bp-templates/bp-nouveau/includes/notifications/functions.php +1 -0
- bp-templates/bp-nouveau/includes/notifications/loader.php +1 -0
- bp-templates/bp-nouveau/includes/notifications/template-tags.php +2 -1
- bp-templates/bp-nouveau/includes/template-tags.php +187 -19
- bp-templates/bp-nouveau/includes/xprofile/functions.php +1 -0
- bp-templates/bp-nouveau/includes/xprofile/loader.php +1 -0
- bp-templates/bp-nouveau/includes/xprofile/template-tags.php +1 -0
- bp-templates/bp-nouveau/js/buddypress-activity-post-form.js +45 -20
- bp-templates/bp-nouveau/js/buddypress-activity-post-form.min.js +1 -1
- bp-templates/bp-nouveau/js/buddypress-activity.js +14 -12
- bp-templates/bp-nouveau/js/buddypress-activity.min.js +1 -1
- bp-templates/bp-nouveau/js/buddypress-group-invites.js +39 -21
- bp-templates/bp-nouveau/js/buddypress-group-invites.min.js +1 -1
- bp-templates/bp-nouveau/js/buddypress-messages.js +114 -39
- bp-templates/bp-nouveau/js/buddypress-messages.min.js +1 -1
- bp-templates/bp-nouveau/js/buddypress-notifications.js +1 -0
- bp-templates/bp-nouveau/js/buddypress-nouveau.js +9 -74
- bp-templates/bp-nouveau/js/buddypress-nouveau.min.js +1 -1
bp-activity/bp-activity-filters.php
CHANGED
@@ -202,36 +202,6 @@ function bp_activity_check_blacklist_keys( $activity ) {
|
|
202 |
* @return string $content Filtered activity content.
|
203 |
*/
|
204 |
function bp_activity_filter_kses( $content ) {
|
205 |
-
global $allowedtags;
|
206 |
-
|
207 |
-
$activity_allowedtags = $allowedtags;
|
208 |
-
$activity_allowedtags['a']['aria-label'] = array();
|
209 |
-
$activity_allowedtags['a']['class'] = array();
|
210 |
-
$activity_allowedtags['a']['data-bp-tooltip'] = array();
|
211 |
-
$activity_allowedtags['a']['id'] = array();
|
212 |
-
$activity_allowedtags['a']['rel'] = array();
|
213 |
-
$activity_allowedtags['a']['title'] = array();
|
214 |
-
|
215 |
-
$activity_allowedtags['b'] = array();
|
216 |
-
$activity_allowedtags['code'] = array();
|
217 |
-
$activity_allowedtags['i'] = array();
|
218 |
-
|
219 |
-
$activity_allowedtags['img'] = array();
|
220 |
-
$activity_allowedtags['img']['src'] = array();
|
221 |
-
$activity_allowedtags['img']['alt'] = array();
|
222 |
-
$activity_allowedtags['img']['width'] = array();
|
223 |
-
$activity_allowedtags['img']['height'] = array();
|
224 |
-
$activity_allowedtags['img']['class'] = array();
|
225 |
-
$activity_allowedtags['img']['id'] = array();
|
226 |
-
|
227 |
-
$activity_allowedtags['span'] = array();
|
228 |
-
$activity_allowedtags['span']['class'] = array();
|
229 |
-
$activity_allowedtags['span']['data-livestamp'] = array();
|
230 |
-
|
231 |
-
$activity_allowedtags['ul'] = array();
|
232 |
-
$activity_allowedtags['ol'] = array();
|
233 |
-
$activity_allowedtags['li'] = array();
|
234 |
-
|
235 |
/**
|
236 |
* Filters the allowed HTML tags for BuddyPress Activity content.
|
237 |
*
|
@@ -239,7 +209,7 @@ function bp_activity_filter_kses( $content ) {
|
|
239 |
*
|
240 |
* @param array $value Array of allowed HTML tags and attributes.
|
241 |
*/
|
242 |
-
$activity_allowedtags = apply_filters( 'bp_activity_allowed_tags',
|
243 |
return wp_kses( $content, $activity_allowedtags );
|
244 |
}
|
245 |
|
202 |
* @return string $content Filtered activity content.
|
203 |
*/
|
204 |
function bp_activity_filter_kses( $content ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
/**
|
206 |
* Filters the allowed HTML tags for BuddyPress Activity content.
|
207 |
*
|
209 |
*
|
210 |
* @param array $value Array of allowed HTML tags and attributes.
|
211 |
*/
|
212 |
+
$activity_allowedtags = apply_filters( 'bp_activity_allowed_tags', bp_get_allowedtags() );
|
213 |
return wp_kses( $content, $activity_allowedtags );
|
214 |
}
|
215 |
|
bp-activity/bp-activity-notifications.php
CHANGED
@@ -339,3 +339,75 @@ function bp_activity_add_notification_for_synced_blog_comment( $activity_id, $po
|
|
339 |
}
|
340 |
}
|
341 |
add_action( 'bp_blogs_comment_sync_activity_comment', 'bp_activity_add_notification_for_synced_blog_comment', 10, 4 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
339 |
}
|
340 |
}
|
341 |
add_action( 'bp_blogs_comment_sync_activity_comment', 'bp_activity_add_notification_for_synced_blog_comment', 10, 4 );
|
342 |
+
|
343 |
+
/**
|
344 |
+
* Add activity notifications settings to the notifications settings page.
|
345 |
+
*
|
346 |
+
* @since 1.2.0
|
347 |
+
*/
|
348 |
+
function bp_activity_screen_notification_settings() {
|
349 |
+
if ( bp_activity_do_mentions() ) {
|
350 |
+
if ( ! $mention = bp_get_user_meta( bp_displayed_user_id(), 'notification_activity_new_mention', true ) ) {
|
351 |
+
$mention = 'yes';
|
352 |
+
}
|
353 |
+
}
|
354 |
+
|
355 |
+
if ( ! $reply = bp_get_user_meta( bp_displayed_user_id(), 'notification_activity_new_reply', true ) ) {
|
356 |
+
$reply = 'yes';
|
357 |
+
}
|
358 |
+
|
359 |
+
?>
|
360 |
+
|
361 |
+
<table class="notification-settings" id="activity-notification-settings">
|
362 |
+
<thead>
|
363 |
+
<tr>
|
364 |
+
<th class="icon"> </th>
|
365 |
+
<th class="title"><?php _e( 'Activity', 'buddypress' ) ?></th>
|
366 |
+
<th class="yes"><?php _e( 'Yes', 'buddypress' ) ?></th>
|
367 |
+
<th class="no"><?php _e( 'No', 'buddypress' )?></th>
|
368 |
+
</tr>
|
369 |
+
</thead>
|
370 |
+
|
371 |
+
<tbody>
|
372 |
+
<?php if ( bp_activity_do_mentions() ) : ?>
|
373 |
+
<tr id="activity-notification-settings-mentions">
|
374 |
+
<td> </td>
|
375 |
+
<td><?php printf( __( 'A member mentions you in an update using "@%s"', 'buddypress' ), bp_core_get_username( bp_displayed_user_id() ) ) ?></td>
|
376 |
+
<td class="yes"><input type="radio" name="notifications[notification_activity_new_mention]" id="notification-activity-new-mention-yes" value="yes" <?php checked( $mention, 'yes', true ) ?>/><label for="notification-activity-new-mention-yes" class="bp-screen-reader-text"><?php
|
377 |
+
/* translators: accessibility text */
|
378 |
+
_e( 'Yes, send email', 'buddypress' );
|
379 |
+
?></label></td>
|
380 |
+
<td class="no"><input type="radio" name="notifications[notification_activity_new_mention]" id="notification-activity-new-mention-no" value="no" <?php checked( $mention, 'no', true ) ?>/><label for="notification-activity-new-mention-no" class="bp-screen-reader-text"><?php
|
381 |
+
/* translators: accessibility text */
|
382 |
+
_e( 'No, do not send email', 'buddypress' );
|
383 |
+
?></label></td>
|
384 |
+
</tr>
|
385 |
+
<?php endif; ?>
|
386 |
+
|
387 |
+
<tr id="activity-notification-settings-replies">
|
388 |
+
<td> </td>
|
389 |
+
<td><?php _e( "A member replies to an update or comment you've posted", 'buddypress' ) ?></td>
|
390 |
+
<td class="yes"><input type="radio" name="notifications[notification_activity_new_reply]" id="notification-activity-new-reply-yes" value="yes" <?php checked( $reply, 'yes', true ) ?>/><label for="notification-activity-new-reply-yes" class="bp-screen-reader-text"><?php
|
391 |
+
/* translators: accessibility text */
|
392 |
+
_e( 'Yes, send email', 'buddypress' );
|
393 |
+
?></label></td>
|
394 |
+
<td class="no"><input type="radio" name="notifications[notification_activity_new_reply]" id="notification-activity-new-reply-no" value="no" <?php checked( $reply, 'no', true ) ?>/><label for="notification-activity-new-reply-no" class="bp-screen-reader-text"><?php
|
395 |
+
/* translators: accessibility text */
|
396 |
+
_e( 'No, do not send email', 'buddypress' );
|
397 |
+
?></label></td>
|
398 |
+
</tr>
|
399 |
+
|
400 |
+
<?php
|
401 |
+
|
402 |
+
/**
|
403 |
+
* Fires inside the closing </tbody> tag for activity screen notification settings.
|
404 |
+
*
|
405 |
+
* @since 1.2.0
|
406 |
+
*/
|
407 |
+
do_action( 'bp_activity_screen_notification_settings' ) ?>
|
408 |
+
</tbody>
|
409 |
+
</table>
|
410 |
+
|
411 |
+
<?php
|
412 |
+
}
|
413 |
+
add_action( 'bp_notification_settings', 'bp_activity_screen_notification_settings', 1 );
|
bp-activity/classes/class-bp-activity-component.php
CHANGED
@@ -137,11 +137,6 @@ class BP_Activity_Component extends BP_Component {
|
|
137 |
// Theme compatibility.
|
138 |
new BP_Activity_Theme_Compat();
|
139 |
}
|
140 |
-
|
141 |
-
// Activity notifications HTML table.
|
142 |
-
if ( bp_is_user_settings_notifications() ) {
|
143 |
-
require $this->path . 'bp-activity/screens/settings-email.php';
|
144 |
-
}
|
145 |
}
|
146 |
|
147 |
/**
|
137 |
// Theme compatibility.
|
138 |
new BP_Activity_Theme_Compat();
|
139 |
}
|
|
|
|
|
|
|
|
|
|
|
140 |
}
|
141 |
|
142 |
/**
|
bp-activity/screens/settings-email.php
DELETED
@@ -1,83 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Activity: Integration into user's "Settings > Email" screen
|
4 |
-
*
|
5 |
-
* @package BuddyPress
|
6 |
-
* @subpackage ActivityScreens
|
7 |
-
* @since 3.0.0
|
8 |
-
*/
|
9 |
-
|
10 |
-
// Exit if accessed directly.
|
11 |
-
defined( 'ABSPATH' ) || exit;
|
12 |
-
|
13 |
-
/**
|
14 |
-
* Add activity notifications settings to the notifications settings page.
|
15 |
-
*
|
16 |
-
* @since 1.2.0
|
17 |
-
*/
|
18 |
-
function bp_activity_screen_notification_settings() {
|
19 |
-
if ( bp_activity_do_mentions() ) {
|
20 |
-
if ( ! $mention = bp_get_user_meta( bp_displayed_user_id(), 'notification_activity_new_mention', true ) ) {
|
21 |
-
$mention = 'yes';
|
22 |
-
}
|
23 |
-
}
|
24 |
-
|
25 |
-
if ( ! $reply = bp_get_user_meta( bp_displayed_user_id(), 'notification_activity_new_reply', true ) ) {
|
26 |
-
$reply = 'yes';
|
27 |
-
}
|
28 |
-
|
29 |
-
?>
|
30 |
-
|
31 |
-
<table class="notification-settings" id="activity-notification-settings">
|
32 |
-
<thead>
|
33 |
-
<tr>
|
34 |
-
<th class="icon"> </th>
|
35 |
-
<th class="title"><?php _e( 'Activity', 'buddypress' ) ?></th>
|
36 |
-
<th class="yes"><?php _e( 'Yes', 'buddypress' ) ?></th>
|
37 |
-
<th class="no"><?php _e( 'No', 'buddypress' )?></th>
|
38 |
-
</tr>
|
39 |
-
</thead>
|
40 |
-
|
41 |
-
<tbody>
|
42 |
-
<?php if ( bp_activity_do_mentions() ) : ?>
|
43 |
-
<tr id="activity-notification-settings-mentions">
|
44 |
-
<td> </td>
|
45 |
-
<td><?php printf( __( 'A member mentions you in an update using "@%s"', 'buddypress' ), bp_core_get_username( bp_displayed_user_id() ) ) ?></td>
|
46 |
-
<td class="yes"><input type="radio" name="notifications[notification_activity_new_mention]" id="notification-activity-new-mention-yes" value="yes" <?php checked( $mention, 'yes', true ) ?>/><label for="notification-activity-new-mention-yes" class="bp-screen-reader-text"><?php
|
47 |
-
/* translators: accessibility text */
|
48 |
-
_e( 'Yes, send email', 'buddypress' );
|
49 |
-
?></label></td>
|
50 |
-
<td class="no"><input type="radio" name="notifications[notification_activity_new_mention]" id="notification-activity-new-mention-no" value="no" <?php checked( $mention, 'no', true ) ?>/><label for="notification-activity-new-mention-no" class="bp-screen-reader-text"><?php
|
51 |
-
/* translators: accessibility text */
|
52 |
-
_e( 'No, do not send email', 'buddypress' );
|
53 |
-
?></label></td>
|
54 |
-
</tr>
|
55 |
-
<?php endif; ?>
|
56 |
-
|
57 |
-
<tr id="activity-notification-settings-replies">
|
58 |
-
<td> </td>
|
59 |
-
<td><?php _e( "A member replies to an update or comment you've posted", 'buddypress' ) ?></td>
|
60 |
-
<td class="yes"><input type="radio" name="notifications[notification_activity_new_reply]" id="notification-activity-new-reply-yes" value="yes" <?php checked( $reply, 'yes', true ) ?>/><label for="notification-activity-new-reply-yes" class="bp-screen-reader-text"><?php
|
61 |
-
/* translators: accessibility text */
|
62 |
-
_e( 'Yes, send email', 'buddypress' );
|
63 |
-
?></label></td>
|
64 |
-
<td class="no"><input type="radio" name="notifications[notification_activity_new_reply]" id="notification-activity-new-reply-no" value="no" <?php checked( $reply, 'no', true ) ?>/><label for="notification-activity-new-reply-no" class="bp-screen-reader-text"><?php
|
65 |
-
/* translators: accessibility text */
|
66 |
-
_e( 'No, do not send email', 'buddypress' );
|
67 |
-
?></label></td>
|
68 |
-
</tr>
|
69 |
-
|
70 |
-
<?php
|
71 |
-
|
72 |
-
/**
|
73 |
-
* Fires inside the closing </tbody> tag for activity screen notification settings.
|
74 |
-
*
|
75 |
-
* @since 1.2.0
|
76 |
-
*/
|
77 |
-
do_action( 'bp_activity_screen_notification_settings' ) ?>
|
78 |
-
</tbody>
|
79 |
-
</table>
|
80 |
-
|
81 |
-
<?php
|
82 |
-
}
|
83 |
-
add_action( 'bp_notification_settings', 'bp_activity_screen_notification_settings', 1 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bp-core/admin/bp-core-admin-functions.php
CHANGED
@@ -357,14 +357,14 @@ function bp_do_activation_redirect() {
|
|
357 |
return;
|
358 |
}
|
359 |
|
360 |
-
$query_args = array(
|
361 |
if ( get_transient( '_bp_is_new_install' ) ) {
|
362 |
$query_args['is_new_install'] = '1';
|
363 |
delete_transient( '_bp_is_new_install' );
|
364 |
}
|
365 |
|
366 |
-
// Redirect to
|
367 |
-
wp_safe_redirect( add_query_arg( $query_args, bp_get_admin_url( '
|
368 |
}
|
369 |
|
370 |
/** UI/Styling ****************************************************************/
|
@@ -421,13 +421,17 @@ function bp_core_get_admin_tabs( $active_tab = '' ) {
|
|
421 |
'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-components' ), 'admin.php' ) ),
|
422 |
'name' => __( 'Components', 'buddypress' )
|
423 |
),
|
|
|
|
|
|
|
|
|
424 |
'1' => array(
|
425 |
'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-page-settings' ), 'admin.php' ) ),
|
426 |
'name' => __( 'Pages', 'buddypress' )
|
427 |
),
|
428 |
-
'
|
429 |
-
'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-
|
430 |
-
'name' => __( '
|
431 |
),
|
432 |
);
|
433 |
|
357 |
return;
|
358 |
}
|
359 |
|
360 |
+
$query_args = array();
|
361 |
if ( get_transient( '_bp_is_new_install' ) ) {
|
362 |
$query_args['is_new_install'] = '1';
|
363 |
delete_transient( '_bp_is_new_install' );
|
364 |
}
|
365 |
|
366 |
+
// Redirect to dashboard and trigger the Hello screen.
|
367 |
+
wp_safe_redirect( add_query_arg( $query_args, bp_get_admin_url( '?hello=buddypress' ) ) );
|
368 |
}
|
369 |
|
370 |
/** UI/Styling ****************************************************************/
|
421 |
'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-components' ), 'admin.php' ) ),
|
422 |
'name' => __( 'Components', 'buddypress' )
|
423 |
),
|
424 |
+
'2' => array(
|
425 |
+
'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-settings' ), 'admin.php' ) ),
|
426 |
+
'name' => __( 'Options', 'buddypress' )
|
427 |
+
),
|
428 |
'1' => array(
|
429 |
'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-page-settings' ), 'admin.php' ) ),
|
430 |
'name' => __( 'Pages', 'buddypress' )
|
431 |
),
|
432 |
+
'3' => array(
|
433 |
+
'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bp-credits' ), 'admin.php' ) ),
|
434 |
+
'name' => __( 'Credits', 'buddypress' )
|
435 |
),
|
436 |
);
|
437 |
|
bp-core/admin/bp-core-admin-settings.php
CHANGED
@@ -70,8 +70,8 @@ function bp_admin_setting_callback_theme_package_id() {
|
|
70 |
}
|
71 |
|
72 |
if ( $options ) : ?>
|
73 |
-
<select name="_bp_theme_package_id" id="_bp_theme_package_id"><?php echo $options; ?></select>
|
74 |
-
<p
|
75 |
|
76 |
<?php else : ?>
|
77 |
<p><?php esc_html_e( 'No template packages available.', 'buddypress' ); ?></p>
|
@@ -216,9 +216,9 @@ function bp_admin_setting_callback_groups_section() { }
|
|
216 |
function bp_admin_setting_callback_group_creation() {
|
217 |
?>
|
218 |
|
219 |
-
<input id="bp_restrict_group_creation" name="bp_restrict_group_creation" type="checkbox"value="1" <?php checked( !bp_restrict_group_creation( false ) ); ?> />
|
220 |
<label for="bp_restrict_group_creation"><?php _e( 'Enable group creation for all users', 'buddypress' ); ?></label>
|
221 |
-
<p class="description"><?php _e( 'Administrators can always create groups, regardless of this setting.', 'buddypress' ); ?></p>
|
222 |
|
223 |
<?php
|
224 |
}
|
70 |
}
|
71 |
|
72 |
if ( $options ) : ?>
|
73 |
+
<select name="_bp_theme_package_id" id="_bp_theme_package_id" aria-describedby="_bp_theme_package_description"><?php echo $options; ?></select>
|
74 |
+
<p id="_bp_theme_package_description" class="description"><?php esc_html_e( 'The selected Template Pack will serve all BuddyPress templates.', 'buddypress' ); ?></p>
|
75 |
|
76 |
<?php else : ?>
|
77 |
<p><?php esc_html_e( 'No template packages available.', 'buddypress' ); ?></p>
|
216 |
function bp_admin_setting_callback_group_creation() {
|
217 |
?>
|
218 |
|
219 |
+
<input id="bp_restrict_group_creation" name="bp_restrict_group_creation" type="checkbox" aria-describedby="bp_group_creation_description" value="1" <?php checked( !bp_restrict_group_creation( false ) ); ?> />
|
220 |
<label for="bp_restrict_group_creation"><?php _e( 'Enable group creation for all users', 'buddypress' ); ?></label>
|
221 |
+
<p class="description" id="bp_group_creation_description"><?php _e( 'Administrators can always create groups, regardless of this setting.', 'buddypress' ); ?></p>
|
222 |
|
223 |
<?php
|
224 |
}
|
bp-core/admin/css/common-rtl.css
CHANGED
@@ -10,10 +10,8 @@ TABLE OF CONTENTS:
|
|
10 |
--------------------------------------------------------------------------------
|
11 |
1.0 Welcome Screen
|
12 |
1.1 Version Badge
|
13 |
-
1.2
|
14 |
-
|
15 |
-
1.2.2 Features Section
|
16 |
-
1.2.3 Changelog Section
|
17 |
2.0 Dashicons
|
18 |
2.1 Top level menus
|
19 |
2.2 Settings - Components
|
@@ -43,398 +41,132 @@ TABLE OF CONTENTS:
|
|
43 |
content: "\f448";
|
44 |
}
|
45 |
|
46 |
-
.
|
47 |
-
position: absolute;
|
48 |
-
top: 0;
|
49 |
-
left: 0;
|
50 |
-
}
|
51 |
-
|
52 |
-
.index_page_bp-credits code,
|
53 |
.index_page_bp-about code {
|
54 |
background-color: #e0e0e0;
|
55 |
color: #636363;
|
56 |
font-size: 1em;
|
57 |
}
|
58 |
|
59 |
-
@media only screen and (max-width: 500px) {
|
60 |
-
|
61 |
-
.about-wrap .bp-badge {
|
62 |
-
position: relative;
|
63 |
-
margin: 10px auto;
|
64 |
-
top: auto;
|
65 |
-
left: auto;
|
66 |
-
}
|
67 |
-
}
|
68 |
-
|
69 |
/*
|
70 |
-
* 1.
|
|
|
|
|
71 |
*/
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
.buddypress .bp-headline-feature {
|
77 |
-
margin-bottom: 2em;
|
78 |
-
margin-top: 3em;
|
79 |
-
padding: 2em 3em;
|
80 |
-
}
|
81 |
-
|
82 |
-
.buddypress .bp-headline {
|
83 |
-
margin: 0 auto;
|
84 |
-
width: 45em;
|
85 |
-
}
|
86 |
-
|
87 |
-
.buddypress .bp-headline span.dashicons {
|
88 |
-
background-color: #f1f1f1;
|
89 |
-
color: #d84800;
|
90 |
-
clear: right;
|
91 |
-
font-size: 100px;
|
92 |
-
float: right;
|
93 |
-
height: 100px;
|
94 |
-
line-height: 100px;
|
95 |
-
margin: 0 0 15px 15px;
|
96 |
-
text-align: center;
|
97 |
-
width: 100px;
|
98 |
-
}
|
99 |
-
|
100 |
-
.buddypress .bp-headline-feature .headline-title {
|
101 |
-
font-size: 2.2em;
|
102 |
-
font-weight: 300;
|
103 |
-
line-height: 2;
|
104 |
-
margin: 0 0 1em;
|
105 |
-
text-align: center;
|
106 |
-
}
|
107 |
-
|
108 |
-
.buddypress .bp-headline-feature p {
|
109 |
-
font-size: 1.15em;
|
110 |
-
margin: 1.15em 0 0.6em auto;
|
111 |
}
|
112 |
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
clear: both;
|
119 |
-
margin-bottom: 3em;
|
120 |
-
margin-top: 2em;
|
121 |
-
overflow: hidden;
|
122 |
-
padding-bottom: 2em;
|
123 |
}
|
124 |
|
125 |
-
.
|
126 |
-
font-size: 14px;
|
127 |
line-height: 1.5;
|
|
|
128 |
}
|
129 |
|
130 |
-
.
|
131 |
-
margin
|
132 |
-
|
133 |
-
|
134 |
-
.buddypress .bp-features-section span.dashicons {
|
135 |
-
background-color: #fff;
|
136 |
-
border-radius: 50%;
|
137 |
-
clear: right;
|
138 |
-
color: #d84800;
|
139 |
-
font-size: 50px;
|
140 |
-
float: right;
|
141 |
-
height: 80px;
|
142 |
-
line-height: 80px;
|
143 |
-
margin: 0 0 15px 15px;
|
144 |
-
text-align: center;
|
145 |
-
width: 80px;
|
146 |
-
}
|
147 |
-
|
148 |
-
.buddypress .bp-features-section .headline-title {
|
149 |
-
font-size: 2em;
|
150 |
font-weight: 300;
|
151 |
-
line-height: 1.5;
|
152 |
-
margin: 1em auto 2em;
|
153 |
text-align: center;
|
154 |
}
|
155 |
|
156 |
-
.
|
157 |
-
|
158 |
-
|
159 |
-
padding-bottom: 2em;
|
160 |
-
}
|
161 |
-
|
162 |
-
.buddypress .bp-features-section .bp-feature,
|
163 |
-
.buddypress .bp-features-section .bp-feature-imaged {
|
164 |
-
float: right;
|
165 |
-
margin-bottom: 3em;
|
166 |
-
margin-left: 4.799999999%;
|
167 |
-
width: 47.6%;
|
168 |
-
}
|
169 |
-
|
170 |
-
.buddypress .bp-features-section .bp-feature.opposite,
|
171 |
-
.buddypress .bp-features-section .bp-feature-imaged.anon {
|
172 |
-
margin-left: 0;
|
173 |
-
}
|
174 |
-
|
175 |
-
.buddypress .bp-features-section .bp-feature code {
|
176 |
-
font-size: 0.95em;
|
177 |
line-height: 1.5;
|
178 |
}
|
179 |
|
180 |
-
.
|
181 |
-
|
182 |
-
|
183 |
-
margin-bottom: 2em;
|
184 |
}
|
185 |
|
186 |
-
.
|
187 |
-
|
188 |
-
font-
|
189 |
-
|
190 |
-
|
191 |
}
|
192 |
|
193 |
-
.
|
194 |
-
|
195 |
-
|
|
|
|
|
196 |
}
|
197 |
|
198 |
-
.
|
199 |
-
|
|
|
200 |
}
|
201 |
|
202 |
-
.
|
203 |
-
font-size: 1em;
|
204 |
-
line-height: 1.5;
|
205 |
margin-bottom: 0;
|
206 |
-
margin-right: 110px;
|
207 |
-
margin-top: 0;
|
208 |
-
text-align: right;
|
209 |
}
|
210 |
|
211 |
-
.
|
212 |
-
|
|
|
|
|
|
|
|
|
|
|
213 |
}
|
214 |
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
.buddypress .bp-changelog-section {
|
219 |
-
clear: both;
|
220 |
-
margin-bottom: 3em;
|
221 |
-
margin-top: 4em;
|
222 |
padding-bottom: 0;
|
|
|
223 |
}
|
224 |
|
225 |
-
.
|
226 |
-
clear: both;
|
227 |
-
content: "";
|
228 |
-
display: table;
|
229 |
-
}
|
230 |
-
|
231 |
-
.buddypress .bp-changelog-section .changelog-title {
|
232 |
-
color: #23282d;
|
233 |
-
font-size: 1.25em;
|
234 |
-
line-height: 1.5;
|
235 |
-
margin: 0 auto 1.5em;
|
236 |
-
}
|
237 |
-
|
238 |
-
.buddypress .bp-two-column div {
|
239 |
-
float: right;
|
240 |
-
margin-left: 4.799999999%;
|
241 |
-
position: relative;
|
242 |
-
width: 47.6%;
|
243 |
-
}
|
244 |
-
|
245 |
-
.buddypress .bp-three-column .bp-column {
|
246 |
float: right;
|
247 |
-
margin
|
248 |
-
|
249 |
-
width:
|
|
|
250 |
}
|
251 |
|
252 |
-
.
|
253 |
-
|
254 |
-
|
255 |
}
|
256 |
|
257 |
-
.
|
258 |
-
margin
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
content: "";
|
264 |
-
display: table;
|
265 |
-
}
|
266 |
-
|
267 |
-
.buddypress .bp-changelog .title {
|
268 |
-
font-size: 14px;
|
269 |
-
margin-bottom: 0.75em;
|
270 |
-
margin-top: 0;
|
271 |
}
|
272 |
|
273 |
-
.
|
274 |
-
|
275 |
}
|
276 |
|
277 |
-
.bp-
|
278 |
-
|
279 |
}
|
280 |
|
281 |
-
|
282 |
-
clear: both;
|
283 |
-
margin-bottom: 3em;
|
284 |
-
}
|
285 |
-
|
286 |
-
@media screen and ( max-width: 782px ) {
|
287 |
|
288 |
-
.bp-
|
289 |
-
.bp-features-section,
|
290 |
-
.bp-changelog-section,
|
291 |
-
.bp-assets {
|
292 |
-
margin-right: 20px;
|
293 |
margin-left: 20px;
|
|
|
294 |
}
|
295 |
|
296 |
-
.
|
297 |
-
padding: 0;
|
298 |
-
}
|
299 |
-
|
300 |
-
.buddypress .bp-headline {
|
301 |
-
margin: 0;
|
302 |
-
width: 97%;
|
303 |
-
}
|
304 |
-
|
305 |
-
.buddypress .bp-features-section {
|
306 |
-
clear: both;
|
307 |
-
margin-bottom: 0;
|
308 |
-
margin-top: 2em;
|
309 |
-
padding-bottom: 2em;
|
310 |
-
}
|
311 |
-
|
312 |
-
.buddypress .bp-features-section .bp-feature-with-images {
|
313 |
-
margin-bottom: 2em;
|
314 |
-
}
|
315 |
-
|
316 |
-
.buddypress .bp-features-section .headline-title {
|
317 |
-
margin-bottom: 1em;
|
318 |
-
}
|
319 |
-
|
320 |
-
.buddypress .bp-changelog-section .changelog-title {
|
321 |
-
font-size: 1.25em;
|
322 |
-
line-height: 1.5;
|
323 |
-
margin-bottom: 0.5em;
|
324 |
-
margin-top: 0.5em;
|
325 |
-
}
|
326 |
-
|
327 |
-
.buddypress .bp-features-section .feature-title,
|
328 |
-
.buddypress .bp-changelog-section .title {
|
329 |
-
font-size: 1.25em;
|
330 |
-
line-height: 1.25;
|
331 |
-
margin-top: 0.6em;
|
332 |
-
text-align: right;
|
333 |
-
}
|
334 |
-
|
335 |
-
.buddypress .bp-features-section .bp-feature,
|
336 |
-
.buddypress .bp-features-section .bp-feature-imaged {
|
337 |
-
clear: both;
|
338 |
-
float: right;
|
339 |
-
margin-bottom: 1em;
|
340 |
-
margin-top: 1em;
|
341 |
margin-left: 0;
|
342 |
-
padding-left: 1em;
|
343 |
-
width: 100%;
|
344 |
-
}
|
345 |
-
|
346 |
-
.buddypress .bp-features-section .bp-feature-imaged p {
|
347 |
-
font-size: 1em;
|
348 |
-
}
|
349 |
-
|
350 |
-
.buddypress .bp-features-section .bp-feature span {
|
351 |
-
margin-top: 0.33em;
|
352 |
-
}
|
353 |
-
|
354 |
-
.buddypress .bp-feature.opposite .feature-title,
|
355 |
-
.buddypress .bp-feature.opposite p {
|
356 |
-
float: none;
|
357 |
-
}
|
358 |
-
|
359 |
-
.buddypress .bp-changelog-section {
|
360 |
-
clear: both;
|
361 |
-
margin-bottom: 2em;
|
362 |
-
margin-top: 2em;
|
363 |
-
}
|
364 |
-
|
365 |
-
.buddypress .bp-changelog {
|
366 |
-
margin-bottom: 0;
|
367 |
-
}
|
368 |
-
|
369 |
-
.buddypress .bp-changelog-section .changelog-title {
|
370 |
-
margin-bottom: 0.5em;
|
371 |
-
}
|
372 |
-
|
373 |
-
.buddypress .bp-changelog .title {
|
374 |
-
font-size: 1em;
|
375 |
-
}
|
376 |
-
|
377 |
-
.buddypress .bp-changelog p {
|
378 |
-
margin-bottom: 1em;
|
379 |
-
}
|
380 |
-
|
381 |
-
.buddypress .bp-changelog-section .two-col > div,
|
382 |
-
.buddypress .bp-changelog-section .three-col .col {
|
383 |
-
margin-top: 0;
|
384 |
-
padding-bottom: 0.5em;
|
385 |
-
width: 100%;
|
386 |
-
}
|
387 |
-
|
388 |
-
.buddypress .bp-three-column .bp-column {
|
389 |
-
width: 100%;
|
390 |
-
}
|
391 |
-
}
|
392 |
-
|
393 |
-
@media screen and ( max-width: 360px ) {
|
394 |
-
|
395 |
-
.buddypress .bp-headline {
|
396 |
-
text-align: center;
|
397 |
-
}
|
398 |
-
|
399 |
-
.buddypress .bp-headline span.dashicons {
|
400 |
-
clear: none;
|
401 |
-
font-size: 80px;
|
402 |
-
float: none;
|
403 |
-
height: 80px;
|
404 |
-
line-height: 80px;
|
405 |
-
margin: 0 auto;
|
406 |
-
width: 80px;
|
407 |
-
}
|
408 |
-
|
409 |
-
.buddypress .bp-headline-feature .headline-title,
|
410 |
-
.buddypress .bp-features-section .headline-title {
|
411 |
-
font-size: 1.5em;
|
412 |
-
line-height: 1.5;
|
413 |
-
text-align: right;
|
414 |
-
}
|
415 |
-
|
416 |
-
.buddypress .bp-headline-feature .headline-title {
|
417 |
-
margin: 1em 0 0;
|
418 |
-
}
|
419 |
-
|
420 |
-
.buddypress .bp-headline-feature p {
|
421 |
-
margin: 1.15em 0 0.6em auto;
|
422 |
-
text-align: right;
|
423 |
-
width: auto;
|
424 |
-
}
|
425 |
-
|
426 |
-
.buddypress .bp-features-section .bp-feature {
|
427 |
-
text-align: center;
|
428 |
-
}
|
429 |
-
|
430 |
-
.buddypress .bp-features-section span.dashicons {
|
431 |
-
float: none;
|
432 |
-
}
|
433 |
-
|
434 |
-
.buddypress .bp-features-section .feature-title,
|
435 |
-
.buddypress .bp-features-section p {
|
436 |
-
margin-right: 0;
|
437 |
-
text-align: right;
|
438 |
}
|
439 |
}
|
440 |
|
10 |
--------------------------------------------------------------------------------
|
11 |
1.0 Welcome Screen
|
12 |
1.1 Version Badge
|
13 |
+
1.2 ---
|
14 |
+
1.3 Credits Panel
|
|
|
|
|
15 |
2.0 Dashicons
|
16 |
2.1 Top level menus
|
17 |
2.2 Settings - Components
|
41 |
content: "\f448";
|
42 |
}
|
43 |
|
44 |
+
.settings_page_bp-credits code,
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
.index_page_bp-about code {
|
46 |
background-color: #e0e0e0;
|
47 |
color: #636363;
|
48 |
font-size: 1em;
|
49 |
}
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
/*
|
52 |
+
* 1.3 Credits Panel
|
53 |
+
*
|
54 |
+
* Taken from WP 4.9.5.
|
55 |
*/
|
56 |
+
.bp-about-wrap {
|
57 |
+
position: relative;
|
58 |
+
max-width: 1050px;
|
59 |
+
font-size: 15px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
}
|
61 |
|
62 |
+
.bp-about-wrap img {
|
63 |
+
margin: 0;
|
64 |
+
max-width: 100%;
|
65 |
+
height: auto;
|
66 |
+
vertical-align: middle;
|
|
|
|
|
|
|
|
|
|
|
67 |
}
|
68 |
|
69 |
+
.bp-about-wrap p {
|
|
|
70 |
line-height: 1.5;
|
71 |
+
font-size: 14px;
|
72 |
}
|
73 |
|
74 |
+
.bp-about-wrap h2 {
|
75 |
+
margin: 40px 0 0.6em;
|
76 |
+
font-size: 2.7em;
|
77 |
+
line-height: 1.3;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
font-weight: 300;
|
|
|
|
|
79 |
text-align: center;
|
80 |
}
|
81 |
|
82 |
+
.bp-about-wrap h3 {
|
83 |
+
margin: 1.25em 0 0.6em;
|
84 |
+
font-size: 1.4em;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
line-height: 1.5;
|
86 |
}
|
87 |
|
88 |
+
.bp-about-wrap code {
|
89 |
+
font-size: 14px;
|
90 |
+
font-weight: 400;
|
|
|
91 |
}
|
92 |
|
93 |
+
.bp-about-wrap .about-description {
|
94 |
+
margin-top: 1.4em;
|
95 |
+
font-weight: 400;
|
96 |
+
line-height: 1.6;
|
97 |
+
font-size: 19px;
|
98 |
}
|
99 |
|
100 |
+
.bp-about-wrap h3.wp-people-group {
|
101 |
+
margin: 2.6em 0 1.33em;
|
102 |
+
padding: 0;
|
103 |
+
font-size: 16px;
|
104 |
+
line-height: inherit;
|
105 |
}
|
106 |
|
107 |
+
.bp-about-wrap .wp-people-group {
|
108 |
+
padding: 0 5px;
|
109 |
+
margin: 0 -5px 0 -15px;
|
110 |
}
|
111 |
|
112 |
+
.bp-about-wrap .compact {
|
|
|
|
|
113 |
margin-bottom: 0;
|
|
|
|
|
|
|
114 |
}
|
115 |
|
116 |
+
.bp-about-wrap .wp-person {
|
117 |
+
display: inline-block;
|
118 |
+
vertical-align: top;
|
119 |
+
margin-left: 10px;
|
120 |
+
padding-bottom: 15px;
|
121 |
+
height: 70px;
|
122 |
+
width: 280px;
|
123 |
}
|
124 |
|
125 |
+
.bp-about-wrap .compact .wp-person {
|
126 |
+
height: auto;
|
127 |
+
width: 180px;
|
|
|
|
|
|
|
|
|
128 |
padding-bottom: 0;
|
129 |
+
margin-bottom: 0;
|
130 |
}
|
131 |
|
132 |
+
.bp-about-wrap .wp-person .gravatar {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
float: right;
|
134 |
+
margin: 0 0 10px 10px;
|
135 |
+
padding: 1px;
|
136 |
+
width: 60px;
|
137 |
+
height: 60px;
|
138 |
}
|
139 |
|
140 |
+
.bp-about-wrap .compact .wp-person .gravatar {
|
141 |
+
width: 30px;
|
142 |
+
height: 30px;
|
143 |
}
|
144 |
|
145 |
+
.bp-about-wrap .wp-person .web {
|
146 |
+
margin: 6px 0 2px;
|
147 |
+
font-size: 16px;
|
148 |
+
font-weight: 400;
|
149 |
+
line-height: 2;
|
150 |
+
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
}
|
152 |
|
153 |
+
.bp-about-wrap .wp-person .title {
|
154 |
+
display: block;
|
155 |
}
|
156 |
|
157 |
+
.bp-about-wrap p.wp-credits-list a {
|
158 |
+
white-space: nowrap;
|
159 |
}
|
160 |
|
161 |
+
@media only screen and (max-width: 500px) {
|
|
|
|
|
|
|
|
|
|
|
162 |
|
163 |
+
.bp-about-wrap {
|
|
|
|
|
|
|
|
|
164 |
margin-left: 20px;
|
165 |
+
margin-right: 10px;
|
166 |
}
|
167 |
|
168 |
+
.bp-about-wrap .bp-about-wrap h1 {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
margin-left: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
}
|
171 |
}
|
172 |
|
bp-core/admin/css/common-rtl.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.about-wrap .bp-badge{position:absolute;top:0;left:0}.index_page_bp-about code,.index_page_bp-credits code{background-color:#e0e0e0;color:#636363;font-size:1em}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;left:auto}}.buddypress .bp-headline-feature{margin-bottom:2em;margin-top:3em;padding:2em 3em}.buddypress .bp-headline{margin:0 auto;width:45em}.buddypress .bp-headline span.dashicons{background-color:#f1f1f1;color:#d84800;clear:right;font-size:100px;float:right;height:100px;line-height:100px;margin:0 0 15px 15px;text-align:center;width:100px}.buddypress .bp-headline-feature .headline-title{font-size:2.2em;font-weight:300;line-height:2;margin:0 0 1em;text-align:center}.buddypress .bp-headline-feature p{font-size:1.15em;margin:1.15em 0 .6em auto}.buddypress .bp-features-section{border-bottom:1px solid #ccc;clear:both;margin-bottom:3em;margin-top:2em;overflow:hidden;padding-bottom:2em}.buddypress .bp-features-section p{font-size:14px;line-height:1.5}.buddypress .bp-features-section img{margin-bottom:20px}.buddypress .bp-features-section span.dashicons{background-color:#fff;border-radius:50%;clear:right;color:#d84800;font-size:50px;float:right;height:80px;line-height:80px;margin:0 0 15px 15px;text-align:center;width:80px}.buddypress .bp-features-section .headline-title{font-size:2em;font-weight:300;line-height:1.5;margin:1em auto 2em;text-align:center}.buddypress .bp-features-section .bp-feature-with-images{border-bottom:1px solid #ccc;margin-bottom:5em;padding-bottom:2em}.buddypress .bp-features-section .bp-feature,.buddypress .bp-features-section .bp-feature-imaged{float:right;margin-bottom:3em;margin-left:4.799999999%;width:47.6%}.buddypress .bp-features-section .bp-feature-imaged.anon,.buddypress .bp-features-section .bp-feature.opposite{margin-left:0}.buddypress .bp-features-section .bp-feature code{font-size:.95em;line-height:1.5}.buddypress .bp-feature:after{clear:both;content:"";margin-bottom:2em}.buddypress .bp-feature-imaged .feature-title{color:#23282d;font-size:1.25em;margin-bottom:.6em;margin-top:0}.buddypress .bp-feature-imaged p{clear:right;font-size:1.1em}.buddypress .bp-feature-imaged img{clear:right}.buddypress .bp-feature .feature-title{font-size:1em;line-height:1.5;margin-bottom:0;margin-right:110px;margin-top:0;text-align:right}.buddypress .bp-feature p{margin-right:110px}.buddypress .bp-changelog-section{clear:both;margin-bottom:3em;margin-top:4em;padding-bottom:0}.buddypress .bp-changelog-section:after{clear:both;content:"";display:table}.buddypress .bp-changelog-section .changelog-title{color:#23282d;font-size:1.25em;line-height:1.5;margin:0 auto 1.5em}.buddypress .bp-two-column div{float:right;margin-left:4.799999999%;position:relative;width:47.6%}.buddypress .bp-three-column .bp-column{float:right;margin-left:5%;position:relative;width:29.95%}.buddypress .bp-three-column .bp-column:nth-of-type(3n),.buddypress .bp-two-column .bp-column:nth-of-type(2n){margin-left:0}.buddypress .bp-changelog{margin-bottom:3em}.buddypress .bp-changelog:after{clear:both;content:"";display:table}.buddypress .bp-changelog .title{font-size:14px;margin-bottom:.75em;margin-top:0}.buddypress .bp-changelog p{margin-bottom:0}.bp-changelog-url{text-align:center}.bp-assets{clear:both;margin-bottom:3em}@media screen and (max-width:782px){.bp-assets,.bp-changelog-section,.bp-features-section,.bp-headline-feature{margin-right:20px;margin-left:20px}.buddypress .bp-headline-feature{padding:0}.buddypress .bp-headline{margin:0;width:97%}.buddypress .bp-features-section{clear:both;margin-bottom:0;margin-top:2em;padding-bottom:2em}.buddypress .bp-features-section .bp-feature-with-images{margin-bottom:2em}.buddypress .bp-features-section .headline-title{margin-bottom:1em}.buddypress .bp-changelog-section .changelog-title{font-size:1.25em;line-height:1.5;margin-bottom:.5em;margin-top:.5em}.buddypress .bp-changelog-section .title,.buddypress .bp-features-section .feature-title{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:right}.buddypress .bp-features-section .bp-feature,.buddypress .bp-features-section .bp-feature-imaged{clear:both;float:right;margin-bottom:1em;margin-top:1em;margin-left:0;padding-left:1em;width:100%}.buddypress .bp-features-section .bp-feature-imaged p{font-size:1em}.buddypress .bp-features-section .bp-feature span{margin-top:.33em}.buddypress .bp-feature.opposite .feature-title,.buddypress .bp-feature.opposite p{float:none}.buddypress .bp-changelog-section{clear:both;margin-bottom:2em;margin-top:2em}.buddypress .bp-changelog{margin-bottom:0}.buddypress .bp-changelog-section .changelog-title{margin-bottom:.5em}.buddypress .bp-changelog .title{font-size:1em}.buddypress .bp-changelog p{margin-bottom:1em}.buddypress .bp-changelog-section .three-col .col,.buddypress .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}.buddypress .bp-three-column .bp-column{width:100%}}@media screen and (max-width:360px){.buddypress .bp-headline{text-align:center}.buddypress .bp-headline span.dashicons{clear:none;font-size:80px;float:none;height:80px;line-height:80px;margin:0 auto;width:80px}.buddypress .bp-features-section .headline-title,.buddypress .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5;text-align:right}.buddypress .bp-headline-feature .headline-title{margin:1em 0 0}.buddypress .bp-headline-feature p{margin:1.15em 0 .6em auto;text-align:right;width:auto}.buddypress .bp-features-section .bp-feature{text-align:center}.buddypress .bp-features-section span.dashicons{float:none}.buddypress .bp-features-section .feature-title,.buddypress .bp-features-section p{margin-right:0;text-align:right}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:right;width:18px;height:18px;margin-left:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}.bp-signups-list table{margin:1em 0}.bp-signups-list .column-fields{font-weight:700}.bp-new-notice-panel{background:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);font-size:13px;line-height:2.1;margin:1.5em 0 3em;overflow:auto;padding:10px 25px 25px;position:relative}.bp-new-notice-panel label{clear:both;float:right;margin-left:3%;width:20%}.bp-new-notice-panel input,.bp-new-notice-panel textarea{clear:none;margin-bottom:1em;width:75%}.bp-new-notice-panel input[type=text]:after,.bp-new-notice-panel textarea:after{clear:both;content:" ";display:table}.bp-new-notice-panel .button-primary{margin-right:23%;width:auto}.bp-notice-about{font-size:1em;margin-bottom:1em}.bp-new-notice{margin-bottom:1em;margin-top:0}.bp-notices-list{margin-bottom:0}@media screen and (max-width:782px){.bp-new-notice-panel{margin-bottom:1.5em}.bp-new-notice-panel input,.bp-new-notice-panel textarea{margin-right:0;width:100%}.bp-new-notice-panel .button-primary{margin-right:0;width:auto}.bp-new-notice-panel .button{max-width:45%;word-wrap:break-word}.bp-notice-about{margin-top:0;margin-bottom:1em}.bp-new-notice{margin-bottom:.5em}}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email th#situation{width:20%}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:right;padding-right:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600;margin:1em 0}.tools_page_bp-tools label{clear:right;display:block;line-height:1.5;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-left:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 30px 0 0}}#buddypress-update.not-shiny .update-message{border-right:0;padding-right:36px}#buddypress-update.not-shiny .update-message:before{content:"\f534"}
|
1 |
+
.bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.index_page_bp-about code,.settings_page_bp-credits code{background-color:#e0e0e0;color:#636363;font-size:1em}.bp-about-wrap{position:relative;max-width:1050px;font-size:15px}.bp-about-wrap img{margin:0;max-width:100%;height:auto;vertical-align:middle}.bp-about-wrap p{line-height:1.5;font-size:14px}.bp-about-wrap h2{margin:40px 0 .6em;font-size:2.7em;line-height:1.3;font-weight:300;text-align:center}.bp-about-wrap h3{margin:1.25em 0 .6em;font-size:1.4em;line-height:1.5}.bp-about-wrap code{font-size:14px;font-weight:400}.bp-about-wrap .about-description{margin-top:1.4em;font-weight:400;line-height:1.6;font-size:19px}.bp-about-wrap h3.wp-people-group{margin:2.6em 0 1.33em;padding:0;font-size:16px;line-height:inherit}.bp-about-wrap .wp-people-group{padding:0 5px;margin:0 -5px 0 -15px}.bp-about-wrap .compact{margin-bottom:0}.bp-about-wrap .wp-person{display:inline-block;vertical-align:top;margin-left:10px;padding-bottom:15px;height:70px;width:280px}.bp-about-wrap .compact .wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.bp-about-wrap .wp-person .gravatar{float:right;margin:0 0 10px 10px;padding:1px;width:60px;height:60px}.bp-about-wrap .compact .wp-person .gravatar{width:30px;height:30px}.bp-about-wrap .wp-person .web{margin:6px 0 2px;font-size:16px;font-weight:400;line-height:2;text-decoration:none}.bp-about-wrap .wp-person .title{display:block}.bp-about-wrap p.wp-credits-list a{white-space:nowrap}@media only screen and (max-width:500px){.bp-about-wrap{margin-left:20px;margin-right:10px}.bp-about-wrap .bp-about-wrap h1{margin-left:0}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:right;width:18px;height:18px;margin-left:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}.bp-signups-list table{margin:1em 0}.bp-signups-list .column-fields{font-weight:700}.bp-new-notice-panel{background:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);font-size:13px;line-height:2.1;margin:1.5em 0 3em;overflow:auto;padding:10px 25px 25px;position:relative}.bp-new-notice-panel label{clear:both;float:right;margin-left:3%;width:20%}.bp-new-notice-panel input,.bp-new-notice-panel textarea{clear:none;margin-bottom:1em;width:75%}.bp-new-notice-panel input[type=text]:after,.bp-new-notice-panel textarea:after{clear:both;content:" ";display:table}.bp-new-notice-panel .button-primary{margin-right:23%;width:auto}.bp-notice-about{font-size:1em;margin-bottom:1em}.bp-new-notice{margin-bottom:1em;margin-top:0}.bp-notices-list{margin-bottom:0}@media screen and (max-width:782px){.bp-new-notice-panel{margin-bottom:1.5em}.bp-new-notice-panel input,.bp-new-notice-panel textarea{margin-right:0;width:100%}.bp-new-notice-panel .button-primary{margin-right:0;width:auto}.bp-new-notice-panel .button{max-width:45%;word-wrap:break-word}.bp-notice-about{margin-top:0;margin-bottom:1em}.bp-new-notice{margin-bottom:.5em}}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email th#situation{width:20%}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:right;padding-right:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600;margin:1em 0}.tools_page_bp-tools label{clear:right;display:block;line-height:1.5;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-left:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 30px 0 0}}#buddypress-update.not-shiny .update-message{border-right:0;padding-right:36px}#buddypress-update.not-shiny .update-message:before{content:"\f534"}
|
bp-core/admin/css/common.css
CHANGED
@@ -10,10 +10,8 @@ TABLE OF CONTENTS:
|
|
10 |
--------------------------------------------------------------------------------
|
11 |
1.0 Welcome Screen
|
12 |
1.1 Version Badge
|
13 |
-
1.2
|
14 |
-
|
15 |
-
1.2.2 Features Section
|
16 |
-
1.2.3 Changelog Section
|
17 |
2.0 Dashicons
|
18 |
2.1 Top level menus
|
19 |
2.2 Settings - Components
|
@@ -43,398 +41,132 @@ TABLE OF CONTENTS:
|
|
43 |
content: "\f448";
|
44 |
}
|
45 |
|
46 |
-
.
|
47 |
-
position: absolute;
|
48 |
-
top: 0;
|
49 |
-
right: 0;
|
50 |
-
}
|
51 |
-
|
52 |
-
.index_page_bp-credits code,
|
53 |
.index_page_bp-about code {
|
54 |
background-color: #e0e0e0;
|
55 |
color: #636363;
|
56 |
font-size: 1em;
|
57 |
}
|
58 |
|
59 |
-
@media only screen and (max-width: 500px) {
|
60 |
-
|
61 |
-
.about-wrap .bp-badge {
|
62 |
-
position: relative;
|
63 |
-
margin: 10px auto;
|
64 |
-
top: auto;
|
65 |
-
right: auto;
|
66 |
-
}
|
67 |
-
}
|
68 |
-
|
69 |
/*
|
70 |
-
* 1.
|
|
|
|
|
71 |
*/
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
.buddypress .bp-headline-feature {
|
77 |
-
margin-bottom: 2em;
|
78 |
-
margin-top: 3em;
|
79 |
-
padding: 2em 3em;
|
80 |
-
}
|
81 |
-
|
82 |
-
.buddypress .bp-headline {
|
83 |
-
margin: 0 auto;
|
84 |
-
width: 45em;
|
85 |
-
}
|
86 |
-
|
87 |
-
.buddypress .bp-headline span.dashicons {
|
88 |
-
background-color: #f1f1f1;
|
89 |
-
color: #d84800;
|
90 |
-
clear: left;
|
91 |
-
font-size: 100px;
|
92 |
-
float: left;
|
93 |
-
height: 100px;
|
94 |
-
line-height: 100px;
|
95 |
-
margin: 0 15px 15px 0;
|
96 |
-
text-align: center;
|
97 |
-
width: 100px;
|
98 |
-
}
|
99 |
-
|
100 |
-
.buddypress .bp-headline-feature .headline-title {
|
101 |
-
font-size: 2.2em;
|
102 |
-
font-weight: 300;
|
103 |
-
line-height: 2;
|
104 |
-
margin: 0 0 1em;
|
105 |
-
text-align: center;
|
106 |
-
}
|
107 |
-
|
108 |
-
.buddypress .bp-headline-feature p {
|
109 |
-
font-size: 1.15em;
|
110 |
-
margin: 1.15em auto 0.6em 0;
|
111 |
}
|
112 |
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
clear: both;
|
119 |
-
margin-bottom: 3em;
|
120 |
-
margin-top: 2em;
|
121 |
-
overflow: hidden;
|
122 |
-
padding-bottom: 2em;
|
123 |
}
|
124 |
|
125 |
-
.
|
126 |
-
font-size: 14px;
|
127 |
line-height: 1.5;
|
|
|
128 |
}
|
129 |
|
130 |
-
.
|
131 |
-
margin
|
132 |
-
|
133 |
-
|
134 |
-
.buddypress .bp-features-section span.dashicons {
|
135 |
-
background-color: #fff;
|
136 |
-
border-radius: 50%;
|
137 |
-
clear: left;
|
138 |
-
color: #d84800;
|
139 |
-
font-size: 50px;
|
140 |
-
float: left;
|
141 |
-
height: 80px;
|
142 |
-
line-height: 80px;
|
143 |
-
margin: 0 15px 15px 0;
|
144 |
-
text-align: center;
|
145 |
-
width: 80px;
|
146 |
-
}
|
147 |
-
|
148 |
-
.buddypress .bp-features-section .headline-title {
|
149 |
-
font-size: 2em;
|
150 |
font-weight: 300;
|
151 |
-
line-height: 1.5;
|
152 |
-
margin: 1em auto 2em;
|
153 |
text-align: center;
|
154 |
}
|
155 |
|
156 |
-
.
|
157 |
-
|
158 |
-
|
159 |
-
padding-bottom: 2em;
|
160 |
-
}
|
161 |
-
|
162 |
-
.buddypress .bp-features-section .bp-feature,
|
163 |
-
.buddypress .bp-features-section .bp-feature-imaged {
|
164 |
-
float: left;
|
165 |
-
margin-bottom: 3em;
|
166 |
-
margin-right: 4.799999999%;
|
167 |
-
width: 47.6%;
|
168 |
-
}
|
169 |
-
|
170 |
-
.buddypress .bp-features-section .bp-feature.opposite,
|
171 |
-
.buddypress .bp-features-section .bp-feature-imaged.anon {
|
172 |
-
margin-right: 0;
|
173 |
-
}
|
174 |
-
|
175 |
-
.buddypress .bp-features-section .bp-feature code {
|
176 |
-
font-size: 0.95em;
|
177 |
line-height: 1.5;
|
178 |
}
|
179 |
|
180 |
-
.
|
181 |
-
|
182 |
-
|
183 |
-
margin-bottom: 2em;
|
184 |
}
|
185 |
|
186 |
-
.
|
187 |
-
|
188 |
-
font-
|
189 |
-
|
190 |
-
|
191 |
}
|
192 |
|
193 |
-
.
|
194 |
-
|
195 |
-
|
|
|
|
|
196 |
}
|
197 |
|
198 |
-
.
|
199 |
-
|
|
|
200 |
}
|
201 |
|
202 |
-
.
|
203 |
-
font-size: 1em;
|
204 |
-
line-height: 1.5;
|
205 |
margin-bottom: 0;
|
206 |
-
margin-left: 110px;
|
207 |
-
margin-top: 0;
|
208 |
-
text-align: left;
|
209 |
}
|
210 |
|
211 |
-
.
|
212 |
-
|
|
|
|
|
|
|
|
|
|
|
213 |
}
|
214 |
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
.buddypress .bp-changelog-section {
|
219 |
-
clear: both;
|
220 |
-
margin-bottom: 3em;
|
221 |
-
margin-top: 4em;
|
222 |
padding-bottom: 0;
|
|
|
223 |
}
|
224 |
|
225 |
-
.
|
226 |
-
clear: both;
|
227 |
-
content: "";
|
228 |
-
display: table;
|
229 |
-
}
|
230 |
-
|
231 |
-
.buddypress .bp-changelog-section .changelog-title {
|
232 |
-
color: #23282d;
|
233 |
-
font-size: 1.25em;
|
234 |
-
line-height: 1.5;
|
235 |
-
margin: 0 auto 1.5em;
|
236 |
-
}
|
237 |
-
|
238 |
-
.buddypress .bp-two-column div {
|
239 |
-
float: left;
|
240 |
-
margin-right: 4.799999999%;
|
241 |
-
position: relative;
|
242 |
-
width: 47.6%;
|
243 |
-
}
|
244 |
-
|
245 |
-
.buddypress .bp-three-column .bp-column {
|
246 |
float: left;
|
247 |
-
margin
|
248 |
-
|
249 |
-
width:
|
|
|
250 |
}
|
251 |
|
252 |
-
.
|
253 |
-
|
254 |
-
|
255 |
}
|
256 |
|
257 |
-
.
|
258 |
-
margin
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
content: "";
|
264 |
-
display: table;
|
265 |
-
}
|
266 |
-
|
267 |
-
.buddypress .bp-changelog .title {
|
268 |
-
font-size: 14px;
|
269 |
-
margin-bottom: 0.75em;
|
270 |
-
margin-top: 0;
|
271 |
}
|
272 |
|
273 |
-
.
|
274 |
-
|
275 |
}
|
276 |
|
277 |
-
.bp-
|
278 |
-
|
279 |
}
|
280 |
|
281 |
-
|
282 |
-
clear: both;
|
283 |
-
margin-bottom: 3em;
|
284 |
-
}
|
285 |
-
|
286 |
-
@media screen and ( max-width: 782px ) {
|
287 |
|
288 |
-
.bp-
|
289 |
-
.bp-features-section,
|
290 |
-
.bp-changelog-section,
|
291 |
-
.bp-assets {
|
292 |
-
margin-left: 20px;
|
293 |
margin-right: 20px;
|
|
|
294 |
}
|
295 |
|
296 |
-
.
|
297 |
-
padding: 0;
|
298 |
-
}
|
299 |
-
|
300 |
-
.buddypress .bp-headline {
|
301 |
-
margin: 0;
|
302 |
-
width: 97%;
|
303 |
-
}
|
304 |
-
|
305 |
-
.buddypress .bp-features-section {
|
306 |
-
clear: both;
|
307 |
-
margin-bottom: 0;
|
308 |
-
margin-top: 2em;
|
309 |
-
padding-bottom: 2em;
|
310 |
-
}
|
311 |
-
|
312 |
-
.buddypress .bp-features-section .bp-feature-with-images {
|
313 |
-
margin-bottom: 2em;
|
314 |
-
}
|
315 |
-
|
316 |
-
.buddypress .bp-features-section .headline-title {
|
317 |
-
margin-bottom: 1em;
|
318 |
-
}
|
319 |
-
|
320 |
-
.buddypress .bp-changelog-section .changelog-title {
|
321 |
-
font-size: 1.25em;
|
322 |
-
line-height: 1.5;
|
323 |
-
margin-bottom: 0.5em;
|
324 |
-
margin-top: 0.5em;
|
325 |
-
}
|
326 |
-
|
327 |
-
.buddypress .bp-features-section .feature-title,
|
328 |
-
.buddypress .bp-changelog-section .title {
|
329 |
-
font-size: 1.25em;
|
330 |
-
line-height: 1.25;
|
331 |
-
margin-top: 0.6em;
|
332 |
-
text-align: left;
|
333 |
-
}
|
334 |
-
|
335 |
-
.buddypress .bp-features-section .bp-feature,
|
336 |
-
.buddypress .bp-features-section .bp-feature-imaged {
|
337 |
-
clear: both;
|
338 |
-
float: left;
|
339 |
-
margin-bottom: 1em;
|
340 |
-
margin-top: 1em;
|
341 |
margin-right: 0;
|
342 |
-
padding-right: 1em;
|
343 |
-
width: 100%;
|
344 |
-
}
|
345 |
-
|
346 |
-
.buddypress .bp-features-section .bp-feature-imaged p {
|
347 |
-
font-size: 1em;
|
348 |
-
}
|
349 |
-
|
350 |
-
.buddypress .bp-features-section .bp-feature span {
|
351 |
-
margin-top: 0.33em;
|
352 |
-
}
|
353 |
-
|
354 |
-
.buddypress .bp-feature.opposite .feature-title,
|
355 |
-
.buddypress .bp-feature.opposite p {
|
356 |
-
float: none;
|
357 |
-
}
|
358 |
-
|
359 |
-
.buddypress .bp-changelog-section {
|
360 |
-
clear: both;
|
361 |
-
margin-bottom: 2em;
|
362 |
-
margin-top: 2em;
|
363 |
-
}
|
364 |
-
|
365 |
-
.buddypress .bp-changelog {
|
366 |
-
margin-bottom: 0;
|
367 |
-
}
|
368 |
-
|
369 |
-
.buddypress .bp-changelog-section .changelog-title {
|
370 |
-
margin-bottom: 0.5em;
|
371 |
-
}
|
372 |
-
|
373 |
-
.buddypress .bp-changelog .title {
|
374 |
-
font-size: 1em;
|
375 |
-
}
|
376 |
-
|
377 |
-
.buddypress .bp-changelog p {
|
378 |
-
margin-bottom: 1em;
|
379 |
-
}
|
380 |
-
|
381 |
-
.buddypress .bp-changelog-section .two-col > div,
|
382 |
-
.buddypress .bp-changelog-section .three-col .col {
|
383 |
-
margin-top: 0;
|
384 |
-
padding-bottom: 0.5em;
|
385 |
-
width: 100%;
|
386 |
-
}
|
387 |
-
|
388 |
-
.buddypress .bp-three-column .bp-column {
|
389 |
-
width: 100%;
|
390 |
-
}
|
391 |
-
}
|
392 |
-
|
393 |
-
@media screen and ( max-width: 360px ) {
|
394 |
-
|
395 |
-
.buddypress .bp-headline {
|
396 |
-
text-align: center;
|
397 |
-
}
|
398 |
-
|
399 |
-
.buddypress .bp-headline span.dashicons {
|
400 |
-
clear: none;
|
401 |
-
font-size: 80px;
|
402 |
-
float: none;
|
403 |
-
height: 80px;
|
404 |
-
line-height: 80px;
|
405 |
-
margin: 0 auto;
|
406 |
-
width: 80px;
|
407 |
-
}
|
408 |
-
|
409 |
-
.buddypress .bp-headline-feature .headline-title,
|
410 |
-
.buddypress .bp-features-section .headline-title {
|
411 |
-
font-size: 1.5em;
|
412 |
-
line-height: 1.5;
|
413 |
-
text-align: left;
|
414 |
-
}
|
415 |
-
|
416 |
-
.buddypress .bp-headline-feature .headline-title {
|
417 |
-
margin: 1em 0 0;
|
418 |
-
}
|
419 |
-
|
420 |
-
.buddypress .bp-headline-feature p {
|
421 |
-
margin: 1.15em auto 0.6em 0;
|
422 |
-
text-align: left;
|
423 |
-
width: auto;
|
424 |
-
}
|
425 |
-
|
426 |
-
.buddypress .bp-features-section .bp-feature {
|
427 |
-
text-align: center;
|
428 |
-
}
|
429 |
-
|
430 |
-
.buddypress .bp-features-section span.dashicons {
|
431 |
-
float: none;
|
432 |
-
}
|
433 |
-
|
434 |
-
.buddypress .bp-features-section .feature-title,
|
435 |
-
.buddypress .bp-features-section p {
|
436 |
-
margin-left: 0;
|
437 |
-
text-align: left;
|
438 |
}
|
439 |
}
|
440 |
|
10 |
--------------------------------------------------------------------------------
|
11 |
1.0 Welcome Screen
|
12 |
1.1 Version Badge
|
13 |
+
1.2 ---
|
14 |
+
1.3 Credits Panel
|
|
|
|
|
15 |
2.0 Dashicons
|
16 |
2.1 Top level menus
|
17 |
2.2 Settings - Components
|
41 |
content: "\f448";
|
42 |
}
|
43 |
|
44 |
+
.settings_page_bp-credits code,
|
|
|
|
|
|
|
|
|
|
|
|
|
45 |
.index_page_bp-about code {
|
46 |
background-color: #e0e0e0;
|
47 |
color: #636363;
|
48 |
font-size: 1em;
|
49 |
}
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
/*
|
52 |
+
* 1.3 Credits Panel
|
53 |
+
*
|
54 |
+
* Taken from WP 4.9.5.
|
55 |
*/
|
56 |
+
.bp-about-wrap {
|
57 |
+
position: relative;
|
58 |
+
max-width: 1050px;
|
59 |
+
font-size: 15px;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
60 |
}
|
61 |
|
62 |
+
.bp-about-wrap img {
|
63 |
+
margin: 0;
|
64 |
+
max-width: 100%;
|
65 |
+
height: auto;
|
66 |
+
vertical-align: middle;
|
|
|
|
|
|
|
|
|
|
|
67 |
}
|
68 |
|
69 |
+
.bp-about-wrap p {
|
|
|
70 |
line-height: 1.5;
|
71 |
+
font-size: 14px;
|
72 |
}
|
73 |
|
74 |
+
.bp-about-wrap h2 {
|
75 |
+
margin: 40px 0 0.6em;
|
76 |
+
font-size: 2.7em;
|
77 |
+
line-height: 1.3;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
font-weight: 300;
|
|
|
|
|
79 |
text-align: center;
|
80 |
}
|
81 |
|
82 |
+
.bp-about-wrap h3 {
|
83 |
+
margin: 1.25em 0 0.6em;
|
84 |
+
font-size: 1.4em;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
85 |
line-height: 1.5;
|
86 |
}
|
87 |
|
88 |
+
.bp-about-wrap code {
|
89 |
+
font-size: 14px;
|
90 |
+
font-weight: 400;
|
|
|
91 |
}
|
92 |
|
93 |
+
.bp-about-wrap .about-description {
|
94 |
+
margin-top: 1.4em;
|
95 |
+
font-weight: 400;
|
96 |
+
line-height: 1.6;
|
97 |
+
font-size: 19px;
|
98 |
}
|
99 |
|
100 |
+
.bp-about-wrap h3.wp-people-group {
|
101 |
+
margin: 2.6em 0 1.33em;
|
102 |
+
padding: 0;
|
103 |
+
font-size: 16px;
|
104 |
+
line-height: inherit;
|
105 |
}
|
106 |
|
107 |
+
.bp-about-wrap .wp-people-group {
|
108 |
+
padding: 0 5px;
|
109 |
+
margin: 0 -15px 0 -5px;
|
110 |
}
|
111 |
|
112 |
+
.bp-about-wrap .compact {
|
|
|
|
|
113 |
margin-bottom: 0;
|
|
|
|
|
|
|
114 |
}
|
115 |
|
116 |
+
.bp-about-wrap .wp-person {
|
117 |
+
display: inline-block;
|
118 |
+
vertical-align: top;
|
119 |
+
margin-right: 10px;
|
120 |
+
padding-bottom: 15px;
|
121 |
+
height: 70px;
|
122 |
+
width: 280px;
|
123 |
}
|
124 |
|
125 |
+
.bp-about-wrap .compact .wp-person {
|
126 |
+
height: auto;
|
127 |
+
width: 180px;
|
|
|
|
|
|
|
|
|
128 |
padding-bottom: 0;
|
129 |
+
margin-bottom: 0;
|
130 |
}
|
131 |
|
132 |
+
.bp-about-wrap .wp-person .gravatar {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
float: left;
|
134 |
+
margin: 0 10px 10px 0;
|
135 |
+
padding: 1px;
|
136 |
+
width: 60px;
|
137 |
+
height: 60px;
|
138 |
}
|
139 |
|
140 |
+
.bp-about-wrap .compact .wp-person .gravatar {
|
141 |
+
width: 30px;
|
142 |
+
height: 30px;
|
143 |
}
|
144 |
|
145 |
+
.bp-about-wrap .wp-person .web {
|
146 |
+
margin: 6px 0 2px;
|
147 |
+
font-size: 16px;
|
148 |
+
font-weight: 400;
|
149 |
+
line-height: 2;
|
150 |
+
text-decoration: none;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
}
|
152 |
|
153 |
+
.bp-about-wrap .wp-person .title {
|
154 |
+
display: block;
|
155 |
}
|
156 |
|
157 |
+
.bp-about-wrap p.wp-credits-list a {
|
158 |
+
white-space: nowrap;
|
159 |
}
|
160 |
|
161 |
+
@media only screen and (max-width: 500px) {
|
|
|
|
|
|
|
|
|
|
|
162 |
|
163 |
+
.bp-about-wrap {
|
|
|
|
|
|
|
|
|
164 |
margin-right: 20px;
|
165 |
+
margin-left: 10px;
|
166 |
}
|
167 |
|
168 |
+
.bp-about-wrap .bp-about-wrap h1 {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
169 |
margin-right: 0;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
170 |
}
|
171 |
}
|
172 |
|
bp-core/admin/css/common.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.about-wrap .bp-badge{position:absolute;top:0;right:0}.index_page_bp-about code,.index_page_bp-credits code{background-color:#e0e0e0;color:#636363;font-size:1em}@media only screen and (max-width:500px){.about-wrap .bp-badge{position:relative;margin:10px auto;top:auto;right:auto}}.buddypress .bp-headline-feature{margin-bottom:2em;margin-top:3em;padding:2em 3em}.buddypress .bp-headline{margin:0 auto;width:45em}.buddypress .bp-headline span.dashicons{background-color:#f1f1f1;color:#d84800;clear:left;font-size:100px;float:left;height:100px;line-height:100px;margin:0 15px 15px 0;text-align:center;width:100px}.buddypress .bp-headline-feature .headline-title{font-size:2.2em;font-weight:300;line-height:2;margin:0 0 1em;text-align:center}.buddypress .bp-headline-feature p{font-size:1.15em;margin:1.15em auto .6em 0}.buddypress .bp-features-section{border-bottom:1px solid #ccc;clear:both;margin-bottom:3em;margin-top:2em;overflow:hidden;padding-bottom:2em}.buddypress .bp-features-section p{font-size:14px;line-height:1.5}.buddypress .bp-features-section img{margin-bottom:20px}.buddypress .bp-features-section span.dashicons{background-color:#fff;border-radius:50%;clear:left;color:#d84800;font-size:50px;float:left;height:80px;line-height:80px;margin:0 15px 15px 0;text-align:center;width:80px}.buddypress .bp-features-section .headline-title{font-size:2em;font-weight:300;line-height:1.5;margin:1em auto 2em;text-align:center}.buddypress .bp-features-section .bp-feature-with-images{border-bottom:1px solid #ccc;margin-bottom:5em;padding-bottom:2em}.buddypress .bp-features-section .bp-feature,.buddypress .bp-features-section .bp-feature-imaged{float:left;margin-bottom:3em;margin-right:4.799999999%;width:47.6%}.buddypress .bp-features-section .bp-feature-imaged.anon,.buddypress .bp-features-section .bp-feature.opposite{margin-right:0}.buddypress .bp-features-section .bp-feature code{font-size:.95em;line-height:1.5}.buddypress .bp-feature:after{clear:both;content:"";margin-bottom:2em}.buddypress .bp-feature-imaged .feature-title{color:#23282d;font-size:1.25em;margin-bottom:.6em;margin-top:0}.buddypress .bp-feature-imaged p{clear:left;font-size:1.1em}.buddypress .bp-feature-imaged img{clear:left}.buddypress .bp-feature .feature-title{font-size:1em;line-height:1.5;margin-bottom:0;margin-left:110px;margin-top:0;text-align:left}.buddypress .bp-feature p{margin-left:110px}.buddypress .bp-changelog-section{clear:both;margin-bottom:3em;margin-top:4em;padding-bottom:0}.buddypress .bp-changelog-section:after{clear:both;content:"";display:table}.buddypress .bp-changelog-section .changelog-title{color:#23282d;font-size:1.25em;line-height:1.5;margin:0 auto 1.5em}.buddypress .bp-two-column div{float:left;margin-right:4.799999999%;position:relative;width:47.6%}.buddypress .bp-three-column .bp-column{float:left;margin-right:5%;position:relative;width:29.95%}.buddypress .bp-three-column .bp-column:nth-of-type(3n),.buddypress .bp-two-column .bp-column:nth-of-type(2n){margin-right:0}.buddypress .bp-changelog{margin-bottom:3em}.buddypress .bp-changelog:after{clear:both;content:"";display:table}.buddypress .bp-changelog .title{font-size:14px;margin-bottom:.75em;margin-top:0}.buddypress .bp-changelog p{margin-bottom:0}.bp-changelog-url{text-align:center}.bp-assets{clear:both;margin-bottom:3em}@media screen and (max-width:782px){.bp-assets,.bp-changelog-section,.bp-features-section,.bp-headline-feature{margin-left:20px;margin-right:20px}.buddypress .bp-headline-feature{padding:0}.buddypress .bp-headline{margin:0;width:97%}.buddypress .bp-features-section{clear:both;margin-bottom:0;margin-top:2em;padding-bottom:2em}.buddypress .bp-features-section .bp-feature-with-images{margin-bottom:2em}.buddypress .bp-features-section .headline-title{margin-bottom:1em}.buddypress .bp-changelog-section .changelog-title{font-size:1.25em;line-height:1.5;margin-bottom:.5em;margin-top:.5em}.buddypress .bp-changelog-section .title,.buddypress .bp-features-section .feature-title{font-size:1.25em;line-height:1.25;margin-top:.6em;text-align:left}.buddypress .bp-features-section .bp-feature,.buddypress .bp-features-section .bp-feature-imaged{clear:both;float:left;margin-bottom:1em;margin-top:1em;margin-right:0;padding-right:1em;width:100%}.buddypress .bp-features-section .bp-feature-imaged p{font-size:1em}.buddypress .bp-features-section .bp-feature span{margin-top:.33em}.buddypress .bp-feature.opposite .feature-title,.buddypress .bp-feature.opposite p{float:none}.buddypress .bp-changelog-section{clear:both;margin-bottom:2em;margin-top:2em}.buddypress .bp-changelog{margin-bottom:0}.buddypress .bp-changelog-section .changelog-title{margin-bottom:.5em}.buddypress .bp-changelog .title{font-size:1em}.buddypress .bp-changelog p{margin-bottom:1em}.buddypress .bp-changelog-section .three-col .col,.buddypress .bp-changelog-section .two-col>div{margin-top:0;padding-bottom:.5em;width:100%}.buddypress .bp-three-column .bp-column{width:100%}}@media screen and (max-width:360px){.buddypress .bp-headline{text-align:center}.buddypress .bp-headline span.dashicons{clear:none;font-size:80px;float:none;height:80px;line-height:80px;margin:0 auto;width:80px}.buddypress .bp-features-section .headline-title,.buddypress .bp-headline-feature .headline-title{font-size:1.5em;line-height:1.5;text-align:left}.buddypress .bp-headline-feature .headline-title{margin:1em 0 0}.buddypress .bp-headline-feature p{margin:1.15em auto .6em 0;text-align:left;width:auto}.buddypress .bp-features-section .bp-feature{text-align:center}.buddypress .bp-features-section span.dashicons{float:none}.buddypress .bp-features-section .feature-title,.buddypress .bp-features-section p{margin-left:0;text-align:left}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:left;width:18px;height:18px;margin-right:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}.bp-signups-list table{margin:1em 0}.bp-signups-list .column-fields{font-weight:700}.bp-new-notice-panel{background:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);font-size:13px;line-height:2.1;margin:1.5em 0 3em;overflow:auto;padding:10px 25px 25px;position:relative}.bp-new-notice-panel label{clear:both;float:left;margin-right:3%;width:20%}.bp-new-notice-panel input,.bp-new-notice-panel textarea{clear:none;margin-bottom:1em;width:75%}.bp-new-notice-panel input[type=text]:after,.bp-new-notice-panel textarea:after{clear:both;content:" ";display:table}.bp-new-notice-panel .button-primary{margin-left:23%;width:auto}.bp-notice-about{font-size:1em;margin-bottom:1em}.bp-new-notice{margin-bottom:1em;margin-top:0}.bp-notices-list{margin-bottom:0}@media screen and (max-width:782px){.bp-new-notice-panel{margin-bottom:1.5em}.bp-new-notice-panel input,.bp-new-notice-panel textarea{margin-left:0;width:100%}.bp-new-notice-panel .button-primary{margin-left:0;width:auto}.bp-new-notice-panel .button{max-width:45%;word-wrap:break-word}.bp-notice-about{margin-top:0;margin-bottom:1em}.bp-new-notice{margin-bottom:.5em}}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email th#situation{width:20%}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:left;padding-left:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600;margin:1em 0}.tools_page_bp-tools label{clear:left;display:block;line-height:1.5;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-right:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 0 0 30px}}#buddypress-update.not-shiny .update-message{border-left:0;padding-left:36px}#buddypress-update.not-shiny .update-message:before{content:"\f534"}
|
1 |
+
.bp-badge{color:#d84800;display:inline-block;font:400 150px/1 dashicons!important}.bp-badge:before{content:"\f448"}.index_page_bp-about code,.settings_page_bp-credits code{background-color:#e0e0e0;color:#636363;font-size:1em}.bp-about-wrap{position:relative;max-width:1050px;font-size:15px}.bp-about-wrap img{margin:0;max-width:100%;height:auto;vertical-align:middle}.bp-about-wrap p{line-height:1.5;font-size:14px}.bp-about-wrap h2{margin:40px 0 .6em;font-size:2.7em;line-height:1.3;font-weight:300;text-align:center}.bp-about-wrap h3{margin:1.25em 0 .6em;font-size:1.4em;line-height:1.5}.bp-about-wrap code{font-size:14px;font-weight:400}.bp-about-wrap .about-description{margin-top:1.4em;font-weight:400;line-height:1.6;font-size:19px}.bp-about-wrap h3.wp-people-group{margin:2.6em 0 1.33em;padding:0;font-size:16px;line-height:inherit}.bp-about-wrap .wp-people-group{padding:0 5px;margin:0 -15px 0 -5px}.bp-about-wrap .compact{margin-bottom:0}.bp-about-wrap .wp-person{display:inline-block;vertical-align:top;margin-right:10px;padding-bottom:15px;height:70px;width:280px}.bp-about-wrap .compact .wp-person{height:auto;width:180px;padding-bottom:0;margin-bottom:0}.bp-about-wrap .wp-person .gravatar{float:left;margin:0 10px 10px 0;padding:1px;width:60px;height:60px}.bp-about-wrap .compact .wp-person .gravatar{width:30px;height:30px}.bp-about-wrap .wp-person .web{margin:6px 0 2px;font-size:16px;font-weight:400;line-height:2;text-decoration:none}.bp-about-wrap .wp-person .title{display:block}.bp-about-wrap p.wp-credits-list a{white-space:nowrap}@media only screen and (max-width:500px){.bp-about-wrap{margin-right:20px;margin-left:10px}.bp-about-wrap .bp-about-wrap h1{margin-right:0}}#adminmenu #toplevel_page_bp-activity .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-activity_user .wp-menu-image:before{content:"\f452"}#adminmenu #toplevel_page_bp-groups .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-groups_user .wp-menu-image:before{content:"\f456"}#adminmenu #toplevel_page_bp-notifications .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-notifications_user .wp-menu-image:before{content:"\f439"}#adminmenu #toplevel_page_bp-messages .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-messages_user .wp-menu-image:before{content:"\f457"}#adminmenu #toplevel_page_bp-friends .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-friends_user .wp-menu-image:before{content:"\f454"}#adminmenu #toplevel_page_bp-settings .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_network .wp-menu-image:before,#adminmenu #toplevel_page_bp-settings_user .wp-menu-image:before{content:"\f108"}#adminmenu li.toplevel_page_bp-components .wp-menu-image,#adminmenu li.toplevel_page_bp-general-settings .wp-menu-image{content:"\f448"}.settings_page_bp-components td.plugin-title span{float:left;width:18px;height:18px;margin-right:5px}.settings_page_bp-components td.plugin-title span:before{font-family:dashicons;font-size:18px}.settings_page_bp-components tr.activity td.plugin-title span:before{content:"\f452"}.settings_page_bp-components tr.notifications td.plugin-title span:before{content:"\f339"}.settings_page_bp-components tr.xprofile td.plugin-title span:before{content:"\f336"}.settings_page_bp-components tr.settings td.plugin-title span:before{content:"\f108"}.settings_page_bp-components tr.groups td.plugin-title span:before{content:"\f456"}.settings_page_bp-components tr.messages td.plugin-title span:before{content:"\f457"}.settings_page_bp-components tr.blogs td.plugin-title span:before{content:"\f120"}.settings_page_bp-components tr.friends td.plugin-title span:before{content:"\f454"}.settings_page_bp-components tr.core td.plugin-title span:before{content:"\f448"}.settings_page_bp-components tr.members td.plugin-title span:before{content:"\f307"}#bp-admin-component-form .wp-list-table.plugins .plugin-title{width:25%}@media screen and (max-width:782px){.settings_page_bp-components td.plugin-title span{margin-top:5px}#bp-admin-component-form .wp-list-table.plugins .plugin-title{display:block;width:auto}#bp-admin-component-form .subsubsub{margin-bottom:0;padding-bottom:35px}}#adminmenu .toplevel_page_network-tools div.wp-menu-image:before{content:""}body.site-users-php th#role,body.users-php th#role,body.users_page_bp-signups th#count_sent{width:10%}body.site-users-php th#email,body.site-users-php th#name,body.users-php th#email,body.users-php th#name,body.users-php th#registered,body.users_page_bp-signups th#date_sent,body.users_page_bp-signups th#email,body.users_page_bp-signups th#name,body.users_page_bp-signups th#registered{width:15%}body.users-php th#blogs,body.users_page_bp-signups th#blogs{width:20%}body.users_page_bp-signups td.count_sent,body.users_page_bp-signups th.column-count_sent{text-align:center}.bp-signups-list table{margin:1em 0}.bp-signups-list .column-fields{font-weight:700}.bp-new-notice-panel{background:#fff;border:1px solid #e5e5e5;box-shadow:0 1px 1px rgba(0,0,0,.04);font-size:13px;line-height:2.1;margin:1.5em 0 3em;overflow:auto;padding:10px 25px 25px;position:relative}.bp-new-notice-panel label{clear:both;float:left;margin-right:3%;width:20%}.bp-new-notice-panel input,.bp-new-notice-panel textarea{clear:none;margin-bottom:1em;width:75%}.bp-new-notice-panel input[type=text]:after,.bp-new-notice-panel textarea:after{clear:both;content:" ";display:table}.bp-new-notice-panel .button-primary{margin-left:23%;width:auto}.bp-notice-about{font-size:1em;margin-bottom:1em}.bp-new-notice{margin-bottom:1em;margin-top:0}.bp-notices-list{margin-bottom:0}@media screen and (max-width:782px){.bp-new-notice-panel{margin-bottom:1.5em}.bp-new-notice-panel input,.bp-new-notice-panel textarea{margin-left:0;width:100%}.bp-new-notice-panel .button-primary{margin-left:0;width:auto}.bp-new-notice-panel .button{max-width:45%;word-wrap:break-word}.bp-notice-about{margin-top:0;margin-bottom:1em}.bp-new-notice{margin-bottom:.5em}}body.post-type-bp-email #excerpt{height:auto}body.post-type-bp-email th#situation{width:20%}body.post-type-bp-email td.column-situation ul{margin:0}body.post-type-bp-email .categorydiv label{display:block;float:left;padding-left:25px;text-indent:-25px}.tools_page_bp-tools .wrap{max-width:950px}.tools_page_bp-tools p{line-height:2}.tools_page_bp-tools fieldset{margin:2em 0 0}.tools_page_bp-tools legend{color:#23282d;font-size:1.3em;font-weight:600;margin:1em 0}.tools_page_bp-tools label{clear:left;display:block;line-height:1.5;margin:0 0 1em;vertical-align:middle}@media screen and (max-width:782px){.tools_page_bp-tools p{line-height:1.5}.tools_page_bp-tools label{margin-bottom:1em;padding-right:25px;text-indent:-33px}.tools_page_bp-tools .checkbox{padding:0 0 0 30px}}#buddypress-update.not-shiny .update-message{border-left:0;padding-left:36px}#buddypress-update.not-shiny .update-message:before{content:"\f534"}
|
bp-core/admin/css/hello-rtl.css
ADDED
@@ -0,0 +1,319 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*------------------------------------------------------------------------------
|
2 |
+
Loaded in wp-admin for query string `hello=buddypress`.
|
3 |
+
|
4 |
+
@since 3.0.0
|
5 |
+
|
6 |
+
--------------------------------------------------------------------------------
|
7 |
+
TABLE OF CONTENTS:
|
8 |
+
--------------------------------------------------------------------------------
|
9 |
+
1.0 - Typography and colour
|
10 |
+
2.0 - Dashicons
|
11 |
+
3.0 - Elements
|
12 |
+
3.1 - Backdrop and container
|
13 |
+
3.2 - Modal footer
|
14 |
+
3.3 - Modal header
|
15 |
+
3.4 - Modal content
|
16 |
+
4.0 - Content styles
|
17 |
+
4.1 - Backdrop and container
|
18 |
+
4.2 - Footer content
|
19 |
+
4.3 - Header content
|
20 |
+
4.4 - Content content
|
21 |
+
5.0 - Media
|
22 |
+
6.0 - Media Queries
|
23 |
+
6.1 - Desktop Medium
|
24 |
+
6.2 - Desktop Large
|
25 |
+
------------------------------------------------------------------------------*/
|
26 |
+
/*------------------------------------------------------------------------------
|
27 |
+
* 1.0 - Typography and colour
|
28 |
+
*----------------------------------------------------------------------------*/
|
29 |
+
:root {
|
30 |
+
--bp-hello-color-primary: #d34600;
|
31 |
+
--bp-hello-color-secondary: #e5e5e5;
|
32 |
+
--bp-hello-container-size: 15%;
|
33 |
+
}
|
34 |
+
|
35 |
+
#bp-hello-container a {
|
36 |
+
color: var(--bp-hello-color-primary);
|
37 |
+
}
|
38 |
+
|
39 |
+
#bp-hello-container a:hover {
|
40 |
+
transition: all 0.1s ease-in-out;
|
41 |
+
color: black;
|
42 |
+
}
|
43 |
+
|
44 |
+
#bp-hello-container .bp-hello-header h1 {
|
45 |
+
line-height: 1.7;
|
46 |
+
font-size: 21px;
|
47 |
+
font-weight: 400;
|
48 |
+
}
|
49 |
+
|
50 |
+
.bp-hello-content p {
|
51 |
+
font-size: 16px;
|
52 |
+
}
|
53 |
+
|
54 |
+
/*------------------------------------------------------------------------------
|
55 |
+
* 2.0 - Dashicons
|
56 |
+
*----------------------------------------------------------------------------*/
|
57 |
+
.bp-hello-close a:hover:before {
|
58 |
+
transition: all 0.1s ease-in-out;
|
59 |
+
color: var(--bp-hello-color-primary);
|
60 |
+
}
|
61 |
+
|
62 |
+
.bp-hello-close a.close-modal:before {
|
63 |
+
content: "\f158";
|
64 |
+
color: #23282d;
|
65 |
+
/* wp toolbar */
|
66 |
+
font: 400 35px/1 dashicons;
|
67 |
+
speak: none;
|
68 |
+
-webkit-font-smoothing: antialiased;
|
69 |
+
-moz-osx-font-smoothing: grayscale;
|
70 |
+
background-image: none !important;
|
71 |
+
}
|
72 |
+
|
73 |
+
.bp-hello-social li a:before {
|
74 |
+
color: #23282d;
|
75 |
+
/* wp toolbar */
|
76 |
+
font: 400 30px/0.6 dashicons;
|
77 |
+
speak: none;
|
78 |
+
-webkit-font-smoothing: antialiased;
|
79 |
+
-moz-osx-font-smoothing: grayscale;
|
80 |
+
background-image: none !important;
|
81 |
+
}
|
82 |
+
|
83 |
+
.bp-hello-social li a:hover:before {
|
84 |
+
transition: all 0.1s ease-in-out;
|
85 |
+
color: var(--bp-hello-color-primary);
|
86 |
+
}
|
87 |
+
|
88 |
+
.bp-hello-social li a.support:before {
|
89 |
+
content: "\f448";
|
90 |
+
}
|
91 |
+
|
92 |
+
.bp-hello-social li a.twitter:before {
|
93 |
+
content: "\f301";
|
94 |
+
}
|
95 |
+
|
96 |
+
/*------------------------------------------------------------------------------
|
97 |
+
* 3.0 - Elements
|
98 |
+
*----------------------------------------------------------------------------*/
|
99 |
+
/*
|
100 |
+
* 3.1 - Backdrop and container
|
101 |
+
*/
|
102 |
+
#bp-hello-backdrop {
|
103 |
+
position: fixed;
|
104 |
+
top: 0;
|
105 |
+
right: 0;
|
106 |
+
left: 0;
|
107 |
+
bottom: 0;
|
108 |
+
z-index: 9998;
|
109 |
+
display: none;
|
110 |
+
}
|
111 |
+
|
112 |
+
#bp-hello-container {
|
113 |
+
position: fixed;
|
114 |
+
top: 0;
|
115 |
+
bottom: 80px;
|
116 |
+
z-index: 99999;
|
117 |
+
}
|
118 |
+
|
119 |
+
.bp-disable-scroll {
|
120 |
+
overflow: hidden;
|
121 |
+
}
|
122 |
+
|
123 |
+
/*
|
124 |
+
* 3.2 - Modal footer
|
125 |
+
*/
|
126 |
+
.bp-hello-footer {
|
127 |
+
display: flex;
|
128 |
+
flex-wrap: wrap;
|
129 |
+
height: 58px;
|
130 |
+
max-height: 58px;
|
131 |
+
}
|
132 |
+
|
133 |
+
.bp-hello-social-cta,
|
134 |
+
.bp-hello-social-links {
|
135 |
+
flex-basis: 50%;
|
136 |
+
}
|
137 |
+
|
138 |
+
.bp-hello-social-links ul {
|
139 |
+
display: inline-block;
|
140 |
+
}
|
141 |
+
|
142 |
+
.bp-hello-social li {
|
143 |
+
position: relative;
|
144 |
+
bottom: -5px;
|
145 |
+
display: inline-block;
|
146 |
+
list-style-type: none;
|
147 |
+
margin-bottom: 0;
|
148 |
+
}
|
149 |
+
|
150 |
+
.bp-hello-social li:last-child a {
|
151 |
+
margin-right: 4px;
|
152 |
+
}
|
153 |
+
|
154 |
+
/*
|
155 |
+
* 3.3 - Modal header
|
156 |
+
*/
|
157 |
+
.bp-hello-header {
|
158 |
+
height: 58px;
|
159 |
+
max-height: 58px;
|
160 |
+
}
|
161 |
+
|
162 |
+
/*
|
163 |
+
* 3.4 - Modal content
|
164 |
+
*/
|
165 |
+
.bp-hello-content {
|
166 |
+
padding: 0 25px;
|
167 |
+
height: calc(100% - 58px);
|
168 |
+
overflow-y: auto;
|
169 |
+
-webkit-overflow-scrolling: touch;
|
170 |
+
}
|
171 |
+
|
172 |
+
/*------------------------------------------------------------------------------
|
173 |
+
* 4.0 - Content styles
|
174 |
+
*----------------------------------------------------------------------------*/
|
175 |
+
/*
|
176 |
+
* 4.1 - Backdrop and container
|
177 |
+
*/
|
178 |
+
#bp-hello-backdrop {
|
179 |
+
background-color: rgba(0, 0, 0, 0.8);
|
180 |
+
transition: opacity 0.15s ease-out;
|
181 |
+
}
|
182 |
+
|
183 |
+
#bp-hello-container {
|
184 |
+
background-color: white;
|
185 |
+
}
|
186 |
+
|
187 |
+
/*
|
188 |
+
* 4.2 - Footer content
|
189 |
+
*/
|
190 |
+
.bp-hello-footer {
|
191 |
+
border-radius: 0 0 3px 3px;
|
192 |
+
background-color: white;
|
193 |
+
border-top: 1px solid var(--bp-hello-color-secondary);
|
194 |
+
padding: 6px 25px;
|
195 |
+
}
|
196 |
+
|
197 |
+
.bp-hello-footer p {
|
198 |
+
font-size: 15px;
|
199 |
+
}
|
200 |
+
|
201 |
+
.bp-hello-social-cta {
|
202 |
+
text-align: right;
|
203 |
+
}
|
204 |
+
|
205 |
+
.bp-hello-social-links {
|
206 |
+
text-align: left;
|
207 |
+
}
|
208 |
+
|
209 |
+
.bp-hello-social li a {
|
210 |
+
text-decoration: none;
|
211 |
+
}
|
212 |
+
|
213 |
+
/*
|
214 |
+
* 4.3 - Header content
|
215 |
+
*/
|
216 |
+
.bp-hello-header {
|
217 |
+
padding: 6px 25px;
|
218 |
+
}
|
219 |
+
|
220 |
+
.bp-hello-header h1 {
|
221 |
+
width: calc(100% - 51px);
|
222 |
+
}
|
223 |
+
|
224 |
+
#bp-hello-container .bp-hello-header {
|
225 |
+
border-bottom: 1px solid var(--bp-hello-color-secondary);
|
226 |
+
}
|
227 |
+
|
228 |
+
.bp-hello-title {
|
229 |
+
text-align: right;
|
230 |
+
}
|
231 |
+
|
232 |
+
.bp-hello-close {
|
233 |
+
position: absolute;
|
234 |
+
top: 20px;
|
235 |
+
left: 25px;
|
236 |
+
text-align: left;
|
237 |
+
}
|
238 |
+
|
239 |
+
.bp-hello-close a {
|
240 |
+
text-decoration: none;
|
241 |
+
}
|
242 |
+
|
243 |
+
/*
|
244 |
+
* 4.4 - Content content
|
245 |
+
*/
|
246 |
+
.bp-hello-content {
|
247 |
+
background-color: white;
|
248 |
+
}
|
249 |
+
|
250 |
+
/*------------------------------------------------------------------------------
|
251 |
+
* 5.0 - Media
|
252 |
+
*----------------------------------------------------------------------------*/
|
253 |
+
.bp-hello-content img {
|
254 |
+
border-radius: 2px;
|
255 |
+
max-width: 100%;
|
256 |
+
}
|
257 |
+
|
258 |
+
/*------------------------------------------------------------------------------
|
259 |
+
* 6.0 - Media Queries
|
260 |
+
*----------------------------------------------------------------------------*/
|
261 |
+
/*
|
262 |
+
* 6.1 - Desktop Medium
|
263 |
+
*/
|
264 |
+
@media only screen and (min-width: 1024px) {
|
265 |
+
#bp-hello-backdrop {
|
266 |
+
display: block;
|
267 |
+
}
|
268 |
+
#bp-hello-container {
|
269 |
+
position: fixed;
|
270 |
+
top: 60px;
|
271 |
+
right: var(--bp-hello-container-size);
|
272 |
+
left: var(--bp-hello-container-size);
|
273 |
+
bottom: 30px;
|
274 |
+
z-index: 9999;
|
275 |
+
border-radius: 3px;
|
276 |
+
}
|
277 |
+
#bp-hello-container .bp-hello-header h1 {
|
278 |
+
line-height: inherit;
|
279 |
+
}
|
280 |
+
.bp-hello-header {
|
281 |
+
height: auto;
|
282 |
+
max-height: inherit;
|
283 |
+
padding: 6px 30px;
|
284 |
+
}
|
285 |
+
.bp-hello-close {
|
286 |
+
left: 30px;
|
287 |
+
}
|
288 |
+
.bp-hello-close a.close-modal:before {
|
289 |
+
line-height: 0.7;
|
290 |
+
}
|
291 |
+
.bp-hello-footer {
|
292 |
+
position: fixed;
|
293 |
+
right: var(--bp-hello-container-size);
|
294 |
+
left: var(--bp-hello-container-size);
|
295 |
+
bottom: 30px;
|
296 |
+
z-index: 10000;
|
297 |
+
height: auto;
|
298 |
+
max-height: inherit;
|
299 |
+
padding: 6px 30px;
|
300 |
+
}
|
301 |
+
.bp-hello-content {
|
302 |
+
height: calc(100% - 90px);
|
303 |
+
padding: 0 30px;
|
304 |
+
}
|
305 |
+
.bp-hello-content p {
|
306 |
+
font-size: 14px;
|
307 |
+
}
|
308 |
+
}
|
309 |
+
|
310 |
+
/**
|
311 |
+
* 6.2 - Desktop Large
|
312 |
+
*/
|
313 |
+
@media screen and (min-width: 1280px) {
|
314 |
+
#bp-hello-container,
|
315 |
+
.bp-hello-footer {
|
316 |
+
right: calc((100% - 896px) / 2);
|
317 |
+
left: calc((100% - 896px) / 2);
|
318 |
+
}
|
319 |
+
}
|
bp-core/admin/css/hello-rtl.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
:root{--bp-hello-color-primary:#d34600;--bp-hello-color-secondary:#e5e5e5;--bp-hello-container-size:15%}#bp-hello-container a{color:var(--bp-hello-color-primary)}#bp-hello-container a:hover{transition:all .1s ease-in-out;color:#000}#bp-hello-container .bp-hello-header h1{line-height:1.7;font-size:21px;font-weight:400}.bp-hello-content p{font-size:16px}.bp-hello-close a:hover:before{transition:all .1s ease-in-out;color:var(--bp-hello-color-primary)}.bp-hello-close a.close-modal:before{content:"\f158";color:#23282d;font:400 35px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-image:none!important}.bp-hello-social li a:before{color:#23282d;font:400 30px/.6 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-image:none!important}.bp-hello-social li a:hover:before{transition:all .1s ease-in-out;color:var(--bp-hello-color-primary)}.bp-hello-social li a.support:before{content:"\f448"}.bp-hello-social li a.twitter:before{content:"\f301"}#bp-hello-backdrop{position:fixed;top:0;right:0;left:0;bottom:0;z-index:9998;display:none}#bp-hello-container{position:fixed;top:0;bottom:80px;z-index:99999}.bp-disable-scroll{overflow:hidden}.bp-hello-footer{display:flex;flex-wrap:wrap;height:58px;max-height:58px}.bp-hello-social-cta,.bp-hello-social-links{flex-basis:50%}.bp-hello-social-links ul{display:inline-block}.bp-hello-social li{position:relative;bottom:-5px;display:inline-block;list-style-type:none;margin-bottom:0}.bp-hello-social li:last-child a{margin-right:4px}.bp-hello-header{height:58px;max-height:58px}.bp-hello-content{padding:0 25px;height:calc(100% - 58px);overflow-y:auto;-webkit-overflow-scrolling:touch}#bp-hello-backdrop{background-color:rgba(0,0,0,.8);transition:opacity .15s ease-out}#bp-hello-container{background-color:#fff}.bp-hello-footer{border-radius:0 0 3px 3px;background-color:#fff;border-top:1px solid var(--bp-hello-color-secondary);padding:6px 25px}.bp-hello-footer p{font-size:15px}.bp-hello-social-cta{text-align:right}.bp-hello-social-links{text-align:left}.bp-hello-social li a{text-decoration:none}.bp-hello-header{padding:6px 25px}.bp-hello-header h1{width:calc(100% - 51px)}#bp-hello-container .bp-hello-header{border-bottom:1px solid var(--bp-hello-color-secondary)}.bp-hello-title{text-align:right}.bp-hello-close{position:absolute;top:20px;left:25px;text-align:left}.bp-hello-close a{text-decoration:none}.bp-hello-content{background-color:#fff}.bp-hello-content img{border-radius:2px;max-width:100%}@media only screen and (min-width:1024px){#bp-hello-backdrop{display:block}#bp-hello-container{position:fixed;top:60px;right:var(--bp-hello-container-size);left:var(--bp-hello-container-size);bottom:30px;z-index:9999;border-radius:3px}#bp-hello-container .bp-hello-header h1{line-height:inherit}.bp-hello-header{height:auto;max-height:inherit;padding:6px 30px}.bp-hello-close{left:30px}.bp-hello-close a.close-modal:before{line-height:.7}.bp-hello-footer{position:fixed;right:var(--bp-hello-container-size);left:var(--bp-hello-container-size);bottom:30px;z-index:10000;height:auto;max-height:inherit;padding:6px 30px}.bp-hello-content{height:calc(100% - 90px);padding:0 30px}.bp-hello-content p{font-size:14px}}@media screen and (min-width:1280px){#bp-hello-container,.bp-hello-footer{right:calc((100% - 896px)/ 2);left:calc((100% - 896px)/ 2)}}
|
bp-core/admin/css/hello.css
ADDED
@@ -0,0 +1,319 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*------------------------------------------------------------------------------
|
2 |
+
Loaded in wp-admin for query string `hello=buddypress`.
|
3 |
+
|
4 |
+
@since 3.0.0
|
5 |
+
|
6 |
+
--------------------------------------------------------------------------------
|
7 |
+
TABLE OF CONTENTS:
|
8 |
+
--------------------------------------------------------------------------------
|
9 |
+
1.0 - Typography and colour
|
10 |
+
2.0 - Dashicons
|
11 |
+
3.0 - Elements
|
12 |
+
3.1 - Backdrop and container
|
13 |
+
3.2 - Modal footer
|
14 |
+
3.3 - Modal header
|
15 |
+
3.4 - Modal content
|
16 |
+
4.0 - Content styles
|
17 |
+
4.1 - Backdrop and container
|
18 |
+
4.2 - Footer content
|
19 |
+
4.3 - Header content
|
20 |
+
4.4 - Content content
|
21 |
+
5.0 - Media
|
22 |
+
6.0 - Media Queries
|
23 |
+
6.1 - Desktop Medium
|
24 |
+
6.2 - Desktop Large
|
25 |
+
------------------------------------------------------------------------------*/
|
26 |
+
/*------------------------------------------------------------------------------
|
27 |
+
* 1.0 - Typography and colour
|
28 |
+
*----------------------------------------------------------------------------*/
|
29 |
+
:root {
|
30 |
+
--bp-hello-color-primary: #d34600;
|
31 |
+
--bp-hello-color-secondary: #e5e5e5;
|
32 |
+
--bp-hello-container-size: 15%;
|
33 |
+
}
|
34 |
+
|
35 |
+
#bp-hello-container a {
|
36 |
+
color: var(--bp-hello-color-primary);
|
37 |
+
}
|
38 |
+
|
39 |
+
#bp-hello-container a:hover {
|
40 |
+
transition: all 0.1s ease-in-out;
|
41 |
+
color: black;
|
42 |
+
}
|
43 |
+
|
44 |
+
#bp-hello-container .bp-hello-header h1 {
|
45 |
+
line-height: 1.7;
|
46 |
+
font-size: 21px;
|
47 |
+
font-weight: 400;
|
48 |
+
}
|
49 |
+
|
50 |
+
.bp-hello-content p {
|
51 |
+
font-size: 16px;
|
52 |
+
}
|
53 |
+
|
54 |
+
/*------------------------------------------------------------------------------
|
55 |
+
* 2.0 - Dashicons
|
56 |
+
*----------------------------------------------------------------------------*/
|
57 |
+
.bp-hello-close a:hover:before {
|
58 |
+
transition: all 0.1s ease-in-out;
|
59 |
+
color: var(--bp-hello-color-primary);
|
60 |
+
}
|
61 |
+
|
62 |
+
.bp-hello-close a.close-modal:before {
|
63 |
+
content: "\f158";
|
64 |
+
color: #23282d;
|
65 |
+
/* wp toolbar */
|
66 |
+
font: 400 35px/1 dashicons;
|
67 |
+
speak: none;
|
68 |
+
-webkit-font-smoothing: antialiased;
|
69 |
+
-moz-osx-font-smoothing: grayscale;
|
70 |
+
background-image: none !important;
|
71 |
+
}
|
72 |
+
|
73 |
+
.bp-hello-social li a:before {
|
74 |
+
color: #23282d;
|
75 |
+
/* wp toolbar */
|
76 |
+
font: 400 30px/0.6 dashicons;
|
77 |
+
speak: none;
|
78 |
+
-webkit-font-smoothing: antialiased;
|
79 |
+
-moz-osx-font-smoothing: grayscale;
|
80 |
+
background-image: none !important;
|
81 |
+
}
|
82 |
+
|
83 |
+
.bp-hello-social li a:hover:before {
|
84 |
+
transition: all 0.1s ease-in-out;
|
85 |
+
color: var(--bp-hello-color-primary);
|
86 |
+
}
|
87 |
+
|
88 |
+
.bp-hello-social li a.support:before {
|
89 |
+
content: "\f448";
|
90 |
+
}
|
91 |
+
|
92 |
+
.bp-hello-social li a.twitter:before {
|
93 |
+
content: "\f301";
|
94 |
+
}
|
95 |
+
|
96 |
+
/*------------------------------------------------------------------------------
|
97 |
+
* 3.0 - Elements
|
98 |
+
*----------------------------------------------------------------------------*/
|
99 |
+
/*
|
100 |
+
* 3.1 - Backdrop and container
|
101 |
+
*/
|
102 |
+
#bp-hello-backdrop {
|
103 |
+
position: fixed;
|
104 |
+
top: 0;
|
105 |
+
left: 0;
|
106 |
+
right: 0;
|
107 |
+
bottom: 0;
|
108 |
+
z-index: 9998;
|
109 |
+
display: none;
|
110 |
+
}
|
111 |
+
|
112 |
+
#bp-hello-container {
|
113 |
+
position: fixed;
|
114 |
+
top: 0;
|
115 |
+
bottom: 80px;
|
116 |
+
z-index: 99999;
|
117 |
+
}
|
118 |
+
|
119 |
+
.bp-disable-scroll {
|
120 |
+
overflow: hidden;
|
121 |
+
}
|
122 |
+
|
123 |
+
/*
|
124 |
+
* 3.2 - Modal footer
|
125 |
+
*/
|
126 |
+
.bp-hello-footer {
|
127 |
+
display: flex;
|
128 |
+
flex-wrap: wrap;
|
129 |
+
height: 58px;
|
130 |
+
max-height: 58px;
|
131 |
+
}
|
132 |
+
|
133 |
+
.bp-hello-social-cta,
|
134 |
+
.bp-hello-social-links {
|
135 |
+
flex-basis: 50%;
|
136 |
+
}
|
137 |
+
|
138 |
+
.bp-hello-social-links ul {
|
139 |
+
display: inline-block;
|
140 |
+
}
|
141 |
+
|
142 |
+
.bp-hello-social li {
|
143 |
+
position: relative;
|
144 |
+
bottom: -5px;
|
145 |
+
display: inline-block;
|
146 |
+
list-style-type: none;
|
147 |
+
margin-bottom: 0;
|
148 |
+
}
|
149 |
+
|
150 |
+
.bp-hello-social li:last-child a {
|
151 |
+
margin-left: 4px;
|
152 |
+
}
|
153 |
+
|
154 |
+
/*
|
155 |
+
* 3.3 - Modal header
|
156 |
+
*/
|
157 |
+
.bp-hello-header {
|
158 |
+
height: 58px;
|
159 |
+
max-height: 58px;
|
160 |
+
}
|
161 |
+
|
162 |
+
/*
|
163 |
+
* 3.4 - Modal content
|
164 |
+
*/
|
165 |
+
.bp-hello-content {
|
166 |
+
padding: 0 25px;
|
167 |
+
height: calc(100% - 58px);
|
168 |
+
overflow-y: auto;
|
169 |
+
-webkit-overflow-scrolling: touch;
|
170 |
+
}
|
171 |
+
|
172 |
+
/*------------------------------------------------------------------------------
|
173 |
+
* 4.0 - Content styles
|
174 |
+
*----------------------------------------------------------------------------*/
|
175 |
+
/*
|
176 |
+
* 4.1 - Backdrop and container
|
177 |
+
*/
|
178 |
+
#bp-hello-backdrop {
|
179 |
+
background-color: rgba(0, 0, 0, 0.8);
|
180 |
+
transition: opacity 0.15s ease-out;
|
181 |
+
}
|
182 |
+
|
183 |
+
#bp-hello-container {
|
184 |
+
background-color: white;
|
185 |
+
}
|
186 |
+
|
187 |
+
/*
|
188 |
+
* 4.2 - Footer content
|
189 |
+
*/
|
190 |
+
.bp-hello-footer {
|
191 |
+
border-radius: 0 0 3px 3px;
|
192 |
+
background-color: white;
|
193 |
+
border-top: 1px solid var(--bp-hello-color-secondary);
|
194 |
+
padding: 6px 25px;
|
195 |
+
}
|
196 |
+
|
197 |
+
.bp-hello-footer p {
|
198 |
+
font-size: 15px;
|
199 |
+
}
|
200 |
+
|
201 |
+
.bp-hello-social-cta {
|
202 |
+
text-align: left;
|
203 |
+
}
|
204 |
+
|
205 |
+
.bp-hello-social-links {
|
206 |
+
text-align: right;
|
207 |
+
}
|
208 |
+
|
209 |
+
.bp-hello-social li a {
|
210 |
+
text-decoration: none;
|
211 |
+
}
|
212 |
+
|
213 |
+
/*
|
214 |
+
* 4.3 - Header content
|
215 |
+
*/
|
216 |
+
.bp-hello-header {
|
217 |
+
padding: 6px 25px;
|
218 |
+
}
|
219 |
+
|
220 |
+
.bp-hello-header h1 {
|
221 |
+
width: calc(100% - 51px);
|
222 |
+
}
|
223 |
+
|
224 |
+
#bp-hello-container .bp-hello-header {
|
225 |
+
border-bottom: 1px solid var(--bp-hello-color-secondary);
|
226 |
+
}
|
227 |
+
|
228 |
+
.bp-hello-title {
|
229 |
+
text-align: left;
|
230 |
+
}
|
231 |
+
|
232 |
+
.bp-hello-close {
|
233 |
+
position: absolute;
|
234 |
+
top: 20px;
|
235 |
+
right: 25px;
|
236 |
+
text-align: right;
|
237 |
+
}
|
238 |
+
|
239 |
+
.bp-hello-close a {
|
240 |
+
text-decoration: none;
|
241 |
+
}
|
242 |
+
|
243 |
+
/*
|
244 |
+
* 4.4 - Content content
|
245 |
+
*/
|
246 |
+
.bp-hello-content {
|
247 |
+
background-color: white;
|
248 |
+
}
|
249 |
+
|
250 |
+
/*------------------------------------------------------------------------------
|
251 |
+
* 5.0 - Media
|
252 |
+
*----------------------------------------------------------------------------*/
|
253 |
+
.bp-hello-content img {
|
254 |
+
border-radius: 2px;
|
255 |
+
max-width: 100%;
|
256 |
+
}
|
257 |
+
|
258 |
+
/*------------------------------------------------------------------------------
|
259 |
+
* 6.0 - Media Queries
|
260 |
+
*----------------------------------------------------------------------------*/
|
261 |
+
/*
|
262 |
+
* 6.1 - Desktop Medium
|
263 |
+
*/
|
264 |
+
@media only screen and (min-width: 1024px) {
|
265 |
+
#bp-hello-backdrop {
|
266 |
+
display: block;
|
267 |
+
}
|
268 |
+
#bp-hello-container {
|
269 |
+
position: fixed;
|
270 |
+
top: 60px;
|
271 |
+
left: var(--bp-hello-container-size);
|
272 |
+
right: var(--bp-hello-container-size);
|
273 |
+
bottom: 30px;
|
274 |
+
z-index: 9999;
|
275 |
+
border-radius: 3px;
|
276 |
+
}
|
277 |
+
#bp-hello-container .bp-hello-header h1 {
|
278 |
+
line-height: inherit;
|
279 |
+
}
|
280 |
+
.bp-hello-header {
|
281 |
+
height: auto;
|
282 |
+
max-height: inherit;
|
283 |
+
padding: 6px 30px;
|
284 |
+
}
|
285 |
+
.bp-hello-close {
|
286 |
+
right: 30px;
|
287 |
+
}
|
288 |
+
.bp-hello-close a.close-modal:before {
|
289 |
+
line-height: 0.7;
|
290 |
+
}
|
291 |
+
.bp-hello-footer {
|
292 |
+
position: fixed;
|
293 |
+
left: var(--bp-hello-container-size);
|
294 |
+
right: var(--bp-hello-container-size);
|
295 |
+
bottom: 30px;
|
296 |
+
z-index: 10000;
|
297 |
+
height: auto;
|
298 |
+
max-height: inherit;
|
299 |
+
padding: 6px 30px;
|
300 |
+
}
|
301 |
+
.bp-hello-content {
|
302 |
+
height: calc(100% - 90px);
|
303 |
+
padding: 0 30px;
|
304 |
+
}
|
305 |
+
.bp-hello-content p {
|
306 |
+
font-size: 14px;
|
307 |
+
}
|
308 |
+
}
|
309 |
+
|
310 |
+
/**
|
311 |
+
* 6.2 - Desktop Large
|
312 |
+
*/
|
313 |
+
@media screen and (min-width: 1280px) {
|
314 |
+
#bp-hello-container,
|
315 |
+
.bp-hello-footer {
|
316 |
+
left: calc((100% - 896px) / 2);
|
317 |
+
right: calc((100% - 896px) / 2);
|
318 |
+
}
|
319 |
+
}
|
bp-core/admin/css/hello.min.css
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
:root{--bp-hello-color-primary:#d34600;--bp-hello-color-secondary:#e5e5e5;--bp-hello-container-size:15%}#bp-hello-container a{color:var(--bp-hello-color-primary)}#bp-hello-container a:hover{transition:all .1s ease-in-out;color:#000}#bp-hello-container .bp-hello-header h1{line-height:1.7;font-size:21px;font-weight:400}.bp-hello-content p{font-size:16px}.bp-hello-close a:hover:before{transition:all .1s ease-in-out;color:var(--bp-hello-color-primary)}.bp-hello-close a.close-modal:before{content:"\f158";color:#23282d;font:400 35px/1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-image:none!important}.bp-hello-social li a:before{color:#23282d;font:400 30px/.6 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-image:none!important}.bp-hello-social li a:hover:before{transition:all .1s ease-in-out;color:var(--bp-hello-color-primary)}.bp-hello-social li a.support:before{content:"\f448"}.bp-hello-social li a.twitter:before{content:"\f301"}#bp-hello-backdrop{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9998;display:none}#bp-hello-container{position:fixed;top:0;bottom:80px;z-index:99999}.bp-disable-scroll{overflow:hidden}.bp-hello-footer{display:flex;flex-wrap:wrap;height:58px;max-height:58px}.bp-hello-social-cta,.bp-hello-social-links{flex-basis:50%}.bp-hello-social-links ul{display:inline-block}.bp-hello-social li{position:relative;bottom:-5px;display:inline-block;list-style-type:none;margin-bottom:0}.bp-hello-social li:last-child a{margin-left:4px}.bp-hello-header{height:58px;max-height:58px}.bp-hello-content{padding:0 25px;height:calc(100% - 58px);overflow-y:auto;-webkit-overflow-scrolling:touch}#bp-hello-backdrop{background-color:rgba(0,0,0,.8);transition:opacity .15s ease-out}#bp-hello-container{background-color:#fff}.bp-hello-footer{border-radius:0 0 3px 3px;background-color:#fff;border-top:1px solid var(--bp-hello-color-secondary);padding:6px 25px}.bp-hello-footer p{font-size:15px}.bp-hello-social-cta{text-align:left}.bp-hello-social-links{text-align:right}.bp-hello-social li a{text-decoration:none}.bp-hello-header{padding:6px 25px}.bp-hello-header h1{width:calc(100% - 51px)}#bp-hello-container .bp-hello-header{border-bottom:1px solid var(--bp-hello-color-secondary)}.bp-hello-title{text-align:left}.bp-hello-close{position:absolute;top:20px;right:25px;text-align:right}.bp-hello-close a{text-decoration:none}.bp-hello-content{background-color:#fff}.bp-hello-content img{border-radius:2px;max-width:100%}@media only screen and (min-width:1024px){#bp-hello-backdrop{display:block}#bp-hello-container{position:fixed;top:60px;left:var(--bp-hello-container-size);right:var(--bp-hello-container-size);bottom:30px;z-index:9999;border-radius:3px}#bp-hello-container .bp-hello-header h1{line-height:inherit}.bp-hello-header{height:auto;max-height:inherit;padding:6px 30px}.bp-hello-close{right:30px}.bp-hello-close a.close-modal:before{line-height:.7}.bp-hello-footer{position:fixed;left:var(--bp-hello-container-size);right:var(--bp-hello-container-size);bottom:30px;z-index:10000;height:auto;max-height:inherit;padding:6px 30px}.bp-hello-content{height:calc(100% - 90px);padding:0 30px}.bp-hello-content p{font-size:14px}}@media screen and (min-width:1280px){#bp-hello-container,.bp-hello-footer{left:calc((100% - 896px)/ 2);right:calc((100% - 896px)/ 2)}}
|
bp-core/admin/js/hello.js
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/**
|
2 |
+
* Loads for BuddyPress Hello in wp-admin for query string `hello=buddypress`.
|
3 |
+
*
|
4 |
+
* @since 3.0.0
|
5 |
+
*/
|
6 |
+
(function() {
|
7 |
+
/**
|
8 |
+
* Open the BuddyPress Hello modal.
|
9 |
+
*/
|
10 |
+
var bp_hello_open_modal = function() {
|
11 |
+
document.body.classList.add( 'bp-disable-scroll' );
|
12 |
+
|
13 |
+
// Show.
|
14 |
+
document.getElementById( 'bp-hello-backdrop' ).style.display = '';
|
15 |
+
document.getElementById( 'bp-hello-container' ).style.display = '';
|
16 |
+
};
|
17 |
+
|
18 |
+
/**
|
19 |
+
* Close the BuddyPress Hello modal.
|
20 |
+
*/
|
21 |
+
var bp_hello_close_modal = function() {
|
22 |
+
var backdrop = document.getElementById( 'bp-hello-backdrop' ),
|
23 |
+
modal = document.getElementById( 'bp-hello-container' );
|
24 |
+
|
25 |
+
document.body.classList.remove( 'bp-disable-scroll' );
|
26 |
+
|
27 |
+
// Hide.
|
28 |
+
modal.parentNode.removeChild( modal );
|
29 |
+
backdrop.parentNode.removeChild( backdrop );
|
30 |
+
};
|
31 |
+
|
32 |
+
// Close modal if "X" or background is touched.
|
33 |
+
document.addEventListener( 'click', function( event ) {
|
34 |
+
var backdrop = document.getElementById( 'bp-hello-backdrop' );
|
35 |
+
|
36 |
+
if ( ! backdrop || ! document.getElementById( 'bp-hello-container' ) ) {
|
37 |
+
return;
|
38 |
+
}
|
39 |
+
|
40 |
+
var backdrop_click = backdrop.contains( event.target ),
|
41 |
+
modal_close_click = event.target.classList.contains( 'close-modal' );
|
42 |
+
|
43 |
+
if ( ! modal_close_click && ! backdrop_click ) {
|
44 |
+
return;
|
45 |
+
}
|
46 |
+
|
47 |
+
bp_hello_close_modal();
|
48 |
+
}, false );
|
49 |
+
|
50 |
+
// Close modal if escape key is presssed.
|
51 |
+
document.addEventListener( 'keyup', function( event ) {
|
52 |
+
if ( event.keyCode === 27 ) {
|
53 |
+
if ( ! document.getElementById( 'bp-hello-backdrop' ) || ! document.getElementById( 'bp-hello-container' ) ) {
|
54 |
+
return;
|
55 |
+
}
|
56 |
+
|
57 |
+
bp_hello_close_modal();
|
58 |
+
}
|
59 |
+
}, false );
|
60 |
+
|
61 |
+
// Init modal after the screen's loaded.
|
62 |
+
if ( document.attachEvent ? document.readyState === 'complete' : document.readyState !== 'loading' ) {
|
63 |
+
bp_hello_open_modal();
|
64 |
+
} else {
|
65 |
+
document.addEventListener( 'DOMContentLoaded', bp_hello_open_modal );
|
66 |
+
}
|
67 |
+
}());
|
bp-core/admin/js/hello.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
!function(){var e=function(){document.body.classList.add("bp-disable-scroll"),document.getElementById("bp-hello-backdrop").style.display="",document.getElementById("bp-hello-container").style.display=""},t=function(){var e=document.getElementById("bp-hello-backdrop"),t=document.getElementById("bp-hello-container");document.body.classList.remove("bp-disable-scroll"),t.parentNode.removeChild(t),e.parentNode.removeChild(e)};document.addEventListener("click",function(e){var n=document.getElementById("bp-hello-backdrop");if(n&&document.getElementById("bp-hello-container")){var o=n.contains(e.target);(e.target.classList.contains("close-modal")||o)&&t()}},!1),document.addEventListener("keyup",function(e){if(27===e.keyCode){if(!document.getElementById("bp-hello-backdrop")||!document.getElementById("bp-hello-container"))return;t()}},!1),(document.attachEvent?"complete"===document.readyState:"loading"!==document.readyState)?e():document.addEventListener("DOMContentLoaded",e)}();
|
bp-core/admin/sass/hello.scss
ADDED
@@ -0,0 +1,386 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*------------------------------------------------------------------------------
|
2 |
+
Loaded in wp-admin for query string `hello=buddypress`.
|
3 |
+
|
4 |
+
@since 3.0.0
|
5 |
+
|
6 |
+
--------------------------------------------------------------------------------
|
7 |
+
TABLE OF CONTENTS:
|
8 |
+
--------------------------------------------------------------------------------
|
9 |
+
1.0 - Typography and colour
|
10 |
+
2.0 - Dashicons
|
11 |
+
3.0 - Elements
|
12 |
+
3.1 - Backdrop and container
|
13 |
+
3.2 - Modal footer
|
14 |
+
3.3 - Modal header
|
15 |
+
3.4 - Modal content
|
16 |
+
4.0 - Content styles
|
17 |
+
4.1 - Backdrop and container
|
18 |
+
4.2 - Footer content
|
19 |
+
4.3 - Header content
|
20 |
+
4.4 - Content content
|
21 |
+
5.0 - Media
|
22 |
+
6.0 - Media Queries
|
23 |
+
6.1 - Desktop Medium
|
24 |
+
6.2 - Desktop Large
|
25 |
+
------------------------------------------------------------------------------*/
|
26 |
+
|
27 |
+
/*------------------------------------------------------------------------------
|
28 |
+
* 1.0 - Typography and colour
|
29 |
+
*----------------------------------------------------------------------------*/
|
30 |
+
:root {
|
31 |
+
--bp-hello-color-primary: #d34600;
|
32 |
+
--bp-hello-color-secondary: #e5e5e5;
|
33 |
+
--bp-hello-container-size: 15%;
|
34 |
+
}
|
35 |
+
|
36 |
+
#bp-hello-container {
|
37 |
+
|
38 |
+
a {
|
39 |
+
color: var(--bp-hello-color-primary);
|
40 |
+
|
41 |
+
&:hover {
|
42 |
+
transition: all 0.1s ease-in-out;
|
43 |
+
color: rgb(0, 0, 0);
|
44 |
+
}
|
45 |
+
}
|
46 |
+
|
47 |
+
.bp-hello-header {
|
48 |
+
|
49 |
+
h1 {
|
50 |
+
line-height: 1.7;
|
51 |
+
font-size: 21px;
|
52 |
+
font-weight: 400;
|
53 |
+
}
|
54 |
+
}
|
55 |
+
}
|
56 |
+
|
57 |
+
.bp-hello-content {
|
58 |
+
|
59 |
+
p {
|
60 |
+
font-size: 16px;
|
61 |
+
}
|
62 |
+
}
|
63 |
+
|
64 |
+
/*------------------------------------------------------------------------------
|
65 |
+
* 2.0 - Dashicons
|
66 |
+
*----------------------------------------------------------------------------*/
|
67 |
+
.bp-hello-close {
|
68 |
+
|
69 |
+
a {
|
70 |
+
|
71 |
+
&:hover:before {
|
72 |
+
transition: all 0.1s ease-in-out;
|
73 |
+
color: var(--bp-hello-color-primary);
|
74 |
+
}
|
75 |
+
|
76 |
+
&.close-modal:before {
|
77 |
+
content: "\f158";
|
78 |
+
color: #23282d; /* wp toolbar */
|
79 |
+
font: 400 35px/1 dashicons;
|
80 |
+
speak: none;
|
81 |
+
-webkit-font-smoothing: antialiased;
|
82 |
+
-moz-osx-font-smoothing: grayscale;
|
83 |
+
background-image: none !important;
|
84 |
+
}
|
85 |
+
}
|
86 |
+
}
|
87 |
+
|
88 |
+
.bp-hello-social {
|
89 |
+
|
90 |
+
li a {
|
91 |
+
|
92 |
+
&:before {
|
93 |
+
color: #23282d; /* wp toolbar */
|
94 |
+
font: 400 30px/0.6 dashicons;
|
95 |
+
speak: none;
|
96 |
+
-webkit-font-smoothing: antialiased;
|
97 |
+
-moz-osx-font-smoothing: grayscale;
|
98 |
+
background-image: none !important;
|
99 |
+
}
|
100 |
+
|
101 |
+
&:hover:before {
|
102 |
+
transition: all 0.1s ease-in-out;
|
103 |
+
color: var(--bp-hello-color-primary);
|
104 |
+
}
|
105 |
+
|
106 |
+
&.support:before {
|
107 |
+
content: "\f448";
|
108 |
+
}
|
109 |
+
|
110 |
+
&.twitter:before {
|
111 |
+
content: "\f301";
|
112 |
+
}
|
113 |
+
}
|
114 |
+
}
|
115 |
+
|
116 |
+
/*------------------------------------------------------------------------------
|
117 |
+
* 3.0 - Elements
|
118 |
+
*----------------------------------------------------------------------------*/
|
119 |
+
|
120 |
+
/*
|
121 |
+
* 3.1 - Backdrop and container
|
122 |
+
*/
|
123 |
+
#bp-hello-backdrop {
|
124 |
+
position: fixed;
|
125 |
+
top: 0;
|
126 |
+
left: 0;
|
127 |
+
right: 0;
|
128 |
+
bottom: 0;
|
129 |
+
z-index: 9998; // >= 9990 for main menu
|
130 |
+
|
131 |
+
display: none;
|
132 |
+
}
|
133 |
+
|
134 |
+
#bp-hello-container {
|
135 |
+
position: fixed;
|
136 |
+
top: 0;
|
137 |
+
bottom: 80px;
|
138 |
+
z-index: 99999; // >= 99998 for toolbar
|
139 |
+
}
|
140 |
+
|
141 |
+
.bp-disable-scroll {
|
142 |
+
overflow: hidden;
|
143 |
+
}
|
144 |
+
|
145 |
+
/*
|
146 |
+
* 3.2 - Modal footer
|
147 |
+
*/
|
148 |
+
.bp-hello-footer {
|
149 |
+
display: flex;
|
150 |
+
flex-wrap: wrap;
|
151 |
+
|
152 |
+
height: 58px;
|
153 |
+
max-height: 58px;
|
154 |
+
}
|
155 |
+
|
156 |
+
.bp-hello-social-cta,
|
157 |
+
.bp-hello-social-links {
|
158 |
+
flex-basis: 50%;
|
159 |
+
}
|
160 |
+
|
161 |
+
.bp-hello-social-links {
|
162 |
+
|
163 |
+
ul {
|
164 |
+
display: inline-block;
|
165 |
+
}
|
166 |
+
}
|
167 |
+
|
168 |
+
.bp-hello-social {
|
169 |
+
|
170 |
+
li {
|
171 |
+
position: relative;
|
172 |
+
bottom: -5px;
|
173 |
+
display: inline-block;
|
174 |
+
list-style-type: none;
|
175 |
+
margin-bottom: 0;
|
176 |
+
|
177 |
+
&:last-child a {
|
178 |
+
margin-left: 4px;
|
179 |
+
}
|
180 |
+
}
|
181 |
+
}
|
182 |
+
|
183 |
+
/*
|
184 |
+
* 3.3 - Modal header
|
185 |
+
*/
|
186 |
+
.bp-hello-header {
|
187 |
+
height: 58px;
|
188 |
+
max-height: 58px;
|
189 |
+
}
|
190 |
+
|
191 |
+
/*
|
192 |
+
* 3.4 - Modal content
|
193 |
+
*/
|
194 |
+
.bp-hello-content {
|
195 |
+
padding: 0 25px;
|
196 |
+
|
197 |
+
// Force scrolling.
|
198 |
+
height: calc(100% - 58px);
|
199 |
+
overflow-y: auto;
|
200 |
+
-webkit-overflow-scrolling: touch;
|
201 |
+
}
|
202 |
+
|
203 |
+
/*------------------------------------------------------------------------------
|
204 |
+
* 4.0 - Content styles
|
205 |
+
*----------------------------------------------------------------------------*/
|
206 |
+
|
207 |
+
/*
|
208 |
+
* 4.1 - Backdrop and container
|
209 |
+
*/
|
210 |
+
#bp-hello-backdrop {
|
211 |
+
background-color: rgba(0, 0, 0, 0.8);
|
212 |
+
transition: opacity 0.15s ease-out;
|
213 |
+
}
|
214 |
+
|
215 |
+
#bp-hello-container {
|
216 |
+
background-color: rgb(255, 255, 255);
|
217 |
+
}
|
218 |
+
|
219 |
+
/*
|
220 |
+
* 4.2 - Footer content
|
221 |
+
*/
|
222 |
+
.bp-hello-footer {
|
223 |
+
border-radius: 0 0 3px 3px;
|
224 |
+
background-color: rgb(255, 255, 255);
|
225 |
+
border-top: 1px solid var(--bp-hello-color-secondary);
|
226 |
+
padding: 6px 25px;
|
227 |
+
|
228 |
+
p {
|
229 |
+
font-size: 15px;
|
230 |
+
}
|
231 |
+
}
|
232 |
+
|
233 |
+
.bp-hello-social-cta {
|
234 |
+
text-align: left;
|
235 |
+
}
|
236 |
+
|
237 |
+
.bp-hello-social-links {
|
238 |
+
text-align: right;
|
239 |
+
}
|
240 |
+
|
241 |
+
.bp-hello-social {
|
242 |
+
|
243 |
+
li {
|
244 |
+
|
245 |
+
a {
|
246 |
+
text-decoration: none;
|
247 |
+
}
|
248 |
+
}
|
249 |
+
}
|
250 |
+
|
251 |
+
/*
|
252 |
+
* 4.3 - Header content
|
253 |
+
*/
|
254 |
+
.bp-hello-header {
|
255 |
+
padding: 6px 25px;
|
256 |
+
|
257 |
+
h1 {
|
258 |
+
width: calc(100% - 51px); // Approx. width of "X" button block.
|
259 |
+
}
|
260 |
+
}
|
261 |
+
|
262 |
+
#bp-hello-container {
|
263 |
+
|
264 |
+
.bp-hello-header {
|
265 |
+
border-bottom: 1px solid var(--bp-hello-color-secondary);
|
266 |
+
}
|
267 |
+
}
|
268 |
+
|
269 |
+
.bp-hello-title {
|
270 |
+
text-align: left;
|
271 |
+
}
|
272 |
+
|
273 |
+
.bp-hello-close {
|
274 |
+
position: absolute;
|
275 |
+
top: 20px;
|
276 |
+
right: 25px;
|
277 |
+
text-align: right;
|
278 |
+
|
279 |
+
a {
|
280 |
+
text-decoration: none;
|
281 |
+
}
|
282 |
+
}
|
283 |
+
|
284 |
+
/*
|
285 |
+
* 4.4 - Content content
|
286 |
+
*/
|
287 |
+
.bp-hello-content {
|
288 |
+
background-color: rgb(255, 255, 255);
|
289 |
+
}
|
290 |
+
|
291 |
+
/*------------------------------------------------------------------------------
|
292 |
+
* 5.0 - Media
|
293 |
+
*----------------------------------------------------------------------------*/
|
294 |
+
.bp-hello-content {
|
295 |
+
|
296 |
+
img {
|
297 |
+
border-radius: 2px;
|
298 |
+
max-width: 100%;
|
299 |
+
}
|
300 |
+
}
|
301 |
+
|
302 |
+
/*------------------------------------------------------------------------------
|
303 |
+
* 6.0 - Media Queries
|
304 |
+
*----------------------------------------------------------------------------*/
|
305 |
+
|
306 |
+
/*
|
307 |
+
* 6.1 - Desktop Medium
|
308 |
+
*/
|
309 |
+
@media only screen and (min-width: 1024px) {
|
310 |
+
|
311 |
+
#bp-hello-backdrop {
|
312 |
+
display: block;
|
313 |
+
}
|
314 |
+
|
315 |
+
#bp-hello-container {
|
316 |
+
position: fixed;
|
317 |
+
top: 60px;
|
318 |
+
left: var(--bp-hello-container-size);
|
319 |
+
right: var(--bp-hello-container-size);
|
320 |
+
bottom: 30px;
|
321 |
+
z-index: 9999;
|
322 |
+
|
323 |
+
border-radius: 3px;
|
324 |
+
|
325 |
+
.bp-hello-header {
|
326 |
+
|
327 |
+
h1 {
|
328 |
+
line-height: inherit;
|
329 |
+
}
|
330 |
+
}
|
331 |
+
}
|
332 |
+
|
333 |
+
.bp-hello-header {
|
334 |
+
height: auto;
|
335 |
+
max-height: inherit;
|
336 |
+
|
337 |
+
padding: 6px 30px;
|
338 |
+
}
|
339 |
+
|
340 |
+
.bp-hello-close {
|
341 |
+
right: 30px;
|
342 |
+
|
343 |
+
a {
|
344 |
+
|
345 |
+
&.close-modal:before {
|
346 |
+
line-height: 0.7;
|
347 |
+
}
|
348 |
+
}
|
349 |
+
}
|
350 |
+
|
351 |
+
.bp-hello-footer {
|
352 |
+
position: fixed; // Fixed position above "content" div.
|
353 |
+
left: var(--bp-hello-container-size);
|
354 |
+
right: var(--bp-hello-container-size);
|
355 |
+
bottom: 30px;
|
356 |
+
z-index: 10000; // See #bp-hello-backdrop
|
357 |
+
|
358 |
+
height: auto;
|
359 |
+
max-height: inherit;
|
360 |
+
|
361 |
+
padding: 6px 30px;
|
362 |
+
}
|
363 |
+
|
364 |
+
.bp-hello-content {
|
365 |
+
// Very very approx. height of header and footer.
|
366 |
+
height: calc(100% - 90px);
|
367 |
+
padding: 0 30px;
|
368 |
+
|
369 |
+
p {
|
370 |
+
font-size: 14px;
|
371 |
+
}
|
372 |
+
}
|
373 |
+
}
|
374 |
+
|
375 |
+
/**
|
376 |
+
* 6.2 - Desktop Large
|
377 |
+
*/
|
378 |
+
@media screen and (min-width: 1280px) {
|
379 |
+
|
380 |
+
#bp-hello-container,
|
381 |
+
.bp-hello-footer {
|
382 |
+
// Approx. max-width of modal at Desktop Medium size.
|
383 |
+
left: calc((100% - 896px) / 2);
|
384 |
+
right: calc((100% - 896px) / 2);
|
385 |
+
}
|
386 |
+
}
|
bp-core/bp-core-functions.php
CHANGED
@@ -3803,3 +3803,40 @@ function bp_email_get_unsubscribe_type_schema() {
|
|
3803 |
*/
|
3804 |
return (array) apply_filters( 'bp_email_get_unsubscribe_type_schema', $emails );
|
3805 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3803 |
*/
|
3804 |
return (array) apply_filters( 'bp_email_get_unsubscribe_type_schema', $emails );
|
3805 |
}
|
3806 |
+
|
3807 |
+
/**
|
3808 |
+
* Get BuddyPress content allowed tags.
|
3809 |
+
*
|
3810 |
+
* @since 3.0.0
|
3811 |
+
*
|
3812 |
+
* @global array $allowedtags KSES allowed HTML elements.
|
3813 |
+
* @return array BuddyPress content allowed tags.
|
3814 |
+
*/
|
3815 |
+
function bp_get_allowedtags() {
|
3816 |
+
global $allowedtags;
|
3817 |
+
|
3818 |
+
return array_merge_recursive( $allowedtags, array(
|
3819 |
+
'a' => array(
|
3820 |
+
'aria-label' => array(),
|
3821 |
+
'class' => array(),
|
3822 |
+
'data-bp-tooltip' => array(),
|
3823 |
+
'id' => array(),
|
3824 |
+
'rel' => array(),
|
3825 |
+
),
|
3826 |
+
'img' => array(
|
3827 |
+
'src' => array(),
|
3828 |
+
'alt' => array(),
|
3829 |
+
'width' => array(),
|
3830 |
+
'height' => array(),
|
3831 |
+
'class' => array(),
|
3832 |
+
'id' => array(),
|
3833 |
+
),
|
3834 |
+
'span'=> array(
|
3835 |
+
'class' => array(),
|
3836 |
+
'data-livestamp' => array(),
|
3837 |
+
),
|
3838 |
+
'ul' => array(),
|
3839 |
+
'ol' => array(),
|
3840 |
+
'li' => array(),
|
3841 |
+
) );
|
3842 |
+
}
|
bp-core/bp-core-theme-compatibility.php
CHANGED
@@ -994,6 +994,10 @@ add_action( 'loop_end', 'bp_theme_compat_loop_end' );
|
|
994 |
* @since 3.0.0
|
995 |
*/
|
996 |
function bp_check_theme_template_pack_dependency() {
|
|
|
|
|
|
|
|
|
997 |
$all_packages = array_keys( buddypress()->theme_compat->packages );
|
998 |
|
999 |
foreach ( $all_packages as $package ) {
|
994 |
* @since 3.0.0
|
995 |
*/
|
996 |
function bp_check_theme_template_pack_dependency() {
|
997 |
+
if ( bp_is_deactivation() ) {
|
998 |
+
return;
|
999 |
+
}
|
1000 |
+
|
1001 |
$all_packages = array_keys( buddypress()->theme_compat->packages );
|
1002 |
|
1003 |
foreach ( $all_packages as $package ) {
|
bp-core/classes/class-bp-admin.php
CHANGED
@@ -155,8 +155,8 @@ class BP_Admin {
|
|
155 |
// Add settings.
|
156 |
add_action( 'bp_register_admin_settings', array( $this, 'register_admin_settings' ) );
|
157 |
|
158 |
-
// Add a link to BuddyPress
|
159 |
-
add_action( 'admin_bar_menu', array( $this, 'admin_bar_about_link' ),
|
160 |
|
161 |
// Add a description of new BuddyPress tools in the available tools page.
|
162 |
add_action( 'tool_box', 'bp_core_admin_available_tools_intro' );
|
@@ -169,6 +169,9 @@ class BP_Admin {
|
|
169 |
add_filter( 'manage_' . bp_get_email_post_type() . '_posts_columns', array( $this, 'emails_register_situation_column' ) );
|
170 |
add_action( 'manage_' . bp_get_email_post_type() . '_posts_custom_column', array( $this, 'emails_display_situation_column_data' ), 10, 2 );
|
171 |
|
|
|
|
|
|
|
172 |
/* Filters ***********************************************************/
|
173 |
|
174 |
// Add link to settings page.
|
@@ -197,24 +200,6 @@ class BP_Admin {
|
|
197 |
return;
|
198 |
}
|
199 |
|
200 |
-
// About.
|
201 |
-
add_dashboard_page(
|
202 |
-
__( 'Welcome to BuddyPress', 'buddypress' ),
|
203 |
-
__( 'Welcome to BuddyPress', 'buddypress' ),
|
204 |
-
'manage_options',
|
205 |
-
'bp-about',
|
206 |
-
array( $this, 'about_screen' )
|
207 |
-
);
|
208 |
-
|
209 |
-
// Credits.
|
210 |
-
add_dashboard_page(
|
211 |
-
__( 'Welcome to BuddyPress', 'buddypress' ),
|
212 |
-
__( 'Welcome to BuddyPress', 'buddypress' ),
|
213 |
-
'manage_options',
|
214 |
-
'bp-credits',
|
215 |
-
array( $this, 'credits_screen' )
|
216 |
-
);
|
217 |
-
|
218 |
$hooks = array();
|
219 |
|
220 |
// Changed in BP 1.6 . See bp_core_admin_backpat_menu().
|
@@ -264,6 +249,16 @@ class BP_Admin {
|
|
264 |
'bp_core_admin_settings'
|
265 |
);
|
266 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
// For consistency with non-Multisite, we add a Tools menu in
|
268 |
// the Network Admin as a home for our Tools panel.
|
269 |
if ( is_multisite() && bp_core_do_network_admin() ) {
|
@@ -393,7 +388,7 @@ class BP_Admin {
|
|
393 |
register_setting( 'buddypress', 'bp-disable-account-deletion', 'intval' );
|
394 |
|
395 |
// Template pack picker.
|
396 |
-
add_settings_field( '_bp_theme_package_id', __( 'Template Pack', 'buddypress' ), 'bp_admin_setting_callback_theme_package_id', 'buddypress', 'bp_main' );
|
397 |
register_setting( 'buddypress', '_bp_theme_package_id', 'sanitize_text_field' );
|
398 |
|
399 |
/* XProfile Section **************************************************/
|
@@ -464,21 +459,27 @@ class BP_Admin {
|
|
464 |
}
|
465 |
|
466 |
/**
|
467 |
-
* Add a link to BuddyPress
|
468 |
*
|
469 |
* @since 1.9.0
|
|
|
470 |
*
|
471 |
-
* @param WP_Admin_Bar $wp_admin_bar
|
472 |
*/
|
473 |
public function admin_bar_about_link( $wp_admin_bar ) {
|
474 |
-
if ( is_user_logged_in() ) {
|
475 |
-
|
476 |
-
'parent' => 'wp-logo',
|
477 |
-
'id' => 'bp-about',
|
478 |
-
'title' => esc_html__( 'About BuddyPress', 'buddypress' ),
|
479 |
-
'href' => add_query_arg( array( 'page' => 'bp-about' ), bp_get_admin_url( 'index.php' ) ),
|
480 |
-
) );
|
481 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
482 |
}
|
483 |
|
484 |
/**
|
@@ -500,7 +501,7 @@ class BP_Admin {
|
|
500 |
// Add a few links to the existing links array.
|
501 |
return array_merge( $links, array(
|
502 |
'settings' => '<a href="' . esc_url( add_query_arg( array( 'page' => 'bp-components' ), bp_get_admin_url( $this->settings_page ) ) ) . '">' . esc_html__( 'Settings', 'buddypress' ) . '</a>',
|
503 |
-
'about' => '<a href="' . esc_url(
|
504 |
) );
|
505 |
}
|
506 |
|
@@ -514,6 +515,7 @@ class BP_Admin {
|
|
514 |
// Settings pages.
|
515 |
remove_submenu_page( $this->settings_page, 'bp-page-settings' );
|
516 |
remove_submenu_page( $this->settings_page, 'bp-settings' );
|
|
|
517 |
|
518 |
// Network Admin Tools.
|
519 |
remove_submenu_page( 'network-tools', 'network-tools' );
|
@@ -530,156 +532,165 @@ class BP_Admin {
|
|
530 |
*/
|
531 |
public function enqueue_scripts() {
|
532 |
wp_enqueue_style( 'bp-admin-common-css' );
|
|
|
|
|
|
|
|
|
|
|
|
|
533 |
}
|
534 |
|
535 |
/** About *****************************************************************/
|
536 |
|
537 |
/**
|
538 |
-
* Output the
|
539 |
*
|
540 |
-
* @since 1.7.0
|
|
|
541 |
*/
|
542 |
public function about_screen() {
|
|
|
|
|
|
|
543 |
?>
|
544 |
|
545 |
-
<div
|
546 |
-
|
547 |
-
<?php self::welcome_text(); ?>
|
548 |
-
|
549 |
-
<?php self::tab_navigation( __METHOD__ ); ?>
|
550 |
-
|
551 |
-
<?php if ( self::is_new_install() ) : ?>
|
552 |
-
|
553 |
-
<div id="welcome-panel" class="welcome-panel">
|
554 |
-
<div class="welcome-panel-content">
|
555 |
-
<h3 style="margin:0;"><?php _e( 'Getting Started with BuddyPress', 'buddypress' ); ?></h3>
|
556 |
-
<div class="welcome-panel-column-container">
|
557 |
-
<div class="welcome-panel-column">
|
558 |
-
<h4><?php _e( 'Configure BuddyPress', 'buddypress' ); ?></h4>
|
559 |
-
<ul>
|
560 |
-
<li><?php printf(
|
561 |
-
'<a href="%s" class="welcome-icon welcome-edit-page">' . __( 'Set Up Components', 'buddypress' ) . '</a>', esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-components' ), $this->settings_page ) ) )
|
562 |
-
); ?></li>
|
563 |
-
<li><?php printf(
|
564 |
-
'<a href="%s" class="welcome-icon welcome-edit-page">' . __( 'Assign Components to Pages', 'buddypress' ) . '</a>', esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-page-settings' ), $this->settings_page ) ) )
|
565 |
-
); ?></li>
|
566 |
-
<li><?php printf(
|
567 |
-
'<a href="%s" class="welcome-icon welcome-edit-page">' . __( 'Customize Settings', 'buddypress' ) . '</a>', esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-settings' ), $this->settings_page ) ) )
|
568 |
-
); ?></li>
|
569 |
-
</ul>
|
570 |
-
<a class="button button-primary button-hero" style="margin-bottom:20px;margin-top:0;" href="<?php echo esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-components' ), $this->settings_page ) ) ); ?>"><?php _e( 'Get Started', 'buddypress' ); ?></a>
|
571 |
-
</div>
|
572 |
-
<div class="welcome-panel-column">
|
573 |
-
<h4><?php _e( 'Administration Tools', 'buddypress' ); ?></h4>
|
574 |
-
<ul>
|
575 |
-
<?php if ( bp_is_active( 'members' ) ) : ?>
|
576 |
-
<li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Add User Profile Fields', 'buddypress' ) . '</a>', esc_url( add_query_arg( array( 'page' => 'bp-profile-setup' ), bp_get_admin_url( 'users.php' ) ) ) ); ?></li>
|
577 |
-
<?php endif; ?>
|
578 |
-
<li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Manage User Signups', 'buddypress' ) . '</a>', esc_url( add_query_arg( array( 'page' => 'bp-signups' ), bp_get_admin_url( 'users.php' ) ) ) ); ?></li>
|
579 |
-
<?php if ( bp_is_active( 'activity' ) ) : ?>
|
580 |
-
<li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Moderate Activity Streams', 'buddypress' ) . '</a>', esc_url( add_query_arg( array( 'page' => 'bp-activity' ), bp_get_admin_url( 'admin.php' ) ) ) ); ?></li>
|
581 |
-
<?php endif; ?>
|
582 |
-
<?php if ( bp_is_active( 'groups' ) ) : ?>
|
583 |
-
<li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Manage Groups', 'buddypress' ) . '</a>', esc_url( add_query_arg( array( 'page' => 'bp-groups' ), bp_get_admin_url( 'admin.php' ) ) ) ); ?></li>
|
584 |
-
<?php endif; ?>
|
585 |
-
<li><?php printf( '<a href="%s" class="welcome-icon welcome-add-page">' . __( 'Repair Data', 'buddypress' ) . '</a>', esc_url( add_query_arg( array( 'page' => 'bp-tools' ), bp_get_admin_url( 'tools.php' ) ) ) ); ?>
|
586 |
-
</li>
|
587 |
-
</ul>
|
588 |
-
</div>
|
589 |
-
<div class="welcome-panel-column welcome-panel-last">
|
590 |
-
<h4><?php _e( 'Community and Support', 'buddypress' ); ?></h4>
|
591 |
-
<p class="welcome-icon welcome-learn-more" style="margin-right:10px"><?php _e( 'Looking for help? The <a href="https://codex.buddypress.org/">BuddyPress Codex</a> has you covered.', 'buddypress' ) ?></p>
|
592 |
-
<p class="welcome-icon welcome-learn-more" style="margin-right:10px"><?php _e( 'Can’t find what you need? Stop by <a href="https://buddypress.org/support/">our support forums</a>, where active BuddyPress users and developers are waiting to share tips and more.', 'buddypress' ) ?></p>
|
593 |
-
</div>
|
594 |
-
</div>
|
595 |
-
</div>
|
596 |
-
</div>
|
597 |
-
|
598 |
-
<?php endif; ?>
|
599 |
-
|
600 |
-
<div class="bp-features-section">
|
601 |
-
|
602 |
-
<h3 class="headline-title"><?php esc_html_e( 'For Developers & Site Builders', 'buddypress' ); ?></h3>
|
603 |
-
|
604 |
-
<div class="bp-feature">
|
605 |
-
<span class="dashicons dashicons-groups" aria-hidden="true"></span>
|
606 |
-
<h4 class="feature-title"><?php esc_html_e( 'Edit Group Slug', 'buddypress' ); ?></h4>
|
607 |
-
<p><?php esc_html_e( 'Allow administrators to change group names and permalinks. Navigate to the Groups screen in the wp-admin dashboard, click on the Edit link under the Group name, and adjust as needed.', 'buddypress' ); ?></p>
|
608 |
-
</div>
|
609 |
-
|
610 |
-
<div class="bp-feature opposite">
|
611 |
-
<span class="dashicons dashicons-admin-users" aria-hidden="true"></span>
|
612 |
-
<h4 class="feature-title"><?php esc_html_e( 'Improve accessibility of Extended Profile Fields', 'buddypress' ); ?></h4>
|
613 |
-
<p><?php esc_html_e( 'Related form fields are grouped together in fieldsets and all interactive form controls are associated with necessary ARIA states and properties.', 'buddypress' ); ?></p>
|
614 |
-
</div>
|
615 |
|
616 |
-
|
617 |
-
|
618 |
-
|
619 |
-
<
|
620 |
</div>
|
621 |
|
622 |
-
<div class="bp-
|
623 |
-
<
|
624 |
-
<h4 class="feature-title"><?php esc_html_e( 'Tooltips Usable for All Devices', 'buddypress' ); ?></h4>
|
625 |
-
|
626 |
-
<p><?php esc_html_e( 'Replaced HTML title attributes with tooltips which provide additional information and visual cues where needed on mouse hover and keyboard focus events.', 'buddypress' );
|
627 |
-
?></p>
|
628 |
</div>
|
|
|
629 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
630 |
</div>
|
631 |
|
632 |
-
<div class="bp-
|
633 |
-
|
634 |
-
|
635 |
-
|
636 |
-
|
637 |
-
|
638 |
-
|
639 |
-
|
640 |
-
|
641 |
-
|
642 |
-
|
643 |
-
</div>
|
644 |
-
|
645 |
-
<div class="bp-column">
|
646 |
-
<h4 class="title"><?php esc_html_e( 'Improve profile image uploads', 'buddypress' ); ?></h4>
|
647 |
-
<p><?php esc_html_e( 'Fixed issues with uploading in iOS Safari and uploading files with non-ASCII filenames.', 'buddypress' ); ?></p>
|
648 |
-
</div>
|
649 |
</div>
|
650 |
|
651 |
-
<div class="bp-
|
652 |
-
<
|
653 |
-
<
|
654 |
-
|
655 |
-
|
656 |
-
|
657 |
-
|
658 |
-
|
659 |
-
|
660 |
-
|
661 |
-
|
662 |
-
|
663 |
-
|
664 |
-
|
665 |
-
|
666 |
-
|
667 |
-
|
668 |
-
|
669 |
-
|
670 |
-
|
671 |
-
|
672 |
-
|
|
|
|
|
673 |
</div>
|
674 |
-
|
675 |
-
</div>
|
676 |
-
|
677 |
-
<div class="bp-assets">
|
678 |
-
<p><?php _ex( 'Learn more:', 'About screen, website links', 'buddypress' ); ?> <a href="https://buddypress.org/blog/"><?php _ex( 'News', 'About screen, link to project blog', 'buddypress' ); ?></a> • <a href="https://buddypress.org/support/"><?php _ex( 'Support', 'About screen, link to support site', 'buddypress' ); ?></a> • <a href="https://codex.buddypress.org/"><?php _ex( 'Documentation', 'About screen, link to documentation', 'buddypress' ); ?></a> • <a href="https://bpdevel.wordpress.com/"><?php _ex( 'Development Blog', 'About screen, link to development blog', 'buddypress' ); ?></a></p>
|
679 |
-
|
680 |
-
<p><?php _ex( 'Twitter:', 'official Twitter accounts:', 'buddypress' ); ?> <a href="https://twitter.com/buddypress/"><?php _ex( 'BuddyPress', '@buddypress twitter account name', 'buddypress' ); ?></a> • <a href="https://twitter.com/bptrac/"><?php _ex( 'Trac', '@bptrac twitter account name', 'buddypress' ); ?></a> • <a href="https://twitter.com/buddypressdev/"><?php _ex( 'Development', '@buddypressdev twitter account name', 'buddypress' ); ?></a></p>
|
681 |
</div>
|
682 |
-
|
683 |
</div>
|
684 |
|
685 |
<?php
|
@@ -696,168 +707,193 @@ class BP_Admin {
|
|
696 |
public function credits_screen() {
|
697 |
?>
|
698 |
|
699 |
-
<div class="wrap about-wrap">
|
700 |
|
701 |
-
|
702 |
|
703 |
-
|
704 |
|
705 |
-
<p class="about-description"><?php _e( '
|
706 |
|
707 |
<h3 class="wp-people-group"><?php _e( 'Project Leaders', 'buddypress' ); ?></h3>
|
708 |
<ul class="wp-people-group " id="wp-people-group-project-leaders">
|
709 |
<li class="wp-person" id="wp-person-johnjamesjacoby">
|
710 |
-
<a class="web" href="https://profiles.wordpress.org/johnjamesjacoby"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7a2644fb53ae2f7bfd7143b504af396c?s=
|
711 |
John James Jacoby</a>
|
712 |
<span class="title"><?php _e( 'Project Lead', 'buddypress' ); ?></span>
|
713 |
</li>
|
714 |
<li class="wp-person" id="wp-person-boonebgorges">
|
715 |
-
<a class="web" href="https://profiles.wordpress.org/boonebgorges"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/9cf7c4541a582729a5fc7ae484786c0c?s=
|
716 |
Boone B. Gorges</a>
|
717 |
<span class="title"><?php _e( 'Lead Developer', 'buddypress' ); ?></span>
|
718 |
</li>
|
719 |
<li class="wp-person" id="wp-person-djpaul">
|
720 |
-
<a class="web" href="https://profiles.wordpress.org/djpaul"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3bc9ab796299d67ce83dceb9554f75df?s=
|
721 |
Paul Gibbs</a>
|
722 |
-
<span class="title"><?php _e( 'Lead
|
723 |
</li>
|
724 |
</ul>
|
725 |
|
726 |
<h3 class="wp-people-group"><?php _e( 'BuddyPress Team', 'buddypress' ); ?></h3>
|
727 |
<ul class="wp-people-group " id="wp-people-group-core-team">
|
728 |
-
<li class="wp-person" id="wp-person-hnla">
|
729 |
-
<a class="web" href="https://profiles.wordpress.org/hnla"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3860c955aa3f79f13b92826ae47d07fe?s=60">
|
730 |
-
Hugo Ashmore</a>
|
731 |
-
<span class="title"><?php _e( '2.9 Release Lead', 'buddypress' ); ?></span>
|
732 |
-
</li>
|
733 |
<li class="wp-person" id="wp-person-r-a-y">
|
734 |
-
<a class="web" href="https://profiles.wordpress.org/r-a-y"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3bfa556a62b5bfac1012b6ba5f42ebfa?s=
|
735 |
Ray</a>
|
736 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
737 |
</li>
|
|
|
|
|
|
|
|
|
|
|
738 |
<li class="wp-person" id="wp-person-imath">
|
739 |
-
<a class="web" href="https://profiles.wordpress.org/imath"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/8b208ca408dad63888253ee1800d6a03?s=
|
740 |
Mathieu Viet</a>
|
741 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
742 |
</li>
|
743 |
<li class="wp-person" id="wp-person-mercime">
|
744 |
-
<a class="web" href="https://profiles.wordpress.org/mercime"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/fae451be6708241627983570a1a1817a?s=
|
745 |
Mercime</a>
|
746 |
<span class="title"><?php _e( 'Navigator', 'buddypress' ); ?></span>
|
747 |
</li>
|
748 |
<li class="wp-person" id="wp-person-dcavins">
|
749 |
-
<a class="web" href="https://profiles.wordpress.org/dcavins"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/a5fa7e83d59cb45ebb616235a176595a?s=
|
750 |
David Cavins</a>
|
751 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
752 |
</li>
|
753 |
<li class="wp-person" id="wp-person-tw2113">
|
754 |
-
<a class="web" href="https://profiles.wordpress.org/tw2113"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/a5d7c934621fa1c025b83ee79bc62366?s=
|
755 |
Michael Beckwith</a>
|
756 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
757 |
</li>
|
758 |
<li class="wp-person" id="wp-person-henry-wright">
|
759 |
-
<a class="web" href="https://profiles.wordpress.org/henry.wright"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0da2f1a9340d6af196b870f6c107a248?s=
|
760 |
Henry Wright</a>
|
761 |
<span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span>
|
762 |
</li>
|
763 |
<li class="wp-person" id="wp-person-danbp">
|
764 |
-
<a class="web" href="https://profiles.wordpress.org/danbp"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0deae2e7003027fbf153500cd3fa5501?s=
|
765 |
danbp</a>
|
766 |
<span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span>
|
767 |
</li>
|
768 |
<li class="wp-person" id="wp-person-shanebp">
|
769 |
-
<a class="web" href="https://profiles.wordpress.org/shanebp"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ffd294ab5833ba14aaf175f9acc71cc4?s=
|
770 |
shanebp</a>
|
771 |
<span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span>
|
772 |
</li>
|
773 |
<li class="wp-person" id="wp-person-slaffik">
|
774 |
-
<a class="web" href="https://profiles.wordpress.org/r-a-y"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/61fb07ede3247b63f19015f200b3eb2c?s=
|
775 |
Slava Abakumov</a>
|
776 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
777 |
</li>
|
778 |
<li class="wp-person" id="wp-person-offereins">
|
779 |
-
<a class="web" href="https://profiles.wordpress.org/Offereins"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/2404ed0a35bb41aedefd42b0a7be61c1?s=
|
780 |
Laurens Offereins</a>
|
781 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
782 |
</li>
|
783 |
<li class="wp-person" id="wp-person-netweb">
|
784 |
-
<a class="web" href="https://profiles.wordpress.org/netweb"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/97e1620b501da675315ba7cfb740e80f?s=
|
785 |
Stephen Edgar</a>
|
786 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
787 |
</li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
788 |
</ul>
|
789 |
|
790 |
-
<h3 class="wp-people-group"><?php _e( '
|
791 |
<ul class="wp-people-group " id="wp-people-group-rockstars">
|
792 |
<li class="wp-person" id="wp-person-dimensionmedia">
|
793 |
-
<a class="web" href="https://profiles.wordpress.org/dimensionmedia"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7735aada1ec39d0c1118bd92ed4551f1?s=
|
794 |
David Bisset</a>
|
795 |
</li>
|
796 |
<li class="wp-person" id="wp-person-garrett-eclipse">
|
797 |
-
<a class="web" href="https://profiles.wordpress.org/garrett-eclipse"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7f68f24441c61514d5d0e1451bb5bc9d?s=
|
798 |
Garrett Hyder</a>
|
799 |
</li>
|
800 |
<li class="wp-person" id="wp-person-thebrandonallen">
|
801 |
-
<a class="web" href="https://profiles.wordpress.org/thebrandonallen"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/6d3f77bf3c9ca94c406dea401b566950?s=
|
802 |
Brandon Allen</a>
|
803 |
</li>
|
804 |
<li class="wp-person" id="wp-person-ramiy">
|
805 |
-
<a class="web" href="https://profiles.wordpress.org/ramiy"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ce2a269e424156d79cb0c4e1d4d82db1?s=
|
806 |
Rami Yushuvaev</a>
|
807 |
</li>
|
|
|
|
|
|
|
|
|
808 |
</ul>
|
809 |
|
810 |
<h3 class="wp-people-group"><?php printf( esc_html__( 'Contributors to BuddyPress %s', 'buddypress' ), self::display_version() ); ?></h3>
|
811 |
<p class="wp-credits-list">
|
812 |
-
<a href="https://profiles.wordpress.org/
|
813 |
-
<a href="https://profiles.wordpress.org/
|
814 |
-
<a href="https://profiles.wordpress.org/
|
|
|
815 |
<a href="https://profiles.wordpress.org/antonioeatgoat/">Antonio Mangiacapra (antonioeatgoat)</a>,
|
816 |
-
<a href="https://profiles.wordpress.org/benjlipchak/">Benj (benjlipchak)</a>,
|
817 |
<a href="https://profiles.wordpress.org/boonebgorges/">Boone B Gorges (boonebgorges)</a>,
|
818 |
-
<a href="https://profiles.wordpress.org/
|
|
|
819 |
<a href="https://profiles.wordpress.org/sbrajesh/">Brajesh Singh (sbrajesh)</a>,
|
|
|
|
|
820 |
<a href="https://profiles.wordpress.org/needle/">Christian Wach (needle)</a>,
|
821 |
-
<a href="https://profiles.wordpress.org/
|
|
|
822 |
<a href="https://profiles.wordpress.org/danbp/">danbp</a>,
|
823 |
<a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>,
|
824 |
-
<a href="https://profiles.wordpress.org/
|
825 |
-
<a href="https://profiles.wordpress.org/
|
826 |
-
<a href="https://profiles.wordpress.org/
|
|
|
|
|
|
|
|
|
|
|
|
|
827 |
<a href="https://profiles.wordpress.org/henry.wright">Henry Wright (henry.wright)</a>,
|
828 |
<a href="https://profiles.wordpress.org/hnla/">Hugo (hnla)</a>,
|
829 |
<a href="https://profiles.wordpress.org/idofri/">Ido Friedlander (idofri)</a>,
|
830 |
-
<a href="https://profiles.wordpress.org/
|
831 |
-
<a href="https://profiles.wordpress.org/johnbillion/">John Blackbourn (johnbillion)</a>,
|
832 |
<a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>,
|
833 |
-
<a href="https://profiles.wordpress.org/juanho/">Juanho</a>,
|
834 |
-
<a href="https://profiles.wordpress.org/lakrisgubben/">lakrisgubben</a>,
|
835 |
<a href="https://profiles.wordpress.org/Offereins">Laurens Offereins (Offereins)</a>,
|
836 |
-
<a href="https://profiles.wordpress.org/
|
837 |
-
<a href="https://profiles.wordpress.org/lenasterg/">lenasterg</a>,
|
838 |
-
<a href="https://profiles.wordpress.org/maniou/">Maniou</a>,
|
839 |
<a href="https://profiles.wordpress.org/imath/">Mathieu Viet (imath)</a>,
|
|
|
840 |
<a href="https://profiles.wordpress.org/mercime/">mercime</a>,
|
841 |
<a href="https://profiles.wordpress.org/tw2113/">Michael Beckwith (tw2113)</a>,
|
842 |
-
<a href="https://profiles.wordpress.org/
|
843 |
-
<a href="https://profiles.wordpress.org/milindmore22/">Milind More (milindmore22)</a>,
|
844 |
<a href="https://profiles.wordpress.org/modemlooper/">modemlooper</a>,
|
845 |
-
<a href="https://profiles.wordpress.org/
|
846 |
-
<a href="https://profiles.wordpress.org/nicolaskulka/">Nicolas Kulka (NicolasKulka)</a>,
|
847 |
-
<a href="https://profiles.wordpress.org/oelita/">Oelita</a>,
|
848 |
-
<a href="https://profiles.wordpress.org/DJPaul/">Paul Gibbs (DJPaul)</a>,
|
849 |
<a href="https://profiles.wordpress.org/pareshradadiya/">paresh.radadiya (pareshradadiya)</a>,
|
|
|
|
|
|
|
850 |
<a href="https://profiles.wordpress.org/r-a-y/">r-a-y</a>,
|
|
|
|
|
851 |
<a href="https://profiles.wordpress.org/espellcaste/">Renato Alves (espellcaste)</a>,
|
852 |
<a href="https://profiles.wordpress.org/rianrietveld/">Rian Rietveld (rianrietvelde)</a>,
|
853 |
-
<a href="https://profiles.wordpress.org/
|
854 |
-
<a href="https://profiles.wordpress.org/
|
855 |
<a href="https://profiles.wordpress.org/slaffik/">Slava Abakumov (slaffik)</a>,
|
856 |
<a href="https://profiles.wordpress.org/netweb/">Stephen Edgar (netweb)</a>,
|
857 |
-
<a href="https://profiles.wordpress.org/
|
|
|
|
|
|
|
|
|
858 |
</p>
|
859 |
|
860 |
-
<h3 class="wp-people-group"><?php _e( '
|
861 |
<p class="wp-credits-list">
|
862 |
<a href="https://github.com/ichord/At.js">At.js</a>,
|
863 |
<a href="https://bbpress.org">bbPress</a>,
|
@@ -867,67 +903,39 @@ class BP_Admin {
|
|
867 |
<a href="https://github.com/carhartl/jquery-cookie">jquery.cookie</a>,
|
868 |
<a href="https://mattbradley.github.io/livestampjs/">Livestamp.js</a>,
|
869 |
<a href="https://www.mediawiki.org/wiki/MediaWiki">MediaWiki</a>,
|
870 |
-
<a href="
|
871 |
<a href="https://wordpress.org">WordPress</a>.
|
872 |
</p>
|
873 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
874 |
</div>
|
875 |
|
876 |
<?php
|
877 |
}
|
878 |
|
879 |
-
/**
|
880 |
-
* Output welcome text and badge for What's New and Credits pages.
|
881 |
-
*
|
882 |
-
* @since 2.2.0
|
883 |
-
*/
|
884 |
-
public static function welcome_text() {
|
885 |
-
|
886 |
-
// Switch welcome text based on whether this is a new installation or not.
|
887 |
-
$welcome_text = ( self::is_new_install() )
|
888 |
-
? __( 'Thank you for installing BuddyPress! BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!', 'buddypress' )
|
889 |
-
: __( 'Thank you for updating! BuddyPress %s has many new improvements that you will enjoy.', 'buddypress' );
|
890 |
-
|
891 |
-
?>
|
892 |
-
|
893 |
-
<h1><?php printf( esc_html__( 'Welcome to BuddyPress %s', 'buddypress' ), self::display_version() ); ?></h1>
|
894 |
-
|
895 |
-
<div class="about-text">
|
896 |
-
<?php
|
897 |
-
if ( self::is_new_install() ) {
|
898 |
-
echo $welcome_text;
|
899 |
-
} else {
|
900 |
-
printf( $welcome_text, self::display_version() );
|
901 |
-
}
|
902 |
-
?>
|
903 |
-
</div>
|
904 |
-
|
905 |
-
<div class="bp-badge"></div>
|
906 |
-
|
907 |
-
<?php
|
908 |
-
}
|
909 |
-
|
910 |
-
/**
|
911 |
-
* Output tab navigation for `What's New` and `Credits` pages.
|
912 |
-
*
|
913 |
-
* @since 2.2.0
|
914 |
-
*
|
915 |
-
* @param string $tab Tab to highlight as active.
|
916 |
-
*/
|
917 |
-
public static function tab_navigation( $tab = 'whats_new' ) {
|
918 |
-
?>
|
919 |
-
|
920 |
-
<h2 class="nav-tab-wrapper">
|
921 |
-
<a class="nav-tab <?php if ( 'BP_Admin::about_screen' === $tab ) : ?>nav-tab-active<?php endif; ?>" href="<?php echo esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-about' ), 'index.php' ) ) ); ?>">
|
922 |
-
<?php esc_html_e( 'What’s New', 'buddypress' ); ?>
|
923 |
-
</a><a class="nav-tab <?php if ( 'BP_Admin::credits_screen' === $tab ) : ?>nav-tab-active<?php endif; ?>" href="<?php echo esc_url( bp_get_admin_url( add_query_arg( array( 'page' => 'bp-credits' ), 'index.php' ) ) ); ?>">
|
924 |
-
<?php esc_html_e( 'Credits', 'buddypress' ); ?>
|
925 |
-
</a>
|
926 |
-
</h2>
|
927 |
-
|
928 |
-
<?php
|
929 |
-
}
|
930 |
-
|
931 |
/** Emails ****************************************************************/
|
932 |
|
933 |
/**
|
@@ -1077,8 +1085,13 @@ class BP_Admin {
|
|
1077 |
'file' => "{$url}customizer-controls{$min}.css",
|
1078 |
'dependencies' => array(),
|
1079 |
),
|
1080 |
-
) );
|
1081 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1082 |
|
1083 |
$version = bp_get_version();
|
1084 |
|
@@ -1115,6 +1128,13 @@ class BP_Admin {
|
|
1115 |
'dependencies' => array( 'jquery' ),
|
1116 |
'footer' => true,
|
1117 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1118 |
) );
|
1119 |
|
1120 |
$version = bp_get_version();
|
155 |
// Add settings.
|
156 |
add_action( 'bp_register_admin_settings', array( $this, 'register_admin_settings' ) );
|
157 |
|
158 |
+
// Add a link to BuddyPress Hello in the admin bar.
|
159 |
+
add_action( 'admin_bar_menu', array( $this, 'admin_bar_about_link' ), 100 );
|
160 |
|
161 |
// Add a description of new BuddyPress tools in the available tools page.
|
162 |
add_action( 'tool_box', 'bp_core_admin_available_tools_intro' );
|
169 |
add_filter( 'manage_' . bp_get_email_post_type() . '_posts_columns', array( $this, 'emails_register_situation_column' ) );
|
170 |
add_action( 'manage_' . bp_get_email_post_type() . '_posts_custom_column', array( $this, 'emails_display_situation_column_data' ), 10, 2 );
|
171 |
|
172 |
+
// BuddyPress Hello.
|
173 |
+
add_action( 'admin_footer', array( $this, 'about_screen' ) );
|
174 |
+
|
175 |
/* Filters ***********************************************************/
|
176 |
|
177 |
// Add link to settings page.
|
200 |
return;
|
201 |
}
|
202 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
$hooks = array();
|
204 |
|
205 |
// Changed in BP 1.6 . See bp_core_admin_backpat_menu().
|
249 |
'bp_core_admin_settings'
|
250 |
);
|
251 |
|
252 |
+
// Credits.
|
253 |
+
$hooks[] = add_submenu_page(
|
254 |
+
$this->settings_page,
|
255 |
+
__( 'BuddyPress Credits', 'buddypress' ),
|
256 |
+
__( 'BuddyPress Credits', 'buddypress' ),
|
257 |
+
$this->capability,
|
258 |
+
'bp-credits',
|
259 |
+
array( $this, 'credits_screen' )
|
260 |
+
);
|
261 |
+
|
262 |
// For consistency with non-Multisite, we add a Tools menu in
|
263 |
// the Network Admin as a home for our Tools panel.
|
264 |
if ( is_multisite() && bp_core_do_network_admin() ) {
|
388 |
register_setting( 'buddypress', 'bp-disable-account-deletion', 'intval' );
|
389 |
|
390 |
// Template pack picker.
|
391 |
+
add_settings_field( '_bp_theme_package_id', __( 'Template Pack', 'buddypress' ), 'bp_admin_setting_callback_theme_package_id', 'buddypress', 'bp_main', array( 'label_for' => '_bp_theme_package_id' ) );
|
392 |
register_setting( 'buddypress', '_bp_theme_package_id', 'sanitize_text_field' );
|
393 |
|
394 |
/* XProfile Section **************************************************/
|
459 |
}
|
460 |
|
461 |
/**
|
462 |
+
* Add a link to BuddyPress Hello to the admin bar.
|
463 |
*
|
464 |
* @since 1.9.0
|
465 |
+
* @since 3.0.0 Hooked at priority 100 (was 15).
|
466 |
*
|
467 |
+
* @param WP_Admin_Bar $wp_admin_bar
|
468 |
*/
|
469 |
public function admin_bar_about_link( $wp_admin_bar ) {
|
470 |
+
if ( ! is_user_logged_in() ) {
|
471 |
+
return;
|
|
|
|
|
|
|
|
|
|
|
472 |
}
|
473 |
+
|
474 |
+
$wp_admin_bar->add_menu( array(
|
475 |
+
'parent' => 'wp-logo',
|
476 |
+
'id' => 'bp-about',
|
477 |
+
'title' => esc_html_x( 'Hello, BuddyPress!', 'Colloquial alternative to "learn about BuddyPress"', 'buddypress' ),
|
478 |
+
'href' => bp_get_admin_url( '?hello=buddypress' ),
|
479 |
+
'meta' => array(
|
480 |
+
'class' => 'say-hello-buddypress',
|
481 |
+
),
|
482 |
+
) );
|
483 |
}
|
484 |
|
485 |
/**
|
501 |
// Add a few links to the existing links array.
|
502 |
return array_merge( $links, array(
|
503 |
'settings' => '<a href="' . esc_url( add_query_arg( array( 'page' => 'bp-components' ), bp_get_admin_url( $this->settings_page ) ) ) . '">' . esc_html__( 'Settings', 'buddypress' ) . '</a>',
|
504 |
+
'about' => '<a href="' . esc_url( bp_get_admin_url( '?hello=buddypress' ) ) . '">' . esc_html_x( 'Hello, BuddyPress!', 'Colloquial alternative to "learn about BuddyPress"', 'buddypress' ) . '</a>'
|
505 |
) );
|
506 |
}
|
507 |
|
515 |
// Settings pages.
|
516 |
remove_submenu_page( $this->settings_page, 'bp-page-settings' );
|
517 |
remove_submenu_page( $this->settings_page, 'bp-settings' );
|
518 |
+
remove_submenu_page( $this->settings_page, 'bp-credits' );
|
519 |
|
520 |
// Network Admin Tools.
|
521 |
remove_submenu_page( 'network-tools', 'network-tools' );
|
532 |
*/
|
533 |
public function enqueue_scripts() {
|
534 |
wp_enqueue_style( 'bp-admin-common-css' );
|
535 |
+
|
536 |
+
// BuddyPress Hello
|
537 |
+
if ( 0 === strpos( get_current_screen()->id, 'dashboard' ) && ! empty( $_GET['hello'] ) && $_GET['hello'] === 'buddypress' ) {
|
538 |
+
wp_enqueue_style( 'bp-hello-css' );
|
539 |
+
wp_enqueue_script( 'bp-hello-js' );
|
540 |
+
}
|
541 |
}
|
542 |
|
543 |
/** About *****************************************************************/
|
544 |
|
545 |
/**
|
546 |
+
* Output the BuddyPress Hello template.
|
547 |
*
|
548 |
+
* @since 1.7.0 Screen content.
|
549 |
+
* @since 3.0.0 Now outputs BuddyPress Hello template.
|
550 |
*/
|
551 |
public function about_screen() {
|
552 |
+
if ( 0 !== strpos( get_current_screen()->id, 'dashboard' ) || empty( $_GET['hello'] ) || $_GET['hello'] !== 'buddypress' ) {
|
553 |
+
return;
|
554 |
+
}
|
555 |
?>
|
556 |
|
557 |
+
<div id="bp-hello-backdrop" style="display: none;">
|
558 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
559 |
|
560 |
+
<div id="bp-hello-container" style="display: none;">
|
561 |
+
<div class="bp-hello-header">
|
562 |
+
<div class="bp-hello-close">
|
563 |
+
<a class="close-modal" href="#" title="<?php echo esc_attr( 'Close pop-up', 'buddypress' ); ?>"><span class="screen-reader-text"><?php esc_html_e( 'Close pop-up', 'buddypress' ); ?></span></a>
|
564 |
</div>
|
565 |
|
566 |
+
<div class="bp-hello-title">
|
567 |
+
<h1><?php esc_html_e( _x( 'New in BuddyPress', 'section heading', 'buddypress' ) ); ?></h1>
|
|
|
|
|
|
|
|
|
568 |
</div>
|
569 |
+
</div>
|
570 |
|
571 |
+
<div class="bp-hello-content">
|
572 |
+
<h2><?php esc_html_e( __( 'Say hello to “Nouveau”!', 'buddypress' ) ); ?></h2>
|
573 |
+
<p>
|
574 |
+
<?php
|
575 |
+
printf(
|
576 |
+
__( 'A bold reimagining of our legacy templates, Nouveau is our celebration of <a href="%s">10 years of BuddyPress</a>! Nouveau delivers modern markup with fresh JavaScript-powered templates, and full integration with WordPress\' Customizer, allowing more out-of-the-box control of your BuddyPress content than ever before.', 'buddypress' ),
|
577 |
+
esc_url( 'https://buddypress.org/2018/03/10-years/' )
|
578 |
+
);
|
579 |
+
?>
|
580 |
+
</p>
|
581 |
+
<p><?php esc_html_e( 'Nouveau provides vertical and horizontal layout options for BuddyPress navigation, and for the component directories, you can choose between a grid layout, and a classic flat list.', 'buddypress' ); ?></p>
|
582 |
+
<p>
|
583 |
+
<?php
|
584 |
+
printf(
|
585 |
+
__( 'Nouveau is fully compatible with WordPress. Existing BuddyPress themes have been written for our legacy template pack, and until they are updated, resolve any compatibility issues by choosing the legacy template pack option in <a href="%s">Settings > BuddyPress</a>.', 'buddypress' ),
|
586 |
+
esc_url( bp_get_admin_url( 'admin.php?page=bp-settings' ) )
|
587 |
+
);
|
588 |
+
?>
|
589 |
+
</p>
|
590 |
+
<img srcset="https://via.placeholder.com/1024x576 1024w, https://via.placeholder.com/2048x1152 2048w" src="https://placekitten.com/1024x576" sizes="(max-width: 1023px) 90vw, 65vw" alt="a rad wolf" />
|
591 |
+
|
592 |
+
|
593 |
+
<h2><?php esc_html_e( __( 'Support for WP-CLI', 'buddypress' ) ); ?></h2>
|
594 |
+
<p>
|
595 |
+
<?php
|
596 |
+
printf(
|
597 |
+
__( '<a href="%s">WP-CLI</a> is the command-line interface for WordPress. You can update plugins, configure multisite installs, and much more, without using a web browser. With this version of BuddyPress, you can now manage your BuddyPress content from WP-CLI.', 'buddypress' ),
|
598 |
+
esc_url( 'https://wp-cli.org' )
|
599 |
+
);
|
600 |
+
?>
|
601 |
+
</p>
|
602 |
+
|
603 |
+
<h2><?php esc_html_e( _x( 'Control site-wide notices from your dashboard', 'section heading', 'buddypress' ) ); ?></h2>
|
604 |
+
<p><?php esc_html_e( 'Site Notices are a feature within the Private Messaging component that allows community managers to share important messages with all members of their community. With Nouveau, the management interface for Site Notices has been removed from the front-end theme templates.', 'buddypress' ); ?></p>
|
605 |
+
|
606 |
+
<?php if ( bp_is_active( 'messages' ) ) : ?>
|
607 |
+
<p>
|
608 |
+
<?php
|
609 |
+
printf(
|
610 |
+
__( 'Explore the new management interface at <a href="%s">Users > Site Notices</a>.', 'buddypress' ),
|
611 |
+
esc_url( bp_get_admin_url( 'users.php?page=bp-notices' ) )
|
612 |
+
);
|
613 |
+
?>
|
614 |
+
</p>
|
615 |
+
<?php endif; ?>
|
616 |
+
|
617 |
+
<h2><?php esc_html_e( __( 'New profile field type: telephone numbers', 'buddypress' ) ); ?></h2>
|
618 |
+
<p><?php esc_html_e( 'A new telephone number field type has been added to the Extended Profiles component, with support for all international number formats. With a modern web browser, your members can use this field type to touch-to-dial a number directly.', 'buddypress' ); ?></p>
|
619 |
+
|
620 |
+
<h2><?php esc_html_e( __( "BuddyPress: leaner, faster, stronger", 'buddypress' ) ); ?></h2>
|
621 |
+
<p><?php esc_html_e( 'With every BuddyPress version, we strive to make performance improvements alongside new features and fixes; this version is no exception. Memory use has been optimised — within active components, we now only load each individual code file when it\'s needed, not before.', 'buddypress' ); ?></p>
|
622 |
+
<p>
|
623 |
+
<?php
|
624 |
+
printf(
|
625 |
+
__( 'Most notably, the <a href="%s">Legacy Forums component has been removed</a> after 9 years of service. If your site was using Legacy Forums, you need to <a href="%s">migrate to the bbPress plugin</a>.', 'buddypress' ),
|
626 |
+
esc_url( 'https://bpdevel.wordpress.com/2017/12/07/legacy-forums-support-will-be/' ),
|
627 |
+
esc_url( 'https://codex.buddypress.org/getting-started/guides/migrating-from-old-forums-to-bbpress-2/' )
|
628 |
+
);
|
629 |
+
?>
|
630 |
+
</p>
|
631 |
+
|
632 |
+
<p><em>
|
633 |
+
<?php
|
634 |
+
printf(
|
635 |
+
__( 'To read the full list of features, fixes, and changes in this version of BuddyPress, <a href="%s">visit Trac</a>.', 'buddypress' ),
|
636 |
+
esc_url( 'https://buddypress.trac.wordpress.org/query?group=status&milestone=3.0' )
|
637 |
+
);
|
638 |
+
?>
|
639 |
+
</em></p>
|
640 |
+
|
641 |
+
<h2><?php esc_html_e( _x( 'Your feedback', 'screen heading', 'buddypress' ) ); ?></h2>
|
642 |
+
<p>
|
643 |
+
<?php
|
644 |
+
printf(
|
645 |
+
__( ' How are you using BuddyPress? Receiving your feedback and suggestions for future versions of BuddyPress genuinely motivates and encourages our contributors. Please <a href="%s">share your feedback</a> about this version of BuddyPress on our website. ', 'buddypress' ),
|
646 |
+
esc_url( 'https://buddypress.org/support/' )
|
647 |
+
);
|
648 |
+
?>
|
649 |
+
</p>
|
650 |
+
<p><?php esc_html_e( 'Thank you for using BuddyPress! 😊', 'buddypress' ); ?></p>
|
651 |
+
|
652 |
+
<br /><br />
|
653 |
</div>
|
654 |
|
655 |
+
<div class="bp-hello-footer">
|
656 |
+
<div class="bp-hello-social-cta">
|
657 |
+
<p>
|
658 |
+
<?php
|
659 |
+
printf(
|
660 |
+
_n( 'Built by <a href="%s">%s volunteer</a>.', 'Built by <a href="%s">%s volunteers</a>.', 55, 'buddypress' ),
|
661 |
+
esc_url( bp_get_admin_url( 'admin.php?page=bp-credits' ) ),
|
662 |
+
number_format_i18n( 55 )
|
663 |
+
);
|
664 |
+
?>
|
665 |
+
</p>
|
|
|
|
|
|
|
|
|
|
|
|
|
666 |
</div>
|
667 |
|
668 |
+
<div class="bp-hello-social-links">
|
669 |
+
<ul class="bp-hello-social">
|
670 |
+
<li>
|
671 |
+
<?php
|
672 |
+
printf(
|
673 |
+
'<a class="twitter" title="%1$s" href="%2$s"><span class="screen-reader-text">%3$s</span></a>',
|
674 |
+
esc_attr( 'Follow BuddyPress on Twitter', 'buddypress' ),
|
675 |
+
esc_url( 'https://twitter.com/buddypress' ),
|
676 |
+
esc_html( 'Follow BuddyPress on Twitter', 'buddypress' )
|
677 |
+
);
|
678 |
+
?>
|
679 |
+
</li>
|
680 |
+
|
681 |
+
<li>
|
682 |
+
<?php
|
683 |
+
printf(
|
684 |
+
'<a class="support" title="%1$s" href="%2$s"><span class="screen-reader-text">%3$s</span></a>',
|
685 |
+
esc_attr( 'Visit the Support Forums', 'buddypress' ),
|
686 |
+
esc_url( 'https://buddypress.org/support/' ),
|
687 |
+
esc_html( 'Visit the Support Forums', 'buddypress' )
|
688 |
+
);
|
689 |
+
?>
|
690 |
+
</li>
|
691 |
+
</ul>
|
692 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
693 |
</div>
|
|
|
694 |
</div>
|
695 |
|
696 |
<?php
|
707 |
public function credits_screen() {
|
708 |
?>
|
709 |
|
710 |
+
<div class="wrap bp-about-wrap">
|
711 |
|
712 |
+
<h1><?php _e( 'BuddyPress Settings', 'buddypress' ); ?> </h1>
|
713 |
|
714 |
+
<h2 class="nav-tab-wrapper"><?php bp_core_admin_tabs( __( 'Credits', 'buddypress' ) ); ?></h2>
|
715 |
|
716 |
+
<p class="about-description"><?php _e( 'Meet the contributors behind BuddyPress:', 'buddypress' ); ?></p>
|
717 |
|
718 |
<h3 class="wp-people-group"><?php _e( 'Project Leaders', 'buddypress' ); ?></h3>
|
719 |
<ul class="wp-people-group " id="wp-people-group-project-leaders">
|
720 |
<li class="wp-person" id="wp-person-johnjamesjacoby">
|
721 |
+
<a class="web" href="https://profiles.wordpress.org/johnjamesjacoby"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7a2644fb53ae2f7bfd7143b504af396c?s=120">
|
722 |
John James Jacoby</a>
|
723 |
<span class="title"><?php _e( 'Project Lead', 'buddypress' ); ?></span>
|
724 |
</li>
|
725 |
<li class="wp-person" id="wp-person-boonebgorges">
|
726 |
+
<a class="web" href="https://profiles.wordpress.org/boonebgorges"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/9cf7c4541a582729a5fc7ae484786c0c?s=120">
|
727 |
Boone B. Gorges</a>
|
728 |
<span class="title"><?php _e( 'Lead Developer', 'buddypress' ); ?></span>
|
729 |
</li>
|
730 |
<li class="wp-person" id="wp-person-djpaul">
|
731 |
+
<a class="web" href="https://profiles.wordpress.org/djpaul"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3bc9ab796299d67ce83dceb9554f75df?s=120">
|
732 |
Paul Gibbs</a>
|
733 |
+
<span class="title"><?php _e( 'Release Lead', 'buddypress' ); ?></span>
|
734 |
</li>
|
735 |
</ul>
|
736 |
|
737 |
<h3 class="wp-people-group"><?php _e( 'BuddyPress Team', 'buddypress' ); ?></h3>
|
738 |
<ul class="wp-people-group " id="wp-people-group-core-team">
|
|
|
|
|
|
|
|
|
|
|
739 |
<li class="wp-person" id="wp-person-r-a-y">
|
740 |
+
<a class="web" href="https://profiles.wordpress.org/r-a-y"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3bfa556a62b5bfac1012b6ba5f42ebfa?s=120">
|
741 |
Ray</a>
|
742 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
743 |
</li>
|
744 |
+
<li class="wp-person" id="wp-person-hnla">
|
745 |
+
<a class="web" href="https://profiles.wordpress.org/hnla"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/3860c955aa3f79f13b92826ae47d07fe?s=120">
|
746 |
+
Hugo Ashmore</a>
|
747 |
+
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
748 |
+
</li>
|
749 |
<li class="wp-person" id="wp-person-imath">
|
750 |
+
<a class="web" href="https://profiles.wordpress.org/imath"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/8b208ca408dad63888253ee1800d6a03?s=120">
|
751 |
Mathieu Viet</a>
|
752 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
753 |
</li>
|
754 |
<li class="wp-person" id="wp-person-mercime">
|
755 |
+
<a class="web" href="https://profiles.wordpress.org/mercime"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/fae451be6708241627983570a1a1817a?s=120">
|
756 |
Mercime</a>
|
757 |
<span class="title"><?php _e( 'Navigator', 'buddypress' ); ?></span>
|
758 |
</li>
|
759 |
<li class="wp-person" id="wp-person-dcavins">
|
760 |
+
<a class="web" href="https://profiles.wordpress.org/dcavins"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/a5fa7e83d59cb45ebb616235a176595a?s=120">
|
761 |
David Cavins</a>
|
762 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
763 |
</li>
|
764 |
<li class="wp-person" id="wp-person-tw2113">
|
765 |
+
<a class="web" href="https://profiles.wordpress.org/tw2113"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/a5d7c934621fa1c025b83ee79bc62366?s=120">
|
766 |
Michael Beckwith</a>
|
767 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
768 |
</li>
|
769 |
<li class="wp-person" id="wp-person-henry-wright">
|
770 |
+
<a class="web" href="https://profiles.wordpress.org/henry.wright"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0da2f1a9340d6af196b870f6c107a248?s=120">
|
771 |
Henry Wright</a>
|
772 |
<span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span>
|
773 |
</li>
|
774 |
<li class="wp-person" id="wp-person-danbp">
|
775 |
+
<a class="web" href="https://profiles.wordpress.org/danbp"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/0deae2e7003027fbf153500cd3fa5501?s=120">
|
776 |
danbp</a>
|
777 |
<span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span>
|
778 |
</li>
|
779 |
<li class="wp-person" id="wp-person-shanebp">
|
780 |
+
<a class="web" href="https://profiles.wordpress.org/shanebp"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ffd294ab5833ba14aaf175f9acc71cc4?s=120">
|
781 |
shanebp</a>
|
782 |
<span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span>
|
783 |
</li>
|
784 |
<li class="wp-person" id="wp-person-slaffik">
|
785 |
+
<a class="web" href="https://profiles.wordpress.org/r-a-y"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/61fb07ede3247b63f19015f200b3eb2c?s=120">
|
786 |
Slava Abakumov</a>
|
787 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
788 |
</li>
|
789 |
<li class="wp-person" id="wp-person-offereins">
|
790 |
+
<a class="web" href="https://profiles.wordpress.org/Offereins"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/2404ed0a35bb41aedefd42b0a7be61c1?s=120">
|
791 |
Laurens Offereins</a>
|
792 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
793 |
</li>
|
794 |
<li class="wp-person" id="wp-person-netweb">
|
795 |
+
<a class="web" href="https://profiles.wordpress.org/netweb"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/97e1620b501da675315ba7cfb740e80f?s=120">
|
796 |
Stephen Edgar</a>
|
797 |
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
798 |
</li>
|
799 |
+
<li class="wp-person" id="wp-person-espellcaste">
|
800 |
+
<a class="web" href="https://profiles.wordpress.org/espellcaste"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/b691e67be0ba5cad6373770656686bc3?s=120">
|
801 |
+
Renato Alves</a>
|
802 |
+
<span class="title"><?php _e( 'Core Developer', 'buddypress' ); ?></span>
|
803 |
+
</li>
|
804 |
+
<li class="wp-person" id="wp-person-venutius">
|
805 |
+
<a class="web" href="https://profiles.wordpress.org/venutius"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/6a7c42a77fd94b82b217a7a97afdddbc?s=120">
|
806 |
+
Venutius</a>
|
807 |
+
<span class="title"><?php _e( 'Community Support', 'buddypress' ); ?></span>
|
808 |
+
</li>
|
809 |
</ul>
|
810 |
|
811 |
+
<h3 class="wp-people-group"><?php _e( 'Recent Rockstars', 'buddypress' ); ?></h3>
|
812 |
<ul class="wp-people-group " id="wp-people-group-rockstars">
|
813 |
<li class="wp-person" id="wp-person-dimensionmedia">
|
814 |
+
<a class="web" href="https://profiles.wordpress.org/dimensionmedia"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7735aada1ec39d0c1118bd92ed4551f1?s=120">
|
815 |
David Bisset</a>
|
816 |
</li>
|
817 |
<li class="wp-person" id="wp-person-garrett-eclipse">
|
818 |
+
<a class="web" href="https://profiles.wordpress.org/garrett-eclipse"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/7f68f24441c61514d5d0e1451bb5bc9d?s=120">
|
819 |
Garrett Hyder</a>
|
820 |
</li>
|
821 |
<li class="wp-person" id="wp-person-thebrandonallen">
|
822 |
+
<a class="web" href="https://profiles.wordpress.org/thebrandonallen"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/6d3f77bf3c9ca94c406dea401b566950?s=120">
|
823 |
Brandon Allen</a>
|
824 |
</li>
|
825 |
<li class="wp-person" id="wp-person-ramiy">
|
826 |
+
<a class="web" href="https://profiles.wordpress.org/ramiy"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ce2a269e424156d79cb0c4e1d4d82db1?s=120">
|
827 |
Rami Yushuvaev</a>
|
828 |
</li>
|
829 |
+
<li class="wp-person" id="wp-person-vapvarun">
|
830 |
+
<a class="web" href="https://profiles.wordpress.org/vapvarun"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/78a3bf7eb3a1132fc667f96f2631e448?s=120">
|
831 |
+
Vapvarun</a>
|
832 |
+
</li>
|
833 |
</ul>
|
834 |
|
835 |
<h3 class="wp-people-group"><?php printf( esc_html__( 'Contributors to BuddyPress %s', 'buddypress' ), self::display_version() ); ?></h3>
|
836 |
<p class="wp-credits-list">
|
837 |
+
<a href="https://profiles.wordpress.org/1naveengiri">1naveengiri</a>,
|
838 |
+
<a href="https://profiles.wordpress.org/abhishekfdd/">Abhishek Kumar (abhishekfdd)</a>,
|
839 |
+
<a href="https://profiles.wordpress.org/andrewteg/">Andrew Tegenkamp (andrewteg)</a>,
|
840 |
+
<a href="https://profiles.wordpress.org/ankit-k-gupta/">Ankit K Gupta (ankit-k-gupta)</a>,
|
841 |
<a href="https://profiles.wordpress.org/antonioeatgoat/">Antonio Mangiacapra (antonioeatgoat)</a>,
|
|
|
842 |
<a href="https://profiles.wordpress.org/boonebgorges/">Boone B Gorges (boonebgorges)</a>,
|
843 |
+
<a href="https://profiles.wordpress.org/thebrandonallen/">Brandon Allen (thebrandonallen)</a>,
|
844 |
+
<a href="https://profiles.wordpress.org/brandonliles/">brandonliles</a>,
|
845 |
<a href="https://profiles.wordpress.org/sbrajesh/">Brajesh Singh (sbrajesh)</a>,
|
846 |
+
<a href="https://profiles.wordpress.org/ketuchetan/">chetansatasiya (ketuchetan)</a>,
|
847 |
+
<a href="https://profiles.wordpress.org/chherbst/">chherbst</a>,
|
848 |
<a href="https://profiles.wordpress.org/needle/">Christian Wach (needle)</a>,
|
849 |
+
<a href="https://profiles.wordpress.org/coach-afrane/">Coach Afrane</a>,
|
850 |
+
<a href="https://profiles.wordpress.org/cshinkin/">cshinkin</a>,
|
851 |
<a href="https://profiles.wordpress.org/danbp/">danbp</a>,
|
852 |
<a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>,
|
853 |
+
<a href="https://profiles.wordpress.org/devitate/">devitate</a>,
|
854 |
+
<a href="https://profiles.wordpress.org/garrett-eclipse/">Garrett Hyder (garrett-eclipse)</a>,
|
855 |
+
<a href="https://profiles.wordpress.org/geminorum/">geminorum</a>,
|
856 |
+
<a href="https://profiles.wordpress.org/Mamaduka/">George Mamadashvili (Mamaduka)</a>,
|
857 |
+
<a href="https://profiles.wordpress.org/januzi_pl/">januzi_pl</a>,
|
858 |
+
<a href="https://profiles.wordpress.org/jcrr/">jcrr</a>,
|
859 |
+
<a href="https://profiles.wordpress.org/jdgrimes/">J.D. Grimes (jdgrimes)</a>,
|
860 |
+
<a href="https://profiles.wordpress.org/JohnPBloch/">John P. Bloch (JohnPBloch)</a>,
|
861 |
+
<a href="https://profiles.wordpress.org/joost-abrahams/">Joost Abrahams (joost-abrahams)</a>,
|
862 |
<a href="https://profiles.wordpress.org/henry.wright">Henry Wright (henry.wright)</a>,
|
863 |
<a href="https://profiles.wordpress.org/hnla/">Hugo (hnla)</a>,
|
864 |
<a href="https://profiles.wordpress.org/idofri/">Ido Friedlander (idofri)</a>,
|
865 |
+
<a href="https://profiles.wordpress.org/dunhakdis/">Joseph G. (dunhakdis)</a>,
|
|
|
866 |
<a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>,
|
|
|
|
|
867 |
<a href="https://profiles.wordpress.org/Offereins">Laurens Offereins (Offereins)</a>,
|
868 |
+
<a href="https://profiles.wordpress.org/mechter/">Markus Echterhoff (mechter)</a>,
|
|
|
|
|
869 |
<a href="https://profiles.wordpress.org/imath/">Mathieu Viet (imath)</a>,
|
870 |
+
<a href="https://profiles.wordpress.org/meitar/">meitar</a>,
|
871 |
<a href="https://profiles.wordpress.org/mercime/">mercime</a>,
|
872 |
<a href="https://profiles.wordpress.org/tw2113/">Michael Beckwith (tw2113)</a>,
|
873 |
+
<a href="https://profiles.wordpress.org/mauteri/">Mike Auteri (mauteri)</a>,
|
|
|
874 |
<a href="https://profiles.wordpress.org/modemlooper/">modemlooper</a>,
|
875 |
+
<a href="https://profiles.wordpress.org/m_uysl/">Mustafa Uysal (m_uysl)</a>,
|
|
|
|
|
|
|
876 |
<a href="https://profiles.wordpress.org/pareshradadiya/">paresh.radadiya (pareshradadiya)</a>,
|
877 |
+
<a href="https://profiles.wordpress.org/DJPaul/">Paul Gibbs (DJPaul)</a>,
|
878 |
+
<a href="https://profiles.wordpress.org/pavloopanasenko/">pavlo.opanasenko (pavloopanasenko)</a>,
|
879 |
+
<a href="https://profiles.wordpress.org/pscolv/">pscolv</a>,
|
880 |
<a href="https://profiles.wordpress.org/r-a-y/">r-a-y</a>,
|
881 |
+
<a href="https://profiles.wordpress.org/rachelbaker/">Rachel Baker (rachelbaker)</a>,
|
882 |
+
<a href="https://profiles.wordpress.org/rekmla/">rekmla</a>,
|
883 |
<a href="https://profiles.wordpress.org/espellcaste/">Renato Alves (espellcaste)</a>,
|
884 |
<a href="https://profiles.wordpress.org/rianrietveld/">Rian Rietveld (rianrietvelde)</a>,
|
885 |
+
<a href="https://profiles.wordpress.org/ripstechcom/">ripstechcom</a>,
|
886 |
+
<a href="https://profiles.wordpress.org/cyclic/">Ryan Williams (cyclic)</a>,
|
887 |
<a href="https://profiles.wordpress.org/slaffik/">Slava Abakumov (slaffik)</a>,
|
888 |
<a href="https://profiles.wordpress.org/netweb/">Stephen Edgar (netweb)</a>,
|
889 |
+
<a href="https://profiles.wordpress.org/tobiashonold/">Tobias Honold (tobiashonold)</a>,
|
890 |
+
<a href="https://profiles.wordpress.org/uzosky/">uzosky</a>,
|
891 |
+
<a href="https://profiles.wordpress.org/vapvarun/">vapvarun</a>,
|
892 |
+
<a href="https://profiles.wordpress.org/Venutius/">Venutius</a>,
|
893 |
+
<a href="https://profiles.wordpress.org/yahil/">Yahil Madakiya (yahil)</a>
|
894 |
</p>
|
895 |
|
896 |
+
<h3 class="wp-people-group"><?php _e( 'With our thanks to these Open Source projects', 'buddypress' ); ?></h3>
|
897 |
<p class="wp-credits-list">
|
898 |
<a href="https://github.com/ichord/At.js">At.js</a>,
|
899 |
<a href="https://bbpress.org">bbPress</a>,
|
903 |
<a href="https://github.com/carhartl/jquery-cookie">jquery.cookie</a>,
|
904 |
<a href="https://mattbradley.github.io/livestampjs/">Livestamp.js</a>,
|
905 |
<a href="https://www.mediawiki.org/wiki/MediaWiki">MediaWiki</a>,
|
906 |
+
<a href="https://momentjs.com/">Moment.js</a>,
|
907 |
<a href="https://wordpress.org">WordPress</a>.
|
908 |
</p>
|
909 |
|
910 |
+
<h3 class="wp-people-group"><?php _e( 'Contributor Emeriti', 'buddypress' ); ?></h3>
|
911 |
+
<ul class="wp-people-group " id="wp-people-group-emeriti">
|
912 |
+
<li class="wp-person" id="wp-person-apeatling">
|
913 |
+
<a class="web" href="https://profiles.wordpress.org/johnjamesjacoby"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/bb29d699b5cba218c313b61aa82249da?s=120">
|
914 |
+
Andy Peatling</a>
|
915 |
+
<span class="title"><?php _e( 'Project Founder', 'buddypress' ); ?></span>
|
916 |
+
</li>
|
917 |
+
<li class="wp-person" id="wp-person-burtadsit">
|
918 |
+
<a class="web" href="https://profiles.wordpress.org/burtadsit"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/185e1d3e2d653af9d49a4e8e4fc379df?s=120">
|
919 |
+
Burt Adsit</a>
|
920 |
+
</li>
|
921 |
+
<li class="wp-person" id="wp-person-jeffsayre">
|
922 |
+
<a class="web" href="https://profiles.wordpress.org/jeffsayre"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/8e009a84ff5d245c22a69c7df6ab45f7?s=120">
|
923 |
+
Jeff Sayre</a>
|
924 |
+
</li>
|
925 |
+
<li class="wp-person" id="wp-person-karmatosed">
|
926 |
+
<a class="web" href="https://profiles.wordpress.org/karmatosed"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/ca7d4273a689cdbf524d8332771bb1ca?s=120">
|
927 |
+
Tammie Lister</a>
|
928 |
+
</li>
|
929 |
+
<li class="wp-person" id="wp-person-modemlooper">
|
930 |
+
<a class="web" href="https://profiles.wordpress.org/modemlooper"><img alt="" class="gravatar" src="//www.gravatar.com/avatar/1c07be1016e845de514931477c939307?s=120">
|
931 |
+
modemlooper</a>
|
932 |
+
</li>
|
933 |
+
</ul>
|
934 |
</div>
|
935 |
|
936 |
<?php
|
937 |
}
|
938 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
939 |
/** Emails ****************************************************************/
|
940 |
|
941 |
/**
|
1085 |
'file' => "{$url}customizer-controls{$min}.css",
|
1086 |
'dependencies' => array(),
|
1087 |
),
|
|
|
1088 |
|
1089 |
+
// 3.0
|
1090 |
+
'bp-hello-css' => array(
|
1091 |
+
'file' => "{$url}hello{$min}.css",
|
1092 |
+
'dependencies' => array( 'bp-admin-common-css' ),
|
1093 |
+
),
|
1094 |
+
) );
|
1095 |
|
1096 |
$version = bp_get_version();
|
1097 |
|
1128 |
'dependencies' => array( 'jquery' ),
|
1129 |
'footer' => true,
|
1130 |
),
|
1131 |
+
|
1132 |
+
// 3.0
|
1133 |
+
'bp-hello-js' => array(
|
1134 |
+
'file' => "{$url}hello{$min}.js",
|
1135 |
+
'dependencies' => array(),
|
1136 |
+
'footer' => true,
|
1137 |
+
),
|
1138 |
) );
|
1139 |
|
1140 |
$version = bp_get_version();
|
bp-friends/bp-friends-notifications.php
CHANGED
@@ -230,3 +230,68 @@ function bp_friends_remove_notifications_data( $user_id = 0 ) {
|
|
230 |
bp_notifications_delete_notifications_from_user( $user_id, buddypress()->friends->id, 'friendship_request' );
|
231 |
}
|
232 |
add_action( 'friends_remove_data', 'bp_friends_remove_notifications_data', 10, 1 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
bp_notifications_delete_notifications_from_user( $user_id, buddypress()->friends->id, 'friendship_request' );
|
231 |
}
|
232 |
add_action( 'friends_remove_data', 'bp_friends_remove_notifications_data', 10, 1 );
|
233 |
+
|
234 |
+
/**
|
235 |
+
* Add Friends-related settings to the Settings > Notifications page.
|
236 |
+
*
|
237 |
+
* @since 1.0.0
|
238 |
+
*/
|
239 |
+
function friends_screen_notification_settings() {
|
240 |
+
|
241 |
+
if ( !$send_requests = bp_get_user_meta( bp_displayed_user_id(), 'notification_friends_friendship_request', true ) )
|
242 |
+
$send_requests = 'yes';
|
243 |
+
|
244 |
+
if ( !$accept_requests = bp_get_user_meta( bp_displayed_user_id(), 'notification_friends_friendship_accepted', true ) )
|
245 |
+
$accept_requests = 'yes'; ?>
|
246 |
+
|
247 |
+
<table class="notification-settings" id="friends-notification-settings">
|
248 |
+
<thead>
|
249 |
+
<tr>
|
250 |
+
<th class="icon"></th>
|
251 |
+
<th class="title"><?php _ex( 'Friends', 'Friend settings on notification settings page', 'buddypress' ) ?></th>
|
252 |
+
<th class="yes"><?php _e( 'Yes', 'buddypress' ) ?></th>
|
253 |
+
<th class="no"><?php _e( 'No', 'buddypress' )?></th>
|
254 |
+
</tr>
|
255 |
+
</thead>
|
256 |
+
|
257 |
+
<tbody>
|
258 |
+
<tr id="friends-notification-settings-request">
|
259 |
+
<td></td>
|
260 |
+
<td><?php _ex( 'A member sends you a friendship request', 'Friend settings on notification settings page', 'buddypress' ) ?></td>
|
261 |
+
<td class="yes"><input type="radio" name="notifications[notification_friends_friendship_request]" id="notification-friends-friendship-request-yes" value="yes" <?php checked( $send_requests, 'yes', true ) ?>/><label for="notification-friends-friendship-request-yes" class="bp-screen-reader-text"><?php
|
262 |
+
/* translators: accessibility text */
|
263 |
+
_e( 'Yes, send email', 'buddypress' );
|
264 |
+
?></label></td>
|
265 |
+
<td class="no"><input type="radio" name="notifications[notification_friends_friendship_request]" id="notification-friends-friendship-request-no" value="no" <?php checked( $send_requests, 'no', true ) ?>/><label for="notification-friends-friendship-request-no" class="bp-screen-reader-text"><?php
|
266 |
+
/* translators: accessibility text */
|
267 |
+
_e( 'No, do not send email', 'buddypress' );
|
268 |
+
?></label></td>
|
269 |
+
</tr>
|
270 |
+
<tr id="friends-notification-settings-accepted">
|
271 |
+
<td></td>
|
272 |
+
<td><?php _ex( 'A member accepts your friendship request', 'Friend settings on notification settings page', 'buddypress' ) ?></td>
|
273 |
+
<td class="yes"><input type="radio" name="notifications[notification_friends_friendship_accepted]" id="notification-friends-friendship-accepted-yes" value="yes" <?php checked( $accept_requests, 'yes', true ) ?>/><label for="notification-friends-friendship-accepted-yes" class="bp-screen-reader-text"><?php
|
274 |
+
/* translators: accessibility text */
|
275 |
+
_e( 'Yes, send email', 'buddypress' );
|
276 |
+
?></label></td>
|
277 |
+
<td class="no"><input type="radio" name="notifications[notification_friends_friendship_accepted]" id="notification-friends-friendship-accepted-no" value="no" <?php checked( $accept_requests, 'no', true ) ?>/><label for="notification-friends-friendship-accepted-no" class="bp-screen-reader-text"><?php
|
278 |
+
/* translators: accessibility text */
|
279 |
+
_e( 'No, do not send email', 'buddypress' );
|
280 |
+
?></label></td>
|
281 |
+
</tr>
|
282 |
+
|
283 |
+
<?php
|
284 |
+
|
285 |
+
/**
|
286 |
+
* Fires after the last table row on the friends notification screen.
|
287 |
+
*
|
288 |
+
* @since 1.0.0
|
289 |
+
*/
|
290 |
+
do_action( 'friends_screen_notification_settings' ); ?>
|
291 |
+
|
292 |
+
</tbody>
|
293 |
+
</table>
|
294 |
+
|
295 |
+
<?php
|
296 |
+
}
|
297 |
+
add_action( 'bp_notification_settings', 'friends_screen_notification_settings' );
|
bp-friends/classes/class-bp-friends-component.php
CHANGED
@@ -92,11 +92,6 @@ class BP_Friends_Component extends BP_Component {
|
|
92 |
require $this->path . 'bp-friends/screens/requests.php';
|
93 |
}
|
94 |
}
|
95 |
-
|
96 |
-
// Settings.
|
97 |
-
if ( bp_is_user_settings_notifications() ) {
|
98 |
-
require $this->path . 'bp-friends/screens/settings-email.php';
|
99 |
-
}
|
100 |
}
|
101 |
|
102 |
/**
|
92 |
require $this->path . 'bp-friends/screens/requests.php';
|
93 |
}
|
94 |
}
|
|
|
|
|
|
|
|
|
|
|
95 |
}
|
96 |
|
97 |
/**
|
bp-friends/screens/settings-email.php
DELETED
@@ -1,73 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Friends: Integration into user's "Settings > Email" screen
|
4 |
-
*
|
5 |
-
* @package BuddyPress
|
6 |
-
* @subpackage FriendsScreens
|
7 |
-
* @since 3.0.0
|
8 |
-
*/
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Add Friends-related settings to the Settings > Notifications page.
|
12 |
-
*
|
13 |
-
* @since 1.0.0
|
14 |
-
*/
|
15 |
-
function friends_screen_notification_settings() {
|
16 |
-
|
17 |
-
if ( !$send_requests = bp_get_user_meta( bp_displayed_user_id(), 'notification_friends_friendship_request', true ) )
|
18 |
-
$send_requests = 'yes';
|
19 |
-
|
20 |
-
if ( !$accept_requests = bp_get_user_meta( bp_displayed_user_id(), 'notification_friends_friendship_accepted', true ) )
|
21 |
-
$accept_requests = 'yes'; ?>
|
22 |
-
|
23 |
-
<table class="notification-settings" id="friends-notification-settings">
|
24 |
-
<thead>
|
25 |
-
<tr>
|
26 |
-
<th class="icon"></th>
|
27 |
-
<th class="title"><?php _ex( 'Friends', 'Friend settings on notification settings page', 'buddypress' ) ?></th>
|
28 |
-
<th class="yes"><?php _e( 'Yes', 'buddypress' ) ?></th>
|
29 |
-
<th class="no"><?php _e( 'No', 'buddypress' )?></th>
|
30 |
-
</tr>
|
31 |
-
</thead>
|
32 |
-
|
33 |
-
<tbody>
|
34 |
-
<tr id="friends-notification-settings-request">
|
35 |
-
<td></td>
|
36 |
-
<td><?php _ex( 'A member sends you a friendship request', 'Friend settings on notification settings page', 'buddypress' ) ?></td>
|
37 |
-
<td class="yes"><input type="radio" name="notifications[notification_friends_friendship_request]" id="notification-friends-friendship-request-yes" value="yes" <?php checked( $send_requests, 'yes', true ) ?>/><label for="notification-friends-friendship-request-yes" class="bp-screen-reader-text"><?php
|
38 |
-
/* translators: accessibility text */
|
39 |
-
_e( 'Yes, send email', 'buddypress' );
|
40 |
-
?></label></td>
|
41 |
-
<td class="no"><input type="radio" name="notifications[notification_friends_friendship_request]" id="notification-friends-friendship-request-no" value="no" <?php checked( $send_requests, 'no', true ) ?>/><label for="notification-friends-friendship-request-no" class="bp-screen-reader-text"><?php
|
42 |
-
/* translators: accessibility text */
|
43 |
-
_e( 'No, do not send email', 'buddypress' );
|
44 |
-
?></label></td>
|
45 |
-
</tr>
|
46 |
-
<tr id="friends-notification-settings-accepted">
|
47 |
-
<td></td>
|
48 |
-
<td><?php _ex( 'A member accepts your friendship request', 'Friend settings on notification settings page', 'buddypress' ) ?></td>
|
49 |
-
<td class="yes"><input type="radio" name="notifications[notification_friends_friendship_accepted]" id="notification-friends-friendship-accepted-yes" value="yes" <?php checked( $accept_requests, 'yes', true ) ?>/><label for="notification-friends-friendship-accepted-yes" class="bp-screen-reader-text"><?php
|
50 |
-
/* translators: accessibility text */
|
51 |
-
_e( 'Yes, send email', 'buddypress' );
|
52 |
-
?></label></td>
|
53 |
-
<td class="no"><input type="radio" name="notifications[notification_friends_friendship_accepted]" id="notification-friends-friendship-accepted-no" value="no" <?php checked( $accept_requests, 'no', true ) ?>/><label for="notification-friends-friendship-accepted-no" class="bp-screen-reader-text"><?php
|
54 |
-
/* translators: accessibility text */
|
55 |
-
_e( 'No, do not send email', 'buddypress' );
|
56 |
-
?></label></td>
|
57 |
-
</tr>
|
58 |
-
|
59 |
-
<?php
|
60 |
-
|
61 |
-
/**
|
62 |
-
* Fires after the last table row on the friends notification screen.
|
63 |
-
*
|
64 |
-
* @since 1.0.0
|
65 |
-
*/
|
66 |
-
do_action( 'friends_screen_notification_settings' ); ?>
|
67 |
-
|
68 |
-
</tbody>
|
69 |
-
</table>
|
70 |
-
|
71 |
-
<?php
|
72 |
-
}
|
73 |
-
add_action( 'bp_notification_settings', 'friends_screen_notification_settings' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bp-groups/bp-groups-notifications.php
CHANGED
@@ -1052,3 +1052,115 @@ function bp_groups_remove_data_for_user_notifications( $user_id ) {
|
|
1052 |
}
|
1053 |
}
|
1054 |
add_action( 'groups_remove_data_for_user', 'bp_groups_remove_data_for_user_notifications', 10 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1052 |
}
|
1053 |
}
|
1054 |
add_action( 'groups_remove_data_for_user', 'bp_groups_remove_data_for_user_notifications', 10 );
|
1055 |
+
|
1056 |
+
/**
|
1057 |
+
* Render the group settings fields on the Notification Settings page.
|
1058 |
+
*
|
1059 |
+
* @since 1.0.0
|
1060 |
+
*/
|
1061 |
+
function groups_screen_notification_settings() {
|
1062 |
+
|
1063 |
+
if ( !$group_invite = bp_get_user_meta( bp_displayed_user_id(), 'notification_groups_invite', true ) )
|
1064 |
+
$group_invite = 'yes';
|
1065 |
+
|
1066 |
+
if ( !$group_update = bp_get_user_meta( bp_displayed_user_id(), 'notification_groups_group_updated', true ) )
|
1067 |
+
$group_update = 'yes';
|
1068 |
+
|
1069 |
+
if ( !$group_promo = bp_get_user_meta( bp_displayed_user_id(), 'notification_groups_admin_promotion', true ) )
|
1070 |
+
$group_promo = 'yes';
|
1071 |
+
|
1072 |
+
if ( !$group_request = bp_get_user_meta( bp_displayed_user_id(), 'notification_groups_membership_request', true ) )
|
1073 |
+
$group_request = 'yes';
|
1074 |
+
|
1075 |
+
if ( ! $group_request_completed = bp_get_user_meta( bp_displayed_user_id(), 'notification_membership_request_completed', true ) ) {
|
1076 |
+
$group_request_completed = 'yes';
|
1077 |
+
}
|
1078 |
+
?>
|
1079 |
+
|
1080 |
+
<table class="notification-settings" id="groups-notification-settings">
|
1081 |
+
<thead>
|
1082 |
+
<tr>
|
1083 |
+
<th class="icon"></th>
|
1084 |
+
<th class="title"><?php _ex( 'Groups', 'Group settings on notification settings page', 'buddypress' ) ?></th>
|
1085 |
+
<th class="yes"><?php _e( 'Yes', 'buddypress' ) ?></th>
|
1086 |
+
<th class="no"><?php _e( 'No', 'buddypress' )?></th>
|
1087 |
+
</tr>
|
1088 |
+
</thead>
|
1089 |
+
|
1090 |
+
<tbody>
|
1091 |
+
<tr id="groups-notification-settings-invitation">
|
1092 |
+
<td></td>
|
1093 |
+
<td><?php _ex( 'A member invites you to join a group', 'group settings on notification settings page','buddypress' ) ?></td>
|
1094 |
+
<td class="yes"><input type="radio" name="notifications[notification_groups_invite]" id="notification-groups-invite-yes" value="yes" <?php checked( $group_invite, 'yes', true ) ?>/><label for="notification-groups-invite-yes" class="bp-screen-reader-text"><?php
|
1095 |
+
/* translators: accessibility text */
|
1096 |
+
_e( 'Yes, send email', 'buddypress' );
|
1097 |
+
?></label></td>
|
1098 |
+
<td class="no"><input type="radio" name="notifications[notification_groups_invite]" id="notification-groups-invite-no" value="no" <?php checked( $group_invite, 'no', true ) ?>/><label for="notification-groups-invite-no" class="bp-screen-reader-text"><?php
|
1099 |
+
/* translators: accessibility text */
|
1100 |
+
_e( 'No, do not send email', 'buddypress' );
|
1101 |
+
?></label></td>
|
1102 |
+
</tr>
|
1103 |
+
<tr id="groups-notification-settings-info-updated">
|
1104 |
+
<td></td>
|
1105 |
+
<td><?php _ex( 'Group information is updated', 'group settings on notification settings page', 'buddypress' ) ?></td>
|
1106 |
+
<td class="yes"><input type="radio" name="notifications[notification_groups_group_updated]" id="notification-groups-group-updated-yes" value="yes" <?php checked( $group_update, 'yes', true ) ?>/><label for="notification-groups-group-updated-yes" class="bp-screen-reader-text"><?php
|
1107 |
+
/* translators: accessibility text */
|
1108 |
+
_e( 'Yes, send email', 'buddypress' );
|
1109 |
+
?></label></td>
|
1110 |
+
<td class="no"><input type="radio" name="notifications[notification_groups_group_updated]" id="notification-groups-group-updated-no" value="no" <?php checked( $group_update, 'no', true ) ?>/><label for="notification-groups-group-updated-no" class="bp-screen-reader-text"><?php
|
1111 |
+
/* translators: accessibility text */
|
1112 |
+
_e( 'No, do not send email', 'buddypress' );
|
1113 |
+
?></label></td>
|
1114 |
+
</tr>
|
1115 |
+
<tr id="groups-notification-settings-promoted">
|
1116 |
+
<td></td>
|
1117 |
+
<td><?php _ex( 'You are promoted to a group administrator or moderator', 'group settings on notification settings page', 'buddypress' ) ?></td>
|
1118 |
+
<td class="yes"><input type="radio" name="notifications[notification_groups_admin_promotion]" id="notification-groups-admin-promotion-yes" value="yes" <?php checked( $group_promo, 'yes', true ) ?>/><label for="notification-groups-admin-promotion-yes" class="bp-screen-reader-text"><?php
|
1119 |
+
/* translators: accessibility text */
|
1120 |
+
_e( 'Yes, send email', 'buddypress' );
|
1121 |
+
?></label></td>
|
1122 |
+
<td class="no"><input type="radio" name="notifications[notification_groups_admin_promotion]" id="notification-groups-admin-promotion-no" value="no" <?php checked( $group_promo, 'no', true ) ?>/><label for="notification-groups-admin-promotion-no" class="bp-screen-reader-text"><?php
|
1123 |
+
/* translators: accessibility text */
|
1124 |
+
_e( 'No, do not send email', 'buddypress' );
|
1125 |
+
?></label></td>
|
1126 |
+
</tr>
|
1127 |
+
<tr id="groups-notification-settings-request">
|
1128 |
+
<td></td>
|
1129 |
+
<td><?php _ex( 'A member requests to join a private group for which you are an admin', 'group settings on notification settings page', 'buddypress' ) ?></td>
|
1130 |
+
<td class="yes"><input type="radio" name="notifications[notification_groups_membership_request]" id="notification-groups-membership-request-yes" value="yes" <?php checked( $group_request, 'yes', true ) ?>/><label for="notification-groups-membership-request-yes" class="bp-screen-reader-text"><?php
|
1131 |
+
/* translators: accessibility text */
|
1132 |
+
_e( 'Yes, send email', 'buddypress' );
|
1133 |
+
?></label></td>
|
1134 |
+
<td class="no"><input type="radio" name="notifications[notification_groups_membership_request]" id="notification-groups-membership-request-no" value="no" <?php checked( $group_request, 'no', true ) ?>/><label for="notification-groups-membership-request-no" class="bp-screen-reader-text"><?php
|
1135 |
+
/* translators: accessibility text */
|
1136 |
+
_e( 'No, do not send email', 'buddypress' );
|
1137 |
+
?></label></td>
|
1138 |
+
</tr>
|
1139 |
+
<tr id="groups-notification-settings-request-completed">
|
1140 |
+
<td></td>
|
1141 |
+
<td><?php _ex( 'Your request to join a group has been approved or denied', 'group settings on notification settings page', 'buddypress' ) ?></td>
|
1142 |
+
<td class="yes"><input type="radio" name="notifications[notification_membership_request_completed]" id="notification-groups-membership-request-completed-yes" value="yes" <?php checked( $group_request_completed, 'yes', true ) ?>/><label for="notification-groups-membership-request-completed-yes" class="bp-screen-reader-text"><?php
|
1143 |
+
/* translators: accessibility text */
|
1144 |
+
_e( 'Yes, send email', 'buddypress' );
|
1145 |
+
?></label></td>
|
1146 |
+
<td class="no"><input type="radio" name="notifications[notification_membership_request_completed]" id="notification-groups-membership-request-completed-no" value="no" <?php checked( $group_request_completed, 'no', true ) ?>/><label for="notification-groups-membership-request-completed-no" class="bp-screen-reader-text"><?php
|
1147 |
+
/* translators: accessibility text */
|
1148 |
+
_e( 'No, do not send email', 'buddypress' );
|
1149 |
+
?></label></td>
|
1150 |
+
</tr>
|
1151 |
+
|
1152 |
+
<?php
|
1153 |
+
|
1154 |
+
/**
|
1155 |
+
* Fires at the end of the available group settings fields on Notification Settings page.
|
1156 |
+
*
|
1157 |
+
* @since 1.0.0
|
1158 |
+
*/
|
1159 |
+
do_action( 'groups_screen_notification_settings' ); ?>
|
1160 |
+
|
1161 |
+
</tbody>
|
1162 |
+
</table>
|
1163 |
+
|
1164 |
+
<?php
|
1165 |
+
}
|
1166 |
+
add_action( 'bp_notification_settings', 'groups_screen_notification_settings' );
|
bp-groups/classes/class-bp-groups-component.php
CHANGED
@@ -210,11 +210,6 @@ class BP_Groups_Component extends BP_Component {
|
|
210 |
// Theme compatibility.
|
211 |
new BP_Groups_Theme_Compat();
|
212 |
}
|
213 |
-
|
214 |
-
// Groups notifications HTML table.
|
215 |
-
if ( bp_is_user_settings_notifications() ) {
|
216 |
-
require $this->path . 'bp-groups/screens/user/settings-email.php';
|
217 |
-
}
|
218 |
}
|
219 |
|
220 |
/**
|
210 |
// Theme compatibility.
|
211 |
new BP_Groups_Theme_Compat();
|
212 |
}
|
|
|
|
|
|
|
|
|
|
|
213 |
}
|
214 |
|
215 |
/**
|
bp-groups/screens/user/settings-email.php
DELETED
@@ -1,120 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Groups: Integration into user's "Settings > Email" screen
|
4 |
-
*
|
5 |
-
* @package BuddyPress
|
6 |
-
* @subpackage GroupScreens
|
7 |
-
* @since 3.0.0
|
8 |
-
*/
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Render the group settings fields on the Notification Settings page.
|
12 |
-
*
|
13 |
-
* @since 1.0.0
|
14 |
-
*/
|
15 |
-
function groups_screen_notification_settings() {
|
16 |
-
|
17 |
-
if ( !$group_invite = bp_get_user_meta( bp_displayed_user_id(), 'notification_groups_invite', true ) )
|
18 |
-
$group_invite = 'yes';
|
19 |
-
|
20 |
-
if ( !$group_update = bp_get_user_meta( bp_displayed_user_id(), 'notification_groups_group_updated', true ) )
|
21 |
-
$group_update = 'yes';
|
22 |
-
|
23 |
-
if ( !$group_promo = bp_get_user_meta( bp_displayed_user_id(), 'notification_groups_admin_promotion', true ) )
|
24 |
-
$group_promo = 'yes';
|
25 |
-
|
26 |
-
if ( !$group_request = bp_get_user_meta( bp_displayed_user_id(), 'notification_groups_membership_request', true ) )
|
27 |
-
$group_request = 'yes';
|
28 |
-
|
29 |
-
if ( ! $group_request_completed = bp_get_user_meta( bp_displayed_user_id(), 'notification_membership_request_completed', true ) ) {
|
30 |
-
$group_request_completed = 'yes';
|
31 |
-
}
|
32 |
-
?>
|
33 |
-
|
34 |
-
<table class="notification-settings" id="groups-notification-settings">
|
35 |
-
<thead>
|
36 |
-
<tr>
|
37 |
-
<th class="icon"></th>
|
38 |
-
<th class="title"><?php _ex( 'Groups', 'Group settings on notification settings page', 'buddypress' ) ?></th>
|
39 |
-
<th class="yes"><?php _e( 'Yes', 'buddypress' ) ?></th>
|
40 |
-
<th class="no"><?php _e( 'No', 'buddypress' )?></th>
|
41 |
-
</tr>
|
42 |
-
</thead>
|
43 |
-
|
44 |
-
<tbody>
|
45 |
-
<tr id="groups-notification-settings-invitation">
|
46 |
-
<td></td>
|
47 |
-
<td><?php _ex( 'A member invites you to join a group', 'group settings on notification settings page','buddypress' ) ?></td>
|
48 |
-
<td class="yes"><input type="radio" name="notifications[notification_groups_invite]" id="notification-groups-invite-yes" value="yes" <?php checked( $group_invite, 'yes', true ) ?>/><label for="notification-groups-invite-yes" class="bp-screen-reader-text"><?php
|
49 |
-
/* translators: accessibility text */
|
50 |
-
_e( 'Yes, send email', 'buddypress' );
|
51 |
-
?></label></td>
|
52 |
-
<td class="no"><input type="radio" name="notifications[notification_groups_invite]" id="notification-groups-invite-no" value="no" <?php checked( $group_invite, 'no', true ) ?>/><label for="notification-groups-invite-no" class="bp-screen-reader-text"><?php
|
53 |
-
/* translators: accessibility text */
|
54 |
-
_e( 'No, do not send email', 'buddypress' );
|
55 |
-
?></label></td>
|
56 |
-
</tr>
|
57 |
-
<tr id="groups-notification-settings-info-updated">
|
58 |
-
<td></td>
|
59 |
-
<td><?php _ex( 'Group information is updated', 'group settings on notification settings page', 'buddypress' ) ?></td>
|
60 |
-
<td class="yes"><input type="radio" name="notifications[notification_groups_group_updated]" id="notification-groups-group-updated-yes" value="yes" <?php checked( $group_update, 'yes', true ) ?>/><label for="notification-groups-group-updated-yes" class="bp-screen-reader-text"><?php
|
61 |
-
/* translators: accessibility text */
|
62 |
-
_e( 'Yes, send email', 'buddypress' );
|
63 |
-
?></label></td>
|
64 |
-
<td class="no"><input type="radio" name="notifications[notification_groups_group_updated]" id="notification-groups-group-updated-no" value="no" <?php checked( $group_update, 'no', true ) ?>/><label for="notification-groups-group-updated-no" class="bp-screen-reader-text"><?php
|
65 |
-
/* translators: accessibility text */
|
66 |
-
_e( 'No, do not send email', 'buddypress' );
|
67 |
-
?></label></td>
|
68 |
-
</tr>
|
69 |
-
<tr id="groups-notification-settings-promoted">
|
70 |
-
<td></td>
|
71 |
-
<td><?php _ex( 'You are promoted to a group administrator or moderator', 'group settings on notification settings page', 'buddypress' ) ?></td>
|
72 |
-
<td class="yes"><input type="radio" name="notifications[notification_groups_admin_promotion]" id="notification-groups-admin-promotion-yes" value="yes" <?php checked( $group_promo, 'yes', true ) ?>/><label for="notification-groups-admin-promotion-yes" class="bp-screen-reader-text"><?php
|
73 |
-
/* translators: accessibility text */
|
74 |
-
_e( 'Yes, send email', 'buddypress' );
|
75 |
-
?></label></td>
|
76 |
-
<td class="no"><input type="radio" name="notifications[notification_groups_admin_promotion]" id="notification-groups-admin-promotion-no" value="no" <?php checked( $group_promo, 'no', true ) ?>/><label for="notification-groups-admin-promotion-no" class="bp-screen-reader-text"><?php
|
77 |
-
/* translators: accessibility text */
|
78 |
-
_e( 'No, do not send email', 'buddypress' );
|
79 |
-
?></label></td>
|
80 |
-
</tr>
|
81 |
-
<tr id="groups-notification-settings-request">
|
82 |
-
<td></td>
|
83 |
-
<td><?php _ex( 'A member requests to join a private group for which you are an admin', 'group settings on notification settings page', 'buddypress' ) ?></td>
|
84 |
-
<td class="yes"><input type="radio" name="notifications[notification_groups_membership_request]" id="notification-groups-membership-request-yes" value="yes" <?php checked( $group_request, 'yes', true ) ?>/><label for="notification-groups-membership-request-yes" class="bp-screen-reader-text"><?php
|
85 |
-
/* translators: accessibility text */
|
86 |
-
_e( 'Yes, send email', 'buddypress' );
|
87 |
-
?></label></td>
|
88 |
-
<td class="no"><input type="radio" name="notifications[notification_groups_membership_request]" id="notification-groups-membership-request-no" value="no" <?php checked( $group_request, 'no', true ) ?>/><label for="notification-groups-membership-request-no" class="bp-screen-reader-text"><?php
|
89 |
-
/* translators: accessibility text */
|
90 |
-
_e( 'No, do not send email', 'buddypress' );
|
91 |
-
?></label></td>
|
92 |
-
</tr>
|
93 |
-
<tr id="groups-notification-settings-request-completed">
|
94 |
-
<td></td>
|
95 |
-
<td><?php _ex( 'Your request to join a group has been approved or denied', 'group settings on notification settings page', 'buddypress' ) ?></td>
|
96 |
-
<td class="yes"><input type="radio" name="notifications[notification_membership_request_completed]" id="notification-groups-membership-request-completed-yes" value="yes" <?php checked( $group_request_completed, 'yes', true ) ?>/><label for="notification-groups-membership-request-completed-yes" class="bp-screen-reader-text"><?php
|
97 |
-
/* translators: accessibility text */
|
98 |
-
_e( 'Yes, send email', 'buddypress' );
|
99 |
-
?></label></td>
|
100 |
-
<td class="no"><input type="radio" name="notifications[notification_membership_request_completed]" id="notification-groups-membership-request-completed-no" value="no" <?php checked( $group_request_completed, 'no', true ) ?>/><label for="notification-groups-membership-request-completed-no" class="bp-screen-reader-text"><?php
|
101 |
-
/* translators: accessibility text */
|
102 |
-
_e( 'No, do not send email', 'buddypress' );
|
103 |
-
?></label></td>
|
104 |
-
</tr>
|
105 |
-
|
106 |
-
<?php
|
107 |
-
|
108 |
-
/**
|
109 |
-
* Fires at the end of the available group settings fields on Notification Settings page.
|
110 |
-
*
|
111 |
-
* @since 1.0.0
|
112 |
-
*/
|
113 |
-
do_action( 'groups_screen_notification_settings' ); ?>
|
114 |
-
|
115 |
-
</tbody>
|
116 |
-
</table>
|
117 |
-
|
118 |
-
<?php
|
119 |
-
}
|
120 |
-
add_action( 'bp_notification_settings', 'groups_screen_notification_settings' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bp-loader.php
CHANGED
@@ -15,7 +15,7 @@
|
|
15 |
* Description: BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!
|
16 |
* Author: The BuddyPress Community
|
17 |
* Author URI: https://buddypress.org/
|
18 |
-
* Version: 3.0.0-
|
19 |
* Text Domain: buddypress
|
20 |
* Domain Path: /bp-languages/
|
21 |
* License: GPLv2 or later (license.txt)
|
15 |
* Description: BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!
|
16 |
* Author: The BuddyPress Community
|
17 |
* Author URI: https://buddypress.org/
|
18 |
+
* Version: 3.0.0-RC2
|
19 |
* Text Domain: buddypress
|
20 |
* Domain Path: /bp-languages/
|
21 |
* License: GPLv2 or later (license.txt)
|
bp-messages/bp-messages-filters.php
CHANGED
@@ -18,16 +18,15 @@ add_filter( 'bp_get_message_thread_subject', 'wp_filter_kses', 1 );
|
|
18 |
add_filter( 'bp_get_message_thread_excerpt', 'wp_filter_kses', 1 );
|
19 |
add_filter( 'bp_get_messages_subject_value', 'wp_filter_kses', 1 );
|
20 |
add_filter( 'bp_get_messages_content_value', 'wp_filter_kses', 1 );
|
21 |
-
add_filter( 'bp_get_the_thread_message_content', 'wp_filter_kses', 1 );
|
22 |
-
|
23 |
-
add_filter( 'messages_message_content_before_save', 'wp_filter_kses', 1 );
|
24 |
add_filter( 'messages_message_subject_before_save', 'wp_filter_kses', 1 );
|
25 |
-
add_filter( 'messages_notice_message_before_save', 'wp_filter_kses', 1 );
|
26 |
add_filter( 'messages_notice_subject_before_save', 'wp_filter_kses', 1 );
|
27 |
-
|
28 |
-
add_filter( 'bp_get_the_thread_message_content', 'wp_filter_kses', 1 );
|
29 |
add_filter( 'bp_get_the_thread_subject', 'wp_filter_kses', 1 );
|
30 |
|
|
|
|
|
|
|
|
|
|
|
31 |
add_filter( 'messages_message_content_before_save', 'force_balance_tags' );
|
32 |
add_filter( 'messages_message_subject_before_save', 'force_balance_tags' );
|
33 |
add_filter( 'messages_notice_message_before_save', 'force_balance_tags' );
|
@@ -45,34 +44,40 @@ add_filter( 'bp_get_message_notice_text', 'wptexturize' );
|
|
45 |
add_filter( 'bp_get_message_thread_subject', 'wptexturize' );
|
46 |
add_filter( 'bp_get_message_thread_excerpt', 'wptexturize' );
|
47 |
add_filter( 'bp_get_the_thread_message_content', 'wptexturize' );
|
|
|
48 |
|
49 |
add_filter( 'bp_get_message_notice_subject', 'convert_smilies', 2 );
|
50 |
add_filter( 'bp_get_message_notice_text', 'convert_smilies', 2 );
|
51 |
add_filter( 'bp_get_message_thread_subject', 'convert_smilies', 2 );
|
52 |
add_filter( 'bp_get_message_thread_excerpt', 'convert_smilies', 2 );
|
53 |
add_filter( 'bp_get_the_thread_message_content', 'convert_smilies', 2 );
|
|
|
54 |
|
55 |
add_filter( 'bp_get_message_notice_subject', 'convert_chars' );
|
56 |
add_filter( 'bp_get_message_notice_text', 'convert_chars' );
|
57 |
add_filter( 'bp_get_message_thread_subject', 'convert_chars' );
|
58 |
add_filter( 'bp_get_message_thread_excerpt', 'convert_chars' );
|
59 |
add_filter( 'bp_get_the_thread_message_content', 'convert_chars' );
|
|
|
60 |
|
61 |
add_filter( 'bp_get_message_notice_text', 'make_clickable', 9 );
|
62 |
add_filter( 'bp_get_the_thread_message_content', 'make_clickable', 9 );
|
|
|
63 |
|
64 |
add_filter( 'bp_get_message_notice_text', 'wpautop' );
|
65 |
add_filter( 'bp_get_the_thread_message_content', 'wpautop' );
|
|
|
66 |
|
67 |
-
add_filter( 'bp_get_message_notice_subject', 'stripslashes_deep'
|
68 |
-
add_filter( 'bp_get_message_notice_text', 'stripslashes_deep'
|
69 |
-
add_filter( 'bp_get_message_thread_subject', 'stripslashes_deep'
|
70 |
-
add_filter( 'bp_get_message_thread_excerpt', 'stripslashes_deep'
|
71 |
-
add_filter( 'bp_get_message_get_recipient_usernames', 'stripslashes_deep'
|
72 |
-
add_filter( 'bp_get_messages_subject_value', 'stripslashes_deep'
|
73 |
-
add_filter( 'bp_get_messages_content_value', 'stripslashes_deep'
|
74 |
-
add_filter( 'bp_get_the_thread_message_content', 'stripslashes_deep'
|
75 |
-
add_filter( 'bp_get_the_thread_subject', 'stripslashes_deep'
|
|
|
76 |
|
77 |
/**
|
78 |
* Enforce limitations on viewing private message contents
|
@@ -98,3 +103,26 @@ function bp_messages_enforce_current_user( $args = array() ) {
|
|
98 |
return $args;
|
99 |
}
|
100 |
add_filter( 'bp_after_has_message_threads_parse_args', 'bp_messages_enforce_current_user', 5 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
add_filter( 'bp_get_message_thread_excerpt', 'wp_filter_kses', 1 );
|
19 |
add_filter( 'bp_get_messages_subject_value', 'wp_filter_kses', 1 );
|
20 |
add_filter( 'bp_get_messages_content_value', 'wp_filter_kses', 1 );
|
|
|
|
|
|
|
21 |
add_filter( 'messages_message_subject_before_save', 'wp_filter_kses', 1 );
|
|
|
22 |
add_filter( 'messages_notice_subject_before_save', 'wp_filter_kses', 1 );
|
|
|
|
|
23 |
add_filter( 'bp_get_the_thread_subject', 'wp_filter_kses', 1 );
|
24 |
|
25 |
+
add_filter( 'bp_get_the_thread_message_content', 'bp_messages_filter_kses', 1 );
|
26 |
+
add_filter( 'messages_message_content_before_save', 'bp_messages_filter_kses', 1 );
|
27 |
+
add_filter( 'messages_notice_message_before_save', 'bp_messages_filter_kses', 1 );
|
28 |
+
add_filter( 'bp_get_message_thread_content', 'bp_messages_filter_kses', 1 );
|
29 |
+
|
30 |
add_filter( 'messages_message_content_before_save', 'force_balance_tags' );
|
31 |
add_filter( 'messages_message_subject_before_save', 'force_balance_tags' );
|
32 |
add_filter( 'messages_notice_message_before_save', 'force_balance_tags' );
|
44 |
add_filter( 'bp_get_message_thread_subject', 'wptexturize' );
|
45 |
add_filter( 'bp_get_message_thread_excerpt', 'wptexturize' );
|
46 |
add_filter( 'bp_get_the_thread_message_content', 'wptexturize' );
|
47 |
+
add_filter( 'bp_get_message_thread_content', 'wptexturize' );
|
48 |
|
49 |
add_filter( 'bp_get_message_notice_subject', 'convert_smilies', 2 );
|
50 |
add_filter( 'bp_get_message_notice_text', 'convert_smilies', 2 );
|
51 |
add_filter( 'bp_get_message_thread_subject', 'convert_smilies', 2 );
|
52 |
add_filter( 'bp_get_message_thread_excerpt', 'convert_smilies', 2 );
|
53 |
add_filter( 'bp_get_the_thread_message_content', 'convert_smilies', 2 );
|
54 |
+
add_filter( 'bp_get_message_thread_content', 'convert_smilies', 2 );
|
55 |
|
56 |
add_filter( 'bp_get_message_notice_subject', 'convert_chars' );
|
57 |
add_filter( 'bp_get_message_notice_text', 'convert_chars' );
|
58 |
add_filter( 'bp_get_message_thread_subject', 'convert_chars' );
|
59 |
add_filter( 'bp_get_message_thread_excerpt', 'convert_chars' );
|
60 |
add_filter( 'bp_get_the_thread_message_content', 'convert_chars' );
|
61 |
+
add_filter( 'bp_get_message_thread_content', 'convert_chars' );
|
62 |
|
63 |
add_filter( 'bp_get_message_notice_text', 'make_clickable', 9 );
|
64 |
add_filter( 'bp_get_the_thread_message_content', 'make_clickable', 9 );
|
65 |
+
add_filter( 'bp_get_message_thread_content', 'make_clickable', 9 );
|
66 |
|
67 |
add_filter( 'bp_get_message_notice_text', 'wpautop' );
|
68 |
add_filter( 'bp_get_the_thread_message_content', 'wpautop' );
|
69 |
+
add_filter( 'bp_get_message_thread_content', 'wpautop' );
|
70 |
|
71 |
+
add_filter( 'bp_get_message_notice_subject', 'stripslashes_deep' );
|
72 |
+
add_filter( 'bp_get_message_notice_text', 'stripslashes_deep' );
|
73 |
+
add_filter( 'bp_get_message_thread_subject', 'stripslashes_deep' );
|
74 |
+
add_filter( 'bp_get_message_thread_excerpt', 'stripslashes_deep' );
|
75 |
+
add_filter( 'bp_get_message_get_recipient_usernames', 'stripslashes_deep' );
|
76 |
+
add_filter( 'bp_get_messages_subject_value', 'stripslashes_deep' );
|
77 |
+
add_filter( 'bp_get_messages_content_value', 'stripslashes_deep' );
|
78 |
+
add_filter( 'bp_get_the_thread_message_content', 'stripslashes_deep' );
|
79 |
+
add_filter( 'bp_get_the_thread_subject', 'stripslashes_deep' );
|
80 |
+
add_filter( 'bp_get_message_thread_content', 'stripslashes_deep', 1 );
|
81 |
|
82 |
/**
|
83 |
* Enforce limitations on viewing private message contents
|
103 |
return $args;
|
104 |
}
|
105 |
add_filter( 'bp_after_has_message_threads_parse_args', 'bp_messages_enforce_current_user', 5 );
|
106 |
+
|
107 |
+
/**
|
108 |
+
* Custom kses filtering for message content.
|
109 |
+
*
|
110 |
+
* @since 3.0.0
|
111 |
+
*
|
112 |
+
* @param string $content The message content.
|
113 |
+
* @return string The filtered message content.
|
114 |
+
*/
|
115 |
+
function bp_messages_filter_kses( $content ) {
|
116 |
+
$messages_allowedtags = bp_get_allowedtags();
|
117 |
+
$messages_allowedtags['p'] = array();
|
118 |
+
|
119 |
+
/**
|
120 |
+
* Filters the allowed HTML tags for BuddyPress Messages content.
|
121 |
+
*
|
122 |
+
* @since 3.0.0
|
123 |
+
*
|
124 |
+
* @param array $value Array of allowed HTML tags and attributes.
|
125 |
+
*/
|
126 |
+
$messages_allowedtags = apply_filters( 'bp_messages_allowed_tags', $messages_allowedtags );
|
127 |
+
return wp_kses( $content, $messages_allowedtags );
|
128 |
+
}
|
bp-messages/bp-messages-notifications.php
CHANGED
@@ -239,3 +239,58 @@ function bp_messages_message_delete_notifications( $thread_id, $message_ids ) {
|
|
239 |
}
|
240 |
}
|
241 |
add_action( 'bp_messages_thread_after_delete', 'bp_messages_message_delete_notifications', 10, 2 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
239 |
}
|
240 |
}
|
241 |
add_action( 'bp_messages_thread_after_delete', 'bp_messages_message_delete_notifications', 10, 2 );
|
242 |
+
|
243 |
+
/**
|
244 |
+
* Render the markup for the Messages section of Settings > Notifications.
|
245 |
+
*
|
246 |
+
* @since 1.0.0
|
247 |
+
*/
|
248 |
+
function messages_screen_notification_settings() {
|
249 |
+
|
250 |
+
if ( bp_action_variables() ) {
|
251 |
+
bp_do_404();
|
252 |
+
return;
|
253 |
+
}
|
254 |
+
|
255 |
+
if ( !$new_messages = bp_get_user_meta( bp_displayed_user_id(), 'notification_messages_new_message', true ) ) {
|
256 |
+
$new_messages = 'yes';
|
257 |
+
} ?>
|
258 |
+
|
259 |
+
<table class="notification-settings" id="messages-notification-settings">
|
260 |
+
<thead>
|
261 |
+
<tr>
|
262 |
+
<th class="icon"></th>
|
263 |
+
<th class="title"><?php _e( 'Messages', 'buddypress' ) ?></th>
|
264 |
+
<th class="yes"><?php _e( 'Yes', 'buddypress' ) ?></th>
|
265 |
+
<th class="no"><?php _e( 'No', 'buddypress' )?></th>
|
266 |
+
</tr>
|
267 |
+
</thead>
|
268 |
+
|
269 |
+
<tbody>
|
270 |
+
<tr id="messages-notification-settings-new-message">
|
271 |
+
<td></td>
|
272 |
+
<td><?php _e( 'A member sends you a new message', 'buddypress' ) ?></td>
|
273 |
+
<td class="yes"><input type="radio" name="notifications[notification_messages_new_message]" id="notification-messages-new-messages-yes" value="yes" <?php checked( $new_messages, 'yes', true ) ?>/><label for="notification-messages-new-messages-yes" class="bp-screen-reader-text"><?php
|
274 |
+
/* translators: accessibility text */
|
275 |
+
_e( 'Yes, send email', 'buddypress' );
|
276 |
+
?></label></td>
|
277 |
+
<td class="no"><input type="radio" name="notifications[notification_messages_new_message]" id="notification-messages-new-messages-no" value="no" <?php checked( $new_messages, 'no', true ) ?>/><label for="notification-messages-new-messages-no" class="bp-screen-reader-text"><?php
|
278 |
+
/* translators: accessibility text */
|
279 |
+
_e( 'No, do not send email', 'buddypress' );
|
280 |
+
?></label></td>
|
281 |
+
</tr>
|
282 |
+
|
283 |
+
<?php
|
284 |
+
|
285 |
+
/**
|
286 |
+
* Fires inside the closing </tbody> tag for messages screen notification settings.
|
287 |
+
*
|
288 |
+
* @since 1.0.0
|
289 |
+
*/
|
290 |
+
do_action( 'messages_screen_notification_settings' ); ?>
|
291 |
+
</tbody>
|
292 |
+
</table>
|
293 |
+
|
294 |
+
<?php
|
295 |
+
}
|
296 |
+
add_action( 'bp_notification_settings', 'messages_screen_notification_settings', 2 );
|
bp-messages/bp-messages-star.php
CHANGED
@@ -364,3 +364,21 @@ function bp_messages_star_message_css_class( $retval = array() ) {
|
|
364 |
return $retval;
|
365 |
}
|
366 |
add_filter( 'bp_get_the_thread_message_css_class', 'bp_messages_star_message_css_class' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
364 |
return $retval;
|
365 |
}
|
366 |
add_filter( 'bp_get_the_thread_message_css_class', 'bp_messages_star_message_css_class' );
|
367 |
+
|
368 |
+
/**
|
369 |
+
* Filter message threads by those starred by the logged-in user.
|
370 |
+
*
|
371 |
+
* @since 2.3.0
|
372 |
+
*
|
373 |
+
* @param array $r Current message thread arguments.
|
374 |
+
* @return array $r Array of starred message threads.
|
375 |
+
*/
|
376 |
+
function bp_messages_filter_starred_message_threads( $r = array() ) {
|
377 |
+
$r['box'] = 'starred';
|
378 |
+
$r['meta_query'] = array( array(
|
379 |
+
'key' => 'starred_by_user',
|
380 |
+
'value' => $r['user_id']
|
381 |
+
) );
|
382 |
+
|
383 |
+
return $r;
|
384 |
+
}
|
bp-messages/classes/class-bp-messages-component.php
CHANGED
@@ -138,11 +138,6 @@ class BP_Messages_Component extends BP_Component {
|
|
138 |
}
|
139 |
}
|
140 |
}
|
141 |
-
|
142 |
-
// Groups notifications HTML table.
|
143 |
-
if ( bp_is_user_settings_notifications() ) {
|
144 |
-
require $this->path . 'bp-messages/screens/settings-email.php';
|
145 |
-
}
|
146 |
}
|
147 |
|
148 |
/**
|
138 |
}
|
139 |
}
|
140 |
}
|
|
|
|
|
|
|
|
|
|
|
141 |
}
|
142 |
|
143 |
/**
|
bp-messages/screens/settings-email.php
DELETED
@@ -1,63 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Messages: Integration into user's "Settings > Email" screen
|
4 |
-
*
|
5 |
-
* @package BuddyPress
|
6 |
-
* @subpackage MessageScreens
|
7 |
-
* @since 3.0.0
|
8 |
-
*/
|
9 |
-
|
10 |
-
/**
|
11 |
-
* Render the markup for the Messages section of Settings > Notifications.
|
12 |
-
*
|
13 |
-
* @since 1.0.0
|
14 |
-
*/
|
15 |
-
function messages_screen_notification_settings() {
|
16 |
-
|
17 |
-
if ( bp_action_variables() ) {
|
18 |
-
bp_do_404();
|
19 |
-
return;
|
20 |
-
}
|
21 |
-
|
22 |
-
if ( !$new_messages = bp_get_user_meta( bp_displayed_user_id(), 'notification_messages_new_message', true ) ) {
|
23 |
-
$new_messages = 'yes';
|
24 |
-
} ?>
|
25 |
-
|
26 |
-
<table class="notification-settings" id="messages-notification-settings">
|
27 |
-
<thead>
|
28 |
-
<tr>
|
29 |
-
<th class="icon"></th>
|
30 |
-
<th class="title"><?php _e( 'Messages', 'buddypress' ) ?></th>
|
31 |
-
<th class="yes"><?php _e( 'Yes', 'buddypress' ) ?></th>
|
32 |
-
<th class="no"><?php _e( 'No', 'buddypress' )?></th>
|
33 |
-
</tr>
|
34 |
-
</thead>
|
35 |
-
|
36 |
-
<tbody>
|
37 |
-
<tr id="messages-notification-settings-new-message">
|
38 |
-
<td></td>
|
39 |
-
<td><?php _e( 'A member sends you a new message', 'buddypress' ) ?></td>
|
40 |
-
<td class="yes"><input type="radio" name="notifications[notification_messages_new_message]" id="notification-messages-new-messages-yes" value="yes" <?php checked( $new_messages, 'yes', true ) ?>/><label for="notification-messages-new-messages-yes" class="bp-screen-reader-text"><?php
|
41 |
-
/* translators: accessibility text */
|
42 |
-
_e( 'Yes, send email', 'buddypress' );
|
43 |
-
?></label></td>
|
44 |
-
<td class="no"><input type="radio" name="notifications[notification_messages_new_message]" id="notification-messages-new-messages-no" value="no" <?php checked( $new_messages, 'no', true ) ?>/><label for="notification-messages-new-messages-no" class="bp-screen-reader-text"><?php
|
45 |
-
/* translators: accessibility text */
|
46 |
-
_e( 'No, do not send email', 'buddypress' );
|
47 |
-
?></label></td>
|
48 |
-
</tr>
|
49 |
-
|
50 |
-
<?php
|
51 |
-
|
52 |
-
/**
|
53 |
-
* Fires inside the closing </tbody> tag for messages screen notification settings.
|
54 |
-
*
|
55 |
-
* @since 1.0.0
|
56 |
-
*/
|
57 |
-
do_action( 'messages_screen_notification_settings' ); ?>
|
58 |
-
</tbody>
|
59 |
-
</table>
|
60 |
-
|
61 |
-
<?php
|
62 |
-
}
|
63 |
-
add_action( 'bp_notification_settings', 'messages_screen_notification_settings', 2 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bp-messages/screens/starred.php
CHANGED
@@ -40,21 +40,3 @@ function bp_messages_star_content() {
|
|
40 |
// Remove our filter.
|
41 |
remove_filter( 'bp_after_has_message_threads_parse_args', 'bp_messages_filter_starred_message_threads' );
|
42 |
}
|
43 |
-
|
44 |
-
/**
|
45 |
-
* Filter message threads by those starred by the logged-in user.
|
46 |
-
*
|
47 |
-
* @since 2.3.0
|
48 |
-
*
|
49 |
-
* @param array $r Current message thread arguments.
|
50 |
-
* @return array $r Array of starred message threads.
|
51 |
-
*/
|
52 |
-
function bp_messages_filter_starred_message_threads( $r = array() ) {
|
53 |
-
$r['box'] = 'starred';
|
54 |
-
$r['meta_query'] = array( array(
|
55 |
-
'key' => 'starred_by_user',
|
56 |
-
'value' => $r['user_id']
|
57 |
-
) );
|
58 |
-
|
59 |
-
return $r;
|
60 |
-
}
|
40 |
// Remove our filter.
|
41 |
remove_filter( 'bp_after_has_message_threads_parse_args', 'bp_messages_filter_starred_message_threads' );
|
42 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bp-settings/classes/class-bp-settings-component.php
CHANGED
@@ -69,8 +69,8 @@ class BP_Settings_Component extends BP_Component {
|
|
69 |
|
70 |
// Authenticated actions.
|
71 |
if ( is_user_logged_in() ) {
|
72 |
-
if ( bp_is_current_action( 'general' ) ) {
|
73 |
-
require $this->path . 'bp-settings/
|
74 |
|
75 |
// Specific to post requests.
|
76 |
} elseif ( bp_is_post_request() && in_array( bp_current_action(), $actions, true ) ) {
|
69 |
|
70 |
// Authenticated actions.
|
71 |
if ( is_user_logged_in() ) {
|
72 |
+
if ( ! bp_current_action() || bp_is_current_action( 'general' ) ) {
|
73 |
+
require $this->path . 'bp-settings/actions/general.php';
|
74 |
|
75 |
// Specific to post requests.
|
76 |
} elseif ( bp_is_post_request() && in_array( bp_current_action(), $actions, true ) ) {
|
bp-templates/bp-legacy/buddypress-functions.php
CHANGED
@@ -6,6 +6,7 @@
|
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage BP_Theme_Compat
|
|
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly.
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage BP_Theme_Compat
|
9 |
+
* @version 3.0.0
|
10 |
*/
|
11 |
|
12 |
// Exit if accessed directly.
|
bp-templates/bp-legacy/buddypress/activity/activity-loop.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/activity/comment.php
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
*
|
8 |
* @package BuddyPress
|
9 |
* @subpackage bp-legacy
|
|
|
10 |
*/
|
11 |
|
12 |
/**
|
7 |
*
|
8 |
* @package BuddyPress
|
9 |
* @subpackage bp-legacy
|
10 |
+
* @version 3.0.0
|
11 |
*/
|
12 |
|
13 |
/**
|
bp-templates/bp-legacy/buddypress/activity/entry.php
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
*
|
8 |
* @package BuddyPress
|
9 |
* @subpackage bp-legacy
|
|
|
10 |
*/
|
11 |
|
12 |
/**
|
7 |
*
|
8 |
* @package BuddyPress
|
9 |
* @subpackage bp-legacy
|
10 |
+
* @version 3.0.0
|
11 |
*/
|
12 |
|
13 |
/**
|
bp-templates/bp-legacy/buddypress/activity/index.php
CHANGED
@@ -6,6 +6,7 @@
|
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage bp-legacy
|
|
|
9 |
*/
|
10 |
|
11 |
/**
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage bp-legacy
|
9 |
+
* @version 3.0.0
|
10 |
*/
|
11 |
|
12 |
/**
|
bp-templates/bp-legacy/buddypress/activity/post-form.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/activity/single/home.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/camera.php
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
*
|
9 |
* @package BuddyPress
|
10 |
* @subpackage bp-attachments
|
|
|
11 |
*/
|
12 |
|
13 |
?>
|
8 |
*
|
9 |
* @package BuddyPress
|
10 |
* @subpackage bp-attachments
|
11 |
+
* @version 3.0.0
|
12 |
*/
|
13 |
|
14 |
?>
|
bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/crop.php
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
*
|
9 |
* @package BuddyPress
|
10 |
* @subpackage bp-attachments
|
|
|
11 |
*/
|
12 |
|
13 |
?>
|
8 |
*
|
9 |
* @package BuddyPress
|
10 |
* @subpackage bp-attachments
|
11 |
+
* @version 3.0.0
|
12 |
*/
|
13 |
|
14 |
?>
|
bp-templates/bp-legacy/buddypress/assets/_attachments/avatars/index.php
CHANGED
@@ -11,6 +11,7 @@
|
|
11 |
*
|
12 |
* @package BuddyPress
|
13 |
* @subpackage bp-attachments
|
|
|
14 |
*/
|
15 |
|
16 |
/**
|
11 |
*
|
12 |
* @package BuddyPress
|
13 |
* @subpackage bp-attachments
|
14 |
+
* @version 3.0.0
|
15 |
*/
|
16 |
|
17 |
/**
|
bp-templates/bp-legacy/buddypress/assets/_attachments/cover-images/index.php
CHANGED
@@ -11,6 +11,7 @@
|
|
11 |
*
|
12 |
* @package BuddyPress
|
13 |
* @subpackage bp-attachments
|
|
|
14 |
*/
|
15 |
|
16 |
?>
|
11 |
*
|
12 |
* @package BuddyPress
|
13 |
* @subpackage bp-attachments
|
14 |
+
* @version 3.0.0
|
15 |
*/
|
16 |
|
17 |
?>
|
bp-templates/bp-legacy/buddypress/assets/_attachments/uploader.php
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
*
|
9 |
* @package BuddyPress
|
10 |
* @subpackage bp-attachments
|
|
|
11 |
*/
|
12 |
|
13 |
?>
|
8 |
*
|
9 |
* @package BuddyPress
|
10 |
* @subpackage bp-attachments
|
11 |
+
* @version 3.0.0
|
12 |
*/
|
13 |
|
14 |
?>
|
bp-templates/bp-legacy/buddypress/assets/emails/single-bp-email.php
CHANGED
@@ -10,6 +10,7 @@
|
|
10 |
*
|
11 |
* @package BuddyPress
|
12 |
* @subpackage Core
|
|
|
13 |
*/
|
14 |
|
15 |
/*
|
10 |
*
|
11 |
* @package BuddyPress
|
12 |
* @subpackage Core
|
13 |
+
* @version 3.0.0
|
14 |
*/
|
15 |
|
16 |
/*
|
bp-templates/bp-legacy/buddypress/assets/embeds/activity.php
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
2 |
<?php if ( bp_activity_embed_has_activity( bp_current_action() ) ) : ?>
|
3 |
|
4 |
<?php while ( bp_activities() ) : bp_the_activity(); ?>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @version 3.0.0
|
4 |
+
*/
|
5 |
+
?>
|
6 |
<?php if ( bp_activity_embed_has_activity( bp_current_action() ) ) : ?>
|
7 |
|
8 |
<?php while ( bp_activities() ) : bp_the_activity(); ?>
|
bp-templates/bp-legacy/buddypress/assets/embeds/footer.php
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div class="wp-embed-footer">
|
2 |
<?php the_embed_site_title() ?>
|
3 |
|
@@ -6,4 +11,4 @@
|
|
6 |
/** This action is documented in wp-includes/theme-compat/embed-content.php */
|
7 |
do_action( 'embed_content_meta'); ?>
|
8 |
</div>
|
9 |
-
</div>
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @version 3.0.0
|
4 |
+
*/
|
5 |
+
?>
|
6 |
<div class="wp-embed-footer">
|
7 |
<?php the_embed_site_title() ?>
|
8 |
|
11 |
/** This action is documented in wp-includes/theme-compat/embed-content.php */
|
12 |
do_action( 'embed_content_meta'); ?>
|
13 |
</div>
|
14 |
+
</div>
|
bp-templates/bp-legacy/buddypress/assets/embeds/header-activity.php
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
<div id="bp-embed-header">
|
3 |
<div class="bp-embed-avatar">
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @version 3.0.0
|
4 |
+
*/
|
5 |
+
?>
|
6 |
|
7 |
<div id="bp-embed-header">
|
8 |
<div class="bp-embed-avatar">
|
bp-templates/bp-legacy/buddypress/assets/embeds/header.php
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
2 |
<div id="bp-embed-header">
|
3 |
<div class="bp-embed-avatar">
|
4 |
<a href="<?php bp_displayed_user_link(); ?>">
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @version 3.0.0
|
4 |
+
*/
|
5 |
+
?>
|
6 |
<div id="bp-embed-header">
|
7 |
<div class="bp-embed-avatar">
|
8 |
<a href="<?php bp_displayed_user_link(); ?>">
|
bp-templates/bp-legacy/buddypress/blogs/blogs-loop.php
CHANGED
@@ -6,6 +6,7 @@
|
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage bp-legacy
|
|
|
9 |
*/
|
10 |
|
11 |
/**
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage bp-legacy
|
9 |
+
* @version 3.0.0
|
10 |
*/
|
11 |
|
12 |
/**
|
bp-templates/bp-legacy/buddypress/blogs/create.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/blogs/index.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/common/search/dir-search-form.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Output the search form markup.
|
4 |
*
|
5 |
* @since 2.7.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* Output the search form markup.
|
4 |
*
|
5 |
* @since 2.7.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-legacy/buddypress/groups/create.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/groups/groups-loop.php
CHANGED
@@ -6,6 +6,7 @@
|
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage bp-legacy
|
|
|
9 |
*/
|
10 |
|
11 |
?>
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage bp-legacy
|
9 |
+
* @version 3.0.0
|
10 |
*/
|
11 |
|
12 |
?>
|
bp-templates/bp-legacy/buddypress/groups/index.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/groups/single/activity.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/groups/single/admin.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/groups/single/admin/delete-group.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/groups/single/admin/edit-details.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/groups/single/admin/group-avatar.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/groups/single/admin/group-cover-image.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/groups/single/admin/group-settings.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/groups/single/admin/manage-members.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/groups/single/admin/membership-requests.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/groups/single/group-header.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/groups/single/home.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/groups/single/invites-loop.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/groups/single/members.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/groups/single/plugins.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/groups/single/request-membership.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/groups/single/requests-loop.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/groups/single/send-invites.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/members/activate.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/index.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/members/members-loop.php
CHANGED
@@ -6,6 +6,7 @@
|
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage bp-legacy
|
|
|
9 |
*/
|
10 |
|
11 |
/**
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage bp-legacy
|
9 |
+
* @version 3.0.0
|
10 |
*/
|
11 |
|
12 |
/**
|
bp-templates/bp-legacy/buddypress/members/register.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/activity.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/blogs.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/friends.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/friends/requests.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/members/single/groups.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/groups/invites.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/members/single/home.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/member-header.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/messages.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/messages/compose.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/messages/message.php
CHANGED
@@ -9,6 +9,7 @@
|
|
9 |
*
|
10 |
* @package BuddyPress
|
11 |
* @subpackage bp-legacy
|
|
|
12 |
*/
|
13 |
|
14 |
?>
|
9 |
*
|
10 |
* @package BuddyPress
|
11 |
* @subpackage bp-legacy
|
12 |
+
* @version 3.0.0
|
13 |
*/
|
14 |
|
15 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/messages/messages-loop.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/members/single/messages/notices-loop.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/members/single/messages/single.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/notifications.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/notifications/feedback-no-notifications.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/notifications/notifications-loop.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/notifications/read.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/notifications/unread.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/plugins.php
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
*
|
8 |
* @package BuddyPress
|
9 |
* @subpackage bp-legacy
|
|
|
10 |
*/
|
11 |
|
12 |
/**
|
7 |
*
|
8 |
* @package BuddyPress
|
9 |
* @subpackage bp-legacy
|
10 |
+
* @version 3.0.0
|
11 |
*/
|
12 |
|
13 |
/**
|
bp-templates/bp-legacy/buddypress/members/single/profile.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/profile/change-cover-image.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/profile/edit.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/members/single/profile/profile-loop.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php */
|
bp-templates/bp-legacy/buddypress/members/single/profile/profile-wp.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/buddypress/members/single/settings.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
?>
|
bp-templates/bp-legacy/buddypress/members/single/settings/capabilities.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
|
bp-templates/bp-legacy/buddypress/members/single/settings/delete-account.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
|
bp-templates/bp-legacy/buddypress/members/single/settings/general.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
|
bp-templates/bp-legacy/buddypress/members/single/settings/notifications.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/** This action is documented in bp-templates/bp-legacy/buddypress/members/single/settings/profile.php */
|
bp-templates/bp-legacy/buddypress/members/single/settings/profile.php
CHANGED
@@ -4,6 +4,7 @@
|
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
|
|
7 |
*/
|
8 |
|
9 |
/**
|
4 |
*
|
5 |
* @package BuddyPress
|
6 |
* @subpackage bp-legacy
|
7 |
+
* @version 3.0.0
|
8 |
*/
|
9 |
|
10 |
/**
|
bp-templates/bp-legacy/css/buddypress-rtl.css
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
/*--------------------------------------------------------------
|
2 |
Hello, this is the BuddyPress Legacy stylesheet.
|
3 |
|
|
|
|
|
4 |
----------------------------------------------------------------
|
5 |
>>> TABLE OF CONTENTS:
|
6 |
----------------------------------------------------------------
|
1 |
/*--------------------------------------------------------------
|
2 |
Hello, this is the BuddyPress Legacy stylesheet.
|
3 |
|
4 |
+
@version 3.0.0
|
5 |
+
|
6 |
----------------------------------------------------------------
|
7 |
>>> TABLE OF CONTENTS:
|
8 |
----------------------------------------------------------------
|
bp-templates/bp-legacy/css/buddypress.css
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
/*--------------------------------------------------------------
|
2 |
Hello, this is the BuddyPress Legacy stylesheet.
|
3 |
|
|
|
|
|
4 |
----------------------------------------------------------------
|
5 |
>>> TABLE OF CONTENTS:
|
6 |
----------------------------------------------------------------
|
1 |
/*--------------------------------------------------------------
|
2 |
Hello, this is the BuddyPress Legacy stylesheet.
|
3 |
|
4 |
+
@version 3.0.0
|
5 |
+
|
6 |
----------------------------------------------------------------
|
7 |
>>> TABLE OF CONTENTS:
|
8 |
----------------------------------------------------------------
|
bp-templates/bp-legacy/css/embeds-activity-rtl.css
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
#bp-embed-header:after {
|
2 |
clear: both;
|
3 |
content: "";
|
1 |
+
/*
|
2 |
+
* @version 3.0.0
|
3 |
+
*/
|
4 |
#bp-embed-header:after {
|
5 |
clear: both;
|
6 |
content: "";
|
bp-templates/bp-legacy/css/embeds-activity.css
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
#bp-embed-header:after {
|
2 |
clear: both;
|
3 |
content: "";
|
1 |
+
/*
|
2 |
+
* @version 3.0.0
|
3 |
+
*/
|
4 |
#bp-embed-header:after {
|
5 |
clear: both;
|
6 |
content: "";
|
bp-templates/bp-legacy/css/twentyeleven-rtl.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyeleven theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentyeleven this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyeleven theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentyeleven this stylesheet will be
|
bp-templates/bp-legacy/css/twentyeleven.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyeleven theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentyeleven this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyeleven theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentyeleven this stylesheet will be
|
bp-templates/bp-legacy/css/twentyeleven.scss
CHANGED
@@ -220,6 +220,8 @@ $link-action: #c82b2b;
|
|
220 |
This is the BuddyPress companion stylesheet for
|
221 |
the WordPress Twentyeleven theme.
|
222 |
|
|
|
|
|
223 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
224 |
|
225 |
If you are running as a child theme of twentyeleven this stylesheet will be
|
220 |
This is the BuddyPress companion stylesheet for
|
221 |
the WordPress Twentyeleven theme.
|
222 |
|
223 |
+
@version 3.0.0
|
224 |
+
|
225 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
226 |
|
227 |
If you are running as a child theme of twentyeleven this stylesheet will be
|
bp-templates/bp-legacy/css/twentyfifteen-rtl.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyfifteen theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentyfifteen this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyfifteen theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentyfifteen this stylesheet will be
|
bp-templates/bp-legacy/css/twentyfifteen.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyfifteen theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentyfifteen this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyfifteen theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentyfifteen this stylesheet will be
|
bp-templates/bp-legacy/css/twentyfifteen.scss
CHANGED
@@ -138,6 +138,8 @@ $link-action: #c82b2b;
|
|
138 |
This is the BuddyPress companion stylesheet for
|
139 |
the WordPress Twentyfifteen theme.
|
140 |
|
|
|
|
|
141 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
142 |
|
143 |
If you are running as a child theme of twentyfifteen this stylesheet will be
|
138 |
This is the BuddyPress companion stylesheet for
|
139 |
the WordPress Twentyfifteen theme.
|
140 |
|
141 |
+
@version 3.0.0
|
142 |
+
|
143 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
144 |
|
145 |
If you are running as a child theme of twentyfifteen this stylesheet will be
|
bp-templates/bp-legacy/css/twentyfourteen-rtl.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyfourteen theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentyfourteen this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyfourteen theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentyfourteen this stylesheet will be
|
bp-templates/bp-legacy/css/twentyfourteen.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyfourteen theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentyfourteen this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyfourteen theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentyfourteen this stylesheet will be
|
bp-templates/bp-legacy/css/twentyfourteen.scss
CHANGED
@@ -142,6 +142,8 @@ $link-action: #c82b2b;
|
|
142 |
This is the BuddyPress companion stylesheet for
|
143 |
the WordPress Twentyfourteen theme.
|
144 |
|
|
|
|
|
145 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
146 |
|
147 |
If you are running as a child theme of twentyfourteen this stylesheet will be
|
142 |
This is the BuddyPress companion stylesheet for
|
143 |
the WordPress Twentyfourteen theme.
|
144 |
|
145 |
+
@version 3.0.0
|
146 |
+
|
147 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
148 |
|
149 |
If you are running as a child theme of twentyfourteen this stylesheet will be
|
bp-templates/bp-legacy/css/twentyseventeen-rtl.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress twentyseventeen theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentyseventeen this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress twentyseventeen theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentyseventeen this stylesheet will be
|
bp-templates/bp-legacy/css/twentyseventeen.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress twentyseventeen theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentyseventeen this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress twentyseventeen theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentyseventeen this stylesheet will be
|
bp-templates/bp-legacy/css/twentyseventeen.scss
CHANGED
@@ -242,6 +242,8 @@ $link-action: #c82b2b;
|
|
242 |
This is the BuddyPress companion stylesheet for
|
243 |
the WordPress twentyseventeen theme.
|
244 |
|
|
|
|
|
245 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
246 |
|
247 |
If you are running as a child theme of twentyseventeen this stylesheet will be
|
242 |
This is the BuddyPress companion stylesheet for
|
243 |
the WordPress twentyseventeen theme.
|
244 |
|
245 |
+
@version 3.0.0
|
246 |
+
|
247 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
248 |
|
249 |
If you are running as a child theme of twentyseventeen this stylesheet will be
|
bp-templates/bp-legacy/css/twentysixteen-rtl.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentysixteen theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentysixteen this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentysixteen theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentysixteen this stylesheet will be
|
bp-templates/bp-legacy/css/twentysixteen.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentysixteen theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentysixteen this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentysixteen theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentysixteen this stylesheet will be
|
bp-templates/bp-legacy/css/twentysixteen.scss
CHANGED
@@ -176,6 +176,8 @@ $link-action: #c82b2b;
|
|
176 |
This is the BuddyPress companion stylesheet for
|
177 |
the WordPress Twentysixteen theme.
|
178 |
|
|
|
|
|
179 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
180 |
|
181 |
If you are running as a child theme of twentysixteen this stylesheet will be
|
176 |
This is the BuddyPress companion stylesheet for
|
177 |
the WordPress Twentysixteen theme.
|
178 |
|
179 |
+
@version 3.0.0
|
180 |
+
|
181 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
182 |
|
183 |
If you are running as a child theme of twentysixteen this stylesheet will be
|
bp-templates/bp-legacy/css/twentyten-rtl.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyten theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentyten this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyten theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentyten this stylesheet will be
|
bp-templates/bp-legacy/css/twentyten.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyten theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentyten this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentyten theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentyten this stylesheet will be
|
bp-templates/bp-legacy/css/twentyten.scss
CHANGED
@@ -200,6 +200,8 @@ $link-action: #c82b2b;
|
|
200 |
This is the BuddyPress companion stylesheet for
|
201 |
the WordPress Twentyten theme.
|
202 |
|
|
|
|
|
203 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
204 |
|
205 |
If you are running as a child theme of twentyten this stylesheet will be
|
200 |
This is the BuddyPress companion stylesheet for
|
201 |
the WordPress Twentyten theme.
|
202 |
|
203 |
+
@version 3.0.0
|
204 |
+
|
205 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
206 |
|
207 |
If you are running as a child theme of twentyten this stylesheet will be
|
bp-templates/bp-legacy/css/twentythirteen-rtl.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentythirteen theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentyfifteen this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentythirteen theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentyfifteen this stylesheet will be
|
bp-templates/bp-legacy/css/twentythirteen.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentythirteen theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentyfifteen this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentythirteen theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentyfifteen this stylesheet will be
|
bp-templates/bp-legacy/css/twentythirteen.scss
CHANGED
@@ -150,6 +150,8 @@ $link-action: #c82b2b;
|
|
150 |
This is the BuddyPress companion stylesheet for
|
151 |
the WordPress Twentythirteen theme.
|
152 |
|
|
|
|
|
153 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
154 |
|
155 |
If you are running as a child theme of twentyfifteen this stylesheet will be
|
150 |
This is the BuddyPress companion stylesheet for
|
151 |
the WordPress Twentythirteen theme.
|
152 |
|
153 |
+
@version 3.0.0
|
154 |
+
|
155 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
156 |
|
157 |
If you are running as a child theme of twentyfifteen this stylesheet will be
|
bp-templates/bp-legacy/css/twentytwelve-rtl.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentytwelve theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentytwelve this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentytwelve theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentytwelve this stylesheet will be
|
bp-templates/bp-legacy/css/twentytwelve.css
CHANGED
@@ -3,6 +3,8 @@
|
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentytwelve theme.
|
5 |
|
|
|
|
|
6 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
7 |
|
8 |
If you are running as a child theme of twentytwelve this stylesheet will be
|
3 |
This is the BuddyPress companion stylesheet for
|
4 |
the WordPress Twentytwelve theme.
|
5 |
|
6 |
+
@version 3.0.0
|
7 |
+
|
8 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
9 |
|
10 |
If you are running as a child theme of twentytwelve this stylesheet will be
|
bp-templates/bp-legacy/css/twentytwelve.scss
CHANGED
@@ -175,6 +175,8 @@ $link-action: #c82b2b;
|
|
175 |
This is the BuddyPress companion stylesheet for
|
176 |
the WordPress Twentytwelve theme.
|
177 |
|
|
|
|
|
178 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
179 |
|
180 |
If you are running as a child theme of twentytwelve this stylesheet will be
|
175 |
This is the BuddyPress companion stylesheet for
|
176 |
the WordPress Twentytwelve theme.
|
177 |
|
178 |
+
@version 3.0.0
|
179 |
+
|
180 |
This sheet supports the primary BuddyPress styles in buddypress.css
|
181 |
|
182 |
If you are running as a child theme of twentytwelve this stylesheet will be
|
bp-templates/bp-legacy/js/buddypress.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
/* jshint undef: false, unused:false */
|
|
|
2 |
// AJAX Functions
|
3 |
var jq = jQuery;
|
4 |
|
1 |
/* jshint undef: false, unused:false */
|
2 |
+
/* @version 3.0.0 */
|
3 |
// AJAX Functions
|
4 |
var jq = jQuery;
|
5 |
|
bp-templates/bp-legacy/js/password-verify.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
/* jshint undef: false */
|
|
|
2 |
/* Password Verify */
|
3 |
( function( $ ){
|
4 |
function check_pass_strength() {
|
1 |
/* jshint undef: false */
|
2 |
+
/* @version 3.0.0 */
|
3 |
/* Password Verify */
|
4 |
( function( $ ){
|
5 |
function check_pass_strength() {
|
bp-templates/bp-nouveau/buddypress-functions.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Functions of BuddyPress's "Nouveau" template pack.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*
|
7 |
* @buddypress-template-pack {
|
8 |
* Template Pack ID: nouveau
|
@@ -116,6 +117,13 @@ class BP_Nouveau extends BP_Theme_Compat {
|
|
116 |
require( $component_loader );
|
117 |
}
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
do_action_ref_array( 'bp_nouveau_includes', array( &$this ) );
|
120 |
}
|
121 |
|
@@ -127,11 +135,9 @@ class BP_Nouveau extends BP_Theme_Compat {
|
|
127 |
protected function setup_support() {
|
128 |
$width = 1300;
|
129 |
$top_offset = 150;
|
130 |
-
$avatar_height = apply_filters( 'bp_core_avatar_full_height', $top_offset );
|
131 |
|
132 |
-
|
133 |
-
|
134 |
-
}
|
135 |
|
136 |
if ( $avatar_height > $top_offset ) {
|
137 |
$top_offset = $avatar_height;
|
@@ -214,8 +220,26 @@ class BP_Nouveau extends BP_Theme_Compat {
|
|
214 |
$rtl = '-rtl';
|
215 |
}
|
216 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
$css_dependencies = apply_filters( 'bp_nouveau_css_dependencies', array( 'dashicons' ) );
|
218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
219 |
$styles = apply_filters( 'bp_nouveau_enqueue_styles', array(
|
220 |
'bp-nouveau' => array(
|
221 |
'file' => 'css/buddypress%1$s%2$s.css', 'dependencies' => $css_dependencies, 'version' => $this->version,
|
@@ -269,6 +293,17 @@ class BP_Nouveau extends BP_Theme_Compat {
|
|
269 |
|
270 |
unset( $dependencies[ $bp_confirm ] );
|
271 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
272 |
$scripts = apply_filters( 'bp_nouveau_register_scripts', array(
|
273 |
'bp-nouveau' => array(
|
274 |
'file' => 'js/buddypress-nouveau%s.js',
|
@@ -336,6 +371,11 @@ class BP_Nouveau extends BP_Theme_Compat {
|
|
336 |
wp_enqueue_script( 'comment-reply' );
|
337 |
}
|
338 |
|
|
|
|
|
|
|
|
|
|
|
339 |
do_action( 'bp_nouveau_enqueue_scripts' );
|
340 |
}
|
341 |
|
@@ -382,35 +422,6 @@ class BP_Nouveau extends BP_Theme_Compat {
|
|
382 |
'unsaved_changes' => __( 'Your profile has unsaved changes. If you leave the page, the changes will be lost.', 'buddypress' ),
|
383 |
'view' => __( 'View', 'buddypress' ),
|
384 |
'object_nav_parent' => '#buddypress',
|
385 |
-
'time_since' => array(
|
386 |
-
'sometime' => _x( 'sometime', 'javascript time since', 'buddypress' ),
|
387 |
-
'now' => _x( 'right now', 'javascript time since', 'buddypress' ),
|
388 |
-
'ago' => _x( '% ago', 'javascript time since', 'buddypress' ),
|
389 |
-
'separator' => _x( ',', 'Separator in javascript time since', 'buddypress' ),
|
390 |
-
'year' => _x( '% year', 'javascript time since singular', 'buddypress' ),
|
391 |
-
'years' => _x( '% years', 'javascript time since plural', 'buddypress' ),
|
392 |
-
'month' => _x( '% month', 'javascript time since singular', 'buddypress' ),
|
393 |
-
'months' => _x( '% months', 'javascript time since plural', 'buddypress' ),
|
394 |
-
'week' => _x( '% week', 'javascript time since singular', 'buddypress' ),
|
395 |
-
'weeks' => _x( '% weeks', 'javascript time since plural', 'buddypress' ),
|
396 |
-
'day' => _x( '% day', 'javascript time since singular', 'buddypress' ),
|
397 |
-
'days' => _x( '% days', 'javascript time since plural', 'buddypress' ),
|
398 |
-
'hour' => _x( '% hour', 'javascript time since singular', 'buddypress' ),
|
399 |
-
'hours' => _x( '% hours', 'javascript time since plural', 'buddypress' ),
|
400 |
-
'minute' => _x( '% minute', 'javascript time since singular', 'buddypress' ),
|
401 |
-
'minutes' => _x( '% minutes', 'javascript time since plural', 'buddypress' ),
|
402 |
-
'second' => _x( '% second', 'javascript time since singular', 'buddypress' ),
|
403 |
-
'seconds' => _x( '% seconds', 'javascript time since plural', 'buddypress' ),
|
404 |
-
'time_chunks' => array(
|
405 |
-
'a_year' => YEAR_IN_SECONDS,
|
406 |
-
'b_month' => 30 * DAY_IN_SECONDS,
|
407 |
-
'c_week' => WEEK_IN_SECONDS,
|
408 |
-
'd_day' => DAY_IN_SECONDS,
|
409 |
-
'e_hour' => HOUR_IN_SECONDS,
|
410 |
-
'f_minute' => MINUTE_IN_SECONDS,
|
411 |
-
'g_second' => 1,
|
412 |
-
),
|
413 |
-
),
|
414 |
);
|
415 |
|
416 |
// If the Object/Item nav are in the sidebar
|
@@ -418,7 +429,13 @@ class BP_Nouveau extends BP_Theme_Compat {
|
|
418 |
$params['object_nav_parent'] = '.buddypress_object_nav';
|
419 |
}
|
420 |
|
421 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
$supported_objects = (array) apply_filters( 'bp_nouveau_supported_components', bp_core_get_packaged_component_ids() );
|
423 |
$object_nonces = array();
|
424 |
|
@@ -449,7 +466,7 @@ class BP_Nouveau extends BP_Theme_Compat {
|
|
449 |
*
|
450 |
* @since 3.0.0
|
451 |
*
|
452 |
-
* @param array $
|
453 |
*/
|
454 |
wp_localize_script( 'bp-nouveau', 'BP_Nouveau', apply_filters( 'bp_core_get_js_strings', $params ) );
|
455 |
}
|
@@ -470,7 +487,7 @@ class BP_Nouveau extends BP_Theme_Compat {
|
|
470 |
/**
|
471 |
* Filters whether or not we are looking at a directory to determine if to return early.
|
472 |
*
|
473 |
-
* @since
|
474 |
*
|
475 |
* @param bool $value Whether or not we are viewing a directory.
|
476 |
*/
|
3 |
* Functions of BuddyPress's "Nouveau" template pack.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*
|
8 |
* @buddypress-template-pack {
|
9 |
* Template Pack ID: nouveau
|
117 |
require( $component_loader );
|
118 |
}
|
119 |
|
120 |
+
/**
|
121 |
+
* Fires after all of the BuddyPress Nouveau includes have been loaded. Passed by reference.
|
122 |
+
*
|
123 |
+
* @since 3.0.0
|
124 |
+
*
|
125 |
+
* @param BP_Nouveau $value Current BP_Nouveau instance.
|
126 |
+
*/
|
127 |
do_action_ref_array( 'bp_nouveau_includes', array( &$this ) );
|
128 |
}
|
129 |
|
135 |
protected function setup_support() {
|
136 |
$width = 1300;
|
137 |
$top_offset = 150;
|
|
|
138 |
|
139 |
+
/** This filter is documented in bp-core/bp-core-avatars.php. */
|
140 |
+
$avatar_height = apply_filters( 'bp_core_avatar_full_height', $top_offset );
|
|
|
141 |
|
142 |
if ( $avatar_height > $top_offset ) {
|
143 |
$top_offset = $avatar_height;
|
220 |
$rtl = '-rtl';
|
221 |
}
|
222 |
|
223 |
+
/**
|
224 |
+
* Filters the BuddyPress Nouveau CSS dependencies.
|
225 |
+
*
|
226 |
+
* @since 3.0.0
|
227 |
+
*
|
228 |
+
* @param array $value Array of style dependencies. Default Dashicons.
|
229 |
+
*/
|
230 |
$css_dependencies = apply_filters( 'bp_nouveau_css_dependencies', array( 'dashicons' ) );
|
231 |
|
232 |
+
/**
|
233 |
+
* Filters the styles to enqueue for BuddyPress Nouveau.
|
234 |
+
*
|
235 |
+
* This filter provides a multidimensional array that will map to arguments used for wp_enqueue_style().
|
236 |
+
* The primary index should have the stylesheet handle to use, and be assigned an array that has indexes for
|
237 |
+
* file location, dependencies, and version.
|
238 |
+
*
|
239 |
+
* @since 3.0.0
|
240 |
+
*
|
241 |
+
* @param array $value Array of styles to enqueue.
|
242 |
+
*/
|
243 |
$styles = apply_filters( 'bp_nouveau_enqueue_styles', array(
|
244 |
'bp-nouveau' => array(
|
245 |
'file' => 'css/buddypress%1$s%2$s.css', 'dependencies' => $css_dependencies, 'version' => $this->version,
|
293 |
|
294 |
unset( $dependencies[ $bp_confirm ] );
|
295 |
|
296 |
+
/**
|
297 |
+
* Filters the scripts to enqueue for BuddyPress Nouveau.
|
298 |
+
*
|
299 |
+
* This filter provides a multidimensional array that will map to arguments used for wp_register_script().
|
300 |
+
* The primary index should have the script handle to use, and be assigned an array that has indexes for
|
301 |
+
* file location, dependencies, version and if it should load in the footer or not.
|
302 |
+
*
|
303 |
+
* @since 3.0.0
|
304 |
+
*
|
305 |
+
* @param array $value Array of scripts to register.
|
306 |
+
*/
|
307 |
$scripts = apply_filters( 'bp_nouveau_register_scripts', array(
|
308 |
'bp-nouveau' => array(
|
309 |
'file' => 'js/buddypress-nouveau%s.js',
|
371 |
wp_enqueue_script( 'comment-reply' );
|
372 |
}
|
373 |
|
374 |
+
/**
|
375 |
+
* Fires after all of the BuddyPress Nouveau scripts have been enqueued.
|
376 |
+
*
|
377 |
+
* @since 3.0.0
|
378 |
+
*/
|
379 |
do_action( 'bp_nouveau_enqueue_scripts' );
|
380 |
}
|
381 |
|
422 |
'unsaved_changes' => __( 'Your profile has unsaved changes. If you leave the page, the changes will be lost.', 'buddypress' ),
|
423 |
'view' => __( 'View', 'buddypress' ),
|
424 |
'object_nav_parent' => '#buddypress',
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
425 |
);
|
426 |
|
427 |
// If the Object/Item nav are in the sidebar
|
429 |
$params['object_nav_parent'] = '.buddypress_object_nav';
|
430 |
}
|
431 |
|
432 |
+
/**
|
433 |
+
* Filters the supported BuddyPress Nouveau components.
|
434 |
+
*
|
435 |
+
* @since 3.0.0
|
436 |
+
*
|
437 |
+
* @param array $value Array of supported components.
|
438 |
+
*/
|
439 |
$supported_objects = (array) apply_filters( 'bp_nouveau_supported_components', bp_core_get_packaged_component_ids() );
|
440 |
$object_nonces = array();
|
441 |
|
466 |
*
|
467 |
* @since 3.0.0
|
468 |
*
|
469 |
+
* @param array $params Array of key/value pairs for AJAX usage.
|
470 |
*/
|
471 |
wp_localize_script( 'bp-nouveau', 'BP_Nouveau', apply_filters( 'bp_core_get_js_strings', $params ) );
|
472 |
}
|
487 |
/**
|
488 |
* Filters whether or not we are looking at a directory to determine if to return early.
|
489 |
*
|
490 |
+
* @since 3.0.0
|
491 |
*
|
492 |
* @param bool $value Whether or not we are viewing a directory.
|
493 |
*/
|
bp-templates/bp-nouveau/buddypress/activity/activity-loop.php
CHANGED
@@ -1,13 +1,17 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Activity Loop
|
|
|
|
|
4 |
*/
|
5 |
|
6 |
bp_nouveau_before_loop(); ?>
|
7 |
|
8 |
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
|
9 |
|
10 |
-
|
|
|
|
|
11 |
|
12 |
<?php
|
13 |
while ( bp_activities() ) :
|
@@ -26,7 +30,9 @@ bp_nouveau_before_loop(); ?>
|
|
26 |
|
27 |
<?php endif; ?>
|
28 |
|
29 |
-
|
|
|
|
|
30 |
|
31 |
<?php else : ?>
|
32 |
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Activity Loop
|
4 |
+
*
|
5 |
+
* @version 3.0.0
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_before_loop(); ?>
|
9 |
|
10 |
<?php if ( bp_has_activities( bp_ajax_querystring( 'activity' ) ) ) : ?>
|
11 |
|
12 |
+
<?php if ( empty( $_POST['page'] ) || 1 === (int) $_POST['page'] ) : ?>
|
13 |
+
<ul class="activity-list item-list bp-list">
|
14 |
+
<?php endif; ?>
|
15 |
|
16 |
<?php
|
17 |
while ( bp_activities() ) :
|
30 |
|
31 |
<?php endif; ?>
|
32 |
|
33 |
+
<?php if ( empty( $_POST['page'] ) || 1 === (int) $_POST['page'] ) : ?>
|
34 |
+
</ul>
|
35 |
+
<?php endif; ?>
|
36 |
|
37 |
<?php else : ?>
|
38 |
|
bp-templates/bp-nouveau/buddypress/activity/comment-form.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Activity Comment form template.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
if ( ! bp_nouveau_current_user_can( 'comment_activity' ) || ! bp_activity_can_comment() ) {
|
3 |
* BP Nouveau Activity Comment form template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
if ( ! bp_nouveau_current_user_can( 'comment_activity' ) || ! bp_activity_can_comment() ) {
|
bp-templates/bp-nouveau/buddypress/activity/comment.php
CHANGED
@@ -4,6 +4,8 @@
|
|
4 |
*
|
5 |
* This template is used by bp_activity_comments() functions to show
|
6 |
* each activity.
|
|
|
|
|
7 |
*/
|
8 |
|
9 |
?>
|
4 |
*
|
5 |
* This template is used by bp_activity_comments() functions to show
|
6 |
* each activity.
|
7 |
+
*
|
8 |
+
* @version 3.0.0
|
9 |
*/
|
10 |
|
11 |
?>
|
bp-templates/bp-nouveau/buddypress/activity/entry.php
CHANGED
@@ -6,11 +6,12 @@
|
|
6 |
* each activity.
|
7 |
*
|
8 |
* @since 3.0.0
|
|
|
9 |
*/
|
10 |
|
11 |
bp_nouveau_activity_hook( 'before', 'entry' ); ?>
|
12 |
|
13 |
-
<li class="<?php bp_activity_css_class(); ?>" id="activity-<?php bp_activity_id(); ?>" data-bp-activity-id="<?php bp_activity_id(); ?>">
|
14 |
|
15 |
<div class="activity-avatar item-avatar">
|
16 |
|
6 |
* each activity.
|
7 |
*
|
8 |
* @since 3.0.0
|
9 |
+
* @version 3.0.0
|
10 |
*/
|
11 |
|
12 |
bp_nouveau_activity_hook( 'before', 'entry' ); ?>
|
13 |
|
14 |
+
<li class="<?php bp_activity_css_class(); ?>" id="activity-<?php bp_activity_id(); ?>" data-bp-activity-id="<?php bp_activity_id(); ?>" data-bp-timestamp="<?php bp_nouveau_activity_timestamp(); ?>">
|
15 |
|
16 |
<div class="activity-avatar item-avatar">
|
17 |
|
bp-templates/bp-nouveau/buddypress/activity/index.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress Activity templates
|
4 |
*
|
5 |
* @since 2.3.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress Activity templates
|
4 |
*
|
5 |
* @since 2.3.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/activity/post-form.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Activity Post Form
|
|
|
|
|
4 |
*/
|
5 |
|
6 |
?>
|
@@ -13,6 +15,8 @@
|
|
13 |
bp_nouveau_before_activity_post_form();
|
14 |
?>
|
15 |
|
|
|
|
|
16 |
<div id="bp-nouveau-activity-form" class="activity-update-form"></div>
|
17 |
|
18 |
<?php
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Activity Post Form
|
4 |
+
*
|
5 |
+
* @version 3.0.0
|
6 |
*/
|
7 |
|
8 |
?>
|
15 |
bp_nouveau_before_activity_post_form();
|
16 |
?>
|
17 |
|
18 |
+
<h2 class="bp-screen-reader-text"><?php _e( 'Post Update', 'buddypress' ); ?></h2>
|
19 |
+
|
20 |
<div id="bp-nouveau-activity-form" class="activity-update-form"></div>
|
21 |
|
22 |
<?php
|
bp-templates/bp-nouveau/buddypress/activity/single/home.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Home
|
|
|
|
|
4 |
*/
|
5 |
|
6 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Home
|
4 |
+
*
|
5 |
+
* @version 3.0.0
|
6 |
*/
|
7 |
|
8 |
?>
|
bp-templates/bp-nouveau/buddypress/activity/widget.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Activity Widget template.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
@@ -24,13 +25,13 @@
|
|
24 |
<footer>
|
25 |
|
26 |
<cite>
|
27 |
-
<a href="<?php bp_activity_user_link(); ?>">
|
28 |
<?php
|
29 |
bp_activity_avatar(
|
30 |
array(
|
31 |
'type' => 'thumb',
|
32 |
-
'width' => '
|
33 |
-
'height' => '
|
34 |
)
|
35 |
);
|
36 |
?>
|
3 |
* BP Nouveau Activity Widget template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
25 |
<footer>
|
26 |
|
27 |
<cite>
|
28 |
+
<a href="<?php bp_activity_user_link(); ?>" class="bp-tooltip" data-bp-tooltip="<?php echo esc_attr( bp_activity_member_display_name() ); ?>">
|
29 |
<?php
|
30 |
bp_activity_avatar(
|
31 |
array(
|
32 |
'type' => 'thumb',
|
33 |
+
'width' => '40',
|
34 |
+
'height' => '40',
|
35 |
)
|
36 |
);
|
37 |
?>
|
bp-templates/bp-nouveau/buddypress/assets/_attachments/avatars/camera.php
CHANGED
@@ -5,6 +5,7 @@
|
|
5 |
* This template is used to create the camera Backbone views.
|
6 |
*
|
7 |
* @since 2.3.0
|
|
|
8 |
*/
|
9 |
|
10 |
?>
|
5 |
* This template is used to create the camera Backbone views.
|
6 |
*
|
7 |
* @since 2.3.0
|
8 |
+
* @version 3.0.0
|
9 |
*/
|
10 |
|
11 |
?>
|
bp-templates/bp-nouveau/buddypress/assets/_attachments/avatars/crop.php
CHANGED
@@ -5,6 +5,7 @@
|
|
5 |
* This template is used to create the crop Backbone views.
|
6 |
*
|
7 |
* @since 2.3.0
|
|
|
8 |
*/
|
9 |
|
10 |
?>
|
5 |
* This template is used to create the crop Backbone views.
|
6 |
*
|
7 |
* @since 2.3.0
|
8 |
+
* @version 3.0.0
|
9 |
*/
|
10 |
|
11 |
?>
|
bp-templates/bp-nouveau/buddypress/assets/_attachments/avatars/index.php
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
* It's also used to create the common Backbone views.
|
9 |
*
|
10 |
* @since 2.3.0
|
|
|
11 |
*/
|
12 |
|
13 |
/**
|
@@ -37,8 +38,20 @@ do_action( 'bp_attachments_avatar_check_template' );
|
|
37 |
<?php bp_nouveau_user_feedback( 'group-avatar-delete-info' ); ?>
|
38 |
<button type="button" class="button edit" id="bp-delete-avatar"><?php esc_html_e( 'Delete Group Profile Photo', 'buddypress' ); ?></button>
|
39 |
<# } else { #>
|
40 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
<# } #>
|
42 |
</script>
|
43 |
|
44 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
8 |
* It's also used to create the common Backbone views.
|
9 |
*
|
10 |
* @since 2.3.0
|
11 |
+
* @version 3.0.0
|
12 |
*/
|
13 |
|
14 |
/**
|
38 |
<?php bp_nouveau_user_feedback( 'group-avatar-delete-info' ); ?>
|
39 |
<button type="button" class="button edit" id="bp-delete-avatar"><?php esc_html_e( 'Delete Group Profile Photo', 'buddypress' ); ?></button>
|
40 |
<# } else { #>
|
41 |
+
<?php
|
42 |
+
/**
|
43 |
+
* Fires inside the avatar delete frontend template markup if no other data.object condition is met.
|
44 |
+
*
|
45 |
+
* @since 3.0.0
|
46 |
+
*/
|
47 |
+
do_action( 'bp_attachments_avatar_delete_template' ); ?>
|
48 |
<# } #>
|
49 |
</script>
|
50 |
|
51 |
+
<?php
|
52 |
+
/**
|
53 |
+
* Fires after the avatar main frontend template markup.
|
54 |
+
*
|
55 |
+
* @since 3.0.0
|
56 |
+
*/
|
57 |
+
do_action( 'bp_attachments_avatar_main_template' ); ?>
|
bp-templates/bp-nouveau/buddypress/assets/_attachments/cover-images/index.php
CHANGED
@@ -8,6 +8,7 @@
|
|
8 |
* It's also used to create the common Backbone views.
|
9 |
*
|
10 |
* @since 2.4.0
|
|
|
11 |
*/
|
12 |
|
13 |
?>
|
@@ -26,8 +27,20 @@
|
|
26 |
<p><?php _e( "If you'd like to remove the existing group cover image but not upload a new one, please use the delete group cover image button.", 'buddypress' ); ?></p>
|
27 |
<button type="button" class="button edit" id="bp-delete-cover-image"><?php esc_html_e( 'Delete Group Cover Image', 'buddypress' ); ?></button>
|
28 |
<# } else { #>
|
29 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
<# } #>
|
31 |
</script>
|
32 |
|
33 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
8 |
* It's also used to create the common Backbone views.
|
9 |
*
|
10 |
* @since 2.4.0
|
11 |
+
* @version 3.0.0
|
12 |
*/
|
13 |
|
14 |
?>
|
27 |
<p><?php _e( "If you'd like to remove the existing group cover image but not upload a new one, please use the delete group cover image button.", 'buddypress' ); ?></p>
|
28 |
<button type="button" class="button edit" id="bp-delete-cover-image"><?php esc_html_e( 'Delete Group Cover Image', 'buddypress' ); ?></button>
|
29 |
<# } else { #>
|
30 |
+
<?php
|
31 |
+
/**
|
32 |
+
* Fires inside the cover image delete frontend template markup if no other data.object condition is met.
|
33 |
+
*
|
34 |
+
* @since 3.0.0
|
35 |
+
*/
|
36 |
+
do_action( 'bp_attachments_cover_image_delete_template' ); ?>
|
37 |
<# } #>
|
38 |
</script>
|
39 |
|
40 |
+
<?php
|
41 |
+
/**
|
42 |
+
* Fires after the cover image main frontend template markup.
|
43 |
+
*
|
44 |
+
* @since 3.0.0
|
45 |
+
*/
|
46 |
+
do_action( 'bp_attachments_cover_image_main_template' ); ?>
|
bp-templates/bp-nouveau/buddypress/assets/_attachments/uploader.php
CHANGED
@@ -5,6 +5,7 @@
|
|
5 |
* This template is used to create the BuddyPress Uploader Backbone views.
|
6 |
*
|
7 |
* @since 2.3.0
|
|
|
8 |
*/
|
9 |
|
10 |
?>
|
5 |
* This template is used to create the BuddyPress Uploader Backbone views.
|
6 |
*
|
7 |
* @since 2.3.0
|
8 |
+
* @version 3.0.0
|
9 |
*/
|
10 |
|
11 |
?>
|
bp-templates/bp-nouveau/buddypress/assets/emails/single-bp-email.php
CHANGED
@@ -7,6 +7,7 @@
|
|
7 |
* 1.35 = default body_text_size multipler. Gives default heading of 20px.
|
8 |
*
|
9 |
* @since 2.5.0
|
|
|
10 |
*
|
11 |
* @package BuddyPress
|
12 |
* @subpackage Core
|
7 |
* 1.35 = default body_text_size multipler. Gives default heading of 20px.
|
8 |
*
|
9 |
* @since 2.5.0
|
10 |
+
* @version 3.0.0
|
11 |
*
|
12 |
* @package BuddyPress
|
13 |
* @subpackage Core
|
bp-templates/bp-nouveau/buddypress/assets/embeds/activity.php
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
<?php
|
|
|
|
|
|
|
|
|
2 |
if ( bp_activity_embed_has_activity( bp_current_action() ) ) :
|
3 |
?>
|
4 |
|
1 |
<?php
|
2 |
+
/**
|
3 |
+
* @version 3.0.0
|
4 |
+
*/
|
5 |
+
|
6 |
if ( bp_activity_embed_has_activity( bp_current_action() ) ) :
|
7 |
?>
|
8 |
|
bp-templates/bp-nouveau/buddypress/assets/embeds/footer.php
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div class="wp-embed-footer">
|
2 |
<?php the_embed_site_title(); ?>
|
3 |
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @version 3.0.0
|
4 |
+
*/
|
5 |
+
?>
|
6 |
<div class="wp-embed-footer">
|
7 |
<?php the_embed_site_title(); ?>
|
8 |
|
bp-templates/bp-nouveau/buddypress/assets/embeds/header-activity.php
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
<div id="bp-embed-header">
|
2 |
<div class="bp-embed-avatar">
|
3 |
<a href="<?php bp_displayed_user_link(); ?>">
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @version 3.0.0
|
4 |
+
*/
|
5 |
+
?>
|
6 |
<div id="bp-embed-header">
|
7 |
<div class="bp-embed-avatar">
|
8 |
<a href="<?php bp_displayed_user_link(); ?>">
|
bp-templates/bp-nouveau/buddypress/assets/embeds/header.php
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
|
2 |
<div id="bp-embed-header">
|
3 |
<div class="bp-embed-avatar">
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* @version 3.0.0
|
4 |
+
*/
|
5 |
+
?>
|
6 |
|
7 |
<div id="bp-embed-header">
|
8 |
<div class="bp-embed-avatar">
|
bp-templates/bp-nouveau/buddypress/blogs/blogs-loop.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Blogs Loop
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_before_loop(); ?>
|
3 |
* BuddyPress - Blogs Loop
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
bp_nouveau_before_loop(); ?>
|
bp-templates/bp-nouveau/buddypress/blogs/create.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Blogs Create
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_blogs_create_hook( 'before', 'content_template' ); ?>
|
3 |
* BuddyPress - Blogs Create
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
bp_nouveau_blogs_create_hook( 'before', 'content_template' ); ?>
|
bp-templates/bp-nouveau/buddypress/blogs/index.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Blogs Directory
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress - Blogs Directory
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/common/filters/directory-filters.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Component's filters template.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BP Nouveau Component's filters template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/common/filters/groups-screens-filters.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Groups screens filters
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
<div id="comp-filters" class="component-filters clearfix">
|
3 |
* BP Nouveau Groups screens filters
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
<div id="comp-filters" class="component-filters clearfix">
|
bp-templates/bp-nouveau/buddypress/common/filters/user-screens-filters.php
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* BP Nouveau User screens filters
|
4 |
-
*
|
5 |
-
* @since 3.0.0
|
6 |
-
|
|
|
7 |
?>
|
8 |
<div id="comp-filters" class="component-filters clearfix">
|
9 |
<div id="<?php bp_nouveau_filter_container_id(); ?>" class="last filter">
|
1 |
<?php
|
2 |
/**
|
3 |
+
* BP Nouveau User screens filters
|
4 |
+
*
|
5 |
+
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
+
*/
|
8 |
?>
|
9 |
<div id="comp-filters" class="component-filters clearfix">
|
10 |
<div id="<?php bp_nouveau_filter_container_id(); ?>" class="last filter">
|
bp-templates/bp-nouveau/buddypress/common/js-templates/activity/form.php
CHANGED
@@ -2,11 +2,12 @@
|
|
2 |
/**
|
3 |
* Activity Post form JS Templates
|
4 |
*
|
|
|
5 |
*/
|
6 |
?>
|
7 |
|
8 |
<script type="text/html" id="tmpl-activity-post-form-feedback">
|
9 |
-
<p>{{{data.message}}}</p>
|
10 |
</script>
|
11 |
|
12 |
<script type="text/html" id="tmpl-activity-post-form-avatar">
|
2 |
/**
|
3 |
* Activity Post form JS Templates
|
4 |
*
|
5 |
+
* @version 3.0.0
|
6 |
*/
|
7 |
?>
|
8 |
|
9 |
<script type="text/html" id="tmpl-activity-post-form-feedback">
|
10 |
+
<span class="bp-icon" aria-hidden="true"></span><p>{{{data.message}}}</p>
|
11 |
</script>
|
12 |
|
13 |
<script type="text/html" id="tmpl-activity-post-form-avatar">
|
bp-templates/bp-nouveau/buddypress/common/js-templates/invites/index.php
CHANGED
@@ -6,17 +6,42 @@
|
|
6 |
* dealing with invites.
|
7 |
*
|
8 |
* @since 3.0.0
|
|
|
9 |
*/
|
10 |
?>
|
11 |
-
<nav class="<?php bp_nouveau_single_item_subnav_classes(); ?>" id="subnav" role="navigation" aria-label="<?php esc_attr_e( 'Group invitations menu', 'buddypress' ); ?>"></nav>
|
12 |
|
13 |
-
|
14 |
-
<?php _e( 'Invite Members', 'buddypress' ); ?>
|
15 |
-
</h2>
|
16 |
|
17 |
-
<
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
<script type="text/html" id="tmpl-bp-invites-nav">
|
22 |
<a href="{{data.href}}" class="bp-invites-nav-item" data-nav="{{data.id}}">{{data.name}}</a>
|
@@ -58,16 +83,22 @@
|
|
58 |
|
59 |
<div class="action">
|
60 |
<# if ( undefined === data.is_sent || ( false === data.is_sent && true === data.can_edit ) ) { #>
|
61 |
-
<button type="button" class="button invite-button group-add-remove-invite-button bp-tooltip bp-icons" data-bp-tooltip="
|
62 |
-
<span class="icons"></span>
|
63 |
-
<span class="bp-screen-reader-text"
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
</button>
|
65 |
<# } #>
|
66 |
|
67 |
<# if ( undefined !== data.can_edit && true === data.can_edit ) { #>
|
68 |
-
<button type="button" class="button invite-button group-remove-invite-button bp-tooltip bp-icons" data-bp-tooltip="<?php esc_attr_e( '
|
69 |
-
<span class=" icons"></span>
|
70 |
-
<span class="bp-screen-reader-text"><?php esc_html_e( '
|
71 |
</button>
|
72 |
<# } #>
|
73 |
</div>
|
@@ -75,8 +106,8 @@
|
|
75 |
</script>
|
76 |
|
77 |
<script type="text/html" id="tmpl-bp-invites-selection">
|
78 |
-
<a href="#"
|
79 |
-
<img src="{{data.avatar}}" class="avatar" alt="
|
80 |
</a>
|
81 |
</script>
|
82 |
|
@@ -103,20 +134,22 @@
|
|
103 |
<span id="button-text" class="bp-screen-reader-text"><?php esc_html_e( 'Search', 'buddypress' ); ?></span>
|
104 |
</button>
|
105 |
</form>
|
106 |
-
|
107 |
</div>
|
108 |
</script>
|
109 |
|
110 |
<script type="text/html" id="tmpl-bp-invites-paginate">
|
111 |
<# if ( 1 !== data.page ) { #>
|
112 |
-
<
|
113 |
-
<span class="
|
114 |
-
|
|
|
115 |
<# } #>
|
116 |
|
117 |
<# if ( data.total_page !== data.page ) { #>
|
118 |
-
<
|
119 |
-
<span class="bp-screen-reader-text"><?php esc_html_e( 'Next', 'buddypress' ); ?></span>
|
|
|
120 |
</button>
|
121 |
<# } #>
|
122 |
</script>
|
6 |
* dealing with invites.
|
7 |
*
|
8 |
* @since 3.0.0
|
9 |
+
* @version 3.0.0
|
10 |
*/
|
11 |
?>
|
|
|
12 |
|
13 |
+
<?php if ( bp_is_group_create() ) : ?>
|
|
|
|
|
14 |
|
15 |
+
<h3 class="bp-screen-title creation-step-name">
|
16 |
+
<?php esc_html_e( 'Invite Members', 'buddypress' ); ?>
|
17 |
+
</h3>
|
18 |
+
|
19 |
+
<?php else : ?>
|
20 |
+
|
21 |
+
<h2 class="bp-screen-title">
|
22 |
+
<?php esc_html_e( 'Invite Members', 'buddypress' ); ?>
|
23 |
+
</h2>
|
24 |
+
|
25 |
+
<?php endif; ?>
|
26 |
+
|
27 |
+
<div id="group-invites-container">
|
28 |
+
|
29 |
+
<nav class="<?php bp_nouveau_single_item_subnav_classes(); ?>" id="subnav" role="navigation" aria-label="<?php esc_attr_e( 'Group invitations menu', 'buddypress' ); ?>"></nav>
|
30 |
+
|
31 |
+
<div class="group-invites-column">
|
32 |
+
<div class="subnav-filters group-subnav-filters bp-invites-filters"></div>
|
33 |
+
<div class="bp-invites-feedback"></div>
|
34 |
+
<div class="members bp-invites-content"></div>
|
35 |
+
</div>
|
36 |
+
|
37 |
+
</div>
|
38 |
+
|
39 |
+
<script type="text/html" id="tmpl-bp-group-invites-feedback">
|
40 |
+
<div class="bp-feedback {{data.type}}">
|
41 |
+
<span class="bp-icon" aria-hidden="true"></span>
|
42 |
+
<p>{{{data.message}}}</p>
|
43 |
+
</div>
|
44 |
+
</script>
|
45 |
|
46 |
<script type="text/html" id="tmpl-bp-invites-nav">
|
47 |
<a href="{{data.href}}" class="bp-invites-nav-item" data-nav="{{data.id}}">{{data.name}}</a>
|
83 |
|
84 |
<div class="action">
|
85 |
<# if ( undefined === data.is_sent || ( false === data.is_sent && true === data.can_edit ) ) { #>
|
86 |
+
<button type="button" class="button invite-button group-add-remove-invite-button bp-tooltip bp-icons<# if ( data.selected ) { #> selected<# } #>" data-bp-tooltip="<# if ( data.selected ) { #><?php esc_attr_e( 'Disinvite', 'buddypress' ); ?><# } else { #><?php esc_attr_e( 'Invite', 'buddypress' ); ?><# } #>">
|
87 |
+
<span class="icons" aria-hidden="true"></span>
|
88 |
+
<span class="bp-screen-reader-text">
|
89 |
+
<# if ( data.selected ) { #>
|
90 |
+
<?php esc_html_e( 'Disinvite', 'buddypress' ); ?>
|
91 |
+
<# } else { #>
|
92 |
+
<?php esc_html_e( 'Invite', 'buddypress' ); ?>
|
93 |
+
<# } #>
|
94 |
+
</span>
|
95 |
</button>
|
96 |
<# } #>
|
97 |
|
98 |
<# if ( undefined !== data.can_edit && true === data.can_edit ) { #>
|
99 |
+
<button type="button" class="button invite-button group-remove-invite-button bp-tooltip bp-icons" data-bp-tooltip="<?php esc_attr_e( 'Disinvite', 'buddypress' ); ?>">
|
100 |
+
<span class=" icons" aria-hidden="true"></span>
|
101 |
+
<span class="bp-screen-reader-text"><?php esc_html_e( 'Disinvite', 'buddypress' ); ?></span>
|
102 |
</button>
|
103 |
<# } #>
|
104 |
</div>
|
106 |
</script>
|
107 |
|
108 |
<script type="text/html" id="tmpl-bp-invites-selection">
|
109 |
+
<a href="#uninvite-user-{{data.id}}" class="bp-tooltip" data-bp-tooltip="{{data.uninviteTooltip}}" aria-label="{{data.uninviteTooltip}}">
|
110 |
+
<img src="{{data.avatar}}" class="avatar" alt=""/>
|
111 |
</a>
|
112 |
</script>
|
113 |
|
134 |
<span id="button-text" class="bp-screen-reader-text"><?php esc_html_e( 'Search', 'buddypress' ); ?></span>
|
135 |
</button>
|
136 |
</form>
|
137 |
+
</div>
|
138 |
</div>
|
139 |
</script>
|
140 |
|
141 |
<script type="text/html" id="tmpl-bp-invites-paginate">
|
142 |
<# if ( 1 !== data.page ) { #>
|
143 |
+
<a href="#previous-page" id="bp-invites-prev-page" class="button invite-button bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Previous page', 'buddypress' ); ?>">
|
144 |
+
<span class="dashicons dashicons-arrow-left" aria-hidden="true"></span>
|
145 |
+
<span class="bp-screen-reader-text"><?php esc_html_e( 'Previous page', 'buddypress' ); ?></span>
|
146 |
+
</a>
|
147 |
<# } #>
|
148 |
|
149 |
<# if ( data.total_page !== data.page ) { #>
|
150 |
+
<a href="#next-page" id="bp-invites-next-page" class="button invite-button bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Next page', 'buddypress' ); ?>">
|
151 |
+
<span class="bp-screen-reader-text"><?php esc_html_e( 'Next page', 'buddypress' ); ?></span>
|
152 |
+
<span class="dashicons dashicons-arrow-right" aria-hidden="true"></span>
|
153 |
</button>
|
154 |
<# } #>
|
155 |
</script>
|
bp-templates/bp-nouveau/buddypress/common/js-templates/messages/index.php
CHANGED
@@ -6,11 +6,20 @@
|
|
6 |
* dealing with user's private messages.
|
7 |
*
|
8 |
* @since 3.0.0
|
|
|
9 |
*/
|
10 |
?>
|
11 |
<div class="subnav-filters filters user-subnav bp-messages-filters" id="subsubnav"></div>
|
12 |
-
|
13 |
<div class="bp-messages-feedback"></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
|
15 |
<script type="text/html" id="tmpl-bp-messages-form">
|
16 |
<?php bp_nouveau_messages_hook( 'before', 'compose_content' ); ?>
|
@@ -33,8 +42,8 @@
|
|
33 |
|
34 |
<script type="text/html" id="tmpl-bp-messages-editor">
|
35 |
<?php
|
36 |
-
//
|
37 |
-
add_filter( 'mce_buttons', '
|
38 |
|
39 |
wp_editor(
|
40 |
'',
|
@@ -50,8 +59,8 @@
|
|
50 |
'textarea_rows' => 5,
|
51 |
)
|
52 |
);
|
53 |
-
//
|
54 |
-
remove_filter( 'mce_buttons', '
|
55 |
?>
|
56 |
</script>
|
57 |
|
@@ -114,20 +123,39 @@
|
|
114 |
<script type="text/html" id="tmpl-bp-messages-thread">
|
115 |
<div class="thread-cb">
|
116 |
<input class="message-check" type="checkbox" name="message_ids[]" id="bp-message-thread-{{data.id}}" value="{{data.id}}">
|
117 |
-
<label for="bp-message-thread-{{data.id}}" class="bp-screen-reader-text"><?php esc_html_e( 'Select
|
118 |
-
</div>
|
119 |
-
<div class="thread-from">
|
120 |
-
<a class="user-link" href="{{data.sender_link}}">
|
121 |
-
<img class="avatar" src="{{data.sender_avatar}}" alt="" />
|
122 |
-
<span class="user-name">{{data.sender_name}}</span>
|
123 |
-
</a>
|
124 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
125 |
<div class="thread-content" data-thread-id="{{data.id}}">
|
126 |
<div class="thread-subject">
|
127 |
<span class="thread-count">({{data.count}})</span>
|
128 |
-
<
|
129 |
</div>
|
130 |
-
<p class="excerpt"
|
131 |
</div>
|
132 |
<div class="thread-date">
|
133 |
<time datetime="{{data.date.toISOString()}}">{{data.display_date}}</time>
|
@@ -228,17 +256,13 @@
|
|
228 |
<div class="actions">
|
229 |
<# if ( undefined !== data.star_link ) { #>
|
230 |
|
231 |
-
<?php
|
|
|
|
|
232 |
|
233 |
-
<# if ( false !== data.is_starred ) { #>
|
234 |
-
<
|
235 |
-
|
236 |
-
</button>
|
237 |
-
<# } else { #>
|
238 |
-
<button type="button" class="message-action-star bp-tooltip bp-icons" data-bp-star-link="{{data.star_link}}" data-bp-action="star" data-bp-tooltip="<?php esc_attr_e( 'Star Message', 'buddypress' ); ?>">
|
239 |
-
<span class="bp-screen-reader-text"><?php esc_html_e( 'Star Message', 'buddypress' ); ?></span>
|
240 |
-
</button>
|
241 |
-
<# } #>
|
242 |
|
243 |
<# } #>
|
244 |
</div>
|
6 |
* dealing with user's private messages.
|
7 |
*
|
8 |
* @since 3.0.0
|
9 |
+
* @version 3.0.0
|
10 |
*/
|
11 |
?>
|
12 |
<div class="subnav-filters filters user-subnav bp-messages-filters" id="subsubnav"></div>
|
13 |
+
|
14 |
<div class="bp-messages-feedback"></div>
|
15 |
+
<div class="bp-messages-content"></div>
|
16 |
+
|
17 |
+
<script type="text/html" id="tmpl-bp-messages-feedback">
|
18 |
+
<div class="bp-feedback {{data.type}}">
|
19 |
+
<span class="bp-icon" aria-hidden="true"></span>
|
20 |
+
<p>{{{data.message}}}</p>
|
21 |
+
</div>
|
22 |
+
</script>
|
23 |
|
24 |
<script type="text/html" id="tmpl-bp-messages-form">
|
25 |
<?php bp_nouveau_messages_hook( 'before', 'compose_content' ); ?>
|
42 |
|
43 |
<script type="text/html" id="tmpl-bp-messages-editor">
|
44 |
<?php
|
45 |
+
// Add a temporary filter on editor buttons
|
46 |
+
add_filter( 'mce_buttons', 'bp_nouveau_messages_mce_buttons', 10, 1 );
|
47 |
|
48 |
wp_editor(
|
49 |
'',
|
59 |
'textarea_rows' => 5,
|
60 |
)
|
61 |
);
|
62 |
+
// Remove the temporary filter on editor buttons
|
63 |
+
remove_filter( 'mce_buttons', 'bp_nouveau_messages_mce_buttons', 10, 1 );
|
64 |
?>
|
65 |
</script>
|
66 |
|
123 |
<script type="text/html" id="tmpl-bp-messages-thread">
|
124 |
<div class="thread-cb">
|
125 |
<input class="message-check" type="checkbox" name="message_ids[]" id="bp-message-thread-{{data.id}}" value="{{data.id}}">
|
126 |
+
<label for="bp-message-thread-{{data.id}}" class="bp-screen-reader-text"><?php esc_html_e( 'Select message:', 'buddypress' ); ?> {{data.subject}}</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
</div>
|
128 |
+
|
129 |
+
<# if ( ! data.recipientsCount ) { #>
|
130 |
+
<div class="thread-from">
|
131 |
+
<a class="user-link" href="{{data.sender_link}}">
|
132 |
+
<img class="avatar" src="{{data.sender_avatar}}" alt="" />
|
133 |
+
<span class="bp-screen-reader-text"><?php esc_html_e( 'From:', 'buddypress' ); ?></span>
|
134 |
+
<span class="user-name">{{data.sender_name}}</span>
|
135 |
+
</a>
|
136 |
+
</div>
|
137 |
+
<# } else {
|
138 |
+
var recipient = _.first( data.recipients );
|
139 |
+
#>
|
140 |
+
<div class="thread-to">
|
141 |
+
<a class="user-link" href="{{recipient.user_link}}">
|
142 |
+
<img class="avatar" src="{{recipient.avatar}}" alt="" />
|
143 |
+
<span class="bp-screen-reader-text"><?php esc_html_e( 'To:', 'buddypress' ); ?></span>
|
144 |
+
<span class="user-name">{{recipient.user_name}}</span>
|
145 |
+
</a>
|
146 |
+
|
147 |
+
<# if ( data.toOthers ) { #>
|
148 |
+
<span class="num-recipients">{{data.toOthers}}</span>
|
149 |
+
<# } #>
|
150 |
+
</div>
|
151 |
+
<# } #>
|
152 |
+
|
153 |
<div class="thread-content" data-thread-id="{{data.id}}">
|
154 |
<div class="thread-subject">
|
155 |
<span class="thread-count">({{data.count}})</span>
|
156 |
+
<a class="subject" href="#view/{{data.id}}">{{data.subject}}</a>
|
157 |
</div>
|
158 |
+
<p class="excerpt">{{data.excerpt}}</p>
|
159 |
</div>
|
160 |
<div class="thread-date">
|
161 |
<time datetime="{{data.date.toISOString()}}">{{data.display_date}}</time>
|
256 |
<div class="actions">
|
257 |
<# if ( undefined !== data.star_link ) { #>
|
258 |
|
259 |
+
<button type="button" class="message-action-unstar bp-tooltip bp-icons <# if ( false === data.is_starred ) { #>bp-hide<# } #>" data-bp-star-link="{{data.star_link}}" data-bp-action="unstar" data-bp-tooltip="<?php esc_attr_e( 'Unstar Message', 'buddypress' ); ?>">
|
260 |
+
<span class="bp-screen-reader-text"><?php esc_html_e( 'Unstar Message', 'buddypress' ); ?></span>
|
261 |
+
</button>
|
262 |
|
263 |
+
<button type="button" class="message-action-star bp-tooltip bp-icons <# if ( false !== data.is_starred ) { #>bp-hide<# } #>" data-bp-star-link="{{data.star_link}}" data-bp-action="star" data-bp-tooltip="<?php esc_attr_e( 'Star Message', 'buddypress' ); ?>">
|
264 |
+
<span class="bp-screen-reader-text"><?php esc_html_e( 'Star Message', 'buddypress' ); ?></span>
|
265 |
+
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
266 |
|
267 |
<# } #>
|
268 |
</div>
|
bp-templates/bp-nouveau/buddypress/common/nav/directory-nav.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Component's directory nav template.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BP Nouveau Component's directory nav template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/common/notices/template-notices.php
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* BP Nouveau
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
<aside class="<?php bp_nouveau_template_message_classes(); ?>">
|
1 |
<?php
|
2 |
/**
|
3 |
+
* BP Nouveau template notices template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
<aside class="<?php bp_nouveau_template_message_classes(); ?>">
|
bp-templates/bp-nouveau/buddypress/common/search-and-filters-bar.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Search & filters bar
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
<div class="subnav-filters filters no-ajax" id="subnav-filters">
|
3 |
* BP Nouveau Search & filters bar
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
<div class="subnav-filters filters no-ajax" id="subnav-filters">
|
bp-templates/bp-nouveau/buddypress/common/search/search-form.php
CHANGED
@@ -1,13 +1,14 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
-
* BP Object search form
|
4 |
-
*
|
5 |
-
* @since 3.0.0
|
6 |
-
|
|
|
7 |
?>
|
8 |
|
9 |
-
<div class="<?php bp_nouveau_search_container_class(); ?> bp-search">
|
10 |
-
<form action="" method="get" class="bp-dir-search-form" id="<?php bp_nouveau_search_selector_id( 'search-form' ); ?>" role="search"
|
11 |
|
12 |
<label for="<?php bp_nouveau_search_selector_id( 'search' ); ?>" class="bp-screen-reader-text"><?php bp_nouveau_search_default_text( '', false ); ?></label>
|
13 |
|
1 |
<?php
|
2 |
/**
|
3 |
+
* BP Object search form
|
4 |
+
*
|
5 |
+
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
+
*/
|
8 |
?>
|
9 |
|
10 |
+
<div class="<?php bp_nouveau_search_container_class(); ?> bp-search" data-bp-search="<?php bp_nouveau_search_object_data_attr() ;?>">
|
11 |
+
<form action="" method="get" class="bp-dir-search-form" id="<?php bp_nouveau_search_selector_id( 'search-form' ); ?>" role="search">
|
12 |
|
13 |
<label for="<?php bp_nouveau_search_selector_id( 'search' ); ?>" class="bp-screen-reader-text"><?php bp_nouveau_search_default_text( '', false ); ?></label>
|
14 |
|
bp-templates/bp-nouveau/buddypress/groups/create-invites.php
DELETED
@@ -1,14 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/**
|
3 |
-
* Group create step invite friends
|
4 |
-
*
|
5 |
-
* This template include provides the standard BP invites step screen content
|
6 |
-
*
|
7 |
-
* @since 3.0.0
|
8 |
-
*/
|
9 |
-
?>
|
10 |
-
|
11 |
-
<?php bp_nouveau_user_feedback( 'create-invite-friends' ); ?>
|
12 |
-
|
13 |
-
<?php
|
14 |
-
bp_new_group_invite_friend_list();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bp-templates/bp-nouveau/buddypress/groups/create.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Groups Create
|
|
|
|
|
4 |
*/
|
5 |
|
6 |
bp_nouveau_groups_create_hook( 'before', 'page' ); ?>
|
@@ -9,7 +11,11 @@ bp_nouveau_groups_create_hook( 'before', 'page' ); ?>
|
|
9 |
|
10 |
<?php bp_nouveau_groups_create_hook( 'before', 'content_template' ); ?>
|
11 |
|
12 |
-
|
|
|
|
|
|
|
|
|
13 |
|
14 |
<?php bp_nouveau_groups_create_hook( 'before' ); ?>
|
15 |
|
@@ -31,7 +37,11 @@ bp_nouveau_groups_create_hook( 'before', 'page' ); ?>
|
|
31 |
|
32 |
<?php bp_nouveau_groups_create_hook( 'after' ); ?>
|
33 |
|
34 |
-
|
|
|
|
|
|
|
|
|
35 |
|
36 |
<?php bp_nouveau_groups_create_hook( 'after', 'content_template' ); ?>
|
37 |
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Groups Create
|
4 |
+
*
|
5 |
+
* @version 3.0.0
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_groups_create_hook( 'before', 'page' ); ?>
|
11 |
|
12 |
<?php bp_nouveau_groups_create_hook( 'before', 'content_template' ); ?>
|
13 |
|
14 |
+
<?php if ( 'group-invites' !== bp_get_groups_current_create_step() ) : ?>
|
15 |
+
<form action="<?php bp_group_creation_form_action(); ?>" method="post" id="create-group-form" class="standard-form" enctype="multipart/form-data">
|
16 |
+
<?php else : ?>
|
17 |
+
<div id="create-group-form" class="standard-form">
|
18 |
+
<?php endif; ?>
|
19 |
|
20 |
<?php bp_nouveau_groups_create_hook( 'before' ); ?>
|
21 |
|
37 |
|
38 |
<?php bp_nouveau_groups_create_hook( 'after' ); ?>
|
39 |
|
40 |
+
<?php if ( 'group-invites' !== bp_get_groups_current_create_step() ) : ?>
|
41 |
+
</form><!-- #create-group-form -->
|
42 |
+
<?php else : ?>
|
43 |
+
</div><!-- #create-group-form -->
|
44 |
+
<?php endif; ?>
|
45 |
|
46 |
<?php bp_nouveau_groups_create_hook( 'after', 'content_template' ); ?>
|
47 |
|
bp-templates/bp-nouveau/buddypress/groups/groups-loop.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Groups Loop
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_before_loop(); ?>
|
3 |
* BuddyPress - Groups Loop
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
bp_nouveau_before_loop(); ?>
|
bp-templates/bp-nouveau/buddypress/groups/index.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau - Groups Directory
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BP Nouveau - Groups Directory
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/groups/single/activity.php
CHANGED
@@ -3,12 +3,16 @@
|
|
3 |
* BuddyPress - Groups Activity
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
?>
|
9 |
|
10 |
-
<?php
|
|
|
|
|
11 |
|
|
|
12 |
|
13 |
<div class="subnav-filters filters clearfix">
|
14 |
|
@@ -23,7 +27,6 @@
|
|
23 |
<?php bp_get_template_part( 'common/filters/groups-screens-filters' ); ?>
|
24 |
</div><!-- // .subnav-filters -->
|
25 |
|
26 |
-
|
27 |
<?php bp_nouveau_group_hook( 'before', 'activity_content' ); ?>
|
28 |
|
29 |
<div id="activity-stream" class="activity single-group" data-bp-list="activity">
|
3 |
* BuddyPress - Groups Activity
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
?>
|
10 |
|
11 |
+
<h2 class="bp-screen-title<?php echo ( ! bp_is_group_home() ) ? ' bp-screen-reader-text' : ''; ?>">
|
12 |
+
<?php esc_html_e( 'Group Activities', 'buddypress' ); ?>
|
13 |
+
</h2>
|
14 |
|
15 |
+
<?php bp_nouveau_groups_activity_post_form(); ?>
|
16 |
|
17 |
<div class="subnav-filters filters clearfix">
|
18 |
|
27 |
<?php bp_get_template_part( 'common/filters/groups-screens-filters' ); ?>
|
28 |
</div><!-- // .subnav-filters -->
|
29 |
|
|
|
30 |
<?php bp_nouveau_group_hook( 'before', 'activity_content' ); ?>
|
31 |
|
32 |
<div id="activity-stream" class="activity single-group" data-bp-list="activity">
|
bp-templates/bp-nouveau/buddypress/groups/single/admin.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Groups Admin
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
bp_get_template_part( 'groups/single/parts/admin-subnav' ); ?>
|
3 |
* BuddyPress - Groups Admin
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
bp_get_template_part( 'groups/single/parts/admin-subnav' ); ?>
|
bp-templates/bp-nouveau/buddypress/groups/single/admin/delete-group.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Group's delete group template.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BP Nouveau Group's delete group template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/groups/single/admin/edit-details.php
CHANGED
@@ -3,11 +3,23 @@
|
|
3 |
* BP Nouveau Group's edit details template.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
<label for="group-name"><?php _e( 'Group Name (required)', 'buddypress' ); ?></label>
|
13 |
<input type="text" name="group-name" id="group-name" value="<?php bp_is_group_create() ? bp_new_group_name() : bp_group_name(); ?>" aria-required="true" />
|
3 |
* BP Nouveau Group's edit details template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
+
|
10 |
+
<?php if ( bp_is_group_create() ) : ?>
|
11 |
+
|
12 |
+
<h3 class="bp-screen-title creation-step-name">
|
13 |
+
<?php _e( 'Enter Group Name & Description', 'buddypress' ); ?>
|
14 |
+
</h3>
|
15 |
+
|
16 |
+
<?php else : ?>
|
17 |
+
|
18 |
+
<h2 class="bp-screen-title">
|
19 |
+
<?php _e( 'Edit Group Name & Description', 'buddypress' ); ?>
|
20 |
+
</h2>
|
21 |
+
|
22 |
+
<?php endif; ?>
|
23 |
|
24 |
<label for="group-name"><?php _e( 'Group Name (required)', 'buddypress' ); ?></label>
|
25 |
<input type="text" name="group-name" id="group-name" value="<?php bp_is_group_create() ? bp_new_group_name() : bp_group_name(); ?>" aria-required="true" />
|
bp-templates/bp-nouveau/buddypress/groups/single/admin/group-avatar.php
CHANGED
@@ -3,11 +3,23 @@
|
|
3 |
* BP Nouveau Group's avatar template.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
-
|
9 |
-
|
10 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
<?php if ( ! bp_is_group_create() ) : ?>
|
13 |
<?php if ( ! bp_get_group_has_avatar() ) : ?>
|
3 |
* BP Nouveau Group's avatar template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
+
|
10 |
+
<?php if ( bp_is_group_create() ) : ?>
|
11 |
+
|
12 |
+
<h3 class="bp-screen-title creation-step-name">
|
13 |
+
<?php esc_html_e( 'Upload Group Avatar', 'buddypress' ); ?>
|
14 |
+
</h3>
|
15 |
+
|
16 |
+
<?php else : ?>
|
17 |
+
|
18 |
+
<h2 class="bp-screen-title">
|
19 |
+
<?php esc_html_e( 'Change Group Avatar', 'buddypress' ); ?>
|
20 |
+
</h2>
|
21 |
+
|
22 |
+
<?php endif; ?>
|
23 |
|
24 |
<?php if ( ! bp_is_group_create() ) : ?>
|
25 |
<?php if ( ! bp_get_group_has_avatar() ) : ?>
|
bp-templates/bp-nouveau/buddypress/groups/single/admin/group-cover-image.php
CHANGED
@@ -3,20 +3,23 @@
|
|
3 |
* BP Nouveau Group's cover image template.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
9 |
<?php if ( bp_is_group_create() ) : ?>
|
10 |
|
11 |
-
<h2 class="bp-screen-title
|
12 |
-
<?php
|
13 |
</h2>
|
14 |
|
15 |
<div id="header-cover-image"></div>
|
16 |
|
17 |
<?php else : ?>
|
18 |
|
19 |
-
<h2 class="bp-screen-title"
|
|
|
|
|
20 |
|
21 |
<?php endif; ?>
|
22 |
|
3 |
* BP Nouveau Group's cover image template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
10 |
<?php if ( bp_is_group_create() ) : ?>
|
11 |
|
12 |
+
<h2 class="bp-screen-title creation-step-name">
|
13 |
+
<?php esc_html_e( 'Upload Cover Image', 'buddypress' ); ?>
|
14 |
</h2>
|
15 |
|
16 |
<div id="header-cover-image"></div>
|
17 |
|
18 |
<?php else : ?>
|
19 |
|
20 |
+
<h2 class="bp-screen-title">
|
21 |
+
<?php esc_html_e( 'Change Cover Image', 'buddypress' ); ?>
|
22 |
+
</h2>
|
23 |
|
24 |
<?php endif; ?>
|
25 |
|
bp-templates/bp-nouveau/buddypress/groups/single/admin/group-settings.php
CHANGED
@@ -3,12 +3,23 @@
|
|
3 |
* BP Nouveau Group's edit settings template.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
<div class="group-settings-selections">
|
14 |
|
3 |
* BP Nouveau Group's edit settings template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
10 |
+
<?php if ( bp_is_group_create() ) : ?>
|
11 |
+
|
12 |
+
<h3 class="bp-screen-title creation-step-name">
|
13 |
+
<?php esc_html_e( 'Select Group Settings', 'buddypress' ); ?>
|
14 |
+
</h3>
|
15 |
+
|
16 |
+
<?php else : ?>
|
17 |
+
|
18 |
+
<h2 class="bp-screen-title">
|
19 |
+
<?php esc_html_e( 'Change Group Settings', 'buddypress' ); ?>
|
20 |
+
</h2>
|
21 |
+
|
22 |
+
<?php endif; ?>
|
23 |
|
24 |
<div class="group-settings-selections">
|
25 |
|
bp-templates/bp-nouveau/buddypress/groups/single/admin/manage-members.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Group's manage members template.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BP Nouveau Group's manage members template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/groups/single/admin/membership-requests.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Group's membership requests template.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BP Nouveau Group's membership requests template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/groups/single/cover-image-header.php
CHANGED
@@ -3,11 +3,12 @@
|
|
3 |
* BuddyPress - Groups Cover Image Header.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
9 |
<div id="cover-image-container">
|
10 |
-
<
|
11 |
|
12 |
<div id="item-header-cover-image">
|
13 |
<?php if ( ! bp_disable_group_avatar_uploads() ) : ?>
|
3 |
* BuddyPress - Groups Cover Image Header.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
10 |
<div id="cover-image-container">
|
11 |
+
<div id="header-cover-image"></div>
|
12 |
|
13 |
<div id="item-header-cover-image">
|
14 |
<?php if ( ! bp_disable_group_avatar_uploads() ) : ?>
|
bp-templates/bp-nouveau/buddypress/groups/single/default-front.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Default group's front template.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BP Nouveau Default group's front template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/groups/single/group-header.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Groups Header
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress - Groups Header
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/groups/single/home.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Groups Home
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
if ( bp_has_groups() ) :
|
3 |
* BuddyPress - Groups Home
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
if ( bp_has_groups() ) :
|
bp-templates/bp-nouveau/buddypress/groups/single/members-loop.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Group Members Loop template
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
@@ -34,7 +35,7 @@
|
|
34 |
<div class="item">
|
35 |
|
36 |
<div class="item-block">
|
37 |
-
<
|
38 |
|
39 |
<p class="joined item-meta">
|
40 |
<?php bp_group_member_joined_since(); ?>
|
3 |
* Group Members Loop template
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
35 |
<div class="item">
|
36 |
|
37 |
<div class="item-block">
|
38 |
+
<h3 class="list-title member-name"><?php bp_group_member_link(); ?></h3>
|
39 |
|
40 |
<p class="joined item-meta">
|
41 |
<?php bp_group_member_joined_since(); ?>
|
bp-templates/bp-nouveau/buddypress/groups/single/members.php
CHANGED
@@ -3,17 +3,22 @@
|
|
3 |
* BuddyPress - Groups Members
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
9 |
|
10 |
-
|
11 |
|
12 |
-
|
13 |
|
14 |
-
|
15 |
|
16 |
-
|
|
|
|
|
|
|
|
|
17 |
|
18 |
|
19 |
<div id="members-group-list" class="group_members dir-list" data-bp-list="group_members">
|
3 |
* BuddyPress - Groups Members
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
10 |
|
11 |
+
<div class="subnav-filters filters clearfix no-subnav">
|
12 |
|
13 |
+
<?php bp_nouveau_search_form(); ?>
|
14 |
|
15 |
+
<?php bp_get_template_part( 'common/filters/groups-screens-filters' ); ?>
|
16 |
|
17 |
+
</div>
|
18 |
+
|
19 |
+
<h2 class="bp-screen-title">
|
20 |
+
<?php esc_html_e( 'Membership List', 'buddypress' ); ?>
|
21 |
+
</h2>
|
22 |
|
23 |
|
24 |
<div id="members-group-list" class="group_members dir-list" data-bp-list="group_members">
|
bp-templates/bp-nouveau/buddypress/groups/single/parts/admin-subnav.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress Single Groups Admin Navigation
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress Single Groups Admin Navigation
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/groups/single/parts/header-item-actions.php
CHANGED
@@ -3,12 +3,15 @@
|
|
3 |
* BuddyPress - Groups Header item-actions.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
<div id="item-actions" class="group-item-actions">
|
9 |
|
10 |
<?php if ( bp_current_user_can( 'groups_access_group' ) ) : ?>
|
11 |
|
|
|
|
|
12 |
<dl class="moderators-lists">
|
13 |
<dt class="moderators-title"><?php _e( 'Group Admins', 'buddypress' ); ?></dt>
|
14 |
<dd class="user-list admins"><?php bp_group_list_admins(); ?>
|
3 |
* BuddyPress - Groups Header item-actions.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
<div id="item-actions" class="group-item-actions">
|
10 |
|
11 |
<?php if ( bp_current_user_can( 'groups_access_group' ) ) : ?>
|
12 |
|
13 |
+
<h2 class="bp-screen-reader-text"><?php esc_html_e( 'Leadership', 'buddypress' ); ?></h2>
|
14 |
+
|
15 |
<dl class="moderators-lists">
|
16 |
<dt class="moderators-title"><?php _e( 'Group Admins', 'buddypress' ); ?></dt>
|
17 |
<dd class="user-list admins"><?php bp_group_list_admins(); ?>
|
bp-templates/bp-nouveau/buddypress/groups/single/parts/item-nav.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress Single Groups item Navigation
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress Single Groups item Navigation
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/groups/single/plugins.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Groups plugins
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_group_hook( 'before', 'plugin_template' );
|
3 |
* BuddyPress - Groups plugins
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
bp_nouveau_group_hook( 'before', 'plugin_template' );
|
bp-templates/bp-nouveau/buddypress/groups/single/request-membership.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Groups Request Membership
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_group_hook( 'before', 'request_membership_content' ); ?>
|
3 |
* BuddyPress - Groups Request Membership
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
bp_nouveau_group_hook( 'before', 'request_membership_content' ); ?>
|
bp-templates/bp-nouveau/buddypress/groups/single/requests-loop.php
CHANGED
@@ -3,25 +3,42 @@
|
|
3 |
* BuddyPress - Groups Requests Loop
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
9 |
<?php if ( bp_group_has_membership_requests( bp_ajax_querystring( 'membership_requests' ) ) ) : ?>
|
10 |
|
|
|
|
|
|
|
|
|
11 |
<?php bp_nouveau_pagination( 'top' ); ?>
|
12 |
|
13 |
-
<ul id="request-list" class="item-list bp-list">
|
14 |
<?php
|
15 |
while ( bp_group_membership_requests() ) :
|
16 |
bp_group_the_membership_request();
|
17 |
?>
|
18 |
|
19 |
<li>
|
20 |
-
|
21 |
-
|
22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
24 |
-
|
25 |
|
26 |
<?php bp_nouveau_groups_request_buttons(); ?>
|
27 |
</li>
|
3 |
* BuddyPress - Groups Requests Loop
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
10 |
<?php if ( bp_group_has_membership_requests( bp_ajax_querystring( 'membership_requests' ) ) ) : ?>
|
11 |
|
12 |
+
<h2 class="bp-screen-title">
|
13 |
+
<?php esc_html_e( 'Manage Membership Requests', 'buddypress' ); ?>
|
14 |
+
</h2>
|
15 |
+
|
16 |
<?php bp_nouveau_pagination( 'top' ); ?>
|
17 |
|
18 |
+
<ul id="request-list" class="item-list bp-list membership-requests-list">
|
19 |
<?php
|
20 |
while ( bp_group_membership_requests() ) :
|
21 |
bp_group_the_membership_request();
|
22 |
?>
|
23 |
|
24 |
<li>
|
25 |
+
<div class="item-avatar">
|
26 |
+
<?php bp_group_request_user_avatar_thumb(); ?>
|
27 |
+
</div>
|
28 |
+
|
29 |
+
<div class="item">
|
30 |
+
|
31 |
+
<div class="item-title">
|
32 |
+
<h3><?php bp_group_request_user_link(); ?></h3>
|
33 |
+
</div>
|
34 |
+
|
35 |
+
<div class="item-meta">
|
36 |
+
<span class="comments"><?php bp_group_request_comment(); ?></span>
|
37 |
+
<span class="activity"><?php bp_group_request_time_since_requested(); ?></span>
|
38 |
+
<?php bp_nouveau_group_hook( '', 'membership_requests_admin_item' ); ?>
|
39 |
+
</div>
|
40 |
|
41 |
+
</div>
|
42 |
|
43 |
<?php bp_nouveau_groups_request_buttons(); ?>
|
44 |
</li>
|
bp-templates/bp-nouveau/buddypress/groups/single/send-invites.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Groups Send Invites
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
// Runs do_action & calls common/js-templates/invites/index
|
8 |
bp_nouveau_group_invites_interface();
|
3 |
* BuddyPress - Groups Send Invites
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
// Runs do_action & calls common/js-templates/invites/index
|
9 |
bp_nouveau_group_invites_interface();
|
bp-templates/bp-nouveau/buddypress/members/activate.php
CHANGED
@@ -1,8 +1,9 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Members Activate
|
|
|
|
|
4 |
*/
|
5 |
-
|
6 |
?>
|
7 |
|
8 |
<?php bp_nouveau_activation_hook( 'before', 'page' ); ?>
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Members Activate
|
4 |
+
*
|
5 |
+
* @version 3.0.0
|
6 |
*/
|
|
|
7 |
?>
|
8 |
|
9 |
<?php bp_nouveau_activation_hook( 'before', 'page' ); ?>
|
bp-templates/bp-nouveau/buddypress/members/index.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress Members Directory
|
|
|
|
|
4 |
*/
|
5 |
|
6 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress Members Directory
|
4 |
+
*
|
5 |
+
* @version 3.0.0
|
6 |
*/
|
7 |
|
8 |
?>
|
bp-templates/bp-nouveau/buddypress/members/members-loop.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Members Loop
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_before_loop(); ?>
|
3 |
* BuddyPress - Members Loop
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
bp_nouveau_before_loop(); ?>
|
bp-templates/bp-nouveau/buddypress/members/register.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Members/Blogs Registration forms
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
?>
|
3 |
* BuddyPress - Members/Blogs Registration forms
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
?>
|
bp-templates/bp-nouveau/buddypress/members/single/activity.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Users Activity
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
?>
|
@@ -15,8 +16,11 @@
|
|
15 |
</ul>
|
16 |
</nav><!-- .item-list-tabs#subnav -->
|
17 |
|
18 |
-
<?php
|
|
|
|
|
19 |
|
|
|
20 |
|
21 |
<?php bp_get_template_part( 'common/search-and-filters-bar' ); ?>
|
22 |
|
3 |
* BuddyPress - Users Activity
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
?>
|
16 |
</ul>
|
17 |
</nav><!-- .item-list-tabs#subnav -->
|
18 |
|
19 |
+
<h2 class="bp-screen-title<?php echo ( bp_displayed_user_has_front_template() ) ? ' bp-screen-reader-text' : ''; ?>">
|
20 |
+
<?php esc_html_e( 'Member Activities', 'buddypress' ); ?>
|
21 |
+
</h2>
|
22 |
|
23 |
+
<?php bp_nouveau_activity_member_post_form(); ?>
|
24 |
|
25 |
<?php bp_get_template_part( 'common/search-and-filters-bar' ); ?>
|
26 |
|
bp-templates/bp-nouveau/buddypress/members/single/blogs.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Users Blogs
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress - Users Blogs
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/members/single/cover-image-header.php
CHANGED
@@ -3,11 +3,12 @@
|
|
3 |
* BuddyPress - Users Cover Image Header
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
9 |
<div id="cover-image-container">
|
10 |
-
<
|
11 |
|
12 |
<div id="item-header-cover-image">
|
13 |
<div id="item-header-avatar">
|
3 |
* BuddyPress - Users Cover Image Header
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
10 |
<div id="cover-image-container">
|
11 |
+
<div id="header-cover-image"></div>
|
12 |
|
13 |
<div id="item-header-cover-image">
|
14 |
<div id="item-header-avatar">
|
bp-templates/bp-nouveau/buddypress/members/single/default-front.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Default user's front template.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BP Nouveau Default user's front template.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/members/single/friends.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Users Friends
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress - Users Friends
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/members/single/friends/requests.php
CHANGED
@@ -3,9 +3,13 @@
|
|
3 |
* BuddyPress - Members Friends Requests
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
|
|
7 |
|
8 |
-
|
|
|
|
|
9 |
|
10 |
<?php if ( bp_has_members( 'type=alphabetical&include=' . bp_get_friendship_requests() ) ) : ?>
|
11 |
|
3 |
* BuddyPress - Members Friends Requests
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
+
?>
|
9 |
|
10 |
+
<h2 class="screen-heading friendship-requests-screen"><?php esc_html_e( 'Friendship Requests', 'buddypress' ); ?></h2>
|
11 |
+
|
12 |
+
<?php bp_nouveau_member_hook( 'before', 'friend_requests_content' ); ?>
|
13 |
|
14 |
<?php if ( bp_has_members( 'type=alphabetical&include=' . bp_get_friendship_requests() ) ) : ?>
|
15 |
|
bp-templates/bp-nouveau/buddypress/members/single/groups.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Users Groups
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress - Users Groups
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/members/single/groups/invites.php
CHANGED
@@ -3,9 +3,13 @@
|
|
3 |
* BuddyPress - Members Single Group Invites
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
|
|
7 |
|
8 |
-
|
|
|
|
|
9 |
|
10 |
<?php if ( bp_has_groups( 'type=invites&user_id=' . bp_loggedin_user_id() ) ) : ?>
|
11 |
|
3 |
* BuddyPress - Members Single Group Invites
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
+
?>
|
9 |
|
10 |
+
<h2 class="screen-heading group-invites-screen"><?php esc_html_e( 'Group Invites', 'buddypress' ); ?></h2>
|
11 |
+
|
12 |
+
<?php bp_nouveau_group_hook( 'before', 'invites_content' ); ?>
|
13 |
|
14 |
<?php if ( bp_has_groups( 'type=invites&user_id=' . bp_loggedin_user_id() ) ) : ?>
|
15 |
|
bp-templates/bp-nouveau/buddypress/members/single/home.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Members Home
|
4 |
*
|
5 |
* @since 1.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress - Members Home
|
4 |
*
|
5 |
* @since 1.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/members/single/member-header.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Users Header
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress - Users Header
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/members/single/messages.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Users Messages
|
|
|
|
|
4 |
*/
|
5 |
?>
|
6 |
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Users Messages
|
4 |
+
*
|
5 |
+
* @version 3.0.0
|
6 |
*/
|
7 |
?>
|
8 |
|
bp-templates/bp-nouveau/buddypress/members/single/notifications.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Users Notifications
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress - Users Notifications
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/members/single/notifications/notifications-loop.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Members Notifications Loop
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
if ( bp_has_notifications( bp_ajax_querystring( 'notifications' ) ) ) :
|
3 |
* BuddyPress - Members Notifications Loop
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
if ( bp_has_notifications( bp_ajax_querystring( 'notifications' ) ) ) :
|
bp-templates/bp-nouveau/buddypress/members/single/parts/item-nav.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress Single Members item Navigation
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress Single Members item Navigation
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/members/single/parts/item-subnav.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress Single Members item Sub Navigation
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress Single Members item Sub Navigation
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/members/single/parts/profile-visibility.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Members Single Profile Edit Field visibility
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
if ( empty( $GLOBALS['profile_template'] ) ) {
|
3 |
* BuddyPress - Members Single Profile Edit Field visibility
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
if ( empty( $GLOBALS['profile_template'] ) ) {
|
bp-templates/bp-nouveau/buddypress/members/single/plugins.php
CHANGED
@@ -6,6 +6,7 @@
|
|
6 |
* support to their plugins for the members component.
|
7 |
*
|
8 |
* @since 3.0.0
|
|
|
9 |
*/
|
10 |
|
11 |
bp_nouveau_member_hook( 'before', 'plugin_template' ); ?>
|
6 |
* support to their plugins for the members component.
|
7 |
*
|
8 |
* @since 3.0.0
|
9 |
+
* @version 3.0.0
|
10 |
*/
|
11 |
|
12 |
bp_nouveau_member_hook( 'before', 'plugin_template' ); ?>
|
bp-templates/bp-nouveau/buddypress/members/single/profile.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Users Profile
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
@@ -14,7 +15,7 @@
|
|
14 |
</ul>
|
15 |
</nav><!-- .item-list-tabs -->
|
16 |
|
17 |
-
<?php
|
18 |
|
19 |
<div class="profile <?php echo bp_current_action(); ?>">
|
20 |
|
@@ -58,4 +59,4 @@ endswitch;
|
|
58 |
</div><!-- .profile -->
|
59 |
|
60 |
<?php
|
61 |
-
|
3 |
* BuddyPress - Users Profile
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
15 |
</ul>
|
16 |
</nav><!-- .item-list-tabs -->
|
17 |
|
18 |
+
<?php bp_nouveau_member_hook( 'before', 'profile_content' ); ?>
|
19 |
|
20 |
<div class="profile <?php echo bp_current_action(); ?>">
|
21 |
|
59 |
</div><!-- .profile -->
|
60 |
|
61 |
<?php
|
62 |
+
bp_nouveau_member_hook( 'after', 'profile_content' );
|
bp-templates/bp-nouveau/buddypress/members/single/profile/change-avatar.php
CHANGED
@@ -3,12 +3,13 @@
|
|
3 |
* BuddyPress - Members Profile Change Avatar
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
9 |
-
<h2 class="screen-heading"><?php _e( 'Change Profile Photo', 'buddypress' ); ?></h2>
|
10 |
|
11 |
-
<?php
|
12 |
|
13 |
<?php if ( ! (int) bp_get_option( 'bp-disable-avatar-uploads' ) ) : ?>
|
14 |
|
@@ -78,4 +79,4 @@
|
|
78 |
<?php endif; ?>
|
79 |
|
80 |
<?php
|
81 |
-
|
3 |
* BuddyPress - Members Profile Change Avatar
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
10 |
+
<h2 class="screen-heading change-avatar-screen"><?php _e( 'Change Profile Photo', 'buddypress' ); ?></h2>
|
11 |
|
12 |
+
<?php bp_nouveau_member_hook( 'before', 'avatar_upload_content' ); ?>
|
13 |
|
14 |
<?php if ( ! (int) bp_get_option( 'bp-disable-avatar-uploads' ) ) : ?>
|
15 |
|
79 |
<?php endif; ?>
|
80 |
|
81 |
<?php
|
82 |
+
bp_nouveau_member_hook( 'after', 'avatar_upload_content' );
|
bp-templates/bp-nouveau/buddypress/members/single/profile/change-cover-image.php
CHANGED
@@ -3,13 +3,14 @@
|
|
3 |
* BuddyPress - Members Profile Change Cover Image
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
?>
|
9 |
|
10 |
-
<h2 class="screen-heading"><?php _e( 'Change Cover Image', 'buddypress' ); ?></h2>
|
11 |
|
12 |
-
<?php
|
13 |
|
14 |
<p class="info bp-feedback">
|
15 |
<span class="bp-icon" aria-hidden="true"></span>
|
@@ -20,4 +21,4 @@
|
|
20 |
// Load the cover image UI
|
21 |
bp_attachments_get_template_part( 'cover-images/index' );
|
22 |
|
23 |
-
|
3 |
* BuddyPress - Members Profile Change Cover Image
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
?>
|
10 |
|
11 |
+
<h2 class="screen-heading change-cover-image-screen"><?php _e( 'Change Cover Image', 'buddypress' ); ?></h2>
|
12 |
|
13 |
+
<?php bp_nouveau_member_hook( 'before', 'edit_cover_image' ); ?>
|
14 |
|
15 |
<p class="info bp-feedback">
|
16 |
<span class="bp-icon" aria-hidden="true"></span>
|
21 |
// Load the cover image UI
|
22 |
bp_attachments_get_template_part( 'cover-images/index' );
|
23 |
|
24 |
+
bp_nouveau_member_hook( 'after', 'edit_cover_image' );
|
bp-templates/bp-nouveau/buddypress/members/single/profile/edit.php
CHANGED
@@ -3,11 +3,14 @@
|
|
3 |
* BuddyPress - Members Single Profile Edit
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
-
bp_nouveau_xprofile_hook( 'before', 'edit_content' );
|
9 |
|
10 |
-
|
|
|
|
|
11 |
while ( bp_profile_groups() ) :
|
12 |
bp_the_profile_group();
|
13 |
?>
|
@@ -24,7 +27,7 @@ if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() ) )
|
|
24 |
</ul>
|
25 |
<?php endif; ?>
|
26 |
|
27 |
-
<
|
28 |
|
29 |
<?php
|
30 |
while ( bp_profile_fields() ) :
|
3 |
* BuddyPress - Members Single Profile Edit
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
+
bp_nouveau_xprofile_hook( 'before', 'edit_content' ); ?>
|
10 |
|
11 |
+
<h2 class="screen-heading edit-profile-screen"><?php esc_html_e( 'Edit Profile', 'buddypress' ); ?></h2>
|
12 |
+
|
13 |
+
<?php if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() ) ) :
|
14 |
while ( bp_profile_groups() ) :
|
15 |
bp_the_profile_group();
|
16 |
?>
|
27 |
</ul>
|
28 |
<?php endif; ?>
|
29 |
|
30 |
+
<h3 class="screen-heading profile-group-title edit"><?php printf( __( 'Editing \'%s\' Profile Group', 'buddypress' ), bp_get_the_profile_group_name() ); ?></h3>
|
31 |
|
32 |
<?php
|
33 |
while ( bp_profile_fields() ) :
|
bp-templates/bp-nouveau/buddypress/members/single/profile/profile-loop.php
CHANGED
@@ -3,9 +3,14 @@
|
|
3 |
* BuddyPress - Members Profile Loop
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
-
|
|
|
|
|
|
|
|
|
9 |
|
10 |
<?php if ( bp_has_profile() ) : ?>
|
11 |
|
@@ -20,9 +25,9 @@ bp_nouveau_xprofile_hook( 'before', 'loop_content' ); ?>
|
|
20 |
|
21 |
<div class="bp-widget <?php bp_the_profile_group_slug(); ?>">
|
22 |
|
23 |
-
<
|
24 |
<?php bp_the_profile_group_name(); ?>
|
25 |
-
</
|
26 |
|
27 |
<table class="profile-fields bp-tables-user">
|
28 |
|
3 |
* BuddyPress - Members Profile Loop
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
+
?>
|
10 |
+
|
11 |
+
<h2 class="screen-heading view-profile-screen"><?php _e( 'View Profile', 'buddypress' ); ?></h2>
|
12 |
+
|
13 |
+
<?php bp_nouveau_xprofile_hook( 'before', 'loop_content' ); ?>
|
14 |
|
15 |
<?php if ( bp_has_profile() ) : ?>
|
16 |
|
25 |
|
26 |
<div class="bp-widget <?php bp_the_profile_group_slug(); ?>">
|
27 |
|
28 |
+
<h3 class="screen-heading profile-group-title">
|
29 |
<?php bp_the_profile_group_name(); ?>
|
30 |
+
</h3>
|
31 |
|
32 |
<table class="profile-fields bp-tables-user">
|
33 |
|
bp-templates/bp-nouveau/buddypress/members/single/profile/profile-wp.php
CHANGED
@@ -3,13 +3,14 @@
|
|
3 |
* BuddyPress - Members Single Profile WP
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_wp_profile_hooks( 'before' ); ?>
|
9 |
|
10 |
<div class="bp-widget wp-profile">
|
11 |
|
12 |
-
<h2 class="screen-heading">
|
13 |
<?php
|
14 |
if ( bp_is_my_profile() ) {
|
15 |
_e( 'My Profile', 'buddypress' );
|
3 |
* BuddyPress - Members Single Profile WP
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
bp_nouveau_wp_profile_hooks( 'before' ); ?>
|
10 |
|
11 |
<div class="bp-widget wp-profile">
|
12 |
|
13 |
+
<h2 class="screen-heading wp-profile-screen">
|
14 |
<?php
|
15 |
if ( bp_is_my_profile() ) {
|
16 |
_e( 'My Profile', 'buddypress' );
|
bp-templates/bp-nouveau/buddypress/members/single/settings.php
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Users Settings
|
|
|
|
|
4 |
*/
|
5 |
|
6 |
?>
|
1 |
<?php
|
2 |
/**
|
3 |
* BuddyPress - Users Settings
|
4 |
+
*
|
5 |
+
* @version 3.0.0
|
6 |
*/
|
7 |
|
8 |
?>
|
bp-templates/bp-nouveau/buddypress/members/single/settings/capabilities.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Members Settings ( Capabilities )
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
|
3 |
* BuddyPress - Members Settings ( Capabilities )
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
|
bp-templates/bp-nouveau/buddypress/members/single/settings/delete-account.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Members Settings ( Delete Account )
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
|
3 |
* BuddyPress - Members Settings ( Delete Account )
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
|
bp-templates/bp-nouveau/buddypress/members/single/settings/general.php
CHANGED
@@ -3,11 +3,12 @@
|
|
3 |
* BuddyPress - Members Settings ( General )
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
|
9 |
|
10 |
-
<h2 class="screen-heading
|
11 |
<?php _e( 'Email & Password', 'buddypress' ); ?>
|
12 |
</h2>
|
13 |
|
3 |
* BuddyPress - Members Settings ( General )
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
|
10 |
|
11 |
+
<h2 class="screen-heading general-settings-screen">
|
12 |
<?php _e( 'Email & Password', 'buddypress' ); ?>
|
13 |
</h2>
|
14 |
|
bp-templates/bp-nouveau/buddypress/members/single/settings/group-invites.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Members Settings ( Group Invites )
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
?>
|
8 |
|
3 |
* BuddyPress - Members Settings ( Group Invites )
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
?>
|
9 |
|
bp-templates/bp-nouveau/buddypress/members/single/settings/notifications.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Members Settings ( Notifications )
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
|
3 |
* BuddyPress - Members Settings ( Notifications )
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
|
bp-templates/bp-nouveau/buddypress/members/single/settings/profile.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BuddyPress - Members Settings ( Profile )
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
|
3 |
* BuddyPress - Members Settings ( Profile )
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
bp_nouveau_member_hook( 'before', 'settings_template' ); ?>
|
bp-templates/bp-nouveau/common-styles/_bp-mixins.scss
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
//
|
2 |
// BuddyPress Sass Mixins
|
3 |
//
|
|
|
4 |
|
5 |
// This file provides some basic mixins for BP elements
|
6 |
// such as box sizing, radius, calc etc
|
@@ -142,7 +143,7 @@
|
|
142 |
|
143 |
// These two mixins add hide/show properties for clicked/focussed elements.
|
144 |
// They may be added to existing rulesets or added to a class selector
|
145 |
-
// rulesets to use
|
146 |
|
147 |
// Convenience helper to add hide properties to rulesets
|
148 |
|
@@ -162,7 +163,7 @@
|
|
162 |
}
|
163 |
|
164 |
// Box model - defaults to value 'border-box'
|
165 |
-
// Vendor prefixes are
|
166 |
// consider removing
|
167 |
|
168 |
@mixin box-model($box-type: null) {
|
@@ -249,7 +250,7 @@
|
|
249 |
|
250 |
// Flexbox Mixins
|
251 |
|
252 |
-
// Set display to box flex & set the
|
253 |
// shorthand for flex-direction & flex wrap - default ( row wrap )
|
254 |
|
255 |
@mixin flex-box-dir($flex-dir: "row", $flex-wrap: "nowrap") {
|
@@ -302,7 +303,7 @@
|
|
302 |
// using flexbox. This is a progressive enhancement,
|
303 |
// it won't work in all browsers, older browser will simply
|
304 |
// fall back to non centered or using older techniques.
|
305 |
-
// N.B It would be
|
306 |
|
307 |
@mixin center-vert() {
|
308 |
display: -webkit-box; // older
|
@@ -360,7 +361,7 @@
|
|
360 |
margin: 0 $marg-sml 0 0;
|
361 |
|
362 |
a,
|
363 |
-
span {
|
364 |
background: none;
|
365 |
border: none;
|
366 |
display: block;
|
@@ -373,6 +374,10 @@
|
|
373 |
}
|
374 |
}
|
375 |
|
|
|
|
|
|
|
|
|
376 |
li.current {
|
377 |
border-color: $bp-border-dark $bp-border-dark #fff;
|
378 |
border-style: solid;
|
@@ -383,6 +388,7 @@
|
|
383 |
padding: 0 $pad-sml 1px;
|
384 |
|
385 |
a {
|
|
|
386 |
color: $black;
|
387 |
}
|
388 |
}
|
1 |
//
|
2 |
// BuddyPress Sass Mixins
|
3 |
//
|
4 |
+
// @version 3.0.0
|
5 |
|
6 |
// This file provides some basic mixins for BP elements
|
7 |
// such as box sizing, radius, calc etc
|
143 |
|
144 |
// These two mixins add hide/show properties for clicked/focussed elements.
|
145 |
// They may be added to existing rulesets or added to a class selector
|
146 |
+
// rulesets to use hardcoded to template markup.
|
147 |
|
148 |
// Convenience helper to add hide properties to rulesets
|
149 |
|
163 |
}
|
164 |
|
165 |
// Box model - defaults to value 'border-box'
|
166 |
+
// Vendor prefixes are pretty much redundant for this property,
|
167 |
// consider removing
|
168 |
|
169 |
@mixin box-model($box-type: null) {
|
250 |
|
251 |
// Flexbox Mixins
|
252 |
|
253 |
+
// Set display to box flex & set the direction and wrapping behavior
|
254 |
// shorthand for flex-direction & flex wrap - default ( row wrap )
|
255 |
|
256 |
@mixin flex-box-dir($flex-dir: "row", $flex-wrap: "nowrap") {
|
303 |
// using flexbox. This is a progressive enhancement,
|
304 |
// it won't work in all browsers, older browser will simply
|
305 |
// fall back to non centered or using older techniques.
|
306 |
+
// N.B It would be preferable to remove the older property syntax
|
307 |
|
308 |
@mixin center-vert() {
|
309 |
display: -webkit-box; // older
|
361 |
margin: 0 $marg-sml 0 0;
|
362 |
|
363 |
a,
|
364 |
+
span:not(.count) {
|
365 |
background: none;
|
366 |
border: none;
|
367 |
display: block;
|
374 |
}
|
375 |
}
|
376 |
|
377 |
+
li:not(.current) {
|
378 |
+
margin-bottom: 2px;
|
379 |
+
}
|
380 |
+
|
381 |
li.current {
|
382 |
border-color: $bp-border-dark $bp-border-dark #fff;
|
383 |
border-style: solid;
|
388 |
padding: 0 $pad-sml 1px;
|
389 |
|
390 |
a {
|
391 |
+
background: none;
|
392 |
color: $black;
|
393 |
}
|
394 |
}
|
bp-templates/bp-nouveau/common-styles/_bp-variables.scss
CHANGED
@@ -1,12 +1,13 @@
|
|
1 |
//
|
2 |
// BuddyPress scss Variables
|
3 |
//
|
|
|
4 |
|
5 |
// This file provides colors, and any other values that benefit
|
6 |
// from a variable definition that can be managed and changed from one
|
7 |
// central position for all instances of the property/value.
|
8 |
|
9 |
-
// Spacing values - used
|
10 |
// to adjust values in a grouped manner.
|
11 |
|
12 |
$pad-xsml: 0.3em !default;
|
@@ -53,7 +54,7 @@ $focussed-border-clr: rgba(31, 179, 221, 0.9) !default; // textareas? e.g whats
|
|
53 |
|
54 |
// Message colors
|
55 |
|
56 |
-
// used on text == red & input validation
|
57 |
$warn: #b71717 !default;
|
58 |
$valid: #91cc2c !default;
|
59 |
|
1 |
//
|
2 |
// BuddyPress scss Variables
|
3 |
//
|
4 |
+
// @version 3.0.0
|
5 |
|
6 |
// This file provides colors, and any other values that benefit
|
7 |
// from a variable definition that can be managed and changed from one
|
8 |
// central position for all instances of the property/value.
|
9 |
|
10 |
+
// Spacing values - used primarily for main elements to allow us
|
11 |
// to adjust values in a grouped manner.
|
12 |
|
13 |
$pad-xsml: 0.3em !default;
|
54 |
|
55 |
// Message colors
|
56 |
|
57 |
+
// used on text == red & input validation pseudo classes
|
58 |
$warn: #b71717 !default;
|
59 |
$valid: #91cc2c !default;
|
60 |
|
bp-templates/bp-nouveau/common-styles/_bp_activity_comments.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP activity comment entries in response to activity loop entries
|
|
|
2 |
.buddypress-wrap {
|
3 |
|
4 |
.activity-comments {
|
1 |
// BP activity comment entries in response to activity loop entries
|
2 |
+
// @version 3.0.0
|
3 |
.buddypress-wrap {
|
4 |
|
5 |
.activity-comments {
|
bp-templates/bp-nouveau/common-styles/_bp_activity_entries.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
// BP Activity Entries - activity loop
|
2 |
-
|
3 |
|
4 |
.activity-list {
|
5 |
|
@@ -30,6 +30,7 @@
|
|
30 |
width: auto;
|
31 |
|
32 |
img {
|
|
|
33 |
max-width: 40%;
|
34 |
}
|
35 |
}
|
1 |
// BP Activity Entries - activity loop
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
.activity-list {
|
5 |
|
30 |
width: auto;
|
31 |
|
32 |
img {
|
33 |
+
height: auto;
|
34 |
max-width: 40%;
|
35 |
}
|
36 |
}
|
bp-templates/bp-nouveau/common-styles/_bp_animations.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// Provides any animation or transition type effects for BP elements
|
|
|
2 |
|
3 |
// Fade in hover transition
|
4 |
#buddypress-wrap {
|
1 |
// Provides any animation or transition type effects for BP elements
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
// Fade in hover transition
|
5 |
#buddypress-wrap {
|
bp-templates/bp-nouveau/common-styles/_bp_blogs_loop.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Blogs loop.
|
|
|
2 |
|
3 |
.buddypress-wrap {
|
4 |
|
1 |
// BP Blogs loop.
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
.buddypress-wrap {
|
5 |
|
bp-templates/bp-nouveau/common-styles/_bp_buttons.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Buttons, Submits, Icons and general clicky things styling.
|
|
|
2 |
|
3 |
// Buttons by default are styled as simple boxes but we may
|
4 |
// change that by adding a parent class ( on any close parent to
|
@@ -231,6 +232,11 @@
|
|
231 |
.create-button { // the parent, i.e li element.
|
232 |
background: none;
|
233 |
|
|
|
|
|
|
|
|
|
|
|
234 |
@include medium-up {
|
235 |
float: right;
|
236 |
}
|
1 |
// BP Buttons, Submits, Icons and general clicky things styling.
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
// Buttons by default are styled as simple boxes but we may
|
5 |
// change that by adding a parent class ( on any close parent to
|
232 |
.create-button { // the parent, i.e li element.
|
233 |
background: none;
|
234 |
|
235 |
+
a:focus,
|
236 |
+
a:hover {
|
237 |
+
text-decoration: underline;
|
238 |
+
}
|
239 |
+
|
240 |
@include medium-up {
|
241 |
float: right;
|
242 |
}
|
bp-templates/bp-nouveau/common-styles/_bp_comment_form.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Activity Comments Form
|
|
|
2 |
form.ac-form {
|
3 |
display: none;
|
4 |
padding: $pad-med;
|
1 |
// BP Activity Comments Form
|
2 |
+
// @version 3.0.0
|
3 |
form.ac-form {
|
4 |
display: none;
|
5 |
padding: $pad-med;
|
bp-templates/bp-nouveau/common-styles/_bp_cover_image.scss
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
// Cover image container generic styles.
|
2 |
// These properties manage the required positioning of
|
3 |
// the image container overlay.
|
|
|
4 |
|
5 |
/*
|
6 |
* Default required cover image rules
|
1 |
// Cover image container generic styles.
|
2 |
// These properties manage the required positioning of
|
3 |
// the image container overlay.
|
4 |
+
// @version 3.0.0
|
5 |
|
6 |
/*
|
7 |
* Default required cover image rules
|
bp-templates/bp-nouveau/common-styles/_bp_filters.scss
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
// BP Directory Filters
|
2 |
// Specific Styling & Positioning
|
3 |
// N.B. See _bp_navigation for additional rules and properties.
|
|
|
4 |
.buddypress-wrap {
|
5 |
|
6 |
.dir-component-filters { // ul
|
@@ -189,4 +190,15 @@
|
|
189 |
}
|
190 |
}
|
191 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
} // close .buddypress-wrap
|
1 |
// BP Directory Filters
|
2 |
// Specific Styling & Positioning
|
3 |
// N.B. See _bp_navigation for additional rules and properties.
|
4 |
+
// @version 3.0.0.
|
5 |
.buddypress-wrap {
|
6 |
|
7 |
.dir-component-filters { // ul
|
190 |
}
|
191 |
}
|
192 |
|
193 |
+
.group-subnav-filters {
|
194 |
+
|
195 |
+
.group-invites-search {
|
196 |
+
margin-bottom: 1em;
|
197 |
+
}
|
198 |
+
|
199 |
+
.last {
|
200 |
+
text-align: center;
|
201 |
+
}
|
202 |
+
}
|
203 |
+
|
204 |
} // close .buddypress-wrap
|
bp-templates/bp-nouveau/common-styles/_bp_forms.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Forms Elements Global Styles
|
|
|
2 |
|
3 |
// Some essential classes used for forms elements:
|
4 |
// labels - sizing especially for standalone controls
|
1 |
// BP Forms Elements Global Styles
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
// Some essential classes used for forms elements:
|
5 |
// labels - sizing especially for standalone controls
|
bp-templates/bp-nouveau/common-styles/_bp_general_classes.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP General CLasses: screen reader, clearfix etc.
|
|
|
2 |
|
3 |
.bp-screen-reader-text {
|
4 |
// See also _bp_mixins for mixin to add properties on block
|
1 |
// BP General CLasses: screen reader, clearfix etc.
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
.bp-screen-reader-text {
|
5 |
// See also _bp_mixins for mixin to add properties on block
|
bp-templates/bp-nouveau/common-styles/_bp_generic_and_typography.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Generic elements, Typography and Images.
|
|
|
2 |
|
3 |
// ========= Generic Sitewide elements ========
|
4 |
body {
|
@@ -113,7 +114,7 @@ body.buddypress { // add weight
|
|
113 |
}
|
114 |
|
115 |
// Ensure the .bp-wrap element always contains it's children,
|
116 |
-
// this may cause issues but
|
117 |
|
118 |
/* Ensure .bp-wrap encloses it's children */
|
119 |
|
1 |
// BP Generic elements, Typography and Images.
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
// ========= Generic Sitewide elements ========
|
5 |
body {
|
114 |
}
|
115 |
|
116 |
// Ensure the .bp-wrap element always contains it's children,
|
117 |
+
// this may cause issues but groups single requires it.
|
118 |
|
119 |
/* Ensure .bp-wrap encloses it's children */
|
120 |
|
bp-templates/bp-nouveau/common-styles/_bp_group_header.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Single Group Header Styles.
|
|
|
2 |
|
3 |
.groups-header {
|
4 |
|
1 |
// BP Single Group Header Styles.
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
.groups-header {
|
5 |
|
bp-templates/bp-nouveau/common-styles/_bp_groups_activity.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// Groups single screen - Activity
|
|
|
2 |
.buddypress.groups {
|
3 |
|
4 |
.activity-update-form {
|
1 |
// Groups single screen - Activity
|
2 |
+
// @version 3.0.0
|
3 |
.buddypress.groups {
|
4 |
|
5 |
.activity-update-form {
|
bp-templates/bp-nouveau/common-styles/_bp_groups_create.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// Group Creation Steps - Screens
|
|
|
2 |
|
3 |
#group-create-body {
|
4 |
padding: $pad-sml;
|
1 |
// Group Creation Steps - Screens
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
#group-create-body {
|
5 |
padding: $pad-sml;
|
bp-templates/bp-nouveau/common-styles/_bp_groups_item_body.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// Groups specific Item-body content
|
|
|
2 |
|
3 |
// Members list doesn't generate subnav items items
|
4 |
// so we negate the rules using :not()
|
1 |
// Groups specific Item-body content
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
// Members list doesn't generate subnav items items
|
5 |
// so we negate the rules using :not()
|
bp-templates/bp-nouveau/common-styles/_bp_groups_loop.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Groups loop.
|
|
|
2 |
|
3 |
.buddypress-wrap {
|
4 |
|
1 |
// BP Groups loop.
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
.buddypress-wrap {
|
5 |
|
bp-templates/bp-nouveau/common-styles/_bp_groups_management.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// Single Groups Management screens
|
|
|
2 |
|
3 |
// Groups settings screen
|
4 |
.buddypress-wrap {
|
1 |
// Single Groups Management screens
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
// Groups settings screen
|
5 |
.buddypress-wrap {
|
bp-templates/bp-nouveau/common-styles/_bp_info_messages.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// Sitewide template error & info messages constructs.
|
|
|
2 |
.buddypress-wrap {
|
3 |
|
4 |
.warn {
|
@@ -44,7 +45,7 @@
|
|
44 |
|
45 |
} // close .bp-messages
|
46 |
|
47 |
-
// user message screens handled
|
48 |
// & looped messages
|
49 |
.bp-messages.bp-user-messages-feedback {
|
50 |
border: 0;
|
@@ -167,7 +168,8 @@
|
|
167 |
.bp-feedback.error,
|
168 |
.bp-feedback.warning,
|
169 |
.bp-feedback.loading,
|
170 |
-
.bp-feedback.success
|
|
|
171 |
|
172 |
.bp-icon {
|
173 |
|
@@ -210,7 +212,8 @@
|
|
210 |
}
|
211 |
}
|
212 |
|
213 |
-
.bp-feedback.success
|
|
|
214 |
|
215 |
.bp-icon {
|
216 |
background-color: $update-success;
|
1 |
// Sitewide template error & info messages constructs.
|
2 |
+
// @version 3.0.0.
|
3 |
.buddypress-wrap {
|
4 |
|
5 |
.warn {
|
45 |
|
46 |
} // close .bp-messages
|
47 |
|
48 |
+
// user message screens handled separately due to backbone templates
|
49 |
// & looped messages
|
50 |
.bp-messages.bp-user-messages-feedback {
|
51 |
border: 0;
|
168 |
.bp-feedback.error,
|
169 |
.bp-feedback.warning,
|
170 |
.bp-feedback.loading,
|
171 |
+
.bp-feedback.success,
|
172 |
+
.bp-feedback.updated {
|
173 |
|
174 |
.bp-icon {
|
175 |
|
212 |
}
|
213 |
}
|
214 |
|
215 |
+
.bp-feedback.success,
|
216 |
+
.bp-feedback.updated {
|
217 |
|
218 |
.bp-icon {
|
219 |
background-color: $update-success;
|
bp-templates/bp-nouveau/common-styles/_bp_item_body_general.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Single Screens Item Body General Styles.
|
|
|
2 |
|
3 |
.buddypress-wrap {
|
4 |
|
1 |
// BP Single Screens Item Body General Styles.
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
.buddypress-wrap {
|
5 |
|
bp-templates/bp-nouveau/common-styles/_bp_item_header_general.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Single Screens Item Header General Styles.
|
|
|
2 |
|
3 |
@include clearfix-element(".single-headers");
|
4 |
|
@@ -32,9 +33,14 @@
|
|
32 |
|
33 |
img {
|
34 |
float: left;
|
|
|
35 |
}
|
36 |
}
|
37 |
}
|
|
|
|
|
|
|
|
|
38 |
}
|
39 |
|
40 |
// End breakpoint positioning
|
1 |
// BP Single Screens Item Header General Styles.
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
@include clearfix-element(".single-headers");
|
5 |
|
33 |
|
34 |
img {
|
35 |
float: left;
|
36 |
+
|
37 |
}
|
38 |
}
|
39 |
}
|
40 |
+
|
41 |
+
#item-header-content {
|
42 |
+
padding-left: $pad-lrg;
|
43 |
+
}
|
44 |
}
|
45 |
|
46 |
// End breakpoint positioning
|
bp-templates/bp-nouveau/common-styles/_bp_layouts.scss
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
// Layouts provides classes to handle specific module
|
3 |
// layouts on a user selectable basis.
|
4 |
// The sheet also adds layout properties such as border-box
|
|
|
5 |
|
6 |
#item-body,
|
7 |
.single-screen-navs {
|
@@ -456,11 +457,12 @@
|
|
456 |
|
457 |
.bp-single-vert-nav { // described for the #buddypress element
|
458 |
|
459 |
-
.vertical {
|
460 |
overflow: visible;
|
461 |
|
462 |
ul {
|
463 |
border-right: 1px solid $med-light-grey;
|
|
|
464 |
float: left;
|
465 |
margin-right: -1px;
|
466 |
width: 25%;
|
@@ -468,6 +470,7 @@
|
|
468 |
|
469 |
li {
|
470 |
float: none;
|
|
|
471 |
|
472 |
&.selected a {
|
473 |
background: $grey;
|
@@ -493,6 +496,16 @@
|
|
493 |
|
494 |
}
|
495 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
496 |
// re-factor the related elements like the #item-body so it sits
|
497 |
// to the side(floated)
|
498 |
.bp-wrap {
|
2 |
// Layouts provides classes to handle specific module
|
3 |
// layouts on a user selectable basis.
|
4 |
// The sheet also adds layout properties such as border-box
|
5 |
+
// @version 3.0.0
|
6 |
|
7 |
#item-body,
|
8 |
.single-screen-navs {
|
457 |
|
458 |
.bp-single-vert-nav { // described for the #buddypress element
|
459 |
|
460 |
+
.bp-navs.vertical {
|
461 |
overflow: visible;
|
462 |
|
463 |
ul {
|
464 |
border-right: 1px solid $med-light-grey;
|
465 |
+
border-bottom: 0;
|
466 |
float: left;
|
467 |
margin-right: -1px;
|
468 |
width: 25%;
|
470 |
|
471 |
li {
|
472 |
float: none;
|
473 |
+
margin-right: 0;
|
474 |
|
475 |
&.selected a {
|
476 |
background: $grey;
|
496 |
|
497 |
}
|
498 |
|
499 |
+
.bp-navs.vertical.tabbed-links {
|
500 |
+
|
501 |
+
li.selected {
|
502 |
+
|
503 |
+
a {
|
504 |
+
padding-left: 0;
|
505 |
+
}
|
506 |
+
}
|
507 |
+
}
|
508 |
+
|
509 |
// re-factor the related elements like the #item-body so it sits
|
510 |
// to the side(floated)
|
511 |
.bp-wrap {
|
bp-templates/bp-nouveau/common-styles/_bp_lists.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Lists Global Styles.
|
|
|
2 |
|
3 |
// @todo decide whether using .buddypress quasi namespace parent
|
4 |
// is useful, causing issue with specificity on other
|
@@ -69,6 +70,7 @@
|
|
69 |
color: $light-text-plus;
|
70 |
|
71 |
@include font-size(12);
|
|
|
72 |
margin-top: $marg-sml;
|
73 |
}
|
74 |
|
@@ -184,7 +186,12 @@
|
|
184 |
}
|
185 |
}
|
186 |
|
187 |
-
.friends-
|
|
|
|
|
|
|
|
|
|
|
188 |
|
189 |
.item-title {
|
190 |
text-align: center;
|
@@ -209,6 +216,10 @@
|
|
209 |
|
210 |
@include font-size(22);
|
211 |
text-align: left;
|
|
|
|
|
|
|
|
|
212 |
}
|
213 |
}
|
214 |
}
|
1 |
// BP Lists Global Styles.
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
// @todo decide whether using .buddypress quasi namespace parent
|
5 |
// is useful, causing issue with specificity on other
|
70 |
color: $light-text-plus;
|
71 |
|
72 |
@include font-size(12);
|
73 |
+
margin-bottom: $marg-sml;
|
74 |
margin-top: $marg-sml;
|
75 |
}
|
76 |
|
186 |
}
|
187 |
}
|
188 |
|
189 |
+
.friends-list {
|
190 |
+
list-style-type: none;
|
191 |
+
}
|
192 |
+
|
193 |
+
.friends-request-list,
|
194 |
+
.membership-requests-list {
|
195 |
|
196 |
.item-title {
|
197 |
text-align: center;
|
216 |
|
217 |
@include font-size(22);
|
218 |
text-align: left;
|
219 |
+
|
220 |
+
h3 {
|
221 |
+
margin: 0;
|
222 |
+
}
|
223 |
}
|
224 |
}
|
225 |
}
|
bp-templates/bp-nouveau/common-styles/_bp_members_loop.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Members loop.
|
|
|
2 |
|
3 |
.buddypress-wrap {
|
4 |
|
1 |
// BP Members loop.
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
.buddypress-wrap {
|
5 |
|
bp-templates/bp-nouveau/common-styles/_bp_messages.scss
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
// BP Private Messages:
|
2 |
// messages lists, message single views, bulk actions
|
|
|
3 |
|
4 |
#message-threads { // table element
|
5 |
|
1 |
// BP Private Messages:
|
2 |
// messages lists, message single views, bulk actions
|
3 |
+
// @version 3.0.0
|
4 |
|
5 |
#message-threads { // table element
|
6 |
|
bp-templates/bp-nouveau/common-styles/_bp_navigation.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP primary & secondary navigation - directory and single screens
|
|
|
2 |
|
3 |
// all devices & generic styles sitewide
|
4 |
.bp-navs {
|
@@ -116,10 +117,6 @@
|
|
116 |
a:hover {
|
117 |
background: $dark-grey;
|
118 |
color: $off-white;
|
119 |
-
|
120 |
-
.count {
|
121 |
-
border-color: $off-white;
|
122 |
-
}
|
123 |
}
|
124 |
}
|
125 |
}
|
@@ -152,9 +149,9 @@
|
|
152 |
}
|
153 |
}
|
154 |
|
155 |
-
&.bp-dir-hori-nav {
|
156 |
|
157 |
-
nav:not(
|
158 |
border-bottom: 1px solid $bp-border-color;
|
159 |
border-top: 1px solid $bp-border-color;
|
160 |
|
@@ -353,7 +350,7 @@
|
|
353 |
}
|
354 |
} // bp-navs
|
355 |
|
356 |
-
// Create steps current
|
357 |
.bp-navs.group-create-links {
|
358 |
|
359 |
ul {
|
@@ -476,55 +473,56 @@
|
|
476 |
|
477 |
.buddypress-wrap {
|
478 |
|
479 |
-
|
|
|
|
|
|
|
480 |
|
481 |
-
@include
|
482 |
|
483 |
-
|
484 |
-
|
|
|
485 |
|
486 |
-
|
487 |
|
488 |
-
|
489 |
-
background: none;
|
490 |
-
margin-top: 2px;
|
491 |
|
492 |
-
|
493 |
-
|
494 |
|
495 |
-
|
496 |
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
}
|
501 |
}
|
|
|
502 |
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
|
507 |
-
|
508 |
-
|
509 |
-
}
|
510 |
}
|
|
|
511 |
|
512 |
-
|
513 |
-
|
514 |
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
|
522 |
-
|
523 |
-
|
524 |
-
}
|
525 |
}
|
526 |
}
|
527 |
-
}
|
528 |
-
} //
|
529 |
-
}
|
530 |
}
|
1 |
// BP primary & secondary navigation - directory and single screens
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
// all devices & generic styles sitewide
|
5 |
.bp-navs {
|
117 |
a:hover {
|
118 |
background: $dark-grey;
|
119 |
color: $off-white;
|
|
|
|
|
|
|
|
|
120 |
}
|
121 |
}
|
122 |
}
|
149 |
}
|
150 |
}
|
151 |
|
152 |
+
&.bp-dir-hori-nav:not(.bp-vertical-navs) {
|
153 |
|
154 |
+
nav:not(.tabbed-links) {
|
155 |
border-bottom: 1px solid $bp-border-color;
|
156 |
border-top: 1px solid $bp-border-color;
|
157 |
|
350 |
}
|
351 |
} // bp-navs
|
352 |
|
353 |
+
// Create steps current position tabs highlight
|
354 |
.bp-navs.group-create-links {
|
355 |
|
356 |
ul {
|
473 |
|
474 |
.buddypress-wrap {
|
475 |
|
476 |
+
@include medium-up {
|
477 |
+
|
478 |
+
// Profile group labels links
|
479 |
+
// Button navigation as tabbed effect for wide screen
|
480 |
|
481 |
+
@include tabbed-links();
|
482 |
|
483 |
+
.bp-navs.tabbed-links {
|
484 |
+
background: none;
|
485 |
+
margin-top: 2px;
|
486 |
|
487 |
+
&.main-navs {
|
488 |
|
489 |
+
}
|
|
|
|
|
490 |
|
491 |
+
// For tabbed nav we remove any default button nav styles.
|
492 |
+
ul {
|
493 |
|
494 |
+
li {
|
495 |
|
496 |
+
a {
|
497 |
+
border-right: 0;
|
498 |
+
font-size: inherit;
|
|
|
499 |
}
|
500 |
+
}
|
501 |
|
502 |
+
li.last {
|
503 |
+
float: right;
|
504 |
+
margin: 0;
|
505 |
|
506 |
+
a {
|
507 |
+
margin-top: -0.5em;
|
|
|
508 |
}
|
509 |
+
}
|
510 |
|
511 |
+
li,
|
512 |
+
li.current {
|
513 |
|
514 |
+
a,
|
515 |
+
a:focus,
|
516 |
+
a:hover {
|
517 |
+
background: none;
|
518 |
+
border: 0;
|
519 |
+
}
|
520 |
|
521 |
+
a:active {
|
522 |
+
outline: none;
|
|
|
523 |
}
|
524 |
}
|
525 |
+
}
|
526 |
+
} // close .bp-navs.tabbed-links
|
527 |
+
} // @media
|
528 |
}
|
bp-templates/bp-nouveau/common-styles/_bp_pagination.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP pagination - generic styling for all screens
|
|
|
2 |
.buddypress-wrap {
|
3 |
|
4 |
.bp-pagination {
|
1 |
// BP pagination - generic styling for all screens
|
2 |
+
// @version 3.0.0
|
3 |
.buddypress-wrap {
|
4 |
|
5 |
.bp-pagination {
|
bp-templates/bp-nouveau/common-styles/_bp_registration.scss
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
// Registration Screen
|
2 |
// Styles the registration index.php form and elements.
|
|
|
3 |
|
4 |
.register-page {
|
5 |
|
1 |
// Registration Screen
|
2 |
// Styles the registration index.php form and elements.
|
3 |
+
// @version 3.0.0
|
4 |
|
5 |
.register-page {
|
6 |
|
bp-templates/bp-nouveau/common-styles/_bp_search.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Directory Search elements
|
|
|
2 |
|
3 |
.buddypress-wrap { // the ID is required to add weight to rules
|
4 |
|
@@ -98,7 +99,7 @@
|
|
98 |
|
99 |
} // close .buddypress-wrap
|
100 |
|
101 |
-
// If js disabled ensure we show the submit
|
102 |
// @todo the whole show/hide could be wrapped in a :not(.no-js)
|
103 |
.budypress.no-js {
|
104 |
|
1 |
// BP Directory Search elements
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
.buddypress-wrap { // the ID is required to add weight to rules
|
5 |
|
99 |
|
100 |
} // close .buddypress-wrap
|
101 |
|
102 |
+
// If js disabled ensure we show the submit overriding earlier rule
|
103 |
// @todo the whole show/hide could be wrapped in a :not(.no-js)
|
104 |
.budypress.no-js {
|
105 |
|
bp-templates/bp-nouveau/common-styles/_bp_tables.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP default/generic Table styles.
|
|
|
2 |
.buddypress-wrap {
|
3 |
|
4 |
.bp-tables-user,
|
@@ -82,7 +83,7 @@
|
|
82 |
// Set various tables th/td cell sizes
|
83 |
table.notifications {
|
84 |
|
85 |
-
// Increase the cell padding to give better
|
86 |
// when some text lines wrap
|
87 |
|
88 |
td {
|
1 |
// BP default/generic Table styles.
|
2 |
+
// @version 3.0.0
|
3 |
.buddypress-wrap {
|
4 |
|
5 |
.bp-tables-user,
|
83 |
// Set various tables th/td cell sizes
|
84 |
table.notifications {
|
85 |
|
86 |
+
// Increase the cell padding to give better separation of lines
|
87 |
// when some text lines wrap
|
88 |
|
89 |
td {
|
bp-templates/bp-nouveau/common-styles/_bp_tooltips.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BuddyPress Tooltips
|
|
|
2 |
|
3 |
[data-bp-tooltip] {
|
4 |
position: relative;
|
@@ -84,6 +85,7 @@
|
|
84 |
|
85 |
// Bottom Left Tooltip
|
86 |
|
|
|
87 |
.activity-meta-action .bp-tooltip,
|
88 |
.notification-actions .bp-tooltip,
|
89 |
.participants-list .bp-tooltip {
|
@@ -93,7 +95,18 @@
|
|
93 |
|
94 |
// Bottom Right Tooltip
|
95 |
|
96 |
-
.bp-invites-content .bp-tooltip
|
|
|
|
|
97 |
|
98 |
@include bp-tooltip-bottom-right;
|
99 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
// BuddyPress Tooltips
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
[data-bp-tooltip] {
|
5 |
position: relative;
|
85 |
|
86 |
// Bottom Left Tooltip
|
87 |
|
88 |
+
.activity-list .bp-tooltip,
|
89 |
.activity-meta-action .bp-tooltip,
|
90 |
.notification-actions .bp-tooltip,
|
91 |
.participants-list .bp-tooltip {
|
95 |
|
96 |
// Bottom Right Tooltip
|
97 |
|
98 |
+
.bp-invites-content .bp-tooltip,
|
99 |
+
.message-metadata .actions .bp-tooltip,
|
100 |
+
.single-message-thread-header .actions .bp-tooltip {
|
101 |
|
102 |
@include bp-tooltip-bottom-right;
|
103 |
}
|
104 |
+
|
105 |
+
.bp-invites-content #send-invites-editor .bp-tooltip {
|
106 |
+
|
107 |
+
// override .bp-invites-content .bp-tooltip
|
108 |
+
&:after {
|
109 |
+
left: 0;
|
110 |
+
right: auto;
|
111 |
+
}
|
112 |
+
}
|
bp-templates/bp-nouveau/common-styles/_bp_update_form.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Whats new form handles user updates to groups or profiles
|
|
|
2 |
|
3 |
.activity-update-form {
|
4 |
padding: 10px 10px 0;
|
@@ -27,6 +28,7 @@
|
|
27 |
text-align: center;
|
28 |
|
29 |
img {
|
|
|
30 |
display: inline-block;
|
31 |
}
|
32 |
}
|
@@ -125,13 +127,14 @@
|
|
125 |
#whats-new-avatar {
|
126 |
display: block;
|
127 |
float: left;
|
128 |
-
margin: 0
|
129 |
}
|
130 |
|
131 |
#whats-new-content,
|
132 |
#whats-new-post-in-box,
|
133 |
#whats-new-submit {
|
134 |
-
margin-left:
|
|
|
135 |
}
|
136 |
|
137 |
#whats-new-submit {
|
1 |
// BP Whats new form handles user updates to groups or profiles
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
.activity-update-form {
|
5 |
padding: 10px 10px 0;
|
28 |
text-align: center;
|
29 |
|
30 |
img {
|
31 |
+
box-shadow: none;
|
32 |
display: inline-block;
|
33 |
}
|
34 |
}
|
127 |
#whats-new-avatar {
|
128 |
display: block;
|
129 |
float: left;
|
130 |
+
margin: 0;
|
131 |
}
|
132 |
|
133 |
#whats-new-content,
|
134 |
#whats-new-post-in-box,
|
135 |
#whats-new-submit {
|
136 |
+
margin-left: 8.5%;
|
137 |
+
|
138 |
}
|
139 |
|
140 |
#whats-new-submit {
|
bp-templates/bp-nouveau/common-styles/_bp_user_header.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Single User Specific Header Styles
|
|
|
2 |
|
3 |
.bp-user {
|
4 |
|
1 |
// BP Single User Specific Header Styles
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
.bp-user {
|
5 |
|
bp-templates/bp-nouveau/common-styles/_bp_user_profile.scss
CHANGED
@@ -1,4 +1,6 @@
|
|
1 |
// BP User Profiles screen
|
|
|
|
|
2 |
// 0/ General :)
|
3 |
// 1/ Profile Edit
|
4 |
// 2/ Profile Public Display
|
1 |
// BP User Profiles screen
|
2 |
+
// @version 3.0.0
|
3 |
+
//
|
4 |
// 0/ General :)
|
5 |
// 1/ Profile Edit
|
6 |
// 2/ Profile Public Display
|
bp-templates/bp-nouveau/common-styles/_bp_user_settings.scss
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
// BP User settings screens
|
2 |
-
|
3 |
|
4 |
// 1. Settings Global
|
5 |
// 1. General (email/password change)
|
1 |
// BP User settings screens
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
// 1. Settings Global
|
5 |
// 1. General (email/password change)
|
bp-templates/bp-nouveau/common-styles/_bp_widgets.scss
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
// BP Widgets
|
|
|
2 |
|
3 |
.buddypress.widget {
|
4 |
|
@@ -54,10 +55,35 @@
|
|
54 |
}
|
55 |
} // close li
|
56 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
}
|
58 |
|
|
|
59 |
// Are we in a main site sidebar?
|
60 |
-
// while hard to tell width
|
61 |
// at large width it's narrow &
|
62 |
// adjust the li widths & margins to %
|
63 |
// & flex basis to auto for large up.
|
1 |
// BP Widgets
|
2 |
+
// @version 3.0.0
|
3 |
|
4 |
.buddypress.widget {
|
5 |
|
55 |
}
|
56 |
} // close li
|
57 |
}
|
58 |
+
|
59 |
+
.activity-list {
|
60 |
+
padding: 0;
|
61 |
+
|
62 |
+
blockquote {
|
63 |
+
margin: 0 0 1.5em;
|
64 |
+
overflow: visible;
|
65 |
+
padding: 0 0 0.75em 0.75em;
|
66 |
+
}
|
67 |
+
|
68 |
+
img {
|
69 |
+
margin-bottom: 0.5em;
|
70 |
+
}
|
71 |
+
}
|
72 |
+
|
73 |
+
.avatar-block {
|
74 |
+
|
75 |
+
@include flex-box-dir($flex-dir: row, $flex-wrap: wrap);
|
76 |
+
|
77 |
+
img {
|
78 |
+
margin-bottom: 1em;
|
79 |
+
margin-right: 1em;
|
80 |
+
}
|
81 |
+
}
|
82 |
}
|
83 |
|
84 |
+
|
85 |
// Are we in a main site sidebar?
|
86 |
+
// while hard to tell width assume that
|
87 |
// at large width it's narrow &
|
88 |
// adjust the li widths & margins to %
|
89 |
// & flex basis to auto for large up.
|
bp-templates/bp-nouveau/css/buddypress-rtl.css
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
/*--------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
2 |
>>> TABLE OF CONTENTS:
|
3 |
----------------------------------------------------------------
|
4 |
1.0 - BP Generic, Typography & Imagery
|
@@ -354,15 +359,6 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
354 |
color: #fafafa;
|
355 |
}
|
356 |
|
357 |
-
.buddypress-wrap .bp-navs li.selected a .count,
|
358 |
-
.buddypress-wrap .bp-navs li.selected a:focus .count,
|
359 |
-
.buddypress-wrap .bp-navs li.selected a:hover .count,
|
360 |
-
.buddypress-wrap .bp-navs li.current a .count,
|
361 |
-
.buddypress-wrap .bp-navs li.current a:focus .count,
|
362 |
-
.buddypress-wrap .bp-navs li.current a:hover .count {
|
363 |
-
border-color: #fafafa;
|
364 |
-
}
|
365 |
-
|
366 |
@media screen and (min-width: 46.8em) {
|
367 |
.buddypress-wrap .main-navs:not(.dir-navs) li.selected a,
|
368 |
.buddypress-wrap .main-navs:not(.dir-navs) li.current a {
|
@@ -376,7 +372,7 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
376 |
color: #fafafa;
|
377 |
text-decoration: none;
|
378 |
}
|
379 |
-
.buddypress-wrap.bp-dir-hori-nav nav:not(
|
380 |
border-bottom: 1px solid #eee;
|
381 |
border-top: 1px solid #eee;
|
382 |
-webkit-box-shadow: 0 2px 12px 0 #fafafa;
|
@@ -552,45 +548,49 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
552 |
}
|
553 |
|
554 |
@media screen and (min-width: 46.8em) {
|
555 |
-
.buddypress-wrap .
|
556 |
-
.buddypress-wrap .
|
557 |
border-bottom: 1px solid #ccc;
|
558 |
float: none;
|
559 |
margin: 20px 0 10px;
|
560 |
}
|
561 |
-
.buddypress-wrap .
|
562 |
-
.buddypress-wrap .
|
563 |
-
.buddypress-wrap .
|
564 |
content: " ";
|
565 |
display: block;
|
566 |
}
|
567 |
-
.buddypress-wrap .
|
568 |
-
.buddypress-wrap .
|
569 |
clear: both;
|
570 |
}
|
571 |
-
.buddypress-wrap .
|
572 |
-
.buddypress-wrap .
|
573 |
float: right;
|
574 |
list-style: none;
|
575 |
margin: 0 0 0 10px;
|
576 |
}
|
577 |
-
.buddypress-wrap .
|
578 |
-
.buddypress-wrap .
|
579 |
-
.buddypress-wrap .
|
580 |
-
.buddypress-wrap .
|
581 |
background: none;
|
582 |
border: none;
|
583 |
display: block;
|
584 |
padding: 4px 10px;
|
585 |
}
|
586 |
-
.buddypress-wrap .
|
587 |
-
.buddypress-wrap .
|
588 |
-
.buddypress-wrap .
|
589 |
-
.buddypress-wrap .
|
590 |
background: none;
|
591 |
}
|
592 |
-
.buddypress-wrap .
|
593 |
-
.buddypress-wrap .
|
|
|
|
|
|
|
|
|
594 |
border-color: #ccc #ccc #fff;
|
595 |
border-style: solid;
|
596 |
border-top-right-radius: 4px;
|
@@ -599,39 +599,40 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
599 |
margin-bottom: -1px;
|
600 |
padding: 0 0.5em 1px;
|
601 |
}
|
602 |
-
.buddypress-wrap .
|
603 |
-
.buddypress-wrap .
|
|
|
604 |
color: #333;
|
605 |
}
|
606 |
-
.buddypress-wrap .
|
607 |
margin-top: 0;
|
608 |
}
|
609 |
-
.buddypress-wrap .
|
610 |
background: none;
|
611 |
margin-top: 2px;
|
612 |
}
|
613 |
-
.buddypress-wrap .
|
614 |
border-left: 0;
|
615 |
font-size: inherit;
|
616 |
}
|
617 |
-
.buddypress-wrap .
|
618 |
float: left;
|
619 |
margin: 0;
|
620 |
}
|
621 |
-
.buddypress-wrap .
|
622 |
margin-top: -0.5em;
|
623 |
}
|
624 |
-
.buddypress-wrap .
|
625 |
-
.buddypress-wrap .
|
626 |
-
.buddypress-wrap .
|
627 |
-
.buddypress-wrap .
|
628 |
-
.buddypress-wrap .
|
629 |
-
.buddypress-wrap .
|
630 |
background: none;
|
631 |
border: 0;
|
632 |
}
|
633 |
-
.buddypress-wrap .
|
634 |
-
.buddypress-wrap .
|
635 |
outline: none;
|
636 |
}
|
637 |
}
|
@@ -803,6 +804,14 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
803 |
line-height: 1.6;
|
804 |
}
|
805 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
806 |
/**
|
807 |
*----------------------------------------------------------
|
808 |
* @section 2.2 - Pagination
|
@@ -925,6 +934,7 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
925 |
.bp-list li .item-meta {
|
926 |
color: #737373;
|
927 |
font-size: 12px;
|
|
|
928 |
margin-top: 10px;
|
929 |
}
|
930 |
|
@@ -1019,12 +1029,18 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
1019 |
margin-top: 0;
|
1020 |
}
|
1021 |
|
1022 |
-
.friends-
|
|
|
|
|
|
|
|
|
|
|
1023 |
text-align: center;
|
1024 |
}
|
1025 |
|
1026 |
@media screen and (min-width: 46.8em) {
|
1027 |
-
.friends-request-list li
|
|
|
1028 |
display: -webkit-flex;
|
1029 |
display: -moz-flex;
|
1030 |
display: -ms-flex;
|
@@ -1036,20 +1052,27 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
1036 |
-o-flex-flow: row nowrap;
|
1037 |
flex-flow: row nowrap;
|
1038 |
}
|
1039 |
-
.friends-request-list li .item
|
|
|
1040 |
-webkit-flex: 1 1 auto;
|
1041 |
-moz-flex: 1 1 auto;
|
1042 |
-ms-flex: 1 1 auto;
|
1043 |
-o-flex: 1 1 auto;
|
1044 |
flex: 1 1 auto;
|
1045 |
}
|
1046 |
-
.friends-request-list li .action
|
|
|
1047 |
text-align: left;
|
1048 |
}
|
1049 |
-
.friends-request-list li .item-title
|
|
|
1050 |
font-size: 22px;
|
1051 |
text-align: right;
|
1052 |
}
|
|
|
|
|
|
|
|
|
1053 |
}
|
1054 |
|
1055 |
#notifications-user-list {
|
@@ -1101,6 +1124,7 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
1101 |
}
|
1102 |
|
1103 |
.activity-update-form #whats-new-avatar img {
|
|
|
1104 |
display: inline-block;
|
1105 |
}
|
1106 |
|
@@ -1193,12 +1217,12 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
1193 |
.activity-update-form #whats-new-avatar {
|
1194 |
display: block;
|
1195 |
float: right;
|
1196 |
-
margin: 0
|
1197 |
}
|
1198 |
.activity-update-form #whats-new-content,
|
1199 |
.activity-update-form #whats-new-post-in-box,
|
1200 |
.activity-update-form #whats-new-submit {
|
1201 |
-
margin-right:
|
1202 |
}
|
1203 |
.activity-update-form #whats-new-submit input {
|
1204 |
margin-bottom: 0;
|
@@ -1242,6 +1266,7 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
1242 |
}
|
1243 |
|
1244 |
.activity-list .activity-item div.item-avatar img {
|
|
|
1245 |
max-width: 40%;
|
1246 |
}
|
1247 |
|
@@ -2061,6 +2086,9 @@ form.ac-form .ac-reply-content input {
|
|
2061 |
.single-headers #item-header-avatar a img {
|
2062 |
float: right;
|
2063 |
}
|
|
|
|
|
|
|
2064 |
}
|
2065 |
|
2066 |
.single-headers .group-status,
|
@@ -2503,8 +2531,9 @@ body.no-js .single-item-header .js-self-profile-button {
|
|
2503 |
*-----------------------------------------
|
2504 |
*/
|
2505 |
/*
|
2506 |
-
* bp-nouveau styling: invite members, sent invites
|
2507 |
-
*
|
|
|
2508 |
.buddypress .bp-invites-content ul.item-list {
|
2509 |
border-top: 0;
|
2510 |
}
|
@@ -2519,8 +2548,8 @@ body.no-js .single-item-header .js-self-profile-button {
|
|
2519 |
}
|
2520 |
|
2521 |
.buddypress .bp-invites-content ul.item-list li .list-title {
|
2522 |
-
|
2523 |
-
width:
|
2524 |
}
|
2525 |
|
2526 |
.buddypress .bp-invites-content ul.item-list li .action {
|
@@ -2569,8 +2598,14 @@ body.no-js .single-item-header .js-self-profile-button {
|
|
2569 |
margin: 10px 0;
|
2570 |
}
|
2571 |
|
2572 |
-
.buddypress .bp-invites-content #send-invites-editor
|
2573 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2574 |
}
|
2575 |
|
2576 |
.buddypress .bp-invites-content #send-invites-editor textarea {
|
@@ -2581,7 +2616,6 @@ body.no-js .single-item-header .js-self-profile-button {
|
|
2581 |
clear: both;
|
2582 |
list-style: none;
|
2583 |
margin: 10px 0;
|
2584 |
-
overflow: hidden;
|
2585 |
}
|
2586 |
|
2587 |
.buddypress .bp-invites-content #send-invites-editor ul li {
|
@@ -2591,6 +2625,11 @@ body.no-js .single-item-header .js-self-profile-button {
|
|
2591 |
max-width: 50px;
|
2592 |
}
|
2593 |
|
|
|
|
|
|
|
|
|
|
|
2594 |
.buddypress .bp-invites-content #send-invites-editor .action {
|
2595 |
margin-top: 10px;
|
2596 |
padding-top: 10px;
|
@@ -2623,6 +2662,30 @@ body.no-js .single-item-header .js-self-profile-button {
|
|
2623 |
}
|
2624 |
}
|
2625 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2626 |
/*
|
2627 |
*-----------------------------------------
|
2628 |
* @subsection 5.2.1.4 - Group Activity
|
@@ -2924,7 +2987,8 @@ body.register .buddypress-wrap .page ul {
|
|
2924 |
flex: 1 2 5%;
|
2925 |
}
|
2926 |
|
2927 |
-
#message-threads li .thread-from
|
|
|
2928 |
-webkit-flex: 1 2 20%;
|
2929 |
-moz-flex: 1 2 20%;
|
2930 |
-ms-flex: 1 2 20%;
|
@@ -2932,16 +2996,26 @@ body.register .buddypress-wrap .page ul {
|
|
2932 |
flex: 1 2 20%;
|
2933 |
}
|
2934 |
|
2935 |
-
#message-threads li .thread-from img.avatar
|
|
|
2936 |
float: right;
|
2937 |
margin: 0 0 0 10px;
|
2938 |
}
|
2939 |
|
2940 |
-
#message-threads li .thread-from .user-name
|
|
|
2941 |
display: inline-block;
|
2942 |
line-height: 1.1;
|
2943 |
}
|
2944 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2945 |
#message-threads li .thread-content {
|
2946 |
-webkit-flex: 1 2 60%;
|
2947 |
-moz-flex: 1 2 60%;
|
@@ -2966,8 +3040,8 @@ body.register .buddypress-wrap .page ul {
|
|
2966 |
color: #5087e5;
|
2967 |
}
|
2968 |
|
2969 |
-
#message-threads li
|
2970 |
-
|
2971 |
}
|
2972 |
|
2973 |
#message-threads li .thread-content .excerpt {
|
@@ -2977,12 +3051,14 @@ body.register .buddypress-wrap .page ul {
|
|
2977 |
}
|
2978 |
|
2979 |
#message-threads li .thread-content .thread-from,
|
|
|
2980 |
#message-threads li .thread-content .thread-subject {
|
2981 |
font-size: 13px;
|
2982 |
}
|
2983 |
|
2984 |
@media screen and (min-width: 46.8em) {
|
2985 |
#message-threads li .thread-content .thread-from,
|
|
|
2986 |
#message-threads li .thread-content .thread-subject {
|
2987 |
font-size: 16px;
|
2988 |
}
|
@@ -3006,13 +3082,13 @@ body.register .buddypress-wrap .page ul {
|
|
3006 |
max-width: 30%;
|
3007 |
}
|
3008 |
|
3009 |
-
.bp-messages-content .actions .bp-icons {
|
3010 |
display: inline-block;
|
3011 |
margin: 0;
|
3012 |
padding: 0.3em 0.5em;
|
3013 |
}
|
3014 |
|
3015 |
-
.bp-messages-content .actions .bp-icons:before {
|
3016 |
font-size: 26px;
|
3017 |
}
|
3018 |
|
@@ -3022,7 +3098,7 @@ body.register .buddypress-wrap .page ul {
|
|
3022 |
}
|
3023 |
|
3024 |
.bp-messages-content #thread-preview .preview-message {
|
3025 |
-
|
3026 |
}
|
3027 |
|
3028 |
.bp-messages-content #thread-preview .preview-content {
|
@@ -3055,8 +3131,9 @@ body.register .buddypress-wrap .page ul {
|
|
3055 |
-webkit-box-shadow: 2px 1px 9px 0 #eee;
|
3056 |
-moz-box-shadow: 2px 1px 9px 0 #eee;
|
3057 |
box-shadow: 2px 1px 9px 0 #eee;
|
3058 |
-
|
3059 |
padding: 0.2em;
|
|
|
3060 |
}
|
3061 |
|
3062 |
.bp-messages-content #bp-message-thread-list .message-metadata .avatar {
|
@@ -3090,7 +3167,7 @@ body.register .buddypress-wrap .page ul {
|
|
3090 |
}
|
3091 |
|
3092 |
.bp-messages-content #bp-message-thread-list .message-content {
|
3093 |
-
|
3094 |
margin: 1em auto 0;
|
3095 |
width: 90%;
|
3096 |
}
|
@@ -4040,6 +4117,11 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4040 |
text-align: center;
|
4041 |
}
|
4042 |
|
|
|
|
|
|
|
|
|
|
|
4043 |
@media screen and (min-width: 46.8em) {
|
4044 |
.buddypress #buddypress .create-button {
|
4045 |
float: left;
|
@@ -4292,7 +4374,8 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4292 |
.buddypress-wrap .bp-feedback.error .bp-icon,
|
4293 |
.buddypress-wrap .bp-feedback.warning .bp-icon,
|
4294 |
.buddypress-wrap .bp-feedback.loading .bp-icon,
|
4295 |
-
.buddypress-wrap .bp-feedback.success .bp-icon
|
|
|
4296 |
display: -webkit-box;
|
4297 |
display: -ms-flexbox;
|
4298 |
display: -webkit-flex;
|
@@ -4331,11 +4414,13 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4331 |
content: "\f469";
|
4332 |
}
|
4333 |
|
4334 |
-
.buddypress-wrap .bp-feedback.success .bp-icon
|
|
|
4335 |
background-color: #8a2;
|
4336 |
}
|
4337 |
|
4338 |
-
.buddypress-wrap .bp-feedback.success .bp-icon:before
|
|
|
4339 |
content: "\f147";
|
4340 |
}
|
4341 |
|
@@ -4486,6 +4571,38 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4486 |
overflow-wrap: break-word;
|
4487 |
}
|
4488 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4489 |
.widget-area .buddypress.widget ul.item-list li {
|
4490 |
-webkit-flex: 0 1 46%;
|
4491 |
-moz-flex: 0 1 46%;
|
@@ -4659,6 +4776,7 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4659 |
}
|
4660 |
}
|
4661 |
|
|
|
4662 |
.activity-meta-action .bp-tooltip:after,
|
4663 |
.notification-actions .bp-tooltip:after,
|
4664 |
.participants-list .bp-tooltip:after {
|
@@ -4668,7 +4786,9 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4668 |
transform: translate(0, 0);
|
4669 |
}
|
4670 |
|
4671 |
-
.bp-invites-content .bp-tooltip:after
|
|
|
|
|
4672 |
right: auto;
|
4673 |
left: 0;
|
4674 |
-webkit-transform: translate(0, 0);
|
@@ -4676,6 +4796,11 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4676 |
transform: translate(0, 0);
|
4677 |
}
|
4678 |
|
|
|
|
|
|
|
|
|
|
|
4679 |
/**
|
4680 |
*-------------------------------------------------------------------------------
|
4681 |
* @section 9.0 - Layout classes
|
@@ -4996,34 +5121,39 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4996 |
}
|
4997 |
|
4998 |
@media screen and (min-width: 46.8em) {
|
4999 |
-
.bp-single-vert-nav .vertical {
|
5000 |
overflow: visible;
|
5001 |
}
|
5002 |
-
.bp-single-vert-nav .vertical ul {
|
5003 |
border-left: 1px solid #d6d6d6;
|
|
|
5004 |
float: right;
|
5005 |
margin-left: -1px;
|
5006 |
width: 25%;
|
5007 |
}
|
5008 |
-
.bp-single-vert-nav .vertical li {
|
5009 |
float: none;
|
|
|
5010 |
}
|
5011 |
-
.bp-single-vert-nav .vertical li.selected a {
|
5012 |
background: #ccc;
|
5013 |
color: #333;
|
5014 |
}
|
5015 |
-
.bp-single-vert-nav .vertical li:focus, .bp-single-vert-nav .vertical li:hover {
|
5016 |
background: #ccc;
|
5017 |
}
|
5018 |
-
.bp-single-vert-nav .vertical li span {
|
5019 |
background: #d6d6d6;
|
5020 |
border-radius: 10%;
|
5021 |
float: left;
|
5022 |
margin-left: 2px;
|
5023 |
}
|
5024 |
-
.bp-single-vert-nav .vertical li:hover span {
|
5025 |
border-color: #eaeaea;
|
5026 |
}
|
|
|
|
|
|
|
5027 |
.bp-single-vert-nav .bp-wrap {
|
5028 |
margin-bottom: 15px;
|
5029 |
}
|
1 |
/*--------------------------------------------------------------
|
2 |
+
Hello, this is the BuddyPress Nouveau stylesheet.
|
3 |
+
|
4 |
+
@version 3.0.0
|
5 |
+
|
6 |
+
----------------------------------------------------------------
|
7 |
>>> TABLE OF CONTENTS:
|
8 |
----------------------------------------------------------------
|
9 |
1.0 - BP Generic, Typography & Imagery
|
359 |
color: #fafafa;
|
360 |
}
|
361 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
362 |
@media screen and (min-width: 46.8em) {
|
363 |
.buddypress-wrap .main-navs:not(.dir-navs) li.selected a,
|
364 |
.buddypress-wrap .main-navs:not(.dir-navs) li.current a {
|
372 |
color: #fafafa;
|
373 |
text-decoration: none;
|
374 |
}
|
375 |
+
.buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links) {
|
376 |
border-bottom: 1px solid #eee;
|
377 |
border-top: 1px solid #eee;
|
378 |
-webkit-box-shadow: 0 2px 12px 0 #fafafa;
|
548 |
}
|
549 |
|
550 |
@media screen and (min-width: 46.8em) {
|
551 |
+
.buddypress-wrap .tabbed-links ul,
|
552 |
+
.buddypress-wrap .tabbed-links ol {
|
553 |
border-bottom: 1px solid #ccc;
|
554 |
float: none;
|
555 |
margin: 20px 0 10px;
|
556 |
}
|
557 |
+
.buddypress-wrap .tabbed-links ul:before, .buddypress-wrap .tabbed-links ul:after,
|
558 |
+
.buddypress-wrap .tabbed-links ol:before,
|
559 |
+
.buddypress-wrap .tabbed-links ol:after {
|
560 |
content: " ";
|
561 |
display: block;
|
562 |
}
|
563 |
+
.buddypress-wrap .tabbed-links ul:after,
|
564 |
+
.buddypress-wrap .tabbed-links ol:after {
|
565 |
clear: both;
|
566 |
}
|
567 |
+
.buddypress-wrap .tabbed-links ul li,
|
568 |
+
.buddypress-wrap .tabbed-links ol li {
|
569 |
float: right;
|
570 |
list-style: none;
|
571 |
margin: 0 0 0 10px;
|
572 |
}
|
573 |
+
.buddypress-wrap .tabbed-links ul li a,
|
574 |
+
.buddypress-wrap .tabbed-links ul li span:not(.count),
|
575 |
+
.buddypress-wrap .tabbed-links ol li a,
|
576 |
+
.buddypress-wrap .tabbed-links ol li span:not(.count) {
|
577 |
background: none;
|
578 |
border: none;
|
579 |
display: block;
|
580 |
padding: 4px 10px;
|
581 |
}
|
582 |
+
.buddypress-wrap .tabbed-links ul li a:focus,
|
583 |
+
.buddypress-wrap .tabbed-links ul li a:hover,
|
584 |
+
.buddypress-wrap .tabbed-links ol li a:focus,
|
585 |
+
.buddypress-wrap .tabbed-links ol li a:hover {
|
586 |
background: none;
|
587 |
}
|
588 |
+
.buddypress-wrap .tabbed-links ul li:not(.current),
|
589 |
+
.buddypress-wrap .tabbed-links ol li:not(.current) {
|
590 |
+
margin-bottom: 2px;
|
591 |
+
}
|
592 |
+
.buddypress-wrap .tabbed-links ul li.current,
|
593 |
+
.buddypress-wrap .tabbed-links ol li.current {
|
594 |
border-color: #ccc #ccc #fff;
|
595 |
border-style: solid;
|
596 |
border-top-right-radius: 4px;
|
599 |
margin-bottom: -1px;
|
600 |
padding: 0 0.5em 1px;
|
601 |
}
|
602 |
+
.buddypress-wrap .tabbed-links ul li.current a,
|
603 |
+
.buddypress-wrap .tabbed-links ol li.current a {
|
604 |
+
background: none;
|
605 |
color: #333;
|
606 |
}
|
607 |
+
.buddypress-wrap .bp-subnavs.tabbed-links > ul {
|
608 |
margin-top: 0;
|
609 |
}
|
610 |
+
.buddypress-wrap .bp-navs.tabbed-links {
|
611 |
background: none;
|
612 |
margin-top: 2px;
|
613 |
}
|
614 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li a {
|
615 |
border-left: 0;
|
616 |
font-size: inherit;
|
617 |
}
|
618 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li.last {
|
619 |
float: left;
|
620 |
margin: 0;
|
621 |
}
|
622 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li.last a {
|
623 |
margin-top: -0.5em;
|
624 |
}
|
625 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li a,
|
626 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li a:focus,
|
627 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li a:hover,
|
628 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li.current a,
|
629 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li.current a:focus,
|
630 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li.current a:hover {
|
631 |
background: none;
|
632 |
border: 0;
|
633 |
}
|
634 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li a:active,
|
635 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li.current a:active {
|
636 |
outline: none;
|
637 |
}
|
638 |
}
|
804 |
line-height: 1.6;
|
805 |
}
|
806 |
|
807 |
+
.buddypress-wrap .group-subnav-filters .group-invites-search {
|
808 |
+
margin-bottom: 1em;
|
809 |
+
}
|
810 |
+
|
811 |
+
.buddypress-wrap .group-subnav-filters .last {
|
812 |
+
text-align: center;
|
813 |
+
}
|
814 |
+
|
815 |
/**
|
816 |
*----------------------------------------------------------
|
817 |
* @section 2.2 - Pagination
|
934 |
.bp-list li .item-meta {
|
935 |
color: #737373;
|
936 |
font-size: 12px;
|
937 |
+
margin-bottom: 10px;
|
938 |
margin-top: 10px;
|
939 |
}
|
940 |
|
1029 |
margin-top: 0;
|
1030 |
}
|
1031 |
|
1032 |
+
.friends-list {
|
1033 |
+
list-style-type: none;
|
1034 |
+
}
|
1035 |
+
|
1036 |
+
.friends-request-list .item-title,
|
1037 |
+
.membership-requests-list .item-title {
|
1038 |
text-align: center;
|
1039 |
}
|
1040 |
|
1041 |
@media screen and (min-width: 46.8em) {
|
1042 |
+
.friends-request-list li,
|
1043 |
+
.membership-requests-list li {
|
1044 |
display: -webkit-flex;
|
1045 |
display: -moz-flex;
|
1046 |
display: -ms-flex;
|
1052 |
-o-flex-flow: row nowrap;
|
1053 |
flex-flow: row nowrap;
|
1054 |
}
|
1055 |
+
.friends-request-list li .item,
|
1056 |
+
.membership-requests-list li .item {
|
1057 |
-webkit-flex: 1 1 auto;
|
1058 |
-moz-flex: 1 1 auto;
|
1059 |
-ms-flex: 1 1 auto;
|
1060 |
-o-flex: 1 1 auto;
|
1061 |
flex: 1 1 auto;
|
1062 |
}
|
1063 |
+
.friends-request-list li .action,
|
1064 |
+
.membership-requests-list li .action {
|
1065 |
text-align: left;
|
1066 |
}
|
1067 |
+
.friends-request-list li .item-title,
|
1068 |
+
.membership-requests-list li .item-title {
|
1069 |
font-size: 22px;
|
1070 |
text-align: right;
|
1071 |
}
|
1072 |
+
.friends-request-list li .item-title h3,
|
1073 |
+
.membership-requests-list li .item-title h3 {
|
1074 |
+
margin: 0;
|
1075 |
+
}
|
1076 |
}
|
1077 |
|
1078 |
#notifications-user-list {
|
1124 |
}
|
1125 |
|
1126 |
.activity-update-form #whats-new-avatar img {
|
1127 |
+
box-shadow: none;
|
1128 |
display: inline-block;
|
1129 |
}
|
1130 |
|
1217 |
.activity-update-form #whats-new-avatar {
|
1218 |
display: block;
|
1219 |
float: right;
|
1220 |
+
margin: 0;
|
1221 |
}
|
1222 |
.activity-update-form #whats-new-content,
|
1223 |
.activity-update-form #whats-new-post-in-box,
|
1224 |
.activity-update-form #whats-new-submit {
|
1225 |
+
margin-right: 8.5%;
|
1226 |
}
|
1227 |
.activity-update-form #whats-new-submit input {
|
1228 |
margin-bottom: 0;
|
1266 |
}
|
1267 |
|
1268 |
.activity-list .activity-item div.item-avatar img {
|
1269 |
+
height: auto;
|
1270 |
max-width: 40%;
|
1271 |
}
|
1272 |
|
2086 |
.single-headers #item-header-avatar a img {
|
2087 |
float: right;
|
2088 |
}
|
2089 |
+
.single-headers #item-header-content {
|
2090 |
+
padding-right: 2em;
|
2091 |
+
}
|
2092 |
}
|
2093 |
|
2094 |
.single-headers .group-status,
|
2531 |
*-----------------------------------------
|
2532 |
*/
|
2533 |
/*
|
2534 |
+
* bp-nouveau styling: invite members, sent invites
|
2535 |
+
* @version 3.0.0
|
2536 |
+
*/
|
2537 |
.buddypress .bp-invites-content ul.item-list {
|
2538 |
border-top: 0;
|
2539 |
}
|
2548 |
}
|
2549 |
|
2550 |
.buddypress .bp-invites-content ul.item-list li .list-title {
|
2551 |
+
margin: 0 auto;
|
2552 |
+
width: 80%;
|
2553 |
}
|
2554 |
|
2555 |
.buddypress .bp-invites-content ul.item-list li .action {
|
2598 |
margin: 10px 0;
|
2599 |
}
|
2600 |
|
2601 |
+
.buddypress .bp-invites-content #send-invites-editor ul:before,
|
2602 |
+
.buddypress .bp-invites-content #send-invites-editor ul:after {
|
2603 |
+
content: " ";
|
2604 |
+
display: table;
|
2605 |
+
}
|
2606 |
+
|
2607 |
+
.buddypress .bp-invites-content #send-invites-editor ul:after {
|
2608 |
+
clear: both;
|
2609 |
}
|
2610 |
|
2611 |
.buddypress .bp-invites-content #send-invites-editor textarea {
|
2616 |
clear: both;
|
2617 |
list-style: none;
|
2618 |
margin: 10px 0;
|
|
|
2619 |
}
|
2620 |
|
2621 |
.buddypress .bp-invites-content #send-invites-editor ul li {
|
2625 |
max-width: 50px;
|
2626 |
}
|
2627 |
|
2628 |
+
.buddypress .bp-invites-content #send-invites-editor #bp-send-invites-form {
|
2629 |
+
clear: both;
|
2630 |
+
margin-top: 10px;
|
2631 |
+
}
|
2632 |
+
|
2633 |
.buddypress .bp-invites-content #send-invites-editor .action {
|
2634 |
margin-top: 10px;
|
2635 |
padding-top: 10px;
|
2662 |
}
|
2663 |
}
|
2664 |
|
2665 |
+
@media screen and (min-width: 46.8em) {
|
2666 |
+
:not(.vertical) + .item-body #group-invites-container {
|
2667 |
+
display: -ms-grid;
|
2668 |
+
display: grid;
|
2669 |
+
-ms-grid-columns: 25% auto;
|
2670 |
+
grid-template-columns: 25% auto;
|
2671 |
+
grid-template-areas: "group-invites-nav group-invites-column";
|
2672 |
+
}
|
2673 |
+
:not(.vertical) + .item-body #group-invites-container .bp-invites-nav {
|
2674 |
+
-ms-grid-row: 1;
|
2675 |
+
-ms-grid-column: 1;
|
2676 |
+
grid-area: group-invites-nav;
|
2677 |
+
}
|
2678 |
+
:not(.vertical) + .item-body #group-invites-container .bp-invites-nav li {
|
2679 |
+
display: block;
|
2680 |
+
float: none;
|
2681 |
+
}
|
2682 |
+
:not(.vertical) + .item-body #group-invites-container .group-invites-column {
|
2683 |
+
-ms-grid-row: 1;
|
2684 |
+
-ms-grid-column: 2;
|
2685 |
+
grid-area: group-invites-column;
|
2686 |
+
}
|
2687 |
+
}
|
2688 |
+
|
2689 |
/*
|
2690 |
*-----------------------------------------
|
2691 |
* @subsection 5.2.1.4 - Group Activity
|
2987 |
flex: 1 2 5%;
|
2988 |
}
|
2989 |
|
2990 |
+
#message-threads li .thread-from,
|
2991 |
+
#message-threads li .thread-to {
|
2992 |
-webkit-flex: 1 2 20%;
|
2993 |
-moz-flex: 1 2 20%;
|
2994 |
-ms-flex: 1 2 20%;
|
2996 |
flex: 1 2 20%;
|
2997 |
}
|
2998 |
|
2999 |
+
#message-threads li .thread-from img.avatar,
|
3000 |
+
#message-threads li .thread-to img.avatar {
|
3001 |
float: right;
|
3002 |
margin: 0 0 0 10px;
|
3003 |
}
|
3004 |
|
3005 |
+
#message-threads li .thread-from .user-name,
|
3006 |
+
#message-threads li .thread-to .user-name {
|
3007 |
display: inline-block;
|
3008 |
line-height: 1.1;
|
3009 |
}
|
3010 |
|
3011 |
+
#message-threads li .thread-from .num-recipients,
|
3012 |
+
#message-threads li .thread-to .num-recipients {
|
3013 |
+
color: #737373;
|
3014 |
+
font-weight: 400;
|
3015 |
+
font-size: 12px;
|
3016 |
+
margin: 0;
|
3017 |
+
}
|
3018 |
+
|
3019 |
#message-threads li .thread-content {
|
3020 |
-webkit-flex: 1 2 60%;
|
3021 |
-moz-flex: 1 2 60%;
|
3040 |
color: #5087e5;
|
3041 |
}
|
3042 |
|
3043 |
+
#message-threads li.unread {
|
3044 |
+
font-weight: 700;
|
3045 |
}
|
3046 |
|
3047 |
#message-threads li .thread-content .excerpt {
|
3051 |
}
|
3052 |
|
3053 |
#message-threads li .thread-content .thread-from,
|
3054 |
+
#message-threads li .thread-content .thread-to,
|
3055 |
#message-threads li .thread-content .thread-subject {
|
3056 |
font-size: 13px;
|
3057 |
}
|
3058 |
|
3059 |
@media screen and (min-width: 46.8em) {
|
3060 |
#message-threads li .thread-content .thread-from,
|
3061 |
+
#message-threads li .thread-content .thread-to,
|
3062 |
#message-threads li .thread-content .thread-subject {
|
3063 |
font-size: 16px;
|
3064 |
}
|
3082 |
max-width: 30%;
|
3083 |
}
|
3084 |
|
3085 |
+
.bp-messages-content .actions .bp-icons:not(.bp-hide) {
|
3086 |
display: inline-block;
|
3087 |
margin: 0;
|
3088 |
padding: 0.3em 0.5em;
|
3089 |
}
|
3090 |
|
3091 |
+
.bp-messages-content .actions .bp-icons:not(.bp-hide):before {
|
3092 |
font-size: 26px;
|
3093 |
}
|
3094 |
|
3098 |
}
|
3099 |
|
3100 |
.bp-messages-content #thread-preview .preview-message {
|
3101 |
+
overflow: hidden;
|
3102 |
}
|
3103 |
|
3104 |
.bp-messages-content #thread-preview .preview-content {
|
3131 |
-webkit-box-shadow: 2px 1px 9px 0 #eee;
|
3132 |
-moz-box-shadow: 2px 1px 9px 0 #eee;
|
3133 |
box-shadow: 2px 1px 9px 0 #eee;
|
3134 |
+
display: table;
|
3135 |
padding: 0.2em;
|
3136 |
+
width: 100%;
|
3137 |
}
|
3138 |
|
3139 |
.bp-messages-content #bp-message-thread-list .message-metadata .avatar {
|
3167 |
}
|
3168 |
|
3169 |
.bp-messages-content #bp-message-thread-list .message-content {
|
3170 |
+
overflow: hidden;
|
3171 |
margin: 1em auto 0;
|
3172 |
width: 90%;
|
3173 |
}
|
4117 |
text-align: center;
|
4118 |
}
|
4119 |
|
4120 |
+
.buddypress #buddypress .create-button a:focus,
|
4121 |
+
.buddypress #buddypress .create-button a:hover {
|
4122 |
+
text-decoration: underline;
|
4123 |
+
}
|
4124 |
+
|
4125 |
@media screen and (min-width: 46.8em) {
|
4126 |
.buddypress #buddypress .create-button {
|
4127 |
float: left;
|
4374 |
.buddypress-wrap .bp-feedback.error .bp-icon,
|
4375 |
.buddypress-wrap .bp-feedback.warning .bp-icon,
|
4376 |
.buddypress-wrap .bp-feedback.loading .bp-icon,
|
4377 |
+
.buddypress-wrap .bp-feedback.success .bp-icon,
|
4378 |
+
.buddypress-wrap .bp-feedback.updated .bp-icon {
|
4379 |
display: -webkit-box;
|
4380 |
display: -ms-flexbox;
|
4381 |
display: -webkit-flex;
|
4414 |
content: "\f469";
|
4415 |
}
|
4416 |
|
4417 |
+
.buddypress-wrap .bp-feedback.success .bp-icon,
|
4418 |
+
.buddypress-wrap .bp-feedback.updated .bp-icon {
|
4419 |
background-color: #8a2;
|
4420 |
}
|
4421 |
|
4422 |
+
.buddypress-wrap .bp-feedback.success .bp-icon:before,
|
4423 |
+
.buddypress-wrap .bp-feedback.updated .bp-icon:before {
|
4424 |
content: "\f147";
|
4425 |
}
|
4426 |
|
4571 |
overflow-wrap: break-word;
|
4572 |
}
|
4573 |
|
4574 |
+
.buddypress.widget .activity-list {
|
4575 |
+
padding: 0;
|
4576 |
+
}
|
4577 |
+
|
4578 |
+
.buddypress.widget .activity-list blockquote {
|
4579 |
+
margin: 0 0 1.5em;
|
4580 |
+
overflow: visible;
|
4581 |
+
padding: 0 0.75em 0.75em 0;
|
4582 |
+
}
|
4583 |
+
|
4584 |
+
.buddypress.widget .activity-list img {
|
4585 |
+
margin-bottom: 0.5em;
|
4586 |
+
}
|
4587 |
+
|
4588 |
+
.buddypress.widget .avatar-block {
|
4589 |
+
display: -webkit-flex;
|
4590 |
+
display: -moz-flex;
|
4591 |
+
display: -ms-flex;
|
4592 |
+
display: -o-flex;
|
4593 |
+
display: flex;
|
4594 |
+
-webkit-flex-flow: row wrap;
|
4595 |
+
-moz-flex-flow: row wrap;
|
4596 |
+
-ms-flex-flow: row wrap;
|
4597 |
+
-o-flex-flow: row wrap;
|
4598 |
+
flex-flow: row wrap;
|
4599 |
+
}
|
4600 |
+
|
4601 |
+
.buddypress.widget .avatar-block img {
|
4602 |
+
margin-bottom: 1em;
|
4603 |
+
margin-left: 1em;
|
4604 |
+
}
|
4605 |
+
|
4606 |
.widget-area .buddypress.widget ul.item-list li {
|
4607 |
-webkit-flex: 0 1 46%;
|
4608 |
-moz-flex: 0 1 46%;
|
4776 |
}
|
4777 |
}
|
4778 |
|
4779 |
+
.activity-list .bp-tooltip:after,
|
4780 |
.activity-meta-action .bp-tooltip:after,
|
4781 |
.notification-actions .bp-tooltip:after,
|
4782 |
.participants-list .bp-tooltip:after {
|
4786 |
transform: translate(0, 0);
|
4787 |
}
|
4788 |
|
4789 |
+
.bp-invites-content .bp-tooltip:after,
|
4790 |
+
.message-metadata .actions .bp-tooltip:after,
|
4791 |
+
.single-message-thread-header .actions .bp-tooltip:after {
|
4792 |
right: auto;
|
4793 |
left: 0;
|
4794 |
-webkit-transform: translate(0, 0);
|
4796 |
transform: translate(0, 0);
|
4797 |
}
|
4798 |
|
4799 |
+
.bp-invites-content #send-invites-editor .bp-tooltip:after {
|
4800 |
+
right: 0;
|
4801 |
+
left: auto;
|
4802 |
+
}
|
4803 |
+
|
4804 |
/**
|
4805 |
*-------------------------------------------------------------------------------
|
4806 |
* @section 9.0 - Layout classes
|
5121 |
}
|
5122 |
|
5123 |
@media screen and (min-width: 46.8em) {
|
5124 |
+
.bp-single-vert-nav .bp-navs.vertical {
|
5125 |
overflow: visible;
|
5126 |
}
|
5127 |
+
.bp-single-vert-nav .bp-navs.vertical ul {
|
5128 |
border-left: 1px solid #d6d6d6;
|
5129 |
+
border-bottom: 0;
|
5130 |
float: right;
|
5131 |
margin-left: -1px;
|
5132 |
width: 25%;
|
5133 |
}
|
5134 |
+
.bp-single-vert-nav .bp-navs.vertical li {
|
5135 |
float: none;
|
5136 |
+
margin-left: 0;
|
5137 |
}
|
5138 |
+
.bp-single-vert-nav .bp-navs.vertical li.selected a {
|
5139 |
background: #ccc;
|
5140 |
color: #333;
|
5141 |
}
|
5142 |
+
.bp-single-vert-nav .bp-navs.vertical li:focus, .bp-single-vert-nav .bp-navs.vertical li:hover {
|
5143 |
background: #ccc;
|
5144 |
}
|
5145 |
+
.bp-single-vert-nav .bp-navs.vertical li span {
|
5146 |
background: #d6d6d6;
|
5147 |
border-radius: 10%;
|
5148 |
float: left;
|
5149 |
margin-left: 2px;
|
5150 |
}
|
5151 |
+
.bp-single-vert-nav .bp-navs.vertical li:hover span {
|
5152 |
border-color: #eaeaea;
|
5153 |
}
|
5154 |
+
.bp-single-vert-nav .bp-navs.vertical.tabbed-links li.selected a {
|
5155 |
+
padding-right: 0;
|
5156 |
+
}
|
5157 |
.bp-single-vert-nav .bp-wrap {
|
5158 |
margin-bottom: 15px;
|
5159 |
}
|
bp-templates/bp-nouveau/css/buddypress-rtl.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body #buddypress * a{box-shadow:none;text-decoration:none}body #buddypress #item-body blockquote,body #buddypress .bp-lists blockquote{margin-right:10px}body #buddypress .bp-list .action{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media screen and (min-width:46.8em){body.buddypress .entry-content,body.buddypress .entry-header,body.buddypress .site-content .entry-header{max-width:none}body.buddypress .entry-header{float:none;max-width:none}body.buddypress .entry-content{float:none;max-width:none}body.buddypress .site-content{padding-top:2.5em}body.buddypress #page #primary{max-width:none}body.buddypress #page #primary .entry-content,body.buddypress #page #primary .entry-header{float:none;width:auto}}body.buddypress .buddypress-wrap h1,body.buddypress .buddypress-wrap h2,body.buddypress .buddypress-wrap h3,body.buddypress .buddypress-wrap h4,body.buddypress .buddypress-wrap h5,body.buddypress .buddypress-wrap h6{clear:none;margin:1em 0;padding:0}.bp-wrap:after,.bp-wrap:before{content:" ";display:table}.bp-wrap:after{clear:both}.buddypress-wrap.round-avatars .avatar{border-radius:50%}div,dl,input[type=reset],input[type=search],input[type=submit],li,select,textarea{-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box}body.buddypress article.page>.entry-header{margin-bottom:2em;padding:0}body.buddypress article.page>.entry-header .entry-title{font-size:28px;font-weight:inherit;color:#767676}@media screen and (min-width:46.8em){body.buddypress article.page>.entry-header .entry-title{font-size:34px}}.buddypress-wrap dt.section-title{font-size:18px}@media screen and (min-width:46.8em){.buddypress-wrap dt.section-title{font-size:22px}}.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:16px}}.buddypress-wrap .activity-header{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-header{font-size:16px}}.buddypress-wrap .activity-inner{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-inner{font-size:18px}}.buddypress-wrap #whats-new-post-in{font-size:16px}.buddypress-wrap .acomment-meta,.buddypress-wrap .mini .activity-header{font-size:16px}.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:16px}}.buddypress-wrap .bp-tables-user th{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user th{font-size:16px}}.buddypress-wrap .bp-tables-user td{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user td{font-size:14px}}.buddypress-wrap .profile-fields th{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields th{font-size:18px}}.buddypress-wrap .profile-fields td{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields td{font-size:16px}}.buddypress-wrap #notification-select{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap #notification-select{font-size:14px}}.bp-navs{background:0 0;clear:both;overflow:hidden}.bp-navs ul{margin:0;padding:0}.bp-navs ul li{list-style:none;margin:0}.bp-navs ul li.last select{max-width:185px}.bp-navs ul li a,.bp-navs ul li span{border:0;display:block;padding:5px 10px;text-decoration:none}.bp-navs ul li .count{background:#eaeaea;border:1px solid #ccc;border-radius:50%;color:#555;display:inline;font-size:12px;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}.bp-navs ul li.current a,.bp-navs ul li.selected a{color:#333;opacity:1}.bp-navs.bp-invites-filters ul li a,.bp-navs.bp-messages-filters ul li a{border:1px solid #ccc;display:inline-block}.main-navs.dir-navs{margin-bottom:20px}.buddypress-wrap .bp-navs li a:hover a .count,.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count{background-color:#ccc}.buddypress-wrap .bp-navs li:not(.current) a:focus,.buddypress-wrap .bp-navs li:not(.current) a:hover,.buddypress-wrap .bp-navs li:not(.selected) a:focus,.buddypress-wrap .bp-navs li:not(.selected) a:hover{background:#ccc;color:#333}.buddypress-wrap .bp-navs li.current a,.buddypress-wrap .bp-navs li.current a:focus,.buddypress-wrap .bp-navs li.current a:hover,.buddypress-wrap .bp-navs li.selected a,.buddypress-wrap .bp-navs li.selected a:focus,.buddypress-wrap .bp-navs li.selected a:hover{background:#555;color:#fafafa}.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.current a:focus .count,.buddypress-wrap .bp-navs li.current a:hover .count,.buddypress-wrap .bp-navs li.selected a .count,.buddypress-wrap .bp-navs li.selected a:focus .count,.buddypress-wrap .bp-navs li.selected a:hover .count{border-color:#fafafa}@media screen and (min-width:46.8em){.buddypress-wrap .main-navs:not(.dir-navs) li.current a,.buddypress-wrap .main-navs:not(.dir-navs) li.selected a{background:#fff;color:#333;font-weight:600}.buddypress-wrap .main-navs.vertical li.current a,.buddypress-wrap .main-navs.vertical li.selected a{background:#555;color:#fafafa;text-decoration:none}.buddypress-wrap.bp-dir-hori-nav nav:not(".tabbed-links"){border-bottom:1px solid #eee;border-top:1px solid #eee;-webkit-box-shadow:0 2px 12px 0 #fafafa;-moz-box-shadow:0 2px 12px 0 #fafafa;box-shadow:0 2px 12px 0 #fafafa}}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.selected a{background:#fff;color:#333;font-weight:600}@media screen and (max-width:46.8em){.buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li{background:#eaeaea}}.buddypress-wrap:not(.bp-single-vert-nav) .main-navs>ul>li>a{padding:.5em calc(.5em + 2px)}.buddypress-wrap:not(.bp-single-vert-nav) .group-subnav#subsubnav,.buddypress-wrap:not(.bp-single-vert-nav) .user-subnav#subsubnav{background:0 0}.buddypress-wrap .bp-subnavs,.buddypress-wrap ul.subnav{width:100%}.buddypress-wrap .bp-subnavs{margin:10px 0;overflow:hidden}.buddypress-wrap .bp-subnavs ul li{margin-top:0}.buddypress-wrap .bp-subnavs ul li.current :focus,.buddypress-wrap .bp-subnavs ul li.current :hover,.buddypress-wrap .bp-subnavs ul li.selected :focus,.buddypress-wrap .bp-subnavs ul li.selected :hover{background:0 0;color:#333}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap .bp-navs.bp-invites-filters#subsubnav ul li.last,.buddypress-wrap .bp-navs.bp-invites-nav#subnav ul li.last,.buddypress-wrap .bp-navs.bp-messages-filters#subsubnav ul li.last{margin-top:0}@media screen and (max-width:46.8em){.buddypress-wrap .single-screen-navs{border:1px solid #eee}.buddypress-wrap .single-screen-navs li{border-bottom:1px solid #eee}.buddypress-wrap .single-screen-navs li:last-child{border-bottom:none}.buddypress-wrap .bp-subnavs li a{font-size:14px}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.current a:focus,.buddypress-wrap .bp-subnavs li.current a:hover,.buddypress-wrap .bp-subnavs li.selected a,.buddypress-wrap .bp-subnavs li.selected a:focus,.buddypress-wrap .bp-subnavs li.selected a:hover{background:#555;color:#fff}}.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count,.buddypress_object_nav .bp-navs li.current a .count,.buddypress_object_nav .bp-navs li.selected a .count{background-color:#fff}.buddypress-wrap .bp-navs li.dynamic a .count,.buddypress-wrap .bp-navs li.dynamic.current a .count,.buddypress-wrap .bp-navs li.dynamic.selected a .count,.buddypress_object_nav .bp-navs li.dynamic a .count,.buddypress_object_nav .bp-navs li.dynamic.current a .count,.buddypress_object_nav .bp-navs li.dynamic.selected a .count{background-color:#5087e5;border:0;color:#fafafa}.buddypress-wrap .bp-navs li.dynamic a:hover .count,.buddypress_object_nav .bp-navs li.dynamic a:hover .count{background-color:#5087e5;border:0;color:#fff}.buddypress-wrap .bp-navs li a .count:empty,.buddypress_object_nav .bp-navs li a .count:empty{display:none}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current),.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current){color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:hover{background:0 0;color:#333}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li.current a,.buddypress_object_nav .bp-navs.group-create-links ul li.current a{text-align:center}@media screen and (min-width:46.8em){.buddypress-wrap .bp-navs li{float:right}.buddypress-wrap .subnav{float:right}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap #subsubnav .activity-search{float:right}.buddypress-wrap #subsubnav .filter{float:left}}.buddypress_object_nav .bp-navs li a .count{display:inline-block;float:left}@media screen and (min-width:46.8em){.bp-dir-vert-nav .bp-navs.dir-navs{background:0 0}.bp-dir-vert-nav .bp-navs.dir-navs a .count{float:left}}@media screen and (min-width:46.8em){.buddypress-wrap .item-body .tabbed-links ol,.buddypress-wrap .item-body .tabbed-links ul{border-bottom:1px solid #ccc;float:none;margin:20px 0 10px}.buddypress-wrap .item-body .tabbed-links ol:after,.buddypress-wrap .item-body .tabbed-links ol:before,.buddypress-wrap .item-body .tabbed-links ul:after,.buddypress-wrap .item-body .tabbed-links ul:before{content:" ";display:block}.buddypress-wrap .item-body .tabbed-links ol:after,.buddypress-wrap .item-body .tabbed-links ul:after{clear:both}.buddypress-wrap .item-body .tabbed-links ol li,.buddypress-wrap .item-body .tabbed-links ul li{float:right;list-style:none;margin:0 0 0 10px}.buddypress-wrap .item-body .tabbed-links ol li a,.buddypress-wrap .item-body .tabbed-links ol li span,.buddypress-wrap .item-body .tabbed-links ul li a,.buddypress-wrap .item-body .tabbed-links ul li span{background:0 0;border:none;display:block;padding:4px 10px}.buddypress-wrap .item-body .tabbed-links ol li a:focus,.buddypress-wrap .item-body .tabbed-links ol li a:hover,.buddypress-wrap .item-body .tabbed-links ul li a:focus,.buddypress-wrap .item-body .tabbed-links ul li a:hover{background:0 0}.buddypress-wrap .item-body .tabbed-links ol li.current,.buddypress-wrap .item-body .tabbed-links ul li.current{border-color:#ccc #ccc #fff;border-style:solid;border-top-right-radius:4px;border-top-left-radius:4px;border-width:1px;margin-bottom:-1px;padding:0 .5em 1px}.buddypress-wrap .item-body .tabbed-links ol li.current a,.buddypress-wrap .item-body .tabbed-links ul li.current a{color:#333}.buddypress-wrap .item-body .bp-subnavs.tabbed-links>ul{margin-top:0}.buddypress-wrap .item-body .bp-navs.tabbed-links{background:0 0;margin-top:2px}.buddypress-wrap .item-body .bp-navs.tabbed-links ul li a{border-left:0;font-size:inherit}.buddypress-wrap .item-body .bp-navs.tabbed-links ul li.last{float:left;margin:0}.buddypress-wrap .item-body .bp-navs.tabbed-links ul li.last a{margin-top:-.5em}.buddypress-wrap .item-body .bp-navs.tabbed-links ul li a,.buddypress-wrap .item-body .bp-navs.tabbed-links ul li a:focus,.buddypress-wrap .item-body .bp-navs.tabbed-links ul li a:hover,.buddypress-wrap .item-body .bp-navs.tabbed-links ul li.current a,.buddypress-wrap .item-body .bp-navs.tabbed-links ul li.current a:focus,.buddypress-wrap .item-body .bp-navs.tabbed-links ul li.current a:hover{background:0 0;border:0}.buddypress-wrap .item-body .bp-navs.tabbed-links ul li a:active,.buddypress-wrap .item-body .bp-navs.tabbed-links ul li.current a:active{outline:0}}.buddypress-wrap .dir-component-filters .filter label{display:inline}.buddypress-wrap .subnav-filters:after,.buddypress-wrap .subnav-filters:before{content:" ";display:table}.buddypress-wrap .subnav-filters:after{clear:both}.buddypress-wrap .subnav-filters{background:0 0;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .subnav-filters div{margin:0}.buddypress-wrap .subnav-filters>ul{float:right;list-style:none}.buddypress-wrap .subnav-filters.bp-messages-filters ul{width:100%}.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:1em}@media screen and (min-width:46.8em){.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:0}}.buddypress-wrap .subnav-filters div{float:none}.buddypress-wrap .subnav-filters div input[type=search],.buddypress-wrap .subnav-filters div select{font-size:16px}.buddypress-wrap .subnav-filters div button.nouveau-search-submit{padding:5px .8em 6px}.buddypress-wrap .subnav-filters div button#user_messages_search_submit{padding:7px .8em}.buddypress-wrap .subnav-filters .component-filters{margin-top:10px}.buddypress-wrap .subnav-filters .feed{margin-left:15px}.buddypress-wrap .subnav-filters .last.filter label{display:inline}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:before{content:" ";display:table}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after{clear:both}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-show{display:inline-block}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-hide{display:none}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap{border:0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:focus,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:hover{outline:1px solid #d6d6d6}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions{float:right}.buddypress-wrap .subnav-filters .user-messages-bulk-actions label{display:inline-block;font-weight:300;margin-left:25px;padding:5px 0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions div select{-webkit-appearance:textfield}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply{border:0;border-radius:none;font-weight:400;line-height:1.8;margin:0 10px 0 0;padding:3px 5px;text-align:center;text-transform:none;width:auto}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply span{vertical-align:middle}@media screen and (min-width:32em){.buddypress-wrap .subnav-filters li{margin-bottom:0}.buddypress-wrap .subnav-filters .bp-search,.buddypress-wrap .subnav-filters .dir-search,.buddypress-wrap .subnav-filters .feed,.buddypress-wrap .subnav-filters .group-act-search,.buddypress-wrap .subnav-filters .group-invites-search,.buddypress-wrap .subnav-filters .subnav-search,.buddypress-wrap .subnav-filters .subnav-search form,.buddypress-wrap .subnav-filters .user-messages-bulk-actions,.buddypress-wrap .subnav-filters .user-messages-search{float:right}.buddypress-wrap .subnav-filters .component-filters,.buddypress-wrap .subnav-filters .last{float:left;margin-top:0;width:auto}.buddypress-wrap .subnav-filters .component-filters select,.buddypress-wrap .subnav-filters .last select{max-width:250px}.buddypress-wrap .subnav-filters .user-messages-search{float:left}}.buddypress-wrap .notifications-options-nav input#notification-bulk-manage{border:0;border-radius:0;line-height:1.6}.buddypress-wrap .bp-pagination{background:0 0;border:0;color:#767676;float:right;font-size:small;margin:0;padding:.5em 0;position:relative;width:100%}.buddypress-wrap .bp-pagination .pag-count{float:right}.buddypress-wrap .bp-pagination .bp-pagination-links{float:left;margin-left:10px}.buddypress-wrap .bp-pagination .bp-pagination-links a,.buddypress-wrap .bp-pagination .bp-pagination-links span{font-size:small;padding:0 5px}.buddypress-wrap .bp-pagination .bp-pagination-links a:focus,.buddypress-wrap .bp-pagination .bp-pagination-links a:hover{opacity:1}.buddypress-wrap .bp-pagination p{margin:0}.bp-list:after,.bp-list:before{content:" ";display:table}.bp-list:after{clear:both}.bp-list{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #eaeaea;clear:both;list-style:none;margin:20px 0;padding:.5em 0;width:100%}.bp-list li:after,.bp-list li:before{content:" ";display:table}.bp-list li:after{clear:both}.bp-list>li{border-bottom:1px solid #eaeaea}.bp-list li{list-style:none;margin:10px 0;padding:.5em 0;position:relative}.bp-list li .item-avatar{text-align:center}.bp-list li .item-avatar img.avatar{display:inline}.bp-list li .item .group-details,.bp-list li .item .item-avatar,.bp-list li .item .item-meta,.bp-list li .item .list-title{text-align:center}.bp-list li .item .list-title{clear:none;font-size:22px;font-weight:400;line-height:1.1;margin:0 auto}@media screen and (min-width:46.8em){.bp-list li .item .list-title{font-size:26px}}.bp-list li .item-meta,.bp-list li .meta{color:#737373;font-size:12px;margin-top:10px}.bp-list li .last-post{text-align:center}.bp-list li .action{margin:0;text-align:center}.bp-list li .action .generic-button{display:inline-block;font-size:12px;margin:0 0 0 10px}.bp-list li .action div.generic-button{margin:10px 0}@media screen and (min-width:46.8em){.bp-list li .item-avatar{float:right;margin-left:5%}.bp-list li .item{margin:0;overflow:hidden}.bp-list li .item .item-block{float:right;margin-left:2%;width:50%}.bp-list li .item .item-meta,.bp-list li .item .list-title{float:right;text-align:right}.bp-list li .item .group-details,.bp-list li .item .last-post{text-align:right}.bp-list li .group-desc,.bp-list li .last-post,.bp-list li .user-update{clear:none;overflow:hidden;width:auto}.bp-list li .action{clear:right;padding:0;text-align:right}.bp-list li .action li.generic-button{margin-left:0}.bp-list li .action div.generic-button{margin:0 0 10px}.bp-list li .generic-button{display:block;margin:0 0 5px 0}}@media screen and (min-width:32em){#activity-stream{clear:both;padding-top:1em}}.activity-list.bp-list{background:#fafafa;border:1px solid #eee}.activity-list.bp-list .activity-item{background:#fff;border:1px solid #b7b7b7;-webkit-box-shadow:0 0 6px #d2d2d2;-moz-box-shadow:0 0 6px #d2d2d2;box-shadow:0 0 6px #d2d2d2;margin:20px 0}.activity-list.bp-list li:first-child{margin-top:0}.friends-request-list .item-title{text-align:center}@media screen and (min-width:46.8em){.friends-request-list li{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row nowrap;-moz-flex-flow:row nowrap;-ms-flex-flow:row nowrap;-o-flex-flow:row nowrap;flex-flow:row nowrap}.friends-request-list li .item{-webkit-flex:1 1 auto;-moz-flex:1 1 auto;-ms-flex:1 1 auto;-o-flex:1 1 auto;flex:1 1 auto}.friends-request-list li .action{text-align:left}.friends-request-list li .item-title{font-size:22px;text-align:right}}#notifications-user-list{clear:both;padding-top:1em}@media screen and (min-width:46.8em){body:not(.logged-in) .bp-list .item{margin-left:0}}.activity-permalink .item-list,.activity-permalink .item-list li.activity-item{border:0}.activity-update-form{padding:10px 10px 0}.item-body .activity-update-form .activity-form{margin:0;padding:0}.activity-update-form{border:1px solid #ccc;-webkit-box-shadow:inset 0 0 6px #eee;-moz-box-shadow:inset 0 0 6px #eee;box-shadow:inset 0 0 6px #eee;margin:15px 0}.activity-update-form #whats-new-avatar{margin:10px 0;text-align:center}.activity-update-form #whats-new-avatar img{display:inline-block}.activity-update-form #whats-new-content{padding:0 0 20px 0}.activity-update-form #whats-new-textarea textarea{background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:#333;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}.activity-update-form #whats-new-textarea textarea:focus{-webkit-box-shadow:0 0 6px 0 #d6d6d6;-moz-box-shadow:0 0 6px 0 #d6d6d6;box-shadow:0 0 6px 0 #d6d6d6}.activity-update-form #whats-new-post-in-box{margin:10px 0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items{list-style:none;margin:10px 0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li{margin-bottom:10px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items #activity-autocomplete{padding:.3em}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center;padding:.2em}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object .avatar{width:30px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object span{padding-right:10px;vertical-align:middle}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:focus,.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:hover{background:#eaeaea;cursor:pointer}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object.selected{border:1px solid #d6d6d6}.activity-update-form #whats-new-submit{margin:15px 0 10px}.activity-update-form #whats-new-submit input{font-size:14px;line-height:inherit;margin-bottom:10px;margin-left:10px;padding:.2em 0;text-align:center;width:100%}@media screen and (min-width:46.8em){.activity-update-form #whats-new-avatar{display:block;float:right;margin:0 0 0 10px}.activity-update-form #whats-new-content,.activity-update-form #whats-new-post-in-box,.activity-update-form #whats-new-submit{margin-right:12%}.activity-update-form #whats-new-submit input{margin-bottom:0;margin-left:10px;width:8em}}.activity-list{padding:.5em}.activity-list .activity-item:after,.activity-list .activity-item:before{content:" ";display:table}.activity-list .activity-item:after{clear:both}.activity-list .activity-item{list-style:none;padding:1em}.activity-list .activity-item.has-comments{padding-bottom:1em}.activity-list .activity-item div.item-avatar{margin:0 auto;text-align:center;width:auto}.activity-list .activity-item div.item-avatar img{max-width:40%}@media screen and (min-width:46.8em){.activity-list .activity-item div.item-avatar{margin:0 0 0 2%;text-align:right;width:15%}.activity-list .activity-item div.item-avatar img{max-width:80%}}.activity-list .activity-item.mini{font-size:13px;position:relative}.activity-list .activity-item.mini .activity-avatar{margin-right:0 auto;text-align:center;width:auto}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:15%}@media screen and (min-width:46.8em){.activity-list .activity-item.mini .activity-avatar{margin-right:15px;text-align:right;width:15%}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:60%}}.activity-list .activity-item.new_forum_post .activity-inner,.activity-list .activity-item.new_forum_topic .activity-inner{border-right:2px solid #eaeaea;margin-right:10px;padding-right:1em}.activity-list .activity-item.newest_blogs_activity,.activity-list .activity-item.newest_friends_activity,.activity-list .activity-item.newest_groups_activity,.activity-list .activity-item.newest_mentions_activity{background:rgba(31,179,221,.1)}.activity-list .activity-item .activity-inreplyto{color:#767676;font-size:13px}.activity-list .activity-item .activity-inreplyto>p{display:inline;margin:0}.activity-list .activity-item .activity-inreplyto .activity-inner,.activity-list .activity-item .activity-inreplyto blockquote{background:0 0;border:0;display:inline;margin:0;overflow:hidden;padding:0}.activity-list .activity-item .activity-header{margin:0 auto;width:80%}.activity-list .activity-item .activity-header a,.activity-list .activity-item .activity-header img{display:inline}.activity-list .activity-item .activity-header .avatar{display:inline-block;margin:0 5px;vertical-align:bottom}.activity-list .activity-item .activity-header .time-since{font-size:14px;color:#767676;text-decoration:none}.activity-list .activity-item .activity-header .time-since:hover{color:#767676;cursor:pointer;text-decoration:underline}.activity-list .activity-item .activity-content .activity-header,.activity-list .activity-item .activity-content .comment-header{color:#767676;margin-bottom:10px}.activity-list .activity-item .activity-content .activity-inner,.activity-list .activity-item .activity-content blockquote{background:#fafafa;margin:15px 0 10px;overflow:hidden;padding:1em}.activity-list .activity-item .activity-content p{margin:0}.activity-list .activity-item .activity-inner p{word-wrap:break-word}.activity-list .activity-item .activity-read-more{margin-right:1em;white-space:nowrap}.activity-list .activity-item ul.activity-meta{margin:0;padding-right:0}.activity-list .activity-item ul.activity-meta li{border:0;display:inline-block}.activity-list .activity-item .activity-meta.action{border:1px solid transparent;background:#fafafa;padding:2px;position:relative;text-align:right}.activity-list .activity-item .activity-meta.action div.generic-button{margin:0}.activity-list .activity-item .activity-meta.action .button{background:0 0}.activity-list .activity-item .activity-meta.action a{padding:4px 8px}.activity-list .activity-item .activity-meta.action .button:focus,.activity-list .activity-item .activity-meta.action .button:hover{background:0 0}.activity-list .activity-item .activity-meta.action .button:before,.activity-list .activity-item .activity-meta.action .icons:before{font-family:dashicons;font-size:18px;vertical-align:middle}.activity-list .activity-item .activity-meta.action .acomment-reply.button:before{content:"\f101"}.activity-list .activity-item .activity-meta.action .view:before{content:"\f125"}.activity-list .activity-item .activity-meta.action .fav:before{content:"\f154"}.activity-list .activity-item .activity-meta.action .unfav:before{content:"\f155"}.activity-list .activity-item .activity-meta.action .delete-activity:before{content:"\f153"}.activity-list .activity-item .activity-meta.action .delete-activity:hover{color:#800}.activity-list .activity-item .activity-meta.action .button{border:0;box-shadow:none}.activity-list .activity-item .activity-meta.action .button span{background:0 0;color:#555;font-weight:700}@media screen and (min-width:46.8em){.activity-list.bp-list{padding:30px}.activity-list .activity-item .activity-content{margin:0;position:relative}.activity-list .activity-item .activity-content:after{clear:both;content:"";display:table}.activity-list .activity-item .activity-header{margin:0 0 0 15px;width:auto}}.buddypress-wrap .activity-list .load-more,.buddypress-wrap .activity-list .load-newest{background:#fafafa;border:1px solid #eee;font-size:110%;margin:15px 0;padding:0;text-align:center}.buddypress-wrap .activity-list .load-more a,.buddypress-wrap .activity-list .load-newest a{color:#555;display:block;padding:.5em 0}.buddypress-wrap .activity-list .load-more a:focus,.buddypress-wrap .activity-list .load-more a:hover,.buddypress-wrap .activity-list .load-newest a:focus,.buddypress-wrap .activity-list .load-newest a:hover{background:#fff;color:#333}.buddypress-wrap .activity-list .load-more:focus,.buddypress-wrap .activity-list .load-more:hover,.buddypress-wrap .activity-list .load-newest:focus,.buddypress-wrap .activity-list .load-newest:hover{border-color:#e1e1e1;-webkit-box-shadow:0 0 6px 0 #eaeaea;-moz-box-shadow:0 0 6px 0 #eaeaea;box-shadow:0 0 6px 0 #eaeaea}body.activity-permalink .activity-list li{border-width:1px;padding:1em 0 0 0}body.activity-permalink .activity-list li:first-child{padding-top:0}body.activity-permalink .activity-list li.has-comments{padding-bottom:0}body.activity-permalink .activity-list .activity-avatar{width:auto}body.activity-permalink .activity-list .activity-avatar a{display:block}body.activity-permalink .activity-list .activity-avatar img{max-width:100%}body.activity-permalink .activity-list .activity-content{border:0;font-size:100%;line-height:1.5;padding:0}body.activity-permalink .activity-list .activity-content .activity-header{margin:0;padding:.5em 0 0 0;text-align:center;width:100%}body.activity-permalink .activity-list .activity-content .activity-inner,body.activity-permalink .activity-list .activity-content blockquote{margin-right:0;margin-top:10px}body.activity-permalink .activity-list .activity-meta{margin:10px 0 10px}body.activity-permalink .activity-list .activity-comments{margin-bottom:10px}@media screen and (min-width:46.8em){body.activity-permalink .activity-list .activity-avatar{right:-20px;margin-left:0;position:relative;top:-20px}body.activity-permalink .activity-list .activity-content{margin-left:10px}body.activity-permalink .activity-list .activity-content .activity-header p{text-align:right}}.buddypress-wrap .activity-comments{clear:both;margin:0 5%;overflow:hidden;position:relative;width:auto}.buddypress-wrap .activity-comments ul{clear:both;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .activity-comments ul li{border-top:1px solid #eee;border-bottom:0;padding:1em 0 0}.buddypress-wrap .activity-comments ul li ul{margin-right:5%}.buddypress-wrap .activity-comments ul li:first-child{border-top:0}.buddypress-wrap .activity-comments ul li:last-child{margin-bottom:0}.buddypress-wrap .activity-comments div.acomment-avatar{width:auto}.buddypress-wrap .activity-comments div.acomment-avatar img{border-width:1px;float:right;height:25px;max-width:none;width:25px}.buddypress-wrap .activity-comments .acomment-content p,.buddypress-wrap .activity-comments .acomment-meta{font-size:14px}.buddypress-wrap .activity-comments .acomment-meta{color:#555;overflow:hidden;padding-right:2%}.buddypress-wrap .activity-comments .acomment-content{border-right:1px solid #ccc;margin:15px 10% 0 0;padding:.5em 1em}.buddypress-wrap .activity-comments .acomment-content p{margin-bottom:.5em}.buddypress-wrap .activity-comments .acomment-options{float:right;margin:10px 20px 10px 0}.buddypress-wrap .activity-comments .acomment-options a{color:#767676;font-size:14px}.buddypress-wrap .activity-comments .acomment-options a:focus,.buddypress-wrap .activity-comments .acomment-options a:hover{color:inherit}.buddypress-wrap .activity-comments .activity-meta.action{background:0 0;margin-top:10px}.buddypress-wrap .activity-comments .activity-meta.action button{font-size:14px;font-weight:400;text-transform:none}.buddypress-wrap .activity-comments .show-all button{font-size:14px;text-decoration:underline;padding-right:.5em}.buddypress-wrap .activity-comments .show-all button span{text-decoration:none}.buddypress-wrap .activity-comments .show-all button:focus span,.buddypress-wrap .activity-comments .show-all button:hover span{color:#5087e5}.buddypress-wrap .mini .activity-comments{clear:both;margin-top:0}body.activity-permalink .activity-comments{background:0 0;width:auto}body.activity-permalink .activity-comments>ul{padding:0 1em 0 .5em}body.activity-permalink .activity-comments ul li>ul{margin-top:10px}form.ac-form{display:none;padding:1em}form.ac-form .ac-reply-avatar{float:right}form.ac-form .ac-reply-avatar img{border:1px solid #eee}form.ac-form .ac-reply-content{color:#767676;padding-right:1em}form.ac-form .ac-reply-content a{text-decoration:none}form.ac-form .ac-reply-content .ac-textarea{margin-bottom:15px;padding:0 .5em;overflow:hidden}form.ac-form .ac-reply-content .ac-textarea textarea{background:0 0;box-shadow:none;color:#555;font-family:inherit;font-size:100%;height:60px;margin:0;outline:0;padding:.5em;width:100%}form.ac-form .ac-reply-content .ac-textarea textarea:focus{-webkit-box-shadow:0 0 6px #d6d6d6;-moz-box-shadow:0 0 6px #d6d6d6;box-shadow:0 0 6px #d6d6d6}form.ac-form .ac-reply-content input{margin-top:10px}.activity-comments li form.ac-form{clear:both;margin-left:15px}.activity-comments form.root{margin-right:0}@media screen and (min-width:46.8em){.buddypress-wrap .blogs-list li .item-block{float:none;width:auto}.buddypress-wrap .blogs-list li .item-meta{clear:right;float:none}}@media screen and (min-width:46.8em){.buddypress-wrap .bp-dir-vert-nav .blogs-list .list-title{width:auto}}.buddypress-wrap .groups-list li .list-title{text-align:center}.buddypress-wrap .groups-list li .group-details{clear:right}.buddypress-wrap .groups-list li .group-desc{border:1px solid #eaeaea;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;border-radius:10px;background-clip:padding-box;font-size:13px;color:#737373;font-style:italic;margin:10px auto 0;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .group-desc{font-size:16px}}.buddypress-wrap .groups-list li p{margin:0 0 .5em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .item{margin-left:0}.buddypress-wrap .groups-list li .item-meta,.buddypress-wrap .groups-list li .list-title{text-align:right;width:auto}.buddypress-wrap .groups-list li .item-meta{margin-bottom:20px}.buddypress-wrap .groups-list li .last-activity{clear:right;margin-top:-20px}}.buddypress-wrap .groups-list li.group-no-avatar div.group-desc{margin-right:0}.buddypress-wrap .mygroups .groups-list.grid .wrap{min-height:450px;padding-bottom:0}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list.grid.four .group-desc,.buddypress-wrap .groups-list.grid.three .group-desc{font-size:14px}}@media screen and (min-width:46.8em){.buddypress .bp-vertical-navs .groups-list .item-avatar{margin-left:3%;width:15%}}.buddypress-wrap .members-list li .member-name{margin-bottom:10px}.buddypress-wrap .members-list li .user-update{border:1px solid #eaeaea;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;border-radius:10px;background-clip:padding-box;color:#737373;font-style:italic;font-size:13px;margin:15px auto;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .user-update{font-size:16px}}.buddypress-wrap .members-list li .user-update .activity-read-more{display:block;font-size:12px;font-style:normal;margin-top:10px;padding-right:2px}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .last-activity{clear:right;margin-top:-10px}}@media screen and (min-width:46.8em){.buddypress-wrap .members-group-list li .joined{clear:right;float:none}}@media screen and (min-width:32em){body:not(.logged-in) .members-list .user-update{width:96%}}.register-page .register-section{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.register-page .signup-form{margin-top:20px}.register-page .signup-form .default-profile input{margin-bottom:20px}.register-page .signup-form label,.register-page .signup-form legend{margin:10px 0 0}.register-page .signup-form .editfield{margin:15px 0}.register-page .signup-form .editfield fieldset{border:0;padding:0}.register-page .signup-form .editfield fieldset legend{margin:0 0 5px;text-indent:0}.register-page .signup-form .editfield .field-visibility-settings{padding:.5em}.register-page .signup-form .editfield .field-visibility-settings fieldset{margin:0 0 10px}.register-page .signup-form #signup-avatar img{margin:0 0 10px 15px}.register-page .signup-form .password-entry,.register-page .signup-form .password-entry-confirm{border:1px solid #eee}@media screen and (min-width:46.8em){.buddypress-wrap .register-page .layout-wrap{display:flex;flex-flow:row wrap;justify-content:space-around}.buddypress-wrap .register-page .layout-wrap .default-profile{flex:1;padding-left:2em}.buddypress-wrap .register-page .layout-wrap .blog-details{flex:1;padding-right:2em}.buddypress-wrap .register-page .submit{clear:both}}@media screen and (min-width:46.8em){.buddypress-wrap.extended-default-reg .register-page .default-profile{flex:1;padding-left:1em}.buddypress-wrap.extended-default-reg .register-page .extended-profile{flex:2;padding-right:1em}.buddypress-wrap.extended-default-reg .register-page .blog-details{flex:1 100%}}#group-create-body{padding:.5em}#group-create-body .creation-step-name{text-align:center}#group-create-body .avatar-nav-items{margin-top:15px}.single-headers:after,.single-headers:before{content:" ";display:table}.single-headers:after{clear:both}.single-headers{margin-bottom:15px}.single-headers #item-header-avatar a{display:block;text-align:center}.single-headers #item-header-avatar a img{float:none}.single-headers div#item-header-content{float:none}@media screen and (min-width:46.8em){.single-headers #item-header-avatar a{text-align:right}.single-headers #item-header-avatar a img{float:right}}.single-headers .activity,.single-headers .group-status{display:inline}.single-headers .group-status{font-size:18px;color:#333;padding-left:1em}.single-headers .activity{display:inline-block;font-size:12px;padding:0}.single-headers #sitewide-notice p,.single-headers div#message p{background-color:#ffd;border:1px solid #cb2;color:#440;font-weight:400;margin-top:3px;text-decoration:none}.single-headers h2{line-height:1.2;margin:0 0 5px}.single-headers h2 a{color:#767676;text-decoration:none}.single-headers h2 span.highlight{display:inline-block;font-size:60%;font-weight:400;line-height:1.7;vertical-align:middle}.single-headers h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-size:80%;font-weight:700;margin-bottom:2px;padding:1px 4px;position:relative;left:-2px;top:-2px;vertical-align:middle}.single-headers img.avatar{float:right;margin:0 0 19px 15px}.single-headers .item-meta{color:#767676;font-size:14px;margin:15px 0 5px;padding-bottom:.5em}.single-headers ul{margin-bottom:15px}.single-headers ul li{float:left;list-style:none}.single-headers div.generic-button{text-align:center}.single-headers li.generic-button{display:inline-block;text-align:center}@media screen and (min-width:46.8em){.single-headers a.button,.single-headers div.generic-button,.single-headers li.generic-button{float:right}}.single-headers a.button,.single-headers div.generic-button{margin:10px 0 0 10px}.single-headers li.generic-button{margin:2px 10px}.single-headers li.generic-button:first-child{margin-right:0}.single-headers div#message.info{line-height:.8}body.no-js .single-item-header .js-self-profile-button{display:none}#cover-image-container{position:relative}#header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#item-header-cover-image{position:relative;z-index:2}#item-header-cover-image #item-header-avatar{padding:0 1em}.groups-header .bp-group-type-list{margin:0}.groups-header .bp-feedback{clear:both}.groups-header .group-item-actions{float:right;margin:0 15px 15px 0;padding-top:0;width:100%}.groups-header .moderators-lists{margin-top:0}.groups-header .moderators-lists .moderators-title{font-size:14px}.groups-header .moderators-lists .user-list{margin:0 0 5px}.groups-header .moderators-lists .user-list ul:after{clear:both;content:"";display:table}.groups-header .moderators-lists .user-list li{display:inline-block;float:none;margin-right:4px;padding:4px}.groups-header .moderators-lists img.avatar{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;float:none;height:30px;margin:0;max-width:100%;width:30px}@media screen and (min-width:46.8em){.groups-header div#item-header-content{float:right;margin-right:10%;text-align:right;padding-top:15px;width:42%}.groups-header .group-item-actions{float:left;margin:0 15px 15px 0;text-align:left;width:20%}.groups-header .groups-meta{clear:both}}.groups-header .desc-wrap{background:#eaeaea;border:1px solid #d6d6d6;margin:0 0 15px;padding:1em;text-align:center}.groups-header .desc-wrap .group-description{background:#fafafa;-webkit-box-shadow:inset 0 0 9px #ccc;-moz-box-shadow:inset 0 0 9px #ccc;box-shadow:inset 0 0 9px #ccc;padding:1em;text-align:right}.bp-user .users-header .user-nicename{margin-bottom:5px}.bp-user .member-header-actions{overflow:hidden}.bp-user .member-header-actions *>*{display:block}.buddypress-wrap .item-body{margin:20px 0}.buddypress-wrap .item-body .screen-heading{font-size:20px;font-weight:400}.buddypress-wrap .item-body .button-tabs{margin:30px 0 15px}.buddypress-wrap.bp-single-vert-nav .bp-list:not(.grid) .item-entry{padding-right:.5em}.single-item.group-members .item-body .filters:not(.no-subnav){border-top:5px solid #eaeaea;padding-top:1em}.single-item.group-members .item-body .filters{margin-top:0}.buddypress-wrap .group-status-type ul{margin:0 20px 20px 0}.groups-manage-members-list{padding:.5em 0}.groups-manage-members-list dd{margin:0;padding:1em 0}.groups-manage-members-list .section-title{background:#eaeaea;padding-right:.3em}.groups-manage-members-list ul{list-style:none;margin-bottom:0}.groups-manage-members-list ul li{border-bottom:1px solid #eee;margin-bottom:10px;padding:.5em .3em .3em}.groups-manage-members-list ul li:last-child,.groups-manage-members-list ul li:only-child{border-bottom:0}.groups-manage-members-list ul li:nth-child(even){background:#fafafa}.groups-manage-members-list ul li.banned-user{background:#fad3d3}.groups-manage-members-list ul .member-name{margin-bottom:0;text-align:center}.groups-manage-members-list ul img{display:block;margin:0 auto;width:20%}@media screen and (min-width:32em){.groups-manage-members-list ul .member-name{text-align:right}.groups-manage-members-list ul img{display:inline;width:50px}}.groups-manage-members-list ul .members-manage-buttons:after,.groups-manage-members-list ul .members-manage-buttons:before{content:" ";display:table}.groups-manage-members-list ul .members-manage-buttons:after{clear:both}.groups-manage-members-list ul .members-manage-buttons{margin:15px 0 5px}.groups-manage-members-list ul .members-manage-buttons a.button{color:#767676;display:block;font-size:13px}@media screen and (min-width:32em){.groups-manage-members-list ul .members-manage-buttons a.button{display:inline-block}}.groups-manage-members-list ul .members-manage-buttons.text-links-list{margin-bottom:0}@media screen and (max-width:32em){.groups-manage-members-list ul .members-manage-buttons.text-links-list a.button{background:#fafafa;border:1px solid #eee;display:block;margin-bottom:10px}}.groups-manage-members-list ul .action:not(.text-links-list) a.button{font-size:12px}@media screen and (min-width:46.8em){.groups-manage-members-list ul li .avatar,.groups-manage-members-list ul li .member-name{float:right}.groups-manage-members-list ul li .avatar{margin-left:15px}.groups-manage-members-list ul li .action{clear:both;float:right}}.buddypress .bp-invites-content ul.item-list{border-top:0}.buddypress .bp-invites-content ul.item-list li{border:1px solid #eaeaea;margin:0 0 1%;padding-right:5px;padding-left:5px;position:relative;width:auto}.buddypress .bp-invites-content ul.item-list li .list-title{text-align:center;width:auto}.buddypress .bp-invites-content ul.item-list li .action{position:absolute;top:10px;left:10px}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button{border:0}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:focus,.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:hover{color:#1fb3dd}.buddypress .bp-invites-content ul.item-list li.selected{-webkit-box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2);-moz-box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2);box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2)}.buddypress .bp-invites-content .group-inviters li,.buddypress .bp-invites-content .item-list .item-meta span{color:#767676}.buddypress .bp-invites-content li ul.group-inviters{clear:both;margin:0;overflow:hidden}.buddypress .bp-invites-content li ul.group-inviters li{border:0;float:right;font-size:20px;width:inherit}.buddypress .bp-invites-content li .status{font-size:20px;font-style:italic;clear:both;color:#555;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor{overflow:hidden}.buddypress .bp-invites-content #send-invites-editor textarea{width:100%}.buddypress .bp-invites-content #send-invites-editor ul{clear:both;list-style:none;margin:10px 0;overflow:hidden}.buddypress .bp-invites-content #send-invites-editor ul li{float:right;margin:.5%;max-height:50px;max-width:50px}.buddypress .bp-invites-content #send-invites-editor .action{margin-top:10px;padding-top:10px}.buddypress .bp-invites-content #send-invites-editor.bp-hide{display:none}@media screen and (min-width:46.8em){.buddypress .bp-invites-content ul.item-list>li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #eaeaea;float:right;padding-right:.5em;padding-left:.5em;width:49.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(odd){margin-left:.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(even){margin-right:.5%}.buddypress .bp-invites-content ul.item-list ul.group-inviters{float:right;width:auto}}.buddypress.groups .activity-update-form{margin-top:0}.buddypress-wrap .profile{margin-top:30px}.buddypress-wrap .public .profile-fields td.label{width:30%}.buddypress-wrap .profile.edit .button-nav{list-style:none;margin:30px 0 10px}.buddypress-wrap .profile.edit .button-nav li{display:inline-block;margin-left:10px}.buddypress-wrap .profile.edit .button-nav li a{font-size:18px}.buddypress-wrap .profile.edit .editfield{background:#fafafa;border:1px solid #eee;margin:15px 0;padding:1em}.buddypress-wrap .profile.edit .editfield fieldset{border:0}.buddypress-wrap .profile.edit .editfield fieldset label{font-weight:400}.buddypress-wrap .profile.edit .editfield fieldset label.xprofile-field-label{display:inline}.buddypress-wrap .profile.edit .editfield{display:flex;flex-direction:column}.buddypress-wrap .profile.edit .editfield .description{margin-top:10px;order:2}.buddypress-wrap .profile.edit .editfield>fieldset{order:1}.buddypress-wrap .profile.edit .editfield .field-visibility-settings,.buddypress-wrap .profile.edit .editfield .field-visibility-settings-toggle{order:3}body.no-js .buddypress-wrap .field-visibility-settings-close,body.no-js .buddypress-wrap .field-visibility-settings-toggle{display:none}body.no-js .buddypress-wrap .field-visibility-settings{display:block}.buddypress-wrap .field-visibility-settings{margin:10px 0}.buddypress-wrap .current-visibility-level{font-style:normal;font-weight:700}.buddypress-wrap .field-visibility-settings,.buddypress-wrap .field-visibility-settings-header{color:#737373}.buddypress-wrap .field-visibility-settings fieldset{margin:5px 0}.buddypress-wrap .standard-form .editfield fieldset{margin:0}.buddypress-wrap .standard-form .field-visibility-settings label{font-weight:400;margin:0}.buddypress-wrap .standard-form .field-visibility-settings .radio{list-style:none;margin-bottom:0}.buddypress-wrap .standard-form .field-visibility-settings .field-visibility-settings-close{font-size:12px}.buddypress-wrap .standard-form .wp-editor-container{border:1px solid #dedede}.buddypress-wrap .standard-form .wp-editor-container textarea{background:#fff;width:100%}.buddypress-wrap .standard-form .description{background:#fafafa;font-size:inherit}.buddypress-wrap .standard-form .field-visibility-settings legend,.buddypress-wrap .standard-form .field-visibility-settings-header{font-style:italic}.buddypress-wrap .standard-form .field-visibility-settings-header{font-size:14px}.buddypress-wrap .standard-form .field-visibility-settings label,.buddypress-wrap .standard-form .field-visibility-settings legend{font-size:14px}.buddypress-wrap .standard-form .field-visibility select{margin:0}.buddypress-wrap .html-active button.switch-html{background:#f5f5f5;border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0}.buddypress-wrap .tmce-active button.switch-tmce{background:#f5f5f5;border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0}.buddypress-wrap .profile.public .profile-group-title{border-bottom:1px solid #ccc}body.register .buddypress-wrap .page ul{list-style:none}.buddypress-wrap .profile .bp-avatar-nav{margin-top:20px}.message-action-delete:before,.message-action-star:before,.message-action-unstar:before,.message-action-view:before{font-family:dashicons;font-size:18px}.message-action-star:before{color:#aaa;content:"\f154"}.message-action-unstar:before{color:#fcdd77;content:"\f155"}.message-action-view:before{content:"\f473"}.message-action-delete:before{content:"\f153"}.message-action-delete:hover:before{color:#a00}.preview-content .actions a{text-decoration:none}.bp-messages-content{margin:15px 0}.bp-messages-content .avatar{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.bp-messages-content .thread-participants{list-style:none}.bp-messages-content .thread-participants dd{margin-right:0}.bp-messages-content time{color:#737373;font-size:12px}#message-threads{border-top:1px solid #eaeaea;clear:both;list-style:none;margin:0;max-height:220px;overflow-x:hidden;overflow-y:auto;padding:0;width:100%}#message-threads li{border-bottom:1px solid #eaeaea;display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row nowrap;-moz-flex-flow:row nowrap;-ms-flex-flow:row nowrap;-o-flex-flow:row nowrap;flex-flow:row nowrap;margin:0;overflow:hidden;padding:.5em 0}#message-threads li .thread-cb{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center;-webkit-flex:1 2 5%;-moz-flex:1 2 5%;-ms-flex:1 2 5%;-o-flex:1 2 5%;flex:1 2 5%}#message-threads li .thread-from{-webkit-flex:1 2 20%;-moz-flex:1 2 20%;-ms-flex:1 2 20%;-o-flex:1 2 20%;flex:1 2 20%}#message-threads li .thread-from img.avatar{float:right;margin:0 0 0 10px}#message-threads li .thread-from .user-name{display:inline-block;line-height:1.1}#message-threads li .thread-content{-webkit-flex:1 2 60%;-moz-flex:1 2 60%;-ms-flex:1 2 60%;-o-flex:1 2 60%;flex:1 2 60%}#message-threads li .thread-date{-webkit-flex:1 2 15%;-moz-flex:1 2 15%;-ms-flex:1 2 15%;-o-flex:1 2 15%;flex:1 2 15%}#message-threads li.selected{background-color:#fafafa}#message-threads li.selected .thread-subject .subject{color:#5087e5}#message-threads li .thread-content{cursor:pointer}#message-threads li .thread-content .excerpt{color:#737373;font-size:12px;margin:0}#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject{font-size:13px}@media screen and (min-width:46.8em){#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject{font-size:16px}}#message-threads li .thread-content .thread-subject{vertical-align:top}#message-threads li .thread-content .thread-subject .excerpt{font-weight:400}#message-threads li .thread-date{padding-left:5px;text-align:left}.bp-messages-content .actions{float:left;max-width:30%}.bp-messages-content .actions .bp-icons{display:inline-block;margin:0;padding:.3em .5em}.bp-messages-content .actions .bp-icons:before{font-size:26px}.bp-messages-content #thread-preview{border:1px solid #eaeaea;margin-top:20px}.bp-messages-content #thread-preview .preview-message{clear:both}.bp-messages-content #thread-preview .preview-content{margin:.5em}.bp-messages-content #thread-preview .preview-content .preview-message{background:#fafafa;margin:10px 0;padding:1em .3em .3em}.bp-messages-content #bp-message-thread-list{border-top:1px solid #eaeaea;clear:both;list-style:none;padding:1em 0 .3em}.bp-messages-content #bp-message-thread-list li{padding:.5em}.bp-messages-content #bp-message-thread-list li:nth-child(2n) .message-content{background:#fafafa}.bp-messages-content #bp-message-thread-list .message-metadata{border-bottom:1px solid #ccc;-webkit-box-shadow:2px 1px 9px 0 #eee;-moz-box-shadow:2px 1px 9px 0 #eee;box-shadow:2px 1px 9px 0 #eee;overflow:hidden;padding:.2em}.bp-messages-content #bp-message-thread-list .message-metadata .avatar{width:30px}.bp-messages-content #bp-message-thread-list .message-metadata .user-link{display:block;font-size:13px;float:right}@media screen and (min-width:46.8em){.bp-messages-content #bp-message-thread-list .message-metadata .user-link{font-size:16px}}.bp-messages-content #bp-message-thread-list .message-metadata time{color:#737373;font-size:12px;padding:0 .5em}.bp-messages-content #bp-message-thread-list .message-metadata button{padding:0 .3em}.bp-messages-content #bp-message-thread-list .message-metadata button:before{font-size:20px}.bp-messages-content #bp-message-thread-list .message-content{clear:both;margin:1em auto 0;width:90%}.bp-messages-content #bp-message-thread-list img.avatar{float:right;margin:0 0 0 10px}.bp-messages-content #bp-message-thread-list .actions a:before{font-size:18px}.bp-messages-content form.send-reply .avatar-box{padding:.5em 0}.bp-messages-content .preview-pane-header,.bp-messages-content .single-message-thread-header{border-bottom:1px solid #eaeaea}.bp-messages-content .preview-pane-header:after,.bp-messages-content .single-message-thread-header:after{clear:both;content:"";display:table}.bp-messages-content .preview-thread-title,.bp-messages-content .single-thread-title{font-size:16px}.bp-messages-content .preview-thread-title .messages-title,.bp-messages-content .single-thread-title .messages-title{padding-right:2em}.bp-messages-content .thread-participants{float:right;margin:5px 0;width:70%}.bp-messages-content .thread-participants dd,.bp-messages-content .thread-participants ul{margin-bottom:10px}.bp-messages-content .thread-participants ul{list-style:none}.bp-messages-content .thread-participants ul:after{clear:both;content:"";display:table}.bp-messages-content .thread-participants li{float:right;margin-right:5px}.bp-messages-content .thread-participants img{width:30px}.bp-messages-content #bp-message-thread-list li .message-content blockquote,.bp-messages-content #bp-message-thread-list li .message-content ol,.bp-messages-content #bp-message-thread-list li .message-content ul,.bp-messages-content #thread-preview .preview-message blockquote,.bp-messages-content #thread-preview .preview-message ol,.bp-messages-content #thread-preview .preview-message ul{list-style-position:inside;margin-right:0}.bp-messages-content #thread-preview:empty,.bp-messages-content ul#message-threads:empty{display:none}.bp-messages-content #bp-message-thread-header h2:first-child,.bp-messages-content #thread-preview h2:first-child{background-color:#eaeaea;color:#555;font-weight:700;margin:0;padding:.5em}.bp-messages-content #bp-message-thread-list li a.user-link,.bp-messages-content #message-threads .thread-content a{border:0;text-decoration:none}.bp-messages-content .standard-form #subject{margin-bottom:20px}div.bp-navs#subsubnav.bp-messages-filters .user-messages-bulk-actions{margin-left:15px;max-width:42.5%}.buddypress.settings .profile-settings.bp-tables-user select{width:100%}.buddypress-wrap #whats-new-post-in-box select,.buddypress-wrap .filter select{border:1px solid #d6d6d6}.buddypress-wrap input.action[disabled]{cursor:pointer;opacity:.4}.buddypress-wrap #notification-bulk-manage[disabled]{display:none}.buddypress-wrap fieldset legend{font-size:inherit;font-weight:600}.buddypress-wrap input[type=email]:focus,.buddypress-wrap input[type=password]:focus,.buddypress-wrap input[type=tel]:focus,.buddypress-wrap input[type=text]:focus,.buddypress-wrap input[type=url]:focus,.buddypress-wrap textarea:focus{-webkit-box-shadow:0 0 8px #eaeaea;-moz-box-shadow:0 0 8px #eaeaea;box-shadow:0 0 8px #eaeaea}.buddypress-wrap select{height:auto}.buddypress-wrap textarea{resize:vertical}.buddypress-wrap .standard-form .bp-controls-wrap{margin:1em 0}.buddypress-wrap .standard-form .groups-members-search input[type=search],.buddypress-wrap .standard-form .groups-members-search input[type=text],.buddypress-wrap .standard-form [data-bp-search] input[type=search],.buddypress-wrap .standard-form [data-bp-search] input[type=text],.buddypress-wrap .standard-form input[type=color],.buddypress-wrap .standard-form input[type=date],.buddypress-wrap .standard-form input[type=datetime-local],.buddypress-wrap .standard-form input[type=datetime],.buddypress-wrap .standard-form input[type=email],.buddypress-wrap .standard-form input[type=month],.buddypress-wrap .standard-form input[type=number],.buddypress-wrap .standard-form input[type=password],.buddypress-wrap .standard-form input[type=range],.buddypress-wrap .standard-form input[type=search],.buddypress-wrap .standard-form input[type=tel],.buddypress-wrap .standard-form input[type=text],.buddypress-wrap .standard-form input[type=time],.buddypress-wrap .standard-form input[type=url],.buddypress-wrap .standard-form input[type=week],.buddypress-wrap .standard-form select,.buddypress-wrap .standard-form textarea{background:#fafafa;border:1px solid #d6d6d6;border-radius:0;font:inherit;font-size:100%;padding:.5em}.buddypress-wrap .standard-form input[required],.buddypress-wrap .standard-form select[required],.buddypress-wrap .standard-form textarea[required]{box-shadow:none;border-width:2px;outline:0}.buddypress-wrap .standard-form input[required]:invalid,.buddypress-wrap .standard-form select[required]:invalid,.buddypress-wrap .standard-form textarea[required]:invalid{border-color:#b71717}.buddypress-wrap .standard-form input[required]:valid,.buddypress-wrap .standard-form select[required]:valid,.buddypress-wrap .standard-form textarea[required]:valid{border-color:#91cc2c}.buddypress-wrap .standard-form input[required]:focus,.buddypress-wrap .standard-form select[required]:focus,.buddypress-wrap .standard-form textarea[required]:focus{border-color:#d6d6d6;border-width:1px}.buddypress-wrap .standard-form input.invalid[required],.buddypress-wrap .standard-form select.invalid[required],.buddypress-wrap .standard-form textarea.invalid[required]{border-color:#b71717}.buddypress-wrap .standard-form input:not(.button-small),.buddypress-wrap .standard-form textarea{width:100%}.buddypress-wrap .standard-form input[type=checkbox],.buddypress-wrap .standard-form input[type=radio]{margin-left:5px;width:auto}.buddypress-wrap .standard-form select{padding:3px}.buddypress-wrap .standard-form textarea{height:120px}.buddypress-wrap .standard-form textarea#message_content{height:200px}.buddypress-wrap .standard-form input[type=password]{margin-bottom:5px}.buddypress-wrap .standard-form input:focus,.buddypress-wrap .standard-form select:focus,.buddypress-wrap .standard-form textarea:focus{background:#fafafa;color:#555;outline:0}.buddypress-wrap .standard-form label,.buddypress-wrap .standard-form span.label{display:block;font-weight:600;margin:15px 0 5px;width:auto}.buddypress-wrap .standard-form a.clear-value{display:block;margin-top:5px;outline:0}.buddypress-wrap .standard-form .submit{clear:both;padding:15px 0 0}.buddypress-wrap .standard-form p.submit{margin-bottom:0}.buddypress-wrap .standard-form div.submit input{margin-left:15px}.buddypress-wrap .standard-form #invite-list label,.buddypress-wrap .standard-form p label{font-weight:400;margin:auto}.buddypress-wrap .standard-form p.description{color:#737373;margin:5px 0}.buddypress-wrap .standard-form div.checkbox label:nth-child(n+2),.buddypress-wrap .standard-form div.radio div label{color:#737373;font-size:100%;font-weight:400;margin:5px 0 0}.buddypress-wrap .standard-form#send-reply textarea{width:97.5%}.buddypress-wrap .standard-form#sidebar-login-form label{margin-top:5px}.buddypress-wrap .standard-form#sidebar-login-form input[type=password],.buddypress-wrap .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}.buddypress-wrap .standard-form.profile-edit input:focus{background:#fff}@media screen and (min-width:46.8em){.buddypress-wrap .standard-form .left-menu{float:right}.buddypress-wrap .standard-form #invite-list ul{list-style:none;margin:1%}.buddypress-wrap .standard-form #invite-list ul li{margin:0 1% 0 0}.buddypress-wrap .standard-form .main-column{margin-right:190px}.buddypress-wrap .standard-form .main-column ul#friend-list{clear:none;float:right}.buddypress-wrap .standard-form .main-column ul#friend-list h4{clear:none}}.buddypress-wrap .standard-form .bp-tables-user label{margin:0}.buddypress-wrap .signup-form label,.buddypress-wrap .signup-form legend{font-weight:400}body.no-js .buddypress #delete_inbox_messages,body.no-js .buddypress #delete_sentbox_messages,body.no-js .buddypress #message-type-select,body.no-js .buddypress #messages-bulk-management #select-all-messages,body.no-js .buddypress #notifications-bulk-management #select-all-notifications,body.no-js .buddypress label[for=message-type-select]{display:none}.buddypress-wrap .wp-editor-wrap .wp-editor-wrap button,.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=button],.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=submit],.buddypress-wrap .wp-editor-wrap a.button,.buddypress-wrap .wp-editor-wrap input[type=reset]{padding:0 8px 1px}.buddypress-wrap .select-wrap{border:1px solid #eee}.buddypress-wrap .select-wrap label{display:inline}.buddypress-wrap .select-wrap select::-ms-expand{display:none}.buddypress-wrap .select-wrap select{-moz-appearance:none;-webkit-appearance:none;-o-appearance:none;appearance:none;border:0;cursor:pointer;margin-left:-25px;padding:6px 10px 6px 25px;position:relative;text-indent:-2px;z-index:1;width:100%}.buddypress-wrap .select-wrap select,.buddypress-wrap .select-wrap select:active,.buddypress-wrap .select-wrap select:focus{background:0 0}.buddypress-wrap .select-wrap span.select-arrow{display:inline-block;position:relative;z-index:0}.buddypress-wrap .select-wrap span.select-arrow:before{color:#ccc;content:"\25BC"}.buddypress-wrap .select-wrap:focus .select-arrow:before,.buddypress-wrap .select-wrap:hover .select-arrow:before{color:#a6a6a6}.buddypress-wrap .bp-search form:focus,.buddypress-wrap .bp-search form:hover,.buddypress-wrap .select-wrap:focus,.buddypress-wrap .select-wrap:hover{border:1px solid #d5d4d4;box-shadow:inset 0 0 3px #eee}@media screen and (min-width:32em){.buddypress-wrap .notifications-options-nav .select-wrap{float:right}}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after,.buddypress-wrap .bp-messages-search-form:before{content:" ";display:table}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after{clear:both}.buddypress-wrap form.bp-dir-search-form,.buddypress-wrap form.bp-invites-search-form,.buddypress-wrap form.bp-messages-search-form{border:1px solid #eee;width:100%}@media screen and (min-width:55em){.buddypress-wrap form.bp-dir-search-form,.buddypress-wrap form.bp-invites-search-form,.buddypress-wrap form.bp-messages-search-form{width:15em}}.buddypress-wrap form.bp-dir-search-form label,.buddypress-wrap form.bp-invites-search-form label,.buddypress-wrap form.bp-messages-search-form label{margin:0}.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-invites-search-form button[type=submit],.buddypress-wrap form.bp-invites-search-form input[type=search],.buddypress-wrap form.bp-invites-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text]{background:0 0;border:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;background-clip:padding-box}.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-invites-search-form input[type=search],.buddypress-wrap form.bp-invites-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text]{float:right;line-height:1.5;padding:3px 10px;width:80%}.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-invites-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form button[type=submit]{float:left;font-size:inherit;font-weight:400;line-height:1.5;padding:3px .7em;text-align:center;text-transform:none;width:20%}.buddypress-wrap form.bp-dir-search-form button[type=submit] span,.buddypress-wrap form.bp-invites-search-form button[type=submit] span,.buddypress-wrap form.bp-messages-search-form button[type=submit] span{font-family:dashicons;font-size:18px;line-height:1.6}.buddypress-wrap form.bp-dir-search-form button[type=submit].bp-show,.buddypress-wrap form.bp-invites-search-form button[type=submit].bp-show,.buddypress-wrap form.bp-messages-search-form button[type=submit].bp-show{height:auto;right:0;overflow:visible;position:static;top:0}.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-invites-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-cancel-button{-webkit-appearance:searchfield-cancel-button}.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-invites-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-invites-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-decoration{display:none}.buddypress-wrap ul.filters li form label input{line-height:1.4;padding:.1em .7em}.buddypress-wrap .current-member-type{font-style:italic}.buddypress-wrap .dir-form{clear:both}.budypress.no-js form.bp-dir-search-form button[type=submit]{height:auto;right:0;overflow:visible;position:static;top:0}.bp-user [data-bp-search] form input[type=search],.bp-user [data-bp-search] form input[type=text]{padding:6px 10px 7px}.buddypress-wrap .bp-tables-user,.buddypress-wrap table.forum,.buddypress-wrap table.wp-profile-fields{width:100%}.buddypress-wrap .bp-tables-user thead tr,.buddypress-wrap table.forum thead tr,.buddypress-wrap table.wp-profile-fields thead tr{background:0 0;border-bottom:2px solid #ccc}.buddypress-wrap .bp-tables-user tbody tr,.buddypress-wrap table.forum tbody tr,.buddypress-wrap table.wp-profile-fields tbody tr{background:#fafafa}.buddypress-wrap .bp-tables-user tr td,.buddypress-wrap .bp-tables-user tr th,.buddypress-wrap table.forum tr td,.buddypress-wrap table.forum tr th,.buddypress-wrap table.wp-profile-fields tr td,.buddypress-wrap table.wp-profile-fields tr th{padding:.5em;vertical-align:middle}.buddypress-wrap .bp-tables-user tr td.label,.buddypress-wrap table.forum tr td.label,.buddypress-wrap table.wp-profile-fields tr td.label{border-left:1px solid #eaeaea;font-weight:600;width:25%}.buddypress-wrap .bp-tables-user tr.alt td,.buddypress-wrap table.wp-profile-fields tr.alt td{background:#fafafa}.buddypress-wrap table.profile-fields .data{padding:.5em 1em}.buddypress-wrap table.profile-fields tr:last-child{border-bottom:none}.buddypress-wrap table.notifications td{padding:1em .5em}.buddypress-wrap table.notifications .bulk-select-all,.buddypress-wrap table.notifications .bulk-select-check{width:7%}.buddypress-wrap table.notifications .bulk-select-check{vertical-align:middle}.buddypress-wrap table.notifications .date,.buddypress-wrap table.notifications .notification-description,.buddypress-wrap table.notifications .notification-since,.buddypress-wrap table.notifications .title{width:39%}.buddypress-wrap table.notifications .actions,.buddypress-wrap table.notifications .notification-actions{width:15%}.buddypress-wrap table.notification-settings th.title,.buddypress-wrap table.profile-settings th.title{width:80%}.buddypress-wrap table.notifications .notification-actions a.delete,.buddypress-wrap table.notifications .notification-actions a.mark-read{display:inline-block}.buddypress-wrap table.notification-settings{margin-bottom:15px;text-align:right}.buddypress-wrap #groups-notification-settings{margin-bottom:0}.buddypress-wrap table.notification-settings td:first-child,.buddypress-wrap table.notification-settings th.icon,.buddypress-wrap table.notifications td:first-child,.buddypress-wrap table.notifications th.icon{display:none}.buddypress-wrap table.notification-settings .no,.buddypress-wrap table.notification-settings .yes{text-align:center;width:40px;vertical-align:middle}.buddypress-wrap table#message-threads{clear:both}.buddypress-wrap table#message-threads .thread-info{min-width:40%}.buddypress-wrap table#message-threads .thread-info p{margin:0}.buddypress-wrap table#message-threads .thread-info p.thread-excerpt{color:#737373;font-size:12px;margin-top:3px}.buddypress-wrap table.profile-fields{margin-bottom:20px}.buddypress-wrap table.profile-fields:last-child{margin-bottom:0}.buddypress-wrap table.profile-fields p{margin:0}.buddypress-wrap table.profile-fields p:last-child{margin-top:0}.bp-screen-reader-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.center-vert{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center}.bp-hide{display:none}.bp-show{height:auto;right:0;overflow:visible;position:static;top:0}.buddypress .buddypress-wrap .activity-read-more a,.buddypress .buddypress-wrap .comment-reply-link,.buddypress .buddypress-wrap .generic-button a,.buddypress .buddypress-wrap a.bp-title-button,.buddypress .buddypress-wrap a.button,.buddypress .buddypress-wrap button,.buddypress .buddypress-wrap input[type=button],.buddypress .buddypress-wrap input[type=reset],.buddypress .buddypress-wrap input[type=submit],.buddypress .buddypress-wrap ul.button-nav:not(.button-tabs) li a{background:#fff;border-color:#ccc;border-style:solid;border-width:1px;color:#555;cursor:pointer;font-size:inherit;font-weight:400;outline:0;padding:.3em .5em;text-align:center;text-decoration:none;width:auto}.buddypress .buddypress-wrap .button-small[type=button]{padding:0 8px 1px}.buddypress .buddypress-wrap .activity-read-more a:focus,.buddypress .buddypress-wrap .activity-read-more a:hover,.buddypress .buddypress-wrap .button-nav li a:focus,.buddypress .buddypress-wrap .button-nav li a:hover,.buddypress .buddypress-wrap .button-nav li.current a,.buddypress .buddypress-wrap .comment-reply-link:focus,.buddypress .buddypress-wrap .comment-reply-link:hover,.buddypress .buddypress-wrap .generic-button a:focus,.buddypress .buddypress-wrap .generic-button a:hover,.buddypress .buddypress-wrap a.button:focus,.buddypress .buddypress-wrap a.button:hover,.buddypress .buddypress-wrap button:focus,.buddypress .buddypress-wrap button:hover,.buddypress .buddypress-wrap input[type=button]:focus,.buddypress .buddypress-wrap input[type=button]:hover,.buddypress .buddypress-wrap input[type=reset]:focus,.buddypress .buddypress-wrap input[type=reset]:hover,.buddypress .buddypress-wrap input[type=submit]:focus,.buddypress .buddypress-wrap input[type=submit]:hover{background:#ededed;border-color:#999;color:#333;outline:0;text-decoration:none}.buddypress .buddypress-wrap a.disabled,.buddypress .buddypress-wrap button.disabled,.buddypress .buddypress-wrap button.pending,.buddypress .buddypress-wrap div.pending a,.buddypress .buddypress-wrap input[type=button].disabled,.buddypress .buddypress-wrap input[type=button].pending,.buddypress .buddypress-wrap input[type=reset].disabled,.buddypress .buddypress-wrap input[type=reset].pending,.buddypress .buddypress-wrap input[type=submit].pending,.buddypress .buddypress-wrap input[type=submit][disabled=disabled]{border-color:#eee;color:#767676;cursor:default}.buddypress .buddypress-wrap a.disabled:hover,.buddypress .buddypress-wrap button.disabled:hover,.buddypress .buddypress-wrap button.pending:hover,.buddypress .buddypress-wrap div.pending a:hover,.buddypress .buddypress-wrap input[type=button]:hover.disabled,.buddypress .buddypress-wrap input[type=button]:hover.pending,.buddypress .buddypress-wrap input[type=reset]:hover.disabled,.buddypress .buddypress-wrap input[type=reset]:hover.pending,.buddypress .buddypress-wrap input[type=submit]:hover.disabled,.buddypress .buddypress-wrap input[type=submit]:hover.pending{border-color:#eee;color:#767676}.buddypress .buddypress-wrap button.text-button,.buddypress .buddypress-wrap input.text-button{background:0 0;border:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;color:#767676}.buddypress .buddypress-wrap button.text-button.small,.buddypress .buddypress-wrap input.text-button.small{font-size:13px}.buddypress .buddypress-wrap button.text-button:focus,.buddypress .buddypress-wrap button.text-button:hover,.buddypress .buddypress-wrap input.text-button:focus,.buddypress .buddypress-wrap input.text-button:hover{background:0 0;text-decoration:underline}.buddypress .buddypress-wrap .activity-list a.button{border:none}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover{color:#1fb3dd}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.invite-button:hover{color:#a00}.buddypress .buddypress-wrap #item-buttons:empty{display:none}.buddypress .buddypress-wrap input:disabled:focus,.buddypress .buddypress-wrap input:disabled:hover{background:0 0}.buddypress .buddypress-wrap .text-links-list a.button{background:0 0;border:none;border-left:1px solid #eee;color:#737373;display:inline-block;padding:.3em 1em}.buddypress .buddypress-wrap .text-links-list a.button:visited{color:#d6d6d6}.buddypress .buddypress-wrap .text-links-list a.button:focus,.buddypress .buddypress-wrap .text-links-list a.button:hover{color:#5087e5}.buddypress .buddypress-wrap .text-links-list a:first-child{padding-right:0}.buddypress .buddypress-wrap .text-links-list a:last-child{border-left:none}.buddypress .buddypress-wrap .bp-list.grid .action a,.buddypress .buddypress-wrap .bp-list.grid .action button{border:1px solid #ccc;display:block;margin:0}.buddypress .buddypress-wrap .bp-list.grid .action a:focus,.buddypress .buddypress-wrap .bp-list.grid .action a:hover,.buddypress .buddypress-wrap .bp-list.grid .action button:focus,.buddypress .buddypress-wrap .bp-list.grid .action button:hover{background:#ededed}.buddypress #buddypress .create-button{background:0 0;text-align:center}@media screen and (min-width:46.8em){.buddypress #buddypress .create-button{float:left}}.buddypress #buddypress .create-button a{border:1px solid #ccc;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;border-radius:5px;background-clip:padding-box;-webkit-box-shadow:inset 0 0 6px 0 #eaeaea;-moz-box-shadow:inset 0 0 6px 0 #eaeaea;box-shadow:inset 0 0 6px 0 #eaeaea;margin:.2em 0;width:auto}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{background:0 0;border-color:#ccc;-webkit-box-shadow:inset 0 0 12px 0 #eaeaea;-moz-box-shadow:inset 0 0 12px 0 #eaeaea;box-shadow:inset 0 0 12px 0 #eaeaea}@media screen and (min-width:46.8em){.buddypress #buddypress.bp-dir-vert-nav .create-button{float:none;padding-top:2em}.buddypress #buddypress.bp-dir-vert-nav .create-button a{margin-left:.5em}}.buddypress #buddypress.bp-dir-hori-nav .create-button{float:right}.buddypress #buddypress.bp-dir-hori-nav .create-button a,.buddypress #buddypress.bp-dir-hori-nav .create-button a:hover{background:0 0;border:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;margin:0}.buddypress-wrap button.ac-reply-cancel,.buddypress-wrap button.bp-icons{background:0 0;border:0}.buddypress-wrap button.bp-icons:focus,.buddypress-wrap button.bp-icons:hover{background:0 0}.buddypress-wrap button.ac-reply-cancel:focus,.buddypress-wrap button.ac-reply-cancel:hover{background:0 0;text-decoration:underline}.buddypress-wrap .bp-invites-content li .invite-button span.icons:before,.buddypress-wrap .bp-invites-filters .invite-button span.icons:before,.buddypress-wrap .bp-messages-filters li a.messages-button:before,.buddypress-wrap .feed a:before,.buddypress-wrap .filter label:before{font-family:dashicons;font-size:18px}.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:27px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:32px}}.buddypress-wrap .bp-list a.button.invite-button:focus,.buddypress-wrap .bp-list a.button.invite-button:hover{background:0 0}.buddypress-wrap .filter label:before{content:"\f536"}.buddypress-wrap div.feed a:before,.buddypress-wrap li.feed a:before{content:"\f303"}.buddypress-wrap ul.item-list li .invite-button:not(.group-remove-invite-button) span.icons:before{content:"\f502"}.buddypress-wrap ul.item-list li .group-remove-invite-button span.icons:before,.buddypress-wrap ul.item-list li.selected .invite-button span.icons:before{content:"\f153"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-next-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-next-page:before{content:"\f345"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-prev-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-prev-page:before{content:"\f341"}.buddypress-wrap .warn{color:#b71717}.buddypress-wrap .bp-messages{border:1px solid #ccc;margin:0 0 15px}.buddypress-wrap .bp-messages .sitewide-notices{display:block;margin:5px;padding:.5em}.buddypress-wrap .bp-messages.info{margin-bottom:0}.buddypress-wrap .bp-messages.updated{clear:both;display:block}.buddypress-wrap .bp-messages.bp-user-messages-feedback{border:0}.buddypress-wrap #group-create-body .bp-cover-image-status p.warning{background:#0b80a4;border:0;-webkit-box-shadow:0 0 3px 0 rgba(0,0,0,.2);-moz-box-shadow:0 0 3px 0 rgba(0,0,0,.2);box-shadow:0 0 3px 0 rgba(0,0,0,.2);color:#fff}.buddypress-wrap .bp-feedback:not(.custom-homepage-info){display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row nowrap;-moz-flex-flow:row nowrap;-ms-flex-flow:row nowrap;-o-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-align:stretch;-webkit-align-items:stretch;-webkit-box-align:stretch;align-items:stretch}.buddypress-wrap .bp-feedback{background:#fff;color:#807f7f;-webkit-box-shadow:0 1px 1px 1px rgba(0,0,0,.1);-moz-box-shadow:0 1px 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px 1px rgba(0,0,0,.1);color:#737373;margin:10px 0;position:relative}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback span.bp-icon{color:#fff;display:block;font-family:dashicons;right:0;margin-left:10px;position:relative;padding:0 .5em}.buddypress-wrap .bp-feedback .bp-help-text{font-style:italic}.buddypress-wrap .bp-feedback .text{font-size:14px;margin:0;padding:.5em 0}.buddypress-wrap .bp-feedback.no-icon{padding:.5em}.buddypress-wrap .bp-feedback.small:before{line-height:inherit}.buddypress-wrap a[data-bp-close] span:before,.buddypress-wrap button[data-bp-close] span:before{font-size:32px}.buddypress-wrap a[data-bp-close],.buddypress-wrap button[data-bp-close]{border:0;position:absolute;top:10px;left:10px;width:32px}.buddypress-wrap .bp-feedback.no-icon a[data-bp-close],.buddypress-wrap .bp-feedback.no-icon button[data-bp-close]{top:-6px;left:6px}.buddypress-wrap button[data-bp-close]:hover{background-color:transparent}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback .bp-icon{font-size:20px;padding:0 2px}.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon,.buddypress-wrap .bp-feedback.loading .bp-icon,.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center}.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon{background-color:#0b80a4}.buddypress-wrap .bp-feedback.help .bp-icon:before,.buddypress-wrap .bp-feedback.info .bp-icon:before{content:"\f348"}.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{background-color:#d33}.buddypress-wrap .bp-feedback.error .bp-icon:before,.buddypress-wrap .bp-feedback.warning .bp-icon:before{content:"\f534"}.buddypress-wrap .bp-feedback.loading .bp-icon{background-color:#ffd087}.buddypress-wrap .bp-feedback.loading .bp-icon:before{content:"\f469"}.buddypress-wrap .bp-feedback.success .bp-icon{background-color:#8a2}.buddypress-wrap .bp-feedback.success .bp-icon:before{content:"\f147"}.buddypress-wrap .bp-feedback.help .bp-icon:before{content:"\f468"}.buddypress-wrap #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;font-weight:700;margin:10px 0 10px 0;padding:.5em;text-align:center;width:auto}.buddypress-wrap #pass-strength-result.show{display:block}.buddypress-wrap #pass-strength-result.mismatch{background-color:#333;border-color:transparent;color:#fff}.buddypress-wrap #pass-strength-result.bad,.buddypress-wrap #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c;color:#fff}.buddypress-wrap #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040;color:#fff}.buddypress-wrap #pass-strength-result.strong{background-color:#66d66e;border-color:#438c48;color:#fff}.buddypress-wrap .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px 0;padding:.5em;width:90%}.buddypress-wrap .accept,.buddypress-wrap .reject{float:right;margin-right:10px}.buddypress-wrap .members-list.grid .bp-ajax-message{background:rgba(255,255,255,.9);border:1px solid #eee;font-size:14px;right:2%;position:absolute;padding:.5em 1em;left:2%;top:30px}.buddypress.widget .item-options{font-size:14px}.buddypress.widget ul.item-list{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:column nowrap;-moz-flex-flow:column nowrap;-ms-flex-flow:column nowrap;-o-flex-flow:column nowrap;flex-flow:column nowrap;list-style:none;margin:10px -2%;overflow:hidden}@media screen and (min-width:32em){.buddypress.widget ul.item-list{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row wrap;-moz-flex-flow:row wrap;-ms-flex-flow:row wrap;-o-flex-flow:row wrap;flex-flow:row wrap}}.buddypress.widget ul.item-list li{border:1px solid #eee;-ms-flex-align:stretch;-webkit-align-items:stretch;-webkit-box-align:stretch;align-items:stretch;-webkit-flex:1 1 46%;-moz-flex:1 1 46%;-ms-flex:1 1 46%;-o-flex:1 1 46%;flex:1 1 46%;margin:2%}@media screen and (min-width:75em){.buddypress.widget ul.item-list li{-webkit-flex:0 1 20%;-moz-flex:0 1 20%;-ms-flex:0 1 20%;-o-flex:0 1 20%;flex:0 1 20%}}.buddypress.widget ul.item-list li .item-avatar{padding:.5em;text-align:center}.buddypress.widget ul.item-list li .item-avatar .avatar{width:60%}.buddypress.widget ul.item-list li .item{padding:0 .5em .5em}.buddypress.widget ul.item-list li .item .item-meta{font-size:12px;overflow-wrap:break-word}.widget-area .buddypress.widget ul.item-list li{-webkit-flex:0 1 46%;-moz-flex:0 1 46%;-ms-flex:0 1 46%;-o-flex:0 1 46%;flex:0 1 46%;margin:2% 2% 10px}@media screen and (min-width:75em){.widget-area .buddypress.widget ul.item-list li .avatar{width:100%}}@media screen and (min-width:75em){.widget-area .buddypress.widget ul.item-list{margin:10px -2%;width:100%}.widget-area .buddypress.widget ul.item-list li{-webkit-flex:0 1 auto;-moz-flex:0 1 auto;-ms-flex:0 1 auto;-o-flex:0 1 auto;flex:0 1 auto;margin:10px 2% 1%;width:46%}}#buddypress-wrap *{transition:opacity .1s ease-in-out .1s}#buddypress-wrap a.button,#buddypress-wrap a.generic-button,#buddypress-wrap button,#buddypress-wrap input[type=reset],#buddypress-wrap input[type=submit]{transition:background .1s ease-in-out .1s,color .1s ease-in-out .1s,border-color .1s ease-in-out .1s}.buddypress-wrap a.loading,.buddypress-wrap input.loading{-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@-webkit-keyframes loader-pulsate{from{border-color:#aaa;-webkit-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-webkit-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@-moz-keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}.buddypress-wrap a.loading:hover,.buddypress-wrap input.loading:hover{color:#777}[data-bp-tooltip]{position:relative}[data-bp-tooltip]:after{background-color:#fff;display:none;opacity:0;position:absolute;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden}[data-bp-tooltip]:after{border:1px solid #737373;border-radius:1px;box-shadow:-4px 4px 8px rgba(0,0,0,.2);color:#333;content:attr(data-bp-tooltip);font-family:"Helvetica Neue",helvetica,arial,san-serif;font-size:12px;font-weight:400;letter-spacing:normal;line-height:1.25;max-width:200px;padding:5px 8px;pointer-events:none;text-shadow:none;text-transform:none;-webkit-transition:all 1.5s ease;-ms-transition:all 1.5s ease;transition:all 1.5s ease;white-space:nowrap;word-wrap:break-word;z-index:100000}[data-bp-tooltip]:active:after,[data-bp-tooltip]:focus:after,[data-bp-tooltip]:hover:after{display:block;opacity:1;overflow:visible;visibility:visible}[data-bp-tooltip=""]{display:none;opacity:0;visibility:hidden}.bp-tooltip:after{right:50%;margin-top:7px;top:110%;-webkit-transform:translate(50%,0);-ms-transform:translate(50%,0);transform:translate(50%,0)}.user-list .bp-tooltip:after{right:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}@media screen and (min-width:46.8em){.user-list .bp-tooltip:after{right:auto;left:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}}.activity-meta-action .bp-tooltip:after,.notification-actions .bp-tooltip:after,.participants-list .bp-tooltip:after{right:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.bp-invites-content .bp-tooltip:after{right:auto;left:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}#item-body,.single-screen-navs{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.grid>li,.grid>li .generic-button a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.grid>li{border-bottom:0;padding-bottom:10px;padding-top:0}.grid>li .list-wrap{background:#fafafa;border:1px solid #eee;padding-bottom:15px;position:relative;overflow:hidden;padding-top:14px}.grid>li .list-wrap .list-title{padding:.5em}.grid>li .list-wrap .update{color:#737373;padding:.5em 2em}.grid>li .item-avatar{text-align:center}.grid>li .item-avatar .avatar{border-radius:50%;display:inline-block;width:50%}@media screen and (min-width:24em){.grid.members-list .list-wrap{min-height:340px}.grid.members-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.members-group-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.groups-list .list-wrap{min-height:470px}.grid.groups-list .list-wrap .item-block{min-height:6rem}.grid.groups-list .list-wrap .group-desc{margin:15px auto 0;min-height:5em;overflow:hidden}.grid.groups-list .list-wrap .group-details,.grid.groups-list .list-wrap .item-desc,.grid.groups-list .list-wrap .last-activity{margin-bottom:0}.grid.groups-list .list-wrap .group-details p,.grid.groups-list .list-wrap .item-desc p,.grid.groups-list .list-wrap .last-activity p{margin-bottom:0}.grid.blogs-list .list-wrap{min-height:350px}.grid.blogs-list .list-wrap .item-block{margin:0 auto;min-height:7rem}}@media screen and (min-width:24em){.grid>li.item-entry{float:right;margin:0}.grid.two>li{padding-bottom:20px}}@media screen and (min-width:24em) and (min-width:75em){.grid.two>li .list-wrap{max-width:500px;margin:0 auto}}@media screen and (min-width:24em){.grid.three>li,.grid.two>li{width:50%}.grid.three>li:nth-child(odd),.grid.two>li:nth-child(odd){padding-left:10px}.grid.three>li:nth-child(even),.grid.two>li:nth-child(even){padding-right:10px}.grid.three>li .item,.grid.two>li .item{margin:1rem auto 0;width:80%}.grid.three>li .item .item-title,.grid.two>li .item .item-title{width:auto}}@media screen and (min-width:46.8em){.grid.three>li{padding-top:0;width:33.333333%;width:calc(100% / 3)}.grid.three>li:nth-child(1n+1){padding-right:5px;padding-left:5px}.grid.three>li:nth-child(3n+3){padding-right:5px;padding-left:0}.grid.three>li:nth-child(3n+1){padding-right:0;padding-left:5px}}@media screen and (min-width:46.8em){.grid.four>li{width:25%}.grid.four>li:nth-child(1n+1){padding-right:5px;padding-left:5px}.grid.four>li:nth-child(4n+4){padding-right:5px;padding-left:0}.grid.four>li:nth-child(4n+1){padding-right:0;padding-left:5px}}.buddypress-wrap .grid.bp-list{padding-top:1em}.buddypress-wrap .grid.bp-list>li{border-bottom:none}.buddypress-wrap .grid.bp-list>li .list-wrap{padding-bottom:3em}.buddypress-wrap .grid.bp-list>li .item-avatar{margin:0;text-align:center;width:auto}.buddypress-wrap .grid.bp-list>li .item-avatar img.avatar{display:inline-block;height:auto;width:50%}.buddypress-wrap .grid.bp-list>li .item-meta,.buddypress-wrap .grid.bp-list>li .list-title{float:none;text-align:center}.buddypress-wrap .grid.bp-list>li .list-title{font-size:inherit;line-height:1.1}.buddypress-wrap .grid.bp-list>li .item{font-size:18px;right:0;margin:0 auto;text-align:center;width:96%}@media screen and (min-width:46.8em){.buddypress-wrap .grid.bp-list>li .item{font-size:22px}}.buddypress-wrap .grid.bp-list>li .item .group-desc,.buddypress-wrap .grid.bp-list>li .item .item-block{float:none;width:96%}.buddypress-wrap .grid.bp-list>li .item .item-block{margin-bottom:10px}.buddypress-wrap .grid.bp-list>li .item .last-activity{margin-top:5px}.buddypress-wrap .grid.bp-list>li .item .group-desc{clear:none}.buddypress-wrap .grid.bp-list>li .item .user-update{clear:both;text-align:right}.buddypress-wrap .grid.bp-list>li .item .activity-read-more a{display:inline}.buddypress-wrap .grid.bp-list>li .action{bottom:5px;float:none;height:auto;right:0;margin:0;padding:0 5px;position:absolute;text-align:center;top:auto;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button{float:none;margin:5px 0 0;text-align:center;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button a,.buddypress-wrap .grid.bp-list>li .action .generic-button button{width:100%}.buddypress-wrap .grid.bp-list>li .avatar,.buddypress-wrap .grid.bp-list>li .item,.buddypress-wrap .grid.bp-list>li .item-avatar{float:none}.buddypress-wrap .blogs-list.grid.two>li .blogs-title{min-height:5em}.buddypress-wrap .grid.four>li .group-desc,.buddypress-wrap .grid.three>li .group-desc{min-height:8em}.buddypress-wrap .blogs-list.grid.four>li,.buddypress-wrap .blogs-list.grid.three>li{min-height:350px}.buddypress-wrap .blogs-list.grid.four>li .last-activity,.buddypress-wrap .blogs-list.grid.three>li .last-activity{margin-bottom:0}.buddypress-wrap .blogs-list.grid.four>li .last-post,.buddypress-wrap .blogs-list.grid.three>li .last-post{margin-top:0}.buddypress:not(.logged-in) .grid.bp-list .list-wrap{padding-bottom:5px}.buddypress:not(.logged-in) .grid.groups-list .list-wrap{min-height:430px}.buddypress:not(.logged-in) .grid.members-list .list-wrap{min-height:300px}.buddypress:not(.logged-in) .grid.blogs-list .list-wrap{min-height:320px}@media screen and (min-width:46.8em){.bp-single-vert-nav .vertical{overflow:visible}.bp-single-vert-nav .vertical ul{border-left:1px solid #d6d6d6;float:right;margin-left:-1px;width:25%}.bp-single-vert-nav .vertical li{float:none}.bp-single-vert-nav .vertical li.selected a{background:#ccc;color:#333}.bp-single-vert-nav .vertical li:focus,.bp-single-vert-nav .vertical li:hover{background:#ccc}.bp-single-vert-nav .vertical li span{background:#d6d6d6;border-radius:10%;float:left;margin-left:2px}.bp-single-vert-nav .vertical li:hover span{border-color:#eaeaea}.bp-single-vert-nav .bp-wrap{margin-bottom:15px}.bp-single-vert-nav .bp-wrap .group-nav-tabs.groups-nav ul li,.bp-single-vert-nav .bp-wrap .user-nav-tabs.users-nav ul li{right:1px;position:relative}.bp-single-vert-nav .item-body:not(#group-create-body){background:#fff;border-right:1px solid #d6d6d6;float:left;margin:0;min-height:400px;padding:0 1em 0 0;width:calc(75% + 1px)}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links){background:#eaeaea;margin:0 -5px 0 0;width:auto}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li{font-size:16px;margin:10px 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a{border-left:1px solid #ccc;padding:0 .5em}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:focus,.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:hover{background:0 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li.current a{background:0 0;color:#333;text-decoration:underline}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li:last-child a{border:none}.bp-dir-vert-nav .dir-navs{float:right;right:1px;position:relative;width:20%}.bp-dir-vert-nav .dir-navs ul li{float:none;overflow:hidden;width:auto}.bp-dir-vert-nav .dir-navs ul li.selected{border:1px solid #eee}.bp-dir-vert-nav .dir-navs ul li.selected a{background:#555;color:#fff}.bp-dir-vert-nav .dir-navs ul li.selected a span{background:#eaeaea;border-color:#ccc;color:#5087e5}.bp-dir-vert-nav .dir-navs ul li a:focus,.bp-dir-vert-nav .dir-navs ul li a:hover{background:#ccc;color:#333}.bp-dir-vert-nav .dir-navs ul li a:focus span,.bp-dir-vert-nav .dir-navs ul li a:hover span{border:1px solid #555}.bp-dir-vert-nav .screen-content{border-right:1px solid #d6d6d6;margin-right:20%;overflow:hidden;padding:0 1em 2em 0}.bp-dir-vert-nav .screen-content .subnav-filters{margin-top:0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:hover{background:0 0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected{background:0 0;border:1px solid #d6d6d6;border-left-color:#fff}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a{background:0 0;color:#333;font-weight:600}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a span{background:#555;border:1px solid #d6d6d6;color:#fff}}
|
1 |
+
body #buddypress * a{box-shadow:none;text-decoration:none}body #buddypress #item-body blockquote,body #buddypress .bp-lists blockquote{margin-right:10px}body #buddypress .bp-list .action{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media screen and (min-width:46.8em){body.buddypress .entry-content,body.buddypress .entry-header,body.buddypress .site-content .entry-header{max-width:none}body.buddypress .entry-header{float:none;max-width:none}body.buddypress .entry-content{float:none;max-width:none}body.buddypress .site-content{padding-top:2.5em}body.buddypress #page #primary{max-width:none}body.buddypress #page #primary .entry-content,body.buddypress #page #primary .entry-header{float:none;width:auto}}body.buddypress .buddypress-wrap h1,body.buddypress .buddypress-wrap h2,body.buddypress .buddypress-wrap h3,body.buddypress .buddypress-wrap h4,body.buddypress .buddypress-wrap h5,body.buddypress .buddypress-wrap h6{clear:none;margin:1em 0;padding:0}.bp-wrap:after,.bp-wrap:before{content:" ";display:table}.bp-wrap:after{clear:both}.buddypress-wrap.round-avatars .avatar{border-radius:50%}div,dl,input[type=reset],input[type=search],input[type=submit],li,select,textarea{-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box}body.buddypress article.page>.entry-header{margin-bottom:2em;padding:0}body.buddypress article.page>.entry-header .entry-title{font-size:28px;font-weight:inherit;color:#767676}@media screen and (min-width:46.8em){body.buddypress article.page>.entry-header .entry-title{font-size:34px}}.buddypress-wrap dt.section-title{font-size:18px}@media screen and (min-width:46.8em){.buddypress-wrap dt.section-title{font-size:22px}}.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:16px}}.buddypress-wrap .activity-header{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-header{font-size:16px}}.buddypress-wrap .activity-inner{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-inner{font-size:18px}}.buddypress-wrap #whats-new-post-in{font-size:16px}.buddypress-wrap .acomment-meta,.buddypress-wrap .mini .activity-header{font-size:16px}.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:16px}}.buddypress-wrap .bp-tables-user th{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user th{font-size:16px}}.buddypress-wrap .bp-tables-user td{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user td{font-size:14px}}.buddypress-wrap .profile-fields th{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields th{font-size:18px}}.buddypress-wrap .profile-fields td{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields td{font-size:16px}}.buddypress-wrap #notification-select{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap #notification-select{font-size:14px}}.bp-navs{background:0 0;clear:both;overflow:hidden}.bp-navs ul{margin:0;padding:0}.bp-navs ul li{list-style:none;margin:0}.bp-navs ul li.last select{max-width:185px}.bp-navs ul li a,.bp-navs ul li span{border:0;display:block;padding:5px 10px;text-decoration:none}.bp-navs ul li .count{background:#eaeaea;border:1px solid #ccc;border-radius:50%;color:#555;display:inline;font-size:12px;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}.bp-navs ul li.current a,.bp-navs ul li.selected a{color:#333;opacity:1}.bp-navs.bp-invites-filters ul li a,.bp-navs.bp-messages-filters ul li a{border:1px solid #ccc;display:inline-block}.main-navs.dir-navs{margin-bottom:20px}.buddypress-wrap .bp-navs li a:hover a .count,.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count{background-color:#ccc}.buddypress-wrap .bp-navs li:not(.current) a:focus,.buddypress-wrap .bp-navs li:not(.current) a:hover,.buddypress-wrap .bp-navs li:not(.selected) a:focus,.buddypress-wrap .bp-navs li:not(.selected) a:hover{background:#ccc;color:#333}.buddypress-wrap .bp-navs li.current a,.buddypress-wrap .bp-navs li.current a:focus,.buddypress-wrap .bp-navs li.current a:hover,.buddypress-wrap .bp-navs li.selected a,.buddypress-wrap .bp-navs li.selected a:focus,.buddypress-wrap .bp-navs li.selected a:hover{background:#555;color:#fafafa}@media screen and (min-width:46.8em){.buddypress-wrap .main-navs:not(.dir-navs) li.current a,.buddypress-wrap .main-navs:not(.dir-navs) li.selected a{background:#fff;color:#333;font-weight:600}.buddypress-wrap .main-navs.vertical li.current a,.buddypress-wrap .main-navs.vertical li.selected a{background:#555;color:#fafafa;text-decoration:none}.buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links){border-bottom:1px solid #eee;border-top:1px solid #eee;-webkit-box-shadow:0 2px 12px 0 #fafafa;-moz-box-shadow:0 2px 12px 0 #fafafa;box-shadow:0 2px 12px 0 #fafafa}}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.selected a{background:#fff;color:#333;font-weight:600}@media screen and (max-width:46.8em){.buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li{background:#eaeaea}}.buddypress-wrap:not(.bp-single-vert-nav) .main-navs>ul>li>a{padding:.5em calc(.5em + 2px)}.buddypress-wrap:not(.bp-single-vert-nav) .group-subnav#subsubnav,.buddypress-wrap:not(.bp-single-vert-nav) .user-subnav#subsubnav{background:0 0}.buddypress-wrap .bp-subnavs,.buddypress-wrap ul.subnav{width:100%}.buddypress-wrap .bp-subnavs{margin:10px 0;overflow:hidden}.buddypress-wrap .bp-subnavs ul li{margin-top:0}.buddypress-wrap .bp-subnavs ul li.current :focus,.buddypress-wrap .bp-subnavs ul li.current :hover,.buddypress-wrap .bp-subnavs ul li.selected :focus,.buddypress-wrap .bp-subnavs ul li.selected :hover{background:0 0;color:#333}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap .bp-navs.bp-invites-filters#subsubnav ul li.last,.buddypress-wrap .bp-navs.bp-invites-nav#subnav ul li.last,.buddypress-wrap .bp-navs.bp-messages-filters#subsubnav ul li.last{margin-top:0}@media screen and (max-width:46.8em){.buddypress-wrap .single-screen-navs{border:1px solid #eee}.buddypress-wrap .single-screen-navs li{border-bottom:1px solid #eee}.buddypress-wrap .single-screen-navs li:last-child{border-bottom:none}.buddypress-wrap .bp-subnavs li a{font-size:14px}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.current a:focus,.buddypress-wrap .bp-subnavs li.current a:hover,.buddypress-wrap .bp-subnavs li.selected a,.buddypress-wrap .bp-subnavs li.selected a:focus,.buddypress-wrap .bp-subnavs li.selected a:hover{background:#555;color:#fff}}.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count,.buddypress_object_nav .bp-navs li.current a .count,.buddypress_object_nav .bp-navs li.selected a .count{background-color:#fff}.buddypress-wrap .bp-navs li.dynamic a .count,.buddypress-wrap .bp-navs li.dynamic.current a .count,.buddypress-wrap .bp-navs li.dynamic.selected a .count,.buddypress_object_nav .bp-navs li.dynamic a .count,.buddypress_object_nav .bp-navs li.dynamic.current a .count,.buddypress_object_nav .bp-navs li.dynamic.selected a .count{background-color:#5087e5;border:0;color:#fafafa}.buddypress-wrap .bp-navs li.dynamic a:hover .count,.buddypress_object_nav .bp-navs li.dynamic a:hover .count{background-color:#5087e5;border:0;color:#fff}.buddypress-wrap .bp-navs li a .count:empty,.buddypress_object_nav .bp-navs li a .count:empty{display:none}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current),.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current){color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:hover{background:0 0;color:#333}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li.current a,.buddypress_object_nav .bp-navs.group-create-links ul li.current a{text-align:center}@media screen and (min-width:46.8em){.buddypress-wrap .bp-navs li{float:right}.buddypress-wrap .subnav{float:right}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap #subsubnav .activity-search{float:right}.buddypress-wrap #subsubnav .filter{float:left}}.buddypress_object_nav .bp-navs li a .count{display:inline-block;float:left}@media screen and (min-width:46.8em){.bp-dir-vert-nav .bp-navs.dir-navs{background:0 0}.bp-dir-vert-nav .bp-navs.dir-navs a .count{float:left}}@media screen and (min-width:46.8em){.buddypress-wrap .tabbed-links ol,.buddypress-wrap .tabbed-links ul{border-bottom:1px solid #ccc;float:none;margin:20px 0 10px}.buddypress-wrap .tabbed-links ol:after,.buddypress-wrap .tabbed-links ol:before,.buddypress-wrap .tabbed-links ul:after,.buddypress-wrap .tabbed-links ul:before{content:" ";display:block}.buddypress-wrap .tabbed-links ol:after,.buddypress-wrap .tabbed-links ul:after{clear:both}.buddypress-wrap .tabbed-links ol li,.buddypress-wrap .tabbed-links ul li{float:right;list-style:none;margin:0 0 0 10px}.buddypress-wrap .tabbed-links ol li a,.buddypress-wrap .tabbed-links ol li span:not(.count),.buddypress-wrap .tabbed-links ul li a,.buddypress-wrap .tabbed-links ul li span:not(.count){background:0 0;border:none;display:block;padding:4px 10px}.buddypress-wrap .tabbed-links ol li a:focus,.buddypress-wrap .tabbed-links ol li a:hover,.buddypress-wrap .tabbed-links ul li a:focus,.buddypress-wrap .tabbed-links ul li a:hover{background:0 0}.buddypress-wrap .tabbed-links ol li:not(.current),.buddypress-wrap .tabbed-links ul li:not(.current){margin-bottom:2px}.buddypress-wrap .tabbed-links ol li.current,.buddypress-wrap .tabbed-links ul li.current{border-color:#ccc #ccc #fff;border-style:solid;border-top-right-radius:4px;border-top-left-radius:4px;border-width:1px;margin-bottom:-1px;padding:0 .5em 1px}.buddypress-wrap .tabbed-links ol li.current a,.buddypress-wrap .tabbed-links ul li.current a{background:0 0;color:#333}.buddypress-wrap .bp-subnavs.tabbed-links>ul{margin-top:0}.buddypress-wrap .bp-navs.tabbed-links{background:0 0;margin-top:2px}.buddypress-wrap .bp-navs.tabbed-links ul li a{border-left:0;font-size:inherit}.buddypress-wrap .bp-navs.tabbed-links ul li.last{float:left;margin:0}.buddypress-wrap .bp-navs.tabbed-links ul li.last a{margin-top:-.5em}.buddypress-wrap .bp-navs.tabbed-links ul li a,.buddypress-wrap .bp-navs.tabbed-links ul li a:focus,.buddypress-wrap .bp-navs.tabbed-links ul li a:hover,.buddypress-wrap .bp-navs.tabbed-links ul li.current a,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:focus,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:hover{background:0 0;border:0}.buddypress-wrap .bp-navs.tabbed-links ul li a:active,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:active{outline:0}}.buddypress-wrap .dir-component-filters .filter label{display:inline}.buddypress-wrap .subnav-filters:after,.buddypress-wrap .subnav-filters:before{content:" ";display:table}.buddypress-wrap .subnav-filters:after{clear:both}.buddypress-wrap .subnav-filters{background:0 0;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .subnav-filters div{margin:0}.buddypress-wrap .subnav-filters>ul{float:right;list-style:none}.buddypress-wrap .subnav-filters.bp-messages-filters ul{width:100%}.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:1em}@media screen and (min-width:46.8em){.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:0}}.buddypress-wrap .subnav-filters div{float:none}.buddypress-wrap .subnav-filters div input[type=search],.buddypress-wrap .subnav-filters div select{font-size:16px}.buddypress-wrap .subnav-filters div button.nouveau-search-submit{padding:5px .8em 6px}.buddypress-wrap .subnav-filters div button#user_messages_search_submit{padding:7px .8em}.buddypress-wrap .subnav-filters .component-filters{margin-top:10px}.buddypress-wrap .subnav-filters .feed{margin-left:15px}.buddypress-wrap .subnav-filters .last.filter label{display:inline}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:before{content:" ";display:table}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after{clear:both}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-show{display:inline-block}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-hide{display:none}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap{border:0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:focus,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:hover{outline:1px solid #d6d6d6}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions{float:right}.buddypress-wrap .subnav-filters .user-messages-bulk-actions label{display:inline-block;font-weight:300;margin-left:25px;padding:5px 0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions div select{-webkit-appearance:textfield}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply{border:0;border-radius:none;font-weight:400;line-height:1.8;margin:0 10px 0 0;padding:3px 5px;text-align:center;text-transform:none;width:auto}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply span{vertical-align:middle}@media screen and (min-width:32em){.buddypress-wrap .subnav-filters li{margin-bottom:0}.buddypress-wrap .subnav-filters .bp-search,.buddypress-wrap .subnav-filters .dir-search,.buddypress-wrap .subnav-filters .feed,.buddypress-wrap .subnav-filters .group-act-search,.buddypress-wrap .subnav-filters .group-invites-search,.buddypress-wrap .subnav-filters .subnav-search,.buddypress-wrap .subnav-filters .subnav-search form,.buddypress-wrap .subnav-filters .user-messages-bulk-actions,.buddypress-wrap .subnav-filters .user-messages-search{float:right}.buddypress-wrap .subnav-filters .component-filters,.buddypress-wrap .subnav-filters .last{float:left;margin-top:0;width:auto}.buddypress-wrap .subnav-filters .component-filters select,.buddypress-wrap .subnav-filters .last select{max-width:250px}.buddypress-wrap .subnav-filters .user-messages-search{float:left}}.buddypress-wrap .notifications-options-nav input#notification-bulk-manage{border:0;border-radius:0;line-height:1.6}.buddypress-wrap .group-subnav-filters .group-invites-search{margin-bottom:1em}.buddypress-wrap .group-subnav-filters .last{text-align:center}.buddypress-wrap .bp-pagination{background:0 0;border:0;color:#767676;float:right;font-size:small;margin:0;padding:.5em 0;position:relative;width:100%}.buddypress-wrap .bp-pagination .pag-count{float:right}.buddypress-wrap .bp-pagination .bp-pagination-links{float:left;margin-left:10px}.buddypress-wrap .bp-pagination .bp-pagination-links a,.buddypress-wrap .bp-pagination .bp-pagination-links span{font-size:small;padding:0 5px}.buddypress-wrap .bp-pagination .bp-pagination-links a:focus,.buddypress-wrap .bp-pagination .bp-pagination-links a:hover{opacity:1}.buddypress-wrap .bp-pagination p{margin:0}.bp-list:after,.bp-list:before{content:" ";display:table}.bp-list:after{clear:both}.bp-list{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #eaeaea;clear:both;list-style:none;margin:20px 0;padding:.5em 0;width:100%}.bp-list li:after,.bp-list li:before{content:" ";display:table}.bp-list li:after{clear:both}.bp-list>li{border-bottom:1px solid #eaeaea}.bp-list li{list-style:none;margin:10px 0;padding:.5em 0;position:relative}.bp-list li .item-avatar{text-align:center}.bp-list li .item-avatar img.avatar{display:inline}.bp-list li .item .group-details,.bp-list li .item .item-avatar,.bp-list li .item .item-meta,.bp-list li .item .list-title{text-align:center}.bp-list li .item .list-title{clear:none;font-size:22px;font-weight:400;line-height:1.1;margin:0 auto}@media screen and (min-width:46.8em){.bp-list li .item .list-title{font-size:26px}}.bp-list li .item-meta,.bp-list li .meta{color:#737373;font-size:12px;margin-bottom:10px;margin-top:10px}.bp-list li .last-post{text-align:center}.bp-list li .action{margin:0;text-align:center}.bp-list li .action .generic-button{display:inline-block;font-size:12px;margin:0 0 0 10px}.bp-list li .action div.generic-button{margin:10px 0}@media screen and (min-width:46.8em){.bp-list li .item-avatar{float:right;margin-left:5%}.bp-list li .item{margin:0;overflow:hidden}.bp-list li .item .item-block{float:right;margin-left:2%;width:50%}.bp-list li .item .item-meta,.bp-list li .item .list-title{float:right;text-align:right}.bp-list li .item .group-details,.bp-list li .item .last-post{text-align:right}.bp-list li .group-desc,.bp-list li .last-post,.bp-list li .user-update{clear:none;overflow:hidden;width:auto}.bp-list li .action{clear:right;padding:0;text-align:right}.bp-list li .action li.generic-button{margin-left:0}.bp-list li .action div.generic-button{margin:0 0 10px}.bp-list li .generic-button{display:block;margin:0 0 5px 0}}@media screen and (min-width:32em){#activity-stream{clear:both;padding-top:1em}}.activity-list.bp-list{background:#fafafa;border:1px solid #eee}.activity-list.bp-list .activity-item{background:#fff;border:1px solid #b7b7b7;-webkit-box-shadow:0 0 6px #d2d2d2;-moz-box-shadow:0 0 6px #d2d2d2;box-shadow:0 0 6px #d2d2d2;margin:20px 0}.activity-list.bp-list li:first-child{margin-top:0}.friends-list{list-style-type:none}.friends-request-list .item-title,.membership-requests-list .item-title{text-align:center}@media screen and (min-width:46.8em){.friends-request-list li,.membership-requests-list li{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row nowrap;-moz-flex-flow:row nowrap;-ms-flex-flow:row nowrap;-o-flex-flow:row nowrap;flex-flow:row nowrap}.friends-request-list li .item,.membership-requests-list li .item{-webkit-flex:1 1 auto;-moz-flex:1 1 auto;-ms-flex:1 1 auto;-o-flex:1 1 auto;flex:1 1 auto}.friends-request-list li .action,.membership-requests-list li .action{text-align:left}.friends-request-list li .item-title,.membership-requests-list li .item-title{font-size:22px;text-align:right}.friends-request-list li .item-title h3,.membership-requests-list li .item-title h3{margin:0}}#notifications-user-list{clear:both;padding-top:1em}@media screen and (min-width:46.8em){body:not(.logged-in) .bp-list .item{margin-left:0}}.activity-permalink .item-list,.activity-permalink .item-list li.activity-item{border:0}.activity-update-form{padding:10px 10px 0}.item-body .activity-update-form .activity-form{margin:0;padding:0}.activity-update-form{border:1px solid #ccc;-webkit-box-shadow:inset 0 0 6px #eee;-moz-box-shadow:inset 0 0 6px #eee;box-shadow:inset 0 0 6px #eee;margin:15px 0}.activity-update-form #whats-new-avatar{margin:10px 0;text-align:center}.activity-update-form #whats-new-avatar img{box-shadow:none;display:inline-block}.activity-update-form #whats-new-content{padding:0 0 20px 0}.activity-update-form #whats-new-textarea textarea{background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:#333;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}.activity-update-form #whats-new-textarea textarea:focus{-webkit-box-shadow:0 0 6px 0 #d6d6d6;-moz-box-shadow:0 0 6px 0 #d6d6d6;box-shadow:0 0 6px 0 #d6d6d6}.activity-update-form #whats-new-post-in-box{margin:10px 0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items{list-style:none;margin:10px 0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li{margin-bottom:10px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items #activity-autocomplete{padding:.3em}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center;padding:.2em}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object .avatar{width:30px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object span{padding-right:10px;vertical-align:middle}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:focus,.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:hover{background:#eaeaea;cursor:pointer}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object.selected{border:1px solid #d6d6d6}.activity-update-form #whats-new-submit{margin:15px 0 10px}.activity-update-form #whats-new-submit input{font-size:14px;line-height:inherit;margin-bottom:10px;margin-left:10px;padding:.2em 0;text-align:center;width:100%}@media screen and (min-width:46.8em){.activity-update-form #whats-new-avatar{display:block;float:right;margin:0}.activity-update-form #whats-new-content,.activity-update-form #whats-new-post-in-box,.activity-update-form #whats-new-submit{margin-right:8.5%}.activity-update-form #whats-new-submit input{margin-bottom:0;margin-left:10px;width:8em}}.activity-list{padding:.5em}.activity-list .activity-item:after,.activity-list .activity-item:before{content:" ";display:table}.activity-list .activity-item:after{clear:both}.activity-list .activity-item{list-style:none;padding:1em}.activity-list .activity-item.has-comments{padding-bottom:1em}.activity-list .activity-item div.item-avatar{margin:0 auto;text-align:center;width:auto}.activity-list .activity-item div.item-avatar img{height:auto;max-width:40%}@media screen and (min-width:46.8em){.activity-list .activity-item div.item-avatar{margin:0 0 0 2%;text-align:right;width:15%}.activity-list .activity-item div.item-avatar img{max-width:80%}}.activity-list .activity-item.mini{font-size:13px;position:relative}.activity-list .activity-item.mini .activity-avatar{margin-right:0 auto;text-align:center;width:auto}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:15%}@media screen and (min-width:46.8em){.activity-list .activity-item.mini .activity-avatar{margin-right:15px;text-align:right;width:15%}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:60%}}.activity-list .activity-item.new_forum_post .activity-inner,.activity-list .activity-item.new_forum_topic .activity-inner{border-right:2px solid #eaeaea;margin-right:10px;padding-right:1em}.activity-list .activity-item.newest_blogs_activity,.activity-list .activity-item.newest_friends_activity,.activity-list .activity-item.newest_groups_activity,.activity-list .activity-item.newest_mentions_activity{background:rgba(31,179,221,.1)}.activity-list .activity-item .activity-inreplyto{color:#767676;font-size:13px}.activity-list .activity-item .activity-inreplyto>p{display:inline;margin:0}.activity-list .activity-item .activity-inreplyto .activity-inner,.activity-list .activity-item .activity-inreplyto blockquote{background:0 0;border:0;display:inline;margin:0;overflow:hidden;padding:0}.activity-list .activity-item .activity-header{margin:0 auto;width:80%}.activity-list .activity-item .activity-header a,.activity-list .activity-item .activity-header img{display:inline}.activity-list .activity-item .activity-header .avatar{display:inline-block;margin:0 5px;vertical-align:bottom}.activity-list .activity-item .activity-header .time-since{font-size:14px;color:#767676;text-decoration:none}.activity-list .activity-item .activity-header .time-since:hover{color:#767676;cursor:pointer;text-decoration:underline}.activity-list .activity-item .activity-content .activity-header,.activity-list .activity-item .activity-content .comment-header{color:#767676;margin-bottom:10px}.activity-list .activity-item .activity-content .activity-inner,.activity-list .activity-item .activity-content blockquote{background:#fafafa;margin:15px 0 10px;overflow:hidden;padding:1em}.activity-list .activity-item .activity-content p{margin:0}.activity-list .activity-item .activity-inner p{word-wrap:break-word}.activity-list .activity-item .activity-read-more{margin-right:1em;white-space:nowrap}.activity-list .activity-item ul.activity-meta{margin:0;padding-right:0}.activity-list .activity-item ul.activity-meta li{border:0;display:inline-block}.activity-list .activity-item .activity-meta.action{border:1px solid transparent;background:#fafafa;padding:2px;position:relative;text-align:right}.activity-list .activity-item .activity-meta.action div.generic-button{margin:0}.activity-list .activity-item .activity-meta.action .button{background:0 0}.activity-list .activity-item .activity-meta.action a{padding:4px 8px}.activity-list .activity-item .activity-meta.action .button:focus,.activity-list .activity-item .activity-meta.action .button:hover{background:0 0}.activity-list .activity-item .activity-meta.action .button:before,.activity-list .activity-item .activity-meta.action .icons:before{font-family:dashicons;font-size:18px;vertical-align:middle}.activity-list .activity-item .activity-meta.action .acomment-reply.button:before{content:"\f101"}.activity-list .activity-item .activity-meta.action .view:before{content:"\f125"}.activity-list .activity-item .activity-meta.action .fav:before{content:"\f154"}.activity-list .activity-item .activity-meta.action .unfav:before{content:"\f155"}.activity-list .activity-item .activity-meta.action .delete-activity:before{content:"\f153"}.activity-list .activity-item .activity-meta.action .delete-activity:hover{color:#800}.activity-list .activity-item .activity-meta.action .button{border:0;box-shadow:none}.activity-list .activity-item .activity-meta.action .button span{background:0 0;color:#555;font-weight:700}@media screen and (min-width:46.8em){.activity-list.bp-list{padding:30px}.activity-list .activity-item .activity-content{margin:0;position:relative}.activity-list .activity-item .activity-content:after{clear:both;content:"";display:table}.activity-list .activity-item .activity-header{margin:0 0 0 15px;width:auto}}.buddypress-wrap .activity-list .load-more,.buddypress-wrap .activity-list .load-newest{background:#fafafa;border:1px solid #eee;font-size:110%;margin:15px 0;padding:0;text-align:center}.buddypress-wrap .activity-list .load-more a,.buddypress-wrap .activity-list .load-newest a{color:#555;display:block;padding:.5em 0}.buddypress-wrap .activity-list .load-more a:focus,.buddypress-wrap .activity-list .load-more a:hover,.buddypress-wrap .activity-list .load-newest a:focus,.buddypress-wrap .activity-list .load-newest a:hover{background:#fff;color:#333}.buddypress-wrap .activity-list .load-more:focus,.buddypress-wrap .activity-list .load-more:hover,.buddypress-wrap .activity-list .load-newest:focus,.buddypress-wrap .activity-list .load-newest:hover{border-color:#e1e1e1;-webkit-box-shadow:0 0 6px 0 #eaeaea;-moz-box-shadow:0 0 6px 0 #eaeaea;box-shadow:0 0 6px 0 #eaeaea}body.activity-permalink .activity-list li{border-width:1px;padding:1em 0 0 0}body.activity-permalink .activity-list li:first-child{padding-top:0}body.activity-permalink .activity-list li.has-comments{padding-bottom:0}body.activity-permalink .activity-list .activity-avatar{width:auto}body.activity-permalink .activity-list .activity-avatar a{display:block}body.activity-permalink .activity-list .activity-avatar img{max-width:100%}body.activity-permalink .activity-list .activity-content{border:0;font-size:100%;line-height:1.5;padding:0}body.activity-permalink .activity-list .activity-content .activity-header{margin:0;padding:.5em 0 0 0;text-align:center;width:100%}body.activity-permalink .activity-list .activity-content .activity-inner,body.activity-permalink .activity-list .activity-content blockquote{margin-right:0;margin-top:10px}body.activity-permalink .activity-list .activity-meta{margin:10px 0 10px}body.activity-permalink .activity-list .activity-comments{margin-bottom:10px}@media screen and (min-width:46.8em){body.activity-permalink .activity-list .activity-avatar{right:-20px;margin-left:0;position:relative;top:-20px}body.activity-permalink .activity-list .activity-content{margin-left:10px}body.activity-permalink .activity-list .activity-content .activity-header p{text-align:right}}.buddypress-wrap .activity-comments{clear:both;margin:0 5%;overflow:hidden;position:relative;width:auto}.buddypress-wrap .activity-comments ul{clear:both;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .activity-comments ul li{border-top:1px solid #eee;border-bottom:0;padding:1em 0 0}.buddypress-wrap .activity-comments ul li ul{margin-right:5%}.buddypress-wrap .activity-comments ul li:first-child{border-top:0}.buddypress-wrap .activity-comments ul li:last-child{margin-bottom:0}.buddypress-wrap .activity-comments div.acomment-avatar{width:auto}.buddypress-wrap .activity-comments div.acomment-avatar img{border-width:1px;float:right;height:25px;max-width:none;width:25px}.buddypress-wrap .activity-comments .acomment-content p,.buddypress-wrap .activity-comments .acomment-meta{font-size:14px}.buddypress-wrap .activity-comments .acomment-meta{color:#555;overflow:hidden;padding-right:2%}.buddypress-wrap .activity-comments .acomment-content{border-right:1px solid #ccc;margin:15px 10% 0 0;padding:.5em 1em}.buddypress-wrap .activity-comments .acomment-content p{margin-bottom:.5em}.buddypress-wrap .activity-comments .acomment-options{float:right;margin:10px 20px 10px 0}.buddypress-wrap .activity-comments .acomment-options a{color:#767676;font-size:14px}.buddypress-wrap .activity-comments .acomment-options a:focus,.buddypress-wrap .activity-comments .acomment-options a:hover{color:inherit}.buddypress-wrap .activity-comments .activity-meta.action{background:0 0;margin-top:10px}.buddypress-wrap .activity-comments .activity-meta.action button{font-size:14px;font-weight:400;text-transform:none}.buddypress-wrap .activity-comments .show-all button{font-size:14px;text-decoration:underline;padding-right:.5em}.buddypress-wrap .activity-comments .show-all button span{text-decoration:none}.buddypress-wrap .activity-comments .show-all button:focus span,.buddypress-wrap .activity-comments .show-all button:hover span{color:#5087e5}.buddypress-wrap .mini .activity-comments{clear:both;margin-top:0}body.activity-permalink .activity-comments{background:0 0;width:auto}body.activity-permalink .activity-comments>ul{padding:0 1em 0 .5em}body.activity-permalink .activity-comments ul li>ul{margin-top:10px}form.ac-form{display:none;padding:1em}form.ac-form .ac-reply-avatar{float:right}form.ac-form .ac-reply-avatar img{border:1px solid #eee}form.ac-form .ac-reply-content{color:#767676;padding-right:1em}form.ac-form .ac-reply-content a{text-decoration:none}form.ac-form .ac-reply-content .ac-textarea{margin-bottom:15px;padding:0 .5em;overflow:hidden}form.ac-form .ac-reply-content .ac-textarea textarea{background:0 0;box-shadow:none;color:#555;font-family:inherit;font-size:100%;height:60px;margin:0;outline:0;padding:.5em;width:100%}form.ac-form .ac-reply-content .ac-textarea textarea:focus{-webkit-box-shadow:0 0 6px #d6d6d6;-moz-box-shadow:0 0 6px #d6d6d6;box-shadow:0 0 6px #d6d6d6}form.ac-form .ac-reply-content input{margin-top:10px}.activity-comments li form.ac-form{clear:both;margin-left:15px}.activity-comments form.root{margin-right:0}@media screen and (min-width:46.8em){.buddypress-wrap .blogs-list li .item-block{float:none;width:auto}.buddypress-wrap .blogs-list li .item-meta{clear:right;float:none}}@media screen and (min-width:46.8em){.buddypress-wrap .bp-dir-vert-nav .blogs-list .list-title{width:auto}}.buddypress-wrap .groups-list li .list-title{text-align:center}.buddypress-wrap .groups-list li .group-details{clear:right}.buddypress-wrap .groups-list li .group-desc{border:1px solid #eaeaea;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;border-radius:10px;background-clip:padding-box;font-size:13px;color:#737373;font-style:italic;margin:10px auto 0;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .group-desc{font-size:16px}}.buddypress-wrap .groups-list li p{margin:0 0 .5em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .item{margin-left:0}.buddypress-wrap .groups-list li .item-meta,.buddypress-wrap .groups-list li .list-title{text-align:right;width:auto}.buddypress-wrap .groups-list li .item-meta{margin-bottom:20px}.buddypress-wrap .groups-list li .last-activity{clear:right;margin-top:-20px}}.buddypress-wrap .groups-list li.group-no-avatar div.group-desc{margin-right:0}.buddypress-wrap .mygroups .groups-list.grid .wrap{min-height:450px;padding-bottom:0}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list.grid.four .group-desc,.buddypress-wrap .groups-list.grid.three .group-desc{font-size:14px}}@media screen and (min-width:46.8em){.buddypress .bp-vertical-navs .groups-list .item-avatar{margin-left:3%;width:15%}}.buddypress-wrap .members-list li .member-name{margin-bottom:10px}.buddypress-wrap .members-list li .user-update{border:1px solid #eaeaea;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;border-radius:10px;background-clip:padding-box;color:#737373;font-style:italic;font-size:13px;margin:15px auto;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .user-update{font-size:16px}}.buddypress-wrap .members-list li .user-update .activity-read-more{display:block;font-size:12px;font-style:normal;margin-top:10px;padding-right:2px}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .last-activity{clear:right;margin-top:-10px}}@media screen and (min-width:46.8em){.buddypress-wrap .members-group-list li .joined{clear:right;float:none}}@media screen and (min-width:32em){body:not(.logged-in) .members-list .user-update{width:96%}}.register-page .register-section{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.register-page .signup-form{margin-top:20px}.register-page .signup-form .default-profile input{margin-bottom:20px}.register-page .signup-form label,.register-page .signup-form legend{margin:10px 0 0}.register-page .signup-form .editfield{margin:15px 0}.register-page .signup-form .editfield fieldset{border:0;padding:0}.register-page .signup-form .editfield fieldset legend{margin:0 0 5px;text-indent:0}.register-page .signup-form .editfield .field-visibility-settings{padding:.5em}.register-page .signup-form .editfield .field-visibility-settings fieldset{margin:0 0 10px}.register-page .signup-form #signup-avatar img{margin:0 0 10px 15px}.register-page .signup-form .password-entry,.register-page .signup-form .password-entry-confirm{border:1px solid #eee}@media screen and (min-width:46.8em){.buddypress-wrap .register-page .layout-wrap{display:flex;flex-flow:row wrap;justify-content:space-around}.buddypress-wrap .register-page .layout-wrap .default-profile{flex:1;padding-left:2em}.buddypress-wrap .register-page .layout-wrap .blog-details{flex:1;padding-right:2em}.buddypress-wrap .register-page .submit{clear:both}}@media screen and (min-width:46.8em){.buddypress-wrap.extended-default-reg .register-page .default-profile{flex:1;padding-left:1em}.buddypress-wrap.extended-default-reg .register-page .extended-profile{flex:2;padding-right:1em}.buddypress-wrap.extended-default-reg .register-page .blog-details{flex:1 100%}}#group-create-body{padding:.5em}#group-create-body .creation-step-name{text-align:center}#group-create-body .avatar-nav-items{margin-top:15px}.single-headers:after,.single-headers:before{content:" ";display:table}.single-headers:after{clear:both}.single-headers{margin-bottom:15px}.single-headers #item-header-avatar a{display:block;text-align:center}.single-headers #item-header-avatar a img{float:none}.single-headers div#item-header-content{float:none}@media screen and (min-width:46.8em){.single-headers #item-header-avatar a{text-align:right}.single-headers #item-header-avatar a img{float:right}.single-headers #item-header-content{padding-right:2em}}.single-headers .activity,.single-headers .group-status{display:inline}.single-headers .group-status{font-size:18px;color:#333;padding-left:1em}.single-headers .activity{display:inline-block;font-size:12px;padding:0}.single-headers #sitewide-notice p,.single-headers div#message p{background-color:#ffd;border:1px solid #cb2;color:#440;font-weight:400;margin-top:3px;text-decoration:none}.single-headers h2{line-height:1.2;margin:0 0 5px}.single-headers h2 a{color:#767676;text-decoration:none}.single-headers h2 span.highlight{display:inline-block;font-size:60%;font-weight:400;line-height:1.7;vertical-align:middle}.single-headers h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-size:80%;font-weight:700;margin-bottom:2px;padding:1px 4px;position:relative;left:-2px;top:-2px;vertical-align:middle}.single-headers img.avatar{float:right;margin:0 0 19px 15px}.single-headers .item-meta{color:#767676;font-size:14px;margin:15px 0 5px;padding-bottom:.5em}.single-headers ul{margin-bottom:15px}.single-headers ul li{float:left;list-style:none}.single-headers div.generic-button{text-align:center}.single-headers li.generic-button{display:inline-block;text-align:center}@media screen and (min-width:46.8em){.single-headers a.button,.single-headers div.generic-button,.single-headers li.generic-button{float:right}}.single-headers a.button,.single-headers div.generic-button{margin:10px 0 0 10px}.single-headers li.generic-button{margin:2px 10px}.single-headers li.generic-button:first-child{margin-right:0}.single-headers div#message.info{line-height:.8}body.no-js .single-item-header .js-self-profile-button{display:none}#cover-image-container{position:relative}#header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;right:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#item-header-cover-image{position:relative;z-index:2}#item-header-cover-image #item-header-avatar{padding:0 1em}.groups-header .bp-group-type-list{margin:0}.groups-header .bp-feedback{clear:both}.groups-header .group-item-actions{float:right;margin:0 15px 15px 0;padding-top:0;width:100%}.groups-header .moderators-lists{margin-top:0}.groups-header .moderators-lists .moderators-title{font-size:14px}.groups-header .moderators-lists .user-list{margin:0 0 5px}.groups-header .moderators-lists .user-list ul:after{clear:both;content:"";display:table}.groups-header .moderators-lists .user-list li{display:inline-block;float:none;margin-right:4px;padding:4px}.groups-header .moderators-lists img.avatar{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;float:none;height:30px;margin:0;max-width:100%;width:30px}@media screen and (min-width:46.8em){.groups-header div#item-header-content{float:right;margin-right:10%;text-align:right;padding-top:15px;width:42%}.groups-header .group-item-actions{float:left;margin:0 15px 15px 0;text-align:left;width:20%}.groups-header .groups-meta{clear:both}}.groups-header .desc-wrap{background:#eaeaea;border:1px solid #d6d6d6;margin:0 0 15px;padding:1em;text-align:center}.groups-header .desc-wrap .group-description{background:#fafafa;-webkit-box-shadow:inset 0 0 9px #ccc;-moz-box-shadow:inset 0 0 9px #ccc;box-shadow:inset 0 0 9px #ccc;padding:1em;text-align:right}.bp-user .users-header .user-nicename{margin-bottom:5px}.bp-user .member-header-actions{overflow:hidden}.bp-user .member-header-actions *>*{display:block}.buddypress-wrap .item-body{margin:20px 0}.buddypress-wrap .item-body .screen-heading{font-size:20px;font-weight:400}.buddypress-wrap .item-body .button-tabs{margin:30px 0 15px}.buddypress-wrap.bp-single-vert-nav .bp-list:not(.grid) .item-entry{padding-right:.5em}.single-item.group-members .item-body .filters:not(.no-subnav){border-top:5px solid #eaeaea;padding-top:1em}.single-item.group-members .item-body .filters{margin-top:0}.buddypress-wrap .group-status-type ul{margin:0 20px 20px 0}.groups-manage-members-list{padding:.5em 0}.groups-manage-members-list dd{margin:0;padding:1em 0}.groups-manage-members-list .section-title{background:#eaeaea;padding-right:.3em}.groups-manage-members-list ul{list-style:none;margin-bottom:0}.groups-manage-members-list ul li{border-bottom:1px solid #eee;margin-bottom:10px;padding:.5em .3em .3em}.groups-manage-members-list ul li:last-child,.groups-manage-members-list ul li:only-child{border-bottom:0}.groups-manage-members-list ul li:nth-child(even){background:#fafafa}.groups-manage-members-list ul li.banned-user{background:#fad3d3}.groups-manage-members-list ul .member-name{margin-bottom:0;text-align:center}.groups-manage-members-list ul img{display:block;margin:0 auto;width:20%}@media screen and (min-width:32em){.groups-manage-members-list ul .member-name{text-align:right}.groups-manage-members-list ul img{display:inline;width:50px}}.groups-manage-members-list ul .members-manage-buttons:after,.groups-manage-members-list ul .members-manage-buttons:before{content:" ";display:table}.groups-manage-members-list ul .members-manage-buttons:after{clear:both}.groups-manage-members-list ul .members-manage-buttons{margin:15px 0 5px}.groups-manage-members-list ul .members-manage-buttons a.button{color:#767676;display:block;font-size:13px}@media screen and (min-width:32em){.groups-manage-members-list ul .members-manage-buttons a.button{display:inline-block}}.groups-manage-members-list ul .members-manage-buttons.text-links-list{margin-bottom:0}@media screen and (max-width:32em){.groups-manage-members-list ul .members-manage-buttons.text-links-list a.button{background:#fafafa;border:1px solid #eee;display:block;margin-bottom:10px}}.groups-manage-members-list ul .action:not(.text-links-list) a.button{font-size:12px}@media screen and (min-width:46.8em){.groups-manage-members-list ul li .avatar,.groups-manage-members-list ul li .member-name{float:right}.groups-manage-members-list ul li .avatar{margin-left:15px}.groups-manage-members-list ul li .action{clear:both;float:right}}.buddypress .bp-invites-content ul.item-list{border-top:0}.buddypress .bp-invites-content ul.item-list li{border:1px solid #eaeaea;margin:0 0 1%;padding-right:5px;padding-left:5px;position:relative;width:auto}.buddypress .bp-invites-content ul.item-list li .list-title{margin:0 auto;width:80%}.buddypress .bp-invites-content ul.item-list li .action{position:absolute;top:10px;left:10px}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button{border:0}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:focus,.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:hover{color:#1fb3dd}.buddypress .bp-invites-content ul.item-list li.selected{-webkit-box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2);-moz-box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2);box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2)}.buddypress .bp-invites-content .group-inviters li,.buddypress .bp-invites-content .item-list .item-meta span{color:#767676}.buddypress .bp-invites-content li ul.group-inviters{clear:both;margin:0;overflow:hidden}.buddypress .bp-invites-content li ul.group-inviters li{border:0;float:right;font-size:20px;width:inherit}.buddypress .bp-invites-content li .status{font-size:20px;font-style:italic;clear:both;color:#555;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor ul:after,.buddypress .bp-invites-content #send-invites-editor ul:before{content:" ";display:table}.buddypress .bp-invites-content #send-invites-editor ul:after{clear:both}.buddypress .bp-invites-content #send-invites-editor textarea{width:100%}.buddypress .bp-invites-content #send-invites-editor ul{clear:both;list-style:none;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor ul li{float:right;margin:.5%;max-height:50px;max-width:50px}.buddypress .bp-invites-content #send-invites-editor #bp-send-invites-form{clear:both;margin-top:10px}.buddypress .bp-invites-content #send-invites-editor .action{margin-top:10px;padding-top:10px}.buddypress .bp-invites-content #send-invites-editor.bp-hide{display:none}@media screen and (min-width:46.8em){.buddypress .bp-invites-content ul.item-list>li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #eaeaea;float:right;padding-right:.5em;padding-left:.5em;width:49.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(odd){margin-left:.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(even){margin-right:.5%}.buddypress .bp-invites-content ul.item-list ul.group-inviters{float:right;width:auto}}@media screen and (min-width:46.8em){:not(.vertical)+.item-body #group-invites-container{display:-ms-grid;display:grid;-ms-grid-columns:25% auto;grid-template-columns:25% auto;grid-template-areas:"group-invites-nav group-invites-column"}:not(.vertical)+.item-body #group-invites-container .bp-invites-nav{-ms-grid-row:1;-ms-grid-column:1;grid-area:group-invites-nav}:not(.vertical)+.item-body #group-invites-container .bp-invites-nav li{display:block;float:none}:not(.vertical)+.item-body #group-invites-container .group-invites-column{-ms-grid-row:1;-ms-grid-column:2;grid-area:group-invites-column}}.buddypress.groups .activity-update-form{margin-top:0}.buddypress-wrap .profile{margin-top:30px}.buddypress-wrap .public .profile-fields td.label{width:30%}.buddypress-wrap .profile.edit .button-nav{list-style:none;margin:30px 0 10px}.buddypress-wrap .profile.edit .button-nav li{display:inline-block;margin-left:10px}.buddypress-wrap .profile.edit .button-nav li a{font-size:18px}.buddypress-wrap .profile.edit .editfield{background:#fafafa;border:1px solid #eee;margin:15px 0;padding:1em}.buddypress-wrap .profile.edit .editfield fieldset{border:0}.buddypress-wrap .profile.edit .editfield fieldset label{font-weight:400}.buddypress-wrap .profile.edit .editfield fieldset label.xprofile-field-label{display:inline}.buddypress-wrap .profile.edit .editfield{display:flex;flex-direction:column}.buddypress-wrap .profile.edit .editfield .description{margin-top:10px;order:2}.buddypress-wrap .profile.edit .editfield>fieldset{order:1}.buddypress-wrap .profile.edit .editfield .field-visibility-settings,.buddypress-wrap .profile.edit .editfield .field-visibility-settings-toggle{order:3}body.no-js .buddypress-wrap .field-visibility-settings-close,body.no-js .buddypress-wrap .field-visibility-settings-toggle{display:none}body.no-js .buddypress-wrap .field-visibility-settings{display:block}.buddypress-wrap .field-visibility-settings{margin:10px 0}.buddypress-wrap .current-visibility-level{font-style:normal;font-weight:700}.buddypress-wrap .field-visibility-settings,.buddypress-wrap .field-visibility-settings-header{color:#737373}.buddypress-wrap .field-visibility-settings fieldset{margin:5px 0}.buddypress-wrap .standard-form .editfield fieldset{margin:0}.buddypress-wrap .standard-form .field-visibility-settings label{font-weight:400;margin:0}.buddypress-wrap .standard-form .field-visibility-settings .radio{list-style:none;margin-bottom:0}.buddypress-wrap .standard-form .field-visibility-settings .field-visibility-settings-close{font-size:12px}.buddypress-wrap .standard-form .wp-editor-container{border:1px solid #dedede}.buddypress-wrap .standard-form .wp-editor-container textarea{background:#fff;width:100%}.buddypress-wrap .standard-form .description{background:#fafafa;font-size:inherit}.buddypress-wrap .standard-form .field-visibility-settings legend,.buddypress-wrap .standard-form .field-visibility-settings-header{font-style:italic}.buddypress-wrap .standard-form .field-visibility-settings-header{font-size:14px}.buddypress-wrap .standard-form .field-visibility-settings label,.buddypress-wrap .standard-form .field-visibility-settings legend{font-size:14px}.buddypress-wrap .standard-form .field-visibility select{margin:0}.buddypress-wrap .html-active button.switch-html{background:#f5f5f5;border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0}.buddypress-wrap .tmce-active button.switch-tmce{background:#f5f5f5;border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0}.buddypress-wrap .profile.public .profile-group-title{border-bottom:1px solid #ccc}body.register .buddypress-wrap .page ul{list-style:none}.buddypress-wrap .profile .bp-avatar-nav{margin-top:20px}.message-action-delete:before,.message-action-star:before,.message-action-unstar:before,.message-action-view:before{font-family:dashicons;font-size:18px}.message-action-star:before{color:#aaa;content:"\f154"}.message-action-unstar:before{color:#fcdd77;content:"\f155"}.message-action-view:before{content:"\f473"}.message-action-delete:before{content:"\f153"}.message-action-delete:hover:before{color:#a00}.preview-content .actions a{text-decoration:none}.bp-messages-content{margin:15px 0}.bp-messages-content .avatar{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.bp-messages-content .thread-participants{list-style:none}.bp-messages-content .thread-participants dd{margin-right:0}.bp-messages-content time{color:#737373;font-size:12px}#message-threads{border-top:1px solid #eaeaea;clear:both;list-style:none;margin:0;max-height:220px;overflow-x:hidden;overflow-y:auto;padding:0;width:100%}#message-threads li{border-bottom:1px solid #eaeaea;display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row nowrap;-moz-flex-flow:row nowrap;-ms-flex-flow:row nowrap;-o-flex-flow:row nowrap;flex-flow:row nowrap;margin:0;overflow:hidden;padding:.5em 0}#message-threads li .thread-cb{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center;-webkit-flex:1 2 5%;-moz-flex:1 2 5%;-ms-flex:1 2 5%;-o-flex:1 2 5%;flex:1 2 5%}#message-threads li .thread-from,#message-threads li .thread-to{-webkit-flex:1 2 20%;-moz-flex:1 2 20%;-ms-flex:1 2 20%;-o-flex:1 2 20%;flex:1 2 20%}#message-threads li .thread-from img.avatar,#message-threads li .thread-to img.avatar{float:right;margin:0 0 0 10px}#message-threads li .thread-from .user-name,#message-threads li .thread-to .user-name{display:inline-block;line-height:1.1}#message-threads li .thread-from .num-recipients,#message-threads li .thread-to .num-recipients{color:#737373;font-weight:400;font-size:12px;margin:0}#message-threads li .thread-content{-webkit-flex:1 2 60%;-moz-flex:1 2 60%;-ms-flex:1 2 60%;-o-flex:1 2 60%;flex:1 2 60%}#message-threads li .thread-date{-webkit-flex:1 2 15%;-moz-flex:1 2 15%;-ms-flex:1 2 15%;-o-flex:1 2 15%;flex:1 2 15%}#message-threads li.selected{background-color:#fafafa}#message-threads li.selected .thread-subject .subject{color:#5087e5}#message-threads li.unread{font-weight:700}#message-threads li .thread-content .excerpt{color:#737373;font-size:12px;margin:0}#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject,#message-threads li .thread-content .thread-to{font-size:13px}@media screen and (min-width:46.8em){#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject,#message-threads li .thread-content .thread-to{font-size:16px}}#message-threads li .thread-content .thread-subject{vertical-align:top}#message-threads li .thread-content .thread-subject .excerpt{font-weight:400}#message-threads li .thread-date{padding-left:5px;text-align:left}.bp-messages-content .actions{float:left;max-width:30%}.bp-messages-content .actions .bp-icons:not(.bp-hide){display:inline-block;margin:0;padding:.3em .5em}.bp-messages-content .actions .bp-icons:not(.bp-hide):before{font-size:26px}.bp-messages-content #thread-preview{border:1px solid #eaeaea;margin-top:20px}.bp-messages-content #thread-preview .preview-message{overflow:hidden}.bp-messages-content #thread-preview .preview-content{margin:.5em}.bp-messages-content #thread-preview .preview-content .preview-message{background:#fafafa;margin:10px 0;padding:1em .3em .3em}.bp-messages-content #bp-message-thread-list{border-top:1px solid #eaeaea;clear:both;list-style:none;padding:1em 0 .3em}.bp-messages-content #bp-message-thread-list li{padding:.5em}.bp-messages-content #bp-message-thread-list li:nth-child(2n) .message-content{background:#fafafa}.bp-messages-content #bp-message-thread-list .message-metadata{border-bottom:1px solid #ccc;-webkit-box-shadow:2px 1px 9px 0 #eee;-moz-box-shadow:2px 1px 9px 0 #eee;box-shadow:2px 1px 9px 0 #eee;display:table;padding:.2em;width:100%}.bp-messages-content #bp-message-thread-list .message-metadata .avatar{width:30px}.bp-messages-content #bp-message-thread-list .message-metadata .user-link{display:block;font-size:13px;float:right}@media screen and (min-width:46.8em){.bp-messages-content #bp-message-thread-list .message-metadata .user-link{font-size:16px}}.bp-messages-content #bp-message-thread-list .message-metadata time{color:#737373;font-size:12px;padding:0 .5em}.bp-messages-content #bp-message-thread-list .message-metadata button{padding:0 .3em}.bp-messages-content #bp-message-thread-list .message-metadata button:before{font-size:20px}.bp-messages-content #bp-message-thread-list .message-content{overflow:hidden;margin:1em auto 0;width:90%}.bp-messages-content #bp-message-thread-list img.avatar{float:right;margin:0 0 0 10px}.bp-messages-content #bp-message-thread-list .actions a:before{font-size:18px}.bp-messages-content form.send-reply .avatar-box{padding:.5em 0}.bp-messages-content .preview-pane-header,.bp-messages-content .single-message-thread-header{border-bottom:1px solid #eaeaea}.bp-messages-content .preview-pane-header:after,.bp-messages-content .single-message-thread-header:after{clear:both;content:"";display:table}.bp-messages-content .preview-thread-title,.bp-messages-content .single-thread-title{font-size:16px}.bp-messages-content .preview-thread-title .messages-title,.bp-messages-content .single-thread-title .messages-title{padding-right:2em}.bp-messages-content .thread-participants{float:right;margin:5px 0;width:70%}.bp-messages-content .thread-participants dd,.bp-messages-content .thread-participants ul{margin-bottom:10px}.bp-messages-content .thread-participants ul{list-style:none}.bp-messages-content .thread-participants ul:after{clear:both;content:"";display:table}.bp-messages-content .thread-participants li{float:right;margin-right:5px}.bp-messages-content .thread-participants img{width:30px}.bp-messages-content #bp-message-thread-list li .message-content blockquote,.bp-messages-content #bp-message-thread-list li .message-content ol,.bp-messages-content #bp-message-thread-list li .message-content ul,.bp-messages-content #thread-preview .preview-message blockquote,.bp-messages-content #thread-preview .preview-message ol,.bp-messages-content #thread-preview .preview-message ul{list-style-position:inside;margin-right:0}.bp-messages-content #thread-preview:empty,.bp-messages-content ul#message-threads:empty{display:none}.bp-messages-content #bp-message-thread-header h2:first-child,.bp-messages-content #thread-preview h2:first-child{background-color:#eaeaea;color:#555;font-weight:700;margin:0;padding:.5em}.bp-messages-content #bp-message-thread-list li a.user-link,.bp-messages-content #message-threads .thread-content a{border:0;text-decoration:none}.bp-messages-content .standard-form #subject{margin-bottom:20px}div.bp-navs#subsubnav.bp-messages-filters .user-messages-bulk-actions{margin-left:15px;max-width:42.5%}.buddypress.settings .profile-settings.bp-tables-user select{width:100%}.buddypress-wrap #whats-new-post-in-box select,.buddypress-wrap .filter select{border:1px solid #d6d6d6}.buddypress-wrap input.action[disabled]{cursor:pointer;opacity:.4}.buddypress-wrap #notification-bulk-manage[disabled]{display:none}.buddypress-wrap fieldset legend{font-size:inherit;font-weight:600}.buddypress-wrap input[type=email]:focus,.buddypress-wrap input[type=password]:focus,.buddypress-wrap input[type=tel]:focus,.buddypress-wrap input[type=text]:focus,.buddypress-wrap input[type=url]:focus,.buddypress-wrap textarea:focus{-webkit-box-shadow:0 0 8px #eaeaea;-moz-box-shadow:0 0 8px #eaeaea;box-shadow:0 0 8px #eaeaea}.buddypress-wrap select{height:auto}.buddypress-wrap textarea{resize:vertical}.buddypress-wrap .standard-form .bp-controls-wrap{margin:1em 0}.buddypress-wrap .standard-form .groups-members-search input[type=search],.buddypress-wrap .standard-form .groups-members-search input[type=text],.buddypress-wrap .standard-form [data-bp-search] input[type=search],.buddypress-wrap .standard-form [data-bp-search] input[type=text],.buddypress-wrap .standard-form input[type=color],.buddypress-wrap .standard-form input[type=date],.buddypress-wrap .standard-form input[type=datetime-local],.buddypress-wrap .standard-form input[type=datetime],.buddypress-wrap .standard-form input[type=email],.buddypress-wrap .standard-form input[type=month],.buddypress-wrap .standard-form input[type=number],.buddypress-wrap .standard-form input[type=password],.buddypress-wrap .standard-form input[type=range],.buddypress-wrap .standard-form input[type=search],.buddypress-wrap .standard-form input[type=tel],.buddypress-wrap .standard-form input[type=text],.buddypress-wrap .standard-form input[type=time],.buddypress-wrap .standard-form input[type=url],.buddypress-wrap .standard-form input[type=week],.buddypress-wrap .standard-form select,.buddypress-wrap .standard-form textarea{background:#fafafa;border:1px solid #d6d6d6;border-radius:0;font:inherit;font-size:100%;padding:.5em}.buddypress-wrap .standard-form input[required],.buddypress-wrap .standard-form select[required],.buddypress-wrap .standard-form textarea[required]{box-shadow:none;border-width:2px;outline:0}.buddypress-wrap .standard-form input[required]:invalid,.buddypress-wrap .standard-form select[required]:invalid,.buddypress-wrap .standard-form textarea[required]:invalid{border-color:#b71717}.buddypress-wrap .standard-form input[required]:valid,.buddypress-wrap .standard-form select[required]:valid,.buddypress-wrap .standard-form textarea[required]:valid{border-color:#91cc2c}.buddypress-wrap .standard-form input[required]:focus,.buddypress-wrap .standard-form select[required]:focus,.buddypress-wrap .standard-form textarea[required]:focus{border-color:#d6d6d6;border-width:1px}.buddypress-wrap .standard-form input.invalid[required],.buddypress-wrap .standard-form select.invalid[required],.buddypress-wrap .standard-form textarea.invalid[required]{border-color:#b71717}.buddypress-wrap .standard-form input:not(.button-small),.buddypress-wrap .standard-form textarea{width:100%}.buddypress-wrap .standard-form input[type=checkbox],.buddypress-wrap .standard-form input[type=radio]{margin-left:5px;width:auto}.buddypress-wrap .standard-form select{padding:3px}.buddypress-wrap .standard-form textarea{height:120px}.buddypress-wrap .standard-form textarea#message_content{height:200px}.buddypress-wrap .standard-form input[type=password]{margin-bottom:5px}.buddypress-wrap .standard-form input:focus,.buddypress-wrap .standard-form select:focus,.buddypress-wrap .standard-form textarea:focus{background:#fafafa;color:#555;outline:0}.buddypress-wrap .standard-form label,.buddypress-wrap .standard-form span.label{display:block;font-weight:600;margin:15px 0 5px;width:auto}.buddypress-wrap .standard-form a.clear-value{display:block;margin-top:5px;outline:0}.buddypress-wrap .standard-form .submit{clear:both;padding:15px 0 0}.buddypress-wrap .standard-form p.submit{margin-bottom:0}.buddypress-wrap .standard-form div.submit input{margin-left:15px}.buddypress-wrap .standard-form #invite-list label,.buddypress-wrap .standard-form p label{font-weight:400;margin:auto}.buddypress-wrap .standard-form p.description{color:#737373;margin:5px 0}.buddypress-wrap .standard-form div.checkbox label:nth-child(n+2),.buddypress-wrap .standard-form div.radio div label{color:#737373;font-size:100%;font-weight:400;margin:5px 0 0}.buddypress-wrap .standard-form#send-reply textarea{width:97.5%}.buddypress-wrap .standard-form#sidebar-login-form label{margin-top:5px}.buddypress-wrap .standard-form#sidebar-login-form input[type=password],.buddypress-wrap .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}.buddypress-wrap .standard-form.profile-edit input:focus{background:#fff}@media screen and (min-width:46.8em){.buddypress-wrap .standard-form .left-menu{float:right}.buddypress-wrap .standard-form #invite-list ul{list-style:none;margin:1%}.buddypress-wrap .standard-form #invite-list ul li{margin:0 1% 0 0}.buddypress-wrap .standard-form .main-column{margin-right:190px}.buddypress-wrap .standard-form .main-column ul#friend-list{clear:none;float:right}.buddypress-wrap .standard-form .main-column ul#friend-list h4{clear:none}}.buddypress-wrap .standard-form .bp-tables-user label{margin:0}.buddypress-wrap .signup-form label,.buddypress-wrap .signup-form legend{font-weight:400}body.no-js .buddypress #delete_inbox_messages,body.no-js .buddypress #delete_sentbox_messages,body.no-js .buddypress #message-type-select,body.no-js .buddypress #messages-bulk-management #select-all-messages,body.no-js .buddypress #notifications-bulk-management #select-all-notifications,body.no-js .buddypress label[for=message-type-select]{display:none}.buddypress-wrap .wp-editor-wrap .wp-editor-wrap button,.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=button],.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=submit],.buddypress-wrap .wp-editor-wrap a.button,.buddypress-wrap .wp-editor-wrap input[type=reset]{padding:0 8px 1px}.buddypress-wrap .select-wrap{border:1px solid #eee}.buddypress-wrap .select-wrap label{display:inline}.buddypress-wrap .select-wrap select::-ms-expand{display:none}.buddypress-wrap .select-wrap select{-moz-appearance:none;-webkit-appearance:none;-o-appearance:none;appearance:none;border:0;cursor:pointer;margin-left:-25px;padding:6px 10px 6px 25px;position:relative;text-indent:-2px;z-index:1;width:100%}.buddypress-wrap .select-wrap select,.buddypress-wrap .select-wrap select:active,.buddypress-wrap .select-wrap select:focus{background:0 0}.buddypress-wrap .select-wrap span.select-arrow{display:inline-block;position:relative;z-index:0}.buddypress-wrap .select-wrap span.select-arrow:before{color:#ccc;content:"\25BC"}.buddypress-wrap .select-wrap:focus .select-arrow:before,.buddypress-wrap .select-wrap:hover .select-arrow:before{color:#a6a6a6}.buddypress-wrap .bp-search form:focus,.buddypress-wrap .bp-search form:hover,.buddypress-wrap .select-wrap:focus,.buddypress-wrap .select-wrap:hover{border:1px solid #d5d4d4;box-shadow:inset 0 0 3px #eee}@media screen and (min-width:32em){.buddypress-wrap .notifications-options-nav .select-wrap{float:right}}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after,.buddypress-wrap .bp-messages-search-form:before{content:" ";display:table}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after{clear:both}.buddypress-wrap form.bp-dir-search-form,.buddypress-wrap form.bp-invites-search-form,.buddypress-wrap form.bp-messages-search-form{border:1px solid #eee;width:100%}@media screen and (min-width:55em){.buddypress-wrap form.bp-dir-search-form,.buddypress-wrap form.bp-invites-search-form,.buddypress-wrap form.bp-messages-search-form{width:15em}}.buddypress-wrap form.bp-dir-search-form label,.buddypress-wrap form.bp-invites-search-form label,.buddypress-wrap form.bp-messages-search-form label{margin:0}.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-invites-search-form button[type=submit],.buddypress-wrap form.bp-invites-search-form input[type=search],.buddypress-wrap form.bp-invites-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text]{background:0 0;border:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;background-clip:padding-box}.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-invites-search-form input[type=search],.buddypress-wrap form.bp-invites-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text]{float:right;line-height:1.5;padding:3px 10px;width:80%}.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-invites-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form button[type=submit]{float:left;font-size:inherit;font-weight:400;line-height:1.5;padding:3px .7em;text-align:center;text-transform:none;width:20%}.buddypress-wrap form.bp-dir-search-form button[type=submit] span,.buddypress-wrap form.bp-invites-search-form button[type=submit] span,.buddypress-wrap form.bp-messages-search-form button[type=submit] span{font-family:dashicons;font-size:18px;line-height:1.6}.buddypress-wrap form.bp-dir-search-form button[type=submit].bp-show,.buddypress-wrap form.bp-invites-search-form button[type=submit].bp-show,.buddypress-wrap form.bp-messages-search-form button[type=submit].bp-show{height:auto;right:0;overflow:visible;position:static;top:0}.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-invites-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-cancel-button{-webkit-appearance:searchfield-cancel-button}.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-invites-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-invites-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-decoration{display:none}.buddypress-wrap ul.filters li form label input{line-height:1.4;padding:.1em .7em}.buddypress-wrap .current-member-type{font-style:italic}.buddypress-wrap .dir-form{clear:both}.budypress.no-js form.bp-dir-search-form button[type=submit]{height:auto;right:0;overflow:visible;position:static;top:0}.bp-user [data-bp-search] form input[type=search],.bp-user [data-bp-search] form input[type=text]{padding:6px 10px 7px}.buddypress-wrap .bp-tables-user,.buddypress-wrap table.forum,.buddypress-wrap table.wp-profile-fields{width:100%}.buddypress-wrap .bp-tables-user thead tr,.buddypress-wrap table.forum thead tr,.buddypress-wrap table.wp-profile-fields thead tr{background:0 0;border-bottom:2px solid #ccc}.buddypress-wrap .bp-tables-user tbody tr,.buddypress-wrap table.forum tbody tr,.buddypress-wrap table.wp-profile-fields tbody tr{background:#fafafa}.buddypress-wrap .bp-tables-user tr td,.buddypress-wrap .bp-tables-user tr th,.buddypress-wrap table.forum tr td,.buddypress-wrap table.forum tr th,.buddypress-wrap table.wp-profile-fields tr td,.buddypress-wrap table.wp-profile-fields tr th{padding:.5em;vertical-align:middle}.buddypress-wrap .bp-tables-user tr td.label,.buddypress-wrap table.forum tr td.label,.buddypress-wrap table.wp-profile-fields tr td.label{border-left:1px solid #eaeaea;font-weight:600;width:25%}.buddypress-wrap .bp-tables-user tr.alt td,.buddypress-wrap table.wp-profile-fields tr.alt td{background:#fafafa}.buddypress-wrap table.profile-fields .data{padding:.5em 1em}.buddypress-wrap table.profile-fields tr:last-child{border-bottom:none}.buddypress-wrap table.notifications td{padding:1em .5em}.buddypress-wrap table.notifications .bulk-select-all,.buddypress-wrap table.notifications .bulk-select-check{width:7%}.buddypress-wrap table.notifications .bulk-select-check{vertical-align:middle}.buddypress-wrap table.notifications .date,.buddypress-wrap table.notifications .notification-description,.buddypress-wrap table.notifications .notification-since,.buddypress-wrap table.notifications .title{width:39%}.buddypress-wrap table.notifications .actions,.buddypress-wrap table.notifications .notification-actions{width:15%}.buddypress-wrap table.notification-settings th.title,.buddypress-wrap table.profile-settings th.title{width:80%}.buddypress-wrap table.notifications .notification-actions a.delete,.buddypress-wrap table.notifications .notification-actions a.mark-read{display:inline-block}.buddypress-wrap table.notification-settings{margin-bottom:15px;text-align:right}.buddypress-wrap #groups-notification-settings{margin-bottom:0}.buddypress-wrap table.notification-settings td:first-child,.buddypress-wrap table.notification-settings th.icon,.buddypress-wrap table.notifications td:first-child,.buddypress-wrap table.notifications th.icon{display:none}.buddypress-wrap table.notification-settings .no,.buddypress-wrap table.notification-settings .yes{text-align:center;width:40px;vertical-align:middle}.buddypress-wrap table#message-threads{clear:both}.buddypress-wrap table#message-threads .thread-info{min-width:40%}.buddypress-wrap table#message-threads .thread-info p{margin:0}.buddypress-wrap table#message-threads .thread-info p.thread-excerpt{color:#737373;font-size:12px;margin-top:3px}.buddypress-wrap table.profile-fields{margin-bottom:20px}.buddypress-wrap table.profile-fields:last-child{margin-bottom:0}.buddypress-wrap table.profile-fields p{margin:0}.buddypress-wrap table.profile-fields p:last-child{margin-top:0}.bp-screen-reader-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.center-vert{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center}.bp-hide{display:none}.bp-show{height:auto;right:0;overflow:visible;position:static;top:0}.buddypress .buddypress-wrap .activity-read-more a,.buddypress .buddypress-wrap .comment-reply-link,.buddypress .buddypress-wrap .generic-button a,.buddypress .buddypress-wrap a.bp-title-button,.buddypress .buddypress-wrap a.button,.buddypress .buddypress-wrap button,.buddypress .buddypress-wrap input[type=button],.buddypress .buddypress-wrap input[type=reset],.buddypress .buddypress-wrap input[type=submit],.buddypress .buddypress-wrap ul.button-nav:not(.button-tabs) li a{background:#fff;border-color:#ccc;border-style:solid;border-width:1px;color:#555;cursor:pointer;font-size:inherit;font-weight:400;outline:0;padding:.3em .5em;text-align:center;text-decoration:none;width:auto}.buddypress .buddypress-wrap .button-small[type=button]{padding:0 8px 1px}.buddypress .buddypress-wrap .activity-read-more a:focus,.buddypress .buddypress-wrap .activity-read-more a:hover,.buddypress .buddypress-wrap .button-nav li a:focus,.buddypress .buddypress-wrap .button-nav li a:hover,.buddypress .buddypress-wrap .button-nav li.current a,.buddypress .buddypress-wrap .comment-reply-link:focus,.buddypress .buddypress-wrap .comment-reply-link:hover,.buddypress .buddypress-wrap .generic-button a:focus,.buddypress .buddypress-wrap .generic-button a:hover,.buddypress .buddypress-wrap a.button:focus,.buddypress .buddypress-wrap a.button:hover,.buddypress .buddypress-wrap button:focus,.buddypress .buddypress-wrap button:hover,.buddypress .buddypress-wrap input[type=button]:focus,.buddypress .buddypress-wrap input[type=button]:hover,.buddypress .buddypress-wrap input[type=reset]:focus,.buddypress .buddypress-wrap input[type=reset]:hover,.buddypress .buddypress-wrap input[type=submit]:focus,.buddypress .buddypress-wrap input[type=submit]:hover{background:#ededed;border-color:#999;color:#333;outline:0;text-decoration:none}.buddypress .buddypress-wrap a.disabled,.buddypress .buddypress-wrap button.disabled,.buddypress .buddypress-wrap button.pending,.buddypress .buddypress-wrap div.pending a,.buddypress .buddypress-wrap input[type=button].disabled,.buddypress .buddypress-wrap input[type=button].pending,.buddypress .buddypress-wrap input[type=reset].disabled,.buddypress .buddypress-wrap input[type=reset].pending,.buddypress .buddypress-wrap input[type=submit].pending,.buddypress .buddypress-wrap input[type=submit][disabled=disabled]{border-color:#eee;color:#767676;cursor:default}.buddypress .buddypress-wrap a.disabled:hover,.buddypress .buddypress-wrap button.disabled:hover,.buddypress .buddypress-wrap button.pending:hover,.buddypress .buddypress-wrap div.pending a:hover,.buddypress .buddypress-wrap input[type=button]:hover.disabled,.buddypress .buddypress-wrap input[type=button]:hover.pending,.buddypress .buddypress-wrap input[type=reset]:hover.disabled,.buddypress .buddypress-wrap input[type=reset]:hover.pending,.buddypress .buddypress-wrap input[type=submit]:hover.disabled,.buddypress .buddypress-wrap input[type=submit]:hover.pending{border-color:#eee;color:#767676}.buddypress .buddypress-wrap button.text-button,.buddypress .buddypress-wrap input.text-button{background:0 0;border:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;color:#767676}.buddypress .buddypress-wrap button.text-button.small,.buddypress .buddypress-wrap input.text-button.small{font-size:13px}.buddypress .buddypress-wrap button.text-button:focus,.buddypress .buddypress-wrap button.text-button:hover,.buddypress .buddypress-wrap input.text-button:focus,.buddypress .buddypress-wrap input.text-button:hover{background:0 0;text-decoration:underline}.buddypress .buddypress-wrap .activity-list a.button{border:none}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover{color:#1fb3dd}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.invite-button:hover{color:#a00}.buddypress .buddypress-wrap #item-buttons:empty{display:none}.buddypress .buddypress-wrap input:disabled:focus,.buddypress .buddypress-wrap input:disabled:hover{background:0 0}.buddypress .buddypress-wrap .text-links-list a.button{background:0 0;border:none;border-left:1px solid #eee;color:#737373;display:inline-block;padding:.3em 1em}.buddypress .buddypress-wrap .text-links-list a.button:visited{color:#d6d6d6}.buddypress .buddypress-wrap .text-links-list a.button:focus,.buddypress .buddypress-wrap .text-links-list a.button:hover{color:#5087e5}.buddypress .buddypress-wrap .text-links-list a:first-child{padding-right:0}.buddypress .buddypress-wrap .text-links-list a:last-child{border-left:none}.buddypress .buddypress-wrap .bp-list.grid .action a,.buddypress .buddypress-wrap .bp-list.grid .action button{border:1px solid #ccc;display:block;margin:0}.buddypress .buddypress-wrap .bp-list.grid .action a:focus,.buddypress .buddypress-wrap .bp-list.grid .action a:hover,.buddypress .buddypress-wrap .bp-list.grid .action button:focus,.buddypress .buddypress-wrap .bp-list.grid .action button:hover{background:#ededed}.buddypress #buddypress .create-button{background:0 0;text-align:center}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{text-decoration:underline}@media screen and (min-width:46.8em){.buddypress #buddypress .create-button{float:left}}.buddypress #buddypress .create-button a{border:1px solid #ccc;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;border-radius:5px;background-clip:padding-box;-webkit-box-shadow:inset 0 0 6px 0 #eaeaea;-moz-box-shadow:inset 0 0 6px 0 #eaeaea;box-shadow:inset 0 0 6px 0 #eaeaea;margin:.2em 0;width:auto}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{background:0 0;border-color:#ccc;-webkit-box-shadow:inset 0 0 12px 0 #eaeaea;-moz-box-shadow:inset 0 0 12px 0 #eaeaea;box-shadow:inset 0 0 12px 0 #eaeaea}@media screen and (min-width:46.8em){.buddypress #buddypress.bp-dir-vert-nav .create-button{float:none;padding-top:2em}.buddypress #buddypress.bp-dir-vert-nav .create-button a{margin-left:.5em}}.buddypress #buddypress.bp-dir-hori-nav .create-button{float:right}.buddypress #buddypress.bp-dir-hori-nav .create-button a,.buddypress #buddypress.bp-dir-hori-nav .create-button a:hover{background:0 0;border:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;margin:0}.buddypress-wrap button.ac-reply-cancel,.buddypress-wrap button.bp-icons{background:0 0;border:0}.buddypress-wrap button.bp-icons:focus,.buddypress-wrap button.bp-icons:hover{background:0 0}.buddypress-wrap button.ac-reply-cancel:focus,.buddypress-wrap button.ac-reply-cancel:hover{background:0 0;text-decoration:underline}.buddypress-wrap .bp-invites-content li .invite-button span.icons:before,.buddypress-wrap .bp-invites-filters .invite-button span.icons:before,.buddypress-wrap .bp-messages-filters li a.messages-button:before,.buddypress-wrap .feed a:before,.buddypress-wrap .filter label:before{font-family:dashicons;font-size:18px}.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:27px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:32px}}.buddypress-wrap .bp-list a.button.invite-button:focus,.buddypress-wrap .bp-list a.button.invite-button:hover{background:0 0}.buddypress-wrap .filter label:before{content:"\f536"}.buddypress-wrap div.feed a:before,.buddypress-wrap li.feed a:before{content:"\f303"}.buddypress-wrap ul.item-list li .invite-button:not(.group-remove-invite-button) span.icons:before{content:"\f502"}.buddypress-wrap ul.item-list li .group-remove-invite-button span.icons:before,.buddypress-wrap ul.item-list li.selected .invite-button span.icons:before{content:"\f153"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-next-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-next-page:before{content:"\f345"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-prev-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-prev-page:before{content:"\f341"}.buddypress-wrap .warn{color:#b71717}.buddypress-wrap .bp-messages{border:1px solid #ccc;margin:0 0 15px}.buddypress-wrap .bp-messages .sitewide-notices{display:block;margin:5px;padding:.5em}.buddypress-wrap .bp-messages.info{margin-bottom:0}.buddypress-wrap .bp-messages.updated{clear:both;display:block}.buddypress-wrap .bp-messages.bp-user-messages-feedback{border:0}.buddypress-wrap #group-create-body .bp-cover-image-status p.warning{background:#0b80a4;border:0;-webkit-box-shadow:0 0 3px 0 rgba(0,0,0,.2);-moz-box-shadow:0 0 3px 0 rgba(0,0,0,.2);box-shadow:0 0 3px 0 rgba(0,0,0,.2);color:#fff}.buddypress-wrap .bp-feedback:not(.custom-homepage-info){display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row nowrap;-moz-flex-flow:row nowrap;-ms-flex-flow:row nowrap;-o-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-align:stretch;-webkit-align-items:stretch;-webkit-box-align:stretch;align-items:stretch}.buddypress-wrap .bp-feedback{background:#fff;color:#807f7f;-webkit-box-shadow:0 1px 1px 1px rgba(0,0,0,.1);-moz-box-shadow:0 1px 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px 1px rgba(0,0,0,.1);color:#737373;margin:10px 0;position:relative}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback span.bp-icon{color:#fff;display:block;font-family:dashicons;right:0;margin-left:10px;position:relative;padding:0 .5em}.buddypress-wrap .bp-feedback .bp-help-text{font-style:italic}.buddypress-wrap .bp-feedback .text{font-size:14px;margin:0;padding:.5em 0}.buddypress-wrap .bp-feedback.no-icon{padding:.5em}.buddypress-wrap .bp-feedback.small:before{line-height:inherit}.buddypress-wrap a[data-bp-close] span:before,.buddypress-wrap button[data-bp-close] span:before{font-size:32px}.buddypress-wrap a[data-bp-close],.buddypress-wrap button[data-bp-close]{border:0;position:absolute;top:10px;left:10px;width:32px}.buddypress-wrap .bp-feedback.no-icon a[data-bp-close],.buddypress-wrap .bp-feedback.no-icon button[data-bp-close]{top:-6px;left:6px}.buddypress-wrap button[data-bp-close]:hover{background-color:transparent}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback .bp-icon{font-size:20px;padding:0 2px}.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon,.buddypress-wrap .bp-feedback.loading .bp-icon,.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.updated .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center}.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon{background-color:#0b80a4}.buddypress-wrap .bp-feedback.help .bp-icon:before,.buddypress-wrap .bp-feedback.info .bp-icon:before{content:"\f348"}.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{background-color:#d33}.buddypress-wrap .bp-feedback.error .bp-icon:before,.buddypress-wrap .bp-feedback.warning .bp-icon:before{content:"\f534"}.buddypress-wrap .bp-feedback.loading .bp-icon{background-color:#ffd087}.buddypress-wrap .bp-feedback.loading .bp-icon:before{content:"\f469"}.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.updated .bp-icon{background-color:#8a2}.buddypress-wrap .bp-feedback.success .bp-icon:before,.buddypress-wrap .bp-feedback.updated .bp-icon:before{content:"\f147"}.buddypress-wrap .bp-feedback.help .bp-icon:before{content:"\f468"}.buddypress-wrap #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;font-weight:700;margin:10px 0 10px 0;padding:.5em;text-align:center;width:auto}.buddypress-wrap #pass-strength-result.show{display:block}.buddypress-wrap #pass-strength-result.mismatch{background-color:#333;border-color:transparent;color:#fff}.buddypress-wrap #pass-strength-result.bad,.buddypress-wrap #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c;color:#fff}.buddypress-wrap #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040;color:#fff}.buddypress-wrap #pass-strength-result.strong{background-color:#66d66e;border-color:#438c48;color:#fff}.buddypress-wrap .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px 0;padding:.5em;width:90%}.buddypress-wrap .accept,.buddypress-wrap .reject{float:right;margin-right:10px}.buddypress-wrap .members-list.grid .bp-ajax-message{background:rgba(255,255,255,.9);border:1px solid #eee;font-size:14px;right:2%;position:absolute;padding:.5em 1em;left:2%;top:30px}.buddypress.widget .item-options{font-size:14px}.buddypress.widget ul.item-list{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:column nowrap;-moz-flex-flow:column nowrap;-ms-flex-flow:column nowrap;-o-flex-flow:column nowrap;flex-flow:column nowrap;list-style:none;margin:10px -2%;overflow:hidden}@media screen and (min-width:32em){.buddypress.widget ul.item-list{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row wrap;-moz-flex-flow:row wrap;-ms-flex-flow:row wrap;-o-flex-flow:row wrap;flex-flow:row wrap}}.buddypress.widget ul.item-list li{border:1px solid #eee;-ms-flex-align:stretch;-webkit-align-items:stretch;-webkit-box-align:stretch;align-items:stretch;-webkit-flex:1 1 46%;-moz-flex:1 1 46%;-ms-flex:1 1 46%;-o-flex:1 1 46%;flex:1 1 46%;margin:2%}@media screen and (min-width:75em){.buddypress.widget ul.item-list li{-webkit-flex:0 1 20%;-moz-flex:0 1 20%;-ms-flex:0 1 20%;-o-flex:0 1 20%;flex:0 1 20%}}.buddypress.widget ul.item-list li .item-avatar{padding:.5em;text-align:center}.buddypress.widget ul.item-list li .item-avatar .avatar{width:60%}.buddypress.widget ul.item-list li .item{padding:0 .5em .5em}.buddypress.widget ul.item-list li .item .item-meta{font-size:12px;overflow-wrap:break-word}.buddypress.widget .activity-list{padding:0}.buddypress.widget .activity-list blockquote{margin:0 0 1.5em;overflow:visible;padding:0 .75em .75em 0}.buddypress.widget .activity-list img{margin-bottom:.5em}.buddypress.widget .avatar-block{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row wrap;-moz-flex-flow:row wrap;-ms-flex-flow:row wrap;-o-flex-flow:row wrap;flex-flow:row wrap}.buddypress.widget .avatar-block img{margin-bottom:1em;margin-left:1em}.widget-area .buddypress.widget ul.item-list li{-webkit-flex:0 1 46%;-moz-flex:0 1 46%;-ms-flex:0 1 46%;-o-flex:0 1 46%;flex:0 1 46%;margin:2% 2% 10px}@media screen and (min-width:75em){.widget-area .buddypress.widget ul.item-list li .avatar{width:100%}}@media screen and (min-width:75em){.widget-area .buddypress.widget ul.item-list{margin:10px -2%;width:100%}.widget-area .buddypress.widget ul.item-list li{-webkit-flex:0 1 auto;-moz-flex:0 1 auto;-ms-flex:0 1 auto;-o-flex:0 1 auto;flex:0 1 auto;margin:10px 2% 1%;width:46%}}#buddypress-wrap *{transition:opacity .1s ease-in-out .1s}#buddypress-wrap a.button,#buddypress-wrap a.generic-button,#buddypress-wrap button,#buddypress-wrap input[type=reset],#buddypress-wrap input[type=submit]{transition:background .1s ease-in-out .1s,color .1s ease-in-out .1s,border-color .1s ease-in-out .1s}.buddypress-wrap a.loading,.buddypress-wrap input.loading{-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@-webkit-keyframes loader-pulsate{from{border-color:#aaa;-webkit-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-webkit-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@-moz-keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}.buddypress-wrap a.loading:hover,.buddypress-wrap input.loading:hover{color:#777}[data-bp-tooltip]{position:relative}[data-bp-tooltip]:after{background-color:#fff;display:none;opacity:0;position:absolute;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden}[data-bp-tooltip]:after{border:1px solid #737373;border-radius:1px;box-shadow:-4px 4px 8px rgba(0,0,0,.2);color:#333;content:attr(data-bp-tooltip);font-family:"Helvetica Neue",helvetica,arial,san-serif;font-size:12px;font-weight:400;letter-spacing:normal;line-height:1.25;max-width:200px;padding:5px 8px;pointer-events:none;text-shadow:none;text-transform:none;-webkit-transition:all 1.5s ease;-ms-transition:all 1.5s ease;transition:all 1.5s ease;white-space:nowrap;word-wrap:break-word;z-index:100000}[data-bp-tooltip]:active:after,[data-bp-tooltip]:focus:after,[data-bp-tooltip]:hover:after{display:block;opacity:1;overflow:visible;visibility:visible}[data-bp-tooltip=""]{display:none;opacity:0;visibility:hidden}.bp-tooltip:after{right:50%;margin-top:7px;top:110%;-webkit-transform:translate(50%,0);-ms-transform:translate(50%,0);transform:translate(50%,0)}.user-list .bp-tooltip:after{right:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}@media screen and (min-width:46.8em){.user-list .bp-tooltip:after{right:auto;left:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}}.activity-list .bp-tooltip:after,.activity-meta-action .bp-tooltip:after,.notification-actions .bp-tooltip:after,.participants-list .bp-tooltip:after{right:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.bp-invites-content .bp-tooltip:after,.message-metadata .actions .bp-tooltip:after,.single-message-thread-header .actions .bp-tooltip:after{right:auto;left:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.bp-invites-content #send-invites-editor .bp-tooltip:after{right:0;left:auto}#item-body,.single-screen-navs{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.grid>li,.grid>li .generic-button a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.grid>li{border-bottom:0;padding-bottom:10px;padding-top:0}.grid>li .list-wrap{background:#fafafa;border:1px solid #eee;padding-bottom:15px;position:relative;overflow:hidden;padding-top:14px}.grid>li .list-wrap .list-title{padding:.5em}.grid>li .list-wrap .update{color:#737373;padding:.5em 2em}.grid>li .item-avatar{text-align:center}.grid>li .item-avatar .avatar{border-radius:50%;display:inline-block;width:50%}@media screen and (min-width:24em){.grid.members-list .list-wrap{min-height:340px}.grid.members-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.members-group-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.groups-list .list-wrap{min-height:470px}.grid.groups-list .list-wrap .item-block{min-height:6rem}.grid.groups-list .list-wrap .group-desc{margin:15px auto 0;min-height:5em;overflow:hidden}.grid.groups-list .list-wrap .group-details,.grid.groups-list .list-wrap .item-desc,.grid.groups-list .list-wrap .last-activity{margin-bottom:0}.grid.groups-list .list-wrap .group-details p,.grid.groups-list .list-wrap .item-desc p,.grid.groups-list .list-wrap .last-activity p{margin-bottom:0}.grid.blogs-list .list-wrap{min-height:350px}.grid.blogs-list .list-wrap .item-block{margin:0 auto;min-height:7rem}}@media screen and (min-width:24em){.grid>li.item-entry{float:right;margin:0}.grid.two>li{padding-bottom:20px}}@media screen and (min-width:24em) and (min-width:75em){.grid.two>li .list-wrap{max-width:500px;margin:0 auto}}@media screen and (min-width:24em){.grid.three>li,.grid.two>li{width:50%}.grid.three>li:nth-child(odd),.grid.two>li:nth-child(odd){padding-left:10px}.grid.three>li:nth-child(even),.grid.two>li:nth-child(even){padding-right:10px}.grid.three>li .item,.grid.two>li .item{margin:1rem auto 0;width:80%}.grid.three>li .item .item-title,.grid.two>li .item .item-title{width:auto}}@media screen and (min-width:46.8em){.grid.three>li{padding-top:0;width:33.333333%;width:calc(100% / 3)}.grid.three>li:nth-child(1n+1){padding-right:5px;padding-left:5px}.grid.three>li:nth-child(3n+3){padding-right:5px;padding-left:0}.grid.three>li:nth-child(3n+1){padding-right:0;padding-left:5px}}@media screen and (min-width:46.8em){.grid.four>li{width:25%}.grid.four>li:nth-child(1n+1){padding-right:5px;padding-left:5px}.grid.four>li:nth-child(4n+4){padding-right:5px;padding-left:0}.grid.four>li:nth-child(4n+1){padding-right:0;padding-left:5px}}.buddypress-wrap .grid.bp-list{padding-top:1em}.buddypress-wrap .grid.bp-list>li{border-bottom:none}.buddypress-wrap .grid.bp-list>li .list-wrap{padding-bottom:3em}.buddypress-wrap .grid.bp-list>li .item-avatar{margin:0;text-align:center;width:auto}.buddypress-wrap .grid.bp-list>li .item-avatar img.avatar{display:inline-block;height:auto;width:50%}.buddypress-wrap .grid.bp-list>li .item-meta,.buddypress-wrap .grid.bp-list>li .list-title{float:none;text-align:center}.buddypress-wrap .grid.bp-list>li .list-title{font-size:inherit;line-height:1.1}.buddypress-wrap .grid.bp-list>li .item{font-size:18px;right:0;margin:0 auto;text-align:center;width:96%}@media screen and (min-width:46.8em){.buddypress-wrap .grid.bp-list>li .item{font-size:22px}}.buddypress-wrap .grid.bp-list>li .item .group-desc,.buddypress-wrap .grid.bp-list>li .item .item-block{float:none;width:96%}.buddypress-wrap .grid.bp-list>li .item .item-block{margin-bottom:10px}.buddypress-wrap .grid.bp-list>li .item .last-activity{margin-top:5px}.buddypress-wrap .grid.bp-list>li .item .group-desc{clear:none}.buddypress-wrap .grid.bp-list>li .item .user-update{clear:both;text-align:right}.buddypress-wrap .grid.bp-list>li .item .activity-read-more a{display:inline}.buddypress-wrap .grid.bp-list>li .action{bottom:5px;float:none;height:auto;right:0;margin:0;padding:0 5px;position:absolute;text-align:center;top:auto;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button{float:none;margin:5px 0 0;text-align:center;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button a,.buddypress-wrap .grid.bp-list>li .action .generic-button button{width:100%}.buddypress-wrap .grid.bp-list>li .avatar,.buddypress-wrap .grid.bp-list>li .item,.buddypress-wrap .grid.bp-list>li .item-avatar{float:none}.buddypress-wrap .blogs-list.grid.two>li .blogs-title{min-height:5em}.buddypress-wrap .grid.four>li .group-desc,.buddypress-wrap .grid.three>li .group-desc{min-height:8em}.buddypress-wrap .blogs-list.grid.four>li,.buddypress-wrap .blogs-list.grid.three>li{min-height:350px}.buddypress-wrap .blogs-list.grid.four>li .last-activity,.buddypress-wrap .blogs-list.grid.three>li .last-activity{margin-bottom:0}.buddypress-wrap .blogs-list.grid.four>li .last-post,.buddypress-wrap .blogs-list.grid.three>li .last-post{margin-top:0}.buddypress:not(.logged-in) .grid.bp-list .list-wrap{padding-bottom:5px}.buddypress:not(.logged-in) .grid.groups-list .list-wrap{min-height:430px}.buddypress:not(.logged-in) .grid.members-list .list-wrap{min-height:300px}.buddypress:not(.logged-in) .grid.blogs-list .list-wrap{min-height:320px}@media screen and (min-width:46.8em){.bp-single-vert-nav .bp-navs.vertical{overflow:visible}.bp-single-vert-nav .bp-navs.vertical ul{border-left:1px solid #d6d6d6;border-bottom:0;float:right;margin-left:-1px;width:25%}.bp-single-vert-nav .bp-navs.vertical li{float:none;margin-left:0}.bp-single-vert-nav .bp-navs.vertical li.selected a{background:#ccc;color:#333}.bp-single-vert-nav .bp-navs.vertical li:focus,.bp-single-vert-nav .bp-navs.vertical li:hover{background:#ccc}.bp-single-vert-nav .bp-navs.vertical li span{background:#d6d6d6;border-radius:10%;float:left;margin-left:2px}.bp-single-vert-nav .bp-navs.vertical li:hover span{border-color:#eaeaea}.bp-single-vert-nav .bp-navs.vertical.tabbed-links li.selected a{padding-right:0}.bp-single-vert-nav .bp-wrap{margin-bottom:15px}.bp-single-vert-nav .bp-wrap .group-nav-tabs.groups-nav ul li,.bp-single-vert-nav .bp-wrap .user-nav-tabs.users-nav ul li{right:1px;position:relative}.bp-single-vert-nav .item-body:not(#group-create-body){background:#fff;border-right:1px solid #d6d6d6;float:left;margin:0;min-height:400px;padding:0 1em 0 0;width:calc(75% + 1px)}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links){background:#eaeaea;margin:0 -5px 0 0;width:auto}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li{font-size:16px;margin:10px 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a{border-left:1px solid #ccc;padding:0 .5em}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:focus,.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:hover{background:0 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li.current a{background:0 0;color:#333;text-decoration:underline}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li:last-child a{border:none}.bp-dir-vert-nav .dir-navs{float:right;right:1px;position:relative;width:20%}.bp-dir-vert-nav .dir-navs ul li{float:none;overflow:hidden;width:auto}.bp-dir-vert-nav .dir-navs ul li.selected{border:1px solid #eee}.bp-dir-vert-nav .dir-navs ul li.selected a{background:#555;color:#fff}.bp-dir-vert-nav .dir-navs ul li.selected a span{background:#eaeaea;border-color:#ccc;color:#5087e5}.bp-dir-vert-nav .dir-navs ul li a:focus,.bp-dir-vert-nav .dir-navs ul li a:hover{background:#ccc;color:#333}.bp-dir-vert-nav .dir-navs ul li a:focus span,.bp-dir-vert-nav .dir-navs ul li a:hover span{border:1px solid #555}.bp-dir-vert-nav .screen-content{border-right:1px solid #d6d6d6;margin-right:20%;overflow:hidden;padding:0 1em 2em 0}.bp-dir-vert-nav .screen-content .subnav-filters{margin-top:0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:hover{background:0 0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected{background:0 0;border:1px solid #d6d6d6;border-left-color:#fff}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a{background:0 0;color:#333;font-weight:600}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a span{background:#555;border:1px solid #d6d6d6;color:#fff}}
|
bp-templates/bp-nouveau/css/buddypress.css
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
/*--------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
2 |
>>> TABLE OF CONTENTS:
|
3 |
----------------------------------------------------------------
|
4 |
1.0 - BP Generic, Typography & Imagery
|
@@ -354,15 +359,6 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
354 |
color: #fafafa;
|
355 |
}
|
356 |
|
357 |
-
.buddypress-wrap .bp-navs li.selected a .count,
|
358 |
-
.buddypress-wrap .bp-navs li.selected a:focus .count,
|
359 |
-
.buddypress-wrap .bp-navs li.selected a:hover .count,
|
360 |
-
.buddypress-wrap .bp-navs li.current a .count,
|
361 |
-
.buddypress-wrap .bp-navs li.current a:focus .count,
|
362 |
-
.buddypress-wrap .bp-navs li.current a:hover .count {
|
363 |
-
border-color: #fafafa;
|
364 |
-
}
|
365 |
-
|
366 |
@media screen and (min-width: 46.8em) {
|
367 |
.buddypress-wrap .main-navs:not(.dir-navs) li.selected a,
|
368 |
.buddypress-wrap .main-navs:not(.dir-navs) li.current a {
|
@@ -376,7 +372,7 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
376 |
color: #fafafa;
|
377 |
text-decoration: none;
|
378 |
}
|
379 |
-
.buddypress-wrap.bp-dir-hori-nav nav:not(
|
380 |
border-bottom: 1px solid #eee;
|
381 |
border-top: 1px solid #eee;
|
382 |
-webkit-box-shadow: 0 2px 12px 0 #fafafa;
|
@@ -552,45 +548,49 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
552 |
}
|
553 |
|
554 |
@media screen and (min-width: 46.8em) {
|
555 |
-
.buddypress-wrap .
|
556 |
-
.buddypress-wrap .
|
557 |
border-bottom: 1px solid #ccc;
|
558 |
float: none;
|
559 |
margin: 20px 0 10px;
|
560 |
}
|
561 |
-
.buddypress-wrap .
|
562 |
-
.buddypress-wrap .
|
563 |
-
.buddypress-wrap .
|
564 |
content: " ";
|
565 |
display: block;
|
566 |
}
|
567 |
-
.buddypress-wrap .
|
568 |
-
.buddypress-wrap .
|
569 |
clear: both;
|
570 |
}
|
571 |
-
.buddypress-wrap .
|
572 |
-
.buddypress-wrap .
|
573 |
float: left;
|
574 |
list-style: none;
|
575 |
margin: 0 10px 0 0;
|
576 |
}
|
577 |
-
.buddypress-wrap .
|
578 |
-
.buddypress-wrap .
|
579 |
-
.buddypress-wrap .
|
580 |
-
.buddypress-wrap .
|
581 |
background: none;
|
582 |
border: none;
|
583 |
display: block;
|
584 |
padding: 4px 10px;
|
585 |
}
|
586 |
-
.buddypress-wrap .
|
587 |
-
.buddypress-wrap .
|
588 |
-
.buddypress-wrap .
|
589 |
-
.buddypress-wrap .
|
590 |
background: none;
|
591 |
}
|
592 |
-
.buddypress-wrap .
|
593 |
-
.buddypress-wrap .
|
|
|
|
|
|
|
|
|
594 |
border-color: #ccc #ccc #fff;
|
595 |
border-style: solid;
|
596 |
border-top-left-radius: 4px;
|
@@ -599,39 +599,40 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
599 |
margin-bottom: -1px;
|
600 |
padding: 0 0.5em 1px;
|
601 |
}
|
602 |
-
.buddypress-wrap .
|
603 |
-
.buddypress-wrap .
|
|
|
604 |
color: #333;
|
605 |
}
|
606 |
-
.buddypress-wrap .
|
607 |
margin-top: 0;
|
608 |
}
|
609 |
-
.buddypress-wrap .
|
610 |
background: none;
|
611 |
margin-top: 2px;
|
612 |
}
|
613 |
-
.buddypress-wrap .
|
614 |
border-right: 0;
|
615 |
font-size: inherit;
|
616 |
}
|
617 |
-
.buddypress-wrap .
|
618 |
float: right;
|
619 |
margin: 0;
|
620 |
}
|
621 |
-
.buddypress-wrap .
|
622 |
margin-top: -0.5em;
|
623 |
}
|
624 |
-
.buddypress-wrap .
|
625 |
-
.buddypress-wrap .
|
626 |
-
.buddypress-wrap .
|
627 |
-
.buddypress-wrap .
|
628 |
-
.buddypress-wrap .
|
629 |
-
.buddypress-wrap .
|
630 |
background: none;
|
631 |
border: 0;
|
632 |
}
|
633 |
-
.buddypress-wrap .
|
634 |
-
.buddypress-wrap .
|
635 |
outline: none;
|
636 |
}
|
637 |
}
|
@@ -803,6 +804,14 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
803 |
line-height: 1.6;
|
804 |
}
|
805 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
806 |
/**
|
807 |
*----------------------------------------------------------
|
808 |
* @section 2.2 - Pagination
|
@@ -925,6 +934,7 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
925 |
.bp-list li .item-meta {
|
926 |
color: #737373;
|
927 |
font-size: 12px;
|
|
|
928 |
margin-top: 10px;
|
929 |
}
|
930 |
|
@@ -1019,12 +1029,18 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
1019 |
margin-top: 0;
|
1020 |
}
|
1021 |
|
1022 |
-
.friends-
|
|
|
|
|
|
|
|
|
|
|
1023 |
text-align: center;
|
1024 |
}
|
1025 |
|
1026 |
@media screen and (min-width: 46.8em) {
|
1027 |
-
.friends-request-list li
|
|
|
1028 |
display: -webkit-flex;
|
1029 |
display: -moz-flex;
|
1030 |
display: -ms-flex;
|
@@ -1036,20 +1052,27 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
1036 |
-o-flex-flow: row nowrap;
|
1037 |
flex-flow: row nowrap;
|
1038 |
}
|
1039 |
-
.friends-request-list li .item
|
|
|
1040 |
-webkit-flex: 1 1 auto;
|
1041 |
-moz-flex: 1 1 auto;
|
1042 |
-ms-flex: 1 1 auto;
|
1043 |
-o-flex: 1 1 auto;
|
1044 |
flex: 1 1 auto;
|
1045 |
}
|
1046 |
-
.friends-request-list li .action
|
|
|
1047 |
text-align: right;
|
1048 |
}
|
1049 |
-
.friends-request-list li .item-title
|
|
|
1050 |
font-size: 22px;
|
1051 |
text-align: left;
|
1052 |
}
|
|
|
|
|
|
|
|
|
1053 |
}
|
1054 |
|
1055 |
#notifications-user-list {
|
@@ -1101,6 +1124,7 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
1101 |
}
|
1102 |
|
1103 |
.activity-update-form #whats-new-avatar img {
|
|
|
1104 |
display: inline-block;
|
1105 |
}
|
1106 |
|
@@ -1193,12 +1217,12 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
1193 |
.activity-update-form #whats-new-avatar {
|
1194 |
display: block;
|
1195 |
float: left;
|
1196 |
-
margin: 0
|
1197 |
}
|
1198 |
.activity-update-form #whats-new-content,
|
1199 |
.activity-update-form #whats-new-post-in-box,
|
1200 |
.activity-update-form #whats-new-submit {
|
1201 |
-
margin-left:
|
1202 |
}
|
1203 |
.activity-update-form #whats-new-submit input {
|
1204 |
margin-bottom: 0;
|
@@ -1242,6 +1266,7 @@ body.buddypress article.page > .entry-header .entry-title {
|
|
1242 |
}
|
1243 |
|
1244 |
.activity-list .activity-item div.item-avatar img {
|
|
|
1245 |
max-width: 40%;
|
1246 |
}
|
1247 |
|
@@ -2061,6 +2086,9 @@ form.ac-form .ac-reply-content input {
|
|
2061 |
.single-headers #item-header-avatar a img {
|
2062 |
float: left;
|
2063 |
}
|
|
|
|
|
|
|
2064 |
}
|
2065 |
|
2066 |
.single-headers .group-status,
|
@@ -2503,8 +2531,9 @@ body.no-js .single-item-header .js-self-profile-button {
|
|
2503 |
*-----------------------------------------
|
2504 |
*/
|
2505 |
/*
|
2506 |
-
* bp-nouveau styling: invite members, sent invites
|
2507 |
-
*
|
|
|
2508 |
.buddypress .bp-invites-content ul.item-list {
|
2509 |
border-top: 0;
|
2510 |
}
|
@@ -2519,8 +2548,8 @@ body.no-js .single-item-header .js-self-profile-button {
|
|
2519 |
}
|
2520 |
|
2521 |
.buddypress .bp-invites-content ul.item-list li .list-title {
|
2522 |
-
|
2523 |
-
width:
|
2524 |
}
|
2525 |
|
2526 |
.buddypress .bp-invites-content ul.item-list li .action {
|
@@ -2569,8 +2598,14 @@ body.no-js .single-item-header .js-self-profile-button {
|
|
2569 |
margin: 10px 0;
|
2570 |
}
|
2571 |
|
2572 |
-
.buddypress .bp-invites-content #send-invites-editor
|
2573 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
2574 |
}
|
2575 |
|
2576 |
.buddypress .bp-invites-content #send-invites-editor textarea {
|
@@ -2581,7 +2616,6 @@ body.no-js .single-item-header .js-self-profile-button {
|
|
2581 |
clear: both;
|
2582 |
list-style: none;
|
2583 |
margin: 10px 0;
|
2584 |
-
overflow: hidden;
|
2585 |
}
|
2586 |
|
2587 |
.buddypress .bp-invites-content #send-invites-editor ul li {
|
@@ -2591,6 +2625,11 @@ body.no-js .single-item-header .js-self-profile-button {
|
|
2591 |
max-width: 50px;
|
2592 |
}
|
2593 |
|
|
|
|
|
|
|
|
|
|
|
2594 |
.buddypress .bp-invites-content #send-invites-editor .action {
|
2595 |
margin-top: 10px;
|
2596 |
padding-top: 10px;
|
@@ -2623,6 +2662,30 @@ body.no-js .single-item-header .js-self-profile-button {
|
|
2623 |
}
|
2624 |
}
|
2625 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2626 |
/*
|
2627 |
*-----------------------------------------
|
2628 |
* @subsection 5.2.1.4 - Group Activity
|
@@ -2924,7 +2987,8 @@ body.register .buddypress-wrap .page ul {
|
|
2924 |
flex: 1 2 5%;
|
2925 |
}
|
2926 |
|
2927 |
-
#message-threads li .thread-from
|
|
|
2928 |
-webkit-flex: 1 2 20%;
|
2929 |
-moz-flex: 1 2 20%;
|
2930 |
-ms-flex: 1 2 20%;
|
@@ -2932,16 +2996,26 @@ body.register .buddypress-wrap .page ul {
|
|
2932 |
flex: 1 2 20%;
|
2933 |
}
|
2934 |
|
2935 |
-
#message-threads li .thread-from img.avatar
|
|
|
2936 |
float: left;
|
2937 |
margin: 0 10px 0 0;
|
2938 |
}
|
2939 |
|
2940 |
-
#message-threads li .thread-from .user-name
|
|
|
2941 |
display: inline-block;
|
2942 |
line-height: 1.1;
|
2943 |
}
|
2944 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2945 |
#message-threads li .thread-content {
|
2946 |
-webkit-flex: 1 2 60%;
|
2947 |
-moz-flex: 1 2 60%;
|
@@ -2966,8 +3040,8 @@ body.register .buddypress-wrap .page ul {
|
|
2966 |
color: #5087e5;
|
2967 |
}
|
2968 |
|
2969 |
-
#message-threads li
|
2970 |
-
|
2971 |
}
|
2972 |
|
2973 |
#message-threads li .thread-content .excerpt {
|
@@ -2977,12 +3051,14 @@ body.register .buddypress-wrap .page ul {
|
|
2977 |
}
|
2978 |
|
2979 |
#message-threads li .thread-content .thread-from,
|
|
|
2980 |
#message-threads li .thread-content .thread-subject {
|
2981 |
font-size: 13px;
|
2982 |
}
|
2983 |
|
2984 |
@media screen and (min-width: 46.8em) {
|
2985 |
#message-threads li .thread-content .thread-from,
|
|
|
2986 |
#message-threads li .thread-content .thread-subject {
|
2987 |
font-size: 16px;
|
2988 |
}
|
@@ -3006,13 +3082,13 @@ body.register .buddypress-wrap .page ul {
|
|
3006 |
max-width: 30%;
|
3007 |
}
|
3008 |
|
3009 |
-
.bp-messages-content .actions .bp-icons {
|
3010 |
display: inline-block;
|
3011 |
margin: 0;
|
3012 |
padding: 0.3em 0.5em;
|
3013 |
}
|
3014 |
|
3015 |
-
.bp-messages-content .actions .bp-icons:before {
|
3016 |
font-size: 26px;
|
3017 |
}
|
3018 |
|
@@ -3022,7 +3098,7 @@ body.register .buddypress-wrap .page ul {
|
|
3022 |
}
|
3023 |
|
3024 |
.bp-messages-content #thread-preview .preview-message {
|
3025 |
-
|
3026 |
}
|
3027 |
|
3028 |
.bp-messages-content #thread-preview .preview-content {
|
@@ -3055,8 +3131,9 @@ body.register .buddypress-wrap .page ul {
|
|
3055 |
-webkit-box-shadow: -2px 1px 9px 0 #eee;
|
3056 |
-moz-box-shadow: -2px 1px 9px 0 #eee;
|
3057 |
box-shadow: -2px 1px 9px 0 #eee;
|
3058 |
-
|
3059 |
padding: 0.2em;
|
|
|
3060 |
}
|
3061 |
|
3062 |
.bp-messages-content #bp-message-thread-list .message-metadata .avatar {
|
@@ -3090,7 +3167,7 @@ body.register .buddypress-wrap .page ul {
|
|
3090 |
}
|
3091 |
|
3092 |
.bp-messages-content #bp-message-thread-list .message-content {
|
3093 |
-
|
3094 |
margin: 1em auto 0;
|
3095 |
width: 90%;
|
3096 |
}
|
@@ -4040,6 +4117,11 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4040 |
text-align: center;
|
4041 |
}
|
4042 |
|
|
|
|
|
|
|
|
|
|
|
4043 |
@media screen and (min-width: 46.8em) {
|
4044 |
.buddypress #buddypress .create-button {
|
4045 |
float: right;
|
@@ -4292,7 +4374,8 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4292 |
.buddypress-wrap .bp-feedback.error .bp-icon,
|
4293 |
.buddypress-wrap .bp-feedback.warning .bp-icon,
|
4294 |
.buddypress-wrap .bp-feedback.loading .bp-icon,
|
4295 |
-
.buddypress-wrap .bp-feedback.success .bp-icon
|
|
|
4296 |
display: -webkit-box;
|
4297 |
display: -ms-flexbox;
|
4298 |
display: -webkit-flex;
|
@@ -4331,11 +4414,13 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4331 |
content: "\f469";
|
4332 |
}
|
4333 |
|
4334 |
-
.buddypress-wrap .bp-feedback.success .bp-icon
|
|
|
4335 |
background-color: #8a2;
|
4336 |
}
|
4337 |
|
4338 |
-
.buddypress-wrap .bp-feedback.success .bp-icon:before
|
|
|
4339 |
content: "\f147";
|
4340 |
}
|
4341 |
|
@@ -4486,6 +4571,38 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4486 |
overflow-wrap: break-word;
|
4487 |
}
|
4488 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4489 |
.widget-area .buddypress.widget ul.item-list li {
|
4490 |
-webkit-flex: 0 1 46%;
|
4491 |
-moz-flex: 0 1 46%;
|
@@ -4659,6 +4776,7 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4659 |
}
|
4660 |
}
|
4661 |
|
|
|
4662 |
.activity-meta-action .bp-tooltip:after,
|
4663 |
.notification-actions .bp-tooltip:after,
|
4664 |
.participants-list .bp-tooltip:after {
|
@@ -4668,7 +4786,9 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4668 |
transform: translate(0, 0);
|
4669 |
}
|
4670 |
|
4671 |
-
.bp-invites-content .bp-tooltip:after
|
|
|
|
|
4672 |
left: auto;
|
4673 |
right: 0;
|
4674 |
-webkit-transform: translate(0, 0);
|
@@ -4676,6 +4796,11 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4676 |
transform: translate(0, 0);
|
4677 |
}
|
4678 |
|
|
|
|
|
|
|
|
|
|
|
4679 |
/**
|
4680 |
*-------------------------------------------------------------------------------
|
4681 |
* @section 9.0 - Layout classes
|
@@ -4996,34 +5121,39 @@ body.no-js .buddypress #messages-bulk-management #select-all-messages {
|
|
4996 |
}
|
4997 |
|
4998 |
@media screen and (min-width: 46.8em) {
|
4999 |
-
.bp-single-vert-nav .vertical {
|
5000 |
overflow: visible;
|
5001 |
}
|
5002 |
-
.bp-single-vert-nav .vertical ul {
|
5003 |
border-right: 1px solid #d6d6d6;
|
|
|
5004 |
float: left;
|
5005 |
margin-right: -1px;
|
5006 |
width: 25%;
|
5007 |
}
|
5008 |
-
.bp-single-vert-nav .vertical li {
|
5009 |
float: none;
|
|
|
5010 |
}
|
5011 |
-
.bp-single-vert-nav .vertical li.selected a {
|
5012 |
background: #ccc;
|
5013 |
color: #333;
|
5014 |
}
|
5015 |
-
.bp-single-vert-nav .vertical li:focus, .bp-single-vert-nav .vertical li:hover {
|
5016 |
background: #ccc;
|
5017 |
}
|
5018 |
-
.bp-single-vert-nav .vertical li span {
|
5019 |
background: #d6d6d6;
|
5020 |
border-radius: 10%;
|
5021 |
float: right;
|
5022 |
margin-right: 2px;
|
5023 |
}
|
5024 |
-
.bp-single-vert-nav .vertical li:hover span {
|
5025 |
border-color: #eaeaea;
|
5026 |
}
|
|
|
|
|
|
|
5027 |
.bp-single-vert-nav .bp-wrap {
|
5028 |
margin-bottom: 15px;
|
5029 |
}
|
1 |
/*--------------------------------------------------------------
|
2 |
+
Hello, this is the BuddyPress Nouveau stylesheet.
|
3 |
+
|
4 |
+
@version 3.0.0
|
5 |
+
|
6 |
+
----------------------------------------------------------------
|
7 |
>>> TABLE OF CONTENTS:
|
8 |
----------------------------------------------------------------
|
9 |
1.0 - BP Generic, Typography & Imagery
|
359 |
color: #fafafa;
|
360 |
}
|
361 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
362 |
@media screen and (min-width: 46.8em) {
|
363 |
.buddypress-wrap .main-navs:not(.dir-navs) li.selected a,
|
364 |
.buddypress-wrap .main-navs:not(.dir-navs) li.current a {
|
372 |
color: #fafafa;
|
373 |
text-decoration: none;
|
374 |
}
|
375 |
+
.buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links) {
|
376 |
border-bottom: 1px solid #eee;
|
377 |
border-top: 1px solid #eee;
|
378 |
-webkit-box-shadow: 0 2px 12px 0 #fafafa;
|
548 |
}
|
549 |
|
550 |
@media screen and (min-width: 46.8em) {
|
551 |
+
.buddypress-wrap .tabbed-links ul,
|
552 |
+
.buddypress-wrap .tabbed-links ol {
|
553 |
border-bottom: 1px solid #ccc;
|
554 |
float: none;
|
555 |
margin: 20px 0 10px;
|
556 |
}
|
557 |
+
.buddypress-wrap .tabbed-links ul:before, .buddypress-wrap .tabbed-links ul:after,
|
558 |
+
.buddypress-wrap .tabbed-links ol:before,
|
559 |
+
.buddypress-wrap .tabbed-links ol:after {
|
560 |
content: " ";
|
561 |
display: block;
|
562 |
}
|
563 |
+
.buddypress-wrap .tabbed-links ul:after,
|
564 |
+
.buddypress-wrap .tabbed-links ol:after {
|
565 |
clear: both;
|
566 |
}
|
567 |
+
.buddypress-wrap .tabbed-links ul li,
|
568 |
+
.buddypress-wrap .tabbed-links ol li {
|
569 |
float: left;
|
570 |
list-style: none;
|
571 |
margin: 0 10px 0 0;
|
572 |
}
|
573 |
+
.buddypress-wrap .tabbed-links ul li a,
|
574 |
+
.buddypress-wrap .tabbed-links ul li span:not(.count),
|
575 |
+
.buddypress-wrap .tabbed-links ol li a,
|
576 |
+
.buddypress-wrap .tabbed-links ol li span:not(.count) {
|
577 |
background: none;
|
578 |
border: none;
|
579 |
display: block;
|
580 |
padding: 4px 10px;
|
581 |
}
|
582 |
+
.buddypress-wrap .tabbed-links ul li a:focus,
|
583 |
+
.buddypress-wrap .tabbed-links ul li a:hover,
|
584 |
+
.buddypress-wrap .tabbed-links ol li a:focus,
|
585 |
+
.buddypress-wrap .tabbed-links ol li a:hover {
|
586 |
background: none;
|
587 |
}
|
588 |
+
.buddypress-wrap .tabbed-links ul li:not(.current),
|
589 |
+
.buddypress-wrap .tabbed-links ol li:not(.current) {
|
590 |
+
margin-bottom: 2px;
|
591 |
+
}
|
592 |
+
.buddypress-wrap .tabbed-links ul li.current,
|
593 |
+
.buddypress-wrap .tabbed-links ol li.current {
|
594 |
border-color: #ccc #ccc #fff;
|
595 |
border-style: solid;
|
596 |
border-top-left-radius: 4px;
|
599 |
margin-bottom: -1px;
|
600 |
padding: 0 0.5em 1px;
|
601 |
}
|
602 |
+
.buddypress-wrap .tabbed-links ul li.current a,
|
603 |
+
.buddypress-wrap .tabbed-links ol li.current a {
|
604 |
+
background: none;
|
605 |
color: #333;
|
606 |
}
|
607 |
+
.buddypress-wrap .bp-subnavs.tabbed-links > ul {
|
608 |
margin-top: 0;
|
609 |
}
|
610 |
+
.buddypress-wrap .bp-navs.tabbed-links {
|
611 |
background: none;
|
612 |
margin-top: 2px;
|
613 |
}
|
614 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li a {
|
615 |
border-right: 0;
|
616 |
font-size: inherit;
|
617 |
}
|
618 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li.last {
|
619 |
float: right;
|
620 |
margin: 0;
|
621 |
}
|
622 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li.last a {
|
623 |
margin-top: -0.5em;
|
624 |
}
|
625 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li a,
|
626 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li a:focus,
|
627 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li a:hover,
|
628 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li.current a,
|
629 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li.current a:focus,
|
630 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li.current a:hover {
|
631 |
background: none;
|
632 |
border: 0;
|
633 |
}
|
634 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li a:active,
|
635 |
+
.buddypress-wrap .bp-navs.tabbed-links ul li.current a:active {
|
636 |
outline: none;
|
637 |
}
|
638 |
}
|
804 |
line-height: 1.6;
|
805 |
}
|
806 |
|
807 |
+
.buddypress-wrap .group-subnav-filters .group-invites-search {
|
808 |
+
margin-bottom: 1em;
|
809 |
+
}
|
810 |
+
|
811 |
+
.buddypress-wrap .group-subnav-filters .last {
|
812 |
+
text-align: center;
|
813 |
+
}
|
814 |
+
|
815 |
/**
|
816 |
*----------------------------------------------------------
|
817 |
* @section 2.2 - Pagination
|
934 |
.bp-list li .item-meta {
|
935 |
color: #737373;
|
936 |
font-size: 12px;
|
937 |
+
margin-bottom: 10px;
|
938 |
margin-top: 10px;
|
939 |
}
|
940 |
|
1029 |
margin-top: 0;
|
1030 |
}
|
1031 |
|
1032 |
+
.friends-list {
|
1033 |
+
list-style-type: none;
|
1034 |
+
}
|
1035 |
+
|
1036 |
+
.friends-request-list .item-title,
|
1037 |
+
.membership-requests-list .item-title {
|
1038 |
text-align: center;
|
1039 |
}
|
1040 |
|
1041 |
@media screen and (min-width: 46.8em) {
|
1042 |
+
.friends-request-list li,
|
1043 |
+
.membership-requests-list li {
|
1044 |
display: -webkit-flex;
|
1045 |
display: -moz-flex;
|
1046 |
display: -ms-flex;
|
1052 |
-o-flex-flow: row nowrap;
|
1053 |
flex-flow: row nowrap;
|
1054 |
}
|
1055 |
+
.friends-request-list li .item,
|
1056 |
+
.membership-requests-list li .item {
|
1057 |
-webkit-flex: 1 1 auto;
|
1058 |
-moz-flex: 1 1 auto;
|
1059 |
-ms-flex: 1 1 auto;
|
1060 |
-o-flex: 1 1 auto;
|
1061 |
flex: 1 1 auto;
|
1062 |
}
|
1063 |
+
.friends-request-list li .action,
|
1064 |
+
.membership-requests-list li .action {
|
1065 |
text-align: right;
|
1066 |
}
|
1067 |
+
.friends-request-list li .item-title,
|
1068 |
+
.membership-requests-list li .item-title {
|
1069 |
font-size: 22px;
|
1070 |
text-align: left;
|
1071 |
}
|
1072 |
+
.friends-request-list li .item-title h3,
|
1073 |
+
.membership-requests-list li .item-title h3 {
|
1074 |
+
margin: 0;
|
1075 |
+
}
|
1076 |
}
|
1077 |
|
1078 |
#notifications-user-list {
|
1124 |
}
|
1125 |
|
1126 |
.activity-update-form #whats-new-avatar img {
|
1127 |
+
box-shadow: none;
|
1128 |
display: inline-block;
|
1129 |
}
|
1130 |
|
1217 |
.activity-update-form #whats-new-avatar {
|
1218 |
display: block;
|
1219 |
float: left;
|
1220 |
+
margin: 0;
|
1221 |
}
|
1222 |
.activity-update-form #whats-new-content,
|
1223 |
.activity-update-form #whats-new-post-in-box,
|
1224 |
.activity-update-form #whats-new-submit {
|
1225 |
+
margin-left: 8.5%;
|
1226 |
}
|
1227 |
.activity-update-form #whats-new-submit input {
|
1228 |
margin-bottom: 0;
|
1266 |
}
|
1267 |
|
1268 |
.activity-list .activity-item div.item-avatar img {
|
1269 |
+
height: auto;
|
1270 |
max-width: 40%;
|
1271 |
}
|
1272 |
|
2086 |
.single-headers #item-header-avatar a img {
|
2087 |
float: left;
|
2088 |
}
|
2089 |
+
.single-headers #item-header-content {
|
2090 |
+
padding-left: 2em;
|
2091 |
+
}
|
2092 |
}
|
2093 |
|
2094 |
.single-headers .group-status,
|
2531 |
*-----------------------------------------
|
2532 |
*/
|
2533 |
/*
|
2534 |
+
* bp-nouveau styling: invite members, sent invites
|
2535 |
+
* @version 3.0.0
|
2536 |
+
*/
|
2537 |
.buddypress .bp-invites-content ul.item-list {
|
2538 |
border-top: 0;
|
2539 |
}
|
2548 |
}
|
2549 |
|
2550 |
.buddypress .bp-invites-content ul.item-list li .list-title {
|
2551 |
+
margin: 0 auto;
|
2552 |
+
width: 80%;
|
2553 |
}
|
2554 |
|
2555 |
.buddypress .bp-invites-content ul.item-list li .action {
|
2598 |
margin: 10px 0;
|
2599 |
}
|
2600 |
|
2601 |
+
.buddypress .bp-invites-content #send-invites-editor ul:before,
|
2602 |
+
.buddypress .bp-invites-content #send-invites-editor ul:after {
|
2603 |
+
content: " ";
|
2604 |
+
display: table;
|
2605 |
+
}
|
2606 |
+
|
2607 |
+
.buddypress .bp-invites-content #send-invites-editor ul:after {
|
2608 |
+
clear: both;
|
2609 |
}
|
2610 |
|
2611 |
.buddypress .bp-invites-content #send-invites-editor textarea {
|
2616 |
clear: both;
|
2617 |
list-style: none;
|
2618 |
margin: 10px 0;
|
|
|
2619 |
}
|
2620 |
|
2621 |
.buddypress .bp-invites-content #send-invites-editor ul li {
|
2625 |
max-width: 50px;
|
2626 |
}
|
2627 |
|
2628 |
+
.buddypress .bp-invites-content #send-invites-editor #bp-send-invites-form {
|
2629 |
+
clear: both;
|
2630 |
+
margin-top: 10px;
|
2631 |
+
}
|
2632 |
+
|
2633 |
.buddypress .bp-invites-content #send-invites-editor .action {
|
2634 |
margin-top: 10px;
|
2635 |
padding-top: 10px;
|
2662 |
}
|
2663 |
}
|
2664 |
|
2665 |
+
@media screen and (min-width: 46.8em) {
|
2666 |
+
:not(.vertical) + .item-body #group-invites-container {
|
2667 |
+
display: -ms-grid;
|
2668 |
+
display: grid;
|
2669 |
+
-ms-grid-columns: 25% auto;
|
2670 |
+
grid-template-columns: 25% auto;
|
2671 |
+
grid-template-areas: "group-invites-nav group-invites-column";
|
2672 |
+
}
|
2673 |
+
:not(.vertical) + .item-body #group-invites-container .bp-invites-nav {
|
2674 |
+
-ms-grid-row: 1;
|
2675 |
+
-ms-grid-column: 1;
|
2676 |
+
grid-area: group-invites-nav;
|
2677 |
+
}
|
2678 |
+
:not(.vertical) + .item-body #group-invites-container .bp-invites-nav li {
|
2679 |
+
display: block;
|
2680 |
+
float: none;
|
2681 |
+
}
|
2682 |
+
:not(.vertical) + .item-body #group-invites-container .group-invites-column {
|
2683 |
+
-ms-grid-row: 1;
|
2684 |
+
-ms-grid-column: 2;
|
2685 |
+
grid-area: group-invites-column;
|
2686 |
+
}
|
2687 |
+
}
|
2688 |
+
|
2689 |
/*
|
2690 |
*-----------------------------------------
|
2691 |
* @subsection 5.2.1.4 - Group Activity
|
2987 |
flex: 1 2 5%;
|
2988 |
}
|
2989 |
|
2990 |
+
#message-threads li .thread-from,
|
2991 |
+
#message-threads li .thread-to {
|
2992 |
-webkit-flex: 1 2 20%;
|
2993 |
-moz-flex: 1 2 20%;
|
2994 |
-ms-flex: 1 2 20%;
|
2996 |
flex: 1 2 20%;
|
2997 |
}
|
2998 |
|
2999 |
+
#message-threads li .thread-from img.avatar,
|
3000 |
+
#message-threads li .thread-to img.avatar {
|
3001 |
float: left;
|
3002 |
margin: 0 10px 0 0;
|
3003 |
}
|
3004 |
|
3005 |
+
#message-threads li .thread-from .user-name,
|
3006 |
+
#message-threads li .thread-to .user-name {
|
3007 |
display: inline-block;
|
3008 |
line-height: 1.1;
|
3009 |
}
|
3010 |
|
3011 |
+
#message-threads li .thread-from .num-recipients,
|
3012 |
+
#message-threads li .thread-to .num-recipients {
|
3013 |
+
color: #737373;
|
3014 |
+
font-weight: 400;
|
3015 |
+
font-size: 12px;
|
3016 |
+
margin: 0;
|
3017 |
+
}
|
3018 |
+
|
3019 |
#message-threads li .thread-content {
|
3020 |
-webkit-flex: 1 2 60%;
|
3021 |
-moz-flex: 1 2 60%;
|
3040 |
color: #5087e5;
|
3041 |
}
|
3042 |
|
3043 |
+
#message-threads li.unread {
|
3044 |
+
font-weight: 700;
|
3045 |
}
|
3046 |
|
3047 |
#message-threads li .thread-content .excerpt {
|
3051 |
}
|
3052 |
|
3053 |
#message-threads li .thread-content .thread-from,
|
3054 |
+
#message-threads li .thread-content .thread-to,
|
3055 |
#message-threads li .thread-content .thread-subject {
|
3056 |
font-size: 13px;
|
3057 |
}
|
3058 |
|
3059 |
@media screen and (min-width: 46.8em) {
|
3060 |
#message-threads li .thread-content .thread-from,
|
3061 |
+
#message-threads li .thread-content .thread-to,
|
3062 |
#message-threads li .thread-content .thread-subject {
|
3063 |
font-size: 16px;
|
3064 |
}
|
3082 |
max-width: 30%;
|
3083 |
}
|
3084 |
|
3085 |
+
.bp-messages-content .actions .bp-icons:not(.bp-hide) {
|
3086 |
display: inline-block;
|
3087 |
margin: 0;
|
3088 |
padding: 0.3em 0.5em;
|
3089 |
}
|
3090 |
|
3091 |
+
.bp-messages-content .actions .bp-icons:not(.bp-hide):before {
|
3092 |
font-size: 26px;
|
3093 |
}
|
3094 |
|
3098 |
}
|
3099 |
|
3100 |
.bp-messages-content #thread-preview .preview-message {
|
3101 |
+
overflow: hidden;
|
3102 |
}
|
3103 |
|
3104 |
.bp-messages-content #thread-preview .preview-content {
|
3131 |
-webkit-box-shadow: -2px 1px 9px 0 #eee;
|
3132 |
-moz-box-shadow: -2px 1px 9px 0 #eee;
|
3133 |
box-shadow: -2px 1px 9px 0 #eee;
|
3134 |
+
display: table;
|
3135 |
padding: 0.2em;
|
3136 |
+
width: 100%;
|
3137 |
}
|
3138 |
|
3139 |
.bp-messages-content #bp-message-thread-list .message-metadata .avatar {
|
3167 |
}
|
3168 |
|
3169 |
.bp-messages-content #bp-message-thread-list .message-content {
|
3170 |
+
overflow: hidden;
|
3171 |
margin: 1em auto 0;
|
3172 |
width: 90%;
|
3173 |
}
|
4117 |
text-align: center;
|
4118 |
}
|
4119 |
|
4120 |
+
.buddypress #buddypress .create-button a:focus,
|
4121 |
+
.buddypress #buddypress .create-button a:hover {
|
4122 |
+
text-decoration: underline;
|
4123 |
+
}
|
4124 |
+
|
4125 |
@media screen and (min-width: 46.8em) {
|
4126 |
.buddypress #buddypress .create-button {
|
4127 |
float: right;
|
4374 |
.buddypress-wrap .bp-feedback.error .bp-icon,
|
4375 |
.buddypress-wrap .bp-feedback.warning .bp-icon,
|
4376 |
.buddypress-wrap .bp-feedback.loading .bp-icon,
|
4377 |
+
.buddypress-wrap .bp-feedback.success .bp-icon,
|
4378 |
+
.buddypress-wrap .bp-feedback.updated .bp-icon {
|
4379 |
display: -webkit-box;
|
4380 |
display: -ms-flexbox;
|
4381 |
display: -webkit-flex;
|
4414 |
content: "\f469";
|
4415 |
}
|
4416 |
|
4417 |
+
.buddypress-wrap .bp-feedback.success .bp-icon,
|
4418 |
+
.buddypress-wrap .bp-feedback.updated .bp-icon {
|
4419 |
background-color: #8a2;
|
4420 |
}
|
4421 |
|
4422 |
+
.buddypress-wrap .bp-feedback.success .bp-icon:before,
|
4423 |
+
.buddypress-wrap .bp-feedback.updated .bp-icon:before {
|
4424 |
content: "\f147";
|
4425 |
}
|
4426 |
|
4571 |
overflow-wrap: break-word;
|
4572 |
}
|
4573 |
|
4574 |
+
.buddypress.widget .activity-list {
|
4575 |
+
padding: 0;
|
4576 |
+
}
|
4577 |
+
|
4578 |
+
.buddypress.widget .activity-list blockquote {
|
4579 |
+
margin: 0 0 1.5em;
|
4580 |
+
overflow: visible;
|
4581 |
+
padding: 0 0 0.75em 0.75em;
|
4582 |
+
}
|
4583 |
+
|
4584 |
+
.buddypress.widget .activity-list img {
|
4585 |
+
margin-bottom: 0.5em;
|
4586 |
+
}
|
4587 |
+
|
4588 |
+
.buddypress.widget .avatar-block {
|
4589 |
+
display: -webkit-flex;
|
4590 |
+
display: -moz-flex;
|
4591 |
+
display: -ms-flex;
|
4592 |
+
display: -o-flex;
|
4593 |
+
display: flex;
|
4594 |
+
-webkit-flex-flow: row wrap;
|
4595 |
+
-moz-flex-flow: row wrap;
|
4596 |
+
-ms-flex-flow: row wrap;
|
4597 |
+
-o-flex-flow: row wrap;
|
4598 |
+
flex-flow: row wrap;
|
4599 |
+
}
|
4600 |
+
|
4601 |
+
.buddypress.widget .avatar-block img {
|
4602 |
+
margin-bottom: 1em;
|
4603 |
+
margin-right: 1em;
|
4604 |
+
}
|
4605 |
+
|
4606 |
.widget-area .buddypress.widget ul.item-list li {
|
4607 |
-webkit-flex: 0 1 46%;
|
4608 |
-moz-flex: 0 1 46%;
|
4776 |
}
|
4777 |
}
|
4778 |
|
4779 |
+
.activity-list .bp-tooltip:after,
|
4780 |
.activity-meta-action .bp-tooltip:after,
|
4781 |
.notification-actions .bp-tooltip:after,
|
4782 |
.participants-list .bp-tooltip:after {
|
4786 |
transform: translate(0, 0);
|
4787 |
}
|
4788 |
|
4789 |
+
.bp-invites-content .bp-tooltip:after,
|
4790 |
+
.message-metadata .actions .bp-tooltip:after,
|
4791 |
+
.single-message-thread-header .actions .bp-tooltip:after {
|
4792 |
left: auto;
|
4793 |
right: 0;
|
4794 |
-webkit-transform: translate(0, 0);
|
4796 |
transform: translate(0, 0);
|
4797 |
}
|
4798 |
|
4799 |
+
.bp-invites-content #send-invites-editor .bp-tooltip:after {
|
4800 |
+
left: 0;
|
4801 |
+
right: auto;
|
4802 |
+
}
|
4803 |
+
|
4804 |
/**
|
4805 |
*-------------------------------------------------------------------------------
|
4806 |
* @section 9.0 - Layout classes
|
5121 |
}
|
5122 |
|
5123 |
@media screen and (min-width: 46.8em) {
|
5124 |
+
.bp-single-vert-nav .bp-navs.vertical {
|
5125 |
overflow: visible;
|
5126 |
}
|
5127 |
+
.bp-single-vert-nav .bp-navs.vertical ul {
|
5128 |
border-right: 1px solid #d6d6d6;
|
5129 |
+
border-bottom: 0;
|
5130 |
float: left;
|
5131 |
margin-right: -1px;
|
5132 |
width: 25%;
|
5133 |
}
|
5134 |
+
.bp-single-vert-nav .bp-navs.vertical li {
|
5135 |
float: none;
|
5136 |
+
margin-right: 0;
|
5137 |
}
|
5138 |
+
.bp-single-vert-nav .bp-navs.vertical li.selected a {
|
5139 |
background: #ccc;
|
5140 |
color: #333;
|
5141 |
}
|
5142 |
+
.bp-single-vert-nav .bp-navs.vertical li:focus, .bp-single-vert-nav .bp-navs.vertical li:hover {
|
5143 |
background: #ccc;
|
5144 |
}
|
5145 |
+
.bp-single-vert-nav .bp-navs.vertical li span {
|
5146 |
background: #d6d6d6;
|
5147 |
border-radius: 10%;
|
5148 |
float: right;
|
5149 |
margin-right: 2px;
|
5150 |
}
|
5151 |
+
.bp-single-vert-nav .bp-navs.vertical li:hover span {
|
5152 |
border-color: #eaeaea;
|
5153 |
}
|
5154 |
+
.bp-single-vert-nav .bp-navs.vertical.tabbed-links li.selected a {
|
5155 |
+
padding-left: 0;
|
5156 |
+
}
|
5157 |
.bp-single-vert-nav .bp-wrap {
|
5158 |
margin-bottom: 15px;
|
5159 |
}
|
bp-templates/bp-nouveau/css/buddypress.min.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
body #buddypress * a{box-shadow:none;text-decoration:none}body #buddypress #item-body blockquote,body #buddypress .bp-lists blockquote{margin-left:10px}body #buddypress .bp-list .action{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media screen and (min-width:46.8em){body.buddypress .entry-content,body.buddypress .entry-header,body.buddypress .site-content .entry-header{max-width:none}body.buddypress .entry-header{float:none;max-width:none}body.buddypress .entry-content{float:none;max-width:none}body.buddypress .site-content{padding-top:2.5em}body.buddypress #page #primary{max-width:none}body.buddypress #page #primary .entry-content,body.buddypress #page #primary .entry-header{float:none;width:auto}}body.buddypress .buddypress-wrap h1,body.buddypress .buddypress-wrap h2,body.buddypress .buddypress-wrap h3,body.buddypress .buddypress-wrap h4,body.buddypress .buddypress-wrap h5,body.buddypress .buddypress-wrap h6{clear:none;margin:1em 0;padding:0}.bp-wrap:after,.bp-wrap:before{content:" ";display:table}.bp-wrap:after{clear:both}.buddypress-wrap.round-avatars .avatar{border-radius:50%}div,dl,input[type=reset],input[type=search],input[type=submit],li,select,textarea{-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box}body.buddypress article.page>.entry-header{margin-bottom:2em;padding:0}body.buddypress article.page>.entry-header .entry-title{font-size:28px;font-weight:inherit;color:#767676}@media screen and (min-width:46.8em){body.buddypress article.page>.entry-header .entry-title{font-size:34px}}.buddypress-wrap dt.section-title{font-size:18px}@media screen and (min-width:46.8em){.buddypress-wrap dt.section-title{font-size:22px}}.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:16px}}.buddypress-wrap .activity-header{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-header{font-size:16px}}.buddypress-wrap .activity-inner{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-inner{font-size:18px}}.buddypress-wrap #whats-new-post-in{font-size:16px}.buddypress-wrap .acomment-meta,.buddypress-wrap .mini .activity-header{font-size:16px}.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:16px}}.buddypress-wrap .bp-tables-user th{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user th{font-size:16px}}.buddypress-wrap .bp-tables-user td{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user td{font-size:14px}}.buddypress-wrap .profile-fields th{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields th{font-size:18px}}.buddypress-wrap .profile-fields td{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields td{font-size:16px}}.buddypress-wrap #notification-select{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap #notification-select{font-size:14px}}.bp-navs{background:0 0;clear:both;overflow:hidden}.bp-navs ul{margin:0;padding:0}.bp-navs ul li{list-style:none;margin:0}.bp-navs ul li.last select{max-width:185px}.bp-navs ul li a,.bp-navs ul li span{border:0;display:block;padding:5px 10px;text-decoration:none}.bp-navs ul li .count{background:#eaeaea;border:1px solid #ccc;border-radius:50%;color:#555;display:inline;font-size:12px;margin-left:2px;padding:3px 6px;text-align:center;vertical-align:middle}.bp-navs ul li.current a,.bp-navs ul li.selected a{color:#333;opacity:1}.bp-navs.bp-invites-filters ul li a,.bp-navs.bp-messages-filters ul li a{border:1px solid #ccc;display:inline-block}.main-navs.dir-navs{margin-bottom:20px}.buddypress-wrap .bp-navs li a:hover a .count,.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count{background-color:#ccc}.buddypress-wrap .bp-navs li:not(.current) a:focus,.buddypress-wrap .bp-navs li:not(.current) a:hover,.buddypress-wrap .bp-navs li:not(.selected) a:focus,.buddypress-wrap .bp-navs li:not(.selected) a:hover{background:#ccc;color:#333}.buddypress-wrap .bp-navs li.current a,.buddypress-wrap .bp-navs li.current a:focus,.buddypress-wrap .bp-navs li.current a:hover,.buddypress-wrap .bp-navs li.selected a,.buddypress-wrap .bp-navs li.selected a:focus,.buddypress-wrap .bp-navs li.selected a:hover{background:#555;color:#fafafa}.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.current a:focus .count,.buddypress-wrap .bp-navs li.current a:hover .count,.buddypress-wrap .bp-navs li.selected a .count,.buddypress-wrap .bp-navs li.selected a:focus .count,.buddypress-wrap .bp-navs li.selected a:hover .count{border-color:#fafafa}@media screen and (min-width:46.8em){.buddypress-wrap .main-navs:not(.dir-navs) li.current a,.buddypress-wrap .main-navs:not(.dir-navs) li.selected a{background:#fff;color:#333;font-weight:600}.buddypress-wrap .main-navs.vertical li.current a,.buddypress-wrap .main-navs.vertical li.selected a{background:#555;color:#fafafa;text-decoration:none}.buddypress-wrap.bp-dir-hori-nav nav:not(".tabbed-links"){border-bottom:1px solid #eee;border-top:1px solid #eee;-webkit-box-shadow:0 2px 12px 0 #fafafa;-moz-box-shadow:0 2px 12px 0 #fafafa;box-shadow:0 2px 12px 0 #fafafa}}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.selected a{background:#fff;color:#333;font-weight:600}@media screen and (max-width:46.8em){.buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li{background:#eaeaea}}.buddypress-wrap:not(.bp-single-vert-nav) .main-navs>ul>li>a{padding:.5em calc(.5em + 2px)}.buddypress-wrap:not(.bp-single-vert-nav) .group-subnav#subsubnav,.buddypress-wrap:not(.bp-single-vert-nav) .user-subnav#subsubnav{background:0 0}.buddypress-wrap .bp-subnavs,.buddypress-wrap ul.subnav{width:100%}.buddypress-wrap .bp-subnavs{margin:10px 0;overflow:hidden}.buddypress-wrap .bp-subnavs ul li{margin-top:0}.buddypress-wrap .bp-subnavs ul li.current :focus,.buddypress-wrap .bp-subnavs ul li.current :hover,.buddypress-wrap .bp-subnavs ul li.selected :focus,.buddypress-wrap .bp-subnavs ul li.selected :hover{background:0 0;color:#333}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap .bp-navs.bp-invites-filters#subsubnav ul li.last,.buddypress-wrap .bp-navs.bp-invites-nav#subnav ul li.last,.buddypress-wrap .bp-navs.bp-messages-filters#subsubnav ul li.last{margin-top:0}@media screen and (max-width:46.8em){.buddypress-wrap .single-screen-navs{border:1px solid #eee}.buddypress-wrap .single-screen-navs li{border-bottom:1px solid #eee}.buddypress-wrap .single-screen-navs li:last-child{border-bottom:none}.buddypress-wrap .bp-subnavs li a{font-size:14px}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.current a:focus,.buddypress-wrap .bp-subnavs li.current a:hover,.buddypress-wrap .bp-subnavs li.selected a,.buddypress-wrap .bp-subnavs li.selected a:focus,.buddypress-wrap .bp-subnavs li.selected a:hover{background:#555;color:#fff}}.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count,.buddypress_object_nav .bp-navs li.current a .count,.buddypress_object_nav .bp-navs li.selected a .count{background-color:#fff}.buddypress-wrap .bp-navs li.dynamic a .count,.buddypress-wrap .bp-navs li.dynamic.current a .count,.buddypress-wrap .bp-navs li.dynamic.selected a .count,.buddypress_object_nav .bp-navs li.dynamic a .count,.buddypress_object_nav .bp-navs li.dynamic.current a .count,.buddypress_object_nav .bp-navs li.dynamic.selected a .count{background-color:#5087e5;border:0;color:#fafafa}.buddypress-wrap .bp-navs li.dynamic a:hover .count,.buddypress_object_nav .bp-navs li.dynamic a:hover .count{background-color:#5087e5;border:0;color:#fff}.buddypress-wrap .bp-navs li a .count:empty,.buddypress_object_nav .bp-navs li a .count:empty{display:none}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current),.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current){color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:hover{background:0 0;color:#333}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li.current a,.buddypress_object_nav .bp-navs.group-create-links ul li.current a{text-align:center}@media screen and (min-width:46.8em){.buddypress-wrap .bp-navs li{float:left}.buddypress-wrap .subnav{float:left}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap #subsubnav .activity-search{float:left}.buddypress-wrap #subsubnav .filter{float:right}}.buddypress_object_nav .bp-navs li a .count{display:inline-block;float:right}@media screen and (min-width:46.8em){.bp-dir-vert-nav .bp-navs.dir-navs{background:0 0}.bp-dir-vert-nav .bp-navs.dir-navs a .count{float:right}}@media screen and (min-width:46.8em){.buddypress-wrap .item-body .tabbed-links ol,.buddypress-wrap .item-body .tabbed-links ul{border-bottom:1px solid #ccc;float:none;margin:20px 0 10px}.buddypress-wrap .item-body .tabbed-links ol:after,.buddypress-wrap .item-body .tabbed-links ol:before,.buddypress-wrap .item-body .tabbed-links ul:after,.buddypress-wrap .item-body .tabbed-links ul:before{content:" ";display:block}.buddypress-wrap .item-body .tabbed-links ol:after,.buddypress-wrap .item-body .tabbed-links ul:after{clear:both}.buddypress-wrap .item-body .tabbed-links ol li,.buddypress-wrap .item-body .tabbed-links ul li{float:left;list-style:none;margin:0 10px 0 0}.buddypress-wrap .item-body .tabbed-links ol li a,.buddypress-wrap .item-body .tabbed-links ol li span,.buddypress-wrap .item-body .tabbed-links ul li a,.buddypress-wrap .item-body .tabbed-links ul li span{background:0 0;border:none;display:block;padding:4px 10px}.buddypress-wrap .item-body .tabbed-links ol li a:focus,.buddypress-wrap .item-body .tabbed-links ol li a:hover,.buddypress-wrap .item-body .tabbed-links ul li a:focus,.buddypress-wrap .item-body .tabbed-links ul li a:hover{background:0 0}.buddypress-wrap .item-body .tabbed-links ol li.current,.buddypress-wrap .item-body .tabbed-links ul li.current{border-color:#ccc #ccc #fff;border-style:solid;border-top-left-radius:4px;border-top-right-radius:4px;border-width:1px;margin-bottom:-1px;padding:0 .5em 1px}.buddypress-wrap .item-body .tabbed-links ol li.current a,.buddypress-wrap .item-body .tabbed-links ul li.current a{color:#333}.buddypress-wrap .item-body .bp-subnavs.tabbed-links>ul{margin-top:0}.buddypress-wrap .item-body .bp-navs.tabbed-links{background:0 0;margin-top:2px}.buddypress-wrap .item-body .bp-navs.tabbed-links ul li a{border-right:0;font-size:inherit}.buddypress-wrap .item-body .bp-navs.tabbed-links ul li.last{float:right;margin:0}.buddypress-wrap .item-body .bp-navs.tabbed-links ul li.last a{margin-top:-.5em}.buddypress-wrap .item-body .bp-navs.tabbed-links ul li a,.buddypress-wrap .item-body .bp-navs.tabbed-links ul li a:focus,.buddypress-wrap .item-body .bp-navs.tabbed-links ul li a:hover,.buddypress-wrap .item-body .bp-navs.tabbed-links ul li.current a,.buddypress-wrap .item-body .bp-navs.tabbed-links ul li.current a:focus,.buddypress-wrap .item-body .bp-navs.tabbed-links ul li.current a:hover{background:0 0;border:0}.buddypress-wrap .item-body .bp-navs.tabbed-links ul li a:active,.buddypress-wrap .item-body .bp-navs.tabbed-links ul li.current a:active{outline:0}}.buddypress-wrap .dir-component-filters .filter label{display:inline}.buddypress-wrap .subnav-filters:after,.buddypress-wrap .subnav-filters:before{content:" ";display:table}.buddypress-wrap .subnav-filters:after{clear:both}.buddypress-wrap .subnav-filters{background:0 0;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .subnav-filters div{margin:0}.buddypress-wrap .subnav-filters>ul{float:left;list-style:none}.buddypress-wrap .subnav-filters.bp-messages-filters ul{width:100%}.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:1em}@media screen and (min-width:46.8em){.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:0}}.buddypress-wrap .subnav-filters div{float:none}.buddypress-wrap .subnav-filters div input[type=search],.buddypress-wrap .subnav-filters div select{font-size:16px}.buddypress-wrap .subnav-filters div button.nouveau-search-submit{padding:5px .8em 6px}.buddypress-wrap .subnav-filters div button#user_messages_search_submit{padding:7px .8em}.buddypress-wrap .subnav-filters .component-filters{margin-top:10px}.buddypress-wrap .subnav-filters .feed{margin-right:15px}.buddypress-wrap .subnav-filters .last.filter label{display:inline}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:before{content:" ";display:table}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after{clear:both}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-show{display:inline-block}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-hide{display:none}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap{border:0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:focus,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:hover{outline:1px solid #d6d6d6}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions{float:left}.buddypress-wrap .subnav-filters .user-messages-bulk-actions label{display:inline-block;font-weight:300;margin-right:25px;padding:5px 0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions div select{-webkit-appearance:textfield}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply{border:0;border-radius:none;font-weight:400;line-height:1.8;margin:0 0 0 10px;padding:3px 5px;text-align:center;text-transform:none;width:auto}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply span{vertical-align:middle}@media screen and (min-width:32em){.buddypress-wrap .subnav-filters li{margin-bottom:0}.buddypress-wrap .subnav-filters .bp-search,.buddypress-wrap .subnav-filters .dir-search,.buddypress-wrap .subnav-filters .feed,.buddypress-wrap .subnav-filters .group-act-search,.buddypress-wrap .subnav-filters .group-invites-search,.buddypress-wrap .subnav-filters .subnav-search,.buddypress-wrap .subnav-filters .subnav-search form,.buddypress-wrap .subnav-filters .user-messages-bulk-actions,.buddypress-wrap .subnav-filters .user-messages-search{float:left}.buddypress-wrap .subnav-filters .component-filters,.buddypress-wrap .subnav-filters .last{float:right;margin-top:0;width:auto}.buddypress-wrap .subnav-filters .component-filters select,.buddypress-wrap .subnav-filters .last select{max-width:250px}.buddypress-wrap .subnav-filters .user-messages-search{float:right}}.buddypress-wrap .notifications-options-nav input#notification-bulk-manage{border:0;border-radius:0;line-height:1.6}.buddypress-wrap .bp-pagination{background:0 0;border:0;color:#767676;float:left;font-size:small;margin:0;padding:.5em 0;position:relative;width:100%}.buddypress-wrap .bp-pagination .pag-count{float:left}.buddypress-wrap .bp-pagination .bp-pagination-links{float:right;margin-right:10px}.buddypress-wrap .bp-pagination .bp-pagination-links a,.buddypress-wrap .bp-pagination .bp-pagination-links span{font-size:small;padding:0 5px}.buddypress-wrap .bp-pagination .bp-pagination-links a:focus,.buddypress-wrap .bp-pagination .bp-pagination-links a:hover{opacity:1}.buddypress-wrap .bp-pagination p{margin:0}.bp-list:after,.bp-list:before{content:" ";display:table}.bp-list:after{clear:both}.bp-list{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #eaeaea;clear:both;list-style:none;margin:20px 0;padding:.5em 0;width:100%}.bp-list li:after,.bp-list li:before{content:" ";display:table}.bp-list li:after{clear:both}.bp-list>li{border-bottom:1px solid #eaeaea}.bp-list li{list-style:none;margin:10px 0;padding:.5em 0;position:relative}.bp-list li .item-avatar{text-align:center}.bp-list li .item-avatar img.avatar{display:inline}.bp-list li .item .group-details,.bp-list li .item .item-avatar,.bp-list li .item .item-meta,.bp-list li .item .list-title{text-align:center}.bp-list li .item .list-title{clear:none;font-size:22px;font-weight:400;line-height:1.1;margin:0 auto}@media screen and (min-width:46.8em){.bp-list li .item .list-title{font-size:26px}}.bp-list li .item-meta,.bp-list li .meta{color:#737373;font-size:12px;margin-top:10px}.bp-list li .last-post{text-align:center}.bp-list li .action{margin:0;text-align:center}.bp-list li .action .generic-button{display:inline-block;font-size:12px;margin:0 10px 0 0}.bp-list li .action div.generic-button{margin:10px 0}@media screen and (min-width:46.8em){.bp-list li .item-avatar{float:left;margin-right:5%}.bp-list li .item{margin:0;overflow:hidden}.bp-list li .item .item-block{float:left;margin-right:2%;width:50%}.bp-list li .item .item-meta,.bp-list li .item .list-title{float:left;text-align:left}.bp-list li .item .group-details,.bp-list li .item .last-post{text-align:left}.bp-list li .group-desc,.bp-list li .last-post,.bp-list li .user-update{clear:none;overflow:hidden;width:auto}.bp-list li .action{clear:left;padding:0;text-align:left}.bp-list li .action li.generic-button{margin-right:0}.bp-list li .action div.generic-button{margin:0 0 10px}.bp-list li .generic-button{display:block;margin:0 0 5px 0}}@media screen and (min-width:32em){#activity-stream{clear:both;padding-top:1em}}.activity-list.bp-list{background:#fafafa;border:1px solid #eee}.activity-list.bp-list .activity-item{background:#fff;border:1px solid #b7b7b7;-webkit-box-shadow:0 0 6px #d2d2d2;-moz-box-shadow:0 0 6px #d2d2d2;box-shadow:0 0 6px #d2d2d2;margin:20px 0}.activity-list.bp-list li:first-child{margin-top:0}.friends-request-list .item-title{text-align:center}@media screen and (min-width:46.8em){.friends-request-list li{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row nowrap;-moz-flex-flow:row nowrap;-ms-flex-flow:row nowrap;-o-flex-flow:row nowrap;flex-flow:row nowrap}.friends-request-list li .item{-webkit-flex:1 1 auto;-moz-flex:1 1 auto;-ms-flex:1 1 auto;-o-flex:1 1 auto;flex:1 1 auto}.friends-request-list li .action{text-align:right}.friends-request-list li .item-title{font-size:22px;text-align:left}}#notifications-user-list{clear:both;padding-top:1em}@media screen and (min-width:46.8em){body:not(.logged-in) .bp-list .item{margin-right:0}}.activity-permalink .item-list,.activity-permalink .item-list li.activity-item{border:0}.activity-update-form{padding:10px 10px 0}.item-body .activity-update-form .activity-form{margin:0;padding:0}.activity-update-form{border:1px solid #ccc;-webkit-box-shadow:inset 0 0 6px #eee;-moz-box-shadow:inset 0 0 6px #eee;box-shadow:inset 0 0 6px #eee;margin:15px 0}.activity-update-form #whats-new-avatar{margin:10px 0;text-align:center}.activity-update-form #whats-new-avatar img{display:inline-block}.activity-update-form #whats-new-content{padding:0 0 20px 0}.activity-update-form #whats-new-textarea textarea{background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:#333;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}.activity-update-form #whats-new-textarea textarea:focus{-webkit-box-shadow:0 0 6px 0 #d6d6d6;-moz-box-shadow:0 0 6px 0 #d6d6d6;box-shadow:0 0 6px 0 #d6d6d6}.activity-update-form #whats-new-post-in-box{margin:10px 0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items{list-style:none;margin:10px 0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li{margin-bottom:10px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items #activity-autocomplete{padding:.3em}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center;padding:.2em}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object .avatar{width:30px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object span{padding-left:10px;vertical-align:middle}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:focus,.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:hover{background:#eaeaea;cursor:pointer}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object.selected{border:1px solid #d6d6d6}.activity-update-form #whats-new-submit{margin:15px 0 10px}.activity-update-form #whats-new-submit input{font-size:14px;line-height:inherit;margin-bottom:10px;margin-right:10px;padding:.2em 0;text-align:center;width:100%}@media screen and (min-width:46.8em){.activity-update-form #whats-new-avatar{display:block;float:left;margin:0 10px 0 0}.activity-update-form #whats-new-content,.activity-update-form #whats-new-post-in-box,.activity-update-form #whats-new-submit{margin-left:12%}.activity-update-form #whats-new-submit input{margin-bottom:0;margin-right:10px;width:8em}}.activity-list{padding:.5em}.activity-list .activity-item:after,.activity-list .activity-item:before{content:" ";display:table}.activity-list .activity-item:after{clear:both}.activity-list .activity-item{list-style:none;padding:1em}.activity-list .activity-item.has-comments{padding-bottom:1em}.activity-list .activity-item div.item-avatar{margin:0 auto;text-align:center;width:auto}.activity-list .activity-item div.item-avatar img{max-width:40%}@media screen and (min-width:46.8em){.activity-list .activity-item div.item-avatar{margin:0 2% 0 0;text-align:left;width:15%}.activity-list .activity-item div.item-avatar img{max-width:80%}}.activity-list .activity-item.mini{font-size:13px;position:relative}.activity-list .activity-item.mini .activity-avatar{margin-left:0 auto;text-align:center;width:auto}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:15%}@media screen and (min-width:46.8em){.activity-list .activity-item.mini .activity-avatar{margin-left:15px;text-align:left;width:15%}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:60%}}.activity-list .activity-item.new_forum_post .activity-inner,.activity-list .activity-item.new_forum_topic .activity-inner{border-left:2px solid #eaeaea;margin-left:10px;padding-left:1em}.activity-list .activity-item.newest_blogs_activity,.activity-list .activity-item.newest_friends_activity,.activity-list .activity-item.newest_groups_activity,.activity-list .activity-item.newest_mentions_activity{background:rgba(31,179,221,.1)}.activity-list .activity-item .activity-inreplyto{color:#767676;font-size:13px}.activity-list .activity-item .activity-inreplyto>p{display:inline;margin:0}.activity-list .activity-item .activity-inreplyto .activity-inner,.activity-list .activity-item .activity-inreplyto blockquote{background:0 0;border:0;display:inline;margin:0;overflow:hidden;padding:0}.activity-list .activity-item .activity-header{margin:0 auto;width:80%}.activity-list .activity-item .activity-header a,.activity-list .activity-item .activity-header img{display:inline}.activity-list .activity-item .activity-header .avatar{display:inline-block;margin:0 5px;vertical-align:bottom}.activity-list .activity-item .activity-header .time-since{font-size:14px;color:#767676;text-decoration:none}.activity-list .activity-item .activity-header .time-since:hover{color:#767676;cursor:pointer;text-decoration:underline}.activity-list .activity-item .activity-content .activity-header,.activity-list .activity-item .activity-content .comment-header{color:#767676;margin-bottom:10px}.activity-list .activity-item .activity-content .activity-inner,.activity-list .activity-item .activity-content blockquote{background:#fafafa;margin:15px 0 10px;overflow:hidden;padding:1em}.activity-list .activity-item .activity-content p{margin:0}.activity-list .activity-item .activity-inner p{word-wrap:break-word}.activity-list .activity-item .activity-read-more{margin-left:1em;white-space:nowrap}.activity-list .activity-item ul.activity-meta{margin:0;padding-left:0}.activity-list .activity-item ul.activity-meta li{border:0;display:inline-block}.activity-list .activity-item .activity-meta.action{border:1px solid transparent;background:#fafafa;padding:2px;position:relative;text-align:left}.activity-list .activity-item .activity-meta.action div.generic-button{margin:0}.activity-list .activity-item .activity-meta.action .button{background:0 0}.activity-list .activity-item .activity-meta.action a{padding:4px 8px}.activity-list .activity-item .activity-meta.action .button:focus,.activity-list .activity-item .activity-meta.action .button:hover{background:0 0}.activity-list .activity-item .activity-meta.action .button:before,.activity-list .activity-item .activity-meta.action .icons:before{font-family:dashicons;font-size:18px;vertical-align:middle}.activity-list .activity-item .activity-meta.action .acomment-reply.button:before{content:"\f101"}.activity-list .activity-item .activity-meta.action .view:before{content:"\f125"}.activity-list .activity-item .activity-meta.action .fav:before{content:"\f154"}.activity-list .activity-item .activity-meta.action .unfav:before{content:"\f155"}.activity-list .activity-item .activity-meta.action .delete-activity:before{content:"\f153"}.activity-list .activity-item .activity-meta.action .delete-activity:hover{color:#800}.activity-list .activity-item .activity-meta.action .button{border:0;box-shadow:none}.activity-list .activity-item .activity-meta.action .button span{background:0 0;color:#555;font-weight:700}@media screen and (min-width:46.8em){.activity-list.bp-list{padding:30px}.activity-list .activity-item .activity-content{margin:0;position:relative}.activity-list .activity-item .activity-content:after{clear:both;content:"";display:table}.activity-list .activity-item .activity-header{margin:0 15px 0 0;width:auto}}.buddypress-wrap .activity-list .load-more,.buddypress-wrap .activity-list .load-newest{background:#fafafa;border:1px solid #eee;font-size:110%;margin:15px 0;padding:0;text-align:center}.buddypress-wrap .activity-list .load-more a,.buddypress-wrap .activity-list .load-newest a{color:#555;display:block;padding:.5em 0}.buddypress-wrap .activity-list .load-more a:focus,.buddypress-wrap .activity-list .load-more a:hover,.buddypress-wrap .activity-list .load-newest a:focus,.buddypress-wrap .activity-list .load-newest a:hover{background:#fff;color:#333}.buddypress-wrap .activity-list .load-more:focus,.buddypress-wrap .activity-list .load-more:hover,.buddypress-wrap .activity-list .load-newest:focus,.buddypress-wrap .activity-list .load-newest:hover{border-color:#e1e1e1;-webkit-box-shadow:0 0 6px 0 #eaeaea;-moz-box-shadow:0 0 6px 0 #eaeaea;box-shadow:0 0 6px 0 #eaeaea}body.activity-permalink .activity-list li{border-width:1px;padding:1em 0 0 0}body.activity-permalink .activity-list li:first-child{padding-top:0}body.activity-permalink .activity-list li.has-comments{padding-bottom:0}body.activity-permalink .activity-list .activity-avatar{width:auto}body.activity-permalink .activity-list .activity-avatar a{display:block}body.activity-permalink .activity-list .activity-avatar img{max-width:100%}body.activity-permalink .activity-list .activity-content{border:0;font-size:100%;line-height:1.5;padding:0}body.activity-permalink .activity-list .activity-content .activity-header{margin:0;padding:.5em 0 0 0;text-align:center;width:100%}body.activity-permalink .activity-list .activity-content .activity-inner,body.activity-permalink .activity-list .activity-content blockquote{margin-left:0;margin-top:10px}body.activity-permalink .activity-list .activity-meta{margin:10px 0 10px}body.activity-permalink .activity-list .activity-comments{margin-bottom:10px}@media screen and (min-width:46.8em){body.activity-permalink .activity-list .activity-avatar{left:-20px;margin-right:0;position:relative;top:-20px}body.activity-permalink .activity-list .activity-content{margin-right:10px}body.activity-permalink .activity-list .activity-content .activity-header p{text-align:left}}.buddypress-wrap .activity-comments{clear:both;margin:0 5%;overflow:hidden;position:relative;width:auto}.buddypress-wrap .activity-comments ul{clear:both;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .activity-comments ul li{border-top:1px solid #eee;border-bottom:0;padding:1em 0 0}.buddypress-wrap .activity-comments ul li ul{margin-left:5%}.buddypress-wrap .activity-comments ul li:first-child{border-top:0}.buddypress-wrap .activity-comments ul li:last-child{margin-bottom:0}.buddypress-wrap .activity-comments div.acomment-avatar{width:auto}.buddypress-wrap .activity-comments div.acomment-avatar img{border-width:1px;float:left;height:25px;max-width:none;width:25px}.buddypress-wrap .activity-comments .acomment-content p,.buddypress-wrap .activity-comments .acomment-meta{font-size:14px}.buddypress-wrap .activity-comments .acomment-meta{color:#555;overflow:hidden;padding-left:2%}.buddypress-wrap .activity-comments .acomment-content{border-left:1px solid #ccc;margin:15px 0 0 10%;padding:.5em 1em}.buddypress-wrap .activity-comments .acomment-content p{margin-bottom:.5em}.buddypress-wrap .activity-comments .acomment-options{float:left;margin:10px 0 10px 20px}.buddypress-wrap .activity-comments .acomment-options a{color:#767676;font-size:14px}.buddypress-wrap .activity-comments .acomment-options a:focus,.buddypress-wrap .activity-comments .acomment-options a:hover{color:inherit}.buddypress-wrap .activity-comments .activity-meta.action{background:0 0;margin-top:10px}.buddypress-wrap .activity-comments .activity-meta.action button{font-size:14px;font-weight:400;text-transform:none}.buddypress-wrap .activity-comments .show-all button{font-size:14px;text-decoration:underline;padding-left:.5em}.buddypress-wrap .activity-comments .show-all button span{text-decoration:none}.buddypress-wrap .activity-comments .show-all button:focus span,.buddypress-wrap .activity-comments .show-all button:hover span{color:#5087e5}.buddypress-wrap .mini .activity-comments{clear:both;margin-top:0}body.activity-permalink .activity-comments{background:0 0;width:auto}body.activity-permalink .activity-comments>ul{padding:0 .5em 0 1em}body.activity-permalink .activity-comments ul li>ul{margin-top:10px}form.ac-form{display:none;padding:1em}form.ac-form .ac-reply-avatar{float:left}form.ac-form .ac-reply-avatar img{border:1px solid #eee}form.ac-form .ac-reply-content{color:#767676;padding-left:1em}form.ac-form .ac-reply-content a{text-decoration:none}form.ac-form .ac-reply-content .ac-textarea{margin-bottom:15px;padding:0 .5em;overflow:hidden}form.ac-form .ac-reply-content .ac-textarea textarea{background:0 0;box-shadow:none;color:#555;font-family:inherit;font-size:100%;height:60px;margin:0;outline:0;padding:.5em;width:100%}form.ac-form .ac-reply-content .ac-textarea textarea:focus{-webkit-box-shadow:0 0 6px #d6d6d6;-moz-box-shadow:0 0 6px #d6d6d6;box-shadow:0 0 6px #d6d6d6}form.ac-form .ac-reply-content input{margin-top:10px}.activity-comments li form.ac-form{clear:both;margin-right:15px}.activity-comments form.root{margin-left:0}@media screen and (min-width:46.8em){.buddypress-wrap .blogs-list li .item-block{float:none;width:auto}.buddypress-wrap .blogs-list li .item-meta{clear:left;float:none}}@media screen and (min-width:46.8em){.buddypress-wrap .bp-dir-vert-nav .blogs-list .list-title{width:auto}}.buddypress-wrap .groups-list li .list-title{text-align:center}.buddypress-wrap .groups-list li .group-details{clear:left}.buddypress-wrap .groups-list li .group-desc{border:1px solid #eaeaea;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;border-radius:10px;background-clip:padding-box;font-size:13px;color:#737373;font-style:italic;margin:10px auto 0;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .group-desc{font-size:16px}}.buddypress-wrap .groups-list li p{margin:0 0 .5em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .item{margin-right:0}.buddypress-wrap .groups-list li .item-meta,.buddypress-wrap .groups-list li .list-title{text-align:left;width:auto}.buddypress-wrap .groups-list li .item-meta{margin-bottom:20px}.buddypress-wrap .groups-list li .last-activity{clear:left;margin-top:-20px}}.buddypress-wrap .groups-list li.group-no-avatar div.group-desc{margin-left:0}.buddypress-wrap .mygroups .groups-list.grid .wrap{min-height:450px;padding-bottom:0}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list.grid.four .group-desc,.buddypress-wrap .groups-list.grid.three .group-desc{font-size:14px}}@media screen and (min-width:46.8em){.buddypress .bp-vertical-navs .groups-list .item-avatar{margin-right:3%;width:15%}}.buddypress-wrap .members-list li .member-name{margin-bottom:10px}.buddypress-wrap .members-list li .user-update{border:1px solid #eaeaea;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;border-radius:10px;background-clip:padding-box;color:#737373;font-style:italic;font-size:13px;margin:15px auto;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .user-update{font-size:16px}}.buddypress-wrap .members-list li .user-update .activity-read-more{display:block;font-size:12px;font-style:normal;margin-top:10px;padding-left:2px}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .last-activity{clear:left;margin-top:-10px}}@media screen and (min-width:46.8em){.buddypress-wrap .members-group-list li .joined{clear:left;float:none}}@media screen and (min-width:32em){body:not(.logged-in) .members-list .user-update{width:96%}}.register-page .register-section{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.register-page .signup-form{margin-top:20px}.register-page .signup-form .default-profile input{margin-bottom:20px}.register-page .signup-form label,.register-page .signup-form legend{margin:10px 0 0}.register-page .signup-form .editfield{margin:15px 0}.register-page .signup-form .editfield fieldset{border:0;padding:0}.register-page .signup-form .editfield fieldset legend{margin:0 0 5px;text-indent:0}.register-page .signup-form .editfield .field-visibility-settings{padding:.5em}.register-page .signup-form .editfield .field-visibility-settings fieldset{margin:0 0 10px}.register-page .signup-form #signup-avatar img{margin:0 15px 10px 0}.register-page .signup-form .password-entry,.register-page .signup-form .password-entry-confirm{border:1px solid #eee}@media screen and (min-width:46.8em){.buddypress-wrap .register-page .layout-wrap{display:flex;flex-flow:row wrap;justify-content:space-around}.buddypress-wrap .register-page .layout-wrap .default-profile{flex:1;padding-right:2em}.buddypress-wrap .register-page .layout-wrap .blog-details{flex:1;padding-left:2em}.buddypress-wrap .register-page .submit{clear:both}}@media screen and (min-width:46.8em){.buddypress-wrap.extended-default-reg .register-page .default-profile{flex:1;padding-right:1em}.buddypress-wrap.extended-default-reg .register-page .extended-profile{flex:2;padding-left:1em}.buddypress-wrap.extended-default-reg .register-page .blog-details{flex:1 100%}}#group-create-body{padding:.5em}#group-create-body .creation-step-name{text-align:center}#group-create-body .avatar-nav-items{margin-top:15px}.single-headers:after,.single-headers:before{content:" ";display:table}.single-headers:after{clear:both}.single-headers{margin-bottom:15px}.single-headers #item-header-avatar a{display:block;text-align:center}.single-headers #item-header-avatar a img{float:none}.single-headers div#item-header-content{float:none}@media screen and (min-width:46.8em){.single-headers #item-header-avatar a{text-align:left}.single-headers #item-header-avatar a img{float:left}}.single-headers .activity,.single-headers .group-status{display:inline}.single-headers .group-status{font-size:18px;color:#333;padding-right:1em}.single-headers .activity{display:inline-block;font-size:12px;padding:0}.single-headers #sitewide-notice p,.single-headers div#message p{background-color:#ffd;border:1px solid #cb2;color:#440;font-weight:400;margin-top:3px;text-decoration:none}.single-headers h2{line-height:1.2;margin:0 0 5px}.single-headers h2 a{color:#767676;text-decoration:none}.single-headers h2 span.highlight{display:inline-block;font-size:60%;font-weight:400;line-height:1.7;vertical-align:middle}.single-headers h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-size:80%;font-weight:700;margin-bottom:2px;padding:1px 4px;position:relative;right:-2px;top:-2px;vertical-align:middle}.single-headers img.avatar{float:left;margin:0 15px 19px 0}.single-headers .item-meta{color:#767676;font-size:14px;margin:15px 0 5px;padding-bottom:.5em}.single-headers ul{margin-bottom:15px}.single-headers ul li{float:right;list-style:none}.single-headers div.generic-button{text-align:center}.single-headers li.generic-button{display:inline-block;text-align:center}@media screen and (min-width:46.8em){.single-headers a.button,.single-headers div.generic-button,.single-headers li.generic-button{float:left}}.single-headers a.button,.single-headers div.generic-button{margin:10px 10px 0 0}.single-headers li.generic-button{margin:2px 10px}.single-headers li.generic-button:first-child{margin-left:0}.single-headers div#message.info{line-height:.8}body.no-js .single-item-header .js-self-profile-button{display:none}#cover-image-container{position:relative}#header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#item-header-cover-image{position:relative;z-index:2}#item-header-cover-image #item-header-avatar{padding:0 1em}.groups-header .bp-group-type-list{margin:0}.groups-header .bp-feedback{clear:both}.groups-header .group-item-actions{float:left;margin:0 0 15px 15px;padding-top:0;width:100%}.groups-header .moderators-lists{margin-top:0}.groups-header .moderators-lists .moderators-title{font-size:14px}.groups-header .moderators-lists .user-list{margin:0 0 5px}.groups-header .moderators-lists .user-list ul:after{clear:both;content:"";display:table}.groups-header .moderators-lists .user-list li{display:inline-block;float:none;margin-left:4px;padding:4px}.groups-header .moderators-lists img.avatar{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;float:none;height:30px;margin:0;max-width:100%;width:30px}@media screen and (min-width:46.8em){.groups-header div#item-header-content{float:left;margin-left:10%;text-align:left;padding-top:15px;width:42%}.groups-header .group-item-actions{float:right;margin:0 0 15px 15px;text-align:right;width:20%}.groups-header .groups-meta{clear:both}}.groups-header .desc-wrap{background:#eaeaea;border:1px solid #d6d6d6;margin:0 0 15px;padding:1em;text-align:center}.groups-header .desc-wrap .group-description{background:#fafafa;-webkit-box-shadow:inset 0 0 9px #ccc;-moz-box-shadow:inset 0 0 9px #ccc;box-shadow:inset 0 0 9px #ccc;padding:1em;text-align:left}.bp-user .users-header .user-nicename{margin-bottom:5px}.bp-user .member-header-actions{overflow:hidden}.bp-user .member-header-actions *>*{display:block}.buddypress-wrap .item-body{margin:20px 0}.buddypress-wrap .item-body .screen-heading{font-size:20px;font-weight:400}.buddypress-wrap .item-body .button-tabs{margin:30px 0 15px}.buddypress-wrap.bp-single-vert-nav .bp-list:not(.grid) .item-entry{padding-left:.5em}.single-item.group-members .item-body .filters:not(.no-subnav){border-top:5px solid #eaeaea;padding-top:1em}.single-item.group-members .item-body .filters{margin-top:0}.buddypress-wrap .group-status-type ul{margin:0 0 20px 20px}.groups-manage-members-list{padding:.5em 0}.groups-manage-members-list dd{margin:0;padding:1em 0}.groups-manage-members-list .section-title{background:#eaeaea;padding-left:.3em}.groups-manage-members-list ul{list-style:none;margin-bottom:0}.groups-manage-members-list ul li{border-bottom:1px solid #eee;margin-bottom:10px;padding:.5em .3em .3em}.groups-manage-members-list ul li:last-child,.groups-manage-members-list ul li:only-child{border-bottom:0}.groups-manage-members-list ul li:nth-child(even){background:#fafafa}.groups-manage-members-list ul li.banned-user{background:#fad3d3}.groups-manage-members-list ul .member-name{margin-bottom:0;text-align:center}.groups-manage-members-list ul img{display:block;margin:0 auto;width:20%}@media screen and (min-width:32em){.groups-manage-members-list ul .member-name{text-align:left}.groups-manage-members-list ul img{display:inline;width:50px}}.groups-manage-members-list ul .members-manage-buttons:after,.groups-manage-members-list ul .members-manage-buttons:before{content:" ";display:table}.groups-manage-members-list ul .members-manage-buttons:after{clear:both}.groups-manage-members-list ul .members-manage-buttons{margin:15px 0 5px}.groups-manage-members-list ul .members-manage-buttons a.button{color:#767676;display:block;font-size:13px}@media screen and (min-width:32em){.groups-manage-members-list ul .members-manage-buttons a.button{display:inline-block}}.groups-manage-members-list ul .members-manage-buttons.text-links-list{margin-bottom:0}@media screen and (max-width:32em){.groups-manage-members-list ul .members-manage-buttons.text-links-list a.button{background:#fafafa;border:1px solid #eee;display:block;margin-bottom:10px}}.groups-manage-members-list ul .action:not(.text-links-list) a.button{font-size:12px}@media screen and (min-width:46.8em){.groups-manage-members-list ul li .avatar,.groups-manage-members-list ul li .member-name{float:left}.groups-manage-members-list ul li .avatar{margin-right:15px}.groups-manage-members-list ul li .action{clear:both;float:left}}.buddypress .bp-invites-content ul.item-list{border-top:0}.buddypress .bp-invites-content ul.item-list li{border:1px solid #eaeaea;margin:0 0 1%;padding-left:5px;padding-right:5px;position:relative;width:auto}.buddypress .bp-invites-content ul.item-list li .list-title{text-align:center;width:auto}.buddypress .bp-invites-content ul.item-list li .action{position:absolute;top:10px;right:10px}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button{border:0}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:focus,.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:hover{color:#1fb3dd}.buddypress .bp-invites-content ul.item-list li.selected{-webkit-box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2);-moz-box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2);box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2)}.buddypress .bp-invites-content .group-inviters li,.buddypress .bp-invites-content .item-list .item-meta span{color:#767676}.buddypress .bp-invites-content li ul.group-inviters{clear:both;margin:0;overflow:hidden}.buddypress .bp-invites-content li ul.group-inviters li{border:0;float:left;font-size:20px;width:inherit}.buddypress .bp-invites-content li .status{font-size:20px;font-style:italic;clear:both;color:#555;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor{overflow:hidden}.buddypress .bp-invites-content #send-invites-editor textarea{width:100%}.buddypress .bp-invites-content #send-invites-editor ul{clear:both;list-style:none;margin:10px 0;overflow:hidden}.buddypress .bp-invites-content #send-invites-editor ul li{float:left;margin:.5%;max-height:50px;max-width:50px}.buddypress .bp-invites-content #send-invites-editor .action{margin-top:10px;padding-top:10px}.buddypress .bp-invites-content #send-invites-editor.bp-hide{display:none}@media screen and (min-width:46.8em){.buddypress .bp-invites-content ul.item-list>li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #eaeaea;float:left;padding-left:.5em;padding-right:.5em;width:49.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(odd){margin-right:.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(even){margin-left:.5%}.buddypress .bp-invites-content ul.item-list ul.group-inviters{float:left;width:auto}}.buddypress.groups .activity-update-form{margin-top:0}.buddypress-wrap .profile{margin-top:30px}.buddypress-wrap .public .profile-fields td.label{width:30%}.buddypress-wrap .profile.edit .button-nav{list-style:none;margin:30px 0 10px}.buddypress-wrap .profile.edit .button-nav li{display:inline-block;margin-right:10px}.buddypress-wrap .profile.edit .button-nav li a{font-size:18px}.buddypress-wrap .profile.edit .editfield{background:#fafafa;border:1px solid #eee;margin:15px 0;padding:1em}.buddypress-wrap .profile.edit .editfield fieldset{border:0}.buddypress-wrap .profile.edit .editfield fieldset label{font-weight:400}.buddypress-wrap .profile.edit .editfield fieldset label.xprofile-field-label{display:inline}.buddypress-wrap .profile.edit .editfield{display:flex;flex-direction:column}.buddypress-wrap .profile.edit .editfield .description{margin-top:10px;order:2}.buddypress-wrap .profile.edit .editfield>fieldset{order:1}.buddypress-wrap .profile.edit .editfield .field-visibility-settings,.buddypress-wrap .profile.edit .editfield .field-visibility-settings-toggle{order:3}body.no-js .buddypress-wrap .field-visibility-settings-close,body.no-js .buddypress-wrap .field-visibility-settings-toggle{display:none}body.no-js .buddypress-wrap .field-visibility-settings{display:block}.buddypress-wrap .field-visibility-settings{margin:10px 0}.buddypress-wrap .current-visibility-level{font-style:normal;font-weight:700}.buddypress-wrap .field-visibility-settings,.buddypress-wrap .field-visibility-settings-header{color:#737373}.buddypress-wrap .field-visibility-settings fieldset{margin:5px 0}.buddypress-wrap .standard-form .editfield fieldset{margin:0}.buddypress-wrap .standard-form .field-visibility-settings label{font-weight:400;margin:0}.buddypress-wrap .standard-form .field-visibility-settings .radio{list-style:none;margin-bottom:0}.buddypress-wrap .standard-form .field-visibility-settings .field-visibility-settings-close{font-size:12px}.buddypress-wrap .standard-form .wp-editor-container{border:1px solid #dedede}.buddypress-wrap .standard-form .wp-editor-container textarea{background:#fff;width:100%}.buddypress-wrap .standard-form .description{background:#fafafa;font-size:inherit}.buddypress-wrap .standard-form .field-visibility-settings legend,.buddypress-wrap .standard-form .field-visibility-settings-header{font-style:italic}.buddypress-wrap .standard-form .field-visibility-settings-header{font-size:14px}.buddypress-wrap .standard-form .field-visibility-settings label,.buddypress-wrap .standard-form .field-visibility-settings legend{font-size:14px}.buddypress-wrap .standard-form .field-visibility select{margin:0}.buddypress-wrap .html-active button.switch-html{background:#f5f5f5;border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.buddypress-wrap .tmce-active button.switch-tmce{background:#f5f5f5;border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.buddypress-wrap .profile.public .profile-group-title{border-bottom:1px solid #ccc}body.register .buddypress-wrap .page ul{list-style:none}.buddypress-wrap .profile .bp-avatar-nav{margin-top:20px}.message-action-delete:before,.message-action-star:before,.message-action-unstar:before,.message-action-view:before{font-family:dashicons;font-size:18px}.message-action-star:before{color:#aaa;content:"\f154"}.message-action-unstar:before{color:#fcdd77;content:"\f155"}.message-action-view:before{content:"\f473"}.message-action-delete:before{content:"\f153"}.message-action-delete:hover:before{color:#a00}.preview-content .actions a{text-decoration:none}.bp-messages-content{margin:15px 0}.bp-messages-content .avatar{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.bp-messages-content .thread-participants{list-style:none}.bp-messages-content .thread-participants dd{margin-left:0}.bp-messages-content time{color:#737373;font-size:12px}#message-threads{border-top:1px solid #eaeaea;clear:both;list-style:none;margin:0;max-height:220px;overflow-x:hidden;overflow-y:auto;padding:0;width:100%}#message-threads li{border-bottom:1px solid #eaeaea;display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row nowrap;-moz-flex-flow:row nowrap;-ms-flex-flow:row nowrap;-o-flex-flow:row nowrap;flex-flow:row nowrap;margin:0;overflow:hidden;padding:.5em 0}#message-threads li .thread-cb{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center;-webkit-flex:1 2 5%;-moz-flex:1 2 5%;-ms-flex:1 2 5%;-o-flex:1 2 5%;flex:1 2 5%}#message-threads li .thread-from{-webkit-flex:1 2 20%;-moz-flex:1 2 20%;-ms-flex:1 2 20%;-o-flex:1 2 20%;flex:1 2 20%}#message-threads li .thread-from img.avatar{float:left;margin:0 10px 0 0}#message-threads li .thread-from .user-name{display:inline-block;line-height:1.1}#message-threads li .thread-content{-webkit-flex:1 2 60%;-moz-flex:1 2 60%;-ms-flex:1 2 60%;-o-flex:1 2 60%;flex:1 2 60%}#message-threads li .thread-date{-webkit-flex:1 2 15%;-moz-flex:1 2 15%;-ms-flex:1 2 15%;-o-flex:1 2 15%;flex:1 2 15%}#message-threads li.selected{background-color:#fafafa}#message-threads li.selected .thread-subject .subject{color:#5087e5}#message-threads li .thread-content{cursor:pointer}#message-threads li .thread-content .excerpt{color:#737373;font-size:12px;margin:0}#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject{font-size:13px}@media screen and (min-width:46.8em){#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject{font-size:16px}}#message-threads li .thread-content .thread-subject{vertical-align:top}#message-threads li .thread-content .thread-subject .excerpt{font-weight:400}#message-threads li .thread-date{padding-right:5px;text-align:right}.bp-messages-content .actions{float:right;max-width:30%}.bp-messages-content .actions .bp-icons{display:inline-block;margin:0;padding:.3em .5em}.bp-messages-content .actions .bp-icons:before{font-size:26px}.bp-messages-content #thread-preview{border:1px solid #eaeaea;margin-top:20px}.bp-messages-content #thread-preview .preview-message{clear:both}.bp-messages-content #thread-preview .preview-content{margin:.5em}.bp-messages-content #thread-preview .preview-content .preview-message{background:#fafafa;margin:10px 0;padding:1em .3em .3em}.bp-messages-content #bp-message-thread-list{border-top:1px solid #eaeaea;clear:both;list-style:none;padding:1em 0 .3em}.bp-messages-content #bp-message-thread-list li{padding:.5em}.bp-messages-content #bp-message-thread-list li:nth-child(2n) .message-content{background:#fafafa}.bp-messages-content #bp-message-thread-list .message-metadata{border-bottom:1px solid #ccc;-webkit-box-shadow:-2px 1px 9px 0 #eee;-moz-box-shadow:-2px 1px 9px 0 #eee;box-shadow:-2px 1px 9px 0 #eee;overflow:hidden;padding:.2em}.bp-messages-content #bp-message-thread-list .message-metadata .avatar{width:30px}.bp-messages-content #bp-message-thread-list .message-metadata .user-link{display:block;font-size:13px;float:left}@media screen and (min-width:46.8em){.bp-messages-content #bp-message-thread-list .message-metadata .user-link{font-size:16px}}.bp-messages-content #bp-message-thread-list .message-metadata time{color:#737373;font-size:12px;padding:0 .5em}.bp-messages-content #bp-message-thread-list .message-metadata button{padding:0 .3em}.bp-messages-content #bp-message-thread-list .message-metadata button:before{font-size:20px}.bp-messages-content #bp-message-thread-list .message-content{clear:both;margin:1em auto 0;width:90%}.bp-messages-content #bp-message-thread-list img.avatar{float:left;margin:0 10px 0 0}.bp-messages-content #bp-message-thread-list .actions a:before{font-size:18px}.bp-messages-content form.send-reply .avatar-box{padding:.5em 0}.bp-messages-content .preview-pane-header,.bp-messages-content .single-message-thread-header{border-bottom:1px solid #eaeaea}.bp-messages-content .preview-pane-header:after,.bp-messages-content .single-message-thread-header:after{clear:both;content:"";display:table}.bp-messages-content .preview-thread-title,.bp-messages-content .single-thread-title{font-size:16px}.bp-messages-content .preview-thread-title .messages-title,.bp-messages-content .single-thread-title .messages-title{padding-left:2em}.bp-messages-content .thread-participants{float:left;margin:5px 0;width:70%}.bp-messages-content .thread-participants dd,.bp-messages-content .thread-participants ul{margin-bottom:10px}.bp-messages-content .thread-participants ul{list-style:none}.bp-messages-content .thread-participants ul:after{clear:both;content:"";display:table}.bp-messages-content .thread-participants li{float:left;margin-left:5px}.bp-messages-content .thread-participants img{width:30px}.bp-messages-content #bp-message-thread-list li .message-content blockquote,.bp-messages-content #bp-message-thread-list li .message-content ol,.bp-messages-content #bp-message-thread-list li .message-content ul,.bp-messages-content #thread-preview .preview-message blockquote,.bp-messages-content #thread-preview .preview-message ol,.bp-messages-content #thread-preview .preview-message ul{list-style-position:inside;margin-left:0}.bp-messages-content #thread-preview:empty,.bp-messages-content ul#message-threads:empty{display:none}.bp-messages-content #bp-message-thread-header h2:first-child,.bp-messages-content #thread-preview h2:first-child{background-color:#eaeaea;color:#555;font-weight:700;margin:0;padding:.5em}.bp-messages-content #bp-message-thread-list li a.user-link,.bp-messages-content #message-threads .thread-content a{border:0;text-decoration:none}.bp-messages-content .standard-form #subject{margin-bottom:20px}div.bp-navs#subsubnav.bp-messages-filters .user-messages-bulk-actions{margin-right:15px;max-width:42.5%}.buddypress.settings .profile-settings.bp-tables-user select{width:100%}.buddypress-wrap #whats-new-post-in-box select,.buddypress-wrap .filter select{border:1px solid #d6d6d6}.buddypress-wrap input.action[disabled]{cursor:pointer;opacity:.4}.buddypress-wrap #notification-bulk-manage[disabled]{display:none}.buddypress-wrap fieldset legend{font-size:inherit;font-weight:600}.buddypress-wrap input[type=email]:focus,.buddypress-wrap input[type=password]:focus,.buddypress-wrap input[type=tel]:focus,.buddypress-wrap input[type=text]:focus,.buddypress-wrap input[type=url]:focus,.buddypress-wrap textarea:focus{-webkit-box-shadow:0 0 8px #eaeaea;-moz-box-shadow:0 0 8px #eaeaea;box-shadow:0 0 8px #eaeaea}.buddypress-wrap select{height:auto}.buddypress-wrap textarea{resize:vertical}.buddypress-wrap .standard-form .bp-controls-wrap{margin:1em 0}.buddypress-wrap .standard-form .groups-members-search input[type=search],.buddypress-wrap .standard-form .groups-members-search input[type=text],.buddypress-wrap .standard-form [data-bp-search] input[type=search],.buddypress-wrap .standard-form [data-bp-search] input[type=text],.buddypress-wrap .standard-form input[type=color],.buddypress-wrap .standard-form input[type=date],.buddypress-wrap .standard-form input[type=datetime-local],.buddypress-wrap .standard-form input[type=datetime],.buddypress-wrap .standard-form input[type=email],.buddypress-wrap .standard-form input[type=month],.buddypress-wrap .standard-form input[type=number],.buddypress-wrap .standard-form input[type=password],.buddypress-wrap .standard-form input[type=range],.buddypress-wrap .standard-form input[type=search],.buddypress-wrap .standard-form input[type=tel],.buddypress-wrap .standard-form input[type=text],.buddypress-wrap .standard-form input[type=time],.buddypress-wrap .standard-form input[type=url],.buddypress-wrap .standard-form input[type=week],.buddypress-wrap .standard-form select,.buddypress-wrap .standard-form textarea{background:#fafafa;border:1px solid #d6d6d6;border-radius:0;font:inherit;font-size:100%;padding:.5em}.buddypress-wrap .standard-form input[required],.buddypress-wrap .standard-form select[required],.buddypress-wrap .standard-form textarea[required]{box-shadow:none;border-width:2px;outline:0}.buddypress-wrap .standard-form input[required]:invalid,.buddypress-wrap .standard-form select[required]:invalid,.buddypress-wrap .standard-form textarea[required]:invalid{border-color:#b71717}.buddypress-wrap .standard-form input[required]:valid,.buddypress-wrap .standard-form select[required]:valid,.buddypress-wrap .standard-form textarea[required]:valid{border-color:#91cc2c}.buddypress-wrap .standard-form input[required]:focus,.buddypress-wrap .standard-form select[required]:focus,.buddypress-wrap .standard-form textarea[required]:focus{border-color:#d6d6d6;border-width:1px}.buddypress-wrap .standard-form input.invalid[required],.buddypress-wrap .standard-form select.invalid[required],.buddypress-wrap .standard-form textarea.invalid[required]{border-color:#b71717}.buddypress-wrap .standard-form input:not(.button-small),.buddypress-wrap .standard-form textarea{width:100%}.buddypress-wrap .standard-form input[type=checkbox],.buddypress-wrap .standard-form input[type=radio]{margin-right:5px;width:auto}.buddypress-wrap .standard-form select{padding:3px}.buddypress-wrap .standard-form textarea{height:120px}.buddypress-wrap .standard-form textarea#message_content{height:200px}.buddypress-wrap .standard-form input[type=password]{margin-bottom:5px}.buddypress-wrap .standard-form input:focus,.buddypress-wrap .standard-form select:focus,.buddypress-wrap .standard-form textarea:focus{background:#fafafa;color:#555;outline:0}.buddypress-wrap .standard-form label,.buddypress-wrap .standard-form span.label{display:block;font-weight:600;margin:15px 0 5px;width:auto}.buddypress-wrap .standard-form a.clear-value{display:block;margin-top:5px;outline:0}.buddypress-wrap .standard-form .submit{clear:both;padding:15px 0 0}.buddypress-wrap .standard-form p.submit{margin-bottom:0}.buddypress-wrap .standard-form div.submit input{margin-right:15px}.buddypress-wrap .standard-form #invite-list label,.buddypress-wrap .standard-form p label{font-weight:400;margin:auto}.buddypress-wrap .standard-form p.description{color:#737373;margin:5px 0}.buddypress-wrap .standard-form div.checkbox label:nth-child(n+2),.buddypress-wrap .standard-form div.radio div label{color:#737373;font-size:100%;font-weight:400;margin:5px 0 0}.buddypress-wrap .standard-form#send-reply textarea{width:97.5%}.buddypress-wrap .standard-form#sidebar-login-form label{margin-top:5px}.buddypress-wrap .standard-form#sidebar-login-form input[type=password],.buddypress-wrap .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}.buddypress-wrap .standard-form.profile-edit input:focus{background:#fff}@media screen and (min-width:46.8em){.buddypress-wrap .standard-form .left-menu{float:left}.buddypress-wrap .standard-form #invite-list ul{list-style:none;margin:1%}.buddypress-wrap .standard-form #invite-list ul li{margin:0 0 0 1%}.buddypress-wrap .standard-form .main-column{margin-left:190px}.buddypress-wrap .standard-form .main-column ul#friend-list{clear:none;float:left}.buddypress-wrap .standard-form .main-column ul#friend-list h4{clear:none}}.buddypress-wrap .standard-form .bp-tables-user label{margin:0}.buddypress-wrap .signup-form label,.buddypress-wrap .signup-form legend{font-weight:400}body.no-js .buddypress #delete_inbox_messages,body.no-js .buddypress #delete_sentbox_messages,body.no-js .buddypress #message-type-select,body.no-js .buddypress #messages-bulk-management #select-all-messages,body.no-js .buddypress #notifications-bulk-management #select-all-notifications,body.no-js .buddypress label[for=message-type-select]{display:none}.buddypress-wrap .wp-editor-wrap .wp-editor-wrap button,.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=button],.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=submit],.buddypress-wrap .wp-editor-wrap a.button,.buddypress-wrap .wp-editor-wrap input[type=reset]{padding:0 8px 1px}.buddypress-wrap .select-wrap{border:1px solid #eee}.buddypress-wrap .select-wrap label{display:inline}.buddypress-wrap .select-wrap select::-ms-expand{display:none}.buddypress-wrap .select-wrap select{-moz-appearance:none;-webkit-appearance:none;-o-appearance:none;appearance:none;border:0;cursor:pointer;margin-right:-25px;padding:6px 25px 6px 10px;position:relative;text-indent:-2px;z-index:1;width:100%}.buddypress-wrap .select-wrap select,.buddypress-wrap .select-wrap select:active,.buddypress-wrap .select-wrap select:focus{background:0 0}.buddypress-wrap .select-wrap span.select-arrow{display:inline-block;position:relative;z-index:0}.buddypress-wrap .select-wrap span.select-arrow:before{color:#ccc;content:"\25BC"}.buddypress-wrap .select-wrap:focus .select-arrow:before,.buddypress-wrap .select-wrap:hover .select-arrow:before{color:#a6a6a6}.buddypress-wrap .bp-search form:focus,.buddypress-wrap .bp-search form:hover,.buddypress-wrap .select-wrap:focus,.buddypress-wrap .select-wrap:hover{border:1px solid #d5d4d4;box-shadow:inset 0 0 3px #eee}@media screen and (min-width:32em){.buddypress-wrap .notifications-options-nav .select-wrap{float:left}}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after,.buddypress-wrap .bp-messages-search-form:before{content:" ";display:table}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after{clear:both}.buddypress-wrap form.bp-dir-search-form,.buddypress-wrap form.bp-invites-search-form,.buddypress-wrap form.bp-messages-search-form{border:1px solid #eee;width:100%}@media screen and (min-width:55em){.buddypress-wrap form.bp-dir-search-form,.buddypress-wrap form.bp-invites-search-form,.buddypress-wrap form.bp-messages-search-form{width:15em}}.buddypress-wrap form.bp-dir-search-form label,.buddypress-wrap form.bp-invites-search-form label,.buddypress-wrap form.bp-messages-search-form label{margin:0}.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-invites-search-form button[type=submit],.buddypress-wrap form.bp-invites-search-form input[type=search],.buddypress-wrap form.bp-invites-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text]{background:0 0;border:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;background-clip:padding-box}.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-invites-search-form input[type=search],.buddypress-wrap form.bp-invites-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text]{float:left;line-height:1.5;padding:3px 10px;width:80%}.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-invites-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form button[type=submit]{float:right;font-size:inherit;font-weight:400;line-height:1.5;padding:3px .7em;text-align:center;text-transform:none;width:20%}.buddypress-wrap form.bp-dir-search-form button[type=submit] span,.buddypress-wrap form.bp-invites-search-form button[type=submit] span,.buddypress-wrap form.bp-messages-search-form button[type=submit] span{font-family:dashicons;font-size:18px;line-height:1.6}.buddypress-wrap form.bp-dir-search-form button[type=submit].bp-show,.buddypress-wrap form.bp-invites-search-form button[type=submit].bp-show,.buddypress-wrap form.bp-messages-search-form button[type=submit].bp-show{height:auto;left:0;overflow:visible;position:static;top:0}.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-invites-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-cancel-button{-webkit-appearance:searchfield-cancel-button}.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-invites-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-invites-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-decoration{display:none}.buddypress-wrap ul.filters li form label input{line-height:1.4;padding:.1em .7em}.buddypress-wrap .current-member-type{font-style:italic}.buddypress-wrap .dir-form{clear:both}.budypress.no-js form.bp-dir-search-form button[type=submit]{height:auto;left:0;overflow:visible;position:static;top:0}.bp-user [data-bp-search] form input[type=search],.bp-user [data-bp-search] form input[type=text]{padding:6px 10px 7px}.buddypress-wrap .bp-tables-user,.buddypress-wrap table.forum,.buddypress-wrap table.wp-profile-fields{width:100%}.buddypress-wrap .bp-tables-user thead tr,.buddypress-wrap table.forum thead tr,.buddypress-wrap table.wp-profile-fields thead tr{background:0 0;border-bottom:2px solid #ccc}.buddypress-wrap .bp-tables-user tbody tr,.buddypress-wrap table.forum tbody tr,.buddypress-wrap table.wp-profile-fields tbody tr{background:#fafafa}.buddypress-wrap .bp-tables-user tr td,.buddypress-wrap .bp-tables-user tr th,.buddypress-wrap table.forum tr td,.buddypress-wrap table.forum tr th,.buddypress-wrap table.wp-profile-fields tr td,.buddypress-wrap table.wp-profile-fields tr th{padding:.5em;vertical-align:middle}.buddypress-wrap .bp-tables-user tr td.label,.buddypress-wrap table.forum tr td.label,.buddypress-wrap table.wp-profile-fields tr td.label{border-right:1px solid #eaeaea;font-weight:600;width:25%}.buddypress-wrap .bp-tables-user tr.alt td,.buddypress-wrap table.wp-profile-fields tr.alt td{background:#fafafa}.buddypress-wrap table.profile-fields .data{padding:.5em 1em}.buddypress-wrap table.profile-fields tr:last-child{border-bottom:none}.buddypress-wrap table.notifications td{padding:1em .5em}.buddypress-wrap table.notifications .bulk-select-all,.buddypress-wrap table.notifications .bulk-select-check{width:7%}.buddypress-wrap table.notifications .bulk-select-check{vertical-align:middle}.buddypress-wrap table.notifications .date,.buddypress-wrap table.notifications .notification-description,.buddypress-wrap table.notifications .notification-since,.buddypress-wrap table.notifications .title{width:39%}.buddypress-wrap table.notifications .actions,.buddypress-wrap table.notifications .notification-actions{width:15%}.buddypress-wrap table.notification-settings th.title,.buddypress-wrap table.profile-settings th.title{width:80%}.buddypress-wrap table.notifications .notification-actions a.delete,.buddypress-wrap table.notifications .notification-actions a.mark-read{display:inline-block}.buddypress-wrap table.notification-settings{margin-bottom:15px;text-align:left}.buddypress-wrap #groups-notification-settings{margin-bottom:0}.buddypress-wrap table.notification-settings td:first-child,.buddypress-wrap table.notification-settings th.icon,.buddypress-wrap table.notifications td:first-child,.buddypress-wrap table.notifications th.icon{display:none}.buddypress-wrap table.notification-settings .no,.buddypress-wrap table.notification-settings .yes{text-align:center;width:40px;vertical-align:middle}.buddypress-wrap table#message-threads{clear:both}.buddypress-wrap table#message-threads .thread-info{min-width:40%}.buddypress-wrap table#message-threads .thread-info p{margin:0}.buddypress-wrap table#message-threads .thread-info p.thread-excerpt{color:#737373;font-size:12px;margin-top:3px}.buddypress-wrap table.profile-fields{margin-bottom:20px}.buddypress-wrap table.profile-fields:last-child{margin-bottom:0}.buddypress-wrap table.profile-fields p{margin:0}.buddypress-wrap table.profile-fields p:last-child{margin-top:0}.bp-screen-reader-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.center-vert{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center}.bp-hide{display:none}.bp-show{height:auto;left:0;overflow:visible;position:static;top:0}.buddypress .buddypress-wrap .activity-read-more a,.buddypress .buddypress-wrap .comment-reply-link,.buddypress .buddypress-wrap .generic-button a,.buddypress .buddypress-wrap a.bp-title-button,.buddypress .buddypress-wrap a.button,.buddypress .buddypress-wrap button,.buddypress .buddypress-wrap input[type=button],.buddypress .buddypress-wrap input[type=reset],.buddypress .buddypress-wrap input[type=submit],.buddypress .buddypress-wrap ul.button-nav:not(.button-tabs) li a{background:#fff;border-color:#ccc;border-style:solid;border-width:1px;color:#555;cursor:pointer;font-size:inherit;font-weight:400;outline:0;padding:.3em .5em;text-align:center;text-decoration:none;width:auto}.buddypress .buddypress-wrap .button-small[type=button]{padding:0 8px 1px}.buddypress .buddypress-wrap .activity-read-more a:focus,.buddypress .buddypress-wrap .activity-read-more a:hover,.buddypress .buddypress-wrap .button-nav li a:focus,.buddypress .buddypress-wrap .button-nav li a:hover,.buddypress .buddypress-wrap .button-nav li.current a,.buddypress .buddypress-wrap .comment-reply-link:focus,.buddypress .buddypress-wrap .comment-reply-link:hover,.buddypress .buddypress-wrap .generic-button a:focus,.buddypress .buddypress-wrap .generic-button a:hover,.buddypress .buddypress-wrap a.button:focus,.buddypress .buddypress-wrap a.button:hover,.buddypress .buddypress-wrap button:focus,.buddypress .buddypress-wrap button:hover,.buddypress .buddypress-wrap input[type=button]:focus,.buddypress .buddypress-wrap input[type=button]:hover,.buddypress .buddypress-wrap input[type=reset]:focus,.buddypress .buddypress-wrap input[type=reset]:hover,.buddypress .buddypress-wrap input[type=submit]:focus,.buddypress .buddypress-wrap input[type=submit]:hover{background:#ededed;border-color:#999;color:#333;outline:0;text-decoration:none}.buddypress .buddypress-wrap a.disabled,.buddypress .buddypress-wrap button.disabled,.buddypress .buddypress-wrap button.pending,.buddypress .buddypress-wrap div.pending a,.buddypress .buddypress-wrap input[type=button].disabled,.buddypress .buddypress-wrap input[type=button].pending,.buddypress .buddypress-wrap input[type=reset].disabled,.buddypress .buddypress-wrap input[type=reset].pending,.buddypress .buddypress-wrap input[type=submit].pending,.buddypress .buddypress-wrap input[type=submit][disabled=disabled]{border-color:#eee;color:#767676;cursor:default}.buddypress .buddypress-wrap a.disabled:hover,.buddypress .buddypress-wrap button.disabled:hover,.buddypress .buddypress-wrap button.pending:hover,.buddypress .buddypress-wrap div.pending a:hover,.buddypress .buddypress-wrap input[type=button]:hover.disabled,.buddypress .buddypress-wrap input[type=button]:hover.pending,.buddypress .buddypress-wrap input[type=reset]:hover.disabled,.buddypress .buddypress-wrap input[type=reset]:hover.pending,.buddypress .buddypress-wrap input[type=submit]:hover.disabled,.buddypress .buddypress-wrap input[type=submit]:hover.pending{border-color:#eee;color:#767676}.buddypress .buddypress-wrap button.text-button,.buddypress .buddypress-wrap input.text-button{background:0 0;border:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;color:#767676}.buddypress .buddypress-wrap button.text-button.small,.buddypress .buddypress-wrap input.text-button.small{font-size:13px}.buddypress .buddypress-wrap button.text-button:focus,.buddypress .buddypress-wrap button.text-button:hover,.buddypress .buddypress-wrap input.text-button:focus,.buddypress .buddypress-wrap input.text-button:hover{background:0 0;text-decoration:underline}.buddypress .buddypress-wrap .activity-list a.button{border:none}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover{color:#1fb3dd}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.invite-button:hover{color:#a00}.buddypress .buddypress-wrap #item-buttons:empty{display:none}.buddypress .buddypress-wrap input:disabled:focus,.buddypress .buddypress-wrap input:disabled:hover{background:0 0}.buddypress .buddypress-wrap .text-links-list a.button{background:0 0;border:none;border-right:1px solid #eee;color:#737373;display:inline-block;padding:.3em 1em}.buddypress .buddypress-wrap .text-links-list a.button:visited{color:#d6d6d6}.buddypress .buddypress-wrap .text-links-list a.button:focus,.buddypress .buddypress-wrap .text-links-list a.button:hover{color:#5087e5}.buddypress .buddypress-wrap .text-links-list a:first-child{padding-left:0}.buddypress .buddypress-wrap .text-links-list a:last-child{border-right:none}.buddypress .buddypress-wrap .bp-list.grid .action a,.buddypress .buddypress-wrap .bp-list.grid .action button{border:1px solid #ccc;display:block;margin:0}.buddypress .buddypress-wrap .bp-list.grid .action a:focus,.buddypress .buddypress-wrap .bp-list.grid .action a:hover,.buddypress .buddypress-wrap .bp-list.grid .action button:focus,.buddypress .buddypress-wrap .bp-list.grid .action button:hover{background:#ededed}.buddypress #buddypress .create-button{background:0 0;text-align:center}@media screen and (min-width:46.8em){.buddypress #buddypress .create-button{float:right}}.buddypress #buddypress .create-button a{border:1px solid #ccc;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;border-radius:5px;background-clip:padding-box;-webkit-box-shadow:inset 0 0 6px 0 #eaeaea;-moz-box-shadow:inset 0 0 6px 0 #eaeaea;box-shadow:inset 0 0 6px 0 #eaeaea;margin:.2em 0;width:auto}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{background:0 0;border-color:#ccc;-webkit-box-shadow:inset 0 0 12px 0 #eaeaea;-moz-box-shadow:inset 0 0 12px 0 #eaeaea;box-shadow:inset 0 0 12px 0 #eaeaea}@media screen and (min-width:46.8em){.buddypress #buddypress.bp-dir-vert-nav .create-button{float:none;padding-top:2em}.buddypress #buddypress.bp-dir-vert-nav .create-button a{margin-right:.5em}}.buddypress #buddypress.bp-dir-hori-nav .create-button{float:left}.buddypress #buddypress.bp-dir-hori-nav .create-button a,.buddypress #buddypress.bp-dir-hori-nav .create-button a:hover{background:0 0;border:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;margin:0}.buddypress-wrap button.ac-reply-cancel,.buddypress-wrap button.bp-icons{background:0 0;border:0}.buddypress-wrap button.bp-icons:focus,.buddypress-wrap button.bp-icons:hover{background:0 0}.buddypress-wrap button.ac-reply-cancel:focus,.buddypress-wrap button.ac-reply-cancel:hover{background:0 0;text-decoration:underline}.buddypress-wrap .bp-invites-content li .invite-button span.icons:before,.buddypress-wrap .bp-invites-filters .invite-button span.icons:before,.buddypress-wrap .bp-messages-filters li a.messages-button:before,.buddypress-wrap .feed a:before,.buddypress-wrap .filter label:before{font-family:dashicons;font-size:18px}.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:27px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:32px}}.buddypress-wrap .bp-list a.button.invite-button:focus,.buddypress-wrap .bp-list a.button.invite-button:hover{background:0 0}.buddypress-wrap .filter label:before{content:"\f536"}.buddypress-wrap div.feed a:before,.buddypress-wrap li.feed a:before{content:"\f303"}.buddypress-wrap ul.item-list li .invite-button:not(.group-remove-invite-button) span.icons:before{content:"\f502"}.buddypress-wrap ul.item-list li .group-remove-invite-button span.icons:before,.buddypress-wrap ul.item-list li.selected .invite-button span.icons:before{content:"\f153"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-next-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-next-page:before{content:"\f345"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-prev-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-prev-page:before{content:"\f341"}.buddypress-wrap .warn{color:#b71717}.buddypress-wrap .bp-messages{border:1px solid #ccc;margin:0 0 15px}.buddypress-wrap .bp-messages .sitewide-notices{display:block;margin:5px;padding:.5em}.buddypress-wrap .bp-messages.info{margin-bottom:0}.buddypress-wrap .bp-messages.updated{clear:both;display:block}.buddypress-wrap .bp-messages.bp-user-messages-feedback{border:0}.buddypress-wrap #group-create-body .bp-cover-image-status p.warning{background:#0b80a4;border:0;-webkit-box-shadow:0 0 3px 0 rgba(0,0,0,.2);-moz-box-shadow:0 0 3px 0 rgba(0,0,0,.2);box-shadow:0 0 3px 0 rgba(0,0,0,.2);color:#fff}.buddypress-wrap .bp-feedback:not(.custom-homepage-info){display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row nowrap;-moz-flex-flow:row nowrap;-ms-flex-flow:row nowrap;-o-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-align:stretch;-webkit-align-items:stretch;-webkit-box-align:stretch;align-items:stretch}.buddypress-wrap .bp-feedback{background:#fff;color:#807f7f;-webkit-box-shadow:0 1px 1px 1px rgba(0,0,0,.1);-moz-box-shadow:0 1px 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px 1px rgba(0,0,0,.1);color:#737373;margin:10px 0;position:relative}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback span.bp-icon{color:#fff;display:block;font-family:dashicons;left:0;margin-right:10px;position:relative;padding:0 .5em}.buddypress-wrap .bp-feedback .bp-help-text{font-style:italic}.buddypress-wrap .bp-feedback .text{font-size:14px;margin:0;padding:.5em 0}.buddypress-wrap .bp-feedback.no-icon{padding:.5em}.buddypress-wrap .bp-feedback.small:before{line-height:inherit}.buddypress-wrap a[data-bp-close] span:before,.buddypress-wrap button[data-bp-close] span:before{font-size:32px}.buddypress-wrap a[data-bp-close],.buddypress-wrap button[data-bp-close]{border:0;position:absolute;top:10px;right:10px;width:32px}.buddypress-wrap .bp-feedback.no-icon a[data-bp-close],.buddypress-wrap .bp-feedback.no-icon button[data-bp-close]{top:-6px;right:6px}.buddypress-wrap button[data-bp-close]:hover{background-color:transparent}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback .bp-icon{font-size:20px;padding:0 2px}.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon,.buddypress-wrap .bp-feedback.loading .bp-icon,.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center}.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon{background-color:#0b80a4}.buddypress-wrap .bp-feedback.help .bp-icon:before,.buddypress-wrap .bp-feedback.info .bp-icon:before{content:"\f348"}.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{background-color:#d33}.buddypress-wrap .bp-feedback.error .bp-icon:before,.buddypress-wrap .bp-feedback.warning .bp-icon:before{content:"\f534"}.buddypress-wrap .bp-feedback.loading .bp-icon{background-color:#ffd087}.buddypress-wrap .bp-feedback.loading .bp-icon:before{content:"\f469"}.buddypress-wrap .bp-feedback.success .bp-icon{background-color:#8a2}.buddypress-wrap .bp-feedback.success .bp-icon:before{content:"\f147"}.buddypress-wrap .bp-feedback.help .bp-icon:before{content:"\f468"}.buddypress-wrap #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;font-weight:700;margin:10px 0 10px 0;padding:.5em;text-align:center;width:auto}.buddypress-wrap #pass-strength-result.show{display:block}.buddypress-wrap #pass-strength-result.mismatch{background-color:#333;border-color:transparent;color:#fff}.buddypress-wrap #pass-strength-result.bad,.buddypress-wrap #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c;color:#fff}.buddypress-wrap #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040;color:#fff}.buddypress-wrap #pass-strength-result.strong{background-color:#66d66e;border-color:#438c48;color:#fff}.buddypress-wrap .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px 0;padding:.5em;width:90%}.buddypress-wrap .accept,.buddypress-wrap .reject{float:left;margin-left:10px}.buddypress-wrap .members-list.grid .bp-ajax-message{background:rgba(255,255,255,.9);border:1px solid #eee;font-size:14px;left:2%;position:absolute;padding:.5em 1em;right:2%;top:30px}.buddypress.widget .item-options{font-size:14px}.buddypress.widget ul.item-list{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:column nowrap;-moz-flex-flow:column nowrap;-ms-flex-flow:column nowrap;-o-flex-flow:column nowrap;flex-flow:column nowrap;list-style:none;margin:10px -2%;overflow:hidden}@media screen and (min-width:32em){.buddypress.widget ul.item-list{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row wrap;-moz-flex-flow:row wrap;-ms-flex-flow:row wrap;-o-flex-flow:row wrap;flex-flow:row wrap}}.buddypress.widget ul.item-list li{border:1px solid #eee;-ms-flex-align:stretch;-webkit-align-items:stretch;-webkit-box-align:stretch;align-items:stretch;-webkit-flex:1 1 46%;-moz-flex:1 1 46%;-ms-flex:1 1 46%;-o-flex:1 1 46%;flex:1 1 46%;margin:2%}@media screen and (min-width:75em){.buddypress.widget ul.item-list li{-webkit-flex:0 1 20%;-moz-flex:0 1 20%;-ms-flex:0 1 20%;-o-flex:0 1 20%;flex:0 1 20%}}.buddypress.widget ul.item-list li .item-avatar{padding:.5em;text-align:center}.buddypress.widget ul.item-list li .item-avatar .avatar{width:60%}.buddypress.widget ul.item-list li .item{padding:0 .5em .5em}.buddypress.widget ul.item-list li .item .item-meta{font-size:12px;overflow-wrap:break-word}.widget-area .buddypress.widget ul.item-list li{-webkit-flex:0 1 46%;-moz-flex:0 1 46%;-ms-flex:0 1 46%;-o-flex:0 1 46%;flex:0 1 46%;margin:2% 2% 10px}@media screen and (min-width:75em){.widget-area .buddypress.widget ul.item-list li .avatar{width:100%}}@media screen and (min-width:75em){.widget-area .buddypress.widget ul.item-list{margin:10px -2%;width:100%}.widget-area .buddypress.widget ul.item-list li{-webkit-flex:0 1 auto;-moz-flex:0 1 auto;-ms-flex:0 1 auto;-o-flex:0 1 auto;flex:0 1 auto;margin:10px 2% 1%;width:46%}}#buddypress-wrap *{transition:opacity .1s ease-in-out .1s}#buddypress-wrap a.button,#buddypress-wrap a.generic-button,#buddypress-wrap button,#buddypress-wrap input[type=reset],#buddypress-wrap input[type=submit]{transition:background .1s ease-in-out .1s,color .1s ease-in-out .1s,border-color .1s ease-in-out .1s}.buddypress-wrap a.loading,.buddypress-wrap input.loading{-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@-webkit-keyframes loader-pulsate{from{border-color:#aaa;-webkit-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-webkit-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@-moz-keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}.buddypress-wrap a.loading:hover,.buddypress-wrap input.loading:hover{color:#777}[data-bp-tooltip]{position:relative}[data-bp-tooltip]:after{background-color:#fff;display:none;opacity:0;position:absolute;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden}[data-bp-tooltip]:after{border:1px solid #737373;border-radius:1px;box-shadow:4px 4px 8px rgba(0,0,0,.2);color:#333;content:attr(data-bp-tooltip);font-family:"Helvetica Neue",helvetica,arial,san-serif;font-size:12px;font-weight:400;letter-spacing:normal;line-height:1.25;max-width:200px;padding:5px 8px;pointer-events:none;text-shadow:none;text-transform:none;-webkit-transition:all 1.5s ease;-ms-transition:all 1.5s ease;transition:all 1.5s ease;white-space:nowrap;word-wrap:break-word;z-index:100000}[data-bp-tooltip]:active:after,[data-bp-tooltip]:focus:after,[data-bp-tooltip]:hover:after{display:block;opacity:1;overflow:visible;visibility:visible}[data-bp-tooltip=""]{display:none;opacity:0;visibility:hidden}.bp-tooltip:after{left:50%;margin-top:7px;top:110%;-webkit-transform:translate(-50%,0);-ms-transform:translate(-50%,0);transform:translate(-50%,0)}.user-list .bp-tooltip:after{left:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}@media screen and (min-width:46.8em){.user-list .bp-tooltip:after{left:auto;right:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}}.activity-meta-action .bp-tooltip:after,.notification-actions .bp-tooltip:after,.participants-list .bp-tooltip:after{left:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.bp-invites-content .bp-tooltip:after{left:auto;right:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}#item-body,.single-screen-navs{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.grid>li,.grid>li .generic-button a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.grid>li{border-bottom:0;padding-bottom:10px;padding-top:0}.grid>li .list-wrap{background:#fafafa;border:1px solid #eee;padding-bottom:15px;position:relative;overflow:hidden;padding-top:14px}.grid>li .list-wrap .list-title{padding:.5em}.grid>li .list-wrap .update{color:#737373;padding:.5em 2em}.grid>li .item-avatar{text-align:center}.grid>li .item-avatar .avatar{border-radius:50%;display:inline-block;width:50%}@media screen and (min-width:24em){.grid.members-list .list-wrap{min-height:340px}.grid.members-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.members-group-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.groups-list .list-wrap{min-height:470px}.grid.groups-list .list-wrap .item-block{min-height:6rem}.grid.groups-list .list-wrap .group-desc{margin:15px auto 0;min-height:5em;overflow:hidden}.grid.groups-list .list-wrap .group-details,.grid.groups-list .list-wrap .item-desc,.grid.groups-list .list-wrap .last-activity{margin-bottom:0}.grid.groups-list .list-wrap .group-details p,.grid.groups-list .list-wrap .item-desc p,.grid.groups-list .list-wrap .last-activity p{margin-bottom:0}.grid.blogs-list .list-wrap{min-height:350px}.grid.blogs-list .list-wrap .item-block{margin:0 auto;min-height:7rem}}@media screen and (min-width:24em){.grid>li.item-entry{float:left;margin:0}.grid.two>li{padding-bottom:20px}}@media screen and (min-width:24em) and (min-width:75em){.grid.two>li .list-wrap{max-width:500px;margin:0 auto}}@media screen and (min-width:24em){.grid.three>li,.grid.two>li{width:50%}.grid.three>li:nth-child(odd),.grid.two>li:nth-child(odd){padding-right:10px}.grid.three>li:nth-child(even),.grid.two>li:nth-child(even){padding-left:10px}.grid.three>li .item,.grid.two>li .item{margin:1rem auto 0;width:80%}.grid.three>li .item .item-title,.grid.two>li .item .item-title{width:auto}}@media screen and (min-width:46.8em){.grid.three>li{padding-top:0;width:33.333333%;width:calc(100% / 3)}.grid.three>li:nth-child(1n+1){padding-left:5px;padding-right:5px}.grid.three>li:nth-child(3n+3){padding-left:5px;padding-right:0}.grid.three>li:nth-child(3n+1){padding-left:0;padding-right:5px}}@media screen and (min-width:46.8em){.grid.four>li{width:25%}.grid.four>li:nth-child(1n+1){padding-left:5px;padding-right:5px}.grid.four>li:nth-child(4n+4){padding-left:5px;padding-right:0}.grid.four>li:nth-child(4n+1){padding-left:0;padding-right:5px}}.buddypress-wrap .grid.bp-list{padding-top:1em}.buddypress-wrap .grid.bp-list>li{border-bottom:none}.buddypress-wrap .grid.bp-list>li .list-wrap{padding-bottom:3em}.buddypress-wrap .grid.bp-list>li .item-avatar{margin:0;text-align:center;width:auto}.buddypress-wrap .grid.bp-list>li .item-avatar img.avatar{display:inline-block;height:auto;width:50%}.buddypress-wrap .grid.bp-list>li .item-meta,.buddypress-wrap .grid.bp-list>li .list-title{float:none;text-align:center}.buddypress-wrap .grid.bp-list>li .list-title{font-size:inherit;line-height:1.1}.buddypress-wrap .grid.bp-list>li .item{font-size:18px;left:0;margin:0 auto;text-align:center;width:96%}@media screen and (min-width:46.8em){.buddypress-wrap .grid.bp-list>li .item{font-size:22px}}.buddypress-wrap .grid.bp-list>li .item .group-desc,.buddypress-wrap .grid.bp-list>li .item .item-block{float:none;width:96%}.buddypress-wrap .grid.bp-list>li .item .item-block{margin-bottom:10px}.buddypress-wrap .grid.bp-list>li .item .last-activity{margin-top:5px}.buddypress-wrap .grid.bp-list>li .item .group-desc{clear:none}.buddypress-wrap .grid.bp-list>li .item .user-update{clear:both;text-align:left}.buddypress-wrap .grid.bp-list>li .item .activity-read-more a{display:inline}.buddypress-wrap .grid.bp-list>li .action{bottom:5px;float:none;height:auto;left:0;margin:0;padding:0 5px;position:absolute;text-align:center;top:auto;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button{float:none;margin:5px 0 0;text-align:center;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button a,.buddypress-wrap .grid.bp-list>li .action .generic-button button{width:100%}.buddypress-wrap .grid.bp-list>li .avatar,.buddypress-wrap .grid.bp-list>li .item,.buddypress-wrap .grid.bp-list>li .item-avatar{float:none}.buddypress-wrap .blogs-list.grid.two>li .blogs-title{min-height:5em}.buddypress-wrap .grid.four>li .group-desc,.buddypress-wrap .grid.three>li .group-desc{min-height:8em}.buddypress-wrap .blogs-list.grid.four>li,.buddypress-wrap .blogs-list.grid.three>li{min-height:350px}.buddypress-wrap .blogs-list.grid.four>li .last-activity,.buddypress-wrap .blogs-list.grid.three>li .last-activity{margin-bottom:0}.buddypress-wrap .blogs-list.grid.four>li .last-post,.buddypress-wrap .blogs-list.grid.three>li .last-post{margin-top:0}.buddypress:not(.logged-in) .grid.bp-list .list-wrap{padding-bottom:5px}.buddypress:not(.logged-in) .grid.groups-list .list-wrap{min-height:430px}.buddypress:not(.logged-in) .grid.members-list .list-wrap{min-height:300px}.buddypress:not(.logged-in) .grid.blogs-list .list-wrap{min-height:320px}@media screen and (min-width:46.8em){.bp-single-vert-nav .vertical{overflow:visible}.bp-single-vert-nav .vertical ul{border-right:1px solid #d6d6d6;float:left;margin-right:-1px;width:25%}.bp-single-vert-nav .vertical li{float:none}.bp-single-vert-nav .vertical li.selected a{background:#ccc;color:#333}.bp-single-vert-nav .vertical li:focus,.bp-single-vert-nav .vertical li:hover{background:#ccc}.bp-single-vert-nav .vertical li span{background:#d6d6d6;border-radius:10%;float:right;margin-right:2px}.bp-single-vert-nav .vertical li:hover span{border-color:#eaeaea}.bp-single-vert-nav .bp-wrap{margin-bottom:15px}.bp-single-vert-nav .bp-wrap .group-nav-tabs.groups-nav ul li,.bp-single-vert-nav .bp-wrap .user-nav-tabs.users-nav ul li{left:1px;position:relative}.bp-single-vert-nav .item-body:not(#group-create-body){background:#fff;border-left:1px solid #d6d6d6;float:right;margin:0;min-height:400px;padding:0 0 0 1em;width:calc(75% + 1px)}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links){background:#eaeaea;margin:0 0 0 -5px;width:auto}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li{font-size:16px;margin:10px 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a{border-right:1px solid #ccc;padding:0 .5em}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:focus,.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:hover{background:0 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li.current a{background:0 0;color:#333;text-decoration:underline}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li:last-child a{border:none}.bp-dir-vert-nav .dir-navs{float:left;left:1px;position:relative;width:20%}.bp-dir-vert-nav .dir-navs ul li{float:none;overflow:hidden;width:auto}.bp-dir-vert-nav .dir-navs ul li.selected{border:1px solid #eee}.bp-dir-vert-nav .dir-navs ul li.selected a{background:#555;color:#fff}.bp-dir-vert-nav .dir-navs ul li.selected a span{background:#eaeaea;border-color:#ccc;color:#5087e5}.bp-dir-vert-nav .dir-navs ul li a:focus,.bp-dir-vert-nav .dir-navs ul li a:hover{background:#ccc;color:#333}.bp-dir-vert-nav .dir-navs ul li a:focus span,.bp-dir-vert-nav .dir-navs ul li a:hover span{border:1px solid #555}.bp-dir-vert-nav .screen-content{border-left:1px solid #d6d6d6;margin-left:20%;overflow:hidden;padding:0 0 2em 1em}.bp-dir-vert-nav .screen-content .subnav-filters{margin-top:0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:hover{background:0 0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected{background:0 0;border:1px solid #d6d6d6;border-right-color:#fff}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a{background:0 0;color:#333;font-weight:600}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a span{background:#555;border:1px solid #d6d6d6;color:#fff}}
|
1 |
+
body #buddypress * a{box-shadow:none;text-decoration:none}body #buddypress #item-body blockquote,body #buddypress .bp-lists blockquote{margin-left:10px}body #buddypress .bp-list .action{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media screen and (min-width:46.8em){body.buddypress .entry-content,body.buddypress .entry-header,body.buddypress .site-content .entry-header{max-width:none}body.buddypress .entry-header{float:none;max-width:none}body.buddypress .entry-content{float:none;max-width:none}body.buddypress .site-content{padding-top:2.5em}body.buddypress #page #primary{max-width:none}body.buddypress #page #primary .entry-content,body.buddypress #page #primary .entry-header{float:none;width:auto}}body.buddypress .buddypress-wrap h1,body.buddypress .buddypress-wrap h2,body.buddypress .buddypress-wrap h3,body.buddypress .buddypress-wrap h4,body.buddypress .buddypress-wrap h5,body.buddypress .buddypress-wrap h6{clear:none;margin:1em 0;padding:0}.bp-wrap:after,.bp-wrap:before{content:" ";display:table}.bp-wrap:after{clear:both}.buddypress-wrap.round-avatars .avatar{border-radius:50%}div,dl,input[type=reset],input[type=search],input[type=submit],li,select,textarea{-webkit-border-radius:2px;-moz-border-radius:2px;-ms-border-radius:2px;border-radius:2px;background-clip:padding-box}body.buddypress article.page>.entry-header{margin-bottom:2em;padding:0}body.buddypress article.page>.entry-header .entry-title{font-size:28px;font-weight:inherit;color:#767676}@media screen and (min-width:46.8em){body.buddypress article.page>.entry-header .entry-title{font-size:34px}}.buddypress-wrap dt.section-title{font-size:18px}@media screen and (min-width:46.8em){.buddypress-wrap dt.section-title{font-size:22px}}.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-label-text,.buddypress-wrap .message-threads{font-size:16px}}.buddypress-wrap .activity-header{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-header{font-size:16px}}.buddypress-wrap .activity-inner{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .activity-inner{font-size:18px}}.buddypress-wrap #whats-new-post-in{font-size:16px}.buddypress-wrap .acomment-meta,.buddypress-wrap .mini .activity-header{font-size:16px}.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .dir-component-filters #activity-filter-by{font-size:16px}}.buddypress-wrap .bp-tables-user th{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user th{font-size:16px}}.buddypress-wrap .bp-tables-user td{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-tables-user td{font-size:14px}}.buddypress-wrap .profile-fields th{font-size:15px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields th{font-size:18px}}.buddypress-wrap .profile-fields td{font-size:13px}@media screen and (min-width:46.8em){.buddypress-wrap .profile-fields td{font-size:16px}}.buddypress-wrap #notification-select{font-size:12px}@media screen and (min-width:46.8em){.buddypress-wrap #notification-select{font-size:14px}}.bp-navs{background:0 0;clear:both;overflow:hidden}.bp-navs ul{margin:0;padding:0}.bp-navs ul li{list-style:none;margin:0}.bp-navs ul li.last select{max-width:185px}.bp-navs ul li a,.bp-navs ul li span{border:0;display:block;padding:5px 10px;text-decoration:none}.bp-navs ul li .count{background:#eaeaea;border:1px solid #ccc;border-radius:50%;color:#555;display:inline;font-size:12px;margin-left:2px;padding:3px 6px;text-align:center;vertical-align:middle}.bp-navs ul li.current a,.bp-navs ul li.selected a{color:#333;opacity:1}.bp-navs.bp-invites-filters ul li a,.bp-navs.bp-messages-filters ul li a{border:1px solid #ccc;display:inline-block}.main-navs.dir-navs{margin-bottom:20px}.buddypress-wrap .bp-navs li a:hover a .count,.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count{background-color:#ccc}.buddypress-wrap .bp-navs li:not(.current) a:focus,.buddypress-wrap .bp-navs li:not(.current) a:hover,.buddypress-wrap .bp-navs li:not(.selected) a:focus,.buddypress-wrap .bp-navs li:not(.selected) a:hover{background:#ccc;color:#333}.buddypress-wrap .bp-navs li.current a,.buddypress-wrap .bp-navs li.current a:focus,.buddypress-wrap .bp-navs li.current a:hover,.buddypress-wrap .bp-navs li.selected a,.buddypress-wrap .bp-navs li.selected a:focus,.buddypress-wrap .bp-navs li.selected a:hover{background:#555;color:#fafafa}@media screen and (min-width:46.8em){.buddypress-wrap .main-navs:not(.dir-navs) li.current a,.buddypress-wrap .main-navs:not(.dir-navs) li.selected a{background:#fff;color:#333;font-weight:600}.buddypress-wrap .main-navs.vertical li.current a,.buddypress-wrap .main-navs.vertical li.selected a{background:#555;color:#fafafa;text-decoration:none}.buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links){border-bottom:1px solid #eee;border-top:1px solid #eee;-webkit-box-shadow:0 2px 12px 0 #fafafa;-moz-box-shadow:0 2px 12px 0 #fafafa;box-shadow:0 2px 12px 0 #fafafa}}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.selected a{background:#fff;color:#333;font-weight:600}@media screen and (max-width:46.8em){.buddypress-wrap:not(.bp-single-vert-nav) .bp-navs li{background:#eaeaea}}.buddypress-wrap:not(.bp-single-vert-nav) .main-navs>ul>li>a{padding:.5em calc(.5em + 2px)}.buddypress-wrap:not(.bp-single-vert-nav) .group-subnav#subsubnav,.buddypress-wrap:not(.bp-single-vert-nav) .user-subnav#subsubnav{background:0 0}.buddypress-wrap .bp-subnavs,.buddypress-wrap ul.subnav{width:100%}.buddypress-wrap .bp-subnavs{margin:10px 0;overflow:hidden}.buddypress-wrap .bp-subnavs ul li{margin-top:0}.buddypress-wrap .bp-subnavs ul li.current :focus,.buddypress-wrap .bp-subnavs ul li.current :hover,.buddypress-wrap .bp-subnavs ul li.selected :focus,.buddypress-wrap .bp-subnavs ul li.selected :hover{background:0 0;color:#333}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap .bp-navs.bp-invites-filters#subsubnav ul li.last,.buddypress-wrap .bp-navs.bp-invites-nav#subnav ul li.last,.buddypress-wrap .bp-navs.bp-messages-filters#subsubnav ul li.last{margin-top:0}@media screen and (max-width:46.8em){.buddypress-wrap .single-screen-navs{border:1px solid #eee}.buddypress-wrap .single-screen-navs li{border-bottom:1px solid #eee}.buddypress-wrap .single-screen-navs li:last-child{border-bottom:none}.buddypress-wrap .bp-subnavs li a{font-size:14px}.buddypress-wrap .bp-subnavs li.current a,.buddypress-wrap .bp-subnavs li.current a:focus,.buddypress-wrap .bp-subnavs li.current a:hover,.buddypress-wrap .bp-subnavs li.selected a,.buddypress-wrap .bp-subnavs li.selected a:focus,.buddypress-wrap .bp-subnavs li.selected a:hover{background:#555;color:#fff}}.buddypress-wrap .bp-navs li.current a .count,.buddypress-wrap .bp-navs li.selected a .count,.buddypress_object_nav .bp-navs li.current a .count,.buddypress_object_nav .bp-navs li.selected a .count{background-color:#fff}.buddypress-wrap .bp-navs li.dynamic a .count,.buddypress-wrap .bp-navs li.dynamic.current a .count,.buddypress-wrap .bp-navs li.dynamic.selected a .count,.buddypress_object_nav .bp-navs li.dynamic a .count,.buddypress_object_nav .bp-navs li.dynamic.current a .count,.buddypress_object_nav .bp-navs li.dynamic.selected a .count{background-color:#5087e5;border:0;color:#fafafa}.buddypress-wrap .bp-navs li.dynamic a:hover .count,.buddypress_object_nav .bp-navs li.dynamic a:hover .count{background-color:#5087e5;border:0;color:#fff}.buddypress-wrap .bp-navs li a .count:empty,.buddypress_object_nav .bp-navs li a .count:empty{display:none}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current),.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current){color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a:hover{background:0 0;color:#333}.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress-wrap .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:focus,.buddypress_object_nav .bp-navs.group-create-links ul li:not(.current) a[disabled]:hover{color:#767676}.buddypress-wrap .bp-navs.group-create-links ul li.current a,.buddypress_object_nav .bp-navs.group-create-links ul li.current a{text-align:center}@media screen and (min-width:46.8em){.buddypress-wrap .bp-navs li{float:left}.buddypress-wrap .subnav{float:left}.buddypress-wrap ul.subnav{width:auto}.buddypress-wrap #subsubnav .activity-search{float:left}.buddypress-wrap #subsubnav .filter{float:right}}.buddypress_object_nav .bp-navs li a .count{display:inline-block;float:right}@media screen and (min-width:46.8em){.bp-dir-vert-nav .bp-navs.dir-navs{background:0 0}.bp-dir-vert-nav .bp-navs.dir-navs a .count{float:right}}@media screen and (min-width:46.8em){.buddypress-wrap .tabbed-links ol,.buddypress-wrap .tabbed-links ul{border-bottom:1px solid #ccc;float:none;margin:20px 0 10px}.buddypress-wrap .tabbed-links ol:after,.buddypress-wrap .tabbed-links ol:before,.buddypress-wrap .tabbed-links ul:after,.buddypress-wrap .tabbed-links ul:before{content:" ";display:block}.buddypress-wrap .tabbed-links ol:after,.buddypress-wrap .tabbed-links ul:after{clear:both}.buddypress-wrap .tabbed-links ol li,.buddypress-wrap .tabbed-links ul li{float:left;list-style:none;margin:0 10px 0 0}.buddypress-wrap .tabbed-links ol li a,.buddypress-wrap .tabbed-links ol li span:not(.count),.buddypress-wrap .tabbed-links ul li a,.buddypress-wrap .tabbed-links ul li span:not(.count){background:0 0;border:none;display:block;padding:4px 10px}.buddypress-wrap .tabbed-links ol li a:focus,.buddypress-wrap .tabbed-links ol li a:hover,.buddypress-wrap .tabbed-links ul li a:focus,.buddypress-wrap .tabbed-links ul li a:hover{background:0 0}.buddypress-wrap .tabbed-links ol li:not(.current),.buddypress-wrap .tabbed-links ul li:not(.current){margin-bottom:2px}.buddypress-wrap .tabbed-links ol li.current,.buddypress-wrap .tabbed-links ul li.current{border-color:#ccc #ccc #fff;border-style:solid;border-top-left-radius:4px;border-top-right-radius:4px;border-width:1px;margin-bottom:-1px;padding:0 .5em 1px}.buddypress-wrap .tabbed-links ol li.current a,.buddypress-wrap .tabbed-links ul li.current a{background:0 0;color:#333}.buddypress-wrap .bp-subnavs.tabbed-links>ul{margin-top:0}.buddypress-wrap .bp-navs.tabbed-links{background:0 0;margin-top:2px}.buddypress-wrap .bp-navs.tabbed-links ul li a{border-right:0;font-size:inherit}.buddypress-wrap .bp-navs.tabbed-links ul li.last{float:right;margin:0}.buddypress-wrap .bp-navs.tabbed-links ul li.last a{margin-top:-.5em}.buddypress-wrap .bp-navs.tabbed-links ul li a,.buddypress-wrap .bp-navs.tabbed-links ul li a:focus,.buddypress-wrap .bp-navs.tabbed-links ul li a:hover,.buddypress-wrap .bp-navs.tabbed-links ul li.current a,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:focus,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:hover{background:0 0;border:0}.buddypress-wrap .bp-navs.tabbed-links ul li a:active,.buddypress-wrap .bp-navs.tabbed-links ul li.current a:active{outline:0}}.buddypress-wrap .dir-component-filters .filter label{display:inline}.buddypress-wrap .subnav-filters:after,.buddypress-wrap .subnav-filters:before{content:" ";display:table}.buddypress-wrap .subnav-filters:after{clear:both}.buddypress-wrap .subnav-filters{background:0 0;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .subnav-filters div{margin:0}.buddypress-wrap .subnav-filters>ul{float:left;list-style:none}.buddypress-wrap .subnav-filters.bp-messages-filters ul{width:100%}.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:1em}@media screen and (min-width:46.8em){.buddypress-wrap .subnav-filters.bp-messages-filters .messages-search{margin-bottom:0}}.buddypress-wrap .subnav-filters div{float:none}.buddypress-wrap .subnav-filters div input[type=search],.buddypress-wrap .subnav-filters div select{font-size:16px}.buddypress-wrap .subnav-filters div button.nouveau-search-submit{padding:5px .8em 6px}.buddypress-wrap .subnav-filters div button#user_messages_search_submit{padding:7px .8em}.buddypress-wrap .subnav-filters .component-filters{margin-top:10px}.buddypress-wrap .subnav-filters .feed{margin-right:15px}.buddypress-wrap .subnav-filters .last.filter label{display:inline}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:before{content:" ";display:table}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap:after{clear:both}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-show{display:inline-block}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions-wrap.bp-hide{display:none}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap{border:0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:focus,.buddypress-wrap .subnav-filters .user-messages-bulk-actions .select-wrap:hover{outline:1px solid #d6d6d6}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-actions{float:left}.buddypress-wrap .subnav-filters .user-messages-bulk-actions label{display:inline-block;font-weight:300;margin-right:25px;padding:5px 0}.buddypress-wrap .subnav-filters .user-messages-bulk-actions div select{-webkit-appearance:textfield}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply{border:0;border-radius:none;font-weight:400;line-height:1.8;margin:0 0 0 10px;padding:3px 5px;text-align:center;text-transform:none;width:auto}.buddypress-wrap .subnav-filters .user-messages-bulk-actions .bulk-apply span{vertical-align:middle}@media screen and (min-width:32em){.buddypress-wrap .subnav-filters li{margin-bottom:0}.buddypress-wrap .subnav-filters .bp-search,.buddypress-wrap .subnav-filters .dir-search,.buddypress-wrap .subnav-filters .feed,.buddypress-wrap .subnav-filters .group-act-search,.buddypress-wrap .subnav-filters .group-invites-search,.buddypress-wrap .subnav-filters .subnav-search,.buddypress-wrap .subnav-filters .subnav-search form,.buddypress-wrap .subnav-filters .user-messages-bulk-actions,.buddypress-wrap .subnav-filters .user-messages-search{float:left}.buddypress-wrap .subnav-filters .component-filters,.buddypress-wrap .subnav-filters .last{float:right;margin-top:0;width:auto}.buddypress-wrap .subnav-filters .component-filters select,.buddypress-wrap .subnav-filters .last select{max-width:250px}.buddypress-wrap .subnav-filters .user-messages-search{float:right}}.buddypress-wrap .notifications-options-nav input#notification-bulk-manage{border:0;border-radius:0;line-height:1.6}.buddypress-wrap .group-subnav-filters .group-invites-search{margin-bottom:1em}.buddypress-wrap .group-subnav-filters .last{text-align:center}.buddypress-wrap .bp-pagination{background:0 0;border:0;color:#767676;float:left;font-size:small;margin:0;padding:.5em 0;position:relative;width:100%}.buddypress-wrap .bp-pagination .pag-count{float:left}.buddypress-wrap .bp-pagination .bp-pagination-links{float:right;margin-right:10px}.buddypress-wrap .bp-pagination .bp-pagination-links a,.buddypress-wrap .bp-pagination .bp-pagination-links span{font-size:small;padding:0 5px}.buddypress-wrap .bp-pagination .bp-pagination-links a:focus,.buddypress-wrap .bp-pagination .bp-pagination-links a:hover{opacity:1}.buddypress-wrap .bp-pagination p{margin:0}.bp-list:after,.bp-list:before{content:" ";display:table}.bp-list:after{clear:both}.bp-list{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border-top:1px solid #eaeaea;clear:both;list-style:none;margin:20px 0;padding:.5em 0;width:100%}.bp-list li:after,.bp-list li:before{content:" ";display:table}.bp-list li:after{clear:both}.bp-list>li{border-bottom:1px solid #eaeaea}.bp-list li{list-style:none;margin:10px 0;padding:.5em 0;position:relative}.bp-list li .item-avatar{text-align:center}.bp-list li .item-avatar img.avatar{display:inline}.bp-list li .item .group-details,.bp-list li .item .item-avatar,.bp-list li .item .item-meta,.bp-list li .item .list-title{text-align:center}.bp-list li .item .list-title{clear:none;font-size:22px;font-weight:400;line-height:1.1;margin:0 auto}@media screen and (min-width:46.8em){.bp-list li .item .list-title{font-size:26px}}.bp-list li .item-meta,.bp-list li .meta{color:#737373;font-size:12px;margin-bottom:10px;margin-top:10px}.bp-list li .last-post{text-align:center}.bp-list li .action{margin:0;text-align:center}.bp-list li .action .generic-button{display:inline-block;font-size:12px;margin:0 10px 0 0}.bp-list li .action div.generic-button{margin:10px 0}@media screen and (min-width:46.8em){.bp-list li .item-avatar{float:left;margin-right:5%}.bp-list li .item{margin:0;overflow:hidden}.bp-list li .item .item-block{float:left;margin-right:2%;width:50%}.bp-list li .item .item-meta,.bp-list li .item .list-title{float:left;text-align:left}.bp-list li .item .group-details,.bp-list li .item .last-post{text-align:left}.bp-list li .group-desc,.bp-list li .last-post,.bp-list li .user-update{clear:none;overflow:hidden;width:auto}.bp-list li .action{clear:left;padding:0;text-align:left}.bp-list li .action li.generic-button{margin-right:0}.bp-list li .action div.generic-button{margin:0 0 10px}.bp-list li .generic-button{display:block;margin:0 0 5px 0}}@media screen and (min-width:32em){#activity-stream{clear:both;padding-top:1em}}.activity-list.bp-list{background:#fafafa;border:1px solid #eee}.activity-list.bp-list .activity-item{background:#fff;border:1px solid #b7b7b7;-webkit-box-shadow:0 0 6px #d2d2d2;-moz-box-shadow:0 0 6px #d2d2d2;box-shadow:0 0 6px #d2d2d2;margin:20px 0}.activity-list.bp-list li:first-child{margin-top:0}.friends-list{list-style-type:none}.friends-request-list .item-title,.membership-requests-list .item-title{text-align:center}@media screen and (min-width:46.8em){.friends-request-list li,.membership-requests-list li{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row nowrap;-moz-flex-flow:row nowrap;-ms-flex-flow:row nowrap;-o-flex-flow:row nowrap;flex-flow:row nowrap}.friends-request-list li .item,.membership-requests-list li .item{-webkit-flex:1 1 auto;-moz-flex:1 1 auto;-ms-flex:1 1 auto;-o-flex:1 1 auto;flex:1 1 auto}.friends-request-list li .action,.membership-requests-list li .action{text-align:right}.friends-request-list li .item-title,.membership-requests-list li .item-title{font-size:22px;text-align:left}.friends-request-list li .item-title h3,.membership-requests-list li .item-title h3{margin:0}}#notifications-user-list{clear:both;padding-top:1em}@media screen and (min-width:46.8em){body:not(.logged-in) .bp-list .item{margin-right:0}}.activity-permalink .item-list,.activity-permalink .item-list li.activity-item{border:0}.activity-update-form{padding:10px 10px 0}.item-body .activity-update-form .activity-form{margin:0;padding:0}.activity-update-form{border:1px solid #ccc;-webkit-box-shadow:inset 0 0 6px #eee;-moz-box-shadow:inset 0 0 6px #eee;box-shadow:inset 0 0 6px #eee;margin:15px 0}.activity-update-form #whats-new-avatar{margin:10px 0;text-align:center}.activity-update-form #whats-new-avatar img{box-shadow:none;display:inline-block}.activity-update-form #whats-new-content{padding:0 0 20px 0}.activity-update-form #whats-new-textarea textarea{background:#fff;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:#333;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}.activity-update-form #whats-new-textarea textarea:focus{-webkit-box-shadow:0 0 6px 0 #d6d6d6;-moz-box-shadow:0 0 6px 0 #d6d6d6;box-shadow:0 0 6px 0 #d6d6d6}.activity-update-form #whats-new-post-in-box{margin:10px 0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items{list-style:none;margin:10px 0}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items li{margin-bottom:10px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items #activity-autocomplete{padding:.3em}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center;padding:.2em}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object .avatar{width:30px}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object span{padding-left:10px;vertical-align:middle}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:focus,.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object:hover{background:#eaeaea;cursor:pointer}.activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object.selected{border:1px solid #d6d6d6}.activity-update-form #whats-new-submit{margin:15px 0 10px}.activity-update-form #whats-new-submit input{font-size:14px;line-height:inherit;margin-bottom:10px;margin-right:10px;padding:.2em 0;text-align:center;width:100%}@media screen and (min-width:46.8em){.activity-update-form #whats-new-avatar{display:block;float:left;margin:0}.activity-update-form #whats-new-content,.activity-update-form #whats-new-post-in-box,.activity-update-form #whats-new-submit{margin-left:8.5%}.activity-update-form #whats-new-submit input{margin-bottom:0;margin-right:10px;width:8em}}.activity-list{padding:.5em}.activity-list .activity-item:after,.activity-list .activity-item:before{content:" ";display:table}.activity-list .activity-item:after{clear:both}.activity-list .activity-item{list-style:none;padding:1em}.activity-list .activity-item.has-comments{padding-bottom:1em}.activity-list .activity-item div.item-avatar{margin:0 auto;text-align:center;width:auto}.activity-list .activity-item div.item-avatar img{height:auto;max-width:40%}@media screen and (min-width:46.8em){.activity-list .activity-item div.item-avatar{margin:0 2% 0 0;text-align:left;width:15%}.activity-list .activity-item div.item-avatar img{max-width:80%}}.activity-list .activity-item.mini{font-size:13px;position:relative}.activity-list .activity-item.mini .activity-avatar{margin-left:0 auto;text-align:center;width:auto}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:15%}@media screen and (min-width:46.8em){.activity-list .activity-item.mini .activity-avatar{margin-left:15px;text-align:left;width:15%}.activity-list .activity-item.mini .activity-avatar img.FB_profile_pic,.activity-list .activity-item.mini .activity-avatar img.avatar{max-width:60%}}.activity-list .activity-item.new_forum_post .activity-inner,.activity-list .activity-item.new_forum_topic .activity-inner{border-left:2px solid #eaeaea;margin-left:10px;padding-left:1em}.activity-list .activity-item.newest_blogs_activity,.activity-list .activity-item.newest_friends_activity,.activity-list .activity-item.newest_groups_activity,.activity-list .activity-item.newest_mentions_activity{background:rgba(31,179,221,.1)}.activity-list .activity-item .activity-inreplyto{color:#767676;font-size:13px}.activity-list .activity-item .activity-inreplyto>p{display:inline;margin:0}.activity-list .activity-item .activity-inreplyto .activity-inner,.activity-list .activity-item .activity-inreplyto blockquote{background:0 0;border:0;display:inline;margin:0;overflow:hidden;padding:0}.activity-list .activity-item .activity-header{margin:0 auto;width:80%}.activity-list .activity-item .activity-header a,.activity-list .activity-item .activity-header img{display:inline}.activity-list .activity-item .activity-header .avatar{display:inline-block;margin:0 5px;vertical-align:bottom}.activity-list .activity-item .activity-header .time-since{font-size:14px;color:#767676;text-decoration:none}.activity-list .activity-item .activity-header .time-since:hover{color:#767676;cursor:pointer;text-decoration:underline}.activity-list .activity-item .activity-content .activity-header,.activity-list .activity-item .activity-content .comment-header{color:#767676;margin-bottom:10px}.activity-list .activity-item .activity-content .activity-inner,.activity-list .activity-item .activity-content blockquote{background:#fafafa;margin:15px 0 10px;overflow:hidden;padding:1em}.activity-list .activity-item .activity-content p{margin:0}.activity-list .activity-item .activity-inner p{word-wrap:break-word}.activity-list .activity-item .activity-read-more{margin-left:1em;white-space:nowrap}.activity-list .activity-item ul.activity-meta{margin:0;padding-left:0}.activity-list .activity-item ul.activity-meta li{border:0;display:inline-block}.activity-list .activity-item .activity-meta.action{border:1px solid transparent;background:#fafafa;padding:2px;position:relative;text-align:left}.activity-list .activity-item .activity-meta.action div.generic-button{margin:0}.activity-list .activity-item .activity-meta.action .button{background:0 0}.activity-list .activity-item .activity-meta.action a{padding:4px 8px}.activity-list .activity-item .activity-meta.action .button:focus,.activity-list .activity-item .activity-meta.action .button:hover{background:0 0}.activity-list .activity-item .activity-meta.action .button:before,.activity-list .activity-item .activity-meta.action .icons:before{font-family:dashicons;font-size:18px;vertical-align:middle}.activity-list .activity-item .activity-meta.action .acomment-reply.button:before{content:"\f101"}.activity-list .activity-item .activity-meta.action .view:before{content:"\f125"}.activity-list .activity-item .activity-meta.action .fav:before{content:"\f154"}.activity-list .activity-item .activity-meta.action .unfav:before{content:"\f155"}.activity-list .activity-item .activity-meta.action .delete-activity:before{content:"\f153"}.activity-list .activity-item .activity-meta.action .delete-activity:hover{color:#800}.activity-list .activity-item .activity-meta.action .button{border:0;box-shadow:none}.activity-list .activity-item .activity-meta.action .button span{background:0 0;color:#555;font-weight:700}@media screen and (min-width:46.8em){.activity-list.bp-list{padding:30px}.activity-list .activity-item .activity-content{margin:0;position:relative}.activity-list .activity-item .activity-content:after{clear:both;content:"";display:table}.activity-list .activity-item .activity-header{margin:0 15px 0 0;width:auto}}.buddypress-wrap .activity-list .load-more,.buddypress-wrap .activity-list .load-newest{background:#fafafa;border:1px solid #eee;font-size:110%;margin:15px 0;padding:0;text-align:center}.buddypress-wrap .activity-list .load-more a,.buddypress-wrap .activity-list .load-newest a{color:#555;display:block;padding:.5em 0}.buddypress-wrap .activity-list .load-more a:focus,.buddypress-wrap .activity-list .load-more a:hover,.buddypress-wrap .activity-list .load-newest a:focus,.buddypress-wrap .activity-list .load-newest a:hover{background:#fff;color:#333}.buddypress-wrap .activity-list .load-more:focus,.buddypress-wrap .activity-list .load-more:hover,.buddypress-wrap .activity-list .load-newest:focus,.buddypress-wrap .activity-list .load-newest:hover{border-color:#e1e1e1;-webkit-box-shadow:0 0 6px 0 #eaeaea;-moz-box-shadow:0 0 6px 0 #eaeaea;box-shadow:0 0 6px 0 #eaeaea}body.activity-permalink .activity-list li{border-width:1px;padding:1em 0 0 0}body.activity-permalink .activity-list li:first-child{padding-top:0}body.activity-permalink .activity-list li.has-comments{padding-bottom:0}body.activity-permalink .activity-list .activity-avatar{width:auto}body.activity-permalink .activity-list .activity-avatar a{display:block}body.activity-permalink .activity-list .activity-avatar img{max-width:100%}body.activity-permalink .activity-list .activity-content{border:0;font-size:100%;line-height:1.5;padding:0}body.activity-permalink .activity-list .activity-content .activity-header{margin:0;padding:.5em 0 0 0;text-align:center;width:100%}body.activity-permalink .activity-list .activity-content .activity-inner,body.activity-permalink .activity-list .activity-content blockquote{margin-left:0;margin-top:10px}body.activity-permalink .activity-list .activity-meta{margin:10px 0 10px}body.activity-permalink .activity-list .activity-comments{margin-bottom:10px}@media screen and (min-width:46.8em){body.activity-permalink .activity-list .activity-avatar{left:-20px;margin-right:0;position:relative;top:-20px}body.activity-permalink .activity-list .activity-content{margin-right:10px}body.activity-permalink .activity-list .activity-content .activity-header p{text-align:left}}.buddypress-wrap .activity-comments{clear:both;margin:0 5%;overflow:hidden;position:relative;width:auto}.buddypress-wrap .activity-comments ul{clear:both;list-style:none;margin:15px 0 0;padding:0}.buddypress-wrap .activity-comments ul li{border-top:1px solid #eee;border-bottom:0;padding:1em 0 0}.buddypress-wrap .activity-comments ul li ul{margin-left:5%}.buddypress-wrap .activity-comments ul li:first-child{border-top:0}.buddypress-wrap .activity-comments ul li:last-child{margin-bottom:0}.buddypress-wrap .activity-comments div.acomment-avatar{width:auto}.buddypress-wrap .activity-comments div.acomment-avatar img{border-width:1px;float:left;height:25px;max-width:none;width:25px}.buddypress-wrap .activity-comments .acomment-content p,.buddypress-wrap .activity-comments .acomment-meta{font-size:14px}.buddypress-wrap .activity-comments .acomment-meta{color:#555;overflow:hidden;padding-left:2%}.buddypress-wrap .activity-comments .acomment-content{border-left:1px solid #ccc;margin:15px 0 0 10%;padding:.5em 1em}.buddypress-wrap .activity-comments .acomment-content p{margin-bottom:.5em}.buddypress-wrap .activity-comments .acomment-options{float:left;margin:10px 0 10px 20px}.buddypress-wrap .activity-comments .acomment-options a{color:#767676;font-size:14px}.buddypress-wrap .activity-comments .acomment-options a:focus,.buddypress-wrap .activity-comments .acomment-options a:hover{color:inherit}.buddypress-wrap .activity-comments .activity-meta.action{background:0 0;margin-top:10px}.buddypress-wrap .activity-comments .activity-meta.action button{font-size:14px;font-weight:400;text-transform:none}.buddypress-wrap .activity-comments .show-all button{font-size:14px;text-decoration:underline;padding-left:.5em}.buddypress-wrap .activity-comments .show-all button span{text-decoration:none}.buddypress-wrap .activity-comments .show-all button:focus span,.buddypress-wrap .activity-comments .show-all button:hover span{color:#5087e5}.buddypress-wrap .mini .activity-comments{clear:both;margin-top:0}body.activity-permalink .activity-comments{background:0 0;width:auto}body.activity-permalink .activity-comments>ul{padding:0 .5em 0 1em}body.activity-permalink .activity-comments ul li>ul{margin-top:10px}form.ac-form{display:none;padding:1em}form.ac-form .ac-reply-avatar{float:left}form.ac-form .ac-reply-avatar img{border:1px solid #eee}form.ac-form .ac-reply-content{color:#767676;padding-left:1em}form.ac-form .ac-reply-content a{text-decoration:none}form.ac-form .ac-reply-content .ac-textarea{margin-bottom:15px;padding:0 .5em;overflow:hidden}form.ac-form .ac-reply-content .ac-textarea textarea{background:0 0;box-shadow:none;color:#555;font-family:inherit;font-size:100%;height:60px;margin:0;outline:0;padding:.5em;width:100%}form.ac-form .ac-reply-content .ac-textarea textarea:focus{-webkit-box-shadow:0 0 6px #d6d6d6;-moz-box-shadow:0 0 6px #d6d6d6;box-shadow:0 0 6px #d6d6d6}form.ac-form .ac-reply-content input{margin-top:10px}.activity-comments li form.ac-form{clear:both;margin-right:15px}.activity-comments form.root{margin-left:0}@media screen and (min-width:46.8em){.buddypress-wrap .blogs-list li .item-block{float:none;width:auto}.buddypress-wrap .blogs-list li .item-meta{clear:left;float:none}}@media screen and (min-width:46.8em){.buddypress-wrap .bp-dir-vert-nav .blogs-list .list-title{width:auto}}.buddypress-wrap .groups-list li .list-title{text-align:center}.buddypress-wrap .groups-list li .group-details{clear:left}.buddypress-wrap .groups-list li .group-desc{border:1px solid #eaeaea;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;border-radius:10px;background-clip:padding-box;font-size:13px;color:#737373;font-style:italic;margin:10px auto 0;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .group-desc{font-size:16px}}.buddypress-wrap .groups-list li p{margin:0 0 .5em}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list li .item{margin-right:0}.buddypress-wrap .groups-list li .item-meta,.buddypress-wrap .groups-list li .list-title{text-align:left;width:auto}.buddypress-wrap .groups-list li .item-meta{margin-bottom:20px}.buddypress-wrap .groups-list li .last-activity{clear:left;margin-top:-20px}}.buddypress-wrap .groups-list li.group-no-avatar div.group-desc{margin-left:0}.buddypress-wrap .mygroups .groups-list.grid .wrap{min-height:450px;padding-bottom:0}@media screen and (min-width:46.8em){.buddypress-wrap .groups-list.grid.four .group-desc,.buddypress-wrap .groups-list.grid.three .group-desc{font-size:14px}}@media screen and (min-width:46.8em){.buddypress .bp-vertical-navs .groups-list .item-avatar{margin-right:3%;width:15%}}.buddypress-wrap .members-list li .member-name{margin-bottom:10px}.buddypress-wrap .members-list li .user-update{border:1px solid #eaeaea;-webkit-border-radius:10px;-moz-border-radius:10px;-ms-border-radius:10px;border-radius:10px;background-clip:padding-box;color:#737373;font-style:italic;font-size:13px;margin:15px auto;padding:1em}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .user-update{font-size:16px}}.buddypress-wrap .members-list li .user-update .activity-read-more{display:block;font-size:12px;font-style:normal;margin-top:10px;padding-left:2px}@media screen and (min-width:46.8em){.buddypress-wrap .members-list li .last-activity{clear:left;margin-top:-10px}}@media screen and (min-width:46.8em){.buddypress-wrap .members-group-list li .joined{clear:left;float:none}}@media screen and (min-width:32em){body:not(.logged-in) .members-list .user-update{width:96%}}.register-page .register-section{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.register-page .signup-form{margin-top:20px}.register-page .signup-form .default-profile input{margin-bottom:20px}.register-page .signup-form label,.register-page .signup-form legend{margin:10px 0 0}.register-page .signup-form .editfield{margin:15px 0}.register-page .signup-form .editfield fieldset{border:0;padding:0}.register-page .signup-form .editfield fieldset legend{margin:0 0 5px;text-indent:0}.register-page .signup-form .editfield .field-visibility-settings{padding:.5em}.register-page .signup-form .editfield .field-visibility-settings fieldset{margin:0 0 10px}.register-page .signup-form #signup-avatar img{margin:0 15px 10px 0}.register-page .signup-form .password-entry,.register-page .signup-form .password-entry-confirm{border:1px solid #eee}@media screen and (min-width:46.8em){.buddypress-wrap .register-page .layout-wrap{display:flex;flex-flow:row wrap;justify-content:space-around}.buddypress-wrap .register-page .layout-wrap .default-profile{flex:1;padding-right:2em}.buddypress-wrap .register-page .layout-wrap .blog-details{flex:1;padding-left:2em}.buddypress-wrap .register-page .submit{clear:both}}@media screen and (min-width:46.8em){.buddypress-wrap.extended-default-reg .register-page .default-profile{flex:1;padding-right:1em}.buddypress-wrap.extended-default-reg .register-page .extended-profile{flex:2;padding-left:1em}.buddypress-wrap.extended-default-reg .register-page .blog-details{flex:1 100%}}#group-create-body{padding:.5em}#group-create-body .creation-step-name{text-align:center}#group-create-body .avatar-nav-items{margin-top:15px}.single-headers:after,.single-headers:before{content:" ";display:table}.single-headers:after{clear:both}.single-headers{margin-bottom:15px}.single-headers #item-header-avatar a{display:block;text-align:center}.single-headers #item-header-avatar a img{float:none}.single-headers div#item-header-content{float:none}@media screen and (min-width:46.8em){.single-headers #item-header-avatar a{text-align:left}.single-headers #item-header-avatar a img{float:left}.single-headers #item-header-content{padding-left:2em}}.single-headers .activity,.single-headers .group-status{display:inline}.single-headers .group-status{font-size:18px;color:#333;padding-right:1em}.single-headers .activity{display:inline-block;font-size:12px;padding:0}.single-headers #sitewide-notice p,.single-headers div#message p{background-color:#ffd;border:1px solid #cb2;color:#440;font-weight:400;margin-top:3px;text-decoration:none}.single-headers h2{line-height:1.2;margin:0 0 5px}.single-headers h2 a{color:#767676;text-decoration:none}.single-headers h2 span.highlight{display:inline-block;font-size:60%;font-weight:400;line-height:1.7;vertical-align:middle}.single-headers h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-size:80%;font-weight:700;margin-bottom:2px;padding:1px 4px;position:relative;right:-2px;top:-2px;vertical-align:middle}.single-headers img.avatar{float:left;margin:0 15px 19px 0}.single-headers .item-meta{color:#767676;font-size:14px;margin:15px 0 5px;padding-bottom:.5em}.single-headers ul{margin-bottom:15px}.single-headers ul li{float:right;list-style:none}.single-headers div.generic-button{text-align:center}.single-headers li.generic-button{display:inline-block;text-align:center}@media screen and (min-width:46.8em){.single-headers a.button,.single-headers div.generic-button,.single-headers li.generic-button{float:left}}.single-headers a.button,.single-headers div.generic-button{margin:10px 10px 0 0}.single-headers li.generic-button{margin:2px 10px}.single-headers li.generic-button:first-child{margin-left:0}.single-headers div#message.info{line-height:.8}body.no-js .single-item-header .js-self-profile-button{display:none}#cover-image-container{position:relative}#header-cover-image{background-color:#c5c5c5;background-position:center top;background-repeat:no-repeat;background-size:cover;border:0;display:block;left:0;margin:0;padding:0;position:absolute;top:0;width:100%;z-index:1}#item-header-cover-image{position:relative;z-index:2}#item-header-cover-image #item-header-avatar{padding:0 1em}.groups-header .bp-group-type-list{margin:0}.groups-header .bp-feedback{clear:both}.groups-header .group-item-actions{float:left;margin:0 0 15px 15px;padding-top:0;width:100%}.groups-header .moderators-lists{margin-top:0}.groups-header .moderators-lists .moderators-title{font-size:14px}.groups-header .moderators-lists .user-list{margin:0 0 5px}.groups-header .moderators-lists .user-list ul:after{clear:both;content:"";display:table}.groups-header .moderators-lists .user-list li{display:inline-block;float:none;margin-left:4px;padding:4px}.groups-header .moderators-lists img.avatar{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;float:none;height:30px;margin:0;max-width:100%;width:30px}@media screen and (min-width:46.8em){.groups-header div#item-header-content{float:left;margin-left:10%;text-align:left;padding-top:15px;width:42%}.groups-header .group-item-actions{float:right;margin:0 0 15px 15px;text-align:right;width:20%}.groups-header .groups-meta{clear:both}}.groups-header .desc-wrap{background:#eaeaea;border:1px solid #d6d6d6;margin:0 0 15px;padding:1em;text-align:center}.groups-header .desc-wrap .group-description{background:#fafafa;-webkit-box-shadow:inset 0 0 9px #ccc;-moz-box-shadow:inset 0 0 9px #ccc;box-shadow:inset 0 0 9px #ccc;padding:1em;text-align:left}.bp-user .users-header .user-nicename{margin-bottom:5px}.bp-user .member-header-actions{overflow:hidden}.bp-user .member-header-actions *>*{display:block}.buddypress-wrap .item-body{margin:20px 0}.buddypress-wrap .item-body .screen-heading{font-size:20px;font-weight:400}.buddypress-wrap .item-body .button-tabs{margin:30px 0 15px}.buddypress-wrap.bp-single-vert-nav .bp-list:not(.grid) .item-entry{padding-left:.5em}.single-item.group-members .item-body .filters:not(.no-subnav){border-top:5px solid #eaeaea;padding-top:1em}.single-item.group-members .item-body .filters{margin-top:0}.buddypress-wrap .group-status-type ul{margin:0 0 20px 20px}.groups-manage-members-list{padding:.5em 0}.groups-manage-members-list dd{margin:0;padding:1em 0}.groups-manage-members-list .section-title{background:#eaeaea;padding-left:.3em}.groups-manage-members-list ul{list-style:none;margin-bottom:0}.groups-manage-members-list ul li{border-bottom:1px solid #eee;margin-bottom:10px;padding:.5em .3em .3em}.groups-manage-members-list ul li:last-child,.groups-manage-members-list ul li:only-child{border-bottom:0}.groups-manage-members-list ul li:nth-child(even){background:#fafafa}.groups-manage-members-list ul li.banned-user{background:#fad3d3}.groups-manage-members-list ul .member-name{margin-bottom:0;text-align:center}.groups-manage-members-list ul img{display:block;margin:0 auto;width:20%}@media screen and (min-width:32em){.groups-manage-members-list ul .member-name{text-align:left}.groups-manage-members-list ul img{display:inline;width:50px}}.groups-manage-members-list ul .members-manage-buttons:after,.groups-manage-members-list ul .members-manage-buttons:before{content:" ";display:table}.groups-manage-members-list ul .members-manage-buttons:after{clear:both}.groups-manage-members-list ul .members-manage-buttons{margin:15px 0 5px}.groups-manage-members-list ul .members-manage-buttons a.button{color:#767676;display:block;font-size:13px}@media screen and (min-width:32em){.groups-manage-members-list ul .members-manage-buttons a.button{display:inline-block}}.groups-manage-members-list ul .members-manage-buttons.text-links-list{margin-bottom:0}@media screen and (max-width:32em){.groups-manage-members-list ul .members-manage-buttons.text-links-list a.button{background:#fafafa;border:1px solid #eee;display:block;margin-bottom:10px}}.groups-manage-members-list ul .action:not(.text-links-list) a.button{font-size:12px}@media screen and (min-width:46.8em){.groups-manage-members-list ul li .avatar,.groups-manage-members-list ul li .member-name{float:left}.groups-manage-members-list ul li .avatar{margin-right:15px}.groups-manage-members-list ul li .action{clear:both;float:left}}.buddypress .bp-invites-content ul.item-list{border-top:0}.buddypress .bp-invites-content ul.item-list li{border:1px solid #eaeaea;margin:0 0 1%;padding-left:5px;padding-right:5px;position:relative;width:auto}.buddypress .bp-invites-content ul.item-list li .list-title{margin:0 auto;width:80%}.buddypress .bp-invites-content ul.item-list li .action{position:absolute;top:10px;right:10px}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button{border:0}.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:focus,.buddypress .bp-invites-content ul.item-list li .action a.button.invite-button:hover{color:#1fb3dd}.buddypress .bp-invites-content ul.item-list li.selected{-webkit-box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2);-moz-box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2);box-shadow:inset 0 0 12px 0 rgba(237,187,52,.2)}.buddypress .bp-invites-content .group-inviters li,.buddypress .bp-invites-content .item-list .item-meta span{color:#767676}.buddypress .bp-invites-content li ul.group-inviters{clear:both;margin:0;overflow:hidden}.buddypress .bp-invites-content li ul.group-inviters li{border:0;float:left;font-size:20px;width:inherit}.buddypress .bp-invites-content li .status{font-size:20px;font-style:italic;clear:both;color:#555;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor ul:after,.buddypress .bp-invites-content #send-invites-editor ul:before{content:" ";display:table}.buddypress .bp-invites-content #send-invites-editor ul:after{clear:both}.buddypress .bp-invites-content #send-invites-editor textarea{width:100%}.buddypress .bp-invites-content #send-invites-editor ul{clear:both;list-style:none;margin:10px 0}.buddypress .bp-invites-content #send-invites-editor ul li{float:left;margin:.5%;max-height:50px;max-width:50px}.buddypress .bp-invites-content #send-invites-editor #bp-send-invites-form{clear:both;margin-top:10px}.buddypress .bp-invites-content #send-invites-editor .action{margin-top:10px;padding-top:10px}.buddypress .bp-invites-content #send-invites-editor.bp-hide{display:none}@media screen and (min-width:46.8em){.buddypress .bp-invites-content ul.item-list>li{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;border:1px solid #eaeaea;float:left;padding-left:.5em;padding-right:.5em;width:49.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(odd){margin-right:.5%}.buddypress .bp-invites-content ul.item-list>li:nth-child(even){margin-left:.5%}.buddypress .bp-invites-content ul.item-list ul.group-inviters{float:left;width:auto}}@media screen and (min-width:46.8em){:not(.vertical)+.item-body #group-invites-container{display:-ms-grid;display:grid;-ms-grid-columns:25% auto;grid-template-columns:25% auto;grid-template-areas:"group-invites-nav group-invites-column"}:not(.vertical)+.item-body #group-invites-container .bp-invites-nav{-ms-grid-row:1;-ms-grid-column:1;grid-area:group-invites-nav}:not(.vertical)+.item-body #group-invites-container .bp-invites-nav li{display:block;float:none}:not(.vertical)+.item-body #group-invites-container .group-invites-column{-ms-grid-row:1;-ms-grid-column:2;grid-area:group-invites-column}}.buddypress.groups .activity-update-form{margin-top:0}.buddypress-wrap .profile{margin-top:30px}.buddypress-wrap .public .profile-fields td.label{width:30%}.buddypress-wrap .profile.edit .button-nav{list-style:none;margin:30px 0 10px}.buddypress-wrap .profile.edit .button-nav li{display:inline-block;margin-right:10px}.buddypress-wrap .profile.edit .button-nav li a{font-size:18px}.buddypress-wrap .profile.edit .editfield{background:#fafafa;border:1px solid #eee;margin:15px 0;padding:1em}.buddypress-wrap .profile.edit .editfield fieldset{border:0}.buddypress-wrap .profile.edit .editfield fieldset label{font-weight:400}.buddypress-wrap .profile.edit .editfield fieldset label.xprofile-field-label{display:inline}.buddypress-wrap .profile.edit .editfield{display:flex;flex-direction:column}.buddypress-wrap .profile.edit .editfield .description{margin-top:10px;order:2}.buddypress-wrap .profile.edit .editfield>fieldset{order:1}.buddypress-wrap .profile.edit .editfield .field-visibility-settings,.buddypress-wrap .profile.edit .editfield .field-visibility-settings-toggle{order:3}body.no-js .buddypress-wrap .field-visibility-settings-close,body.no-js .buddypress-wrap .field-visibility-settings-toggle{display:none}body.no-js .buddypress-wrap .field-visibility-settings{display:block}.buddypress-wrap .field-visibility-settings{margin:10px 0}.buddypress-wrap .current-visibility-level{font-style:normal;font-weight:700}.buddypress-wrap .field-visibility-settings,.buddypress-wrap .field-visibility-settings-header{color:#737373}.buddypress-wrap .field-visibility-settings fieldset{margin:5px 0}.buddypress-wrap .standard-form .editfield fieldset{margin:0}.buddypress-wrap .standard-form .field-visibility-settings label{font-weight:400;margin:0}.buddypress-wrap .standard-form .field-visibility-settings .radio{list-style:none;margin-bottom:0}.buddypress-wrap .standard-form .field-visibility-settings .field-visibility-settings-close{font-size:12px}.buddypress-wrap .standard-form .wp-editor-container{border:1px solid #dedede}.buddypress-wrap .standard-form .wp-editor-container textarea{background:#fff;width:100%}.buddypress-wrap .standard-form .description{background:#fafafa;font-size:inherit}.buddypress-wrap .standard-form .field-visibility-settings legend,.buddypress-wrap .standard-form .field-visibility-settings-header{font-style:italic}.buddypress-wrap .standard-form .field-visibility-settings-header{font-size:14px}.buddypress-wrap .standard-form .field-visibility-settings label,.buddypress-wrap .standard-form .field-visibility-settings legend{font-size:14px}.buddypress-wrap .standard-form .field-visibility select{margin:0}.buddypress-wrap .html-active button.switch-html{background:#f5f5f5;border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.buddypress-wrap .tmce-active button.switch-tmce{background:#f5f5f5;border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0}.buddypress-wrap .profile.public .profile-group-title{border-bottom:1px solid #ccc}body.register .buddypress-wrap .page ul{list-style:none}.buddypress-wrap .profile .bp-avatar-nav{margin-top:20px}.message-action-delete:before,.message-action-star:before,.message-action-unstar:before,.message-action-view:before{font-family:dashicons;font-size:18px}.message-action-star:before{color:#aaa;content:"\f154"}.message-action-unstar:before{color:#fcdd77;content:"\f155"}.message-action-view:before{content:"\f473"}.message-action-delete:before{content:"\f153"}.message-action-delete:hover:before{color:#a00}.preview-content .actions a{text-decoration:none}.bp-messages-content{margin:15px 0}.bp-messages-content .avatar{-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}.bp-messages-content .thread-participants{list-style:none}.bp-messages-content .thread-participants dd{margin-left:0}.bp-messages-content time{color:#737373;font-size:12px}#message-threads{border-top:1px solid #eaeaea;clear:both;list-style:none;margin:0;max-height:220px;overflow-x:hidden;overflow-y:auto;padding:0;width:100%}#message-threads li{border-bottom:1px solid #eaeaea;display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row nowrap;-moz-flex-flow:row nowrap;-ms-flex-flow:row nowrap;-o-flex-flow:row nowrap;flex-flow:row nowrap;margin:0;overflow:hidden;padding:.5em 0}#message-threads li .thread-cb{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center;-webkit-flex:1 2 5%;-moz-flex:1 2 5%;-ms-flex:1 2 5%;-o-flex:1 2 5%;flex:1 2 5%}#message-threads li .thread-from,#message-threads li .thread-to{-webkit-flex:1 2 20%;-moz-flex:1 2 20%;-ms-flex:1 2 20%;-o-flex:1 2 20%;flex:1 2 20%}#message-threads li .thread-from img.avatar,#message-threads li .thread-to img.avatar{float:left;margin:0 10px 0 0}#message-threads li .thread-from .user-name,#message-threads li .thread-to .user-name{display:inline-block;line-height:1.1}#message-threads li .thread-from .num-recipients,#message-threads li .thread-to .num-recipients{color:#737373;font-weight:400;font-size:12px;margin:0}#message-threads li .thread-content{-webkit-flex:1 2 60%;-moz-flex:1 2 60%;-ms-flex:1 2 60%;-o-flex:1 2 60%;flex:1 2 60%}#message-threads li .thread-date{-webkit-flex:1 2 15%;-moz-flex:1 2 15%;-ms-flex:1 2 15%;-o-flex:1 2 15%;flex:1 2 15%}#message-threads li.selected{background-color:#fafafa}#message-threads li.selected .thread-subject .subject{color:#5087e5}#message-threads li.unread{font-weight:700}#message-threads li .thread-content .excerpt{color:#737373;font-size:12px;margin:0}#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject,#message-threads li .thread-content .thread-to{font-size:13px}@media screen and (min-width:46.8em){#message-threads li .thread-content .thread-from,#message-threads li .thread-content .thread-subject,#message-threads li .thread-content .thread-to{font-size:16px}}#message-threads li .thread-content .thread-subject{vertical-align:top}#message-threads li .thread-content .thread-subject .excerpt{font-weight:400}#message-threads li .thread-date{padding-right:5px;text-align:right}.bp-messages-content .actions{float:right;max-width:30%}.bp-messages-content .actions .bp-icons:not(.bp-hide){display:inline-block;margin:0;padding:.3em .5em}.bp-messages-content .actions .bp-icons:not(.bp-hide):before{font-size:26px}.bp-messages-content #thread-preview{border:1px solid #eaeaea;margin-top:20px}.bp-messages-content #thread-preview .preview-message{overflow:hidden}.bp-messages-content #thread-preview .preview-content{margin:.5em}.bp-messages-content #thread-preview .preview-content .preview-message{background:#fafafa;margin:10px 0;padding:1em .3em .3em}.bp-messages-content #bp-message-thread-list{border-top:1px solid #eaeaea;clear:both;list-style:none;padding:1em 0 .3em}.bp-messages-content #bp-message-thread-list li{padding:.5em}.bp-messages-content #bp-message-thread-list li:nth-child(2n) .message-content{background:#fafafa}.bp-messages-content #bp-message-thread-list .message-metadata{border-bottom:1px solid #ccc;-webkit-box-shadow:-2px 1px 9px 0 #eee;-moz-box-shadow:-2px 1px 9px 0 #eee;box-shadow:-2px 1px 9px 0 #eee;display:table;padding:.2em;width:100%}.bp-messages-content #bp-message-thread-list .message-metadata .avatar{width:30px}.bp-messages-content #bp-message-thread-list .message-metadata .user-link{display:block;font-size:13px;float:left}@media screen and (min-width:46.8em){.bp-messages-content #bp-message-thread-list .message-metadata .user-link{font-size:16px}}.bp-messages-content #bp-message-thread-list .message-metadata time{color:#737373;font-size:12px;padding:0 .5em}.bp-messages-content #bp-message-thread-list .message-metadata button{padding:0 .3em}.bp-messages-content #bp-message-thread-list .message-metadata button:before{font-size:20px}.bp-messages-content #bp-message-thread-list .message-content{overflow:hidden;margin:1em auto 0;width:90%}.bp-messages-content #bp-message-thread-list img.avatar{float:left;margin:0 10px 0 0}.bp-messages-content #bp-message-thread-list .actions a:before{font-size:18px}.bp-messages-content form.send-reply .avatar-box{padding:.5em 0}.bp-messages-content .preview-pane-header,.bp-messages-content .single-message-thread-header{border-bottom:1px solid #eaeaea}.bp-messages-content .preview-pane-header:after,.bp-messages-content .single-message-thread-header:after{clear:both;content:"";display:table}.bp-messages-content .preview-thread-title,.bp-messages-content .single-thread-title{font-size:16px}.bp-messages-content .preview-thread-title .messages-title,.bp-messages-content .single-thread-title .messages-title{padding-left:2em}.bp-messages-content .thread-participants{float:left;margin:5px 0;width:70%}.bp-messages-content .thread-participants dd,.bp-messages-content .thread-participants ul{margin-bottom:10px}.bp-messages-content .thread-participants ul{list-style:none}.bp-messages-content .thread-participants ul:after{clear:both;content:"";display:table}.bp-messages-content .thread-participants li{float:left;margin-left:5px}.bp-messages-content .thread-participants img{width:30px}.bp-messages-content #bp-message-thread-list li .message-content blockquote,.bp-messages-content #bp-message-thread-list li .message-content ol,.bp-messages-content #bp-message-thread-list li .message-content ul,.bp-messages-content #thread-preview .preview-message blockquote,.bp-messages-content #thread-preview .preview-message ol,.bp-messages-content #thread-preview .preview-message ul{list-style-position:inside;margin-left:0}.bp-messages-content #thread-preview:empty,.bp-messages-content ul#message-threads:empty{display:none}.bp-messages-content #bp-message-thread-header h2:first-child,.bp-messages-content #thread-preview h2:first-child{background-color:#eaeaea;color:#555;font-weight:700;margin:0;padding:.5em}.bp-messages-content #bp-message-thread-list li a.user-link,.bp-messages-content #message-threads .thread-content a{border:0;text-decoration:none}.bp-messages-content .standard-form #subject{margin-bottom:20px}div.bp-navs#subsubnav.bp-messages-filters .user-messages-bulk-actions{margin-right:15px;max-width:42.5%}.buddypress.settings .profile-settings.bp-tables-user select{width:100%}.buddypress-wrap #whats-new-post-in-box select,.buddypress-wrap .filter select{border:1px solid #d6d6d6}.buddypress-wrap input.action[disabled]{cursor:pointer;opacity:.4}.buddypress-wrap #notification-bulk-manage[disabled]{display:none}.buddypress-wrap fieldset legend{font-size:inherit;font-weight:600}.buddypress-wrap input[type=email]:focus,.buddypress-wrap input[type=password]:focus,.buddypress-wrap input[type=tel]:focus,.buddypress-wrap input[type=text]:focus,.buddypress-wrap input[type=url]:focus,.buddypress-wrap textarea:focus{-webkit-box-shadow:0 0 8px #eaeaea;-moz-box-shadow:0 0 8px #eaeaea;box-shadow:0 0 8px #eaeaea}.buddypress-wrap select{height:auto}.buddypress-wrap textarea{resize:vertical}.buddypress-wrap .standard-form .bp-controls-wrap{margin:1em 0}.buddypress-wrap .standard-form .groups-members-search input[type=search],.buddypress-wrap .standard-form .groups-members-search input[type=text],.buddypress-wrap .standard-form [data-bp-search] input[type=search],.buddypress-wrap .standard-form [data-bp-search] input[type=text],.buddypress-wrap .standard-form input[type=color],.buddypress-wrap .standard-form input[type=date],.buddypress-wrap .standard-form input[type=datetime-local],.buddypress-wrap .standard-form input[type=datetime],.buddypress-wrap .standard-form input[type=email],.buddypress-wrap .standard-form input[type=month],.buddypress-wrap .standard-form input[type=number],.buddypress-wrap .standard-form input[type=password],.buddypress-wrap .standard-form input[type=range],.buddypress-wrap .standard-form input[type=search],.buddypress-wrap .standard-form input[type=tel],.buddypress-wrap .standard-form input[type=text],.buddypress-wrap .standard-form input[type=time],.buddypress-wrap .standard-form input[type=url],.buddypress-wrap .standard-form input[type=week],.buddypress-wrap .standard-form select,.buddypress-wrap .standard-form textarea{background:#fafafa;border:1px solid #d6d6d6;border-radius:0;font:inherit;font-size:100%;padding:.5em}.buddypress-wrap .standard-form input[required],.buddypress-wrap .standard-form select[required],.buddypress-wrap .standard-form textarea[required]{box-shadow:none;border-width:2px;outline:0}.buddypress-wrap .standard-form input[required]:invalid,.buddypress-wrap .standard-form select[required]:invalid,.buddypress-wrap .standard-form textarea[required]:invalid{border-color:#b71717}.buddypress-wrap .standard-form input[required]:valid,.buddypress-wrap .standard-form select[required]:valid,.buddypress-wrap .standard-form textarea[required]:valid{border-color:#91cc2c}.buddypress-wrap .standard-form input[required]:focus,.buddypress-wrap .standard-form select[required]:focus,.buddypress-wrap .standard-form textarea[required]:focus{border-color:#d6d6d6;border-width:1px}.buddypress-wrap .standard-form input.invalid[required],.buddypress-wrap .standard-form select.invalid[required],.buddypress-wrap .standard-form textarea.invalid[required]{border-color:#b71717}.buddypress-wrap .standard-form input:not(.button-small),.buddypress-wrap .standard-form textarea{width:100%}.buddypress-wrap .standard-form input[type=checkbox],.buddypress-wrap .standard-form input[type=radio]{margin-right:5px;width:auto}.buddypress-wrap .standard-form select{padding:3px}.buddypress-wrap .standard-form textarea{height:120px}.buddypress-wrap .standard-form textarea#message_content{height:200px}.buddypress-wrap .standard-form input[type=password]{margin-bottom:5px}.buddypress-wrap .standard-form input:focus,.buddypress-wrap .standard-form select:focus,.buddypress-wrap .standard-form textarea:focus{background:#fafafa;color:#555;outline:0}.buddypress-wrap .standard-form label,.buddypress-wrap .standard-form span.label{display:block;font-weight:600;margin:15px 0 5px;width:auto}.buddypress-wrap .standard-form a.clear-value{display:block;margin-top:5px;outline:0}.buddypress-wrap .standard-form .submit{clear:both;padding:15px 0 0}.buddypress-wrap .standard-form p.submit{margin-bottom:0}.buddypress-wrap .standard-form div.submit input{margin-right:15px}.buddypress-wrap .standard-form #invite-list label,.buddypress-wrap .standard-form p label{font-weight:400;margin:auto}.buddypress-wrap .standard-form p.description{color:#737373;margin:5px 0}.buddypress-wrap .standard-form div.checkbox label:nth-child(n+2),.buddypress-wrap .standard-form div.radio div label{color:#737373;font-size:100%;font-weight:400;margin:5px 0 0}.buddypress-wrap .standard-form#send-reply textarea{width:97.5%}.buddypress-wrap .standard-form#sidebar-login-form label{margin-top:5px}.buddypress-wrap .standard-form#sidebar-login-form input[type=password],.buddypress-wrap .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}.buddypress-wrap .standard-form.profile-edit input:focus{background:#fff}@media screen and (min-width:46.8em){.buddypress-wrap .standard-form .left-menu{float:left}.buddypress-wrap .standard-form #invite-list ul{list-style:none;margin:1%}.buddypress-wrap .standard-form #invite-list ul li{margin:0 0 0 1%}.buddypress-wrap .standard-form .main-column{margin-left:190px}.buddypress-wrap .standard-form .main-column ul#friend-list{clear:none;float:left}.buddypress-wrap .standard-form .main-column ul#friend-list h4{clear:none}}.buddypress-wrap .standard-form .bp-tables-user label{margin:0}.buddypress-wrap .signup-form label,.buddypress-wrap .signup-form legend{font-weight:400}body.no-js .buddypress #delete_inbox_messages,body.no-js .buddypress #delete_sentbox_messages,body.no-js .buddypress #message-type-select,body.no-js .buddypress #messages-bulk-management #select-all-messages,body.no-js .buddypress #notifications-bulk-management #select-all-notifications,body.no-js .buddypress label[for=message-type-select]{display:none}.buddypress-wrap .wp-editor-wrap .wp-editor-wrap button,.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=button],.buddypress-wrap .wp-editor-wrap .wp-editor-wrap input[type=submit],.buddypress-wrap .wp-editor-wrap a.button,.buddypress-wrap .wp-editor-wrap input[type=reset]{padding:0 8px 1px}.buddypress-wrap .select-wrap{border:1px solid #eee}.buddypress-wrap .select-wrap label{display:inline}.buddypress-wrap .select-wrap select::-ms-expand{display:none}.buddypress-wrap .select-wrap select{-moz-appearance:none;-webkit-appearance:none;-o-appearance:none;appearance:none;border:0;cursor:pointer;margin-right:-25px;padding:6px 25px 6px 10px;position:relative;text-indent:-2px;z-index:1;width:100%}.buddypress-wrap .select-wrap select,.buddypress-wrap .select-wrap select:active,.buddypress-wrap .select-wrap select:focus{background:0 0}.buddypress-wrap .select-wrap span.select-arrow{display:inline-block;position:relative;z-index:0}.buddypress-wrap .select-wrap span.select-arrow:before{color:#ccc;content:"\25BC"}.buddypress-wrap .select-wrap:focus .select-arrow:before,.buddypress-wrap .select-wrap:hover .select-arrow:before{color:#a6a6a6}.buddypress-wrap .bp-search form:focus,.buddypress-wrap .bp-search form:hover,.buddypress-wrap .select-wrap:focus,.buddypress-wrap .select-wrap:hover{border:1px solid #d5d4d4;box-shadow:inset 0 0 3px #eee}@media screen and (min-width:32em){.buddypress-wrap .notifications-options-nav .select-wrap{float:left}}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after,.buddypress-wrap .bp-messages-search-form:before{content:" ";display:table}.buddypress-wrap .bp-dir-search-form,.buddypress-wrap .bp-messages-search-form:after{clear:both}.buddypress-wrap form.bp-dir-search-form,.buddypress-wrap form.bp-invites-search-form,.buddypress-wrap form.bp-messages-search-form{border:1px solid #eee;width:100%}@media screen and (min-width:55em){.buddypress-wrap form.bp-dir-search-form,.buddypress-wrap form.bp-invites-search-form,.buddypress-wrap form.bp-messages-search-form{width:15em}}.buddypress-wrap form.bp-dir-search-form label,.buddypress-wrap form.bp-invites-search-form label,.buddypress-wrap form.bp-messages-search-form label{margin:0}.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-invites-search-form button[type=submit],.buddypress-wrap form.bp-invites-search-form input[type=search],.buddypress-wrap form.bp-invites-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text]{background:0 0;border:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;border-radius:0;background-clip:padding-box}.buddypress-wrap form.bp-dir-search-form input[type=search],.buddypress-wrap form.bp-dir-search-form input[type=text],.buddypress-wrap form.bp-invites-search-form input[type=search],.buddypress-wrap form.bp-invites-search-form input[type=text],.buddypress-wrap form.bp-messages-search-form input[type=search],.buddypress-wrap form.bp-messages-search-form input[type=text]{float:left;line-height:1.5;padding:3px 10px;width:80%}.buddypress-wrap form.bp-dir-search-form button[type=submit],.buddypress-wrap form.bp-invites-search-form button[type=submit],.buddypress-wrap form.bp-messages-search-form button[type=submit]{float:right;font-size:inherit;font-weight:400;line-height:1.5;padding:3px .7em;text-align:center;text-transform:none;width:20%}.buddypress-wrap form.bp-dir-search-form button[type=submit] span,.buddypress-wrap form.bp-invites-search-form button[type=submit] span,.buddypress-wrap form.bp-messages-search-form button[type=submit] span{font-family:dashicons;font-size:18px;line-height:1.6}.buddypress-wrap form.bp-dir-search-form button[type=submit].bp-show,.buddypress-wrap form.bp-invites-search-form button[type=submit].bp-show,.buddypress-wrap form.bp-messages-search-form button[type=submit].bp-show{height:auto;left:0;overflow:visible;position:static;top:0}.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-invites-search-form input[type=search]::-webkit-search-cancel-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-cancel-button{-webkit-appearance:searchfield-cancel-button}.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-dir-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-invites-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-invites-search-form input[type=search]::-webkit-search-results-decoration,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-button,.buddypress-wrap form.bp-messages-search-form input[type=search]::-webkit-search-results-decoration{display:none}.buddypress-wrap ul.filters li form label input{line-height:1.4;padding:.1em .7em}.buddypress-wrap .current-member-type{font-style:italic}.buddypress-wrap .dir-form{clear:both}.budypress.no-js form.bp-dir-search-form button[type=submit]{height:auto;left:0;overflow:visible;position:static;top:0}.bp-user [data-bp-search] form input[type=search],.bp-user [data-bp-search] form input[type=text]{padding:6px 10px 7px}.buddypress-wrap .bp-tables-user,.buddypress-wrap table.forum,.buddypress-wrap table.wp-profile-fields{width:100%}.buddypress-wrap .bp-tables-user thead tr,.buddypress-wrap table.forum thead tr,.buddypress-wrap table.wp-profile-fields thead tr{background:0 0;border-bottom:2px solid #ccc}.buddypress-wrap .bp-tables-user tbody tr,.buddypress-wrap table.forum tbody tr,.buddypress-wrap table.wp-profile-fields tbody tr{background:#fafafa}.buddypress-wrap .bp-tables-user tr td,.buddypress-wrap .bp-tables-user tr th,.buddypress-wrap table.forum tr td,.buddypress-wrap table.forum tr th,.buddypress-wrap table.wp-profile-fields tr td,.buddypress-wrap table.wp-profile-fields tr th{padding:.5em;vertical-align:middle}.buddypress-wrap .bp-tables-user tr td.label,.buddypress-wrap table.forum tr td.label,.buddypress-wrap table.wp-profile-fields tr td.label{border-right:1px solid #eaeaea;font-weight:600;width:25%}.buddypress-wrap .bp-tables-user tr.alt td,.buddypress-wrap table.wp-profile-fields tr.alt td{background:#fafafa}.buddypress-wrap table.profile-fields .data{padding:.5em 1em}.buddypress-wrap table.profile-fields tr:last-child{border-bottom:none}.buddypress-wrap table.notifications td{padding:1em .5em}.buddypress-wrap table.notifications .bulk-select-all,.buddypress-wrap table.notifications .bulk-select-check{width:7%}.buddypress-wrap table.notifications .bulk-select-check{vertical-align:middle}.buddypress-wrap table.notifications .date,.buddypress-wrap table.notifications .notification-description,.buddypress-wrap table.notifications .notification-since,.buddypress-wrap table.notifications .title{width:39%}.buddypress-wrap table.notifications .actions,.buddypress-wrap table.notifications .notification-actions{width:15%}.buddypress-wrap table.notification-settings th.title,.buddypress-wrap table.profile-settings th.title{width:80%}.buddypress-wrap table.notifications .notification-actions a.delete,.buddypress-wrap table.notifications .notification-actions a.mark-read{display:inline-block}.buddypress-wrap table.notification-settings{margin-bottom:15px;text-align:left}.buddypress-wrap #groups-notification-settings{margin-bottom:0}.buddypress-wrap table.notification-settings td:first-child,.buddypress-wrap table.notification-settings th.icon,.buddypress-wrap table.notifications td:first-child,.buddypress-wrap table.notifications th.icon{display:none}.buddypress-wrap table.notification-settings .no,.buddypress-wrap table.notification-settings .yes{text-align:center;width:40px;vertical-align:middle}.buddypress-wrap table#message-threads{clear:both}.buddypress-wrap table#message-threads .thread-info{min-width:40%}.buddypress-wrap table#message-threads .thread-info p{margin:0}.buddypress-wrap table#message-threads .thread-info p.thread-excerpt{color:#737373;font-size:12px;margin-top:3px}.buddypress-wrap table.profile-fields{margin-bottom:20px}.buddypress-wrap table.profile-fields:last-child{margin-bottom:0}.buddypress-wrap table.profile-fields p{margin:0}.buddypress-wrap table.profile-fields p:last-child{margin-top:0}.bp-screen-reader-text{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.clearfix:after,.clearfix:before{content:" ";display:table}.clearfix:after{clear:both}.center-vert{display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center}.bp-hide{display:none}.bp-show{height:auto;left:0;overflow:visible;position:static;top:0}.buddypress .buddypress-wrap .activity-read-more a,.buddypress .buddypress-wrap .comment-reply-link,.buddypress .buddypress-wrap .generic-button a,.buddypress .buddypress-wrap a.bp-title-button,.buddypress .buddypress-wrap a.button,.buddypress .buddypress-wrap button,.buddypress .buddypress-wrap input[type=button],.buddypress .buddypress-wrap input[type=reset],.buddypress .buddypress-wrap input[type=submit],.buddypress .buddypress-wrap ul.button-nav:not(.button-tabs) li a{background:#fff;border-color:#ccc;border-style:solid;border-width:1px;color:#555;cursor:pointer;font-size:inherit;font-weight:400;outline:0;padding:.3em .5em;text-align:center;text-decoration:none;width:auto}.buddypress .buddypress-wrap .button-small[type=button]{padding:0 8px 1px}.buddypress .buddypress-wrap .activity-read-more a:focus,.buddypress .buddypress-wrap .activity-read-more a:hover,.buddypress .buddypress-wrap .button-nav li a:focus,.buddypress .buddypress-wrap .button-nav li a:hover,.buddypress .buddypress-wrap .button-nav li.current a,.buddypress .buddypress-wrap .comment-reply-link:focus,.buddypress .buddypress-wrap .comment-reply-link:hover,.buddypress .buddypress-wrap .generic-button a:focus,.buddypress .buddypress-wrap .generic-button a:hover,.buddypress .buddypress-wrap a.button:focus,.buddypress .buddypress-wrap a.button:hover,.buddypress .buddypress-wrap button:focus,.buddypress .buddypress-wrap button:hover,.buddypress .buddypress-wrap input[type=button]:focus,.buddypress .buddypress-wrap input[type=button]:hover,.buddypress .buddypress-wrap input[type=reset]:focus,.buddypress .buddypress-wrap input[type=reset]:hover,.buddypress .buddypress-wrap input[type=submit]:focus,.buddypress .buddypress-wrap input[type=submit]:hover{background:#ededed;border-color:#999;color:#333;outline:0;text-decoration:none}.buddypress .buddypress-wrap a.disabled,.buddypress .buddypress-wrap button.disabled,.buddypress .buddypress-wrap button.pending,.buddypress .buddypress-wrap div.pending a,.buddypress .buddypress-wrap input[type=button].disabled,.buddypress .buddypress-wrap input[type=button].pending,.buddypress .buddypress-wrap input[type=reset].disabled,.buddypress .buddypress-wrap input[type=reset].pending,.buddypress .buddypress-wrap input[type=submit].pending,.buddypress .buddypress-wrap input[type=submit][disabled=disabled]{border-color:#eee;color:#767676;cursor:default}.buddypress .buddypress-wrap a.disabled:hover,.buddypress .buddypress-wrap button.disabled:hover,.buddypress .buddypress-wrap button.pending:hover,.buddypress .buddypress-wrap div.pending a:hover,.buddypress .buddypress-wrap input[type=button]:hover.disabled,.buddypress .buddypress-wrap input[type=button]:hover.pending,.buddypress .buddypress-wrap input[type=reset]:hover.disabled,.buddypress .buddypress-wrap input[type=reset]:hover.pending,.buddypress .buddypress-wrap input[type=submit]:hover.disabled,.buddypress .buddypress-wrap input[type=submit]:hover.pending{border-color:#eee;color:#767676}.buddypress .buddypress-wrap button.text-button,.buddypress .buddypress-wrap input.text-button{background:0 0;border:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;color:#767676}.buddypress .buddypress-wrap button.text-button.small,.buddypress .buddypress-wrap input.text-button.small{font-size:13px}.buddypress .buddypress-wrap button.text-button:focus,.buddypress .buddypress-wrap button.text-button:hover,.buddypress .buddypress-wrap input.text-button:focus,.buddypress .buddypress-wrap input.text-button:hover{background:0 0;text-decoration:underline}.buddypress .buddypress-wrap .activity-list a.button{border:none}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover{color:#1fb3dd}.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li a.invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.group-remove-invite-button:hover,.buddypress .buddypress-wrap .bp-invites-content ul.bp-list li.selected a.invite-button:hover{color:#a00}.buddypress .buddypress-wrap #item-buttons:empty{display:none}.buddypress .buddypress-wrap input:disabled:focus,.buddypress .buddypress-wrap input:disabled:hover{background:0 0}.buddypress .buddypress-wrap .text-links-list a.button{background:0 0;border:none;border-right:1px solid #eee;color:#737373;display:inline-block;padding:.3em 1em}.buddypress .buddypress-wrap .text-links-list a.button:visited{color:#d6d6d6}.buddypress .buddypress-wrap .text-links-list a.button:focus,.buddypress .buddypress-wrap .text-links-list a.button:hover{color:#5087e5}.buddypress .buddypress-wrap .text-links-list a:first-child{padding-left:0}.buddypress .buddypress-wrap .text-links-list a:last-child{border-right:none}.buddypress .buddypress-wrap .bp-list.grid .action a,.buddypress .buddypress-wrap .bp-list.grid .action button{border:1px solid #ccc;display:block;margin:0}.buddypress .buddypress-wrap .bp-list.grid .action a:focus,.buddypress .buddypress-wrap .bp-list.grid .action a:hover,.buddypress .buddypress-wrap .bp-list.grid .action button:focus,.buddypress .buddypress-wrap .bp-list.grid .action button:hover{background:#ededed}.buddypress #buddypress .create-button{background:0 0;text-align:center}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{text-decoration:underline}@media screen and (min-width:46.8em){.buddypress #buddypress .create-button{float:right}}.buddypress #buddypress .create-button a{border:1px solid #ccc;-webkit-border-radius:5px;-moz-border-radius:5px;-ms-border-radius:5px;border-radius:5px;background-clip:padding-box;-webkit-box-shadow:inset 0 0 6px 0 #eaeaea;-moz-box-shadow:inset 0 0 6px 0 #eaeaea;box-shadow:inset 0 0 6px 0 #eaeaea;margin:.2em 0;width:auto}.buddypress #buddypress .create-button a:focus,.buddypress #buddypress .create-button a:hover{background:0 0;border-color:#ccc;-webkit-box-shadow:inset 0 0 12px 0 #eaeaea;-moz-box-shadow:inset 0 0 12px 0 #eaeaea;box-shadow:inset 0 0 12px 0 #eaeaea}@media screen and (min-width:46.8em){.buddypress #buddypress.bp-dir-vert-nav .create-button{float:none;padding-top:2em}.buddypress #buddypress.bp-dir-vert-nav .create-button a{margin-right:.5em}}.buddypress #buddypress.bp-dir-hori-nav .create-button{float:left}.buddypress #buddypress.bp-dir-hori-nav .create-button a,.buddypress #buddypress.bp-dir-hori-nav .create-button a:hover{background:0 0;border:0;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none;margin:0}.buddypress-wrap button.ac-reply-cancel,.buddypress-wrap button.bp-icons{background:0 0;border:0}.buddypress-wrap button.bp-icons:focus,.buddypress-wrap button.bp-icons:hover{background:0 0}.buddypress-wrap button.ac-reply-cancel:focus,.buddypress-wrap button.ac-reply-cancel:hover{background:0 0;text-decoration:underline}.buddypress-wrap .bp-invites-content li .invite-button span.icons:before,.buddypress-wrap .bp-invites-filters .invite-button span.icons:before,.buddypress-wrap .bp-messages-filters li a.messages-button:before,.buddypress-wrap .feed a:before,.buddypress-wrap .filter label:before{font-family:dashicons;font-size:18px}.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:27px}@media screen and (min-width:46.8em){.buddypress-wrap .bp-invites-content .item-list li .invite-button span.icons:before{font-size:32px}}.buddypress-wrap .bp-list a.button.invite-button:focus,.buddypress-wrap .bp-list a.button.invite-button:hover{background:0 0}.buddypress-wrap .filter label:before{content:"\f536"}.buddypress-wrap div.feed a:before,.buddypress-wrap li.feed a:before{content:"\f303"}.buddypress-wrap ul.item-list li .invite-button:not(.group-remove-invite-button) span.icons:before{content:"\f502"}.buddypress-wrap ul.item-list li .group-remove-invite-button span.icons:before,.buddypress-wrap ul.item-list li.selected .invite-button span.icons:before{content:"\f153"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-next-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-next-page:before{content:"\f345"}.buddypress-wrap .bp-invites-filters ul li #bp-invites-prev-page:before,.buddypress-wrap .bp-messages-filters ul li #bp-messages-prev-page:before{content:"\f341"}.buddypress-wrap .warn{color:#b71717}.buddypress-wrap .bp-messages{border:1px solid #ccc;margin:0 0 15px}.buddypress-wrap .bp-messages .sitewide-notices{display:block;margin:5px;padding:.5em}.buddypress-wrap .bp-messages.info{margin-bottom:0}.buddypress-wrap .bp-messages.updated{clear:both;display:block}.buddypress-wrap .bp-messages.bp-user-messages-feedback{border:0}.buddypress-wrap #group-create-body .bp-cover-image-status p.warning{background:#0b80a4;border:0;-webkit-box-shadow:0 0 3px 0 rgba(0,0,0,.2);-moz-box-shadow:0 0 3px 0 rgba(0,0,0,.2);box-shadow:0 0 3px 0 rgba(0,0,0,.2);color:#fff}.buddypress-wrap .bp-feedback:not(.custom-homepage-info){display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row nowrap;-moz-flex-flow:row nowrap;-ms-flex-flow:row nowrap;-o-flex-flow:row nowrap;flex-flow:row nowrap;-ms-flex-align:stretch;-webkit-align-items:stretch;-webkit-box-align:stretch;align-items:stretch}.buddypress-wrap .bp-feedback{background:#fff;color:#807f7f;-webkit-box-shadow:0 1px 1px 1px rgba(0,0,0,.1);-moz-box-shadow:0 1px 1px 1px rgba(0,0,0,.1);box-shadow:0 1px 1px 1px rgba(0,0,0,.1);color:#737373;margin:10px 0;position:relative}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback span.bp-icon{color:#fff;display:block;font-family:dashicons;left:0;margin-right:10px;position:relative;padding:0 .5em}.buddypress-wrap .bp-feedback .bp-help-text{font-style:italic}.buddypress-wrap .bp-feedback .text{font-size:14px;margin:0;padding:.5em 0}.buddypress-wrap .bp-feedback.no-icon{padding:.5em}.buddypress-wrap .bp-feedback.small:before{line-height:inherit}.buddypress-wrap a[data-bp-close] span:before,.buddypress-wrap button[data-bp-close] span:before{font-size:32px}.buddypress-wrap a[data-bp-close],.buddypress-wrap button[data-bp-close]{border:0;position:absolute;top:10px;right:10px;width:32px}.buddypress-wrap .bp-feedback.no-icon a[data-bp-close],.buddypress-wrap .bp-feedback.no-icon button[data-bp-close]{top:-6px;right:6px}.buddypress-wrap button[data-bp-close]:hover{background-color:transparent}.buddypress-wrap .bp-feedback p{margin:0}.buddypress-wrap .bp-feedback .bp-icon{font-size:20px;padding:0 2px}.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon,.buddypress-wrap .bp-feedback.loading .bp-icon,.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.updated .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{display:-webkit-box;display:-ms-flexbox;display:-webkit-flex;display:flex;-ms-flex-align:center;-webkit-align-items:center;-webkit-box-align:center;align-items:center}.buddypress-wrap .bp-feedback.help .bp-icon,.buddypress-wrap .bp-feedback.info .bp-icon{background-color:#0b80a4}.buddypress-wrap .bp-feedback.help .bp-icon:before,.buddypress-wrap .bp-feedback.info .bp-icon:before{content:"\f348"}.buddypress-wrap .bp-feedback.error .bp-icon,.buddypress-wrap .bp-feedback.warning .bp-icon{background-color:#d33}.buddypress-wrap .bp-feedback.error .bp-icon:before,.buddypress-wrap .bp-feedback.warning .bp-icon:before{content:"\f534"}.buddypress-wrap .bp-feedback.loading .bp-icon{background-color:#ffd087}.buddypress-wrap .bp-feedback.loading .bp-icon:before{content:"\f469"}.buddypress-wrap .bp-feedback.success .bp-icon,.buddypress-wrap .bp-feedback.updated .bp-icon{background-color:#8a2}.buddypress-wrap .bp-feedback.success .bp-icon:before,.buddypress-wrap .bp-feedback.updated .bp-icon:before{content:"\f147"}.buddypress-wrap .bp-feedback.help .bp-icon:before{content:"\f468"}.buddypress-wrap #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;font-weight:700;margin:10px 0 10px 0;padding:.5em;text-align:center;width:auto}.buddypress-wrap #pass-strength-result.show{display:block}.buddypress-wrap #pass-strength-result.mismatch{background-color:#333;border-color:transparent;color:#fff}.buddypress-wrap #pass-strength-result.bad,.buddypress-wrap #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c;color:#fff}.buddypress-wrap #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040;color:#fff}.buddypress-wrap #pass-strength-result.strong{background-color:#66d66e;border-color:#438c48;color:#fff}.buddypress-wrap .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px 0;padding:.5em;width:90%}.buddypress-wrap .accept,.buddypress-wrap .reject{float:left;margin-left:10px}.buddypress-wrap .members-list.grid .bp-ajax-message{background:rgba(255,255,255,.9);border:1px solid #eee;font-size:14px;left:2%;position:absolute;padding:.5em 1em;right:2%;top:30px}.buddypress.widget .item-options{font-size:14px}.buddypress.widget ul.item-list{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:column nowrap;-moz-flex-flow:column nowrap;-ms-flex-flow:column nowrap;-o-flex-flow:column nowrap;flex-flow:column nowrap;list-style:none;margin:10px -2%;overflow:hidden}@media screen and (min-width:32em){.buddypress.widget ul.item-list{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row wrap;-moz-flex-flow:row wrap;-ms-flex-flow:row wrap;-o-flex-flow:row wrap;flex-flow:row wrap}}.buddypress.widget ul.item-list li{border:1px solid #eee;-ms-flex-align:stretch;-webkit-align-items:stretch;-webkit-box-align:stretch;align-items:stretch;-webkit-flex:1 1 46%;-moz-flex:1 1 46%;-ms-flex:1 1 46%;-o-flex:1 1 46%;flex:1 1 46%;margin:2%}@media screen and (min-width:75em){.buddypress.widget ul.item-list li{-webkit-flex:0 1 20%;-moz-flex:0 1 20%;-ms-flex:0 1 20%;-o-flex:0 1 20%;flex:0 1 20%}}.buddypress.widget ul.item-list li .item-avatar{padding:.5em;text-align:center}.buddypress.widget ul.item-list li .item-avatar .avatar{width:60%}.buddypress.widget ul.item-list li .item{padding:0 .5em .5em}.buddypress.widget ul.item-list li .item .item-meta{font-size:12px;overflow-wrap:break-word}.buddypress.widget .activity-list{padding:0}.buddypress.widget .activity-list blockquote{margin:0 0 1.5em;overflow:visible;padding:0 0 .75em .75em}.buddypress.widget .activity-list img{margin-bottom:.5em}.buddypress.widget .avatar-block{display:-webkit-flex;display:-moz-flex;display:-ms-flex;display:-o-flex;display:flex;-webkit-flex-flow:row wrap;-moz-flex-flow:row wrap;-ms-flex-flow:row wrap;-o-flex-flow:row wrap;flex-flow:row wrap}.buddypress.widget .avatar-block img{margin-bottom:1em;margin-right:1em}.widget-area .buddypress.widget ul.item-list li{-webkit-flex:0 1 46%;-moz-flex:0 1 46%;-ms-flex:0 1 46%;-o-flex:0 1 46%;flex:0 1 46%;margin:2% 2% 10px}@media screen and (min-width:75em){.widget-area .buddypress.widget ul.item-list li .avatar{width:100%}}@media screen and (min-width:75em){.widget-area .buddypress.widget ul.item-list{margin:10px -2%;width:100%}.widget-area .buddypress.widget ul.item-list li{-webkit-flex:0 1 auto;-moz-flex:0 1 auto;-ms-flex:0 1 auto;-o-flex:0 1 auto;flex:0 1 auto;margin:10px 2% 1%;width:46%}}#buddypress-wrap *{transition:opacity .1s ease-in-out .1s}#buddypress-wrap a.button,#buddypress-wrap a.generic-button,#buddypress-wrap button,#buddypress-wrap input[type=reset],#buddypress-wrap input[type=submit]{transition:background .1s ease-in-out .1s,color .1s ease-in-out .1s,border-color .1s ease-in-out .1s}.buddypress-wrap a.loading,.buddypress-wrap input.loading{-moz-animation:loader-pulsate .5s infinite ease-in-out alternate;-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;animation:loader-pulsate .5s infinite ease-in-out alternate;border-color:#aaa}@-webkit-keyframes loader-pulsate{from{border-color:#aaa;-webkit-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-webkit-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@-moz-keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}@keyframes loader-pulsate{from{border-color:#aaa;-moz-box-shadow:0 0 6px #ccc;box-shadow:0 0 6px #ccc}to{border-color:#ccc;-moz-box-shadow:0 0 6px #f8f8f8;box-shadow:0 0 6px #f8f8f8}}.buddypress-wrap a.loading:hover,.buddypress-wrap input.loading:hover{color:#777}[data-bp-tooltip]{position:relative}[data-bp-tooltip]:after{background-color:#fff;display:none;opacity:0;position:absolute;-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translate3d(0,0,0);visibility:hidden}[data-bp-tooltip]:after{border:1px solid #737373;border-radius:1px;box-shadow:4px 4px 8px rgba(0,0,0,.2);color:#333;content:attr(data-bp-tooltip);font-family:"Helvetica Neue",helvetica,arial,san-serif;font-size:12px;font-weight:400;letter-spacing:normal;line-height:1.25;max-width:200px;padding:5px 8px;pointer-events:none;text-shadow:none;text-transform:none;-webkit-transition:all 1.5s ease;-ms-transition:all 1.5s ease;transition:all 1.5s ease;white-space:nowrap;word-wrap:break-word;z-index:100000}[data-bp-tooltip]:active:after,[data-bp-tooltip]:focus:after,[data-bp-tooltip]:hover:after{display:block;opacity:1;overflow:visible;visibility:visible}[data-bp-tooltip=""]{display:none;opacity:0;visibility:hidden}.bp-tooltip:after{left:50%;margin-top:7px;top:110%;-webkit-transform:translate(-50%,0);-ms-transform:translate(-50%,0);transform:translate(-50%,0)}.user-list .bp-tooltip:after{left:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}@media screen and (min-width:46.8em){.user-list .bp-tooltip:after{left:auto;right:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}}.activity-list .bp-tooltip:after,.activity-meta-action .bp-tooltip:after,.notification-actions .bp-tooltip:after,.participants-list .bp-tooltip:after{left:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.bp-invites-content .bp-tooltip:after,.message-metadata .actions .bp-tooltip:after,.single-message-thread-header .actions .bp-tooltip:after{left:auto;right:0;-webkit-transform:translate(0,0);-ms-transform:translate(0,0);transform:translate(0,0)}.bp-invites-content #send-invites-editor .bp-tooltip:after{left:0;right:auto}#item-body,.single-screen-navs{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.grid>li,.grid>li .generic-button a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.grid>li{border-bottom:0;padding-bottom:10px;padding-top:0}.grid>li .list-wrap{background:#fafafa;border:1px solid #eee;padding-bottom:15px;position:relative;overflow:hidden;padding-top:14px}.grid>li .list-wrap .list-title{padding:.5em}.grid>li .list-wrap .update{color:#737373;padding:.5em 2em}.grid>li .item-avatar{text-align:center}.grid>li .item-avatar .avatar{border-radius:50%;display:inline-block;width:50%}@media screen and (min-width:24em){.grid.members-list .list-wrap{min-height:340px}.grid.members-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.members-group-list .list-wrap .item-block{margin:0 auto;min-height:7rem}.grid.groups-list .list-wrap{min-height:470px}.grid.groups-list .list-wrap .item-block{min-height:6rem}.grid.groups-list .list-wrap .group-desc{margin:15px auto 0;min-height:5em;overflow:hidden}.grid.groups-list .list-wrap .group-details,.grid.groups-list .list-wrap .item-desc,.grid.groups-list .list-wrap .last-activity{margin-bottom:0}.grid.groups-list .list-wrap .group-details p,.grid.groups-list .list-wrap .item-desc p,.grid.groups-list .list-wrap .last-activity p{margin-bottom:0}.grid.blogs-list .list-wrap{min-height:350px}.grid.blogs-list .list-wrap .item-block{margin:0 auto;min-height:7rem}}@media screen and (min-width:24em){.grid>li.item-entry{float:left;margin:0}.grid.two>li{padding-bottom:20px}}@media screen and (min-width:24em) and (min-width:75em){.grid.two>li .list-wrap{max-width:500px;margin:0 auto}}@media screen and (min-width:24em){.grid.three>li,.grid.two>li{width:50%}.grid.three>li:nth-child(odd),.grid.two>li:nth-child(odd){padding-right:10px}.grid.three>li:nth-child(even),.grid.two>li:nth-child(even){padding-left:10px}.grid.three>li .item,.grid.two>li .item{margin:1rem auto 0;width:80%}.grid.three>li .item .item-title,.grid.two>li .item .item-title{width:auto}}@media screen and (min-width:46.8em){.grid.three>li{padding-top:0;width:33.333333%;width:calc(100% / 3)}.grid.three>li:nth-child(1n+1){padding-left:5px;padding-right:5px}.grid.three>li:nth-child(3n+3){padding-left:5px;padding-right:0}.grid.three>li:nth-child(3n+1){padding-left:0;padding-right:5px}}@media screen and (min-width:46.8em){.grid.four>li{width:25%}.grid.four>li:nth-child(1n+1){padding-left:5px;padding-right:5px}.grid.four>li:nth-child(4n+4){padding-left:5px;padding-right:0}.grid.four>li:nth-child(4n+1){padding-left:0;padding-right:5px}}.buddypress-wrap .grid.bp-list{padding-top:1em}.buddypress-wrap .grid.bp-list>li{border-bottom:none}.buddypress-wrap .grid.bp-list>li .list-wrap{padding-bottom:3em}.buddypress-wrap .grid.bp-list>li .item-avatar{margin:0;text-align:center;width:auto}.buddypress-wrap .grid.bp-list>li .item-avatar img.avatar{display:inline-block;height:auto;width:50%}.buddypress-wrap .grid.bp-list>li .item-meta,.buddypress-wrap .grid.bp-list>li .list-title{float:none;text-align:center}.buddypress-wrap .grid.bp-list>li .list-title{font-size:inherit;line-height:1.1}.buddypress-wrap .grid.bp-list>li .item{font-size:18px;left:0;margin:0 auto;text-align:center;width:96%}@media screen and (min-width:46.8em){.buddypress-wrap .grid.bp-list>li .item{font-size:22px}}.buddypress-wrap .grid.bp-list>li .item .group-desc,.buddypress-wrap .grid.bp-list>li .item .item-block{float:none;width:96%}.buddypress-wrap .grid.bp-list>li .item .item-block{margin-bottom:10px}.buddypress-wrap .grid.bp-list>li .item .last-activity{margin-top:5px}.buddypress-wrap .grid.bp-list>li .item .group-desc{clear:none}.buddypress-wrap .grid.bp-list>li .item .user-update{clear:both;text-align:left}.buddypress-wrap .grid.bp-list>li .item .activity-read-more a{display:inline}.buddypress-wrap .grid.bp-list>li .action{bottom:5px;float:none;height:auto;left:0;margin:0;padding:0 5px;position:absolute;text-align:center;top:auto;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button{float:none;margin:5px 0 0;text-align:center;width:100%}.buddypress-wrap .grid.bp-list>li .action .generic-button a,.buddypress-wrap .grid.bp-list>li .action .generic-button button{width:100%}.buddypress-wrap .grid.bp-list>li .avatar,.buddypress-wrap .grid.bp-list>li .item,.buddypress-wrap .grid.bp-list>li .item-avatar{float:none}.buddypress-wrap .blogs-list.grid.two>li .blogs-title{min-height:5em}.buddypress-wrap .grid.four>li .group-desc,.buddypress-wrap .grid.three>li .group-desc{min-height:8em}.buddypress-wrap .blogs-list.grid.four>li,.buddypress-wrap .blogs-list.grid.three>li{min-height:350px}.buddypress-wrap .blogs-list.grid.four>li .last-activity,.buddypress-wrap .blogs-list.grid.three>li .last-activity{margin-bottom:0}.buddypress-wrap .blogs-list.grid.four>li .last-post,.buddypress-wrap .blogs-list.grid.three>li .last-post{margin-top:0}.buddypress:not(.logged-in) .grid.bp-list .list-wrap{padding-bottom:5px}.buddypress:not(.logged-in) .grid.groups-list .list-wrap{min-height:430px}.buddypress:not(.logged-in) .grid.members-list .list-wrap{min-height:300px}.buddypress:not(.logged-in) .grid.blogs-list .list-wrap{min-height:320px}@media screen and (min-width:46.8em){.bp-single-vert-nav .bp-navs.vertical{overflow:visible}.bp-single-vert-nav .bp-navs.vertical ul{border-right:1px solid #d6d6d6;border-bottom:0;float:left;margin-right:-1px;width:25%}.bp-single-vert-nav .bp-navs.vertical li{float:none;margin-right:0}.bp-single-vert-nav .bp-navs.vertical li.selected a{background:#ccc;color:#333}.bp-single-vert-nav .bp-navs.vertical li:focus,.bp-single-vert-nav .bp-navs.vertical li:hover{background:#ccc}.bp-single-vert-nav .bp-navs.vertical li span{background:#d6d6d6;border-radius:10%;float:right;margin-right:2px}.bp-single-vert-nav .bp-navs.vertical li:hover span{border-color:#eaeaea}.bp-single-vert-nav .bp-navs.vertical.tabbed-links li.selected a{padding-left:0}.bp-single-vert-nav .bp-wrap{margin-bottom:15px}.bp-single-vert-nav .bp-wrap .group-nav-tabs.groups-nav ul li,.bp-single-vert-nav .bp-wrap .user-nav-tabs.users-nav ul li{left:1px;position:relative}.bp-single-vert-nav .item-body:not(#group-create-body){background:#fff;border-left:1px solid #d6d6d6;float:right;margin:0;min-height:400px;padding:0 0 0 1em;width:calc(75% + 1px)}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links){background:#eaeaea;margin:0 0 0 -5px;width:auto}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li{font-size:16px;margin:10px 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a{border-right:1px solid #ccc;padding:0 .5em}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:focus,.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li a:hover{background:0 0}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li.current a{background:0 0;color:#333;text-decoration:underline}.bp-single-vert-nav .item-body:not(#group-create-body) #subnav:not(.tabbed-links) li:last-child a{border:none}.bp-dir-vert-nav .dir-navs{float:left;left:1px;position:relative;width:20%}.bp-dir-vert-nav .dir-navs ul li{float:none;overflow:hidden;width:auto}.bp-dir-vert-nav .dir-navs ul li.selected{border:1px solid #eee}.bp-dir-vert-nav .dir-navs ul li.selected a{background:#555;color:#fff}.bp-dir-vert-nav .dir-navs ul li.selected a span{background:#eaeaea;border-color:#ccc;color:#5087e5}.bp-dir-vert-nav .dir-navs ul li a:focus,.bp-dir-vert-nav .dir-navs ul li a:hover{background:#ccc;color:#333}.bp-dir-vert-nav .dir-navs ul li a:focus span,.bp-dir-vert-nav .dir-navs ul li a:hover span{border:1px solid #555}.bp-dir-vert-nav .screen-content{border-left:1px solid #d6d6d6;margin-left:20%;overflow:hidden;padding:0 0 2em 1em}.bp-dir-vert-nav .screen-content .subnav-filters{margin-top:0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li:not(.selected) a:hover,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:focus,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li:not(.selected) a:hover{background:0 0}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected{background:0 0;border:1px solid #d6d6d6;border-right-color:#fff}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a{background:0 0;color:#333;font-weight:600}.buddypress-wrap.bp-vertical-navs .dir-navs.activity-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.groups-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.members-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .dir-navs.sites-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.group-nav-tabs ul li.selected a span,.buddypress-wrap.bp-vertical-navs .main-navs.user-nav-tabs ul li.selected a span{background:#555;border:1px solid #d6d6d6;color:#fff}}
|
bp-templates/bp-nouveau/css/embeds-activity-rtl.css
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
2 |
#bp-embed-header:after {
|
3 |
clear: both;
|
4 |
content: "";
|
1 |
+
/**
|
2 |
+
* Embeds Activity styles
|
3 |
+
*
|
4 |
+
* @version 3.0.0
|
5 |
+
*/
|
6 |
#bp-embed-header:after {
|
7 |
clear: both;
|
8 |
content: "";
|
bp-templates/bp-nouveau/css/embeds-activity.css
CHANGED
@@ -1,4 +1,8 @@
|
|
1 |
-
|
|
|
|
|
|
|
|
|
2 |
#bp-embed-header:after {
|
3 |
clear: both;
|
4 |
content: "";
|
1 |
+
/**
|
2 |
+
* Embeds Activity styles
|
3 |
+
*
|
4 |
+
* @version 3.0.0
|
5 |
+
*/
|
6 |
#bp-embed-header:after {
|
7 |
clear: both;
|
8 |
content: "";
|
bp-templates/bp-nouveau/includes/activity/ajax.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Activity Ajax functions
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -438,6 +439,15 @@ function bp_nouveau_ajax_get_activity_objects() {
|
|
438 |
|
439 |
wp_send_json_success( array_map( 'bp_nouveau_prepare_group_for_js', $groups['groups'] ) );
|
440 |
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
441 |
$response = apply_filters( 'bp_nouveau_get_activity_custom_objects', $response, $_POST['type'] );
|
442 |
}
|
443 |
|
@@ -541,8 +551,16 @@ function bp_nouveau_ajax_post_update() {
|
|
541 |
|
542 |
wp_send_json_success( array(
|
543 |
'id' => $activity_id,
|
544 |
-
'message' =>
|
545 |
'activity' => $acivity,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
546 |
'is_private' => apply_filters( 'bp_nouveau_ajax_post_update_is_private', $is_private ),
|
547 |
'is_directory' => bp_is_activity_directory(),
|
548 |
) );
|
3 |
* Activity Ajax functions
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
439 |
|
440 |
wp_send_json_success( array_map( 'bp_nouveau_prepare_group_for_js', $groups['groups'] ) );
|
441 |
} else {
|
442 |
+
|
443 |
+
/**
|
444 |
+
* Filters the response for custom activity objects.
|
445 |
+
*
|
446 |
+
* @since 3.0.0
|
447 |
+
*
|
448 |
+
* @param array $response Array of custom response objects to send to AJAX return.
|
449 |
+
* @param array $value Activity object type from $_POST global.
|
450 |
+
*/
|
451 |
$response = apply_filters( 'bp_nouveau_get_activity_custom_objects', $response, $_POST['type'] );
|
452 |
}
|
453 |
|
551 |
|
552 |
wp_send_json_success( array(
|
553 |
'id' => $activity_id,
|
554 |
+
'message' => esc_html__( 'Update posted.', 'buddypress' ) . ' ' . sprintf( '<a href="%s" class="just-posted">%s</a>', esc_url( bp_activity_get_permalink( $activity_id ) ), esc_html__( 'View activity.', 'buddypress' ) ),
|
555 |
'activity' => $acivity,
|
556 |
+
|
557 |
+
/**
|
558 |
+
* Filters whether or not an AJAX post update is private.
|
559 |
+
*
|
560 |
+
* @since 3.0.0
|
561 |
+
*
|
562 |
+
* @param string/bool $is_private Privacy status for the update.
|
563 |
+
*/
|
564 |
'is_private' => apply_filters( 'bp_nouveau_ajax_post_update_is_private', $is_private ),
|
565 |
'is_directory' => bp_is_activity_directory(),
|
566 |
) );
|
bp-templates/bp-nouveau/includes/activity/functions.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Activity functions
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -89,7 +90,7 @@ function bp_nouveau_activity_localize_scripts( $params = array() ) {
|
|
89 |
}
|
90 |
|
91 |
/**
|
92 |
-
*
|
93 |
*
|
94 |
* @since 3.0.0
|
95 |
*
|
@@ -144,6 +145,13 @@ function bp_nouveau_activity_localize_scripts( $params = array() ) {
|
|
144 |
);
|
145 |
}
|
146 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
$activity_params['objects'] = apply_filters( 'bp_nouveau_activity_objects', $activity_objects );
|
148 |
}
|
149 |
|
@@ -275,6 +283,8 @@ function bp_nouveau_get_activity_directory_nav_items() {
|
|
275 |
}
|
276 |
|
277 |
/**
|
|
|
|
|
278 |
* Use this filter to introduce your custom nav items for the activity directory.
|
279 |
*
|
280 |
* @since 3.0.0
|
@@ -417,6 +427,16 @@ function bp_nouveau_activity_scope_newest_class( $classes = '' ) {
|
|
417 |
}
|
418 |
|
419 |
// Leave other components do their specific stuff if needed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
420 |
$my_classes = (array) apply_filters( 'bp_nouveau_activity_scope_newest_class', $my_classes, $scope );
|
421 |
|
422 |
if ( ! empty( $my_classes ) ) {
|
@@ -427,36 +447,6 @@ function bp_nouveau_activity_scope_newest_class( $classes = '' ) {
|
|
427 |
return $classes;
|
428 |
}
|
429 |
|
430 |
-
/**
|
431 |
-
* @since 3.0.0
|
432 |
-
*/
|
433 |
-
function bp_nouveau_activity_time_since( $time_since, $activity = null ) {
|
434 |
-
if ( ! isset( $activity->date_recorded ) ) {
|
435 |
-
return $time_since;
|
436 |
-
}
|
437 |
-
|
438 |
-
return apply_filters(
|
439 |
-
'bp_nouveau_activity_time_since', sprintf(
|
440 |
-
'<time class="time-since" datetime="%1$s" data-bp-timestamp="%2$d">%3$s</time>',
|
441 |
-
esc_attr( $activity->date_recorded ),
|
442 |
-
esc_attr( strtotime( $activity->date_recorded ) ),
|
443 |
-
esc_attr( bp_core_time_since( $activity->date_recorded ) )
|
444 |
-
)
|
445 |
-
);
|
446 |
-
}
|
447 |
-
|
448 |
-
/**
|
449 |
-
* @since 3.0.0
|
450 |
-
*/
|
451 |
-
function bp_nouveau_activity_allowed_tags( $activity_allowedtags = array() ) {
|
452 |
-
$activity_allowedtags['time'] = array();
|
453 |
-
$activity_allowedtags['time']['class'] = array();
|
454 |
-
$activity_allowedtags['time']['datetime'] = array();
|
455 |
-
$activity_allowedtags['time']['data-bp-timestamp'] = array();
|
456 |
-
|
457 |
-
return $activity_allowedtags;
|
458 |
-
}
|
459 |
-
|
460 |
/**
|
461 |
* Get the activity query args for the widget.
|
462 |
*
|
@@ -473,11 +463,11 @@ function bp_nouveau_activity_widget_query() {
|
|
473 |
}
|
474 |
|
475 |
/**
|
476 |
-
* Filter to edit the activity widget arguments
|
477 |
*
|
478 |
* @since 3.0.0
|
479 |
*
|
480 |
-
* @param
|
481 |
*/
|
482 |
return apply_filters( 'bp_nouveau_activity_widget_query', $args );
|
483 |
}
|
@@ -510,3 +500,29 @@ function bp_nouveau_activity_notification_filters() {
|
|
510 |
bp_nouveau_notifications_register_filter( $notification );
|
511 |
}
|
512 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
* Activity functions
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
90 |
}
|
91 |
|
92 |
/**
|
93 |
+
* Filters the included, specific, Action buttons.
|
94 |
*
|
95 |
* @since 3.0.0
|
96 |
*
|
145 |
);
|
146 |
}
|
147 |
|
148 |
+
/**
|
149 |
+
* Filters the activity objects to apply for localized javascript data.
|
150 |
+
*
|
151 |
+
* @since 3.0.0
|
152 |
+
*
|
153 |
+
* @param array $activity_objects Array of activity objects.
|
154 |
+
*/
|
155 |
$activity_params['objects'] = apply_filters( 'bp_nouveau_activity_objects', $activity_objects );
|
156 |
}
|
157 |
|
283 |
}
|
284 |
|
285 |
/**
|
286 |
+
* Filters the activity directory navigation items.
|
287 |
+
*
|
288 |
* Use this filter to introduce your custom nav items for the activity directory.
|
289 |
*
|
290 |
* @since 3.0.0
|
427 |
}
|
428 |
|
429 |
// Leave other components do their specific stuff if needed.
|
430 |
+
/**
|
431 |
+
* Filters the classes to be applied to the newest activity item.
|
432 |
+
*
|
433 |
+
* Leave other components do their specific stuff if needed.
|
434 |
+
*
|
435 |
+
* @since 3.0.0
|
436 |
+
*
|
437 |
+
* @param array $my_classes Array of classes to output to class attribute.
|
438 |
+
* @param string $scope Current scope for the activity type.
|
439 |
+
*/
|
440 |
$my_classes = (array) apply_filters( 'bp_nouveau_activity_scope_newest_class', $my_classes, $scope );
|
441 |
|
442 |
if ( ! empty( $my_classes ) ) {
|
447 |
return $classes;
|
448 |
}
|
449 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
450 |
/**
|
451 |
* Get the activity query args for the widget.
|
452 |
*
|
463 |
}
|
464 |
|
465 |
/**
|
466 |
+
* Filter to edit the activity widget arguments.
|
467 |
*
|
468 |
* @since 3.0.0
|
469 |
*
|
470 |
+
* @param array $args The activity arguments.
|
471 |
*/
|
472 |
return apply_filters( 'bp_nouveau_activity_widget_query', $args );
|
473 |
}
|
500 |
bp_nouveau_notifications_register_filter( $notification );
|
501 |
}
|
502 |
}
|
503 |
+
|
504 |
+
/**
|
505 |
+
* Add controls for the settings of the customizer for the activity component.
|
506 |
+
*
|
507 |
+
* @since 3.0.0
|
508 |
+
*
|
509 |
+
* @param array $controls Optional. The controls to add.
|
510 |
+
*
|
511 |
+
* @return array the controls to add.
|
512 |
+
*/
|
513 |
+
function bp_nouveau_activity_customizer_controls( $controls = array() ) {
|
514 |
+
return array_merge( $controls, array(
|
515 |
+
'act_dir_layout' => array(
|
516 |
+
'label' => __( 'Use column navigation for the Activity directory.', 'buddypress' ),
|
517 |
+
'section' => 'bp_nouveau_dir_layout',
|
518 |
+
'settings' => 'bp_nouveau_appearance[activity_dir_layout]',
|
519 |
+
'type' => 'checkbox',
|
520 |
+
),
|
521 |
+
'act_dir_tabs' => array(
|
522 |
+
'label' => __( 'Use tab styling for Activity directory navigation.', 'buddypress' ),
|
523 |
+
'section' => 'bp_nouveau_dir_layout',
|
524 |
+
'settings' => 'bp_nouveau_appearance[activity_dir_tabs]',
|
525 |
+
'type' => 'checkbox',
|
526 |
+
),
|
527 |
+
) );
|
528 |
+
}
|
bp-templates/bp-nouveau/includes/activity/loader.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Activity
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -87,6 +88,8 @@ class BP_Nouveau_Activity {
|
|
87 |
* @since 3.0.0
|
88 |
*/
|
89 |
protected function setup_filters() {
|
|
|
|
|
90 |
|
91 |
// Register activity scripts
|
92 |
add_filter( 'bp_nouveau_register_scripts', 'bp_nouveau_activity_register_scripts', 10, 1 );
|
@@ -96,8 +99,6 @@ class BP_Nouveau_Activity {
|
|
96 |
|
97 |
add_filter( 'bp_get_activity_action_pre_meta', 'bp_nouveau_activity_secondary_avatars', 10, 2 );
|
98 |
add_filter( 'bp_get_activity_css_class', 'bp_nouveau_activity_scope_newest_class', 10, 1 );
|
99 |
-
add_filter( 'bp_activity_time_since', 'bp_nouveau_activity_time_since', 10, 2 );
|
100 |
-
add_filter( 'bp_activity_allowed_tags', 'bp_nouveau_activity_allowed_tags', 10, 1 );
|
101 |
}
|
102 |
}
|
103 |
|
3 |
* BP Nouveau Activity
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
88 |
* @since 3.0.0
|
89 |
*/
|
90 |
protected function setup_filters() {
|
91 |
+
// Register customizer controls.
|
92 |
+
add_filter( 'bp_nouveau_customizer_controls', 'bp_nouveau_activity_customizer_controls', 10, 1 );
|
93 |
|
94 |
// Register activity scripts
|
95 |
add_filter( 'bp_nouveau_register_scripts', 'bp_nouveau_activity_register_scripts', 10, 1 );
|
99 |
|
100 |
add_filter( 'bp_get_activity_action_pre_meta', 'bp_nouveau_activity_secondary_avatars', 10, 2 );
|
101 |
add_filter( 'bp_get_activity_css_class', 'bp_nouveau_activity_scope_newest_class', 10, 1 );
|
|
|
|
|
102 |
}
|
103 |
}
|
104 |
|
bp-templates/bp-nouveau/includes/activity/template-tags.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Activity Template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -17,14 +18,14 @@ function bp_nouveau_before_activity_directory_content() {
|
|
17 |
/**
|
18 |
* Fires at the begining of the templates BP injected content.
|
19 |
*
|
20 |
-
* @since 2.3.0
|
21 |
*/
|
22 |
do_action( 'bp_before_directory_activity' );
|
23 |
|
24 |
/**
|
25 |
* Fires before the activity directory display content.
|
26 |
*
|
27 |
-
* @since 1.2.0
|
28 |
*/
|
29 |
do_action( 'bp_before_directory_activity_content' );
|
30 |
}
|
@@ -137,14 +138,14 @@ function bp_nouveau_activity_member_post_form() {
|
|
137 |
function bp_nouveau_activity_hook( $when = '', $suffix = '' ) {
|
138 |
$hook = array( 'bp' );
|
139 |
|
140 |
-
if (
|
141 |
$hook[] = $when;
|
142 |
}
|
143 |
|
144 |
// It's a activity entry hook
|
145 |
$hook[] = 'activity';
|
146 |
|
147 |
-
if (
|
148 |
$hook[] = $suffix;
|
149 |
}
|
150 |
|
@@ -175,11 +176,38 @@ function bp_nouveau_activity_content() {
|
|
175 |
/**
|
176 |
* Fires after the display of an activity entry content.
|
177 |
*
|
178 |
-
* @since 1.2.0
|
179 |
*/
|
180 |
do_action( 'bp_activity_entry_content' );
|
181 |
}
|
182 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
/**
|
184 |
* Output the action buttons inside an Activity Loop.
|
185 |
*
|
@@ -195,7 +223,7 @@ function bp_nouveau_activity_entry_buttons( $args = array() ) {
|
|
195 |
/**
|
196 |
* Fires at the end of the activity entry meta data area.
|
197 |
*
|
198 |
-
* @since 1.2.0
|
199 |
*/
|
200 |
do_action( 'bp_activity_entry_meta' );
|
201 |
|
@@ -585,7 +613,7 @@ function bp_nouveau_activity_recurse_comments( $comment ) {
|
|
585 |
/**
|
586 |
* Filters the opening tag for the template that lists activity comments.
|
587 |
*
|
588 |
-
* @since 1.6.0
|
589 |
*
|
590 |
* @param string $value Opening tag for the HTML markup to use.
|
591 |
*/
|
@@ -599,7 +627,7 @@ function bp_nouveau_activity_recurse_comments( $comment ) {
|
|
599 |
/**
|
600 |
* Fires before the display of an activity comment.
|
601 |
*
|
602 |
-
* @since 1.5.0
|
603 |
*/
|
604 |
do_action( 'bp_before_activity_comment' );
|
605 |
|
@@ -608,7 +636,7 @@ function bp_nouveau_activity_recurse_comments( $comment ) {
|
|
608 |
/**
|
609 |
* Fires after the display of an activity comment.
|
610 |
*
|
611 |
-
* @since 1.5.0
|
612 |
*/
|
613 |
do_action( 'bp_after_activity_comment' );
|
614 |
|
@@ -618,7 +646,7 @@ function bp_nouveau_activity_recurse_comments( $comment ) {
|
|
618 |
/**
|
619 |
* Filters the closing tag for the template that list activity comments.
|
620 |
*
|
621 |
-
* @since 1.6.0
|
622 |
*
|
623 |
* @param string $value Closing tag for the HTML markup to use.
|
624 |
*/
|
@@ -671,7 +699,7 @@ function bp_nouveau_activity_comment_form() {
|
|
671 |
/**
|
672 |
* Fires after the activity entry comment form.
|
673 |
*
|
674 |
-
* @since 1.5.0
|
675 |
*/
|
676 |
do_action( 'bp_activity_entry_comments' );
|
677 |
}
|
@@ -690,7 +718,7 @@ function bp_nouveau_activity_comment_buttons( $args = array() ) {
|
|
690 |
/**
|
691 |
* Fires after the defualt comment action options display.
|
692 |
*
|
693 |
-
* @since 1.6.0
|
694 |
*/
|
695 |
do_action( 'bp_activity_comment_options' );
|
696 |
|
3 |
* Activity Template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
18 |
/**
|
19 |
* Fires at the begining of the templates BP injected content.
|
20 |
*
|
21 |
+
* @since 2.3.0
|
22 |
*/
|
23 |
do_action( 'bp_before_directory_activity' );
|
24 |
|
25 |
/**
|
26 |
* Fires before the activity directory display content.
|
27 |
*
|
28 |
+
* @since 1.2.0
|
29 |
*/
|
30 |
do_action( 'bp_before_directory_activity_content' );
|
31 |
}
|
138 |
function bp_nouveau_activity_hook( $when = '', $suffix = '' ) {
|
139 |
$hook = array( 'bp' );
|
140 |
|
141 |
+
if ( $when ) {
|
142 |
$hook[] = $when;
|
143 |
}
|
144 |
|
145 |
// It's a activity entry hook
|
146 |
$hook[] = 'activity';
|
147 |
|
148 |
+
if ( $suffix ) {
|
149 |
$hook[] = $suffix;
|
150 |
}
|
151 |
|
176 |
/**
|
177 |
* Fires after the display of an activity entry content.
|
178 |
*
|
179 |
+
* @since 1.2.0
|
180 |
*/
|
181 |
do_action( 'bp_activity_entry_content' );
|
182 |
}
|
183 |
|
184 |
+
/**
|
185 |
+
* Output the Activity timestamp into the bp-timestamp attribute.
|
186 |
+
*
|
187 |
+
* @since 3.0.0
|
188 |
+
*/
|
189 |
+
function bp_nouveau_activity_timestamp() {
|
190 |
+
echo esc_attr( bp_nouveau_get_activity_timestamp() );
|
191 |
+
}
|
192 |
+
|
193 |
+
/**
|
194 |
+
* Get the Activity timestamp.
|
195 |
+
*
|
196 |
+
* @since 3.0.0
|
197 |
+
*
|
198 |
+
* @return integer The Activity timestamp.
|
199 |
+
*/
|
200 |
+
function bp_nouveau_get_activity_timestamp() {
|
201 |
+
/**
|
202 |
+
* Filter here to edit the activity timestamp.
|
203 |
+
*
|
204 |
+
* @since 3.0.0
|
205 |
+
*
|
206 |
+
* @param integer $value The Activity timestamp.
|
207 |
+
*/
|
208 |
+
return apply_filters( 'bp_nouveau_get_activity_timestamp', strtotime( bp_get_activity_date_recorded() ) );
|
209 |
+
}
|
210 |
+
|
211 |
/**
|
212 |
* Output the action buttons inside an Activity Loop.
|
213 |
*
|
223 |
/**
|
224 |
* Fires at the end of the activity entry meta data area.
|
225 |
*
|
226 |
+
* @since 1.2.0
|
227 |
*/
|
228 |
do_action( 'bp_activity_entry_meta' );
|
229 |
|
613 |
/**
|
614 |
* Filters the opening tag for the template that lists activity comments.
|
615 |
*
|
616 |
+
* @since 1.6.0
|
617 |
*
|
618 |
* @param string $value Opening tag for the HTML markup to use.
|
619 |
*/
|
627 |
/**
|
628 |
* Fires before the display of an activity comment.
|
629 |
*
|
630 |
+
* @since 1.5.0
|
631 |
*/
|
632 |
do_action( 'bp_before_activity_comment' );
|
633 |
|
636 |
/**
|
637 |
* Fires after the display of an activity comment.
|
638 |
*
|
639 |
+
* @since 1.5.0
|
640 |
*/
|
641 |
do_action( 'bp_after_activity_comment' );
|
642 |
|
646 |
/**
|
647 |
* Filters the closing tag for the template that list activity comments.
|
648 |
*
|
649 |
+
* @since 1.6.0
|
650 |
*
|
651 |
* @param string $value Closing tag for the HTML markup to use.
|
652 |
*/
|
699 |
/**
|
700 |
* Fires after the activity entry comment form.
|
701 |
*
|
702 |
+
* @since 1.5.0
|
703 |
*/
|
704 |
do_action( 'bp_activity_entry_comments' );
|
705 |
}
|
718 |
/**
|
719 |
* Fires after the defualt comment action options display.
|
720 |
*
|
721 |
+
* @since 1.6.0
|
722 |
*/
|
723 |
do_action( 'bp_activity_comment_options' );
|
724 |
|
bp-templates/bp-nouveau/includes/activity/widgets.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Activity widgets
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -20,6 +21,14 @@ class BP_Latest_Activities extends WP_Widget {
|
|
20 |
* @since 3.0.0
|
21 |
*/
|
22 |
public function __construct() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
$widget_ops = apply_filters(
|
24 |
'bp_latest_activities', array(
|
25 |
'classname' => 'bp-latest-activities buddypress',
|
@@ -60,7 +69,15 @@ class BP_Latest_Activities extends WP_Widget {
|
|
60 |
$title = $instance['title'];
|
61 |
}
|
62 |
|
63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
|
65 |
|
66 |
// Check instance for custom max number of activities to display
|
3 |
* BP Nouveau Activity widgets
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
21 |
* @since 3.0.0
|
22 |
*/
|
23 |
public function __construct() {
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Filters the widget options for the BP_Latest_Activities widget.
|
27 |
+
*
|
28 |
+
* @since 3.0.0
|
29 |
+
*
|
30 |
+
* @param array $value Array of widget options.
|
31 |
+
*/
|
32 |
$widget_ops = apply_filters(
|
33 |
'bp_latest_activities', array(
|
34 |
'classname' => 'bp-latest-activities buddypress',
|
69 |
$title = $instance['title'];
|
70 |
}
|
71 |
|
72 |
+
/**
|
73 |
+
* Filters the BP_Latest_Activities widget title.
|
74 |
+
*
|
75 |
+
* @since 3.0.0
|
76 |
+
*
|
77 |
+
* @param string $title The widget title.
|
78 |
+
* @param array $instance The settings for the particular instance of the widget.
|
79 |
+
* @param string $id_base Root ID for all widgets of this type.
|
80 |
+
*/
|
81 |
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
|
82 |
|
83 |
// Check instance for custom max number of activities to display
|
bp-templates/bp-nouveau/includes/ajax.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Common functions only loaded on AJAX requests.
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -75,6 +76,14 @@ function bp_nouveau_ajax_object_template_loader() {
|
|
75 |
break;
|
76 |
}
|
77 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
78 |
$result['feed_url'] = apply_filters( 'bp_nouveau_ajax_object_template_loader', $feed_url, $scope );
|
79 |
}
|
80 |
|
@@ -113,6 +122,14 @@ function bp_nouveau_ajax_object_template_loader() {
|
|
113 |
ob_start();
|
114 |
|
115 |
$template_path = bp_locate_template( array( $template_part ), false );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
116 |
$template_path = apply_filters( 'bp_nouveau_object_template_path', $template_path );
|
117 |
|
118 |
load_template( $template_path );
|
3 |
* Common functions only loaded on AJAX requests.
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
76 |
break;
|
77 |
}
|
78 |
|
79 |
+
/**
|
80 |
+
* Filters the browser URL for the template loader.
|
81 |
+
*
|
82 |
+
* @since 3.0.0
|
83 |
+
*
|
84 |
+
* @param string $feed_url Template feed url.
|
85 |
+
* @param string $scope Current component scope.
|
86 |
+
*/
|
87 |
$result['feed_url'] = apply_filters( 'bp_nouveau_ajax_object_template_loader', $feed_url, $scope );
|
88 |
}
|
89 |
|
122 |
ob_start();
|
123 |
|
124 |
$template_path = bp_locate_template( array( $template_part ), false );
|
125 |
+
|
126 |
+
/**
|
127 |
+
* Filters the server path for the template loader.
|
128 |
+
*
|
129 |
+
* @since 3.0.0
|
130 |
+
*
|
131 |
+
* @param string Template file path.
|
132 |
+
*/
|
133 |
$template_path = apply_filters( 'bp_nouveau_object_template_path', $template_path );
|
134 |
|
135 |
load_template( $template_path );
|
bp-templates/bp-nouveau/includes/blogs/ajax.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Blogs Ajax functions
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
3 |
* Blogs Ajax functions
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
bp-templates/bp-nouveau/includes/blogs/functions.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Blogs functions
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -170,6 +171,18 @@ function bp_nouveau_blogs_customizer_controls( $controls = array() ) {
|
|
170 |
'type' => 'select',
|
171 |
'choices' => bp_nouveau_customizer_grid_choices(),
|
172 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
173 |
) );
|
174 |
}
|
175 |
|
3 |
* Blogs functions
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
171 |
'type' => 'select',
|
172 |
'choices' => bp_nouveau_customizer_grid_choices(),
|
173 |
),
|
174 |
+
'sites_dir_layout' => array(
|
175 |
+
'label' => __( 'Use column navigation for the Sites directory.', 'buddypress' ),
|
176 |
+
'section' => 'bp_nouveau_dir_layout',
|
177 |
+
'settings' => 'bp_nouveau_appearance[sites_dir_layout]',
|
178 |
+
'type' => 'checkbox',
|
179 |
+
),
|
180 |
+
'sites_dir_tabs' => array(
|
181 |
+
'label' => __( 'Use tab styling for Sites directory navigation.', 'buddypress' ),
|
182 |
+
'section' => 'bp_nouveau_dir_layout',
|
183 |
+
'settings' => 'bp_nouveau_appearance[sites_dir_tabs]',
|
184 |
+
'type' => 'checkbox',
|
185 |
+
),
|
186 |
) );
|
187 |
}
|
188 |
|
bp-templates/bp-nouveau/includes/blogs/template-tags.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Blogs Template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -18,28 +19,28 @@ function bp_nouveau_before_blogs_directory_content() {
|
|
18 |
/**
|
19 |
* Fires at the begining of the templates BP injected content.
|
20 |
*
|
21 |
-
* @since 2.3.0
|
22 |
*/
|
23 |
do_action( 'bp_before_directory_blogs_page' );
|
24 |
|
25 |
/**
|
26 |
* Fires before the display of the blogs.
|
27 |
*
|
28 |
-
* @since 1.5.0
|
29 |
*/
|
30 |
do_action( 'bp_before_directory_blogs' );
|
31 |
|
32 |
/**
|
33 |
* Fires before the display of the blogs listing content.
|
34 |
*
|
35 |
-
* @since 3.0.0
|
36 |
*/
|
37 |
do_action( 'bp_before_directory_blogs_content' );
|
38 |
|
39 |
/**
|
40 |
* Fires before the display of the blogs list tabs.
|
41 |
*
|
42 |
-
* @since 2.3.0
|
43 |
*/
|
44 |
do_action( 'bp_before_directory_blogs_tabs' );
|
45 |
}
|
@@ -53,28 +54,28 @@ function bp_nouveau_after_blogs_directory_content() {
|
|
53 |
/**
|
54 |
* Fires inside and displays the blogs content.
|
55 |
*
|
56 |
-
* @since 3.0.0
|
57 |
*/
|
58 |
do_action( 'bp_directory_blogs_content' );
|
59 |
|
60 |
/**
|
61 |
* Fires after the display of the blogs listing content.
|
62 |
*
|
63 |
-
* @since 3.0.0
|
64 |
*/
|
65 |
do_action( 'bp_after_directory_blogs_content' );
|
66 |
|
67 |
/**
|
68 |
* Fires at the bottom of the blogs directory template file.
|
69 |
*
|
70 |
-
* @since 1.5.0
|
71 |
*/
|
72 |
do_action( 'bp_after_directory_blogs' );
|
73 |
|
74 |
/**
|
75 |
* Fires at the bottom of the blogs directory template file.
|
76 |
*
|
77 |
-
* @since 2.3.0
|
78 |
*/
|
79 |
do_action( 'bp_after_directory_blogs_page' );
|
80 |
}
|
@@ -113,7 +114,7 @@ function bp_nouveau_blogs_loop_item() {
|
|
113 |
/**
|
114 |
* Fires after the listing of a blog item in the blogs loop.
|
115 |
*
|
116 |
-
* @since 1.2.0
|
117 |
*/
|
118 |
do_action( 'bp_directory_blogs_item' );
|
119 |
}
|
3 |
* Blogs Template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
19 |
/**
|
20 |
* Fires at the begining of the templates BP injected content.
|
21 |
*
|
22 |
+
* @since 2.3.0
|
23 |
*/
|
24 |
do_action( 'bp_before_directory_blogs_page' );
|
25 |
|
26 |
/**
|
27 |
* Fires before the display of the blogs.
|
28 |
*
|
29 |
+
* @since 1.5.0
|
30 |
*/
|
31 |
do_action( 'bp_before_directory_blogs' );
|
32 |
|
33 |
/**
|
34 |
* Fires before the display of the blogs listing content.
|
35 |
*
|
36 |
+
* @since 3.0.0
|
37 |
*/
|
38 |
do_action( 'bp_before_directory_blogs_content' );
|
39 |
|
40 |
/**
|
41 |
* Fires before the display of the blogs list tabs.
|
42 |
*
|
43 |
+
* @since 2.3.0
|
44 |
*/
|
45 |
do_action( 'bp_before_directory_blogs_tabs' );
|
46 |
}
|
54 |
/**
|
55 |
* Fires inside and displays the blogs content.
|
56 |
*
|
57 |
+
* @since 3.0.0
|
58 |
*/
|
59 |
do_action( 'bp_directory_blogs_content' );
|
60 |
|
61 |
/**
|
62 |
* Fires after the display of the blogs listing content.
|
63 |
*
|
64 |
+
* @since 3.0.0
|
65 |
*/
|
66 |
do_action( 'bp_after_directory_blogs_content' );
|
67 |
|
68 |
/**
|
69 |
* Fires at the bottom of the blogs directory template file.
|
70 |
*
|
71 |
+
* @since 1.5.0
|
72 |
*/
|
73 |
do_action( 'bp_after_directory_blogs' );
|
74 |
|
75 |
/**
|
76 |
* Fires at the bottom of the blogs directory template file.
|
77 |
*
|
78 |
+
* @since 2.3.0
|
79 |
*/
|
80 |
do_action( 'bp_after_directory_blogs_page' );
|
81 |
}
|
114 |
/**
|
115 |
* Fires after the listing of a blog item in the blogs loop.
|
116 |
*
|
117 |
+
* @since 1.2.0
|
118 |
*/
|
119 |
do_action( 'bp_directory_blogs_item' );
|
120 |
}
|
bp-templates/bp-nouveau/includes/classes.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Common Classes
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -223,6 +224,15 @@ class BP_Nouveau_Object_Nav_Widget extends WP_Widget {
|
|
223 |
return;
|
224 |
}
|
225 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
226 |
$item_nav_args = wp_parse_args( $instance, apply_filters( 'bp_nouveau_object_nav_widget_args', array(
|
227 |
'bp_nouveau_widget_title' => true,
|
228 |
) ) );
|
@@ -230,8 +240,6 @@ class BP_Nouveau_Object_Nav_Widget extends WP_Widget {
|
|
230 |
$title = '';
|
231 |
|
232 |
if ( ! empty( $item_nav_args['bp_nouveau_widget_title'] ) ) {
|
233 |
-
$title = '';
|
234 |
-
|
235 |
if ( bp_is_group() ) {
|
236 |
$title = bp_get_current_group_name();
|
237 |
} elseif ( bp_is_user() ) {
|
@@ -241,6 +249,15 @@ class BP_Nouveau_Object_Nav_Widget extends WP_Widget {
|
|
241 |
}
|
242 |
}
|
243 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
244 |
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
|
245 |
|
246 |
echo $args['before_widget'];
|
3 |
* Common Classes
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
224 |
return;
|
225 |
}
|
226 |
|
227 |
+
/**
|
228 |
+
* Filters the nav widget args for the BP_Nouveau_Object_Nav_Widget widget.
|
229 |
+
*
|
230 |
+
* @since 3.0.0
|
231 |
+
*
|
232 |
+
* @param array $value Array of arguments {
|
233 |
+
* @param bool $bp_nouveau_widget_title Whether or not to assign a title for the widget.
|
234 |
+
* }
|
235 |
+
*/
|
236 |
$item_nav_args = wp_parse_args( $instance, apply_filters( 'bp_nouveau_object_nav_widget_args', array(
|
237 |
'bp_nouveau_widget_title' => true,
|
238 |
) ) );
|
240 |
$title = '';
|
241 |
|
242 |
if ( ! empty( $item_nav_args['bp_nouveau_widget_title'] ) ) {
|
|
|
|
|
243 |
if ( bp_is_group() ) {
|
244 |
$title = bp_get_current_group_name();
|
245 |
} elseif ( bp_is_user() ) {
|
249 |
}
|
250 |
}
|
251 |
|
252 |
+
/**
|
253 |
+
* Filters the BP_Nouveau_Object_Nav_Widget widget title.
|
254 |
+
*
|
255 |
+
* @since 3.0.0
|
256 |
+
*
|
257 |
+
* @param string $title The widget title.
|
258 |
+
* @param array $instance The settings for the particular instance of the widget.
|
259 |
+
* @param string $id_base Root ID for all widgets of this type.
|
260 |
+
*/
|
261 |
$title = apply_filters( 'widget_title', $title, $instance, $this->id_base );
|
262 |
|
263 |
echo $args['before_widget'];
|
bp-templates/bp-nouveau/includes/customizer-controls.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Customizer controls
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -54,12 +55,14 @@ class BP_Nouveau_Nav_Customize_Control extends WP_Customize_Control {
|
|
54 |
}
|
55 |
|
56 |
if ( $item_nav ) {
|
57 |
-
$guide = __( '
|
58 |
}
|
59 |
|
60 |
// It's a user!
|
61 |
} else {
|
62 |
$item_nav = bp_nouveau_member_customizer_nav();
|
|
|
|
|
63 |
}
|
64 |
?>
|
65 |
|
3 |
* Customizer controls
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
55 |
}
|
56 |
|
57 |
if ( $item_nav ) {
|
58 |
+
$guide = __( 'Drag each possible group nav items that are listed below into the order you prefer, in some groups some of these nav items might not be active.', 'buddypress' );
|
59 |
}
|
60 |
|
61 |
// It's a user!
|
62 |
} else {
|
63 |
$item_nav = bp_nouveau_member_customizer_nav();
|
64 |
+
|
65 |
+
$guide = __( 'Drag each possible user nav items that are listed below into the order you prefer.', 'buddypress' );
|
66 |
}
|
67 |
?>
|
68 |
|
bp-templates/bp-nouveau/includes/customizer.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Code to hook into the WP Customizer
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
/**
|
@@ -27,30 +28,37 @@ function bp_nouveau_customize_register( WP_Customize_Manager $wp_customize ) {
|
|
27 |
'priority' => 200,
|
28 |
) );
|
29 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
$sections = apply_filters( 'bp_nouveau_customizer_sections', array(
|
31 |
'bp_nouveau_general_settings' => array(
|
32 |
'title' => __( 'General BP Settings', 'buddypress' ),
|
33 |
'panel' => 'bp_nouveau_panel',
|
34 |
'priority' => 10,
|
35 |
-
'description' => __( '
|
36 |
),
|
37 |
'bp_nouveau_user_front_page' => array(
|
38 |
-
'title' => __( 'User
|
39 |
'panel' => 'bp_nouveau_panel',
|
40 |
'priority' => 30,
|
41 |
-
'description' => __( '
|
42 |
),
|
43 |
'bp_nouveau_user_primary_nav' => array(
|
44 |
-
'title' => __( 'User
|
45 |
'panel' => 'bp_nouveau_panel',
|
46 |
'priority' => 50,
|
47 |
-
'description' => __( 'Customize the
|
48 |
),
|
49 |
'bp_nouveau_loops_layout' => array(
|
50 |
-
'title' => __( '
|
51 |
'panel' => 'bp_nouveau_panel',
|
52 |
'priority' => 70,
|
53 |
-
'description' => __( 'Set the number of columns to use for
|
54 |
),
|
55 |
'bp_nouveau_dir_layout' => array(
|
56 |
'title' => __( 'Directory layouts', 'buddypress' ),
|
@@ -65,6 +73,13 @@ function bp_nouveau_customize_register( WP_Customize_Manager $wp_customize ) {
|
|
65 |
$wp_customize->add_section( $id_section, $section_args );
|
66 |
}
|
67 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
68 |
$settings = apply_filters( 'bp_nouveau_customizer_settings', array(
|
69 |
'bp_nouveau_appearance[avatar_style]' => array(
|
70 |
'index' => 'avatar_style',
|
@@ -171,13 +186,6 @@ function bp_nouveau_customize_register( WP_Customize_Manager $wp_customize ) {
|
|
171 |
'transport' => 'refresh',
|
172 |
'type' => 'option',
|
173 |
),
|
174 |
-
'bp_nouveau_appearance[groups_dir_tabs]' => array(
|
175 |
-
'index' => 'groups_dir_tabs',
|
176 |
-
'capability' => 'bp_moderate',
|
177 |
-
'sanitize_callback' => 'absint',
|
178 |
-
'transport' => 'refresh',
|
179 |
-
'type' => 'option',
|
180 |
-
),
|
181 |
'bp_nouveau_appearance[sites_dir_layout]' => array(
|
182 |
'index' => 'sites_dir_layout',
|
183 |
'capability' => 'bp_moderate',
|
@@ -207,120 +215,86 @@ function bp_nouveau_customize_register( WP_Customize_Manager $wp_customize ) {
|
|
207 |
$wp_customize->add_setting( $id_setting, $args );
|
208 |
}
|
209 |
|
210 |
-
$controls =
|
211 |
'bp_site_avatars' => array(
|
212 |
-
'label' => __( '
|
213 |
'section' => 'bp_nouveau_general_settings',
|
214 |
'settings' => 'bp_nouveau_appearance[avatar_style]',
|
215 |
'type' => 'checkbox',
|
216 |
),
|
217 |
'user_front_page' => array(
|
218 |
-
'label' => __( 'Enable default front page for
|
219 |
'section' => 'bp_nouveau_user_front_page',
|
220 |
'settings' => 'bp_nouveau_appearance[user_front_page]',
|
221 |
'type' => 'checkbox',
|
222 |
),
|
223 |
'user_front_bio' => array(
|
224 |
-
'label' => __( 'Display the
|
225 |
'section' => 'bp_nouveau_user_front_page',
|
226 |
'settings' => 'bp_nouveau_appearance[user_front_bio]',
|
227 |
'type' => 'checkbox',
|
228 |
),
|
229 |
'user_nav_display' => array(
|
230 |
-
'label' => __( 'Display the
|
231 |
'section' => 'bp_nouveau_user_primary_nav',
|
232 |
'settings' => 'bp_nouveau_appearance[user_nav_display]',
|
233 |
'type' => 'checkbox',
|
234 |
),
|
235 |
'user_nav_tabs' => array(
|
236 |
-
'label' => __( '
|
237 |
'section' => 'bp_nouveau_user_primary_nav',
|
238 |
'settings' => 'bp_nouveau_appearance[user_nav_tabs]',
|
239 |
'type' => 'checkbox',
|
240 |
),
|
241 |
'user_subnav_tabs' => array(
|
242 |
-
'label' => __( '
|
243 |
'section' => 'bp_nouveau_user_primary_nav',
|
244 |
'settings' => 'bp_nouveau_appearance[user_subnav_tabs]',
|
245 |
'type' => 'checkbox',
|
246 |
),
|
247 |
'user_nav_order' => array(
|
248 |
'class' => 'BP_Nouveau_Nav_Customize_Control',
|
249 |
-
'label' => __( 'Reorder the
|
250 |
'section' => 'bp_nouveau_user_primary_nav',
|
251 |
'settings' => 'bp_nouveau_appearance[user_nav_order]',
|
252 |
'type' => 'user',
|
253 |
),
|
254 |
'members_layout' => array(
|
255 |
-
'label' => __( 'Members
|
256 |
'section' => 'bp_nouveau_loops_layout',
|
257 |
'settings' => 'bp_nouveau_appearance[members_layout]',
|
258 |
'type' => 'select',
|
259 |
'choices' => bp_nouveau_customizer_grid_choices(),
|
260 |
),
|
261 |
-
'members_group_layout' => array(
|
262 |
-
'label' => __( 'Members loop - Single Groups.', 'buddypress' ),
|
263 |
-
'section' => 'bp_nouveau_loops_layout',
|
264 |
-
'settings' => 'bp_nouveau_appearance[members_group_layout]',
|
265 |
-
'type' => 'select',
|
266 |
-
'choices' => bp_nouveau_customizer_grid_choices(),
|
267 |
-
),
|
268 |
'members_friends_layout' => array(
|
269 |
-
'label' => __( '
|
270 |
'section' => 'bp_nouveau_loops_layout',
|
271 |
'settings' => 'bp_nouveau_appearance[members_friends_layout]',
|
272 |
'type' => 'select',
|
273 |
'choices' => bp_nouveau_customizer_grid_choices(),
|
274 |
),
|
275 |
-
'act_dir_layout' => array(
|
276 |
-
'label' => __( 'Set Activity dir nav to column.', 'buddypress' ),
|
277 |
-
'section' => 'bp_nouveau_dir_layout',
|
278 |
-
'settings' => 'bp_nouveau_appearance[activity_dir_layout]',
|
279 |
-
'type' => 'checkbox',
|
280 |
-
),
|
281 |
-
'act_dir_tabs' => array(
|
282 |
-
'label' => __( 'Set Activity nav to tab style.', 'buddypress' ),
|
283 |
-
'section' => 'bp_nouveau_dir_layout',
|
284 |
-
'settings' => 'bp_nouveau_appearance[activity_dir_tabs]',
|
285 |
-
'type' => 'checkbox',
|
286 |
-
),
|
287 |
'members_dir_layout' => array(
|
288 |
-
'label' => __( '
|
289 |
'section' => 'bp_nouveau_dir_layout',
|
290 |
'settings' => 'bp_nouveau_appearance[members_dir_layout]',
|
291 |
'type' => 'checkbox',
|
292 |
),
|
293 |
'members_dir_tabs' => array(
|
294 |
-
'label' => __( '
|
295 |
'section' => 'bp_nouveau_dir_layout',
|
296 |
'settings' => 'bp_nouveau_appearance[members_dir_tabs]',
|
297 |
'type' => 'checkbox',
|
298 |
),
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
'type' => 'checkbox',
|
310 |
-
),
|
311 |
-
'sites_dir_layout' => array(
|
312 |
-
'label' => __( 'Set Sites dir nav to column.', 'buddypress' ),
|
313 |
-
'section' => 'bp_nouveau_dir_layout',
|
314 |
-
'settings' => 'bp_nouveau_appearance[sites_dir_layout]',
|
315 |
-
'type' => 'checkbox',
|
316 |
-
),
|
317 |
-
'sites_dir_tabs' => array(
|
318 |
-
'label' => __( 'Set Sites nav to tab style.', 'buddypress' ),
|
319 |
-
'section' => 'bp_nouveau_dir_layout',
|
320 |
-
'settings' => 'bp_nouveau_appearance[sites_dir_tabs]',
|
321 |
-
'type' => 'checkbox',
|
322 |
-
),
|
323 |
-
) );
|
324 |
|
325 |
// Add the controls to the customizer's section
|
326 |
foreach ( $controls as $id_control => $control_args ) {
|
@@ -349,6 +323,11 @@ function bp_nouveau_customizer_enqueue_scripts() {
|
|
349 |
true
|
350 |
);
|
351 |
|
|
|
|
|
|
|
|
|
|
|
352 |
do_action( 'bp_nouveau_customizer_enqueue_scripts' );
|
353 |
}
|
354 |
add_action( 'customize_controls_enqueue_scripts', 'bp_nouveau_customizer_enqueue_scripts' );
|
3 |
* Code to hook into the WP Customizer
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
/**
|
28 |
'priority' => 200,
|
29 |
) );
|
30 |
|
31 |
+
/**
|
32 |
+
* Filters the BuddyPress Nouveau customizer sections and their arguments.
|
33 |
+
*
|
34 |
+
* @since 3.0.0
|
35 |
+
*
|
36 |
+
* @param array $value Array of Customizer sections.
|
37 |
+
*/
|
38 |
$sections = apply_filters( 'bp_nouveau_customizer_sections', array(
|
39 |
'bp_nouveau_general_settings' => array(
|
40 |
'title' => __( 'General BP Settings', 'buddypress' ),
|
41 |
'panel' => 'bp_nouveau_panel',
|
42 |
'priority' => 10,
|
43 |
+
'description' => __( 'Configure general BuddyPress appearance options.', 'buddypress' ),
|
44 |
),
|
45 |
'bp_nouveau_user_front_page' => array(
|
46 |
+
'title' => __( 'User front page', 'buddypress' ),
|
47 |
'panel' => 'bp_nouveau_panel',
|
48 |
'priority' => 30,
|
49 |
+
'description' => __( 'Configure the default front page for users.', 'buddypress' ),
|
50 |
),
|
51 |
'bp_nouveau_user_primary_nav' => array(
|
52 |
+
'title' => __( 'User navigation', 'buddypress' ),
|
53 |
'panel' => 'bp_nouveau_panel',
|
54 |
'priority' => 50,
|
55 |
+
'description' => __( 'Customize the navigation menu for users. In the preview window, navigate to a user to preview your changes.', 'buddypress' ),
|
56 |
),
|
57 |
'bp_nouveau_loops_layout' => array(
|
58 |
+
'title' => __( 'Loop layouts', 'buddypress' ),
|
59 |
'panel' => 'bp_nouveau_panel',
|
60 |
'priority' => 70,
|
61 |
+
'description' => __( 'Set the number of columns to use for BuddyPress loops.', 'buddypress' ),
|
62 |
),
|
63 |
'bp_nouveau_dir_layout' => array(
|
64 |
'title' => __( 'Directory layouts', 'buddypress' ),
|
73 |
$wp_customize->add_section( $id_section, $section_args );
|
74 |
}
|
75 |
|
76 |
+
/**
|
77 |
+
* Filters the BuddyPress Nouveau customizer settings and their arguments.
|
78 |
+
*
|
79 |
+
* @since 3.0.0
|
80 |
+
*
|
81 |
+
* @param array $value Array of Customizer settings.
|
82 |
+
*/
|
83 |
$settings = apply_filters( 'bp_nouveau_customizer_settings', array(
|
84 |
'bp_nouveau_appearance[avatar_style]' => array(
|
85 |
'index' => 'avatar_style',
|
186 |
'transport' => 'refresh',
|
187 |
'type' => 'option',
|
188 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
'bp_nouveau_appearance[sites_dir_layout]' => array(
|
190 |
'index' => 'sites_dir_layout',
|
191 |
'capability' => 'bp_moderate',
|
215 |
$wp_customize->add_setting( $id_setting, $args );
|
216 |
}
|
217 |
|
218 |
+
$controls = array(
|
219 |
'bp_site_avatars' => array(
|
220 |
+
'label' => __( 'Use the round style for member and group avatars.', 'buddypress' ),
|
221 |
'section' => 'bp_nouveau_general_settings',
|
222 |
'settings' => 'bp_nouveau_appearance[avatar_style]',
|
223 |
'type' => 'checkbox',
|
224 |
),
|
225 |
'user_front_page' => array(
|
226 |
+
'label' => __( 'Enable default front page for member profiles.', 'buddypress' ),
|
227 |
'section' => 'bp_nouveau_user_front_page',
|
228 |
'settings' => 'bp_nouveau_appearance[user_front_page]',
|
229 |
'type' => 'checkbox',
|
230 |
),
|
231 |
'user_front_bio' => array(
|
232 |
+
'label' => __( 'Display the biographical info from the user\'s WordPress profile.', 'buddypress' ),
|
233 |
'section' => 'bp_nouveau_user_front_page',
|
234 |
'settings' => 'bp_nouveau_appearance[user_front_bio]',
|
235 |
'type' => 'checkbox',
|
236 |
),
|
237 |
'user_nav_display' => array(
|
238 |
+
'label' => __( 'Display the user navigation vertically.', 'buddypress' ),
|
239 |
'section' => 'bp_nouveau_user_primary_nav',
|
240 |
'settings' => 'bp_nouveau_appearance[user_nav_display]',
|
241 |
'type' => 'checkbox',
|
242 |
),
|
243 |
'user_nav_tabs' => array(
|
244 |
+
'label' => __( 'Use tab styling for primary nav.', 'buddypress' ),
|
245 |
'section' => 'bp_nouveau_user_primary_nav',
|
246 |
'settings' => 'bp_nouveau_appearance[user_nav_tabs]',
|
247 |
'type' => 'checkbox',
|
248 |
),
|
249 |
'user_subnav_tabs' => array(
|
250 |
+
'label' => __( 'Use tab styling for secondary nav.', 'buddypress' ),
|
251 |
'section' => 'bp_nouveau_user_primary_nav',
|
252 |
'settings' => 'bp_nouveau_appearance[user_subnav_tabs]',
|
253 |
'type' => 'checkbox',
|
254 |
),
|
255 |
'user_nav_order' => array(
|
256 |
'class' => 'BP_Nouveau_Nav_Customize_Control',
|
257 |
+
'label' => __( 'Reorder the primary navigation for a user.', 'buddypress' ),
|
258 |
'section' => 'bp_nouveau_user_primary_nav',
|
259 |
'settings' => 'bp_nouveau_appearance[user_nav_order]',
|
260 |
'type' => 'user',
|
261 |
),
|
262 |
'members_layout' => array(
|
263 |
+
'label' => __( 'Members', 'buddypress' ),
|
264 |
'section' => 'bp_nouveau_loops_layout',
|
265 |
'settings' => 'bp_nouveau_appearance[members_layout]',
|
266 |
'type' => 'select',
|
267 |
'choices' => bp_nouveau_customizer_grid_choices(),
|
268 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
'members_friends_layout' => array(
|
270 |
+
'label' => __( 'Member > Friends', 'buddypress' ),
|
271 |
'section' => 'bp_nouveau_loops_layout',
|
272 |
'settings' => 'bp_nouveau_appearance[members_friends_layout]',
|
273 |
'type' => 'select',
|
274 |
'choices' => bp_nouveau_customizer_grid_choices(),
|
275 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
276 |
'members_dir_layout' => array(
|
277 |
+
'label' => __( 'Use column navigation for the Members directory.', 'buddypress' ),
|
278 |
'section' => 'bp_nouveau_dir_layout',
|
279 |
'settings' => 'bp_nouveau_appearance[members_dir_layout]',
|
280 |
'type' => 'checkbox',
|
281 |
),
|
282 |
'members_dir_tabs' => array(
|
283 |
+
'label' => __( 'Use tab styling for Members directory navigation.', 'buddypress' ),
|
284 |
'section' => 'bp_nouveau_dir_layout',
|
285 |
'settings' => 'bp_nouveau_appearance[members_dir_tabs]',
|
286 |
'type' => 'checkbox',
|
287 |
),
|
288 |
+
);
|
289 |
+
|
290 |
+
/**
|
291 |
+
* Filters the BuddyPress Nouveau customizer controls and their arguments.
|
292 |
+
*
|
293 |
+
* @since 3.0.0
|
294 |
+
*
|
295 |
+
* @param array $value Array of Customizer controls.
|
296 |
+
*/
|
297 |
+
$controls = apply_filters( 'bp_nouveau_customizer_controls', $controls );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
298 |
|
299 |
// Add the controls to the customizer's section
|
300 |
foreach ( $controls as $id_control => $control_args ) {
|
323 |
true
|
324 |
);
|
325 |
|
326 |
+
/**
|
327 |
+
* Fires after Nouveau enqueues its required javascript.
|
328 |
+
*
|
329 |
+
* @since 3.0.0
|
330 |
+
*/
|
331 |
do_action( 'bp_nouveau_customizer_enqueue_scripts' );
|
332 |
}
|
333 |
add_action( 'customize_controls_enqueue_scripts', 'bp_nouveau_customizer_enqueue_scripts' );
|
bp-templates/bp-nouveau/includes/friends/ajax.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Friends Ajax functions
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
3 |
* Friends Ajax functions
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
bp-templates/bp-nouveau/includes/friends/loader.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Friends
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
3 |
* BP Nouveau Friends
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
bp-templates/bp-nouveau/includes/functions.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Common functions
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -235,7 +236,7 @@ function bp_nouveau_wrapper( $args = array() ) {
|
|
235 |
*/
|
236 |
$current_component_class = bp_current_component() . '-meta';
|
237 |
|
238 |
-
if (
|
239 |
$generic_class = ' activity-meta ';
|
240 |
} else {
|
241 |
$generic_class = '';
|
@@ -362,6 +363,15 @@ function bp_nouveau_is_object_nav_in_sidebar() {
|
|
362 |
* @return bool
|
363 |
*/
|
364 |
function bp_nouveau_current_user_can( $capability = '' ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
365 |
return apply_filters( 'bp_nouveau_current_user_can', is_user_logged_in(), $capability, bp_loggedin_user_id() );
|
366 |
}
|
367 |
|
@@ -385,6 +395,14 @@ function bp_nouveau_parse_hooked_dir_nav( $hook = '', $component = '', $position
|
|
385 |
|
386 |
// Get the hook output.
|
387 |
ob_start();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
388 |
do_action( $hook );
|
389 |
$output = ob_get_clean();
|
390 |
|
@@ -451,6 +469,14 @@ function bp_nouveau_parse_hooked_options( $hook = '', $filters = array() ) {
|
|
451 |
}
|
452 |
|
453 |
ob_start();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
454 |
do_action( $hook );
|
455 |
|
456 |
$output = ob_get_clean();
|
@@ -544,7 +570,10 @@ function bp_nouveau_get_temporary_setting( $option = '', $retval = false ) {
|
|
544 |
return $retval;
|
545 |
}
|
546 |
|
547 |
-
$temporary_setting =
|
|
|
|
|
|
|
548 |
|
549 |
// This is used to transport the customizer settings into Ajax requests.
|
550 |
if ( 'any' === $option ) {
|
@@ -880,7 +909,11 @@ function bp_nouveau_theme_cover_image( $params = array() ) {
|
|
880 |
*/
|
881 |
function bp_nouveau_get_user_feedback( $feedback_id = '' ) {
|
882 |
/**
|
883 |
-
*
|
|
|
|
|
|
|
|
|
884 |
*
|
885 |
* @param array $value The list of feedback messages.
|
886 |
*/
|
@@ -905,11 +938,11 @@ function bp_nouveau_get_user_feedback( $feedback_id = '' ) {
|
|
905 |
),
|
906 |
'directory-activity-loading' => array(
|
907 |
'type' => 'loading',
|
908 |
-
'message' => __( 'Loading the community updates
|
909 |
),
|
910 |
'single-activity-loading' => array(
|
911 |
'type' => 'loading',
|
912 |
-
'message' => __( 'Loading the update
|
913 |
),
|
914 |
'activity-loop-none' => array(
|
915 |
'type' => 'info',
|
@@ -925,11 +958,11 @@ function bp_nouveau_get_user_feedback( $feedback_id = '' ) {
|
|
925 |
),
|
926 |
'directory-blogs-loading' => array(
|
927 |
'type' => 'loading',
|
928 |
-
'message' => __( 'Loading the sites of the network
|
929 |
),
|
930 |
'directory-groups-loading' => array(
|
931 |
'type' => 'loading',
|
932 |
-
'message' => __( 'Loading the groups of the community
|
933 |
),
|
934 |
'groups-loop-none' => array(
|
935 |
'type' => 'info',
|
@@ -937,11 +970,11 @@ function bp_nouveau_get_user_feedback( $feedback_id = '' ) {
|
|
937 |
),
|
938 |
'group-activity-loading' => array(
|
939 |
'type' => 'loading',
|
940 |
-
'message' => __( 'Loading the group updates
|
941 |
),
|
942 |
'group-members-loading' => array(
|
943 |
'type' => 'loading',
|
944 |
-
'message' => __( 'Requesting the group members
|
945 |
),
|
946 |
'group-members-none' => array(
|
947 |
'type' => 'info',
|
@@ -961,11 +994,11 @@ function bp_nouveau_get_user_feedback( $feedback_id = '' ) {
|
|
961 |
),
|
962 |
'group-requests-loading' => array(
|
963 |
'type' => 'loading',
|
964 |
-
'message' => __( 'Loading the members who requested to join the group
|
965 |
),
|
966 |
'group-delete-warning' => array(
|
967 |
'type' => 'warning',
|
968 |
-
'message' => __( 'WARNING: Deleting this group will completely remove ALL content associated with it. There is no way back
|
969 |
),
|
970 |
'group-avatar-delete-info' => array(
|
971 |
'type' => 'info',
|
@@ -973,7 +1006,7 @@ function bp_nouveau_get_user_feedback( $feedback_id = '' ) {
|
|
973 |
),
|
974 |
'directory-members-loading' => array(
|
975 |
'type' => 'loading',
|
976 |
-
'message' => __( 'Loading the members of your community
|
977 |
),
|
978 |
'members-loop-none' => array(
|
979 |
'type' => 'info',
|
@@ -1001,23 +1034,23 @@ function bp_nouveau_get_user_feedback( $feedback_id = '' ) {
|
|
1001 |
),
|
1002 |
'member-activity-loading' => array(
|
1003 |
'type' => 'loading',
|
1004 |
-
'message' => __( 'Loading the user\'s updates
|
1005 |
),
|
1006 |
'member-blogs-loading' => array(
|
1007 |
'type' => 'loading',
|
1008 |
-
'message' => __( 'Loading the
|
1009 |
),
|
1010 |
'member-friends-loading' => array(
|
1011 |
'type' => 'loading',
|
1012 |
-
'message' => __( 'Loading the
|
1013 |
),
|
1014 |
'member-groups-loading' => array(
|
1015 |
'type' => 'loading',
|
1016 |
-
'message' => __( 'Loading the
|
1017 |
),
|
1018 |
'member-notifications-loading' => array(
|
1019 |
'type' => 'loading',
|
1020 |
-
'message' => __( 'Loading notifications
|
1021 |
),
|
1022 |
'member-group-invites-all' => array(
|
1023 |
'type' => 'info',
|
@@ -1025,7 +1058,7 @@ function bp_nouveau_get_user_feedback( $feedback_id = '' ) {
|
|
1025 |
),
|
1026 |
'member-group-invites-friends-only' => array(
|
1027 |
'type' => 'info',
|
1028 |
-
'message' => __( 'Currently only your friends can invite you to groups
|
1029 |
),
|
1030 |
) );
|
1031 |
|
@@ -1055,13 +1088,13 @@ function bp_nouveau_get_user_feedback( $feedback_id = '' ) {
|
|
1055 |
} elseif ( 'member-delete-account' === $feedback_id && bp_is_my_profile() ) {
|
1056 |
$feedback_messages['member-delete-account']['message'] = __( 'Deleting your account will delete all of the content you have created. It will be completely irrecoverable.', 'buddypress' );
|
1057 |
} elseif ( 'member-activity-loading' === $feedback_id && bp_is_my_profile() ) {
|
1058 |
-
$feedback_messages['member-activity-loading']['message'] = __( 'Loading your updates
|
1059 |
} elseif ( 'member-blogs-loading' === $feedback_id && bp_is_my_profile() ) {
|
1060 |
-
$feedback_messages['member-blogs-loading']['message'] = __( 'Loading
|
1061 |
} elseif ( 'member-friends-loading' === $feedback_id && bp_is_my_profile() ) {
|
1062 |
-
$feedback_messages['member-friends-loading']['message'] = __( 'Loading your friends
|
1063 |
} elseif ( 'member-groups-loading' === $feedback_id && bp_is_my_profile() ) {
|
1064 |
-
$feedback_messages['member-groups-loading']['message'] = __( 'Loading
|
1065 |
}
|
1066 |
|
1067 |
/**
|
3 |
* Common functions
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
236 |
*/
|
237 |
$current_component_class = bp_current_component() . '-meta';
|
238 |
|
239 |
+
if ( bp_is_group_activity() ) {
|
240 |
$generic_class = ' activity-meta ';
|
241 |
} else {
|
242 |
$generic_class = '';
|
363 |
* @return bool
|
364 |
*/
|
365 |
function bp_nouveau_current_user_can( $capability = '' ) {
|
366 |
+
/**
|
367 |
+
* Filters whether or not the current user can perform an action for BuddyPress Nouveau.
|
368 |
+
*
|
369 |
+
* @since 3.0.0
|
370 |
+
*
|
371 |
+
* @param bool $value Whether or not the user is logged in.
|
372 |
+
* @param string $capability Current capability being checked.
|
373 |
+
* @param int $value Current logged in user ID.
|
374 |
+
*/
|
375 |
return apply_filters( 'bp_nouveau_current_user_can', is_user_logged_in(), $capability, bp_loggedin_user_id() );
|
376 |
}
|
377 |
|
395 |
|
396 |
// Get the hook output.
|
397 |
ob_start();
|
398 |
+
|
399 |
+
/**
|
400 |
+
* Fires at the start of the output for `bp_nouveau_parse_hooked_dir_nav()`.
|
401 |
+
*
|
402 |
+
* This hook is variable and depends on the hook parameter passed in.
|
403 |
+
*
|
404 |
+
* @since 3.0.0
|
405 |
+
*/
|
406 |
do_action( $hook );
|
407 |
$output = ob_get_clean();
|
408 |
|
469 |
}
|
470 |
|
471 |
ob_start();
|
472 |
+
|
473 |
+
/**
|
474 |
+
* Fires at the start of the output for `bp_nouveau_parse_hooked_options()`.
|
475 |
+
*
|
476 |
+
* This hook is variable and depends on the hook parameter passed in.
|
477 |
+
*
|
478 |
+
* @since 3.0.0
|
479 |
+
*/
|
480 |
do_action( $hook );
|
481 |
|
482 |
$output = ob_get_clean();
|
570 |
return $retval;
|
571 |
}
|
572 |
|
573 |
+
$temporary_setting = wp_unslash( $_POST['customized'] );
|
574 |
+
if ( ! is_array( $temporary_setting ) ) {
|
575 |
+
$temporary_setting = json_decode( $temporary_setting, true );
|
576 |
+
}
|
577 |
|
578 |
// This is used to transport the customizer settings into Ajax requests.
|
579 |
if ( 'any' === $option ) {
|
909 |
*/
|
910 |
function bp_nouveau_get_user_feedback( $feedback_id = '' ) {
|
911 |
/**
|
912 |
+
* Filters the BuddyPress Nouveau feedback messages.
|
913 |
+
*
|
914 |
+
* Use this filter to add your custom feedback messages.
|
915 |
+
*
|
916 |
+
* @since 3.0.0
|
917 |
*
|
918 |
* @param array $value The list of feedback messages.
|
919 |
*/
|
938 |
),
|
939 |
'directory-activity-loading' => array(
|
940 |
'type' => 'loading',
|
941 |
+
'message' => __( 'Loading the community updates. Please wait.', 'buddypress' ),
|
942 |
),
|
943 |
'single-activity-loading' => array(
|
944 |
'type' => 'loading',
|
945 |
+
'message' => __( 'Loading the update. Please wait.', 'buddypress' ),
|
946 |
),
|
947 |
'activity-loop-none' => array(
|
948 |
'type' => 'info',
|
958 |
),
|
959 |
'directory-blogs-loading' => array(
|
960 |
'type' => 'loading',
|
961 |
+
'message' => __( 'Loading the sites of the network. Please wait.', 'buddypress' ),
|
962 |
),
|
963 |
'directory-groups-loading' => array(
|
964 |
'type' => 'loading',
|
965 |
+
'message' => __( 'Loading the groups of the community. Please wait.', 'buddypress' ),
|
966 |
),
|
967 |
'groups-loop-none' => array(
|
968 |
'type' => 'info',
|
970 |
),
|
971 |
'group-activity-loading' => array(
|
972 |
'type' => 'loading',
|
973 |
+
'message' => __( 'Loading the group updates. Please wait.', 'buddypress' ),
|
974 |
),
|
975 |
'group-members-loading' => array(
|
976 |
'type' => 'loading',
|
977 |
+
'message' => __( 'Requesting the group members. Please wait.', 'buddypress' ),
|
978 |
),
|
979 |
'group-members-none' => array(
|
980 |
'type' => 'info',
|
994 |
),
|
995 |
'group-requests-loading' => array(
|
996 |
'type' => 'loading',
|
997 |
+
'message' => __( 'Loading the members who requested to join the group. Please wait.', 'buddypress' ),
|
998 |
),
|
999 |
'group-delete-warning' => array(
|
1000 |
'type' => 'warning',
|
1001 |
+
'message' => __( 'WARNING: Deleting this group will completely remove ALL content associated with it. There is no way back. Please be careful with this option.', 'buddypress' ),
|
1002 |
),
|
1003 |
'group-avatar-delete-info' => array(
|
1004 |
'type' => 'info',
|
1006 |
),
|
1007 |
'directory-members-loading' => array(
|
1008 |
'type' => 'loading',
|
1009 |
+
'message' => __( 'Loading the members of your community. Please wait.', 'buddypress' ),
|
1010 |
),
|
1011 |
'members-loop-none' => array(
|
1012 |
'type' => 'info',
|
1034 |
),
|
1035 |
'member-activity-loading' => array(
|
1036 |
'type' => 'loading',
|
1037 |
+
'message' => __( 'Loading the user\'s updates. Please wait.', 'buddypress' ),
|
1038 |
),
|
1039 |
'member-blogs-loading' => array(
|
1040 |
'type' => 'loading',
|
1041 |
+
'message' => __( 'Loading the user\'s blogs. Please wait.', 'buddypress' ),
|
1042 |
),
|
1043 |
'member-friends-loading' => array(
|
1044 |
'type' => 'loading',
|
1045 |
+
'message' => __( 'Loading the user\'s friends. Please wait.', 'buddypress' ),
|
1046 |
),
|
1047 |
'member-groups-loading' => array(
|
1048 |
'type' => 'loading',
|
1049 |
+
'message' => __( 'Loading the user\'s groups. Please wait.', 'buddypress' ),
|
1050 |
),
|
1051 |
'member-notifications-loading' => array(
|
1052 |
'type' => 'loading',
|
1053 |
+
'message' => __( 'Loading notifications. Please wait.', 'buddypress' ),
|
1054 |
),
|
1055 |
'member-group-invites-all' => array(
|
1056 |
'type' => 'info',
|
1058 |
),
|
1059 |
'member-group-invites-friends-only' => array(
|
1060 |
'type' => 'info',
|
1061 |
+
'message' => __( 'Currently only your friends can invite you to groups. Uncheck the box to allow any member to send invites.', 'buddypress' ),
|
1062 |
),
|
1063 |
) );
|
1064 |
|
1088 |
} elseif ( 'member-delete-account' === $feedback_id && bp_is_my_profile() ) {
|
1089 |
$feedback_messages['member-delete-account']['message'] = __( 'Deleting your account will delete all of the content you have created. It will be completely irrecoverable.', 'buddypress' );
|
1090 |
} elseif ( 'member-activity-loading' === $feedback_id && bp_is_my_profile() ) {
|
1091 |
+
$feedback_messages['member-activity-loading']['message'] = __( 'Loading your updates. Please wait.', 'buddypress' );
|
1092 |
} elseif ( 'member-blogs-loading' === $feedback_id && bp_is_my_profile() ) {
|
1093 |
+
$feedback_messages['member-blogs-loading']['message'] = __( 'Loading your blogs. Please wait.', 'buddypress' );
|
1094 |
} elseif ( 'member-friends-loading' === $feedback_id && bp_is_my_profile() ) {
|
1095 |
+
$feedback_messages['member-friends-loading']['message'] = __( 'Loading your friends. Please wait.', 'buddypress' );
|
1096 |
} elseif ( 'member-groups-loading' === $feedback_id && bp_is_my_profile() ) {
|
1097 |
+
$feedback_messages['member-groups-loading']['message'] = __( 'Loading your groups. Please wait.', 'buddypress' );
|
1098 |
}
|
1099 |
|
1100 |
/**
|
bp-templates/bp-nouveau/includes/groups/ajax.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Groups Ajax functions
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -253,7 +254,7 @@ function bp_nouveau_ajax_get_users_to_invite() {
|
|
253 |
$bp = buddypress();
|
254 |
|
255 |
$response = array(
|
256 |
-
'feedback' =>
|
257 |
'type' => 'error',
|
258 |
);
|
259 |
|
@@ -281,45 +282,45 @@ function bp_nouveau_ajax_get_users_to_invite() {
|
|
281 |
) );
|
282 |
|
283 |
$bp->groups->invites_scope = 'members';
|
284 |
-
$message =
|
285 |
|
286 |
if ( 'friends' === $request['scope'] ) {
|
287 |
$request['user_id'] = bp_loggedin_user_id();
|
288 |
$bp->groups->invites_scope = 'friends';
|
289 |
-
$message =
|
290 |
}
|
291 |
|
292 |
if ( 'invited' === $request['scope'] ) {
|
293 |
|
294 |
if ( ! bp_group_has_invites( array( 'user_id' => 'any' ) ) ) {
|
295 |
wp_send_json_error( array(
|
296 |
-
'feedback' =>
|
297 |
'type' => 'info',
|
298 |
) );
|
299 |
}
|
300 |
|
301 |
$request['is_confirmed'] = false;
|
302 |
$bp->groups->invites_scope = 'invited';
|
303 |
-
$message =
|
304 |
}
|
305 |
|
306 |
$potential_invites = bp_nouveau_get_group_potential_invites( $request );
|
307 |
|
308 |
if ( empty( $potential_invites->users ) ) {
|
309 |
$error = array(
|
310 |
-
'feedback' =>
|
311 |
'type' => 'info',
|
312 |
);
|
313 |
|
314 |
if ( 'friends' === $bp->groups->invites_scope ) {
|
315 |
$error = array(
|
316 |
-
'feedback' =>
|
317 |
'type' => 'info',
|
318 |
);
|
319 |
|
320 |
if ( 0 === (int) bp_get_total_friend_count( bp_loggedin_user_id() ) ) {
|
321 |
$error = array(
|
322 |
-
'feedback' =>
|
323 |
'type' => 'info',
|
324 |
);
|
325 |
}
|
@@ -348,17 +349,13 @@ function bp_nouveau_ajax_send_group_invites() {
|
|
348 |
$bp = buddypress();
|
349 |
|
350 |
$response = array(
|
351 |
-
'feedback' =>
|
|
|
352 |
);
|
353 |
|
354 |
// Verify nonce
|
355 |
if ( empty( $_POST['_wpnonce'] ) || ! wp_verify_nonce( $_POST['_wpnonce'], 'groups_send_invites' ) ) {
|
356 |
-
wp_send_json_error(
|
357 |
-
array(
|
358 |
-
'feedback' => bp_nouveau_message_markup_wrapper( __( 'Invites could not be sent, please try again.', 'buddypress' ), 'error' ),
|
359 |
-
'type' => 'error',
|
360 |
-
)
|
361 |
-
);
|
362 |
}
|
363 |
|
364 |
$group_id = bp_get_current_group_id();
|
@@ -368,12 +365,8 @@ function bp_nouveau_ajax_send_group_invites() {
|
|
368 |
}
|
369 |
|
370 |
if ( ! bp_groups_user_can_send_invites( $group_id ) ) {
|
371 |
-
|
372 |
-
|
373 |
-
'feedback' => bp_nouveau_message_markup_wrapper( __( 'You are not allowed to send invites for this group.', 'buddypress' ), 'error' ),
|
374 |
-
'type' => 'error',
|
375 |
-
)
|
376 |
-
);
|
377 |
}
|
378 |
|
379 |
if ( empty( $_POST['users'] ) ) {
|
@@ -410,9 +403,12 @@ function bp_nouveau_ajax_send_group_invites() {
|
|
410 |
if ( array_search( false, $invited ) ) {
|
411 |
$errors = array_keys( $invited, false );
|
412 |
|
|
|
|
|
|
|
413 |
wp_send_json_error(
|
414 |
array(
|
415 |
-
'feedback' =>
|
416 |
'users' => $errors,
|
417 |
'type' => 'error',
|
418 |
)
|
@@ -421,7 +417,8 @@ function bp_nouveau_ajax_send_group_invites() {
|
|
421 |
|
422 |
wp_send_json_success(
|
423 |
array(
|
424 |
-
'feedback' =>
|
|
|
425 |
)
|
426 |
);
|
427 |
}
|
@@ -437,7 +434,8 @@ function bp_nouveau_ajax_remove_group_invite() {
|
|
437 |
if ( empty( $_POST['_wpnonce'] ) || ! wp_verify_nonce( $_POST['_wpnonce'], 'groups_invite_uninvite_user' ) ) {
|
438 |
wp_send_json_error(
|
439 |
array(
|
440 |
-
'feedback' =>
|
|
|
441 |
)
|
442 |
);
|
443 |
}
|
@@ -445,7 +443,8 @@ function bp_nouveau_ajax_remove_group_invite() {
|
|
445 |
if ( BP_Groups_Member::check_for_membership_request( $user_id, $group_id ) ) {
|
446 |
wp_send_json_error(
|
447 |
array(
|
448 |
-
'feedback' =>
|
|
|
449 |
'code' => 1,
|
450 |
)
|
451 |
);
|
@@ -455,7 +454,8 @@ function bp_nouveau_ajax_remove_group_invite() {
|
|
455 |
if ( ! groups_uninvite_user( $user_id, $group_id ) ) {
|
456 |
wp_send_json_error(
|
457 |
array(
|
458 |
-
'feedback' =>
|
|
|
459 |
'code' => 0,
|
460 |
)
|
461 |
);
|
@@ -463,7 +463,8 @@ function bp_nouveau_ajax_remove_group_invite() {
|
|
463 |
|
464 |
wp_send_json_success(
|
465 |
array(
|
466 |
-
'feedback' =>
|
|
|
467 |
'has_invites' => bp_group_has_invites( array( 'user_id' => 'any' ) ),
|
468 |
)
|
469 |
);
|
3 |
* Groups Ajax functions
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
254 |
$bp = buddypress();
|
255 |
|
256 |
$response = array(
|
257 |
+
'feedback' => __( 'There was a problem performing this action. Please try again.', 'buddypress' ),
|
258 |
'type' => 'error',
|
259 |
);
|
260 |
|
282 |
) );
|
283 |
|
284 |
$bp->groups->invites_scope = 'members';
|
285 |
+
$message = __( 'Select members to invite by clicking the + button. Once you\'ve made your selection, use the "Send Invites" nav item to continue.', 'buddypress' );
|
286 |
|
287 |
if ( 'friends' === $request['scope'] ) {
|
288 |
$request['user_id'] = bp_loggedin_user_id();
|
289 |
$bp->groups->invites_scope = 'friends';
|
290 |
+
$message = __( 'Select friends to invite by clicking the + button. Once you\'ve made your selection, use the "Send Invites" nav item to continue.', 'buddypress' );
|
291 |
}
|
292 |
|
293 |
if ( 'invited' === $request['scope'] ) {
|
294 |
|
295 |
if ( ! bp_group_has_invites( array( 'user_id' => 'any' ) ) ) {
|
296 |
wp_send_json_error( array(
|
297 |
+
'feedback' => __( 'No pending invites found.', 'buddypress' ),
|
298 |
'type' => 'info',
|
299 |
) );
|
300 |
}
|
301 |
|
302 |
$request['is_confirmed'] = false;
|
303 |
$bp->groups->invites_scope = 'invited';
|
304 |
+
$message = __( 'You can view all the group\'s pending invites from this screen.', 'buddypress' );
|
305 |
}
|
306 |
|
307 |
$potential_invites = bp_nouveau_get_group_potential_invites( $request );
|
308 |
|
309 |
if ( empty( $potential_invites->users ) ) {
|
310 |
$error = array(
|
311 |
+
'feedback' => __( 'No members were found. Try another filter.', 'buddypress' ),
|
312 |
'type' => 'info',
|
313 |
);
|
314 |
|
315 |
if ( 'friends' === $bp->groups->invites_scope ) {
|
316 |
$error = array(
|
317 |
+
'feedback' => __( 'All your friends are already members of this group, or have already received an invite to join this group, or have requested to join it.', 'buddypress' ),
|
318 |
'type' => 'info',
|
319 |
);
|
320 |
|
321 |
if ( 0 === (int) bp_get_total_friend_count( bp_loggedin_user_id() ) ) {
|
322 |
$error = array(
|
323 |
+
'feedback' => __( 'You have no friends!', 'buddypress' ),
|
324 |
'type' => 'info',
|
325 |
);
|
326 |
}
|
349 |
$bp = buddypress();
|
350 |
|
351 |
$response = array(
|
352 |
+
'feedback' => __( 'Invites could not be sent. Please try again.', 'buddypress' ),
|
353 |
+
'type' => 'error',
|
354 |
);
|
355 |
|
356 |
// Verify nonce
|
357 |
if ( empty( $_POST['_wpnonce'] ) || ! wp_verify_nonce( $_POST['_wpnonce'], 'groups_send_invites' ) ) {
|
358 |
+
wp_send_json_error( $response );
|
|
|
|
|
|
|
|
|
|
|
359 |
}
|
360 |
|
361 |
$group_id = bp_get_current_group_id();
|
365 |
}
|
366 |
|
367 |
if ( ! bp_groups_user_can_send_invites( $group_id ) ) {
|
368 |
+
$response['feedback'] = __( 'You are not allowed to send invites for this group.', 'buddypress' );
|
369 |
+
wp_send_json_error( $response );
|
|
|
|
|
|
|
|
|
370 |
}
|
371 |
|
372 |
if ( empty( $_POST['users'] ) ) {
|
403 |
if ( array_search( false, $invited ) ) {
|
404 |
$errors = array_keys( $invited, false );
|
405 |
|
406 |
+
$error_count = count( $errors );
|
407 |
+
$error_message = sprintf( _n( 'Invites failed for %s user.', 'Invites failed for %s users.', $error_count, 'buddypress' ), number_format_i18n( $error_count ) );
|
408 |
+
|
409 |
wp_send_json_error(
|
410 |
array(
|
411 |
+
'feedback' => $error_message,
|
412 |
'users' => $errors,
|
413 |
'type' => 'error',
|
414 |
)
|
417 |
|
418 |
wp_send_json_success(
|
419 |
array(
|
420 |
+
'feedback' => __( 'Invites sent.', 'buddypress' ),
|
421 |
+
'type' => 'success',
|
422 |
)
|
423 |
);
|
424 |
}
|
434 |
if ( empty( $_POST['_wpnonce'] ) || ! wp_verify_nonce( $_POST['_wpnonce'], 'groups_invite_uninvite_user' ) ) {
|
435 |
wp_send_json_error(
|
436 |
array(
|
437 |
+
'feedback' => __( 'Invites could not be removed. Please try again.', 'buddypress' ),
|
438 |
+
'type' => 'error',
|
439 |
)
|
440 |
);
|
441 |
}
|
443 |
if ( BP_Groups_Member::check_for_membership_request( $user_id, $group_id ) ) {
|
444 |
wp_send_json_error(
|
445 |
array(
|
446 |
+
'feedback' => __( 'Too late! The user is already a member of the group.', 'buddypress' ),
|
447 |
+
'type' => 'warning',
|
448 |
'code' => 1,
|
449 |
)
|
450 |
);
|
454 |
if ( ! groups_uninvite_user( $user_id, $group_id ) ) {
|
455 |
wp_send_json_error(
|
456 |
array(
|
457 |
+
'feedback' => __( 'Invite could not be removed successfully.', 'buddypress' ),
|
458 |
+
'type' => 'error',
|
459 |
'code' => 0,
|
460 |
)
|
461 |
);
|
463 |
|
464 |
wp_send_json_success(
|
465 |
array(
|
466 |
+
'feedback' => __( 'No more pending invites for the group.', 'buddypress' ),
|
467 |
+
'type' => 'info',
|
468 |
'has_invites' => bp_group_has_invites( array( 'user_id' => 'any' ) ),
|
469 |
)
|
470 |
);
|
bp-templates/bp-nouveau/includes/groups/classes.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Groups classes
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -228,6 +229,7 @@ class BP_Nouveau_Customizer_Group_Nav extends BP_Core_Nav {
|
|
228 |
'name' => __( 'Memberships', 'buddypress' ),
|
229 |
'slug' => $this->group->slug,
|
230 |
'position' => -1,
|
|
|
231 |
'default_subnav_slug' => apply_filters( 'bp_groups_default_extension', defined( 'BP_GROUPS_DEFAULT_EXTENSION' ) ? BP_GROUPS_DEFAULT_EXTENSION : 'home' ),
|
232 |
),
|
233 |
'home' => array(
|
3 |
* Groups classes
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
229 |
'name' => __( 'Memberships', 'buddypress' ),
|
230 |
'slug' => $this->group->slug,
|
231 |
'position' => -1,
|
232 |
+
/** This filter is documented in bp-groups/classes/class-bp-groups-component.php. */
|
233 |
'default_subnav_slug' => apply_filters( 'bp_groups_default_extension', defined( 'BP_GROUPS_DEFAULT_EXTENSION' ) ? BP_GROUPS_DEFAULT_EXTENSION : 'home' ),
|
234 |
),
|
235 |
'home' => array(
|
bp-templates/bp-nouveau/includes/groups/functions.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Groups functions
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -112,13 +113,32 @@ function bp_nouveau_groups_localize_scripts( $params = array() ) {
|
|
112 |
|
113 |
// Init the Group invites nav
|
114 |
$invites_nav = array(
|
115 |
-
'members' => array(
|
116 |
-
|
117 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
118 |
);
|
119 |
|
120 |
if ( bp_is_active( 'friends' ) ) {
|
121 |
-
$invites_nav['friends'] = array(
|
|
|
|
|
|
|
|
|
122 |
|
123 |
if ( true === bp_nouveau_groups_disallow_all_members_invites() ) {
|
124 |
unset( $invites_nav['members'] );
|
@@ -127,10 +147,11 @@ function bp_nouveau_groups_localize_scripts( $params = array() ) {
|
|
127 |
|
128 |
$params['group_invites'] = array(
|
129 |
'nav' => bp_sort_by_key( $invites_nav, 'order', 'num' ),
|
130 |
-
'loading' =>
|
131 |
-
'invites_form' =>
|
132 |
-
'invites_form_reset' =>
|
133 |
-
'invites_sending' =>
|
|
|
134 |
'group_id' => ! bp_get_current_group_id() ? bp_get_new_group_id() : bp_get_current_group_id(),
|
135 |
'is_group_create' => bp_is_group_create(),
|
136 |
'nonces' => array(
|
@@ -207,6 +228,14 @@ function bp_nouveau_prepare_group_potential_invites_for_js( $user ) {
|
|
207 |
}
|
208 |
}
|
209 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
return apply_filters( 'bp_nouveau_prepare_group_potential_invites_for_js', $response, $user );
|
211 |
}
|
212 |
|
@@ -600,7 +629,7 @@ function bp_nouveau_get_hooked_group_meta() {
|
|
600 |
/**
|
601 |
* Fires after inside the group header item meta section.
|
602 |
*
|
603 |
-
* @since 1.2.0
|
604 |
*/
|
605 |
do_action( 'bp_group_header_meta' );
|
606 |
|
@@ -655,16 +684,16 @@ function bp_nouveau_groups_front_page_description() {
|
|
655 |
function bp_nouveau_groups_customizer_sections( $sections = array() ) {
|
656 |
return array_merge( $sections, array(
|
657 |
'bp_nouveau_group_front_page' => array(
|
658 |
-
'title' => __( 'Group
|
659 |
'panel' => 'bp_nouveau_panel',
|
660 |
'priority' => 20,
|
661 |
-
'description' => __( '
|
662 |
),
|
663 |
'bp_nouveau_group_primary_nav' => array(
|
664 |
-
'title' => __( 'Group
|
665 |
'panel' => 'bp_nouveau_panel',
|
666 |
'priority' => 40,
|
667 |
-
'description' => __( 'Customize the
|
668 |
),
|
669 |
) );
|
670 |
}
|
@@ -743,6 +772,13 @@ function bp_nouveau_groups_customizer_settings( $settings = array() ) {
|
|
743 |
'transport' => 'refresh',
|
744 |
'type' => 'option',
|
745 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
746 |
) );
|
747 |
}
|
748 |
|
@@ -758,61 +794,80 @@ function bp_nouveau_groups_customizer_settings( $settings = array() ) {
|
|
758 |
function bp_nouveau_groups_customizer_controls( $controls = array() ) {
|
759 |
return array_merge( $controls, array(
|
760 |
'group_front_page' => array(
|
761 |
-
'label' => __( 'Enable
|
762 |
'section' => 'bp_nouveau_group_front_page',
|
763 |
'settings' => 'bp_nouveau_appearance[group_front_page]',
|
764 |
'type' => 'checkbox',
|
765 |
),
|
766 |
'group_front_boxes' => array(
|
767 |
-
'label' => __( 'Enable widget region for
|
768 |
'section' => 'bp_nouveau_group_front_page',
|
769 |
'settings' => 'bp_nouveau_appearance[group_front_boxes]',
|
770 |
'type' => 'checkbox',
|
771 |
),
|
772 |
'group_front_description' => array(
|
773 |
-
'label' => __( 'Display the
|
774 |
'section' => 'bp_nouveau_group_front_page',
|
775 |
'settings' => 'bp_nouveau_appearance[group_front_description]',
|
776 |
'type' => 'checkbox',
|
777 |
),
|
778 |
'group_nav_display' => array(
|
779 |
-
'label' => __( 'Display the
|
780 |
'section' => 'bp_nouveau_group_primary_nav',
|
781 |
'settings' => 'bp_nouveau_appearance[group_nav_display]',
|
782 |
'type' => 'checkbox',
|
783 |
),
|
784 |
'group_nav_tabs' => array(
|
785 |
-
|
786 |
-
|
787 |
-
|
788 |
-
|
789 |
),
|
790 |
'group_subnav_tabs' => array(
|
791 |
-
|
792 |
-
|
793 |
-
|
794 |
-
|
795 |
),
|
796 |
'groups_create_tabs' => array(
|
797 |
-
|
798 |
-
|
799 |
-
|
800 |
-
|
801 |
),
|
802 |
'group_nav_order' => array(
|
803 |
'class' => 'BP_Nouveau_Nav_Customize_Control',
|
804 |
-
'label' => __( 'Reorder the
|
805 |
'section' => 'bp_nouveau_group_primary_nav',
|
806 |
'settings' => 'bp_nouveau_appearance[group_nav_order]',
|
807 |
'type' => 'group',
|
808 |
),
|
809 |
'groups_layout' => array(
|
810 |
-
'label' => __( 'Groups
|
811 |
'section' => 'bp_nouveau_loops_layout',
|
812 |
'settings' => 'bp_nouveau_appearance[groups_layout]',
|
813 |
'type' => 'select',
|
814 |
'choices' => bp_nouveau_customizer_grid_choices(),
|
815 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
816 |
) );
|
817 |
}
|
818 |
|
@@ -842,6 +897,13 @@ function bp_nouveau_group_reset_front_template( $templates = array(), $group = n
|
|
842 |
array_push( $templates, 'groups/single/default-front.php' );
|
843 |
}
|
844 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
845 |
return apply_filters( '_bp_nouveau_group_reset_front_template', $templates );
|
846 |
}
|
847 |
|
@@ -895,6 +957,13 @@ function bp_nouveau_group_locate_template_part( $template = '' ) {
|
|
895 |
$templates[] = sprintf( $part, $template );
|
896 |
}
|
897 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
898 |
return bp_locate_template( apply_filters( 'bp_nouveau_group_locate_template_part', $templates ), false, true );
|
899 |
}
|
900 |
|
@@ -915,7 +984,11 @@ function bp_nouveau_group_get_template_part( $template = '' ) {
|
|
915 |
$name = null;
|
916 |
|
917 |
/**
|
918 |
-
* Let plugins adding an action to bp_get_template_part get it from here
|
|
|
|
|
|
|
|
|
919 |
*
|
920 |
* @param string $slug Template part slug requested.
|
921 |
* @param string $name Template part name requested.
|
@@ -1001,6 +1074,11 @@ function bp_nouveau_groups_add_home_widget_filters() {
|
|
1001 |
add_filter( 'bp_before_has_groups_parse_args', 'bp_nouveau_group_groups_widget_overrides', 10, 1 );
|
1002 |
add_filter( 'bp_before_has_members_parse_args', 'bp_nouveau_group_members_widget_overrides', 10, 1 );
|
1003 |
|
|
|
|
|
|
|
|
|
|
|
1004 |
do_action( 'bp_nouveau_groups_add_home_widget_filters' );
|
1005 |
}
|
1006 |
|
@@ -1014,6 +1092,11 @@ function bp_nouveau_groups_remove_home_widget_filters() {
|
|
1014 |
remove_filter( 'bp_before_has_groups_parse_args', 'bp_nouveau_group_groups_widget_overrides', 10, 1 );
|
1015 |
remove_filter( 'bp_before_has_members_parse_args', 'bp_nouveau_group_members_widget_overrides', 10, 1 );
|
1016 |
|
|
|
|
|
|
|
|
|
|
|
1017 |
do_action( 'bp_nouveau_groups_remove_home_widget_filters' );
|
1018 |
}
|
1019 |
|
@@ -1030,11 +1113,28 @@ function bp_nouveau_groups_remove_home_widget_filters() {
|
|
1030 |
function bp_nouveau_group_get_core_create_screens( $id = '' ) {
|
1031 |
// screen id => dynamic part of the hooks, nonce & specific template to use.
|
1032 |
$screens = array(
|
1033 |
-
'group-details'
|
1034 |
-
|
1035 |
-
|
1036 |
-
|
1037 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1038 |
);
|
1039 |
|
1040 |
if ( isset( $screens[ $id ] ) ) {
|
3 |
* Groups functions
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
113 |
|
114 |
// Init the Group invites nav
|
115 |
$invites_nav = array(
|
116 |
+
'members' => array(
|
117 |
+
'id' => 'members',
|
118 |
+
'caption' => __( 'All Members', 'buddypress' ),
|
119 |
+
'order' => 5,
|
120 |
+
),
|
121 |
+
'invited' => array(
|
122 |
+
'id' => 'invited',
|
123 |
+
'caption' => __( 'Pending Invites', 'buddypress' ),
|
124 |
+
'order' => 90,
|
125 |
+
'hide' => (int) ! $show_pending,
|
126 |
+
),
|
127 |
+
'invites' => array(
|
128 |
+
'id' => 'invites',
|
129 |
+
'caption' => __( 'Send Invites', 'buddypress' ),
|
130 |
+
'order' => 100,
|
131 |
+
'hide' => 1,
|
132 |
+
'href' => '#send-invites-editor',
|
133 |
+
),
|
134 |
);
|
135 |
|
136 |
if ( bp_is_active( 'friends' ) ) {
|
137 |
+
$invites_nav['friends'] = array(
|
138 |
+
'id' => 'friends',
|
139 |
+
'caption' => __( 'My Friends', 'buddypress' ),
|
140 |
+
'order' => 0,
|
141 |
+
);
|
142 |
|
143 |
if ( true === bp_nouveau_groups_disallow_all_members_invites() ) {
|
144 |
unset( $invites_nav['members'] );
|
147 |
|
148 |
$params['group_invites'] = array(
|
149 |
'nav' => bp_sort_by_key( $invites_nav, 'order', 'num' ),
|
150 |
+
'loading' => __( 'Loading members. Please wait.', 'buddypress' ),
|
151 |
+
'invites_form' => __( 'Use the "Send" button to send your invite or the "Cancel" button to abort.', 'buddypress' ),
|
152 |
+
'invites_form_reset' => __( 'Invites cleared. Please use one of the available tabs to select members to invite.', 'buddypress' ),
|
153 |
+
'invites_sending' => __( 'Sending the invites. Please wait.', 'buddypress' ),
|
154 |
+
'removeUserInvite' => __( 'Disinvite %s', 'buddypress' ),
|
155 |
'group_id' => ! bp_get_current_group_id() ? bp_get_new_group_id() : bp_get_current_group_id(),
|
156 |
'is_group_create' => bp_is_group_create(),
|
157 |
'nonces' => array(
|
228 |
}
|
229 |
}
|
230 |
|
231 |
+
/**
|
232 |
+
* Filters the response value for potential group invite data for use with javascript.
|
233 |
+
*
|
234 |
+
* @since 3.0.0
|
235 |
+
*
|
236 |
+
* @param array $response Array of invite data.
|
237 |
+
* @param WP_User $user User object.
|
238 |
+
*/
|
239 |
return apply_filters( 'bp_nouveau_prepare_group_potential_invites_for_js', $response, $user );
|
240 |
}
|
241 |
|
629 |
/**
|
630 |
* Fires after inside the group header item meta section.
|
631 |
*
|
632 |
+
* @since 1.2.0
|
633 |
*/
|
634 |
do_action( 'bp_group_header_meta' );
|
635 |
|
684 |
function bp_nouveau_groups_customizer_sections( $sections = array() ) {
|
685 |
return array_merge( $sections, array(
|
686 |
'bp_nouveau_group_front_page' => array(
|
687 |
+
'title' => __( 'Group front page', 'buddypress' ),
|
688 |
'panel' => 'bp_nouveau_panel',
|
689 |
'priority' => 20,
|
690 |
+
'description' => __( 'Configure the default front page for groups.', 'buddypress' ),
|
691 |
),
|
692 |
'bp_nouveau_group_primary_nav' => array(
|
693 |
+
'title' => __( 'Group navigation', 'buddypress' ),
|
694 |
'panel' => 'bp_nouveau_panel',
|
695 |
'priority' => 40,
|
696 |
+
'description' => __( 'Customize the navigation menu for groups. See your changes by navigating to a group in the live-preview window..', 'buddypress' ),
|
697 |
),
|
698 |
) );
|
699 |
}
|
772 |
'transport' => 'refresh',
|
773 |
'type' => 'option',
|
774 |
),
|
775 |
+
'bp_nouveau_appearance[groups_dir_tabs]' => array(
|
776 |
+
'index' => 'groups_dir_tabs',
|
777 |
+
'capability' => 'bp_moderate',
|
778 |
+
'sanitize_callback' => 'absint',
|
779 |
+
'transport' => 'refresh',
|
780 |
+
'type' => 'option',
|
781 |
+
),
|
782 |
) );
|
783 |
}
|
784 |
|
794 |
function bp_nouveau_groups_customizer_controls( $controls = array() ) {
|
795 |
return array_merge( $controls, array(
|
796 |
'group_front_page' => array(
|
797 |
+
'label' => __( 'Enable custom front pages for groups.', 'buddypress' ),
|
798 |
'section' => 'bp_nouveau_group_front_page',
|
799 |
'settings' => 'bp_nouveau_appearance[group_front_page]',
|
800 |
'type' => 'checkbox',
|
801 |
),
|
802 |
'group_front_boxes' => array(
|
803 |
+
'label' => __( 'Enable widget region for group homepages. (When enabled, the site admin can add widgets to group pages via the Widgets panel.)', 'buddypress' ),
|
804 |
'section' => 'bp_nouveau_group_front_page',
|
805 |
'settings' => 'bp_nouveau_appearance[group_front_boxes]',
|
806 |
'type' => 'checkbox',
|
807 |
),
|
808 |
'group_front_description' => array(
|
809 |
+
'label' => __( 'Display the group description in the body of the group\'s front page.', 'buddypress' ),
|
810 |
'section' => 'bp_nouveau_group_front_page',
|
811 |
'settings' => 'bp_nouveau_appearance[group_front_description]',
|
812 |
'type' => 'checkbox',
|
813 |
),
|
814 |
'group_nav_display' => array(
|
815 |
+
'label' => __( 'Display the group navigation vertically.', 'buddypress' ),
|
816 |
'section' => 'bp_nouveau_group_primary_nav',
|
817 |
'settings' => 'bp_nouveau_appearance[group_nav_display]',
|
818 |
'type' => 'checkbox',
|
819 |
),
|
820 |
'group_nav_tabs' => array(
|
821 |
+
'label' => __( 'Use tab styling for primary nav.', 'buddypress' ),
|
822 |
+
'section' => 'bp_nouveau_group_primary_nav',
|
823 |
+
'settings' => 'bp_nouveau_appearance[group_nav_tabs]',
|
824 |
+
'type' => 'checkbox',
|
825 |
),
|
826 |
'group_subnav_tabs' => array(
|
827 |
+
'label' => __( 'Use tab styling for secondary nav.', 'buddypress' ),
|
828 |
+
'section' => 'bp_nouveau_group_primary_nav',
|
829 |
+
'settings' => 'bp_nouveau_appearance[group_subnav_tabs]',
|
830 |
+
'type' => 'checkbox',
|
831 |
),
|
832 |
'groups_create_tabs' => array(
|
833 |
+
'label' => __( 'Use tab styling for the group creation process.', 'buddypress' ),
|
834 |
+
'section' => 'bp_nouveau_group_primary_nav',
|
835 |
+
'settings' => 'bp_nouveau_appearance[groups_create_tabs]',
|
836 |
+
'type' => 'checkbox',
|
837 |
),
|
838 |
'group_nav_order' => array(
|
839 |
'class' => 'BP_Nouveau_Nav_Customize_Control',
|
840 |
+
'label' => __( 'Reorder the primary navigation for a group.', 'buddypress' ),
|
841 |
'section' => 'bp_nouveau_group_primary_nav',
|
842 |
'settings' => 'bp_nouveau_appearance[group_nav_order]',
|
843 |
'type' => 'group',
|
844 |
),
|
845 |
'groups_layout' => array(
|
846 |
+
'label' => __( 'Groups', 'buddypress' ),
|
847 |
'section' => 'bp_nouveau_loops_layout',
|
848 |
'settings' => 'bp_nouveau_appearance[groups_layout]',
|
849 |
'type' => 'select',
|
850 |
'choices' => bp_nouveau_customizer_grid_choices(),
|
851 |
),
|
852 |
+
'members_group_layout' => array(
|
853 |
+
'label' => __( 'Group > Members', 'buddypress' ),
|
854 |
+
'section' => 'bp_nouveau_loops_layout',
|
855 |
+
'settings' => 'bp_nouveau_appearance[members_group_layout]',
|
856 |
+
'type' => 'select',
|
857 |
+
'choices' => bp_nouveau_customizer_grid_choices(),
|
858 |
+
),
|
859 |
+
'group_dir_layout' => array(
|
860 |
+
'label' => __( 'Use column navigation for the Groups directory.', 'buddypress' ),
|
861 |
+
'section' => 'bp_nouveau_dir_layout',
|
862 |
+
'settings' => 'bp_nouveau_appearance[groups_dir_layout]',
|
863 |
+
'type' => 'checkbox',
|
864 |
+
),
|
865 |
+
'group_dir_tabs' => array(
|
866 |
+
'label' => __( 'Use tab styling for Groups directory navigation.', 'buddypress' ),
|
867 |
+
'section' => 'bp_nouveau_dir_layout',
|
868 |
+
'settings' => 'bp_nouveau_appearance[groups_dir_tabs]',
|
869 |
+
'type' => 'checkbox',
|
870 |
+
),
|
871 |
) );
|
872 |
}
|
873 |
|
897 |
array_push( $templates, 'groups/single/default-front.php' );
|
898 |
}
|
899 |
|
900 |
+
/**
|
901 |
+
* Filters the BuddyPress Nouveau template hierarchy after resetting front template for groups.
|
902 |
+
*
|
903 |
+
* @since 3.0.0
|
904 |
+
*
|
905 |
+
* @param array $templates Array of templates.
|
906 |
+
*/
|
907 |
return apply_filters( '_bp_nouveau_group_reset_front_template', $templates );
|
908 |
}
|
909 |
|
957 |
$templates[] = sprintf( $part, $template );
|
958 |
}
|
959 |
|
960 |
+
/**
|
961 |
+
* Filters the found template parts for the group template part locating functionality.
|
962 |
+
*
|
963 |
+
* @since 3.0.0
|
964 |
+
*
|
965 |
+
* @param array $templates Array of found templates.
|
966 |
+
*/
|
967 |
return bp_locate_template( apply_filters( 'bp_nouveau_group_locate_template_part', $templates ), false, true );
|
968 |
}
|
969 |
|
984 |
$name = null;
|
985 |
|
986 |
/**
|
987 |
+
* Let plugins adding an action to bp_get_template_part get it from here.
|
988 |
+
*
|
989 |
+
* This is a variable hook that is dependent on the template part slug.
|
990 |
+
*
|
991 |
+
* @since 3.0.0
|
992 |
*
|
993 |
* @param string $slug Template part slug requested.
|
994 |
* @param string $name Template part name requested.
|
1074 |
add_filter( 'bp_before_has_groups_parse_args', 'bp_nouveau_group_groups_widget_overrides', 10, 1 );
|
1075 |
add_filter( 'bp_before_has_members_parse_args', 'bp_nouveau_group_members_widget_overrides', 10, 1 );
|
1076 |
|
1077 |
+
/**
|
1078 |
+
* Fires after BuddyPress Nouveau groups have added their home widget filters.
|
1079 |
+
*
|
1080 |
+
* @since 3.0.0
|
1081 |
+
*/
|
1082 |
do_action( 'bp_nouveau_groups_add_home_widget_filters' );
|
1083 |
}
|
1084 |
|
1092 |
remove_filter( 'bp_before_has_groups_parse_args', 'bp_nouveau_group_groups_widget_overrides', 10, 1 );
|
1093 |
remove_filter( 'bp_before_has_members_parse_args', 'bp_nouveau_group_members_widget_overrides', 10, 1 );
|
1094 |
|
1095 |
+
/**
|
1096 |
+
* Fires after BuddyPress Nouveau groups have removed their home widget filters.
|
1097 |
+
*
|
1098 |
+
* @since 3.0.0
|
1099 |
+
*/
|
1100 |
do_action( 'bp_nouveau_groups_remove_home_widget_filters' );
|
1101 |
}
|
1102 |
|
1113 |
function bp_nouveau_group_get_core_create_screens( $id = '' ) {
|
1114 |
// screen id => dynamic part of the hooks, nonce & specific template to use.
|
1115 |
$screens = array(
|
1116 |
+
'group-details' => array(
|
1117 |
+
'hook' => 'group_details_creation_step',
|
1118 |
+
'nonce' => 'groups_create_save_group-details',
|
1119 |
+
'template' => 'groups/single/admin/edit-details',
|
1120 |
+
),
|
1121 |
+
'group-settings' => array(
|
1122 |
+
'hook' => 'group_settings_creation_step',
|
1123 |
+
'nonce' => 'groups_create_save_group-settings',
|
1124 |
+
),
|
1125 |
+
'group-avatar' => array(
|
1126 |
+
'hook' => 'group_avatar_creation_step',
|
1127 |
+
'nonce' => 'groups_create_save_group-avatar',
|
1128 |
+
),
|
1129 |
+
'group-cover-image' => array(
|
1130 |
+
'hook' => 'group_cover_image_creation_step',
|
1131 |
+
'nonce' => 'groups_create_save_group-cover-image',
|
1132 |
+
),
|
1133 |
+
'group-invites' => array(
|
1134 |
+
'hook' => 'group_invites_creation_step',
|
1135 |
+
'nonce' => 'groups_create_save_group-invites',
|
1136 |
+
'template' => 'common/js-templates/invites/index',
|
1137 |
+
),
|
1138 |
);
|
1139 |
|
1140 |
if ( isset( $screens[ $id ] ) ) {
|
bp-templates/bp-nouveau/includes/groups/loader.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Groups
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
3 |
* BP Nouveau Groups
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
bp-templates/bp-nouveau/includes/groups/template-tags.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Groups Template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -18,21 +19,21 @@ function bp_nouveau_before_groups_directory_content() {
|
|
18 |
/**
|
19 |
* Fires at the begining of the templates BP injected content.
|
20 |
*
|
21 |
-
* @since 2.3.0
|
22 |
*/
|
23 |
do_action( 'bp_before_directory_groups_page' );
|
24 |
|
25 |
/**
|
26 |
* Fires before the display of the groups.
|
27 |
*
|
28 |
-
* @since 1.1.0
|
29 |
*/
|
30 |
do_action( 'bp_before_directory_groups' );
|
31 |
|
32 |
/**
|
33 |
* Fires before the display of the groups content.
|
34 |
*
|
35 |
-
* @since 1.1.0
|
36 |
*/
|
37 |
do_action( 'bp_before_directory_groups_content' );
|
38 |
}
|
@@ -47,28 +48,28 @@ function bp_nouveau_after_groups_directory_content() {
|
|
47 |
/**
|
48 |
* Fires and displays the group content.
|
49 |
*
|
50 |
-
* @since 1.1.0
|
51 |
*/
|
52 |
do_action( 'bp_directory_groups_content' );
|
53 |
|
54 |
/**
|
55 |
* Fires after the display of the groups content.
|
56 |
*
|
57 |
-
* @since 1.1.0
|
58 |
*/
|
59 |
do_action( 'bp_after_directory_groups_content' );
|
60 |
|
61 |
/**
|
62 |
* Fires after the display of the groups.
|
63 |
*
|
64 |
-
* @since 1.1.0
|
65 |
*/
|
66 |
do_action( 'bp_after_directory_groups' );
|
67 |
|
68 |
/**
|
69 |
* Fires at the bottom of the groups directory template file.
|
70 |
*
|
71 |
-
* @since 1.5.0
|
72 |
*/
|
73 |
do_action( 'bp_after_directory_groups_page' );
|
74 |
}
|
@@ -109,7 +110,7 @@ function bp_nouveau_groups_create_hook( $when = '', $suffix = '' ) {
|
|
109 |
function bp_nouveau_group_hook( $when = '', $suffix = '' ) {
|
110 |
$hook = array( 'bp' );
|
111 |
|
112 |
-
if (
|
113 |
$hook[] = $when;
|
114 |
}
|
115 |
|
@@ -173,7 +174,7 @@ function bp_nouveau_group_invites_interface() {
|
|
173 |
/**
|
174 |
* Fires before the send invites content.
|
175 |
*
|
176 |
-
* @since 1.1.0
|
177 |
*/
|
178 |
do_action( 'bp_before_group_send_invites_content' );
|
179 |
|
@@ -356,8 +357,6 @@ function bp_nouveau_group_manage_screen() {
|
|
356 |
);
|
357 |
}
|
358 |
}
|
359 |
-
|
360 |
-
wp_nonce_field( $core_screen['nonce'] );
|
361 |
}
|
362 |
}
|
363 |
|
@@ -413,6 +412,20 @@ function bp_nouveau_group_manage_screen() {
|
|
413 |
do_action( 'bp_after_group_creation_step_buttons' );
|
414 |
}
|
415 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
416 |
printf(
|
417 |
'<input type="hidden" name="group-id" id="group-id" value="%s" />',
|
418 |
$is_group_create ? esc_attr( bp_get_new_group_id() ) : esc_attr( bp_get_group_id() )
|
@@ -437,6 +450,13 @@ function bp_nouveau_group_manage_screen() {
|
|
437 |
*/
|
438 |
do_action( 'bp_directory_groups_content' );
|
439 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
440 |
}
|
441 |
|
442 |
/**
|
@@ -496,7 +516,7 @@ function bp_nouveau_groups_loop_buttons( $args = array() ) {
|
|
496 |
/**
|
497 |
* Fires inside the action section of an individual group listing item.
|
498 |
*
|
499 |
-
* @since 1.1.0
|
500 |
*/
|
501 |
do_action( 'bp_directory_groups_actions' );
|
502 |
$output .= ob_get_clean();
|
@@ -747,11 +767,11 @@ function bp_nouveau_groups_manage_members_buttons( $args = array() ) {
|
|
747 |
'button_element' => $button_element,
|
748 |
'parent_attr' => array(
|
749 |
'id' => '',
|
750 |
-
'class' => $parent_class
|
751 |
),
|
752 |
'button_attr' => array(
|
753 |
'id' => '',
|
754 |
-
'class' => 'button',
|
755 |
'rel' => '',
|
756 |
),
|
757 |
);
|
@@ -773,11 +793,11 @@ function bp_nouveau_groups_manage_members_buttons( $args = array() ) {
|
|
773 |
'link_text' => __( 'Reject', 'buddypress' ),
|
774 |
'parent_attr' => array(
|
775 |
'id' => '',
|
776 |
-
'class' => $parent_class
|
777 |
),
|
778 |
'button_attr' => array(
|
779 |
'id' => '',
|
780 |
-
'class' => 'button',
|
781 |
'rel' => '',
|
782 |
),
|
783 |
);
|
@@ -1146,7 +1166,7 @@ function bp_nouveau_group_template_part() {
|
|
1146 |
/**
|
1147 |
* Fires before the display of the group home body.
|
1148 |
*
|
1149 |
-
* @since 1.2.0
|
1150 |
*/
|
1151 |
do_action( 'bp_before_group_body' );
|
1152 |
|
@@ -1209,7 +1229,7 @@ function bp_nouveau_group_template_part() {
|
|
1209 |
/**
|
1210 |
* Fires after the display of the group home body.
|
1211 |
*
|
1212 |
-
* @since 1.2.0
|
1213 |
*/
|
1214 |
do_action( 'bp_after_group_body' );
|
1215 |
}
|
@@ -1229,7 +1249,7 @@ function bp_nouveau_group_header_template_part() {
|
|
1229 |
/**
|
1230 |
* Fires before the display of a group's header.
|
1231 |
*
|
1232 |
-
* @since 1.2.0
|
1233 |
*/
|
1234 |
do_action( 'bp_before_group_header' );
|
1235 |
|
@@ -1239,7 +1259,7 @@ function bp_nouveau_group_header_template_part() {
|
|
1239 |
/**
|
1240 |
* Fires after the display of a group's header.
|
1241 |
*
|
1242 |
-
* @since 1.2.0
|
1243 |
*/
|
1244 |
do_action( 'bp_after_group_header' );
|
1245 |
|
3 |
* Groups Template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
19 |
/**
|
20 |
* Fires at the begining of the templates BP injected content.
|
21 |
*
|
22 |
+
* @since 2.3.0
|
23 |
*/
|
24 |
do_action( 'bp_before_directory_groups_page' );
|
25 |
|
26 |
/**
|
27 |
* Fires before the display of the groups.
|
28 |
*
|
29 |
+
* @since 1.1.0
|
30 |
*/
|
31 |
do_action( 'bp_before_directory_groups' );
|
32 |
|
33 |
/**
|
34 |
* Fires before the display of the groups content.
|
35 |
*
|
36 |
+
* @since 1.1.0
|
37 |
*/
|
38 |
do_action( 'bp_before_directory_groups_content' );
|
39 |
}
|
48 |
/**
|
49 |
* Fires and displays the group content.
|
50 |
*
|
51 |
+
* @since 1.1.0
|
52 |
*/
|
53 |
do_action( 'bp_directory_groups_content' );
|
54 |
|
55 |
/**
|
56 |
* Fires after the display of the groups content.
|
57 |
*
|
58 |
+
* @since 1.1.0
|
59 |
*/
|
60 |
do_action( 'bp_after_directory_groups_content' );
|
61 |
|
62 |
/**
|
63 |
* Fires after the display of the groups.
|
64 |
*
|
65 |
+
* @since 1.1.0
|
66 |
*/
|
67 |
do_action( 'bp_after_directory_groups' );
|
68 |
|
69 |
/**
|
70 |
* Fires at the bottom of the groups directory template file.
|
71 |
*
|
72 |
+
* @since 1.5.0
|
73 |
*/
|
74 |
do_action( 'bp_after_directory_groups_page' );
|
75 |
}
|
110 |
function bp_nouveau_group_hook( $when = '', $suffix = '' ) {
|
111 |
$hook = array( 'bp' );
|
112 |
|
113 |
+
if ( $when ) {
|
114 |
$hook[] = $when;
|
115 |
}
|
116 |
|
174 |
/**
|
175 |
* Fires before the send invites content.
|
176 |
*
|
177 |
+
* @since 1.1.0
|
178 |
*/
|
179 |
do_action( 'bp_before_group_send_invites_content' );
|
180 |
|
357 |
);
|
358 |
}
|
359 |
}
|
|
|
|
|
360 |
}
|
361 |
}
|
362 |
|
412 |
do_action( 'bp_after_group_creation_step_buttons' );
|
413 |
}
|
414 |
|
415 |
+
/**
|
416 |
+
* Avoid nested forms with the Backbone views for the group invites step.
|
417 |
+
*/
|
418 |
+
if ( 'group-invites' === bp_get_groups_current_create_step() ) {
|
419 |
+
printf(
|
420 |
+
'<form action="%s" method="post" enctype="multipart/form-data">',
|
421 |
+
bp_get_group_creation_form_action()
|
422 |
+
);
|
423 |
+
}
|
424 |
+
|
425 |
+
if ( ! empty( $core_screen['nonce'] ) ) {
|
426 |
+
wp_nonce_field( $core_screen['nonce'] );
|
427 |
+
}
|
428 |
+
|
429 |
printf(
|
430 |
'<input type="hidden" name="group-id" id="group-id" value="%s" />',
|
431 |
$is_group_create ? esc_attr( bp_get_new_group_id() ) : esc_attr( bp_get_group_id() )
|
450 |
*/
|
451 |
do_action( 'bp_directory_groups_content' );
|
452 |
}
|
453 |
+
|
454 |
+
/**
|
455 |
+
* Avoid nested forms with the Backbone views for the group invites step.
|
456 |
+
*/
|
457 |
+
if ( 'group-invites' === bp_get_groups_current_create_step() ) {
|
458 |
+
echo '</form>';
|
459 |
+
}
|
460 |
}
|
461 |
|
462 |
/**
|
516 |
/**
|
517 |
* Fires inside the action section of an individual group listing item.
|
518 |
*
|
519 |
+
* @since 1.1.0
|
520 |
*/
|
521 |
do_action( 'bp_directory_groups_actions' );
|
522 |
$output .= ob_get_clean();
|
767 |
'button_element' => $button_element,
|
768 |
'parent_attr' => array(
|
769 |
'id' => '',
|
770 |
+
'class' => $parent_class,
|
771 |
),
|
772 |
'button_attr' => array(
|
773 |
'id' => '',
|
774 |
+
'class' => 'button accept',
|
775 |
'rel' => '',
|
776 |
),
|
777 |
);
|
793 |
'link_text' => __( 'Reject', 'buddypress' ),
|
794 |
'parent_attr' => array(
|
795 |
'id' => '',
|
796 |
+
'class' => $parent_class,
|
797 |
),
|
798 |
'button_attr' => array(
|
799 |
'id' => '',
|
800 |
+
'class' => 'button reject',
|
801 |
'rel' => '',
|
802 |
),
|
803 |
);
|
1166 |
/**
|
1167 |
* Fires before the display of the group home body.
|
1168 |
*
|
1169 |
+
* @since 1.2.0
|
1170 |
*/
|
1171 |
do_action( 'bp_before_group_body' );
|
1172 |
|
1229 |
/**
|
1230 |
* Fires after the display of the group home body.
|
1231 |
*
|
1232 |
+
* @since 1.2.0
|
1233 |
*/
|
1234 |
do_action( 'bp_after_group_body' );
|
1235 |
}
|
1249 |
/**
|
1250 |
* Fires before the display of a group's header.
|
1251 |
*
|
1252 |
+
* @since 1.2.0
|
1253 |
*/
|
1254 |
do_action( 'bp_before_group_header' );
|
1255 |
|
1259 |
/**
|
1260 |
* Fires after the display of a group's header.
|
1261 |
*
|
1262 |
+
* @since 1.2.0
|
1263 |
*/
|
1264 |
do_action( 'bp_after_group_header' );
|
1265 |
|
bp-templates/bp-nouveau/includes/members/functions.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Members functions
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -215,6 +216,13 @@ function bp_nouveau_member_reset_front_template( $templates = array() ) {
|
|
215 |
array_push( $templates, 'members/single/default-front.php' );
|
216 |
}
|
217 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
return apply_filters( '_bp_nouveau_member_reset_front_template', $templates );
|
219 |
}
|
220 |
|
@@ -284,6 +292,13 @@ function bp_nouveau_member_locate_template_part( $template = '' ) {
|
|
284 |
$templates[] = sprintf( $part, $template );
|
285 |
}
|
286 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
return bp_locate_template( apply_filters( 'bp_nouveau_member_locate_template_part', $templates ), false, true );
|
288 |
}
|
289 |
|
@@ -304,7 +319,9 @@ function bp_nouveau_member_get_template_part( $template = '' ) {
|
|
304 |
$name = null;
|
305 |
|
306 |
/**
|
307 |
-
* Let plugins adding an action to bp_get_template_part get it from here
|
|
|
|
|
308 |
*
|
309 |
* @param string $slug Template part slug requested.
|
310 |
* @param string $name Template part name requested.
|
@@ -401,6 +418,11 @@ function bp_nouveau_members_add_home_widget_filters() {
|
|
401 |
add_filter( 'bp_before_has_groups_parse_args', 'bp_nouveau_member_groups_widget_overrides', 10, 1 );
|
402 |
add_filter( 'bp_before_has_members_parse_args', 'bp_nouveau_member_members_widget_overrides', 10, 1 );
|
403 |
|
|
|
|
|
|
|
|
|
|
|
404 |
do_action( 'bp_nouveau_members_add_home_widget_filters' );
|
405 |
}
|
406 |
|
@@ -414,6 +436,11 @@ function bp_nouveau_members_remove_home_widget_filters() {
|
|
414 |
remove_filter( 'bp_before_has_groups_parse_args', 'bp_nouveau_member_groups_widget_overrides', 10, 1 );
|
415 |
remove_filter( 'bp_before_has_members_parse_args', 'bp_nouveau_member_members_widget_overrides', 10, 1 );
|
416 |
|
|
|
|
|
|
|
|
|
|
|
417 |
do_action( 'bp_nouveau_members_remove_home_widget_filters' );
|
418 |
}
|
419 |
|
@@ -427,7 +454,16 @@ function bp_nouveau_members_remove_home_widget_filters() {
|
|
427 |
* @return array The list of WP Profile fields
|
428 |
*/
|
429 |
function bp_nouveau_get_wp_profile_fields( $user = null ) {
|
430 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
431 |
$contact_methods = (array) apply_filters( 'bp_nouveau_get_wp_profile_field', wp_get_user_contact_methods( $user ), $user );
|
432 |
|
433 |
$wp_fields = array(
|
3 |
* Members functions
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
216 |
array_push( $templates, 'members/single/default-front.php' );
|
217 |
}
|
218 |
|
219 |
+
/**
|
220 |
+
* Filters the BuddyPress Nouveau template hierarchy after resetting front template for members.
|
221 |
+
*
|
222 |
+
* @since 3.0.0
|
223 |
+
*
|
224 |
+
* @param array $templates Array of templates.
|
225 |
+
*/
|
226 |
return apply_filters( '_bp_nouveau_member_reset_front_template', $templates );
|
227 |
}
|
228 |
|
292 |
$templates[] = sprintf( $part, $template );
|
293 |
}
|
294 |
|
295 |
+
/**
|
296 |
+
* Filters the found template parts for the member template part locating functionality.
|
297 |
+
*
|
298 |
+
* @since 3.0.0
|
299 |
+
*
|
300 |
+
* @param array $templates Array of found templates.
|
301 |
+
*/
|
302 |
return bp_locate_template( apply_filters( 'bp_nouveau_member_locate_template_part', $templates ), false, true );
|
303 |
}
|
304 |
|
319 |
$name = null;
|
320 |
|
321 |
/**
|
322 |
+
* Let plugins adding an action to bp_get_template_part get it from here.
|
323 |
+
*
|
324 |
+
* @since 3.0.0
|
325 |
*
|
326 |
* @param string $slug Template part slug requested.
|
327 |
* @param string $name Template part name requested.
|
418 |
add_filter( 'bp_before_has_groups_parse_args', 'bp_nouveau_member_groups_widget_overrides', 10, 1 );
|
419 |
add_filter( 'bp_before_has_members_parse_args', 'bp_nouveau_member_members_widget_overrides', 10, 1 );
|
420 |
|
421 |
+
/**
|
422 |
+
* Fires after Nouveau adds its members home widget filters.
|
423 |
+
*
|
424 |
+
* @since 3.0.0
|
425 |
+
*/
|
426 |
do_action( 'bp_nouveau_members_add_home_widget_filters' );
|
427 |
}
|
428 |
|
436 |
remove_filter( 'bp_before_has_groups_parse_args', 'bp_nouveau_member_groups_widget_overrides', 10, 1 );
|
437 |
remove_filter( 'bp_before_has_members_parse_args', 'bp_nouveau_member_members_widget_overrides', 10, 1 );
|
438 |
|
439 |
+
/**
|
440 |
+
* Fires after Nouveau removes its members home widget filters.
|
441 |
+
*
|
442 |
+
* @since 3.0.0
|
443 |
+
*/
|
444 |
do_action( 'bp_nouveau_members_remove_home_widget_filters' );
|
445 |
}
|
446 |
|
454 |
* @return array The list of WP Profile fields
|
455 |
*/
|
456 |
function bp_nouveau_get_wp_profile_fields( $user = null ) {
|
457 |
+
/**
|
458 |
+
* Filters the contact methods to be included in the WP Profile fields for a specific user.
|
459 |
+
*
|
460 |
+
* Provide a chance for plugins to avoid showing the contact methods they're adding on front end.
|
461 |
+
*
|
462 |
+
* @since 3.0.0
|
463 |
+
*
|
464 |
+
* @param array $value Array of user contact methods.
|
465 |
+
* @param WP_User $user WordPress user to get contact methods for.
|
466 |
+
*/
|
467 |
$contact_methods = (array) apply_filters( 'bp_nouveau_get_wp_profile_field', wp_get_user_contact_methods( $user ), $user );
|
468 |
|
469 |
$wp_fields = array(
|
bp-templates/bp-nouveau/includes/members/loader.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Members
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
3 |
* BP Nouveau Members
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
bp-templates/bp-nouveau/includes/members/template-tags.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Members template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -18,28 +19,28 @@ function bp_nouveau_before_members_directory_content() {
|
|
18 |
/**
|
19 |
* Fires at the begining of the templates BP injected content.
|
20 |
*
|
21 |
-
* @since 2.3.0
|
22 |
*/
|
23 |
do_action( 'bp_before_directory_members_page' );
|
24 |
|
25 |
/**
|
26 |
* Fires before the display of the members.
|
27 |
*
|
28 |
-
* @since 1.1.0
|
29 |
*/
|
30 |
do_action( 'bp_before_directory_members' );
|
31 |
|
32 |
/**
|
33 |
* Fires before the display of the members content.
|
34 |
*
|
35 |
-
* @since 1.1.0
|
36 |
*/
|
37 |
do_action( 'bp_before_directory_members_content' );
|
38 |
|
39 |
/**
|
40 |
* Fires before the display of the members list tabs.
|
41 |
*
|
42 |
-
* @since 1.8.0
|
43 |
*/
|
44 |
do_action( 'bp_before_directory_members_tabs' );
|
45 |
}
|
@@ -54,28 +55,28 @@ function bp_nouveau_after_members_directory_content() {
|
|
54 |
/**
|
55 |
* Fires and displays the members content.
|
56 |
*
|
57 |
-
* @since 1.1.0
|
58 |
*/
|
59 |
do_action( 'bp_directory_members_content' );
|
60 |
|
61 |
/**
|
62 |
* Fires after the display of the members content.
|
63 |
*
|
64 |
-
* @since 1.1.0
|
65 |
*/
|
66 |
do_action( 'bp_after_directory_members_content' );
|
67 |
|
68 |
/**
|
69 |
* Fires after the display of the members.
|
70 |
*
|
71 |
-
* @since 1.1.0
|
72 |
*/
|
73 |
do_action( 'bp_after_directory_members' );
|
74 |
|
75 |
/**
|
76 |
* Fires at the bottom of the members directory template file.
|
77 |
*
|
78 |
-
* @since 1.5.0
|
79 |
*/
|
80 |
do_action( 'bp_after_directory_members_page' );
|
81 |
}
|
@@ -149,7 +150,7 @@ function bp_nouveau_member_header_buttons( $args = array() ) {
|
|
149 |
/**
|
150 |
* Fires in the member header actions section.
|
151 |
*
|
152 |
-
* @since 1.2.6
|
153 |
*/
|
154 |
do_action( 'bp_member_header_actions' );
|
155 |
$output .= ob_get_clean();
|
@@ -199,7 +200,7 @@ function bp_nouveau_members_loop_buttons( $args = array() ) {
|
|
199 |
/**
|
200 |
* Fires inside the members action HTML markup to display actions.
|
201 |
*
|
202 |
-
* @since 1.1.0
|
203 |
*/
|
204 |
do_action( $action );
|
205 |
$output .= ob_get_clean();
|
@@ -602,7 +603,7 @@ function bp_nouveau_member_template_part() {
|
|
602 |
/**
|
603 |
* Fires before the display of member body content.
|
604 |
*
|
605 |
-
* @since 1.2.0
|
606 |
*/
|
607 |
do_action( 'bp_before_member_body' );
|
608 |
|
@@ -636,7 +637,7 @@ function bp_nouveau_member_template_part() {
|
|
636 |
/**
|
637 |
* Fires after the display of member body content.
|
638 |
*
|
639 |
-
* @since 1.2.0
|
640 |
*/
|
641 |
do_action( 'bp_after_member_body' );
|
642 |
}
|
@@ -658,7 +659,7 @@ function bp_nouveau_member_header_template_part() {
|
|
658 |
/**
|
659 |
* Fires before the display of a member's header.
|
660 |
*
|
661 |
-
* @since 1.2.0
|
662 |
*/
|
663 |
do_action( 'bp_before_member_header' );
|
664 |
|
@@ -668,7 +669,7 @@ function bp_nouveau_member_header_template_part() {
|
|
668 |
/**
|
669 |
* Fires after the display of a member's header.
|
670 |
*
|
671 |
-
* @since 1.2.0
|
672 |
*/
|
673 |
do_action( 'bp_after_member_header' );
|
674 |
|
@@ -925,6 +926,14 @@ function bp_nouveau_wp_profile_field_id() {
|
|
925 |
*/
|
926 |
function bp_nouveau_get_wp_profile_field_id() {
|
927 |
$field = bp_nouveau()->members->wp_profile_current;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
928 |
return apply_filters( 'bp_nouveau_get_wp_profile_field_id', $field->id );
|
929 |
}
|
930 |
|
@@ -946,6 +955,14 @@ function bp_nouveau_wp_profile_field_label() {
|
|
946 |
*/
|
947 |
function bp_nouveau_get_wp_profile_field_label() {
|
948 |
$field = bp_nouveau()->members->wp_profile_current;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
949 |
return apply_filters( 'bp_nouveau_get_wp_profile_field_label', $field->label );
|
950 |
}
|
951 |
|
@@ -958,11 +975,13 @@ function bp_nouveau_wp_profile_field_data() {
|
|
958 |
$data = bp_nouveau_get_wp_profile_field_data();
|
959 |
$data = make_clickable( $data );
|
960 |
|
961 |
-
|
962 |
/**
|
963 |
* Filters a WP profile field value.
|
964 |
*
|
965 |
-
* @
|
|
|
|
|
966 |
*/
|
967 |
apply_filters( 'bp_nouveau_get_wp_profile_field_data', $data ),
|
968 |
array(
|
3 |
* Members template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
19 |
/**
|
20 |
* Fires at the begining of the templates BP injected content.
|
21 |
*
|
22 |
+
* @since 2.3.0
|
23 |
*/
|
24 |
do_action( 'bp_before_directory_members_page' );
|
25 |
|
26 |
/**
|
27 |
* Fires before the display of the members.
|
28 |
*
|
29 |
+
* @since 1.1.0
|
30 |
*/
|
31 |
do_action( 'bp_before_directory_members' );
|
32 |
|
33 |
/**
|
34 |
* Fires before the display of the members content.
|
35 |
*
|
36 |
+
* @since 1.1.0
|
37 |
*/
|
38 |
do_action( 'bp_before_directory_members_content' );
|
39 |
|
40 |
/**
|
41 |
* Fires before the display of the members list tabs.
|
42 |
*
|
43 |
+
* @since 1.8.0
|
44 |
*/
|
45 |
do_action( 'bp_before_directory_members_tabs' );
|
46 |
}
|
55 |
/**
|
56 |
* Fires and displays the members content.
|
57 |
*
|
58 |
+
* @since 1.1.0
|
59 |
*/
|
60 |
do_action( 'bp_directory_members_content' );
|
61 |
|
62 |
/**
|
63 |
* Fires after the display of the members content.
|
64 |
*
|
65 |
+
* @since 1.1.0
|
66 |
*/
|
67 |
do_action( 'bp_after_directory_members_content' );
|
68 |
|
69 |
/**
|
70 |
* Fires after the display of the members.
|
71 |
*
|
72 |
+
* @since 1.1.0
|
73 |
*/
|
74 |
do_action( 'bp_after_directory_members' );
|
75 |
|
76 |
/**
|
77 |
* Fires at the bottom of the members directory template file.
|
78 |
*
|
79 |
+
* @since 1.5.0
|
80 |
*/
|
81 |
do_action( 'bp_after_directory_members_page' );
|
82 |
}
|
150 |
/**
|
151 |
* Fires in the member header actions section.
|
152 |
*
|
153 |
+
* @since 1.2.6
|
154 |
*/
|
155 |
do_action( 'bp_member_header_actions' );
|
156 |
$output .= ob_get_clean();
|
200 |
/**
|
201 |
* Fires inside the members action HTML markup to display actions.
|
202 |
*
|
203 |
+
* @since 1.1.0
|
204 |
*/
|
205 |
do_action( $action );
|
206 |
$output .= ob_get_clean();
|
603 |
/**
|
604 |
* Fires before the display of member body content.
|
605 |
*
|
606 |
+
* @since 1.2.0
|
607 |
*/
|
608 |
do_action( 'bp_before_member_body' );
|
609 |
|
637 |
/**
|
638 |
* Fires after the display of member body content.
|
639 |
*
|
640 |
+
* @since 1.2.0
|
641 |
*/
|
642 |
do_action( 'bp_after_member_body' );
|
643 |
}
|
659 |
/**
|
660 |
* Fires before the display of a member's header.
|
661 |
*
|
662 |
+
* @since 1.2.0
|
663 |
*/
|
664 |
do_action( 'bp_before_member_header' );
|
665 |
|
669 |
/**
|
670 |
* Fires after the display of a member's header.
|
671 |
*
|
672 |
+
* @since 1.2.0
|
673 |
*/
|
674 |
do_action( 'bp_after_member_header' );
|
675 |
|
926 |
*/
|
927 |
function bp_nouveau_get_wp_profile_field_id() {
|
928 |
$field = bp_nouveau()->members->wp_profile_current;
|
929 |
+
|
930 |
+
/**
|
931 |
+
* Filters the WP profile field ID used for BuddyPress Nouveau.
|
932 |
+
*
|
933 |
+
* @since 3.0.0
|
934 |
+
*
|
935 |
+
* @param string $id Field ID.
|
936 |
+
*/
|
937 |
return apply_filters( 'bp_nouveau_get_wp_profile_field_id', $field->id );
|
938 |
}
|
939 |
|
955 |
*/
|
956 |
function bp_nouveau_get_wp_profile_field_label() {
|
957 |
$field = bp_nouveau()->members->wp_profile_current;
|
958 |
+
|
959 |
+
/**
|
960 |
+
* Filters the WP profile field label used for BuddyPress Nouveau.
|
961 |
+
*
|
962 |
+
* @since 3.0.0
|
963 |
+
*
|
964 |
+
* @param string $label Field label.
|
965 |
+
*/
|
966 |
return apply_filters( 'bp_nouveau_get_wp_profile_field_label', $field->label );
|
967 |
}
|
968 |
|
975 |
$data = bp_nouveau_get_wp_profile_field_data();
|
976 |
$data = make_clickable( $data );
|
977 |
|
978 |
+
echo wp_kses(
|
979 |
/**
|
980 |
* Filters a WP profile field value.
|
981 |
*
|
982 |
+
* @since 3.0.0
|
983 |
+
*
|
984 |
+
* @param string $data The profile field data value.
|
985 |
*/
|
986 |
apply_filters( 'bp_nouveau_get_wp_profile_field_data', $data ),
|
987 |
array(
|
bp-templates/bp-nouveau/includes/messages/ajax.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Messages Ajax functions
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -39,7 +40,7 @@ add_action( 'admin_init', function() {
|
|
39 |
*/
|
40 |
function bp_nouveau_ajax_messages_send_message() {
|
41 |
$response = array(
|
42 |
-
'feedback' => __( 'Your message could not be sent
|
43 |
'type' => 'error',
|
44 |
);
|
45 |
|
@@ -67,6 +68,14 @@ function bp_nouveau_ajax_messages_send_message() {
|
|
67 |
}
|
68 |
|
69 |
// Trim @ from usernames
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
70 |
$recipients = apply_filters( 'bp_messages_recipients', array_map( function( $username ) {
|
71 |
return trim( $username, '@' );
|
72 |
}, $_POST['send_to'] ) );
|
@@ -178,7 +187,7 @@ function bp_nouveau_ajax_messages_send_reply() {
|
|
178 |
|
179 |
wp_send_json_success( array(
|
180 |
'messages' => array( $reply ),
|
181 |
-
'feedback' =>
|
182 |
'type' => 'success',
|
183 |
) );
|
184 |
}
|
@@ -189,9 +198,9 @@ function bp_nouveau_ajax_messages_send_reply() {
|
|
189 |
function bp_nouveau_ajax_get_user_message_threads() {
|
190 |
global $messages_template;
|
191 |
|
192 |
-
if ( empty( $_POST['nonce'] ) ||
|
193 |
wp_send_json_error( array(
|
194 |
-
'feedback' =>
|
195 |
'type' => 'error'
|
196 |
) );
|
197 |
}
|
@@ -206,7 +215,7 @@ function bp_nouveau_ajax_get_user_message_threads() {
|
|
206 |
// Simulate the loop.
|
207 |
if ( ! bp_has_message_threads( bp_ajax_querystring( 'messages' ) ) ) {
|
208 |
wp_send_json_error( array(
|
209 |
-
'feedback' =>
|
210 |
'type' => 'info'
|
211 |
) );
|
212 |
}
|
@@ -333,13 +342,13 @@ function bp_nouveau_ajax_get_thread_messages() {
|
|
333 |
|
334 |
if ( empty( $_POST['nonce'] ) || ! wp_verify_nonce( $_POST['nonce'], 'bp_nouveau_messages' ) ) {
|
335 |
wp_send_json_error( array(
|
336 |
-
'feedback' =>
|
337 |
'type' => 'error'
|
338 |
) );
|
339 |
}
|
340 |
|
341 |
$response = array(
|
342 |
-
'feedback' =>
|
343 |
'type' => 'info'
|
344 |
);
|
345 |
|
@@ -426,7 +435,7 @@ function bp_nouveau_ajax_get_thread_messages() {
|
|
426 |
*/
|
427 |
function bp_nouveau_ajax_delete_thread_messages() {
|
428 |
$response = array(
|
429 |
-
'feedback' =>
|
430 |
'type' => 'error',
|
431 |
);
|
432 |
|
@@ -449,7 +458,7 @@ function bp_nouveau_ajax_delete_thread_messages() {
|
|
449 |
}
|
450 |
|
451 |
wp_send_json_success( array(
|
452 |
-
'feedback' =>
|
453 |
'type' => 'success',
|
454 |
) );
|
455 |
}
|
@@ -464,8 +473,14 @@ function bp_nouveau_ajax_star_thread_messages() {
|
|
464 |
|
465 |
$action = str_replace( 'messages_', '', $_POST['action'] );
|
466 |
|
|
|
|
|
|
|
|
|
|
|
|
|
467 |
$response = array(
|
468 |
-
'feedback' =>
|
469 |
'type' => 'error',
|
470 |
);
|
471 |
|
@@ -534,8 +549,14 @@ function bp_nouveau_ajax_star_thread_messages() {
|
|
534 |
);
|
535 |
}
|
536 |
|
|
|
|
|
|
|
|
|
|
|
|
|
537 |
wp_send_json_success( array(
|
538 |
-
'feedback' =>
|
539 |
'type' => 'success',
|
540 |
'messages' => $messages,
|
541 |
) );
|
@@ -558,7 +579,7 @@ function bp_nouveau_ajax_readunread_thread_messages() {
|
|
558 |
|
559 |
if ( 'unread' === $action ) {
|
560 |
$response = array(
|
561 |
-
'feedback' =>
|
562 |
'type' => 'error',
|
563 |
);
|
564 |
}
|
@@ -576,9 +597,9 @@ function bp_nouveau_ajax_readunread_thread_messages() {
|
|
576 |
$response['messages'] = array();
|
577 |
|
578 |
if ( 'unread' === $action ) {
|
579 |
-
$response['feedback'] =
|
580 |
} else {
|
581 |
-
$response['feedback'] =
|
582 |
}
|
583 |
|
584 |
foreach ( $thread_ids as $thread_id ) {
|
3 |
* Messages Ajax functions
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
40 |
*/
|
41 |
function bp_nouveau_ajax_messages_send_message() {
|
42 |
$response = array(
|
43 |
+
'feedback' => __( 'Your message could not be sent. Please try again.', 'buddypress' ),
|
44 |
'type' => 'error',
|
45 |
);
|
46 |
|
68 |
}
|
69 |
|
70 |
// Trim @ from usernames
|
71 |
+
/**
|
72 |
+
* Filters the results of trimming of `@` characters from usernames for who is set to receive a message.
|
73 |
+
*
|
74 |
+
* @since 3.0.0
|
75 |
+
*
|
76 |
+
* @param array $value Array of trimmed usernames.
|
77 |
+
* @param array $value Array of un-trimmed usernames submitted.
|
78 |
+
*/
|
79 |
$recipients = apply_filters( 'bp_messages_recipients', array_map( function( $username ) {
|
80 |
return trim( $username, '@' );
|
81 |
}, $_POST['send_to'] ) );
|
187 |
|
188 |
wp_send_json_success( array(
|
189 |
'messages' => array( $reply ),
|
190 |
+
'feedback' => __( 'Your reply was sent successfully', 'buddypress' ),
|
191 |
'type' => 'success',
|
192 |
) );
|
193 |
}
|
198 |
function bp_nouveau_ajax_get_user_message_threads() {
|
199 |
global $messages_template;
|
200 |
|
201 |
+
if ( empty( $_POST['nonce'] ) || ! wp_verify_nonce( $_POST['nonce'], 'bp_nouveau_messages' ) ) {
|
202 |
wp_send_json_error( array(
|
203 |
+
'feedback' => __( 'Unauthorized request.', 'buddypress' ),
|
204 |
'type' => 'error'
|
205 |
) );
|
206 |
}
|
215 |
// Simulate the loop.
|
216 |
if ( ! bp_has_message_threads( bp_ajax_querystring( 'messages' ) ) ) {
|
217 |
wp_send_json_error( array(
|
218 |
+
'feedback' => __( 'Sorry, no messages were found.', 'buddypress' ),
|
219 |
'type' => 'info'
|
220 |
) );
|
221 |
}
|
342 |
|
343 |
if ( empty( $_POST['nonce'] ) || ! wp_verify_nonce( $_POST['nonce'], 'bp_nouveau_messages' ) ) {
|
344 |
wp_send_json_error( array(
|
345 |
+
'feedback' => __( 'Unauthorized request.', 'buddypress' ),
|
346 |
'type' => 'error'
|
347 |
) );
|
348 |
}
|
349 |
|
350 |
$response = array(
|
351 |
+
'feedback' => __( 'Sorry, no messages were found.', 'buddypress' ),
|
352 |
'type' => 'info'
|
353 |
);
|
354 |
|
435 |
*/
|
436 |
function bp_nouveau_ajax_delete_thread_messages() {
|
437 |
$response = array(
|
438 |
+
'feedback' => __( 'There was a problem deleting your message(s). Please try again.', 'buddypress' ),
|
439 |
'type' => 'error',
|
440 |
);
|
441 |
|
458 |
}
|
459 |
|
460 |
wp_send_json_success( array(
|
461 |
+
'feedback' => __( 'Message(s) deleted', 'buddypress' ),
|
462 |
'type' => 'success',
|
463 |
) );
|
464 |
}
|
473 |
|
474 |
$action = str_replace( 'messages_', '', $_POST['action'] );
|
475 |
|
476 |
+
if ( 'star' === $action ) {
|
477 |
+
$error_message = __( 'There was a problem starring your message(s). Please try again.', 'buddypress' );
|
478 |
+
} else {
|
479 |
+
$error_message = __( 'There was a problem unstarring your message(s). Please try agian.', 'buddypress' );
|
480 |
+
}
|
481 |
+
|
482 |
$response = array(
|
483 |
+
'feedback' => esc_html( $error_message ),
|
484 |
'type' => 'error',
|
485 |
);
|
486 |
|
549 |
);
|
550 |
}
|
551 |
|
552 |
+
if ( 'star' === $action ) {
|
553 |
+
$success_message = __( 'Message(s) successfully starred.', 'buddypress' );
|
554 |
+
} else {
|
555 |
+
$success_message = __( 'Message(s) successfully unstarred.', 'buddypress' );
|
556 |
+
}
|
557 |
+
|
558 |
wp_send_json_success( array(
|
559 |
+
'feedback' => esc_html( $success_message ),
|
560 |
'type' => 'success',
|
561 |
'messages' => $messages,
|
562 |
) );
|
579 |
|
580 |
if ( 'unread' === $action ) {
|
581 |
$response = array(
|
582 |
+
'feedback' => __( 'There was a problem marking your message(s) as unread. Please try again.', 'buddypress' ),
|
583 |
'type' => 'error',
|
584 |
);
|
585 |
}
|
597 |
$response['messages'] = array();
|
598 |
|
599 |
if ( 'unread' === $action ) {
|
600 |
+
$response['feedback'] = __( 'Message(s) marked as unread.', 'buddypress' );
|
601 |
} else {
|
602 |
+
$response['feedback'] = __( 'Message(s) marked as read.', 'buddypress' );
|
603 |
}
|
604 |
|
605 |
foreach ( $thread_ids as $thread_id ) {
|
bp-templates/bp-nouveau/includes/messages/functions.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Messages functions
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -91,15 +92,28 @@ function bp_nouveau_messages_localize_scripts( $params = array() ) {
|
|
91 |
|
92 |
$params['messages'] = array(
|
93 |
'errors' => array(
|
94 |
-
'send_to' => __( 'Please add at least
|
95 |
'subject' => __( 'Please add a subject to your message.', 'buddypress' ),
|
96 |
'message_content' => __( 'Please add some content to your message.', 'buddypress' ),
|
97 |
),
|
98 |
'nonces' => array(
|
99 |
'send' => wp_create_nonce( 'messages_send_message' ),
|
100 |
),
|
101 |
-
'loading'
|
102 |
-
'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
103 |
);
|
104 |
|
105 |
// Star private messages.
|
@@ -246,7 +260,7 @@ function bp_nouveau_format_notice_notification_for_user( $array ) {
|
|
246 |
}
|
247 |
|
248 |
return array(
|
249 |
-
'text' => esc_html__( 'New
|
250 |
'link' => bp_loggedin_user_domain(),
|
251 |
);
|
252 |
}
|
@@ -299,14 +313,23 @@ function bp_nouveau_push_sitewide_notices() {
|
|
299 |
}
|
300 |
|
301 |
/**
|
|
|
|
|
302 |
* @since 3.0.0
|
|
|
|
|
|
|
303 |
*/
|
304 |
-
function
|
305 |
$remove_buttons = array(
|
306 |
'wp_more',
|
307 |
'spellchecker',
|
308 |
'wp_adv',
|
309 |
'fullscreen',
|
|
|
|
|
|
|
|
|
310 |
);
|
311 |
|
312 |
// Remove unused buttons
|
@@ -364,6 +387,16 @@ function bp_nouveau_get_message_date( $date ) {
|
|
364 |
$date_format = 'M j';
|
365 |
}
|
366 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
367 |
return apply_filters( 'bp_nouveau_get_message_date', date_i18n( $date_format, $calculated_time, true ), $calculated_time, $date, $date_format );
|
368 |
}
|
369 |
|
3 |
* Messages functions
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
92 |
|
93 |
$params['messages'] = array(
|
94 |
'errors' => array(
|
95 |
+
'send_to' => __( 'Please add at least one recipient.', 'buddypress' ),
|
96 |
'subject' => __( 'Please add a subject to your message.', 'buddypress' ),
|
97 |
'message_content' => __( 'Please add some content to your message.', 'buddypress' ),
|
98 |
),
|
99 |
'nonces' => array(
|
100 |
'send' => wp_create_nonce( 'messages_send_message' ),
|
101 |
),
|
102 |
+
'loading' => __( 'Loading messages. Please wait.', 'buddypress' ),
|
103 |
+
'doingAction' => array(
|
104 |
+
'read' => __( 'Marking message(s) as read. Please wait.', 'buddypress' ),
|
105 |
+
'unread' => __( 'Marking message(s) as unread. Please wait.', 'buddypress' ),
|
106 |
+
'delete' => __( 'Deleting message(s). Please wait.', 'buddypress' ),
|
107 |
+
'star' => __( 'Starring message(s). Please wait.', 'buddypress' ),
|
108 |
+
'unstar' => __( 'Unstarring message(s). Please wait.', 'buddypress' ),
|
109 |
+
),
|
110 |
+
'bulk_actions' => bp_nouveau_messages_get_bulk_actions(),
|
111 |
+
'howto' => __( 'Click on the message title to preview it in the Active conversation box below.', 'buddypress' ),
|
112 |
+
'howtoBulk' => __( 'Use the select box to define your bulk action and click on the ✓ button to apply.', 'buddypress' ),
|
113 |
+
'toOthers' => array(
|
114 |
+
'one' => __( '(and 1 other)', 'buddypress' ),
|
115 |
+
'more' => __( '(and %d others)', 'buddypress' ),
|
116 |
+
),
|
117 |
);
|
118 |
|
119 |
// Star private messages.
|
260 |
}
|
261 |
|
262 |
return array(
|
263 |
+
'text' => esc_html__( 'New sitewide notice', 'buddypress' ),
|
264 |
'link' => bp_loggedin_user_domain(),
|
265 |
);
|
266 |
}
|
313 |
}
|
314 |
|
315 |
/**
|
316 |
+
* Disable the WP Editor buttons not allowed in messages content.
|
317 |
+
*
|
318 |
* @since 3.0.0
|
319 |
+
*
|
320 |
+
* @param array $buttons The WP Editor buttons list.
|
321 |
+
* @param array The filtered WP Editor buttons list.
|
322 |
*/
|
323 |
+
function bp_nouveau_messages_mce_buttons( $buttons = array() ) {
|
324 |
$remove_buttons = array(
|
325 |
'wp_more',
|
326 |
'spellchecker',
|
327 |
'wp_adv',
|
328 |
'fullscreen',
|
329 |
+
'alignleft',
|
330 |
+
'alignright',
|
331 |
+
'aligncenter',
|
332 |
+
'formatselect',
|
333 |
);
|
334 |
|
335 |
// Remove unused buttons
|
387 |
$date_format = 'M j';
|
388 |
}
|
389 |
|
390 |
+
/**
|
391 |
+
* Filters the message date for BuddyPress Nouveau display.
|
392 |
+
*
|
393 |
+
* @since 3.0.0
|
394 |
+
*
|
395 |
+
* @param string $value Internationalization-ready formatted date value.
|
396 |
+
* @param mixed $calculated_time Calculated time.
|
397 |
+
* @param string $date Date value.
|
398 |
+
* @param string $date_format Format to convert the calcuated date to.
|
399 |
+
*/
|
400 |
return apply_filters( 'bp_nouveau_get_message_date', date_i18n( $date_format, $calculated_time, true ), $calculated_time, $date, $date_format );
|
401 |
}
|
402 |
|
bp-templates/bp-nouveau/includes/messages/loader.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Messages
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -102,21 +103,6 @@ class BP_Nouveau_Messages {
|
|
102 |
|
103 |
// Messages
|
104 |
add_filter( 'bp_messages_admin_nav', 'bp_nouveau_messages_adjust_admin_nav', 10, 1 );
|
105 |
-
|
106 |
-
remove_filter( 'messages_notice_message_before_save', 'wp_filter_kses', 1 );
|
107 |
-
remove_filter( 'messages_message_content_before_save', 'wp_filter_kses', 1 );
|
108 |
-
remove_filter( 'bp_get_the_thread_message_content', 'wp_filter_kses', 1 );
|
109 |
-
|
110 |
-
add_filter( 'messages_notice_message_before_save', 'wp_filter_post_kses', 1 );
|
111 |
-
add_filter( 'messages_message_content_before_save', 'wp_filter_post_kses', 1 );
|
112 |
-
add_filter( 'bp_get_the_thread_message_content', 'wp_filter_post_kses', 1 );
|
113 |
-
add_filter( 'bp_get_message_thread_content', 'wp_filter_post_kses', 1 );
|
114 |
-
add_filter( 'bp_get_message_thread_content', 'wptexturize' );
|
115 |
-
add_filter( 'bp_get_message_thread_content', 'stripslashes_deep', 1 );
|
116 |
-
add_filter( 'bp_get_message_thread_content', 'convert_smilies', 2 );
|
117 |
-
add_filter( 'bp_get_message_thread_content', 'convert_chars' );
|
118 |
-
add_filter( 'bp_get_message_thread_content', 'make_clickable', 9 );
|
119 |
-
add_filter( 'bp_get_message_thread_content', 'wpautop' );
|
120 |
}
|
121 |
}
|
122 |
|
3 |
* BP Nouveau Messages
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
103 |
|
104 |
// Messages
|
105 |
add_filter( 'bp_messages_admin_nav', 'bp_nouveau_messages_adjust_admin_nav', 10, 1 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
}
|
107 |
}
|
108 |
|
bp-templates/bp-nouveau/includes/messages/template-tags.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Messages template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
3 |
* Messages template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
bp-templates/bp-nouveau/includes/notifications/functions.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Notifications functions
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
3 |
* Notifications functions
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
bp-templates/bp-nouveau/includes/notifications/loader.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau Notifications
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
3 |
* BP Nouveau Notifications
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
bp-templates/bp-nouveau/includes/notifications/template-tags.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Notifications template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -81,7 +82,7 @@ function bp_nouveau_notifications_sort_order_links() {
|
|
81 |
?>
|
82 |
|
83 |
<span class="notifications-order-actions">
|
84 |
-
<a href="<?php echo esc_url( $desc ); ?>" class="bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Newest First', 'buddypress' ); ?>" aria-label="<?php esc_attr_e( 'Newest First', 'buddypress' ); ?>" data-bp-notifications-order="DESC"><span class="dashicons dashicons-arrow-down"></span></a>
|
85 |
<a href="<?php echo esc_url( $asc ); ?>" class="bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Older First', 'buddypress' ); ?>" aria-label="<?php esc_attr_e( 'Older First', 'buddypress' ); ?>" data-bp-notifications-order="ASC"><span class="dashicons dashicons-arrow-up" aria-hidden="true"></span></a>
|
86 |
</span>
|
87 |
|
3 |
* Notifications template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
82 |
?>
|
83 |
|
84 |
<span class="notifications-order-actions">
|
85 |
+
<a href="<?php echo esc_url( $desc ); ?>" class="bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Newest First', 'buddypress' ); ?>" aria-label="<?php esc_attr_e( 'Newest First', 'buddypress' ); ?>" data-bp-notifications-order="DESC"><span class="dashicons dashicons-arrow-down" aria-hidden="true"></span></a>
|
86 |
<a href="<?php echo esc_url( $asc ); ?>" class="bp-tooltip" data-bp-tooltip="<?php esc_attr_e( 'Older First', 'buddypress' ); ?>" aria-label="<?php esc_attr_e( 'Older First', 'buddypress' ); ?>" data-bp-notifications-order="ASC"><span class="dashicons dashicons-arrow-up" aria-hidden="true"></span></a>
|
87 |
</span>
|
88 |
|
bp-templates/bp-nouveau/includes/template-tags.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* Common template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
@@ -27,6 +28,11 @@ function bp_nouveau_hook( $pieces = array() ) {
|
|
27 |
|
28 |
$hook = join( '_', $pieces );
|
29 |
|
|
|
|
|
|
|
|
|
|
|
30 |
do_action( $hook );
|
31 |
}
|
32 |
|
@@ -207,7 +213,7 @@ function bp_nouveau_template_message() {
|
|
207 |
/**
|
208 |
* Filters the 'template_notices' feedback message content.
|
209 |
*
|
210 |
-
* @since 1.5.5
|
211 |
*
|
212 |
* @param string $template_message Feedback message content.
|
213 |
* @param string $type The type of message being displayed.
|
@@ -284,12 +290,21 @@ function bp_nouveau_user_feedback( $feedback_id = '' ) {
|
|
284 |
}
|
285 |
|
286 |
if ( ! empty( $feedback['before'] ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
287 |
do_action( $feedback['before'] );
|
288 |
}
|
289 |
|
290 |
$bp_nouveau->user_feedback = $feedback;
|
291 |
|
292 |
bp_get_template_part(
|
|
|
293 |
/**
|
294 |
* Filter here if you wish to use a different templates than the notice one.
|
295 |
*
|
@@ -301,6 +316,14 @@ function bp_nouveau_user_feedback( $feedback_id = '' ) {
|
|
301 |
);
|
302 |
|
303 |
if ( ! empty( $feedback['after'] ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
304 |
do_action( $feedback['after'] );
|
305 |
}
|
306 |
|
@@ -323,6 +346,8 @@ function bp_nouveau_before_loop() {
|
|
323 |
/**
|
324 |
* Fires before the start of the component loop.
|
325 |
*
|
|
|
|
|
326 |
* @since 1.2.0
|
327 |
*/
|
328 |
do_action( "bp_before_{$component}_loop" );
|
@@ -343,6 +368,8 @@ function bp_nouveau_after_loop() {
|
|
343 |
/**
|
344 |
* Fires after the finish of the component loop.
|
345 |
*
|
|
|
|
|
346 |
* @since 1.2.0
|
347 |
*/
|
348 |
do_action( "bp_after_{$component}_loop" );
|
@@ -635,7 +662,13 @@ function bp_nouveau_avatar_args() {
|
|
635 |
/**
|
636 |
* Filter arguments for full-size avatars.
|
637 |
*
|
638 |
-
* @
|
|
|
|
|
|
|
|
|
|
|
|
|
639 |
*/
|
640 |
return apply_filters( 'bp_nouveau_avatar_args', array(
|
641 |
'type' => 'full',
|
@@ -1120,7 +1153,7 @@ function bp_nouveau_nav_link_text() {
|
|
1120 |
$link_text = '';
|
1121 |
|
1122 |
if ( 'directory' === $bp_nouveau->displayed_nav && ! empty( $nav_item->text ) ) {
|
1123 |
-
$link_text = $nav_item->text;
|
1124 |
|
1125 |
} elseif (
|
1126 |
( 'groups' === $bp_nouveau->displayed_nav || 'personal' === $bp_nouveau->displayed_nav )
|
@@ -1396,6 +1429,13 @@ function bp_nouveau_container_classes() {
|
|
1396 |
}
|
1397 |
|
1398 |
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1399 |
$customizer_option = apply_filters( 'bp_nouveau_single_item_display_settings_id', '' );
|
1400 |
}
|
1401 |
|
@@ -1436,6 +1476,16 @@ function bp_nouveau_container_classes() {
|
|
1436 |
|
1437 |
$class = array_map( 'sanitize_html_class', $classes );
|
1438 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1439 |
return apply_filters( 'bp_nouveau_get_container_classes', join( ' ', $class ), $classes );
|
1440 |
}
|
1441 |
|
@@ -1465,16 +1515,18 @@ function bp_nouveau_single_item_nav_classes() {
|
|
1465 |
// @todo wasn't able to get $customizer_option to pass a string to get_settings
|
1466 |
// this is a temp workaround but differs from earlier dir approach- bad!
|
1467 |
if ( bp_is_group() ) {
|
1468 |
-
$nav_tabs = bp_nouveau_get_temporary_setting( 'group_nav_tabs', bp_nouveau_get_appearance_settings( 'group_nav_tabs' ) );
|
1469 |
|
1470 |
} elseif ( bp_is_user() ) {
|
1471 |
-
$nav_tabs = bp_nouveau_get_temporary_setting( 'user_nav_tabs', bp_nouveau_get_appearance_settings( 'user_nav_tabs' ) );
|
1472 |
}
|
1473 |
|
1474 |
if ( bp_is_group() && 1 === $nav_tabs) {
|
1475 |
$classes[] = 'group-nav-tabs';
|
|
|
1476 |
} elseif ( bp_is_user() && 1 === $nav_tabs ) {
|
1477 |
$classes[] = 'user-nav-tabs';
|
|
|
1478 |
}
|
1479 |
|
1480 |
if ( bp_is_user() ) {
|
@@ -1486,7 +1538,7 @@ function bp_nouveau_single_item_nav_classes() {
|
|
1486 |
|
1487 |
$customizer_option = ( bp_is_user() )? 'user_nav_display' : 'group_nav_display';
|
1488 |
|
1489 |
-
$layout_prefs = bp_nouveau_get_temporary_setting( $customizer_option, bp_nouveau_get_appearance_settings( $customizer_option ) );
|
1490 |
|
1491 |
// Set the global for a later use - this is moved from the `bp_nouveau_get_container_classes()
|
1492 |
// But was set as a check for this array class addition.
|
@@ -1501,6 +1553,16 @@ function bp_nouveau_single_item_nav_classes() {
|
|
1501 |
$classes[] = $menu_type;
|
1502 |
$class = array_map( 'sanitize_html_class', $classes );
|
1503 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1504 |
return apply_filters( 'bp_nouveau_get_single_item_nav_classes', join( ' ', $class ), $classes );
|
1505 |
}
|
1506 |
|
@@ -1534,12 +1596,12 @@ function bp_nouveau_single_item_subnav_classes() {
|
|
1534 |
$classes[] = 'group-subnav';
|
1535 |
}
|
1536 |
|
1537 |
-
if ( bp_is_group() && 'send-invites' === bp_current_action() ) {
|
1538 |
$classes[] = 'bp-invites-nav';
|
1539 |
}
|
1540 |
|
1541 |
$customizer_option = ( bp_is_user() )? 'user_subnav_tabs' : 'group_subnav_tabs';
|
1542 |
-
$nav_tabs = bp_nouveau_get_temporary_setting( $customizer_option, bp_nouveau_get_appearance_settings( $customizer_option ) );
|
1543 |
|
1544 |
if ( bp_is_user() && 1 === $nav_tabs ) {
|
1545 |
$classes[] = 'tabbed-links';
|
@@ -1551,6 +1613,16 @@ function bp_nouveau_single_item_subnav_classes() {
|
|
1551 |
|
1552 |
$class = array_map( 'sanitize_html_class', $classes );
|
1553 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1554 |
return apply_filters( 'bp_nouveau_get_single_item_subnav_classes', join( ' ', $class ), $classes );
|
1555 |
}
|
1556 |
|
@@ -1574,7 +1646,7 @@ function bp_nouveau_groups_create_steps_classes() {
|
|
1574 |
*/
|
1575 |
function bp_nouveau_get_group_create_steps_classes() {
|
1576 |
$classes = array( 'bp-navs', 'group-create-links', 'no-ajax' );
|
1577 |
-
$nav_tabs = bp_nouveau_get_temporary_setting( 'groups_create_tabs', bp_nouveau_get_appearance_settings( 'groups_create_tabs' ) );
|
1578 |
|
1579 |
if ( 1 === $nav_tabs ) {
|
1580 |
$classes[] = 'tabbed-links';
|
@@ -1582,6 +1654,16 @@ function bp_nouveau_groups_create_steps_classes() {
|
|
1582 |
|
1583 |
$class = array_map( 'sanitize_html_class', $classes );
|
1584 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1585 |
return apply_filters( 'bp_nouveau_get_group_create_steps_classes', join( ' ', $class ), $classes );
|
1586 |
}
|
1587 |
|
@@ -1605,6 +1687,14 @@ function bp_nouveau_get_search_primary_object( $object = '' ) {
|
|
1605 |
} elseif ( bp_is_directory() ) {
|
1606 |
$object = 'dir';
|
1607 |
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1608 |
$object = apply_filters( 'bp_nouveau_get_search_primary_object', $object );
|
1609 |
}
|
1610 |
|
@@ -1635,6 +1725,14 @@ function bp_nouveau_get_search_objects( $objects = array() ) {
|
|
1635 |
} elseif ( 'group' === $primary ) {
|
1636 |
$objects['secondary'] = bp_current_action();
|
1637 |
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1638 |
$objects = apply_filters( 'bp_nouveau_get_search_objects', $objects );
|
1639 |
}
|
1640 |
|
@@ -1653,6 +1751,30 @@ function bp_nouveau_search_container_class() {
|
|
1653 |
echo esc_attr( $class );
|
1654 |
}
|
1655 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1656 |
/**
|
1657 |
* Output a selector ID.
|
1658 |
*
|
@@ -1735,7 +1857,7 @@ function bp_nouveau_search_form() {
|
|
1735 |
/**
|
1736 |
* Fires before the display of the activity syndication options.
|
1737 |
*
|
1738 |
-
* @since 1.2.0
|
1739 |
*/
|
1740 |
do_action( 'bp_activity_syndication_options' );
|
1741 |
|
@@ -1743,7 +1865,7 @@ function bp_nouveau_search_form() {
|
|
1743 |
/**
|
1744 |
* Fires inside the unordered list displaying blog sub-types.
|
1745 |
*
|
1746 |
-
* @since 1.5.0
|
1747 |
*/
|
1748 |
do_action( 'bp_blogs_directory_blog_sub_types' );
|
1749 |
|
@@ -1751,7 +1873,7 @@ function bp_nouveau_search_form() {
|
|
1751 |
/**
|
1752 |
* Fires inside the groups directory group types.
|
1753 |
*
|
1754 |
-
* @since 1.2.0
|
1755 |
*/
|
1756 |
do_action( 'bp_groups_directory_group_types' );
|
1757 |
|
@@ -1759,7 +1881,7 @@ function bp_nouveau_search_form() {
|
|
1759 |
/**
|
1760 |
* Fires inside the members directory member sub-types.
|
1761 |
*
|
1762 |
-
* @since 1.5.0
|
1763 |
*/
|
1764 |
do_action( 'bp_members_directory_member_sub_types' );
|
1765 |
}
|
@@ -1767,7 +1889,7 @@ function bp_nouveau_search_form() {
|
|
1767 |
/**
|
1768 |
* Fires inside the syndication options list, after the RSS option.
|
1769 |
*
|
1770 |
-
* @since 1.2.0
|
1771 |
*/
|
1772 |
do_action( 'bp_group_activity_syndication_options' );
|
1773 |
}
|
@@ -1796,7 +1918,11 @@ function bp_nouveau_current_object() {
|
|
1796 |
$component['members_select'] = 'groups_members-order-select';
|
1797 |
$component['members_order_by'] = 'groups_members-order-by';
|
1798 |
$component['object'] = bp_current_action();
|
1799 |
-
$component['data_filter'] =
|
|
|
|
|
|
|
|
|
1800 |
|
1801 |
} else {
|
1802 |
$component['members_select'] = 'members-order-select';
|
@@ -1837,6 +1963,14 @@ function bp_nouveau_filter_container_id() {
|
|
1837 |
);
|
1838 |
|
1839 |
if ( isset( $ids[ $component['object'] ] ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1840 |
return apply_filters( 'bp_nouveau_get_filter_container_id', $ids[ $component['object'] ] );
|
1841 |
}
|
1842 |
|
@@ -1872,6 +2006,14 @@ function bp_nouveau_filter_id() {
|
|
1872 |
);
|
1873 |
|
1874 |
if ( isset( $ids[ $component['object'] ] ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1875 |
return apply_filters( 'bp_nouveau_get_filter_id', $ids[ $component['object'] ] );
|
1876 |
}
|
1877 |
|
@@ -1902,7 +2044,15 @@ function bp_nouveau_filter_label() {
|
|
1902 |
$label = __( 'Show:', 'buddypress' );
|
1903 |
}
|
1904 |
|
1905 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1906 |
}
|
1907 |
|
1908 |
/**
|
@@ -2059,13 +2209,13 @@ function bp_nouveau_signup_hook( $when = '', $prefix = '' ) {
|
|
2059 |
function bp_nouveau_activation_hook( $when = '', $suffix = '' ) {
|
2060 |
$hook = array( 'bp' );
|
2061 |
|
2062 |
-
if (
|
2063 |
$hook[] = $when;
|
2064 |
}
|
2065 |
|
2066 |
$hook[] = 'activate';
|
2067 |
|
2068 |
-
if (
|
2069 |
$hook[] = $suffix;
|
2070 |
}
|
2071 |
|
@@ -2233,7 +2383,9 @@ function bp_nouveau_signup_form( $section = 'account_details' ) {
|
|
2233 |
/**
|
2234 |
* Fires and displays any extra member registration details fields.
|
2235 |
*
|
2236 |
-
*
|
|
|
|
|
2237 |
*/
|
2238 |
do_action( "bp_{$section}_fields" );
|
2239 |
}
|
@@ -2252,6 +2404,14 @@ function bp_nouveau_submit_button( $action ) {
|
|
2252 |
}
|
2253 |
|
2254 |
if ( ! empty( $submit_data['before'] ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2255 |
do_action( $submit_data['before'] );
|
2256 |
}
|
2257 |
|
@@ -2266,6 +2426,14 @@ function bp_nouveau_submit_button( $action ) {
|
|
2266 |
wp_nonce_field( $submit_data['nonce'] );
|
2267 |
|
2268 |
if ( ! empty( $submit_data['after'] ) ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2269 |
do_action( $submit_data['after'] );
|
2270 |
}
|
2271 |
}
|
3 |
* Common template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
28 |
|
29 |
$hook = join( '_', $pieces );
|
30 |
|
31 |
+
/**
|
32 |
+
* Fires inside the `bp_nouveau_hook()` function.
|
33 |
+
*
|
34 |
+
* @since 3.0.0
|
35 |
+
*/
|
36 |
do_action( $hook );
|
37 |
}
|
38 |
|
213 |
/**
|
214 |
* Filters the 'template_notices' feedback message content.
|
215 |
*
|
216 |
+
* @since 1.5.5
|
217 |
*
|
218 |
* @param string $template_message Feedback message content.
|
219 |
* @param string $type The type of message being displayed.
|
290 |
}
|
291 |
|
292 |
if ( ! empty( $feedback['before'] ) ) {
|
293 |
+
|
294 |
+
/**
|
295 |
+
* Fires before display of a feedback message to the user.
|
296 |
+
*
|
297 |
+
* This is a dynamic filter that is dependent on the "before" value provided by bp_nouveau_get_user_feedback().
|
298 |
+
*
|
299 |
+
* @since 3.0.0
|
300 |
+
*/
|
301 |
do_action( $feedback['before'] );
|
302 |
}
|
303 |
|
304 |
$bp_nouveau->user_feedback = $feedback;
|
305 |
|
306 |
bp_get_template_part(
|
307 |
+
|
308 |
/**
|
309 |
* Filter here if you wish to use a different templates than the notice one.
|
310 |
*
|
316 |
);
|
317 |
|
318 |
if ( ! empty( $feedback['after'] ) ) {
|
319 |
+
|
320 |
+
/**
|
321 |
+
* Fires before display of a feedback message to the user.
|
322 |
+
*
|
323 |
+
* This is a dynamic filter that is dependent on the "after" value provided by bp_nouveau_get_user_feedback().
|
324 |
+
*
|
325 |
+
* @since 3.0.0
|
326 |
+
*/
|
327 |
do_action( $feedback['after'] );
|
328 |
}
|
329 |
|
346 |
/**
|
347 |
* Fires before the start of the component loop.
|
348 |
*
|
349 |
+
* This is a variable hook that is dependent on the current component.
|
350 |
+
*
|
351 |
* @since 1.2.0
|
352 |
*/
|
353 |
do_action( "bp_before_{$component}_loop" );
|
368 |
/**
|
369 |
* Fires after the finish of the component loop.
|
370 |
*
|
371 |
+
* This is a variable hook that is dependent on the current component.
|
372 |
+
*
|
373 |
* @since 1.2.0
|
374 |
*/
|
375 |
do_action( "bp_after_{$component}_loop" );
|
662 |
/**
|
663 |
* Filter arguments for full-size avatars.
|
664 |
*
|
665 |
+
* @since 3.0.0
|
666 |
+
*
|
667 |
+
* @param array $args {
|
668 |
+
* @param string $type Avatar type.
|
669 |
+
* @param int $width Avatar width value.
|
670 |
+
* @param int $height Avatar height value.
|
671 |
+
* }
|
672 |
*/
|
673 |
return apply_filters( 'bp_nouveau_avatar_args', array(
|
674 |
'type' => 'full',
|
1153 |
$link_text = '';
|
1154 |
|
1155 |
if ( 'directory' === $bp_nouveau->displayed_nav && ! empty( $nav_item->text ) ) {
|
1156 |
+
$link_text = _bp_strip_spans_from_title( $nav_item->text );
|
1157 |
|
1158 |
} elseif (
|
1159 |
( 'groups' === $bp_nouveau->displayed_nav || 'personal' === $bp_nouveau->displayed_nav )
|
1429 |
}
|
1430 |
|
1431 |
} else {
|
1432 |
+
/**
|
1433 |
+
* Filters the BuddyPress Nouveau single item setting ID.
|
1434 |
+
*
|
1435 |
+
* @since 3.0.0
|
1436 |
+
*
|
1437 |
+
* @param string $value Setting ID.
|
1438 |
+
*/
|
1439 |
$customizer_option = apply_filters( 'bp_nouveau_single_item_display_settings_id', '' );
|
1440 |
}
|
1441 |
|
1476 |
|
1477 |
$class = array_map( 'sanitize_html_class', $classes );
|
1478 |
|
1479 |
+
/**
|
1480 |
+
* Filters the final results for BuddyPress Nouveau container classes.
|
1481 |
+
*
|
1482 |
+
* This filter will return a single string of concatenated classes to be used.
|
1483 |
+
*
|
1484 |
+
* @since 3.0.0
|
1485 |
+
*
|
1486 |
+
* @param string $value Concatenated classes.
|
1487 |
+
* @param array $classes Array of classes that were concatenated.
|
1488 |
+
*/
|
1489 |
return apply_filters( 'bp_nouveau_get_container_classes', join( ' ', $class ), $classes );
|
1490 |
}
|
1491 |
|
1515 |
// @todo wasn't able to get $customizer_option to pass a string to get_settings
|
1516 |
// this is a temp workaround but differs from earlier dir approach- bad!
|
1517 |
if ( bp_is_group() ) {
|
1518 |
+
$nav_tabs = (int) bp_nouveau_get_temporary_setting( 'group_nav_tabs', bp_nouveau_get_appearance_settings( 'group_nav_tabs' ) );
|
1519 |
|
1520 |
} elseif ( bp_is_user() ) {
|
1521 |
+
$nav_tabs = (int) bp_nouveau_get_temporary_setting( 'user_nav_tabs', bp_nouveau_get_appearance_settings( 'user_nav_tabs' ) );
|
1522 |
}
|
1523 |
|
1524 |
if ( bp_is_group() && 1 === $nav_tabs) {
|
1525 |
$classes[] = 'group-nav-tabs';
|
1526 |
+
$classes[] = 'tabbed-links';
|
1527 |
} elseif ( bp_is_user() && 1 === $nav_tabs ) {
|
1528 |
$classes[] = 'user-nav-tabs';
|
1529 |
+
$classes[] = 'tabbed-links';
|
1530 |
}
|
1531 |
|
1532 |
if ( bp_is_user() ) {
|
1538 |
|
1539 |
$customizer_option = ( bp_is_user() )? 'user_nav_display' : 'group_nav_display';
|
1540 |
|
1541 |
+
$layout_prefs = (int) bp_nouveau_get_temporary_setting( $customizer_option, bp_nouveau_get_appearance_settings( $customizer_option ) );
|
1542 |
|
1543 |
// Set the global for a later use - this is moved from the `bp_nouveau_get_container_classes()
|
1544 |
// But was set as a check for this array class addition.
|
1553 |
$classes[] = $menu_type;
|
1554 |
$class = array_map( 'sanitize_html_class', $classes );
|
1555 |
|
1556 |
+
/**
|
1557 |
+
* Filters the final results for BuddyPress Nouveau single item nav classes.
|
1558 |
+
*
|
1559 |
+
* This filter will return a single string of concatenated classes to be used.
|
1560 |
+
*
|
1561 |
+
* @since 3.0.0
|
1562 |
+
*
|
1563 |
+
* @param string $value Concatenated classes.
|
1564 |
+
* @param array $classes Array of classes that were concatenated.
|
1565 |
+
*/
|
1566 |
return apply_filters( 'bp_nouveau_get_single_item_nav_classes', join( ' ', $class ), $classes );
|
1567 |
}
|
1568 |
|
1596 |
$classes[] = 'group-subnav';
|
1597 |
}
|
1598 |
|
1599 |
+
if ( ( bp_is_group() && 'send-invites' === bp_current_action() ) || ( bp_is_group_create() && 'group-invites' === bp_get_groups_current_create_step() ) ) {
|
1600 |
$classes[] = 'bp-invites-nav';
|
1601 |
}
|
1602 |
|
1603 |
$customizer_option = ( bp_is_user() )? 'user_subnav_tabs' : 'group_subnav_tabs';
|
1604 |
+
$nav_tabs = (int) bp_nouveau_get_temporary_setting( $customizer_option, bp_nouveau_get_appearance_settings( $customizer_option ) );
|
1605 |
|
1606 |
if ( bp_is_user() && 1 === $nav_tabs ) {
|
1607 |
$classes[] = 'tabbed-links';
|
1613 |
|
1614 |
$class = array_map( 'sanitize_html_class', $classes );
|
1615 |
|
1616 |
+
/**
|
1617 |
+
* Filters the final results for BuddyPress Nouveau single item subnav classes.
|
1618 |
+
*
|
1619 |
+
* This filter will return a single string of concatenated classes to be used.
|
1620 |
+
*
|
1621 |
+
* @since 3.0.0
|
1622 |
+
*
|
1623 |
+
* @param string $value Concatenated classes.
|
1624 |
+
* @param array $classes Array of classes that were concatenated.
|
1625 |
+
*/
|
1626 |
return apply_filters( 'bp_nouveau_get_single_item_subnav_classes', join( ' ', $class ), $classes );
|
1627 |
}
|
1628 |
|
1646 |
*/
|
1647 |
function bp_nouveau_get_group_create_steps_classes() {
|
1648 |
$classes = array( 'bp-navs', 'group-create-links', 'no-ajax' );
|
1649 |
+
$nav_tabs = (int) bp_nouveau_get_temporary_setting( 'groups_create_tabs', bp_nouveau_get_appearance_settings( 'groups_create_tabs' ) );
|
1650 |
|
1651 |
if ( 1 === $nav_tabs ) {
|
1652 |
$classes[] = 'tabbed-links';
|
1654 |
|
1655 |
$class = array_map( 'sanitize_html_class', $classes );
|
1656 |
|
1657 |
+
/**
|
1658 |
+
* Filters the final results for BuddyPress Nouveau group creation step classes.
|
1659 |
+
*
|
1660 |
+
* This filter will return a single string of concatenated classes to be used.
|
1661 |
+
*
|
1662 |
+
* @since 3.0.0
|
1663 |
+
*
|
1664 |
+
* @param string $value Concatenated classes.
|
1665 |
+
* @param array $classes Array of classes that were concatenated.
|
1666 |
+
*/
|
1667 |
return apply_filters( 'bp_nouveau_get_group_create_steps_classes', join( ' ', $class ), $classes );
|
1668 |
}
|
1669 |
|
1687 |
} elseif ( bp_is_directory() ) {
|
1688 |
$object = 'dir';
|
1689 |
} else {
|
1690 |
+
|
1691 |
+
/**
|
1692 |
+
* Filters the search primary object if no other was found.
|
1693 |
+
*
|
1694 |
+
* @since 3.0.0
|
1695 |
+
*
|
1696 |
+
* @param string $object Search object.
|
1697 |
+
*/
|
1698 |
$object = apply_filters( 'bp_nouveau_get_search_primary_object', $object );
|
1699 |
}
|
1700 |
|
1725 |
} elseif ( 'group' === $primary ) {
|
1726 |
$objects['secondary'] = bp_current_action();
|
1727 |
} else {
|
1728 |
+
|
1729 |
+
/**
|
1730 |
+
* Filters the search objects if no others were found.
|
1731 |
+
*
|
1732 |
+
* @since 3.0.0
|
1733 |
+
*
|
1734 |
+
* @param array $objects Search objects.
|
1735 |
+
*/
|
1736 |
$objects = apply_filters( 'bp_nouveau_get_search_objects', $objects );
|
1737 |
}
|
1738 |
|
1751 |
echo esc_attr( $class );
|
1752 |
}
|
1753 |
|
1754 |
+
/**
|
1755 |
+
* Output the search form data-bp attribute.
|
1756 |
+
*
|
1757 |
+
* @since 3.0.0
|
1758 |
+
*
|
1759 |
+
* @param string $attr The data-bp attribute.
|
1760 |
+
* @return string The data-bp attribute.
|
1761 |
+
*/
|
1762 |
+
function bp_nouveau_search_object_data_attr( $attr = '' ) {
|
1763 |
+
$objects = bp_nouveau_get_search_objects();
|
1764 |
+
|
1765 |
+
if ( ! isset( $objects['secondary'] ) ) {
|
1766 |
+
return $attr;
|
1767 |
+
}
|
1768 |
+
|
1769 |
+
if ( bp_is_active( 'groups' ) && bp_is_group_members() ) {
|
1770 |
+
$attr = join( '_', $objects );
|
1771 |
+
} else {
|
1772 |
+
$attr = $objects['secondary'];
|
1773 |
+
}
|
1774 |
+
|
1775 |
+
echo esc_attr( $attr );
|
1776 |
+
}
|
1777 |
+
|
1778 |
/**
|
1779 |
* Output a selector ID.
|
1780 |
*
|
1857 |
/**
|
1858 |
* Fires before the display of the activity syndication options.
|
1859 |
*
|
1860 |
+
* @since 1.2.0
|
1861 |
*/
|
1862 |
do_action( 'bp_activity_syndication_options' );
|
1863 |
|
1865 |
/**
|
1866 |
* Fires inside the unordered list displaying blog sub-types.
|
1867 |
*
|
1868 |
+
* @since 1.5.0
|
1869 |
*/
|
1870 |
do_action( 'bp_blogs_directory_blog_sub_types' );
|
1871 |
|
1873 |
/**
|
1874 |
* Fires inside the groups directory group types.
|
1875 |
*
|
1876 |
+
* @since 1.2.0
|
1877 |
*/
|
1878 |
do_action( 'bp_groups_directory_group_types' );
|
1879 |
|
1881 |
/**
|
1882 |
* Fires inside the members directory member sub-types.
|
1883 |
*
|
1884 |
+
* @since 1.5.0
|
1885 |
*/
|
1886 |
do_action( 'bp_members_directory_member_sub_types' );
|
1887 |
}
|
1889 |
/**
|
1890 |
* Fires inside the syndication options list, after the RSS option.
|
1891 |
*
|
1892 |
+
* @since 1.2.0
|
1893 |
*/
|
1894 |
do_action( 'bp_group_activity_syndication_options' );
|
1895 |
}
|
1918 |
$component['members_select'] = 'groups_members-order-select';
|
1919 |
$component['members_order_by'] = 'groups_members-order-by';
|
1920 |
$component['object'] = bp_current_action();
|
1921 |
+
$component['data_filter'] = bp_current_action();
|
1922 |
+
|
1923 |
+
if ( 'activity' !== bp_current_action() ) {
|
1924 |
+
$component['data_filter'] = 'group_' . bp_current_action();
|
1925 |
+
}
|
1926 |
|
1927 |
} else {
|
1928 |
$component['members_select'] = 'members-order-select';
|
1963 |
);
|
1964 |
|
1965 |
if ( isset( $ids[ $component['object'] ] ) ) {
|
1966 |
+
|
1967 |
+
/**
|
1968 |
+
* Filters the container ID for BuddyPress Nouveau filters.
|
1969 |
+
*
|
1970 |
+
* @since 3.0.0
|
1971 |
+
*
|
1972 |
+
* @param string $value ID based on current component object.
|
1973 |
+
*/
|
1974 |
return apply_filters( 'bp_nouveau_get_filter_container_id', $ids[ $component['object'] ] );
|
1975 |
}
|
1976 |
|
2006 |
);
|
2007 |
|
2008 |
if ( isset( $ids[ $component['object'] ] ) ) {
|
2009 |
+
|
2010 |
+
/**
|
2011 |
+
* Filters the filter ID for BuddyPress Nouveau filters.
|
2012 |
+
*
|
2013 |
+
* @since 3.0.0
|
2014 |
+
*
|
2015 |
+
* @param string $value ID based on current component object.
|
2016 |
+
*/
|
2017 |
return apply_filters( 'bp_nouveau_get_filter_id', $ids[ $component['object'] ] );
|
2018 |
}
|
2019 |
|
2044 |
$label = __( 'Show:', 'buddypress' );
|
2045 |
}
|
2046 |
|
2047 |
+
/**
|
2048 |
+
* Filters the label for BuddyPress Nouveau filters.
|
2049 |
+
*
|
2050 |
+
* @since 3.0.0
|
2051 |
+
*
|
2052 |
+
* @param string $label Label for BuddyPress Nouveau filter.
|
2053 |
+
* @param array $component The data filter's data-bp-filter attribute value.
|
2054 |
+
*/
|
2055 |
+
return apply_filters( 'bp_nouveau_get_filter_label', $label, $component );
|
2056 |
}
|
2057 |
|
2058 |
/**
|
2209 |
function bp_nouveau_activation_hook( $when = '', $suffix = '' ) {
|
2210 |
$hook = array( 'bp' );
|
2211 |
|
2212 |
+
if ( $when ) {
|
2213 |
$hook[] = $when;
|
2214 |
}
|
2215 |
|
2216 |
$hook[] = 'activate';
|
2217 |
|
2218 |
+
if ( $suffix ) {
|
2219 |
$hook[] = $suffix;
|
2220 |
}
|
2221 |
|
2383 |
/**
|
2384 |
* Fires and displays any extra member registration details fields.
|
2385 |
*
|
2386 |
+
* This is a variable hook that depends on the current section.
|
2387 |
+
*
|
2388 |
+
* @since 1.9.0
|
2389 |
*/
|
2390 |
do_action( "bp_{$section}_fields" );
|
2391 |
}
|
2404 |
}
|
2405 |
|
2406 |
if ( ! empty( $submit_data['before'] ) ) {
|
2407 |
+
|
2408 |
+
/**
|
2409 |
+
* Fires before display of the submit button.
|
2410 |
+
*
|
2411 |
+
* This is a dynamic filter that is dependent on the "before" value provided by bp_nouveau_get_submit_button().
|
2412 |
+
*
|
2413 |
+
* @since 3.0.0
|
2414 |
+
*/
|
2415 |
do_action( $submit_data['before'] );
|
2416 |
}
|
2417 |
|
2426 |
wp_nonce_field( $submit_data['nonce'] );
|
2427 |
|
2428 |
if ( ! empty( $submit_data['after'] ) ) {
|
2429 |
+
|
2430 |
+
/**
|
2431 |
+
* Fires before display of the submit button.
|
2432 |
+
*
|
2433 |
+
* This is a dynamic filter that is dependent on the "after" value provided by bp_nouveau_get_submit_button().
|
2434 |
+
*
|
2435 |
+
* @since 3.0.0
|
2436 |
+
*/
|
2437 |
do_action( $submit_data['after'] );
|
2438 |
}
|
2439 |
}
|
bp-templates/bp-nouveau/includes/xprofile/functions.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* xProfile functions
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
3 |
* xProfile functions
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
bp-templates/bp-nouveau/includes/xprofile/loader.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* BP Nouveau xProfile
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
3 |
* BP Nouveau xProfile
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
bp-templates/bp-nouveau/includes/xprofile/template-tags.php
CHANGED
@@ -3,6 +3,7 @@
|
|
3 |
* xProfile Template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
|
|
6 |
*/
|
7 |
|
8 |
// Exit if accessed directly.
|
3 |
* xProfile Template tags
|
4 |
*
|
5 |
* @since 3.0.0
|
6 |
+
* @version 3.0.0
|
7 |
*/
|
8 |
|
9 |
// Exit if accessed directly.
|
bp-templates/bp-nouveau/js/buddypress-activity-post-form.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
/* global bp, BP_Nouveau, _, Backbone */
|
2 |
-
|
3 |
window.wp = window.wp || {};
|
4 |
window.bp = window.bp || {};
|
5 |
|
@@ -31,6 +31,11 @@ window.bp = window.bp || {};
|
|
31 |
},
|
32 |
|
33 |
postFormView: function() {
|
|
|
|
|
|
|
|
|
|
|
34 |
// Create the BuddyPress Uploader
|
35 |
var postForm = new bp.Views.PostForm();
|
36 |
|
@@ -133,7 +138,7 @@ window.bp = window.bp || {};
|
|
133 |
this.type = this.options.type;
|
134 |
}
|
135 |
|
136 |
-
this.el.className = this.type;
|
137 |
}
|
138 |
} );
|
139 |
|
@@ -703,32 +708,52 @@ window.bp = window.bp || {};
|
|
703 |
}
|
704 |
|
705 |
bp.ajax.post( 'post_update', _.extend( data, this.model.attributes ) ).done( function( response ) {
|
706 |
-
var
|
707 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
708 |
|
709 |
-
|
710 |
-
|
711 |
-
|
712 |
-
|
|
|
|
|
|
|
|
|
713 |
|
714 |
-
|
715 |
-
|
716 |
-
|
717 |
-
|
|
|
|
|
|
|
718 |
}
|
719 |
|
720 |
// Reset the form
|
721 |
self.resetForm();
|
722 |
|
723 |
-
//
|
724 |
-
if (
|
725 |
-
|
726 |
-
}
|
727 |
|
728 |
-
|
729 |
-
|
730 |
-
|
731 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
732 |
} ).fail( function( response ) {
|
733 |
|
734 |
self.model.set( 'errors', { type: 'error', value: response.message } );
|
1 |
/* global bp, BP_Nouveau, _, Backbone */
|
2 |
+
/* @version 3.0.0 */
|
3 |
window.wp = window.wp || {};
|
4 |
window.bp = window.bp || {};
|
5 |
|
31 |
},
|
32 |
|
33 |
postFormView: function() {
|
34 |
+
// Do not carry on if the main element is not available.
|
35 |
+
if ( ! $( '#bp-nouveau-activity-form' ).length ) {
|
36 |
+
return;
|
37 |
+
}
|
38 |
+
|
39 |
// Create the BuddyPress Uploader
|
40 |
var postForm = new bp.Views.PostForm();
|
41 |
|
138 |
this.type = this.options.type;
|
139 |
}
|
140 |
|
141 |
+
this.el.className = 'bp-messages bp-feedback ' + this.type ;
|
142 |
}
|
143 |
} );
|
144 |
|
708 |
}
|
709 |
|
710 |
bp.ajax.post( 'post_update', _.extend( data, this.model.attributes ) ).done( function( response ) {
|
711 |
+
var store = bp.Nouveau.getStorage( 'bp-activity' ),
|
712 |
+
searchTerms = $( '[data-bp-search="activity"] input[type="search"]' ).val(), matches = {},
|
713 |
+
toPrepend = false;
|
714 |
+
|
715 |
+
// Look for matches if the stream displays search results.
|
716 |
+
if ( searchTerms ) {
|
717 |
+
searchTerms = new RegExp( searchTerms, 'im' );
|
718 |
+
matches = response.activity.match( searchTerms );
|
719 |
+
}
|
720 |
|
721 |
+
/**
|
722 |
+
* Before injecting the activity into the stream, we need to check the filter
|
723 |
+
* and search terms are consistent with it when posting from a single item or
|
724 |
+
* from the Activity directory.
|
725 |
+
*/
|
726 |
+
if ( ( ! searchTerms || matches ) ) {
|
727 |
+
toPrepend = ! store.filter || 0 === parseInt( store.filter, 10 ) || 'activity_update' === store.filter;
|
728 |
+
}
|
729 |
|
730 |
+
/**
|
731 |
+
* In the Activity directory, we also need to check the active scope.
|
732 |
+
* eg: An update posted in a private group should only show when the
|
733 |
+
* "My Groups" tab is active.
|
734 |
+
*/
|
735 |
+
if ( toPrepend && response.is_directory ) {
|
736 |
+
toPrepend = ( 'all' === store.scope && ( 'user' === self.model.get( 'object' ) || false === response.is_private ) ) || ( self.model.get( 'object' ) + 's' === store.scope );
|
737 |
}
|
738 |
|
739 |
// Reset the form
|
740 |
self.resetForm();
|
741 |
|
742 |
+
// Display a successful feedback if the acticity is not consistent with the displayed stream.
|
743 |
+
if ( ! toPrepend ) {
|
744 |
+
self.views.add( new bp.Views.activityFeedback( { value: response.message, type: 'updated' } ) );
|
|
|
745 |
|
746 |
+
// Inject the activity into the stream only if it hasn't been done already (HeartBeat).
|
747 |
+
} else if ( ! $( '#activity-' + response.id ).length ) {
|
748 |
+
|
749 |
+
// It's the very first activity, let's make sure the container can welcome it!
|
750 |
+
if ( ! $( '#activity-stream ul.activity-list').length ) {
|
751 |
+
$( '#activity-stream' ).html( $( '<ul></ul>').addClass( 'activity-list item-list bp-list' ) );
|
752 |
+
}
|
753 |
+
|
754 |
+
// Prepend the activity.
|
755 |
+
bp.Nouveau.inject( '#activity-stream ul.activity-list', response.activity, 'prepend' );
|
756 |
+
}
|
757 |
} ).fail( function( response ) {
|
758 |
|
759 |
self.model.set( 'errors', { type: 'error', value: response.message } );
|
bp-templates/bp-nouveau/js/buddypress-activity-post-form.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
window.wp=window.wp||{},window.bp=window.bp||{},function(e,t){bp.Nouveau=bp.Nouveau||{},void 0!==bp.Nouveau.Activity&&"undefined"!=typeof BP_Nouveau&&(_.extend(bp,_.pick(wp,"Backbone","ajax","template")),bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Nouveau.Activity.postForm={start:function(){this.views=new Backbone.Collection,this.ActivityObjects=new bp.Collections.ActivityObjects,this.buttons=new Backbone.Collection,this.postFormView()},postFormView:function(){var e=new bp.Views.PostForm;this.views.add({id:"post_form",view:e}),e.inject("#bp-nouveau-activity-form")}},void 0===bp.View&&(bp.View=bp.Backbone.View.extend({inject:function(e){this.render(),t(e).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}})),bp.Models.Activity=Backbone.Model.extend({defaults:{user_id:0,item_id:0,object:"",content:""}}),bp.Models.ActivityObject=Backbone.Model.extend({defaults:{id:0,name:"",avatar_url:"",object_type:"group"}}),bp.Collections.ActivityObjects=Backbone.Collection.extend({model:bp.Models.ActivityObject,sync:function(e,t,i){if("read"===e)return i=i||{},i.context=this,i.data=_.extend(i.data||{},{action:"bp_nouveau_get_activity_objects"}),bp.ajax.send(i)},parse:function(e){return _.isArray(e)||(e=[e]),e}}),bp.Views.activityFeedback=bp.View.extend({tagName:"div",id:"message",template:bp.template("activity-post-form-feedback"),initialize:function(){this.model=new Backbone.Model,this.options.value&&this.model.set("message",this.options.value,{silent:!0}),this.type="info",_.isUndefined(this.options.type)||"info"===this.options.type||(this.type=this.options.type),this.el.className=this.type}}),bp.Views.ActivityInput=bp.View.extend({tagName:"input",attributes:{type:"text"},initialize:function(){_.isObject(this.options)&&_.each(this.options,function(e,t){this.$el.prop(t,e)},this)}}),bp.Views.WhatsNew=bp.View.extend({tagName:"textarea",className:"bp-suggestions",id:"whats-new",attributes:{name:"whats-new",cols:"50",rows:"4",placeholder:BP_Nouveau.activity.strings.whatsnewPlaceholder,"aria-label":BP_Nouveau.activity.strings.whatsnewLabel},initialize:function(){this.on("ready",this.adjustContent,this),this.options.activity.on("change:content",this.resetContent,this)},adjustContent:function(){this.$el.css({resize:"none",height:"50px"});var e=bp.Nouveau.getLinkParams(null,"r")||null;_.isNull(e)||(this.$el.text("@"+_.escape(e)+" "),this.$el.focus())},resetContent:function(e){_.isUndefined(e)||this.$el.val(e.get("content"))}}),bp.Views.WhatsNewPostIn=bp.View.extend({tagName:"select",id:"whats-new-post-in",attributes:{name:"whats-new-post-in","aria-label":BP_Nouveau.activity.strings.whatsnewpostinLabel},events:{change:"change"},keys:[],initialize:function(){this.model=new Backbone.Model,this.filters=this.options.filters||{},this.$el.html(_.chain(this.filters).map(function(e,i){return{el:t("<option></option>").val(i).html(e.text)[0],priority:e.priority||50}},this).sortBy("priority").pluck("el").value())},change:function(){var e=this.filters[this.el.value];e&&this.model.set({selected:this.el.value,placeholder:e.autocomplete_placeholder})}}),bp.Views.Item=bp.View.extend({tagName:"li",className:"bp-activity-object",template:bp.template("activity-target-item"),attributes:{role:"checkbox"},initialize:function(){this.model.get("selected")&&(this.el.className+=" selected")},events:{click:"setObject"},setObject:function(e){e.preventDefault(),!0===this.model.get("selected")?this.model.clear():this.model.set("selected",!0)}}),bp.Views.AutoComplete=bp.View.extend({tagName:"ul",id:"whats-new-post-in-box-items",events:{keyup:"autoComplete"},initialize:function(){var e=new bp.Views.ActivityInput({type:"text",id:"activity-autocomplete",placeholder:this.options.placeholder||""}).render();this.$el.prepend(t("<li></li>").html(e.$el)),this.on("ready",this.setFocus,this),this.collection.on("add",this.addItemView,this),this.collection.on("reset",this.cleanView,this)},setFocus:function(){this.$el.find("#activity-autocomplete").focus()},addItemView:function(e){this.views.add(new bp.Views.Item({model:e}))},autoComplete:function(){var e=t("#activity-autocomplete").val();this.collection.reset(),2>e.length||this.collection.fetch({data:{type:this.options.type,search:e,nonce:BP_Nouveau.nonces.activity},success:_.bind(this.itemFetched,this),error:_.bind(this.itemFetched,this)})},itemFetched:function(e){e.length||this.cleanView()},cleanView:function(){_.each(this.views._views[""],function(e){e.remove()})}}),bp.Views.FormAvatar=bp.View.extend({tagName:"div",id:"whats-new-avatar",template:bp.template("activity-post-form-avatar"),initialize:function(){this.model=new Backbone.Model(_.pick(BP_Nouveau.activity.params,["user_id","avatar_url","avatar_width","avatar_height","avatar_alt","user_domain"])),this.model.has("avatar_url")&&this.model.set("display_avatar",!0)}}),bp.Views.FormContent=bp.View.extend({tagName:"div",id:"whats-new-content",initialize:function(){this.$el.html(t("<div></div>").prop("id","whats-new-textarea")),this.views.set("#whats-new-textarea",new bp.Views.WhatsNew({activity:this.options.activity}))}}),bp.Views.FormOptions=bp.View.extend({tagName:"div",id:"whats-new-options",template:bp.template("activity-post-form-options")}),bp.Views.FormTarget=bp.View.extend({tagName:"div",id:"whats-new-post-in-box",className:"in-profile",initialize:function(){var e=new bp.Views.WhatsNewPostIn({filters:BP_Nouveau.activity.params.objects});this.views.add(e),e.model.on("change",this.attachAutocomplete,this),bp.Nouveau.Activity.postForm.ActivityObjects.on("change:selected",this.postIn,this)},attachAutocomplete:function(e){0!==bp.Nouveau.Activity.postForm.ActivityObjects.models.length&&bp.Nouveau.Activity.postForm.ActivityObjects.reset(),_.each(this.views._views[""],function(e){_.isUndefined(e.collection)||e.remove()}),"profile"!==e.get("selected")?(this.views.add(new bp.Views.AutoComplete({collection:bp.Nouveau.Activity.postForm.ActivityObjects,type:e.get("selected"),placeholder:e.get("placeholder")})),this.model.set("object",e.get("selected"))):this.model.set({object:"user",item_id:0}),this.updateDisplay()},postIn:function(e){if(_.isUndefined(e.get("id")))return this.model.set("item_id",0),void this.attachAutocomplete(new Backbone.Model({selected:this.model.get("object")}));this.model.set("item_id",e.get("id")),this.views.set("#whats-new-post-in-box-items",new bp.Views.Item({model:e}))},updateDisplay:function(){"user"!==this.model.get("object")?this.$el.removeClass():this.$el.hasClass("in-profile")||this.$el.addClass("in-profile")}}),bp.Views.FormButtons=bp.View.extend({tagName:"div",id:"whats-new-actions",initialize:function(){this.views.add(new bp.View({tagName:"ul",id:"whats-new-buttons"})),_.each(this.collection.models,function(e){this.addItemView(e)},this),this.collection.on("change:active",this.isActive,this)},addItemView:function(e){this.views.add("#whats-new-buttons",new bp.Views.FormButton({model:e}))},isActive:function(e){_.each(this.views._views[""],function(e,t){0!==t&&e.remove()}),!0===e.get("active")?(_.each(this.views._views["#whats-new-buttons"],function(t){t.model.get("id")!==e.get("id")&&(t.model.set("active",!1,{silent:!0}),t.$el.removeClass("active"),this.collection.trigger("reset:"+t.model.get("id"),this.model))},this),this.collection.trigger("display:"+e.get("id"),this)):this.collection.trigger("reset:"+e.get("id"),this.model)}}),bp.Views.FormButton=bp.View.extend({tagName:"li",className:"whats-new-button",template:bp.template("activity-post-form-buttons"),events:{click:"setActive"},setActive:function(e){var t=this.model.get("active")||!1;e.preventDefault(),!1===t?(this.$el.addClass("active"),this.model.set("active",!0)):(this.$el.removeClass("active"),this.model.set("active",!1))}}),bp.Views.FormSubmit=bp.View.extend({tagName:"div",id:"whats-new-submit",className:"in-profile",initialize:function(){var e=new bp.Views.ActivityInput({type:"reset",id:"aw-whats-new-reset",className:"text-button small",value:"Cancel"}),t=new bp.Views.ActivityInput({type:"submit",id:"aw-whats-new-submit",className:"button",name:"aw-whats-new-submit",value:"Post Update"});this.views.set([t,e]),this.model.on("change:object",this.updateDisplay,this)},updateDisplay:function(e){_.isUndefined(e)||("user"!==e.get("object")?this.$el.removeClass("in-profile"):this.$el.hasClass("in-profile")||this.$el.addClass("in-profile"))}}),bp.Views.PostForm=bp.View.extend({tagName:"form",className:"activity-form",id:"whats-new-form",attributes:{name:"whats-new-form",method:"post"},events:{"focus #whats-new":"displayFull",reset:"resetForm",submit:"postUpdate",keydown:"postUpdate"},initialize:function(){this.model=new bp.Models.Activity(_.pick(BP_Nouveau.activity.params,["user_id","item_id","object"])),this.resetModel=this.model.clone(),this.views.set([new bp.Views.FormAvatar,new bp.Views.FormContent({activity:this.model})]),this.model.on("change:errors",this.displayFeedback,this)},displayFull:function(e){this.cleanFeedback(),2===this.views._views[""].length&&(t(e.target).css({resize:"vertical",height:"auto"}),!0===BP_Nouveau.activity.params.backcompat&&this.views.add(new bp.Views.FormOptions({model:this.model})),_.isUndefined(BP_Nouveau.activity.params.buttons)||(bp.Nouveau.Activity.postForm.buttons.set(BP_Nouveau.activity.params.buttons),this.views.add(new bp.Views.FormButtons({collection:bp.Nouveau.Activity.postForm.buttons,model:this.model}))),!_.isUndefined(BP_Nouveau.activity.params.objects)&&1<_.keys(BP_Nouveau.activity.params.objects).length&&this.views.add(new bp.Views.FormTarget({model:this.model})),this.views.add(new bp.Views.FormSubmit({model:this.model})))},resetForm:function(){_.each(this.views._views[""],function(e,t){t>1&&e.remove()}),t("#whats-new").css({resize:"none",height:"50px"}),this.model.clear(),this.model.set(this.resetModel.attributes)},cleanFeedback:function(){_.each(this.views._views[""],function(e){"message"===e.$el.prop("id")&&e.remove()})},displayFeedback:function(e){_.isUndefined(this.model.get("errors"))?this.cleanFeedback():this.views.add(new bp.Views.activityFeedback(e.get("errors")))},postUpdate:function(e){var i=this,s={};if(e){if("keydown"===e.type&&(13!==e.keyCode||!e.ctrlKey))return e;e.preventDefault()}_.each(this.$el.serializeArray(),function(e){e.name=e.name.replace("[]",""),"whats-new"===e.name?i.model.set("content",e.value):-1===_.indexOf(["aw-whats-new-submit","whats-new-post-in"],e.name)&&(_.isUndefined(s[e.name])?s[e.name]=e.value:(_.isArray(s[e.name])||(s[e.name]=[s[e.name]]),s[e.name].push(e.value)))}),this.model.set(s,{silent:!0});var a={_wpnonce_post_update:BP_Nouveau.activity.params.post_nonce};t("#_bp_as_nonce").val()&&(a._bp_as_nonce=t("#_bp_as_nonce").val()),bp.ajax.post("post_update",_.extend(a,this.model.attributes)).done(function(e){var s=bp.Nouveau.getStorage("bp-activity","scope"),a=!1;e.is_directory&&("all"!==s||"user"!==i.model.get("object")&&!1!==e.is_private)&&i.model.get("object")+"s"!==s||t("#activity-"+e.id).length||(bp.Nouveau.inject("#activity-stream ul.activity-list",e.activity,"prepend"),a=!0),i.resetForm(),a||i.views.add(new bp.Views.activityFeedback({value:e.message,type:"updated"}))}).fail(function(e){i.model.set("errors",{type:"error",value:e.message})})}}),bp.Nouveau.Activity.postForm.start())}(bp,jQuery);
|
1 |
+
window.wp=window.wp||{},window.bp=window.bp||{},function(e,t){bp.Nouveau=bp.Nouveau||{},void 0!==bp.Nouveau.Activity&&"undefined"!=typeof BP_Nouveau&&(_.extend(bp,_.pick(wp,"Backbone","ajax","template")),bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Nouveau.Activity.postForm={start:function(){this.views=new Backbone.Collection,this.ActivityObjects=new bp.Collections.ActivityObjects,this.buttons=new Backbone.Collection,this.postFormView()},postFormView:function(){if(t("#bp-nouveau-activity-form").length){var e=new bp.Views.PostForm;this.views.add({id:"post_form",view:e}),e.inject("#bp-nouveau-activity-form")}}},void 0===bp.View&&(bp.View=bp.Backbone.View.extend({inject:function(e){this.render(),t(e).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}})),bp.Models.Activity=Backbone.Model.extend({defaults:{user_id:0,item_id:0,object:"",content:""}}),bp.Models.ActivityObject=Backbone.Model.extend({defaults:{id:0,name:"",avatar_url:"",object_type:"group"}}),bp.Collections.ActivityObjects=Backbone.Collection.extend({model:bp.Models.ActivityObject,sync:function(e,t,i){if("read"===e)return i=i||{},i.context=this,i.data=_.extend(i.data||{},{action:"bp_nouveau_get_activity_objects"}),bp.ajax.send(i)},parse:function(e){return _.isArray(e)||(e=[e]),e}}),bp.Views.activityFeedback=bp.View.extend({tagName:"div",id:"message",template:bp.template("activity-post-form-feedback"),initialize:function(){this.model=new Backbone.Model,this.options.value&&this.model.set("message",this.options.value,{silent:!0}),this.type="info",_.isUndefined(this.options.type)||"info"===this.options.type||(this.type=this.options.type),this.el.className="bp-messages bp-feedback "+this.type}}),bp.Views.ActivityInput=bp.View.extend({tagName:"input",attributes:{type:"text"},initialize:function(){_.isObject(this.options)&&_.each(this.options,function(e,t){this.$el.prop(t,e)},this)}}),bp.Views.WhatsNew=bp.View.extend({tagName:"textarea",className:"bp-suggestions",id:"whats-new",attributes:{name:"whats-new",cols:"50",rows:"4",placeholder:BP_Nouveau.activity.strings.whatsnewPlaceholder,"aria-label":BP_Nouveau.activity.strings.whatsnewLabel},initialize:function(){this.on("ready",this.adjustContent,this),this.options.activity.on("change:content",this.resetContent,this)},adjustContent:function(){this.$el.css({resize:"none",height:"50px"});var e=bp.Nouveau.getLinkParams(null,"r")||null;_.isNull(e)||(this.$el.text("@"+_.escape(e)+" "),this.$el.focus())},resetContent:function(e){_.isUndefined(e)||this.$el.val(e.get("content"))}}),bp.Views.WhatsNewPostIn=bp.View.extend({tagName:"select",id:"whats-new-post-in",attributes:{name:"whats-new-post-in","aria-label":BP_Nouveau.activity.strings.whatsnewpostinLabel},events:{change:"change"},keys:[],initialize:function(){this.model=new Backbone.Model,this.filters=this.options.filters||{},this.$el.html(_.chain(this.filters).map(function(e,i){return{el:t("<option></option>").val(i).html(e.text)[0],priority:e.priority||50}},this).sortBy("priority").pluck("el").value())},change:function(){var e=this.filters[this.el.value];e&&this.model.set({selected:this.el.value,placeholder:e.autocomplete_placeholder})}}),bp.Views.Item=bp.View.extend({tagName:"li",className:"bp-activity-object",template:bp.template("activity-target-item"),attributes:{role:"checkbox"},initialize:function(){this.model.get("selected")&&(this.el.className+=" selected")},events:{click:"setObject"},setObject:function(e){e.preventDefault(),!0===this.model.get("selected")?this.model.clear():this.model.set("selected",!0)}}),bp.Views.AutoComplete=bp.View.extend({tagName:"ul",id:"whats-new-post-in-box-items",events:{keyup:"autoComplete"},initialize:function(){var e=new bp.Views.ActivityInput({type:"text",id:"activity-autocomplete",placeholder:this.options.placeholder||""}).render();this.$el.prepend(t("<li></li>").html(e.$el)),this.on("ready",this.setFocus,this),this.collection.on("add",this.addItemView,this),this.collection.on("reset",this.cleanView,this)},setFocus:function(){this.$el.find("#activity-autocomplete").focus()},addItemView:function(e){this.views.add(new bp.Views.Item({model:e}))},autoComplete:function(){var e=t("#activity-autocomplete").val();this.collection.reset(),2>e.length||this.collection.fetch({data:{type:this.options.type,search:e,nonce:BP_Nouveau.nonces.activity},success:_.bind(this.itemFetched,this),error:_.bind(this.itemFetched,this)})},itemFetched:function(e){e.length||this.cleanView()},cleanView:function(){_.each(this.views._views[""],function(e){e.remove()})}}),bp.Views.FormAvatar=bp.View.extend({tagName:"div",id:"whats-new-avatar",template:bp.template("activity-post-form-avatar"),initialize:function(){this.model=new Backbone.Model(_.pick(BP_Nouveau.activity.params,["user_id","avatar_url","avatar_width","avatar_height","avatar_alt","user_domain"])),this.model.has("avatar_url")&&this.model.set("display_avatar",!0)}}),bp.Views.FormContent=bp.View.extend({tagName:"div",id:"whats-new-content",initialize:function(){this.$el.html(t("<div></div>").prop("id","whats-new-textarea")),this.views.set("#whats-new-textarea",new bp.Views.WhatsNew({activity:this.options.activity}))}}),bp.Views.FormOptions=bp.View.extend({tagName:"div",id:"whats-new-options",template:bp.template("activity-post-form-options")}),bp.Views.FormTarget=bp.View.extend({tagName:"div",id:"whats-new-post-in-box",className:"in-profile",initialize:function(){var e=new bp.Views.WhatsNewPostIn({filters:BP_Nouveau.activity.params.objects});this.views.add(e),e.model.on("change",this.attachAutocomplete,this),bp.Nouveau.Activity.postForm.ActivityObjects.on("change:selected",this.postIn,this)},attachAutocomplete:function(e){0!==bp.Nouveau.Activity.postForm.ActivityObjects.models.length&&bp.Nouveau.Activity.postForm.ActivityObjects.reset(),_.each(this.views._views[""],function(e){_.isUndefined(e.collection)||e.remove()}),"profile"!==e.get("selected")?(this.views.add(new bp.Views.AutoComplete({collection:bp.Nouveau.Activity.postForm.ActivityObjects,type:e.get("selected"),placeholder:e.get("placeholder")})),this.model.set("object",e.get("selected"))):this.model.set({object:"user",item_id:0}),this.updateDisplay()},postIn:function(e){if(_.isUndefined(e.get("id")))return this.model.set("item_id",0),void this.attachAutocomplete(new Backbone.Model({selected:this.model.get("object")}));this.model.set("item_id",e.get("id")),this.views.set("#whats-new-post-in-box-items",new bp.Views.Item({model:e}))},updateDisplay:function(){"user"!==this.model.get("object")?this.$el.removeClass():this.$el.hasClass("in-profile")||this.$el.addClass("in-profile")}}),bp.Views.FormButtons=bp.View.extend({tagName:"div",id:"whats-new-actions",initialize:function(){this.views.add(new bp.View({tagName:"ul",id:"whats-new-buttons"})),_.each(this.collection.models,function(e){this.addItemView(e)},this),this.collection.on("change:active",this.isActive,this)},addItemView:function(e){this.views.add("#whats-new-buttons",new bp.Views.FormButton({model:e}))},isActive:function(e){_.each(this.views._views[""],function(e,t){0!==t&&e.remove()}),!0===e.get("active")?(_.each(this.views._views["#whats-new-buttons"],function(t){t.model.get("id")!==e.get("id")&&(t.model.set("active",!1,{silent:!0}),t.$el.removeClass("active"),this.collection.trigger("reset:"+t.model.get("id"),this.model))},this),this.collection.trigger("display:"+e.get("id"),this)):this.collection.trigger("reset:"+e.get("id"),this.model)}}),bp.Views.FormButton=bp.View.extend({tagName:"li",className:"whats-new-button",template:bp.template("activity-post-form-buttons"),events:{click:"setActive"},setActive:function(e){var t=this.model.get("active")||!1;e.preventDefault(),!1===t?(this.$el.addClass("active"),this.model.set("active",!0)):(this.$el.removeClass("active"),this.model.set("active",!1))}}),bp.Views.FormSubmit=bp.View.extend({tagName:"div",id:"whats-new-submit",className:"in-profile",initialize:function(){var e=new bp.Views.ActivityInput({type:"reset",id:"aw-whats-new-reset",className:"text-button small",value:"Cancel"}),t=new bp.Views.ActivityInput({type:"submit",id:"aw-whats-new-submit",className:"button",name:"aw-whats-new-submit",value:"Post Update"});this.views.set([t,e]),this.model.on("change:object",this.updateDisplay,this)},updateDisplay:function(e){_.isUndefined(e)||("user"!==e.get("object")?this.$el.removeClass("in-profile"):this.$el.hasClass("in-profile")||this.$el.addClass("in-profile"))}}),bp.Views.PostForm=bp.View.extend({tagName:"form",className:"activity-form",id:"whats-new-form",attributes:{name:"whats-new-form",method:"post"},events:{"focus #whats-new":"displayFull",reset:"resetForm",submit:"postUpdate",keydown:"postUpdate"},initialize:function(){this.model=new bp.Models.Activity(_.pick(BP_Nouveau.activity.params,["user_id","item_id","object"])),this.resetModel=this.model.clone(),this.views.set([new bp.Views.FormAvatar,new bp.Views.FormContent({activity:this.model})]),this.model.on("change:errors",this.displayFeedback,this)},displayFull:function(e){this.cleanFeedback(),2===this.views._views[""].length&&(t(e.target).css({resize:"vertical",height:"auto"}),!0===BP_Nouveau.activity.params.backcompat&&this.views.add(new bp.Views.FormOptions({model:this.model})),_.isUndefined(BP_Nouveau.activity.params.buttons)||(bp.Nouveau.Activity.postForm.buttons.set(BP_Nouveau.activity.params.buttons),this.views.add(new bp.Views.FormButtons({collection:bp.Nouveau.Activity.postForm.buttons,model:this.model}))),!_.isUndefined(BP_Nouveau.activity.params.objects)&&1<_.keys(BP_Nouveau.activity.params.objects).length&&this.views.add(new bp.Views.FormTarget({model:this.model})),this.views.add(new bp.Views.FormSubmit({model:this.model})))},resetForm:function(){_.each(this.views._views[""],function(e,t){t>1&&e.remove()}),t("#whats-new").css({resize:"none",height:"50px"}),this.model.clear(),this.model.set(this.resetModel.attributes)},cleanFeedback:function(){_.each(this.views._views[""],function(e){"message"===e.$el.prop("id")&&e.remove()})},displayFeedback:function(e){_.isUndefined(this.model.get("errors"))?this.cleanFeedback():this.views.add(new bp.Views.activityFeedback(e.get("errors")))},postUpdate:function(e){var i=this,s={};if(e){if("keydown"===e.type&&(13!==e.keyCode||!e.ctrlKey))return e;e.preventDefault()}_.each(this.$el.serializeArray(),function(e){e.name=e.name.replace("[]",""),"whats-new"===e.name?i.model.set("content",e.value):-1===_.indexOf(["aw-whats-new-submit","whats-new-post-in"],e.name)&&(_.isUndefined(s[e.name])?s[e.name]=e.value:(_.isArray(s[e.name])||(s[e.name]=[s[e.name]]),s[e.name].push(e.value)))}),this.model.set(s,{silent:!0});var a={_wpnonce_post_update:BP_Nouveau.activity.params.post_nonce};t("#_bp_as_nonce").val()&&(a._bp_as_nonce=t("#_bp_as_nonce").val()),bp.ajax.post("post_update",_.extend(a,this.model.attributes)).done(function(e){var s=bp.Nouveau.getStorage("bp-activity"),a=t('[data-bp-search="activity"] input[type="search"]').val(),o={},n=!1;a&&(a=new RegExp(a,"im"),o=e.activity.match(a)),a&&!o||(n=!s.filter||0===parseInt(s.filter,10)||"activity_update"===s.filter),n&&e.is_directory&&(n="all"===s.scope&&("user"===i.model.get("object")||!1===e.is_private)||i.model.get("object")+"s"===s.scope),i.resetForm(),n?t("#activity-"+e.id).length||(t("#activity-stream ul.activity-list").length||t("#activity-stream").html(t("<ul></ul>").addClass("activity-list item-list bp-list")),bp.Nouveau.inject("#activity-stream ul.activity-list",e.activity,"prepend")):i.views.add(new bp.Views.activityFeedback({value:e.message,type:"updated"}))}).fail(function(e){i.model.set("errors",{type:"error",value:e.message})})}}),bp.Nouveau.Activity.postForm.start())}(bp,jQuery);
|
bp-templates/bp-nouveau/js/buddypress-activity.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
/* jshint browser: true */
|
2 |
/* global bp, BP_Nouveau */
|
|
|
3 |
window.bp = window.bp || {};
|
4 |
|
5 |
( function( exports, $ ) {
|
@@ -82,7 +83,7 @@ window.bp = window.bp || {};
|
|
82 |
* @return {[type]} [description]
|
83 |
*/
|
84 |
heartbeatSend: function( event, data ) {
|
85 |
-
this.heartbeat_data.first_recorded = $( '#buddypress [data-bp-list] [data-bp-activity-id]
|
86 |
|
87 |
if ( 0 === this.heartbeat_data.last_recorded || this.heartbeat_data.first_recorded > this.heartbeat_data.last_recorded ) {
|
88 |
this.heartbeat_data.last_recorded = this.heartbeat_data.first_recorded;
|
@@ -95,13 +96,6 @@ window.bp = window.bp || {};
|
|
95 |
}
|
96 |
|
97 |
$.extend( data, { bp_heartbeat: bp.Nouveau.getStorage( 'bp-activity' ) } );
|
98 |
-
|
99 |
-
// Update all displayed time
|
100 |
-
$.each( $( '#buddypress time' ), function( t, time ) {
|
101 |
-
if ( $( time ).data( 'bp-timestamp' ) ) {
|
102 |
-
$( time ).html( bp.Nouveau.updateTimeSince( Number( $( time ).data( 'bp-timestamp' ) ) ) );
|
103 |
-
}
|
104 |
-
} );
|
105 |
},
|
106 |
|
107 |
/**
|
@@ -201,7 +195,7 @@ window.bp = window.bp || {};
|
|
201 |
|
202 |
// Otherwise add it
|
203 |
} else {
|
204 |
-
$( '#buddypress [data-bp-list="activity"]' ).prepend( '<li class="load-newest"><a href="#newest">' + BP_Nouveau.newest + ' (' + newest_activities_count + ')</a></li>' );
|
205 |
}
|
206 |
|
207 |
/**
|
@@ -303,7 +297,8 @@ window.bp = window.bp || {};
|
|
303 |
search_terms : search_terms,
|
304 |
page : next_page,
|
305 |
method : 'append',
|
306 |
-
exclude_just_posted : this.just_posted.join( ',' )
|
|
|
307 |
} ).done( function( response ) {
|
308 |
if ( true === response.success ) {
|
309 |
$( event.currentTarget ).remove();
|
@@ -390,6 +385,9 @@ window.bp = window.bp || {};
|
|
390 |
// Make sure to only keep 5 root comments
|
391 |
this.hideComments( event );
|
392 |
|
|
|
|
|
|
|
393 |
// Mentions are specific
|
394 |
if ( 'mentions' === data.scope && undefined !== data.response.new_mentions ) {
|
395 |
$.each( data.response.new_mentions, function( i, id ) {
|
@@ -408,7 +406,11 @@ window.bp = window.bp || {};
|
|
408 |
|
409 |
// Reset the newest activities now they're displayed
|
410 |
this.heartbeat_data.newest = '';
|
411 |
-
$( bp.Nouveau.objectNavParent + ' [data-bp-scope
|
|
|
|
|
|
|
|
|
412 |
|
413 |
// Activities are now loaded, clear the highlighted activities for the scope
|
414 |
if ( undefined !== this.heartbeat_data.highlights[ data.scope ] ) {
|
@@ -594,7 +596,7 @@ window.bp = window.bp || {};
|
|
594 |
} );
|
595 |
|
596 |
// reset vars to get newest activities when an activity is deleted
|
597 |
-
if ( ! activity_comment_id && activity_item.
|
598 |
parent.Activity.heartbeat_data.newest = '';
|
599 |
parent.Activity.heartbeat_data.last_recorded = 0;
|
600 |
}
|
1 |
/* jshint browser: true */
|
2 |
/* global bp, BP_Nouveau */
|
3 |
+
/* @version 3.0.0 */
|
4 |
window.bp = window.bp || {};
|
5 |
|
6 |
( function( exports, $ ) {
|
83 |
* @return {[type]} [description]
|
84 |
*/
|
85 |
heartbeatSend: function( event, data ) {
|
86 |
+
this.heartbeat_data.first_recorded = $( '#buddypress [data-bp-list] [data-bp-activity-id]' ).first().data( 'bp-timestamp' ) || 0;
|
87 |
|
88 |
if ( 0 === this.heartbeat_data.last_recorded || this.heartbeat_data.first_recorded > this.heartbeat_data.last_recorded ) {
|
89 |
this.heartbeat_data.last_recorded = this.heartbeat_data.first_recorded;
|
96 |
}
|
97 |
|
98 |
$.extend( data, { bp_heartbeat: bp.Nouveau.getStorage( 'bp-activity' ) } );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
},
|
100 |
|
101 |
/**
|
195 |
|
196 |
// Otherwise add it
|
197 |
} else {
|
198 |
+
$( '#buddypress [data-bp-list="activity"] ul.activity-list' ).prepend( '<li class="load-newest"><a href="#newest">' + BP_Nouveau.newest + ' (' + newest_activities_count + ')</a></li>' );
|
199 |
}
|
200 |
|
201 |
/**
|
297 |
search_terms : search_terms,
|
298 |
page : next_page,
|
299 |
method : 'append',
|
300 |
+
exclude_just_posted : this.just_posted.join( ',' ),
|
301 |
+
target : '#buddypress [data-bp-list] ul.bp-list'
|
302 |
} ).done( function( response ) {
|
303 |
if ( true === response.success ) {
|
304 |
$( event.currentTarget ).remove();
|
385 |
// Make sure to only keep 5 root comments
|
386 |
this.hideComments( event );
|
387 |
|
388 |
+
// Reset the pagination for the scope.
|
389 |
+
this.current_page = 1;
|
390 |
+
|
391 |
// Mentions are specific
|
392 |
if ( 'mentions' === data.scope && undefined !== data.response.new_mentions ) {
|
393 |
$.each( data.response.new_mentions, function( i, id ) {
|
406 |
|
407 |
// Reset the newest activities now they're displayed
|
408 |
this.heartbeat_data.newest = '';
|
409 |
+
$.each( $( bp.Nouveau.objectNavParent + ' [data-bp-scope]' ).find( 'a span' ), function( s, count ) {
|
410 |
+
if ( 0 === parseInt( $( count ).html(), 10 ) ) {
|
411 |
+
$( count ).html( '' );
|
412 |
+
}
|
413 |
+
} );
|
414 |
|
415 |
// Activities are now loaded, clear the highlighted activities for the scope
|
416 |
if ( undefined !== this.heartbeat_data.highlights[ data.scope ] ) {
|
596 |
} );
|
597 |
|
598 |
// reset vars to get newest activities when an activity is deleted
|
599 |
+
if ( ! activity_comment_id && activity_item.data( 'bp-timestamp' ) === parent.Activity.heartbeat_data.last_recorded ) {
|
600 |
parent.Activity.heartbeat_data.newest = '';
|
601 |
parent.Activity.heartbeat_data.last_recorded = 0;
|
602 |
}
|
bp-templates/bp-nouveau/js/buddypress-activity.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
window.bp=window.bp||{},function(t,a){"undefined"!=typeof BP_Nouveau&&(bp.Nouveau=bp.Nouveau||{},bp.Nouveau.Activity={start:function(){this.setupGlobals(),this.addListeners()},setupGlobals:function(){this.just_posted=[],this.current_page=1,this.mentions_count=Number(a(bp.Nouveau.objectNavParent+' [data-bp-scope="mentions"]').find("a span").html())||0,this.heartbeat_data={newest:"",highlights:{},last_recorded:0,first_recorded:0,document_title:a(document).prop("title")}},addListeners:function(){a("#buddypress").on("bp_heartbeat_send",this.heartbeatSend.bind(this)),a("#buddypress").on("bp_heartbeat_tick",this.heartbeatTick.bind(this)),a('#buddypress [data-bp-list="activity"]').on("click","li.load-newest, li.load-more",this.injectActivities.bind(this)),a("#buddypress").on("bp_ajax_request",'[data-bp-list="activity"]',this.scopeLoaded.bind(this)),a('#buddypress [data-bp-list="activity"]').on("bp_ajax_append",this.hideComments),a('#buddypress [data-bp-list="activity"]').on("click",".show-all",this.showComments),a('#buddypress [data-bp-list="activity"]').on("click",".activity-item",bp.Nouveau,this.activityActions),a(document).keydown(this.commentFormAction)},heartbeatSend:function(t,e){this.heartbeat_data.first_recorded=a("#buddypress [data-bp-list] [data-bp-activity-id] time").first().data("bp-timestamp")||0,(0===this.heartbeat_data.last_recorded||this.heartbeat_data.first_recorded>this.heartbeat_data.last_recorded)&&(this.heartbeat_data.last_recorded=this.heartbeat_data.first_recorded),e.bp_activity_last_recorded=this.heartbeat_data.last_recorded,a("#buddypress .dir-search input[type=search]").length&&(e.bp_activity_last_recorded_search_terms=a("#buddypress .dir-search input[type=search]").val()),a.extend(e,{bp_heartbeat:bp.Nouveau.getStorage("bp-activity")}),a.each(a("#buddypress time"),function(t,e){a(e).data("bp-timestamp")&&a(e).html(bp.Nouveau.updateTimeSince(Number(a(e).data("bp-timestamp"))))})},heartbeatTick:function(t,e){var i,s,n=bp.Nouveau.objects,d=bp.Nouveau.getStorage("bp-activity","scope"),o=this;if(void 0!==e&&e.bp_activity_newest_activities){if(this.heartbeat_data.newest=a.trim(e.bp_activity_newest_activities.activities)+this.heartbeat_data.newest,this.heartbeat_data.last_recorded=Number(e.bp_activity_newest_activities.last_recorded),s=a(this.heartbeat_data.newest).filter(".activity-item"),i=Number(s.length),n.push("mentions"),"all"===d){a.each(s,function(t,e){e=a(e),a.each(n,function(t,i){-1!==a.inArray("bp-my-"+i,e.get(0).classList)&&(void 0===o.heartbeat_data.highlights[i]?o.heartbeat_data.highlights[i]=[e.data("bp-activity-id")]:-1===a.inArray(e.data("bp-activity-id"),o.heartbeat_data.highlights[i])&&o.heartbeat_data.highlights[i].push(e.data("bp-activity-id")))})});var r=new RegExp("bp-my-("+n.join("|")+")","g");this.heartbeat_data.newest=this.heartbeat_data.newest.replace(r,""),a(bp.Nouveau.objectNavParent+' [data-bp-scope="all"]').find("a span").html(i)}else this.heartbeat_data.highlights[d]=[],a.each(s,function(t,e){o.heartbeat_data.highlights[d].push(a(e).data("bp-activity-id"))});if(a.each(n,function(t,e){if(void 0!==o.heartbeat_data.highlights[e]&&o.heartbeat_data.highlights[e].length){var i=0;"mentions"===e&&(i=o.mentions_count),a(bp.Nouveau.objectNavParent+' [data-bp-scope="'+e+'"]').find("a span").html(Number(o.heartbeat_data.highlights[e].length)+i)}}),n.pop(),a(document).prop("title","("+i+") "+this.heartbeat_data.document_title),a('#buddypress [data-bp-list="activity"] li').first().hasClass("load-newest")){var c=a('#buddypress [data-bp-list="activity"] .load-newest a').html();a('#buddypress [data-bp-list="activity"] .load-newest a').html(c.replace(/([0-9]+)/,i))}else a('#buddypress [data-bp-list="activity"]').prepend('<li class="load-newest"><a href="#newest">'+BP_Nouveau.newest+" ("+i+")</a></li>");a('#buddypress [data-bp-list="activity"]').trigger("bp_heartbeat_pending",this.heartbeat_data)}},injectActivities:function(t){var e=bp.Nouveau.getStorage("bp-activity"),i=e.scope||null,s=e.filter||null;if(a(t.currentTarget).hasClass("load-newest")){t.preventDefault(),a(t.currentTarget).remove();var n=a.parseHTML(this.heartbeat_data.newest);a.each(n,function(t,e){"LI"===e.nodeName&&a(e).hasClass("just-posted")&&a("#"+a(e).prop("id")).length&&a("#"+a(e).prop("id")).remove()}),a(t.delegateTarget).find(".activity-list").prepend(this.heartbeat_data.newest).trigger("bp_heartbeat_prepend",this.heartbeat_data),this.heartbeat_data.newest="","all"===i&&a(bp.Nouveau.objectNavParent+' [data-bp-scope="all"]').find("a span").html(""),"mentions"===i&&(bp.Nouveau.ajax({action:"activity_clear_new_mentions"},"activity"),this.mentions_count=0),a(bp.Nouveau.objectNavParent+' [data-bp-scope="'+i+'"]').find("a span").html(""),void 0!==this.heartbeat_data.highlights[i]&&(this.heartbeat_data.highlights[i]=[]),setTimeout(function(){a(t.delegateTarget).find("[data-bp-activity-id]").removeClass("newest_"+i+"_activity")},3e3),a(document).prop("title",this.heartbeat_data.document_title)}else if(a(t.currentTarget).hasClass("load-more")){var d=1*Number(this.current_page)+1,o=this,r="";t.preventDefault(),a(t.currentTarget).find("a").first().addClass("loading"),this.just_posted=[],a(t.delegateTarget).children(".just-posted").each(function(){o.just_posted.push(a(this).data("bp-activity-id"))}),a("#buddypress .dir-search input[type=search]").length&&(r=a("#buddypress .dir-search input[type=search]").val()),bp.Nouveau.objectRequest({object:"activity",scope:i,filter:s,search_terms:r,page:d,method:"append",exclude_just_posted:this.just_posted.join(",")}).done(function(e){!0===e.success&&(a(t.currentTarget).remove(),o.current_page=d)})}},hideComments:function(t){var e,i,s,n,d=a(t.target).find(".activity-comments");d.length&&d.each(function(t,d){n=a(d).children("ul"),(i=a(n).find("li")).length&&(e=a(d).closest(".activity-item"),s=a("#acomment-comment-"+e.data("bp-activity-id")+" span.comment-count").html()||" ",i.each(function(t,n){t<i.length-5&&(a(n).addClass("bp-hidden").hide(),t||a(n).before('<li class="show-all"><button class="text-button" type="button" data-bp-show-comments-id="#'+e.prop("id")+'/show-all/"><span class="icon dashicons dashicons-visibility" aria-hidden="true"></span> '+BP_Nouveau.show_x_comments.replace("%d",s)+"</button></li>"))}),a(n).children(".bp-hidden").length===a(n).children("li").length-1&&a(n).find("li.show-all")&&a(n).children("li").removeClass("bp-hidden").toggle())})},showComments:function(t){t.preventDefault(),a(t.target).addClass("loading"),setTimeout(function(){a(t.target).closest("ul").find("li").removeClass("bp-hidden").fadeIn(300,function(){a(t.target).parent("li").remove()})},600)},scopeLoaded:function(t,e){this.hideComments(t),"mentions"===e.scope&&void 0!==e.response.new_mentions?(a.each(e.response.new_mentions,function(t,e){a("#buddypress #activity-stream").find('[data-bp-activity-id="'+e+'"]').addClass("newest_mentions_activity")}),this.mentions_count=0):void 0!==this.heartbeat_data.highlights[e.scope]&&this.heartbeat_data.highlights[e.scope].length&&a.each(this.heartbeat_data.highlights[e.scope],function(t,i){a("#buddypress #activity-stream").find('[data-bp-activity-id="'+i+'"]').length&&a("#buddypress #activity-stream").find('[data-bp-activity-id="'+i+'"]').addClass("newest_"+e.scope+"_activity")}),this.heartbeat_data.newest="",a(bp.Nouveau.objectNavParent+' [data-bp-scope="all"]').find("a span").html(""),void 0!==this.heartbeat_data.highlights[e.scope]&&(this.heartbeat_data.highlights[e.scope]=[]),a(document).prop("title",this.heartbeat_data.document_title),setTimeout(function(){a("#buddypress #activity-stream .activity-item").removeClass("newest_"+e.scope+"_activity")},3e3)},activityActions:function(t){var e,i,s=t.data,n=a(t.target),d=a(t.currentTarget),o=d.data("bp-activity-id"),r=a(t.delegateTarget);if(a(n).is("span")&&(n=a(n).closest("a")),n.hasClass("fav")||n.hasClass("unfav")){var c=n.hasClass("fav")?"fav":"unfav";t.preventDefault(),n.addClass("loading"),s.ajax({action:"activity_mark_"+c,id:o},"activity").done(function(t){if(n.removeClass("loading"),!1!==t.success)if(n.fadeOut(200,function(){a(this).find("span").first().length?a(this).find("span").first().html(t.data.content):a(this).html(t.data.content),a(this).prop("title",t.data.content),"false"===a(this).attr("aria-pressed")?a(this).attr("aria-pressed","true"):a(this).attr("aria-pressed","false"),a(this).fadeIn(200)}),"fav"===c)void 0!==t.data.directory_tab&&(a(s.objectNavParent+' [data-bp-scope="favorites"]').length||a(s.objectNavParent+' [data-bp-scope="all"]').after(t.data.directory_tab)),n.removeClass("fav"),n.addClass("unfav");else if("unfav"===c){var e=a('[data-bp-user-scope="favorites"]').hasClass("selected")||a(s.objectNavParent+' [data-bp-scope="favorites"]').hasClass("selected");e&&d.remove(),void 0!==t.data.no_favorite&&(a(s.objectNavParent+' [data-bp-scope="all"]').length&&a(s.objectNavParent+' [data-bp-scope="all"]').hasClass("selected")?a(s.objectNavParent+' [data-bp-scope="favorites"]').remove():e&&r.append(t.data.no_favorite)),n.removeClass("unfav"),n.addClass("fav")}})}if(n.hasClass("delete-activity")||n.hasClass("acomment-delete")||n.hasClass("spam-activity")||n.hasClass("spam-activity-comment")){var l,p,h,m,b=n.closest("[data-bp-activity-comment-id]"),u=b.data("bp-activity-comment-id"),v=0;if(t.preventDefault(),void 0!==BP_Nouveau.confirm&&!1===window.confirm(BP_Nouveau.confirm))return!1;n.addClass("loading");var f={action:"delete_activity",id:o,_wpnonce:s.getLinkParams(n.prop("href"),"_wpnonce"),is_single:n.closest("[data-bp-single]").length};(n.hasClass("spam-activity")||n.hasClass("spam-activity-comment"))&&(f.action="bp_spam_activity"),l=d,u&&(delete f.is_single,f.id=u,f.is_comment=!0,l=b),s.ajax(f,"activity").done(function(t){if(n.removeClass("loading"),!1===t.success)l.prepend(t.data.feedback),l.find(".bp-feedback").hide().fadeIn(300);else{if(t.data.redirect)return window.location.href=t.data.redirect;u&&(v=1,d.append(b.find("form")),a.each(b.find("li"),function(){v+=1}),p=d.find(".acomment-reply span.comment-count"),h=Number(p.html()-v),p.html(h),(m=d.find("li.show-all a")).length&&m.html(BP_Nouveau.show_x_comments.replace("%d",h)),0===h&&d.removeClass("has-comments")),l.slideUp(300,function(){l.remove()}),u||d.find("time").first().data("bp-timestamp")!==s.Activity.heartbeat_data.last_recorded||(s.Activity.heartbeat_data.newest="",s.Activity.heartbeat_data.last_recorded=0)}})}if(n.closest("span").hasClass("activity-read-more")){var _=n.closest("div"),y=n.closest("span");if(e=null,a(_).hasClass("activity-inner")?e=o:a(_).hasClass("acomment-content")&&(e=n.closest("li").data("bp-activity-comment-id")),!e)return t;t.preventDefault(),a(y).addClass("loading"),s.ajax({action:"get_single_activity_content",id:e},"activity").done(function(t){a(y).removeClass("loading"),_.parent().find(".bp-feedback").length&&_.parent().find(".bp-feedback").remove(),!1===t.success?(_.after(t.data.feedback),_.parent().find(".bp-feedback").hide().fadeIn(300)):a(_).slideUp(300).html(t.data.contents).slideDown(300)})}if(n.hasClass("acomment-reply")||n.parent().hasClass("acomment-reply")){i=a("#ac-form-"+o),e=o,t.preventDefault(),n.parent().hasClass("acomment-reply")&&n.parent(),n.closest("li").data("bp-activity-comment-id")&&(e=n.closest("li").data("bp-activity-comment-id")),i.removeClass("root"),a(".ac-form").hide(),a.each(i.children("div"),function(t,e){a(e).hasClass("error")&&a(e).remove()}),e===o?(a('[data-bp-activity-id="'+e+'"] .activity-comments').append(i),i.addClass("root")):a('[data-bp-activity-comment-id="'+e+'"]').append(i),i.slideDown(200),n.attr("aria-expanded","true"),a.scrollTo(i,500,{offset:-100,easing:"swing"}),a("#ac-form-"+o+" textarea").focus()}if(n.hasClass("ac-reply-cancel")&&(a(n).closest(".ac-form").slideUp(200),a(".acomment-reply").attr("aria-expanded","false"),t.preventDefault()),"ac_form_submit"===n.prop("name")){var g,w;i=n.closest("form"),e=o,t.preventDefault(),n.closest("li").data("bp-activity-comment-id")&&(e=n.closest("li").data("bp-activity-comment-id")),g=a(i).find("textarea").first(),n.addClass("loading").prop("disabled",!0),g.addClass("loading").prop("disabled",!0),w={action:"new_activity_comment",_wpnonce_new_activity_comment:a("#_wpnonce_new_activity_comment").val(),comment_id:e,form_id:o,content:g.val()},a("#_bp_as_nonce_"+o).val()&&(w["_bp_as_nonce_"+o]=a("#_bp_as_nonce_"+o).val()),s.ajax(w,"activity").done(function(t){if(n.removeClass("loading"),g.removeClass("loading"),a(".acomment-reply").attr("aria-expanded","false"),!1===t.success)i.append(a(t.data.feedback).hide().fadeIn(200));else{var e=i.parent(),s=a.trim(t.data.contents);i.fadeOut(200,function(){0===e.children("ul").length&&(e.hasClass("activity-comments")?e.prepend("<ul></ul>"):e.append("<ul></ul>")),e.children("ul").append(a(s).hide().fadeIn(200)),a(i).find("textarea").first().val(""),e.parent().addClass("has-comments")}),h=Number(a(d).find("a span.comment-count").html()||0)+1,a(d).find("a span.comment-count").html(h),(m=a(d).find(".show-all a"))&&m.html(BP_Nouveau.show_x_comments.replace("%d",h))}n.prop("disabled",!1),g.prop("disabled",!1)})}},commentFormAction:function(t){var e,i;return t=t||window.event,t.target?e=t.target:t.srcElement&&(e=t.srcElement),3===e.nodeType&&(e=e.parentNode),!0===t.altKey||!0===t.metaKey?t:"TEXTAREA"===e.tagName&&a(e).hasClass("ac-input")?void(27===(i=t.keyCode?t.keyCode:t.which)&&!1===t.ctrlKey?"TEXTAREA"===e.tagName&&a(e).closest("form").slideUp(200):t.ctrlKey&&13===i&&a(e).val()&&a(e).closest("form").find("[type=submit]").first().trigger("click")):t}},bp.Nouveau.Activity.start())}(bp,jQuery);
|
1 |
+
window.bp=window.bp||{},function(t,a){"undefined"!=typeof BP_Nouveau&&(bp.Nouveau=bp.Nouveau||{},bp.Nouveau.Activity={start:function(){this.setupGlobals(),this.addListeners()},setupGlobals:function(){this.just_posted=[],this.current_page=1,this.mentions_count=Number(a(bp.Nouveau.objectNavParent+' [data-bp-scope="mentions"]').find("a span").html())||0,this.heartbeat_data={newest:"",highlights:{},last_recorded:0,first_recorded:0,document_title:a(document).prop("title")}},addListeners:function(){a("#buddypress").on("bp_heartbeat_send",this.heartbeatSend.bind(this)),a("#buddypress").on("bp_heartbeat_tick",this.heartbeatTick.bind(this)),a('#buddypress [data-bp-list="activity"]').on("click","li.load-newest, li.load-more",this.injectActivities.bind(this)),a("#buddypress").on("bp_ajax_request",'[data-bp-list="activity"]',this.scopeLoaded.bind(this)),a('#buddypress [data-bp-list="activity"]').on("bp_ajax_append",this.hideComments),a('#buddypress [data-bp-list="activity"]').on("click",".show-all",this.showComments),a('#buddypress [data-bp-list="activity"]').on("click",".activity-item",bp.Nouveau,this.activityActions),a(document).keydown(this.commentFormAction)},heartbeatSend:function(t,e){this.heartbeat_data.first_recorded=a("#buddypress [data-bp-list] [data-bp-activity-id]").first().data("bp-timestamp")||0,(0===this.heartbeat_data.last_recorded||this.heartbeat_data.first_recorded>this.heartbeat_data.last_recorded)&&(this.heartbeat_data.last_recorded=this.heartbeat_data.first_recorded),e.bp_activity_last_recorded=this.heartbeat_data.last_recorded,a("#buddypress .dir-search input[type=search]").length&&(e.bp_activity_last_recorded_search_terms=a("#buddypress .dir-search input[type=search]").val()),a.extend(e,{bp_heartbeat:bp.Nouveau.getStorage("bp-activity")})},heartbeatTick:function(t,e){var i,s,n=bp.Nouveau.objects,d=bp.Nouveau.getStorage("bp-activity","scope"),o=this;if(void 0!==e&&e.bp_activity_newest_activities){if(this.heartbeat_data.newest=a.trim(e.bp_activity_newest_activities.activities)+this.heartbeat_data.newest,this.heartbeat_data.last_recorded=Number(e.bp_activity_newest_activities.last_recorded),s=a(this.heartbeat_data.newest).filter(".activity-item"),i=Number(s.length),n.push("mentions"),"all"===d){a.each(s,function(t,e){e=a(e),a.each(n,function(t,i){-1!==a.inArray("bp-my-"+i,e.get(0).classList)&&(void 0===o.heartbeat_data.highlights[i]?o.heartbeat_data.highlights[i]=[e.data("bp-activity-id")]:-1===a.inArray(e.data("bp-activity-id"),o.heartbeat_data.highlights[i])&&o.heartbeat_data.highlights[i].push(e.data("bp-activity-id")))})});var r=new RegExp("bp-my-("+n.join("|")+")","g");this.heartbeat_data.newest=this.heartbeat_data.newest.replace(r,""),a(bp.Nouveau.objectNavParent+' [data-bp-scope="all"]').find("a span").html(i)}else this.heartbeat_data.highlights[d]=[],a.each(s,function(t,e){o.heartbeat_data.highlights[d].push(a(e).data("bp-activity-id"))});if(a.each(n,function(t,e){if(void 0!==o.heartbeat_data.highlights[e]&&o.heartbeat_data.highlights[e].length){var i=0;"mentions"===e&&(i=o.mentions_count),a(bp.Nouveau.objectNavParent+' [data-bp-scope="'+e+'"]').find("a span").html(Number(o.heartbeat_data.highlights[e].length)+i)}}),n.pop(),a(document).prop("title","("+i+") "+this.heartbeat_data.document_title),a('#buddypress [data-bp-list="activity"] li').first().hasClass("load-newest")){var c=a('#buddypress [data-bp-list="activity"] .load-newest a').html();a('#buddypress [data-bp-list="activity"] .load-newest a').html(c.replace(/([0-9]+)/,i))}else a('#buddypress [data-bp-list="activity"] ul.activity-list').prepend('<li class="load-newest"><a href="#newest">'+BP_Nouveau.newest+" ("+i+")</a></li>");a('#buddypress [data-bp-list="activity"]').trigger("bp_heartbeat_pending",this.heartbeat_data)}},injectActivities:function(t){var e=bp.Nouveau.getStorage("bp-activity"),i=e.scope||null,s=e.filter||null;if(a(t.currentTarget).hasClass("load-newest")){t.preventDefault(),a(t.currentTarget).remove();var n=a.parseHTML(this.heartbeat_data.newest);a.each(n,function(t,e){"LI"===e.nodeName&&a(e).hasClass("just-posted")&&a("#"+a(e).prop("id")).length&&a("#"+a(e).prop("id")).remove()}),a(t.delegateTarget).find(".activity-list").prepend(this.heartbeat_data.newest).trigger("bp_heartbeat_prepend",this.heartbeat_data),this.heartbeat_data.newest="","all"===i&&a(bp.Nouveau.objectNavParent+' [data-bp-scope="all"]').find("a span").html(""),"mentions"===i&&(bp.Nouveau.ajax({action:"activity_clear_new_mentions"},"activity"),this.mentions_count=0),a(bp.Nouveau.objectNavParent+' [data-bp-scope="'+i+'"]').find("a span").html(""),void 0!==this.heartbeat_data.highlights[i]&&(this.heartbeat_data.highlights[i]=[]),setTimeout(function(){a(t.delegateTarget).find("[data-bp-activity-id]").removeClass("newest_"+i+"_activity")},3e3),a(document).prop("title",this.heartbeat_data.document_title)}else if(a(t.currentTarget).hasClass("load-more")){var d=1*Number(this.current_page)+1,o=this,r="";t.preventDefault(),a(t.currentTarget).find("a").first().addClass("loading"),this.just_posted=[],a(t.delegateTarget).children(".just-posted").each(function(){o.just_posted.push(a(this).data("bp-activity-id"))}),a("#buddypress .dir-search input[type=search]").length&&(r=a("#buddypress .dir-search input[type=search]").val()),bp.Nouveau.objectRequest({object:"activity",scope:i,filter:s,search_terms:r,page:d,method:"append",exclude_just_posted:this.just_posted.join(","),target:"#buddypress [data-bp-list] ul.bp-list"}).done(function(e){!0===e.success&&(a(t.currentTarget).remove(),o.current_page=d)})}},hideComments:function(t){var e,i,s,n,d=a(t.target).find(".activity-comments");d.length&&d.each(function(t,d){n=a(d).children("ul"),(i=a(n).find("li")).length&&(e=a(d).closest(".activity-item"),s=a("#acomment-comment-"+e.data("bp-activity-id")+" span.comment-count").html()||" ",i.each(function(t,n){t<i.length-5&&(a(n).addClass("bp-hidden").hide(),t||a(n).before('<li class="show-all"><button class="text-button" type="button" data-bp-show-comments-id="#'+e.prop("id")+'/show-all/"><span class="icon dashicons dashicons-visibility" aria-hidden="true"></span> '+BP_Nouveau.show_x_comments.replace("%d",s)+"</button></li>"))}),a(n).children(".bp-hidden").length===a(n).children("li").length-1&&a(n).find("li.show-all")&&a(n).children("li").removeClass("bp-hidden").toggle())})},showComments:function(t){t.preventDefault(),a(t.target).addClass("loading"),setTimeout(function(){a(t.target).closest("ul").find("li").removeClass("bp-hidden").fadeIn(300,function(){a(t.target).parent("li").remove()})},600)},scopeLoaded:function(t,e){this.hideComments(t),this.current_page=1,"mentions"===e.scope&&void 0!==e.response.new_mentions?(a.each(e.response.new_mentions,function(t,e){a("#buddypress #activity-stream").find('[data-bp-activity-id="'+e+'"]').addClass("newest_mentions_activity")}),this.mentions_count=0):void 0!==this.heartbeat_data.highlights[e.scope]&&this.heartbeat_data.highlights[e.scope].length&&a.each(this.heartbeat_data.highlights[e.scope],function(t,i){a("#buddypress #activity-stream").find('[data-bp-activity-id="'+i+'"]').length&&a("#buddypress #activity-stream").find('[data-bp-activity-id="'+i+'"]').addClass("newest_"+e.scope+"_activity")}),this.heartbeat_data.newest="",a.each(a(bp.Nouveau.objectNavParent+" [data-bp-scope]").find("a span"),function(t,e){0===parseInt(a(e).html(),10)&&a(e).html("")}),void 0!==this.heartbeat_data.highlights[e.scope]&&(this.heartbeat_data.highlights[e.scope]=[]),a(document).prop("title",this.heartbeat_data.document_title),setTimeout(function(){a("#buddypress #activity-stream .activity-item").removeClass("newest_"+e.scope+"_activity")},3e3)},activityActions:function(t){var e,i,s=t.data,n=a(t.target),d=a(t.currentTarget),o=d.data("bp-activity-id"),r=a(t.delegateTarget);if(a(n).is("span")&&(n=a(n).closest("a")),n.hasClass("fav")||n.hasClass("unfav")){var c=n.hasClass("fav")?"fav":"unfav";t.preventDefault(),n.addClass("loading"),s.ajax({action:"activity_mark_"+c,id:o},"activity").done(function(t){if(n.removeClass("loading"),!1!==t.success)if(n.fadeOut(200,function(){a(this).find("span").first().length?a(this).find("span").first().html(t.data.content):a(this).html(t.data.content),a(this).prop("title",t.data.content),"false"===a(this).attr("aria-pressed")?a(this).attr("aria-pressed","true"):a(this).attr("aria-pressed","false"),a(this).fadeIn(200)}),"fav"===c)void 0!==t.data.directory_tab&&(a(s.objectNavParent+' [data-bp-scope="favorites"]').length||a(s.objectNavParent+' [data-bp-scope="all"]').after(t.data.directory_tab)),n.removeClass("fav"),n.addClass("unfav");else if("unfav"===c){var e=a('[data-bp-user-scope="favorites"]').hasClass("selected")||a(s.objectNavParent+' [data-bp-scope="favorites"]').hasClass("selected");e&&d.remove(),void 0!==t.data.no_favorite&&(a(s.objectNavParent+' [data-bp-scope="all"]').length&&a(s.objectNavParent+' [data-bp-scope="all"]').hasClass("selected")?a(s.objectNavParent+' [data-bp-scope="favorites"]').remove():e&&r.append(t.data.no_favorite)),n.removeClass("unfav"),n.addClass("fav")}})}if(n.hasClass("delete-activity")||n.hasClass("acomment-delete")||n.hasClass("spam-activity")||n.hasClass("spam-activity-comment")){var l,p,h,b,m=n.closest("[data-bp-activity-comment-id]"),u=m.data("bp-activity-comment-id"),v=0;if(t.preventDefault(),void 0!==BP_Nouveau.confirm&&!1===window.confirm(BP_Nouveau.confirm))return!1;n.addClass("loading");var _={action:"delete_activity",id:o,_wpnonce:s.getLinkParams(n.prop("href"),"_wpnonce"),is_single:n.closest("[data-bp-single]").length};(n.hasClass("spam-activity")||n.hasClass("spam-activity-comment"))&&(_.action="bp_spam_activity"),l=d,u&&(delete _.is_single,_.id=u,_.is_comment=!0,l=m),s.ajax(_,"activity").done(function(t){if(n.removeClass("loading"),!1===t.success)l.prepend(t.data.feedback),l.find(".bp-feedback").hide().fadeIn(300);else{if(t.data.redirect)return window.location.href=t.data.redirect;u&&(v=1,d.append(m.find("form")),a.each(m.find("li"),function(){v+=1}),p=d.find(".acomment-reply span.comment-count"),h=Number(p.html()-v),p.html(h),(b=d.find("li.show-all a")).length&&b.html(BP_Nouveau.show_x_comments.replace("%d",h)),0===h&&d.removeClass("has-comments")),l.slideUp(300,function(){l.remove()}),u||d.data("bp-timestamp")!==s.Activity.heartbeat_data.last_recorded||(s.Activity.heartbeat_data.newest="",s.Activity.heartbeat_data.last_recorded=0)}})}if(n.closest("span").hasClass("activity-read-more")){var f=n.closest("div"),y=n.closest("span");if(e=null,a(f).hasClass("activity-inner")?e=o:a(f).hasClass("acomment-content")&&(e=n.closest("li").data("bp-activity-comment-id")),!e)return t;t.preventDefault(),a(y).addClass("loading"),s.ajax({action:"get_single_activity_content",id:e},"activity").done(function(t){a(y).removeClass("loading"),f.parent().find(".bp-feedback").length&&f.parent().find(".bp-feedback").remove(),!1===t.success?(f.after(t.data.feedback),f.parent().find(".bp-feedback").hide().fadeIn(300)):a(f).slideUp(300).html(t.data.contents).slideDown(300)})}if(n.hasClass("acomment-reply")||n.parent().hasClass("acomment-reply")){i=a("#ac-form-"+o),e=o,t.preventDefault(),n.parent().hasClass("acomment-reply")&&n.parent(),n.closest("li").data("bp-activity-comment-id")&&(e=n.closest("li").data("bp-activity-comment-id")),i.removeClass("root"),a(".ac-form").hide(),a.each(i.children("div"),function(t,e){a(e).hasClass("error")&&a(e).remove()}),e===o?(a('[data-bp-activity-id="'+e+'"] .activity-comments').append(i),i.addClass("root")):a('[data-bp-activity-comment-id="'+e+'"]').append(i),i.slideDown(200),n.attr("aria-expanded","true"),a.scrollTo(i,500,{offset:-100,easing:"swing"}),a("#ac-form-"+o+" textarea").focus()}if(n.hasClass("ac-reply-cancel")&&(a(n).closest(".ac-form").slideUp(200),a(".acomment-reply").attr("aria-expanded","false"),t.preventDefault()),"ac_form_submit"===n.prop("name")){var g,w;i=n.closest("form"),e=o,t.preventDefault(),n.closest("li").data("bp-activity-comment-id")&&(e=n.closest("li").data("bp-activity-comment-id")),g=a(i).find("textarea").first(),n.addClass("loading").prop("disabled",!0),g.addClass("loading").prop("disabled",!0),w={action:"new_activity_comment",_wpnonce_new_activity_comment:a("#_wpnonce_new_activity_comment").val(),comment_id:e,form_id:o,content:g.val()},a("#_bp_as_nonce_"+o).val()&&(w["_bp_as_nonce_"+o]=a("#_bp_as_nonce_"+o).val()),s.ajax(w,"activity").done(function(t){if(n.removeClass("loading"),g.removeClass("loading"),a(".acomment-reply").attr("aria-expanded","false"),!1===t.success)i.append(a(t.data.feedback).hide().fadeIn(200));else{var e=i.parent(),s=a.trim(t.data.contents);i.fadeOut(200,function(){0===e.children("ul").length&&(e.hasClass("activity-comments")?e.prepend("<ul></ul>"):e.append("<ul></ul>")),e.children("ul").append(a(s).hide().fadeIn(200)),a(i).find("textarea").first().val(""),e.parent().addClass("has-comments")}),h=Number(a(d).find("a span.comment-count").html()||0)+1,a(d).find("a span.comment-count").html(h),(b=a(d).find(".show-all a"))&&b.html(BP_Nouveau.show_x_comments.replace("%d",h))}n.prop("disabled",!1),g.prop("disabled",!1)})}},commentFormAction:function(t){var e,i;return t=t||window.event,t.target?e=t.target:t.srcElement&&(e=t.srcElement),3===e.nodeType&&(e=e.parentNode),!0===t.altKey||!0===t.metaKey?t:"TEXTAREA"===e.tagName&&a(e).hasClass("ac-input")?void(27===(i=t.keyCode?t.keyCode:t.which)&&!1===t.ctrlKey?"TEXTAREA"===e.tagName&&a(e).closest("form").slideUp(200):t.ctrlKey&&13===i&&a(e).val()&&a(e).closest("form").find("[type=submit]").first().trigger("click")):t}},bp.Nouveau.Activity.start())}(bp,jQuery);
|
bp-templates/bp-nouveau/js/buddypress-group-invites.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
/* global wp, bp, BP_Nouveau, _, Backbone */
|
|
|
2 |
window.wp = window.wp || {};
|
3 |
window.bp = window.bp || {};
|
4 |
|
@@ -72,7 +73,7 @@ window.bp = window.bp || {};
|
|
72 |
this.navItems.add( {
|
73 |
id : item.id,
|
74 |
name : item.caption,
|
75 |
-
href : '#',
|
76 |
active : activeView,
|
77 |
hide : _.isUndefined( item.hide ) ? 0 : item.hide
|
78 |
} );
|
@@ -338,18 +339,13 @@ window.bp = window.bp || {};
|
|
338 |
bp.Views.Feedback = bp.Nouveau.GroupInvites.View.extend( {
|
339 |
tagName : 'div',
|
340 |
className : 'bp-invites-feedback',
|
|
|
341 |
|
342 |
initialize: function() {
|
343 |
-
this.
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
}
|
348 |
-
},
|
349 |
-
|
350 |
-
render: function() {
|
351 |
-
this.$el.html( this.value );
|
352 |
-
return this;
|
353 |
}
|
354 |
} );
|
355 |
|
@@ -465,7 +461,7 @@ window.bp = window.bp || {};
|
|
465 |
if ( $( this.el ).find( 'span' ).length ) {
|
466 |
$( this.el ).find( 'span' ).html( span_count );
|
467 |
} else {
|
468 |
-
$( this.el ).find( 'a' ).append( $( '<span></span>' ).html( span_count ) );
|
469 |
}
|
470 |
},
|
471 |
|
@@ -479,7 +475,7 @@ window.bp = window.bp || {};
|
|
479 |
} );
|
480 |
|
481 |
bp.Views.Pagination = bp.Nouveau.GroupInvites.View.extend( {
|
482 |
-
tagName : '
|
483 |
className : 'last',
|
484 |
template : bp.template( 'bp-invites-paginate' )
|
485 |
} );
|
@@ -505,6 +501,10 @@ window.bp = window.bp || {};
|
|
505 |
view.remove();
|
506 |
} );
|
507 |
|
|
|
|
|
|
|
|
|
508 |
this.views.add( new bp.Views.Pagination( { model: new Backbone.Model( collection.options ) } ) );
|
509 |
},
|
510 |
|
@@ -617,11 +617,20 @@ window.bp = window.bp || {};
|
|
617 |
var invite = bp.Nouveau.GroupInvites.invites.get( this.model.get( 'id' ) );
|
618 |
|
619 |
if ( invite ) {
|
620 |
-
this.el.className = 'selected';
|
621 |
this.model.set( 'selected', true, { silent: true } );
|
622 |
}
|
623 |
},
|
624 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
625 |
toggleUser: function( event ) {
|
626 |
event.preventDefault();
|
627 |
|
@@ -629,19 +638,16 @@ window.bp = window.bp || {};
|
|
629 |
|
630 |
if ( false === selected ) {
|
631 |
this.model.set( 'selected', true );
|
632 |
-
|
633 |
-
// Set the selected class
|
634 |
-
$( this.el ).addClass( 'selected' );
|
635 |
} else {
|
636 |
this.model.set( 'selected', false );
|
637 |
|
638 |
-
// Set the selected class
|
639 |
-
$( this.el ).removeClass( 'selected' );
|
640 |
-
|
641 |
if ( ! bp.Nouveau.GroupInvites.invites.length ) {
|
642 |
bp.Nouveau.GroupInvites.invites.reset();
|
643 |
}
|
644 |
}
|
|
|
|
|
|
|
645 |
},
|
646 |
|
647 |
removeInvite: function( event ) {
|
@@ -705,6 +711,8 @@ window.bp = window.bp || {};
|
|
705 |
|
706 |
$( this.el ).addClass( 'bp-hide' );
|
707 |
|
|
|
|
|
708 |
this.collection.sync( 'create', _.pluck( this.collection.models, 'id' ), {
|
709 |
success : _.bind( this.invitesSent, this ),
|
710 |
error : _.bind( this.invitesError, this ),
|
@@ -758,7 +766,7 @@ window.bp = window.bp || {};
|
|
758 |
view.remove();
|
759 |
} );
|
760 |
|
761 |
-
bp.Nouveau.GroupInvites.displayFeedback( BP_Nouveau.group_invites.invites_form_reset, '
|
762 |
}
|
763 |
} );
|
764 |
|
@@ -796,6 +804,16 @@ window.bp = window.bp || {};
|
|
796 |
|
797 |
initialize: function() {
|
798 |
this.model.on( 'change:selected', this.removeView, this );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
799 |
},
|
800 |
|
801 |
removeSelection: function( event ) {
|
1 |
/* global wp, bp, BP_Nouveau, _, Backbone */
|
2 |
+
/* @version 3.0.0 */
|
3 |
window.wp = window.wp || {};
|
4 |
window.bp = window.bp || {};
|
5 |
|
73 |
this.navItems.add( {
|
74 |
id : item.id,
|
75 |
name : item.caption,
|
76 |
+
href : item.href || '#members-list',
|
77 |
active : activeView,
|
78 |
hide : _.isUndefined( item.hide ) ? 0 : item.hide
|
79 |
} );
|
339 |
bp.Views.Feedback = bp.Nouveau.GroupInvites.View.extend( {
|
340 |
tagName : 'div',
|
341 |
className : 'bp-invites-feedback',
|
342 |
+
template : bp.template( 'bp-group-invites-feedback' ),
|
343 |
|
344 |
initialize: function() {
|
345 |
+
this.model = new Backbone.Model( {
|
346 |
+
type: this.options.type || 'info',
|
347 |
+
message: this.options.value
|
348 |
+
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
349 |
}
|
350 |
} );
|
351 |
|
461 |
if ( $( this.el ).find( 'span' ).length ) {
|
462 |
$( this.el ).find( 'span' ).html( span_count );
|
463 |
} else {
|
464 |
+
$( this.el ).find( 'a' ).append( $( '<span class="count"></span>' ).html( span_count ) );
|
465 |
}
|
466 |
},
|
467 |
|
475 |
} );
|
476 |
|
477 |
bp.Views.Pagination = bp.Nouveau.GroupInvites.View.extend( {
|
478 |
+
tagName : 'div',
|
479 |
className : 'last',
|
480 |
template : bp.template( 'bp-invites-paginate' )
|
481 |
} );
|
501 |
view.remove();
|
502 |
} );
|
503 |
|
504 |
+
if ( 1 === collection.options.total_page ) {
|
505 |
+
return;
|
506 |
+
}
|
507 |
+
|
508 |
this.views.add( new bp.Views.Pagination( { model: new Backbone.Model( collection.options ) } ) );
|
509 |
},
|
510 |
|
617 |
var invite = bp.Nouveau.GroupInvites.invites.get( this.model.get( 'id' ) );
|
618 |
|
619 |
if ( invite ) {
|
|
|
620 |
this.model.set( 'selected', true, { silent: true } );
|
621 |
}
|
622 |
},
|
623 |
|
624 |
+
render: function() {
|
625 |
+
if ( this.model.get( 'selected' ) ) {
|
626 |
+
this.el.className = 'selected';
|
627 |
+
} else {
|
628 |
+
this.el.className = '';
|
629 |
+
}
|
630 |
+
|
631 |
+
bp.Nouveau.GroupInvites.View.prototype.render.apply( this, arguments );
|
632 |
+
},
|
633 |
+
|
634 |
toggleUser: function( event ) {
|
635 |
event.preventDefault();
|
636 |
|
638 |
|
639 |
if ( false === selected ) {
|
640 |
this.model.set( 'selected', true );
|
|
|
|
|
|
|
641 |
} else {
|
642 |
this.model.set( 'selected', false );
|
643 |
|
|
|
|
|
|
|
644 |
if ( ! bp.Nouveau.GroupInvites.invites.length ) {
|
645 |
bp.Nouveau.GroupInvites.invites.reset();
|
646 |
}
|
647 |
}
|
648 |
+
|
649 |
+
// Rerender to update buttons.
|
650 |
+
this.render();
|
651 |
},
|
652 |
|
653 |
removeInvite: function( event ) {
|
711 |
|
712 |
$( this.el ).addClass( 'bp-hide' );
|
713 |
|
714 |
+
bp.Nouveau.GroupInvites.displayFeedback( BP_Nouveau.group_invites.invites_sending, 'info' );
|
715 |
+
|
716 |
this.collection.sync( 'create', _.pluck( this.collection.models, 'id' ), {
|
717 |
success : _.bind( this.invitesSent, this ),
|
718 |
error : _.bind( this.invitesError, this ),
|
766 |
view.remove();
|
767 |
} );
|
768 |
|
769 |
+
bp.Nouveau.GroupInvites.displayFeedback( BP_Nouveau.group_invites.invites_form_reset, 'success' );
|
770 |
}
|
771 |
} );
|
772 |
|
804 |
|
805 |
initialize: function() {
|
806 |
this.model.on( 'change:selected', this.removeView, this );
|
807 |
+
|
808 |
+
// Build the BP Tooltip.
|
809 |
+
if ( ! this.model.get( 'uninviteTooltip' ) ) {
|
810 |
+
this.model.set( 'uninviteTooltip',
|
811 |
+
BP_Nouveau.group_invites.removeUserInvite.replace( '%s', this.model.get( 'name' ) ),
|
812 |
+
{ silent: true }
|
813 |
+
);
|
814 |
+
}
|
815 |
+
|
816 |
+
this.el.id = 'uninvite-user-' + this.model.get( 'id' );
|
817 |
},
|
818 |
|
819 |
removeSelection: function( event ) {
|
bp-templates/bp-nouveau/js/buddypress-group-invites.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
window.wp=window.wp||{},window.bp=window.bp||{},function(e,i){"undefined"!=typeof BP_Nouveau&&(_.extend(bp,_.pick(wp,"Backbone","ajax","template")),bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Nouveau=bp.Nouveau||{},bp.Nouveau.GroupInvites={start:function(){this.scope=null,this.views=new Backbone.Collection,this.navItems=new Backbone.Collection,this.users=new bp.Collections.Users,this.invites=this.users.clone(),this.setupNav(),this.setupLoops(),this.displayFeedback(BP_Nouveau.group_invites.loading,"loading"),this.users.on("change:selected",this.addInvite,this),this.invites.on("change:selected",this.manageInvite,this),this.invites.on("add",this.invitesNav,this),this.invites.on("reset",this.hideInviteNav,this)},setupNav:function(){var e;this.nav=new bp.Views.invitesNav({collection:this.navItems}),_.each(BP_Nouveau.group_invites.nav,function(i,t){_.isObject(i)&&(e=0,0===t&&(this.scope=i.id,e=1),this.navItems.add({id:i.id,name:i.caption,href:"#",active:e,hide:_.isUndefined(i.hide)?0:i.hide}))},this),this.nav.inject(".bp-invites-nav"),this.nav.on("bp-invites:confirm",this.loadConfirmView,this),this.nav.on("bp-invites:loops",this.setupLoops,this)},setupLoops:function(e){var i;e=e||this.scope,this.clearViews(),e!==this.scope&&this.displayFeedback(BP_Nouveau.group_invites.loading,"loading"),this.scope=e,i=new bp.Views.inviteUsers({collection:this.users,scope:e}),this.views.add({id:"users",view:i}),i.inject(".bp-invites-content"),this.displayFilters(this.users)},displayFilters:function(e){var i;this.filters=new Backbone.Model({page:1,total_page:0,search_terms:"",scope:this.scope}),i=new bp.Views.inviteFilters({model:this.filters,users:e}),this.views.add({id:"filters",view:i}),i.inject(".bp-invites-filters")},removeFeedback:function(){var e;_.isUndefined(this.views.get("feedback"))||((e=this.views.get("feedback")).get("view").remove(),this.views.remove({id:"feedback",view:e}))},displayFeedback:function(e,i){var t;this.removeFeedback(),e&&(t=new bp.Views.Feedback({value:e,type:i||"info"}),this.views.add({id:"feedback",view:t}),t.inject(".bp-invites-feedback"))},addInvite:function(e){if(!0===e.get("selected"))this.invites.add(e);else{var i=this.invites.get(e.get("id"));!0===i.get("selected")&&this.invites.remove(i)}},manageInvite:function(e){var i=this.users.get(e.get("id"));i&&i.set("selected",!1),this.invites.remove(e),this.invites.length||this.invites.reset()},invitesNav:function(){this.navItems.get("invites").set({active:0,hide:0})},hideInviteNav:function(){this.navItems.get("invites").set({active:0,hide:1})},clearViews:function(){_.isUndefined(this.views.models)||(_.each(this.views.models,function(e){e.get("view").remove()},this),this.views.reset())},loadConfirmView:function(){this.clearViews(),this.displayFeedback(BP_Nouveau.group_invites.invites_form,"help");var e=new bp.Views.invitesEditor({collection:this.invites});this.views.add({id:"invites",view:e}),e.inject(".bp-invites-content")}},bp.Models.User=Backbone.Model.extend({defaults:{id:0,avatar:"",name:"",selected:!1}}),bp.Collections.Users=Backbone.Collection.extend({model:bp.Models.User,initialize:function(){this.options={page:1,total_page:0,group_id:BP_Nouveau.group_invites.group_id}},sync:function(e,i,t){return t=t||{},t.context=this,t.data=t.data||{},t.data.nonce=BP_Nouveau.nonces.groups,this.options.group_id&&(t.data.group_id=this.options.group_id),"read"===e?(t.data=_.extend(t.data,{action:"groups_get_group_potential_invites"}),bp.ajax.send(t)):"create"===e?(t.data=_.extend(t.data,{action:"groups_send_group_invites",_wpnonce:BP_Nouveau.group_invites.nonces.send_invites}),i&&(t.data.users=i),bp.ajax.send(t)):"delete"===e?(t.data=_.extend(t.data,{action:"groups_delete_group_invite",_wpnonce:BP_Nouveau.group_invites.nonces.uninvite}),i&&(t.data.user=i),bp.ajax.send(t)):void 0},parse:function(e){return _.isArray(e.users)||(e.users=[e.users]),_.each(e.users,function(i,t){_.isNull(i)||(e.users[t].id=i.id,e.users[t].avatar=i.avatar,e.users[t].name=i.name)}),_.isUndefined(e.meta)||(this.options.page=e.meta.page,this.options.total_page=e.meta.total_page),e.users}}),bp.Nouveau.GroupInvites.View=bp.Backbone.View.extend({inject:function(e){this.render(),i(e).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}}),bp.Views.Feedback=bp.Nouveau.GroupInvites.View.extend({tagName:"div",className:"bp-invites-feedback",initialize:function(){this.value=this.options.value,this.options.type&&(this.el.className+=" "+this.options.type)},render:function(){return this.$el.html(this.value),this}}),bp.Views.invitesNav=bp.Nouveau.GroupInvites.View.extend({tagName:"ul",className:"subnav",events:{"click .bp-invites-nav-item":"toggleView"},initialize:function(){this.collection.on("add",this.outputNav,this),this.collection.on("change:hide",this.showHideNavItem,this)},outputNav:function(e){1!==e.get("hide")&&this.views.add(new bp.Views.invitesNavItem({model:e}))},showHideNavItem:function(e){var i=null;_.each(this.views._views[""],function(t){1===t.model.get("hide")&&t.remove(),e.get("id")===t.model.get("id")&&(i=!0)}),_.isBoolean(i)||(e.set("invites_count",bp.Nouveau.GroupInvites.invites.length),this.outputNav(e))},toggleView:function(e){var t=i(e.target);e.preventDefault(),t.data("nav")||"SPAN"!==e.target.tagName||(t=i(e.target).parent());var s=t.data("nav");_.each(this.collection.models,function(e){e.id===s?(e.set("active",1),"invites"===e.id?this.trigger("bp-invites:confirm"):this.trigger("bp-invites:loops",e.id)):1!==e.get("hide")&&e.set("active",0)},this)}}),bp.Views.invitesNavItem=bp.Nouveau.GroupInvites.View.extend({tagName:"li",template:bp.template("bp-invites-nav"),initialize:function(){1===this.model.get("active")&&(this.el.className+=" current"),"invites"===this.model.get("id")&&(this.el.className+=" dynamic"),"invited"===this.model.get("id")&&(this.el.className+=" pending"),this.model.on("change:active",this.toggleClass,this),this.on("ready",this.updateCount,this),bp.Nouveau.GroupInvites.invites.on("add",this.updateCount,this),bp.Nouveau.GroupInvites.invites.on("remove",this.updateCount,this)},updateCount:function(e,t){if("invites"===this.model.get("id")){var s=_.isUndefined(t)?this.model.get("invites_count"):t.models.length;i(this.el).find("span").length?i(this.el).find("span").html(s):i(this.el).find("a").append(i("<span></span>").html(s))}},toggleClass:function(e){0===e.get("active")?i(this.el).removeClass("current"):i(this.el).addClass("current")}}),bp.Views.Pagination=bp.Nouveau.GroupInvites.View.extend({tagName:"li",className:"last",template:bp.template("bp-invites-paginate")}),bp.Views.inviteFilters=bp.Nouveau.GroupInvites.View.extend({tagName:"div",template:bp.template("bp-invites-filters"),events:{"search #group_invites_search":"resetSearchTerms","submit #group_invites_search_form":"setSearchTerms","click #bp-invites-next-page":"nextPage","click #bp-invites-prev-page":"prevPage"},initialize:function(){this.model.on("change",this.filterUsers,this),this.options.users.on("sync",this.addPaginatation,this)},addPaginatation:function(e){_.each(this.views._views[""],function(e){e.remove()}),this.views.add(new bp.Views.Pagination({model:new Backbone.Model(e.options)}))},filterUsers:function(){bp.Nouveau.GroupInvites.displayFeedback(BP_Nouveau.group_invites.loading,"loading"),this.options.users.reset(),this.options.users.fetch({data:_.pick(this.model.attributes,["scope","search_terms","page"]),success:this.usersFiltered,error:this.usersFilterError})},usersFiltered:function(){bp.Nouveau.GroupInvites.removeFeedback()},usersFilterError:function(e,i){bp.Nouveau.GroupInvites.displayFeedback(i.feedback,"error")},resetSearchTerms:function(e){e.preventDefault(),i(e.target).val()?i(e.target).closest("form").find("[type=submit]").addClass("bp-show"):i(e.target).closest("form").submit()},setSearchTerms:function(e){e.preventDefault(),this.model.set({search_terms:i(e.target).find("input[type=search]").val()||"",page:1})},nextPage:function(e){e.preventDefault(),this.model.set("page",this.model.get("page")+1)},prevPage:function(e){e.preventDefault(),this.model.set("page",this.model.get("page")-1)}}),bp.Views.inviteUsers=bp.Nouveau.GroupInvites.View.extend({tagName:"ul",className:"item-list bp-list",id:"members-list",initialize:function(){this.requestUsers(),this.collection.on("reset",this.cleanContent,this),this.collection.on("add",this.addUser,this)},requestUsers:function(){this.collection.reset(),this.collection.fetch({data:_.pick(this.options,"scope"),success:this.usersFetched,error:this.usersFetchError})},usersFetched:function(e,i){bp.Nouveau.GroupInvites.displayFeedback(i.feedback,"help")},usersFetchError:function(e,i){var t=i.type||"help";bp.Nouveau.GroupInvites.displayFeedback(i.feedback,t)},cleanContent:function(){_.each(this.views._views[""],function(e){e.remove()})},addUser:function(e){this.views.add(new bp.Views.inviteUser({model:e}))}}),bp.Views.inviteUser=bp.Nouveau.GroupInvites.View.extend({tagName:"li",template:bp.template("bp-invites-users"),events:{"click .group-add-remove-invite-button":"toggleUser","click .group-remove-invite-button":"removeInvite"},initialize:function(){bp.Nouveau.GroupInvites.invites.get(this.model.get("id"))&&(this.el.className="selected",this.model.set("selected",!0,{silent:!0}))},toggleUser:function(e){e.preventDefault(),!1===this.model.get("selected")?(this.model.set("selected",!0),i(this.el).addClass("selected")):(this.model.set("selected",!1),i(this.el).removeClass("selected"),bp.Nouveau.GroupInvites.invites.length||bp.Nouveau.GroupInvites.invites.reset())},removeInvite:function(e){e.preventDefault();var i=this.model.collection;i.length&&i.sync("delete",this.model.get("id"),{success:_.bind(this.inviteRemoved,this),error:_.bind(this.uninviteError,this)})},inviteRemoved:function(e){var i=this.model.collection;i.length&&(i.remove(this.model),this.remove(),bp.Nouveau.GroupInvites.removeFeedback(),!1===e.has_invites&&(bp.Nouveau.GroupInvites.displayFeedback(e.feedback,"success"),bp.Nouveau.GroupInvites.navItems.get("invited").set({active:0,hide:1})))},uninviteError:function(e){bp.Nouveau.GroupInvites.displayFeedback(e.feedback,"error")}}),bp.Views.invitesEditor=bp.Nouveau.GroupInvites.View.extend({tagName:"div",id:"send-invites-editor",events:{"click #bp-invites-send":"sendInvites","click #bp-invites-reset":"clearForm"},initialize:function(){this.views.add(new bp.Views.selectedUsers({collection:this.collection})),this.views.add(new bp.Views.invitesForm),this.collection.on("reset",this.cleanViews,this)},sendInvites:function(e){e.preventDefault(),i(this.el).addClass("bp-hide"),this.collection.sync("create",_.pluck(this.collection.models,"id"),{success:_.bind(this.invitesSent,this),error:_.bind(this.invitesError,this),data:{message:i(this.el).find("textarea").val()}})},invitesSent:function(e){this.collection.reset(),bp.Nouveau.GroupInvites.displayFeedback(e.feedback,"success"),1!==bp.Nouveau.GroupInvites.navItems.get("invited").get("hide")||BP_Nouveau.group_invites.is_group_create||bp.Nouveau.GroupInvites.navItems.get("invited").set({active:0,hide:0})},invitesError:function(e){var t=e.type||"help";i(this.el).removeClass("bp-hide"),bp.Nouveau.GroupInvites.displayFeedback(e.feedback,t),_.isUndefined(e.users)||(1===bp.Nouveau.GroupInvites.navItems.get("invited").get("hide")&&e.users.length<this.collection.length&&bp.Nouveau.GroupInvites.navItems.get("invited").set({active:0,hide:0}),_.each(this.collection.models,function(i){-1===_.indexOf(e.users,i.get("id"))&&i.set("selected",!1)},this))},clearForm:function(e){e.preventDefault(),this.collection.reset()},cleanViews:function(){_.each(this.views._views[""],function(e){e.remove()}),bp.Nouveau.GroupInvites.displayFeedback(BP_Nouveau.group_invites.invites_form_reset,"help")}}),bp.Views.invitesForm=bp.Nouveau.GroupInvites.View.extend({tagName:"div",id:"bp-send-invites-form",template:bp.template("bp-invites-form")}),bp.Views.selectedUsers=bp.Nouveau.GroupInvites.View.extend({tagName:"ul",initialize:function(){this.cleanContent(),_.each(this.collection.models,function(e){this.views.add(new bp.Views.selectedUser({model:e}))},this)},cleanContent:function(){_.each(this.views._views[""],function(e){e.remove()})}}),bp.Views.selectedUser=bp.Nouveau.GroupInvites.View.extend({tagName:"li",template:bp.template("bp-invites-selection"),events:{click:"removeSelection"},initialize:function(){this.model.on("change:selected",this.removeView,this)},removeSelection:function(e){e.preventDefault(),this.model.set("selected",!1)},removeView:function(e){!1===e.get("selected")&&this.remove()}}),bp.Nouveau.GroupInvites.start())}(bp,jQuery);
|
1 |
+
window.wp=window.wp||{},window.bp=window.bp||{},function(e,i){"undefined"!=typeof BP_Nouveau&&(_.extend(bp,_.pick(wp,"Backbone","ajax","template")),bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Nouveau=bp.Nouveau||{},bp.Nouveau.GroupInvites={start:function(){this.scope=null,this.views=new Backbone.Collection,this.navItems=new Backbone.Collection,this.users=new bp.Collections.Users,this.invites=this.users.clone(),this.setupNav(),this.setupLoops(),this.displayFeedback(BP_Nouveau.group_invites.loading,"loading"),this.users.on("change:selected",this.addInvite,this),this.invites.on("change:selected",this.manageInvite,this),this.invites.on("add",this.invitesNav,this),this.invites.on("reset",this.hideInviteNav,this)},setupNav:function(){var e;this.nav=new bp.Views.invitesNav({collection:this.navItems}),_.each(BP_Nouveau.group_invites.nav,function(i,t){_.isObject(i)&&(e=0,0===t&&(this.scope=i.id,e=1),this.navItems.add({id:i.id,name:i.caption,href:i.href||"#members-list",active:e,hide:_.isUndefined(i.hide)?0:i.hide}))},this),this.nav.inject(".bp-invites-nav"),this.nav.on("bp-invites:confirm",this.loadConfirmView,this),this.nav.on("bp-invites:loops",this.setupLoops,this)},setupLoops:function(e){var i;e=e||this.scope,this.clearViews(),e!==this.scope&&this.displayFeedback(BP_Nouveau.group_invites.loading,"loading"),this.scope=e,i=new bp.Views.inviteUsers({collection:this.users,scope:e}),this.views.add({id:"users",view:i}),i.inject(".bp-invites-content"),this.displayFilters(this.users)},displayFilters:function(e){var i;this.filters=new Backbone.Model({page:1,total_page:0,search_terms:"",scope:this.scope}),i=new bp.Views.inviteFilters({model:this.filters,users:e}),this.views.add({id:"filters",view:i}),i.inject(".bp-invites-filters")},removeFeedback:function(){var e;_.isUndefined(this.views.get("feedback"))||((e=this.views.get("feedback")).get("view").remove(),this.views.remove({id:"feedback",view:e}))},displayFeedback:function(e,i){var t;this.removeFeedback(),e&&(t=new bp.Views.Feedback({value:e,type:i||"info"}),this.views.add({id:"feedback",view:t}),t.inject(".bp-invites-feedback"))},addInvite:function(e){if(!0===e.get("selected"))this.invites.add(e);else{var i=this.invites.get(e.get("id"));!0===i.get("selected")&&this.invites.remove(i)}},manageInvite:function(e){var i=this.users.get(e.get("id"));i&&i.set("selected",!1),this.invites.remove(e),this.invites.length||this.invites.reset()},invitesNav:function(){this.navItems.get("invites").set({active:0,hide:0})},hideInviteNav:function(){this.navItems.get("invites").set({active:0,hide:1})},clearViews:function(){_.isUndefined(this.views.models)||(_.each(this.views.models,function(e){e.get("view").remove()},this),this.views.reset())},loadConfirmView:function(){this.clearViews(),this.displayFeedback(BP_Nouveau.group_invites.invites_form,"help");var e=new bp.Views.invitesEditor({collection:this.invites});this.views.add({id:"invites",view:e}),e.inject(".bp-invites-content")}},bp.Models.User=Backbone.Model.extend({defaults:{id:0,avatar:"",name:"",selected:!1}}),bp.Collections.Users=Backbone.Collection.extend({model:bp.Models.User,initialize:function(){this.options={page:1,total_page:0,group_id:BP_Nouveau.group_invites.group_id}},sync:function(e,i,t){return t=t||{},t.context=this,t.data=t.data||{},t.data.nonce=BP_Nouveau.nonces.groups,this.options.group_id&&(t.data.group_id=this.options.group_id),"read"===e?(t.data=_.extend(t.data,{action:"groups_get_group_potential_invites"}),bp.ajax.send(t)):"create"===e?(t.data=_.extend(t.data,{action:"groups_send_group_invites",_wpnonce:BP_Nouveau.group_invites.nonces.send_invites}),i&&(t.data.users=i),bp.ajax.send(t)):"delete"===e?(t.data=_.extend(t.data,{action:"groups_delete_group_invite",_wpnonce:BP_Nouveau.group_invites.nonces.uninvite}),i&&(t.data.user=i),bp.ajax.send(t)):void 0},parse:function(e){return _.isArray(e.users)||(e.users=[e.users]),_.each(e.users,function(i,t){_.isNull(i)||(e.users[t].id=i.id,e.users[t].avatar=i.avatar,e.users[t].name=i.name)}),_.isUndefined(e.meta)||(this.options.page=e.meta.page,this.options.total_page=e.meta.total_page),e.users}}),bp.Nouveau.GroupInvites.View=bp.Backbone.View.extend({inject:function(e){this.render(),i(e).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}}),bp.Views.Feedback=bp.Nouveau.GroupInvites.View.extend({tagName:"div",className:"bp-invites-feedback",template:bp.template("bp-group-invites-feedback"),initialize:function(){this.model=new Backbone.Model({type:this.options.type||"info",message:this.options.value})}}),bp.Views.invitesNav=bp.Nouveau.GroupInvites.View.extend({tagName:"ul",className:"subnav",events:{"click .bp-invites-nav-item":"toggleView"},initialize:function(){this.collection.on("add",this.outputNav,this),this.collection.on("change:hide",this.showHideNavItem,this)},outputNav:function(e){1!==e.get("hide")&&this.views.add(new bp.Views.invitesNavItem({model:e}))},showHideNavItem:function(e){var i=null;_.each(this.views._views[""],function(t){1===t.model.get("hide")&&t.remove(),e.get("id")===t.model.get("id")&&(i=!0)}),_.isBoolean(i)||(e.set("invites_count",bp.Nouveau.GroupInvites.invites.length),this.outputNav(e))},toggleView:function(e){var t=i(e.target);e.preventDefault(),t.data("nav")||"SPAN"!==e.target.tagName||(t=i(e.target).parent());var s=t.data("nav");_.each(this.collection.models,function(e){e.id===s?(e.set("active",1),"invites"===e.id?this.trigger("bp-invites:confirm"):this.trigger("bp-invites:loops",e.id)):1!==e.get("hide")&&e.set("active",0)},this)}}),bp.Views.invitesNavItem=bp.Nouveau.GroupInvites.View.extend({tagName:"li",template:bp.template("bp-invites-nav"),initialize:function(){1===this.model.get("active")&&(this.el.className+=" current"),"invites"===this.model.get("id")&&(this.el.className+=" dynamic"),"invited"===this.model.get("id")&&(this.el.className+=" pending"),this.model.on("change:active",this.toggleClass,this),this.on("ready",this.updateCount,this),bp.Nouveau.GroupInvites.invites.on("add",this.updateCount,this),bp.Nouveau.GroupInvites.invites.on("remove",this.updateCount,this)},updateCount:function(e,t){if("invites"===this.model.get("id")){var s=_.isUndefined(t)?this.model.get("invites_count"):t.models.length;i(this.el).find("span").length?i(this.el).find("span").html(s):i(this.el).find("a").append(i('<span class="count"></span>').html(s))}},toggleClass:function(e){0===e.get("active")?i(this.el).removeClass("current"):i(this.el).addClass("current")}}),bp.Views.Pagination=bp.Nouveau.GroupInvites.View.extend({tagName:"div",className:"last",template:bp.template("bp-invites-paginate")}),bp.Views.inviteFilters=bp.Nouveau.GroupInvites.View.extend({tagName:"div",template:bp.template("bp-invites-filters"),events:{"search #group_invites_search":"resetSearchTerms","submit #group_invites_search_form":"setSearchTerms","click #bp-invites-next-page":"nextPage","click #bp-invites-prev-page":"prevPage"},initialize:function(){this.model.on("change",this.filterUsers,this),this.options.users.on("sync",this.addPaginatation,this)},addPaginatation:function(e){_.each(this.views._views[""],function(e){e.remove()}),1!==e.options.total_page&&this.views.add(new bp.Views.Pagination({model:new Backbone.Model(e.options)}))},filterUsers:function(){bp.Nouveau.GroupInvites.displayFeedback(BP_Nouveau.group_invites.loading,"loading"),this.options.users.reset(),this.options.users.fetch({data:_.pick(this.model.attributes,["scope","search_terms","page"]),success:this.usersFiltered,error:this.usersFilterError})},usersFiltered:function(){bp.Nouveau.GroupInvites.removeFeedback()},usersFilterError:function(e,i){bp.Nouveau.GroupInvites.displayFeedback(i.feedback,"error")},resetSearchTerms:function(e){e.preventDefault(),i(e.target).val()?i(e.target).closest("form").find("[type=submit]").addClass("bp-show"):i(e.target).closest("form").submit()},setSearchTerms:function(e){e.preventDefault(),this.model.set({search_terms:i(e.target).find("input[type=search]").val()||"",page:1})},nextPage:function(e){e.preventDefault(),this.model.set("page",this.model.get("page")+1)},prevPage:function(e){e.preventDefault(),this.model.set("page",this.model.get("page")-1)}}),bp.Views.inviteUsers=bp.Nouveau.GroupInvites.View.extend({tagName:"ul",className:"item-list bp-list",id:"members-list",initialize:function(){this.requestUsers(),this.collection.on("reset",this.cleanContent,this),this.collection.on("add",this.addUser,this)},requestUsers:function(){this.collection.reset(),this.collection.fetch({data:_.pick(this.options,"scope"),success:this.usersFetched,error:this.usersFetchError})},usersFetched:function(e,i){bp.Nouveau.GroupInvites.displayFeedback(i.feedback,"help")},usersFetchError:function(e,i){var t=i.type||"help";bp.Nouveau.GroupInvites.displayFeedback(i.feedback,t)},cleanContent:function(){_.each(this.views._views[""],function(e){e.remove()})},addUser:function(e){this.views.add(new bp.Views.inviteUser({model:e}))}}),bp.Views.inviteUser=bp.Nouveau.GroupInvites.View.extend({tagName:"li",template:bp.template("bp-invites-users"),events:{"click .group-add-remove-invite-button":"toggleUser","click .group-remove-invite-button":"removeInvite"},initialize:function(){bp.Nouveau.GroupInvites.invites.get(this.model.get("id"))&&this.model.set("selected",!0,{silent:!0})},render:function(){this.model.get("selected")?this.el.className="selected":this.el.className="",bp.Nouveau.GroupInvites.View.prototype.render.apply(this,arguments)},toggleUser:function(e){e.preventDefault(),!1===this.model.get("selected")?this.model.set("selected",!0):(this.model.set("selected",!1),bp.Nouveau.GroupInvites.invites.length||bp.Nouveau.GroupInvites.invites.reset()),this.render()},removeInvite:function(e){e.preventDefault();var i=this.model.collection;i.length&&i.sync("delete",this.model.get("id"),{success:_.bind(this.inviteRemoved,this),error:_.bind(this.uninviteError,this)})},inviteRemoved:function(e){var i=this.model.collection;i.length&&(i.remove(this.model),this.remove(),bp.Nouveau.GroupInvites.removeFeedback(),!1===e.has_invites&&(bp.Nouveau.GroupInvites.displayFeedback(e.feedback,"success"),bp.Nouveau.GroupInvites.navItems.get("invited").set({active:0,hide:1})))},uninviteError:function(e){bp.Nouveau.GroupInvites.displayFeedback(e.feedback,"error")}}),bp.Views.invitesEditor=bp.Nouveau.GroupInvites.View.extend({tagName:"div",id:"send-invites-editor",events:{"click #bp-invites-send":"sendInvites","click #bp-invites-reset":"clearForm"},initialize:function(){this.views.add(new bp.Views.selectedUsers({collection:this.collection})),this.views.add(new bp.Views.invitesForm),this.collection.on("reset",this.cleanViews,this)},sendInvites:function(e){e.preventDefault(),i(this.el).addClass("bp-hide"),bp.Nouveau.GroupInvites.displayFeedback(BP_Nouveau.group_invites.invites_sending,"info"),this.collection.sync("create",_.pluck(this.collection.models,"id"),{success:_.bind(this.invitesSent,this),error:_.bind(this.invitesError,this),data:{message:i(this.el).find("textarea").val()}})},invitesSent:function(e){this.collection.reset(),bp.Nouveau.GroupInvites.displayFeedback(e.feedback,"success"),1!==bp.Nouveau.GroupInvites.navItems.get("invited").get("hide")||BP_Nouveau.group_invites.is_group_create||bp.Nouveau.GroupInvites.navItems.get("invited").set({active:0,hide:0})},invitesError:function(e){var t=e.type||"help";i(this.el).removeClass("bp-hide"),bp.Nouveau.GroupInvites.displayFeedback(e.feedback,t),_.isUndefined(e.users)||(1===bp.Nouveau.GroupInvites.navItems.get("invited").get("hide")&&e.users.length<this.collection.length&&bp.Nouveau.GroupInvites.navItems.get("invited").set({active:0,hide:0}),_.each(this.collection.models,function(i){-1===_.indexOf(e.users,i.get("id"))&&i.set("selected",!1)},this))},clearForm:function(e){e.preventDefault(),this.collection.reset()},cleanViews:function(){_.each(this.views._views[""],function(e){e.remove()}),bp.Nouveau.GroupInvites.displayFeedback(BP_Nouveau.group_invites.invites_form_reset,"success")}}),bp.Views.invitesForm=bp.Nouveau.GroupInvites.View.extend({tagName:"div",id:"bp-send-invites-form",template:bp.template("bp-invites-form")}),bp.Views.selectedUsers=bp.Nouveau.GroupInvites.View.extend({tagName:"ul",initialize:function(){this.cleanContent(),_.each(this.collection.models,function(e){this.views.add(new bp.Views.selectedUser({model:e}))},this)},cleanContent:function(){_.each(this.views._views[""],function(e){e.remove()})}}),bp.Views.selectedUser=bp.Nouveau.GroupInvites.View.extend({tagName:"li",template:bp.template("bp-invites-selection"),events:{click:"removeSelection"},initialize:function(){this.model.on("change:selected",this.removeView,this),this.model.get("uninviteTooltip")||this.model.set("uninviteTooltip",BP_Nouveau.group_invites.removeUserInvite.replace("%s",this.model.get("name")),{silent:!0}),this.el.id="uninvite-user-"+this.model.get("id")},removeSelection:function(e){e.preventDefault(),this.model.set("selected",!1)},removeView:function(e){!1===e.get("selected")&&this.remove()}}),bp.Nouveau.GroupInvites.start())}(bp,jQuery);
|
bp-templates/bp-nouveau/js/buddypress-messages.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
/* global wp, bp, BP_Nouveau, _, Backbone, tinymce, tinyMCE */
|
2 |
/* jshint devel: true */
|
|
|
3 |
window.wp = window.wp || {};
|
4 |
window.bp = window.bp || {};
|
5 |
|
@@ -452,18 +453,13 @@ window.bp = window.bp || {};
|
|
452 |
bp.Views.Feedback = bp.Nouveau.Messages.View.extend( {
|
453 |
tagName: 'div',
|
454 |
className: 'bp-messages bp-user-messages-feedback',
|
|
|
455 |
|
456 |
initialize: function() {
|
457 |
-
this.
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
}
|
462 |
-
},
|
463 |
-
|
464 |
-
render: function() {
|
465 |
-
this.$el.html( this.value );
|
466 |
-
return this;
|
467 |
}
|
468 |
} );
|
469 |
|
@@ -639,8 +635,7 @@ window.bp = window.bp || {};
|
|
639 |
tagName : 'div',
|
640 |
|
641 |
events: {
|
642 |
-
'click .
|
643 |
-
'dblclick .thread-content' : 'loadSingleView'
|
644 |
},
|
645 |
|
646 |
initialize: function() {
|
@@ -671,6 +666,9 @@ window.bp = window.bp || {};
|
|
671 |
|
672 |
threadsFetched: function() {
|
673 |
bp.Nouveau.Messages.removeFeedback();
|
|
|
|
|
|
|
674 |
},
|
675 |
|
676 |
threadsFetchError: function( collection, response ) {
|
@@ -693,23 +691,13 @@ window.bp = window.bp || {};
|
|
693 |
this.views.add( '#message-threads', new bp.Views.userThread( { model: thread } ) );
|
694 |
},
|
695 |
|
696 |
-
|
697 |
-
|
698 |
-
|
699 |
-
if ( ! target.hasClass( 'thread-content' ) || $( event.target ).hasClass( 'user-link' ) ) {
|
700 |
-
return event;
|
701 |
-
}
|
702 |
-
|
703 |
-
event.preventDefault();
|
704 |
-
|
705 |
-
if ( target.parent( 'li' ).hasClass( 'selected' ) ) {
|
706 |
return;
|
707 |
}
|
708 |
|
709 |
-
var selected = target.data( 'thread-id' );
|
710 |
-
|
711 |
_.each( this.collection.models, function( thread ) {
|
712 |
-
if ( thread.id ===
|
713 |
thread.set( 'active', true );
|
714 |
} else {
|
715 |
thread.unset( 'active' );
|
@@ -717,18 +705,31 @@ window.bp = window.bp || {};
|
|
717 |
}, this );
|
718 |
},
|
719 |
|
720 |
-
|
721 |
var target = $( event.currentTarget );
|
722 |
|
723 |
-
|
724 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
725 |
}
|
|
|
726 |
|
|
|
727 |
event.preventDefault();
|
728 |
|
729 |
-
|
730 |
-
|
731 |
-
|
|
|
732 |
}
|
733 |
} );
|
734 |
|
@@ -750,6 +751,23 @@ window.bp = window.bp || {};
|
|
750 |
this.el.className += ' unread';
|
751 |
}
|
752 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
753 |
this.model.on( 'change:active', this.toggleClass, this );
|
754 |
this.model.on( 'change:unread', this.updateReadState, this );
|
755 |
this.model.on( 'change:checked', this.bulkSelect, this );
|
@@ -794,8 +812,13 @@ window.bp = window.bp || {};
|
|
794 |
|
795 |
if ( hasChecked ) {
|
796 |
$( '#user-messages-bulk-actions' ).closest( '.bulk-actions-wrap' ).removeClass( 'bp-hide' );
|
|
|
|
|
|
|
797 |
} else {
|
798 |
$( '#user-messages-bulk-actions' ).closest( '.bulk-actions-wrap' ).addClass( 'bp-hide' );
|
|
|
|
|
799 |
}
|
800 |
},
|
801 |
|
@@ -855,7 +878,8 @@ window.bp = window.bp || {};
|
|
855 |
},
|
856 |
|
857 |
doAction: function( event ) {
|
858 |
-
var action = $( event.currentTarget ).data( 'bp-action' ), self = this, options = {}, mid
|
|
|
859 |
|
860 |
if ( ! action ) {
|
861 |
return event;
|
@@ -879,7 +903,14 @@ window.bp = window.bp || {};
|
|
879 |
mid = model.get( 'starred_id' );
|
880 |
}
|
881 |
|
|
|
|
|
|
|
|
|
882 |
this.collection.doAction( action, mid, options ).done( function( response ) {
|
|
|
|
|
|
|
883 |
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
884 |
|
885 |
if ( 'delete' === action || ( 'starred' === self.collection.options.box && 'unstar' === action ) ) {
|
@@ -900,6 +931,9 @@ window.bp = window.bp || {};
|
|
900 |
model.set( _.first( response.messages ) );
|
901 |
}
|
902 |
} ).fail( function( response ) {
|
|
|
|
|
|
|
903 |
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
904 |
} );
|
905 |
}
|
@@ -925,8 +959,13 @@ window.bp = window.bp || {};
|
|
925 |
|
926 |
if ( isChecked ) {
|
927 |
$( this.el ).find( '.bulk-actions-wrap' ).removeClass( 'bp-hide' ).addClass( 'bp-show' );
|
|
|
|
|
|
|
928 |
} else {
|
929 |
$( this.el ).find( '.bulk-actions-wrap' ).addClass( 'bp-hide' );
|
|
|
|
|
930 |
}
|
931 |
|
932 |
_.each( this.collection.models, function( model ) {
|
@@ -935,7 +974,8 @@ window.bp = window.bp || {};
|
|
935 |
},
|
936 |
|
937 |
doBulkAction: function( event ) {
|
938 |
-
var self = this, options = {}, ids, attr = 'id'
|
|
|
939 |
|
940 |
event.preventDefault();
|
941 |
|
@@ -974,7 +1014,14 @@ window.bp = window.bp || {};
|
|
974 |
return [model.get( attr ), model.get( 'id' )];
|
975 |
} ) );
|
976 |
|
|
|
|
|
|
|
|
|
977 |
this.collection.doAction( action, ids, options ).done( function( response ) {
|
|
|
|
|
|
|
978 |
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
979 |
|
980 |
if ( 'delete' === action || ( 'starred' === self.collection.options.box && 'unstar' === action ) ) {
|
@@ -993,6 +1040,9 @@ window.bp = window.bp || {};
|
|
993 |
} );
|
994 |
}
|
995 |
} ).fail( function( response ) {
|
|
|
|
|
|
|
996 |
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
997 |
} );
|
998 |
}
|
@@ -1087,11 +1137,13 @@ window.bp = window.bp || {};
|
|
1087 |
template : bp.template( 'bp-messages-single-header' ),
|
1088 |
|
1089 |
events: {
|
1090 |
-
'click .actions a' : 'doAction'
|
|
|
1091 |
},
|
1092 |
|
1093 |
doAction: function( event ) {
|
1094 |
-
var action = $( event.currentTarget ).data( 'bp-action' ), self = this, options = {}
|
|
|
1095 |
|
1096 |
if ( ! action ) {
|
1097 |
return event;
|
@@ -1104,9 +1156,22 @@ window.bp = window.bp || {};
|
|
1104 |
}
|
1105 |
|
1106 |
if ( 'star' === action || 'unstar' === action ) {
|
|
|
|
|
|
|
|
|
|
|
1107 |
options.data = {
|
1108 |
'star_nonce' : this.model.get( 'star_nonce' )
|
1109 |
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1110 |
}
|
1111 |
|
1112 |
bp.Nouveau.Messages.threads.doAction( action, this.model.get( 'id' ), options ).done( function( response ) {
|
@@ -1116,10 +1181,16 @@ window.bp = window.bp || {};
|
|
1116 |
} else if ( response.messages ) {
|
1117 |
self.model.set( _.first( response.messages ) );
|
1118 |
}
|
|
|
|
|
|
|
|
|
1119 |
// Display the feedback
|
1120 |
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
1121 |
-
|
1122 |
} ).fail( function( response ) {
|
|
|
|
|
|
|
1123 |
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
1124 |
} );
|
1125 |
}
|
@@ -1199,8 +1270,10 @@ window.bp = window.bp || {};
|
|
1199 |
this.views.add( '#bp-message-thread-header', new bp.Views.userMessagesHeader( { model: this.options.thread } ) );
|
1200 |
},
|
1201 |
|
1202 |
-
messagesFetchError: function( collection ) {
|
1203 |
-
|
|
|
|
|
1204 |
},
|
1205 |
|
1206 |
addMessage: function( message ) {
|
@@ -1242,7 +1315,9 @@ window.bp = window.bp || {};
|
|
1242 |
},
|
1243 |
|
1244 |
replyError: function( response ) {
|
1245 |
-
|
|
|
|
|
1246 |
}
|
1247 |
} );
|
1248 |
|
1 |
/* global wp, bp, BP_Nouveau, _, Backbone, tinymce, tinyMCE */
|
2 |
/* jshint devel: true */
|
3 |
+
/* @version 3.0.0 */
|
4 |
window.wp = window.wp || {};
|
5 |
window.bp = window.bp || {};
|
6 |
|
453 |
bp.Views.Feedback = bp.Nouveau.Messages.View.extend( {
|
454 |
tagName: 'div',
|
455 |
className: 'bp-messages bp-user-messages-feedback',
|
456 |
+
template : bp.template( 'bp-messages-feedback' ),
|
457 |
|
458 |
initialize: function() {
|
459 |
+
this.model = new Backbone.Model( {
|
460 |
+
type: this.options.type || 'info',
|
461 |
+
message: this.options.value
|
462 |
+
} );
|
|
|
|
|
|
|
|
|
|
|
|
|
463 |
}
|
464 |
} );
|
465 |
|
635 |
tagName : 'div',
|
636 |
|
637 |
events: {
|
638 |
+
'click .subject' : 'changePreview'
|
|
|
639 |
},
|
640 |
|
641 |
initialize: function() {
|
666 |
|
667 |
threadsFetched: function() {
|
668 |
bp.Nouveau.Messages.removeFeedback();
|
669 |
+
|
670 |
+
// Inform the user about how to use the UI.
|
671 |
+
bp.Nouveau.Messages.displayFeedback( BP_Nouveau.messages.howto, 'info' );
|
672 |
},
|
673 |
|
674 |
threadsFetchError: function( collection, response ) {
|
691 |
this.views.add( '#message-threads', new bp.Views.userThread( { model: thread } ) );
|
692 |
},
|
693 |
|
694 |
+
setActiveThread: function( active ) {
|
695 |
+
if ( ! active ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
696 |
return;
|
697 |
}
|
698 |
|
|
|
|
|
699 |
_.each( this.collection.models, function( thread ) {
|
700 |
+
if ( thread.id === active ) {
|
701 |
thread.set( 'active', true );
|
702 |
} else {
|
703 |
thread.unset( 'active' );
|
705 |
}, this );
|
706 |
},
|
707 |
|
708 |
+
changePreview: function( event ) {
|
709 |
var target = $( event.currentTarget );
|
710 |
|
711 |
+
event.preventDefault();
|
712 |
+
bp.Nouveau.Messages.removeFeedback();
|
713 |
+
|
714 |
+
// If the click is done on an active conversation, open it.
|
715 |
+
if ( $( event.currentTarget ).closest( '.thread-item' ).hasClass( 'selected' ) ) {
|
716 |
+
this.loadSingleView( event );
|
717 |
+
|
718 |
+
// Otherwise activate the conversation and display its preview.
|
719 |
+
} else {
|
720 |
+
this.setActiveThread( target.closest( '.thread-content' ).data( 'thread-id' ) );
|
721 |
+
|
722 |
+
$( '.message-action-view' ).focus();
|
723 |
}
|
724 |
+
},
|
725 |
|
726 |
+
loadSingleView: function( event ) {
|
727 |
event.preventDefault();
|
728 |
|
729 |
+
bp.Nouveau.Messages.router.navigate(
|
730 |
+
'view/' + $( event.currentTarget ).closest( '.thread-content' ).data( 'thread-id' ),
|
731 |
+
{ trigger: true }
|
732 |
+
);
|
733 |
}
|
734 |
} );
|
735 |
|
751 |
this.el.className += ' unread';
|
752 |
}
|
753 |
|
754 |
+
if ( 'sentbox' === bp.Nouveau.Messages.box ) {
|
755 |
+
var recipientsCount = this.model.get( 'recipients' ).length, toOthers = '';
|
756 |
+
|
757 |
+
if ( 2 === recipientsCount ) {
|
758 |
+
toOthers = BP_Nouveau.messages.toOthers.one;
|
759 |
+
} else if ( 2 < recipientsCount ) {
|
760 |
+
toOthers = BP_Nouveau.messages.toOthers.more.replace( '%d', Number( recipientsCount - 1 ) );
|
761 |
+
}
|
762 |
+
|
763 |
+
this.model.set( {
|
764 |
+
recipientsCount: recipientsCount,
|
765 |
+
toOthers: toOthers
|
766 |
+
}, { silent: true } );
|
767 |
+
} else if ( this.model.get( 'recipientsCount' ) ) {
|
768 |
+
this.model.unset( 'recipientsCount', { silent: true } );
|
769 |
+
}
|
770 |
+
|
771 |
this.model.on( 'change:active', this.toggleClass, this );
|
772 |
this.model.on( 'change:unread', this.updateReadState, this );
|
773 |
this.model.on( 'change:checked', this.bulkSelect, this );
|
812 |
|
813 |
if ( hasChecked ) {
|
814 |
$( '#user-messages-bulk-actions' ).closest( '.bulk-actions-wrap' ).removeClass( 'bp-hide' );
|
815 |
+
|
816 |
+
// Inform the user about how to use the bulk actions.
|
817 |
+
bp.Nouveau.Messages.displayFeedback( BP_Nouveau.messages.howtoBulk, 'info' );
|
818 |
} else {
|
819 |
$( '#user-messages-bulk-actions' ).closest( '.bulk-actions-wrap' ).addClass( 'bp-hide' );
|
820 |
+
|
821 |
+
bp.Nouveau.Messages.removeFeedback();
|
822 |
}
|
823 |
},
|
824 |
|
878 |
},
|
879 |
|
880 |
doAction: function( event ) {
|
881 |
+
var action = $( event.currentTarget ).data( 'bp-action' ), self = this, options = {}, mid,
|
882 |
+
feedback = BP_Nouveau.messages.doingAction;
|
883 |
|
884 |
if ( ! action ) {
|
885 |
return event;
|
903 |
mid = model.get( 'starred_id' );
|
904 |
}
|
905 |
|
906 |
+
if ( ! _.isUndefined( feedback[ action ] ) ) {
|
907 |
+
bp.Nouveau.Messages.displayFeedback( feedback[ action ], 'loading' );
|
908 |
+
}
|
909 |
+
|
910 |
this.collection.doAction( action, mid, options ).done( function( response ) {
|
911 |
+
// Remove previous feedback.
|
912 |
+
bp.Nouveau.Messages.removeFeedback();
|
913 |
+
|
914 |
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
915 |
|
916 |
if ( 'delete' === action || ( 'starred' === self.collection.options.box && 'unstar' === action ) ) {
|
931 |
model.set( _.first( response.messages ) );
|
932 |
}
|
933 |
} ).fail( function( response ) {
|
934 |
+
// Remove previous feedback.
|
935 |
+
bp.Nouveau.Messages.removeFeedback();
|
936 |
+
|
937 |
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
938 |
} );
|
939 |
}
|
959 |
|
960 |
if ( isChecked ) {
|
961 |
$( this.el ).find( '.bulk-actions-wrap' ).removeClass( 'bp-hide' ).addClass( 'bp-show' );
|
962 |
+
|
963 |
+
// Inform the user about how to use the bulk actions.
|
964 |
+
bp.Nouveau.Messages.displayFeedback( BP_Nouveau.messages.howtoBulk, 'info' );
|
965 |
} else {
|
966 |
$( this.el ).find( '.bulk-actions-wrap' ).addClass( 'bp-hide' );
|
967 |
+
|
968 |
+
bp.Nouveau.Messages.removeFeedback();
|
969 |
}
|
970 |
|
971 |
_.each( this.collection.models, function( model ) {
|
974 |
},
|
975 |
|
976 |
doBulkAction: function( event ) {
|
977 |
+
var self = this, options = {}, ids, attr = 'id',
|
978 |
+
feedback = BP_Nouveau.messages.doingAction;
|
979 |
|
980 |
event.preventDefault();
|
981 |
|
1014 |
return [model.get( attr ), model.get( 'id' )];
|
1015 |
} ) );
|
1016 |
|
1017 |
+
if ( ! _.isUndefined( feedback[ action ] ) ) {
|
1018 |
+
bp.Nouveau.Messages.displayFeedback( feedback[ action ], 'loading' );
|
1019 |
+
}
|
1020 |
+
|
1021 |
this.collection.doAction( action, ids, options ).done( function( response ) {
|
1022 |
+
// Remove previous feedback.
|
1023 |
+
bp.Nouveau.Messages.removeFeedback();
|
1024 |
+
|
1025 |
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
1026 |
|
1027 |
if ( 'delete' === action || ( 'starred' === self.collection.options.box && 'unstar' === action ) ) {
|
1040 |
} );
|
1041 |
}
|
1042 |
} ).fail( function( response ) {
|
1043 |
+
// Remove previous feedback.
|
1044 |
+
bp.Nouveau.Messages.removeFeedback();
|
1045 |
+
|
1046 |
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
1047 |
} );
|
1048 |
}
|
1137 |
template : bp.template( 'bp-messages-single-header' ),
|
1138 |
|
1139 |
events: {
|
1140 |
+
'click .actions a' : 'doAction',
|
1141 |
+
'click .actions button' : 'doAction'
|
1142 |
},
|
1143 |
|
1144 |
doAction: function( event ) {
|
1145 |
+
var action = $( event.currentTarget ).data( 'bp-action' ), self = this, options = {},
|
1146 |
+
feedback = BP_Nouveau.messages.doingAction;
|
1147 |
|
1148 |
if ( ! action ) {
|
1149 |
return event;
|
1156 |
}
|
1157 |
|
1158 |
if ( 'star' === action || 'unstar' === action ) {
|
1159 |
+
var opposite = {
|
1160 |
+
'star' : 'unstar',
|
1161 |
+
'unstar' : 'star'
|
1162 |
+
};
|
1163 |
+
|
1164 |
options.data = {
|
1165 |
'star_nonce' : this.model.get( 'star_nonce' )
|
1166 |
};
|
1167 |
+
|
1168 |
+
$( event.currentTarget ).addClass( 'bp-hide' );
|
1169 |
+
$( event.currentTarget ).parent().find( '[data-bp-action="' + opposite[ action ] + '"]' ).removeClass( 'bp-hide' );
|
1170 |
+
|
1171 |
+
}
|
1172 |
+
|
1173 |
+
if ( ! _.isUndefined( feedback[ action ] ) ) {
|
1174 |
+
bp.Nouveau.Messages.displayFeedback( feedback[ action ], 'loading' );
|
1175 |
}
|
1176 |
|
1177 |
bp.Nouveau.Messages.threads.doAction( action, this.model.get( 'id' ), options ).done( function( response ) {
|
1181 |
} else if ( response.messages ) {
|
1182 |
self.model.set( _.first( response.messages ) );
|
1183 |
}
|
1184 |
+
|
1185 |
+
// Remove previous feedback.
|
1186 |
+
bp.Nouveau.Messages.removeFeedback();
|
1187 |
+
|
1188 |
// Display the feedback
|
1189 |
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
|
|
1190 |
} ).fail( function( response ) {
|
1191 |
+
// Remove previous feedback.
|
1192 |
+
bp.Nouveau.Messages.removeFeedback();
|
1193 |
+
|
1194 |
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
1195 |
} );
|
1196 |
}
|
1270 |
this.views.add( '#bp-message-thread-header', new bp.Views.userMessagesHeader( { model: this.options.thread } ) );
|
1271 |
},
|
1272 |
|
1273 |
+
messagesFetchError: function( collection, response ) {
|
1274 |
+
if ( response.feedback && response.type ) {
|
1275 |
+
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
1276 |
+
}
|
1277 |
},
|
1278 |
|
1279 |
addMessage: function( message ) {
|
1315 |
},
|
1316 |
|
1317 |
replyError: function( response ) {
|
1318 |
+
if ( response.feedback && response.type ) {
|
1319 |
+
bp.Nouveau.Messages.displayFeedback( response.feedback, response.type );
|
1320 |
+
}
|
1321 |
}
|
1322 |
} );
|
1323 |
|
bp-templates/bp-nouveau/js/buddypress-messages.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
window.wp=window.wp||{},window.bp=window.bp||{},function(e,s){"undefined"!=typeof BP_Nouveau&&(_.extend(bp,_.pick(wp,"Backbone","ajax","template")),bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Nouveau=bp.Nouveau||{},bp.Nouveau.Messages={start:function(){this.views=new Backbone.Collection,this.threads=new bp.Collections.Threads,this.messages=new bp.Collections.Messages,this.router=new bp.Nouveau.Messages.Router,this.box="inbox",this.setupNav(),Backbone.history.start()},setupNav:function(){var e=this;s("#compose-personal-li").addClass("last"),s("#subnav a").on("click",function(t){t.preventDefault();var a=s(t.target).prop("id");if(e.removeTinyMCE(),"compose"===a)if(_.isUndefined(e.views.get("compose")))e.router.navigate("compose",{trigger:!0});else{var i=e.views.get("compose");i.get("view").remove(),e.views.remove({id:"compose",view:i}),"single"===e.box&&(e.box="inbox"),e.router.navigate(e.box,{trigger:!0})}else e.box===a&&_.isUndefined(e.views.get("compose"))||(e.clearViews(),e.router.navigate(a,{trigger:!0}))})},removeTinyMCE:function(){"undefined"!=typeof tinymce&&null!==tinymce.get("message_content")&&tinymce.EditorManager.execCommand("mceRemoveEditor",!0,"message_content")},tinyMCEinit:function(){void 0!==window.tinyMCE&&null!==window.tinyMCE.activeEditor&&void 0!==window.tinyMCE.activeEditor&&s(window.tinyMCE.activeEditor.contentDocument.activeElement).atwho("setIframe",s("#message_content_ifr")[0]).bp_mentions({data:[],suffix:" "})},removeFeedback:function(){var e;_.isUndefined(this.views.get("feedback"))||((e=this.views.get("feedback")).get("view").remove(),this.views.remove({id:"feedback",view:e}))},displayFeedback:function(e,s){var t;this.removeFeedback(),e&&(t=new bp.Views.Feedback({value:e,type:s||"info"}),this.views.add({id:"feedback",view:t}),t.inject(".bp-messages-feedback"))},clearViews:function(){_.isUndefined(this.views.models)||(_.each(this.views.models,function(e){e.get("view").remove()},this),this.views.reset())},composeView:function(){this.clearViews();var e=new bp.Views.messageForm({model:new bp.Models.Message});this.views.add({id:"compose",view:e}),e.inject(".bp-messages-content")},threadsView:function(){s("#subnav ul li").each(function(e,t){s(t).removeClass("current selected")}),s("#subnav a#"+this.box).closest("li").addClass("current selected");var e=new bp.Views.userThreads({collection:this.threads,box:this.box});this.views.add({id:"threads",view:e}),e.inject(".bp-messages-content"),this.displayFilters(this.threads)},displayFilters:function(e){var s;this.filters=new Backbone.Model({page:1,total_page:0,search_terms:"",box:this.box}),s=new bp.Views.messageFilters({model:this.filters,threads:e}),this.views.add({id:"filters",view:s}),s.inject(".bp-messages-filters")},singleView:function(e){this.clearViews(),this.box="single";var s=new bp.Views.userMessages({collection:this.messages,thread:e});this.views.add({id:"single",view:s}),s.inject(".bp-messages-content")}},bp.Models.Message=Backbone.Model.extend({defaults:{send_to:[],subject:"",message_content:"",meta:{}},sendMessage:function(){if(!0!==this.get("sending")){this.set("sending",!0,{silent:!0});var e=bp.ajax.post("messages_send_message",_.extend({nonce:BP_Nouveau.messages.nonces.send},this.attributes));return this.set("sending",!1,{silent:!0}),e}}}),bp.Models.Thread=Backbone.Model.extend({defaults:{id:0,message_id:0,subject:"",excerpt:"",content:"",unread:!0,sender_name:"",sender_link:"",sender_avatar:"",count:0,date:0,display_date:"",recipients:[]},updateReadState:function(e){return e=e||{},e.data=_.extend(_.pick(this.attributes,["id","message_id"]),{action:"messages_thread_read",nonce:BP_Nouveau.nonces.messages}),bp.ajax.send(e)}}),bp.Models.messageThread=Backbone.Model.extend({defaults:{id:0,content:"",sender_id:0,sender_name:"",sender_link:"",sender_avatar:"",date:0,display_date:""}}),bp.Collections.Threads=Backbone.Collection.extend({model:bp.Models.Thread,initialize:function(){this.options={page:1,total_page:0}},sync:function(e,s,t){if(t=t||{},t.context=this,t.data=t.data||{},t.data.nonce=BP_Nouveau.nonces.messages,"read"===e)return t.data=_.extend(t.data,{action:"messages_get_user_message_threads"}),bp.ajax.send(t)},parse:function(e){return _.isArray(e.threads)||(e.threads=[e.threads]),_.each(e.threads,function(s,t){_.isNull(s)||(e.threads[t].id=s.id,e.threads[t].message_id=s.message_id,e.threads[t].subject=s.subject,e.threads[t].excerpt=s.excerpt,e.threads[t].content=s.content,e.threads[t].unread=s.unread,e.threads[t].sender_name=s.sender_name,e.threads[t].sender_link=s.sender_link,e.threads[t].sender_avatar=s.sender_avatar,e.threads[t].count=s.count,e.threads[t].date=new Date(s.date),e.threads[t].display_date=s.display_date,e.threads[t].recipients=s.recipients,e.threads[t].star_link=s.star_link,e.threads[t].is_starred=s.is_starred)}),_.isUndefined(e.meta)||(this.options.page=e.meta.page,this.options.total_page=e.meta.total_page),bp.Nouveau.Messages.box&&(this.options.box=bp.Nouveau.Messages.box),e.threads},doAction:function(e,s,t){return t=t||{},t.context=this,t.data=t.data||{},t.data=_.extend(t.data,{action:"messages_"+e,nonce:BP_Nouveau.nonces.messages,id:s}),bp.ajax.send(t)}}),bp.Collections.Messages=Backbone.Collection.extend({model:bp.Models.messageThread,options:{},sync:function(e,s,t){return t=t||{},t.context=this,t.data=t.data||{},t.data.nonce=BP_Nouveau.nonces.messages,"read"===e?(t.data=_.extend(t.data,{action:"messages_get_thread_messages"}),bp.ajax.send(t)):"create"===e?(t.data=_.extend(t.data,{action:"messages_send_reply",nonce:BP_Nouveau.messages.nonces.send},s||{}),bp.ajax.send(t)):void 0},parse:function(e){return _.isArray(e.messages)||(e.messages=[e.messages]),_.each(e.messages,function(s,t){_.isNull(s)||(e.messages[t].id=s.id,e.messages[t].content=s.content,e.messages[t].sender_id=s.sender_id,e.messages[t].sender_name=s.sender_name,e.messages[t].sender_link=s.sender_link,e.messages[t].sender_avatar=s.sender_avatar,e.messages[t].date=new Date(s.date),e.messages[t].display_date=s.display_date,e.messages[t].star_link=s.star_link,e.messages[t].is_starred=s.is_starred)}),_.isUndefined(e.thread)||(this.options.thread_id=e.thread.id,this.options.thread_subject=e.thread.subject,this.options.recipients=e.thread.recipients),e.messages}}),bp.Nouveau.Messages.View=bp.Backbone.View.extend({inject:function(e){this.render(),s(e).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}}),bp.Views.Feedback=bp.Nouveau.Messages.View.extend({tagName:"div",className:"bp-messages bp-user-messages-feedback",initialize:function(){this.value=this.options.value,this.options.type&&(this.el.className+=" "+this.options.type)},render:function(){return this.$el.html(this.value),this}}),bp.Views.messageEditor=bp.Nouveau.Messages.View.extend({template:bp.template("bp-messages-editor"),initialize:function(){this.on("ready",this.activateTinyMce,this)},activateTinyMce:function(){"undefined"!=typeof tinymce&&tinymce.EditorManager.execCommand("mceAddEditor",!0,"message_content")}}),bp.Views.messageForm=bp.Nouveau.Messages.View.extend({tagName:"form",id:"send_message_form",className:"standard-form",template:bp.template("bp-messages-form"),events:{"click #bp-messages-send":"sendMessage","click #bp-messages-reset":"resetForm"},initialize:function(){this.resetModel=this.model.clone(),this.views.add("#bp-message-content",new bp.Views.messageEditor),this.model.on("change",this.resetFields,this),this.on("ready",this.addMentions,this)},addMentions:function(){s(this.el).find("#send-to-input").bp_mentions({data:[],suffix:" "})},resetFields:function(e){_.each(e.previousAttributes(),function(e,t){"message_content"===t?void 0!==tinyMCE.activeEditor&&null!==tinyMCE.activeEditor&&tinyMCE.activeEditor.setContent(""):"meta"!==t&&!1!==e&&s('input[name="'+t+'"]').val("")}),s(this.el).trigger("message:reset",_.pick(e.previousAttributes(),"meta"))},sendMessage:function(e){var t={},a=[],i=this;if(e.preventDefault(),bp.Nouveau.Messages.removeFeedback(),_.each(this.$el.serializeArray(),function(e){if(e.name=e.name.replace("[]",""),-1===_.indexOf(["send_to","subject","message_content"],e.name))_.isUndefined(t[e.name])?t[e.name]=e.value:(_.isArray(t[e.name])||(t[e.name]=[t[e.name]]),t[e.name].push(e.value));else if("send_to"===e.name){var i=e.value.match(/(^|[^@\w\-])@([a-zA-Z0-9_\-]{1,50})\b/g);i?((i=i.map(function(e){return e=s.trim(e)}))&&s.isArray(i)||a.push("send_to"),this.model.set("send_to",i,{silent:!0})):a.push("send_to")}else"message_content"===e.name&&void 0!==tinyMCE.activeEditor&&(e.value=tinyMCE.activeEditor.getContent()),e.value?this.model.set(e.name,e.value,{silent:!0}):a.push(e.name)},this),a.length){var n="";return _.each(a,function(e){n+='<div class="bp-feedback error"><span class="bp-icon" aria-hidden="true"></span><p>'+BP_Nouveau.messages.errors[e]+"</p></div>"}),void bp.Nouveau.Messages.displayFeedback(n,"error")}this.model.set("meta",t,{silent:!0}),this.model.sendMessage().done(function(e){i.model.set(i.resetModel),bp.Nouveau.Messages.displayFeedback(e.feedback,e.type),bp.Nouveau.Messages.removeTinyMCE();var s=bp.Nouveau.Messages.views.get("compose");s.get("view").remove(),bp.Nouveau.Messages.views.remove({id:"compose",view:s}),bp.Nouveau.Messages.router.navigate("sentbox",{trigger:!0})}).fail(function(e){e.feedback&&bp.Nouveau.Messages.displayFeedback(e.feedback,e.type)})},resetForm:function(e){e.preventDefault(),this.model.set(this.resetModel)}}),bp.Views.userThreads=bp.Nouveau.Messages.View.extend({tagName:"div",events:{"click .thread-content":"changePreview","dblclick .thread-content":"loadSingleView"},initialize:function(){this.views.add(new bp.Nouveau.Messages.View({tagName:"ul",id:"message-threads",className:"message-lists"})),this.views.add(new bp.Views.previewThread({collection:this.collection})),this.requestThreads(),this.collection.on("reset",this.cleanContent,this),this.collection.on("add",this.addThread,this)},requestThreads:function(){this.collection.reset(),bp.Nouveau.Messages.displayFeedback(BP_Nouveau.messages.loading,"loading"),this.collection.fetch({data:_.pick(this.options,"box"),success:this.threadsFetched,error:this.threadsFetchError})},threadsFetched:function(){bp.Nouveau.Messages.removeFeedback()},threadsFetchError:function(e,s){bp.Nouveau.Messages.displayFeedback(s.feedback,s.type)},cleanContent:function(){_.each(this.views._views["#message-threads"],function(e){e.remove()})},addThread:function(e){var s=this.collection.findWhere({active:!0});_.isUndefined(s)&&e.set("active",!0),this.views.add("#message-threads",new bp.Views.userThread({model:e}))},changePreview:function(e){var t=s(e.currentTarget);if(!t.hasClass("thread-content")||s(e.target).hasClass("user-link"))return e;if(e.preventDefault(),!t.parent("li").hasClass("selected")){var a=t.data("thread-id");_.each(this.collection.models,function(e){e.id===a?e.set("active",!0):e.unset("active")},this)}},loadSingleView:function(e){var t=s(e.currentTarget);if(!t.hasClass("thread-content")||s(e.target).hasClass("user-link"))return e;e.preventDefault();var a=t.data("thread-id");bp.Nouveau.Messages.router.navigate("view/"+a,{trigger:!0})}}),bp.Views.userThread=bp.Nouveau.Messages.View.extend({tagName:"li",template:bp.template("bp-messages-thread"),className:"thread-item",events:{"click .message-check":"singleSelect"},initialize:function(){this.model.get("active")&&(this.el.className+=" selected"),this.model.get("unread")&&(this.el.className+=" unread"),this.model.on("change:active",this.toggleClass,this),this.model.on("change:unread",this.updateReadState,this),this.model.on("change:checked",this.bulkSelect,this),this.model.on("remove",this.cleanView,this)},toggleClass:function(e){!0===e.get("active")?s(this.el).addClass("selected"):s(this.el).removeClass("selected")},updateReadState:function(e,t){!1===t?s(this.el).removeClass("unread"):s(this.el).addClass("unread")},bulkSelect:function(e){s("#bp-message-thread-"+e.get("id")).length&&s("#bp-message-thread-"+e.get("id")).prop("checked",e.get("checked"))},singleSelect:function(e){var t=s(e.currentTarget).prop("checked");this.model.set("checked",t,{silent:!0});var a=!1;_.each(this.model.collection.models,function(e){!0===e.get("checked")&&(a=!0)}),a?s("#user-messages-bulk-actions").closest(".bulk-actions-wrap").removeClass("bp-hide"):s("#user-messages-bulk-actions").closest(".bulk-actions-wrap").addClass("bp-hide")},cleanView:function(){this.views.view.remove()}}),bp.Views.previewThread=bp.Nouveau.Messages.View.extend({tagName:"div",id:"thread-preview",template:bp.template("bp-messages-preview"),events:{"click .actions button":"doAction","click .actions a":"doAction"},initialize:function(){this.collection.on("change:active",this.setPreview,this),this.collection.on("change:is_starred",this.updatePreview,this),this.collection.on("reset",this.emptyPreview,this),this.collection.on("remove",this.emptyPreview,this)},render:function(){_.isUndefined(this.model)||!0!==this.model.get("active")||bp.Nouveau.Messages.View.prototype.render.apply(this,arguments)},setPreview:function(e){var s=this;this.model=e,!0===e.get("unread")&&this.model.updateReadState().done(function(){s.model.set("unread",!1)}),this.render()},updatePreview:function(e){!0===e.get("active")&&this.render()},emptyPreview:function(){s(this.el).html("")},doAction:function(e){var t,a=s(e.currentTarget).data("bp-action"),i=this,n={};if(!a)return e;e.preventDefault();var o=this.collection.findWhere({active:!0});o.get("id")&&(t=o.get("id"),"star"!==a&&"unstar"!==a||(n.data={star_nonce:o.get("star_nonce")},t=o.get("starred_id")),this.collection.doAction(a,t,n).done(function(e){bp.Nouveau.Messages.displayFeedback(e.feedback,e.type),"delete"===a||"starred"===i.collection.options.box&&"unstar"===a?(i.collection.remove(o.get("id")),i.collection.fetch({data:_.pick(i.collection.options,["box","search_terms","page"])})):"unstar"===a||"star"===a?(_.each(e.messages,function(e){o.set(e)}),o.set(_.first(e.messages))):e.messages&&o.set(_.first(e.messages))}).fail(function(e){bp.Nouveau.Messages.displayFeedback(e.feedback,e.type)}))}}),bp.Views.Pagination=bp.Nouveau.Messages.View.extend({tagName:"li",className:"last filter",template:bp.template("bp-messages-paginate")}),bp.Views.BulkActions=bp.Nouveau.Messages.View.extend({tagName:"div",template:bp.template("bp-bulk-actions"),events:{"click #user_messages_select_all":"bulkSelect","click .bulk-apply":"doBulkAction"},bulkSelect:function(e){var t=s(e.currentTarget).prop("checked");t?s(this.el).find(".bulk-actions-wrap").removeClass("bp-hide").addClass("bp-show"):s(this.el).find(".bulk-actions-wrap").addClass("bp-hide"),_.each(this.collection.models,function(e){e.set("checked",t)})},doBulkAction:function(e){var t,a=this,i={},n="id";e.preventDefault();var o=s("#user-messages-bulk-actions").val();if(o){var d=this.collection.where({checked:!0}),r=_.map(d,function(e){return e.get("id")});t=r,"star"!==o&&"unstar"!==o||(1===(t=_.map(d,function(e){return e.get("starred_id")})).length&&(i.data={star_nonce:d[0].get("star_nonce")}),n="starred_id");var c=_.object(_.map(d,function(e){return[e.get(n),e.get("id")]}));this.collection.doAction(o,t,i).done(function(e){bp.Nouveau.Messages.displayFeedback(e.feedback,e.type),"delete"===o||"starred"===a.collection.options.box&&"unstar"===o?(a.collection.remove(r),a.collection.fetch({data:_.pick(a.collection.options,["box","search_terms","page"])})):e.messages&&_.each(e.messages,function(e,s){a.collection.get(c[s]).set(e)})}).fail(function(e){bp.Nouveau.Messages.displayFeedback(e.feedback,e.type)})}}}),bp.Views.messageFilters=bp.Nouveau.Messages.View.extend({tagName:"ul",template:bp.template("bp-messages-filters"),events:{"search #user_messages_search":"resetSearchTerms","submit #user_messages_search_form":"setSearchTerms","click #bp-messages-next-page":"nextPage","click #bp-messages-prev-page":"prevPage"},initialize:function(){this.model.on("change",this.filterThreads,this),this.options.threads.on("sync",this.addPaginatation,this)},addPaginatation:function(e){_.each(this.views._views,function(e){_.isUndefined(e)||_.first(e).remove()}),this.views.add(new bp.Views.Pagination({model:new Backbone.Model(e.options)})),this.views.add(".user-messages-bulk-actions",new bp.Views.BulkActions({model:new Backbone.Model(BP_Nouveau.messages.bulk_actions),collection:e}))},filterThreads:function(){bp.Nouveau.Messages.displayFeedback(BP_Nouveau.messages.loading,"loading"),this.options.threads.reset(),_.extend(this.options.threads.options,_.pick(this.model.attributes,["box","search_terms"])),this.options.threads.fetch({data:_.pick(this.model.attributes,["box","search_terms","page"]),success:this.threadsFiltered,error:this.threadsFilterError})},threadsFiltered:function(){bp.Nouveau.Messages.removeFeedback()},threadsFilterError:function(e,s){bp.Nouveau.Messages.displayFeedback(s.feedback,s.type)},resetSearchTerms:function(e){e.preventDefault(),s(e.target).val()?s(e.target).closest("form").find("[type=submit]").addClass("bp-show").removeClass("bp-hide"):s(e.target).closest("form").submit()},setSearchTerms:function(e){e.preventDefault(),this.model.set({search_terms:s(e.target).find("input[type=search]").val()||"",page:1})},nextPage:function(e){e.preventDefault(),this.model.set("page",this.model.get("page")+1)},prevPage:function(e){e.preventDefault(),this.model.set("page",this.model.get("page")-1)}}),bp.Views.userMessagesHeader=bp.Nouveau.Messages.View.extend({tagName:"div",template:bp.template("bp-messages-single-header"),events:{"click .actions a":"doAction"},doAction:function(e){var t=s(e.currentTarget).data("bp-action"),a=this,i={};if(!t)return e;e.preventDefault(),this.model.get("id")&&("star"!==t&&"unstar"!==t||(i.data={star_nonce:this.model.get("star_nonce")}),bp.Nouveau.Messages.threads.doAction(t,this.model.get("id"),i).done(function(e){"delete"===t?bp.Nouveau.Messages.clearViews():e.messages&&a.model.set(_.first(e.messages)),bp.Nouveau.Messages.displayFeedback(e.feedback,e.type)}).fail(function(e){bp.Nouveau.Messages.displayFeedback(e.feedback,e.type)}))}}),bp.Views.userMessagesEntry=bp.Views.userMessagesHeader.extend({tagName:"li",template:bp.template("bp-messages-single-list"),events:{"click [data-bp-action]":"doAction"},initialize:function(){this.model.on("change:is_starred",this.updateMessage,this)},updateMessage:function(e){this.model.get("id")===e.get("id")&&this.render()}}),bp.Views.userMessages=bp.Nouveau.Messages.View.extend({tagName:"div",template:bp.template("bp-messages-single"),initialize:function(){this.requestMessages(),this.reply=new bp.Models.messageThread,this.collection.on("add",this.addMessage,this),this.views.add("#bp-message-content",new bp.Views.messageEditor)},events:{"click #send_reply_button":"sendReply"},requestMessages:function(){var e={};this.collection.reset(),bp.Nouveau.Messages.displayFeedback(BP_Nouveau.messages.loading,"loading"),_.isUndefined(this.options.thread.attributes)?e.id=this.options.thread.id:(e.id=this.options.thread.get("id"),e.js_thread=!_.isEmpty(this.options.thread.get("subject"))),this.collection.fetch({data:e,success:_.bind(this.messagesFetched,this),error:this.messagesFetchError})},messagesFetched:function(e,s){_.isUndefined(s.thread)||(this.options.thread=new Backbone.Model(s.thread)),bp.Nouveau.Messages.removeFeedback(),this.views.add("#bp-message-thread-header",new bp.Views.userMessagesHeader({model:this.options.thread}))},messagesFetchError:function(e){console.log(e)},addMessage:function(e){this.views.add("#bp-message-thread-list",new bp.Views.userMessagesEntry({model:e}))},addEditor:function(){this.views.add("#bp-message-content",new bp.Views.messageEditor)},sendReply:function(e){e.preventDefault(),!0!==this.reply.get("sending")&&(this.reply.set({thread_id:this.options.thread.get("id"),content:tinyMCE.activeEditor.getContent(),sending:!0}),this.collection.sync("create",_.pick(this.reply.attributes,["thread_id","content"]),{success:_.bind(this.replySent,this),error:_.bind(this.replyError,this)}))},replySent:function(e){var s=this.collection.parse(e);tinyMCE.activeEditor.setContent(""),this.reply.set("sending",!1),this.collection.add(_.first(s))},replyError:function(e){console.log(e)}}),bp.Nouveau.Messages.Router=Backbone.Router.extend({routes:{compose:"composeMessage","view/:id":"viewMessage",sentbox:"sentboxView",starred:"starredView",inbox:"inboxView","":"inboxView"},composeMessage:function(){bp.Nouveau.Messages.composeView()},viewMessage:function(e){if(e){var s=bp.Nouveau.Messages.threads.get(e);void 0===s&&((s={}).id=e),bp.Nouveau.Messages.singleView(s)}},sentboxView:function(){bp.Nouveau.Messages.box="sentbox",bp.Nouveau.Messages.threadsView()},starredView:function(){bp.Nouveau.Messages.box="starred",bp.Nouveau.Messages.threadsView()},inboxView:function(){bp.Nouveau.Messages.box="inbox",bp.Nouveau.Messages.threadsView()}}),bp.Nouveau.Messages.start())}(bp,jQuery);
|
1 |
+
window.wp=window.wp||{},window.bp=window.bp||{},function(e,s){"undefined"!=typeof BP_Nouveau&&(_.extend(bp,_.pick(wp,"Backbone","ajax","template")),bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Nouveau=bp.Nouveau||{},bp.Nouveau.Messages={start:function(){this.views=new Backbone.Collection,this.threads=new bp.Collections.Threads,this.messages=new bp.Collections.Messages,this.router=new bp.Nouveau.Messages.Router,this.box="inbox",this.setupNav(),Backbone.history.start()},setupNav:function(){var e=this;s("#compose-personal-li").addClass("last"),s("#subnav a").on("click",function(t){t.preventDefault();var a=s(t.target).prop("id");if(e.removeTinyMCE(),"compose"===a)if(_.isUndefined(e.views.get("compose")))e.router.navigate("compose",{trigger:!0});else{var i=e.views.get("compose");i.get("view").remove(),e.views.remove({id:"compose",view:i}),"single"===e.box&&(e.box="inbox"),e.router.navigate(e.box,{trigger:!0})}else e.box===a&&_.isUndefined(e.views.get("compose"))||(e.clearViews(),e.router.navigate(a,{trigger:!0}))})},removeTinyMCE:function(){"undefined"!=typeof tinymce&&null!==tinymce.get("message_content")&&tinymce.EditorManager.execCommand("mceRemoveEditor",!0,"message_content")},tinyMCEinit:function(){void 0!==window.tinyMCE&&null!==window.tinyMCE.activeEditor&&void 0!==window.tinyMCE.activeEditor&&s(window.tinyMCE.activeEditor.contentDocument.activeElement).atwho("setIframe",s("#message_content_ifr")[0]).bp_mentions({data:[],suffix:" "})},removeFeedback:function(){var e;_.isUndefined(this.views.get("feedback"))||((e=this.views.get("feedback")).get("view").remove(),this.views.remove({id:"feedback",view:e}))},displayFeedback:function(e,s){var t;this.removeFeedback(),e&&(t=new bp.Views.Feedback({value:e,type:s||"info"}),this.views.add({id:"feedback",view:t}),t.inject(".bp-messages-feedback"))},clearViews:function(){_.isUndefined(this.views.models)||(_.each(this.views.models,function(e){e.get("view").remove()},this),this.views.reset())},composeView:function(){this.clearViews();var e=new bp.Views.messageForm({model:new bp.Models.Message});this.views.add({id:"compose",view:e}),e.inject(".bp-messages-content")},threadsView:function(){s("#subnav ul li").each(function(e,t){s(t).removeClass("current selected")}),s("#subnav a#"+this.box).closest("li").addClass("current selected");var e=new bp.Views.userThreads({collection:this.threads,box:this.box});this.views.add({id:"threads",view:e}),e.inject(".bp-messages-content"),this.displayFilters(this.threads)},displayFilters:function(e){var s;this.filters=new Backbone.Model({page:1,total_page:0,search_terms:"",box:this.box}),s=new bp.Views.messageFilters({model:this.filters,threads:e}),this.views.add({id:"filters",view:s}),s.inject(".bp-messages-filters")},singleView:function(e){this.clearViews(),this.box="single";var s=new bp.Views.userMessages({collection:this.messages,thread:e});this.views.add({id:"single",view:s}),s.inject(".bp-messages-content")}},bp.Models.Message=Backbone.Model.extend({defaults:{send_to:[],subject:"",message_content:"",meta:{}},sendMessage:function(){if(!0!==this.get("sending")){this.set("sending",!0,{silent:!0});var e=bp.ajax.post("messages_send_message",_.extend({nonce:BP_Nouveau.messages.nonces.send},this.attributes));return this.set("sending",!1,{silent:!0}),e}}}),bp.Models.Thread=Backbone.Model.extend({defaults:{id:0,message_id:0,subject:"",excerpt:"",content:"",unread:!0,sender_name:"",sender_link:"",sender_avatar:"",count:0,date:0,display_date:"",recipients:[]},updateReadState:function(e){return e=e||{},e.data=_.extend(_.pick(this.attributes,["id","message_id"]),{action:"messages_thread_read",nonce:BP_Nouveau.nonces.messages}),bp.ajax.send(e)}}),bp.Models.messageThread=Backbone.Model.extend({defaults:{id:0,content:"",sender_id:0,sender_name:"",sender_link:"",sender_avatar:"",date:0,display_date:""}}),bp.Collections.Threads=Backbone.Collection.extend({model:bp.Models.Thread,initialize:function(){this.options={page:1,total_page:0}},sync:function(e,s,t){if(t=t||{},t.context=this,t.data=t.data||{},t.data.nonce=BP_Nouveau.nonces.messages,"read"===e)return t.data=_.extend(t.data,{action:"messages_get_user_message_threads"}),bp.ajax.send(t)},parse:function(e){return _.isArray(e.threads)||(e.threads=[e.threads]),_.each(e.threads,function(s,t){_.isNull(s)||(e.threads[t].id=s.id,e.threads[t].message_id=s.message_id,e.threads[t].subject=s.subject,e.threads[t].excerpt=s.excerpt,e.threads[t].content=s.content,e.threads[t].unread=s.unread,e.threads[t].sender_name=s.sender_name,e.threads[t].sender_link=s.sender_link,e.threads[t].sender_avatar=s.sender_avatar,e.threads[t].count=s.count,e.threads[t].date=new Date(s.date),e.threads[t].display_date=s.display_date,e.threads[t].recipients=s.recipients,e.threads[t].star_link=s.star_link,e.threads[t].is_starred=s.is_starred)}),_.isUndefined(e.meta)||(this.options.page=e.meta.page,this.options.total_page=e.meta.total_page),bp.Nouveau.Messages.box&&(this.options.box=bp.Nouveau.Messages.box),e.threads},doAction:function(e,s,t){return t=t||{},t.context=this,t.data=t.data||{},t.data=_.extend(t.data,{action:"messages_"+e,nonce:BP_Nouveau.nonces.messages,id:s}),bp.ajax.send(t)}}),bp.Collections.Messages=Backbone.Collection.extend({model:bp.Models.messageThread,options:{},sync:function(e,s,t){return t=t||{},t.context=this,t.data=t.data||{},t.data.nonce=BP_Nouveau.nonces.messages,"read"===e?(t.data=_.extend(t.data,{action:"messages_get_thread_messages"}),bp.ajax.send(t)):"create"===e?(t.data=_.extend(t.data,{action:"messages_send_reply",nonce:BP_Nouveau.messages.nonces.send},s||{}),bp.ajax.send(t)):void 0},parse:function(e){return _.isArray(e.messages)||(e.messages=[e.messages]),_.each(e.messages,function(s,t){_.isNull(s)||(e.messages[t].id=s.id,e.messages[t].content=s.content,e.messages[t].sender_id=s.sender_id,e.messages[t].sender_name=s.sender_name,e.messages[t].sender_link=s.sender_link,e.messages[t].sender_avatar=s.sender_avatar,e.messages[t].date=new Date(s.date),e.messages[t].display_date=s.display_date,e.messages[t].star_link=s.star_link,e.messages[t].is_starred=s.is_starred)}),_.isUndefined(e.thread)||(this.options.thread_id=e.thread.id,this.options.thread_subject=e.thread.subject,this.options.recipients=e.thread.recipients),e.messages}}),bp.Nouveau.Messages.View=bp.Backbone.View.extend({inject:function(e){this.render(),s(e).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}}),bp.Views.Feedback=bp.Nouveau.Messages.View.extend({tagName:"div",className:"bp-messages bp-user-messages-feedback",template:bp.template("bp-messages-feedback"),initialize:function(){this.model=new Backbone.Model({type:this.options.type||"info",message:this.options.value})}}),bp.Views.messageEditor=bp.Nouveau.Messages.View.extend({template:bp.template("bp-messages-editor"),initialize:function(){this.on("ready",this.activateTinyMce,this)},activateTinyMce:function(){"undefined"!=typeof tinymce&&tinymce.EditorManager.execCommand("mceAddEditor",!0,"message_content")}}),bp.Views.messageForm=bp.Nouveau.Messages.View.extend({tagName:"form",id:"send_message_form",className:"standard-form",template:bp.template("bp-messages-form"),events:{"click #bp-messages-send":"sendMessage","click #bp-messages-reset":"resetForm"},initialize:function(){this.resetModel=this.model.clone(),this.views.add("#bp-message-content",new bp.Views.messageEditor),this.model.on("change",this.resetFields,this),this.on("ready",this.addMentions,this)},addMentions:function(){s(this.el).find("#send-to-input").bp_mentions({data:[],suffix:" "})},resetFields:function(e){_.each(e.previousAttributes(),function(e,t){"message_content"===t?void 0!==tinyMCE.activeEditor&&null!==tinyMCE.activeEditor&&tinyMCE.activeEditor.setContent(""):"meta"!==t&&!1!==e&&s('input[name="'+t+'"]').val("")}),s(this.el).trigger("message:reset",_.pick(e.previousAttributes(),"meta"))},sendMessage:function(e){var t={},a=[],i=this;if(e.preventDefault(),bp.Nouveau.Messages.removeFeedback(),_.each(this.$el.serializeArray(),function(e){if(e.name=e.name.replace("[]",""),-1===_.indexOf(["send_to","subject","message_content"],e.name))_.isUndefined(t[e.name])?t[e.name]=e.value:(_.isArray(t[e.name])||(t[e.name]=[t[e.name]]),t[e.name].push(e.value));else if("send_to"===e.name){var i=e.value.match(/(^|[^@\w\-])@([a-zA-Z0-9_\-]{1,50})\b/g);i?((i=i.map(function(e){return e=s.trim(e)}))&&s.isArray(i)||a.push("send_to"),this.model.set("send_to",i,{silent:!0})):a.push("send_to")}else"message_content"===e.name&&void 0!==tinyMCE.activeEditor&&(e.value=tinyMCE.activeEditor.getContent()),e.value?this.model.set(e.name,e.value,{silent:!0}):a.push(e.name)},this),a.length){var n="";return _.each(a,function(e){n+='<div class="bp-feedback error"><span class="bp-icon" aria-hidden="true"></span><p>'+BP_Nouveau.messages.errors[e]+"</p></div>"}),void bp.Nouveau.Messages.displayFeedback(n,"error")}this.model.set("meta",t,{silent:!0}),this.model.sendMessage().done(function(e){i.model.set(i.resetModel),bp.Nouveau.Messages.displayFeedback(e.feedback,e.type),bp.Nouveau.Messages.removeTinyMCE();var s=bp.Nouveau.Messages.views.get("compose");s.get("view").remove(),bp.Nouveau.Messages.views.remove({id:"compose",view:s}),bp.Nouveau.Messages.router.navigate("sentbox",{trigger:!0})}).fail(function(e){e.feedback&&bp.Nouveau.Messages.displayFeedback(e.feedback,e.type)})},resetForm:function(e){e.preventDefault(),this.model.set(this.resetModel)}}),bp.Views.userThreads=bp.Nouveau.Messages.View.extend({tagName:"div",events:{"click .subject":"changePreview"},initialize:function(){this.views.add(new bp.Nouveau.Messages.View({tagName:"ul",id:"message-threads",className:"message-lists"})),this.views.add(new bp.Views.previewThread({collection:this.collection})),this.requestThreads(),this.collection.on("reset",this.cleanContent,this),this.collection.on("add",this.addThread,this)},requestThreads:function(){this.collection.reset(),bp.Nouveau.Messages.displayFeedback(BP_Nouveau.messages.loading,"loading"),this.collection.fetch({data:_.pick(this.options,"box"),success:this.threadsFetched,error:this.threadsFetchError})},threadsFetched:function(){bp.Nouveau.Messages.removeFeedback(),bp.Nouveau.Messages.displayFeedback(BP_Nouveau.messages.howto,"info")},threadsFetchError:function(e,s){bp.Nouveau.Messages.displayFeedback(s.feedback,s.type)},cleanContent:function(){_.each(this.views._views["#message-threads"],function(e){e.remove()})},addThread:function(e){var s=this.collection.findWhere({active:!0});_.isUndefined(s)&&e.set("active",!0),this.views.add("#message-threads",new bp.Views.userThread({model:e}))},setActiveThread:function(e){e&&_.each(this.collection.models,function(s){s.id===e?s.set("active",!0):s.unset("active")},this)},changePreview:function(e){var t=s(e.currentTarget);e.preventDefault(),bp.Nouveau.Messages.removeFeedback(),s(e.currentTarget).closest(".thread-item").hasClass("selected")?this.loadSingleView(e):(this.setActiveThread(t.closest(".thread-content").data("thread-id")),s(".message-action-view").focus())},loadSingleView:function(e){e.preventDefault(),bp.Nouveau.Messages.router.navigate("view/"+s(e.currentTarget).closest(".thread-content").data("thread-id"),{trigger:!0})}}),bp.Views.userThread=bp.Nouveau.Messages.View.extend({tagName:"li",template:bp.template("bp-messages-thread"),className:"thread-item",events:{"click .message-check":"singleSelect"},initialize:function(){if(this.model.get("active")&&(this.el.className+=" selected"),this.model.get("unread")&&(this.el.className+=" unread"),"sentbox"===bp.Nouveau.Messages.box){var e=this.model.get("recipients").length,s="";2===e?s=BP_Nouveau.messages.toOthers.one:2<e&&(s=BP_Nouveau.messages.toOthers.more.replace("%d",Number(e-1))),this.model.set({recipientsCount:e,toOthers:s},{silent:!0})}else this.model.get("recipientsCount")&&this.model.unset("recipientsCount",{silent:!0});this.model.on("change:active",this.toggleClass,this),this.model.on("change:unread",this.updateReadState,this),this.model.on("change:checked",this.bulkSelect,this),this.model.on("remove",this.cleanView,this)},toggleClass:function(e){!0===e.get("active")?s(this.el).addClass("selected"):s(this.el).removeClass("selected")},updateReadState:function(e,t){!1===t?s(this.el).removeClass("unread"):s(this.el).addClass("unread")},bulkSelect:function(e){s("#bp-message-thread-"+e.get("id")).length&&s("#bp-message-thread-"+e.get("id")).prop("checked",e.get("checked"))},singleSelect:function(e){var t=s(e.currentTarget).prop("checked");this.model.set("checked",t,{silent:!0});var a=!1;_.each(this.model.collection.models,function(e){!0===e.get("checked")&&(a=!0)}),a?(s("#user-messages-bulk-actions").closest(".bulk-actions-wrap").removeClass("bp-hide"),bp.Nouveau.Messages.displayFeedback(BP_Nouveau.messages.howtoBulk,"info")):(s("#user-messages-bulk-actions").closest(".bulk-actions-wrap").addClass("bp-hide"),bp.Nouveau.Messages.removeFeedback())},cleanView:function(){this.views.view.remove()}}),bp.Views.previewThread=bp.Nouveau.Messages.View.extend({tagName:"div",id:"thread-preview",template:bp.template("bp-messages-preview"),events:{"click .actions button":"doAction","click .actions a":"doAction"},initialize:function(){this.collection.on("change:active",this.setPreview,this),this.collection.on("change:is_starred",this.updatePreview,this),this.collection.on("reset",this.emptyPreview,this),this.collection.on("remove",this.emptyPreview,this)},render:function(){_.isUndefined(this.model)||!0!==this.model.get("active")||bp.Nouveau.Messages.View.prototype.render.apply(this,arguments)},setPreview:function(e){var s=this;this.model=e,!0===e.get("unread")&&this.model.updateReadState().done(function(){s.model.set("unread",!1)}),this.render()},updatePreview:function(e){!0===e.get("active")&&this.render()},emptyPreview:function(){s(this.el).html("")},doAction:function(e){var t,a=s(e.currentTarget).data("bp-action"),i=this,n={},o=BP_Nouveau.messages.doingAction;if(!a)return e;e.preventDefault();var d=this.collection.findWhere({active:!0});d.get("id")&&(t=d.get("id"),"star"!==a&&"unstar"!==a||(n.data={star_nonce:d.get("star_nonce")},t=d.get("starred_id")),_.isUndefined(o[a])||bp.Nouveau.Messages.displayFeedback(o[a],"loading"),this.collection.doAction(a,t,n).done(function(e){bp.Nouveau.Messages.removeFeedback(),bp.Nouveau.Messages.displayFeedback(e.feedback,e.type),"delete"===a||"starred"===i.collection.options.box&&"unstar"===a?(i.collection.remove(d.get("id")),i.collection.fetch({data:_.pick(i.collection.options,["box","search_terms","page"])})):"unstar"===a||"star"===a?(_.each(e.messages,function(e){d.set(e)}),d.set(_.first(e.messages))):e.messages&&d.set(_.first(e.messages))}).fail(function(e){bp.Nouveau.Messages.removeFeedback(),bp.Nouveau.Messages.displayFeedback(e.feedback,e.type)}))}}),bp.Views.Pagination=bp.Nouveau.Messages.View.extend({tagName:"li",className:"last filter",template:bp.template("bp-messages-paginate")}),bp.Views.BulkActions=bp.Nouveau.Messages.View.extend({tagName:"div",template:bp.template("bp-bulk-actions"),events:{"click #user_messages_select_all":"bulkSelect","click .bulk-apply":"doBulkAction"},bulkSelect:function(e){var t=s(e.currentTarget).prop("checked");t?(s(this.el).find(".bulk-actions-wrap").removeClass("bp-hide").addClass("bp-show"),bp.Nouveau.Messages.displayFeedback(BP_Nouveau.messages.howtoBulk,"info")):(s(this.el).find(".bulk-actions-wrap").addClass("bp-hide"),bp.Nouveau.Messages.removeFeedback()),_.each(this.collection.models,function(e){e.set("checked",t)})},doBulkAction:function(e){var t,a=this,i={},n="id",o=BP_Nouveau.messages.doingAction;e.preventDefault();var d=s("#user-messages-bulk-actions").val();if(d){var r=this.collection.where({checked:!0}),c=_.map(r,function(e){return e.get("id")});t=c,"star"!==d&&"unstar"!==d||(1===(t=_.map(r,function(e){return e.get("starred_id")})).length&&(i.data={star_nonce:r[0].get("star_nonce")}),n="starred_id");var l=_.object(_.map(r,function(e){return[e.get(n),e.get("id")]}));_.isUndefined(o[d])||bp.Nouveau.Messages.displayFeedback(o[d],"loading"),this.collection.doAction(d,t,i).done(function(e){bp.Nouveau.Messages.removeFeedback(),bp.Nouveau.Messages.displayFeedback(e.feedback,e.type),"delete"===d||"starred"===a.collection.options.box&&"unstar"===d?(a.collection.remove(c),a.collection.fetch({data:_.pick(a.collection.options,["box","search_terms","page"])})):e.messages&&_.each(e.messages,function(e,s){a.collection.get(l[s]).set(e)})}).fail(function(e){bp.Nouveau.Messages.removeFeedback(),bp.Nouveau.Messages.displayFeedback(e.feedback,e.type)})}}}),bp.Views.messageFilters=bp.Nouveau.Messages.View.extend({tagName:"ul",template:bp.template("bp-messages-filters"),events:{"search #user_messages_search":"resetSearchTerms","submit #user_messages_search_form":"setSearchTerms","click #bp-messages-next-page":"nextPage","click #bp-messages-prev-page":"prevPage"},initialize:function(){this.model.on("change",this.filterThreads,this),this.options.threads.on("sync",this.addPaginatation,this)},addPaginatation:function(e){_.each(this.views._views,function(e){_.isUndefined(e)||_.first(e).remove()}),this.views.add(new bp.Views.Pagination({model:new Backbone.Model(e.options)})),this.views.add(".user-messages-bulk-actions",new bp.Views.BulkActions({model:new Backbone.Model(BP_Nouveau.messages.bulk_actions),collection:e}))},filterThreads:function(){bp.Nouveau.Messages.displayFeedback(BP_Nouveau.messages.loading,"loading"),this.options.threads.reset(),_.extend(this.options.threads.options,_.pick(this.model.attributes,["box","search_terms"])),this.options.threads.fetch({data:_.pick(this.model.attributes,["box","search_terms","page"]),success:this.threadsFiltered,error:this.threadsFilterError})},threadsFiltered:function(){bp.Nouveau.Messages.removeFeedback()},threadsFilterError:function(e,s){bp.Nouveau.Messages.displayFeedback(s.feedback,s.type)},resetSearchTerms:function(e){e.preventDefault(),s(e.target).val()?s(e.target).closest("form").find("[type=submit]").addClass("bp-show").removeClass("bp-hide"):s(e.target).closest("form").submit()},setSearchTerms:function(e){e.preventDefault(),this.model.set({search_terms:s(e.target).find("input[type=search]").val()||"",page:1})},nextPage:function(e){e.preventDefault(),this.model.set("page",this.model.get("page")+1)},prevPage:function(e){e.preventDefault(),this.model.set("page",this.model.get("page")-1)}}),bp.Views.userMessagesHeader=bp.Nouveau.Messages.View.extend({tagName:"div",template:bp.template("bp-messages-single-header"),events:{"click .actions a":"doAction","click .actions button":"doAction"},doAction:function(e){var t=s(e.currentTarget).data("bp-action"),a=this,i={},n=BP_Nouveau.messages.doingAction;if(!t)return e;if(e.preventDefault(),this.model.get("id")){if("star"===t||"unstar"===t){var o={star:"unstar",unstar:"star"};i.data={star_nonce:this.model.get("star_nonce")},s(e.currentTarget).addClass("bp-hide"),s(e.currentTarget).parent().find('[data-bp-action="'+o[t]+'"]').removeClass("bp-hide")}_.isUndefined(n[t])||bp.Nouveau.Messages.displayFeedback(n[t],"loading"),bp.Nouveau.Messages.threads.doAction(t,this.model.get("id"),i).done(function(e){"delete"===t?bp.Nouveau.Messages.clearViews():e.messages&&a.model.set(_.first(e.messages)),bp.Nouveau.Messages.removeFeedback(),bp.Nouveau.Messages.displayFeedback(e.feedback,e.type)}).fail(function(e){bp.Nouveau.Messages.removeFeedback(),bp.Nouveau.Messages.displayFeedback(e.feedback,e.type)})}}}),bp.Views.userMessagesEntry=bp.Views.userMessagesHeader.extend({tagName:"li",template:bp.template("bp-messages-single-list"),events:{"click [data-bp-action]":"doAction"},initialize:function(){this.model.on("change:is_starred",this.updateMessage,this)},updateMessage:function(e){this.model.get("id")===e.get("id")&&this.render()}}),bp.Views.userMessages=bp.Nouveau.Messages.View.extend({tagName:"div",template:bp.template("bp-messages-single"),initialize:function(){this.requestMessages(),this.reply=new bp.Models.messageThread,this.collection.on("add",this.addMessage,this),this.views.add("#bp-message-content",new bp.Views.messageEditor)},events:{"click #send_reply_button":"sendReply"},requestMessages:function(){var e={};this.collection.reset(),bp.Nouveau.Messages.displayFeedback(BP_Nouveau.messages.loading,"loading"),_.isUndefined(this.options.thread.attributes)?e.id=this.options.thread.id:(e.id=this.options.thread.get("id"),e.js_thread=!_.isEmpty(this.options.thread.get("subject"))),this.collection.fetch({data:e,success:_.bind(this.messagesFetched,this),error:this.messagesFetchError})},messagesFetched:function(e,s){_.isUndefined(s.thread)||(this.options.thread=new Backbone.Model(s.thread)),bp.Nouveau.Messages.removeFeedback(),this.views.add("#bp-message-thread-header",new bp.Views.userMessagesHeader({model:this.options.thread}))},messagesFetchError:function(e,s){s.feedback&&s.type&&bp.Nouveau.Messages.displayFeedback(s.feedback,s.type)},addMessage:function(e){this.views.add("#bp-message-thread-list",new bp.Views.userMessagesEntry({model:e}))},addEditor:function(){this.views.add("#bp-message-content",new bp.Views.messageEditor)},sendReply:function(e){e.preventDefault(),!0!==this.reply.get("sending")&&(this.reply.set({thread_id:this.options.thread.get("id"),content:tinyMCE.activeEditor.getContent(),sending:!0}),this.collection.sync("create",_.pick(this.reply.attributes,["thread_id","content"]),{success:_.bind(this.replySent,this),error:_.bind(this.replyError,this)}))},replySent:function(e){var s=this.collection.parse(e);tinyMCE.activeEditor.setContent(""),this.reply.set("sending",!1),this.collection.add(_.first(s))},replyError:function(e){e.feedback&&e.type&&bp.Nouveau.Messages.displayFeedback(e.feedback,e.type)}}),bp.Nouveau.Messages.Router=Backbone.Router.extend({routes:{compose:"composeMessage","view/:id":"viewMessage",sentbox:"sentboxView",starred:"starredView",inbox:"inboxView","":"inboxView"},composeMessage:function(){bp.Nouveau.Messages.composeView()},viewMessage:function(e){if(e){var s=bp.Nouveau.Messages.threads.get(e);void 0===s&&((s={}).id=e),bp.Nouveau.Messages.singleView(s)}},sentboxView:function(){bp.Nouveau.Messages.box="sentbox",bp.Nouveau.Messages.threadsView()},starredView:function(){bp.Nouveau.Messages.box="starred",bp.Nouveau.Messages.threadsView()},inboxView:function(){bp.Nouveau.Messages.box="inbox",bp.Nouveau.Messages.threadsView()}}),bp.Nouveau.Messages.start())}(bp,jQuery);
|
bp-templates/bp-nouveau/js/buddypress-notifications.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
/* global bp, BP_Nouveau */
|
|
|
2 |
window.bp = window.bp || {};
|
3 |
|
4 |
( function( exports, $ ) {
|
1 |
/* global bp, BP_Nouveau */
|
2 |
+
/* @version 3.0.0 */
|
3 |
window.bp = window.bp || {};
|
4 |
|
5 |
( function( exports, $ ) {
|
bp-templates/bp-nouveau/js/buddypress-nouveau.js
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
/* global wp, bp, BP_Nouveau, JSON */
|
2 |
/* jshint devel: true */
|
3 |
/* jshint browser: true */
|
|
|
4 |
window.wp = window.wp || {};
|
5 |
window.bp = window.bp || {};
|
6 |
|
@@ -48,7 +49,6 @@ window.bp = window.bp || {};
|
|
48 |
// Object Globals
|
49 |
this.objects = $.map( BP_Nouveau.objects, function( value ) { return value; } );
|
50 |
this.objectNavParent = BP_Nouveau.object_nav_parent;
|
51 |
-
this.time_since = BP_Nouveau.time_since;
|
52 |
|
53 |
// HeartBeat Global
|
54 |
this.heartbeat = wp.heartbeat || {};
|
@@ -104,8 +104,8 @@ window.bp = window.bp || {};
|
|
104 |
store = {};
|
105 |
}
|
106 |
|
107 |
-
if ( undefined !== property
|
108 |
-
return store[property];
|
109 |
}
|
110 |
|
111 |
return store;
|
@@ -192,7 +192,7 @@ window.bp = window.bp || {};
|
|
192 |
/**
|
193 |
* How the content should be injected in the selector
|
194 |
*
|
195 |
-
* possible
|
196 |
* - reset: the selector will be reset with the content
|
197 |
* - append: the content will be added after selector's content
|
198 |
* - prepend: the content will be added before selector's content
|
@@ -206,74 +206,9 @@ window.bp = window.bp || {};
|
|
206 |
} else {
|
207 |
$( selector ).html( content );
|
208 |
}
|
209 |
-
},
|
210 |
-
|
211 |
-
/**
|
212 |
-
* [updateTimeSince description]
|
213 |
-
* @param {[type]} timestamp [description]
|
214 |
-
* @return {[type]} [description]
|
215 |
-
*/
|
216 |
-
updateTimeSince: function( timestamp ) {
|
217 |
-
var now = new Date( $.now() ), diff, count_1, chunk_1, count_2, chunk_2,
|
218 |
-
time_since = [], time_chunks = $.extend( {}, this.time_since.time_chunks ), ms;
|
219 |
-
|
220 |
-
// Returns sometime
|
221 |
-
if ( undefined === timestamp ) {
|
222 |
-
return this.time_since.sometime;
|
223 |
-
}
|
224 |
-
|
225 |
-
// Javascript timestamps are in ms.
|
226 |
-
timestamp = new Date( timestamp * 1000 );
|
227 |
-
|
228 |
-
// Calculate the diff
|
229 |
-
diff = now - timestamp;
|
230 |
-
|
231 |
-
// Returns right now
|
232 |
-
if ( 0 === diff ) {
|
233 |
-
return this.time_since.now;
|
234 |
-
}
|
235 |
-
|
236 |
-
$.each( time_chunks, function( c, chunk ) {
|
237 |
-
var milliseconds = chunk * 1000;
|
238 |
-
var rounded_time = Math.floor( diff / milliseconds );
|
239 |
-
|
240 |
-
if ( 0 !== rounded_time && ! chunk_1 ) {
|
241 |
-
chunk_1 = c;
|
242 |
-
count_1 = rounded_time;
|
243 |
-
ms = milliseconds;
|
244 |
-
}
|
245 |
-
} );
|
246 |
-
|
247 |
-
// First chunk
|
248 |
-
chunk_1 = chunk_1.substr( 2 );
|
249 |
-
time_since.push( ( 1 === count_1 ) ? this.time_since[ chunk_1 ].replace( '%', count_1 ) : this.time_since[ chunk_1 + 's' ].replace( '%', count_1 ) );
|
250 |
-
|
251 |
-
// Remove Year from chunks
|
252 |
-
delete time_chunks.a_year;
|
253 |
|
254 |
-
|
255 |
-
|
256 |
-
var rounded_time = Math.floor( ( diff - ( ms * count_1 ) ) / milliseconds );
|
257 |
-
|
258 |
-
if ( 0 !== rounded_time && ! chunk_2 ) {
|
259 |
-
chunk_2 = c;
|
260 |
-
count_2 = rounded_time;
|
261 |
-
}
|
262 |
-
} );
|
263 |
-
|
264 |
-
// Second chunk
|
265 |
-
if ( undefined !== chunk_2 ) {
|
266 |
-
chunk_2 = chunk_2.substr( 2 );
|
267 |
-
time_since.push( ( 1 === count_2 ) ? this.time_since[ chunk_2 ].replace( '%', count_2 ) : this.time_since[ chunk_2 + 's' ].replace( '%', count_2 ) );
|
268 |
-
}
|
269 |
-
|
270 |
-
// Returns x time, y time ago
|
271 |
-
if ( time_since.length >= 1 ) {
|
272 |
-
return this.time_since.ago.replace( '%', time_since.join( this.time_since.separator + ' ' ) );
|
273 |
-
|
274 |
-
// Returns sometime
|
275 |
-
} else {
|
276 |
-
return this.time_since.sometime;
|
277 |
}
|
278 |
},
|
279 |
|
@@ -325,8 +260,8 @@ window.bp = window.bp || {};
|
|
325 |
$( '#buddypress [data-bp-filter="' + data.object + '"] option[value="' + data.filter + '"]' ).prop( 'selected', true );
|
326 |
|
327 |
if ( 'friends' === data.object || 'group_members' === data.object ) {
|
328 |
-
data.object = 'members';
|
329 |
data.template = data.object;
|
|
|
330 |
} else if ( 'group_requests' === data.object ) {
|
331 |
data.object = 'groups';
|
332 |
data.template = 'group_requests';
|
@@ -475,7 +410,7 @@ window.bp = window.bp || {};
|
|
475 |
// Disabled inputs
|
476 |
$( '[data-bp-disable-input]' ).on( 'change', this.toggleDisabledInput );
|
477 |
|
478 |
-
// HeartBeat Send and
|
479 |
$( document ).on( 'heartbeat-send.buddypress', this.heartbeatSend );
|
480 |
$( document ).on( 'heartbeat-tick.buddypress', this.heartbeatTick );
|
481 |
|
@@ -717,7 +652,7 @@ window.bp = window.bp || {};
|
|
717 |
nonce = self.getLinkParams( target.prop( 'href' ), '_wpnonce' );
|
718 |
}
|
719 |
|
720 |
-
//
|
721 |
// Friends actions does not match the wpnonce
|
722 |
var friends_actions_map = {
|
723 |
is_friend : 'remove_friend',
|
1 |
/* global wp, bp, BP_Nouveau, JSON */
|
2 |
/* jshint devel: true */
|
3 |
/* jshint browser: true */
|
4 |
+
/* @version 3.0.0 */
|
5 |
window.wp = window.wp || {};
|
6 |
window.bp = window.bp || {};
|
7 |
|
49 |
// Object Globals
|
50 |
this.objects = $.map( BP_Nouveau.objects, function( value ) { return value; } );
|
51 |
this.objectNavParent = BP_Nouveau.object_nav_parent;
|
|
|
52 |
|
53 |
// HeartBeat Global
|
54 |
this.heartbeat = wp.heartbeat || {};
|
104 |
store = {};
|
105 |
}
|
106 |
|
107 |
+
if ( undefined !== property ) {
|
108 |
+
return store[property] || false;
|
109 |
}
|
110 |
|
111 |
return store;
|
192 |
/**
|
193 |
* How the content should be injected in the selector
|
194 |
*
|
195 |
+
* possible methods are
|
196 |
* - reset: the selector will be reset with the content
|
197 |
* - append: the content will be added after selector's content
|
198 |
* - prepend: the content will be added before selector's content
|
206 |
} else {
|
207 |
$( selector ).html( content );
|
208 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
209 |
|
210 |
+
if ( 'undefined' !== typeof bp_mentions || 'undefined' !== typeof bp.mentions ) {
|
211 |
+
$( '.bp-suggestions' ).bp_mentions( bp.mentions.users );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
}
|
213 |
},
|
214 |
|
260 |
$( '#buddypress [data-bp-filter="' + data.object + '"] option[value="' + data.filter + '"]' ).prop( 'selected', true );
|
261 |
|
262 |
if ( 'friends' === data.object || 'group_members' === data.object ) {
|
|
|
263 |
data.template = data.object;
|
264 |
+
data.object = 'members';
|
265 |
} else if ( 'group_requests' === data.object ) {
|
266 |
data.object = 'groups';
|
267 |
data.template = 'group_requests';
|
410 |
// Disabled inputs
|
411 |
$( '[data-bp-disable-input]' ).on( 'change', this.toggleDisabledInput );
|
412 |
|
413 |
+
// HeartBeat Send and Receive
|
414 |
$( document ).on( 'heartbeat-send.buddypress', this.heartbeatSend );
|
415 |
$( document ).on( 'heartbeat-tick.buddypress', this.heartbeatTick );
|
416 |
|
652 |
nonce = self.getLinkParams( target.prop( 'href' ), '_wpnonce' );
|
653 |
}
|
654 |
|
655 |
+
// Unfortunately unlike groups
|
656 |
// Friends actions does not match the wpnonce
|
657 |
var friends_actions_map = {
|
658 |
is_friend : 'remove_friend',
|
bp-templates/bp-nouveau/js/buddypress-nouveau.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
window.wp=window.wp||{},window.bp=window.bp||{},function(e,t){"undefined"!=typeof BP_Nouveau&&(bp.Nouveau={start:function(){this.setupGlobals(),this.prepareDocument(),this.initObjects(),this.setHeartBeat(),this.addListeners()},setupGlobals:function(){this.ajax_request=null,this.objects=t.map(BP_Nouveau.objects,function(e){return e}),this.objectNavParent=BP_Nouveau.object_nav_parent,this.time_since=BP_Nouveau.time_since,this.heartbeat=wp.heartbeat||{},this.querystring=this.getLinkParams()},prepareDocument:function(){if(t("body").hasClass("no-js")&&t("body").removeClass("no-js").addClass("js"),BP_Nouveau.warnings&&"undefined"!=typeof console&&console.warn&&t.each(BP_Nouveau.warnings,function(e,t){console.warn(t)}),t(".buddypress_object_nav .widget-title").length){var e=t(".buddypress_object_nav .widget-title").html();t("body").find('*:contains("'+e+'")').each(function(a,s){t(s).hasClass("widget-title")||e!==t(s).html()||t(s).is("a")||t(s).remove()})}},getStorage:function(e,t){var a=sessionStorage.getItem(e);return a=a?JSON.parse(a):{},void 0!==t&&a[t]?a[t]:a},setStorage:function(e,t,a){var s=this.getStorage(e);return void 0===a&&void 0!==s[t]?delete s[t]:s[t]=a,sessionStorage.setItem(e,JSON.stringify(s)),null!==sessionStorage.getItem(e)},getLinkParams:function(e,t){var a;if(!(a=e?-1!==e.indexOf("?")?"?"+e.split("?")[1]:"":document.location.search))return null;var s=a.replace(/(^\?)/,"").split("&").map(function(e){return e=e.split("="),this[e[0]]=e[1],this}.bind({}))[0];return t?s[t]:s},ajax:function(e,a){this.ajax_request&&this.ajax_request.abort();var s=t.extend({},bp.Nouveau.getStorage("bp-"+a),{nonce:BP_Nouveau.nonces[a]},e);return void 0!==BP_Nouveau.customizer_settings&&(s.customized=BP_Nouveau.customizer_settings),this.ajax_request=t.post(BP_Nouveau.ajaxurl,s,"json"),this.ajax_request},inject:function(e,a,s){t(e).length&&a&&("append"===(s=s||"reset")?t(e).append(a):"prepend"===s?t(e).prepend(a):t(e).html(a))},updateTimeSince:function(e){var a,s,r,i,n,o,d=new Date(t.now()),c=[],p=t.extend({},this.time_since.time_chunks);return void 0===e?this.time_since.sometime:(e=new Date(1e3*e),0===(a=d-e)?this.time_since.now:(t.each(p,function(e,t){var i=1e3*t,n=Math.floor(a/i);0===n||r||(r=e,s=n,o=i)}),r=r.substr(2),c.push(1===s?this.time_since[r].replace("%",s):this.time_since[r+"s"].replace("%",s)),delete p.a_year,t.each(p,function(e,t){var r=1e3*t,d=Math.floor((a-o*s)/r);0===d||n||(n=e,i=d)}),void 0!==n&&(n=n.substr(2),c.push(1===i?this.time_since[n].replace("%",i):this.time_since[n+"s"].replace("%",i))),c.length>=1?this.time_since.ago.replace("%",c.join(this.time_since.separator+" ")):this.time_since.sometime))},objectRequest:function(e){var a={},s=this;if((e=t.extend({object:"",scope:null,filter:null,target:"#buddypress [data-bp-list]",search_terms:"",page:1,extras:null,caller:null,template:null,method:"reset"},e)).object&&e.target)return null!==e.scope&&this.setStorage("bp-"+e.object,"scope",e.scope),null!==e.filter&&this.setStorage("bp-"+e.object,"filter",e.filter),null!==e.extras&&this.setStorage("bp-"+e.object,"extras",e.extras),t(this.objectNavParent+" [data-bp-object]").each(function(){t(this).removeClass("selected loading")}),t(this.objectNavParent+' [data-bp-scope="'+e.scope+'"], #object-nav li.current').addClass("selected loading"),t('#buddypress [data-bp-filter="'+e.object+'"] option[value="'+e.filter+'"]').prop("selected",!0),"friends"===e.object||"group_members"===e.object?(e.object="members",e.template=e.object):"group_requests"===e.object?(e.object="groups",e.template="group_requests"):"notifications"===e.object&&(e.object="members",e.template="member_notifications"),a=t.extend({action:e.object+"_filter"},e),this.ajax(a,e.object).done(function(a){if(!1!==a.success)if(t(s.objectNavParent+' [data-bp-scope="'+e.scope+'"]').removeClass("loading"),"reset"!==e.method)s.inject(e.target,a.data.contents,e.method),t(e.target).trigger("bp_ajax_"+e.method,t.extend(e,{response:a.data}));else if("pag-bottom"===e.caller&&t("#subnav").length){var r=t("#subnav").parent();t("html,body").animate({scrollTop:r.offset().top},"slow",function(){t(e.target).fadeOut(100,function(){s.inject(this,a.data.contents,e.method),t(this).fadeIn(100),t(e.target).trigger("bp_ajax_request",t.extend(e,{response:a.data}))})})}else t(e.target).fadeOut(100,function(){s.inject(this,a.data.contents,e.method),t(this).fadeIn(100),t(e.target).trigger("bp_ajax_request",t.extend(e,{response:a.data}))})})},initObjects:function(){var e=this,a={},s={},r="all",i="",n=null,o=null;t.each(this.objects,function(d,c){void 0!==(a=e.getStorage("bp-"+c)).scope&&(r=a.scope),void 0!==a.extras&&"notifications"!==c&&(n=a.extras),t('#buddypress [data-bp-filter="'+c+'"]').length&&("-1"!==t('#buddypress [data-bp-filter="'+c+'"]').val()&&"0"!==t('#buddypress [data-bp-filter="'+c+'"]').val()?o=t('#buddypress [data-bp-filter="'+c+'"]').val():void 0!==a.filter&&(o=a.filter,t('#buddypress [data-bp-filter="'+c+'"] option[value="'+o+'"]').prop("selected",!0))),t(this.objectNavParent+' [data-bp-object="'+c+'"]').length&&(t(this.objectNavParent+' [data-bp-object="'+c+'"]').each(function(){t(this).removeClass("selected")}),t(this.objectNavParent+' [data-bp-scope="'+c+'"], #object-nav li.current').addClass("selected")),null!==e.querystring&&(void 0!==e.querystring[c+"_search"]?i=e.querystring[c+"_search"]:void 0!==e.querystring.s&&(i=e.querystring.s),i&&t('#buddypress [data-bp-search="'+c+'"] input[type=search]').val(i)),t('#buddypress [data-bp-list="'+c+'"]').length&&(s={object:c,scope:r,filter:o,search_terms:i,extras:n},e.objectRequest(s))})},setHeartBeat:function(){void 0!==BP_Nouveau.pulse&&this.heartbeat&&(this.heartbeat.interval(Number(BP_Nouveau.pulse)),t.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}}),t.fn.extend({"heartbeat-tick":function(){return this.bind("heartbeat-tick.buddypress")}}))},addListeners:function(){t("[data-bp-disable-input]").on("change",this.toggleDisabledInput),t(document).on("heartbeat-send.buddypress",this.heartbeatSend),t(document).on("heartbeat-tick.buddypress",this.heartbeatTick),t(this.objectNavParent+" .bp-navs").on("click","a",this,this.scopeQuery),t("#buddypress [data-bp-filter]").on("change",this,this.filterQuery),t("#buddypress [data-bp-search]").on("submit","form",this,this.searchQuery),t("#buddypress [data-bp-search] form").on("search","input[type=search]",this.resetSearch),t("#buddypress [data-bp-list], #buddypress #item-header").on("click","[data-bp-btn-action]",this,this.buttonAction),t("#buddypress [data-bp-close]").on("click",this,this.closeNotice),t("#buddypress [data-bp-list]").on("click","[data-bp-pagination] a",this,this.paginateAction)},toggleDisabledInput:function(){var e=t(this).attr("data-bp-disable-input");t(e).prop("disabled",!0)&&!t(this).hasClass("enabled")?(t(this).addClass("enabled").removeClass("disabled"),t(e).removeProp("disabled")):t(e).prop("disabled",!1)&&t(this).hasClass("enabled")&&(t(this).removeClass("enabled").addClass("disabled"),t(e).attr("disabled","disabled"))},heartbeatSend:function(e,a){t("#buddypress").trigger("bp_heartbeat_send",a)},heartbeatTick:function(e,a){t("#buddypress").trigger("bp_heartbeat_tick",a)},scopeQuery:function(e){var a,s=e.data,r=t(e.currentTarget).parent(),i="all",n=null,o="";return r.hasClass("no-ajax")||t(e.currentTarget).hasClass("no-ajax")||!r.attr("data-bp-scope")?e:(i=r.data("bp-scope"),a=r.data("bp-object"),i&&a?(e.preventDefault(),n=t("#buddypress").find('[data-bp-filter="'+a+'"]').first().val(),t('#buddypress [data-bp-search="'+a+'"] input[type=search]').length&&(o=t('#buddypress [data-bp-search="'+a+'"] input[type=search]').val()),r.hasClass("dynamic")&&r.find("a span").html(""),void s.objectRequest({object:a,scope:i,filter:n,search_terms:o,page:1})):e)},filterQuery:function(e){var a=e.data,s=t(e.target).data("bp-filter"),r="all",i=t(e.target).val(),n="";if(!s)return e;t(a.objectNavParent+" [data-bp-object].selected").length&&(r=t(a.objectNavParent+" [data-bp-object].selected").data("bp-scope")),t('#buddypress [data-bp-search="'+s+'"] input[type=search]').length&&(n=t('#buddypress [data-bp-search="'+s+'"] input[type=search]').val()),"friends"===s&&(s="members"),a.objectRequest({object:s,scope:r,filter:i,search_terms:n,page:1,template:null})},searchQuery:function(e){var a,s=e.data,r="all",i=null,n="";if(t(e.delegateTarget).hasClass("no-ajax")||void 0===t(e.delegateTarget).data("bp-search"))return e;e.preventDefault(),a=t(e.delegateTarget).data("bp-search"),i=t("#buddypress").find('[data-bp-filter="'+a+'"]').first().val(),n=t(e.delegateTarget).find("input[type=search]").first().val(),t(s.objectNavParent+" [data-bp-object]").length&&(r=t(s.objectNavParent+' [data-bp-object="'+a+'"].selected').data("bp-scope")),s.objectRequest({object:a,scope:r,filter:i,search_terms:n,page:1,template:null})},showSearchSubmit:function(e){t(e.delegateTarget).find("[type=submit]").addClass("bp-show"),t("[type=submit]").hasClass("bp-hide")&&t("[type=submit]").removeClass("bp-hide")},resetSearch:function(e){t(e.target).val()?t(e.delegateTarget).find("[type=submit]").show():t(e.delegateTarget).submit()},buttonAction:function(e){var a=e.data,s=t(e.currentTarget),r=s.data("bp-btn-action"),i=s.data("bp-nonce"),n=s.closest("[data-bp-item-id]"),o=n.data("bp-item-id"),d=s.closest(".list-wrap"),c=n.data("bp-item-component"),p="";if(!r||!o||!c)return e;if(e.preventDefault(),void 0!==BP_Nouveau[r+"_confirm"]&&!1===window.confirm(BP_Nouveau[r+"_confirm"])||s.hasClass("pending"))return!1;p=i?(p=i.split("?_wpnonce="))[1]:a.getLinkParams(s.prop("href"),"_wpnonce");var l={is_friend:"remove_friend",not_friends:"add_friend",pending:"withdraw_friendship",accept_friendship:"accept_friendship",reject_friendship:"reject_friendship"};"members"===c&&void 0!==l[r]&&(r=l[r],c="friends"),s.addClass("pending loading"),a.ajax({action:c+"_"+r,item_id:o,_wpnonce:p},c).done(function(e){if(!1===e.success)d.prepend(e.data.feedback),s.removeClass("pending loading"),n.find(".bp-feedback").fadeOut(6e3);else{if("groups"===c&&void 0!==e.data.is_group&&e.data.is_group)return window.location.reload();if(void 0!==e.data.is_user&&e.data.is_user)return s.parent().html(e.data.feedback),void n.fadeOut(1500);if(t(a.objectNavParent+' [data-bp-scope="personal"]').length){var i=Number(t(a.objectNavParent+' [data-bp-scope="personal"] span').html())||0;-1!==t.inArray(r,["leave_group","remove_friend"])?i-=1:-1!==t.inArray(r,["join_group"])&&(i+=1),i<0&&(i=0),t(a.objectNavParent+' [data-bp-scope="personal"] span').html(i)}s.parent().replaceWith(e.data.contents)}})},closeNotice:function(e){var a=t(e.currentTarget);e.preventDefault(),"clear"===a.data("bp-close")&&(void 0!==t.cookie("bp-message")&&t.removeCookie("bp-message"),void 0!==t.cookie("bp-message-type")&&t.removeCookie("bp-message-type")),a.closest(".bp-feedback").hasClass("bp-sitewide-notice")&&bp.Nouveau.ajax({action:"messages_dismiss_sitewide_notice"},"messages"),a.closest(".bp-feedback").remove()},paginateAction:function(e){var a,s,r,i=e.data,n=t(e.currentTarget),o=null,d=null,c=null,p=null;if(null===(a=n.closest("[data-bp-pagination]").data("bp-pagination")||null))return e;e.preventDefault(),null!==(s=t(e.delegateTarget).data("bp-list")||null)&&(void 0!==(r=i.getStorage("bp-"+s)).scope&&(o=r.scope),void 0!==r.filter&&(d=r.filter),void 0!==r.extras&&(p=r.extras)),t('#buddypress [data-bp-search="'+s+'"] input[type=search]').length&&(c=t('#buddypress [data-bp-search="'+s+'"] input[type=search]').val());var l={object:s,scope:o,filter:d,search_terms:c,extras:p,page:i.getLinkParams(n.prop("href"),a)||1};i.objectRequest(l)}},bp.Nouveau.start())}(bp,jQuery);
|
1 |
+
window.wp=window.wp||{},window.bp=window.bp||{},function(e,t){"undefined"!=typeof BP_Nouveau&&(bp.Nouveau={start:function(){this.setupGlobals(),this.prepareDocument(),this.initObjects(),this.setHeartBeat(),this.addListeners()},setupGlobals:function(){this.ajax_request=null,this.objects=t.map(BP_Nouveau.objects,function(e){return e}),this.objectNavParent=BP_Nouveau.object_nav_parent,this.heartbeat=wp.heartbeat||{},this.querystring=this.getLinkParams()},prepareDocument:function(){if(t("body").hasClass("no-js")&&t("body").removeClass("no-js").addClass("js"),BP_Nouveau.warnings&&"undefined"!=typeof console&&console.warn&&t.each(BP_Nouveau.warnings,function(e,t){console.warn(t)}),t(".buddypress_object_nav .widget-title").length){var e=t(".buddypress_object_nav .widget-title").html();t("body").find('*:contains("'+e+'")').each(function(a,s){t(s).hasClass("widget-title")||e!==t(s).html()||t(s).is("a")||t(s).remove()})}},getStorage:function(e,t){var a=sessionStorage.getItem(e);return a=a?JSON.parse(a):{},void 0!==t?a[t]||!1:a},setStorage:function(e,t,a){var s=this.getStorage(e);return void 0===a&&void 0!==s[t]?delete s[t]:s[t]=a,sessionStorage.setItem(e,JSON.stringify(s)),null!==sessionStorage.getItem(e)},getLinkParams:function(e,t){var a;if(!(a=e?-1!==e.indexOf("?")?"?"+e.split("?")[1]:"":document.location.search))return null;var s=a.replace(/(^\?)/,"").split("&").map(function(e){return e=e.split("="),this[e[0]]=e[1],this}.bind({}))[0];return t?s[t]:s},ajax:function(e,a){this.ajax_request&&this.ajax_request.abort();var s=t.extend({},bp.Nouveau.getStorage("bp-"+a),{nonce:BP_Nouveau.nonces[a]},e);return void 0!==BP_Nouveau.customizer_settings&&(s.customized=BP_Nouveau.customizer_settings),this.ajax_request=t.post(BP_Nouveau.ajaxurl,s,"json"),this.ajax_request},inject:function(e,a,s){t(e).length&&a&&("append"===(s=s||"reset")?t(e).append(a):"prepend"===s?t(e).prepend(a):t(e).html(a),"undefined"==typeof bp_mentions&&void 0===bp.mentions||t(".bp-suggestions").bp_mentions(bp.mentions.users))},objectRequest:function(e){var a={},s=this;if((e=t.extend({object:"",scope:null,filter:null,target:"#buddypress [data-bp-list]",search_terms:"",page:1,extras:null,caller:null,template:null,method:"reset"},e)).object&&e.target)return null!==e.scope&&this.setStorage("bp-"+e.object,"scope",e.scope),null!==e.filter&&this.setStorage("bp-"+e.object,"filter",e.filter),null!==e.extras&&this.setStorage("bp-"+e.object,"extras",e.extras),t(this.objectNavParent+" [data-bp-object]").each(function(){t(this).removeClass("selected loading")}),t(this.objectNavParent+' [data-bp-scope="'+e.scope+'"], #object-nav li.current').addClass("selected loading"),t('#buddypress [data-bp-filter="'+e.object+'"] option[value="'+e.filter+'"]').prop("selected",!0),"friends"===e.object||"group_members"===e.object?(e.template=e.object,e.object="members"):"group_requests"===e.object?(e.object="groups",e.template="group_requests"):"notifications"===e.object&&(e.object="members",e.template="member_notifications"),a=t.extend({action:e.object+"_filter"},e),this.ajax(a,e.object).done(function(a){if(!1!==a.success)if(t(s.objectNavParent+' [data-bp-scope="'+e.scope+'"]').removeClass("loading"),"reset"!==e.method)s.inject(e.target,a.data.contents,e.method),t(e.target).trigger("bp_ajax_"+e.method,t.extend(e,{response:a.data}));else if("pag-bottom"===e.caller&&t("#subnav").length){var r=t("#subnav").parent();t("html,body").animate({scrollTop:r.offset().top},"slow",function(){t(e.target).fadeOut(100,function(){s.inject(this,a.data.contents,e.method),t(this).fadeIn(100),t(e.target).trigger("bp_ajax_request",t.extend(e,{response:a.data}))})})}else t(e.target).fadeOut(100,function(){s.inject(this,a.data.contents,e.method),t(this).fadeIn(100),t(e.target).trigger("bp_ajax_request",t.extend(e,{response:a.data}))})})},initObjects:function(){var e=this,a={},s={},r="all",n="",i=null,o=null;t.each(this.objects,function(d,p){void 0!==(a=e.getStorage("bp-"+p)).scope&&(r=a.scope),void 0!==a.extras&&"notifications"!==p&&(i=a.extras),t('#buddypress [data-bp-filter="'+p+'"]').length&&("-1"!==t('#buddypress [data-bp-filter="'+p+'"]').val()&&"0"!==t('#buddypress [data-bp-filter="'+p+'"]').val()?o=t('#buddypress [data-bp-filter="'+p+'"]').val():void 0!==a.filter&&(o=a.filter,t('#buddypress [data-bp-filter="'+p+'"] option[value="'+o+'"]').prop("selected",!0))),t(this.objectNavParent+' [data-bp-object="'+p+'"]').length&&(t(this.objectNavParent+' [data-bp-object="'+p+'"]').each(function(){t(this).removeClass("selected")}),t(this.objectNavParent+' [data-bp-scope="'+p+'"], #object-nav li.current').addClass("selected")),null!==e.querystring&&(void 0!==e.querystring[p+"_search"]?n=e.querystring[p+"_search"]:void 0!==e.querystring.s&&(n=e.querystring.s),n&&t('#buddypress [data-bp-search="'+p+'"] input[type=search]').val(n)),t('#buddypress [data-bp-list="'+p+'"]').length&&(s={object:p,scope:r,filter:o,search_terms:n,extras:i},e.objectRequest(s))})},setHeartBeat:function(){void 0!==BP_Nouveau.pulse&&this.heartbeat&&(this.heartbeat.interval(Number(BP_Nouveau.pulse)),t.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}}),t.fn.extend({"heartbeat-tick":function(){return this.bind("heartbeat-tick.buddypress")}}))},addListeners:function(){t("[data-bp-disable-input]").on("change",this.toggleDisabledInput),t(document).on("heartbeat-send.buddypress",this.heartbeatSend),t(document).on("heartbeat-tick.buddypress",this.heartbeatTick),t(this.objectNavParent+" .bp-navs").on("click","a",this,this.scopeQuery),t("#buddypress [data-bp-filter]").on("change",this,this.filterQuery),t("#buddypress [data-bp-search]").on("submit","form",this,this.searchQuery),t("#buddypress [data-bp-search] form").on("search","input[type=search]",this.resetSearch),t("#buddypress [data-bp-list], #buddypress #item-header").on("click","[data-bp-btn-action]",this,this.buttonAction),t("#buddypress [data-bp-close]").on("click",this,this.closeNotice),t("#buddypress [data-bp-list]").on("click","[data-bp-pagination] a",this,this.paginateAction)},toggleDisabledInput:function(){var e=t(this).attr("data-bp-disable-input");t(e).prop("disabled",!0)&&!t(this).hasClass("enabled")?(t(this).addClass("enabled").removeClass("disabled"),t(e).removeProp("disabled")):t(e).prop("disabled",!1)&&t(this).hasClass("enabled")&&(t(this).removeClass("enabled").addClass("disabled"),t(e).attr("disabled","disabled"))},heartbeatSend:function(e,a){t("#buddypress").trigger("bp_heartbeat_send",a)},heartbeatTick:function(e,a){t("#buddypress").trigger("bp_heartbeat_tick",a)},scopeQuery:function(e){var a,s=e.data,r=t(e.currentTarget).parent(),n="all",i=null,o="";return r.hasClass("no-ajax")||t(e.currentTarget).hasClass("no-ajax")||!r.attr("data-bp-scope")?e:(n=r.data("bp-scope"),a=r.data("bp-object"),n&&a?(e.preventDefault(),i=t("#buddypress").find('[data-bp-filter="'+a+'"]').first().val(),t('#buddypress [data-bp-search="'+a+'"] input[type=search]').length&&(o=t('#buddypress [data-bp-search="'+a+'"] input[type=search]').val()),r.hasClass("dynamic")&&r.find("a span").html(""),void s.objectRequest({object:a,scope:n,filter:i,search_terms:o,page:1})):e)},filterQuery:function(e){var a=e.data,s=t(e.target).data("bp-filter"),r="all",n=t(e.target).val(),i="";if(!s)return e;t(a.objectNavParent+" [data-bp-object].selected").length&&(r=t(a.objectNavParent+" [data-bp-object].selected").data("bp-scope")),t('#buddypress [data-bp-search="'+s+'"] input[type=search]').length&&(i=t('#buddypress [data-bp-search="'+s+'"] input[type=search]').val()),"friends"===s&&(s="members"),a.objectRequest({object:s,scope:r,filter:n,search_terms:i,page:1,template:null})},searchQuery:function(e){var a,s=e.data,r="all",n=null,i="";if(t(e.delegateTarget).hasClass("no-ajax")||void 0===t(e.delegateTarget).data("bp-search"))return e;e.preventDefault(),a=t(e.delegateTarget).data("bp-search"),n=t("#buddypress").find('[data-bp-filter="'+a+'"]').first().val(),i=t(e.delegateTarget).find("input[type=search]").first().val(),t(s.objectNavParent+" [data-bp-object]").length&&(r=t(s.objectNavParent+' [data-bp-object="'+a+'"].selected').data("bp-scope")),s.objectRequest({object:a,scope:r,filter:n,search_terms:i,page:1,template:null})},showSearchSubmit:function(e){t(e.delegateTarget).find("[type=submit]").addClass("bp-show"),t("[type=submit]").hasClass("bp-hide")&&t("[type=submit]").removeClass("bp-hide")},resetSearch:function(e){t(e.target).val()?t(e.delegateTarget).find("[type=submit]").show():t(e.delegateTarget).submit()},buttonAction:function(e){var a=e.data,s=t(e.curren
|