Commit 0604ef1e authored by lucha's avatar lucha
Browse files

[auto] plugin: buddypress 4.1.0

parent ff7c336a
......@@ -2,8 +2,6 @@
/**
* Functions related to embedding single activity items externally.
*
* Relies on WordPress 4.5.
*
* @since 2.6.0
*
* @package BuddyPress
......
......@@ -109,6 +109,9 @@ add_filter( 'bp_get_total_mention_count_for_user', 'bp_core_number_format' );
add_filter( 'bp_activity_get_embed_excerpt', 'bp_activity_embed_excerpt_onclick_location_filter', 9 );
// Personal data export.
add_filter( 'wp_privacy_personal_data_exporters', 'bp_activity_register_personal_data_exporter' );
/* Actions *******************************************************************/
// At-name filter.
......@@ -319,15 +322,17 @@ function bp_activity_at_name_send_emails( $activity ) {
return;
}
$bp = buddypress();
// If our temporary variable doesn't exist, stop now.
if ( empty( buddypress()->activity->mentioned_users ) )
if ( empty( $bp->activity->mentioned_users ) )
return;
// Grab our temporary variable from bp_activity_at_name_filter_updates().
$usernames = buddypress()->activity->mentioned_users;
$usernames = $bp->activity->mentioned_users;
// Get rid of temporary variable.
unset( buddypress()->activity->mentioned_users );
unset( $bp->activity->mentioned_users );
// Send @mentions and setup BP notifications.
foreach( (array) $usernames as $user_id => $username ) {
......@@ -802,3 +807,20 @@ function bp_activity_filter_mentions_scope( $retval = array(), $filter = array()
return $retval;
}
add_filter( 'bp_activity_set_mentions_scope_args', 'bp_activity_filter_mentions_scope', 10, 2 );
/**
* Registers Activity personal data exporter.
*
* @since 4.0.0
*
* @param array $exporters An array of personal data exporters.
* @return array An array of personal data exporters.
*/
function bp_activity_register_personal_data_exporter( $exporters ) {
$exporters['buddypress-activity'] = array(
'exporter_friendly_name' => __( 'BuddyPress Activity Data', 'buddypress' ),
'callback' => 'bp_activity_personal_data_exporter',
);
return $exporters;
}
......@@ -20,7 +20,7 @@ defined( 'ABSPATH' ) || exit;
* @return bool True if activity directory page is found, otherwise false.
*/
function bp_activity_has_directory() {
return (bool) !empty( buddypress()->pages->activity->id );
return isset( buddypress()->pages->activity->id ) && buddypress()->pages->activity->id;
}
/**
......@@ -1919,10 +1919,12 @@ function bp_activity_add( $args = '' ) {
* Fires at the end of the execution of adding a new activity item, before returning the new activity item ID.
*
* @since 1.1.0
* @since 4.0.0 Added the `$activity_id` parameter.
*
* @param array $r Array of parsed arguments for the activity item being added.
* @param array $r Array of parsed arguments for the activity item being added.
* @param int $activity_id The id of the activity item being added.
*/
do_action( 'bp_activity_add', $r );
do_action( 'bp_activity_add', $r, $activity->id );
return $activity->id;
}
......@@ -3916,38 +3918,6 @@ function bp_activity_do_heartbeat() {
return (bool) apply_filters( 'bp_activity_do_heartbeat', $retval );
}
/**
* AJAX endpoint for Suggestions API lookups.
*
* @since 2.1.0
*/
function bp_ajax_get_suggestions() {
if ( ! bp_is_user_active() || empty( $_GET['term'] ) || empty( $_GET['type'] ) ) {
wp_send_json_error( 'missing_parameter' );
exit;
}
$args = array(
'term' => sanitize_text_field( $_GET['term'] ),
'type' => sanitize_text_field( $_GET['type'] ),
);
// Support per-Group suggestions.
if ( ! empty( $_GET['group-id'] ) ) {
$args['group_id'] = absint( $_GET['group-id'] );
}
$results = bp_core_get_suggestions( $args );
if ( is_wp_error( $results ) ) {
wp_send_json_error( $results->get_error_message() );
exit;
}
wp_send_json_success( $results );
}
add_action( 'wp_ajax_bp_get_suggestions', 'bp_ajax_get_suggestions' );
/**
* Detect a change in post type status, and initiate an activity update if necessary.
*
......@@ -4164,3 +4134,103 @@ function bp_activity_transition_post_type_comment_status( $new_status, $old_stat
remove_filter( 'bp_akismet_get_activity_types', $comment_akismet_history );
}
add_action( 'transition_comment_status', 'bp_activity_transition_post_type_comment_status', 10, 3 );
/**
* Finds and exports personal data associated with an email address from the Activity tables.
*
* @since 4.0.0
*
* @param string $email_address The user's email address.
* @param int $page Batch number.
* @return array An array of personal data.
*/
function bp_activity_personal_data_exporter( $email_address, $page ) {
$number = 50;
$email_address = trim( $email_address );
$data_to_export = array();
$user = get_user_by( 'email', $email_address );
if ( ! $user ) {
return array(
'data' => array(),
'done' => true,
);
}
$activities = bp_activity_get( array(
'display_comments' => 'stream',
'per_page' => $number,
'page' => $page,
'show_hidden' => true,
'filter' => array(
'user_id' => $user->ID,
),
) );
$user_data_to_export = array();
$activity_actions = bp_activity_get_actions();
foreach ( $activities['activities'] as $activity ) {
if ( ! empty( $activity_actions->{$activity->component}->{$activity->type}['format_callback'] ) ) {
$description = call_user_func( $activity_actions->{$activity->component}->{$activity->type}['format_callback'], '', $activity );
} elseif ( ! empty( $activity->action ) ) {
$description = $activity->action;
} else {
$description = $activity->type;
}
$item_data = array(
array(
'name' => __( 'Activity Date', 'buddypress' ),
'value' => $activity->date_recorded,
),
array(
'name' => __( 'Activity Description', 'buddypress' ),
'value' => $description,
),
array(
'name' => __( 'Activity URL', 'buddypress' ),
'value' => bp_activity_get_permalink( $activity->id, $activity ),
),
);
if ( ! empty( $activity->content ) ) {
$item_data[] = array(
'name' => __( 'Activity Content', 'buddypress' ),
'value' => $activity->content,
);
}
/**
* Filters the data associated with an activity item when assembled for a WP personal data export.
*
* Plugins that register activity types whose `action` string doesn't adequately
* describe the activity item for the purposes of data export may filter the activity
* item data here.
*
* @since 4.0.0
*
* @param array $item_data Array of data describing the activity item.
* @param BP_Activity_Activity $activity Activity item.
*/
$item_data = apply_filters( 'bp_activity_personal_data_export_item_data', $item_data, $activity );
$data_to_export[] = array(
'group_id' => 'bp_activity',
'group_label' => __( 'Activity', 'buddypress' ),
'item_id' => "bp-activity-{$activity->id}",
'data' => $item_data,
);
}
// Tell core if we have more items to process.
$done = count( $activities['activities'] ) < $number;
return array(
'data' => $data_to_export,
'done' => $done,
);
}
......@@ -88,7 +88,6 @@
.atwho-view {
border-radius: 0;
height: 100%;
right: 0 !important;
width: 100%;
}
......
.atwho-view{background:rgba(204,204,204,.8);border-radius:2px;border:1px solid #ccc;box-shadow:0 0 5px rgba(204,204,204,.25),0 0 1px #fff;color:#d84800;display:none;font-family:sans-serif;margin-top:18px;position:absolute;top:0;z-index:1000}.atwho-view{left:0}.atwho-view ul{background:#fff;list-style:none;margin:auto;padding:0}.atwho-view ul li{border-bottom:1px solid #efefef;box-sizing:content-box;cursor:pointer;display:block;font-size:14px;height:20px;line-height:20px;margin:0;overflow:hidden;padding:5px 10px}.atwho-view img{border-radius:2px;float:left;height:20px;margin-top:0;width:20px}.atwho-view strong{background:#efefef;font-weight:700}.atwho-view .username strong{color:#d54e21}.atwho-view small{color:#aaa;float:left;font-size:smaller;font-weight:400;margin:0 40px 0 10px}.atwho-view .cur{background:rgba(239,239,239,.5)}@media (max-width:900px){.atwho-view img{float:right;margin:0 0 0 10px}}@media (max-width:400px){.atwho-view ul li{font-size:16px;line-height:23px;padding:13px}.atwho-view ul li img{height:30px;margin-top:-5px;width:30px}.atwho-view{border-radius:0;height:100%;right:0!important;width:100%}.atwho-view ul li .username{display:inline-block;margin:-10px 0 0 0;padding:10px 0}.atwho-view ul li small{display:inline-block;margin-right:20px}}
\ No newline at end of file
.atwho-view{background:rgba(204,204,204,.8);border-radius:2px;border:1px solid #ccc;box-shadow:0 0 5px rgba(204,204,204,.25),0 0 1px #fff;color:#d84800;display:none;font-family:sans-serif;margin-top:18px;position:absolute;top:0;z-index:1000}.atwho-view{left:0}.atwho-view ul{background:#fff;list-style:none;margin:auto;padding:0}.atwho-view ul li{border-bottom:1px solid #efefef;box-sizing:content-box;cursor:pointer;display:block;font-size:14px;height:20px;line-height:20px;margin:0;overflow:hidden;padding:5px 10px}.atwho-view img{border-radius:2px;float:left;height:20px;margin-top:0;width:20px}.atwho-view strong{background:#efefef;font-weight:700}.atwho-view .username strong{color:#d54e21}.atwho-view small{color:#aaa;float:left;font-size:smaller;font-weight:400;margin:0 40px 0 10px}.atwho-view .cur{background:rgba(239,239,239,.5)}@media (max-width:900px){.atwho-view img{float:right;margin:0 0 0 10px}}@media (max-width:400px){.atwho-view ul li{font-size:16px;line-height:23px;padding:13px}.atwho-view ul li img{height:30px;margin-top:-5px;width:30px}.atwho-view{border-radius:0;right:0!important;width:100%}.atwho-view ul li .username{display:inline-block;margin:-10px 0 0 0;padding:10px 0}.atwho-view ul li small{display:inline-block;margin-right:20px}}
\ No newline at end of file
......@@ -90,7 +90,6 @@
.atwho-view {
border-radius: 0;
height: 100%;
left: 0 !important;
width: 100%;
}
......
.atwho-view{background:rgba(204,204,204,.8);border-radius:2px;border:1px solid #ccc;box-shadow:0 0 5px rgba(204,204,204,.25),0 0 1px #fff;color:#d84800;display:none;font-family:sans-serif;margin-top:18px;position:absolute;top:0;z-index:1000}.atwho-view{left:0}.atwho-view ul{background:#fff;list-style:none;margin:auto;padding:0}.atwho-view ul li{border-bottom:1px solid #efefef;box-sizing:content-box;cursor:pointer;display:block;font-size:14px;height:20px;line-height:20px;margin:0;overflow:hidden;padding:5px 10px}.atwho-view img{border-radius:2px;float:right;height:20px;margin-top:0;width:20px}.atwho-view strong{background:#efefef;font-weight:700}.atwho-view .username strong{color:#d54e21}.atwho-view small{color:#aaa;float:right;font-size:smaller;font-weight:400;margin:0 10px 0 40px}.atwho-view .cur{background:rgba(239,239,239,.5)}@media (max-width:900px){.atwho-view img{float:left;margin:0 10px 0 0}}@media (max-width:400px){.atwho-view ul li{font-size:16px;line-height:23px;padding:13px}.atwho-view ul li img{height:30px;margin-top:-5px;width:30px}.atwho-view{border-radius:0;height:100%;left:0!important;width:100%}.atwho-view ul li .username{display:inline-block;margin:-10px 0 0 0;padding:10px 0}.atwho-view ul li small{display:inline-block;margin-left:20px}}
\ No newline at end of file
.atwho-view{background:rgba(204,204,204,.8);border-radius:2px;border:1px solid #ccc;box-shadow:0 0 5px rgba(204,204,204,.25),0 0 1px #fff;color:#d84800;display:none;font-family:sans-serif;margin-top:18px;position:absolute;top:0;z-index:1000}.atwho-view{left:0}.atwho-view ul{background:#fff;list-style:none;margin:auto;padding:0}.atwho-view ul li{border-bottom:1px solid #efefef;box-sizing:content-box;cursor:pointer;display:block;font-size:14px;height:20px;line-height:20px;margin:0;overflow:hidden;padding:5px 10px}.atwho-view img{border-radius:2px;float:right;height:20px;margin-top:0;width:20px}.atwho-view strong{background:#efefef;font-weight:700}.atwho-view .username strong{color:#d54e21}.atwho-view small{color:#aaa;float:right;font-size:smaller;font-weight:400;margin:0 10px 0 40px}.atwho-view .cur{background:rgba(239,239,239,.5)}@media (max-width:900px){.atwho-view img{float:left;margin:0 10px 0 0}}@media (max-width:400px){.atwho-view ul li{font-size:16px;line-height:23px;padding:13px}.atwho-view ul li img{height:30px;margin-top:-5px;width:30px}.atwho-view{border-radius:0;left:0!important;width:100%}.atwho-view ul li .username{display:inline-block;margin:-10px 0 0 0;padding:10px 0}.atwho-view ul li small{display:inline-block;margin-left:20px}}
\ No newline at end of file
......@@ -776,6 +776,12 @@ function bp_blogs_sync_add_from_activity_comment( $comment_id, $params, $parent_
return;
}
// Check if comments are still open for parent item.
$comments_open = bp_blogs_comments_open( $parent_activity );
if ( ! $comments_open ) {
return;
}
// Get userdata.
if ( $params['user_id'] == bp_loggedin_user_id() ) {
$user = buddypress()->loggedin_user->userdata;
......@@ -1152,13 +1158,13 @@ function bp_blogs_setup_activity_loop_globals( $activity ) {
// Initialize a local object so we won't have to query this again in the
// comment loop.
if ( empty( buddypress()->blogs->allow_comments ) ) {
if ( ! isset( buddypress()->blogs->allow_comments ) ) {
buddypress()->blogs->allow_comments = array();
}
if ( empty( buddypress()->blogs->thread_depth ) ) {
if ( ! isset( buddypress()->blogs->thread_depth ) ) {
buddypress()->blogs->thread_depth = array();
}
if ( empty( buddypress()->blogs->comment_moderation ) ) {
if ( ! isset( buddypress()->blogs->comment_moderation ) ) {
buddypress()->blogs->comment_moderation = array();
}
......@@ -1236,12 +1242,12 @@ function bp_blogs_disable_activity_commenting( $retval ) {
// If comments are closed for the WP blog post, we should disable
// activity comments for this activity entry.
if ( empty( buddypress()->blogs->allow_comments[ bp_get_activity_id() ] ) ) {
if ( ! isset( buddypress()->blogs->allow_comments[ bp_get_activity_id() ] ) || ! buddypress()->blogs->allow_comments[ bp_get_activity_id() ] ) {
$retval = false;
}
// If comments need moderation, disable activity commenting.
if ( ! empty( buddypress()->blogs->comment_moderation[ bp_get_activity_id() ] ) ) {
if ( isset( buddypress()->blogs->comment_moderation[ bp_get_activity_id() ] ) && buddypress()->blogs->comment_moderation[ bp_get_activity_id() ] ) {
$retval = false;
}
// The activity type does not support comments or replies
......@@ -1322,13 +1328,13 @@ function bp_blogs_can_comment_reply( $retval, $comment ) {
if ( isset( buddypress()->blogs->allow_comments[$comment->item_id] ) ){
// The blog post has closed off commenting, so we should disable all activity
// comments under the parent 'new_blog_post' activity entry.
if ( empty( buddypress()->blogs->allow_comments[$comment->item_id] ) ) {
if ( ! buddypress()->blogs->allow_comments[ $comment->item_id ] ) {
$retval = false;
}
}
// If comments need moderation, disable activity commenting.
if ( ! empty( buddypress()->blogs->comment_moderation[$comment->item_id] ) ) {
if ( isset( buddypress()->blogs->comment_moderation[ $comment->item_id ] ) && buddypress()->blogs->comment_moderation[ $comment->item_id ] ) {
$retval = false;
}
......
......@@ -28,7 +28,7 @@ function bp_blogs_update_meta_cache( $blog_ids = false ) {
'object_ids' => $blog_ids,
'object_type' => buddypress()->blogs->id,
'object_column' => 'blog_id',
'cache_group' => 'blog_meta',
'cache_group' => 'bp_blog_meta',
'meta_table' => buddypress()->blogs->table_name_blogmeta,
);
......
......@@ -135,3 +135,29 @@ function bp_blogs_register_custom_site_icon_size( $sizes ) {
return $sizes;
}
add_filter( 'site_icon_image_sizes', 'bp_blogs_register_custom_site_icon_size' );
/**
* Filters the column name during blog metadata queries.
*
* This filters 'sanitize_key', which is used during various core metadata
* API functions: {@link https://core.trac.wordpress.org/browser/branches/4.9/src/wp-includes/meta.php?lines=47,160,324}.
* Due to how we are passing our meta type, we need to ensure that the correct
* DB column is referenced during blogmeta queries.
*
* @since 4.0.0
*
* @see bp_blogs_delete_blogmeta()
* @see bp_blogs_get_blogmeta()
* @see bp_blogs_update_blogmeta()
* @see bp_blogs_add_blogmeta()
*
* @param string $retval
*
* @return string
*/
function bp_blogs_filter_meta_column_name( $retval ) {
if ( 'bp_blog_id' === $retval ) {
$retval = 'blog_id';
}
return $retval;
}
......@@ -129,7 +129,7 @@ function bp_blogs_record_existing_blogs( $args = array() ) {
$sql['select'] = $wpdb->prepare( "SELECT blog_id, last_updated FROM {$wpdb->base_prefix}blogs WHERE mature = 0 AND spam = 0 AND deleted = 0 AND site_id = %d", $r['site_id'] );
// Omit root blog if large network
if ( wp_is_large_network( 'users' ) ) {
if ( bp_is_large_install() ) {
$sql['omit_root_blog'] = $wpdb->prepare( "AND blog_id != %d", bp_get_root_blog_id() );
}
......@@ -175,7 +175,7 @@ function bp_blogs_record_existing_blogs( $args = array() ) {
foreach ( (array) $blogs as $blog ) {
// Ensure that the cache is clear after the table TRUNCATE above.
wp_cache_delete( $blog->blog_id, 'blog_meta' );
wp_cache_delete( $blog->blog_id, 'bp_blog_meta' );
// Get all users.
$users = get_users( array(
......@@ -1302,20 +1302,27 @@ function bp_blogs_delete_blogmeta( $blog_id, $meta_key = false, $meta_value = fa
// Legacy - if no meta_key is passed, delete all for the blog_id.
if ( empty( $meta_key ) ) {
$keys = $wpdb->get_col( $wpdb->prepare( "SELECT meta_key FROM {$wpdb->blogmeta} WHERE blog_id = %d", $blog_id ) );
$table_name = buddypress()->blogs->table_name_blogmeta;
$sql = "SELECT meta_key FROM {$table_name} WHERE blog_id = %d";
$query = $wpdb->prepare( $sql, $blog_id );
$keys = $wpdb->get_col( $query );
// With no meta_key, ignore $delete_all.
$delete_all = false;
} else {
$keys = array( $meta_key );
}
add_filter( 'query', 'bp_filter_metaid_column_name' );
add_filter( 'sanitize_key', 'bp_blogs_filter_meta_column_name' );
$retval = false;
foreach ( $keys as $key ) {
$retval = delete_metadata( 'blog', $blog_id, $key, $meta_value, $delete_all );
$retval = delete_metadata( 'bp_blog', $blog_id, $key, $meta_value, $delete_all );
}
remove_filter( 'query', 'bp_filter_metaid_column_name' );
remove_filter( 'sanitize_key', 'bp_blogs_filter_meta_column_name' );
return $retval;
}
......@@ -1338,7 +1345,9 @@ function bp_blogs_delete_blogmeta( $blog_id, $meta_key = false, $meta_value = fa
*/
function bp_blogs_get_blogmeta( $blog_id, $meta_key = '', $single = true ) {
add_filter( 'query', 'bp_filter_metaid_column_name' );
$retval = get_metadata( 'blog', $blog_id, $meta_key, $single );
add_filter( 'sanitize_key', 'bp_blogs_filter_meta_column_name' );
$retval = get_metadata( 'bp_blog', $blog_id, $meta_key, $single );
remove_filter( 'sanitize_key', 'bp_blogs_filter_meta_column_name' );
remove_filter( 'query', 'bp_filter_metaid_column_name' );
return $retval;
......@@ -1361,7 +1370,9 @@ function bp_blogs_get_blogmeta( $blog_id, $meta_key = '', $single = true ) {
*/
function bp_blogs_update_blogmeta( $blog_id, $meta_key, $meta_value, $prev_value = '' ) {
add_filter( 'query', 'bp_filter_metaid_column_name' );
$retval = update_metadata( 'blog', $blog_id, $meta_key, $meta_value, $prev_value );
add_filter( 'sanitize_key', 'bp_blogs_filter_meta_column_name' );
$retval = update_metadata( 'bp_blog', $blog_id, $meta_key, $meta_value, $prev_value );
remove_filter( 'sanitize_key', 'bp_blogs_filter_meta_column_name' );
remove_filter( 'query', 'bp_filter_metaid_column_name' );
return $retval;
......@@ -1382,7 +1393,9 @@ function bp_blogs_update_blogmeta( $blog_id, $meta_key, $meta_value, $prev_value
*/
function bp_blogs_add_blogmeta( $blog_id, $meta_key, $meta_value, $unique = false ) {
add_filter( 'query', 'bp_filter_metaid_column_name' );
$retval = add_metadata( 'blog', $blog_id, $meta_key, $meta_value, $unique );
add_filter( 'sanitize_key', 'bp_blogs_filter_meta_column_name' );
$retval = add_metadata( 'bp_blog', $blog_id, $meta_key, $meta_value, $unique );
remove_filter( 'sanitize_key', 'bp_blogs_filter_meta_column_name' );
remove_filter( 'query', 'bp_filter_metaid_column_name' );
return $retval;
......
......@@ -63,7 +63,7 @@ class BP_Blogs_Component extends BP_Component {
);
$meta_tables = array(
'blog' => $bp->table_prefix . 'bp_user_blogs_blogmeta',
'bp_blog' => $bp->table_prefix . 'bp_user_blogs_blogmeta',
);
// Fetch the default directory title.
......@@ -347,7 +347,7 @@ class BP_Blogs_Component extends BP_Component {
// Global groups.
wp_cache_add_global_groups( array(
'blog_meta'
'bp_blog_meta'
) );
parent::setup_cache_groups();
......
......@@ -334,11 +334,7 @@ TABLE OF CONTENTS:
text-shadow: none;
text-transform: none;
top: 100%;
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
-webkit-transition: opacity 2s ease-out;
-ms-transition: opacity 2s ease-out;
transition: opacity 2s ease-out;
white-space: pre;
word-wrap: break-word;
......@@ -348,8 +344,6 @@ TABLE OF CONTENTS:
.bp-hello-close .bp-tooltip:after {
left: 0;
text-align: left;
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
}
......@@ -358,8 +352,6 @@ TABLE OF CONTENTS:
margin-bottom: 20px;
margin-top: 0;
top: auto;
-webkit-transform: translateX(-15%);
-ms-transform: translateX(-15%);
transform: translateX(-15%);
}
......
.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:""}.bp-tooltip{position:relative}.bp-tooltip:after{background:#fff;border:1px solid #aaa;border-collapse:separate;border-radius:1px;box-shadow:-1px 1px 0 1px rgba(132,132,132,.3);color:#000;content:attr(data-bp-tooltip);display:none;font-family:sans-serif;font-size:11px;font-weight:400;letter-spacing:normal;line-height:1.5;margin-top:10px;max-width:240px;opacity:0;padding:3px 6px;position:absolute;left:50%;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;top:100%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%);-webkit-transition:opacity 2s ease-out;-ms-transition:opacity 2s ease-out;transition:opacity 2s ease-out;white-space:pre;word-wrap:break-word;z-index:998}.bp-hello-close .bp-tooltip:after{left:0;text-align:left;-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}.bp-hello-social .bp-tooltip:after{bottom:120%;margin-bottom:20px;margin-top:0;top:auto;-webkit-transform:translateX(-15%);-ms-transform:translateX(-15%);transform:translateX(-15%)}.bp-tooltip:active:after,.bp-tooltip:focus:after,.bp-tooltip:hover:after{display:inline-block;opacity:1;overflow:visible;text-decoration:none;z-index:999}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"}
\ No newline at end of file
.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:""}.bp-tooltip{position:relative}.bp-tooltip:after{background:#fff;border:1px solid #aaa;border-collapse:separate;border-radius:1px;box-shadow:-1px 1px 0 1px rgba(132,132,132,.3);color:#000;content:attr(data-bp-tooltip);display:none;font-family:sans-serif;font-size:11px;font-weight:400;letter-spacing:normal;line-height:1.5;margin-top:10px;max-width:240px;opacity:0;padding:3px 6px;position:absolute;left:50%;text-align:center;text-decoration:none;text-shadow:none;text-transform:none;top:100%;transform:translateX(-50%);transition:opacity 2s ease-out;white-space:pre;word-wrap:break-word;z-index:998}.bp-hello-close .bp-tooltip:after{left:0;text-align:left;transform:translateX(0)}.bp-hello-social .bp-tooltip:after{bottom:120%;margin-bottom:20px;margin-top:0;top:auto;transform:translateX(-15%)}.bp-tooltip:active:after,.bp-tooltip:focus:after,.bp-tooltip:hover:after{display:inline-block;opacity:1;overflow:visible;text-decoration:none;z-index:999}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"}
\ No newline at end of file
......@@ -334,11 +334,7 @@ TABLE OF CONTENTS:
text-shadow: none;
text-transform: none;
top: 100%;
-webkit-transform: translateX(50%);
-ms-transform: translateX(50%);
transform: translateX(50%);
-webkit-transition: opacity 2s ease-out;
-ms-transition: opacity 2s ease-out;
transition: opacity 2s ease-out;
white-space: pre;
word-wrap: break-word;
......@@ -348,8 +344,6 @@ TABLE OF CONTENTS:
.bp-hello-close .bp-tooltip:after {
right: 0;
text-align: right;
-webkit-transform: translateX(0);
-ms-transform: translateX(0);
transform: translateX(0);
}
......@@ -358,8 +352,6 @@ TABLE OF CONTENTS:
margin-bottom: 20px;
margin-top: 0;
top: auto;
-webkit-transform: translateX(15%);
-ms-transform: translateX(15%);
transform: translateX(15%);