Version Description
= 2.4.0 = See: https://codex.buddypress.org/releases/version-2-4-0/
= 2.3.4 = See: https://codex.buddypress.org/releases/version-2-3-4/
= 2.3.3 = See: https://codex.buddypress.org/releases/version-2-3-3/
= 2.3.2 = See: https://codex.buddypress.org/releases/version-2-3-2/
= 2.3.1 = See: https://codex.buddypress.org/releases/version-2-3-1/
= 2.3.0 = See: https://codex.buddypress.org/releases/version-2-3-0/
= 2.2.3.1 = See: https://codex.buddypress.org/releases/version-2-2-3-1/
= 2.2.3 = See: https://codex.buddypress.org/releases/version-2-2-3/
= 2.2.2.1 = See: https://codex.buddypress.org/releases/version-2-2-2-1/
= 2.2.2 = See: https://codex.buddypress.org/releases/version-2-2-2/
= 2.2.1 = See: https://codex.buddypress.org/releases/version-2-2-1/
= 2.2 = See: https://codex.buddypress.org/releases/version-2-2/
= 2.1 = See: https://codex.buddypress.org/releases/version-2-1/
= 2.0.3 = See: https://codex.buddypress.org/releases/version-2-0-3/
= 2.0.2 = See: https://codex.buddypress.org/releases/version-2-0-2/
= 2.0.1 = See: https://codex.buddypress.org/releases/version-2-0-1/
= 2.0 = See: https://codex.buddypress.org/releases/version-2-0/
= 1.9.2 = See: https://codex.buddypress.org/releases/version-1-9-2/
= 1.9.1 = See: https://codex.buddypress.org/releases/version-1-9-1/
= 1.9 = See: https://codex.buddypress.org/releases/version-1-9/
= 1.8.1 = See: https://codex.buddypress.org/releases/version-1-8-1/
= 1.8 = See: https://codex.buddypress.org/releases/version-1-8/
= 1.7.3 = See: https://codex.buddypress.org/releases/version-1-7-3/
= 1.7.2 = See: https://codex.buddypress.org/releases/version-1-7-2/
= 1.7.1 = See: https://codex.buddypress.org/releases/version-1-7-1/
= 1.7 = See: https://codex.buddypress.org/releases/version-1-7/
= 1.6.5 = See: https://codex.buddypress.org/releases/version-1-6-5/
= 1.6.4 = See: https://codex.buddypress.org/releases/version-1-6-4/
= 1.6.3 = See: https://codex.buddypress.org/releases/version-1-6-3/
= 1.6.2 = Compatibility with WordPress 3.5
= 1.6.1 = Fixes 4 bugs
= 1.6 = See: https://codex.buddypress.org/releases/version-1-6/
= 1.5 = See: https://codex.buddypress.org/releases/version-1-5/
= 1.2.9 = Compatibility with WordPress 3.2
= 1.2.8 = Compatibility with WordPress 3.1
= 1.2.7 = Fixes over 10 bugs.
Release Info
Developer | DJPaul |
Plugin | BuddyPress |
Version | 2.4.0-beta2 |
Comparing to | |
See all releases |
Code changes from version 2.4.0-beta1 to 2.4.0-beta2
- bp-activity/admin/js/admin.min.js +1 -1
- bp-activity/bp-activity-admin.php +6 -3
- bp-activity/bp-activity-akismet.php +1 -1
- bp-activity/bp-activity-functions.php +3 -3
- bp-activity/js/mentions.min.js +1 -1
- bp-blogs/bp-blogs-functions.php +5 -0
- bp-core/admin/bp-core-admin-functions.php +1 -1
- bp-core/bp-core-admin.php +30 -24
- bp-core/bp-core-avatars.php +95 -30
- bp-core/bp-core-filters.php +1 -1
- bp-core/bp-core-template-loader.php +12 -6
- bp-core/css/buddybar-rtl.min.css +1 -1
- bp-core/css/buddybar.min.css +1 -1
- bp-core/deprecated/js/autocomplete/jquery.autocomplete.min.js +1 -1
- bp-core/deprecated/js/autocomplete/jquery.autocompletefb.min.js +1 -1
- bp-core/deprecated/js/autocomplete/jquery.bgiframe.min.js +1 -1
- bp-core/deprecated/js/autocomplete/jquery.dimensions.min.js +1 -1
- bp-core/js/avatar.min.js +1 -1
- bp-core/js/bp-plupload.min.js +1 -1
- bp-core/js/confirm.min.js +1 -1
- bp-core/js/cover-image.min.js +1 -1
- bp-core/js/jquery-cookie.min.js +1 -1
- bp-core/js/jquery-query.min.js +1 -1
- bp-core/js/jquery-scroll-to.min.js +1 -1
- bp-core/js/jquery.atwho.min.js +1 -1
- bp-core/js/jquery.caret.min.js +1 -1
- bp-core/js/webcam.min.js +1 -1
- bp-core/js/widget-members.min.js +1 -1
- bp-forums/deprecated/1.6.php +8 -5
- bp-friends/bp-friends-widgets.php +1 -1
- bp-friends/js/widget-friends.min.js +1 -1
- bp-groups/admin/js/admin.min.js +1 -1
- bp-groups/bp-groups-actions.php +1 -1
- bp-groups/bp-groups-admin.php +4 -4
- bp-groups/bp-groups-functions.php +3 -10
- bp-groups/bp-groups-loader.php +1 -1
- bp-groups/bp-groups-screens.php +1 -1
- bp-groups/js/widget-groups.min.js +1 -1
- bp-loader.php +2 -2
- bp-members/admin/css/admin-rtl.css +3 -2
- bp-members/admin/css/admin-rtl.min.css +1 -1
- bp-members/admin/css/admin.css +3 -2
- bp-members/admin/css/admin.min.css +1 -1
- bp-members/admin/js/admin.min.js +1 -1
- bp-members/bp-members-admin.php +1 -1
- bp-members/bp-members-functions.php +1 -1
- bp-members/bp-members-screens.php +1 -1
- bp-members/bp-members-widgets.php +2 -2
- bp-messages/bp-messages-actions.php +46 -45
- bp-messages/bp-messages-cache.php +9 -9
- bp-messages/bp-messages-filters.php +3 -2
- bp-messages/bp-messages-functions.php +55 -40
- bp-messages/bp-messages-loader.php +20 -21
- bp-messages/bp-messages-notifications.php +15 -16
- bp-messages/bp-messages-screens.php +3 -3
- bp-messages/bp-messages-star.php +35 -35
- bp-messages/bp-messages-template.php +47 -34
- bp-messages/bp-messages-widgets.php +2 -5
- bp-messages/classes/class-bp-messages-message.php +7 -12
- bp-messages/classes/class-bp-messages-notice.php +4 -3
- bp-messages/classes/class-bp-messages-thread.php +36 -46
- bp-notifications/bp-notifications-actions.php +17 -17
- bp-notifications/bp-notifications-adminbar.php +1 -1
- bp-notifications/bp-notifications-cache.php +4 -5
- bp-notifications/bp-notifications-classes.php +0 -1
- bp-notifications/bp-notifications-functions.php +59 -65
- bp-notifications/bp-notifications-loader.php +17 -14
- bp-notifications/bp-notifications-template.php +42 -45
- bp-notifications/classes/class-bp-notifications-notification.php +73 -93
- bp-settings/bp-settings-template.php +7 -1
- bp-templates/bp-legacy/buddypress-functions.php +6 -5
- bp-templates/bp-legacy/buddypress/activity/entry.php +1 -1
- bp-templates/bp-legacy/buddypress/activity/index.php +4 -4
- bp-templates/bp-legacy/buddypress/blogs/index.php +2 -2
- bp-templates/bp-legacy/buddypress/forums/index.php +2 -2
- bp-templates/bp-legacy/buddypress/groups/index.php +2 -2
- bp-templates/bp-legacy/buddypress/groups/single/cover-image-header.php +62 -64
- bp-templates/bp-legacy/buddypress/members/index.php +2 -2
- bp-templates/bp-legacy/buddypress/members/register.php +13 -2
- bp-templates/bp-legacy/buddypress/members/single/cover-image-header.php +46 -48
- bp-templates/bp-legacy/buddypress/members/single/profile/change-avatar.php +2 -2
- bp-templates/bp-legacy/buddypress/members/single/profile/edit.php +13 -2
- bp-templates/bp-legacy/css/buddypress-rtl.css +19 -8
- bp-templates/bp-legacy/css/buddypress-rtl.min.css +1 -1
- bp-templates/bp-legacy/css/buddypress.css +19 -8
- bp-templates/bp-legacy/css/buddypress.min.css +1 -1
- bp-templates/bp-legacy/css/twentyfifteen-rtl.css +0 -10
- bp-templates/bp-legacy/css/twentyfifteen-rtl.min.css +1 -1
- bp-templates/bp-legacy/css/twentyfifteen.css +0 -10
- bp-templates/bp-legacy/css/twentyfifteen.min.css +1 -1
- bp-templates/bp-legacy/css/twentyfifteen.scss +0 -5
- bp-templates/bp-legacy/css/twentyfourteen-rtl.css +0 -8
- bp-templates/bp-legacy/css/twentyfourteen-rtl.min.css +1 -1
- bp-templates/bp-legacy/css/twentyfourteen.css +0 -8
- bp-templates/bp-legacy/css/twentyfourteen.min.css +1 -1
- bp-templates/bp-legacy/css/twentyfourteen.scss +0 -10
- bp-templates/bp-legacy/css/twentysixteen-rtl.css +65 -49
- bp-templates/bp-legacy/css/twentysixteen-rtl.min.css +1 -1
- bp-templates/bp-legacy/css/twentysixteen.css +65 -49
- bp-templates/bp-legacy/css/twentysixteen.min.css +1 -1
- bp-templates/bp-legacy/css/twentysixteen.scss +91 -33
- bp-templates/bp-legacy/css/twentythirteen-rtl.css +72 -53
- bp-templates/bp-legacy/css/twentythirteen-rtl.min.css +1 -1
- bp-templates/bp-legacy/css/twentythirteen.css +72 -53
- bp-templates/bp-legacy/css/twentythirteen.min.css +1 -1
- bp-templates/bp-legacy/css/twentythirteen.scss +83 -26
- bp-templates/bp-legacy/js/buddypress.js +63 -35
- bp-templates/bp-legacy/js/buddypress.min.js +3 -3
- bp-templates/bp-legacy/js/password-verify.min.js +1 -1
- bp-xprofile/admin/css/admin-rtl.min.css +1 -1
- bp-xprofile/admin/css/admin.min.css +1 -1
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
!function(a){var b={init:function(){a(document).on("click",".row-actions a.reply",b.open),a(document).on("click","#bp-activities-container a.cancel",b.close),a(document).on("click","#bp-activities-container a.save",b.send),a(document).on("keyup","#bp-activities:visible",function(a){27===a.which&&b.close()})},open:function(){var b=a("#bp-activities-container").hide();return a(this).parents("tr").after(b),b.fadeIn("300"),a("#bp-activities").focus(),!1},close:function(){return a("#bp-activities-container").fadeOut("200",function(){a("#bp-activities").val("").blur(),a("#bp-replysubmit .error").html("").hide(),a("#bp-replysubmit .waiting").hide()}),!1},send:function(){a("#bp-replysubmit .error").hide(),a("#bp-replysubmit .waiting").show();var c={};return c["_ajax_nonce-bp-activity-admin-reply"]=a('#bp-activities-container input[name="_ajax_nonce-bp-activity-admin-reply"]').val(),c.action="bp-activity-admin-reply",c.content=a("#bp-activities").val(),c.parent_id=a("#bp-activities-container").prev().data("parent_id"),c.root_id=a("#bp-activities-container").prev().data("root_id"),a.ajax({data:c,type:"POST",url:ajaxurl,error:function(a){b.error(a)},success:function(a){b.show(a)}}),!1},error:function(b){var c=b.statusText;a("#bp-replysubmit .waiting").hide(),b.responseText&&(c=b.responseText.replace(/<.[^<>]*?>/g,"")),c&&a("#bp-replysubmit .error").html(c).show()},show:function(c){var d,e,f;return"string"==typeof c?(b.error({responseText:c}),!1):(f=wpAjax.parseAjaxResponse(c),f.errors?(b.error({responseText:wpAjax.broken}),!1):(f=f.responses[0],void a("#bp-activities-container").fadeOut("200",function(){a("#bp-activities").val("").blur(),a("#bp-replysubmit .error").html("").hide(),a("#bp-replysubmit .waiting").hide(),a("#bp-activities-container").before(f.data),e=a("#activity-"+f.id),d=e.closest(".widefat").css("backgroundColor"),e.animate({backgroundColor:"#CEB"},300).animate({backgroundColor:d},300)})))}};a(document).ready(function(){b.init(),a("#bp_activity_action h3, #bp_activity_content h3").unbind("click"),"undefined"!=typeof postboxes&&postboxes.add_postbox_toggles(bp_activity_admin_vars.page)})}(jQuery);
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
!function(a){var b={init:function(){a(document).on("click",".row-actions a.reply",b.open),a(document).on("click","#bp-activities-container a.cancel",b.close),a(document).on("click","#bp-activities-container a.save",b.send),a(document).on("keyup","#bp-activities:visible",function(a){27===a.which&&b.close()})},open:function(){var b=a("#bp-activities-container").hide();return a(this).parents("tr").after(b),b.fadeIn("300"),a("#bp-activities").focus(),!1},close:function(){return a("#bp-activities-container").fadeOut("200",function(){a("#bp-activities").val("").blur(),a("#bp-replysubmit .error").html("").hide(),a("#bp-replysubmit .waiting").hide()}),!1},send:function(){a("#bp-replysubmit .error").hide(),a("#bp-replysubmit .waiting").show();var c={};return c["_ajax_nonce-bp-activity-admin-reply"]=a('#bp-activities-container input[name="_ajax_nonce-bp-activity-admin-reply"]').val(),c.action="bp-activity-admin-reply",c.content=a("#bp-activities").val(),c.parent_id=a("#bp-activities-container").prev().data("parent_id"),c.root_id=a("#bp-activities-container").prev().data("root_id"),a.ajax({data:c,type:"POST",url:ajaxurl,error:function(a){b.error(a)},success:function(a){b.show(a)}}),!1},error:function(b){var c=b.statusText;a("#bp-replysubmit .waiting").hide(),b.responseText&&(c=b.responseText.replace(/<.[^<>]*?>/g,"")),c&&a("#bp-replysubmit .error").html(c).show()},show:function(c){var d,e,f;return"string"==typeof c?(b.error({responseText:c}),!1):(f=wpAjax.parseAjaxResponse(c),f.errors?(b.error({responseText:wpAjax.broken}),!1):(f=f.responses[0],void a("#bp-activities-container").fadeOut("200",function(){a("#bp-activities").val("").blur(),a("#bp-replysubmit .error").html("").hide(),a("#bp-replysubmit .waiting").hide(),a("#bp-activities-container").before(f.data),e=a("#activity-"+f.id),d=e.closest(".widefat").css("backgroundColor"),e.animate({backgroundColor:"#CEB"},300).animate({backgroundColor:d},300)})))}};a(document).ready(function(){b.init(),a("#bp_activity_action h3, #bp_activity_content h3").unbind("click"),"undefined"!=typeof postboxes&&postboxes.add_postbox_toggles(bp_activity_admin_vars.page)})}(jQuery);
|
@@ -699,7 +699,10 @@ function bp_activity_admin_edit() {
|
|
699 |
</form>
|
700 |
|
701 |
<?php else : ?>
|
702 |
-
<p
|
|
|
|
|
|
|
703 |
<?php endif; ?>
|
704 |
|
705 |
</div><!-- .wrap -->
|
@@ -740,7 +743,7 @@ function bp_activity_admin_edit_metabox_status( $item ) {
|
|
740 |
$datef = __( 'M j, Y @ G:i', 'buddypress' );
|
741 |
$date = date_i18n( $datef, strtotime( $item->date_recorded ) );
|
742 |
?>
|
743 |
-
<span id="timestamp"><?php printf( __( 'Submitted on:
|
744 |
|
745 |
<div id='timestampdiv' class='hide-if-js'>
|
746 |
<?php touch_time( 1, 0, 5 ); ?>
|
@@ -1649,7 +1652,7 @@ class BP_Activity_List_Table extends WP_List_Table {
|
|
1649 |
// Activity permalink
|
1650 |
$activity_permalink = '';
|
1651 |
if ( ! $item['is_spam'] ) {
|
1652 |
-
$activity_permalink =
|
1653 |
}
|
1654 |
|
1655 |
/**
|
699 |
</form>
|
700 |
|
701 |
<?php else : ?>
|
702 |
+
<p>
|
703 |
+
<?php _e( 'No activity found with this ID.', 'buddypress' ); ?>
|
704 |
+
<a href="<?php echo esc_url( bp_get_admin_url( 'admin.php?page=bp-activity' ) ); ?>"><?php _e( 'Go back and try again.', 'buddypress' ); ?></a>
|
705 |
+
</p>
|
706 |
<?php endif; ?>
|
707 |
|
708 |
</div><!-- .wrap -->
|
743 |
$datef = __( 'M j, Y @ G:i', 'buddypress' );
|
744 |
$date = date_i18n( $datef, strtotime( $item->date_recorded ) );
|
745 |
?>
|
746 |
+
<span id="timestamp"><?php printf( __( 'Submitted on: %s', 'buddypress' ), '<strong>' . $date . '</strong>' ); ?></span> <a href="#edit_timestamp" class="edit-timestamp hide-if-no-js" tabindex='4'><?php _e( 'Edit', 'buddypress' ); ?></a>
|
747 |
|
748 |
<div id='timestampdiv' class='hide-if-js'>
|
749 |
<?php touch_time( 1, 0, 5 ); ?>
|
1652 |
// Activity permalink
|
1653 |
$activity_permalink = '';
|
1654 |
if ( ! $item['is_spam'] ) {
|
1655 |
+
$activity_permalink = '<a href="' . bp_activity_get_permalink( $item['id'], (object) $item ) . '" class="comments-view-item-link">' . __( 'View Activity', 'buddypress' ) . '</a>';
|
1656 |
}
|
1657 |
|
1658 |
/**
|
@@ -606,7 +606,7 @@ class BP_Akismet {
|
|
606 |
return;
|
607 |
|
608 |
echo '<div class="akismet-history"><div>';
|
609 |
-
printf( _x( '
|
610 |
echo '</div></div>';
|
611 |
}
|
612 |
|
606 |
return;
|
607 |
|
608 |
echo '<div class="akismet-history"><div>';
|
609 |
+
printf( _x( '%1$s — %2$s', 'x hours ago - akismet cleared this item', 'buddypress' ), '<span>' . bp_core_time_since( $history[2] ) . '</span>', esc_html( $history[1] ) );
|
610 |
echo '</div></div>';
|
611 |
}
|
612 |
|
@@ -2149,9 +2149,9 @@ function bp_activity_new_comment( $args = '' ) {
|
|
2149 |
*
|
2150 |
* @since 1.2.0
|
2151 |
*
|
2152 |
-
* @param int
|
2153 |
-
* @param array
|
2154 |
-
* @param
|
2155 |
*/
|
2156 |
do_action( 'bp_activity_comment_posted', $comment_id, $r, $activity );
|
2157 |
|
2149 |
*
|
2150 |
* @since 1.2.0
|
2151 |
*
|
2152 |
+
* @param int $comment_id ID of the newly posted activity comment.
|
2153 |
+
* @param array $r Array of parsed comment arguments.
|
2154 |
+
* @param BP_Activity_Activity $activity Activity item being commented on.
|
2155 |
*/
|
2156 |
do_action( 'bp_activity_comment_posted', $comment_id, $r, $activity );
|
2157 |
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
window.bp=window.bp||{},function(a,b,c){var d,e=[];a.mentions=a.mentions||{},a.mentions.users=window.bp.mentions.users||[],"object"==typeof window.BP_Suggestions&&(a.mentions.users=window.BP_Suggestions.friends||a.mentions.users),b.fn.bp_mentions=function(a){b.isArray(a)&&(a={data:a});var c={delay:200,hide_without_suffix:!0,insert_tpl:"</>${atwho-data-value}</>",limit:10,start_with_space:!1,suffix:"",callbacks:{filter:function(a,b,c){var d,e,f,g=[],h=new RegExp("^"+a+"| "+a,"ig");for(e=0,f=b.length;f>e;e++)d=b[e],d[c].toLowerCase().match(h)&&g.push(d);return g},highlighter:function(a,b){if(!b)return a;var c=new RegExp(">(\\s*|[\\w\\s]*)("+this.at.replace("+","\\+")+"?"+b.replace("+","\\+")+")([\\w ]*)\\s*<","ig");return a.replace(c,function(a,b,c,d){return">"+b+"<strong>"+c+"</strong>"+d+"<"})},before_reposition:function(a){var c,d,e,f,g=b("#atwho-ground-"+this.id+" .atwho-view"),h=b("body"),i=this.$inputor.data("atwho");"undefined"!==i&&"undefined"!==i.iframe&&null!==i.iframe?(c=this.$inputor.caret("offset",{iframe:i.iframe}),e=b(i.iframe).offset(),"undefined"!==e&&(c.left+=e.left,c.top+=e.top)):c=this.$inputor.caret("offset"),c.left>h.width()/2?(g.addClass("right"),f=c.left-a.left-this.view.$el.width()):(g.removeClass("right"),f=c.left-a.left+1),h.width()<=400&&b(document).scrollTop(c.top-6),d=parseInt(this.$inputor.css("line-height").substr(0,this.$inputor.css("line-height").length-2),10),(!d||5>d)&&(d=19),a.top=c.top+d,a.left+=f},inserting_wrapper:function(a,b,c){return""+b+c}}},f={callbacks:{remote_filter:function(a,c){var f=b(this),g={};return d=e[a],"object"==typeof d?void c(d):(f.xhr&&f.xhr.abort(),g={action:"bp_get_suggestions",term:a,type:"members"},b.isNumeric(this.$inputor.data("suggestions-group-id"))&&(g["group-id"]=parseInt(this.$inputor.data("suggestions-group-id"),10)),void(f.xhr=b.getJSON(ajaxurl,g).done(function(d){if(d.success){var f=b.map(d.data,function(a){return a.search=a.search||a.ID+" "+a.name,a});e[a]=f,c(f)}})))}},data:b.map(a.data,function(a){return a.search=a.search||a.ID+" "+a.name,a}),at:"@",search_key:"search",tpl:'<li data-value="@${ID}"><img src="${image}" /><span class="username">@${ID}</span><small>${name}</small></li>'},g=b.extend(!0,{},c,f,a);return b.fn.atwho.call(this,g)},b(document).ready(function(){b(".bp-suggestions, #comments form textarea, .wp-editor-area").bp_mentions(a.mentions.users)}),a.mentions.tinyMCEinit=function(){"undefined"!=typeof window.tinyMCE&&null!==window.tinyMCE.activeEditor&&"undefined"!=typeof window.tinyMCE.activeEditor&&b(window.tinyMCE.activeEditor.contentDocument.activeElement).atwho("setIframe",b("#content_ifr")[0]).bp_mentions(a.mentions.users)}}(bp,jQuery);
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
window.bp=window.bp||{},function(a,b,c){var d,e=[];a.mentions=a.mentions||{},a.mentions.users=window.bp.mentions.users||[],"object"==typeof window.BP_Suggestions&&(a.mentions.users=window.BP_Suggestions.friends||a.mentions.users),b.fn.bp_mentions=function(a){b.isArray(a)&&(a={data:a});var c={delay:200,hide_without_suffix:!0,insert_tpl:"</>${atwho-data-value}</>",limit:10,start_with_space:!1,suffix:"",callbacks:{filter:function(a,b,c){var d,e,f,g=[],h=new RegExp("^"+a+"| "+a,"ig");for(e=0,f=b.length;f>e;e++)d=b[e],d[c].toLowerCase().match(h)&&g.push(d);return g},highlighter:function(a,b){if(!b)return a;var c=new RegExp(">(\\s*|[\\w\\s]*)("+this.at.replace("+","\\+")+"?"+b.replace("+","\\+")+")([\\w ]*)\\s*<","ig");return a.replace(c,function(a,b,c,d){return">"+b+"<strong>"+c+"</strong>"+d+"<"})},before_reposition:function(a){var c,d,e,f,g=b("#atwho-ground-"+this.id+" .atwho-view"),h=b("body"),i=this.$inputor.data("atwho");"undefined"!==i&&"undefined"!==i.iframe&&null!==i.iframe?(c=this.$inputor.caret("offset",{iframe:i.iframe}),e=b(i.iframe).offset(),"undefined"!==e&&(c.left+=e.left,c.top+=e.top)):c=this.$inputor.caret("offset"),c.left>h.width()/2?(g.addClass("right"),f=c.left-a.left-this.view.$el.width()):(g.removeClass("right"),f=c.left-a.left+1),h.width()<=400&&b(document).scrollTop(c.top-6),d=parseInt(this.$inputor.css("line-height").substr(0,this.$inputor.css("line-height").length-2),10),(!d||5>d)&&(d=19),a.top=c.top+d,a.left+=f},inserting_wrapper:function(a,b,c){return""+b+c}}},f={callbacks:{remote_filter:function(a,c){var f=b(this),g={};return d=e[a],"object"==typeof d?void c(d):(f.xhr&&f.xhr.abort(),g={action:"bp_get_suggestions",term:a,type:"members"},b.isNumeric(this.$inputor.data("suggestions-group-id"))&&(g["group-id"]=parseInt(this.$inputor.data("suggestions-group-id"),10)),void(f.xhr=b.getJSON(ajaxurl,g).done(function(d){if(d.success){var f=b.map(d.data,function(a){return a.search=a.search||a.ID+" "+a.name,a});e[a]=f,c(f)}})))}},data:b.map(a.data,function(a){return a.search=a.search||a.ID+" "+a.name,a}),at:"@",search_key:"search",tpl:'<li data-value="@${ID}"><img src="${image}" /><span class="username">@${ID}</span><small>${name}</small></li>'},g=b.extend(!0,{},c,f,a);return b.fn.atwho.call(this,g)},b(document).ready(function(){b(".bp-suggestions, #comments form textarea, .wp-editor-area").bp_mentions(a.mentions.users)}),a.mentions.tinyMCEinit=function(){"undefined"!=typeof window.tinyMCE&&null!==window.tinyMCE.activeEditor&&"undefined"!=typeof window.tinyMCE.activeEditor&&b(window.tinyMCE.activeEditor.contentDocument.activeElement).atwho("setIframe",b("#content_ifr")[0]).bp_mentions(a.mentions.users)}}(bp,jQuery);
|
@@ -673,6 +673,11 @@ function bp_blogs_record_comment( $comment_id, $is_approved = true ) {
|
|
673 |
'secondary_item_id' => $recorded_comment->comment_post_ID
|
674 |
) );
|
675 |
|
|
|
|
|
|
|
|
|
|
|
676 |
// we found the parent activity entry
|
677 |
// so let's go ahead and reconfigure some activity args
|
678 |
if ( ! empty( $parent_activity_id ) ) {
|
673 |
'secondary_item_id' => $recorded_comment->comment_post_ID
|
674 |
) );
|
675 |
|
676 |
+
// Try to create a new activity item for the parent blog post
|
677 |
+
if ( empty( $parent_activity_id ) ) {
|
678 |
+
$parent_activity_id = bp_activity_post_type_publish( $recorded_comment->comment_post_ID, $recorded_comment->post );
|
679 |
+
}
|
680 |
+
|
681 |
// we found the parent activity entry
|
682 |
// so let's go ahead and reconfigure some activity args
|
683 |
if ( ! empty( $parent_activity_id ) ) {
|
@@ -570,7 +570,7 @@ function bp_core_add_contextual_help_content( $tab = '' ) {
|
|
570 |
break;
|
571 |
|
572 |
case 'bp-profile-overview' :
|
573 |
-
$retval = __( 'Your users will distinguish themselves through their profile page. Create relevant profile fields that will show on each users profile
|
574 |
break;
|
575 |
|
576 |
default:
|
570 |
break;
|
571 |
|
572 |
case 'bp-profile-overview' :
|
573 |
+
$retval = __( 'Your users will distinguish themselves through their profile page. Create relevant profile fields that will show on each users profile.', 'buddypress' ) . '<br /><br />' . __( 'Note: Any fields in the first group will appear on the signup page.', 'buddypress' );
|
574 |
break;
|
575 |
|
576 |
default:
|
@@ -730,46 +730,52 @@ class BP_Admin {
|
|
730 |
|
731 |
<h4 class="wp-people-group"><?php printf( esc_html__( 'Contributors to BuddyPress %s', 'buddypress' ), self::display_version() ); ?></h4>
|
732 |
<p class="wp-credits-list">
|
733 |
-
<a href="https://profiles.wordpress.org/
|
|
|
734 |
<a href="https://profiles.wordpress.org/boonebgorges/">Boone B Gorges (boonebgorges)</a>,
|
735 |
-
<a href="https://profiles.wordpress.org/
|
736 |
-
<a href="https://profiles.wordpress.org/
|
|
|
|
|
|
|
|
|
|
|
737 |
<a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>,
|
738 |
-
<a href="https://profiles.wordpress.org/
|
739 |
-
<a href="https://profiles.wordpress.org/
|
740 |
-
ecehren,
|
741 |
-
<a href="https://profiles.wordpress.org/finzend/">finzend</a>,
|
742 |
-
<a href="https://profiles.wordpress.org/Mamaduka/">George Mamadashvili (Mamaduka)</a>,
|
743 |
-
<a href="https://profiles.wordpress.org/gregrickaby/">Greg Rickaby (gregrickaby)</a>,
|
744 |
-
<a href="https://profiles.wordpress.org/henrywright/">Henry Wright (henry.wright)</a>,
|
745 |
<a href="https://profiles.wordpress.org/hnla/">Hugo (hnla)</a>,
|
746 |
-
<a href="https://profiles.wordpress.org/
|
|
|
|
|
747 |
<a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>,
|
748 |
-
<a href="https://profiles.wordpress.org/
|
749 |
-
<a href="https://profiles.wordpress.org/
|
750 |
-
<a href="https://profiles.wordpress.org/
|
|
|
|
|
751 |
<a href="https://profiles.wordpress.org/Offereins">Laurens Offereins (Offereins)</a>
|
752 |
<a href="https://profiles.wordpress.org/lenasterg/">lenasterg</a>,
|
753 |
-
<a href="https://profiles.wordpress.org/
|
754 |
-
<a href="https://profiles.wordpress.org/
|
755 |
<a href="https://profiles.wordpress.org/imath/">Mathieu Viet (imath)</a>,
|
756 |
-
<a href="https://profiles.wordpress.org/
|
757 |
<a href="https://profiles.wordpress.org/mercime/">mercime</a>,
|
758 |
<a href="https://profiles.wordpress.org/tw2113/">Michael Beckwith (tw2113)</a>,
|
|
|
759 |
<a href="https://profiles.wordpress.org/pareshradadiya/">paresh.radadiya (pareshradadiya)</a>,
|
760 |
<a href="https://profiles.wordpress.org/DJPaul/">Paul Gibbs (DJPaul)</a>,
|
761 |
-
<a href="https://profiles.wordpress.org/prometheus-fire/">Prometheus Fire</a>,
|
762 |
<a href="https://profiles.wordpress.org/r-a-y/">r-a-y</a>,
|
763 |
-
<a href="https://profiles.wordpress.org/
|
764 |
-
<a href="https://profiles.wordpress.org/
|
765 |
-
<a href="https://profiles.wordpress.org/wonderboymusic/">Scott Taylor (wonderboymusic)</a>.
|
766 |
<a href="https://profiles.wordpress.org/SergeyBiryukov/">Sergey Biryukov (SergeyBiryukov)</a>,
|
767 |
<a href="https://profiles.wordpress.org/shanebp/">shanebp</a>,
|
|
|
768 |
<a href="https://profiles.wordpress.org/netweb/">Stephen Edgar (netweb)</a>,
|
769 |
<a href="https://profiles.wordpress.org/svenl77/">svenl77</a>,
|
770 |
-
<a href="https://profiles.wordpress.org/
|
771 |
-
<a href="https://profiles.wordpress.org/
|
772 |
-
<a href="https://profiles.wordpress.org/
|
|
|
773 |
</p>
|
774 |
|
775 |
<h4 class="wp-people-group"><?php _e( 'External Libraries', 'buddypress' ); ?></h4>
|
730 |
|
731 |
<h4 class="wp-people-group"><?php printf( esc_html__( 'Contributors to BuddyPress %s', 'buddypress' ), self::display_version() ); ?></h4>
|
732 |
<p class="wp-credits-list">
|
733 |
+
<a href="https://profiles.wordpress.org/ankit-k-gupta/">Ankit K Gupta</a>,
|
734 |
+
<a href="https://profiles.wordpress.org/anthonyvalera/">anthonyvalera</a>,
|
735 |
<a href="https://profiles.wordpress.org/boonebgorges/">Boone B Gorges (boonebgorges)</a>,
|
736 |
+
<a href="https://profiles.wordpress.org/thebrandonallen/">Brandon Allen (thebrandonallen)</a>,
|
737 |
+
<a href="https://profiles.wordpress.org/BuddyBoss/">BuddyBoss</a>,
|
738 |
+
<a href="https://profiles.wordpress.org/needle/">Christian Wach (needle)</a>,
|
739 |
+
<a href="https://profiles.wordpress.org/damland/">damland</a>,
|
740 |
+
<a href="https://profiles.wordpress.org/danbp/">danbp</a>,
|
741 |
+
<a href="https://profiles.wordpress.org/daniluk4000/">daniluk4000</a>,
|
742 |
+
<a href="https://profiles.wordpress.org/davidtcarson/">David Carson (davidtcarson)</a>,
|
743 |
<a href="https://profiles.wordpress.org/dcavins/">David Cavins (dcavins)</a>,
|
744 |
+
<a href="https://profiles.wordpress.org/valendesigns/">Derek Herman (valendesigns)</a>,
|
745 |
+
<a href="https://profiles.wordpress.org/ganesh641/">ganesh641</a>,
|
|
|
|
|
|
|
|
|
|
|
746 |
<a href="https://profiles.wordpress.org/hnla/">Hugo (hnla)</a>,
|
747 |
+
<a href="https://profiles.wordpress.org/jdgrimes/">J.D. Grimes</a>,
|
748 |
+
<a href="https://profiles.wordpress.org/JeffMatson/">JeffMatson</a>,
|
749 |
+
<a href="https://profiles.wordpress.org/jmarx75/">jmarx75</a>,
|
750 |
<a href="https://profiles.wordpress.org/johnjamesjacoby/">John James Jacoby (johnjamesjacoby)</a>,
|
751 |
+
<a href="https://profiles.wordpress.org/kahless/">Jon Breitenbucher (kahless)</a>,
|
752 |
+
<a href="https://profiles.wordpress.org/jbrinley/">Jonathan Brinley (jbrinley)</a>,
|
753 |
+
<a href="https://profiles.wordpress.org/dunhakdis/">Joseph G. (dunhakdis)</a>,
|
754 |
+
<a href="https://profiles.wordpress.org/lakrisgubben/">lakrisgubben</a>,
|
755 |
+
<a href="https://profiles.wordpress.org/landwire/">landwire</a>,
|
756 |
<a href="https://profiles.wordpress.org/Offereins">Laurens Offereins (Offereins)</a>
|
757 |
<a href="https://profiles.wordpress.org/lenasterg/">lenasterg</a>,
|
758 |
+
<a href="https://profiles.wordpress.org/mrk-1/">m@rk</a>,
|
759 |
+
<a href="https://profiles.wordpress.org/mahype/">mahype</a>,
|
760 |
<a href="https://profiles.wordpress.org/imath/">Mathieu Viet (imath)</a>,
|
761 |
+
<a href="https://profiles.wordpress.org/mehulkaklotar/">mehulkaklotar</a>,
|
762 |
<a href="https://profiles.wordpress.org/mercime/">mercime</a>,
|
763 |
<a href="https://profiles.wordpress.org/tw2113/">Michael Beckwith (tw2113)</a>,
|
764 |
+
<a href="https://profiles.wordpress.org/modemlooper/">modemlooper</a>,
|
765 |
<a href="https://profiles.wordpress.org/pareshradadiya/">paresh.radadiya (pareshradadiya)</a>,
|
766 |
<a href="https://profiles.wordpress.org/DJPaul/">Paul Gibbs (DJPaul)</a>,
|
|
|
767 |
<a href="https://profiles.wordpress.org/r-a-y/">r-a-y</a>,
|
768 |
+
<a href="https://profiles.wordpress.org/ramiy/">Rami Yushuvaev (ramiy)</a>,
|
769 |
+
<a href="https://profiles.wordpress.org/ritteshpatel/">Ritesh Patel (ritteshpatel)</a>,
|
|
|
770 |
<a href="https://profiles.wordpress.org/SergeyBiryukov/">Sergey Biryukov (SergeyBiryukov)</a>,
|
771 |
<a href="https://profiles.wordpress.org/shanebp/">shanebp</a>,
|
772 |
+
<a href="https://profiles.wordpress.org/slaffik/">Slava UA (slaffik)</a>,
|
773 |
<a href="https://profiles.wordpress.org/netweb/">Stephen Edgar (netweb)</a>,
|
774 |
<a href="https://profiles.wordpress.org/svenl77/">svenl77</a>,
|
775 |
+
<a href="https://profiles.wordpress.org/tanner-m/">Tanner Moushey</a>,
|
776 |
+
<a href="https://profiles.wordpress.org/thomaslhotta/">thomaslhotta</a>,
|
777 |
+
<a href="https://profiles.wordpress.org/vnd/">vnd</a>,
|
778 |
+
<a href="https://profiles.wordpress.org/willgladstone/">willgladstone</a>.
|
779 |
</p>
|
780 |
|
781 |
<h4 class="wp-people-group"><?php _e( 'External Libraries', 'buddypress' ); ?></h4>
|
@@ -103,6 +103,9 @@ add_action( 'bp_setup_globals', 'bp_core_set_avatar_globals' );
|
|
103 |
* locally:
|
104 |
* add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' );
|
105 |
*
|
|
|
|
|
|
|
106 |
* @param array|string $args {
|
107 |
* An array of arguments. All arguments are technically optional; some
|
108 |
* will, if not provided, be auto-detected by bp_core_fetch_avatar(). This
|
@@ -172,6 +175,13 @@ add_action( 'bp_setup_globals', 'bp_core_set_avatar_globals' );
|
|
172 |
* @type bool $html Whether to return an <img> HTML element, vs a raw URL
|
173 |
* to an avatar. If false, <img>-specific arguments (like 'css_id')
|
174 |
* will be ignored. Default: true.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
* }
|
176 |
*
|
177 |
* @return string Formatted HTML <img> element, or raw avatar URL based on $html arg.
|
@@ -188,19 +198,23 @@ function bp_core_fetch_avatar( $args = '' ) {
|
|
188 |
|
189 |
// Set the default variables array and parse it against incoming $args array.
|
190 |
$params = wp_parse_args( $args, array(
|
191 |
-
'item_id'
|
192 |
-
'object'
|
193 |
-
'type'
|
194 |
-
'avatar_dir'
|
195 |
-
'width'
|
196 |
-
'height'
|
197 |
-
'class'
|
198 |
-
'css_id'
|
199 |
-
'alt'
|
200 |
-
'email'
|
201 |
-
'no_grav'
|
202 |
-
'html'
|
203 |
-
'title'
|
|
|
|
|
|
|
|
|
204 |
) );
|
205 |
|
206 |
/** Set item_id ***********************************************************/
|
@@ -346,6 +360,9 @@ function bp_core_fetch_avatar( $args = '' ) {
|
|
346 |
$html_title = ' title="' . esc_attr( $params['title'] ) . '"';
|
347 |
}
|
348 |
|
|
|
|
|
|
|
349 |
// Set CSS ID and create html string.
|
350 |
$html_css_id = '';
|
351 |
|
@@ -505,6 +522,8 @@ function bp_core_fetch_avatar( $args = '' ) {
|
|
505 |
|
506 |
// If we found a locally uploaded avatar
|
507 |
if ( isset( $avatar_url ) ) {
|
|
|
|
|
508 |
|
509 |
// Return it wrapped in an <img> element
|
510 |
if ( true === $params['html'] ) {
|
@@ -524,7 +543,7 @@ function bp_core_fetch_avatar( $args = '' ) {
|
|
524 |
* @param string $avatar_folder_url Avatar URL path.
|
525 |
* @param string $avatar_folder_dir Avatar dir path.
|
526 |
*/
|
527 |
-
return apply_filters( 'bp_core_fetch_avatar', '<img src="' . $avatar_url . '"' . $html_class . $html_css_id . $html_width . $html_height . $html_alt . $html_title . ' />', $params, $params['item_id'], $params['avatar_dir'], $html_css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir );
|
528 |
|
529 |
// ...or only the URL
|
530 |
} else {
|
@@ -579,8 +598,6 @@ function bp_core_fetch_avatar( $args = '' ) {
|
|
579 |
}
|
580 |
}
|
581 |
|
582 |
-
$host = '//www.gravatar.com/avatar/';
|
583 |
-
|
584 |
/**
|
585 |
* Filters the Gravatar email to use.
|
586 |
*
|
@@ -593,20 +610,37 @@ function bp_core_fetch_avatar( $args = '' ) {
|
|
593 |
$params['email'] = apply_filters( 'bp_core_gravatar_email', $params['email'], $params['item_id'], $params['object'] );
|
594 |
|
595 |
/**
|
596 |
-
* Filters the Gravatar URL
|
597 |
*
|
598 |
* @since 1.0.2
|
599 |
*
|
600 |
-
* @param string $value Gravatar URL
|
601 |
*/
|
602 |
-
$gravatar = apply_filters( 'bp_gravatar_url',
|
|
|
|
|
|
|
603 |
|
604 |
-
// Gravatar
|
605 |
-
$
|
606 |
-
|
607 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
608 |
}
|
609 |
|
|
|
|
|
|
|
|
|
|
|
|
|
610 |
// No avatar was found, and we've been told not to use a gravatar.
|
611 |
} else {
|
612 |
|
@@ -626,7 +660,7 @@ function bp_core_fetch_avatar( $args = '' ) {
|
|
626 |
if ( true === $params['html'] ) {
|
627 |
|
628 |
/** This filter is documented in bp-core/bp-core-avatars.php */
|
629 |
-
return apply_filters( 'bp_core_fetch_avatar', '<img src="' . $gravatar . '"' . $html_css_id . $html_class . $html_width . $html_height . $html_alt . $html_title . ' />', $params, $params['item_id'], $params['avatar_dir'], $html_css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir );
|
630 |
} else {
|
631 |
|
632 |
/** This filter is documented in bp-core/bp-core-avatars.php */
|
@@ -1281,17 +1315,20 @@ add_action( 'wp_ajax_bp_avatar_set', 'bp_avatar_ajax_set' );
|
|
1281 |
/**
|
1282 |
* Replace default WordPress avatars with BP avatars, if available.
|
1283 |
*
|
1284 |
-
*
|
|
|
|
|
1285 |
*
|
1286 |
* @param string $avatar The avatar path passed to 'get_avatar'.
|
1287 |
* @param int|string|object $user A user ID, email address, or comment object.
|
1288 |
* @param int $size Size of the avatar image ('thumb' or 'full').
|
1289 |
* @param string $default URL to a default image to use if no avatar is available.
|
1290 |
* @param string $alt Alternate text to use in image tag. Default: ''.
|
|
|
1291 |
*
|
1292 |
* @return string BP avatar path, if found; else the original avatar path.
|
1293 |
*/
|
1294 |
-
function bp_core_fetch_avatar_filter( $avatar, $user, $size, $default, $alt = '' ) {
|
1295 |
global $pagenow;
|
1296 |
|
1297 |
// Do not filter if inside WordPress options page
|
@@ -1332,19 +1369,47 @@ function bp_core_fetch_avatar_filter( $avatar, $user, $size, $default, $alt = ''
|
|
1332 |
$type = 'full';
|
1333 |
}
|
1334 |
|
1335 |
-
|
1336 |
-
$bp_avatar = bp_core_fetch_avatar( array(
|
1337 |
'item_id' => $id,
|
1338 |
'type' => $type,
|
1339 |
'width' => $size,
|
1340 |
'height' => $size,
|
1341 |
'alt' => $alt,
|
1342 |
-
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1343 |
|
1344 |
// If BuddyPress found an avatar, use it. If not, use the result of get_avatar
|
1345 |
return ( !$bp_avatar ) ? $avatar : $bp_avatar;
|
1346 |
}
|
1347 |
-
add_filter( 'get_avatar', 'bp_core_fetch_avatar_filter', 10,
|
1348 |
|
1349 |
/**
|
1350 |
* Is the current avatar upload error-free?
|
103 |
* locally:
|
104 |
* add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' );
|
105 |
*
|
106 |
+
* @since 2.4.0 Added 'extra_attr', 'scheme', 'rating' and 'force_default' for $args.
|
107 |
+
* These are inherited from WordPress 4.2.0. See {@link get_avatar()}.
|
108 |
+
*
|
109 |
* @param array|string $args {
|
110 |
* An array of arguments. All arguments are technically optional; some
|
111 |
* will, if not provided, be auto-detected by bp_core_fetch_avatar(). This
|
175 |
* @type bool $html Whether to return an <img> HTML element, vs a raw URL
|
176 |
* to an avatar. If false, <img>-specific arguments (like 'css_id')
|
177 |
* will be ignored. Default: true.
|
178 |
+
* @type string $extra_attr HTML attributes to insert in the IMG element. Not sanitized. Default: ''.
|
179 |
+
* @type string $scheme URL scheme to use. See set_url_scheme() for accepted values.
|
180 |
+
* Default null.
|
181 |
+
* @type string $rating What rating to display Gravatars for. Accepts 'G', 'PG', 'R', 'X'.
|
182 |
+
* Default is the value of the 'avatar_rating' option.
|
183 |
+
* @type bool $force_default Used when creating the Gravatar URL. Whether to force the default
|
184 |
+
* image regardless if the Gravatar exists. Default: false.
|
185 |
* }
|
186 |
*
|
187 |
* @return string Formatted HTML <img> element, or raw avatar URL based on $html arg.
|
198 |
|
199 |
// Set the default variables array and parse it against incoming $args array.
|
200 |
$params = wp_parse_args( $args, array(
|
201 |
+
'item_id' => false,
|
202 |
+
'object' => 'user',
|
203 |
+
'type' => 'thumb',
|
204 |
+
'avatar_dir' => false,
|
205 |
+
'width' => false,
|
206 |
+
'height' => false,
|
207 |
+
'class' => 'avatar',
|
208 |
+
'css_id' => false,
|
209 |
+
'alt' => '',
|
210 |
+
'email' => false,
|
211 |
+
'no_grav' => false,
|
212 |
+
'html' => true,
|
213 |
+
'title' => '',
|
214 |
+
'extra_attr' => '',
|
215 |
+
'scheme' => null,
|
216 |
+
'rating' => get_option( 'avatar_rating' ),
|
217 |
+
'force_default' => false,
|
218 |
) );
|
219 |
|
220 |
/** Set item_id ***********************************************************/
|
360 |
$html_title = ' title="' . esc_attr( $params['title'] ) . '"';
|
361 |
}
|
362 |
|
363 |
+
// Extra attributes
|
364 |
+
$extra_attr = ! empty( $args['extra_attr'] ) ? ' ' . $args['extra_attr'] : '';
|
365 |
+
|
366 |
// Set CSS ID and create html string.
|
367 |
$html_css_id = '';
|
368 |
|
522 |
|
523 |
// If we found a locally uploaded avatar
|
524 |
if ( isset( $avatar_url ) ) {
|
525 |
+
// Support custom scheme
|
526 |
+
$avatar_url = set_url_scheme( $avatar_url, $params['scheme'] );
|
527 |
|
528 |
// Return it wrapped in an <img> element
|
529 |
if ( true === $params['html'] ) {
|
543 |
* @param string $avatar_folder_url Avatar URL path.
|
544 |
* @param string $avatar_folder_dir Avatar dir path.
|
545 |
*/
|
546 |
+
return apply_filters( 'bp_core_fetch_avatar', '<img src="' . $avatar_url . '"' . $html_class . $html_css_id . $html_width . $html_height . $html_alt . $html_title . $extra_attr . ' />', $params, $params['item_id'], $params['avatar_dir'], $html_css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir );
|
547 |
|
548 |
// ...or only the URL
|
549 |
} else {
|
598 |
}
|
599 |
}
|
600 |
|
|
|
|
|
601 |
/**
|
602 |
* Filters the Gravatar email to use.
|
603 |
*
|
610 |
$params['email'] = apply_filters( 'bp_core_gravatar_email', $params['email'], $params['item_id'], $params['object'] );
|
611 |
|
612 |
/**
|
613 |
+
* Filters the Gravatar URL host.
|
614 |
*
|
615 |
* @since 1.0.2
|
616 |
*
|
617 |
+
* @param string $value Gravatar URL host.
|
618 |
*/
|
619 |
+
$gravatar = apply_filters( 'bp_gravatar_url', '//www.gravatar.com/avatar/' );
|
620 |
+
|
621 |
+
// Append email hash to Gravatar
|
622 |
+
$gravatar .= md5( strtolower( $params['email'] ) );
|
623 |
|
624 |
+
// Main Gravatar URL args
|
625 |
+
$url_args = array(
|
626 |
+
'd' => $default_grav,
|
627 |
+
's' => $params['width']
|
628 |
+
);
|
629 |
+
|
630 |
+
// Custom Gravatar URL args
|
631 |
+
if ( ! empty( $params['force_default'] ) ) {
|
632 |
+
$url_args['f'] = 'y';
|
633 |
+
}
|
634 |
+
if ( ! empty( $params['rating'] ) ) {
|
635 |
+
$url_args['r'] = strtolower( $params['rating'] );
|
636 |
}
|
637 |
|
638 |
+
// Set up the Gravatar URL
|
639 |
+
$gravatar = esc_url( add_query_arg(
|
640 |
+
rawurlencode_deep( array_filter( $url_args ) ),
|
641 |
+
$gravatar
|
642 |
+
) );
|
643 |
+
|
644 |
// No avatar was found, and we've been told not to use a gravatar.
|
645 |
} else {
|
646 |
|
660 |
if ( true === $params['html'] ) {
|
661 |
|
662 |
/** This filter is documented in bp-core/bp-core-avatars.php */
|
663 |
+
return apply_filters( 'bp_core_fetch_avatar', '<img src="' . $gravatar . '"' . $html_css_id . $html_class . $html_width . $html_height . $html_alt . $html_title . $extra_attr . ' />', $params, $params['item_id'], $params['avatar_dir'], $html_css_id, $html_width, $html_height, $avatar_folder_url, $avatar_folder_dir );
|
664 |
} else {
|
665 |
|
666 |
/** This filter is documented in bp-core/bp-core-avatars.php */
|
1315 |
/**
|
1316 |
* Replace default WordPress avatars with BP avatars, if available.
|
1317 |
*
|
1318 |
+
* See 'get_avatar' filter description in wp-includes/pluggable.php.
|
1319 |
+
*
|
1320 |
+
* @since 2.4.0 Added $args parameter to coincide with WordPress 4.2.0.
|
1321 |
*
|
1322 |
* @param string $avatar The avatar path passed to 'get_avatar'.
|
1323 |
* @param int|string|object $user A user ID, email address, or comment object.
|
1324 |
* @param int $size Size of the avatar image ('thumb' or 'full').
|
1325 |
* @param string $default URL to a default image to use if no avatar is available.
|
1326 |
* @param string $alt Alternate text to use in image tag. Default: ''.
|
1327 |
+
* @param array $args Arguments passed to get_avatar_data(), after processing.
|
1328 |
*
|
1329 |
* @return string BP avatar path, if found; else the original avatar path.
|
1330 |
*/
|
1331 |
+
function bp_core_fetch_avatar_filter( $avatar, $user, $size, $default, $alt = '', $args = array() ) {
|
1332 |
global $pagenow;
|
1333 |
|
1334 |
// Do not filter if inside WordPress options page
|
1369 |
$type = 'full';
|
1370 |
}
|
1371 |
|
1372 |
+
$avatar_args = array(
|
|
|
1373 |
'item_id' => $id,
|
1374 |
'type' => $type,
|
1375 |
'width' => $size,
|
1376 |
'height' => $size,
|
1377 |
'alt' => $alt,
|
1378 |
+
);
|
1379 |
+
|
1380 |
+
// Support new arguments as of WordPress 4.2.0
|
1381 |
+
if ( ! empty( $args['width'] ) ) {
|
1382 |
+
$avatar_args['width'] = $args['width'];
|
1383 |
+
}
|
1384 |
+
if ( ! empty( $args['height'] ) ) {
|
1385 |
+
$avatar_args['height'] = $args['height'];
|
1386 |
+
}
|
1387 |
+
if ( ! empty( $args['class'] ) ) {
|
1388 |
+
$avatar_args['class'] = $args['class'];
|
1389 |
+
}
|
1390 |
+
if ( ! empty( $args['class'] ) ) {
|
1391 |
+
$avatar_args['class'] = $args['class'];
|
1392 |
+
}
|
1393 |
+
if ( ! empty( $args['extra_attr'] ) ) {
|
1394 |
+
$avatar_args['extra_attr'] = $args['extra_attr'];
|
1395 |
+
}
|
1396 |
+
if ( ! empty( $args['scheme'] ) ) {
|
1397 |
+
$avatar_args['scheme'] = $args['scheme'];
|
1398 |
+
}
|
1399 |
+
if ( ! empty( $args['force_default'] ) ) {
|
1400 |
+
$avatar_args['force_default'] = $args['force_default'];
|
1401 |
+
}
|
1402 |
+
if ( ! empty( $args['rating'] ) ) {
|
1403 |
+
$avatar_args['rating'] = $args['rating'];
|
1404 |
+
}
|
1405 |
+
|
1406 |
+
// Let BuddyPress handle the fetching of the avatar
|
1407 |
+
$bp_avatar = bp_core_fetch_avatar( $avatar_args );
|
1408 |
|
1409 |
// If BuddyPress found an avatar, use it. If not, use the result of get_avatar
|
1410 |
return ( !$bp_avatar ) ? $avatar : $bp_avatar;
|
1411 |
}
|
1412 |
+
add_filter( 'get_avatar', 'bp_core_fetch_avatar_filter', 10, 6 );
|
1413 |
|
1414 |
/**
|
1415 |
* Is the current avatar upload error-free?
|
@@ -758,7 +758,7 @@ function bp_modify_page_title( $title = '', $sep = '»', $seplocation = 'ri
|
|
758 |
|
759 |
// Activation page
|
760 |
} elseif ( bp_is_activation_page() ) {
|
761 |
-
$title_parts = array( __( 'Activate
|
762 |
|
763 |
// Group creation page
|
764 |
} elseif ( bp_is_group_create() ) {
|
758 |
|
759 |
// Activation page
|
760 |
} elseif ( bp_is_activation_page() ) {
|
761 |
+
$title_parts = array( __( 'Activate Your Account', 'buddypress' ) );
|
762 |
|
763 |
// Group creation page
|
764 |
} elseif ( bp_is_group_create() ) {
|
@@ -212,23 +212,29 @@ function bp_get_template_stack() {
|
|
212 |
$wp_current_filter[] = $tag;
|
213 |
|
214 |
// Sort
|
215 |
-
if (
|
216 |
-
|
217 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
218 |
}
|
219 |
|
220 |
// Ensure we're always at the beginning of the filter array
|
221 |
-
reset( $
|
222 |
|
223 |
// Loop through 'bp_template_stack' filters, and call callback functions
|
224 |
do {
|
225 |
-
foreach( (array) current( $
|
226 |
if ( ! is_null( $the_['function'] ) ) {
|
227 |
$args[1] = $stack;
|
228 |
$stack[] = call_user_func_array( $the_['function'], array_slice( $args, 1, (int) $the_['accepted_args'] ) );
|
229 |
}
|
230 |
}
|
231 |
-
} while ( next( $
|
232 |
|
233 |
// Remove 'bp_template_stack' from the current filter array
|
234 |
array_pop( $wp_current_filter );
|
212 |
$wp_current_filter[] = $tag;
|
213 |
|
214 |
// Sort
|
215 |
+
if ( class_exists( 'WP_Hook' ) ) {
|
216 |
+
$filter = $wp_filter[ $tag ]->callbacks;
|
217 |
+
} else {
|
218 |
+
$filter = &$wp_filter[ $tag ];
|
219 |
+
|
220 |
+
if ( ! isset( $merged_filters[ $tag ] ) ) {
|
221 |
+
ksort( $filter );
|
222 |
+
$merged_filters[ $tag ] = true;
|
223 |
+
}
|
224 |
}
|
225 |
|
226 |
// Ensure we're always at the beginning of the filter array
|
227 |
+
reset( $filter );
|
228 |
|
229 |
// Loop through 'bp_template_stack' filters, and call callback functions
|
230 |
do {
|
231 |
+
foreach( (array) current( $filter ) as $the_ ) {
|
232 |
if ( ! is_null( $the_['function'] ) ) {
|
233 |
$args[1] = $stack;
|
234 |
$stack[] = call_user_func_array( $the_['function'], array_slice( $args, 1, (int) $the_['accepted_args'] ) );
|
235 |
}
|
236 |
}
|
237 |
+
} while ( next( $filter ) !== false );
|
238 |
|
239 |
// Remove 'bp_template_stack' from the current filter array
|
240 |
array_pop( $wp_current_filter );
|
@@ -1 +1 @@
|
|
1 |
-
#admin-bar-logo,#wp-admin-bar li a{font-size:11px;text-decoration:none}body:not(.wp-admin){padding-top:25px!important}#wp-admin-bar{position:fixed;top:0;right:0;height:25px;font-size:11px;width:100%;z-index:9999}#wp-admin-bar .padder{position:relative;padding:0;width:100%;margin:0 auto;background:url(../images/60pc_black.png);height:25px}body#bp-default #wp-admin-bar .padder{max-width:1250px}#wp-admin-bar *{z-index:999}#wp-admin-bar div#admin-bar-logo{position:absolute;top:5px;right:10px}#wp-admin-bar a img,#wp-admin-bar li.alt{border:none}#wp-admin-bar li{list-style:none;margin:0;padding:0;line-height:100%;text-align:right}#wp-admin-bar li a{padding:7px 15px;color:#eee}#wp-admin-bar li.no-arrow a{padding-left:15px}#wp-admin-bar ul li ul li a span{display:none}#wp-admin-bar li.hover,#wp-admin-bar li:hover{position:static}#admin-bar-logo{float:right;font-weight:700;padding:5px 8px;margin:0;color:#fff}body#bp-default #admin-bar-logo{padding:2px 8px}#wp-admin-bar ul{margin:0;list-style:none;line-height:1;cursor:pointer;height:auto;padding:0}#wp-admin-bar ul li{padding:0 0 0 11px;float:right;position:relative;background:url(../images/admin-menu-arrow.gif) 12% 53% no-repeat}#wp-admin-bar ul li.no-arrow{background:0 0;padding-left:0}#wp-admin-bar ul li ul li{background-image:none}#wp-admin-bar ul li.align-right{position:absolute;left:0}#wp-admin-bar ul li a{display:block}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li.sfhover,#wp-admin-bar ul.main-nav li:hover{background-color:#333}#wp-admin-bar ul li ul{position:absolute;width:185px;right:-999em;margin-right:0;background:#333;border:1px solid #222;-moz-box-shadow:0 4px 8px rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.1);-moz-border-radius:3px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0}#wp-admin-bar ul li>ul{border-top:none}#wp-admin-bar ul li
|
1 |
+
#admin-bar-logo,#wp-admin-bar li a{font-size:11px;text-decoration:none}#wp-admin-bar ul li ul a,#wp-admin-bar ul li ul li:hover ul li a{color:#eee}#wp-admin-bar ul li ul li ul li:hover a,#wp-admin-bar ul li ul li:hover a{color:#fff}body:not(.wp-admin){padding-top:25px!important}#wp-admin-bar{position:fixed;top:0;right:0;height:25px;font-size:11px;width:100%;z-index:9999}#wp-admin-bar .padder{position:relative;padding:0;width:100%;margin:0 auto;background:url(../images/60pc_black.png);height:25px}body#bp-default #wp-admin-bar .padder{max-width:1250px}#wp-admin-bar *{z-index:999}#wp-admin-bar div#admin-bar-logo{position:absolute;top:5px;right:10px}#wp-admin-bar a img,#wp-admin-bar li.alt{border:none}#wp-admin-bar li{list-style:none;margin:0;padding:0;line-height:100%;text-align:right}#wp-admin-bar li a{padding:7px 15px;color:#eee}#wp-admin-bar li.no-arrow a{padding-left:15px}#wp-admin-bar ul li ul li a span{display:none}#wp-admin-bar li.hover,#wp-admin-bar li:hover{position:static}#admin-bar-logo{float:right;font-weight:700;padding:5px 8px;margin:0;color:#fff}body#bp-default #admin-bar-logo{padding:2px 8px}#wp-admin-bar ul{margin:0;list-style:none;line-height:1;cursor:pointer;height:auto;padding:0}#wp-admin-bar ul li{padding:0 0 0 11px;float:right;position:relative;background:url(../images/admin-menu-arrow.gif) 12% 53% no-repeat}#wp-admin-bar ul li.no-arrow{background:0 0;padding-left:0}#wp-admin-bar ul li ul li{background-image:none;float:right;width:174px;margin:0}#wp-admin-bar ul li.align-right{position:absolute;left:0}#wp-admin-bar ul li a{display:block}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li.sfhover,#wp-admin-bar ul.main-nav li:hover{background-color:#333}#wp-admin-bar ul li ul{position:absolute;width:185px;right:-999em;margin-right:0;background:#333;border:1px solid #222;-moz-box-shadow:0 4px 8px rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.1);-moz-border-radius:3px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0}#wp-admin-bar ul li>ul{border-top:none}#wp-admin-bar ul li div.admin-bar-clear{clear:both}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li ul li:hover{background-color:#222}#wp-admin-bar ul li ul ul{margin:-25px 184px 0 0;-moz-border-radius:3px;-webkit-border-radius:3px}#wp-admin-bar ul li ul li.sfhover ul,#wp-admin-bar ul li ul li:hover ul,#wp-admin-bar ul li.sfhover ul,#wp-admin-bar ul li:hover ul{right:auto}#wp-admin-bar ul li.align-right:hover ul{left:0}#wp-admin-bar li.sfhover ul li ul,#wp-admin-bar ul li:hover ul ul{right:-999em}#wp-admin-bar img.avatar{float:right;margin-left:8px}#wp-admin-bar span.activity{display:block;margin-right:34px;padding:0}#wp-admin-bar ul.author-list li a{height:17px}#wp-admin-bar ul li#bp-adminbar-notifications-menu a span{padding:0 6px;margin-right:2px;background:#fff;color:#000;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
|
@@ -1 +1 @@
|
|
1 |
-
#admin-bar-logo,#wp-admin-bar li a{font-size:11px;text-decoration:none}body:not(.wp-admin){padding-top:25px!important}#wp-admin-bar{position:fixed;top:0;left:0;height:25px;font-size:11px;width:100%;z-index:9999}#wp-admin-bar .padder{position:relative;padding:0;width:100%;margin:0 auto;background:url(../images/60pc_black.png);height:25px}body#bp-default #wp-admin-bar .padder{max-width:1250px}#wp-admin-bar *{z-index:999}#wp-admin-bar div#admin-bar-logo{position:absolute;top:5px;left:10px}#wp-admin-bar a img,#wp-admin-bar li.alt{border:none}#wp-admin-bar li{list-style:none;margin:0;padding:0;line-height:100%;text-align:left}#wp-admin-bar li a{padding:7px 15px;color:#eee}#wp-admin-bar li.no-arrow a{padding-right:15px}#wp-admin-bar ul li ul li a span{display:none}#wp-admin-bar li.hover,#wp-admin-bar li:hover{position:static}#admin-bar-logo{float:left;font-weight:700;padding:5px 8px;margin:0;color:#fff}body#bp-default #admin-bar-logo{padding:2px 8px}#wp-admin-bar ul{margin:0;list-style:none;line-height:1;cursor:pointer;height:auto;padding:0}#wp-admin-bar ul li{padding:0 11px 0 0;float:left;position:relative;background:url(../images/admin-menu-arrow.gif) 88% 53% no-repeat}#wp-admin-bar ul li.no-arrow{background:0 0;padding-right:0}#wp-admin-bar ul li ul li{background-image:none}#wp-admin-bar ul li.align-right{position:absolute;right:0}#wp-admin-bar ul li a{display:block}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li.sfhover,#wp-admin-bar ul.main-nav li:hover{background-color:#333}#wp-admin-bar ul li ul{position:absolute;width:185px;left:-999em;margin-left:0;background:#333;border:1px solid #222;-moz-box-shadow:0 4px 8px rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.1);-moz-border-radius:3px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0}#wp-admin-bar ul li>ul{border-top:none}#wp-admin-bar ul li
|
1 |
+
#admin-bar-logo,#wp-admin-bar li a{font-size:11px;text-decoration:none}#wp-admin-bar ul li ul a,#wp-admin-bar ul li ul li:hover ul li a{color:#eee}#wp-admin-bar ul li ul li ul li:hover a,#wp-admin-bar ul li ul li:hover a{color:#fff}body:not(.wp-admin){padding-top:25px!important}#wp-admin-bar{position:fixed;top:0;left:0;height:25px;font-size:11px;width:100%;z-index:9999}#wp-admin-bar .padder{position:relative;padding:0;width:100%;margin:0 auto;background:url(../images/60pc_black.png);height:25px}body#bp-default #wp-admin-bar .padder{max-width:1250px}#wp-admin-bar *{z-index:999}#wp-admin-bar div#admin-bar-logo{position:absolute;top:5px;left:10px}#wp-admin-bar a img,#wp-admin-bar li.alt{border:none}#wp-admin-bar li{list-style:none;margin:0;padding:0;line-height:100%;text-align:left}#wp-admin-bar li a{padding:7px 15px;color:#eee}#wp-admin-bar li.no-arrow a{padding-right:15px}#wp-admin-bar ul li ul li a span{display:none}#wp-admin-bar li.hover,#wp-admin-bar li:hover{position:static}#admin-bar-logo{float:left;font-weight:700;padding:5px 8px;margin:0;color:#fff}body#bp-default #admin-bar-logo{padding:2px 8px}#wp-admin-bar ul{margin:0;list-style:none;line-height:1;cursor:pointer;height:auto;padding:0}#wp-admin-bar ul li{padding:0 11px 0 0;float:left;position:relative;background:url(../images/admin-menu-arrow.gif) 88% 53% no-repeat}#wp-admin-bar ul li.no-arrow{background:0 0;padding-right:0}#wp-admin-bar ul li ul li{background-image:none;float:left;width:174px;margin:0}#wp-admin-bar ul li.align-right{position:absolute;right:0}#wp-admin-bar ul li a{display:block}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li.sfhover,#wp-admin-bar ul.main-nav li:hover{background-color:#333}#wp-admin-bar ul li ul{position:absolute;width:185px;left:-999em;margin-left:0;background:#333;border:1px solid #222;-moz-box-shadow:0 4px 8px rgba(0,0,0,.1);-webkit-box-shadow:0 4px 8px rgba(0,0,0,.1);-moz-border-radius:3px;-webkit-border-radius:0 0 3px 3px;-moz-border-radius-topleft:0;-moz-border-radius-topright:0}#wp-admin-bar ul li>ul{border-top:none}#wp-admin-bar ul li div.admin-bar-clear{clear:both}#wp-admin-bar ul.main-nav li ul li.sfhover,#wp-admin-bar ul.main-nav li ul li:hover{background-color:#222}#wp-admin-bar ul li ul ul{margin:-25px 0 0 184px;-moz-border-radius:3px;-webkit-border-radius:3px}#wp-admin-bar ul li ul li.sfhover ul,#wp-admin-bar ul li ul li:hover ul,#wp-admin-bar ul li.sfhover ul,#wp-admin-bar ul li:hover ul{left:auto}#wp-admin-bar ul li.align-right:hover ul{right:0}#wp-admin-bar li.sfhover ul li ul,#wp-admin-bar ul li:hover ul ul{left:-999em}#wp-admin-bar img.avatar{float:left;margin-right:8px}#wp-admin-bar span.activity{display:block;margin-left:34px;padding:0}#wp-admin-bar ul.author-list li a{height:17px}#wp-admin-bar ul li#bp-adminbar-notifications-menu a span{padding:0 6px;margin-left:2px;background:#fff;color:#000;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}#wp-admin-bar-user-info img.avatar{height:64px;width:64px}
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
!function(a){a.fn.extend({autocomplete:function(b,c){var d="string"==typeof b;return c=a.extend({},a.Autocompleter.defaults,{url:d?b:null,data:d?null:b,delay:d?a.Autocompleter.defaults.delay:10,max:c&&!c.scroll?10:150},c),c.highlight=c.highlight||function(a){return a},this.each(function(){new a.Autocompleter(this,c)})},result:function(a){return this.bind("result",a)},search:function(a){return this.trigger("search",[a])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(a){return this.trigger("setOptions",[a])},unautocomplete:function(){return this.trigger("unautocomplete")}}),a.Autocompleter=function(b,c){function d(){var a=x.selected();if(!a)return!1;var b=a.result;if(t=b,c.multiple){var d=f(s.val());d.length>1&&(b=d.slice(0,d.length-1).join(c.multipleSeparator)+c.multipleSeparator+b),b+=c.multipleSeparator}return s.val(b),j(),s.trigger("result",[a.data,a.value]),!0}function e(a,b){if(q==r.DEL)return void x.hide();var d=s.val();(b||d!=t)&&(t=d,d=g(d),d.length>=c.minChars?(s.addClass(c.loadingClass),jQuery("#send-to-input").addClass("loading"),c.matchCase||(d=d.toLowerCase()),l(d,k,j)):(n(),x.hide()))}function f(b){if(!b)return[""];var d=b.split(a.trim(c.multipleSeparator)),e=[];return a.each(d,function(b,c){a.trim(c)&&(e[b]=a.trim(c))}),e}function g(a){if(!c.multiple)return a;var b=f(a);return b[b.length-1]}function h(d,e){c.autoFill&&g(s.val()).toLowerCase()==d.toLowerCase()&&8!=q&&(s.val(s.val()+e.substring(g(t).length)),a.Autocompleter.Selection(b,t.length,t.length+e.length))}function i(){clearTimeout(p),p=setTimeout(j,200)}function j(){x.hide(),clearTimeout(p),n(),c.mustMatch&&s.search(function(a){a||s.val("")})}function k(a,b){if(b&&b.length&&v){n(),x.display(b,a);var c=b[0].value.split(";");b.value=c[0],h(a,b.value),x.show()}else j()}function l(d,e,f){c.matchCase||(d=d.toLowerCase());var h=u.load(d);if(h&&h.length)e(d,h);else if("string"==typeof c.url&&c.url.length>0){var i={};a.each(c.extraParams,function(a,b){i[a]="function"==typeof b?b():b}),a.ajax({mode:"abort",port:"autocomplete"+b.name,dataType:c.dataType,url:c.url,data:a.extend({q:g(d),limit:c.max,action:"messages_autocomplete_results",cookie:o()},i),success:function(a){var b=c.parse&&c.parse(a)||m(a);u.add(d,b),e(d,b)}})}else f(d)}function m(b){for(var d=[],e=b.split("\n"),f=0;f<e.length;f++){var g=a.trim(e[f]);g&&(g=g.split("|"),d[d.length]={data:g,value:g[0],result:c.formatResult&&c.formatResult(g,g[0])||g[0]})}return d}function n(){s.removeClass(c.loadingClass),jQuery("#send-to-input").removeClass("loading")}function o(){var a,b,c,d,e,f=document.cookie.split(";"),g={},h="bp-";for(a=0;a<f.length;a++)b=f[a],c=b.indexOf("="),d=jq.trim(unescape(b.slice(0,c))),e=unescape(b.slice(c+1)),0===d.indexOf(h)&&(g[d]=e);return encodeURIComponent(jq.param(g))}var p,q,r={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34},s=a(b).attr("autocomplete","off").addClass(c.inputClass),t="",u=a.Autocompleter.Cache(c),v=0,w={mouseDownOnSelect:!1},x=a.Autocompleter.Select(c,b,d,w);s.keydown(function(b){switch(q=b.keyCode,b.keyCode){case r.UP:b.preventDefault(),x.visible()?x.prev():e(0,!0);break;case r.DOWN:b.preventDefault(),x.visible()?x.next():e(0,!0);break;case r.PAGEUP:b.preventDefault(),x.visible()?x.pageUp():e(0,!0);break;case r.PAGEDOWN:b.preventDefault(),x.visible()?x.pageDown():e(0,!0);break;case c.multiple&&","==a.trim(c.multipleSeparator)&&r.COMMA:case r.TAB:case r.RETURN:d()&&(c.multiple||s.blur(),b.preventDefault(),s.focus());break;case r.ESC:x.hide();break;default:clearTimeout(p),p=setTimeout(e,c.delay)}}).keypress(function(){}).focus(function(){v++}).blur(function(){v=0,w.mouseDownOnSelect||i()}).click(function(){v++>1&&!x.visible()&&e(0,!0)}).bind("search",function(){function b(a,b){var d;if(b&&b.length)for(var e=0;e<b.length;e++)if(b[e].result.toLowerCase()==a.toLowerCase()){d=b[e];break}"function"==typeof c?c(d):s.trigger("result",d&&[d.data,d.value])}var c=arguments.length>1?arguments[1]:null;a.each(f(s.val()),function(a,c){l(c,b,b)})}).bind("flushCache",function(){u.flush()}).bind("setOptions",function(){a.extend(c,arguments[1]),"data"in arguments[1]&&u.populate()}).bind("unautocomplete",function(){x.unbind(),s.unbind()})},a.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:!1,matchSubset:!0,matchContains:!1,cacheLength:10,max:100,mustMatch:!1,extraParams:{},selectFirst:!0,formatItem:function(a){return a[0]},autoFill:!1,width:0,multiple:!1,multipleSeparator:", ",highlight:function(a,b){return a.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+b.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:!0,scrollHeight:250,attachTo:"body"},a.Autocompleter.Cache=function(b){function c(a,c){b.matchCase||(a=a.toLowerCase());var d=a.indexOf(c);return-1==d?!1:0==d||b.matchContains}function d(a,c){h>b.cacheLength&&f(),g[a]||h++,g[a]=c}function e(){if(!b.data)return!1;var c={},e=0;b.url||(b.cacheLength=1),c[""]=[];for(var f=0,g=b.data.length;g>f;f++){var h=b.data[f];h="string"==typeof h?[h]:h;var i=b.formatItem(h,f+1,b.data.length);if(i!==!1){var j=i.charAt(0).toLowerCase();c[j]||(c[j]=[]);var k={value:i,data:h,result:b.formatResult&&b.formatResult(h)||i};c[j].push(k),e++<b.max&&c[""].push(k)}}a.each(c,function(a,c){b.cacheLength++,d(a,c)})}function f(){g={},h=0}var g={},h=0;return setTimeout(e,25),{flush:f,add:d,populate:e,load:function(d){if(!b.cacheLength||!h)return null;if(!b.url&&b.matchContains){var e=[];for(var f in g)if(f.length>0){var i=g[f];a.each(i,function(a,b){c(b.value,d)&&e.push(b)})}return e}if(g[d])return g[d];if(b.matchSubset)for(var j=d.length-1;j>=b.minChars;j--){var i=g[d.substr(0,j)];if(i){var e=[];return a.each(i,function(a,b){c(b.value,d)&&(e[e.length]=b)}),e}}return null}}},a.Autocompleter.Select=function(b,c,d,e){function f(){s&&(n=a("<div/>").hide().addClass(b.resultsClass).css("position","absolute").appendTo(b.attachTo),o=a("<ul>").appendTo(n).mouseover(function(b){g(b).nodeName&&"LI"==g(b).nodeName.toUpperCase()&&(q=a("li",o).removeClass(p.ACTIVE).index(g(b)),a(g(b)).addClass(p.ACTIVE))}).click(function(b){return a(g(b)).addClass(p.ACTIVE),d(),c.focus(),!1}).mousedown(function(){e.mouseDownOnSelect=!0}).mouseup(function(){e.mouseDownOnSelect=!1}),b.width>0&&n.css("width",b.width),s=!1)}function g(a){for(var b=a.target;b&&"LI"!=b.tagName;)b=b.parentNode;return b?b:[]}function h(a){l.slice(q,q+1).removeClass(),i(a);var c=l.slice(q,q+1).addClass(p.ACTIVE);if(b.scroll){var d=0;l.slice(0,q).each(function(){d+=this.offsetHeight}),d+c[0].offsetHeight-o.scrollTop()>o[0].clientHeight?o.scrollTop(d+c[0].offsetHeight-o.innerHeight()):d<o.scrollTop()&&o.scrollTop(d)}}function i(a){q+=a,0>q?q=l.size()-1:q>=l.size()&&(q=0)}function j(a){return b.max&&b.max<a?b.max:a}function k(){o.empty();for(var c=j(m.length),d=0;c>d;d++)if(m[d]){var e=b.formatItem(m[d].data,d+1,c,m[d].value,r);if(e!==!1){var f=a("<li>").html(b.highlight(e,r)).addClass(d%2==0?"ac_event":"ac_odd").appendTo(o)[0];a.data(f,"ac_data",m[d])}}l=o.find("li"),b.selectFirst&&(l.slice(0,1).addClass(p.ACTIVE),q=0),o.bgiframe()}var l,m,n,o,p={ACTIVE:"ac_over"},q=-1,r="",s=!0;return{display:function(a,b){f(),m=a,r=b,k()},next:function(){h(1)},prev:function(){h(-1)},pageUp:function(){h(0!=q&&0>q-8?-q:-8)},pageDown:function(){h(q!=l.size()-1&&q+8>l.size()?l.size()-1-q:8)},hide:function(){n&&n.hide(),q=-1},visible:function(){return n&&n.is(":visible")},current:function(){return this.visible()&&(l.filter("."+p.ACTIVE)[0]||b.selectFirst&&l[0])},show:function(){var d=a(c).offset();if(n.css({width:"string"==typeof b.width||b.width>0?b.width:a(c).width(),top:d.top+c.offsetHeight,left:d.left}).show(),b.scroll&&(o.scrollTop(0),o.css({maxHeight:b.scrollHeight,overflow:"auto"}),a.browser.msie&&"undefined"==typeof document.body.style.maxHeight)){var e=0;l.each(function(){e+=this.offsetHeight});var f=e>b.scrollHeight;o.css("height",f?b.scrollHeight:e),f||l.width(o.width()-parseInt(l.css("padding-left"))-parseInt(l.css("padding-right")))}},selected:function(){var b=l&&l.filter("."+p.ACTIVE).removeClass(p.ACTIVE);return b&&b.length&&a.data(b[0],"ac_data")},unbind:function(){n&&n.remove()}}},a.Autocompleter.Selection=function(a,b,c){if(a.createTextRange){var d=a.createTextRange();d.collapse(!0),d.moveStart("character",b),d.moveEnd("character",c),d.select()}else a.setSelectionRange?a.setSelectionRange(b,c):a.selectionStart&&(a.selectionStart=b,a.selectionEnd=c);a.focus()}}(jQuery);
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
!function(a){a.fn.extend({autocomplete:function(b,c){var d="string"==typeof b;return c=a.extend({},a.Autocompleter.defaults,{url:d?b:null,data:d?null:b,delay:d?a.Autocompleter.defaults.delay:10,max:c&&!c.scroll?10:150},c),c.highlight=c.highlight||function(a){return a},this.each(function(){new a.Autocompleter(this,c)})},result:function(a){return this.bind("result",a)},search:function(a){return this.trigger("search",[a])},flushCache:function(){return this.trigger("flushCache")},setOptions:function(a){return this.trigger("setOptions",[a])},unautocomplete:function(){return this.trigger("unautocomplete")}}),a.Autocompleter=function(b,c){function d(){var a=x.selected();if(!a)return!1;var b=a.result;if(t=b,c.multiple){var d=f(s.val());d.length>1&&(b=d.slice(0,d.length-1).join(c.multipleSeparator)+c.multipleSeparator+b),b+=c.multipleSeparator}return s.val(b),j(),s.trigger("result",[a.data,a.value]),!0}function e(a,b){if(q==r.DEL)return void x.hide();var d=s.val();(b||d!=t)&&(t=d,d=g(d),d.length>=c.minChars?(s.addClass(c.loadingClass),jQuery("#send-to-input").addClass("loading"),c.matchCase||(d=d.toLowerCase()),l(d,k,j)):(n(),x.hide()))}function f(b){if(!b)return[""];var d=b.split(a.trim(c.multipleSeparator)),e=[];return a.each(d,function(b,c){a.trim(c)&&(e[b]=a.trim(c))}),e}function g(a){if(!c.multiple)return a;var b=f(a);return b[b.length-1]}function h(d,e){c.autoFill&&g(s.val()).toLowerCase()==d.toLowerCase()&&8!=q&&(s.val(s.val()+e.substring(g(t).length)),a.Autocompleter.Selection(b,t.length,t.length+e.length))}function i(){clearTimeout(p),p=setTimeout(j,200)}function j(){x.hide(),clearTimeout(p),n(),c.mustMatch&&s.search(function(a){a||s.val("")})}function k(a,b){if(b&&b.length&&v){n(),x.display(b,a);var c=b[0].value.split(";");b.value=c[0],h(a,b.value),x.show()}else j()}function l(d,e,f){c.matchCase||(d=d.toLowerCase());var h=u.load(d);if(h&&h.length)e(d,h);else if("string"==typeof c.url&&c.url.length>0){var i={};a.each(c.extraParams,function(a,b){i[a]="function"==typeof b?b():b}),a.ajax({mode:"abort",port:"autocomplete"+b.name,dataType:c.dataType,url:c.url,data:a.extend({q:g(d),limit:c.max,action:"messages_autocomplete_results",cookie:o()},i),success:function(a){var b=c.parse&&c.parse(a)||m(a);u.add(d,b),e(d,b)}})}else f(d)}function m(b){for(var d=[],e=b.split("\n"),f=0;f<e.length;f++){var g=a.trim(e[f]);g&&(g=g.split("|"),d[d.length]={data:g,value:g[0],result:c.formatResult&&c.formatResult(g,g[0])||g[0]})}return d}function n(){s.removeClass(c.loadingClass),jQuery("#send-to-input").removeClass("loading")}function o(){var a,b,c,d,e,f=document.cookie.split(";"),g={},h="bp-";for(a=0;a<f.length;a++)b=f[a],c=b.indexOf("="),d=jq.trim(unescape(b.slice(0,c))),e=unescape(b.slice(c+1)),0===d.indexOf(h)&&(g[d]=e);return encodeURIComponent(jq.param(g))}var p,q,r={UP:38,DOWN:40,DEL:46,TAB:9,RETURN:13,ESC:27,COMMA:188,PAGEUP:33,PAGEDOWN:34},s=a(b).attr("autocomplete","off").addClass(c.inputClass),t="",u=a.Autocompleter.Cache(c),v=0,w={mouseDownOnSelect:!1},x=a.Autocompleter.Select(c,b,d,w);s.keydown(function(b){switch(q=b.keyCode,b.keyCode){case r.UP:b.preventDefault(),x.visible()?x.prev():e(0,!0);break;case r.DOWN:b.preventDefault(),x.visible()?x.next():e(0,!0);break;case r.PAGEUP:b.preventDefault(),x.visible()?x.pageUp():e(0,!0);break;case r.PAGEDOWN:b.preventDefault(),x.visible()?x.pageDown():e(0,!0);break;case c.multiple&&","==a.trim(c.multipleSeparator)&&r.COMMA:case r.TAB:case r.RETURN:d()&&(c.multiple||s.blur(),b.preventDefault(),s.focus());break;case r.ESC:x.hide();break;default:clearTimeout(p),p=setTimeout(e,c.delay)}}).keypress(function(){}).focus(function(){v++}).blur(function(){v=0,w.mouseDownOnSelect||i()}).click(function(){v++>1&&!x.visible()&&e(0,!0)}).bind("search",function(){function b(a,b){var d;if(b&&b.length)for(var e=0;e<b.length;e++)if(b[e].result.toLowerCase()==a.toLowerCase()){d=b[e];break}"function"==typeof c?c(d):s.trigger("result",d&&[d.data,d.value])}var c=arguments.length>1?arguments[1]:null;a.each(f(s.val()),function(a,c){l(c,b,b)})}).bind("flushCache",function(){u.flush()}).bind("setOptions",function(){a.extend(c,arguments[1]),"data"in arguments[1]&&u.populate()}).bind("unautocomplete",function(){x.unbind(),s.unbind()})},a.Autocompleter.defaults={inputClass:"ac_input",resultsClass:"ac_results",loadingClass:"ac_loading",minChars:1,delay:400,matchCase:!1,matchSubset:!0,matchContains:!1,cacheLength:10,max:100,mustMatch:!1,extraParams:{},selectFirst:!0,formatItem:function(a){return a[0]},autoFill:!1,width:0,multiple:!1,multipleSeparator:", ",highlight:function(a,b){return a.replace(new RegExp("(?![^&;]+;)(?!<[^<>]*)("+b.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)","gi"),"<strong>$1</strong>")},scroll:!0,scrollHeight:250,attachTo:"body"},a.Autocompleter.Cache=function(b){function c(a,c){b.matchCase||(a=a.toLowerCase());var d=a.indexOf(c);return-1==d?!1:0==d||b.matchContains}function d(a,c){h>b.cacheLength&&f(),g[a]||h++,g[a]=c}function e(){if(!b.data)return!1;var c={},e=0;b.url||(b.cacheLength=1),c[""]=[];for(var f=0,g=b.data.length;g>f;f++){var h=b.data[f];h="string"==typeof h?[h]:h;var i=b.formatItem(h,f+1,b.data.length);if(i!==!1){var j=i.charAt(0).toLowerCase();c[j]||(c[j]=[]);var k={value:i,data:h,result:b.formatResult&&b.formatResult(h)||i};c[j].push(k),e++<b.max&&c[""].push(k)}}a.each(c,function(a,c){b.cacheLength++,d(a,c)})}function f(){g={},h=0}var g={},h=0;return setTimeout(e,25),{flush:f,add:d,populate:e,load:function(d){if(!b.cacheLength||!h)return null;if(!b.url&&b.matchContains){var e=[];for(var f in g)if(f.length>0){var i=g[f];a.each(i,function(a,b){c(b.value,d)&&e.push(b)})}return e}if(g[d])return g[d];if(b.matchSubset)for(var j=d.length-1;j>=b.minChars;j--){var i=g[d.substr(0,j)];if(i){var e=[];return a.each(i,function(a,b){c(b.value,d)&&(e[e.length]=b)}),e}}return null}}},a.Autocompleter.Select=function(b,c,d,e){function f(){s&&(n=a("<div/>").hide().addClass(b.resultsClass).css("position","absolute").appendTo(b.attachTo),o=a("<ul>").appendTo(n).mouseover(function(b){g(b).nodeName&&"LI"==g(b).nodeName.toUpperCase()&&(q=a("li",o).removeClass(p.ACTIVE).index(g(b)),a(g(b)).addClass(p.ACTIVE))}).click(function(b){return a(g(b)).addClass(p.ACTIVE),d(),c.focus(),!1}).mousedown(function(){e.mouseDownOnSelect=!0}).mouseup(function(){e.mouseDownOnSelect=!1}),b.width>0&&n.css("width",b.width),s=!1)}function g(a){for(var b=a.target;b&&"LI"!=b.tagName;)b=b.parentNode;return b?b:[]}function h(a){l.slice(q,q+1).removeClass(),i(a);var c=l.slice(q,q+1).addClass(p.ACTIVE);if(b.scroll){var d=0;l.slice(0,q).each(function(){d+=this.offsetHeight}),d+c[0].offsetHeight-o.scrollTop()>o[0].clientHeight?o.scrollTop(d+c[0].offsetHeight-o.innerHeight()):d<o.scrollTop()&&o.scrollTop(d)}}function i(a){q+=a,0>q?q=l.size()-1:q>=l.size()&&(q=0)}function j(a){return b.max&&b.max<a?b.max:a}function k(){o.empty();for(var c=j(m.length),d=0;c>d;d++)if(m[d]){var e=b.formatItem(m[d].data,d+1,c,m[d].value,r);if(e!==!1){var f=a("<li>").html(b.highlight(e,r)).addClass(d%2==0?"ac_event":"ac_odd").appendTo(o)[0];a.data(f,"ac_data",m[d])}}l=o.find("li"),b.selectFirst&&(l.slice(0,1).addClass(p.ACTIVE),q=0),o.bgiframe()}var l,m,n,o,p={ACTIVE:"ac_over"},q=-1,r="",s=!0;return{display:function(a,b){f(),m=a,r=b,k()},next:function(){h(1)},prev:function(){h(-1)},pageUp:function(){h(0!=q&&0>q-8?-q:-8)},pageDown:function(){h(q!=l.size()-1&&q+8>l.size()?l.size()-1-q:8)},hide:function(){n&&n.hide(),q=-1},visible:function(){return n&&n.is(":visible")},current:function(){return this.visible()&&(l.filter("."+p.ACTIVE)[0]||b.selectFirst&&l[0])},show:function(){var d=a(c).offset();if(n.css({width:"string"==typeof b.width||b.width>0?b.width:a(c).width(),top:d.top+c.offsetHeight,left:d.left}).show(),b.scroll&&(o.scrollTop(0),o.css({maxHeight:b.scrollHeight,overflow:"auto"}),a.browser.msie&&"undefined"==typeof document.body.style.maxHeight)){var e=0;l.each(function(){e+=this.offsetHeight});var f=e>b.scrollHeight;o.css("height",f?b.scrollHeight:e),f||l.width(o.width()-parseInt(l.css("padding-left"))-parseInt(l.css("padding-right")))}},selected:function(){var b=l&&l.filter("."+p.ACTIVE).removeClass(p.ACTIVE);return b&&b.length&&a.data(b[0],"ac_data")},unbind:function(){n&&n.remove()}}},a.Autocompleter.Selection=function(a,b,c){if(a.createTextRange){var d=a.createTextRange();d.collapse(!0),d.moveStart("character",b),d.moveEnd("character",c),d.select()}else a.setSelectionRange?a.setSelectionRange(b,c):a.selectionStart&&(a.selectionStart=b,a.selectionEnd=c);a.focus()}}(jQuery);
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
jQuery.fn.autoCompletefb=function(a){var b=this,c={ul:b,urlLookup:[""],acOptions:{},foundClass:".friend-tab",inputClass:".send-to-input"};a&&jQuery.extend(c,a);var d={params:c,removeFind:function(a){return d.removeUsername(a),jQuery(a).unbind("click").parent().remove(),jQuery(c.inputClass,b).focus(),b.acfb},removeUsername:function(a){var b=a.parentNode.id.substr(a.parentNode.id.indexOf("-")+1);jQuery("#send-to-usernames").removeClass(b)}};return jQuery(c.foundClass+" img.p").click(function(){d.removeFind(this)}),jQuery(c.inputClass,b).autocomplete(c.urlLookup,c.acOptions),jQuery(c.inputClass,b).result(function(a,e,f){var f=c.foundClass.replace(/\./,""),e=String(e).split(" ("),g=e[1].substr(0,e[1].length-1);if(0===jQuery(c.inputClass).siblings("#un-"+g).length){var h="#link-"+g,i=jQuery(h).attr("href"),j='<li class="'+f+'" id="un-'+g+'"><span><a href="'+i+'">'+e[0]+'</a></span> <span class="p">X</span></li>',k=jQuery(c.inputClass,b).before(j);jQuery("#send-to-usernames").addClass(g),jQuery(".p",k[0].previousSibling).click(function(){d.removeFind(this)})}jQuery(c.inputClass,b).val("")}),jQuery(c.inputClass,b).focus(),d};
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
jQuery.fn.autoCompletefb=function(a){var b=this,c={ul:b,urlLookup:[""],acOptions:{},foundClass:".friend-tab",inputClass:".send-to-input"};a&&jQuery.extend(c,a);var d={params:c,removeFind:function(a){return d.removeUsername(a),jQuery(a).unbind("click").parent().remove(),jQuery(c.inputClass,b).focus(),b.acfb},removeUsername:function(a){var b=a.parentNode.id.substr(a.parentNode.id.indexOf("-")+1);jQuery("#send-to-usernames").removeClass(b)}};return jQuery(c.foundClass+" img.p").click(function(){d.removeFind(this)}),jQuery(c.inputClass,b).autocomplete(c.urlLookup,c.acOptions),jQuery(c.inputClass,b).result(function(a,e,f){var f=c.foundClass.replace(/\./,""),e=String(e).split(" ("),g=e[1].substr(0,e[1].length-1);if(0===jQuery(c.inputClass).siblings("#un-"+g).length){var h="#link-"+g,i=jQuery(h).attr("href"),j='<li class="'+f+'" id="un-'+g+'"><span><a href="'+i+'">'+e[0]+'</a></span> <span class="p">X</span></li>',k=jQuery(c.inputClass,b).before(j);jQuery("#send-to-usernames").addClass(g),jQuery(".p",k[0].previousSibling).click(function(){d.removeFind(this)})}jQuery(c.inputClass,b).val("")}),jQuery(c.inputClass,b).focus(),d};
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
!function(a){function b(a){return a&&a.constructor===Number?a+"px":a}a.fn.bgiframe=a.browser.msie&&/msie 6\.0/i.test(navigator.userAgent)?function(c){c=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:!0,src:"javascript:false;"},c);var d='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+c.src+'"style="display:block;position:absolute;z-index:-1;'+(c.opacity!==!1?"filter:Alpha(Opacity='0');":"")+"top:"+("auto"==c.top?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":b(c.top))+";left:"+("auto"==c.left?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":b(c.left))+";width:"+("auto"==c.width?"expression(this.parentNode.offsetWidth+'px')":b(c.width))+";height:"+("auto"==c.height?"expression(this.parentNode.offsetHeight+'px')":b(c.height))+';"/>';return this.each(function(){0===a(this).children("iframe.bgiframe").length&&this.insertBefore(document.createElement(d),this.firstChild)})}:function(){return this},a.fn.bgIframe=a.fn.bgiframe}(jQuery);
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
!function(a){function b(a){return a&&a.constructor===Number?a+"px":a}a.fn.bgiframe=a.browser.msie&&/msie 6\.0/i.test(navigator.userAgent)?function(c){c=a.extend({top:"auto",left:"auto",width:"auto",height:"auto",opacity:!0,src:"javascript:false;"},c);var d='<iframe class="bgiframe"frameborder="0"tabindex="-1"src="'+c.src+'"style="display:block;position:absolute;z-index:-1;'+(c.opacity!==!1?"filter:Alpha(Opacity='0');":"")+"top:"+("auto"==c.top?"expression(((parseInt(this.parentNode.currentStyle.borderTopWidth)||0)*-1)+'px')":b(c.top))+";left:"+("auto"==c.left?"expression(((parseInt(this.parentNode.currentStyle.borderLeftWidth)||0)*-1)+'px')":b(c.left))+";width:"+("auto"==c.width?"expression(this.parentNode.offsetWidth+'px')":b(c.width))+";height:"+("auto"==c.height?"expression(this.parentNode.offsetHeight+'px')":b(c.height))+';"/>';return this.each(function(){0===a(this).children("iframe.bgiframe").length&&this.insertBefore(document.createElement(d),this.firstChild)})}:function(){return this},a.fn.bgIframe=a.fn.bgiframe}(jQuery);
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
!function(a){a.dimensions={version:"@VERSION"},a.each(["Height","Width"],function(c,d){a.fn["inner"+d]=function(){if(this[0]){var a="Height"==d?"Top":"Left",c="Height"==d?"Bottom":"Right";return this[d.toLowerCase()]()+b(this,"padding"+a)+b(this,"padding"+c)}},a.fn["outer"+d]=function(c){if(this[0]){var e="Height"==d?"Top":"Left",f="Height"==d?"Bottom":"Right";return c=a.extend({margin:!1},c||{}),this[d.toLowerCase()]()+b(this,"border"+e+"Width")+b(this,"border"+f+"Width")+b(this,"padding"+e)+b(this,"padding"+f)+(c.margin?b(this,"margin"+e)+b(this,"margin"+f):0)}}}),a.each(["Left","Top"],function(b,c){a.fn["scroll"+c]=function(b){return this[0]?void 0!=b?this.each(function(){this==window||this==document?window.scrollTo("Left"==c?b:a(window).scrollLeft(),"Top"==c?b:a(window).scrollTop()):this["scroll"+c]=b}):this[0]==window||this[0]==document?self["Left"==c?"pageXOffset":"pageYOffset"]||a.boxModel&&document.documentElement["scroll"+c]||document.body["scroll"+c]:this[0]["scroll"+c]:void 0}}),a.fn.extend({position:function(){var a,c,d,e,f=this[0];return f&&(d=this.offsetParent(),a=this.offset(),c=d.offset(),a.top-=b(f,"marginTop"),a.left-=b(f,"marginLeft"),c.top+=b(d,"borderTopWidth"),c.left+=b(d,"borderLeftWidth"),e={top:a.top-c.top,left:a.left-c.left}),e},offsetParent:function(){for(var b=this[0].offsetParent;b&&!/^body|html$/i.test(b.tagName)&&"static"==a.css(b,"position");)b=b.offsetParent;return a(b)}});var b=function(b,c){return parseInt(a.css(b.jquery?b[0]:b,c))||0}}(jQuery);
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
!function(a){a.dimensions={version:"@VERSION"},a.each(["Height","Width"],function(c,d){a.fn["inner"+d]=function(){if(this[0]){var a="Height"==d?"Top":"Left",c="Height"==d?"Bottom":"Right";return this[d.toLowerCase()]()+b(this,"padding"+a)+b(this,"padding"+c)}},a.fn["outer"+d]=function(c){if(this[0]){var e="Height"==d?"Top":"Left",f="Height"==d?"Bottom":"Right";return c=a.extend({margin:!1},c||{}),this[d.toLowerCase()]()+b(this,"border"+e+"Width")+b(this,"border"+f+"Width")+b(this,"padding"+e)+b(this,"padding"+f)+(c.margin?b(this,"margin"+e)+b(this,"margin"+f):0)}}}),a.each(["Left","Top"],function(b,c){a.fn["scroll"+c]=function(b){return this[0]?void 0!=b?this.each(function(){this==window||this==document?window.scrollTo("Left"==c?b:a(window).scrollLeft(),"Top"==c?b:a(window).scrollTop()):this["scroll"+c]=b}):this[0]==window||this[0]==document?self["Left"==c?"pageXOffset":"pageYOffset"]||a.boxModel&&document.documentElement["scroll"+c]||document.body["scroll"+c]:this[0]["scroll"+c]:void 0}}),a.fn.extend({position:function(){var a,c,d,e,f=this[0];return f&&(d=this.offsetParent(),a=this.offset(),c=d.offset(),a.top-=b(f,"marginTop"),a.left-=b(f,"marginLeft"),c.top+=b(d,"borderTopWidth"),c.left+=b(d,"borderLeftWidth"),e={top:a.top-c.top,left:a.left-c.left}),e},offsetParent:function(){for(var b=this[0].offsetParent;b&&!/^body|html$/i.test(b.tagName)&&"static"==a.css(b,"position");)b=b.offsetParent;return a(b)}});var b=function(b,c){return parseInt(a.css(b.jquery?b[0]:b,c))||0}}(jQuery);
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
window.bp=window.bp||{},function(a,b){"undefined"!=typeof BP_Uploader&&(bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Avatar={start:function(){this.removeLegacyUI(),this.views=new Backbone.Collection,this.jcropapi={},this.warning=null,this.setupNav(),this.avatars=bp.Uploader.filesUploaded,this.Attachment=new Backbone.Model,bp.Uploader.filesQueue.on("reset",this.cropView,this),b("body.wp-admin").on("tb_unload","#TB_window",function(){bp.Avatar.nav.trigger("bp-avatar-view:changed","upload"),_.each(bp.Avatar.navItems.models,function(a){"upload"===a.id?a.set({active:1}):a.set({active:0})})})},removeLegacyUI:function(){b("#avatar-upload-form").length?(b("#avatar-upload").remove(),b("#avatar-upload-form p").remove()):b("#group-settings-form").length?(b("#group-settings-form p").each(function(a){0!==a&&b(this).remove()}),b("#delete-group-avatar-button").length&&b("#delete-group-avatar-button").remove()):b("#group-create-body").length?(b(".main-column p #file").remove(),b(".main-column p #upload").remove()):b("#bp_xprofile_user_admin_avatar a.bp-xprofile-avatar-user-admin").length&&b("#bp_xprofile_user_admin_avatar a.bp-xprofile-avatar-user-admin").remove()},setView:function(a){switch(_.isUndefined(this.views.models)||_.each(this.views.models,function(a){a.get("view").remove()},this),this.views.reset(),_.isUndefined(this.avatars)||this.avatars.reset(),_.isEmpty(this.jcropapi)||(this.jcropapi.destroy(),this.jcropapi={}),a){case"upload":this.uploaderView();break;case"delete":this.deleteView()}},setupNav:function(){var a,b,c=this;this.navItems=new Backbone.Collection,_.each(BP_Uploader.settings.nav,function(d,e){_.isObject(d)&&(b=0,0===e&&(a=d.id,b=1),c.navItems.add({id:d.id,name:d.caption,href:"#",active:b,hide:_.isUndefined(d.hide)?0:d.hide}))}),this.nav=new bp.Views.Nav({collection:this.navItems}),this.nav.inject(".bp-avatar-nav"),this.setView(a),this.nav.on("bp-avatar-view:changed",_.bind(this.setView,this))},uploaderView:function(){bp.Uploader.filesQueue.on("add",this.uploadProgress,this);var a=new bp.Views.Uploader;this.views.add({id:"upload",view:a}),a.inject(".bp-avatar")},uploadProgress:function(){var a=new bp.Views.uploaderStatus({collection:bp.Uploader.filesQueue});_.isUndefined(this.views.get("status"))?this.views.add({id:"status",view:a}):this.views.set({id:"status",view:a}),a.inject(".bp-avatar-status")},cropView:function(){var a;if(!_.isEmpty(this.avatars.models)){_.isUndefined(this.views.get("status"))||(a=this.views.get("status"),a.get("view").remove(),this.views.remove({id:"status",view:a}));var b=new bp.Views.Avatars({collection:this.avatars});this.views.add({id:"crop",view:b}),b.inject(".bp-avatar")}},setAvatar:function(a){var c,d=this;_.isUndefined(this.views.get("crop"))||(_.isEmpty(this.jcropapi)||(this.jcropapi.destroy(),this.jcropapi={}),c=this.views.get("crop"),c.get("view").remove(),this.views.remove({id:"crop",view:c})),bp.ajax.post("bp_avatar_set",{json:!0,original_file:a.get("url"),crop_w:a.get("w"),crop_h:a.get("h"),crop_x:a.get("x"),crop_y:a.get("y"),item_id:a.get("item_id"),object:a.get("object"),type:_.isUndefined(a.get("type"))?"crop":a.get("type"),nonce:a.get("nonces").set}).done(function(c){var e=new bp.Views.AvatarStatus({value:BP_Uploader.strings.feedback_messages[c.feedback_code],type:"success"});d.views.add({id:"status",view:e}),e.inject(".bp-avatar-status"),b("."+a.get("object")+"-"+c.item_id+"-avatar").each(function(){b(this).prop("src",c.avatar)}),bp.Avatar.navItems.get("delete").set({hide:0}),d.Attachment.set(_.extend(_.pick(a.attributes,["object","item_id"]),{url:c.avatar,action:"uploaded"}))}).fail(function(a){var b=BP_Uploader.strings.default_error;_.isUndefined(a)||(b=BP_Uploader.strings.feedback_messages[a.feedback_code]);var c=new bp.Views.AvatarStatus({value:b,type:"error"});d.views.add({id:"status",view:c}),c.inject(".bp-avatar-status")})},deleteView:function(){var a=new Backbone.Model(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,"object","item_id","nonces")),b=new bp.Views.DeleteAvatar({model:a});this.views.add({id:"delete",view:b}),b.inject(".bp-avatar")},deleteAvatar:function(a){var c,d=this;_.isUndefined(this.views.get("delete"))||(c=this.views.get("delete"),c.get("view").remove(),this.views.remove({id:"delete",view:c})),bp.ajax.post("bp_avatar_delete",{json:!0,item_id:a.get("item_id"),object:a.get("object"),nonce:a.get("nonces").remove}).done(function(c){var e=new bp.Views.AvatarStatus({value:BP_Uploader.strings.feedback_messages[c.feedback_code],type:"success"});d.views.add({id:"status",view:e}),e.inject(".bp-avatar-status"),b("."+a.get("object")+"-"+c.item_id+"-avatar").each(function(){b(this).prop("src",c.avatar)}),bp.Avatar.navItems.get("delete").set({active:0,hide:1}),d.Attachment.set(_.extend(_.pick(a.attributes,["object","item_id"]),{url:c.avatar,action:"deleted"}))}).fail(function(a){var b=BP_Uploader.strings.default_error;_.isUndefined(a)||(b=BP_Uploader.strings.feedback_messages[a.feedback_code]);var c=new bp.Views.AvatarStatus({value:b,type:"error"});d.views.add({id:"status",view:c}),c.inject(".bp-avatar-status")})},removeWarning:function(){_.isNull(this.warning)||this.warning.remove()},displayWarning:function(a){this.removeWarning(),this.warning=new bp.Views.uploaderWarning({value:a}),this.warning.inject(".bp-avatar-status")}},bp.Views.Nav=bp.View.extend({tagName:"ul",className:"avatar-nav-items",events:{"click .bp-avatar-nav-item":"toggleView"},initialize:function(){var a=_.findWhere(this.collection.models,{id:"delete"});1!==a.get("hide")&&bp.Avatar.displayWarning(BP_Uploader.strings.has_avatar_warning),_.each(this.collection.models,this.addNavItem,this),this.collection.on("change:hide",this.showHideNavItem,this)},addNavItem:function(a){1!==a.get("hide")&&this.views.add(new bp.Views.NavItem({model:a}))},showHideNavItem:function(a){var b=null;_.each(this.views._views[""],function(c){1===c.model.get("hide")&&c.remove(),a.get("id")===c.model.get("id")&&(b=!0)}),_.isBoolean(b)||this.addNavItem(a)},toggleView:function(a){a.preventDefault(),bp.Avatar.removeWarning();var c=b(a.target).data("nav");_.each(this.collection.models,function(a){a.id===c?(a.set({active:1}),this.trigger("bp-avatar-view:changed",a.id)):a.set({active:0})},this)}}),bp.Views.NavItem=bp.View.extend({tagName:"li",className:"avatar-nav-item",template:bp.template("bp-avatar-nav"),initialize:function(){1===this.model.get("active")&&(this.el.className+=" current"),this.el.id+="bp-avatar-"+this.model.get("id"),this.model.on("change:active",this.setCurrentNav,this)},setCurrentNav:function(a){1===a.get("active")?this.$el.addClass("current"):this.$el.removeClass("current")}}),bp.Views.Avatars=bp.View.extend({className:"items",initialize:function(){_.each(this.collection.models,this.addItemView,this)},addItemView:function(a){var b={full_h:150,full_w:150};_.isUndefined(BP_Uploader.settings.crop.full_h)||_.isUndefined(BP_Uploader.settings.crop.full_w)||(b.full_h=BP_Uploader.settings.crop.full_h,b.full_w=BP_Uploader.settings.crop.full_w),a.set(_.extend(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,"object","item_id","nonces"),b)),this.views.add(new bp.Views.Avatar({model:a}))}}),bp.Views.Avatar=bp.View.extend({className:"item",template:bp.template("bp-avatar-item"),events:{"click .avatar-crop-submit":"cropAvatar"},initialize:function(){_.defaults(this.options,{full_h:BP_Uploader.settings.crop.full_h,full_w:BP_Uploader.settings.crop.full_w,aspectRatio:1}),!1!==this.model.get("feedback")&&bp.Avatar.displayWarning(this.model.get("feedback")),this.on("ready",this.initCropper)},initCropper:function(){var a,c,d,e,f,g,h=this,i=this.$el.find("#avatar-to-crop img"),j=this.$el.width(),k={};_.isUndefined(this.options.full_h)||_.isUndefined(this.options.full_w)||(this.options.aspectRatio=this.options.full_w/this.options.full_h),k.w=this.model.get("width"),k.h=this.model.get("height"),this.options.full_w+k.w+20<j&&(b("#avatar-to-crop").addClass("adjust"),this.$el.find(".avatar-crop-management").addClass("adjust")),k.h<=k.w?(a=Math.round(k.h/4),f=g=Math.round(k.h/2),c=f+a,d=(k.w-g)/2,e=g+d):(d=Math.round(k.w/4),f=g=Math.round(k.w/2),e=g+d,a=(k.h-f)/2,c=f+a),i.Jcrop({onChange:_.bind(h.showPreview,h),onSelect:_.bind(h.showPreview,h),aspectRatio:h.options.aspectRatio,setSelect:[d,a,e,c]},function(){bp.Avatar.jcropapi=this})},cropAvatar:function(a){a.preventDefault(),bp.Avatar.setAvatar(this.model)},showPreview:function(a){if(a.w&&a.h&&parseInt(a.w,10)>0){var c=this.options.full_w,d=this.options.full_h,e=c/a.w,f=d/a.h;this.model.set({x:a.x,y:a.y,w:a.w,h:a.h}),b("#avatar-crop-preview").css({maxWidth:"none",width:Math.round(e*this.model.get("width"))+"px",height:Math.round(f*this.model.get("height"))+"px",marginLeft:"-"+Math.round(e*this.model.get("x"))+"px",marginTop:"-"+Math.round(f*this.model.get("y"))+"px"})}}}),bp.Views.AvatarStatus=bp.View.extend({tagName:"p",className:"updated",id:"bp-avatar-feedback",initialize:function(){this.el.className+=" "+this.options.type,this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.DeleteAvatar=bp.View.extend({tagName:"div",id:"bp-delete-avatar-container",template:bp.template("bp-avatar-delete"),events:{"click #bp-delete-avatar":"deleteAvatar"},deleteAvatar:function(a){a.preventDefault(),bp.Avatar.deleteAvatar(this.model)}}),bp.Avatar.start())}(bp,jQuery);
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
window.bp=window.bp||{},function(a,b){"undefined"!=typeof BP_Uploader&&(bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Avatar={start:function(){this.removeLegacyUI(),this.views=new Backbone.Collection,this.jcropapi={},this.warning=null,this.setupNav(),this.avatars=bp.Uploader.filesUploaded,this.Attachment=new Backbone.Model,bp.Uploader.filesQueue.on("reset",this.cropView,this),b("body.wp-admin").on("tb_unload","#TB_window",function(){bp.Avatar.nav.trigger("bp-avatar-view:changed","upload"),_.each(bp.Avatar.navItems.models,function(a){"upload"===a.id?a.set({active:1}):a.set({active:0})})})},removeLegacyUI:function(){b("#avatar-upload-form").length?(b("#avatar-upload").remove(),b("#avatar-upload-form p").remove()):b("#group-settings-form").length?(b("#group-settings-form p").each(function(a){0!==a&&b(this).remove()}),b("#delete-group-avatar-button").length&&b("#delete-group-avatar-button").remove()):b("#group-create-body").length?(b(".main-column p #file").remove(),b(".main-column p #upload").remove()):b("#bp_xprofile_user_admin_avatar a.bp-xprofile-avatar-user-admin").length&&b("#bp_xprofile_user_admin_avatar a.bp-xprofile-avatar-user-admin").remove()},setView:function(a){switch(_.isUndefined(this.views.models)||_.each(this.views.models,function(a){a.get("view").remove()},this),this.views.reset(),_.isUndefined(this.avatars)||this.avatars.reset(),_.isEmpty(this.jcropapi)||(this.jcropapi.destroy(),this.jcropapi={}),a){case"upload":this.uploaderView();break;case"delete":this.deleteView()}},setupNav:function(){var a,b,c=this;this.navItems=new Backbone.Collection,_.each(BP_Uploader.settings.nav,function(d,e){_.isObject(d)&&(b=0,0===e&&(a=d.id,b=1),c.navItems.add({id:d.id,name:d.caption,href:"#",active:b,hide:_.isUndefined(d.hide)?0:d.hide}))}),this.nav=new bp.Views.Nav({collection:this.navItems}),this.nav.inject(".bp-avatar-nav"),this.setView(a),this.nav.on("bp-avatar-view:changed",_.bind(this.setView,this))},uploaderView:function(){bp.Uploader.filesQueue.on("add",this.uploadProgress,this);var a=new bp.Views.Uploader;this.views.add({id:"upload",view:a}),a.inject(".bp-avatar")},uploadProgress:function(){var a=new bp.Views.uploaderStatus({collection:bp.Uploader.filesQueue});_.isUndefined(this.views.get("status"))?this.views.add({id:"status",view:a}):this.views.set({id:"status",view:a}),a.inject(".bp-avatar-status")},cropView:function(){var a;if(!_.isEmpty(this.avatars.models)){_.isUndefined(this.views.get("status"))||(a=this.views.get("status"),a.get("view").remove(),this.views.remove({id:"status",view:a}));var b=new bp.Views.Avatars({collection:this.avatars});this.views.add({id:"crop",view:b}),b.inject(".bp-avatar")}},setAvatar:function(a){var c,d=this;_.isUndefined(this.views.get("crop"))||(_.isEmpty(this.jcropapi)||(this.jcropapi.destroy(),this.jcropapi={}),c=this.views.get("crop"),c.get("view").remove(),this.views.remove({id:"crop",view:c})),bp.ajax.post("bp_avatar_set",{json:!0,original_file:a.get("url"),crop_w:a.get("w"),crop_h:a.get("h"),crop_x:a.get("x"),crop_y:a.get("y"),item_id:a.get("item_id"),object:a.get("object"),type:_.isUndefined(a.get("type"))?"crop":a.get("type"),nonce:a.get("nonces").set}).done(function(c){var e=new bp.Views.AvatarStatus({value:BP_Uploader.strings.feedback_messages[c.feedback_code],type:"success"});d.views.add({id:"status",view:e}),e.inject(".bp-avatar-status"),b("."+a.get("object")+"-"+c.item_id+"-avatar").each(function(){b(this).prop("src",c.avatar)}),bp.Avatar.navItems.get("delete").set({hide:0}),d.Attachment.set(_.extend(_.pick(a.attributes,["object","item_id"]),{url:c.avatar,action:"uploaded"}))}).fail(function(a){var b=BP_Uploader.strings.default_error;_.isUndefined(a)||(b=BP_Uploader.strings.feedback_messages[a.feedback_code]);var c=new bp.Views.AvatarStatus({value:b,type:"error"});d.views.add({id:"status",view:c}),c.inject(".bp-avatar-status")})},deleteView:function(){var a=new Backbone.Model(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,"object","item_id","nonces")),b=new bp.Views.DeleteAvatar({model:a});this.views.add({id:"delete",view:b}),b.inject(".bp-avatar")},deleteAvatar:function(a){var c,d=this;_.isUndefined(this.views.get("delete"))||(c=this.views.get("delete"),c.get("view").remove(),this.views.remove({id:"delete",view:c})),bp.ajax.post("bp_avatar_delete",{json:!0,item_id:a.get("item_id"),object:a.get("object"),nonce:a.get("nonces").remove}).done(function(c){var e=new bp.Views.AvatarStatus({value:BP_Uploader.strings.feedback_messages[c.feedback_code],type:"success"});d.views.add({id:"status",view:e}),e.inject(".bp-avatar-status"),b("."+a.get("object")+"-"+c.item_id+"-avatar").each(function(){b(this).prop("src",c.avatar)}),bp.Avatar.navItems.get("delete").set({active:0,hide:1}),d.Attachment.set(_.extend(_.pick(a.attributes,["object","item_id"]),{url:c.avatar,action:"deleted"}))}).fail(function(a){var b=BP_Uploader.strings.default_error;_.isUndefined(a)||(b=BP_Uploader.strings.feedback_messages[a.feedback_code]);var c=new bp.Views.AvatarStatus({value:b,type:"error"});d.views.add({id:"status",view:c}),c.inject(".bp-avatar-status")})},removeWarning:function(){_.isNull(this.warning)||this.warning.remove()},displayWarning:function(a){this.removeWarning(),this.warning=new bp.Views.uploaderWarning({value:a}),this.warning.inject(".bp-avatar-status")}},bp.Views.Nav=bp.View.extend({tagName:"ul",className:"avatar-nav-items",events:{"click .bp-avatar-nav-item":"toggleView"},initialize:function(){var a=_.findWhere(this.collection.models,{id:"delete"});1!==a.get("hide")&&bp.Avatar.displayWarning(BP_Uploader.strings.has_avatar_warning),_.each(this.collection.models,this.addNavItem,this),this.collection.on("change:hide",this.showHideNavItem,this)},addNavItem:function(a){1!==a.get("hide")&&this.views.add(new bp.Views.NavItem({model:a}))},showHideNavItem:function(a){var b=null;_.each(this.views._views[""],function(c){1===c.model.get("hide")&&c.remove(),a.get("id")===c.model.get("id")&&(b=!0)}),_.isBoolean(b)||this.addNavItem(a)},toggleView:function(a){a.preventDefault(),bp.Avatar.removeWarning();var c=b(a.target).data("nav");_.each(this.collection.models,function(a){a.id===c?(a.set({active:1}),this.trigger("bp-avatar-view:changed",a.id)):a.set({active:0})},this)}}),bp.Views.NavItem=bp.View.extend({tagName:"li",className:"avatar-nav-item",template:bp.template("bp-avatar-nav"),initialize:function(){1===this.model.get("active")&&(this.el.className+=" current"),this.el.id+="bp-avatar-"+this.model.get("id"),this.model.on("change:active",this.setCurrentNav,this)},setCurrentNav:function(a){1===a.get("active")?this.$el.addClass("current"):this.$el.removeClass("current")}}),bp.Views.Avatars=bp.View.extend({className:"items",initialize:function(){_.each(this.collection.models,this.addItemView,this)},addItemView:function(a){var b={full_h:150,full_w:150};_.isUndefined(BP_Uploader.settings.crop.full_h)||_.isUndefined(BP_Uploader.settings.crop.full_w)||(b.full_h=BP_Uploader.settings.crop.full_h,b.full_w=BP_Uploader.settings.crop.full_w),a.set(_.extend(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,"object","item_id","nonces"),b)),this.views.add(new bp.Views.Avatar({model:a}))}}),bp.Views.Avatar=bp.View.extend({className:"item",template:bp.template("bp-avatar-item"),events:{"click .avatar-crop-submit":"cropAvatar"},initialize:function(){_.defaults(this.options,{full_h:BP_Uploader.settings.crop.full_h,full_w:BP_Uploader.settings.crop.full_w,aspectRatio:1}),!1!==this.model.get("feedback")&&bp.Avatar.displayWarning(this.model.get("feedback")),this.on("ready",this.initCropper)},initCropper:function(){var a,c,d,e,f,g,h=this,i=this.$el.find("#avatar-to-crop img"),j=this.$el.width(),k={};_.isUndefined(this.options.full_h)||_.isUndefined(this.options.full_w)||(this.options.aspectRatio=this.options.full_w/this.options.full_h),k.w=this.model.get("width"),k.h=this.model.get("height"),this.options.full_w+k.w+20<j&&(b("#avatar-to-crop").addClass("adjust"),this.$el.find(".avatar-crop-management").addClass("adjust")),k.h<=k.w?(a=Math.round(k.h/4),f=g=Math.round(k.h/2),c=f+a,d=(k.w-g)/2,e=g+d):(d=Math.round(k.w/4),f=g=Math.round(k.w/2),e=g+d,a=(k.h-f)/2,c=f+a),i.Jcrop({onChange:_.bind(h.showPreview,h),onSelect:_.bind(h.showPreview,h),aspectRatio:h.options.aspectRatio,setSelect:[d,a,e,c]},function(){bp.Avatar.jcropapi=this})},cropAvatar:function(a){a.preventDefault(),bp.Avatar.setAvatar(this.model)},showPreview:function(a){if(a.w&&a.h&&parseInt(a.w,10)>0){var c=this.options.full_w,d=this.options.full_h,e=c/a.w,f=d/a.h;this.model.set({x:a.x,y:a.y,w:a.w,h:a.h}),b("#avatar-crop-preview").css({maxWidth:"none",width:Math.round(e*this.model.get("width"))+"px",height:Math.round(f*this.model.get("height"))+"px",marginLeft:"-"+Math.round(e*this.model.get("x"))+"px",marginTop:"-"+Math.round(f*this.model.get("y"))+"px"})}}}),bp.Views.AvatarStatus=bp.View.extend({tagName:"p",className:"updated",id:"bp-avatar-feedback",initialize:function(){this.el.className+=" "+this.options.type,this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.DeleteAvatar=bp.View.extend({tagName:"div",id:"bp-delete-avatar-container",template:bp.template("bp-avatar-delete"),events:{"click #bp-delete-avatar":"deleteAvatar"},deleteAvatar:function(a){a.preventDefault(),bp.Avatar.deleteAvatar(this.model)}}),bp.Avatar.start())}(bp,jQuery);
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
window.wp=window.wp||{},window.bp=window.bp||{},function(a,b){"undefined"!=typeof BP_Uploader&&(_.extend(bp,_.pick(wp,"Backbone","ajax","template")),bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Uploader={},bp.Uploader.uploader=function(){var a=this,c=-1!==navigator.userAgent.indexOf("Trident/")||-1!==navigator.userAgent.indexOf("MSIE ");return this.params=BP_Uploader.settings,this.strings=BP_Uploader.strings,this.supports={upload:this.params.browser.supported},this.supported=this.supports.upload,this.supported?(c||"flash"!==plupload.predictRuntime(this.params.defaults)||this.params.defaults.required_features&&this.params.defaults.required_features.hasOwnProperty("send_binary_string")||(this.params.defaults.required_features=this.params.defaults.required_features||{},this.params.defaults.required_features.send_binary_string=!0),this.uploader=new plupload.Uploader(this.params.defaults),this.uploader.bind("Init",function(c){var d=b("#"+a.params.defaults.container),e=b("#"+a.params.defaults.drop_element);"html4"===c.runtime&&(c.settings.multipart_params.html4=!0),"bp_avatar_upload"===c.settings.multipart_params.action&&(c.settings.multipart_params.bp_params.ui_available_width=d.width()),c.features.dragdrop&&!a.params.browser.mobile?(d.addClass("drag-drop"),e.bind("dragover.wp-uploader",function(){d.addClass("drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){d.removeClass("drag-over")})):(d.removeClass("drag-drop"),e.unbind(".wp-uploader"))}),this.uploader.init(),this.feedback=function(a,b,c){!_.isNull(c)&&c.item&&c.item.clear(),bp.Uploader.filesError.unshift({message:a,data:b,file:c})},this.uploader.bind("FilesAdded",function(c,d){var e=104857600,f=parseInt(c.settings.max_file_size,10),g=this;if(!c.settings.multi_selection&&d.length>1){for(var h in d)c.removeFile(d[h]);return void b(a).trigger("bp-uploader-warning",a.strings.unique_file_warning)}_.each(d,function(a){var b;plupload.FAILED!==a.status&&(f>e&&a.size>e&&"html5"!==c.runtime?g.uploadSizeError(c,a,!0):(b=_.extend({id:a.id,file:a,uploading:!0,date:new Date,filename:a.name},_.pick(a,"loaded","size","percent")),a.item=new bp.Models.File(b),bp.Uploader.filesQueue.add(a.item)))}),c.refresh(),c.start()}),this.uploader.bind("UploadProgress",function(a,b){b.item.set(_.pick(b,"loaded","percent"))}),this.uploader.bind("FileUploaded",function(b,c,d){var e=a.strings.default_error;try{d=JSON.parse(d.response)}catch(f){return a.feedback(e,f,c)}return!_.isObject(d)||_.isUndefined(d.success)?a.feedback(e,null,c):d.success?(_.each(["file","loaded","size","percent"],function(a){c.item.unset(a)}),c.item.set(_.extend(d.data,{uploading:!1})),void bp.Uploader.filesUploaded.add(c.item)):(d.data&&d.data.message&&(e=d.data.message),a.feedback(e,d.data,c))}),this.uploader.bind("BeforeUpload",function(c,d){b(a).trigger("bp-uploader-new-upload",c,d)}),this.uploader.bind("UploadComplete",function(c,d){b(a).trigger("bp-uploader-upload-complete",c,d),bp.Uploader.filesQueue.reset()}),void this.uploader.bind("Error",function(c,d){var e,f=a.strings.default_error,g={FAILED:a.strings.upload_failed,FILE_EXTENSION_ERROR:a.strings.invalid_filetype,IMAGE_FORMAT_ERROR:a.strings.not_an_image,IMAGE_MEMORY_ERROR:a.strings.image_memory_exceeded,IMAGE_DIMENSIONS_ERROR:a.strings.image_dimensions_exceeded,GENERIC_ERROR:a.strings.upload_failed,IO_ERROR:a.strings.io_error,HTTP_ERROR:a.strings.http_error,SECURITY_ERROR:a.strings.security_error,FILE_SIZE_ERROR:a.strings.file_exceeds_size_limit.replace("%s",d.file.name)};for(e in g)if(d.code===plupload[e]){f=g[e];break}b(a).trigger("bp-uploader-warning",f),c.refresh()})):void(BP_Uploader=void 0)},bp.Models.File=Backbone.Model.extend({file:{}}),b.extend(bp.Uploader,{filesQueue:new Backbone.Collection,filesUploaded:new Backbone.Collection,filesError:new Backbone.Collection}),bp.View=bp.Backbone.View.extend({inject:function(a){this.render(),b(a).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}}),bp.Views.Uploader=bp.View.extend({className:"bp-uploader-window",template:bp.template("upload-window"),defaults:_.pick(BP_Uploader.settings.defaults,"container","drop_element","browse_button"),initialize:function(){this.warnings=[],this.model=new Backbone.Model(this.defaults),this.on("ready",this.initUploader)},initUploader:function(){this.uploader=new bp.Uploader.uploader,b(this.uploader).on("bp-uploader-warning",_.bind(this.setWarning,this)),b(this.uploader).on("bp-uploader-new-upload",_.bind(this.resetWarning,this))},setWarning:function(a,b){if(!_.isUndefined(b)){var c=new bp.Views.uploaderWarning({value:b}).render();this.warnings.push(c),this.$el.after(c.el)}},resetWarning:function(){0!==this.warnings.length&&(_.each(this.warnings,function(a){a.remove()}),this.warnings=[])}}),bp.Views.uploaderWarning=bp.View.extend({tagName:"p",className:"warning",initialize:function(){this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.uploaderStatus=bp.View.extend({className:"files",initialize:function(){_.each(this.collection.models,this.addFile,this),this.collection.on("change:percent",this.progress,this),bp.Uploader.filesError.on("add",this.feedback,this)},addFile:function(a){this.views.add(new bp.Views.uploaderProgress({model:a}))},progress:function(a){_.isUndefined(a.get("percent"))||b("#"+a.get("id")+" .bp-progress .bp-bar").css("width",a.get("percent")+"%")},feedback:function(a){_.isUndefined(a.get("message"))||_.isUndefined(a.get("file"))||b("#"+a.get("file").id).html(a.get("message")).addClass("error")}}),bp.Views.uploaderProgress=bp.View.extend({className:"bp-uploader-progress",template:bp.template("progress-window")}))}(bp,jQuery);
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
window.wp=window.wp||{},window.bp=window.bp||{},function(a,b){"undefined"!=typeof BP_Uploader&&(_.extend(bp,_.pick(wp,"Backbone","ajax","template")),bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.Uploader={},bp.Uploader.uploader=function(){var a=this,c=-1!==navigator.userAgent.indexOf("Trident/")||-1!==navigator.userAgent.indexOf("MSIE ");return this.params=BP_Uploader.settings,this.strings=BP_Uploader.strings,this.supports={upload:this.params.browser.supported},this.supported=this.supports.upload,this.supported?(c||"flash"!==plupload.predictRuntime(this.params.defaults)||this.params.defaults.required_features&&this.params.defaults.required_features.hasOwnProperty("send_binary_string")||(this.params.defaults.required_features=this.params.defaults.required_features||{},this.params.defaults.required_features.send_binary_string=!0),this.uploader=new plupload.Uploader(this.params.defaults),this.uploader.bind("Init",function(c){var d=b("#"+a.params.defaults.container),e=b("#"+a.params.defaults.drop_element);"html4"===c.runtime&&(c.settings.multipart_params.html4=!0),"bp_avatar_upload"===c.settings.multipart_params.action&&(c.settings.multipart_params.bp_params.ui_available_width=d.width()),c.features.dragdrop&&!a.params.browser.mobile?(d.addClass("drag-drop"),e.bind("dragover.wp-uploader",function(){d.addClass("drag-over")}).bind("dragleave.wp-uploader, drop.wp-uploader",function(){d.removeClass("drag-over")})):(d.removeClass("drag-drop"),e.unbind(".wp-uploader"))}),this.uploader.init(),this.feedback=function(a,b,c){!_.isNull(c)&&c.item&&c.item.clear(),bp.Uploader.filesError.unshift({message:a,data:b,file:c})},this.uploader.bind("FilesAdded",function(c,d){var e=104857600,f=parseInt(c.settings.max_file_size,10),g=this;if(!c.settings.multi_selection&&d.length>1){for(var h in d)c.removeFile(d[h]);return void b(a).trigger("bp-uploader-warning",a.strings.unique_file_warning)}_.each(d,function(a){var b;plupload.FAILED!==a.status&&(f>e&&a.size>e&&"html5"!==c.runtime?g.uploadSizeError(c,a,!0):(b=_.extend({id:a.id,file:a,uploading:!0,date:new Date,filename:a.name},_.pick(a,"loaded","size","percent")),a.item=new bp.Models.File(b),bp.Uploader.filesQueue.add(a.item)))}),c.refresh(),c.start()}),this.uploader.bind("UploadProgress",function(a,b){b.item.set(_.pick(b,"loaded","percent"))}),this.uploader.bind("FileUploaded",function(b,c,d){var e=a.strings.default_error;try{d=JSON.parse(d.response)}catch(f){return a.feedback(e,f,c)}return!_.isObject(d)||_.isUndefined(d.success)?a.feedback(e,null,c):d.success?(_.each(["file","loaded","size","percent"],function(a){c.item.unset(a)}),c.item.set(_.extend(d.data,{uploading:!1})),void bp.Uploader.filesUploaded.add(c.item)):(d.data&&d.data.message&&(e=d.data.message),a.feedback(e,d.data,c))}),this.uploader.bind("BeforeUpload",function(c,d){b(a).trigger("bp-uploader-new-upload",c,d)}),this.uploader.bind("UploadComplete",function(c,d){b(a).trigger("bp-uploader-upload-complete",c,d),bp.Uploader.filesQueue.reset()}),void this.uploader.bind("Error",function(c,d){var e,f=a.strings.default_error,g={FAILED:a.strings.upload_failed,FILE_EXTENSION_ERROR:a.strings.invalid_filetype,IMAGE_FORMAT_ERROR:a.strings.not_an_image,IMAGE_MEMORY_ERROR:a.strings.image_memory_exceeded,IMAGE_DIMENSIONS_ERROR:a.strings.image_dimensions_exceeded,GENERIC_ERROR:a.strings.upload_failed,IO_ERROR:a.strings.io_error,HTTP_ERROR:a.strings.http_error,SECURITY_ERROR:a.strings.security_error,FILE_SIZE_ERROR:a.strings.file_exceeds_size_limit.replace("%s",d.file.name)};for(e in g)if(d.code===plupload[e]){f=g[e];break}b(a).trigger("bp-uploader-warning",f),c.refresh()})):void(BP_Uploader=void 0)},bp.Models.File=Backbone.Model.extend({file:{}}),b.extend(bp.Uploader,{filesQueue:new Backbone.Collection,filesUploaded:new Backbone.Collection,filesError:new Backbone.Collection}),bp.View=bp.Backbone.View.extend({inject:function(a){this.render(),b(a).html(this.el),this.views.ready()},prepare:function(){return!_.isUndefined(this.model)&&_.isFunction(this.model.toJSON)?this.model.toJSON():{}}}),bp.Views.Uploader=bp.View.extend({className:"bp-uploader-window",template:bp.template("upload-window"),defaults:_.pick(BP_Uploader.settings.defaults,"container","drop_element","browse_button"),initialize:function(){this.warnings=[],this.model=new Backbone.Model(this.defaults),this.on("ready",this.initUploader)},initUploader:function(){this.uploader=new bp.Uploader.uploader,b(this.uploader).on("bp-uploader-warning",_.bind(this.setWarning,this)),b(this.uploader).on("bp-uploader-new-upload",_.bind(this.resetWarning,this))},setWarning:function(a,b){if(!_.isUndefined(b)){var c=new bp.Views.uploaderWarning({value:b}).render();this.warnings.push(c),this.$el.after(c.el)}},resetWarning:function(){0!==this.warnings.length&&(_.each(this.warnings,function(a){a.remove()}),this.warnings=[])}}),bp.Views.uploaderWarning=bp.View.extend({tagName:"p",className:"warning",initialize:function(){this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.uploaderStatus=bp.View.extend({className:"files",initialize:function(){_.each(this.collection.models,this.addFile,this),this.collection.on("change:percent",this.progress,this),bp.Uploader.filesError.on("add",this.feedback,this)},addFile:function(a){this.views.add(new bp.Views.uploaderProgress({model:a}))},progress:function(a){_.isUndefined(a.get("percent"))||b("#"+a.get("id")+" .bp-progress .bp-bar").css("width",a.get("percent")+"%")},feedback:function(a){_.isUndefined(a.get("message"))||_.isUndefined(a.get("file"))||b("#"+a.get("file").id).html(a.get("message")).addClass("error")}}),bp.Views.uploaderProgress=bp.View.extend({className:"bp-uploader-progress",template:bp.template("progress-window")}))}(bp,jQuery);
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
jQuery(document).ready(function(){jQuery("a.confirm").click(function(){return confirm(BP_Confirm.are_you_sure)?!0:!1})});
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
jQuery(document).ready(function(){jQuery("a.confirm").click(function(){return confirm(BP_Confirm.are_you_sure)?!0:!1})});
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
window.bp=window.bp||{},function(a,b){"undefined"!=typeof BP_Uploader&&(bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.CoverImage={start:function(){this.views=new Backbone.Collection,this.warning=null,this.Attachment=new Backbone.Model,this.uploaderView(),this.displayWarning(BP_Uploader.strings.cover_image_warnings.dimensions),!0===BP_Uploader.settings.defaults.multipart_params.bp_params.has_cover_image&&this.deleteView()},uploaderView:function(){bp.Uploader.filesQueue.on("add",this.uploadProgress,this);var a=new bp.Views.Uploader;this.views.add({id:"upload",view:a}),a.inject(".bp-cover-image")},uploadProgress:function(){var a=new bp.Views.coverImageUploadProgress({collection:bp.Uploader.filesQueue});_.isUndefined(this.views.get("status"))?this.views.add({id:"status",view:a}):this.views.set({id:"status",view:a}),a.inject(".bp-cover-image-status")},deleteView:function(){var a=new Backbone.Model(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,["object","item_id","nonces"]));if(_.isUndefined(this.views.get("delete"))){var b=new bp.Views.DeleteCoverImage({model:a});this.views.add({id:"delete",view:b}),b.inject(".bp-cover-image-manage")}},deleteCoverImage:function(a){var c,d=this;_.isUndefined(this.views.get("delete"))||(c=this.views.get("delete"),c.get("view").remove(),this.views.remove({id:"delete",view:c})),bp.ajax.post("bp_cover_image_delete",{json:!0,item_id:a.get("item_id"),object:a.get("object"),nonce:a.get("nonces").remove}).done(function(c){var e=new bp.Views.CoverImageStatus({value:BP_Uploader.strings.feedback_messages[c.feedback_code],type:"success"});d.views.add({id:"status",view:e}),e.inject(".bp-cover-image-status"),""===c.reset_url?b("#header-cover-image").css({"background-image":"none"}):b("#header-cover-image").css({"background-image":"url( "+c.reset_url+" )"}),BP_Uploader.settings.defaults.multipart_params.bp_params.has_cover_image=!1,d.Attachment.set(_.extend(_.pick(a.attributes,["object","item_id"]),{url:c.reset_url,action:"deleted"}))}).fail(function(a){var b=BP_Uploader.strings.default_error;_.isUndefined(a)||(b=BP_Uploader.strings.feedback_messages[a.feedback_code]);var c=new bp.Views.CoverImageStatus({value:b,type:"error"});d.views.add({id:"status",view:c}),c.inject(".bp-cover-image-status"),bp.CoverImage.deleteView()})},removeWarning:function(){_.isNull(this.warning)||this.warning.remove()},displayWarning:function(a){this.removeWarning(),this.warning=new bp.Views.uploaderWarning({value:a}),this.warning.inject(".bp-cover-image-status")}},bp.Views.coverImageUploadProgress=bp.Views.uploaderStatus.extend({className:"files",initialize:function(){bp.Views.uploaderStatus.prototype.initialize.apply(this,arguments),this.collection.on("change:url",this.uploadResult,this)},uploadResult:function(a){var c,d;_.isUndefined(a.get("url"))||(0===a.get("feedback_code")?(c=BP_Uploader.strings.cover_image_warnings.dimensions,d="warning"):(c=BP_Uploader.strings.feedback_messages[a.get("feedback_code")],d="success"),this.views.set(".bp-uploader-progress",new bp.Views.CoverImageStatus({value:c,type:d})),b("#header-cover-image").css({"background-image":"url( "+a.get("url")+" )"}),bp.CoverImage.deleteView(),bp.CoverImage.Attachment.set(_.extend(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,["object","item_id"]),{url:a.get("url"),action:"uploaded"})))}}),bp.Views.CoverImageStatus=bp.View.extend({tagName:"p",className:"updated",id:"bp-cover-image-feedback",initialize:function(){this.el.className+=" "+this.options.type,this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.DeleteCoverImage=bp.View.extend({tagName:"div",id:"bp-delete-cover-image-container",template:bp.template("bp-cover-image-delete"),events:{"click #bp-delete-cover-image":"deleteCoverImage"},deleteCoverImage:function(a){a.preventDefault(),bp.CoverImage.deleteCoverImage(this.model)}}),bp.CoverImage.start())}(bp,jQuery);
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
window.bp=window.bp||{},function(a,b){"undefined"!=typeof BP_Uploader&&(bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.CoverImage={start:function(){this.views=new Backbone.Collection,this.warning=null,this.Attachment=new Backbone.Model,this.uploaderView(),this.displayWarning(BP_Uploader.strings.cover_image_warnings.dimensions),!0===BP_Uploader.settings.defaults.multipart_params.bp_params.has_cover_image&&this.deleteView()},uploaderView:function(){bp.Uploader.filesQueue.on("add",this.uploadProgress,this);var a=new bp.Views.Uploader;this.views.add({id:"upload",view:a}),a.inject(".bp-cover-image")},uploadProgress:function(){var a=new bp.Views.coverImageUploadProgress({collection:bp.Uploader.filesQueue});_.isUndefined(this.views.get("status"))?this.views.add({id:"status",view:a}):this.views.set({id:"status",view:a}),a.inject(".bp-cover-image-status")},deleteView:function(){var a=new Backbone.Model(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,["object","item_id","nonces"]));if(_.isUndefined(this.views.get("delete"))){var b=new bp.Views.DeleteCoverImage({model:a});this.views.add({id:"delete",view:b}),b.inject(".bp-cover-image-manage")}},deleteCoverImage:function(a){var c,d=this;_.isUndefined(this.views.get("delete"))||(c=this.views.get("delete"),c.get("view").remove(),this.views.remove({id:"delete",view:c})),bp.ajax.post("bp_cover_image_delete",{json:!0,item_id:a.get("item_id"),object:a.get("object"),nonce:a.get("nonces").remove}).done(function(c){var e=new bp.Views.CoverImageStatus({value:BP_Uploader.strings.feedback_messages[c.feedback_code],type:"success"});d.views.add({id:"status",view:e}),e.inject(".bp-cover-image-status"),""===c.reset_url?b("#header-cover-image").css({"background-image":"none"}):b("#header-cover-image").css({"background-image":"url( "+c.reset_url+" )"}),BP_Uploader.settings.defaults.multipart_params.bp_params.has_cover_image=!1,d.Attachment.set(_.extend(_.pick(a.attributes,["object","item_id"]),{url:c.reset_url,action:"deleted"}))}).fail(function(a){var b=BP_Uploader.strings.default_error;_.isUndefined(a)||(b=BP_Uploader.strings.feedback_messages[a.feedback_code]);var c=new bp.Views.CoverImageStatus({value:b,type:"error"});d.views.add({id:"status",view:c}),c.inject(".bp-cover-image-status"),bp.CoverImage.deleteView()})},removeWarning:function(){_.isNull(this.warning)||this.warning.remove()},displayWarning:function(a){this.removeWarning(),this.warning=new bp.Views.uploaderWarning({value:a}),this.warning.inject(".bp-cover-image-status")}},bp.Views.coverImageUploadProgress=bp.Views.uploaderStatus.extend({className:"files",initialize:function(){bp.Views.uploaderStatus.prototype.initialize.apply(this,arguments),this.collection.on("change:url",this.uploadResult,this)},uploadResult:function(a){var c,d;_.isUndefined(a.get("url"))||(0===a.get("feedback_code")?(c=BP_Uploader.strings.cover_image_warnings.dimensions,d="warning"):(c=BP_Uploader.strings.feedback_messages[a.get("feedback_code")],d="success"),this.views.set(".bp-uploader-progress",new bp.Views.CoverImageStatus({value:c,type:d})),b("#header-cover-image").css({"background-image":"url( "+a.get("url")+" )"}),bp.CoverImage.deleteView(),bp.CoverImage.Attachment.set(_.extend(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,["object","item_id"]),{url:a.get("url"),action:"uploaded"})))}}),bp.Views.CoverImageStatus=bp.View.extend({tagName:"p",className:"updated",id:"bp-cover-image-feedback",initialize:function(){this.el.className+=" "+this.options.type,this.value=this.options.value},render:function(){return this.$el.html(this.value),this}}),bp.Views.DeleteCoverImage=bp.View.extend({tagName:"div",id:"bp-delete-cover-image-container",template:bp.template("bp-cover-image-delete"),events:{"click #bp-delete-cover-image":"deleteCoverImage"},deleteCoverImage:function(a){a.preventDefault(),bp.CoverImage.deleteCoverImage(this.model)}}),bp.CoverImage.start())}(bp,jQuery);
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}});
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(a){return h.raw?a:encodeURIComponent(a)}function c(a){return h.raw?a:decodeURIComponent(a)}function d(a){return b(h.json?JSON.stringify(a):String(a))}function e(a){0===a.indexOf('"')&&(a=a.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return a=decodeURIComponent(a.replace(g," ")),h.json?JSON.parse(a):a}catch(b){}}function f(b,c){var d=h.raw?b:e(b);return a.isFunction(c)?c(d):d}var g=/\+/g,h=a.cookie=function(e,g,i){if(void 0!==g&&!a.isFunction(g)){if(i=a.extend({},h.defaults,i),"number"==typeof i.expires){var j=i.expires,k=i.expires=new Date;k.setTime(+k+864e5*j)}return document.cookie=[b(e),"=",d(g),i.expires?"; expires="+i.expires.toUTCString():"",i.path?"; path="+i.path:"",i.domain?"; domain="+i.domain:"",i.secure?"; secure":""].join("")}for(var l=e?void 0:{},m=document.cookie?document.cookie.split("; "):[],n=0,o=m.length;o>n;n++){var p=m[n].split("="),q=c(p.shift()),r=p.join("=");if(e&&e===q){l=f(r,g);break}e||void 0===(r=f(r))||(l[q]=r)}return l};h.defaults={},a.removeCookie=function(b,c){return void 0===a.cookie(b)?!1:(a.cookie(b,"",a.extend({},c,{expires:-1})),!a.cookie(b))}});
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
function bp_get_querystring(a){var b=location.search.split(a+"=")[1];return b?decodeURIComponent(b.split("&")[0]):null}
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
function bp_get_querystring(a){var b=location.search.split(a+"=")[1];return b?decodeURIComponent(b.split("&")[0]):null}
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(b){return a.isFunction(b)||"object"==typeof b?b:{top:b,left:b}}var c=a.scrollTo=function(b,c,d){return a(window).scrollTo(b,c,d)};return c.defaults={axis:"xy",duration:parseFloat(a.fn.jquery)>=1.3?0:1,limit:!0},c.window=function(){return a(window)._scrollable()},a.fn._scrollable=function(){return this.map(function(){var b=this,c=!b.nodeName||-1!==a.inArray(b.nodeName.toLowerCase(),["iframe","#document","html","body"]);if(!c)return b;var d=(b.contentWindow||b).document||b.ownerDocument||b;return/webkit/i.test(navigator.userAgent)||"BackCompat"===d.compatMode?d.body:d.documentElement})},a.fn.scrollTo=function(d,e,f){return"object"==typeof e&&(f=e,e=0),"function"==typeof f&&(f={onAfter:f}),"max"===d&&(d=9e9),f=a.extend({},c.defaults,f),e=e||f.duration,f.queue=f.queue&&f.axis.length>1,f.queue&&(e/=2),f.offset=b(f.offset),f.over=b(f.over),this._scrollable().each(function(){function g(a){j.animate(l,e,f.easing,a&&function(){a.call(this,k,f)})}if(null!==d){var h,i=this,j=a(i),k=d,l={},m=j.is("html,body");switch(typeof k){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(k)){k=b(k);break}if(k=m?a(k):a(k,this),!k.length)return;case"object":(k.is||k.style)&&(h=(k=a(k)).offset())}var n=a.isFunction(f.offset)&&f.offset(i,k)||f.offset;a.each(f.axis.split(""),function(a,b){var d="x"===b?"Left":"Top",e=d.toLowerCase(),o="scroll"+d,p=i[o],q=c.max(i,b);if(h)l[o]=h[e]+(m?0:p-j.offset()[e]),f.margin&&(l[o]-=parseInt(k.css("margin"+d))||0,l[o]-=parseInt(k.css("border"+d+"Width"))||0),l[o]+=n[e]||0,f.over[e]&&(l[o]+=k["x"===b?"width":"height"]()*f.over[e]);else{var r=k[e];l[o]=r.slice&&"%"===r.slice(-1)?parseFloat(r)/100*q:r}f.limit&&/^\d+$/.test(l[o])&&(l[o]=l[o]<=0?0:Math.min(l[o],q)),!a&&f.queue&&(p!==l[o]&&g(f.onAfterFirst),delete l[o])}),g(f.onAfter)}}).end()},c.max=function(b,c){var d="x"===c?"Width":"Height",e="scroll"+d;if(!a(b).is("html,body"))return b[e]-a(b)[d.toLowerCase()]();var f="client"+d,g=b.ownerDocument.documentElement,h=b.ownerDocument.body;return Math.max(g[e],h[e])-Math.min(g[f],h[f])},c});
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
!function(a){"function"==typeof define&&define.amd?define(["jquery"],a):a("object"==typeof exports?require("jquery"):jQuery)}(function(a){function b(b){return a.isFunction(b)||"object"==typeof b?b:{top:b,left:b}}var c=a.scrollTo=function(b,c,d){return a(window).scrollTo(b,c,d)};return c.defaults={axis:"xy",duration:parseFloat(a.fn.jquery)>=1.3?0:1,limit:!0},c.window=function(){return a(window)._scrollable()},a.fn._scrollable=function(){return this.map(function(){var b=this,c=!b.nodeName||-1!==a.inArray(b.nodeName.toLowerCase(),["iframe","#document","html","body"]);if(!c)return b;var d=(b.contentWindow||b).document||b.ownerDocument||b;return/webkit/i.test(navigator.userAgent)||"BackCompat"===d.compatMode?d.body:d.documentElement})},a.fn.scrollTo=function(d,e,f){return"object"==typeof e&&(f=e,e=0),"function"==typeof f&&(f={onAfter:f}),"max"===d&&(d=9e9),f=a.extend({},c.defaults,f),e=e||f.duration,f.queue=f.queue&&f.axis.length>1,f.queue&&(e/=2),f.offset=b(f.offset),f.over=b(f.over),this._scrollable().each(function(){function g(a){j.animate(l,e,f.easing,a&&function(){a.call(this,k,f)})}if(null!==d){var h,i=this,j=a(i),k=d,l={},m=j.is("html,body");switch(typeof k){case"number":case"string":if(/^([+-]=?)?\d+(\.\d+)?(px|%)?$/.test(k)){k=b(k);break}if(k=m?a(k):a(k,this),!k.length)return;case"object":(k.is||k.style)&&(h=(k=a(k)).offset())}var n=a.isFunction(f.offset)&&f.offset(i,k)||f.offset;a.each(f.axis.split(""),function(a,b){var d="x"===b?"Left":"Top",e=d.toLowerCase(),o="scroll"+d,p=i[o],q=c.max(i,b);if(h)l[o]=h[e]+(m?0:p-j.offset()[e]),f.margin&&(l[o]-=parseInt(k.css("margin"+d))||0,l[o]-=parseInt(k.css("border"+d+"Width"))||0),l[o]+=n[e]||0,f.over[e]&&(l[o]+=k["x"===b?"width":"height"]()*f.over[e]);else{var r=k[e];l[o]=r.slice&&"%"===r.slice(-1)?parseFloat(r)/100*q:r}f.limit&&/^\d+$/.test(l[o])&&(l[o]=l[o]<=0?0:Math.min(l[o],q)),!a&&f.queue&&(p!==l[o]&&g(f.onAfterFirst),delete l[o])}),g(f.onAfter)}}).end()},c.max=function(b,c){var d="x"===c?"Width":"Height",e="scroll"+d;if(!a(b).is("html,body"))return b[e]-a(b)[d.toLowerCase()]();var f="client"+d,g=b.ownerDocument.documentElement,h=b.ownerDocument.body;return Math.max(g[e],h[e])-Math.min(g[f],h[f])},c});
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(c){return a.returnExportsGlobal=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){var b,c,d,e,f,g,h,i=[].slice;c=function(){function b(b){this.current_flag=null,this.controllers={},this.alias_maps={},this.$inputor=a(b),this.setIframe(),this.listen()}return b.prototype.createContainer=function(b){return 0===(this.$el=a("#atwho-container",b)).length?a(b.body).append(this.$el=a("<div id='atwho-container'></div>")):void 0},b.prototype.setIframe=function(a,b){var c;return null==b&&(b=!1),a?(this.window=a.contentWindow,this.document=a.contentDocument||this.window.document,this.iframe=a):(this.document=document,this.window=window,this.iframe=null),(this.iframeStandalone=b)?(null!=(c=this.$el)&&c.remove(),this.createContainer(this.document)):this.createContainer(document)},b.prototype.controller=function(a){var b,c,d,e;if(this.alias_maps[a])c=this.controllers[this.alias_maps[a]];else{e=this.controllers;for(d in e)if(b=e[d],d===a){c=b;break}}return c?c:this.controllers[this.current_flag]},b.prototype.set_context_for=function(a){return this.current_flag=a,this},b.prototype.reg=function(a,b){var c,e;return c=(e=this.controllers)[a]||(e[a]=new d(this,a)),b.alias&&(this.alias_maps[b.alias]=a),c.init(b),this},b.prototype.listen=function(){return this.$inputor.on("keyup.atwhoInner",function(a){return function(b){return a.on_keyup(b)}}(this)).on("keydown.atwhoInner",function(a){return function(b){return a.on_keydown(b)}}(this)).on("scroll.atwhoInner",function(a){return function(b){var c;return null!=(c=a.controller())?c.view.hide(b):void 0}}(this)).on("blur.atwhoInner",function(a){return function(b){var c;return(c=a.controller())?c.view.hide(b,c.get_opt("display_timeout")):void 0}}(this)).on("click.atwhoInner",function(a){return function(b){return a.dispatch()}}(this))},b.prototype.shutdown=function(){var a,b,c;c=this.controllers;for(b in c)a=c[b],a.destroy(),delete this.controllers[b];return this.$inputor.off(".atwhoInner"),this.$el.remove()},b.prototype.dispatch=function(){return a.map(this.controllers,function(a){return function(b){var c;return(c=b.get_opt("delay"))?(clearTimeout(a.delayedCallback),a.delayedCallback=setTimeout(function(){return b.look_up()?a.set_context_for(b.at):void 0},c)):b.look_up()?a.set_context_for(b.at):void 0}}(this))},b.prototype.on_keyup=function(b){var c;switch(b.keyCode){case f.ESC:b.preventDefault(),null!=(c=this.controller())&&c.view.hide();break;case f.DOWN:case f.UP:case f.CTRL:a.noop();break;case f.P:case f.N:b.ctrlKey||this.dispatch();break;default:this.dispatch()}},b.prototype.on_keydown=function(b){var c,d;if(c=null!=(d=this.controller())?d.view:void 0,c&&c.visible())switch(b.keyCode){case f.ESC:b.preventDefault(),c.hide(b);break;case f.UP:b.preventDefault(),c.prev();break;case f.DOWN:b.preventDefault(),c.next();break;case f.P:if(!b.ctrlKey)return;b.preventDefault(),c.prev();break;case f.N:if(!b.ctrlKey)return;b.preventDefault(),c.next();break;case f.TAB:case f.ENTER:if(!c.visible())return;b.preventDefault(),c.choose(b);break;default:a.noop()}},b}(),d=function(){function b(b,c){this.app=b,this.at=c,this.$inputor=this.app.$inputor,this.id=this.$inputor[0].id||this.uid(),this.setting=null,this.query=null,this.pos=0,this.cur_rect=null,this.range=null,0===(this.$el=a("#atwho-ground-"+this.id,this.app.$el)).length&&this.app.$el.append(this.$el=a("<div id='atwho-ground-"+this.id+"'></div>")),this.model=new g(this),this.view=new h(this)}return b.prototype.uid=function(){return(Math.random().toString(16)+"000000000").substr(2,8)+(new Date).getTime()},b.prototype.init=function(b){return this.setting=a.extend({},this.setting||a.fn.atwho["default"],b),this.view.init(),this.model.reload(this.setting.data)},b.prototype.destroy=function(){return this.trigger("beforeDestroy"),this.model.destroy(),this.view.destroy(),this.$el.remove()},b.prototype.call_default=function(){var b,c,d;d=arguments[0],b=2<=arguments.length?i.call(arguments,1):[];try{return e[d].apply(this,b)}catch(f){return c=f,a.error(""+c+" Or maybe At.js doesn't have function "+d)}},b.prototype.trigger=function(a,b){var c,d;return null==b&&(b=[]),b.push(this),c=this.get_opt("alias"),d=c?""+a+"-"+c+".atwho":""+a+".atwho",this.$inputor.trigger(d,b)},b.prototype.callbacks=function(a){return this.get_opt("callbacks")[a]||e[a]},b.prototype.get_opt=function(a,b){var c;try{return this.setting[a]}catch(d){return c=d,null}},b.prototype.content=function(){var a;if(this.$inputor.is("textarea, input"))return this.$inputor.val();if(a=this.mark_range())return(a.startContainer.textContent||"").slice(0,a.startOffset)},b.prototype.catch_query=function(){var a,b,c,d,e,f;return b=this.content(),a=this.$inputor.caret("pos",{iframe:this.app.iframe}),f=b.slice(0,a),d=this.callbacks("matcher").call(this,this.at,f,this.get_opt("start_with_space")),"string"==typeof d&&d.length<=this.get_opt("max_len",20)?(e=a-d.length,c=e+d.length,this.pos=e,d={text:d,head_pos:e,end_pos:c},this.trigger("matched",[this.at,d.text])):(d=null,this.view.hide()),this.query=d},b.prototype.rect=function(){var b,c,d;if(b=this.$inputor.caret("offset",this.pos-1,{iframe:this.app.iframe}))return this.app.iframe&&!this.app.iframeStandalone&&(c=a(this.app.iframe).offset(),b.left+=c.left,b.top+=c.top),this.$inputor.is("[contentEditable]")&&(b=this.cur_rect||(this.cur_rect=b)),d=this.app.document.selection?0:2,{left:b.left,top:b.top,bottom:b.top+b.height+d}},b.prototype.reset_rect=function(){return this.$inputor.is("[contentEditable]")?this.cur_rect=null:void 0},b.prototype.mark_range=function(){var a;if(this.$inputor.is("[contentEditable]"))return this.app.window.getSelection&&(a=this.app.window.getSelection()).rangeCount>0?this.range=a.getRangeAt(0):this.app.document.selection?this.ie8_range=this.app.document.selection.createRange():void 0},b.prototype.insert_content_for=function(b){var c,d,e;return d=b.data("value"),e=this.get_opt("insert_tpl"),this.$inputor.is("textarea, input")||!e?d:(c=a.extend({},b.data("item-data"),{"atwho-data-value":d,"atwho-at":this.at}),this.callbacks("tpl_eval").call(this,e,c))},b.prototype.insert=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o;if(d=this.$inputor,l=this.callbacks("inserting_wrapper").call(this,d,b,this.get_opt("suffix")),d.is("textarea, input"))i=d.val(),j=i.slice(0,Math.max(this.query.head_pos-this.at.length,0)),k=""+j+l+i.slice(this.query.end_pos||0),d.val(k),d.caret("pos",j.length+l.length,{iframe:this.app.iframe});else if(g=this.range){for(f=g.startOffset-(this.query.end_pos-this.query.head_pos)-this.at.length,g.setStart(g.endContainer,Math.max(f,0)),g.setEnd(g.endContainer,g.endOffset),g.deleteContents(),o=a(l,this.app.document),m=0,n=o.length;n>m;m++)e=o[m],g.insertNode(e),g.setEndAfter(e),g.collapse(!1);h=this.app.window.getSelection(),h.removeAllRanges(),h.addRange(g)}else(g=this.ie8_range)&&(g.moveStart("character",this.query.end_pos-this.query.head_pos-this.at.length),g.pasteHTML(l),g.collapse(!1),g.select());return d.is(":focus")||d.focus(),d.change()},b.prototype.render_view=function(a){var b;return b=this.get_opt("search_key"),a=this.callbacks("sorter").call(this,this.query.text,a.slice(0,1001),b),this.view.render(a.slice(0,this.get_opt("limit")))},b.prototype.look_up=function(){var b,c;if(b=this.catch_query())return c=function(a){return a&&a.length>0?this.render_view(a):this.view.hide()},this.model.query(b.text,a.proxy(c,this)),b},b}(),g=function(){function b(a){this.context=a,this.at=this.context.at,this.storage=this.context.$inputor}return b.prototype.destroy=function(){return this.storage.data(this.at,null)},b.prototype.saved=function(){return this.fetch()>0},b.prototype.query=function(a,b){var c,d,e;return c=this.fetch(),d=this.context.get_opt("search_key"),c=this.context.callbacks("filter").call(this.context,a,c,d)||[],e=this.context.callbacks("remote_filter"),c.length>0||!e&&0===c.length?b(c):e.call(this.context,a,b)},b.prototype.fetch=function(){return this.storage.data(this.at)||[]},b.prototype.save=function(a){return this.storage.data(this.at,this.context.callbacks("before_save").call(this.context,a||[]))},b.prototype.load=function(a){return!this.saved()&&a?this._load(a):void 0},b.prototype.reload=function(a){return this._load(a)},b.prototype._load=function(b){return"string"==typeof b?a.ajax(b,{dataType:"json"}).done(function(a){return function(b){return a.save(b)}}(this)):this.save(b)},b}(),h=function(){function b(b){this.context=b,this.$el=a("<div class='atwho-view'><ul class='atwho-view-ul'></ul></div>"),this.timeout_id=null,this.context.$el.append(this.$el),this.bind_event()}return b.prototype.init=function(){var a;return a=this.context.get_opt("alias")||this.context.at.charCodeAt(0),this.$el.attr({id:"at-view-"+a})},b.prototype.destroy=function(){return this.$el.remove()},b.prototype.bind_event=function(){var b;return b=this.$el.find("ul"),b.on("mouseenter.atwho-view","li",function(c){return b.find(".cur").removeClass("cur"),a(c.currentTarget).addClass("cur")}).on("click.atwho-view","li",function(c){return function(d){return b.find(".cur").removeClass("cur"),a(d.currentTarget).addClass("cur"),c.choose(d),d.preventDefault()}}(this))},b.prototype.visible=function(){return this.$el.is(":visible")},b.prototype.choose=function(a){var b,c;return(b=this.$el.find(".cur")).length&&(c=this.context.insert_content_for(b),this.context.insert(this.context.callbacks("before_insert").call(this.context,c,b),b),this.context.trigger("inserted",[b,a]),this.hide(a)),this.context.get_opt("hide_without_suffix")?this.stop_showing=!0:void 0},b.prototype.reposition=function(b){var c,d,e,f;return f=this.context.app.iframeStandalone?this.context.app.window:window,b.bottom+this.$el.height()-a(f).scrollTop()>a(f).height()&&(b.bottom=b.top-this.$el.height()),b.left>(d=a(f).width()-this.$el.width()-5)&&(b.left=d),c={left:b.left,top:b.bottom},null!=(e=this.context.callbacks("before_reposition"))&&e.call(this.context,c),this.$el.offset(c),this.context.trigger("reposition",[c])},b.prototype.next=function(){var a,b;return a=this.$el.find(".cur").removeClass("cur"),b=a.next(),b.length||(b=this.$el.find("li:first")),b.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,a.innerHeight()*(b.index()+2)-this.$el.height())},150)},b.prototype.prev=function(){var a,b;return a=this.$el.find(".cur").removeClass("cur"),b=a.prev(),b.length||(b=this.$el.find("li:last")),b.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,a.innerHeight()*(b.index()+2)-this.$el.height())},150)},b.prototype.show=function(){var a;return this.stop_showing?void(this.stop_showing=!1):(this.context.mark_range(),this.visible()||(this.$el.show(),this.$el.scrollTop(0),this.context.trigger("shown")),(a=this.context.rect())?this.reposition(a):void 0)},b.prototype.hide=function(a,b){var c;if(this.visible())return isNaN(b)?(this.context.reset_rect(),this.$el.hide(),this.context.trigger("hidden",[a])):(c=function(a){return function(){return a.hide()}}(this),clearTimeout(this.timeout_id),this.timeout_id=setTimeout(c,b))},b.prototype.render=function(b){var c,d,e,f,g,h,i;if(!(a.isArray(b)&&b.length>0))return void this.hide();for(this.$el.find("ul").empty(),d=this.$el.find("ul"),g=this.context.get_opt("tpl"),h=0,i=b.length;i>h;h++)e=b[h],e=a.extend({},e,{"atwho-at":this.context.at}),f=this.context.callbacks("tpl_eval").call(this.context,g,e),c=a(this.context.callbacks("highlighter").call(this.context,f,this.context.query.text)),c.data("item-data",e),d.append(c);return this.show(),this.context.get_opt("highlight_first")?d.find("li:first").addClass("cur"):void 0},b}(),f={DOWN:40,UP:38,ESC:27,TAB:9,ENTER:13,CTRL:17,P:80,N:78},e={before_save:function(b){var c,d,e,f;if(!a.isArray(b))return b;for(f=[],d=0,e=b.length;e>d;d++)c=b[d],a.isPlainObject(c)?f.push(c):f.push({name:c});return f},matcher:function(a,b,c){var d,e,f,g;return a=a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),c&&(a="(?:^|\\s)"+a),f=decodeURI("%C3%80"),g=decodeURI("%C3%BF"),e=new RegExp(""+a+"([A-Za-z"+f+"-"+g+"0-9_+-]*)$|"+a+"([^\\x00-\\xff]*)$","gi"),d=e.exec(b),d?d[2]||d[1]:null},filter:function(a,b,c){var d,e,f,g;for(g=[],e=0,f=b.length;f>e;e++)d=b[e],~new String(d[c]).toLowerCase().indexOf(a.toLowerCase())&&g.push(d);return g},remote_filter:null,sorter:function(a,b,c){var d,e,f,g;if(!a)return b;for(g=[],e=0,f=b.length;f>e;e++)d=b[e],d.atwho_order=new String(d[c]).toLowerCase().indexOf(a.toLowerCase()),d.atwho_order>-1&&g.push(d);return g.sort(function(a,b){return a.atwho_order-b.atwho_order})},tpl_eval:function(a,b){var c;try{return a.replace(/\$\{([^\}]*)\}/g,function(a,c,d){return b[c]})}catch(d){return c=d,""}},highlighter:function(a,b){var c;return b?(c=new RegExp(">\\s*(\\w*?)("+b.replace("+","\\+")+")(\\w*)\\s*<","ig"),a.replace(c,function(a,b,c,d){return"> "+b+"<strong>"+c+"</strong>"+d+" <"})):a},before_insert:function(a,b){return a},inserting_wrapper:function(a,b,c){var d;return c=""===c?c:c||" ",a.is("textarea, input")?""+b+c:"true"===a.attr("contentEditable")?(c=" "===c?" ":c,/firefox/i.test(navigator.userAgent)?d="<span>"+b+c+"</span>":(c="<span contenteditable='false'>"+c+"</span>",d="<span contenteditable='false'>"+b+c+"</span>"),this.app.document.selection&&(d="<span contenteditable='true'>"+b+"</span>"),d+"<span></span>"):void 0}},b={load:function(a,b){var c;return(c=this.controller(a))?c.model.load(b):void 0},setIframe:function(a,b){return this.setIframe(a,b),null},run:function(){return this.dispatch()},destroy:function(){return this.shutdown(),this.$inputor.data("atwho",null)}},a.fn.atwho=function(d){var e,f;return f=arguments,e=null,this.filter('textarea, input, [contenteditable=""], [contenteditable=true]').each(function(){var g,h;return(h=(g=a(this)).data("atwho"))||g.data("atwho",h=new c(this)),"object"!=typeof d&&d?b[d]&&h?e=b[d].apply(h,Array.prototype.slice.call(f,1)):a.error("Method "+d+" does not exist on jQuery.caret"):h.reg(d.at,d)}),e||this},a.fn.atwho["default"]={at:void 0,alias:void 0,data:null,tpl:"<li data-value='${atwho-at}${name}'>${name}</li>",insert_tpl:"<span id='${id}'>${atwho-data-value}</span>",callbacks:e,search_key:"name",suffix:void 0,hide_without_suffix:!1,start_with_space:!0,highlight_first:!0,limit:5,max_len:20,display_timeout:300,delay:null}});
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(c){return a.returnExportsGlobal=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){var b,c,d,e,f,g,h,i=[].slice;c=function(){function b(b){this.current_flag=null,this.controllers={},this.alias_maps={},this.$inputor=a(b),this.setIframe(),this.listen()}return b.prototype.createContainer=function(b){return 0===(this.$el=a("#atwho-container",b)).length?a(b.body).append(this.$el=a("<div id='atwho-container'></div>")):void 0},b.prototype.setIframe=function(a,b){var c;return null==b&&(b=!1),a?(this.window=a.contentWindow,this.document=a.contentDocument||this.window.document,this.iframe=a):(this.document=document,this.window=window,this.iframe=null),(this.iframeStandalone=b)?(null!=(c=this.$el)&&c.remove(),this.createContainer(this.document)):this.createContainer(document)},b.prototype.controller=function(a){var b,c,d,e;if(this.alias_maps[a])c=this.controllers[this.alias_maps[a]];else{e=this.controllers;for(d in e)if(b=e[d],d===a){c=b;break}}return c?c:this.controllers[this.current_flag]},b.prototype.set_context_for=function(a){return this.current_flag=a,this},b.prototype.reg=function(a,b){var c,e;return c=(e=this.controllers)[a]||(e[a]=new d(this,a)),b.alias&&(this.alias_maps[b.alias]=a),c.init(b),this},b.prototype.listen=function(){return this.$inputor.on("keyup.atwhoInner",function(a){return function(b){return a.on_keyup(b)}}(this)).on("keydown.atwhoInner",function(a){return function(b){return a.on_keydown(b)}}(this)).on("scroll.atwhoInner",function(a){return function(b){var c;return null!=(c=a.controller())?c.view.hide(b):void 0}}(this)).on("blur.atwhoInner",function(a){return function(b){var c;return(c=a.controller())?c.view.hide(b,c.get_opt("display_timeout")):void 0}}(this)).on("click.atwhoInner",function(a){return function(b){return a.dispatch()}}(this))},b.prototype.shutdown=function(){var a,b,c;c=this.controllers;for(b in c)a=c[b],a.destroy(),delete this.controllers[b];return this.$inputor.off(".atwhoInner"),this.$el.remove()},b.prototype.dispatch=function(){return a.map(this.controllers,function(a){return function(b){var c;return(c=b.get_opt("delay"))?(clearTimeout(a.delayedCallback),a.delayedCallback=setTimeout(function(){return b.look_up()?a.set_context_for(b.at):void 0},c)):b.look_up()?a.set_context_for(b.at):void 0}}(this))},b.prototype.on_keyup=function(b){var c;switch(b.keyCode){case f.ESC:b.preventDefault(),null!=(c=this.controller())&&c.view.hide();break;case f.DOWN:case f.UP:case f.CTRL:a.noop();break;case f.P:case f.N:b.ctrlKey||this.dispatch();break;default:this.dispatch()}},b.prototype.on_keydown=function(b){var c,d;if(c=null!=(d=this.controller())?d.view:void 0,c&&c.visible())switch(b.keyCode){case f.ESC:b.preventDefault(),c.hide(b);break;case f.UP:b.preventDefault(),c.prev();break;case f.DOWN:b.preventDefault(),c.next();break;case f.P:if(!b.ctrlKey)return;b.preventDefault(),c.prev();break;case f.N:if(!b.ctrlKey)return;b.preventDefault(),c.next();break;case f.TAB:case f.ENTER:if(!c.visible())return;b.preventDefault(),c.choose(b);break;default:a.noop()}},b}(),d=function(){function b(b,c){this.app=b,this.at=c,this.$inputor=this.app.$inputor,this.id=this.$inputor[0].id||this.uid(),this.setting=null,this.query=null,this.pos=0,this.cur_rect=null,this.range=null,0===(this.$el=a("#atwho-ground-"+this.id,this.app.$el)).length&&this.app.$el.append(this.$el=a("<div id='atwho-ground-"+this.id+"'></div>")),this.model=new g(this),this.view=new h(this)}return b.prototype.uid=function(){return(Math.random().toString(16)+"000000000").substr(2,8)+(new Date).getTime()},b.prototype.init=function(b){return this.setting=a.extend({},this.setting||a.fn.atwho["default"],b),this.view.init(),this.model.reload(this.setting.data)},b.prototype.destroy=function(){return this.trigger("beforeDestroy"),this.model.destroy(),this.view.destroy(),this.$el.remove()},b.prototype.call_default=function(){var b,c,d;d=arguments[0],b=2<=arguments.length?i.call(arguments,1):[];try{return e[d].apply(this,b)}catch(f){return c=f,a.error(""+c+" Or maybe At.js doesn't have function "+d)}},b.prototype.trigger=function(a,b){var c,d;return null==b&&(b=[]),b.push(this),c=this.get_opt("alias"),d=c?""+a+"-"+c+".atwho":""+a+".atwho",this.$inputor.trigger(d,b)},b.prototype.callbacks=function(a){return this.get_opt("callbacks")[a]||e[a]},b.prototype.get_opt=function(a,b){var c;try{return this.setting[a]}catch(d){return c=d,null}},b.prototype.content=function(){var a;if(this.$inputor.is("textarea, input"))return this.$inputor.val();if(a=this.mark_range())return(a.startContainer.textContent||"").slice(0,a.startOffset)},b.prototype.catch_query=function(){var a,b,c,d,e,f;return b=this.content(),a=this.$inputor.caret("pos",{iframe:this.app.iframe}),f=b.slice(0,a),d=this.callbacks("matcher").call(this,this.at,f,this.get_opt("start_with_space")),"string"==typeof d&&d.length<=this.get_opt("max_len",20)?(e=a-d.length,c=e+d.length,this.pos=e,d={text:d,head_pos:e,end_pos:c},this.trigger("matched",[this.at,d.text])):(d=null,this.view.hide()),this.query=d},b.prototype.rect=function(){var b,c,d;if(b=this.$inputor.caret("offset",this.pos-1,{iframe:this.app.iframe}))return this.app.iframe&&!this.app.iframeStandalone&&(c=a(this.app.iframe).offset(),b.left+=c.left,b.top+=c.top),this.$inputor.is("[contentEditable]")&&(b=this.cur_rect||(this.cur_rect=b)),d=this.app.document.selection?0:2,{left:b.left,top:b.top,bottom:b.top+b.height+d}},b.prototype.reset_rect=function(){return this.$inputor.is("[contentEditable]")?this.cur_rect=null:void 0},b.prototype.mark_range=function(){var a;if(this.$inputor.is("[contentEditable]"))return this.app.window.getSelection&&(a=this.app.window.getSelection()).rangeCount>0?this.range=a.getRangeAt(0):this.app.document.selection?this.ie8_range=this.app.document.selection.createRange():void 0},b.prototype.insert_content_for=function(b){var c,d,e;return d=b.data("value"),e=this.get_opt("insert_tpl"),this.$inputor.is("textarea, input")||!e?d:(c=a.extend({},b.data("item-data"),{"atwho-data-value":d,"atwho-at":this.at}),this.callbacks("tpl_eval").call(this,e,c))},b.prototype.insert=function(b,c){var d,e,f,g,h,i,j,k,l,m,n,o;if(d=this.$inputor,l=this.callbacks("inserting_wrapper").call(this,d,b,this.get_opt("suffix")),d.is("textarea, input"))i=d.val(),j=i.slice(0,Math.max(this.query.head_pos-this.at.length,0)),k=""+j+l+i.slice(this.query.end_pos||0),d.val(k),d.caret("pos",j.length+l.length,{iframe:this.app.iframe});else if(g=this.range){for(f=g.startOffset-(this.query.end_pos-this.query.head_pos)-this.at.length,g.setStart(g.endContainer,Math.max(f,0)),g.setEnd(g.endContainer,g.endOffset),g.deleteContents(),o=a(l,this.app.document),m=0,n=o.length;n>m;m++)e=o[m],g.insertNode(e),g.setEndAfter(e),g.collapse(!1);h=this.app.window.getSelection(),h.removeAllRanges(),h.addRange(g)}else(g=this.ie8_range)&&(g.moveStart("character",this.query.end_pos-this.query.head_pos-this.at.length),g.pasteHTML(l),g.collapse(!1),g.select());return d.is(":focus")||d.focus(),d.change()},b.prototype.render_view=function(a){var b;return b=this.get_opt("search_key"),a=this.callbacks("sorter").call(this,this.query.text,a.slice(0,1001),b),this.view.render(a.slice(0,this.get_opt("limit")))},b.prototype.look_up=function(){var b,c;if(b=this.catch_query())return c=function(a){return a&&a.length>0?this.render_view(a):this.view.hide()},this.model.query(b.text,a.proxy(c,this)),b},b}(),g=function(){function b(a){this.context=a,this.at=this.context.at,this.storage=this.context.$inputor}return b.prototype.destroy=function(){return this.storage.data(this.at,null)},b.prototype.saved=function(){return this.fetch()>0},b.prototype.query=function(a,b){var c,d,e;return c=this.fetch(),d=this.context.get_opt("search_key"),c=this.context.callbacks("filter").call(this.context,a,c,d)||[],e=this.context.callbacks("remote_filter"),c.length>0||!e&&0===c.length?b(c):e.call(this.context,a,b)},b.prototype.fetch=function(){return this.storage.data(this.at)||[]},b.prototype.save=function(a){return this.storage.data(this.at,this.context.callbacks("before_save").call(this.context,a||[]))},b.prototype.load=function(a){return!this.saved()&&a?this._load(a):void 0},b.prototype.reload=function(a){return this._load(a)},b.prototype._load=function(b){return"string"==typeof b?a.ajax(b,{dataType:"json"}).done(function(a){return function(b){return a.save(b)}}(this)):this.save(b)},b}(),h=function(){function b(b){this.context=b,this.$el=a("<div class='atwho-view'><ul class='atwho-view-ul'></ul></div>"),this.timeout_id=null,this.context.$el.append(this.$el),this.bind_event()}return b.prototype.init=function(){var a;return a=this.context.get_opt("alias")||this.context.at.charCodeAt(0),this.$el.attr({id:"at-view-"+a})},b.prototype.destroy=function(){return this.$el.remove()},b.prototype.bind_event=function(){var b;return b=this.$el.find("ul"),b.on("mouseenter.atwho-view","li",function(c){return b.find(".cur").removeClass("cur"),a(c.currentTarget).addClass("cur")}).on("click.atwho-view","li",function(c){return function(d){return b.find(".cur").removeClass("cur"),a(d.currentTarget).addClass("cur"),c.choose(d),d.preventDefault()}}(this))},b.prototype.visible=function(){return this.$el.is(":visible")},b.prototype.choose=function(a){var b,c;return(b=this.$el.find(".cur")).length&&(c=this.context.insert_content_for(b),this.context.insert(this.context.callbacks("before_insert").call(this.context,c,b),b),this.context.trigger("inserted",[b,a]),this.hide(a)),this.context.get_opt("hide_without_suffix")?this.stop_showing=!0:void 0},b.prototype.reposition=function(b){var c,d,e,f;return f=this.context.app.iframeStandalone?this.context.app.window:window,b.bottom+this.$el.height()-a(f).scrollTop()>a(f).height()&&(b.bottom=b.top-this.$el.height()),b.left>(d=a(f).width()-this.$el.width()-5)&&(b.left=d),c={left:b.left,top:b.bottom},null!=(e=this.context.callbacks("before_reposition"))&&e.call(this.context,c),this.$el.offset(c),this.context.trigger("reposition",[c])},b.prototype.next=function(){var a,b;return a=this.$el.find(".cur").removeClass("cur"),b=a.next(),b.length||(b=this.$el.find("li:first")),b.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,a.innerHeight()*(b.index()+2)-this.$el.height())},150)},b.prototype.prev=function(){var a,b;return a=this.$el.find(".cur").removeClass("cur"),b=a.prev(),b.length||(b=this.$el.find("li:last")),b.addClass("cur"),this.$el.animate({scrollTop:Math.max(0,a.innerHeight()*(b.index()+2)-this.$el.height())},150)},b.prototype.show=function(){var a;return this.stop_showing?void(this.stop_showing=!1):(this.context.mark_range(),this.visible()||(this.$el.show(),this.$el.scrollTop(0),this.context.trigger("shown")),(a=this.context.rect())?this.reposition(a):void 0)},b.prototype.hide=function(a,b){var c;if(this.visible())return isNaN(b)?(this.context.reset_rect(),this.$el.hide(),this.context.trigger("hidden",[a])):(c=function(a){return function(){return a.hide()}}(this),clearTimeout(this.timeout_id),this.timeout_id=setTimeout(c,b))},b.prototype.render=function(b){var c,d,e,f,g,h,i;if(!(a.isArray(b)&&b.length>0))return void this.hide();for(this.$el.find("ul").empty(),d=this.$el.find("ul"),g=this.context.get_opt("tpl"),h=0,i=b.length;i>h;h++)e=b[h],e=a.extend({},e,{"atwho-at":this.context.at}),f=this.context.callbacks("tpl_eval").call(this.context,g,e),c=a(this.context.callbacks("highlighter").call(this.context,f,this.context.query.text)),c.data("item-data",e),d.append(c);return this.show(),this.context.get_opt("highlight_first")?d.find("li:first").addClass("cur"):void 0},b}(),f={DOWN:40,UP:38,ESC:27,TAB:9,ENTER:13,CTRL:17,P:80,N:78},e={before_save:function(b){var c,d,e,f;if(!a.isArray(b))return b;for(f=[],d=0,e=b.length;e>d;d++)c=b[d],a.isPlainObject(c)?f.push(c):f.push({name:c});return f},matcher:function(a,b,c){var d,e,f,g;return a=a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),c&&(a="(?:^|\\s)"+a),f=decodeURI("%C3%80"),g=decodeURI("%C3%BF"),e=new RegExp(""+a+"([A-Za-z"+f+"-"+g+"0-9_+-]*)$|"+a+"([^\\x00-\\xff]*)$","gi"),d=e.exec(b),d?d[2]||d[1]:null},filter:function(a,b,c){var d,e,f,g;for(g=[],e=0,f=b.length;f>e;e++)d=b[e],~new String(d[c]).toLowerCase().indexOf(a.toLowerCase())&&g.push(d);return g},remote_filter:null,sorter:function(a,b,c){var d,e,f,g;if(!a)return b;for(g=[],e=0,f=b.length;f>e;e++)d=b[e],d.atwho_order=new String(d[c]).toLowerCase().indexOf(a.toLowerCase()),d.atwho_order>-1&&g.push(d);return g.sort(function(a,b){return a.atwho_order-b.atwho_order})},tpl_eval:function(a,b){var c;try{return a.replace(/\$\{([^\}]*)\}/g,function(a,c,d){return b[c]})}catch(d){return c=d,""}},highlighter:function(a,b){var c;return b?(c=new RegExp(">\\s*(\\w*?)("+b.replace("+","\\+")+")(\\w*)\\s*<","ig"),a.replace(c,function(a,b,c,d){return"> "+b+"<strong>"+c+"</strong>"+d+" <"})):a},before_insert:function(a,b){return a},inserting_wrapper:function(a,b,c){var d;return c=""===c?c:c||" ",a.is("textarea, input")?""+b+c:"true"===a.attr("contentEditable")?(c=" "===c?" ":c,/firefox/i.test(navigator.userAgent)?d="<span>"+b+c+"</span>":(c="<span contenteditable='false'>"+c+"</span>",d="<span contenteditable='false'>"+b+c+"</span>"),this.app.document.selection&&(d="<span contenteditable='true'>"+b+"</span>"),d+"<span></span>"):void 0}},b={load:function(a,b){var c;return(c=this.controller(a))?c.model.load(b):void 0},setIframe:function(a,b){return this.setIframe(a,b),null},run:function(){return this.dispatch()},destroy:function(){return this.shutdown(),this.$inputor.data("atwho",null)}},a.fn.atwho=function(d){var e,f;return f=arguments,e=null,this.filter('textarea, input, [contenteditable=""], [contenteditable=true]').each(function(){var g,h;return(h=(g=a(this)).data("atwho"))||g.data("atwho",h=new c(this)),"object"!=typeof d&&d?b[d]&&h?e=b[d].apply(h,Array.prototype.slice.call(f,1)):a.error("Method "+d+" does not exist on jQuery.caret"):h.reg(d.at,d)}),e||this},a.fn.atwho["default"]={at:void 0,alias:void 0,data:null,tpl:"<li data-value='${atwho-at}${name}'>${name}</li>",insert_tpl:"<span id='${id}'>${atwho-data-value}</span>",callbacks:e,search_key:"name",suffix:void 0,hide_without_suffix:!1,start_with_space:!0,highlight_first:!0,limit:5,max_len:20,display_timeout:300,delay:null}});
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(c){return a.returnExportsGlobal=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){"use strict";var b,c,d,e,f,g,h,i,j,k,l;k="caret",b=function(){function b(a){this.$inputor=a,this.domInputor=this.$inputor[0]}return b.prototype.setPos=function(a){return this.domInputor},b.prototype.getIEPosition=function(){return this.getPosition()},b.prototype.getPosition=function(){var a,b;return b=this.getOffset(),a=this.$inputor.offset(),b.left-=a.left,b.top-=a.top,b},b.prototype.getOldIEPos=function(){var a,b;return b=h.selection.createRange(),a=h.body.createTextRange(),a.moveToElementText(this.domInputor),a.setEndPoint("EndToEnd",b),a.text.length},b.prototype.getPos=function(){var a,b,c;return(c=this.range())?(a=c.cloneRange(),a.selectNodeContents(this.domInputor),a.setEnd(c.endContainer,c.endOffset),b=a.toString().length,a.detach(),b):h.selection?this.getOldIEPos():void 0},b.prototype.getOldIEOffset=function(){var a,b;return a=h.selection.createRange().duplicate(),a.moveStart("character",-1),b=a.getBoundingClientRect(),{height:b.bottom-b.top,left:b.left,top:b.top}},b.prototype.getOffset=function(b){var c,d,e,f,g;return j.getSelection&&(e=this.range())?(e.endOffset-1>0&&e.endContainer===!this.domInputor&&(c=e.cloneRange(),c.setStart(e.endContainer,e.endOffset-1),c.setEnd(e.endContainer,e.endOffset),f=c.getBoundingClientRect(),d={height:f.height,left:f.left+f.width,top:f.top},c.detach()),d&&0!==(null!=d?d.height:void 0)||(c=e.cloneRange(),g=a(h.createTextNode("|")),c.insertNode(g[0]),c.selectNode(g[0]),f=c.getBoundingClientRect(),d={height:f.height,left:f.left,top:f.top},g.remove(),c.detach())):h.selection&&(d=this.getOldIEOffset()),d&&(d.top+=a(j).scrollTop(),d.left+=a(j).scrollLeft()),d},b.prototype.range=function(){var a;if(j.getSelection)return a=j.getSelection(),a.rangeCount>0?a.getRangeAt(0):null},b}(),c=function(){function b(a){this.$inputor=a,this.domInputor=this.$inputor[0]}return b.prototype.getIEPos=function(){var a,b,c,d,e,f,g;return b=this.domInputor,f=h.selection.createRange(),e=0,f&&f.parentElement()===b&&(d=b.value.replace(/\r\n/g,"\n"),c=d.length,g=b.createTextRange(),g.moveToBookmark(f.getBookmark()),a=b.createTextRange(),a.collapse(!1),e=g.compareEndPoints("StartToEnd",a)>-1?c:-g.moveStart("character",-c)),e},b.prototype.getPos=function(){return h.selection?this.getIEPos():this.domInputor.selectionStart},b.prototype.setPos=function(a){var b,c;return b=this.domInputor,h.selection?(c=b.createTextRange(),c.move("character",a),c.select()):b.setSelectionRange&&b.setSelectionRange(a,a),b},b.prototype.getIEOffset=function(a){var b,c,d,e;return c=this.domInputor.createTextRange(),a||(a=this.getPos()),c.move("character",a),d=c.boundingLeft,e=c.boundingTop,b=c.boundingHeight,{left:d,top:e,height:b}},b.prototype.getOffset=function(b){var c,d,e;return c=this.$inputor,h.selection?(d=this.getIEOffset(b),d.top+=a(j).scrollTop()+c.scrollTop(),d.left+=a(j).scrollLeft()+c.scrollLeft(),d):(d=c.offset(),e=this.getPosition(b),d={left:d.left+e.left-c.scrollLeft(),top:d.top+e.top-c.scrollTop(),height:e.height})},b.prototype.getPosition=function(a){var b,c,e,f,g,h,i;return b=this.$inputor,f=function(a){return a=a.replace(/<|>|`|"|&/g,"?").replace(/\r\n|\r|\n/g,"<br/>"),/firefox/i.test(navigator.userAgent)&&(a=a.replace(/\s/g," ")),a},void 0===a&&(a=this.getPos()),i=b.val().slice(0,a),e=b.val().slice(a),g="<span style='position: relative; display: inline;'>"+f(i)+"</span>",g+="<span id='caret' style='position: relative; display: inline;'>|</span>",g+="<span style='position: relative; display: inline;'>"+f(e)+"</span>",h=new d(b),c=h.create(g).rect()},b.prototype.getIEPosition=function(a){var b,c,d,e,f;return d=this.getIEOffset(a),c=this.$inputor.offset(),e=d.left-c.left,f=d.top-c.top,b=d.height,{left:e,top:f,height:b}},b}(),d=function(){function b(a){this.$inputor=a}return b.prototype.css_attr=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","boxSizing","fontFamily","fontSize","fontWeight","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","outlineWidth","overflow","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textOverflow","textTransform","whiteSpace","wordBreak","wordWrap"],b.prototype.mirrorCss=function(){var b,c=this;return b={position:"absolute",left:-9999,top:0,zIndex:-2e4},"TEXTAREA"===this.$inputor.prop("tagName")&&this.css_attr.push("width"),a.each(this.css_attr,function(a,d){return b[d]=c.$inputor.css(d)}),b},b.prototype.create=function(b){return this.$mirror=a("<div></div>"),this.$mirror.css(this.mirrorCss()),this.$mirror.html(b),this.$inputor.after(this.$mirror),this},b.prototype.rect=function(){var a,b,c;return a=this.$mirror.find("#caret"),b=a.position(),c={left:b.left,top:b.top,height:a.height()},this.$mirror.remove(),c},b}(),e={contentEditable:function(a){return!(!a[0].contentEditable||"true"!==a[0].contentEditable)}},g={pos:function(a){return a||0===a?this.setPos(a):this.getPos()},position:function(a){return h.selection?this.getIEPosition(a):this.getPosition(a)},offset:function(a){var b;return b=this.getOffset(a)}},h=null,j=null,i=null,l=function(a){var b;return(b=null!=a?a.iframe:void 0)?(i=b,j=b.contentWindow,h=b.contentDocument||j.document):(i=void 0,j=window,h=document)},f=function(a){var b;h=a[0].ownerDocument,j=h.defaultView||h.parentWindow;try{return i=j.frameElement}catch(c){b=c}},a.fn.caret=function(d,f,h){var i;return g[d]?(a.isPlainObject(f)?(l(f),f=void 0):l(h),i=e.contentEditable(this)?new b(this):new c(this),g[d].apply(i,[f])):a.error("Method "+d+" does not exist on jQuery.caret")},a.fn.caret.EditableCaret=b,a.fn.caret.InputCaret=c,a.fn.caret.Utils=e,a.fn.caret.apis=g});
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(c){return a.returnExportsGlobal=b(c)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){"use strict";var b,c,d,e,f,g,h,i,j,k,l;k="caret",b=function(){function b(a){this.$inputor=a,this.domInputor=this.$inputor[0]}return b.prototype.setPos=function(a){return this.domInputor},b.prototype.getIEPosition=function(){return this.getPosition()},b.prototype.getPosition=function(){var a,b;return b=this.getOffset(),a=this.$inputor.offset(),b.left-=a.left,b.top-=a.top,b},b.prototype.getOldIEPos=function(){var a,b;return b=h.selection.createRange(),a=h.body.createTextRange(),a.moveToElementText(this.domInputor),a.setEndPoint("EndToEnd",b),a.text.length},b.prototype.getPos=function(){var a,b,c;return(c=this.range())?(a=c.cloneRange(),a.selectNodeContents(this.domInputor),a.setEnd(c.endContainer,c.endOffset),b=a.toString().length,a.detach(),b):h.selection?this.getOldIEPos():void 0},b.prototype.getOldIEOffset=function(){var a,b;return a=h.selection.createRange().duplicate(),a.moveStart("character",-1),b=a.getBoundingClientRect(),{height:b.bottom-b.top,left:b.left,top:b.top}},b.prototype.getOffset=function(b){var c,d,e,f,g;return j.getSelection&&(e=this.range())?(e.endOffset-1>0&&e.endContainer===!this.domInputor&&(c=e.cloneRange(),c.setStart(e.endContainer,e.endOffset-1),c.setEnd(e.endContainer,e.endOffset),f=c.getBoundingClientRect(),d={height:f.height,left:f.left+f.width,top:f.top},c.detach()),d&&0!==(null!=d?d.height:void 0)||(c=e.cloneRange(),g=a(h.createTextNode("|")),c.insertNode(g[0]),c.selectNode(g[0]),f=c.getBoundingClientRect(),d={height:f.height,left:f.left,top:f.top},g.remove(),c.detach())):h.selection&&(d=this.getOldIEOffset()),d&&(d.top+=a(j).scrollTop(),d.left+=a(j).scrollLeft()),d},b.prototype.range=function(){var a;if(j.getSelection)return a=j.getSelection(),a.rangeCount>0?a.getRangeAt(0):null},b}(),c=function(){function b(a){this.$inputor=a,this.domInputor=this.$inputor[0]}return b.prototype.getIEPos=function(){var a,b,c,d,e,f,g;return b=this.domInputor,f=h.selection.createRange(),e=0,f&&f.parentElement()===b&&(d=b.value.replace(/\r\n/g,"\n"),c=d.length,g=b.createTextRange(),g.moveToBookmark(f.getBookmark()),a=b.createTextRange(),a.collapse(!1),e=g.compareEndPoints("StartToEnd",a)>-1?c:-g.moveStart("character",-c)),e},b.prototype.getPos=function(){return h.selection?this.getIEPos():this.domInputor.selectionStart},b.prototype.setPos=function(a){var b,c;return b=this.domInputor,h.selection?(c=b.createTextRange(),c.move("character",a),c.select()):b.setSelectionRange&&b.setSelectionRange(a,a),b},b.prototype.getIEOffset=function(a){var b,c,d,e;return c=this.domInputor.createTextRange(),a||(a=this.getPos()),c.move("character",a),d=c.boundingLeft,e=c.boundingTop,b=c.boundingHeight,{left:d,top:e,height:b}},b.prototype.getOffset=function(b){var c,d,e;return c=this.$inputor,h.selection?(d=this.getIEOffset(b),d.top+=a(j).scrollTop()+c.scrollTop(),d.left+=a(j).scrollLeft()+c.scrollLeft(),d):(d=c.offset(),e=this.getPosition(b),d={left:d.left+e.left-c.scrollLeft(),top:d.top+e.top-c.scrollTop(),height:e.height})},b.prototype.getPosition=function(a){var b,c,e,f,g,h,i;return b=this.$inputor,f=function(a){return a=a.replace(/<|>|`|"|&/g,"?").replace(/\r\n|\r|\n/g,"<br/>"),/firefox/i.test(navigator.userAgent)&&(a=a.replace(/\s/g," ")),a},void 0===a&&(a=this.getPos()),i=b.val().slice(0,a),e=b.val().slice(a),g="<span style='position: relative; display: inline;'>"+f(i)+"</span>",g+="<span id='caret' style='position: relative; display: inline;'>|</span>",g+="<span style='position: relative; display: inline;'>"+f(e)+"</span>",h=new d(b),c=h.create(g).rect()},b.prototype.getIEPosition=function(a){var b,c,d,e,f;return d=this.getIEOffset(a),c=this.$inputor.offset(),e=d.left-c.left,f=d.top-c.top,b=d.height,{left:e,top:f,height:b}},b}(),d=function(){function b(a){this.$inputor=a}return b.prototype.css_attr=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopStyle","borderRightStyle","borderBottomStyle","borderLeftStyle","borderTopWidth","boxSizing","fontFamily","fontSize","fontWeight","height","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","outlineWidth","overflow","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","textAlign","textOverflow","textTransform","whiteSpace","wordBreak","wordWrap"],b.prototype.mirrorCss=function(){var b,c=this;return b={position:"absolute",left:-9999,top:0,zIndex:-2e4},"TEXTAREA"===this.$inputor.prop("tagName")&&this.css_attr.push("width"),a.each(this.css_attr,function(a,d){return b[d]=c.$inputor.css(d)}),b},b.prototype.create=function(b){return this.$mirror=a("<div></div>"),this.$mirror.css(this.mirrorCss()),this.$mirror.html(b),this.$inputor.after(this.$mirror),this},b.prototype.rect=function(){var a,b,c;return a=this.$mirror.find("#caret"),b=a.position(),c={left:b.left,top:b.top,height:a.height()},this.$mirror.remove(),c},b}(),e={contentEditable:function(a){return!(!a[0].contentEditable||"true"!==a[0].contentEditable)}},g={pos:function(a){return a||0===a?this.setPos(a):this.getPos()},position:function(a){return h.selection?this.getIEPosition(a):this.getPosition(a)},offset:function(a){var b;return b=this.getOffset(a)}},h=null,j=null,i=null,l=function(a){var b;return(b=null!=a?a.iframe:void 0)?(i=b,j=b.contentWindow,h=b.contentDocument||j.document):(i=void 0,j=window,h=document)},f=function(a){var b;h=a[0].ownerDocument,j=h.defaultView||h.parentWindow;try{return i=j.frameElement}catch(c){b=c}},a.fn.caret=function(d,f,h){var i;return g[d]?(a.isPlainObject(f)?(l(f),f=void 0):l(h),i=e.contentEditable(this)?new b(this):new c(this),g[d].apply(i,[f])):a.error("Method "+d+" does not exist on jQuery.caret")},a.fn.caret.EditableCaret=b,a.fn.caret.InputCaret=c,a.fn.caret.Utils=e,a.fn.caret.apis=g});
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
window.bp=window.bp||{},function(){"undefined"!=typeof BP_Uploader&&(bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.WebCam={start:function(){this.params={video:null,videoStream:null,capture_enable:!1,capture:null,canvas:null,warning:null,flipped:!1},bp.Avatar.nav.on("bp-avatar-view:changed",_.bind(this.setView,this))},setView:function(a){if("camera"!==a)return void(_.isNull(this.params.video)||(this.stop(),this.removeWarning()));var b=new bp.Views.WebCamAvatar({model:new Backbone.Model({user_media:!1})});this.params.flipped=!1,bp.Avatar.views.add({id:"camera",view:b}),b.inject(".bp-avatar")},removeView:function(){var a;_.isUndefined(bp.Avatar.views.get("camera"))||(a=bp.Avatar.views.get("camera"),a.get("view").remove(),bp.Avatar.views.remove({id:"camera",view:a}))},gotStream:function(a){var b=bp.WebCam.params.video;bp.WebCam.params.videoStream=a,bp.WebCam.displayWarning("loaded"),b.onerror=function(){bp.WebCam.displayWarning("videoerror"),b&&bp.WebCam.stop()},a.onended=bp.WebCam.noStream(),void 0!==b.mozSrcObject?(b.mozSrcObject=a,b.play()):navigator.mozGetUserMedia?(b.src=a,b.play()):window.URL?b.src=window.URL.createObjectURL(a):b.src=a,bp.WebCam.params.capture_enable=!0},stop:function(){bp.WebCam.params.capture_enable=!1,bp.WebCam.params.videoStream&&(bp.WebCam.params.videoStream.stop?bp.WebCam.params.videoStream.stop():bp.WebCam.params.videoStream.msStop&&bp.WebCam.params.videoStream.msStop(),bp.WebCam.params.videoStream.onended=null,bp.WebCam.params.videoStream=null),bp.WebCam.params.video&&(bp.WebCam.params.video.onerror=null,bp.WebCam.params.video.pause(),bp.WebCam.params.video.mozSrcObject&&(bp.WebCam.params.video.mozSrcObject=null),bp.WebCam.params.video.src="")},noStream:function(){_.isNull(bp.WebCam.params.videoStream)&&(bp.WebCam.displayWarning("noaccess"),bp.WebCam.removeView())},setAvatar:function(a){a.get("url")||bp.WebCam.displayWarning("nocapture"),bp.WebCam.removeView(),bp.Avatar.setAvatar(a)},removeWarning:function(){_.isNull(this.params.warning)||this.params.warning.remove()},displayWarning:function(a){this.removeWarning(),this.params.warning=new bp.Views.uploaderWarning({value:BP_Uploader.strings.camera_warnings[a]}),this.params.warning.inject(".bp-avatar-status")}},bp.Views.WebCamAvatar=bp.View.extend({tagName:"div",id:"bp-webcam-avatar",template:bp.template("bp-avatar-webcam"),events:{"click .avatar-webcam-capture":"captureStream","click .avatar-webcam-save":"saveCapture"},initialize:function(){var a;(navigator.getUserMedia||navigator.oGetUserMedia||navigator.mozGetUserMedia||navigator.webkitGetUserMedia||navigator.msGetUserMedia)&&(a=_.extend(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,"object","item_id","nonces"),{user_media:!0,w:BP_Uploader.settings.crop.full_w,h:BP_Uploader.settings.crop.full_h,x:0,y:0,type:"camera"}),this.model.set(a)),this.on("ready",this.useStream,this)},useStream:function(){this.model.get("user_media")&&(this.options.video=new bp.Views.WebCamVideo,this.options.canvas=new bp.Views.WebCamCanvas,this.$el.find("#avatar-to-crop").append(this.options.video.el),this.$el.find("#avatar-crop-pane").append(this.options.canvas.el),bp.WebCam.params.video=this.options.video.el,bp.WebCam.params.canvas=this.options.canvas.el,bp.WebCam.displayWarning("requesting"),navigator.getUserMedia?navigator.getUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCams.noStream):navigator.oGetUserMedia?navigator.oGetUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.mozGetUserMedia?navigator.mozGetUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.webkitGetUserMedia?navigator.webkitGetUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.msGetUserMedia?navigator.msGetUserMedia({video:!0,audio:!1},bp.WebCams.gotStream,bp.WebCam.noStream):bp.WebCam.displayWarning("errormsg"))},captureStream:function(a){var b,c;return a.preventDefault(),bp.WebCam.params.capture_enable?this.model.get("h")>this.options.video.el.videoHeight||this.model.get("w")>this.options.video.el.videoWidth?void bp.WebCam.displayWarning("videoerror"):(c=this.options.video.el.videoHeight,b=(this.options.video.el.videoWidth-c)/2,bp.WebCam.params.flipped||(this.options.canvas.el.getContext("2d").translate(this.model.get("w"),0),this.options.canvas.el.getContext("2d").scale(-1,1),bp.WebCam.params.flipped=!0),this.options.canvas.el.getContext("2d").drawImage(this.options.video.el,b,0,c,c,0,0,this.model.get("w"),this.model.get("h")),bp.WebCam.params.capture=this.options.canvas.el.toDataURL("image/png"),this.model.set("url",bp.WebCam.params.capture),void bp.WebCam.displayWarning("ready")):void bp.WebCam.displayWarning("loading")},saveCapture:function(a){return a.preventDefault(),bp.WebCam.params.capture?(bp.WebCam.stop(),void bp.WebCam.setAvatar(this.model)):void bp.WebCam.displayWarning("nocapture")}}),bp.Views.WebCamVideo=bp.View.extend({tagName:"video",id:"bp-webcam-video",attributes:{autoplay:"autoplay"}}),bp.Views.WebCamCanvas=bp.View.extend({tagName:"canvas",id:"bp-webcam-canvas",attributes:{width:150,height:150},initialize:function(){_.isUndefined(BP_Uploader.settings.crop.full_h)||_.isUndefined(BP_Uploader.settings.crop.full_w)||(this.el.attributes.width.value=BP_Uploader.settings.crop.full_w,this.el.attributes.height.value=BP_Uploader.settings.crop.full_h)}}),bp.WebCam.start())}(bp,jQuery);
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
window.bp=window.bp||{},function(){"undefined"!=typeof BP_Uploader&&(bp.Models=bp.Models||{},bp.Collections=bp.Collections||{},bp.Views=bp.Views||{},bp.WebCam={start:function(){this.params={video:null,videoStream:null,capture_enable:!1,capture:null,canvas:null,warning:null,flipped:!1},bp.Avatar.nav.on("bp-avatar-view:changed",_.bind(this.setView,this))},setView:function(a){if("camera"!==a)return void(_.isNull(this.params.video)||(this.stop(),this.removeWarning()));var b=new bp.Views.WebCamAvatar({model:new Backbone.Model({user_media:!1})});this.params.flipped=!1,bp.Avatar.views.add({id:"camera",view:b}),b.inject(".bp-avatar")},removeView:function(){var a;_.isUndefined(bp.Avatar.views.get("camera"))||(a=bp.Avatar.views.get("camera"),a.get("view").remove(),bp.Avatar.views.remove({id:"camera",view:a}))},gotStream:function(a){var b=bp.WebCam.params.video;bp.WebCam.params.videoStream=a,bp.WebCam.displayWarning("loaded"),b.onerror=function(){bp.WebCam.displayWarning("videoerror"),b&&bp.WebCam.stop()},a.onended=bp.WebCam.noStream(),void 0!==b.mozSrcObject?(b.mozSrcObject=a,b.play()):navigator.mozGetUserMedia?(b.src=a,b.play()):window.URL?b.src=window.URL.createObjectURL(a):b.src=a,bp.WebCam.params.capture_enable=!0},stop:function(){bp.WebCam.params.capture_enable=!1,bp.WebCam.params.videoStream&&(bp.WebCam.params.videoStream.stop?bp.WebCam.params.videoStream.stop():bp.WebCam.params.videoStream.msStop&&bp.WebCam.params.videoStream.msStop(),bp.WebCam.params.videoStream.onended=null,bp.WebCam.params.videoStream=null),bp.WebCam.params.video&&(bp.WebCam.params.video.onerror=null,bp.WebCam.params.video.pause(),bp.WebCam.params.video.mozSrcObject&&(bp.WebCam.params.video.mozSrcObject=null),bp.WebCam.params.video.src="")},noStream:function(){_.isNull(bp.WebCam.params.videoStream)&&(bp.WebCam.displayWarning("noaccess"),bp.WebCam.removeView())},setAvatar:function(a){a.get("url")||bp.WebCam.displayWarning("nocapture"),bp.WebCam.removeView(),bp.Avatar.setAvatar(a)},removeWarning:function(){_.isNull(this.params.warning)||this.params.warning.remove()},displayWarning:function(a){this.removeWarning(),this.params.warning=new bp.Views.uploaderWarning({value:BP_Uploader.strings.camera_warnings[a]}),this.params.warning.inject(".bp-avatar-status")}},bp.Views.WebCamAvatar=bp.View.extend({tagName:"div",id:"bp-webcam-avatar",template:bp.template("bp-avatar-webcam"),events:{"click .avatar-webcam-capture":"captureStream","click .avatar-webcam-save":"saveCapture"},initialize:function(){var a;(navigator.getUserMedia||navigator.oGetUserMedia||navigator.mozGetUserMedia||navigator.webkitGetUserMedia||navigator.msGetUserMedia)&&(a=_.extend(_.pick(BP_Uploader.settings.defaults.multipart_params.bp_params,"object","item_id","nonces"),{user_media:!0,w:BP_Uploader.settings.crop.full_w,h:BP_Uploader.settings.crop.full_h,x:0,y:0,type:"camera"}),this.model.set(a)),this.on("ready",this.useStream,this)},useStream:function(){this.model.get("user_media")&&(this.options.video=new bp.Views.WebCamVideo,this.options.canvas=new bp.Views.WebCamCanvas,this.$el.find("#avatar-to-crop").append(this.options.video.el),this.$el.find("#avatar-crop-pane").append(this.options.canvas.el),bp.WebCam.params.video=this.options.video.el,bp.WebCam.params.canvas=this.options.canvas.el,bp.WebCam.displayWarning("requesting"),navigator.getUserMedia?navigator.getUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCams.noStream):navigator.oGetUserMedia?navigator.oGetUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.mozGetUserMedia?navigator.mozGetUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.webkitGetUserMedia?navigator.webkitGetUserMedia({video:!0},bp.WebCam.gotStream,bp.WebCam.noStream):navigator.msGetUserMedia?navigator.msGetUserMedia({video:!0,audio:!1},bp.WebCams.gotStream,bp.WebCam.noStream):bp.WebCam.displayWarning("errormsg"))},captureStream:function(a){var b,c;return a.preventDefault(),bp.WebCam.params.capture_enable?this.model.get("h")>this.options.video.el.videoHeight||this.model.get("w")>this.options.video.el.videoWidth?void bp.WebCam.displayWarning("videoerror"):(c=this.options.video.el.videoHeight,b=(this.options.video.el.videoWidth-c)/2,bp.WebCam.params.flipped||(this.options.canvas.el.getContext("2d").translate(this.model.get("w"),0),this.options.canvas.el.getContext("2d").scale(-1,1),bp.WebCam.params.flipped=!0),this.options.canvas.el.getContext("2d").drawImage(this.options.video.el,b,0,c,c,0,0,this.model.get("w"),this.model.get("h")),bp.WebCam.params.capture=this.options.canvas.el.toDataURL("image/png"),this.model.set("url",bp.WebCam.params.capture),void bp.WebCam.displayWarning("ready")):void bp.WebCam.displayWarning("loading")},saveCapture:function(a){return a.preventDefault(),bp.WebCam.params.capture?(bp.WebCam.stop(),void bp.WebCam.setAvatar(this.model)):void bp.WebCam.displayWarning("nocapture")}}),bp.Views.WebCamVideo=bp.View.extend({tagName:"video",id:"bp-webcam-video",attributes:{autoplay:"autoplay"}}),bp.Views.WebCamCanvas=bp.View.extend({tagName:"canvas",id:"bp-webcam-canvas",attributes:{width:150,height:150},initialize:function(){_.isUndefined(BP_Uploader.settings.crop.full_h)||_.isUndefined(BP_Uploader.settings.crop.full_w)||(this.el.attributes.width.value=BP_Uploader.settings.crop.full_w,this.el.attributes.height.value=BP_Uploader.settings.crop.full_h)}}),bp.WebCam.start())}(bp,jQuery);
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
function member_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#members-list").fadeOut(200,function(){jQuery(".widget ul#members-list").html(a[1]),jQuery(".widget ul#members-list").fadeIn(200)}):jQuery(".widget ul#members-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#members-list").html(b),jQuery(".widget ul#members-list").fadeIn(200)})}jQuery(document).ready(function(){jQuery(".widget div#members-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#members-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_members",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-members").val(),"max-members":jQuery("input#members_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),member_widget_response(b)}),!1})});
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
function member_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#members-list").fadeOut(200,function(){jQuery(".widget ul#members-list").html(a[1]),jQuery(".widget ul#members-list").fadeIn(200)}):jQuery(".widget ul#members-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#members-list").html(b),jQuery(".widget ul#members-list").fadeIn(200)})}jQuery(document).ready(function(){jQuery(".widget div#members-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#members-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_members",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-members").val(),"max-members":jQuery("input#members_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),member_widget_response(b)}),!1})});
|
@@ -165,15 +165,18 @@ function bp_forums_bbpress_install_wizard() {
|
|
165 |
|
166 |
switch ( $result ) {
|
167 |
case 1:
|
168 |
-
|
|
|
|
|
169 |
break;
|
170 |
default:
|
171 |
// Just write the contents to screen.
|
172 |
-
|
173 |
-
|
|
|
|
|
174 |
<textarea style="display:block; margin-top: 30px; width: 80%;" rows="50"><?php echo esc_textarea( $result ); ?></textarea>
|
175 |
-
|
176 |
-
<?php
|
177 |
break;
|
178 |
}
|
179 |
} else { ?>
|
165 |
|
166 |
switch ( $result ) {
|
167 |
case 1:
|
168 |
+
echo '<p>';
|
169 |
+
_e( 'All done! Configuration settings have been saved to the file <code>bb-config.php</code> in the root of your WordPress install.', 'buddypress' );
|
170 |
+
echo '</p>';
|
171 |
break;
|
172 |
default:
|
173 |
// Just write the contents to screen.
|
174 |
+
echo '<p>';
|
175 |
+
_e( 'A configuration file could not be created. No problem, but you will need to save the text shown below into a file named <code>bb-config.php</code> in the root directory of your WordPress installation before you can start using the forum functionality.', 'buddypress' );
|
176 |
+
echo '</p>';
|
177 |
+
?>
|
178 |
<textarea style="display:block; margin-top: 30px; width: 80%;" rows="50"><?php echo esc_textarea( $result ); ?></textarea>
|
179 |
+
<?php
|
|
|
180 |
break;
|
181 |
}
|
182 |
} else { ?>
|
@@ -70,7 +70,7 @@ class BP_Core_Friends_Widget extends WP_Widget {
|
|
70 |
|
71 |
$user_id = bp_displayed_user_id();
|
72 |
$link = trailingslashit( bp_displayed_user_domain() . bp_get_friends_slug() );
|
73 |
-
$instance['title'] = sprintf( __(
|
74 |
|
75 |
if ( empty( $instance['friend_default'] ) ) {
|
76 |
$instance['friend_default'] = 'active';
|
70 |
|
71 |
$user_id = bp_displayed_user_id();
|
72 |
$link = trailingslashit( bp_displayed_user_domain() . bp_get_friends_slug() );
|
73 |
+
$instance['title'] = sprintf( __( "%s's Friends", 'buddypress' ), bp_get_displayed_user_fullname() );
|
74 |
|
75 |
if ( empty( $instance['friend_default'] ) ) {
|
76 |
$instance['friend_default'] = 'active';
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
function friend_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#friends-list").fadeOut(200,function(){jQuery(".widget ul#friends-list").html(a[1]),jQuery(".widget ul#friends-list").fadeIn(200)}):jQuery(".widget ul#friends-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#friends-list").html(b),jQuery(".widget ul#friends-list").fadeIn(200)})}jQuery(document).ready(function(){jQuery(".widget div#friends-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#friends-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_friends",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-friends").val(),"max-friends":jQuery("input#friends_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),friend_widget_response(b)}),!1})});
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
function friend_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#friends-list").fadeOut(200,function(){jQuery(".widget ul#friends-list").html(a[1]),jQuery(".widget ul#friends-list").fadeIn(200)}):jQuery(".widget ul#friends-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#friends-list").html(b),jQuery(".widget ul#friends-list").fadeIn(200)})}jQuery(document).ready(function(){jQuery(".widget div#friends-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#friends-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_friends",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-friends").val(),"max-friends":jQuery("input#friends_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),friend_widget_response(b)}),!1})});
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
!function(a){function b(b,c){a("#bp-groups-new-members-list").append('<li data-login="'+c.item.value+'"><a href="#" class="bp-groups-remove-new-member">x</a> '+c.item.label+"</li>")}var c="undefined"!=typeof group_id?"&group_id="+group_id:"";a(document).ready(function(){window.warn_on_leave=!1,a(".bp-suggest-user").autocomplete({source:ajaxurl+"?action=bp_group_admin_member_autocomplete"+c,delay:500,minLength:2,position:"undefined"!=typeof isRtl&&isRtl?{my:"right top",at:"right bottom",offset:"0, -1"}:{offset:"0, -1"},open:function(){a(this).addClass("open")},close:function(){a(this).removeClass("open"),a(this).val("")},select:function(a,c){b(a,c)}}),a("#bp-groups-new-members").prop("placeholder",BP_Group_Admin.add_member_placeholder),a("#bp_group_add_members").on("click",".bp-groups-remove-new-member",function(b){b.preventDefault(),a(b.target.parentNode).remove()}),a(document).on("change",'input#bp-groups-name, input#bp-groups-description, select.bp-groups-role, #bp-groups-settings-section-status input[type="radio"]',function(){window.warn_on_leave=!0}),a("input#save").on("click",function(){var b=[];a("#bp-groups-new-members-list li").each(function(){b.push(a(this).data("login"))}),b.length&&a("#bp-groups-new-members").val("").val(b.join(", ")),window.warn_on_leave=!1}),window.onbeforeunload=function(){return window.warn_on_leave?BP_Group_Admin.warn_on_leave:void 0}})}(jQuery);
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
!function(a){function b(b,c){a("#bp-groups-new-members-list").append('<li data-login="'+c.item.value+'"><a href="#" class="bp-groups-remove-new-member">x</a> '+c.item.label+"</li>")}var c="undefined"!=typeof group_id?"&group_id="+group_id:"";a(document).ready(function(){window.warn_on_leave=!1,a(".bp-suggest-user").autocomplete({source:ajaxurl+"?action=bp_group_admin_member_autocomplete"+c,delay:500,minLength:2,position:"undefined"!=typeof isRtl&&isRtl?{my:"right top",at:"right bottom",offset:"0, -1"}:{offset:"0, -1"},open:function(){a(this).addClass("open")},close:function(){a(this).removeClass("open"),a(this).val("")},select:function(a,c){b(a,c)}}),a("#bp-groups-new-members").prop("placeholder",BP_Group_Admin.add_member_placeholder),a("#bp_group_add_members").on("click",".bp-groups-remove-new-member",function(b){b.preventDefault(),a(b.target.parentNode).remove()}),a(document).on("change",'input#bp-groups-name, input#bp-groups-description, select.bp-groups-role, #bp-groups-settings-section-status input[type="radio"]',function(){window.warn_on_leave=!0}),a("input#save").on("click",function(){var b=[];a("#bp-groups-new-members-list li").each(function(){b.push(a(this).data("login"))}),b.length&&a("#bp-groups-new-members").val("").val(b.join(", ")),window.warn_on_leave=!1}),window.onbeforeunload=function(){return window.warn_on_leave?BP_Group_Admin.warn_on_leave:void 0}})}(jQuery);
|
@@ -340,7 +340,7 @@ function groups_action_create_group() {
|
|
340 |
if ( !bp_core_avatar_handle_crop( array( 'object' => 'group', 'avatar_dir' => 'group-avatars', 'item_id' => $bp->groups->current_group->id, 'original_file' => $_POST['image_src'], 'crop_x' => $_POST['x'], 'crop_y' => $_POST['y'], 'crop_w' => $_POST['w'], 'crop_h' => $_POST['h'] ) ) )
|
341 |
bp_core_add_message( __( 'There was an error saving the group profile photo, please try uploading again.', 'buddypress' ), 'error' );
|
342 |
else
|
343 |
-
bp_core_add_message( __( 'The group profile photo was uploaded successfully
|
344 |
}
|
345 |
}
|
346 |
|
340 |
if ( !bp_core_avatar_handle_crop( array( 'object' => 'group', 'avatar_dir' => 'group-avatars', 'item_id' => $bp->groups->current_group->id, 'original_file' => $_POST['image_src'], 'crop_x' => $_POST['x'], 'crop_y' => $_POST['y'], 'crop_w' => $_POST['w'], 'crop_h' => $_POST['h'] ) ) )
|
341 |
bp_core_add_message( __( 'There was an error saving the group profile photo, please try uploading again.', 'buddypress' ), 'error' );
|
342 |
else
|
343 |
+
bp_core_add_message( __( 'The group profile photo was uploaded successfully.', 'buddypress' ) );
|
344 |
}
|
345 |
}
|
346 |
|
@@ -525,21 +525,21 @@ function bp_groups_admin_edit() {
|
|
525 |
}
|
526 |
|
527 |
if ( ! empty( $error_new ) ) {
|
528 |
-
$messages[] = sprintf( __( 'The following users could not be added to the group:
|
529 |
}
|
530 |
|
531 |
if ( ! empty( $success_new ) ) {
|
532 |
-
$messages[] = sprintf( __( 'The following users were successfully added to the group:
|
533 |
}
|
534 |
|
535 |
if ( ! empty( $error_modified ) ) {
|
536 |
$error_modified = bp_groups_admin_get_usernames_from_ids( $error_modified );
|
537 |
-
$messages[] = sprintf( __( 'An error occurred when trying to modify the following members:
|
538 |
}
|
539 |
|
540 |
if ( ! empty( $success_modified ) ) {
|
541 |
$success_modified = bp_groups_admin_get_usernames_from_ids( $success_modified );
|
542 |
-
$messages[] = sprintf( __( 'The following members were successfully modified:
|
543 |
}
|
544 |
}
|
545 |
|
525 |
}
|
526 |
|
527 |
if ( ! empty( $error_new ) ) {
|
528 |
+
$messages[] = sprintf( __( 'The following users could not be added to the group: %s', 'buddypress' ), '<em>' . implode( ', ', $error_new ) . '</em>' );
|
529 |
}
|
530 |
|
531 |
if ( ! empty( $success_new ) ) {
|
532 |
+
$messages[] = sprintf( __( 'The following users were successfully added to the group: %s', 'buddypress' ), '<em>' . implode( ', ', $success_new ) . '</em>' );
|
533 |
}
|
534 |
|
535 |
if ( ! empty( $error_modified ) ) {
|
536 |
$error_modified = bp_groups_admin_get_usernames_from_ids( $error_modified );
|
537 |
+
$messages[] = sprintf( __( 'An error occurred when trying to modify the following members: %s', 'buddypress' ), '<em>' . implode( ', ', $error_modified ) . '</em>' );
|
538 |
}
|
539 |
|
540 |
if ( ! empty( $success_modified ) ) {
|
541 |
$success_modified = bp_groups_admin_get_usernames_from_ids( $success_modified );
|
542 |
+
$messages[] = sprintf( __( 'The following members were successfully modified: %s', 'buddypress' ), '<em>' . implode( ', ', $success_modified ) . '</em>' );
|
543 |
}
|
544 |
}
|
545 |
|
@@ -439,7 +439,7 @@ function groups_leave_group( $group_id, $user_id = 0 ) {
|
|
439 |
}
|
440 |
}
|
441 |
|
442 |
-
if ( !
|
443 |
return false;
|
444 |
}
|
445 |
|
@@ -1434,15 +1434,8 @@ function groups_unban_member( $user_id, $group_id ) {
|
|
1434 |
function groups_remove_member( $user_id, $group_id ) {
|
1435 |
|
1436 |
if ( ! bp_is_item_admin() ) {
|
1437 |
-
|
1438 |
-
|
1439 |
-
// A member may also request to remove herself from a group.
|
1440 |
-
if ( ! current_user_can( 'bp_moderate' )
|
1441 |
-
&& ! groups_is_user_admin( bp_loggedin_user_id(), $group_id )
|
1442 |
-
&& $user_id != bp_loggedin_user_id() ) {
|
1443 |
-
return false;
|
1444 |
-
}
|
1445 |
-
}
|
1446 |
|
1447 |
$member = new BP_Groups_Member( $user_id, $group_id );
|
1448 |
|
439 |
}
|
440 |
}
|
441 |
|
442 |
+
if ( ! BP_Groups_Member::delete( $user_id, $group_id ) ) {
|
443 |
return false;
|
444 |
}
|
445 |
|
1434 |
function groups_remove_member( $user_id, $group_id ) {
|
1435 |
|
1436 |
if ( ! bp_is_item_admin() ) {
|
1437 |
+
return false;
|
1438 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1439 |
|
1440 |
$member = new BP_Groups_Member( $user_id, $group_id );
|
1441 |
|
@@ -561,7 +561,7 @@ class BP_Groups_Component extends BP_Component {
|
|
561 |
* Only add the members subnav if it's not the home's nav
|
562 |
*/
|
563 |
$sub_nav[] = array(
|
564 |
-
'name' => sprintf( _x( 'Members
|
565 |
'slug' => 'members',
|
566 |
'parent_url' => $group_link,
|
567 |
'parent_slug' => $this->current_group->slug,
|
561 |
* Only add the members subnav if it's not the home's nav
|
562 |
*/
|
563 |
$sub_nav[] = array(
|
564 |
+
'name' => sprintf( _x( 'Members %s', 'My Group screen nav', 'buddypress' ), '<span>' . number_format( $this->current_group->total_member_count ) . '</span>' ),
|
565 |
'slug' => 'members',
|
566 |
'parent_url' => $group_link,
|
567 |
'parent_slug' => $this->current_group->slug,
|
@@ -1332,7 +1332,7 @@ function groups_screen_group_admin_delete_group() {
|
|
1332 |
if ( !groups_delete_group( $bp->groups->current_group->id ) ) {
|
1333 |
bp_core_add_message( __( 'There was an error deleting the group. Please try again.', 'buddypress' ), 'error' );
|
1334 |
} else {
|
1335 |
-
bp_core_add_message( __( 'The group was deleted successfully', 'buddypress' ) );
|
1336 |
|
1337 |
/**
|
1338 |
* Fires after the deletion of a group from the Delete Group page.
|
1332 |
if ( !groups_delete_group( $bp->groups->current_group->id ) ) {
|
1333 |
bp_core_add_message( __( 'There was an error deleting the group. Please try again.', 'buddypress' ), 'error' );
|
1334 |
} else {
|
1335 |
+
bp_core_add_message( __( 'The group was deleted successfully.', 'buddypress' ) );
|
1336 |
|
1337 |
/**
|
1338 |
* Fires after the deletion of a group from the Delete Group page.
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
function groups_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#groups-list").fadeOut(200,function(){jQuery(".widget ul#groups-list").html(a[1]),jQuery(".widget ul#groups-list").fadeIn(200)}):jQuery(".widget ul#groups-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#groups-list").html(b),jQuery(".widget ul#groups-list").fadeIn(200)})}jQuery(document).ready(function(){jQuery(".widget div#groups-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#groups-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_groups_list",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-groups").val(),max_groups:jQuery("input#groups_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),groups_widget_response(b)}),!1})});
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
function groups_widget_response(a){a=a.substr(0,a.length-1),a=a.split("[[SPLIT]]"),"-1"!==a[0]?jQuery(".widget ul#groups-list").fadeOut(200,function(){jQuery(".widget ul#groups-list").html(a[1]),jQuery(".widget ul#groups-list").fadeIn(200)}):jQuery(".widget ul#groups-list").fadeOut(200,function(){var b="<p>"+a[1]+"</p>";jQuery(".widget ul#groups-list").html(b),jQuery(".widget ul#groups-list").fadeIn(200)})}jQuery(document).ready(function(){jQuery(".widget div#groups-list-options a").on("click",function(){var a=this;return jQuery(a).addClass("loading"),jQuery(".widget div#groups-list-options a").removeClass("selected"),jQuery(this).addClass("selected"),jQuery.post(ajaxurl,{action:"widget_groups_list",cookie:encodeURIComponent(document.cookie),_wpnonce:jQuery("input#_wpnonce-groups").val(),max_groups:jQuery("input#groups_widget_max").val(),filter:jQuery(this).attr("id")},function(b){jQuery(a).removeClass("loading"),groups_widget_response(b)}),!1})});
|
@@ -14,7 +14,7 @@
|
|
14 |
* Description: BuddyPress helps you run any kind of social network on your WordPress, with member profiles, activity streams, user groups, messaging, and more.
|
15 |
* Author: The BuddyPress Community
|
16 |
* Author URI: https://buddypress.org/
|
17 |
-
* Version: 2.4.0-
|
18 |
* Text Domain: buddypress
|
19 |
* Domain Path: /bp-languages/
|
20 |
* License: GPLv2 or later (license.txt)
|
@@ -326,7 +326,7 @@ class BuddyPress {
|
|
326 |
|
327 |
/** Versions **********************************************************/
|
328 |
|
329 |
-
$this->version = '2.4.0-
|
330 |
$this->db_version = 10000;
|
331 |
|
332 |
/** Loading ***********************************************************/
|
14 |
* Description: BuddyPress helps you run any kind of social network on your WordPress, with member profiles, activity streams, user groups, messaging, and more.
|
15 |
* Author: The BuddyPress Community
|
16 |
* Author URI: https://buddypress.org/
|
17 |
+
* Version: 2.4.0-beta2
|
18 |
* Text Domain: buddypress
|
19 |
* Domain Path: /bp-languages/
|
20 |
* License: GPLv2 or later (license.txt)
|
326 |
|
327 |
/** Versions **********************************************************/
|
328 |
|
329 |
+
$this->version = '2.4.0-beta2';
|
330 |
$this->db_version = 10000;
|
331 |
|
332 |
/** Loading ***********************************************************/
|
@@ -1,7 +1,8 @@
|
|
1 |
/**** BP Members Profile Administration Screens ****/
|
2 |
|
3 |
div#profile-page.wrap form#your-profile {
|
4 |
-
position:relative;
|
|
|
5 |
}
|
6 |
|
7 |
div#profile-page.wrap form#your-profile h3:first-of-type {
|
@@ -10,7 +11,7 @@ div#profile-page.wrap form#your-profile h3:first-of-type {
|
|
10 |
|
11 |
div#profile-page.wrap form#your-profile #profile-nav {
|
12 |
position: absolute;
|
13 |
-
top:
|
14 |
width: 97%;
|
15 |
}
|
16 |
|
1 |
/**** BP Members Profile Administration Screens ****/
|
2 |
|
3 |
div#profile-page.wrap form#your-profile {
|
4 |
+
position: relative;
|
5 |
+
padding-top: 50px;
|
6 |
}
|
7 |
|
8 |
div#profile-page.wrap form#your-profile h3:first-of-type {
|
11 |
|
12 |
div#profile-page.wrap form#your-profile #profile-nav {
|
13 |
position: absolute;
|
14 |
+
top: 0;
|
15 |
width: 97%;
|
16 |
}
|
17 |
|
@@ -1 +1 @@
|
|
1 |
-
div#profile-page.wrap form#your-profile{position:relative}div#profile-page.wrap form#your-profile h3:first-of-type{margin-top:5em}div#profile-page.wrap form#your-profile #profile-nav{position:absolute;top
|
1 |
+
div#profile-page.wrap form#your-profile{position:relative;padding-top:50px}div#profile-page.wrap form#your-profile h3:first-of-type{margin-top:5em}div#profile-page.wrap form#your-profile #profile-nav{position:absolute;top:0;width:97%}div#community-profile-page #profile-nav{margin-bottom:1em}#bp_members_admin_user_stats ul{margin-bottom:0}div#community-profile-page a.bp-xprofile-avatar-user-admin:before,div#community-profile-page a.bp-xprofile-avatar-user-edit:before,div#community-profile-page li.bp-blogs-profile-stats:before,div#community-profile-page li.bp-friends-profile-stats:before,div#community-profile-page li.bp-groups-profile-stats:before,div#community-profile-page li.bp-members-profile-stats:before{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 0 0 2px;top:0;right:-1px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div#community-profile-page li.bp-members-profile-stats:before{content:"\f130"}div#community-profile-page li.bp-friends-profile-stats:before{content:"\f454"}div#community-profile-page li.bp-groups-profile-stats:before{content:"\f456"}div#community-profile-page li.bp-blogs-profile-stats:before{content:"\f120"}div#community-profile-page a.bp-xprofile-avatar-user-admin:before{content:"\f182"}div#community-profile-page a.bp-xprofile-avatar-user-edit:before{content:"\f107"}div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar{width:150px;margin:0 auto}div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar img{max-width:100%;height:auto}div#community-profile-page div#bp_xprofile_user_admin_avatar a{display:block;margin:1em 0;text-decoration:none;color:#888}div#community-profile-page p.not-activated{margin:1em 1em 0;color:red}#community-profile-page #submitdiv #publishing-action{float:none;width:100%}.bp-view-profile{float:right}.alt{background:0 0}.bp-profile-field{border-bottom:dotted 1px #ccc;font-size:14px;margin:15px 0;padding:10px}.bp-profile-field:last-child{border-bottom:0}.bp-profile-field p{font-size:14px}.bp-profile-field .datebox>label,.bp-profile-field .radio>label,.bp-profile-field>label{display:inline-block;font-weight:600;text-align:right;vertical-align:middle;width:200px}.clear-value,.field_type_radio .radio div:not(.field-visibility-settings) label{display:block}.field_type_checkbox .checkbox>label,.field_type_multiselectbox>label,.field_type_radio .radio>label,.field_type_textarea>label{vertical-align:top}.bp-profile-field .description{margin:10px 200px 10px 0;text-align:right}.clear-value{font-size:12px;margin-right:200px}.field_type_checkbox .checkbox>label+label{display:block;margin-right:200px;width:auto}.field_type_radio .radio div:not(.field-visibility-settings){display:inline-block}.field-visibility-settings-notoggle,.field-visibility-settings-toggle{margin:10px 200px 10px 0;text-align:right}.field-visibility-settings{display:none;margin-right:200px}.field-visibility-settings .button{margin-bottom:15px}#normal-sortables .field-visibility-settings legend{font-size:16px;margin-bottom:10px}
|
@@ -1,7 +1,8 @@
|
|
1 |
/**** BP Members Profile Administration Screens ****/
|
2 |
|
3 |
div#profile-page.wrap form#your-profile {
|
4 |
-
position:relative;
|
|
|
5 |
}
|
6 |
|
7 |
div#profile-page.wrap form#your-profile h3:first-of-type {
|
@@ -10,7 +11,7 @@ div#profile-page.wrap form#your-profile h3:first-of-type {
|
|
10 |
|
11 |
div#profile-page.wrap form#your-profile #profile-nav {
|
12 |
position: absolute;
|
13 |
-
top:
|
14 |
width: 97%;
|
15 |
}
|
16 |
|
1 |
/**** BP Members Profile Administration Screens ****/
|
2 |
|
3 |
div#profile-page.wrap form#your-profile {
|
4 |
+
position: relative;
|
5 |
+
padding-top: 50px;
|
6 |
}
|
7 |
|
8 |
div#profile-page.wrap form#your-profile h3:first-of-type {
|
11 |
|
12 |
div#profile-page.wrap form#your-profile #profile-nav {
|
13 |
position: absolute;
|
14 |
+
top: 0;
|
15 |
width: 97%;
|
16 |
}
|
17 |
|
@@ -1 +1 @@
|
|
1 |
-
div#profile-page.wrap form#your-profile{position:relative}div#profile-page.wrap form#your-profile h3:first-of-type{margin-top:5em}div#profile-page.wrap form#your-profile #profile-nav{position:absolute;top
|
1 |
+
div#profile-page.wrap form#your-profile{position:relative;padding-top:50px}div#profile-page.wrap form#your-profile h3:first-of-type{margin-top:5em}div#profile-page.wrap form#your-profile #profile-nav{position:absolute;top:0;width:97%}div#community-profile-page #profile-nav{margin-bottom:1em}#bp_members_admin_user_stats ul{margin-bottom:0}div#community-profile-page a.bp-xprofile-avatar-user-admin:before,div#community-profile-page a.bp-xprofile-avatar-user-edit:before,div#community-profile-page li.bp-blogs-profile-stats:before,div#community-profile-page li.bp-friends-profile-stats:before,div#community-profile-page li.bp-groups-profile-stats:before,div#community-profile-page li.bp-members-profile-stats:before{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 2px 0 0;top:0;left:-1px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div#community-profile-page li.bp-members-profile-stats:before{content:"\f130"}div#community-profile-page li.bp-friends-profile-stats:before{content:"\f454"}div#community-profile-page li.bp-groups-profile-stats:before{content:"\f456"}div#community-profile-page li.bp-blogs-profile-stats:before{content:"\f120"}div#community-profile-page a.bp-xprofile-avatar-user-admin:before{content:"\f182"}div#community-profile-page a.bp-xprofile-avatar-user-edit:before{content:"\f107"}div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar{width:150px;margin:0 auto}div#community-profile-page div#bp_xprofile_user_admin_avatar div.avatar img{max-width:100%;height:auto}div#community-profile-page div#bp_xprofile_user_admin_avatar a{display:block;margin:1em 0;text-decoration:none;color:#888}div#community-profile-page p.not-activated{margin:1em 1em 0;color:red}#community-profile-page #submitdiv #publishing-action{float:none;width:100%}.bp-view-profile{float:left}.alt{background:0 0}.bp-profile-field{border-bottom:dotted 1px #ccc;font-size:14px;margin:15px 0;padding:10px}.bp-profile-field:last-child{border-bottom:0}.bp-profile-field p{font-size:14px}.bp-profile-field .datebox>label,.bp-profile-field .radio>label,.bp-profile-field>label{display:inline-block;font-weight:600;text-align:left;vertical-align:middle;width:200px}.clear-value,.field_type_radio .radio div:not(.field-visibility-settings) label{display:block}.field_type_checkbox .checkbox>label,.field_type_multiselectbox>label,.field_type_radio .radio>label,.field_type_textarea>label{vertical-align:top}.bp-profile-field .description{margin:10px 0 10px 200px;text-align:left}.clear-value{font-size:12px;margin-left:200px}.field_type_checkbox .checkbox>label+label{display:block;margin-left:200px;width:auto}.field_type_radio .radio div:not(.field-visibility-settings){display:inline-block}.field-visibility-settings-notoggle,.field-visibility-settings-toggle{margin:10px 0 10px 200px;text-align:left}.field-visibility-settings{display:none;margin-left:200px}.field-visibility-settings .button{margin-bottom:15px}#normal-sortables .field-visibility-settings legend{font-size:16px;margin-bottom:10px}
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
function clear(a){if(a=document.getElementById(a)){var b=a.getElementsByTagName("INPUT"),c=a.getElementsByTagName("OPTION"),d=0;if(b)for(d=0;d<b.length;d++)b[d].checked="";if(c)for(d=0;d<c.length;d++)c[d].selected=!1}}!function(a){a(".visibility-toggle-link").on("click",function(b){b.preventDefault(),a(this).parent().hide().siblings(".field-visibility-settings").show()}),a(".field-visibility-settings-close").on("click",function(b){b.preventDefault();var c=a(this).parent(),d=c.find("input:checked").parent().text();c.hide().siblings(".field-visibility-settings-toggle").children(".current-visibility-level").text(d).end().show()})}(jQuery);
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
function clear(a){if(a=document.getElementById(a)){var b=a.getElementsByTagName("INPUT"),c=a.getElementsByTagName("OPTION"),d=0;if(b)for(d=0;d<b.length;d++)b[d].checked="";if(c)for(d=0;d<c.length;d++)c[d].selected=!1}}!function(a){a(".visibility-toggle-link").on("click",function(b){b.preventDefault(),a(this).parent().hide().siblings(".field-visibility-settings").show()}),a(".field-visibility-settings-close").on("click",function(b){b.preventDefault();var c=a(this).parent(),d=c.find("input:checked").parent().text();c.hide().siblings(".field-visibility-settings-toggle").children(".current-visibility-level").text(d).end().show()})}(jQuery);
|
@@ -992,7 +992,7 @@ class BP_Members_Admin {
|
|
992 |
$datef = __( 'M j, Y @ G:i', 'buddypress' );
|
993 |
$date = date_i18n( $datef, strtotime( $user->user_registered ) );
|
994 |
?>
|
995 |
-
<span id="timestamp"><?php printf( __( 'Registered on:
|
996 |
</div>
|
997 |
</div> <!-- #misc-publishing-actions -->
|
998 |
|
992 |
$datef = __( 'M j, Y @ G:i', 'buddypress' );
|
993 |
$date = date_i18n( $datef, strtotime( $user->user_registered ) );
|
994 |
?>
|
995 |
+
<span id="timestamp"><?php printf( __( 'Registered on: %s', 'buddypress' ), '<strong>' . $date . '</strong>' ); ?></span>
|
996 |
</div>
|
997 |
</div> <!-- #misc-publishing-actions -->
|
998 |
|
@@ -1975,7 +1975,7 @@ function bp_core_activate_signup( $key ) {
|
|
1975 |
} elseif ( $key == wp_hash( $user_id ) ) {
|
1976 |
// Change the user's status so they become active
|
1977 |
if ( ! $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET user_status = 0 WHERE ID = %d", $user_id ) ) ) {
|
1978 |
-
return new WP_Error( 'invalid_key', __( 'Invalid activation key', 'buddypress' ) );
|
1979 |
}
|
1980 |
|
1981 |
bp_delete_user_meta( $user_id, 'activation_key' );
|
1975 |
} elseif ( $key == wp_hash( $user_id ) ) {
|
1976 |
// Change the user's status so they become active
|
1977 |
if ( ! $wpdb->query( $wpdb->prepare( "UPDATE {$wpdb->users} SET user_status = 0 WHERE ID = %d", $user_id ) ) ) {
|
1978 |
+
return new WP_Error( 'invalid_key', __( 'Invalid activation key.', 'buddypress' ) );
|
1979 |
}
|
1980 |
|
1981 |
bp_delete_user_meta( $user_id, 'activation_key' );
|
@@ -679,7 +679,7 @@ class BP_Registration_Theme_Compat {
|
|
679 |
|
680 |
// Activation page
|
681 |
} else {
|
682 |
-
$title = __( 'Activate
|
683 |
|
684 |
if ( bp_account_was_activated() ) {
|
685 |
$title = __( 'Account Activated', 'buddypress' );
|
679 |
|
680 |
// Activation page
|
681 |
} else {
|
682 |
+
$title = __( 'Activate Your Account', 'buddypress' );
|
683 |
|
684 |
if ( bp_account_was_activated() ) {
|
685 |
$title = __( 'Account Activated', 'buddypress' );
|
@@ -371,7 +371,7 @@ class BP_Core_Whos_Online_Widget extends WP_Widget {
|
|
371 |
|
372 |
<p>
|
373 |
<label for="<?php echo $this->get_field_id( 'max_members' ); ?>">
|
374 |
-
<?php esc_html_e( 'Max
|
375 |
<input class="widefat" id="<?php echo $this->get_field_id( 'max_members' ); ?>" name="<?php echo $this->get_field_name( 'max_members' ); ?>" type="text" value="<?php echo esc_attr( $max_members ); ?>" style="width: 30%" />
|
376 |
</label>
|
377 |
</p>
|
@@ -521,7 +521,7 @@ class BP_Core_Recently_Active_Widget extends WP_Widget {
|
|
521 |
|
522 |
<p>
|
523 |
<label for="<?php echo $this->get_field_id( 'max_members' ); ?>">
|
524 |
-
<?php esc_html_e( 'Max
|
525 |
<input class="widefat" id="<?php echo $this->get_field_id( 'max_members' ); ?>" name="<?php echo $this->get_field_name( 'max_members' ); ?>" type="text" value="<?php echo esc_attr( $max_members ); ?>" style="width: 30%" />
|
526 |
</label>
|
527 |
</p>
|
371 |
|
372 |
<p>
|
373 |
<label for="<?php echo $this->get_field_id( 'max_members' ); ?>">
|
374 |
+
<?php esc_html_e( 'Max members to show:', 'buddypress' ); ?>
|
375 |
<input class="widefat" id="<?php echo $this->get_field_id( 'max_members' ); ?>" name="<?php echo $this->get_field_name( 'max_members' ); ?>" type="text" value="<?php echo esc_attr( $max_members ); ?>" style="width: 30%" />
|
376 |
</label>
|
377 |
</p>
|
521 |
|
522 |
<p>
|
523 |
<label for="<?php echo $this->get_field_id( 'max_members' ); ?>">
|
524 |
+
<?php esc_html_e( 'Max members to show:', 'buddypress' ); ?>
|
525 |
<input class="widefat" id="<?php echo $this->get_field_id( 'max_members' ); ?>" name="<?php echo $this->get_field_name( 'max_members' ); ?>" type="text" value="<?php echo esc_attr( $max_members ); ?>" style="width: 30%" />
|
526 |
</label>
|
527 |
</p>
|
@@ -22,20 +22,20 @@ defined( 'ABSPATH' ) || exit;
|
|
22 |
*/
|
23 |
function bp_messages_action_create_message() {
|
24 |
|
25 |
-
// Bail if not posting to the compose message screen
|
26 |
if ( ! bp_is_post_request() || ! bp_is_messages_component() || ! bp_is_current_action( 'compose' ) ) {
|
27 |
return false;
|
28 |
}
|
29 |
|
30 |
-
// Check the nonce
|
31 |
check_admin_referer( 'messages_send_message' );
|
32 |
|
33 |
-
// Define local variables
|
34 |
$redirect_to = '';
|
35 |
$feedback = '';
|
36 |
$success = false;
|
37 |
|
38 |
-
// Missing subject or content
|
39 |
if ( empty( $_POST['subject'] ) || empty( $_POST['content'] ) ) {
|
40 |
$success = false;
|
41 |
|
@@ -45,31 +45,31 @@ function bp_messages_action_create_message() {
|
|
45 |
$feedback = __( 'Your message was not sent. Please enter some content.', 'buddypress' );
|
46 |
}
|
47 |
|
48 |
-
// Subject and content present
|
49 |
} else {
|
50 |
|
51 |
-
// Setup the link to the logged-in user's messages
|
52 |
$member_messages = trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() );
|
53 |
|
54 |
-
// Site-wide notice
|
55 |
if ( isset( $_POST['send-notice'] ) ) {
|
56 |
|
57 |
-
// Attempt to save the notice and redirect to notices
|
58 |
if ( messages_send_notice( $_POST['subject'], $_POST['content'] ) ) {
|
59 |
$success = true;
|
60 |
$feedback = __( 'Notice successfully created.', 'buddypress' );
|
61 |
$redirect_to = trailingslashit( $member_messages . 'notices' );
|
62 |
|
63 |
-
// Notice could not be sent
|
64 |
} else {
|
65 |
$success = false;
|
66 |
$feedback = __( 'Notice was not created. Please try again.', 'buddypress' );
|
67 |
}
|
68 |
|
69 |
-
// Private conversation
|
70 |
} else {
|
71 |
|
72 |
-
// Filter recipients into the format we need - array( 'username/userid', 'username/userid' )
|
73 |
$autocomplete_recipients = (array) explode( ',', $_POST['send-to-input'] );
|
74 |
$typed_recipients = (array) explode( ' ', $_POST['send_to_usernames'] );
|
75 |
$recipients = array_merge( $autocomplete_recipients, $typed_recipients );
|
@@ -83,41 +83,42 @@ function bp_messages_action_create_message() {
|
|
83 |
*/
|
84 |
$recipients = apply_filters( 'bp_messages_recipients', $recipients );
|
85 |
|
86 |
-
// Attempt to send the message
|
87 |
-
$
|
88 |
'recipients' => $recipients,
|
89 |
'subject' => $_POST['subject'],
|
90 |
-
'content' => $_POST['content']
|
|
|
91 |
) );
|
92 |
|
93 |
-
// Send the message and redirect to it
|
94 |
-
if (
|
95 |
$success = true;
|
96 |
$feedback = __( 'Message successfully sent.', 'buddypress' );
|
97 |
$view = trailingslashit( $member_messages . 'view' );
|
98 |
-
$redirect_to = trailingslashit( $view . $
|
99 |
|
100 |
-
// Message could not be sent
|
101 |
} else {
|
102 |
$success = false;
|
103 |
-
$feedback =
|
104 |
}
|
105 |
}
|
106 |
}
|
107 |
|
108 |
-
// Feedback
|
109 |
if ( ! empty( $feedback ) ) {
|
110 |
|
111 |
-
// Determine message type
|
112 |
$type = ( true === $success )
|
113 |
? 'success'
|
114 |
: 'error';
|
115 |
|
116 |
-
// Add feedback message
|
117 |
bp_core_add_message( $feedback, $type );
|
118 |
}
|
119 |
|
120 |
-
// Maybe redirect
|
121 |
if ( ! empty( $redirect_to ) ) {
|
122 |
bp_core_redirect( $redirect_to );
|
123 |
}
|
@@ -125,7 +126,7 @@ function bp_messages_action_create_message() {
|
|
125 |
add_action( 'bp_actions', 'bp_messages_action_create_message' );
|
126 |
|
127 |
/**
|
128 |
-
* Handle editing of sitewide notices
|
129 |
*
|
130 |
* @since 2.4.0 This function was split from messages_screen_notices(). See #6505.
|
131 |
*
|
@@ -136,32 +137,32 @@ add_action( 'bp_actions', 'bp_messages_action_create_message' );
|
|
136 |
function bp_messages_action_edit_notice() {
|
137 |
global $notice_id;
|
138 |
|
139 |
-
// Bail if not viewing a single notice URL
|
140 |
if ( ! bp_is_messages_component() || ! bp_is_current_action( 'notices' ) || ! bp_action_variable( 1 ) ) {
|
141 |
return false;
|
142 |
}
|
143 |
|
144 |
-
// Get action variables
|
145 |
-
$action = bp_action_variable( 0 ); // deactivate|activate|delete
|
146 |
$notice_id = bp_action_variable( 1 ); // 1|2|3|etc...
|
147 |
|
148 |
-
// Bail if notice ID is not numeric
|
149 |
if ( ! is_numeric( $notice_id ) ) {
|
150 |
return;
|
151 |
}
|
152 |
|
153 |
-
// Define local variables
|
154 |
$redirect_to = '';
|
155 |
$feedback = '';
|
156 |
$success = false;
|
157 |
|
158 |
-
// Get the notice from database
|
159 |
$notice = new BP_Messages_Notice( $notice_id );
|
160 |
|
161 |
-
// Take action
|
162 |
switch ( $action ) {
|
163 |
|
164 |
-
// Deactivate
|
165 |
case 'deactivate' :
|
166 |
$success = $notice->deactivate();
|
167 |
$feedback = true === $success
|
@@ -169,7 +170,7 @@ function bp_messages_action_edit_notice() {
|
|
169 |
: __( 'There was a problem deactivating that notice.', 'buddypress' );
|
170 |
break;
|
171 |
|
172 |
-
// Activate
|
173 |
case 'activate' :
|
174 |
$success = $notice->activate();
|
175 |
$feedback = true === $success
|
@@ -177,7 +178,7 @@ function bp_messages_action_edit_notice() {
|
|
177 |
: __( 'There was a problem activating that notice.', 'buddypress' );
|
178 |
break;
|
179 |
|
180 |
-
// Delete
|
181 |
case 'delete' :
|
182 |
$success = $notice->delete();
|
183 |
$feedback = true === $success
|
@@ -186,19 +187,19 @@ function bp_messages_action_edit_notice() {
|
|
186 |
break;
|
187 |
}
|
188 |
|
189 |
-
// Feedback
|
190 |
if ( ! empty( $feedback ) ) {
|
191 |
|
192 |
-
// Determine message type
|
193 |
$type = ( true === $success )
|
194 |
? 'success'
|
195 |
: 'error';
|
196 |
|
197 |
-
// Add feedback message
|
198 |
bp_core_add_message( $feedback, $type );
|
199 |
}
|
200 |
|
201 |
-
// Redirect
|
202 |
$member_notices = trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() );
|
203 |
$redirect_to = trailingslashit( $member_notices . 'notices' );
|
204 |
|
@@ -211,22 +212,22 @@ add_action( 'bp_actions', 'bp_messages_action_edit_notice' );
|
|
211 |
*/
|
212 |
function messages_action_conversation() {
|
213 |
|
214 |
-
// Bail if not viewing a single conversation
|
215 |
if ( ! bp_is_messages_component() || ! bp_is_current_action( 'view' ) ) {
|
216 |
return false;
|
217 |
}
|
218 |
|
219 |
-
// Get the thread ID from the action variable
|
220 |
$thread_id = (int) bp_action_variable( 0 );
|
221 |
|
222 |
if ( ! messages_is_valid_thread( $thread_id ) || ( ! messages_check_thread_access( $thread_id ) && ! bp_current_user_can( 'bp_moderate' ) ) ) {
|
223 |
bp_core_redirect( trailingslashit( bp_displayed_user_domain() . bp_get_messages_slug() ) );
|
224 |
}
|
225 |
|
226 |
-
// Check if a new reply has been submitted
|
227 |
if ( isset( $_POST['send'] ) ) {
|
228 |
|
229 |
-
// Check the nonce
|
230 |
check_admin_referer( 'messages_send_message', 'send_message_nonce' );
|
231 |
|
232 |
$new_reply = messages_new_message( array(
|
@@ -235,7 +236,7 @@ function messages_action_conversation() {
|
|
235 |
'content' => $_POST['content']
|
236 |
) );
|
237 |
|
238 |
-
// Send the reply
|
239 |
if ( ! empty( $new_reply ) ) {
|
240 |
bp_core_add_message( __( 'Your reply was sent successfully', 'buddypress' ) );
|
241 |
} else {
|
@@ -245,7 +246,7 @@ function messages_action_conversation() {
|
|
245 |
bp_core_redirect( bp_displayed_user_domain() . bp_get_messages_slug() . '/view/' . $thread_id . '/' );
|
246 |
}
|
247 |
|
248 |
-
// Mark message read
|
249 |
messages_mark_thread_read( $thread_id );
|
250 |
|
251 |
/**
|
@@ -277,7 +278,7 @@ function messages_action_delete_message() {
|
|
277 |
return false;
|
278 |
}
|
279 |
|
280 |
-
// Delete message
|
281 |
if ( !messages_delete_thread( $thread_id ) ) {
|
282 |
bp_core_add_message( __('There was an error deleting that message.', 'buddypress'), 'error' );
|
283 |
} else {
|
22 |
*/
|
23 |
function bp_messages_action_create_message() {
|
24 |
|
25 |
+
// Bail if not posting to the compose message screen.
|
26 |
if ( ! bp_is_post_request() || ! bp_is_messages_component() || ! bp_is_current_action( 'compose' ) ) {
|
27 |
return false;
|
28 |
}
|
29 |
|
30 |
+
// Check the nonce.
|
31 |
check_admin_referer( 'messages_send_message' );
|
32 |
|
33 |
+
// Define local variables.
|
34 |
$redirect_to = '';
|
35 |
$feedback = '';
|
36 |
$success = false;
|
37 |
|
38 |
+
// Missing subject or content.
|
39 |
if ( empty( $_POST['subject'] ) || empty( $_POST['content'] ) ) {
|
40 |
$success = false;
|
41 |
|
45 |
$feedback = __( 'Your message was not sent. Please enter some content.', 'buddypress' );
|
46 |
}
|
47 |
|
48 |
+
// Subject and content present.
|
49 |
} else {
|
50 |
|
51 |
+
// Setup the link to the logged-in user's messages.
|
52 |
$member_messages = trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() );
|
53 |
|
54 |
+
// Site-wide notice.
|
55 |
if ( isset( $_POST['send-notice'] ) ) {
|
56 |
|
57 |
+
// Attempt to save the notice and redirect to notices.
|
58 |
if ( messages_send_notice( $_POST['subject'], $_POST['content'] ) ) {
|
59 |
$success = true;
|
60 |
$feedback = __( 'Notice successfully created.', 'buddypress' );
|
61 |
$redirect_to = trailingslashit( $member_messages . 'notices' );
|
62 |
|
63 |
+
// Notice could not be sent.
|
64 |
} else {
|
65 |
$success = false;
|
66 |
$feedback = __( 'Notice was not created. Please try again.', 'buddypress' );
|
67 |
}
|
68 |
|
69 |
+
// Private conversation.
|
70 |
} else {
|
71 |
|
72 |
+
// Filter recipients into the format we need - array( 'username/userid', 'username/userid' ).
|
73 |
$autocomplete_recipients = (array) explode( ',', $_POST['send-to-input'] );
|
74 |
$typed_recipients = (array) explode( ' ', $_POST['send_to_usernames'] );
|
75 |
$recipients = array_merge( $autocomplete_recipients, $typed_recipients );
|
83 |
*/
|
84 |
$recipients = apply_filters( 'bp_messages_recipients', $recipients );
|
85 |
|
86 |
+
// Attempt to send the message.
|
87 |
+
$send = messages_new_message( array(
|
88 |
'recipients' => $recipients,
|
89 |
'subject' => $_POST['subject'],
|
90 |
+
'content' => $_POST['content'],
|
91 |
+
'error_type' => 'wp_error'
|
92 |
) );
|
93 |
|
94 |
+
// Send the message and redirect to it.
|
95 |
+
if ( true === is_int( $send ) ) {
|
96 |
$success = true;
|
97 |
$feedback = __( 'Message successfully sent.', 'buddypress' );
|
98 |
$view = trailingslashit( $member_messages . 'view' );
|
99 |
+
$redirect_to = trailingslashit( $view . $send );
|
100 |
|
101 |
+
// Message could not be sent.
|
102 |
} else {
|
103 |
$success = false;
|
104 |
+
$feedback = $send->get_error_message();
|
105 |
}
|
106 |
}
|
107 |
}
|
108 |
|
109 |
+
// Feedback.
|
110 |
if ( ! empty( $feedback ) ) {
|
111 |
|
112 |
+
// Determine message type.
|
113 |
$type = ( true === $success )
|
114 |
? 'success'
|
115 |
: 'error';
|
116 |
|
117 |
+
// Add feedback message.
|
118 |
bp_core_add_message( $feedback, $type );
|
119 |
}
|
120 |
|
121 |
+
// Maybe redirect.
|
122 |
if ( ! empty( $redirect_to ) ) {
|
123 |
bp_core_redirect( $redirect_to );
|
124 |
}
|
126 |
add_action( 'bp_actions', 'bp_messages_action_create_message' );
|
127 |
|
128 |
/**
|
129 |
+
* Handle editing of sitewide notices.
|
130 |
*
|
131 |
* @since 2.4.0 This function was split from messages_screen_notices(). See #6505.
|
132 |
*
|
137 |
function bp_messages_action_edit_notice() {
|
138 |
global $notice_id;
|
139 |
|
140 |
+
// Bail if not viewing a single notice URL.
|
141 |
if ( ! bp_is_messages_component() || ! bp_is_current_action( 'notices' ) || ! bp_action_variable( 1 ) ) {
|
142 |
return false;
|
143 |
}
|
144 |
|
145 |
+
// Get action variables.
|
146 |
+
$action = bp_action_variable( 0 ); // deactivate|activate|delete.
|
147 |
$notice_id = bp_action_variable( 1 ); // 1|2|3|etc...
|
148 |
|
149 |
+
// Bail if notice ID is not numeric.
|
150 |
if ( ! is_numeric( $notice_id ) ) {
|
151 |
return;
|
152 |
}
|
153 |
|
154 |
+
// Define local variables.
|
155 |
$redirect_to = '';
|
156 |
$feedback = '';
|
157 |
$success = false;
|
158 |
|
159 |
+
// Get the notice from database.
|
160 |
$notice = new BP_Messages_Notice( $notice_id );
|
161 |
|
162 |
+
// Take action.
|
163 |
switch ( $action ) {
|
164 |
|
165 |
+
// Deactivate.
|
166 |
case 'deactivate' :
|
167 |
$success = $notice->deactivate();
|
168 |
$feedback = true === $success
|
170 |
: __( 'There was a problem deactivating that notice.', 'buddypress' );
|
171 |
break;
|
172 |
|
173 |
+
// Activate.
|
174 |
case 'activate' :
|
175 |
$success = $notice->activate();
|
176 |
$feedback = true === $success
|
178 |
: __( 'There was a problem activating that notice.', 'buddypress' );
|
179 |
break;
|
180 |
|
181 |
+
// Delete.
|
182 |
case 'delete' :
|
183 |
$success = $notice->delete();
|
184 |
$feedback = true === $success
|
187 |
break;
|
188 |
}
|
189 |
|
190 |
+
// Feedback.
|
191 |
if ( ! empty( $feedback ) ) {
|
192 |
|
193 |
+
// Determine message type.
|
194 |
$type = ( true === $success )
|
195 |
? 'success'
|
196 |
: 'error';
|
197 |
|
198 |
+
// Add feedback message.
|
199 |
bp_core_add_message( $feedback, $type );
|
200 |
}
|
201 |
|
202 |
+
// Redirect.
|
203 |
$member_notices = trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() );
|
204 |
$redirect_to = trailingslashit( $member_notices . 'notices' );
|
205 |
|
212 |
*/
|
213 |
function messages_action_conversation() {
|
214 |
|
215 |
+
// Bail if not viewing a single conversation.
|
216 |
if ( ! bp_is_messages_component() || ! bp_is_current_action( 'view' ) ) {
|
217 |
return false;
|
218 |
}
|
219 |
|
220 |
+
// Get the thread ID from the action variable.
|
221 |
$thread_id = (int) bp_action_variable( 0 );
|
222 |
|
223 |
if ( ! messages_is_valid_thread( $thread_id ) || ( ! messages_check_thread_access( $thread_id ) && ! bp_current_user_can( 'bp_moderate' ) ) ) {
|
224 |
bp_core_redirect( trailingslashit( bp_displayed_user_domain() . bp_get_messages_slug() ) );
|
225 |
}
|
226 |
|
227 |
+
// Check if a new reply has been submitted.
|
228 |
if ( isset( $_POST['send'] ) ) {
|
229 |
|
230 |
+
// Check the nonce.
|
231 |
check_admin_referer( 'messages_send_message', 'send_message_nonce' );
|
232 |
|
233 |
$new_reply = messages_new_message( array(
|
236 |
'content' => $_POST['content']
|
237 |
) );
|
238 |
|
239 |
+
// Send the reply.
|
240 |
if ( ! empty( $new_reply ) ) {
|
241 |
bp_core_add_message( __( 'Your reply was sent successfully', 'buddypress' ) );
|
242 |
} else {
|
246 |
bp_core_redirect( bp_displayed_user_domain() . bp_get_messages_slug() . '/view/' . $thread_id . '/' );
|
247 |
}
|
248 |
|
249 |
+
// Mark message read.
|
250 |
messages_mark_thread_read( $thread_id );
|
251 |
|
252 |
/**
|
278 |
return false;
|
279 |
}
|
280 |
|
281 |
+
// Delete message.
|
282 |
if ( !messages_delete_thread( $thread_id ) ) {
|
283 |
bp_core_add_message( __('There was an error deleting that message.', 'buddypress'), 'error' );
|
284 |
} else {
|
@@ -35,12 +35,12 @@ function bp_messages_update_meta_cache( $message_ids = false ) {
|
|
35 |
) );
|
36 |
}
|
37 |
|
38 |
-
// List actions to clear super cached pages on, if super cache is installed
|
39 |
add_action( 'messages_delete_thread', 'bp_core_clear_cache' );
|
40 |
add_action( 'messages_send_notice', 'bp_core_clear_cache' );
|
41 |
add_action( 'messages_message_sent', 'bp_core_clear_cache' );
|
42 |
|
43 |
-
// Don't cache message inbox/sentbox/compose as it's too problematic
|
44 |
add_action( 'messages_screen_compose', 'bp_core_clear_cache' );
|
45 |
add_action( 'messages_screen_sentbox', 'bp_core_clear_cache' );
|
46 |
add_action( 'messages_screen_inbox', 'bp_core_clear_cache' );
|
@@ -50,18 +50,18 @@ add_action( 'messages_screen_inbox', 'bp_core_clear_cache' );
|
|
50 |
*
|
51 |
* @since 2.0.0
|
52 |
*
|
53 |
-
* @param BP_Messages_Message $message
|
54 |
*/
|
55 |
function bp_messages_clear_cache_on_message_save( BP_Messages_Message $message ) {
|
56 |
-
// Delete thread cache
|
57 |
wp_cache_delete( $message->thread_id, 'bp_messages_threads' );
|
58 |
|
59 |
-
// Delete unread count for each recipient
|
60 |
foreach ( (array) $message->recipients as $recipient ) {
|
61 |
wp_cache_delete( $recipient->user_id, 'bp_messages_unread_count' );
|
62 |
}
|
63 |
|
64 |
-
// Delete thread recipient cache
|
65 |
wp_cache_delete( 'thread_recipients_' . $message->thread_id, 'bp_messages' );
|
66 |
}
|
67 |
add_action( 'messages_message_after_save', 'bp_messages_clear_cache_on_message_save' );
|
@@ -75,13 +75,13 @@ add_action( 'messages_message_after_save', 'bp_messages_clear_cache_on_message_s
|
|
75 |
* Otherwise, an array of thread IDs.
|
76 |
*/
|
77 |
function bp_messages_clear_cache_on_message_delete( $thread_ids ) {
|
78 |
-
// Delete thread and thread recipient cache
|
79 |
foreach( (array) $thread_ids as $thread_id ) {
|
80 |
wp_cache_delete( $thread_id, 'bp_messages_threads' );
|
81 |
wp_cache_delete( "thread_recipients_{$thread_id}", 'bp_messages' );
|
82 |
}
|
83 |
|
84 |
-
// Delete unread count for logged-in user
|
85 |
wp_cache_delete( bp_loggedin_user_id(), 'bp_messages_unread_count' );
|
86 |
}
|
87 |
add_action( 'messages_delete_thread', 'bp_messages_clear_cache_on_message_delete' );
|
@@ -93,7 +93,7 @@ add_action( 'messages_delete_thread', 'bp_messages_clear_cache_on_message_delete
|
|
93 |
*
|
94 |
* @since 2.0.0
|
95 |
*
|
96 |
-
* @param BP_Messages_Notice $notice
|
97 |
*/
|
98 |
function bp_notices_clear_cache( $notice ) {
|
99 |
wp_cache_delete( 'active_notice', 'bp_messages' );
|
35 |
) );
|
36 |
}
|
37 |
|
38 |
+
// List actions to clear super cached pages on, if super cache is installed.
|
39 |
add_action( 'messages_delete_thread', 'bp_core_clear_cache' );
|
40 |
add_action( 'messages_send_notice', 'bp_core_clear_cache' );
|
41 |
add_action( 'messages_message_sent', 'bp_core_clear_cache' );
|
42 |
|
43 |
+
// Don't cache message inbox/sentbox/compose as it's too problematic.
|
44 |
add_action( 'messages_screen_compose', 'bp_core_clear_cache' );
|
45 |
add_action( 'messages_screen_sentbox', 'bp_core_clear_cache' );
|
46 |
add_action( 'messages_screen_inbox', 'bp_core_clear_cache' );
|
50 |
*
|
51 |
* @since 2.0.0
|
52 |
*
|
53 |
+
* @param BP_Messages_Message $message Message being saved.
|
54 |
*/
|
55 |
function bp_messages_clear_cache_on_message_save( BP_Messages_Message $message ) {
|
56 |
+
// Delete thread cache.
|
57 |
wp_cache_delete( $message->thread_id, 'bp_messages_threads' );
|
58 |
|
59 |
+
// Delete unread count for each recipient.
|
60 |
foreach ( (array) $message->recipients as $recipient ) {
|
61 |
wp_cache_delete( $recipient->user_id, 'bp_messages_unread_count' );
|
62 |
}
|
63 |
|
64 |
+
// Delete thread recipient cache.
|
65 |
wp_cache_delete( 'thread_recipients_' . $message->thread_id, 'bp_messages' );
|
66 |
}
|
67 |
add_action( 'messages_message_after_save', 'bp_messages_clear_cache_on_message_save' );
|
75 |
* Otherwise, an array of thread IDs.
|
76 |
*/
|
77 |
function bp_messages_clear_cache_on_message_delete( $thread_ids ) {
|
78 |
+
// Delete thread and thread recipient cache.
|
79 |
foreach( (array) $thread_ids as $thread_id ) {
|
80 |
wp_cache_delete( $thread_id, 'bp_messages_threads' );
|
81 |
wp_cache_delete( "thread_recipients_{$thread_id}", 'bp_messages' );
|
82 |
}
|
83 |
|
84 |
+
// Delete unread count for logged-in user.
|
85 |
wp_cache_delete( bp_loggedin_user_id(), 'bp_messages_unread_count' );
|
86 |
}
|
87 |
add_action( 'messages_delete_thread', 'bp_messages_clear_cache_on_message_delete' );
|
93 |
*
|
94 |
* @since 2.0.0
|
95 |
*
|
96 |
+
* @param BP_Messages_Notice $notice Notice that was saved.
|
97 |
*/
|
98 |
function bp_notices_clear_cache( $notice ) {
|
99 |
wp_cache_delete( 'active_notice', 'bp_messages' );
|
@@ -74,10 +74,11 @@ add_filter( 'bp_get_the_thread_subject', 'stripslashes_deep' );
|
|
74 |
* @see bp_has_message_threads() for description of parameters
|
75 |
*
|
76 |
* @param array|string $args See {@link bp_has_message_threads()}.
|
|
|
77 |
*/
|
78 |
function bp_messages_enforce_current_user( $args = array() ) {
|
79 |
|
80 |
-
// Non-community moderators can only ever see their own messages
|
81 |
if ( is_user_logged_in() && ! bp_current_user_can( 'bp_moderate' ) ) {
|
82 |
$_user_id = (int) bp_loggedin_user_id();
|
83 |
if ( $_user_id !== (int) $args['user_id'] ) {
|
@@ -85,7 +86,7 @@ function bp_messages_enforce_current_user( $args = array() ) {
|
|
85 |
}
|
86 |
}
|
87 |
|
88 |
-
// Return possibly modified $args array
|
89 |
return $args;
|
90 |
}
|
91 |
add_filter( 'bp_after_has_message_threads_parse_args', 'bp_messages_enforce_current_user', 5 );
|
74 |
* @see bp_has_message_threads() for description of parameters
|
75 |
*
|
76 |
* @param array|string $args See {@link bp_has_message_threads()}.
|
77 |
+
* @return array
|
78 |
*/
|
79 |
function bp_messages_enforce_current_user( $args = array() ) {
|
80 |
|
81 |
+
// Non-community moderators can only ever see their own messages.
|
82 |
if ( is_user_logged_in() && ! bp_current_user_can( 'bp_moderate' ) ) {
|
83 |
$_user_id = (int) bp_loggedin_user_id();
|
84 |
if ( $_user_id !== (int) $args['user_id'] ) {
|
86 |
}
|
87 |
}
|
88 |
|
89 |
+
// Return possibly modified $args array.
|
90 |
return $args;
|
91 |
}
|
92 |
add_filter( 'bp_after_has_message_threads_parse_args', 'bp_messages_enforce_current_user', 5 );
|
@@ -17,6 +17,8 @@ defined( 'ABSPATH' ) || exit;
|
|
17 |
/**
|
18 |
* Create a new message.
|
19 |
*
|
|
|
|
|
20 |
* @param array|string $args {
|
21 |
* Array of arguments.
|
22 |
* @type int $sender_id Optional. ID of the user who is sending the
|
@@ -31,27 +33,42 @@ defined( 'ABSPATH' ) || exit;
|
|
31 |
* threads, 'No Subject' will be used if no $subject is provided.
|
32 |
* @type string $content Content of the message. Cannot be empty.
|
33 |
* @type string $date_sent Date sent, in 'Y-m-d H:i:s' format. Default: current date/time.
|
|
|
34 |
* }
|
35 |
* @return int|bool ID of the message thread on success, false on failure.
|
36 |
*/
|
37 |
function messages_new_message( $args = '' ) {
|
38 |
|
39 |
-
// Parse the default arguments
|
40 |
$r = bp_parse_args( $args, array(
|
41 |
'sender_id' => bp_loggedin_user_id(),
|
42 |
-
'thread_id' => false, //
|
43 |
'recipients' => array(), // Can be an array of usernames, user_ids or mixed.
|
44 |
'subject' => false,
|
45 |
'content' => false,
|
46 |
-
'date_sent' => bp_core_current_time()
|
|
|
47 |
), 'messages_new_message' );
|
48 |
|
49 |
-
// Bail if no sender or no content
|
50 |
if ( empty( $r['sender_id'] ) || empty( $r['content'] ) ) {
|
51 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
}
|
53 |
|
54 |
-
// Create a new message object
|
55 |
$message = new BP_Messages_Message;
|
56 |
$message->thread_id = $r['thread_id'];
|
57 |
$message->sender_id = $r['sender_id'];
|
@@ -72,7 +89,7 @@ function messages_new_message( $args = '' ) {
|
|
72 |
unset( $message->recipients[ $r['sender_id'] ] );
|
73 |
}
|
74 |
|
75 |
-
// Set a default reply subject if none was sent
|
76 |
if ( empty( $message->subject ) ) {
|
77 |
$message->subject = sprintf( __( 'Re: %s', 'buddypress' ), $thread->messages[0]->subject );
|
78 |
}
|
@@ -80,47 +97,51 @@ function messages_new_message( $args = '' ) {
|
|
80 |
// ...otherwise use the recipients passed
|
81 |
} else {
|
82 |
|
83 |
-
// Bail if no recipients
|
84 |
if ( empty( $r['recipients'] ) ) {
|
85 |
-
|
|
|
|
|
|
|
|
|
86 |
}
|
87 |
|
88 |
-
// Set a default subject if none exists
|
89 |
if ( empty( $message->subject ) ) {
|
90 |
$message->subject = __( 'No Subject', 'buddypress' );
|
91 |
}
|
92 |
|
93 |
-
// Setup the recipients array
|
94 |
$recipient_ids = array();
|
95 |
|
96 |
-
// Invalid recipients are added to an array, for future enhancements
|
97 |
$invalid_recipients = array();
|
98 |
|
99 |
-
// Loop the recipients and convert all usernames to user_ids where needed
|
100 |
foreach( (array) $r['recipients'] as $recipient ) {
|
101 |
|
102 |
-
// Trim spaces and skip if empty
|
103 |
$recipient = trim( $recipient );
|
104 |
if ( empty( $recipient ) ) {
|
105 |
continue;
|
106 |
}
|
107 |
|
108 |
// Check user_login / nicename columns first
|
109 |
-
// @see http://buddypress.trac.wordpress.org/ticket/5151
|
110 |
if ( bp_is_username_compatibility_mode() ) {
|
111 |
$recipient_id = bp_core_get_userid( urldecode( $recipient ) );
|
112 |
} else {
|
113 |
$recipient_id = bp_core_get_userid_from_nicename( $recipient );
|
114 |
}
|
115 |
|
116 |
-
// Check against user ID column if no match and if passed recipient is numeric
|
117 |
if ( empty( $recipient_id ) && is_numeric( $recipient ) ) {
|
118 |
if ( bp_core_get_core_userdata( (int) $recipient ) ) {
|
119 |
$recipient_id = (int) $recipient;
|
120 |
}
|
121 |
}
|
122 |
|
123 |
-
// Decide which group to add this recipient to
|
124 |
if ( empty( $recipient_id ) ) {
|
125 |
$invalid_recipients[] = $recipient;
|
126 |
} else {
|
@@ -135,20 +156,24 @@ function messages_new_message( $args = '' ) {
|
|
135 |
unset( $recipient_ids[ $self_send ] );
|
136 |
}
|
137 |
|
138 |
-
// Remove duplicates & bail if no recipients
|
139 |
$recipient_ids = array_unique( $recipient_ids );
|
140 |
if ( empty( $recipient_ids ) ) {
|
141 |
-
|
|
|
|
|
|
|
|
|
142 |
}
|
143 |
|
144 |
-
// Format this to match existing recipients
|
145 |
foreach( (array) $recipient_ids as $i => $recipient_id ) {
|
146 |
$message->recipients[$i] = new stdClass;
|
147 |
$message->recipients[$i]->user_id = $recipient_id;
|
148 |
}
|
149 |
}
|
150 |
|
151 |
-
// Bail if message failed to send
|
152 |
if ( ! $message->send() ) {
|
153 |
return false;
|
154 |
}
|
@@ -162,7 +187,7 @@ function messages_new_message( $args = '' ) {
|
|
162 |
*/
|
163 |
do_action_ref_array( 'messages_message_sent', array( &$message ) );
|
164 |
|
165 |
-
// Return the thread ID
|
166 |
return $message->thread_id;
|
167 |
}
|
168 |
|
@@ -171,7 +196,6 @@ function messages_new_message( $args = '' ) {
|
|
171 |
*
|
172 |
* @param string $subject Subject of the notice.
|
173 |
* @param string $message Content of the notice.
|
174 |
-
*
|
175 |
* @return bool True on success, false on failure.
|
176 |
*/
|
177 |
function messages_send_notice( $subject, $message ) {
|
@@ -185,7 +209,7 @@ function messages_send_notice( $subject, $message ) {
|
|
185 |
$notice->message = $message;
|
186 |
$notice->date_sent = bp_core_current_time();
|
187 |
$notice->is_active = 1;
|
188 |
-
$notice->save(); //
|
189 |
|
190 |
/**
|
191 |
* Fires after a notice has been successfully sent.
|
@@ -204,8 +228,7 @@ function messages_send_notice( $subject, $message ) {
|
|
204 |
/**
|
205 |
* Delete message thread(s).
|
206 |
*
|
207 |
-
* @param int|array Thread ID or array of thread IDs.
|
208 |
-
*
|
209 |
* @return bool True on success, false on failure.
|
210 |
*/
|
211 |
function messages_delete_thread( $thread_ids ) {
|
@@ -258,7 +281,6 @@ function messages_delete_thread( $thread_ids ) {
|
|
258 |
*
|
259 |
* @param int $thread_id ID of the thread.
|
260 |
* @param int $user_id Optional. ID of the user. Default: ID of the logged-in user.
|
261 |
-
*
|
262 |
* @return int|null Message ID if the user has access, otherwise null.
|
263 |
*/
|
264 |
function messages_check_thread_access( $thread_id, $user_id = 0 ) {
|
@@ -323,7 +345,6 @@ function messages_remove_callback_values() {
|
|
323 |
* Get the unread messages count for a user.
|
324 |
*
|
325 |
* @param int $user_id Optional. ID of the user. Default: ID of the logged-in user.
|
326 |
-
*
|
327 |
* @return int
|
328 |
*/
|
329 |
function messages_get_unread_count( $user_id = 0 ) {
|
@@ -339,7 +360,6 @@ function messages_get_unread_count( $user_id = 0 ) {
|
|
339 |
*
|
340 |
* @param int $user_id ID of the user.
|
341 |
* @param int $message_id ID of the message.
|
342 |
-
*
|
343 |
* @return int|null Returns the ID of the message if the user is the
|
344 |
* sender, otherwise null.
|
345 |
*/
|
@@ -351,7 +371,6 @@ function messages_is_user_sender( $user_id, $message_id ) {
|
|
351 |
* Get the ID of the sender of a message.
|
352 |
*
|
353 |
* @param int $message_id ID of the message.
|
354 |
-
*
|
355 |
* @return int|null The ID of the sender if found, otherwise null.
|
356 |
*/
|
357 |
function messages_get_message_sender( $message_id ) {
|
@@ -362,7 +381,6 @@ function messages_get_message_sender( $message_id ) {
|
|
362 |
* Check whether a message thread exists.
|
363 |
*
|
364 |
* @param int $thread_id ID of the thread.
|
365 |
-
*
|
366 |
* @return int|null The message thread ID on success, null on failure.
|
367 |
*/
|
368 |
function messages_is_valid_thread( $thread_id ) {
|
@@ -400,23 +418,22 @@ function messages_get_message_thread_id( $message_id = 0 ) {
|
|
400 |
* @param string|bool $meta_key Meta key to delete. Default false.
|
401 |
* @param string|bool $meta_value Meta value to delete. Default false.
|
402 |
* @param bool $delete_all Whether or not to delete all meta data.
|
403 |
-
*
|
404 |
* @return bool
|
405 |
*/
|
406 |
function bp_messages_delete_meta( $message_id, $meta_key = false, $meta_value = false, $delete_all = false ) {
|
407 |
-
// Legacy - if no meta_key is passed, delete all for the item
|
408 |
if ( empty( $meta_key ) ) {
|
409 |
global $wpdb;
|
410 |
|
411 |
$keys = $wpdb->get_col( $wpdb->prepare( "SELECT meta_key FROM {$wpdb->messagemeta} WHERE message_id = %d", $message_id ) );
|
412 |
|
413 |
-
// With no meta_key, ignore $delete_all
|
414 |
$delete_all = false;
|
415 |
} else {
|
416 |
$keys = array( $meta_key );
|
417 |
}
|
418 |
|
419 |
-
//
|
420 |
if ( empty( $keys ) ) {
|
421 |
return false;
|
422 |
}
|
@@ -442,7 +459,6 @@ function bp_messages_delete_meta( $message_id, $meta_key = false, $meta_value =
|
|
442 |
* @param int $message_id ID of the message to retrieve meta for.
|
443 |
* @param string $meta_key Meta key to retrieve. Default empty string.
|
444 |
* @param bool $single Whether or not to fetch all or a single value.
|
445 |
-
*
|
446 |
* @return mixed
|
447 |
*/
|
448 |
function bp_messages_get_meta( $message_id, $meta_key = '', $single = true ) {
|
@@ -464,8 +480,7 @@ function bp_messages_get_meta( $message_id, $meta_key = '', $single = true ) {
|
|
464 |
* @param string|bool $meta_key Meta key to update.
|
465 |
* @param string|bool $meta_value Meta value to update.
|
466 |
* @param string $prev_value If specified, only update existing metadata entries with
|
467 |
-
*
|
468 |
-
*
|
469 |
* @return mixed
|
470 |
*/
|
471 |
function bp_messages_update_meta( $message_id, $meta_key, $meta_value, $prev_value = '' ) {
|
@@ -487,8 +502,8 @@ function bp_messages_update_meta( $message_id, $meta_key, $meta_value, $prev_val
|
|
487 |
* @param string|bool $meta_key Meta key to update.
|
488 |
* @param string|bool $meta_value Meta value to update.
|
489 |
* @param bool $unique Whether the specified metadata key should be
|
490 |
-
*
|
491 |
-
*
|
492 |
* no change will be made.
|
493 |
* @return mixed
|
494 |
*/
|
17 |
/**
|
18 |
* Create a new message.
|
19 |
*
|
20 |
+
* @since 2.4.0 Added 'error_type' as an additional $args parameter.
|
21 |
+
*
|
22 |
* @param array|string $args {
|
23 |
* Array of arguments.
|
24 |
* @type int $sender_id Optional. ID of the user who is sending the
|
33 |
* threads, 'No Subject' will be used if no $subject is provided.
|
34 |
* @type string $content Content of the message. Cannot be empty.
|
35 |
* @type string $date_sent Date sent, in 'Y-m-d H:i:s' format. Default: current date/time.
|
36 |
+
* @type string $error_type Optional. Error type. Either 'bool' or 'wp_error'. Default: 'bool'.
|
37 |
* }
|
38 |
* @return int|bool ID of the message thread on success, false on failure.
|
39 |
*/
|
40 |
function messages_new_message( $args = '' ) {
|
41 |
|
42 |
+
// Parse the default arguments.
|
43 |
$r = bp_parse_args( $args, array(
|
44 |
'sender_id' => bp_loggedin_user_id(),
|
45 |
+
'thread_id' => false, // False for a new message, thread id for a reply to a thread.
|
46 |
'recipients' => array(), // Can be an array of usernames, user_ids or mixed.
|
47 |
'subject' => false,
|
48 |
'content' => false,
|
49 |
+
'date_sent' => bp_core_current_time(),
|
50 |
+
'error_type' => 'bool'
|
51 |
), 'messages_new_message' );
|
52 |
|
53 |
+
// Bail if no sender or no content.
|
54 |
if ( empty( $r['sender_id'] ) || empty( $r['content'] ) ) {
|
55 |
+
if ( 'wp_error' === $r['error_type'] ) {
|
56 |
+
if ( empty( $r['sender_id'] ) ) {
|
57 |
+
$error_code = 'messages_empty_sender';
|
58 |
+
$feedback = __( 'Your message was not sent. Please use a valid sender.', 'buddypress' );
|
59 |
+
} else {
|
60 |
+
$error_code = 'messages_empty_content';
|
61 |
+
$feedback = __( 'Your message was not sent. Please enter some content.', 'buddypress' );
|
62 |
+
}
|
63 |
+
|
64 |
+
return new WP_Error( $error_code, $feedback );
|
65 |
+
|
66 |
+
} else {
|
67 |
+
return false;
|
68 |
+
}
|
69 |
}
|
70 |
|
71 |
+
// Create a new message object.
|
72 |
$message = new BP_Messages_Message;
|
73 |
$message->thread_id = $r['thread_id'];
|
74 |
$message->sender_id = $r['sender_id'];
|
89 |
unset( $message->recipients[ $r['sender_id'] ] );
|
90 |
}
|
91 |
|
92 |
+
// Set a default reply subject if none was sent.
|
93 |
if ( empty( $message->subject ) ) {
|
94 |
$message->subject = sprintf( __( 'Re: %s', 'buddypress' ), $thread->messages[0]->subject );
|
95 |
}
|
97 |
// ...otherwise use the recipients passed
|
98 |
} else {
|
99 |
|
100 |
+
// Bail if no recipients.
|
101 |
if ( empty( $r['recipients'] ) ) {
|
102 |
+
if ( 'wp_error' === $r['error_type'] ) {
|
103 |
+
return new WP_Error( 'message_empty_recipients', __( 'Message could not be sent. Please enter a recipient.', 'buddypress' ) );
|
104 |
+
} else {
|
105 |
+
return false;
|
106 |
+
}
|
107 |
}
|
108 |
|
109 |
+
// Set a default subject if none exists.
|
110 |
if ( empty( $message->subject ) ) {
|
111 |
$message->subject = __( 'No Subject', 'buddypress' );
|
112 |
}
|
113 |
|
114 |
+
// Setup the recipients array.
|
115 |
$recipient_ids = array();
|
116 |
|
117 |
+
// Invalid recipients are added to an array, for future enhancements.
|
118 |
$invalid_recipients = array();
|
119 |
|
120 |
+
// Loop the recipients and convert all usernames to user_ids where needed.
|
121 |
foreach( (array) $r['recipients'] as $recipient ) {
|
122 |
|
123 |
+
// Trim spaces and skip if empty.
|
124 |
$recipient = trim( $recipient );
|
125 |
if ( empty( $recipient ) ) {
|
126 |
continue;
|
127 |
}
|
128 |
|
129 |
// Check user_login / nicename columns first
|
130 |
+
// @see http://buddypress.trac.wordpress.org/ticket/5151.
|
131 |
if ( bp_is_username_compatibility_mode() ) {
|
132 |
$recipient_id = bp_core_get_userid( urldecode( $recipient ) );
|
133 |
} else {
|
134 |
$recipient_id = bp_core_get_userid_from_nicename( $recipient );
|
135 |
}
|
136 |
|
137 |
+
// Check against user ID column if no match and if passed recipient is numeric.
|
138 |
if ( empty( $recipient_id ) && is_numeric( $recipient ) ) {
|
139 |
if ( bp_core_get_core_userdata( (int) $recipient ) ) {
|
140 |
$recipient_id = (int) $recipient;
|
141 |
}
|
142 |
}
|
143 |
|
144 |
+
// Decide which group to add this recipient to.
|
145 |
if ( empty( $recipient_id ) ) {
|
146 |
$invalid_recipients[] = $recipient;
|
147 |
} else {
|
156 |
unset( $recipient_ids[ $self_send ] );
|
157 |
}
|
158 |
|
159 |
+
// Remove duplicates & bail if no recipients.
|
160 |
$recipient_ids = array_unique( $recipient_ids );
|
161 |
if ( empty( $recipient_ids ) ) {
|
162 |
+
if ( 'wp_error' === $r['error_type'] ) {
|
163 |
+
return new WP_Error( 'message_invalid_recipients', __( 'Message could not be sent because you have entered an invalid username. Please try again.', 'buddypress' ) );
|
164 |
+
} else {
|
165 |
+
return false;
|
166 |
+
}
|
167 |
}
|
168 |
|
169 |
+
// Format this to match existing recipients.
|
170 |
foreach( (array) $recipient_ids as $i => $recipient_id ) {
|
171 |
$message->recipients[$i] = new stdClass;
|
172 |
$message->recipients[$i]->user_id = $recipient_id;
|
173 |
}
|
174 |
}
|
175 |
|
176 |
+
// Bail if message failed to send.
|
177 |
if ( ! $message->send() ) {
|
178 |
return false;
|
179 |
}
|
187 |
*/
|
188 |
do_action_ref_array( 'messages_message_sent', array( &$message ) );
|
189 |
|
190 |
+
// Return the thread ID.
|
191 |
return $message->thread_id;
|
192 |
}
|
193 |
|
196 |
*
|
197 |
* @param string $subject Subject of the notice.
|
198 |
* @param string $message Content of the notice.
|
|
|
199 |
* @return bool True on success, false on failure.
|
200 |
*/
|
201 |
function messages_send_notice( $subject, $message ) {
|
209 |
$notice->message = $message;
|
210 |
$notice->date_sent = bp_core_current_time();
|
211 |
$notice->is_active = 1;
|
212 |
+
$notice->save(); // Send it.
|
213 |
|
214 |
/**
|
215 |
* Fires after a notice has been successfully sent.
|
228 |
/**
|
229 |
* Delete message thread(s).
|
230 |
*
|
231 |
+
* @param int|array $thread_ids Thread ID or array of thread IDs.
|
|
|
232 |
* @return bool True on success, false on failure.
|
233 |
*/
|
234 |
function messages_delete_thread( $thread_ids ) {
|
281 |
*
|
282 |
* @param int $thread_id ID of the thread.
|
283 |
* @param int $user_id Optional. ID of the user. Default: ID of the logged-in user.
|
|
|
284 |
* @return int|null Message ID if the user has access, otherwise null.
|
285 |
*/
|
286 |
function messages_check_thread_access( $thread_id, $user_id = 0 ) {
|
345 |
* Get the unread messages count for a user.
|
346 |
*
|
347 |
* @param int $user_id Optional. ID of the user. Default: ID of the logged-in user.
|
|
|
348 |
* @return int
|
349 |
*/
|
350 |
function messages_get_unread_count( $user_id = 0 ) {
|
360 |
*
|
361 |
* @param int $user_id ID of the user.
|
362 |
* @param int $message_id ID of the message.
|
|
|
363 |
* @return int|null Returns the ID of the message if the user is the
|
364 |
* sender, otherwise null.
|
365 |
*/
|
371 |
* Get the ID of the sender of a message.
|
372 |
*
|
373 |
* @param int $message_id ID of the message.
|
|
|
374 |
* @return int|null The ID of the sender if found, otherwise null.
|
375 |
*/
|
376 |
function messages_get_message_sender( $message_id ) {
|
381 |
* Check whether a message thread exists.
|
382 |
*
|
383 |
* @param int $thread_id ID of the thread.
|
|
|
384 |
* @return int|null The message thread ID on success, null on failure.
|
385 |
*/
|
386 |
function messages_is_valid_thread( $thread_id ) {
|
418 |
* @param string|bool $meta_key Meta key to delete. Default false.
|
419 |
* @param string|bool $meta_value Meta value to delete. Default false.
|
420 |
* @param bool $delete_all Whether or not to delete all meta data.
|
|
|
421 |
* @return bool
|
422 |
*/
|
423 |
function bp_messages_delete_meta( $message_id, $meta_key = false, $meta_value = false, $delete_all = false ) {
|
424 |
+
// Legacy - if no meta_key is passed, delete all for the item.
|
425 |
if ( empty( $meta_key ) ) {
|
426 |
global $wpdb;
|
427 |
|
428 |
$keys = $wpdb->get_col( $wpdb->prepare( "SELECT meta_key FROM {$wpdb->messagemeta} WHERE message_id = %d", $message_id ) );
|
429 |
|
430 |
+
// With no meta_key, ignore $delete_all.
|
431 |
$delete_all = false;
|
432 |
} else {
|
433 |
$keys = array( $meta_key );
|
434 |
}
|
435 |
|
436 |
+
// No keys, so stop now!
|
437 |
if ( empty( $keys ) ) {
|
438 |
return false;
|
439 |
}
|
459 |
* @param int $message_id ID of the message to retrieve meta for.
|
460 |
* @param string $meta_key Meta key to retrieve. Default empty string.
|
461 |
* @param bool $single Whether or not to fetch all or a single value.
|
|
|
462 |
* @return mixed
|
463 |
*/
|
464 |
function bp_messages_get_meta( $message_id, $meta_key = '', $single = true ) {
|
480 |
* @param string|bool $meta_key Meta key to update.
|
481 |
* @param string|bool $meta_value Meta value to update.
|
482 |
* @param string $prev_value If specified, only update existing metadata entries with
|
483 |
+
* the specified value. Otherwise, update all entries.
|
|
|
484 |
* @return mixed
|
485 |
*/
|
486 |
function bp_messages_update_meta( $message_id, $meta_key, $meta_value, $prev_value = '' ) {
|
502 |
* @param string|bool $meta_key Meta key to update.
|
503 |
* @param string|bool $meta_value Meta value to update.
|
504 |
* @param bool $unique Whether the specified metadata key should be
|
505 |
+
* unique for the object. If true, and the object
|
506 |
+
* already has a value for the specified metadata key,
|
507 |
* no change will be made.
|
508 |
* @return mixed
|
509 |
*/
|
@@ -53,7 +53,7 @@ class BP_Messages_Component extends BP_Component {
|
|
53 |
*/
|
54 |
public function includes( $includes = array() ) {
|
55 |
|
56 |
-
// Files to include
|
57 |
$includes = array(
|
58 |
'cssjs',
|
59 |
'cache',
|
@@ -67,7 +67,7 @@ class BP_Messages_Component extends BP_Component {
|
|
67 |
'widgets',
|
68 |
);
|
69 |
|
70 |
-
// Conditional includes
|
71 |
if ( bp_is_active( $this->id, 'star' ) ) {
|
72 |
$includes[] = 'star';
|
73 |
}
|
@@ -88,12 +88,12 @@ class BP_Messages_Component extends BP_Component {
|
|
88 |
public function setup_globals( $args = array() ) {
|
89 |
$bp = buddypress();
|
90 |
|
91 |
-
// Define a slug, if necessary
|
92 |
if ( ! defined( 'BP_MESSAGES_SLUG' ) ) {
|
93 |
define( 'BP_MESSAGES_SLUG', $this->id );
|
94 |
}
|
95 |
|
96 |
-
// Global tables for messaging component
|
97 |
$global_tables = array(
|
98 |
'table_name_notices' => $bp->table_prefix . 'bp_messages_notices',
|
99 |
'table_name_messages' => $bp->table_prefix . 'bp_messages_messages',
|
@@ -101,7 +101,7 @@ class BP_Messages_Component extends BP_Component {
|
|
101 |
'table_name_meta' => $bp->table_prefix . 'bp_messages_meta',
|
102 |
);
|
103 |
|
104 |
-
// Metadata tables for messaging component
|
105 |
$meta_tables = array(
|
106 |
'message' => $bp->table_prefix . 'bp_messages_meta',
|
107 |
);
|
@@ -128,7 +128,7 @@ class BP_Messages_Component extends BP_Component {
|
|
128 |
*/
|
129 |
public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
|
130 |
|
131 |
-
// Determine user to use
|
132 |
if ( bp_displayed_user_domain() ) {
|
133 |
$user_domain = bp_displayed_user_domain();
|
134 |
} elseif ( bp_loggedin_user_domain() ) {
|
@@ -141,7 +141,7 @@ class BP_Messages_Component extends BP_Component {
|
|
141 |
$slug = bp_get_messages_slug();
|
142 |
$messages_link = trailingslashit( $user_domain . $slug );
|
143 |
|
144 |
-
// Only grab count if we're on a user page and current user has access
|
145 |
if ( bp_is_user() && bp_user_has_access() ) {
|
146 |
$count = bp_get_total_unread_messages_count();
|
147 |
$class = ( 0 === $count ) ? 'no-count' : 'count';
|
@@ -150,7 +150,7 @@ class BP_Messages_Component extends BP_Component {
|
|
150 |
$nav_name = __( 'Messages', 'buddypress' );
|
151 |
}
|
152 |
|
153 |
-
// Add 'Messages' to the main navigation
|
154 |
$main_nav = array(
|
155 |
'name' => $nav_name,
|
156 |
'slug' => $slug,
|
@@ -161,7 +161,7 @@ class BP_Messages_Component extends BP_Component {
|
|
161 |
'item_css_id' => $this->id
|
162 |
);
|
163 |
|
164 |
-
// Add the subnav items to the profile
|
165 |
$sub_nav[] = array(
|
166 |
'name' => __( 'Inbox', 'buddypress' ),
|
167 |
'slug' => 'inbox',
|
@@ -222,18 +222,17 @@ class BP_Messages_Component extends BP_Component {
|
|
222 |
/**
|
223 |
* Set up the Toolbar.
|
224 |
*
|
225 |
-
* @param array $wp_admin_nav See {BP_Component::setup_admin_bar()}
|
226 |
-
* for details.
|
227 |
*/
|
228 |
public function setup_admin_bar( $wp_admin_nav = array() ) {
|
229 |
|
230 |
-
// Menus for logged in user
|
231 |
if ( is_user_logged_in() ) {
|
232 |
|
233 |
-
// Setup the logged in user variables
|
234 |
$messages_link = trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() );
|
235 |
|
236 |
-
// Unread message count
|
237 |
$count = messages_get_unread_count();
|
238 |
if ( !empty( $count ) ) {
|
239 |
$title = sprintf( __( 'Messages <span class="count">%s</span>', 'buddypress' ), bp_core_number_format( $count ) );
|
@@ -243,7 +242,7 @@ class BP_Messages_Component extends BP_Component {
|
|
243 |
$inbox = __( 'Inbox', 'buddypress' );
|
244 |
}
|
245 |
|
246 |
-
// Add main Messages menu
|
247 |
$wp_admin_nav[] = array(
|
248 |
'parent' => buddypress()->my_account_menu_id,
|
249 |
'id' => 'my-account-' . $this->id,
|
@@ -251,7 +250,7 @@ class BP_Messages_Component extends BP_Component {
|
|
251 |
'href' => $messages_link
|
252 |
);
|
253 |
|
254 |
-
// Inbox
|
255 |
$wp_admin_nav[] = array(
|
256 |
'parent' => 'my-account-' . $this->id,
|
257 |
'id' => 'my-account-' . $this->id . '-inbox',
|
@@ -259,7 +258,7 @@ class BP_Messages_Component extends BP_Component {
|
|
259 |
'href' => $messages_link
|
260 |
);
|
261 |
|
262 |
-
// Starred
|
263 |
if ( bp_is_active( $this->id, 'star' ) ) {
|
264 |
$wp_admin_nav[] = array(
|
265 |
'parent' => 'my-account-' . $this->id,
|
@@ -269,7 +268,7 @@ class BP_Messages_Component extends BP_Component {
|
|
269 |
);
|
270 |
}
|
271 |
|
272 |
-
// Sent Messages
|
273 |
$wp_admin_nav[] = array(
|
274 |
'parent' => 'my-account-' . $this->id,
|
275 |
'id' => 'my-account-' . $this->id . '-sentbox',
|
@@ -277,7 +276,7 @@ class BP_Messages_Component extends BP_Component {
|
|
277 |
'href' => trailingslashit( $messages_link . 'sentbox' )
|
278 |
);
|
279 |
|
280 |
-
// Compose Message
|
281 |
$wp_admin_nav[] = array(
|
282 |
'parent' => 'my-account-' . $this->id,
|
283 |
'id' => 'my-account-' . $this->id . '-compose',
|
@@ -285,7 +284,7 @@ class BP_Messages_Component extends BP_Component {
|
|
285 |
'href' => trailingslashit( $messages_link . 'compose' )
|
286 |
);
|
287 |
|
288 |
-
// Site Wide Notices
|
289 |
if ( bp_current_user_can( 'bp_moderate' ) ) {
|
290 |
$wp_admin_nav[] = array(
|
291 |
'parent' => 'my-account-' . $this->id,
|
@@ -329,7 +328,7 @@ class BP_Messages_Component extends BP_Component {
|
|
329 |
*/
|
330 |
public function setup_cache_groups() {
|
331 |
|
332 |
-
// Global groups
|
333 |
wp_cache_add_global_groups( array(
|
334 |
'bp_messages',
|
335 |
'bp_messages_threads',
|
53 |
*/
|
54 |
public function includes( $includes = array() ) {
|
55 |
|
56 |
+
// Files to include.
|
57 |
$includes = array(
|
58 |
'cssjs',
|
59 |
'cache',
|
67 |
'widgets',
|
68 |
);
|
69 |
|
70 |
+
// Conditional includes.
|
71 |
if ( bp_is_active( $this->id, 'star' ) ) {
|
72 |
$includes[] = 'star';
|
73 |
}
|
88 |
public function setup_globals( $args = array() ) {
|
89 |
$bp = buddypress();
|
90 |
|
91 |
+
// Define a slug, if necessary.
|
92 |
if ( ! defined( 'BP_MESSAGES_SLUG' ) ) {
|
93 |
define( 'BP_MESSAGES_SLUG', $this->id );
|
94 |
}
|
95 |
|
96 |
+
// Global tables for messaging component.
|
97 |
$global_tables = array(
|
98 |
'table_name_notices' => $bp->table_prefix . 'bp_messages_notices',
|
99 |
'table_name_messages' => $bp->table_prefix . 'bp_messages_messages',
|
101 |
'table_name_meta' => $bp->table_prefix . 'bp_messages_meta',
|
102 |
);
|
103 |
|
104 |
+
// Metadata tables for messaging component.
|
105 |
$meta_tables = array(
|
106 |
'message' => $bp->table_prefix . 'bp_messages_meta',
|
107 |
);
|
128 |
*/
|
129 |
public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
|
130 |
|
131 |
+
// Determine user to use.
|
132 |
if ( bp_displayed_user_domain() ) {
|
133 |
$user_domain = bp_displayed_user_domain();
|
134 |
} elseif ( bp_loggedin_user_domain() ) {
|
141 |
$slug = bp_get_messages_slug();
|
142 |
$messages_link = trailingslashit( $user_domain . $slug );
|
143 |
|
144 |
+
// Only grab count if we're on a user page and current user has access.
|
145 |
if ( bp_is_user() && bp_user_has_access() ) {
|
146 |
$count = bp_get_total_unread_messages_count();
|
147 |
$class = ( 0 === $count ) ? 'no-count' : 'count';
|
150 |
$nav_name = __( 'Messages', 'buddypress' );
|
151 |
}
|
152 |
|
153 |
+
// Add 'Messages' to the main navigation.
|
154 |
$main_nav = array(
|
155 |
'name' => $nav_name,
|
156 |
'slug' => $slug,
|
161 |
'item_css_id' => $this->id
|
162 |
);
|
163 |
|
164 |
+
// Add the subnav items to the profile.
|
165 |
$sub_nav[] = array(
|
166 |
'name' => __( 'Inbox', 'buddypress' ),
|
167 |
'slug' => 'inbox',
|
222 |
/**
|
223 |
* Set up the Toolbar.
|
224 |
*
|
225 |
+
* @param array $wp_admin_nav See {BP_Component::setup_admin_bar()} for details.
|
|
|
226 |
*/
|
227 |
public function setup_admin_bar( $wp_admin_nav = array() ) {
|
228 |
|
229 |
+
// Menus for logged in user.
|
230 |
if ( is_user_logged_in() ) {
|
231 |
|
232 |
+
// Setup the logged in user variables.
|
233 |
$messages_link = trailingslashit( bp_loggedin_user_domain() . bp_get_messages_slug() );
|
234 |
|
235 |
+
// Unread message count.
|
236 |
$count = messages_get_unread_count();
|
237 |
if ( !empty( $count ) ) {
|
238 |
$title = sprintf( __( 'Messages <span class="count">%s</span>', 'buddypress' ), bp_core_number_format( $count ) );
|
242 |
$inbox = __( 'Inbox', 'buddypress' );
|
243 |
}
|
244 |
|
245 |
+
// Add main Messages menu.
|
246 |
$wp_admin_nav[] = array(
|
247 |
'parent' => buddypress()->my_account_menu_id,
|
248 |
'id' => 'my-account-' . $this->id,
|
250 |
'href' => $messages_link
|
251 |
);
|
252 |
|
253 |
+
// Inbox.
|
254 |
$wp_admin_nav[] = array(
|
255 |
'parent' => 'my-account-' . $this->id,
|
256 |
'id' => 'my-account-' . $this->id . '-inbox',
|
258 |
'href' => $messages_link
|
259 |
);
|
260 |
|
261 |
+
// Starred.
|
262 |
if ( bp_is_active( $this->id, 'star' ) ) {
|
263 |
$wp_admin_nav[] = array(
|
264 |
'parent' => 'my-account-' . $this->id,
|
268 |
);
|
269 |
}
|
270 |
|
271 |
+
// Sent Messages.
|
272 |
$wp_admin_nav[] = array(
|
273 |
'parent' => 'my-account-' . $this->id,
|
274 |
'id' => 'my-account-' . $this->id . '-sentbox',
|
276 |
'href' => trailingslashit( $messages_link . 'sentbox' )
|
277 |
);
|
278 |
|
279 |
+
// Compose Message.
|
280 |
$wp_admin_nav[] = array(
|
281 |
'parent' => 'my-account-' . $this->id,
|
282 |
'id' => 'my-account-' . $this->id . '-compose',
|
284 |
'href' => trailingslashit( $messages_link . 'compose' )
|
285 |
);
|
286 |
|
287 |
+
// Site Wide Notices.
|
288 |
if ( bp_current_user_can( 'bp_moderate' ) ) {
|
289 |
$wp_admin_nav[] = array(
|
290 |
'parent' => 'my-account-' . $this->id,
|
328 |
*/
|
329 |
public function setup_cache_groups() {
|
330 |
|
331 |
+
// Global groups.
|
332 |
wp_cache_add_global_groups( array(
|
333 |
'bp_messages',
|
334 |
'bp_messages_threads',
|
@@ -26,25 +26,25 @@ defined( 'ABSPATH' ) || exit;
|
|
26 |
*/
|
27 |
function messages_notification_new_message( $raw_args = array() ) {
|
28 |
|
29 |
-
// Cast possible $message object as an array
|
30 |
if ( is_object( $raw_args ) ) {
|
31 |
$args = (array) $raw_args;
|
32 |
} else {
|
33 |
$args = $raw_args;
|
34 |
}
|
35 |
|
36 |
-
// These should be extracted below
|
37 |
$recipients = array();
|
38 |
$email_subject = $email_content = '';
|
39 |
$sender_id = 0;
|
40 |
|
41 |
-
// Barf
|
42 |
extract( $args );
|
43 |
|
44 |
-
// Get the sender display name
|
45 |
$sender_name = bp_core_get_user_displayname( $sender_id );
|
46 |
|
47 |
-
// Bail if no recipients
|
48 |
if ( ! empty( $recipients ) ) {
|
49 |
|
50 |
foreach ( $recipients as $recipient ) {
|
@@ -53,10 +53,10 @@ function messages_notification_new_message( $raw_args = array() ) {
|
|
53 |
continue;
|
54 |
}
|
55 |
|
56 |
-
// User data and links
|
57 |
$ud = get_userdata( $recipient->user_id );
|
58 |
|
59 |
-
// Bail if user cannot be found
|
60 |
if ( empty( $ud ) ) {
|
61 |
continue;
|
62 |
}
|
@@ -65,12 +65,12 @@ function messages_notification_new_message( $raw_args = array() ) {
|
|
65 |
$settings_slug = function_exists( 'bp_get_settings_slug' ) ? bp_get_settings_slug() : 'settings';
|
66 |
$settings_link = bp_core_get_user_domain( $recipient->user_id ) . $settings_slug . '/notifications/';
|
67 |
|
68 |
-
// Sender info
|
69 |
$sender_name = stripslashes( $sender_name );
|
70 |
$subject = stripslashes( wp_filter_kses( $subject ) );
|
71 |
$content = stripslashes( wp_filter_kses( $message ) );
|
72 |
|
73 |
-
// Set up and send the message
|
74 |
$email_to = $ud->user_email;
|
75 |
$email_subject = bp_get_email_subject( array( 'text' => sprintf( __( 'New message from %s', 'buddypress' ), $sender_name ) ) );
|
76 |
|
@@ -86,7 +86,7 @@ To view and read your messages please log in and visit: %4$s
|
|
86 |
---------------------
|
87 |
', 'buddypress' ), $sender_name, $subject, $content, $message_link );
|
88 |
|
89 |
-
// Only show the disable notifications line if the settings component is enabled
|
90 |
if ( bp_is_active( 'settings' ) ) {
|
91 |
$email_content .= sprintf( __( 'To disable these notifications, please log in and go to: %s', 'buddypress' ), $settings_link );
|
92 |
}
|
@@ -159,7 +159,6 @@ add_action( 'messages_message_sent', 'messages_notification_new_message', 10 );
|
|
159 |
* waiting for the user.
|
160 |
* @param string $format Return value format. 'string' for BuddyBar-compatible
|
161 |
* notifications; 'array' for WP Toolbar. Default: 'string'.
|
162 |
-
*
|
163 |
* @return string|array Formatted notifications.
|
164 |
*/
|
165 |
function messages_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
|
@@ -175,7 +174,7 @@ function messages_format_notifications( $action, $item_id, $secondary_item_id, $
|
|
175 |
} else {
|
176 |
$amount = 'single';
|
177 |
|
178 |
-
//
|
179 |
$message = new BP_Messages_Message( $item_id );
|
180 |
$thread_id = $message->thread_id;
|
181 |
$link = ( ! empty( $thread_id ) )
|
@@ -267,7 +266,7 @@ function bp_messages_screen_conversation_mark_notifications() {
|
|
267 |
if ( bp_is_active( 'notifications' ) ) {
|
268 |
global $thread_template;
|
269 |
|
270 |
-
//
|
271 |
$new_pm_notifications = BP_Notifications_Notification::get( array(
|
272 |
'user_id' => bp_loggedin_user_id(),
|
273 |
'component_name' => buddypress()->messages->id,
|
@@ -276,15 +275,15 @@ function bp_messages_screen_conversation_mark_notifications() {
|
|
276 |
) );
|
277 |
$unread_message_ids = wp_list_pluck( $new_pm_notifications, 'item_id' );
|
278 |
|
279 |
-
//
|
280 |
if ( empty( $unread_message_ids ) ) {
|
281 |
return;
|
282 |
}
|
283 |
|
284 |
-
//
|
285 |
$message_ids = array_intersect( $unread_message_ids, wp_list_pluck( $thread_template->thread->messages, 'id' ) );
|
286 |
|
287 |
-
//
|
288 |
foreach ( $message_ids as $message_id ) {
|
289 |
bp_notifications_mark_notifications_by_item_id( bp_loggedin_user_id(), (int) $message_id, buddypress()->messages->id, 'new_message' );
|
290 |
}
|
26 |
*/
|
27 |
function messages_notification_new_message( $raw_args = array() ) {
|
28 |
|
29 |
+
// Cast possible $message object as an array.
|
30 |
if ( is_object( $raw_args ) ) {
|
31 |
$args = (array) $raw_args;
|
32 |
} else {
|
33 |
$args = $raw_args;
|
34 |
}
|
35 |
|
36 |
+
// These should be extracted below.
|
37 |
$recipients = array();
|
38 |
$email_subject = $email_content = '';
|
39 |
$sender_id = 0;
|
40 |
|
41 |
+
// Barf.
|
42 |
extract( $args );
|
43 |
|
44 |
+
// Get the sender display name.
|
45 |
$sender_name = bp_core_get_user_displayname( $sender_id );
|
46 |
|
47 |
+
// Bail if no recipients.
|
48 |
if ( ! empty( $recipients ) ) {
|
49 |
|
50 |
foreach ( $recipients as $recipient ) {
|
53 |
continue;
|
54 |
}
|
55 |
|
56 |
+
// User data and links.
|
57 |
$ud = get_userdata( $recipient->user_id );
|
58 |
|
59 |
+
// Bail if user cannot be found.
|
60 |
if ( empty( $ud ) ) {
|
61 |
continue;
|
62 |
}
|
65 |
$settings_slug = function_exists( 'bp_get_settings_slug' ) ? bp_get_settings_slug() : 'settings';
|
66 |
$settings_link = bp_core_get_user_domain( $recipient->user_id ) . $settings_slug . '/notifications/';
|
67 |
|
68 |
+
// Sender info.
|
69 |
$sender_name = stripslashes( $sender_name );
|
70 |
$subject = stripslashes( wp_filter_kses( $subject ) );
|
71 |
$content = stripslashes( wp_filter_kses( $message ) );
|
72 |
|
73 |
+
// Set up and send the message.
|
74 |
$email_to = $ud->user_email;
|
75 |
$email_subject = bp_get_email_subject( array( 'text' => sprintf( __( 'New message from %s', 'buddypress' ), $sender_name ) ) );
|
76 |
|
86 |
---------------------
|
87 |
', 'buddypress' ), $sender_name, $subject, $content, $message_link );
|
88 |
|
89 |
+
// Only show the disable notifications line if the settings component is enabled.
|
90 |
if ( bp_is_active( 'settings' ) ) {
|
91 |
$email_content .= sprintf( __( 'To disable these notifications, please log in and go to: %s', 'buddypress' ), $settings_link );
|
92 |
}
|
159 |
* waiting for the user.
|
160 |
* @param string $format Return value format. 'string' for BuddyBar-compatible
|
161 |
* notifications; 'array' for WP Toolbar. Default: 'string'.
|
|
|
162 |
* @return string|array Formatted notifications.
|
163 |
*/
|
164 |
function messages_format_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
|
174 |
} else {
|
175 |
$amount = 'single';
|
176 |
|
177 |
+
// Get message thread ID.
|
178 |
$message = new BP_Messages_Message( $item_id );
|
179 |
$thread_id = $message->thread_id;
|
180 |
$link = ( ! empty( $thread_id ) )
|
266 |
if ( bp_is_active( 'notifications' ) ) {
|
267 |
global $thread_template;
|
268 |
|
269 |
+
// Get unread PM notifications for the user.
|
270 |
$new_pm_notifications = BP_Notifications_Notification::get( array(
|
271 |
'user_id' => bp_loggedin_user_id(),
|
272 |
'component_name' => buddypress()->messages->id,
|
275 |
) );
|
276 |
$unread_message_ids = wp_list_pluck( $new_pm_notifications, 'item_id' );
|
277 |
|
278 |
+
// No unread PMs, so stop!
|
279 |
if ( empty( $unread_message_ids ) ) {
|
280 |
return;
|
281 |
}
|
282 |
|
283 |
+
// Get the unread message ids for this thread only.
|
284 |
$message_ids = array_intersect( $unread_message_ids, wp_list_pluck( $thread_template->thread->messages, 'id' ) );
|
285 |
|
286 |
+
// Mark each notification for each PM message as read.
|
287 |
foreach ( $message_ids as $message_id ) {
|
288 |
bp_notifications_mark_notifications_by_item_id( bp_loggedin_user_id(), (int) $message_id, buddypress()->messages->id, 'new_message' );
|
289 |
}
|
@@ -112,7 +112,7 @@ function messages_screen_compose() {
|
|
112 |
*/
|
113 |
function messages_screen_conversation() {
|
114 |
|
115 |
-
// Bail if not viewing a single message
|
116 |
if ( ! bp_is_messages_component() || ! bp_is_current_action( 'view' ) ) {
|
117 |
return false;
|
118 |
}
|
@@ -123,10 +123,10 @@ function messages_screen_conversation() {
|
|
123 |
bp_core_redirect( trailingslashit( bp_displayed_user_domain() . bp_get_messages_slug() ) );
|
124 |
}
|
125 |
|
126 |
-
// Load up BuddyPress one time
|
127 |
$bp = buddypress();
|
128 |
|
129 |
-
// Decrease the unread count in the nav before it's rendered
|
130 |
$count = bp_get_total_unread_messages_count();
|
131 |
$class = ( 0 === $count ) ? 'no-count' : 'count';
|
132 |
$nav_name = sprintf( __( 'Messages <span class="%s">%s</span>', 'buddypress' ), esc_attr( $class ), bp_core_number_format( $count ) );
|
112 |
*/
|
113 |
function messages_screen_conversation() {
|
114 |
|
115 |
+
// Bail if not viewing a single message.
|
116 |
if ( ! bp_is_messages_component() || ! bp_is_current_action( 'view' ) ) {
|
117 |
return false;
|
118 |
}
|
123 |
bp_core_redirect( trailingslashit( bp_displayed_user_domain() . bp_get_messages_slug() ) );
|
124 |
}
|
125 |
|
126 |
+
// Load up BuddyPress one time.
|
127 |
$bp = buddypress();
|
128 |
|
129 |
+
// Decrease the unread count in the nav before it's rendered.
|
130 |
$count = bp_get_total_unread_messages_count();
|
131 |
$class = ( 0 === $count ) ? 'no-count' : 'count';
|
132 |
$nav_name = sprintf( __( 'Messages <span class="%s">%s</span>', 'buddypress' ), esc_attr( $class ), bp_core_number_format( $count ) );
|
@@ -37,7 +37,7 @@ function bp_get_messages_starred_slug() {
|
|
37 |
* @since 2.3.0
|
38 |
*
|
39 |
* @param int $mid The message ID. Please note that this isn't the message thread ID.
|
40 |
-
* @param int $user_id The user ID
|
41 |
* @return bool
|
42 |
*/
|
43 |
function bp_messages_is_message_starred( $mid = 0, $user_id = 0 ) {
|
@@ -95,7 +95,7 @@ function bp_the_message_star_action_link( $args = array() ) {
|
|
95 |
*/
|
96 |
function bp_get_the_message_star_action_link( $args = array() ) {
|
97 |
|
98 |
-
// Default user ID
|
99 |
$user_id = bp_displayed_user_id()
|
100 |
? bp_displayed_user_id()
|
101 |
: bp_loggedin_user_id();
|
@@ -113,47 +113,47 @@ function bp_the_message_star_action_link( $args = array() ) {
|
|
113 |
'title_star_thread' => __( 'Star the first message in this thread', 'buddypress' ),
|
114 |
), 'messages_star_action_link' );
|
115 |
|
116 |
-
// Check user ID and determine base user URL
|
117 |
switch ( $r['user_id'] ) {
|
118 |
|
119 |
-
// Current user
|
120 |
case bp_loggedin_user_id() :
|
121 |
$user_domain = bp_loggedin_user_domain();
|
122 |
break;
|
123 |
|
124 |
-
// Displayed user
|
125 |
case bp_displayed_user_id() :
|
126 |
$user_domain = bp_displayed_user_domain();
|
127 |
break;
|
128 |
|
129 |
-
// Empty or other
|
130 |
default :
|
131 |
$user_domain = bp_core_get_user_domain( $r['user_id'] );
|
132 |
break;
|
133 |
}
|
134 |
|
135 |
-
// Bail if no user domain was calculated
|
136 |
if ( empty( $user_domain ) ) {
|
137 |
return '';
|
138 |
}
|
139 |
|
140 |
-
// Define local variables
|
141 |
$retval = $bulk_attr = '';
|
142 |
|
143 |
-
//
|
144 |
if ( (int) $r['thread_id'] > 0 ) {
|
145 |
|
146 |
-
//
|
147 |
if ( bp_get_message_thread_id() == $r['thread_id'] ) {
|
148 |
|
149 |
-
//
|
150 |
$mids = wp_list_pluck( $GLOBALS['messages_template']->thread->messages, 'id' );
|
151 |
|
152 |
-
//
|
153 |
-
//
|
154 |
$mids = array_reverse( $mids );
|
155 |
|
156 |
-
//
|
157 |
} else {
|
158 |
$thread = new BP_Messages_Thread( $r['thread_id'] );
|
159 |
$mids = wp_list_pluck( $thread->messages, 'id' );
|
@@ -163,7 +163,7 @@ function bp_the_message_star_action_link( $args = array() ) {
|
|
163 |
$message_id = 0;
|
164 |
foreach ( $mids as $mid ) {
|
165 |
|
166 |
-
//
|
167 |
if ( true === bp_messages_is_message_starred( $mid ) ) {
|
168 |
$is_starred = true;
|
169 |
$message_id = $mid;
|
@@ -171,14 +171,14 @@ function bp_the_message_star_action_link( $args = array() ) {
|
|
171 |
}
|
172 |
}
|
173 |
|
174 |
-
//
|
175 |
if ( empty( $message_id ) ) {
|
176 |
$message_id = $mids[0];
|
177 |
}
|
178 |
|
179 |
$message_id = (int) $message_id;
|
180 |
|
181 |
-
//
|
182 |
$nonce = wp_create_nonce( "bp-messages-star-{$message_id}" );
|
183 |
|
184 |
if ( true === $is_starred ) {
|
@@ -192,7 +192,7 @@ function bp_the_message_star_action_link( $args = array() ) {
|
|
192 |
|
193 |
$title = $r["title_{$action}_thread"];
|
194 |
|
195 |
-
//
|
196 |
} else {
|
197 |
$message_id = (int) $r['message_id'];
|
198 |
$is_starred = bp_messages_is_message_starred( $message_id );
|
@@ -259,7 +259,7 @@ function bp_messages_star_set_action( $args = array() ) {
|
|
259 |
'bulk' => false
|
260 |
) );
|
261 |
|
262 |
-
// Set thread ID
|
263 |
if ( ! empty( $r['thread_id'] ) ) {
|
264 |
$thread_id = (int) $r['thread_id'];
|
265 |
} else {
|
@@ -269,14 +269,14 @@ function bp_messages_star_set_action( $args = array() ) {
|
|
269 |
return false;
|
270 |
}
|
271 |
|
272 |
-
// Check if user has access to thread
|
273 |
if( ! messages_check_thread_access( $thread_id, $r['user_id'] ) ) {
|
274 |
return false;
|
275 |
}
|
276 |
|
277 |
$is_starred = bp_messages_is_message_starred( $r['message_id'], $r['user_id'] );
|
278 |
|
279 |
-
//
|
280 |
if ( 'star' == $r['action'] ) {
|
281 |
if ( true === $is_starred ) {
|
282 |
return true;
|
@@ -284,9 +284,9 @@ function bp_messages_star_set_action( $args = array() ) {
|
|
284 |
bp_messages_add_meta( $r['message_id'], 'starred_by_user', $r['user_id'] );
|
285 |
return true;
|
286 |
}
|
287 |
-
//
|
288 |
} else {
|
289 |
-
//
|
290 |
if ( false === $r['bulk'] ) {
|
291 |
if ( false === $is_starred ) {
|
292 |
return true;
|
@@ -295,7 +295,7 @@ function bp_messages_star_set_action( $args = array() ) {
|
|
295 |
return true;
|
296 |
}
|
297 |
|
298 |
-
//
|
299 |
} else {
|
300 |
$thread = new BP_Messages_Thread( $thread_id );
|
301 |
$mids = wp_list_pluck( $thread->messages, 'id' );
|
@@ -337,13 +337,13 @@ function bp_messages_star_screen() {
|
|
337 |
* @since 2.3.0
|
338 |
*/
|
339 |
function bp_messages_star_content() {
|
340 |
-
//
|
341 |
add_filter( 'bp_after_has_message_threads_parse_args', 'bp_messages_filter_starred_message_threads' );
|
342 |
|
343 |
-
//
|
344 |
bp_get_template_part( 'members/single/messages/messages-loop' );
|
345 |
|
346 |
-
//
|
347 |
remove_filter( 'bp_after_has_message_threads_parse_args', 'bp_messages_filter_starred_message_threads' );
|
348 |
}
|
349 |
|
@@ -353,7 +353,7 @@ function bp_messages_star_content() {
|
|
353 |
* @since 2.3.0
|
354 |
*
|
355 |
* @param array $r Current message thread arguments.
|
356 |
-
* @return array
|
357 |
*/
|
358 |
function bp_messages_filter_starred_message_threads( $r = array() ) {
|
359 |
$r['box'] = 'starred';
|
@@ -385,19 +385,19 @@ function bp_messages_star_action_handler() {
|
|
385 |
wp_die( "Oops! That's a no-no!" );
|
386 |
}
|
387 |
|
388 |
-
// Check capability
|
389 |
if ( ! is_user_logged_in() || ! bp_core_can_edit_settings() ) {
|
390 |
return;
|
391 |
}
|
392 |
|
393 |
-
//
|
394 |
bp_messages_star_set_action( array(
|
395 |
'action' => bp_current_action(),
|
396 |
'message_id' => bp_action_variable(),
|
397 |
'bulk' => (bool) bp_action_variable( 2 )
|
398 |
) );
|
399 |
|
400 |
-
//
|
401 |
$redirect = wp_get_referer() ? wp_get_referer() : bp_loggedin_user_domain() . bp_get_messages_slug();
|
402 |
bp_core_redirect( $redirect );
|
403 |
die();
|
@@ -419,7 +419,7 @@ function bp_messages_star_bulk_manage_handler() {
|
|
419 |
return;
|
420 |
}
|
421 |
|
422 |
-
// Check capability
|
423 |
if ( ! is_user_logged_in() || ! bp_core_can_edit_settings() ) {
|
424 |
return;
|
425 |
}
|
@@ -438,7 +438,7 @@ function bp_messages_star_bulk_manage_handler() {
|
|
438 |
case 'star' :
|
439 |
$count = count( $threads );
|
440 |
|
441 |
-
//
|
442 |
foreach ( $threads as $thread ) {
|
443 |
$thread = new BP_Messages_thread( $thread );
|
444 |
$mids = wp_list_pluck( $thread->messages, 'id' );
|
@@ -511,7 +511,7 @@ add_action( 'bp_messages_bulk_management_dropdown', 'bp_messages_star_bulk_manag
|
|
511 |
*
|
512 |
* @since 2.3.0
|
513 |
*
|
514 |
-
* @param array $retval Current CSS classes
|
515 |
* @return array
|
516 |
*/
|
517 |
function bp_messages_star_message_css_class( $retval = array() ) {
|
@@ -521,7 +521,7 @@ function bp_messages_star_message_css_class( $retval = array() ) {
|
|
521 |
$status = 'not-starred';
|
522 |
}
|
523 |
|
524 |
-
//
|
525 |
$retval[] = "message-{$status}";
|
526 |
|
527 |
return $retval;
|
37 |
* @since 2.3.0
|
38 |
*
|
39 |
* @param int $mid The message ID. Please note that this isn't the message thread ID.
|
40 |
+
* @param int $user_id The user ID.
|
41 |
* @return bool
|
42 |
*/
|
43 |
function bp_messages_is_message_starred( $mid = 0, $user_id = 0 ) {
|
95 |
*/
|
96 |
function bp_get_the_message_star_action_link( $args = array() ) {
|
97 |
|
98 |
+
// Default user ID.
|
99 |
$user_id = bp_displayed_user_id()
|
100 |
? bp_displayed_user_id()
|
101 |
: bp_loggedin_user_id();
|
113 |
'title_star_thread' => __( 'Star the first message in this thread', 'buddypress' ),
|
114 |
), 'messages_star_action_link' );
|
115 |
|
116 |
+
// Check user ID and determine base user URL.
|
117 |
switch ( $r['user_id'] ) {
|
118 |
|
119 |
+
// Current user.
|
120 |
case bp_loggedin_user_id() :
|
121 |
$user_domain = bp_loggedin_user_domain();
|
122 |
break;
|
123 |
|
124 |
+
// Displayed user.
|
125 |
case bp_displayed_user_id() :
|
126 |
$user_domain = bp_displayed_user_domain();
|
127 |
break;
|
128 |
|
129 |
+
// Empty or other.
|
130 |
default :
|
131 |
$user_domain = bp_core_get_user_domain( $r['user_id'] );
|
132 |
break;
|
133 |
}
|
134 |
|
135 |
+
// Bail if no user domain was calculated.
|
136 |
if ( empty( $user_domain ) ) {
|
137 |
return '';
|
138 |
}
|
139 |
|
140 |
+
// Define local variables.
|
141 |
$retval = $bulk_attr = '';
|
142 |
|
143 |
+
// Thread ID.
|
144 |
if ( (int) $r['thread_id'] > 0 ) {
|
145 |
|
146 |
+
// See if we're in the loop.
|
147 |
if ( bp_get_message_thread_id() == $r['thread_id'] ) {
|
148 |
|
149 |
+
// Grab all message ids.
|
150 |
$mids = wp_list_pluck( $GLOBALS['messages_template']->thread->messages, 'id' );
|
151 |
|
152 |
+
// Make sure order is ASC.
|
153 |
+
// Order is DESC when used in the thread loop by default.
|
154 |
$mids = array_reverse( $mids );
|
155 |
|
156 |
+
// Pull up the thread.
|
157 |
} else {
|
158 |
$thread = new BP_Messages_Thread( $r['thread_id'] );
|
159 |
$mids = wp_list_pluck( $thread->messages, 'id' );
|
163 |
$message_id = 0;
|
164 |
foreach ( $mids as $mid ) {
|
165 |
|
166 |
+
// Try to find the first msg that is starred in a thread.
|
167 |
if ( true === bp_messages_is_message_starred( $mid ) ) {
|
168 |
$is_starred = true;
|
169 |
$message_id = $mid;
|
171 |
}
|
172 |
}
|
173 |
|
174 |
+
// No star, so default to first message in thread.
|
175 |
if ( empty( $message_id ) ) {
|
176 |
$message_id = $mids[0];
|
177 |
}
|
178 |
|
179 |
$message_id = (int) $message_id;
|
180 |
|
181 |
+
// Nonce.
|
182 |
$nonce = wp_create_nonce( "bp-messages-star-{$message_id}" );
|
183 |
|
184 |
if ( true === $is_starred ) {
|
192 |
|
193 |
$title = $r["title_{$action}_thread"];
|
194 |
|
195 |
+
// Message ID.
|
196 |
} else {
|
197 |
$message_id = (int) $r['message_id'];
|
198 |
$is_starred = bp_messages_is_message_starred( $message_id );
|
259 |
'bulk' => false
|
260 |
) );
|
261 |
|
262 |
+
// Set thread ID.
|
263 |
if ( ! empty( $r['thread_id'] ) ) {
|
264 |
$thread_id = (int) $r['thread_id'];
|
265 |
} else {
|
269 |
return false;
|
270 |
}
|
271 |
|
272 |
+
// Check if user has access to thread.
|
273 |
if( ! messages_check_thread_access( $thread_id, $r['user_id'] ) ) {
|
274 |
return false;
|
275 |
}
|
276 |
|
277 |
$is_starred = bp_messages_is_message_starred( $r['message_id'], $r['user_id'] );
|
278 |
|
279 |
+
// Star.
|
280 |
if ( 'star' == $r['action'] ) {
|
281 |
if ( true === $is_starred ) {
|
282 |
return true;
|
284 |
bp_messages_add_meta( $r['message_id'], 'starred_by_user', $r['user_id'] );
|
285 |
return true;
|
286 |
}
|
287 |
+
// Unstar.
|
288 |
} else {
|
289 |
+
// Unstar one message.
|
290 |
if ( false === $r['bulk'] ) {
|
291 |
if ( false === $is_starred ) {
|
292 |
return true;
|
295 |
return true;
|
296 |
}
|
297 |
|
298 |
+
// Unstar all messages in a thread.
|
299 |
} else {
|
300 |
$thread = new BP_Messages_Thread( $thread_id );
|
301 |
$mids = wp_list_pluck( $thread->messages, 'id' );
|
337 |
* @since 2.3.0
|
338 |
*/
|
339 |
function bp_messages_star_content() {
|
340 |
+
// Add our message thread filter.
|
341 |
add_filter( 'bp_after_has_message_threads_parse_args', 'bp_messages_filter_starred_message_threads' );
|
342 |
|
343 |
+
// Load the message loop template part.
|
344 |
bp_get_template_part( 'members/single/messages/messages-loop' );
|
345 |
|
346 |
+
// Remove our filter.
|
347 |
remove_filter( 'bp_after_has_message_threads_parse_args', 'bp_messages_filter_starred_message_threads' );
|
348 |
}
|
349 |
|
353 |
* @since 2.3.0
|
354 |
*
|
355 |
* @param array $r Current message thread arguments.
|
356 |
+
* @return array $r Array of starred message threads.
|
357 |
*/
|
358 |
function bp_messages_filter_starred_message_threads( $r = array() ) {
|
359 |
$r['box'] = 'starred';
|
385 |
wp_die( "Oops! That's a no-no!" );
|
386 |
}
|
387 |
|
388 |
+
// Check capability.
|
389 |
if ( ! is_user_logged_in() || ! bp_core_can_edit_settings() ) {
|
390 |
return;
|
391 |
}
|
392 |
|
393 |
+
// Mark the star.
|
394 |
bp_messages_star_set_action( array(
|
395 |
'action' => bp_current_action(),
|
396 |
'message_id' => bp_action_variable(),
|
397 |
'bulk' => (bool) bp_action_variable( 2 )
|
398 |
) );
|
399 |
|
400 |
+
// Redirect back to previous screen.
|
401 |
$redirect = wp_get_referer() ? wp_get_referer() : bp_loggedin_user_domain() . bp_get_messages_slug();
|
402 |
bp_core_redirect( $redirect );
|
403 |
die();
|
419 |
return;
|
420 |
}
|
421 |
|
422 |
+
// Check capability.
|
423 |
if ( ! is_user_logged_in() || ! bp_core_can_edit_settings() ) {
|
424 |
return;
|
425 |
}
|
438 |
case 'star' :
|
439 |
$count = count( $threads );
|
440 |
|
441 |
+
// If we're starring a thread, we only star the first message in the thread.
|
442 |
foreach ( $threads as $thread ) {
|
443 |
$thread = new BP_Messages_thread( $thread );
|
444 |
$mids = wp_list_pluck( $thread->messages, 'id' );
|
511 |
*
|
512 |
* @since 2.3.0
|
513 |
*
|
514 |
+
* @param array $retval Current CSS classes.
|
515 |
* @return array
|
516 |
*/
|
517 |
function bp_messages_star_message_css_class( $retval = array() ) {
|
521 |
$status = 'not-starred';
|
522 |
}
|
523 |
|
524 |
+
// Add css class based on star status for the current message.
|
525 |
$retval[] = "message-{$status}";
|
526 |
|
527 |
return $retval;
|
@@ -107,7 +107,7 @@ class BP_Messages_Box_Template {
|
|
107 |
*/
|
108 |
public function __construct( $args = array() ) {
|
109 |
|
110 |
-
// Backward compatibility with old method of passing arguments
|
111 |
if ( ! is_array( $args ) || func_num_args() > 1 ) {
|
112 |
_deprecated_argument( __METHOD__, '2.2.0', sprintf( __( 'Arguments passed to %1$s should be in an associative array. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) );
|
113 |
|
@@ -279,7 +279,7 @@ class BP_Messages_Box_Template {
|
|
279 |
* @since 1.5.0
|
280 |
*/
|
281 |
do_action( 'messages_box_loop_end' );
|
282 |
-
// Do some cleaning up after the loop
|
283 |
$this->rewind_threads();
|
284 |
}
|
285 |
|
@@ -305,7 +305,7 @@ class BP_Messages_Box_Template {
|
|
305 |
$last_message_index = count( $this->thread->messages ) - 1;
|
306 |
$this->thread->messages = array_reverse( (array) $this->thread->messages );
|
307 |
|
308 |
-
// Set up the last message data
|
309 |
if ( count($this->thread->messages) > 1 ) {
|
310 |
if ( 'inbox' == $this->box ) {
|
311 |
foreach ( (array) $this->thread->messages as $key => $message ) {
|
@@ -332,7 +332,7 @@ class BP_Messages_Box_Template {
|
|
332 |
$this->thread->last_message_content = $this->thread->messages[ $last_message_index ]->message;
|
333 |
}
|
334 |
|
335 |
-
//
|
336 |
if ( 0 == $this->current_thread ) {
|
337 |
|
338 |
/**
|
@@ -378,7 +378,7 @@ class BP_Messages_Box_Template {
|
|
378 |
function bp_has_message_threads( $args = array() ) {
|
379 |
global $messages_template;
|
380 |
|
381 |
-
// The default box the user is looking at
|
382 |
$current_action = bp_current_action();
|
383 |
switch ( $current_action ) {
|
384 |
case 'sentbox' :
|
@@ -395,10 +395,10 @@ function bp_has_message_threads( $args = array() ) {
|
|
395 |
// @todo displayed user for moderators that get this far?
|
396 |
$user_id = bp_loggedin_user_id();
|
397 |
|
398 |
-
// Search Terms
|
399 |
$search_terms = isset( $_REQUEST['s'] ) ? stripslashes( $_REQUEST['s'] ) : '';
|
400 |
|
401 |
-
// Parse the arguments
|
402 |
$r = bp_parse_args( $args, array(
|
403 |
'user_id' => $user_id,
|
404 |
'box' => $default_box,
|
@@ -406,11 +406,11 @@ function bp_has_message_threads( $args = array() ) {
|
|
406 |
'max' => false,
|
407 |
'type' => 'all',
|
408 |
'search_terms' => $search_terms,
|
409 |
-
'page_arg' => 'mpage', // See https://buddypress.trac.wordpress.org/ticket/3679
|
410 |
'meta_query' => array()
|
411 |
), 'has_message_threads' );
|
412 |
|
413 |
-
// Load the messages loop global up with messages
|
414 |
$messages_template = new BP_Messages_Box_Template( $r );
|
415 |
|
416 |
/**
|
@@ -541,6 +541,7 @@ function bp_message_thread_content() {
|
|
541 |
* the thread of which you *are* the member.
|
542 |
*
|
543 |
* @since 2.0.0
|
|
|
544 |
* @return string The raw content of the last message in the thread.
|
545 |
*/
|
546 |
function bp_get_message_thread_content() {
|
@@ -855,7 +856,6 @@ function bp_message_thread_total_count( $thread_id = false ) {
|
|
855 |
*
|
856 |
* @param int|bool $thread_id Optional. ID of the thread.
|
857 |
* Defaults to current thread ID.
|
858 |
-
*
|
859 |
* @return int
|
860 |
*/
|
861 |
function bp_get_message_thread_total_count( $thread_id = false ) {
|
@@ -896,7 +896,6 @@ function bp_message_thread_total_and_unread_count( $thread_id = false ) {
|
|
896 |
* Get markup for the current thread's total and unread count.
|
897 |
*
|
898 |
* @param int|bool $thread_id Optional. ID of the thread. Default: current thread ID.
|
899 |
-
*
|
900 |
* @return string Markup displaying the total and unread count for the thread.
|
901 |
*/
|
902 |
function bp_get_message_thread_total_and_unread_count( $thread_id = false ) {
|
@@ -1072,8 +1071,6 @@ function bp_messages_pagination() {
|
|
1072 |
|
1073 |
/**
|
1074 |
* Generate the "Viewing message x to y (of z messages)" string for a loop.
|
1075 |
-
*
|
1076 |
-
* @return string
|
1077 |
*/
|
1078 |
function bp_messages_pagination_count() {
|
1079 |
global $messages_template;
|
@@ -1100,15 +1097,15 @@ function bp_messages_pagination_count() {
|
|
1100 |
*/
|
1101 |
function bp_message_search_form() {
|
1102 |
|
1103 |
-
// Get the default search text
|
1104 |
$default_search_value = bp_get_search_default_text( 'messages' );
|
1105 |
|
1106 |
-
// Setup a few values based on what's being searched for
|
1107 |
$search_submitted = ! empty( $_REQUEST['s'] ) ? stripslashes( $_REQUEST['s'] ) : $default_search_value;
|
1108 |
$search_placeholder = ( $search_submitted === $default_search_value ) ? ' placeholder="' . esc_attr( $search_submitted ) . '"' : '';
|
1109 |
$search_value = ( $search_submitted !== $default_search_value ) ? ' value="' . esc_attr( $search_submitted ) . '"' : '';
|
1110 |
|
1111 |
-
// Start the output buffer, so form can be filtered
|
1112 |
ob_start(); ?>
|
1113 |
|
1114 |
<form action="" method="get" id="search-message-form">
|
@@ -1119,7 +1116,7 @@ function bp_message_search_form() {
|
|
1119 |
|
1120 |
<?php
|
1121 |
|
1122 |
-
// Get the search form from the above output buffer
|
1123 |
$search_form_html = ob_get_clean();
|
1124 |
|
1125 |
/**
|
@@ -1202,7 +1199,7 @@ function bp_messages_subject_value() {
|
|
1202 |
*/
|
1203 |
function bp_get_messages_subject_value() {
|
1204 |
|
1205 |
-
// Sanitized in bp-messages-filters.php
|
1206 |
$subject = ! empty( $_POST['subject'] )
|
1207 |
? $_POST['subject']
|
1208 |
: '';
|
@@ -1233,7 +1230,7 @@ function bp_messages_content_value() {
|
|
1233 |
*/
|
1234 |
function bp_get_messages_content_value() {
|
1235 |
|
1236 |
-
// Sanitized in bp-messages-filters.php
|
1237 |
$content = ! empty( $_POST['content'] )
|
1238 |
? $_POST['content']
|
1239 |
: '';
|
@@ -1650,7 +1647,7 @@ function bp_send_message_button() {
|
|
1650 |
*/
|
1651 |
function bp_get_send_message_button() {
|
1652 |
// Note: 'bp_get_send_message_button' is a legacy filter. Use
|
1653 |
-
// 'bp_get_send_message_button_args' instead. See #4536
|
1654 |
return apply_filters( 'bp_get_send_message_button',
|
1655 |
|
1656 |
/**
|
@@ -1735,7 +1732,7 @@ function bp_message_get_recipient_usernames() {
|
|
1735 |
*/
|
1736 |
function bp_get_message_get_recipient_usernames() {
|
1737 |
|
1738 |
-
// Sanitized in bp-messages-filters.php
|
1739 |
$recipients = isset( $_GET['r'] )
|
1740 |
? $_GET['r']
|
1741 |
: '';
|
@@ -1750,7 +1747,6 @@ function bp_message_get_recipient_usernames() {
|
|
1750 |
return apply_filters( 'bp_get_message_get_recipient_usernames', $recipients );
|
1751 |
}
|
1752 |
|
1753 |
-
|
1754 |
/**
|
1755 |
* Message Thread Template Class
|
1756 |
*/
|
@@ -1824,9 +1820,9 @@ class BP_Messages_Thread_Template {
|
|
1824 |
*
|
1825 |
* @see BP_Messages_Thread::populate() for full parameter info.
|
1826 |
*
|
1827 |
-
* @param int $thread_id
|
1828 |
-
* @param string $order
|
1829 |
-
* @param array $args
|
1830 |
*/
|
1831 |
public function __construct( $thread_id = 0, $order = 'ASC', $args = array() ) {
|
1832 |
$this->thread = new BP_Messages_Thread( $thread_id, $order, $args );
|
@@ -1892,7 +1888,7 @@ class BP_Messages_Thread_Template {
|
|
1892 |
* @since 1.1.0
|
1893 |
*/
|
1894 |
do_action( 'thread_loop_end' );
|
1895 |
-
// Do some cleaning up after the loop
|
1896 |
$this->rewind_messages();
|
1897 |
}
|
1898 |
|
@@ -1913,7 +1909,7 @@ class BP_Messages_Thread_Template {
|
|
1913 |
$this->in_the_loop = true;
|
1914 |
$this->message = $this->next_message();
|
1915 |
|
1916 |
-
//
|
1917 |
if ( 0 === $this->current_message ) {
|
1918 |
|
1919 |
/**
|
@@ -1953,7 +1949,7 @@ function bp_thread_has_messages( $args = '' ) {
|
|
1953 |
$r['thread_id'] = (int) bp_action_variable( 0 );
|
1954 |
}
|
1955 |
|
1956 |
-
// Set up extra args
|
1957 |
$extra_args = $r;
|
1958 |
unset( $extra_args['thread_id'], $extra_args['order'] );
|
1959 |
|
@@ -2191,13 +2187,13 @@ function bp_the_thread_message_css_class() {
|
|
2191 |
|
2192 |
$classes = array();
|
2193 |
|
2194 |
-
// Zebra-striping
|
2195 |
$classes[] = bp_get_the_thread_message_alt_class();
|
2196 |
|
2197 |
-
// ID of the sender
|
2198 |
$classes[] = 'sent-by-' . intval( $thread_template->message->sender_id );
|
2199 |
|
2200 |
-
// Whether the sender is the same as the logged-in user
|
2201 |
if ( bp_loggedin_user_id() == $thread_template->message->sender_id ) {
|
2202 |
$classes[] = 'sent-by-me';
|
2203 |
}
|
@@ -2324,6 +2320,8 @@ function bp_the_thread_message_sender_avatar( $args = '' ) {
|
|
2324 |
|
2325 |
/**
|
2326 |
* Output a link to the sender of the current message.
|
|
|
|
|
2327 |
*/
|
2328 |
function bp_the_thread_message_sender_link() {
|
2329 |
echo esc_url( bp_get_the_thread_message_sender_link() );
|
@@ -2331,6 +2329,8 @@ function bp_the_thread_message_sender_link() {
|
|
2331 |
/**
|
2332 |
* Get a link to the sender of the current message.
|
2333 |
*
|
|
|
|
|
2334 |
* @return string
|
2335 |
*/
|
2336 |
function bp_get_the_thread_message_sender_link() {
|
@@ -2348,6 +2348,8 @@ function bp_the_thread_message_sender_link() {
|
|
2348 |
|
2349 |
/**
|
2350 |
* Output the display name of the sender of the current message.
|
|
|
|
|
2351 |
*/
|
2352 |
function bp_the_thread_message_sender_name() {
|
2353 |
echo esc_html( bp_get_the_thread_message_sender_name() );
|
@@ -2355,6 +2357,8 @@ function bp_the_thread_message_sender_name() {
|
|
2355 |
/**
|
2356 |
* Get the display name of the sender of the current message.
|
2357 |
*
|
|
|
|
|
2358 |
* @return string
|
2359 |
*/
|
2360 |
function bp_get_the_thread_message_sender_name() {
|
@@ -2378,6 +2382,8 @@ function bp_the_thread_message_sender_name() {
|
|
2378 |
|
2379 |
/**
|
2380 |
* Output the URL for deleting the current thread.
|
|
|
|
|
2381 |
*/
|
2382 |
function bp_the_thread_delete_link() {
|
2383 |
echo esc_url( bp_get_the_thread_delete_link() );
|
@@ -2385,6 +2391,8 @@ function bp_the_thread_delete_link() {
|
|
2385 |
/**
|
2386 |
* Get the URL for deleting the current thread.
|
2387 |
*
|
|
|
|
|
2388 |
* @return string URL
|
2389 |
*/
|
2390 |
function bp_get_the_thread_delete_link() {
|
@@ -2402,6 +2410,8 @@ function bp_the_thread_delete_link() {
|
|
2402 |
|
2403 |
/**
|
2404 |
* Output the 'Sent x hours ago' string for the current message.
|
|
|
|
|
2405 |
*/
|
2406 |
function bp_the_thread_message_time_since() {
|
2407 |
echo bp_get_the_thread_message_time_since();
|
@@ -2409,6 +2419,8 @@ function bp_the_thread_message_time_since() {
|
|
2409 |
/**
|
2410 |
* Generate the 'Sent x hours ago' string for the current message.
|
2411 |
*
|
|
|
|
|
2412 |
* @return string
|
2413 |
*/
|
2414 |
function bp_get_the_thread_message_time_since() {
|
@@ -2455,6 +2467,8 @@ function bp_the_thread_message_date_sent() {
|
|
2455 |
|
2456 |
/**
|
2457 |
* Output the content of the current message in the loop.
|
|
|
|
|
2458 |
*/
|
2459 |
function bp_the_thread_message_content() {
|
2460 |
echo bp_get_the_thread_message_content();
|
@@ -2462,6 +2476,8 @@ function bp_the_thread_message_content() {
|
|
2462 |
/**
|
2463 |
* Get the content of the current message in the loop.
|
2464 |
*
|
|
|
|
|
2465 |
* @return string
|
2466 |
*/
|
2467 |
function bp_get_the_thread_message_content() {
|
@@ -2504,7 +2520,6 @@ add_action( 'thread_loop_start', 'bp_messages_embed' );
|
|
2504 |
* functions like this one to filter.
|
2505 |
* @param int $id The ID of the message item.
|
2506 |
* @param string $cachekey The cache key generated in BP_Embed::parse_oembed().
|
2507 |
-
*
|
2508 |
* @return mixed The cached embeds for this message item.
|
2509 |
*/
|
2510 |
function bp_embed_message_cache( $cache, $id, $cachekey ) {
|
@@ -2522,8 +2537,6 @@ function bp_embed_message_cache( $cache, $id, $cachekey ) {
|
|
2522 |
* functions like this one to filter.
|
2523 |
* @param string $cachekey The cache key generated in BP_Embed::parse_oembed().
|
2524 |
* @param int $id The ID of the message item.
|
2525 |
-
*
|
2526 |
-
* @return bool True on success, false on failure.
|
2527 |
*/
|
2528 |
function bp_embed_message_save_cache( $cache, $cachekey, $id ) {
|
2529 |
bp_messages_update_meta( $id, $cachekey, $cache );
|
107 |
*/
|
108 |
public function __construct( $args = array() ) {
|
109 |
|
110 |
+
// Backward compatibility with old method of passing arguments.
|
111 |
if ( ! is_array( $args ) || func_num_args() > 1 ) {
|
112 |
_deprecated_argument( __METHOD__, '2.2.0', sprintf( __( 'Arguments passed to %1$s should be in an associative array. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) );
|
113 |
|
279 |
* @since 1.5.0
|
280 |
*/
|
281 |
do_action( 'messages_box_loop_end' );
|
282 |
+
// Do some cleaning up after the loop.
|
283 |
$this->rewind_threads();
|
284 |
}
|
285 |
|
305 |
$last_message_index = count( $this->thread->messages ) - 1;
|
306 |
$this->thread->messages = array_reverse( (array) $this->thread->messages );
|
307 |
|
308 |
+
// Set up the last message data.
|
309 |
if ( count($this->thread->messages) > 1 ) {
|
310 |
if ( 'inbox' == $this->box ) {
|
311 |
foreach ( (array) $this->thread->messages as $key => $message ) {
|
332 |
$this->thread->last_message_content = $this->thread->messages[ $last_message_index ]->message;
|
333 |
}
|
334 |
|
335 |
+
// Loop has just started.
|
336 |
if ( 0 == $this->current_thread ) {
|
337 |
|
338 |
/**
|
378 |
function bp_has_message_threads( $args = array() ) {
|
379 |
global $messages_template;
|
380 |
|
381 |
+
// The default box the user is looking at.
|
382 |
$current_action = bp_current_action();
|
383 |
switch ( $current_action ) {
|
384 |
case 'sentbox' :
|
395 |
// @todo displayed user for moderators that get this far?
|
396 |
$user_id = bp_loggedin_user_id();
|
397 |
|
398 |
+
// Search Terms.
|
399 |
$search_terms = isset( $_REQUEST['s'] ) ? stripslashes( $_REQUEST['s'] ) : '';
|
400 |
|
401 |
+
// Parse the arguments.
|
402 |
$r = bp_parse_args( $args, array(
|
403 |
'user_id' => $user_id,
|
404 |
'box' => $default_box,
|
406 |
'max' => false,
|
407 |
'type' => 'all',
|
408 |
'search_terms' => $search_terms,
|
409 |
+
'page_arg' => 'mpage', // See https://buddypress.trac.wordpress.org/ticket/3679.
|
410 |
'meta_query' => array()
|
411 |
), 'has_message_threads' );
|
412 |
|
413 |
+
// Load the messages loop global up with messages.
|
414 |
$messages_template = new BP_Messages_Box_Template( $r );
|
415 |
|
416 |
/**
|
541 |
* the thread of which you *are* the member.
|
542 |
*
|
543 |
* @since 2.0.0
|
544 |
+
*
|
545 |
* @return string The raw content of the last message in the thread.
|
546 |
*/
|
547 |
function bp_get_message_thread_content() {
|
856 |
*
|
857 |
* @param int|bool $thread_id Optional. ID of the thread.
|
858 |
* Defaults to current thread ID.
|
|
|
859 |
* @return int
|
860 |
*/
|
861 |
function bp_get_message_thread_total_count( $thread_id = false ) {
|
896 |
* Get markup for the current thread's total and unread count.
|
897 |
*
|
898 |
* @param int|bool $thread_id Optional. ID of the thread. Default: current thread ID.
|
|
|
899 |
* @return string Markup displaying the total and unread count for the thread.
|
900 |
*/
|
901 |
function bp_get_message_thread_total_and_unread_count( $thread_id = false ) {
|
1071 |
|
1072 |
/**
|
1073 |
* Generate the "Viewing message x to y (of z messages)" string for a loop.
|
|
|
|
|
1074 |
*/
|
1075 |
function bp_messages_pagination_count() {
|
1076 |
global $messages_template;
|
1097 |
*/
|
1098 |
function bp_message_search_form() {
|
1099 |
|
1100 |
+
// Get the default search text.
|
1101 |
$default_search_value = bp_get_search_default_text( 'messages' );
|
1102 |
|
1103 |
+
// Setup a few values based on what's being searched for.
|
1104 |
$search_submitted = ! empty( $_REQUEST['s'] ) ? stripslashes( $_REQUEST['s'] ) : $default_search_value;
|
1105 |
$search_placeholder = ( $search_submitted === $default_search_value ) ? ' placeholder="' . esc_attr( $search_submitted ) . '"' : '';
|
1106 |
$search_value = ( $search_submitted !== $default_search_value ) ? ' value="' . esc_attr( $search_submitted ) . '"' : '';
|
1107 |
|
1108 |
+
// Start the output buffer, so form can be filtered.
|
1109 |
ob_start(); ?>
|
1110 |
|
1111 |
<form action="" method="get" id="search-message-form">
|
1116 |
|
1117 |
<?php
|
1118 |
|
1119 |
+
// Get the search form from the above output buffer.
|
1120 |
$search_form_html = ob_get_clean();
|
1121 |
|
1122 |
/**
|
1199 |
*/
|
1200 |
function bp_get_messages_subject_value() {
|
1201 |
|
1202 |
+
// Sanitized in bp-messages-filters.php.
|
1203 |
$subject = ! empty( $_POST['subject'] )
|
1204 |
? $_POST['subject']
|
1205 |
: '';
|
1230 |
*/
|
1231 |
function bp_get_messages_content_value() {
|
1232 |
|
1233 |
+
// Sanitized in bp-messages-filters.php.
|
1234 |
$content = ! empty( $_POST['content'] )
|
1235 |
? $_POST['content']
|
1236 |
: '';
|
1647 |
*/
|
1648 |
function bp_get_send_message_button() {
|
1649 |
// Note: 'bp_get_send_message_button' is a legacy filter. Use
|
1650 |
+
// 'bp_get_send_message_button_args' instead. See #4536.
|
1651 |
return apply_filters( 'bp_get_send_message_button',
|
1652 |
|
1653 |
/**
|
1732 |
*/
|
1733 |
function bp_get_message_get_recipient_usernames() {
|
1734 |
|
1735 |
+
// Sanitized in bp-messages-filters.php.
|
1736 |
$recipients = isset( $_GET['r'] )
|
1737 |
? $_GET['r']
|
1738 |
: '';
|
1747 |
return apply_filters( 'bp_get_message_get_recipient_usernames', $recipients );
|
1748 |
}
|
1749 |
|
|
|
1750 |
/**
|
1751 |
* Message Thread Template Class
|
1752 |
*/
|
1820 |
*
|
1821 |
* @see BP_Messages_Thread::populate() for full parameter info.
|
1822 |
*
|
1823 |
+
* @param int $thread_id ID of the message thread to display.
|
1824 |
+
* @param string $order Order to show the thread's messages in.
|
1825 |
+
* @param array $args Array of arguments for the query.
|
1826 |
*/
|
1827 |
public function __construct( $thread_id = 0, $order = 'ASC', $args = array() ) {
|
1828 |
$this->thread = new BP_Messages_Thread( $thread_id, $order, $args );
|
1888 |
* @since 1.1.0
|
1889 |
*/
|
1890 |
do_action( 'thread_loop_end' );
|
1891 |
+
// Do some cleaning up after the loop.
|
1892 |
$this->rewind_messages();
|
1893 |
}
|
1894 |
|
1909 |
$this->in_the_loop = true;
|
1910 |
$this->message = $this->next_message();
|
1911 |
|
1912 |
+
// Loop has just started.
|
1913 |
if ( 0 === $this->current_message ) {
|
1914 |
|
1915 |
/**
|
1949 |
$r['thread_id'] = (int) bp_action_variable( 0 );
|
1950 |
}
|
1951 |
|
1952 |
+
// Set up extra args.
|
1953 |
$extra_args = $r;
|
1954 |
unset( $extra_args['thread_id'], $extra_args['order'] );
|
1955 |
|
2187 |
|
2188 |
$classes = array();
|
2189 |
|
2190 |
+
// Zebra-striping.
|
2191 |
$classes[] = bp_get_the_thread_message_alt_class();
|
2192 |
|
2193 |
+
// ID of the sender.
|
2194 |
$classes[] = 'sent-by-' . intval( $thread_template->message->sender_id );
|
2195 |
|
2196 |
+
// Whether the sender is the same as the logged-in user.
|
2197 |
if ( bp_loggedin_user_id() == $thread_template->message->sender_id ) {
|
2198 |
$classes[] = 'sent-by-me';
|
2199 |
}
|
2320 |
|
2321 |
/**
|
2322 |
* Output a link to the sender of the current message.
|
2323 |
+
*
|
2324 |
+
* @since 1.1.0
|
2325 |
*/
|
2326 |
function bp_the_thread_message_sender_link() {
|
2327 |
echo esc_url( bp_get_the_thread_message_sender_link() );
|
2329 |
/**
|
2330 |
* Get a link to the sender of the current message.
|
2331 |
*
|
2332 |
+
* @since 1.1.0
|
2333 |
+
*
|
2334 |
* @return string
|
2335 |
*/
|
2336 |
function bp_get_the_thread_message_sender_link() {
|
2348 |
|
2349 |
/**
|
2350 |
* Output the display name of the sender of the current message.
|
2351 |
+
*
|
2352 |
+
* @since 1.1.0
|
2353 |
*/
|
2354 |
function bp_the_thread_message_sender_name() {
|
2355 |
echo esc_html( bp_get_the_thread_message_sender_name() );
|
2357 |
/**
|
2358 |
* Get the display name of the sender of the current message.
|
2359 |
*
|
2360 |
+
* @since 1.1.0
|
2361 |
+
*
|
2362 |
* @return string
|
2363 |
*/
|
2364 |
function bp_get_the_thread_message_sender_name() {
|
2382 |
|
2383 |
/**
|
2384 |
* Output the URL for deleting the current thread.
|
2385 |
+
*
|
2386 |
+
* @since 1.5.0
|
2387 |
*/
|
2388 |
function bp_the_thread_delete_link() {
|
2389 |
echo esc_url( bp_get_the_thread_delete_link() );
|
2391 |
/**
|
2392 |
* Get the URL for deleting the current thread.
|
2393 |
*
|
2394 |
+
* @since 1.5.0
|
2395 |
+
*
|
2396 |
* @return string URL
|
2397 |
*/
|
2398 |
function bp_get_the_thread_delete_link() {
|
2410 |
|
2411 |
/**
|
2412 |
* Output the 'Sent x hours ago' string for the current message.
|
2413 |
+
*
|
2414 |
+
* @since 1.1.0
|
2415 |
*/
|
2416 |
function bp_the_thread_message_time_since() {
|
2417 |
echo bp_get_the_thread_message_time_since();
|
2419 |
/**
|
2420 |
* Generate the 'Sent x hours ago' string for the current message.
|
2421 |
*
|
2422 |
+
* @since 1.1.0
|
2423 |
+
*
|
2424 |
* @return string
|
2425 |
*/
|
2426 |
function bp_get_the_thread_message_time_since() {
|
2467 |
|
2468 |
/**
|
2469 |
* Output the content of the current message in the loop.
|
2470 |
+
*
|
2471 |
+
* @since 1.1.0
|
2472 |
*/
|
2473 |
function bp_the_thread_message_content() {
|
2474 |
echo bp_get_the_thread_message_content();
|
2476 |
/**
|
2477 |
* Get the content of the current message in the loop.
|
2478 |
*
|
2479 |
+
* @since 1.1.0
|
2480 |
+
*
|
2481 |
* @return string
|
2482 |
*/
|
2483 |
function bp_get_the_thread_message_content() {
|
2520 |
* functions like this one to filter.
|
2521 |
* @param int $id The ID of the message item.
|
2522 |
* @param string $cachekey The cache key generated in BP_Embed::parse_oembed().
|
|
|
2523 |
* @return mixed The cached embeds for this message item.
|
2524 |
*/
|
2525 |
function bp_embed_message_cache( $cache, $id, $cachekey ) {
|
2537 |
* functions like this one to filter.
|
2538 |
* @param string $cachekey The cache key generated in BP_Embed::parse_oembed().
|
2539 |
* @param int $id The ID of the message item.
|
|
|
|
|
2540 |
*/
|
2541 |
function bp_embed_message_save_cache( $cache, $cachekey, $id ) {
|
2542 |
bp_messages_update_meta( $id, $cachekey, $cache );
|
@@ -19,8 +19,6 @@ function bp_messages_register_widgets() {
|
|
19 |
}
|
20 |
add_action( 'bp_register_widgets', 'bp_messages_register_widgets' );
|
21 |
|
22 |
-
/** Sitewide Notices widget ***************************************************/
|
23 |
-
|
24 |
/**
|
25 |
* A widget that displays sitewide notices.
|
26 |
*
|
@@ -29,7 +27,7 @@ add_action( 'bp_register_widgets', 'bp_messages_register_widgets' );
|
|
29 |
class BP_Messages_Sitewide_Notices_Widget extends WP_Widget {
|
30 |
|
31 |
/**
|
32 |
-
* Constructor method
|
33 |
*/
|
34 |
function __construct() {
|
35 |
parent::__construct(
|
@@ -56,7 +54,7 @@ class BP_Messages_Sitewide_Notices_Widget extends WP_Widget {
|
|
56 |
return;
|
57 |
}
|
58 |
|
59 |
-
// Don't display the widget if there are no Notices to show
|
60 |
$notices = BP_Messages_Notice::get_active();
|
61 |
if ( empty( $notices ) ) {
|
62 |
return;
|
@@ -98,7 +96,6 @@ class BP_Messages_Sitewide_Notices_Widget extends WP_Widget {
|
|
98 |
*
|
99 |
* @param array $new_instance See {@WP_Widget::update()}.
|
100 |
* @param array $old_instance See {@WP_Widget::update()}.
|
101 |
-
*
|
102 |
* @return array $instance See {@WP_Widget::update()}.
|
103 |
*/
|
104 |
public function update( $new_instance, $old_instance ) {
|
19 |
}
|
20 |
add_action( 'bp_register_widgets', 'bp_messages_register_widgets' );
|
21 |
|
|
|
|
|
22 |
/**
|
23 |
* A widget that displays sitewide notices.
|
24 |
*
|
27 |
class BP_Messages_Sitewide_Notices_Widget extends WP_Widget {
|
28 |
|
29 |
/**
|
30 |
+
* Constructor method.
|
31 |
*/
|
32 |
function __construct() {
|
33 |
parent::__construct(
|
54 |
return;
|
55 |
}
|
56 |
|
57 |
+
// Don't display the widget if there are no Notices to show.
|
58 |
$notices = BP_Messages_Notice::get_active();
|
59 |
if ( empty( $notices ) ) {
|
60 |
return;
|
96 |
*
|
97 |
* @param array $new_instance See {@WP_Widget::update()}.
|
98 |
* @param array $old_instance See {@WP_Widget::update()}.
|
|
|
99 |
* @return array $instance See {@WP_Widget::update()}.
|
100 |
*/
|
101 |
public function update( $new_instance, $old_instance ) {
|
@@ -99,8 +99,7 @@ class BP_Messages_Message {
|
|
99 |
/**
|
100 |
* Send a message.
|
101 |
*
|
102 |
-
* @return int|bool ID of the newly created message on success, false
|
103 |
-
* on failure.
|
104 |
*/
|
105 |
public function send() {
|
106 |
global $wpdb;
|
@@ -136,7 +135,7 @@ class BP_Messages_Message {
|
|
136 |
$new_thread = true;
|
137 |
}
|
138 |
|
139 |
-
// First insert the message into the messages table
|
140 |
if ( !$wpdb->query( $wpdb->prepare( "INSERT INTO {$bp->messages->table_name_messages} ( thread_id, sender_id, subject, message, date_sent ) VALUES ( %d, %d, %s, %s, %s )", $this->thread_id, $this->sender_id, $this->subject, $this->message, $this->date_sent ) ) )
|
141 |
return false;
|
142 |
|
@@ -145,17 +144,17 @@ class BP_Messages_Message {
|
|
145 |
$recipient_ids = array();
|
146 |
|
147 |
if ( $new_thread ) {
|
148 |
-
// Add an recipient entry for all recipients
|
149 |
foreach ( (array) $this->recipients as $recipient ) {
|
150 |
$wpdb->query( $wpdb->prepare( "INSERT INTO {$bp->messages->table_name_recipients} ( user_id, thread_id, unread_count ) VALUES ( %d, %d, 1 )", $recipient->user_id, $this->thread_id ) );
|
151 |
$recipient_ids[] = $recipient->user_id;
|
152 |
}
|
153 |
|
154 |
-
// Add a sender recipient entry if the sender is not in the list of recipients
|
155 |
if ( !in_array( $this->sender_id, $recipient_ids ) )
|
156 |
$wpdb->query( $wpdb->prepare( "INSERT INTO {$bp->messages->table_name_recipients} ( user_id, thread_id, sender_only ) VALUES ( %d, %d, 1 )", $this->sender_id, $this->thread_id ) );
|
157 |
} else {
|
158 |
-
// Update the unread count for all recipients
|
159 |
$wpdb->query( $wpdb->prepare( "UPDATE {$bp->messages->table_name_recipients} SET unread_count = unread_count + 1, sender_only = 0, is_deleted = 0 WHERE thread_id = %d AND user_id != %d", $this->thread_id, $this->sender_id ) );
|
160 |
}
|
161 |
|
@@ -176,7 +175,7 @@ class BP_Messages_Message {
|
|
176 |
/**
|
177 |
* Get a list of recipients for a message.
|
178 |
*
|
179 |
-
* @return
|
180 |
*/
|
181 |
public function get_recipients() {
|
182 |
global $wpdb;
|
@@ -192,8 +191,7 @@ class BP_Messages_Message {
|
|
192 |
* Get list of recipient IDs from their usernames.
|
193 |
*
|
194 |
* @param array $recipient_usernames Usernames of recipients.
|
195 |
-
*
|
196 |
-
* @return array
|
197 |
*/
|
198 |
public static function get_recipient_ids( $recipient_usernames ) {
|
199 |
if ( !$recipient_usernames )
|
@@ -214,7 +212,6 @@ class BP_Messages_Message {
|
|
214 |
* Get the ID of the message last sent by the logged-in user for a given thread.
|
215 |
*
|
216 |
* @param int $thread_id ID of the thread.
|
217 |
-
*
|
218 |
* @return int|null ID of the message if found, otherwise null.
|
219 |
*/
|
220 |
public static function get_last_sent_for_user( $thread_id ) {
|
@@ -230,7 +227,6 @@ class BP_Messages_Message {
|
|
230 |
*
|
231 |
* @param int $user_id ID of the user.
|
232 |
* @param int $message_id ID of the message.
|
233 |
-
*
|
234 |
* @return int|null Returns the ID of the message if the user is the
|
235 |
* sender, otherwise null.
|
236 |
*/
|
@@ -246,7 +242,6 @@ class BP_Messages_Message {
|
|
246 |
* Get the ID of the sender of a message.
|
247 |
*
|
248 |
* @param int $message_id ID of the message.
|
249 |
-
*
|
250 |
* @return int|null The ID of the sender if found, otherwise null.
|
251 |
*/
|
252 |
public static function get_message_sender( $message_id ) {
|
99 |
/**
|
100 |
* Send a message.
|
101 |
*
|
102 |
+
* @return int|bool ID of the newly created message on success, false on failure.
|
|
|
103 |
*/
|
104 |
public function send() {
|
105 |
global $wpdb;
|
135 |
$new_thread = true;
|
136 |
}
|
137 |
|
138 |
+
// First insert the message into the messages table.
|
139 |
if ( !$wpdb->query( $wpdb->prepare( "INSERT INTO {$bp->messages->table_name_messages} ( thread_id, sender_id, subject, message, date_sent ) VALUES ( %d, %d, %s, %s, %s )", $this->thread_id, $this->sender_id, $this->subject, $this->message, $this->date_sent ) ) )
|
140 |
return false;
|
141 |
|
144 |
$recipient_ids = array();
|
145 |
|
146 |
if ( $new_thread ) {
|
147 |
+
// Add an recipient entry for all recipients.
|
148 |
foreach ( (array) $this->recipients as $recipient ) {
|
149 |
$wpdb->query( $wpdb->prepare( "INSERT INTO {$bp->messages->table_name_recipients} ( user_id, thread_id, unread_count ) VALUES ( %d, %d, 1 )", $recipient->user_id, $this->thread_id ) );
|
150 |
$recipient_ids[] = $recipient->user_id;
|
151 |
}
|
152 |
|
153 |
+
// Add a sender recipient entry if the sender is not in the list of recipients.
|
154 |
if ( !in_array( $this->sender_id, $recipient_ids ) )
|
155 |
$wpdb->query( $wpdb->prepare( "INSERT INTO {$bp->messages->table_name_recipients} ( user_id, thread_id, sender_only ) VALUES ( %d, %d, 1 )", $this->sender_id, $this->thread_id ) );
|
156 |
} else {
|
157 |
+
// Update the unread count for all recipients.
|
158 |
$wpdb->query( $wpdb->prepare( "UPDATE {$bp->messages->table_name_recipients} SET unread_count = unread_count + 1, sender_only = 0, is_deleted = 0 WHERE thread_id = %d AND user_id != %d", $this->thread_id, $this->sender_id ) );
|
159 |
}
|
160 |
|
175 |
/**
|
176 |
* Get a list of recipients for a message.
|
177 |
*
|
178 |
+
* @return object $value List of recipients for a message.
|
179 |
*/
|
180 |
public function get_recipients() {
|
181 |
global $wpdb;
|
191 |
* Get list of recipient IDs from their usernames.
|
192 |
*
|
193 |
* @param array $recipient_usernames Usernames of recipients.
|
194 |
+
* @return array $recipient_ids Array of Recepient IDs.
|
|
|
195 |
*/
|
196 |
public static function get_recipient_ids( $recipient_usernames ) {
|
197 |
if ( !$recipient_usernames )
|
212 |
* Get the ID of the message last sent by the logged-in user for a given thread.
|
213 |
*
|
214 |
* @param int $thread_id ID of the thread.
|
|
|
215 |
* @return int|null ID of the message if found, otherwise null.
|
216 |
*/
|
217 |
public static function get_last_sent_for_user( $thread_id ) {
|
227 |
*
|
228 |
* @param int $user_id ID of the user.
|
229 |
* @param int $message_id ID of the message.
|
|
|
230 |
* @return int|null Returns the ID of the message if the user is the
|
231 |
* sender, otherwise null.
|
232 |
*/
|
242 |
* Get the ID of the sender of a message.
|
243 |
*
|
244 |
* @param int $message_id ID of the message.
|
|
|
245 |
* @return int|null The ID of the sender if found, otherwise null.
|
246 |
*/
|
247 |
public static function get_message_sender( $message_id ) {
|
@@ -56,6 +56,7 @@ class BP_Messages_Notice {
|
|
56 |
* Constructor.
|
57 |
*
|
58 |
* @since 1.0.0
|
|
|
59 |
* @param int $id Optional. The ID of the current notice.
|
60 |
*/
|
61 |
public function __construct( $id = null ) {
|
@@ -211,14 +212,14 @@ class BP_Messages_Notice {
|
|
211 |
* @type int $pag_num Number of notices per page. Defaults to 20.
|
212 |
* @type int $pag_page The page number. Defaults to 1.
|
213 |
* }
|
214 |
-
* @return
|
215 |
*/
|
216 |
public static function get_notices( $args = array() ) {
|
217 |
global $wpdb;
|
218 |
|
219 |
$r = wp_parse_args( $args, array(
|
220 |
-
'pag_num' => 20, // Number of notices per page
|
221 |
-
'pag_page' => 1 // Page number
|
222 |
) );
|
223 |
|
224 |
$limit_sql = '';
|
56 |
* Constructor.
|
57 |
*
|
58 |
* @since 1.0.0
|
59 |
+
*
|
60 |
* @param int $id Optional. The ID of the current notice.
|
61 |
*/
|
62 |
public function __construct( $id = null ) {
|
212 |
* @type int $pag_num Number of notices per page. Defaults to 20.
|
213 |
* @type int $pag_page The page number. Defaults to 1.
|
214 |
* }
|
215 |
+
* @return object List of notices to display.
|
216 |
*/
|
217 |
public static function get_notices( $args = array() ) {
|
218 |
global $wpdb;
|
219 |
|
220 |
$r = wp_parse_args( $args, array(
|
221 |
+
'pag_num' => 20, // Number of notices per page.
|
222 |
+
'pag_page' => 1 // Page number.
|
223 |
) );
|
224 |
|
225 |
$limit_sql = '';
|
@@ -111,9 +111,9 @@ class BP_Messages_Thread {
|
|
111 |
*
|
112 |
* @see BP_Messages_Thread::populate() for full description of parameters.
|
113 |
*
|
114 |
-
* @param bool $thread_id
|
115 |
-
* @param string $order
|
116 |
-
* @param array $args
|
117 |
*/
|
118 |
public function __construct( $thread_id = false, $order = 'ASC', $args = array() ) {
|
119 |
if ( $thread_id ) {
|
@@ -130,7 +130,7 @@ class BP_Messages_Thread {
|
|
130 |
*
|
131 |
* @param int $thread_id The message thread ID.
|
132 |
* @param string $order The order to sort the messages. Either 'ASC' or 'DESC'.
|
133 |
-
* @param array
|
134 |
* Array of arguments.
|
135 |
* @type bool $update_meta_cache Whether to pre-fetch metadata for
|
136 |
* queried message items. Default: true.
|
@@ -143,7 +143,7 @@ class BP_Messages_Thread {
|
|
143 |
$order = 'ASC';
|
144 |
}
|
145 |
|
146 |
-
//
|
147 |
$r = wp_parse_args( $args, array(
|
148 |
'user_id' => bp_loggedin_user_id(),
|
149 |
'update_meta_cache' => true
|
@@ -152,14 +152,14 @@ class BP_Messages_Thread {
|
|
152 |
$this->messages_order = $order;
|
153 |
$this->thread_id = (int) $thread_id;
|
154 |
|
155 |
-
//
|
156 |
$this->messages = self::get_messages( $this->thread_id );
|
157 |
|
158 |
if ( empty( $this->messages ) || is_wp_error( $this->messages ) ) {
|
159 |
return false;
|
160 |
}
|
161 |
|
162 |
-
//
|
163 |
if ( 'DESC' === $order ) {
|
164 |
$this->messages = array_reverse( $this->messages );
|
165 |
}
|
@@ -175,15 +175,15 @@ class BP_Messages_Thread {
|
|
175 |
$this->sender_ids[ $message->sender_id ] = $message->sender_id;
|
176 |
}
|
177 |
|
178 |
-
// Fetch the recipients
|
179 |
$this->recipients = $this->get_recipients();
|
180 |
|
181 |
-
// Get the unread count for the logged in user
|
182 |
if ( isset( $this->recipients[ $r['user_id'] ] ) ) {
|
183 |
$this->unread_count = $this->recipients[ $r['user_id'] ]->unread_count;
|
184 |
}
|
185 |
|
186 |
-
// Grab all message meta
|
187 |
if ( true === (bool) $r['update_meta_cache'] ) {
|
188 |
bp_messages_update_meta_cache( wp_list_pluck( $this->messages, 'id' ) );
|
189 |
}
|
@@ -227,7 +227,6 @@ class BP_Messages_Thread {
|
|
227 |
* @since 2.3.0 Added $thread_id as a parameter.
|
228 |
*
|
229 |
* @param int $thread_id The thread ID.
|
230 |
-
*
|
231 |
* @return array
|
232 |
*/
|
233 |
public function get_recipients( $thread_id = 0 ) {
|
@@ -274,7 +273,7 @@ class BP_Messages_Thread {
|
|
274 |
*
|
275 |
* @param int $thread_id The message thread ID.
|
276 |
*
|
277 |
-
* @return
|
278 |
*/
|
279 |
public static function get_messages( $thread_id = 0 ) {
|
280 |
$thread_id = (int) $thread_id;
|
@@ -285,7 +284,7 @@ class BP_Messages_Thread {
|
|
285 |
|
286 |
$bp = buddypress();
|
287 |
|
288 |
-
//
|
289 |
$messages = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$bp->messages->table_name_messages} WHERE thread_id = %d ORDER BY date_sent ASC", $thread_id ) );
|
290 |
|
291 |
wp_cache_set( $thread_id, (array) $messages, 'bp_messages_threads' );
|
@@ -299,8 +298,7 @@ class BP_Messages_Thread {
|
|
299 |
*
|
300 |
* @since 2.3.0
|
301 |
*
|
302 |
-
* @param
|
303 |
-
*
|
304 |
* @return array
|
305 |
*/
|
306 |
public static function get_recipients_for_thread( $thread_id = 0 ) {
|
@@ -317,7 +315,6 @@ class BP_Messages_Thread {
|
|
317 |
* @since 1.0.0
|
318 |
*
|
319 |
* @param int $thread_id The message thread ID.
|
320 |
-
*
|
321 |
* @return bool
|
322 |
*/
|
323 |
public static function delete( $thread_id = 0 ) {
|
@@ -339,16 +336,16 @@ class BP_Messages_Thread {
|
|
339 |
// Mark messages as deleted
|
340 |
//
|
341 |
// @todo the reliance on bp_loggedin_user_id() sucks for plugins
|
342 |
-
//
|
343 |
$wpdb->query( $wpdb->prepare( "UPDATE {$bp->messages->table_name_recipients} SET is_deleted = 1 WHERE thread_id = %d AND user_id = %d", $thread_id, bp_loggedin_user_id() ) );
|
344 |
|
345 |
-
// Get the message ids in order to pass to the action
|
346 |
$message_ids = $wpdb->get_col( $wpdb->prepare( "SELECT id FROM {$bp->messages->table_name_messages} WHERE thread_id = %d", $thread_id ) );
|
347 |
|
348 |
-
// Check to see if any more recipients remain for this message
|
349 |
$recipients = $wpdb->get_results( $wpdb->prepare( "SELECT id FROM {$bp->messages->table_name_recipients} WHERE thread_id = %d AND is_deleted = 0", $thread_id ) );
|
350 |
|
351 |
-
// No more recipients so delete all messages associated with the thread
|
352 |
if ( empty( $recipients ) ) {
|
353 |
|
354 |
/**
|
@@ -361,13 +358,13 @@ class BP_Messages_Thread {
|
|
361 |
*/
|
362 |
do_action( 'bp_messages_thread_before_delete', $thread_id, $message_ids );
|
363 |
|
364 |
-
// Delete all the messages
|
365 |
$wpdb->query( $wpdb->prepare( "DELETE FROM {$bp->messages->table_name_messages} WHERE thread_id = %d", $thread_id ) );
|
366 |
|
367 |
-
// Do something for each message ID
|
368 |
foreach ( $message_ids as $message_id ) {
|
369 |
|
370 |
-
// Delete message meta
|
371 |
bp_messages_delete_meta( $message_id );
|
372 |
|
373 |
/**
|
@@ -380,7 +377,7 @@ class BP_Messages_Thread {
|
|
380 |
do_action( 'messages_thread_deleted_thread', $message_id );
|
381 |
}
|
382 |
|
383 |
-
// Delete all the recipients
|
384 |
$wpdb->query( $wpdb->prepare( "DELETE FROM {$bp->messages->table_name_recipients} WHERE thread_id = %d", $thread_id ) );
|
385 |
}
|
386 |
|
@@ -419,7 +416,7 @@ class BP_Messages_Thread {
|
|
419 |
public static function get_current_threads_for_user( $args = array() ) {
|
420 |
global $wpdb;
|
421 |
|
422 |
-
// Backward compatibility with old method of passing arguments
|
423 |
if ( ! is_array( $args ) || func_num_args() > 1 ) {
|
424 |
_deprecated_argument( __METHOD__, '2.2.0', sprintf( __( 'Arguments passed to %1$s should be in an associative array. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) );
|
425 |
|
@@ -469,7 +466,7 @@ class BP_Messages_Thread {
|
|
469 |
|
470 |
$r['user_id'] = (int) $r['user_id'];
|
471 |
|
472 |
-
// Default deleted SQL
|
473 |
$deleted_sql = 'r.is_deleted = 0';
|
474 |
|
475 |
switch ( $r['box'] ) {
|
@@ -484,12 +481,12 @@ class BP_Messages_Thread {
|
|
484 |
break;
|
485 |
|
486 |
default :
|
487 |
-
// Omit user-deleted threads from all other custom message boxes
|
488 |
$deleted_sql = $wpdb->prepare( '( r.user_id = %d AND r.is_deleted = 0 )', $r['user_id'] );
|
489 |
break;
|
490 |
}
|
491 |
|
492 |
-
// Process meta query into SQL
|
493 |
$meta_query = self::get_meta_query_sql( $r['meta_query'] );
|
494 |
if ( ! empty( $meta_query['join'] ) ) {
|
495 |
$meta_query_sql['join'] = $meta_query['join'];
|
@@ -500,25 +497,25 @@ class BP_Messages_Thread {
|
|
500 |
|
501 |
$bp = buddypress();
|
502 |
|
503 |
-
//
|
504 |
$sql = array();
|
505 |
$sql['select'] = 'SELECT m.thread_id, MAX(m.date_sent) AS date_sent';
|
506 |
$sql['from'] = "FROM {$bp->messages->table_name_recipients} r INNER JOIN {$bp->messages->table_name_messages} m ON m.thread_id = r.thread_id {$meta_query_sql['join']}";
|
507 |
$sql['where'] = "WHERE {$deleted_sql} {$user_id_sql} {$sender_sql} {$type_sql} {$search_sql} {$meta_query_sql['where']}";
|
508 |
$sql['misc'] = "GROUP BY m.thread_id ORDER BY date_sent DESC {$pag_sql}";
|
509 |
|
510 |
-
//
|
511 |
$thread_ids = $wpdb->get_results( implode( ' ', $sql ) );
|
512 |
if ( empty( $thread_ids ) ) {
|
513 |
return false;
|
514 |
}
|
515 |
|
516 |
-
//
|
517 |
$sql['select'] = 'SELECT COUNT( DISTINCT m.thread_id )';
|
518 |
unset( $sql['misc'] );
|
519 |
$total_threads = $wpdb->get_var( implode( ' ', $sql ) );
|
520 |
|
521 |
-
// Sort threads by date_sent
|
522 |
foreach( (array) $thread_ids as $thread ) {
|
523 |
$sorted_threads[ $thread->thread_id ] = strtotime( $thread->date_sent );
|
524 |
}
|
@@ -558,7 +555,6 @@ class BP_Messages_Thread {
|
|
558 |
*
|
559 |
* @param array $meta_query An array of meta_query filters. See the
|
560 |
* documentation for WP_Meta_Query for details.
|
561 |
-
*
|
562 |
* @return array $sql_array 'join' and 'where' clauses.
|
563 |
*/
|
564 |
public static function get_meta_query_sql( $meta_query = array() ) {
|
@@ -573,7 +569,7 @@ class BP_Messages_Thread {
|
|
573 |
$meta_query = new WP_Meta_Query( $meta_query );
|
574 |
|
575 |
// WP_Meta_Query expects the table name at
|
576 |
-
// $wpdb->messagemeta
|
577 |
$wpdb->messagemeta = buddypress()->messages->table_name_meta;
|
578 |
|
579 |
return $meta_query->get_sql( 'message', 'm', 'id' );
|
@@ -628,7 +624,7 @@ class BP_Messages_Thread {
|
|
628 |
* Defaults to 'inbox'.
|
629 |
* @param string $type The type of messages to get. Either 'all' or 'unread'.
|
630 |
* or 'read'. Defaults to 'all'.
|
631 |
-
* @return int
|
632 |
*/
|
633 |
public static function get_total_threads_for_user( $user_id, $box = 'inbox', $type = 'all' ) {
|
634 |
global $wpdb;
|
@@ -655,7 +651,6 @@ class BP_Messages_Thread {
|
|
655 |
* @since 1.0.0
|
656 |
*
|
657 |
* @param int $thread_id The message thread ID.
|
658 |
-
*
|
659 |
* @return bool
|
660 |
*/
|
661 |
public static function user_is_sender( $thread_id ) {
|
@@ -678,7 +673,6 @@ class BP_Messages_Thread {
|
|
678 |
* @since 1.0.0
|
679 |
*
|
680 |
* @param int $thread_id The message thread ID.
|
681 |
-
*
|
682 |
* @return string|bool The user link on success. Boolean false on failure.
|
683 |
*/
|
684 |
public static function get_last_sender( $thread_id ) {
|
@@ -699,8 +693,7 @@ class BP_Messages_Thread {
|
|
699 |
* @since 1.0.0
|
700 |
*
|
701 |
* @param int $user_id The user ID.
|
702 |
-
*
|
703 |
-
* @return int
|
704 |
*/
|
705 |
public static function get_inbox_count( $user_id = 0 ) {
|
706 |
global $wpdb;
|
@@ -737,7 +730,6 @@ class BP_Messages_Thread {
|
|
737 |
*
|
738 |
* @param int $thread_id The message thread ID.
|
739 |
* @param int $user_id The user ID.
|
740 |
-
*
|
741 |
* @return int|null The recorded recipient ID on success, null on failure.
|
742 |
*/
|
743 |
public static function check_access( $thread_id, $user_id = 0 ) {
|
@@ -761,12 +753,11 @@ class BP_Messages_Thread {
|
|
761 |
* @since 1.0.0
|
762 |
*
|
763 |
* @param int $thread_id The message thread ID.
|
764 |
-
*
|
765 |
* @return int|null The message thread ID on success, null on failure.
|
766 |
*/
|
767 |
public static function is_valid( $thread_id = 0 ) {
|
768 |
|
769 |
-
// Bail if no thread ID is passed
|
770 |
if ( empty( $thread_id ) ) {
|
771 |
return false;
|
772 |
}
|
@@ -791,8 +782,7 @@ class BP_Messages_Thread {
|
|
791 |
* @since 1.0.0
|
792 |
*
|
793 |
* @param array $recipients Array containing the message recipients (array of objects).
|
794 |
-
*
|
795 |
-
* @return string
|
796 |
*/
|
797 |
public static function get_recipient_links( $recipients ) {
|
798 |
|
@@ -830,7 +820,7 @@ class BP_Messages_Thread {
|
|
830 |
$errors = false;
|
831 |
$threads = $wpdb->get_results( "SELECT * FROM {$bp_prefix}bp_messages_threads" );
|
832 |
|
833 |
-
// Nothing to update, just return true to remove the table
|
834 |
if ( empty( $threads ) ) {
|
835 |
return true;
|
836 |
}
|
@@ -843,7 +833,7 @@ class BP_Messages_Thread {
|
|
843 |
if ( ! empty( $message_ids ) ) {
|
844 |
$message_ids = implode( ',', $message_ids );
|
845 |
|
846 |
-
// Add the thread_id to the messages table
|
847 |
if ( ! $wpdb->query( $wpdb->prepare( "UPDATE {$bp->messages->table_name_messages} SET thread_id = %d WHERE id IN ({$message_ids})", $thread->id ) ) ) {
|
848 |
$errors = true;
|
849 |
}
|
111 |
*
|
112 |
* @see BP_Messages_Thread::populate() for full description of parameters.
|
113 |
*
|
114 |
+
* @param bool $thread_id ID for the message thread.
|
115 |
+
* @param string $order Order to display the messages in.
|
116 |
+
* @param array $args Array of arguments for thread querying.
|
117 |
*/
|
118 |
public function __construct( $thread_id = false, $order = 'ASC', $args = array() ) {
|
119 |
if ( $thread_id ) {
|
130 |
*
|
131 |
* @param int $thread_id The message thread ID.
|
132 |
* @param string $order The order to sort the messages. Either 'ASC' or 'DESC'.
|
133 |
+
* @param array $args {
|
134 |
* Array of arguments.
|
135 |
* @type bool $update_meta_cache Whether to pre-fetch metadata for
|
136 |
* queried message items. Default: true.
|
143 |
$order = 'ASC';
|
144 |
}
|
145 |
|
146 |
+
// Merge $args with our defaults.
|
147 |
$r = wp_parse_args( $args, array(
|
148 |
'user_id' => bp_loggedin_user_id(),
|
149 |
'update_meta_cache' => true
|
152 |
$this->messages_order = $order;
|
153 |
$this->thread_id = (int) $thread_id;
|
154 |
|
155 |
+
// Get messages for thread.
|
156 |
$this->messages = self::get_messages( $this->thread_id );
|
157 |
|
158 |
if ( empty( $this->messages ) || is_wp_error( $this->messages ) ) {
|
159 |
return false;
|
160 |
}
|
161 |
|
162 |
+
// Flip if order is DESC.
|
163 |
if ( 'DESC' === $order ) {
|
164 |
$this->messages = array_reverse( $this->messages );
|
165 |
}
|
175 |
$this->sender_ids[ $message->sender_id ] = $message->sender_id;
|
176 |
}
|
177 |
|
178 |
+
// Fetch the recipients.
|
179 |
$this->recipients = $this->get_recipients();
|
180 |
|
181 |
+
// Get the unread count for the logged in user.
|
182 |
if ( isset( $this->recipients[ $r['user_id'] ] ) ) {
|
183 |
$this->unread_count = $this->recipients[ $r['user_id'] ]->unread_count;
|
184 |
}
|
185 |
|
186 |
+
// Grab all message meta.
|
187 |
if ( true === (bool) $r['update_meta_cache'] ) {
|
188 |
bp_messages_update_meta_cache( wp_list_pluck( $this->messages, 'id' ) );
|
189 |
}
|
227 |
* @since 2.3.0 Added $thread_id as a parameter.
|
228 |
*
|
229 |
* @param int $thread_id The thread ID.
|
|
|
230 |
* @return array
|
231 |
*/
|
232 |
public function get_recipients( $thread_id = 0 ) {
|
273 |
*
|
274 |
* @param int $thread_id The message thread ID.
|
275 |
*
|
276 |
+
* @return object List of messages associated with a thread.
|
277 |
*/
|
278 |
public static function get_messages( $thread_id = 0 ) {
|
279 |
$thread_id = (int) $thread_id;
|
284 |
|
285 |
$bp = buddypress();
|
286 |
|
287 |
+
// Always sort by ASC by default.
|
288 |
$messages = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$bp->messages->table_name_messages} WHERE thread_id = %d ORDER BY date_sent ASC", $thread_id ) );
|
289 |
|
290 |
wp_cache_set( $thread_id, (array) $messages, 'bp_messages_threads' );
|
298 |
*
|
299 |
* @since 2.3.0
|
300 |
*
|
301 |
+
* @param int $thread_id The thread ID.
|
|
|
302 |
* @return array
|
303 |
*/
|
304 |
public static function get_recipients_for_thread( $thread_id = 0 ) {
|
315 |
* @since 1.0.0
|
316 |
*
|
317 |
* @param int $thread_id The message thread ID.
|
|
|
318 |
* @return bool
|
319 |
*/
|
320 |
public static function delete( $thread_id = 0 ) {
|
336 |
// Mark messages as deleted
|
337 |
//
|
338 |
// @todo the reliance on bp_loggedin_user_id() sucks for plugins
|
339 |
+
// refactor this method to accept a $user_id parameter.
|
340 |
$wpdb->query( $wpdb->prepare( "UPDATE {$bp->messages->table_name_recipients} SET is_deleted = 1 WHERE thread_id = %d AND user_id = %d", $thread_id, bp_loggedin_user_id() ) );
|
341 |
|
342 |
+
// Get the message ids in order to pass to the action.
|
343 |
$message_ids = $wpdb->get_col( $wpdb->prepare( "SELECT id FROM {$bp->messages->table_name_messages} WHERE thread_id = %d", $thread_id ) );
|
344 |
|
345 |
+
// Check to see if any more recipients remain for this message.
|
346 |
$recipients = $wpdb->get_results( $wpdb->prepare( "SELECT id FROM {$bp->messages->table_name_recipients} WHERE thread_id = %d AND is_deleted = 0", $thread_id ) );
|
347 |
|
348 |
+
// No more recipients so delete all messages associated with the thread.
|
349 |
if ( empty( $recipients ) ) {
|
350 |
|
351 |
/**
|
358 |
*/
|
359 |
do_action( 'bp_messages_thread_before_delete', $thread_id, $message_ids );
|
360 |
|
361 |
+
// Delete all the messages.
|
362 |
$wpdb->query( $wpdb->prepare( "DELETE FROM {$bp->messages->table_name_messages} WHERE thread_id = %d", $thread_id ) );
|
363 |
|
364 |
+
// Do something for each message ID.
|
365 |
foreach ( $message_ids as $message_id ) {
|
366 |
|
367 |
+
// Delete message meta.
|
368 |
bp_messages_delete_meta( $message_id );
|
369 |
|
370 |
/**
|
377 |
do_action( 'messages_thread_deleted_thread', $message_id );
|
378 |
}
|
379 |
|
380 |
+
// Delete all the recipients.
|
381 |
$wpdb->query( $wpdb->prepare( "DELETE FROM {$bp->messages->table_name_recipients} WHERE thread_id = %d", $thread_id ) );
|
382 |
}
|
383 |
|
416 |
public static function get_current_threads_for_user( $args = array() ) {
|
417 |
global $wpdb;
|
418 |
|
419 |
+
// Backward compatibility with old method of passing arguments.
|
420 |
if ( ! is_array( $args ) || func_num_args() > 1 ) {
|
421 |
_deprecated_argument( __METHOD__, '2.2.0', sprintf( __( 'Arguments passed to %1$s should be in an associative array. See the inline documentation at %2$s for more details.', 'buddypress' ), __METHOD__, __FILE__ ) );
|
422 |
|
466 |
|
467 |
$r['user_id'] = (int) $r['user_id'];
|
468 |
|
469 |
+
// Default deleted SQL.
|
470 |
$deleted_sql = 'r.is_deleted = 0';
|
471 |
|
472 |
switch ( $r['box'] ) {
|
481 |
break;
|
482 |
|
483 |
default :
|
484 |
+
// Omit user-deleted threads from all other custom message boxes.
|
485 |
$deleted_sql = $wpdb->prepare( '( r.user_id = %d AND r.is_deleted = 0 )', $r['user_id'] );
|
486 |
break;
|
487 |
}
|
488 |
|
489 |
+
// Process meta query into SQL.
|
490 |
$meta_query = self::get_meta_query_sql( $r['meta_query'] );
|
491 |
if ( ! empty( $meta_query['join'] ) ) {
|
492 |
$meta_query_sql['join'] = $meta_query['join'];
|
497 |
|
498 |
$bp = buddypress();
|
499 |
|
500 |
+
// Set up SQL array.
|
501 |
$sql = array();
|
502 |
$sql['select'] = 'SELECT m.thread_id, MAX(m.date_sent) AS date_sent';
|
503 |
$sql['from'] = "FROM {$bp->messages->table_name_recipients} r INNER JOIN {$bp->messages->table_name_messages} m ON m.thread_id = r.thread_id {$meta_query_sql['join']}";
|
504 |
$sql['where'] = "WHERE {$deleted_sql} {$user_id_sql} {$sender_sql} {$type_sql} {$search_sql} {$meta_query_sql['where']}";
|
505 |
$sql['misc'] = "GROUP BY m.thread_id ORDER BY date_sent DESC {$pag_sql}";
|
506 |
|
507 |
+
// Get thread IDs.
|
508 |
$thread_ids = $wpdb->get_results( implode( ' ', $sql ) );
|
509 |
if ( empty( $thread_ids ) ) {
|
510 |
return false;
|
511 |
}
|
512 |
|
513 |
+
// Adjust $sql to work for thread total.
|
514 |
$sql['select'] = 'SELECT COUNT( DISTINCT m.thread_id )';
|
515 |
unset( $sql['misc'] );
|
516 |
$total_threads = $wpdb->get_var( implode( ' ', $sql ) );
|
517 |
|
518 |
+
// Sort threads by date_sent.
|
519 |
foreach( (array) $thread_ids as $thread ) {
|
520 |
$sorted_threads[ $thread->thread_id ] = strtotime( $thread->date_sent );
|
521 |
}
|
555 |
*
|
556 |
* @param array $meta_query An array of meta_query filters. See the
|
557 |
* documentation for WP_Meta_Query for details.
|
|
|
558 |
* @return array $sql_array 'join' and 'where' clauses.
|
559 |
*/
|
560 |
public static function get_meta_query_sql( $meta_query = array() ) {
|
569 |
$meta_query = new WP_Meta_Query( $meta_query );
|
570 |
|
571 |
// WP_Meta_Query expects the table name at
|
572 |
+
// $wpdb->messagemeta.
|
573 |
$wpdb->messagemeta = buddypress()->messages->table_name_meta;
|
574 |
|
575 |
return $meta_query->get_sql( 'message', 'm', 'id' );
|
624 |
* Defaults to 'inbox'.
|
625 |
* @param string $type The type of messages to get. Either 'all' or 'unread'.
|
626 |
* or 'read'. Defaults to 'all'.
|
627 |
+
* @return int $value Total thread count for the provided user.
|
628 |
*/
|
629 |
public static function get_total_threads_for_user( $user_id, $box = 'inbox', $type = 'all' ) {
|
630 |
global $wpdb;
|
651 |
* @since 1.0.0
|
652 |
*
|
653 |
* @param int $thread_id The message thread ID.
|
|
|
654 |
* @return bool
|
655 |
*/
|
656 |
public static function user_is_sender( $thread_id ) {
|
673 |
* @since 1.0.0
|
674 |
*
|
675 |
* @param int $thread_id The message thread ID.
|
|
|
676 |
* @return string|bool The user link on success. Boolean false on failure.
|
677 |
*/
|
678 |
public static function get_last_sender( $thread_id ) {
|
693 |
* @since 1.0.0
|
694 |
*
|
695 |
* @param int $user_id The user ID.
|
696 |
+
* @return int $unread_count Total inbox unread count for user.
|
|
|
697 |
*/
|
698 |
public static function get_inbox_count( $user_id = 0 ) {
|
699 |
global $wpdb;
|
730 |
*
|
731 |
* @param int $thread_id The message thread ID.
|
732 |
* @param int $user_id The user ID.
|
|
|
733 |
* @return int|null The recorded recipient ID on success, null on failure.
|
734 |
*/
|
735 |
public static function check_access( $thread_id, $user_id = 0 ) {
|
753 |
* @since 1.0.0
|
754 |
*
|
755 |
* @param int $thread_id The message thread ID.
|
|
|
756 |
* @return int|null The message thread ID on success, null on failure.
|
757 |
*/
|
758 |
public static function is_valid( $thread_id = 0 ) {
|
759 |
|
760 |
+
// Bail if no thread ID is passed.
|
761 |
if ( empty( $thread_id ) ) {
|
762 |
return false;
|
763 |
}
|
782 |
* @since 1.0.0
|
783 |
*
|
784 |
* @param array $recipients Array containing the message recipients (array of objects).
|
785 |
+
* @return string $value String of message recipent userlinks.
|
|
|
786 |
*/
|
787 |
public static function get_recipient_links( $recipients ) {
|
788 |
|
820 |
$errors = false;
|
821 |
$threads = $wpdb->get_results( "SELECT * FROM {$bp_prefix}bp_messages_threads" );
|
822 |
|
823 |
+
// Nothing to update, just return true to remove the table.
|
824 |
if ( empty( $threads ) ) {
|
825 |
return true;
|
826 |
}
|
833 |
if ( ! empty( $message_ids ) ) {
|
834 |
$message_ids = implode( ',', $message_ids );
|
835 |
|
836 |
+
// Add the thread_id to the messages table.
|
837 |
if ( ! $wpdb->query( $wpdb->prepare( "UPDATE {$bp->messages->table_name_messages} SET thread_id = %d WHERE id IN ({$message_ids})", $thread->id ) ) ) {
|
838 |
$errors = true;
|
839 |
}
|
@@ -22,29 +22,29 @@ defined( 'ABSPATH' ) || exit;
|
|
22 |
*/
|
23 |
function bp_notifications_action_mark_read() {
|
24 |
|
25 |
-
// Bail if not the unread screen
|
26 |
if ( ! bp_is_notifications_component() || ! bp_is_current_action( 'unread' ) ) {
|
27 |
return false;
|
28 |
}
|
29 |
|
30 |
-
// Get the action
|
31 |
$action = !empty( $_GET['action'] ) ? $_GET['action'] : '';
|
32 |
$nonce = !empty( $_GET['_wpnonce'] ) ? $_GET['_wpnonce'] : '';
|
33 |
$id = !empty( $_GET['notification_id'] ) ? $_GET['notification_id'] : '';
|
34 |
|
35 |
-
// Bail if no action or no ID
|
36 |
if ( ( 'read' !== $action ) || empty( $id ) || empty( $nonce ) ) {
|
37 |
return false;
|
38 |
}
|
39 |
|
40 |
-
// Check the nonce and mark the notification
|
41 |
if ( bp_verify_nonce_request( 'bp_notification_mark_read_' . $id ) && bp_notifications_mark_notification( $id, false ) ) {
|
42 |
bp_core_add_message( __( 'Notification successfully marked read.', 'buddypress' ) );
|
43 |
} else {
|
44 |
bp_core_add_message( __( 'There was a problem marking that notification.', 'buddypress' ), 'error' );
|
45 |
}
|
46 |
|
47 |
-
// Redirect
|
48 |
bp_core_redirect( bp_displayed_user_domain() . bp_get_notifications_slug() . '/unread/' );
|
49 |
}
|
50 |
add_action( 'bp_actions', 'bp_notifications_action_mark_read' );
|
@@ -58,29 +58,29 @@ add_action( 'bp_actions', 'bp_notifications_action_mark_read' );
|
|
58 |
*/
|
59 |
function bp_notifications_action_mark_unread() {
|
60 |
|
61 |
-
// Bail if not the read screen
|
62 |
if ( ! bp_is_notifications_component() || ! bp_is_current_action( 'read' ) ) {
|
63 |
return false;
|
64 |
}
|
65 |
|
66 |
-
// Get the action
|
67 |
$action = !empty( $_GET['action'] ) ? $_GET['action'] : '';
|
68 |
$nonce = !empty( $_GET['_wpnonce'] ) ? $_GET['_wpnonce'] : '';
|
69 |
$id = !empty( $_GET['notification_id'] ) ? $_GET['notification_id'] : '';
|
70 |
|
71 |
-
// Bail if no action or no ID
|
72 |
if ( ( 'unread' !== $action ) || empty( $id ) || empty( $nonce ) ) {
|
73 |
return false;
|
74 |
}
|
75 |
|
76 |
-
// Check the nonce and mark the notification
|
77 |
if ( bp_verify_nonce_request( 'bp_notification_mark_unread_' . $id ) && bp_notifications_mark_notification( $id, true ) ) {
|
78 |
bp_core_add_message( __( 'Notification successfully marked unread.', 'buddypress' ) );
|
79 |
} else {
|
80 |
bp_core_add_message( __( 'There was a problem marking that notification.', 'buddypress' ), 'error' );
|
81 |
}
|
82 |
|
83 |
-
// Redirect
|
84 |
bp_core_redirect( bp_displayed_user_domain() . bp_get_notifications_slug() . '/read/' );
|
85 |
}
|
86 |
add_action( 'bp_actions', 'bp_notifications_action_mark_unread' );
|
@@ -94,29 +94,29 @@ add_action( 'bp_actions', 'bp_notifications_action_mark_unread' );
|
|
94 |
*/
|
95 |
function bp_notifications_action_delete() {
|
96 |
|
97 |
-
// Bail if not the read or unread screen
|
98 |
if ( ! bp_is_notifications_component() || ! ( bp_is_current_action( 'read' ) || bp_is_current_action( 'unread' ) ) ) {
|
99 |
return false;
|
100 |
}
|
101 |
|
102 |
-
// Get the action
|
103 |
$action = !empty( $_GET['action'] ) ? $_GET['action'] : '';
|
104 |
$nonce = !empty( $_GET['_wpnonce'] ) ? $_GET['_wpnonce'] : '';
|
105 |
$id = !empty( $_GET['notification_id'] ) ? $_GET['notification_id'] : '';
|
106 |
|
107 |
-
// Bail if no action or no ID
|
108 |
if ( ( 'delete' !== $action ) || empty( $id ) || empty( $nonce ) ) {
|
109 |
return false;
|
110 |
}
|
111 |
|
112 |
-
// Check the nonce and delete the notification
|
113 |
if ( bp_verify_nonce_request( 'bp_notification_delete_' . $id ) && bp_notifications_delete_notification( $id ) ) {
|
114 |
bp_core_add_message( __( 'Notification successfully deleted.', 'buddypress' ) );
|
115 |
} else {
|
116 |
bp_core_add_message( __( 'There was a problem deleting that notification.', 'buddypress' ), 'error' );
|
117 |
}
|
118 |
|
119 |
-
// Redirect
|
120 |
bp_core_redirect( bp_displayed_user_domain() . bp_get_notifications_slug() . '/' . bp_current_action() . '/' );
|
121 |
}
|
122 |
add_action( 'bp_actions', 'bp_notifications_action_delete' );
|
@@ -135,7 +135,7 @@ function bp_notifications_action_bulk_manage() {
|
|
135 |
return false;
|
136 |
}
|
137 |
|
138 |
-
// Get the action
|
139 |
$action = !empty( $_POST['notification_bulk_action'] ) ? $_POST['notification_bulk_action'] : '';
|
140 |
$nonce = !empty( $_POST['notifications_bulk_nonce'] ) ? $_POST['notifications_bulk_nonce'] : '';
|
141 |
$notifications = !empty( $_POST['notifications'] ) ? $_POST['notifications'] : '';
|
@@ -177,7 +177,7 @@ function bp_notifications_action_bulk_manage() {
|
|
177 |
break;
|
178 |
}
|
179 |
|
180 |
-
// Redirect
|
181 |
bp_core_redirect( bp_displayed_user_domain() . bp_get_notifications_slug() . '/' . bp_current_action() . '/' );
|
182 |
}
|
183 |
add_action( 'bp_actions', 'bp_notifications_action_bulk_manage' );
|
22 |
*/
|
23 |
function bp_notifications_action_mark_read() {
|
24 |
|
25 |
+
// Bail if not the unread screen.
|
26 |
if ( ! bp_is_notifications_component() || ! bp_is_current_action( 'unread' ) ) {
|
27 |
return false;
|
28 |
}
|
29 |
|
30 |
+
// Get the action.
|
31 |
$action = !empty( $_GET['action'] ) ? $_GET['action'] : '';
|
32 |
$nonce = !empty( $_GET['_wpnonce'] ) ? $_GET['_wpnonce'] : '';
|
33 |
$id = !empty( $_GET['notification_id'] ) ? $_GET['notification_id'] : '';
|
34 |
|
35 |
+
// Bail if no action or no ID.
|
36 |
if ( ( 'read' !== $action ) || empty( $id ) || empty( $nonce ) ) {
|
37 |
return false;
|
38 |
}
|
39 |
|
40 |
+
// Check the nonce and mark the notification.
|
41 |
if ( bp_verify_nonce_request( 'bp_notification_mark_read_' . $id ) && bp_notifications_mark_notification( $id, false ) ) {
|
42 |
bp_core_add_message( __( 'Notification successfully marked read.', 'buddypress' ) );
|
43 |
} else {
|
44 |
bp_core_add_message( __( 'There was a problem marking that notification.', 'buddypress' ), 'error' );
|
45 |
}
|
46 |
|
47 |
+
// Redirect.
|
48 |
bp_core_redirect( bp_displayed_user_domain() . bp_get_notifications_slug() . '/unread/' );
|
49 |
}
|
50 |
add_action( 'bp_actions', 'bp_notifications_action_mark_read' );
|
58 |
*/
|
59 |
function bp_notifications_action_mark_unread() {
|
60 |
|
61 |
+
// Bail if not the read screen.
|
62 |
if ( ! bp_is_notifications_component() || ! bp_is_current_action( 'read' ) ) {
|
63 |
return false;
|
64 |
}
|
65 |
|
66 |
+
// Get the action.
|
67 |
$action = !empty( $_GET['action'] ) ? $_GET['action'] : '';
|
68 |
$nonce = !empty( $_GET['_wpnonce'] ) ? $_GET['_wpnonce'] : '';
|
69 |
$id = !empty( $_GET['notification_id'] ) ? $_GET['notification_id'] : '';
|
70 |
|
71 |
+
// Bail if no action or no ID.
|
72 |
if ( ( 'unread' !== $action ) || empty( $id ) || empty( $nonce ) ) {
|
73 |
return false;
|
74 |
}
|
75 |
|
76 |
+
// Check the nonce and mark the notification.
|
77 |
if ( bp_verify_nonce_request( 'bp_notification_mark_unread_' . $id ) && bp_notifications_mark_notification( $id, true ) ) {
|
78 |
bp_core_add_message( __( 'Notification successfully marked unread.', 'buddypress' ) );
|
79 |
} else {
|
80 |
bp_core_add_message( __( 'There was a problem marking that notification.', 'buddypress' ), 'error' );
|
81 |
}
|
82 |
|
83 |
+
// Redirect.
|
84 |
bp_core_redirect( bp_displayed_user_domain() . bp_get_notifications_slug() . '/read/' );
|
85 |
}
|
86 |
add_action( 'bp_actions', 'bp_notifications_action_mark_unread' );
|
94 |
*/
|
95 |
function bp_notifications_action_delete() {
|
96 |
|
97 |
+
// Bail if not the read or unread screen.
|
98 |
if ( ! bp_is_notifications_component() || ! ( bp_is_current_action( 'read' ) || bp_is_current_action( 'unread' ) ) ) {
|
99 |
return false;
|
100 |
}
|
101 |
|
102 |
+
// Get the action.
|
103 |
$action = !empty( $_GET['action'] ) ? $_GET['action'] : '';
|
104 |
$nonce = !empty( $_GET['_wpnonce'] ) ? $_GET['_wpnonce'] : '';
|
105 |
$id = !empty( $_GET['notification_id'] ) ? $_GET['notification_id'] : '';
|
106 |
|
107 |
+
// Bail if no action or no ID.
|
108 |
if ( ( 'delete' !== $action ) || empty( $id ) || empty( $nonce ) ) {
|
109 |
return false;
|
110 |
}
|
111 |
|
112 |
+
// Check the nonce and delete the notification.
|
113 |
if ( bp_verify_nonce_request( 'bp_notification_delete_' . $id ) && bp_notifications_delete_notification( $id ) ) {
|
114 |
bp_core_add_message( __( 'Notification successfully deleted.', 'buddypress' ) );
|
115 |
} else {
|
116 |
bp_core_add_message( __( 'There was a problem deleting that notification.', 'buddypress' ), 'error' );
|
117 |
}
|
118 |
|
119 |
+
// Redirect.
|
120 |
bp_core_redirect( bp_displayed_user_domain() . bp_get_notifications_slug() . '/' . bp_current_action() . '/' );
|
121 |
}
|
122 |
add_action( 'bp_actions', 'bp_notifications_action_delete' );
|
135 |
return false;
|
136 |
}
|
137 |
|
138 |
+
// Get the action.
|
139 |
$action = !empty( $_POST['notification_bulk_action'] ) ? $_POST['notification_bulk_action'] : '';
|
140 |
$nonce = !empty( $_POST['notifications_bulk_nonce'] ) ? $_POST['notifications_bulk_nonce'] : '';
|
141 |
$notifications = !empty( $_POST['notifications'] ) ? $_POST['notifications'] : '';
|
177 |
break;
|
178 |
}
|
179 |
|
180 |
+
// Redirect.
|
181 |
bp_core_redirect( bp_displayed_user_domain() . bp_get_notifications_slug() . '/' . bp_current_action() . '/' );
|
182 |
}
|
183 |
add_action( 'bp_actions', 'bp_notifications_action_bulk_manage' );
|
@@ -31,7 +31,7 @@ function bp_notifications_toolbar_menu() {
|
|
31 |
$menu_title = '<span id="ab-pending-notifications" class="' . $alert_class . '">' . number_format_i18n( $count ) . '</span>';
|
32 |
$menu_link = trailingslashit( bp_loggedin_user_domain() . bp_get_notifications_slug() );
|
33 |
|
34 |
-
// Add the top-level Notifications button
|
35 |
$wp_admin_bar->add_menu( array(
|
36 |
'parent' => 'top-secondary',
|
37 |
'id' => 'bp-notifications',
|
31 |
$menu_title = '<span id="ab-pending-notifications" class="' . $alert_class . '">' . number_format_i18n( $count ) . '</span>';
|
32 |
$menu_link = trailingslashit( bp_loggedin_user_domain() . bp_get_notifications_slug() );
|
33 |
|
34 |
+
// Add the top-level Notifications button.
|
35 |
$wp_admin_bar->add_menu( array(
|
36 |
'parent' => 'top-secondary',
|
37 |
'id' => 'bp-notifications',
|
@@ -2,10 +2,9 @@
|
|
2 |
/**
|
3 |
* Functions related to notifications caching.
|
4 |
*
|
5 |
-
* @since 2.0.0
|
6 |
-
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage NotificationsCache
|
|
|
9 |
*/
|
10 |
|
11 |
// Exit if accessed directly.
|
@@ -67,7 +66,7 @@ add_action( 'bp_notification_after_save', 'bp_notifications_clear_all_for_user_c
|
|
67 |
*/
|
68 |
function bp_notifications_clear_all_for_user_cache_before_delete( $args ) {
|
69 |
|
70 |
-
// Pull up a list of items matching the args (those about te be deleted)
|
71 |
$ns = BP_Notifications_Notification::get( $args );
|
72 |
|
73 |
$user_ids = array();
|
@@ -92,11 +91,11 @@ add_action( 'bp_notification_before_delete', 'bp_notifications_clear_all_for_use
|
|
92 |
*/
|
93 |
function bp_notifications_clear_all_for_user_cache_before_update( $update_args, $where_args ) {
|
94 |
|
95 |
-
// User ID is passed in where arugments
|
96 |
if ( ! empty( $where_args['user_id'] ) ) {
|
97 |
bp_notifications_clear_all_for_user_cache( $where_args['user_id'] );
|
98 |
|
99 |
-
// Get user ID from Notification ID
|
100 |
} elseif ( ! empty( $where_args['id'] ) ) {
|
101 |
$n = bp_notifications_get_notification( $where_args['id'] );
|
102 |
bp_notifications_clear_all_for_user_cache( $n->user_id );
|
2 |
/**
|
3 |
* Functions related to notifications caching.
|
4 |
*
|
|
|
|
|
5 |
* @package BuddyPress
|
6 |
* @subpackage NotificationsCache
|
7 |
+
* @since 2.0.0
|
8 |
*/
|
9 |
|
10 |
// Exit if accessed directly.
|
66 |
*/
|
67 |
function bp_notifications_clear_all_for_user_cache_before_delete( $args ) {
|
68 |
|
69 |
+
// Pull up a list of items matching the args (those about te be deleted).
|
70 |
$ns = BP_Notifications_Notification::get( $args );
|
71 |
|
72 |
$user_ids = array();
|
91 |
*/
|
92 |
function bp_notifications_clear_all_for_user_cache_before_update( $update_args, $where_args ) {
|
93 |
|
94 |
+
// User ID is passed in where arugments.
|
95 |
if ( ! empty( $where_args['user_id'] ) ) {
|
96 |
bp_notifications_clear_all_for_user_cache( $where_args['user_id'] );
|
97 |
|
98 |
+
// Get user ID from Notification ID.
|
99 |
} elseif ( ! empty( $where_args['id'] ) ) {
|
100 |
$n = bp_notifications_get_notification( $where_args['id'] );
|
101 |
bp_notifications_clear_all_for_user_cache( $n->user_id );
|
@@ -6,7 +6,6 @@
|
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage NotificationsClasses
|
9 |
-
*
|
10 |
* @since 1.9.0
|
11 |
*/
|
12 |
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage NotificationsClasses
|
|
|
9 |
* @since 1.9.0
|
10 |
*/
|
11 |
|
@@ -29,7 +29,7 @@ defined( 'ABSPATH' ) || exit;
|
|
29 |
* @type string $date_notified Timestamp for the notification.
|
30 |
* }
|
31 |
* @return int|bool ID of the newly created notification on success, false
|
32 |
-
*
|
33 |
*/
|
34 |
function bp_notifications_add_notification( $args = array() ) {
|
35 |
|
@@ -44,10 +44,10 @@ function bp_notifications_add_notification( $args = array() ) {
|
|
44 |
'allow_duplicate' => false,
|
45 |
), 'notifications_add_notification' );;
|
46 |
|
47 |
-
// Check for existing duplicate notifications
|
48 |
if ( ! $r['allow_duplicate'] ) {
|
49 |
-
//
|
50 |
-
// duplicate status
|
51 |
$existing = BP_Notifications_Notification::get( array(
|
52 |
'user_id' => $r['user_id'],
|
53 |
'item_id' => $r['item_id'],
|
@@ -62,7 +62,7 @@ function bp_notifications_add_notification( $args = array() ) {
|
|
62 |
}
|
63 |
}
|
64 |
|
65 |
-
// Setup the new notification
|
66 |
$notification = new BP_Notifications_Notification;
|
67 |
$notification->user_id = $r['user_id'];
|
68 |
$notification->item_id = $r['item_id'];
|
@@ -72,7 +72,7 @@ function bp_notifications_add_notification( $args = array() ) {
|
|
72 |
$notification->date_notified = $r['date_notified'];
|
73 |
$notification->is_new = $r['is_new'];
|
74 |
|
75 |
-
// Save the new notification
|
76 |
return $notification->save();
|
77 |
}
|
78 |
|
@@ -82,8 +82,7 @@ function bp_notifications_add_notification( $args = array() ) {
|
|
82 |
* @since 1.9.0
|
83 |
*
|
84 |
* @param int $id ID of the notification.
|
85 |
-
*
|
86 |
-
* @return BP_Notifications_Notification
|
87 |
*/
|
88 |
function bp_notifications_get_notification( $id ) {
|
89 |
return new BP_Notifications_Notification( $id );
|
@@ -95,7 +94,6 @@ function bp_notifications_get_notification( $id ) {
|
|
95 |
* @since 1.9.0
|
96 |
*
|
97 |
* @param int $id ID of the notification to delete.
|
98 |
-
*
|
99 |
* @return bool True on success, false on failure.
|
100 |
*/
|
101 |
function bp_notifications_delete_notification( $id ) {
|
@@ -115,7 +113,6 @@ function bp_notifications_delete_notification( $id ) {
|
|
115 |
*
|
116 |
* @param int $id ID of the notification.
|
117 |
* @param int|bool $is_new 0 for read, 1 for unread.
|
118 |
-
*
|
119 |
* @return bool True on success, false on failure.
|
120 |
*/
|
121 |
function bp_notifications_mark_notification( $id, $is_new = false ) {
|
@@ -135,17 +132,16 @@ function bp_notifications_mark_notification( $id, $is_new = false ) {
|
|
135 |
* @since 2.1.0
|
136 |
*
|
137 |
* @param int $user_id ID of the user whose notifications are being fetched.
|
138 |
-
*
|
139 |
-
* @return array
|
140 |
*/
|
141 |
function bp_notifications_get_all_notifications_for_user( $user_id = 0 ) {
|
142 |
|
143 |
-
// Default to displayed user if no ID is passed
|
144 |
if ( empty( $user_id ) ) {
|
145 |
$user_id = ( bp_displayed_user_id() ) ? bp_displayed_user_id() : bp_loggedin_user_id();
|
146 |
}
|
147 |
|
148 |
-
// Get notifications out of the cache, or query if necessary
|
149 |
$notifications = wp_cache_get( 'all_for_user_' . $user_id, 'bp_notifications' );
|
150 |
if ( false === $notifications ) {
|
151 |
$notifications = BP_Notifications_Notification::get( array(
|
@@ -173,56 +169,63 @@ function bp_notifications_get_all_notifications_for_user( $user_id = 0 ) {
|
|
173 |
* @param int $user_id ID of the user whose notifications are being fetched.
|
174 |
* @param string $format Format of the returned values. 'string' returns HTML,
|
175 |
* while 'object' returns a structured object for parsing.
|
176 |
-
*
|
177 |
* @return mixed Object or array on success, false on failure.
|
178 |
*/
|
179 |
function bp_notifications_get_notifications_for_user( $user_id, $format = 'string' ) {
|
180 |
|
181 |
-
// Setup local variables
|
182 |
$bp = buddypress();
|
183 |
|
184 |
-
// Get notifications (out of the cache, or query if necessary)
|
185 |
$notifications = bp_notifications_get_all_notifications_for_user( $user_id );
|
186 |
-
$grouped_notifications = array(); // Notification groups
|
187 |
-
$renderable = array(); // Renderable notifications
|
188 |
|
189 |
-
// Group notifications by component and component_action and provide totals
|
190 |
for ( $i = 0, $count = count( $notifications ); $i < $count; ++$i ) {
|
191 |
$notification = $notifications[$i];
|
192 |
$grouped_notifications[$notification->component_name][$notification->component_action][] = $notification;
|
193 |
}
|
194 |
|
195 |
-
// Bail if no notification groups
|
196 |
if ( empty( $grouped_notifications ) ) {
|
197 |
return false;
|
198 |
}
|
199 |
|
200 |
-
// Calculate a renderable output for each notification type
|
201 |
foreach ( $grouped_notifications as $component_name => $action_arrays ) {
|
202 |
|
203 |
-
//
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
204 |
if ( empty( $action_arrays ) ) {
|
205 |
continue;
|
206 |
}
|
207 |
|
208 |
-
// Loop through each actionable item and try to map it to a component
|
209 |
foreach ( (array) $action_arrays as $component_action_name => $component_action_items ) {
|
210 |
|
211 |
-
// Get the number of actionable items
|
212 |
$action_item_count = count( $component_action_items );
|
213 |
|
214 |
-
// Skip if the count is less than 1
|
215 |
if ( $action_item_count < 1 ) {
|
216 |
continue;
|
217 |
}
|
218 |
|
219 |
-
// Callback function exists
|
220 |
if ( isset( $bp->{$component_name}->notification_callback ) && is_callable( $bp->{$component_name}->notification_callback ) ) {
|
221 |
|
222 |
-
// Function should return an object
|
223 |
if ( 'object' === $format ) {
|
224 |
|
225 |
-
// Retrieve the content of the notification using the callback
|
226 |
$content = call_user_func(
|
227 |
$bp->{$component_name}->notification_callback,
|
228 |
$component_action_name,
|
@@ -232,11 +235,11 @@ function bp_notifications_get_notifications_for_user( $user_id, $format = 'strin
|
|
232 |
'array'
|
233 |
);
|
234 |
|
235 |
-
// Create the object to be returned
|
236 |
$notification_object = $component_action_items[0];
|
237 |
|
238 |
// Minimal backpat with non-compatible notification
|
239 |
-
// callback functions
|
240 |
if ( is_string( $content ) ) {
|
241 |
$notification_object->content = $content;
|
242 |
$notification_object->href = bp_loggedin_user_domain();
|
@@ -247,7 +250,7 @@ function bp_notifications_get_notifications_for_user( $user_id, $format = 'strin
|
|
247 |
|
248 |
$renderable[] = $notification_object;
|
249 |
|
250 |
-
// Return an array of content strings
|
251 |
} else {
|
252 |
$content = call_user_func( $bp->{$component_name}->notification_callback, $component_action_name, $component_action_items[0]->item_id, $component_action_items[0]->secondary_item_id, $action_item_count );
|
253 |
$renderable[] = $content;
|
@@ -257,10 +260,10 @@ function bp_notifications_get_notifications_for_user( $user_id, $format = 'strin
|
|
257 |
} elseif ( isset( $bp->{$component_name}->format_notification_function ) && function_exists( $bp->{$component_name}->format_notification_function ) ) {
|
258 |
$renderable[] = call_user_func( $bp->{$component_name}->format_notification_function, $component_action_name, $component_action_items[0]->item_id, $component_action_items[0]->secondary_item_id, $action_item_count );
|
259 |
|
260 |
-
// Allow non BuddyPress components to hook in
|
261 |
} else {
|
262 |
|
263 |
-
// The array to reference with apply_filters_ref_array()
|
264 |
$ref_array = array(
|
265 |
$component_action_name,
|
266 |
$component_action_items[0]->item_id,
|
@@ -269,7 +272,7 @@ function bp_notifications_get_notifications_for_user( $user_id, $format = 'strin
|
|
269 |
$format
|
270 |
);
|
271 |
|
272 |
-
// Function should return an object
|
273 |
if ( 'object' === $format ) {
|
274 |
|
275 |
/**
|
@@ -281,11 +284,11 @@ function bp_notifications_get_notifications_for_user( $user_id, $format = 'strin
|
|
281 |
*/
|
282 |
$content = apply_filters_ref_array( 'bp_notifications_get_notifications_for_user', $ref_array );
|
283 |
|
284 |
-
// Create the object to be returned
|
285 |
$notification_object = $component_action_items[0];
|
286 |
|
287 |
// Minimal backpat with non-compatible notification
|
288 |
-
// callback functions
|
289 |
if ( is_string( $content ) ) {
|
290 |
$notification_object->content = $content;
|
291 |
$notification_object->href = bp_loggedin_user_domain();
|
@@ -296,7 +299,7 @@ function bp_notifications_get_notifications_for_user( $user_id, $format = 'strin
|
|
296 |
|
297 |
$renderable[] = $notification_object;
|
298 |
|
299 |
-
// Return an array of content strings
|
300 |
} else {
|
301 |
|
302 |
/** This filters is documented in bp-notifications/bp-notifications-functions.php */
|
@@ -306,7 +309,7 @@ function bp_notifications_get_notifications_for_user( $user_id, $format = 'strin
|
|
306 |
}
|
307 |
}
|
308 |
|
309 |
-
// If renderable is empty array, set to false
|
310 |
if ( empty( $renderable ) ) {
|
311 |
$renderable = false;
|
312 |
}
|
@@ -336,7 +339,6 @@ function bp_notifications_get_notifications_for_user( $user_id, $format = 'strin
|
|
336 |
* @param int $user_id ID of the user whose notifications are being deleted.
|
337 |
* @param string $component_name Name of the associated component.
|
338 |
* @param string $component_action Name of the associated action.
|
339 |
-
*
|
340 |
* @return bool True on success, false on failure.
|
341 |
*/
|
342 |
function bp_notifications_delete_notifications_by_type( $user_id, $component_name, $component_action ) {
|
@@ -360,7 +362,6 @@ function bp_notifications_delete_notifications_by_type( $user_id, $component_nam
|
|
360 |
* @param string $component_name Name of the associated component.
|
361 |
* @param string $component_action Name of the associated action.
|
362 |
* @param int|bool $secondary_item_id ID of the secondary associated item.
|
363 |
-
*
|
364 |
* @return bool True on success, false on failure.
|
365 |
*/
|
366 |
function bp_notifications_delete_notifications_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false ) {
|
@@ -384,7 +385,6 @@ function bp_notifications_delete_notifications_by_item_id( $user_id, $item_id, $
|
|
384 |
* @param string $component_name Name of the associated component.
|
385 |
* @param string|bool $component_action Optional. Name of the associated action.
|
386 |
* @param int|bool $secondary_item_id Optional. ID of the secondary associated item.
|
387 |
-
*
|
388 |
* @return bool True on success, false on failure.
|
389 |
*/
|
390 |
function bp_notifications_delete_all_notifications_by_type( $item_id, $component_name, $component_action = false, $secondary_item_id = false ) {
|
@@ -410,7 +410,6 @@ function bp_notifications_delete_all_notifications_by_type( $item_id, $component
|
|
410 |
* @param int $user_id ID of the user whose associated items are being deleted.
|
411 |
* @param string $component_name Name of the associated component.
|
412 |
* @param string $component_action Name of the associated action.
|
413 |
-
*
|
414 |
* @return bool True on success, false on failure.
|
415 |
*/
|
416 |
function bp_notifications_delete_notifications_from_user( $user_id, $component_name, $component_action ) {
|
@@ -435,7 +434,6 @@ function bp_notifications_delete_notifications_from_user( $user_id, $component_n
|
|
435 |
* @param string $component_name Name of the associated component.
|
436 |
* @param string $component_action Name of the associated action.
|
437 |
* @param int|bool $is_new 0 for read, 1 for unread.
|
438 |
-
*
|
439 |
* @return bool True on success, false on failure.
|
440 |
*/
|
441 |
function bp_notifications_mark_notifications_by_type( $user_id, $component_name, $component_action, $is_new = false ) {
|
@@ -465,7 +463,6 @@ function bp_notifications_mark_notifications_by_type( $user_id, $component_name,
|
|
465 |
* @param string $component_action Name of the associated action.
|
466 |
* @param int|bool $secondary_item_id ID of the secondary associated item.
|
467 |
* @param int|bool $is_new 0 for read, 1 for unread.
|
468 |
-
*
|
469 |
* @return bool True on success, false on failure.
|
470 |
*/
|
471 |
function bp_notifications_mark_notifications_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false, $is_new = false ) {
|
@@ -495,7 +492,6 @@ function bp_notifications_mark_notifications_by_item_id( $user_id, $item_id, $co
|
|
495 |
* @param string|bool $component_action Optional. Name of the associated action.
|
496 |
* @param int|bool $secondary_item_id Optional. ID of the secondary associated item.
|
497 |
* @param int|bool $is_new 0 for read, 1 for unread.
|
498 |
-
*
|
499 |
* @return bool True on success, false on failure.
|
500 |
*/
|
501 |
function bp_notifications_mark_all_notifications_by_type( $item_id, $component_name, $component_action = false, $secondary_item_id = false, $is_new = false ) {
|
@@ -527,7 +523,6 @@ function bp_notifications_mark_all_notifications_by_type( $item_id, $component_n
|
|
527 |
* @param string $component_name Name of the associated component.
|
528 |
* @param string $component_action Name of the associated action.
|
529 |
* @param int|bool $is_new 0 for read, 1 for unread.
|
530 |
-
*
|
531 |
* @return bool True on success, false on failure.
|
532 |
*/
|
533 |
function bp_notifications_mark_notifications_from_user( $user_id, $component_name, $component_action, $is_new = false ) {
|
@@ -554,7 +549,6 @@ function bp_notifications_mark_notifications_from_user( $user_id, $component_nam
|
|
554 |
*
|
555 |
* @param int $user_id ID of the user being checked.
|
556 |
* @param int $notification_id ID of the notification being checked.
|
557 |
-
*
|
558 |
* @return bool True if the notification belongs to the user, otherwise false.
|
559 |
*/
|
560 |
function bp_notifications_check_notification_access( $user_id, $notification_id ) {
|
@@ -568,7 +562,6 @@ function bp_notifications_check_notification_access( $user_id, $notification_id
|
|
568 |
*
|
569 |
* @param int $user_id ID of the user whose unread notifications are being
|
570 |
* counted.
|
571 |
-
*
|
572 |
* @return int Unread notification count.
|
573 |
*/
|
574 |
function bp_notifications_get_unread_notification_count( $user_id = 0 ) {
|
@@ -593,24 +586,29 @@ function bp_notifications_get_unread_notification_count( $user_id = 0 ) {
|
|
593 |
*
|
594 |
* @see http://buddypress.trac.wordpress.org/ticket/5300
|
595 |
*
|
596 |
-
* @return array
|
597 |
*/
|
598 |
function bp_notifications_get_registered_components() {
|
599 |
|
600 |
-
// Load BuddyPress
|
601 |
$bp = buddypress();
|
602 |
|
603 |
-
// Setup return value
|
604 |
$component_names = array();
|
605 |
|
606 |
-
// Get the active components
|
607 |
$active_components = array_keys( $bp->active_components );
|
608 |
|
609 |
-
// Loop through components, look for callbacks, add to return value
|
610 |
foreach ( $active_components as $component ) {
|
611 |
if ( !empty( $bp->$component->notification_callback ) ) {
|
612 |
$component_names[] = $component;
|
613 |
}
|
|
|
|
|
|
|
|
|
|
|
614 |
}
|
615 |
|
616 |
/**
|
@@ -640,22 +638,21 @@ function bp_notifications_get_registered_components() {
|
|
640 |
* @param string $meta_value Optional. If present, the metadata will only be
|
641 |
* deleted if the meta_value matches this parameter.
|
642 |
* @param bool $delete_all Optional. If true, delete matching metadata entries
|
643 |
-
*
|
644 |
-
*
|
645 |
-
*
|
646 |
-
*
|
647 |
* @return bool True on success, false on failure.
|
648 |
*/
|
649 |
function bp_notifications_delete_meta( $notification_id, $meta_key = '', $meta_value = '', $delete_all = false ) {
|
650 |
|
651 |
-
// Legacy - if no meta_key is passed, delete all for the item
|
652 |
if ( empty( $meta_key ) ) {
|
653 |
$all_meta = bp_notifications_get_meta( $notification_id );
|
654 |
$keys = ! empty( $all_meta )
|
655 |
? array_keys( $all_meta )
|
656 |
: array();
|
657 |
|
658 |
-
// With no meta_key, ignore $delete_all
|
659 |
$delete_all = false;
|
660 |
} else {
|
661 |
$keys = array( $meta_key );
|
@@ -684,9 +681,8 @@ function bp_notifications_delete_meta( $notification_id, $meta_key = '', $meta_v
|
|
684 |
* that meta key will be returned. Otherwise, all metadata for the
|
685 |
* notification item will be fetched.
|
686 |
* @param bool $single Optional. If true, return only the first value of the
|
687 |
-
*
|
688 |
-
*
|
689 |
-
*
|
690 |
* @return mixed The meta value(s) being requested.
|
691 |
*/
|
692 |
function bp_notifications_get_meta( $notification_id = 0, $meta_key = '', $single = true ) {
|
@@ -719,7 +715,6 @@ function bp_notifications_get_meta( $notification_id = 0, $meta_key = '', $singl
|
|
719 |
* @param mixed $prev_value Optional. If specified, only update existing
|
720 |
* metadata entries with the specified value.
|
721 |
* Otherwise, update all entries.
|
722 |
-
*
|
723 |
* @return bool|int Returns false on failure. On successful
|
724 |
* update of existing metadata, returns true. On
|
725 |
* successful creation of new metadata, returns
|
@@ -744,7 +739,6 @@ function bp_notifications_update_meta( $notification_id, $meta_key, $meta_value,
|
|
744 |
* @param bool $unique Optional. Whether to enforce a single metadata value
|
745 |
* for the given key. If true, and the object already has a value for
|
746 |
* the key, no change will be made. Default: false.
|
747 |
-
*
|
748 |
* @return int|bool The meta ID on successful update, false on failure.
|
749 |
*/
|
750 |
function bp_notifications_add_meta( $notification_id, $meta_key, $meta_value, $unique = false ) {
|
29 |
* @type string $date_notified Timestamp for the notification.
|
30 |
* }
|
31 |
* @return int|bool ID of the newly created notification on success, false
|
32 |
+
* on failure.
|
33 |
*/
|
34 |
function bp_notifications_add_notification( $args = array() ) {
|
35 |
|
44 |
'allow_duplicate' => false,
|
45 |
), 'notifications_add_notification' );;
|
46 |
|
47 |
+
// Check for existing duplicate notifications.
|
48 |
if ( ! $r['allow_duplicate'] ) {
|
49 |
+
// Date_notified, allow_duplicate don't count toward
|
50 |
+
// duplicate status.
|
51 |
$existing = BP_Notifications_Notification::get( array(
|
52 |
'user_id' => $r['user_id'],
|
53 |
'item_id' => $r['item_id'],
|
62 |
}
|
63 |
}
|
64 |
|
65 |
+
// Setup the new notification.
|
66 |
$notification = new BP_Notifications_Notification;
|
67 |
$notification->user_id = $r['user_id'];
|
68 |
$notification->item_id = $r['item_id'];
|
72 |
$notification->date_notified = $r['date_notified'];
|
73 |
$notification->is_new = $r['is_new'];
|
74 |
|
75 |
+
// Save the new notification.
|
76 |
return $notification->save();
|
77 |
}
|
78 |
|
82 |
* @since 1.9.0
|
83 |
*
|
84 |
* @param int $id ID of the notification.
|
85 |
+
* @return BP_Notifications_Notification Notification object for ID specified.
|
|
|
86 |
*/
|
87 |
function bp_notifications_get_notification( $id ) {
|
88 |
return new BP_Notifications_Notification( $id );
|
94 |
* @since 1.9.0
|
95 |
*
|
96 |
* @param int $id ID of the notification to delete.
|
|
|
97 |
* @return bool True on success, false on failure.
|
98 |
*/
|
99 |
function bp_notifications_delete_notification( $id ) {
|
113 |
*
|
114 |
* @param int $id ID of the notification.
|
115 |
* @param int|bool $is_new 0 for read, 1 for unread.
|
|
|
116 |
* @return bool True on success, false on failure.
|
117 |
*/
|
118 |
function bp_notifications_mark_notification( $id, $is_new = false ) {
|
132 |
* @since 2.1.0
|
133 |
*
|
134 |
* @param int $user_id ID of the user whose notifications are being fetched.
|
135 |
+
* @return array $notifications Array of notifications for user.
|
|
|
136 |
*/
|
137 |
function bp_notifications_get_all_notifications_for_user( $user_id = 0 ) {
|
138 |
|
139 |
+
// Default to displayed user if no ID is passed.
|
140 |
if ( empty( $user_id ) ) {
|
141 |
$user_id = ( bp_displayed_user_id() ) ? bp_displayed_user_id() : bp_loggedin_user_id();
|
142 |
}
|
143 |
|
144 |
+
// Get notifications out of the cache, or query if necessary.
|
145 |
$notifications = wp_cache_get( 'all_for_user_' . $user_id, 'bp_notifications' );
|
146 |
if ( false === $notifications ) {
|
147 |
$notifications = BP_Notifications_Notification::get( array(
|
169 |
* @param int $user_id ID of the user whose notifications are being fetched.
|
170 |
* @param string $format Format of the returned values. 'string' returns HTML,
|
171 |
* while 'object' returns a structured object for parsing.
|
|
|
172 |
* @return mixed Object or array on success, false on failure.
|
173 |
*/
|
174 |
function bp_notifications_get_notifications_for_user( $user_id, $format = 'string' ) {
|
175 |
|
176 |
+
// Setup local variables.
|
177 |
$bp = buddypress();
|
178 |
|
179 |
+
// Get notifications (out of the cache, or query if necessary).
|
180 |
$notifications = bp_notifications_get_all_notifications_for_user( $user_id );
|
181 |
+
$grouped_notifications = array(); // Notification groups.
|
182 |
+
$renderable = array(); // Renderable notifications.
|
183 |
|
184 |
+
// Group notifications by component and component_action and provide totals.
|
185 |
for ( $i = 0, $count = count( $notifications ); $i < $count; ++$i ) {
|
186 |
$notification = $notifications[$i];
|
187 |
$grouped_notifications[$notification->component_name][$notification->component_action][] = $notification;
|
188 |
}
|
189 |
|
190 |
+
// Bail if no notification groups.
|
191 |
if ( empty( $grouped_notifications ) ) {
|
192 |
return false;
|
193 |
}
|
194 |
|
195 |
+
// Calculate a renderable output for each notification type.
|
196 |
foreach ( $grouped_notifications as $component_name => $action_arrays ) {
|
197 |
|
198 |
+
// We prefer that extended profile component-related notifications use
|
199 |
+
// the component_name of 'xprofile'. However, the extended profile child
|
200 |
+
// object in the $bp object is keyed as 'profile', which is where we need
|
201 |
+
// to look for the registered notification callback.
|
202 |
+
if ( 'xprofile' == $component_name ) {
|
203 |
+
$component_name = 'profile';
|
204 |
+
}
|
205 |
+
|
206 |
+
// Skip if group is empty.
|
207 |
if ( empty( $action_arrays ) ) {
|
208 |
continue;
|
209 |
}
|
210 |
|
211 |
+
// Loop through each actionable item and try to map it to a component.
|
212 |
foreach ( (array) $action_arrays as $component_action_name => $component_action_items ) {
|
213 |
|
214 |
+
// Get the number of actionable items.
|
215 |
$action_item_count = count( $component_action_items );
|
216 |
|
217 |
+
// Skip if the count is less than 1.
|
218 |
if ( $action_item_count < 1 ) {
|
219 |
continue;
|
220 |
}
|
221 |
|
222 |
+
// Callback function exists.
|
223 |
if ( isset( $bp->{$component_name}->notification_callback ) && is_callable( $bp->{$component_name}->notification_callback ) ) {
|
224 |
|
225 |
+
// Function should return an object.
|
226 |
if ( 'object' === $format ) {
|
227 |
|
228 |
+
// Retrieve the content of the notification using the callback.
|
229 |
$content = call_user_func(
|
230 |
$bp->{$component_name}->notification_callback,
|
231 |
$component_action_name,
|
235 |
'array'
|
236 |
);
|
237 |
|
238 |
+
// Create the object to be returned.
|
239 |
$notification_object = $component_action_items[0];
|
240 |
|
241 |
// Minimal backpat with non-compatible notification
|
242 |
+
// callback functions.
|
243 |
if ( is_string( $content ) ) {
|
244 |
$notification_object->content = $content;
|
245 |
$notification_object->href = bp_loggedin_user_domain();
|
250 |
|
251 |
$renderable[] = $notification_object;
|
252 |
|
253 |
+
// Return an array of content strings.
|
254 |
} else {
|
255 |
$content = call_user_func( $bp->{$component_name}->notification_callback, $component_action_name, $component_action_items[0]->item_id, $component_action_items[0]->secondary_item_id, $action_item_count );
|
256 |
$renderable[] = $content;
|
260 |
} elseif ( isset( $bp->{$component_name}->format_notification_function ) && function_exists( $bp->{$component_name}->format_notification_function ) ) {
|
261 |
$renderable[] = call_user_func( $bp->{$component_name}->format_notification_function, $component_action_name, $component_action_items[0]->item_id, $component_action_items[0]->secondary_item_id, $action_item_count );
|
262 |
|
263 |
+
// Allow non BuddyPress components to hook in.
|
264 |
} else {
|
265 |
|
266 |
+
// The array to reference with apply_filters_ref_array().
|
267 |
$ref_array = array(
|
268 |
$component_action_name,
|
269 |
$component_action_items[0]->item_id,
|
272 |
$format
|
273 |
);
|
274 |
|
275 |
+
// Function should return an object.
|
276 |
if ( 'object' === $format ) {
|
277 |
|
278 |
/**
|
284 |
*/
|
285 |
$content = apply_filters_ref_array( 'bp_notifications_get_notifications_for_user', $ref_array );
|
286 |
|
287 |
+
// Create the object to be returned.
|
288 |
$notification_object = $component_action_items[0];
|
289 |
|
290 |
// Minimal backpat with non-compatible notification
|
291 |
+
// callback functions.
|
292 |
if ( is_string( $content ) ) {
|
293 |
$notification_object->content = $content;
|
294 |
$notification_object->href = bp_loggedin_user_domain();
|
299 |
|
300 |
$renderable[] = $notification_object;
|
301 |
|
302 |
+
// Return an array of content strings.
|
303 |
} else {
|
304 |
|
305 |
/** This filters is documented in bp-notifications/bp-notifications-functions.php */
|
309 |
}
|
310 |
}
|
311 |
|
312 |
+
// If renderable is empty array, set to false.
|
313 |
if ( empty( $renderable ) ) {
|
314 |
$renderable = false;
|
315 |
}
|
339 |
* @param int $user_id ID of the user whose notifications are being deleted.
|
340 |
* @param string $component_name Name of the associated component.
|
341 |
* @param string $component_action Name of the associated action.
|
|
|
342 |
* @return bool True on success, false on failure.
|
343 |
*/
|
344 |
function bp_notifications_delete_notifications_by_type( $user_id, $component_name, $component_action ) {
|
362 |
* @param string $component_name Name of the associated component.
|
363 |
* @param string $component_action Name of the associated action.
|
364 |
* @param int|bool $secondary_item_id ID of the secondary associated item.
|
|
|
365 |
* @return bool True on success, false on failure.
|
366 |
*/
|
367 |
function bp_notifications_delete_notifications_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false ) {
|
385 |
* @param string $component_name Name of the associated component.
|
386 |
* @param string|bool $component_action Optional. Name of the associated action.
|
387 |
* @param int|bool $secondary_item_id Optional. ID of the secondary associated item.
|
|
|
388 |
* @return bool True on success, false on failure.
|
389 |
*/
|
390 |
function bp_notifications_delete_all_notifications_by_type( $item_id, $component_name, $component_action = false, $secondary_item_id = false ) {
|
410 |
* @param int $user_id ID of the user whose associated items are being deleted.
|
411 |
* @param string $component_name Name of the associated component.
|
412 |
* @param string $component_action Name of the associated action.
|
|
|
413 |
* @return bool True on success, false on failure.
|
414 |
*/
|
415 |
function bp_notifications_delete_notifications_from_user( $user_id, $component_name, $component_action ) {
|
434 |
* @param string $component_name Name of the associated component.
|
435 |
* @param string $component_action Name of the associated action.
|
436 |
* @param int|bool $is_new 0 for read, 1 for unread.
|
|
|
437 |
* @return bool True on success, false on failure.
|
438 |
*/
|
439 |
function bp_notifications_mark_notifications_by_type( $user_id, $component_name, $component_action, $is_new = false ) {
|
463 |
* @param string $component_action Name of the associated action.
|
464 |
* @param int|bool $secondary_item_id ID of the secondary associated item.
|
465 |
* @param int|bool $is_new 0 for read, 1 for unread.
|
|
|
466 |
* @return bool True on success, false on failure.
|
467 |
*/
|
468 |
function bp_notifications_mark_notifications_by_item_id( $user_id, $item_id, $component_name, $component_action, $secondary_item_id = false, $is_new = false ) {
|
492 |
* @param string|bool $component_action Optional. Name of the associated action.
|
493 |
* @param int|bool $secondary_item_id Optional. ID of the secondary associated item.
|
494 |
* @param int|bool $is_new 0 for read, 1 for unread.
|
|
|
495 |
* @return bool True on success, false on failure.
|
496 |
*/
|
497 |
function bp_notifications_mark_all_notifications_by_type( $item_id, $component_name, $component_action = false, $secondary_item_id = false, $is_new = false ) {
|
523 |
* @param string $component_name Name of the associated component.
|
524 |
* @param string $component_action Name of the associated action.
|
525 |
* @param int|bool $is_new 0 for read, 1 for unread.
|
|
|
526 |
* @return bool True on success, false on failure.
|
527 |
*/
|
528 |
function bp_notifications_mark_notifications_from_user( $user_id, $component_name, $component_action, $is_new = false ) {
|
549 |
*
|
550 |
* @param int $user_id ID of the user being checked.
|
551 |
* @param int $notification_id ID of the notification being checked.
|
|
|
552 |
* @return bool True if the notification belongs to the user, otherwise false.
|
553 |
*/
|
554 |
function bp_notifications_check_notification_access( $user_id, $notification_id ) {
|
562 |
*
|
563 |
* @param int $user_id ID of the user whose unread notifications are being
|
564 |
* counted.
|
|
|
565 |
* @return int Unread notification count.
|
566 |
*/
|
567 |
function bp_notifications_get_unread_notification_count( $user_id = 0 ) {
|
586 |
*
|
587 |
* @see http://buddypress.trac.wordpress.org/ticket/5300
|
588 |
*
|
589 |
+
* @return array $component_names Array of registered components.
|
590 |
*/
|
591 |
function bp_notifications_get_registered_components() {
|
592 |
|
593 |
+
// Load BuddyPress.
|
594 |
$bp = buddypress();
|
595 |
|
596 |
+
// Setup return value.
|
597 |
$component_names = array();
|
598 |
|
599 |
+
// Get the active components.
|
600 |
$active_components = array_keys( $bp->active_components );
|
601 |
|
602 |
+
// Loop through components, look for callbacks, add to return value.
|
603 |
foreach ( $active_components as $component ) {
|
604 |
if ( !empty( $bp->$component->notification_callback ) ) {
|
605 |
$component_names[] = $component;
|
606 |
}
|
607 |
+
// The extended profile component is identified in the active_components array as 'xprofile'.
|
608 |
+
// However, the extended profile child object has the key 'profile' in the $bp object.
|
609 |
+
if ( 'xprofile' == $component && ! empty( $bp->profile->notification_callback ) ) {
|
610 |
+
$component_names[] = $component;
|
611 |
+
}
|
612 |
}
|
613 |
|
614 |
/**
|
638 |
* @param string $meta_value Optional. If present, the metadata will only be
|
639 |
* deleted if the meta_value matches this parameter.
|
640 |
* @param bool $delete_all Optional. If true, delete matching metadata entries
|
641 |
+
* for all objects, ignoring the specified object_id. Otherwise,
|
642 |
+
* only delete matching metadata entries for the specified
|
643 |
+
* notification item. Default: false.
|
|
|
644 |
* @return bool True on success, false on failure.
|
645 |
*/
|
646 |
function bp_notifications_delete_meta( $notification_id, $meta_key = '', $meta_value = '', $delete_all = false ) {
|
647 |
|
648 |
+
// Legacy - if no meta_key is passed, delete all for the item.
|
649 |
if ( empty( $meta_key ) ) {
|
650 |
$all_meta = bp_notifications_get_meta( $notification_id );
|
651 |
$keys = ! empty( $all_meta )
|
652 |
? array_keys( $all_meta )
|
653 |
: array();
|
654 |
|
655 |
+
// With no meta_key, ignore $delete_all.
|
656 |
$delete_all = false;
|
657 |
} else {
|
658 |
$keys = array( $meta_key );
|
681 |
* that meta key will be returned. Otherwise, all metadata for the
|
682 |
* notification item will be fetched.
|
683 |
* @param bool $single Optional. If true, return only the first value of the
|
684 |
+
* specified meta_key. This parameter has no effect if meta_key is not
|
685 |
+
* specified. Default: true.
|
|
|
686 |
* @return mixed The meta value(s) being requested.
|
687 |
*/
|
688 |
function bp_notifications_get_meta( $notification_id = 0, $meta_key = '', $single = true ) {
|
715 |
* @param mixed $prev_value Optional. If specified, only update existing
|
716 |
* metadata entries with the specified value.
|
717 |
* Otherwise, update all entries.
|
|
|
718 |
* @return bool|int Returns false on failure. On successful
|
719 |
* update of existing metadata, returns true. On
|
720 |
* successful creation of new metadata, returns
|
739 |
* @param bool $unique Optional. Whether to enforce a single metadata value
|
740 |
* for the given key. If true, and the object already has a value for
|
741 |
* the key, no change will be made. Default: false.
|
|
|
742 |
* @return int|bool The meta ID on successful update, false on failure.
|
743 |
*/
|
744 |
function bp_notifications_add_meta( $notification_id, $meta_key, $meta_value, $unique = false ) {
|
@@ -12,6 +12,9 @@
|
|
12 |
// Exit if accessed directly.
|
13 |
defined( 'ABSPATH' ) || exit;
|
14 |
|
|
|
|
|
|
|
15 |
class BP_Notifications_Component extends BP_Component {
|
16 |
|
17 |
/**
|
@@ -65,12 +68,12 @@ class BP_Notifications_Component extends BP_Component {
|
|
65 |
public function setup_globals( $args = array() ) {
|
66 |
$bp = buddypress();
|
67 |
|
68 |
-
// Define a slug, if necessary
|
69 |
if ( ! defined( 'BP_NOTIFICATIONS_SLUG' ) ) {
|
70 |
define( 'BP_NOTIFICATIONS_SLUG', $this->id );
|
71 |
}
|
72 |
|
73 |
-
// Global tables for the notifications component
|
74 |
$global_tables = array(
|
75 |
'table_name' => $bp->table_prefix . 'bp_notifications',
|
76 |
'table_name_meta' => $bp->table_prefix . 'bp_notifications_meta',
|
@@ -102,7 +105,7 @@ class BP_Notifications_Component extends BP_Component {
|
|
102 |
*/
|
103 |
public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
|
104 |
|
105 |
-
// Determine user to use
|
106 |
if ( bp_displayed_user_domain() ) {
|
107 |
$user_domain = bp_displayed_user_domain();
|
108 |
} elseif ( bp_loggedin_user_domain() ) {
|
@@ -115,7 +118,7 @@ class BP_Notifications_Component extends BP_Component {
|
|
115 |
$slug = bp_get_notifications_slug();
|
116 |
$notifications_link = trailingslashit( $user_domain . $slug );
|
117 |
|
118 |
-
// Only grab count if we're on a user page and current user has access
|
119 |
if ( bp_is_user() && bp_user_has_access() ) {
|
120 |
$count = bp_notifications_get_unread_notification_count( bp_displayed_user_id() );
|
121 |
$class = ( 0 === $count ) ? 'no-count' : 'count';
|
@@ -124,7 +127,7 @@ class BP_Notifications_Component extends BP_Component {
|
|
124 |
$nav_name = _x( 'Notifications', 'Profile screen nav', 'buddypress' );
|
125 |
}
|
126 |
|
127 |
-
// Add 'Notifications' to the main navigation
|
128 |
$main_nav = array(
|
129 |
'name' => $nav_name,
|
130 |
'slug' => $slug,
|
@@ -135,7 +138,7 @@ class BP_Notifications_Component extends BP_Component {
|
|
135 |
'item_css_id' => $this->id,
|
136 |
);
|
137 |
|
138 |
-
// Add the subnav items to the notifications nav item
|
139 |
$sub_nav[] = array(
|
140 |
'name' => _x( 'Unread', 'Notification screen nav', 'buddypress' ),
|
141 |
'slug' => 'unread',
|
@@ -173,13 +176,13 @@ class BP_Notifications_Component extends BP_Component {
|
|
173 |
*/
|
174 |
public function setup_admin_bar( $wp_admin_nav = array() ) {
|
175 |
|
176 |
-
// Menus for logged in user
|
177 |
if ( is_user_logged_in() ) {
|
178 |
|
179 |
-
// Setup the logged in user variables
|
180 |
$notifications_link = trailingslashit( bp_loggedin_user_domain() . bp_get_notifications_slug() );
|
181 |
|
182 |
-
// Pending notification requests
|
183 |
$count = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() );
|
184 |
if ( ! empty( $count ) ) {
|
185 |
$title = sprintf( _x( 'Notifications <span class="count">%s</span>', 'My Account Notification pending', 'buddypress' ), bp_core_number_format( $count ) );
|
@@ -189,7 +192,7 @@ class BP_Notifications_Component extends BP_Component {
|
|
189 |
$unread = _x( 'Unread', 'My Account Notification sub nav', 'buddypress' );
|
190 |
}
|
191 |
|
192 |
-
// Add the "My Account" sub menus
|
193 |
$wp_admin_nav[] = array(
|
194 |
'parent' => buddypress()->my_account_menu_id,
|
195 |
'id' => 'my-account-' . $this->id,
|
@@ -197,7 +200,7 @@ class BP_Notifications_Component extends BP_Component {
|
|
197 |
'href' => $notifications_link
|
198 |
);
|
199 |
|
200 |
-
// Unread
|
201 |
$wp_admin_nav[] = array(
|
202 |
'parent' => 'my-account-' . $this->id,
|
203 |
'id' => 'my-account-' . $this->id . '-unread',
|
@@ -205,7 +208,7 @@ class BP_Notifications_Component extends BP_Component {
|
|
205 |
'href' => $notifications_link
|
206 |
);
|
207 |
|
208 |
-
// Read
|
209 |
$wp_admin_nav[] = array(
|
210 |
'parent' => 'my-account-' . $this->id,
|
211 |
'id' => 'my-account-' . $this->id . '-read',
|
@@ -224,7 +227,7 @@ class BP_Notifications_Component extends BP_Component {
|
|
224 |
*/
|
225 |
public function setup_title() {
|
226 |
|
227 |
-
// Adjust title
|
228 |
if ( bp_is_notifications_component() ) {
|
229 |
$bp = buddypress();
|
230 |
|
@@ -250,7 +253,7 @@ class BP_Notifications_Component extends BP_Component {
|
|
250 |
*/
|
251 |
public function setup_cache_groups() {
|
252 |
|
253 |
-
// Global groups
|
254 |
wp_cache_add_global_groups( array(
|
255 |
'bp_notifications',
|
256 |
'notification_meta'
|
12 |
// Exit if accessed directly.
|
13 |
defined( 'ABSPATH' ) || exit;
|
14 |
|
15 |
+
/**
|
16 |
+
* Extends the component class to set up the Notifications component.
|
17 |
+
*/
|
18 |
class BP_Notifications_Component extends BP_Component {
|
19 |
|
20 |
/**
|
68 |
public function setup_globals( $args = array() ) {
|
69 |
$bp = buddypress();
|
70 |
|
71 |
+
// Define a slug, if necessary.
|
72 |
if ( ! defined( 'BP_NOTIFICATIONS_SLUG' ) ) {
|
73 |
define( 'BP_NOTIFICATIONS_SLUG', $this->id );
|
74 |
}
|
75 |
|
76 |
+
// Global tables for the notifications component.
|
77 |
$global_tables = array(
|
78 |
'table_name' => $bp->table_prefix . 'bp_notifications',
|
79 |
'table_name_meta' => $bp->table_prefix . 'bp_notifications_meta',
|
105 |
*/
|
106 |
public function setup_nav( $main_nav = array(), $sub_nav = array() ) {
|
107 |
|
108 |
+
// Determine user to use.
|
109 |
if ( bp_displayed_user_domain() ) {
|
110 |
$user_domain = bp_displayed_user_domain();
|
111 |
} elseif ( bp_loggedin_user_domain() ) {
|
118 |
$slug = bp_get_notifications_slug();
|
119 |
$notifications_link = trailingslashit( $user_domain . $slug );
|
120 |
|
121 |
+
// Only grab count if we're on a user page and current user has access.
|
122 |
if ( bp_is_user() && bp_user_has_access() ) {
|
123 |
$count = bp_notifications_get_unread_notification_count( bp_displayed_user_id() );
|
124 |
$class = ( 0 === $count ) ? 'no-count' : 'count';
|
127 |
$nav_name = _x( 'Notifications', 'Profile screen nav', 'buddypress' );
|
128 |
}
|
129 |
|
130 |
+
// Add 'Notifications' to the main navigation.
|
131 |
$main_nav = array(
|
132 |
'name' => $nav_name,
|
133 |
'slug' => $slug,
|
138 |
'item_css_id' => $this->id,
|
139 |
);
|
140 |
|
141 |
+
// Add the subnav items to the notifications nav item.
|
142 |
$sub_nav[] = array(
|
143 |
'name' => _x( 'Unread', 'Notification screen nav', 'buddypress' ),
|
144 |
'slug' => 'unread',
|
176 |
*/
|
177 |
public function setup_admin_bar( $wp_admin_nav = array() ) {
|
178 |
|
179 |
+
// Menus for logged in user.
|
180 |
if ( is_user_logged_in() ) {
|
181 |
|
182 |
+
// Setup the logged in user variables.
|
183 |
$notifications_link = trailingslashit( bp_loggedin_user_domain() . bp_get_notifications_slug() );
|
184 |
|
185 |
+
// Pending notification requests.
|
186 |
$count = bp_notifications_get_unread_notification_count( bp_loggedin_user_id() );
|
187 |
if ( ! empty( $count ) ) {
|
188 |
$title = sprintf( _x( 'Notifications <span class="count">%s</span>', 'My Account Notification pending', 'buddypress' ), bp_core_number_format( $count ) );
|
192 |
$unread = _x( 'Unread', 'My Account Notification sub nav', 'buddypress' );
|
193 |
}
|
194 |
|
195 |
+
// Add the "My Account" sub menus.
|
196 |
$wp_admin_nav[] = array(
|
197 |
'parent' => buddypress()->my_account_menu_id,
|
198 |
'id' => 'my-account-' . $this->id,
|
200 |
'href' => $notifications_link
|
201 |
);
|
202 |
|
203 |
+
// Unread.
|
204 |
$wp_admin_nav[] = array(
|
205 |
'parent' => 'my-account-' . $this->id,
|
206 |
'id' => 'my-account-' . $this->id . '-unread',
|
208 |
'href' => $notifications_link
|
209 |
);
|
210 |
|
211 |
+
// Read.
|
212 |
$wp_admin_nav[] = array(
|
213 |
'parent' => 'my-account-' . $this->id,
|
214 |
'id' => 'my-account-' . $this->id . '-read',
|
227 |
*/
|
228 |
public function setup_title() {
|
229 |
|
230 |
+
// Adjust title.
|
231 |
if ( bp_is_notifications_component() ) {
|
232 |
$bp = buddypress();
|
233 |
|
253 |
*/
|
254 |
public function setup_cache_groups() {
|
255 |
|
256 |
+
// Global groups.
|
257 |
wp_cache_add_global_groups( array(
|
258 |
'bp_notifications',
|
259 |
'notification_meta'
|
@@ -265,7 +265,7 @@ class BP_Notifications_Template {
|
|
265 |
*/
|
266 |
public function __construct( $args = array() ) {
|
267 |
|
268 |
-
// Parse arguments
|
269 |
$r = wp_parse_args( $args, array(
|
270 |
'id' => false,
|
271 |
'user_id' => 0,
|
@@ -285,9 +285,7 @@ class BP_Notifications_Template {
|
|
285 |
'date_query' => false
|
286 |
) );
|
287 |
|
288 |
-
//
|
289 |
-
|
290 |
-
// Sort order direction
|
291 |
$orders = array( 'ASC', 'DESC' );
|
292 |
if ( ! empty( $_GET['sort_order'] ) && in_array( $_GET['sort_order'], $orders ) ) {
|
293 |
$r['sort_order'] = $_GET['sort_order'];
|
@@ -295,7 +293,7 @@ class BP_Notifications_Template {
|
|
295 |
$r['sort_order'] = in_array( $r['sort_order'], $orders ) ? $r['sort_order'] : 'DESC';
|
296 |
}
|
297 |
|
298 |
-
// Setup variables
|
299 |
$this->pag_arg = sanitize_key( $r['page_arg'] );
|
300 |
$this->pag_page = bp_sanitize_pagination_arg( $this->pag_arg, $r['page'] );
|
301 |
$this->pag_num = bp_sanitize_pagination_arg( 'num', $r['per_page'] );
|
@@ -321,7 +319,7 @@ class BP_Notifications_Template {
|
|
321 |
'per_page' => $this->pag_num,
|
322 |
);
|
323 |
|
324 |
-
// Setup the notifications to loop through
|
325 |
$this->notifications = BP_Notifications_Notification::get( $this->query_vars );
|
326 |
$this->total_notification_count = BP_Notifications_Notification::get_total_count( $this->query_vars );
|
327 |
|
@@ -456,7 +454,7 @@ class BP_Notifications_Template {
|
|
456 |
$this->in_the_loop = true;
|
457 |
$this->notification = $this->next_notification();
|
458 |
|
459 |
-
//
|
460 |
if ( 0 === $this->current_notification ) {
|
461 |
|
462 |
/**
|
@@ -491,30 +489,29 @@ class BP_Notifications_Template {
|
|
491 |
* @type string $page_arg URL argument to use for pagination.
|
492 |
* Default: 'npage'.
|
493 |
* }
|
494 |
-
*
|
495 |
* @return bool
|
496 |
*/
|
497 |
function bp_has_notifications( $args = '' ) {
|
498 |
|
499 |
-
// Get the default is_new argument
|
500 |
if ( bp_is_current_action( 'unread' ) ) {
|
501 |
$is_new = 1;
|
502 |
} elseif ( bp_is_current_action( 'read' ) ) {
|
503 |
$is_new = 0;
|
504 |
|
505 |
-
//
|
506 |
} else {
|
507 |
$is_new = 1;
|
508 |
}
|
509 |
|
510 |
-
// Get the user ID
|
511 |
if ( bp_displayed_user_id() ) {
|
512 |
$user_id = bp_displayed_user_id();
|
513 |
} else {
|
514 |
$user_id = bp_loggedin_user_id();
|
515 |
}
|
516 |
|
517 |
-
// Parse the args
|
518 |
$r = bp_parse_args( $args, array(
|
519 |
'id' => false,
|
520 |
'user_id' => $user_id,
|
@@ -530,16 +527,16 @@ function bp_has_notifications( $args = '' ) {
|
|
530 |
'page' => 1,
|
531 |
'per_page' => 25,
|
532 |
|
533 |
-
//
|
534 |
-
// BP_Notifications_Notification::get()
|
535 |
'max' => false,
|
536 |
'page_arg' => 'npage',
|
537 |
), 'has_notifications' );
|
538 |
|
539 |
-
// Get the notifications
|
540 |
$query_loop = new BP_Notifications_Template( $r );
|
541 |
|
542 |
-
// Setup the global query loop
|
543 |
buddypress()->notifications->query_loop = $query_loop;
|
544 |
|
545 |
/**
|
@@ -756,14 +753,14 @@ function bp_the_notification_time_since() {
|
|
756 |
*/
|
757 |
function bp_get_the_notification_time_since() {
|
758 |
|
759 |
-
// Get the notified date
|
760 |
$date_notified = bp_get_the_notification_date_notified();
|
761 |
|
762 |
-
// Notified date has legitimate data
|
763 |
if ( '0000-00-00 00:00:00' !== $date_notified ) {
|
764 |
$retval = bp_core_time_since( $date_notified );
|
765 |
|
766 |
-
// Notified date is empty, so return a fun string
|
767 |
} else {
|
768 |
$retval = __( 'Date not found', 'buddypress' );
|
769 |
}
|
@@ -798,7 +795,7 @@ function bp_the_notification_description() {
|
|
798 |
$bp = buddypress();
|
799 |
$notification = $bp->notifications->query_loop->notification;
|
800 |
|
801 |
-
// Callback function exists
|
802 |
if ( isset( $bp->{ $notification->component_name }->notification_callback ) && is_callable( $bp->{ $notification->component_name }->notification_callback ) ) {
|
803 |
$description = call_user_func( $bp->{ $notification->component_name }->notification_callback, $notification->component_action, $notification->item_id, $notification->secondary_item_id, 1 );
|
804 |
|
@@ -806,7 +803,7 @@ function bp_the_notification_description() {
|
|
806 |
} elseif ( isset( $bp->{ $notification->component_name }->format_notification_function ) && function_exists( $bp->{ $notification->component_name }->format_notification_function ) ) {
|
807 |
$description = call_user_func( $bp->{ $notification->component_name }->format_notification_function, $notification->component_action, $notification->item_id, $notification->secondary_item_id, 1 );
|
808 |
|
809 |
-
// Allow non BuddyPress components to hook in
|
810 |
} else {
|
811 |
|
812 |
/** This filter is documented in bp-notifications/bp-notifications-functions.php */
|
@@ -842,7 +839,7 @@ function bp_the_notification_mark_read_link() {
|
|
842 |
*/
|
843 |
function bp_get_the_notification_mark_read_link() {
|
844 |
|
845 |
-
// Start the output buffer
|
846 |
ob_start(); ?>
|
847 |
|
848 |
<a href="<?php bp_the_notification_mark_read_url(); ?>" class="mark-read primary"><?php _e( 'Read', 'buddypress' ); ?></a>
|
@@ -873,24 +870,24 @@ function bp_the_notification_mark_read_url() {
|
|
873 |
}
|
874 |
/**
|
875 |
* Return the URL used for marking a single notification as read.
|
876 |
-
|
877 |
* @since 2.1.0
|
878 |
*/
|
879 |
function bp_get_the_notification_mark_read_url() {
|
880 |
|
881 |
-
// Get the notification ID
|
882 |
$id = bp_get_the_notification_id();
|
883 |
|
884 |
-
// Get the args to add to the URL
|
885 |
$args = array(
|
886 |
'action' => 'read',
|
887 |
'notification_id' => $id
|
888 |
);
|
889 |
|
890 |
-
// Add the args to the URL
|
891 |
$url = add_query_arg( $args, bp_get_notifications_unread_permalink() );
|
892 |
|
893 |
-
// Add the nonce
|
894 |
$url = wp_nonce_url( $url, 'bp_notification_mark_read_' . $id );
|
895 |
|
896 |
/**
|
@@ -920,7 +917,7 @@ function bp_the_notification_mark_unread_link() {
|
|
920 |
*/
|
921 |
function bp_get_the_notification_mark_unread_link() {
|
922 |
|
923 |
-
// Start the output buffer
|
924 |
ob_start(); ?>
|
925 |
|
926 |
<a href="<?php bp_the_notification_mark_unread_url(); ?>" class="mark-unread primary"><?php _ex( 'Unread', 'Notification screen action', 'buddypress' ); ?></a>
|
@@ -951,24 +948,24 @@ function bp_the_notification_mark_unread_url() {
|
|
951 |
}
|
952 |
/**
|
953 |
* Return the URL used for marking a single notification as unread.
|
954 |
-
|
955 |
* @since 2.1.0
|
956 |
*/
|
957 |
function bp_get_the_notification_mark_unread_url() {
|
958 |
|
959 |
-
// Get the notification ID
|
960 |
$id = bp_get_the_notification_id();
|
961 |
|
962 |
-
// Get the args to add to the URL
|
963 |
$args = array(
|
964 |
'action' => 'unread',
|
965 |
'notification_id' => $id
|
966 |
);
|
967 |
|
968 |
-
// Add the args to the URL
|
969 |
$url = add_query_arg( $args, bp_get_notifications_read_permalink() );
|
970 |
|
971 |
-
// Add the nonce
|
972 |
$url = wp_nonce_url( $url, 'bp_notification_mark_unread_' . $id );
|
973 |
|
974 |
/**
|
@@ -1031,7 +1028,7 @@ function bp_the_notification_delete_link() {
|
|
1031 |
*/
|
1032 |
function bp_get_the_notification_delete_link() {
|
1033 |
|
1034 |
-
// Start the output buffer
|
1035 |
ob_start(); ?>
|
1036 |
|
1037 |
<a href="<?php bp_the_notification_delete_url(); ?>" class="delete secondary confirm"><?php _e( 'Delete', 'buddypress' ); ?></a>
|
@@ -1070,26 +1067,26 @@ function bp_the_notification_delete_url() {
|
|
1070 |
*/
|
1071 |
function bp_get_the_notification_delete_url() {
|
1072 |
|
1073 |
-
// URL to add nonce to
|
1074 |
if ( bp_is_current_action( 'unread' ) ) {
|
1075 |
$link = bp_get_notifications_unread_permalink();
|
1076 |
} elseif ( bp_is_current_action( 'read' ) ) {
|
1077 |
$link = bp_get_notifications_read_permalink();
|
1078 |
}
|
1079 |
|
1080 |
-
// Get the ID
|
1081 |
$id = bp_get_the_notification_id();
|
1082 |
|
1083 |
-
// Get the args to add to the URL
|
1084 |
$args = array(
|
1085 |
'action' => 'delete',
|
1086 |
'notification_id' => $id
|
1087 |
);
|
1088 |
|
1089 |
-
// Add the args
|
1090 |
$url = add_query_arg( $args, $link );
|
1091 |
|
1092 |
-
// Add the nonce
|
1093 |
$url = wp_nonce_url( $url, 'bp_notification_delete_' . $id );
|
1094 |
|
1095 |
/**
|
@@ -1105,8 +1102,9 @@ function bp_the_notification_delete_url() {
|
|
1105 |
/**
|
1106 |
* Output the action links for the current notification.
|
1107 |
*
|
1108 |
-
* @param array|string $args Array of arguments.
|
1109 |
* @since 1.9.0
|
|
|
|
|
1110 |
*/
|
1111 |
function bp_the_notification_action_links( $args = '' ) {
|
1112 |
echo bp_get_the_notification_action_links( $args );
|
@@ -1122,12 +1120,11 @@ function bp_the_notification_action_links( $args = '' ) {
|
|
1122 |
* @type string $sep HTML between the links.
|
1123 |
* @type array $links Array of links to implode by 'sep'.
|
1124 |
* }
|
1125 |
-
*
|
1126 |
* @return string HTML links for actions to take on single notifications.
|
1127 |
*/
|
1128 |
function bp_get_the_notification_action_links( $args = '' ) {
|
1129 |
|
1130 |
-
// Parse
|
1131 |
$r = wp_parse_args( $args, array(
|
1132 |
'before' => '',
|
1133 |
'after' => '',
|
@@ -1138,7 +1135,7 @@ function bp_the_notification_action_links( $args = '' ) {
|
|
1138 |
)
|
1139 |
) );
|
1140 |
|
1141 |
-
// Build the links
|
1142 |
$retval = $r['before'] . implode( $r['links'], $r['sep'] ) . $r['after'];
|
1143 |
|
1144 |
/**
|
@@ -1225,11 +1222,11 @@ function bp_notifications_pagination_links() {
|
|
1225 |
*/
|
1226 |
function bp_notifications_sort_order_form() {
|
1227 |
|
1228 |
-
// Setup local variables
|
1229 |
$orders = array( 'DESC', 'ASC' );
|
1230 |
$selected = 'DESC';
|
1231 |
|
1232 |
-
// Check for a custom sort_order
|
1233 |
if ( !empty( $_REQUEST['sort_order'] ) ) {
|
1234 |
if ( in_array( $_REQUEST['sort_order'], $orders ) ) {
|
1235 |
$selected = $_REQUEST['sort_order'];
|
265 |
*/
|
266 |
public function __construct( $args = array() ) {
|
267 |
|
268 |
+
// Parse arguments.
|
269 |
$r = wp_parse_args( $args, array(
|
270 |
'id' => false,
|
271 |
'user_id' => 0,
|
285 |
'date_query' => false
|
286 |
) );
|
287 |
|
288 |
+
// Sort order direction.
|
|
|
|
|
289 |
$orders = array( 'ASC', 'DESC' );
|
290 |
if ( ! empty( $_GET['sort_order'] ) && in_array( $_GET['sort_order'], $orders ) ) {
|
291 |
$r['sort_order'] = $_GET['sort_order'];
|
293 |
$r['sort_order'] = in_array( $r['sort_order'], $orders ) ? $r['sort_order'] : 'DESC';
|
294 |
}
|
295 |
|
296 |
+
// Setup variables.
|
297 |
$this->pag_arg = sanitize_key( $r['page_arg'] );
|
298 |
$this->pag_page = bp_sanitize_pagination_arg( $this->pag_arg, $r['page'] );
|
299 |
$this->pag_num = bp_sanitize_pagination_arg( 'num', $r['per_page'] );
|
319 |
'per_page' => $this->pag_num,
|
320 |
);
|
321 |
|
322 |
+
// Setup the notifications to loop through.
|
323 |
$this->notifications = BP_Notifications_Notification::get( $this->query_vars );
|
324 |
$this->total_notification_count = BP_Notifications_Notification::get_total_count( $this->query_vars );
|
325 |
|
454 |
$this->in_the_loop = true;
|
455 |
$this->notification = $this->next_notification();
|
456 |
|
457 |
+
// Loop has just started.
|
458 |
if ( 0 === $this->current_notification ) {
|
459 |
|
460 |
/**
|
489 |
* @type string $page_arg URL argument to use for pagination.
|
490 |
* Default: 'npage'.
|
491 |
* }
|
|
|
492 |
* @return bool
|
493 |
*/
|
494 |
function bp_has_notifications( $args = '' ) {
|
495 |
|
496 |
+
// Get the default is_new argument.
|
497 |
if ( bp_is_current_action( 'unread' ) ) {
|
498 |
$is_new = 1;
|
499 |
} elseif ( bp_is_current_action( 'read' ) ) {
|
500 |
$is_new = 0;
|
501 |
|
502 |
+
// Not on a notifications page? default to fetch new notifications.
|
503 |
} else {
|
504 |
$is_new = 1;
|
505 |
}
|
506 |
|
507 |
+
// Get the user ID.
|
508 |
if ( bp_displayed_user_id() ) {
|
509 |
$user_id = bp_displayed_user_id();
|
510 |
} else {
|
511 |
$user_id = bp_loggedin_user_id();
|
512 |
}
|
513 |
|
514 |
+
// Parse the args.
|
515 |
$r = bp_parse_args( $args, array(
|
516 |
'id' => false,
|
517 |
'user_id' => $user_id,
|
527 |
'page' => 1,
|
528 |
'per_page' => 25,
|
529 |
|
530 |
+
// These are additional arguments that are not available in
|
531 |
+
// BP_Notifications_Notification::get().
|
532 |
'max' => false,
|
533 |
'page_arg' => 'npage',
|
534 |
), 'has_notifications' );
|
535 |
|
536 |
+
// Get the notifications.
|
537 |
$query_loop = new BP_Notifications_Template( $r );
|
538 |
|
539 |
+
// Setup the global query loop.
|
540 |
buddypress()->notifications->query_loop = $query_loop;
|
541 |
|
542 |
/**
|
753 |
*/
|
754 |
function bp_get_the_notification_time_since() {
|
755 |
|
756 |
+
// Get the notified date.
|
757 |
$date_notified = bp_get_the_notification_date_notified();
|
758 |
|
759 |
+
// Notified date has legitimate data.
|
760 |
if ( '0000-00-00 00:00:00' !== $date_notified ) {
|
761 |
$retval = bp_core_time_since( $date_notified );
|
762 |
|
763 |
+
// Notified date is empty, so return a fun string.
|
764 |
} else {
|
765 |
$retval = __( 'Date not found', 'buddypress' );
|
766 |
}
|
795 |
$bp = buddypress();
|
796 |
$notification = $bp->notifications->query_loop->notification;
|
797 |
|
798 |
+
// Callback function exists.
|
799 |
if ( isset( $bp->{ $notification->component_name }->notification_callback ) && is_callable( $bp->{ $notification->component_name }->notification_callback ) ) {
|
800 |
$description = call_user_func( $bp->{ $notification->component_name }->notification_callback, $notification->component_action, $notification->item_id, $notification->secondary_item_id, 1 );
|
801 |
|
803 |
} elseif ( isset( $bp->{ $notification->component_name }->format_notification_function ) && function_exists( $bp->{ $notification->component_name }->format_notification_function ) ) {
|
804 |
$description = call_user_func( $bp->{ $notification->component_name }->format_notification_function, $notification->component_action, $notification->item_id, $notification->secondary_item_id, 1 );
|
805 |
|
806 |
+
// Allow non BuddyPress components to hook in.
|
807 |
} else {
|
808 |
|
809 |
/** This filter is documented in bp-notifications/bp-notifications-functions.php */
|
839 |
*/
|
840 |
function bp_get_the_notification_mark_read_link() {
|
841 |
|
842 |
+
// Start the output buffer.
|
843 |
ob_start(); ?>
|
844 |
|
845 |
<a href="<?php bp_the_notification_mark_read_url(); ?>" class="mark-read primary"><?php _e( 'Read', 'buddypress' ); ?></a>
|
870 |
}
|
871 |
/**
|
872 |
* Return the URL used for marking a single notification as read.
|
873 |
+
*
|
874 |
* @since 2.1.0
|
875 |
*/
|
876 |
function bp_get_the_notification_mark_read_url() {
|
877 |
|
878 |
+
// Get the notification ID.
|
879 |
$id = bp_get_the_notification_id();
|
880 |
|
881 |
+
// Get the args to add to the URL.
|
882 |
$args = array(
|
883 |
'action' => 'read',
|
884 |
'notification_id' => $id
|
885 |
);
|
886 |
|
887 |
+
// Add the args to the URL.
|
888 |
$url = add_query_arg( $args, bp_get_notifications_unread_permalink() );
|
889 |
|
890 |
+
// Add the nonce.
|
891 |
$url = wp_nonce_url( $url, 'bp_notification_mark_read_' . $id );
|
892 |
|
893 |
/**
|
917 |
*/
|
918 |
function bp_get_the_notification_mark_unread_link() {
|
919 |
|
920 |
+
// Start the output buffer.
|
921 |
ob_start(); ?>
|
922 |
|
923 |
<a href="<?php bp_the_notification_mark_unread_url(); ?>" class="mark-unread primary"><?php _ex( 'Unread', 'Notification screen action', 'buddypress' ); ?></a>
|
948 |
}
|
949 |
/**
|
950 |
* Return the URL used for marking a single notification as unread.
|
951 |
+
*
|
952 |
* @since 2.1.0
|
953 |
*/
|
954 |
function bp_get_the_notification_mark_unread_url() {
|
955 |
|
956 |
+
// Get the notification ID.
|
957 |
$id = bp_get_the_notification_id();
|
958 |
|
959 |
+
// Get the args to add to the URL.
|
960 |
$args = array(
|
961 |
'action' => 'unread',
|
962 |
'notification_id' => $id
|
963 |
);
|
964 |
|
965 |
+
// Add the args to the URL.
|
966 |
$url = add_query_arg( $args, bp_get_notifications_read_permalink() );
|
967 |
|
968 |
+
// Add the nonce.
|
969 |
$url = wp_nonce_url( $url, 'bp_notification_mark_unread_' . $id );
|
970 |
|
971 |
/**
|
1028 |
*/
|
1029 |
function bp_get_the_notification_delete_link() {
|
1030 |
|
1031 |
+
// Start the output buffer.
|
1032 |
ob_start(); ?>
|
1033 |
|
1034 |
<a href="<?php bp_the_notification_delete_url(); ?>" class="delete secondary confirm"><?php _e( 'Delete', 'buddypress' ); ?></a>
|
1067 |
*/
|
1068 |
function bp_get_the_notification_delete_url() {
|
1069 |
|
1070 |
+
// URL to add nonce to.
|
1071 |
if ( bp_is_current_action( 'unread' ) ) {
|
1072 |
$link = bp_get_notifications_unread_permalink();
|
1073 |
} elseif ( bp_is_current_action( 'read' ) ) {
|
1074 |
$link = bp_get_notifications_read_permalink();
|
1075 |
}
|
1076 |
|
1077 |
+
// Get the ID.
|
1078 |
$id = bp_get_the_notification_id();
|
1079 |
|
1080 |
+
// Get the args to add to the URL.
|
1081 |
$args = array(
|
1082 |
'action' => 'delete',
|
1083 |
'notification_id' => $id
|
1084 |
);
|
1085 |
|
1086 |
+
// Add the args.
|
1087 |
$url = add_query_arg( $args, $link );
|
1088 |
|
1089 |
+
// Add the nonce.
|
1090 |
$url = wp_nonce_url( $url, 'bp_notification_delete_' . $id );
|
1091 |
|
1092 |
/**
|
1102 |
/**
|
1103 |
* Output the action links for the current notification.
|
1104 |
*
|
|
|
1105 |
* @since 1.9.0
|
1106 |
+
*
|
1107 |
+
* @param array|string $args Array of arguments.
|
1108 |
*/
|
1109 |
function bp_the_notification_action_links( $args = '' ) {
|
1110 |
echo bp_get_the_notification_action_links( $args );
|
1120 |
* @type string $sep HTML between the links.
|
1121 |
* @type array $links Array of links to implode by 'sep'.
|
1122 |
* }
|
|
|
1123 |
* @return string HTML links for actions to take on single notifications.
|
1124 |
*/
|
1125 |
function bp_get_the_notification_action_links( $args = '' ) {
|
1126 |
|
1127 |
+
// Parse.
|
1128 |
$r = wp_parse_args( $args, array(
|
1129 |
'before' => '',
|
1130 |
'after' => '',
|
1135 |
)
|
1136 |
) );
|
1137 |
|
1138 |
+
// Build the links.
|
1139 |
$retval = $r['before'] . implode( $r['links'], $r['sep'] ) . $r['after'];
|
1140 |
|
1141 |
/**
|
1222 |
*/
|
1223 |
function bp_notifications_sort_order_form() {
|
1224 |
|
1225 |
+
// Setup local variables.
|
1226 |
$orders = array( 'DESC', 'ASC' );
|
1227 |
$selected = 'DESC';
|
1228 |
|
1229 |
+
// Check for a custom sort_order.
|
1230 |
if ( !empty( $_REQUEST['sort_order'] ) ) {
|
1231 |
if ( in_array( $_REQUEST['sort_order'], $orders ) ) {
|
1232 |
$selected = $_REQUEST['sort_order'];
|
@@ -6,7 +6,6 @@
|
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage NotificationsClasses
|
9 |
-
*
|
10 |
* @since 1.9.0
|
11 |
*/
|
12 |
|
@@ -114,10 +113,10 @@ class BP_Notifications_Notification {
|
|
114 |
*/
|
115 |
public function save() {
|
116 |
|
117 |
-
// Return value
|
118 |
$retval = false;
|
119 |
|
120 |
-
// Default data and format
|
121 |
$data = array(
|
122 |
'user_id' => $this->user_id,
|
123 |
'item_id' => $this->item_id,
|
@@ -140,16 +139,16 @@ class BP_Notifications_Notification {
|
|
140 |
*/
|
141 |
do_action_ref_array( 'bp_notification_before_save', array( &$this ) );
|
142 |
|
143 |
-
// Update
|
144 |
if ( ! empty( $this->id ) ) {
|
145 |
$result = self::_update( $data, array( 'ID' => $this->id ), $data_format, array( '%d' ) );
|
146 |
|
147 |
-
// Insert
|
148 |
} else {
|
149 |
$result = self::_insert( $data, $data_format );
|
150 |
}
|
151 |
|
152 |
-
// Set the notification ID if successful
|
153 |
if ( ! empty( $result ) && ! is_wp_error( $result ) ) {
|
154 |
global $wpdb;
|
155 |
|
@@ -162,11 +161,12 @@ class BP_Notifications_Notification {
|
|
162 |
*
|
163 |
* @since 2.0.0
|
164 |
*
|
165 |
-
* @param BP_Notifications_Notification $value Current instance of the notification item being saved.
|
|
|
166 |
*/
|
167 |
do_action_ref_array( 'bp_notification_after_save', array( &$this ) );
|
168 |
|
169 |
-
// Return the result
|
170 |
return $retval;
|
171 |
}
|
172 |
|
@@ -183,10 +183,10 @@ class BP_Notifications_Notification {
|
|
183 |
|
184 |
$bp = buddypress();
|
185 |
|
186 |
-
// Look for a notification
|
187 |
$notification = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$bp->notifications->table_name} WHERE id = %d", $this->id ) );
|
188 |
|
189 |
-
// Setup the notification data
|
190 |
if ( ! empty( $notification ) && ! is_wp_error( $notification ) ) {
|
191 |
$this->item_id = $notification->item_id;
|
192 |
$this->secondary_item_id = $notification->secondary_item_id;
|
@@ -239,7 +239,6 @@ class BP_Notifications_Notification {
|
|
239 |
* of the item being updated. See {@link wpdb::update()}.
|
240 |
* @param array $data_format See {@link wpdb::insert()}.
|
241 |
* @param array $where_format See {@link wpdb::insert()}.
|
242 |
-
*
|
243 |
* @return int|false The number of rows updated, or false on error.
|
244 |
*/
|
245 |
protected static function _update( $data = array(), $where = array(), $data_format = array(), $where_format = array() ) {
|
@@ -258,7 +257,6 @@ class BP_Notifications_Notification {
|
|
258 |
* {@link wpdb::delete()}. Accepts any property of a
|
259 |
* BP_Notification_Notification object.
|
260 |
* @param array $where_format See {@link wpdb::insert()}.
|
261 |
-
*
|
262 |
* @return int|false The number of rows updated, or false on error.
|
263 |
*/
|
264 |
protected static function _delete( $where = array(), $where_format = array() ) {
|
@@ -280,7 +278,6 @@ class BP_Notifications_Notification {
|
|
280 |
* @param string $from_sql SQL FROM fragment.
|
281 |
* @param string $join_sql SQL JOIN fragment.
|
282 |
* @param string $meta_query_sql SQL meta query fragment.
|
283 |
-
*
|
284 |
* @return string WHERE clause.
|
285 |
*/
|
286 |
protected static function get_where_sql( $args = array(), $select_sql = '', $from_sql = '', $join_sql = '', $meta_query_sql = '' ) {
|
@@ -289,31 +286,31 @@ class BP_Notifications_Notification {
|
|
289 |
$where_conditions = array();
|
290 |
$where = '';
|
291 |
|
292 |
-
// id
|
293 |
if ( ! empty( $args['id'] ) ) {
|
294 |
$id_in = implode( ',', wp_parse_id_list( $args['id'] ) );
|
295 |
$where_conditions['id'] = "id IN ({$id_in})";
|
296 |
}
|
297 |
|
298 |
-
// user_id
|
299 |
if ( ! empty( $args['user_id'] ) ) {
|
300 |
$user_id_in = implode( ',', wp_parse_id_list( $args['user_id'] ) );
|
301 |
$where_conditions['user_id'] = "user_id IN ({$user_id_in})";
|
302 |
}
|
303 |
|
304 |
-
// item_id
|
305 |
if ( ! empty( $args['item_id'] ) ) {
|
306 |
$item_id_in = implode( ',', wp_parse_id_list( $args['item_id'] ) );
|
307 |
$where_conditions['item_id'] = "item_id IN ({$item_id_in})";
|
308 |
}
|
309 |
|
310 |
-
// secondary_item_id
|
311 |
if ( ! empty( $args['secondary_item_id'] ) ) {
|
312 |
$secondary_item_id_in = implode( ',', wp_parse_id_list( $args['secondary_item_id'] ) );
|
313 |
$where_conditions['secondary_item_id'] = "secondary_item_id IN ({$secondary_item_id_in})";
|
314 |
}
|
315 |
|
316 |
-
// component_name
|
317 |
if ( ! empty( $args['component_name'] ) ) {
|
318 |
if ( ! is_array( $args['component_name'] ) ) {
|
319 |
$component_names = explode( ',', $args['component_name'] );
|
@@ -330,7 +327,7 @@ class BP_Notifications_Notification {
|
|
330 |
$where_conditions['component_name'] = "component_name IN ({$cn_in})";
|
331 |
}
|
332 |
|
333 |
-
// component_action
|
334 |
if ( ! empty( $args['component_action'] ) ) {
|
335 |
if ( ! is_array( $args['component_action'] ) ) {
|
336 |
$component_actions = explode( ',', $args['component_action'] );
|
@@ -347,25 +344,25 @@ class BP_Notifications_Notification {
|
|
347 |
$where_conditions['component_action'] = "component_action IN ({$ca_in})";
|
348 |
}
|
349 |
|
350 |
-
// is_new
|
351 |
if ( ! empty( $args['is_new'] ) && 'both' !== $args['is_new'] ) {
|
352 |
$where_conditions['is_new'] = "is_new = 1";
|
353 |
} elseif ( isset( $args['is_new'] ) && ( 0 === $args['is_new'] || false === $args['is_new'] ) ) {
|
354 |
$where_conditions['is_new'] = "is_new = 0";
|
355 |
}
|
356 |
|
357 |
-
// search_terms
|
358 |
if ( ! empty( $args['search_terms'] ) ) {
|
359 |
$search_terms_like = '%' . bp_esc_like( $args['search_terms'] ) . '%';
|
360 |
$where_conditions['search_terms'] = $wpdb->prepare( "( component_name LIKE %s OR component_action LIKE %s )", $search_terms_like, $search_terms_like );
|
361 |
}
|
362 |
|
363 |
-
// date query
|
364 |
if ( ! empty( $args['date_query'] ) ) {
|
365 |
$where_conditions['date_query'] = self::get_date_query_sql( $args['date_query'] );
|
366 |
}
|
367 |
|
368 |
-
// meta query
|
369 |
if ( ! empty( $meta_query_sql['where'] ) ) {
|
370 |
$where_conditions['meta_query'] = $meta_query_sql['where'];
|
371 |
}
|
@@ -384,7 +381,7 @@ class BP_Notifications_Notification {
|
|
384 |
*/
|
385 |
$where_conditions = apply_filters( 'bp_notifications_get_where_conditions', $where_conditions, $args, $select_sql, $from_sql, $join_sql, $meta_query_sql );
|
386 |
|
387 |
-
// Custom WHERE
|
388 |
if ( ! empty( $where_conditions ) ) {
|
389 |
$where = 'WHERE ' . implode( ' AND ', $where_conditions );
|
390 |
}
|
@@ -402,28 +399,27 @@ class BP_Notifications_Notification {
|
|
402 |
*
|
403 |
* @param array $args See {@link BP_Notifications_Notification::get()}
|
404 |
* for more details.
|
405 |
-
*
|
406 |
* @return string ORDER BY clause.
|
407 |
*/
|
408 |
protected static function get_order_by_sql( $args = array() ) {
|
409 |
|
410 |
-
// Setup local variable
|
411 |
$conditions = array();
|
412 |
$retval = '';
|
413 |
|
414 |
-
// Order by
|
415 |
if ( ! empty( $args['order_by'] ) ) {
|
416 |
$order_by = implode( ', ', (array) $args['order_by'] );
|
417 |
$conditions['order_by'] = "{$order_by}";
|
418 |
}
|
419 |
|
420 |
-
// Sort order direction
|
421 |
if ( ! empty( $args['sort_order'] ) && in_array( $args['sort_order'], array( 'ASC', 'DESC' ) ) ) {
|
422 |
$sort_order = $args['sort_order'];
|
423 |
$conditions['sort_order'] = "{$sort_order}";
|
424 |
}
|
425 |
|
426 |
-
// Custom ORDER BY
|
427 |
if ( ! empty( $conditions ) ) {
|
428 |
$retval = 'ORDER BY ' . implode( ' ', $conditions );
|
429 |
}
|
@@ -440,16 +436,15 @@ class BP_Notifications_Notification {
|
|
440 |
*
|
441 |
* @param array $args See {@link BP_Notifications_Notification::get()}
|
442 |
* for more details.
|
443 |
-
*
|
444 |
-
* @return string LIMIT clause.
|
445 |
*/
|
446 |
protected static function get_paged_sql( $args = array() ) {
|
447 |
global $wpdb;
|
448 |
|
449 |
-
// Setup local variable
|
450 |
$retval = '';
|
451 |
|
452 |
-
// Custom LIMIT
|
453 |
if ( ! empty( $args['page'] ) && ! empty( $args['per_page'] ) ) {
|
454 |
$page = absint( $args['page'] );
|
455 |
$per_page = absint( $args['per_page'] );
|
@@ -499,7 +494,6 @@ class BP_Notifications_Notification {
|
|
499 |
* @param array $args Associative array of filter arguments.
|
500 |
* See {@BP_Notifications_Notification::get()}
|
501 |
* for a breakdown.
|
502 |
-
*
|
503 |
* @return array Associative array of 'data' and 'format' args.
|
504 |
*/
|
505 |
protected static function get_query_clauses( $args = array() ) {
|
@@ -508,43 +502,43 @@ class BP_Notifications_Notification {
|
|
508 |
'format' => array(),
|
509 |
);
|
510 |
|
511 |
-
// id
|
512 |
if ( ! empty( $args['id'] ) ) {
|
513 |
$where_clauses['data']['id'] = absint( $args['id'] );
|
514 |
$where_clauses['format'][] = '%d';
|
515 |
}
|
516 |
|
517 |
-
// user_id
|
518 |
if ( ! empty( $args['user_id'] ) ) {
|
519 |
$where_clauses['data']['user_id'] = absint( $args['user_id'] );
|
520 |
$where_clauses['format'][] = '%d';
|
521 |
}
|
522 |
|
523 |
-
// item_id
|
524 |
if ( ! empty( $args['item_id'] ) ) {
|
525 |
$where_clauses['data']['item_id'] = absint( $args['item_id'] );
|
526 |
$where_clauses['format'][] = '%d';
|
527 |
}
|
528 |
|
529 |
-
// secondary_item_id
|
530 |
if ( ! empty( $args['secondary_item_id'] ) ) {
|
531 |
$where_clauses['data']['secondary_item_id'] = absint( $args['secondary_item_id'] );
|
532 |
$where_clauses['format'][] = '%d';
|
533 |
}
|
534 |
|
535 |
-
// component_name
|
536 |
if ( ! empty( $args['component_name'] ) ) {
|
537 |
$where_clauses['data']['component_name'] = $args['component_name'];
|
538 |
$where_clauses['format'][] = '%s';
|
539 |
}
|
540 |
|
541 |
-
// component_action
|
542 |
if ( ! empty( $args['component_action'] ) ) {
|
543 |
$where_clauses['data']['component_action'] = $args['component_action'];
|
544 |
$where_clauses['format'][] = '%s';
|
545 |
}
|
546 |
|
547 |
-
// is_new
|
548 |
if ( isset( $args['is_new'] ) ) {
|
549 |
$where_clauses['data']['is_new'] = ! empty( $args['is_new'] ) ? 1 : 0;
|
550 |
$where_clauses['format'][] = '%d';
|
@@ -562,7 +556,6 @@ class BP_Notifications_Notification {
|
|
562 |
*
|
563 |
* @param int $user_id ID of the user being checked.
|
564 |
* @param int $notification_id ID of the notification being checked.
|
565 |
-
*
|
566 |
* @return bool True if the notification belongs to the user, otherwise
|
567 |
* false.
|
568 |
*/
|
@@ -579,7 +572,7 @@ class BP_Notifications_Notification {
|
|
579 |
*
|
580 |
* @since 2.3.0
|
581 |
*
|
582 |
-
* @param
|
583 |
* @return array
|
584 |
*/
|
585 |
public static function parse_args( $args = '' ) {
|
@@ -642,25 +635,25 @@ class BP_Notifications_Notification {
|
|
642 |
public static function get( $args = array() ) {
|
643 |
global $wpdb;
|
644 |
|
645 |
-
// Parse the arguments
|
646 |
$r = self::parse_args( $args );
|
647 |
|
648 |
-
// Get BuddyPress
|
649 |
$bp = buddypress();
|
650 |
|
651 |
-
// METADATA
|
652 |
$meta_query_sql = self::get_meta_query_sql( $r['meta_query'] );
|
653 |
|
654 |
-
// SELECT
|
655 |
$select_sql = "SELECT *";
|
656 |
|
657 |
-
// FROM
|
658 |
$from_sql = "FROM {$bp->notifications->table_name} n ";
|
659 |
|
660 |
-
// JOIN
|
661 |
$join_sql = $meta_query_sql['join'];
|
662 |
|
663 |
-
// WHERE
|
664 |
$where_sql = self::get_where_sql( array(
|
665 |
'id' => $r['id'],
|
666 |
'user_id' => $r['user_id'],
|
@@ -673,19 +666,19 @@ class BP_Notifications_Notification {
|
|
673 |
'date_query' => $r['date_query']
|
674 |
), $select_sql, $from_sql, $join_sql, $meta_query_sql );
|
675 |
|
676 |
-
// ORDER BY
|
677 |
$order_sql = self::get_order_by_sql( array(
|
678 |
'order_by' => $r['order_by'],
|
679 |
'sort_order' => $r['sort_order']
|
680 |
) );
|
681 |
|
682 |
-
// LIMIT %d, %d
|
683 |
$pag_sql = self::get_paged_sql( array(
|
684 |
'page' => $r['page'],
|
685 |
'per_page' => $r['per_page']
|
686 |
) );
|
687 |
|
688 |
-
// Concatenate query parts
|
689 |
$sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql} {$order_sql} {$pag_sql}";
|
690 |
|
691 |
return $wpdb->get_results( $sql );
|
@@ -696,35 +689,33 @@ class BP_Notifications_Notification {
|
|
696 |
*
|
697 |
* @since 1.9.0
|
698 |
*
|
699 |
-
* @see BP_Notifications_Notification::get() for a description of
|
700 |
-
* arguments.
|
701 |
*
|
702 |
* @param array $args See {@link BP_Notifications_Notification::get()}.
|
703 |
-
*
|
704 |
* @return int Count of located items.
|
705 |
*/
|
706 |
public static function get_total_count( $args ) {
|
707 |
global $wpdb;
|
708 |
|
709 |
-
// Parse the arguments
|
710 |
$r = self::parse_args( $args );
|
711 |
|
712 |
-
// Load BuddyPress
|
713 |
$bp = buddypress();
|
714 |
|
715 |
-
// METADATA
|
716 |
$meta_query_sql = self::get_meta_query_sql( $r['meta_query'] );
|
717 |
|
718 |
-
// SELECT
|
719 |
$select_sql = "SELECT COUNT(*)";
|
720 |
|
721 |
-
// FROM
|
722 |
$from_sql = "FROM {$bp->notifications->table_name} n ";
|
723 |
|
724 |
-
// JOIN
|
725 |
$join_sql = $meta_query_sql['join'];
|
726 |
|
727 |
-
// WHERE
|
728 |
$where_sql = self::get_where_sql( array(
|
729 |
'id' => $r['id'],
|
730 |
'user_id' => $r['user_id'],
|
@@ -737,10 +728,10 @@ class BP_Notifications_Notification {
|
|
737 |
'date_query' => $r['date_query']
|
738 |
), $select_sql, $from_sql, $join_sql, $meta_query_sql );
|
739 |
|
740 |
-
// Concatenate query parts
|
741 |
$sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql}";
|
742 |
|
743 |
-
// Return the queried results
|
744 |
return $wpdb->get_var( $sql );
|
745 |
}
|
746 |
|
@@ -757,29 +748,28 @@ class BP_Notifications_Notification {
|
|
757 |
*
|
758 |
* @param array $meta_query An array of meta_query filters. See the
|
759 |
* documentation for WP_Meta_Query for details.
|
760 |
-
*
|
761 |
* @return array $sql_array 'join' and 'where' clauses.
|
762 |
*/
|
763 |
public static function get_meta_query_sql( $meta_query = array() ) {
|
764 |
|
765 |
-
// Default array keys & empty values
|
766 |
$sql_array = array(
|
767 |
'join' => '',
|
768 |
'where' => '',
|
769 |
);
|
770 |
|
771 |
-
// Bail if no meta query
|
772 |
if ( empty( $meta_query ) ) {
|
773 |
return $sql_array;
|
774 |
}
|
775 |
|
776 |
-
// WP_Meta_Query expects the table name at $wpdb->notificationmeta
|
777 |
$GLOBALS['wpdb']->notificationmeta = buddypress()->notifications->table_name_meta;
|
778 |
|
779 |
$n_meta_query = new WP_Meta_Query( $meta_query );
|
780 |
$meta_sql = $n_meta_query->get_sql( 'notification', 'n', 'id' );
|
781 |
|
782 |
-
// Strip the leading AND - it's handled in get()
|
783 |
$sql_array['where'] = preg_replace( '/^\sAND/', '', $meta_sql['where'] );
|
784 |
$sql_array['join'] = $meta_sql['join'];
|
785 |
|
@@ -799,20 +789,19 @@ class BP_Notifications_Notification {
|
|
799 |
*
|
800 |
* @param array $date_query An array of date_query parameters. See the
|
801 |
* documentation for the first parameter of WP_Date_Query.
|
802 |
-
*
|
803 |
* @return string
|
804 |
*/
|
805 |
public static function get_date_query_sql( $date_query = array() ) {
|
806 |
|
807 |
-
// Bail if not a proper date query format
|
808 |
if ( empty( $date_query ) || ! is_array( $date_query ) ) {
|
809 |
return '';
|
810 |
}
|
811 |
|
812 |
-
// Date query
|
813 |
$date_query = new BP_Date_Query( $date_query, 'date_recorded' );
|
814 |
|
815 |
-
// Strip the leading AND - it's handled in get()
|
816 |
return preg_replace( '/^\sAND/', '', $date_query->get_sql() );
|
817 |
}
|
818 |
|
@@ -826,11 +815,10 @@ class BP_Notifications_Notification {
|
|
826 |
*
|
827 |
* @param array $update_args Associative array of fields to update,
|
828 |
* and the values to update them to. Of the format
|
829 |
-
* array( 'user_id' => 4, 'component_name' => 'groups', )
|
830 |
* @param array $where_args Associative array of columns/values, to
|
831 |
* determine which rows should be updated. Of the format
|
832 |
-
* array( 'item_id' => 7, 'component_action' => 'members', )
|
833 |
-
*
|
834 |
* @return int|bool Number of rows updated on success, false on failure.
|
835 |
*/
|
836 |
public static function update( $update_args = array(), $where_args = array() ) {
|
@@ -865,8 +853,7 @@ class BP_Notifications_Notification {
|
|
865 |
*
|
866 |
* @param array $args Associative array of columns/values, to determine
|
867 |
* which rows should be deleted. Of the format
|
868 |
-
* array( 'item_id' => 7, 'component_action' => 'members', )
|
869 |
-
*
|
870 |
* @return int|bool Number of rows deleted on success, false on failure.
|
871 |
*/
|
872 |
public static function delete( $args = array() ) {
|
@@ -897,7 +884,6 @@ class BP_Notifications_Notification {
|
|
897 |
* return value.
|
898 |
*
|
899 |
* @param int $id ID of the notification item to be deleted.
|
900 |
-
*
|
901 |
* @return bool True on success, false on failure.
|
902 |
*/
|
903 |
public static function delete_by_id( $id ) {
|
@@ -915,7 +901,6 @@ class BP_Notifications_Notification {
|
|
915 |
* fetched.
|
916 |
* @param string $status Optional. Status of notifications to fetch.
|
917 |
* 'is_new' to get only unread items, 'all' to get all.
|
918 |
-
*
|
919 |
* @return array Associative array of notification items.
|
920 |
*/
|
921 |
public static function get_all_for_user( $user_id, $status = 'is_new' ) {
|
@@ -932,7 +917,6 @@ class BP_Notifications_Notification {
|
|
932 |
*
|
933 |
* @param int $user_id ID of the user whose notifications are being
|
934 |
* fetched.
|
935 |
-
*
|
936 |
* @return array Associative array of unread notification items.
|
937 |
*/
|
938 |
public static function get_unread_for_user( $user_id = 0 ) {
|
@@ -949,7 +933,6 @@ class BP_Notifications_Notification {
|
|
949 |
*
|
950 |
* @param int $user_id ID of the user whose notifications are being
|
951 |
* fetched.
|
952 |
-
*
|
953 |
* @return array Associative array of unread notification items.
|
954 |
*/
|
955 |
public static function get_read_for_user( $user_id = 0 ) {
|
@@ -993,7 +976,7 @@ class BP_Notifications_Notification {
|
|
993 |
|
994 |
$notifications = self::get( $r );
|
995 |
|
996 |
-
// Bail if no notifications
|
997 |
if ( empty( $notifications ) ) {
|
998 |
return false;
|
999 |
}
|
@@ -1016,17 +999,16 @@ class BP_Notifications_Notification {
|
|
1016 |
* @param string $component_name Name of component the notifications are for.
|
1017 |
* @param string $component_action Name of the component action.
|
1018 |
* @param int $secondary_item_id The ID of the secondary item.
|
1019 |
-
*
|
1020 |
* @return bool|int False on failure to update. ID on success.
|
1021 |
*/
|
1022 |
public static function mark_all_for_user( $user_id, $is_new = 0, $item_id = 0, $component_name = '', $component_action = '', $secondary_item_id = 0 ) {
|
1023 |
|
1024 |
-
// Values to be updated
|
1025 |
$update_args = array(
|
1026 |
'is_new' => $is_new,
|
1027 |
);
|
1028 |
|
1029 |
-
// WHERE clauses
|
1030 |
$where_args = array(
|
1031 |
'user_id' => $user_id,
|
1032 |
);
|
@@ -1060,17 +1042,16 @@ class BP_Notifications_Notification {
|
|
1060 |
* @param string $component_name Name of component the notifications are for.
|
1061 |
* @param string $component_action Name of the component action.
|
1062 |
* @param int $secondary_item_id The ID of the secondary item.
|
1063 |
-
*
|
1064 |
* @return bool|int
|
1065 |
*/
|
1066 |
public static function mark_all_from_user( $user_id, $is_new = 0, $component_name = '', $component_action = '', $secondary_item_id = 0 ) {
|
1067 |
|
1068 |
-
// Values to be updated
|
1069 |
$update_args = array(
|
1070 |
'is_new' => $is_new,
|
1071 |
);
|
1072 |
|
1073 |
-
// WHERE clauses
|
1074 |
$where_args = array(
|
1075 |
'item_id' => $user_id,
|
1076 |
);
|
@@ -1105,17 +1086,16 @@ class BP_Notifications_Notification {
|
|
1105 |
* are associated with.
|
1106 |
* @param int $secondary_item_id Optional. ID of the secondary
|
1107 |
* associated item.
|
1108 |
-
*
|
1109 |
* @return bool|int
|
1110 |
*/
|
1111 |
public static function mark_all_by_type( $item_id, $is_new = 0, $component_name = '', $component_action = '', $secondary_item_id = 0 ) {
|
1112 |
|
1113 |
-
// Values to be updated
|
1114 |
$update_args = array(
|
1115 |
'is_new' => $is_new,
|
1116 |
);
|
1117 |
|
1118 |
-
// WHERE clauses
|
1119 |
$where_args = array(
|
1120 |
'item_id' => $item_id,
|
1121 |
);
|
6 |
*
|
7 |
* @package BuddyPress
|
8 |
* @subpackage NotificationsClasses
|
|
|
9 |
* @since 1.9.0
|
10 |
*/
|
11 |
|
113 |
*/
|
114 |
public function save() {
|
115 |
|
116 |
+
// Return value.
|
117 |
$retval = false;
|
118 |
|
119 |
+
// Default data and format.
|
120 |
$data = array(
|
121 |
'user_id' => $this->user_id,
|
122 |
'item_id' => $this->item_id,
|
139 |
*/
|
140 |
do_action_ref_array( 'bp_notification_before_save', array( &$this ) );
|
141 |
|
142 |
+
// Update.
|
143 |
if ( ! empty( $this->id ) ) {
|
144 |
$result = self::_update( $data, array( 'ID' => $this->id ), $data_format, array( '%d' ) );
|
145 |
|
146 |
+
// Insert.
|
147 |
} else {
|
148 |
$result = self::_insert( $data, $data_format );
|
149 |
}
|
150 |
|
151 |
+
// Set the notification ID if successful.
|
152 |
if ( ! empty( $result ) && ! is_wp_error( $result ) ) {
|
153 |
global $wpdb;
|
154 |
|
161 |
*
|
162 |
* @since 2.0.0
|
163 |
*
|
164 |
+
* @param BP_Notifications_Notification $value Current instance of the notification item being saved.
|
165 |
+
* Passed by reference.
|
166 |
*/
|
167 |
do_action_ref_array( 'bp_notification_after_save', array( &$this ) );
|
168 |
|
169 |
+
// Return the result.
|
170 |
return $retval;
|
171 |
}
|
172 |
|
183 |
|
184 |
$bp = buddypress();
|
185 |
|
186 |
+
// Look for a notification.
|
187 |
$notification = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM {$bp->notifications->table_name} WHERE id = %d", $this->id ) );
|
188 |
|
189 |
+
// Setup the notification data.
|
190 |
if ( ! empty( $notification ) && ! is_wp_error( $notification ) ) {
|
191 |
$this->item_id = $notification->item_id;
|
192 |
$this->secondary_item_id = $notification->secondary_item_id;
|
239 |
* of the item being updated. See {@link wpdb::update()}.
|
240 |
* @param array $data_format See {@link wpdb::insert()}.
|
241 |
* @param array $where_format See {@link wpdb::insert()}.
|
|
|
242 |
* @return int|false The number of rows updated, or false on error.
|
243 |
*/
|
244 |
protected static function _update( $data = array(), $where = array(), $data_format = array(), $where_format = array() ) {
|
257 |
* {@link wpdb::delete()}. Accepts any property of a
|
258 |
* BP_Notification_Notification object.
|
259 |
* @param array $where_format See {@link wpdb::insert()}.
|
|
|
260 |
* @return int|false The number of rows updated, or false on error.
|
261 |
*/
|
262 |
protected static function _delete( $where = array(), $where_format = array() ) {
|
278 |
* @param string $from_sql SQL FROM fragment.
|
279 |
* @param string $join_sql SQL JOIN fragment.
|
280 |
* @param string $meta_query_sql SQL meta query fragment.
|
|
|
281 |
* @return string WHERE clause.
|
282 |
*/
|
283 |
protected static function get_where_sql( $args = array(), $select_sql = '', $from_sql = '', $join_sql = '', $meta_query_sql = '' ) {
|
286 |
$where_conditions = array();
|
287 |
$where = '';
|
288 |
|
289 |
+
// The id.
|
290 |
if ( ! empty( $args['id'] ) ) {
|
291 |
$id_in = implode( ',', wp_parse_id_list( $args['id'] ) );
|
292 |
$where_conditions['id'] = "id IN ({$id_in})";
|
293 |
}
|
294 |
|
295 |
+
// The user_id.
|
296 |
if ( ! empty( $args['user_id'] ) ) {
|
297 |
$user_id_in = implode( ',', wp_parse_id_list( $args['user_id'] ) );
|
298 |
$where_conditions['user_id'] = "user_id IN ({$user_id_in})";
|
299 |
}
|
300 |
|
301 |
+
// The item_id.
|
302 |
if ( ! empty( $args['item_id'] ) ) {
|
303 |
$item_id_in = implode( ',', wp_parse_id_list( $args['item_id'] ) );
|
304 |
$where_conditions['item_id'] = "item_id IN ({$item_id_in})";
|
305 |
}
|
306 |
|
307 |
+
// The secondary_item_id.
|
308 |
if ( ! empty( $args['secondary_item_id'] ) ) {
|
309 |
$secondary_item_id_in = implode( ',', wp_parse_id_list( $args['secondary_item_id'] ) );
|
310 |
$where_conditions['secondary_item_id'] = "secondary_item_id IN ({$secondary_item_id_in})";
|
311 |
}
|
312 |
|
313 |
+
// The component_name.
|
314 |
if ( ! empty( $args['component_name'] ) ) {
|
315 |
if ( ! is_array( $args['component_name'] ) ) {
|
316 |
$component_names = explode( ',', $args['component_name'] );
|
327 |
$where_conditions['component_name'] = "component_name IN ({$cn_in})";
|
328 |
}
|
329 |
|
330 |
+
// The component_action.
|
331 |
if ( ! empty( $args['component_action'] ) ) {
|
332 |
if ( ! is_array( $args['component_action'] ) ) {
|
333 |
$component_actions = explode( ',', $args['component_action'] );
|
344 |
$where_conditions['component_action'] = "component_action IN ({$ca_in})";
|
345 |
}
|
346 |
|
347 |
+
// If is_new.
|
348 |
if ( ! empty( $args['is_new'] ) && 'both' !== $args['is_new'] ) {
|
349 |
$where_conditions['is_new'] = "is_new = 1";
|
350 |
} elseif ( isset( $args['is_new'] ) && ( 0 === $args['is_new'] || false === $args['is_new'] ) ) {
|
351 |
$where_conditions['is_new'] = "is_new = 0";
|
352 |
}
|
353 |
|
354 |
+
// The search_terms.
|
355 |
if ( ! empty( $args['search_terms'] ) ) {
|
356 |
$search_terms_like = '%' . bp_esc_like( $args['search_terms'] ) . '%';
|
357 |
$where_conditions['search_terms'] = $wpdb->prepare( "( component_name LIKE %s OR component_action LIKE %s )", $search_terms_like, $search_terms_like );
|
358 |
}
|
359 |
|
360 |
+
// The date query.
|
361 |
if ( ! empty( $args['date_query'] ) ) {
|
362 |
$where_conditions['date_query'] = self::get_date_query_sql( $args['date_query'] );
|
363 |
}
|
364 |
|
365 |
+
// The meta query.
|
366 |
if ( ! empty( $meta_query_sql['where'] ) ) {
|
367 |
$where_conditions['meta_query'] = $meta_query_sql['where'];
|
368 |
}
|
381 |
*/
|
382 |
$where_conditions = apply_filters( 'bp_notifications_get_where_conditions', $where_conditions, $args, $select_sql, $from_sql, $join_sql, $meta_query_sql );
|
383 |
|
384 |
+
// Custom WHERE.
|
385 |
if ( ! empty( $where_conditions ) ) {
|
386 |
$where = 'WHERE ' . implode( ' AND ', $where_conditions );
|
387 |
}
|
399 |
*
|
400 |
* @param array $args See {@link BP_Notifications_Notification::get()}
|
401 |
* for more details.
|
|
|
402 |
* @return string ORDER BY clause.
|
403 |
*/
|
404 |
protected static function get_order_by_sql( $args = array() ) {
|
405 |
|
406 |
+
// Setup local variable.
|
407 |
$conditions = array();
|
408 |
$retval = '';
|
409 |
|
410 |
+
// Order by.
|
411 |
if ( ! empty( $args['order_by'] ) ) {
|
412 |
$order_by = implode( ', ', (array) $args['order_by'] );
|
413 |
$conditions['order_by'] = "{$order_by}";
|
414 |
}
|
415 |
|
416 |
+
// Sort order direction.
|
417 |
if ( ! empty( $args['sort_order'] ) && in_array( $args['sort_order'], array( 'ASC', 'DESC' ) ) ) {
|
418 |
$sort_order = $args['sort_order'];
|
419 |
$conditions['sort_order'] = "{$sort_order}";
|
420 |
}
|
421 |
|
422 |
+
// Custom ORDER BY.
|
423 |
if ( ! empty( $conditions ) ) {
|
424 |
$retval = 'ORDER BY ' . implode( ' ', $conditions );
|
425 |
}
|
436 |
*
|
437 |
* @param array $args See {@link BP_Notifications_Notification::get()}
|
438 |
* for more details.
|
439 |
+
* @return string $retval LIMIT clause.
|
|
|
440 |
*/
|
441 |
protected static function get_paged_sql( $args = array() ) {
|
442 |
global $wpdb;
|
443 |
|
444 |
+
// Setup local variable.
|
445 |
$retval = '';
|
446 |
|
447 |
+
// Custom LIMIT.
|
448 |
if ( ! empty( $args['page'] ) && ! empty( $args['per_page'] ) ) {
|
449 |
$page = absint( $args['page'] );
|
450 |
$per_page = absint( $args['per_page'] );
|
494 |
* @param array $args Associative array of filter arguments.
|
495 |
* See {@BP_Notifications_Notification::get()}
|
496 |
* for a breakdown.
|
|
|
497 |
* @return array Associative array of 'data' and 'format' args.
|
498 |
*/
|
499 |
protected static function get_query_clauses( $args = array() ) {
|
502 |
'format' => array(),
|
503 |
);
|
504 |
|
505 |
+
// The id.
|
506 |
if ( ! empty( $args['id'] ) ) {
|
507 |
$where_clauses['data']['id'] = absint( $args['id'] );
|
508 |
$where_clauses['format'][] = '%d';
|
509 |
}
|
510 |
|
511 |
+
// The user_id.
|
512 |
if ( ! empty( $args['user_id'] ) ) {
|
513 |
$where_clauses['data']['user_id'] = absint( $args['user_id'] );
|
514 |
$where_clauses['format'][] = '%d';
|
515 |
}
|
516 |
|
517 |
+
// The item_id.
|
518 |
if ( ! empty( $args['item_id'] ) ) {
|
519 |
$where_clauses['data']['item_id'] = absint( $args['item_id'] );
|
520 |
$where_clauses['format'][] = '%d';
|
521 |
}
|
522 |
|
523 |
+
// The secondary_item_id.
|
524 |
if ( ! empty( $args['secondary_item_id'] ) ) {
|
525 |
$where_clauses['data']['secondary_item_id'] = absint( $args['secondary_item_id'] );
|
526 |
$where_clauses['format'][] = '%d';
|
527 |
}
|
528 |
|
529 |
+
// The component_name.
|
530 |
if ( ! empty( $args['component_name'] ) ) {
|
531 |
$where_clauses['data']['component_name'] = $args['component_name'];
|
532 |
$where_clauses['format'][] = '%s';
|
533 |
}
|
534 |
|
535 |
+
// The component_action.
|
536 |
if ( ! empty( $args['component_action'] ) ) {
|
537 |
$where_clauses['data']['component_action'] = $args['component_action'];
|
538 |
$where_clauses['format'][] = '%s';
|
539 |
}
|
540 |
|
541 |
+
// If is_new.
|
542 |
if ( isset( $args['is_new'] ) ) {
|
543 |
$where_clauses['data']['is_new'] = ! empty( $args['is_new'] ) ? 1 : 0;
|
544 |
$where_clauses['format'][] = '%d';
|
556 |
*
|
557 |
* @param int $user_id ID of the user being checked.
|
558 |
* @param int $notification_id ID of the notification being checked.
|
|
|
559 |
* @return bool True if the notification belongs to the user, otherwise
|
560 |
* false.
|
561 |
*/
|
572 |
*
|
573 |
* @since 2.3.0
|
574 |
*
|
575 |
+
* @param mixed $args Args to parse.
|
576 |
* @return array
|
577 |
*/
|
578 |
public static function parse_args( $args = '' ) {
|
635 |
public static function get( $args = array() ) {
|
636 |
global $wpdb;
|
637 |
|
638 |
+
// Parse the arguments.
|
639 |
$r = self::parse_args( $args );
|
640 |
|
641 |
+
// Get BuddyPress.
|
642 |
$bp = buddypress();
|
643 |
|
644 |
+
// METADATA.
|
645 |
$meta_query_sql = self::get_meta_query_sql( $r['meta_query'] );
|
646 |
|
647 |
+
// SELECT.
|
648 |
$select_sql = "SELECT *";
|
649 |
|
650 |
+
// FROM.
|
651 |
$from_sql = "FROM {$bp->notifications->table_name} n ";
|
652 |
|
653 |
+
// JOIN.
|
654 |
$join_sql = $meta_query_sql['join'];
|
655 |
|
656 |
+
// WHERE.
|
657 |
$where_sql = self::get_where_sql( array(
|
658 |
'id' => $r['id'],
|
659 |
'user_id' => $r['user_id'],
|
666 |
'date_query' => $r['date_query']
|
667 |
), $select_sql, $from_sql, $join_sql, $meta_query_sql );
|
668 |
|
669 |
+
// ORDER BY.
|
670 |
$order_sql = self::get_order_by_sql( array(
|
671 |
'order_by' => $r['order_by'],
|
672 |
'sort_order' => $r['sort_order']
|
673 |
) );
|
674 |
|
675 |
+
// LIMIT %d, %d.
|
676 |
$pag_sql = self::get_paged_sql( array(
|
677 |
'page' => $r['page'],
|
678 |
'per_page' => $r['per_page']
|
679 |
) );
|
680 |
|
681 |
+
// Concatenate query parts.
|
682 |
$sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql} {$order_sql} {$pag_sql}";
|
683 |
|
684 |
return $wpdb->get_results( $sql );
|
689 |
*
|
690 |
* @since 1.9.0
|
691 |
*
|
692 |
+
* @see BP_Notifications_Notification::get() for a description of arguments.
|
|
|
693 |
*
|
694 |
* @param array $args See {@link BP_Notifications_Notification::get()}.
|
|
|
695 |
* @return int Count of located items.
|
696 |
*/
|
697 |
public static function get_total_count( $args ) {
|
698 |
global $wpdb;
|
699 |
|
700 |
+
// Parse the arguments.
|
701 |
$r = self::parse_args( $args );
|
702 |
|
703 |
+
// Load BuddyPress.
|
704 |
$bp = buddypress();
|
705 |
|
706 |
+
// METADATA.
|
707 |
$meta_query_sql = self::get_meta_query_sql( $r['meta_query'] );
|
708 |
|
709 |
+
// SELECT.
|
710 |
$select_sql = "SELECT COUNT(*)";
|
711 |
|
712 |
+
// FROM.
|
713 |
$from_sql = "FROM {$bp->notifications->table_name} n ";
|
714 |
|
715 |
+
// JOIN.
|
716 |
$join_sql = $meta_query_sql['join'];
|
717 |
|
718 |
+
// WHERE.
|
719 |
$where_sql = self::get_where_sql( array(
|
720 |
'id' => $r['id'],
|
721 |
'user_id' => $r['user_id'],
|
728 |
'date_query' => $r['date_query']
|
729 |
), $select_sql, $from_sql, $join_sql, $meta_query_sql );
|
730 |
|
731 |
+
// Concatenate query parts.
|
732 |
$sql = "{$select_sql} {$from_sql} {$join_sql} {$where_sql}";
|
733 |
|
734 |
+
// Return the queried results.
|
735 |
return $wpdb->get_var( $sql );
|
736 |
}
|
737 |
|
748 |
*
|
749 |
* @param array $meta_query An array of meta_query filters. See the
|
750 |
* documentation for WP_Meta_Query for details.
|
|
|
751 |
* @return array $sql_array 'join' and 'where' clauses.
|
752 |
*/
|
753 |
public static function get_meta_query_sql( $meta_query = array() ) {
|
754 |
|
755 |
+
// Default array keys & empty values.
|
756 |
$sql_array = array(
|
757 |
'join' => '',
|
758 |
'where' => '',
|
759 |
);
|
760 |
|
761 |
+
// Bail if no meta query.
|
762 |
if ( empty( $meta_query ) ) {
|
763 |
return $sql_array;
|
764 |
}
|
765 |
|
766 |
+
// WP_Meta_Query expects the table name at $wpdb->notificationmeta.
|
767 |
$GLOBALS['wpdb']->notificationmeta = buddypress()->notifications->table_name_meta;
|
768 |
|
769 |
$n_meta_query = new WP_Meta_Query( $meta_query );
|
770 |
$meta_sql = $n_meta_query->get_sql( 'notification', 'n', 'id' );
|
771 |
|
772 |
+
// Strip the leading AND - it's handled in get().
|
773 |
$sql_array['where'] = preg_replace( '/^\sAND/', '', $meta_sql['where'] );
|
774 |
$sql_array['join'] = $meta_sql['join'];
|
775 |
|
789 |
*
|
790 |
* @param array $date_query An array of date_query parameters. See the
|
791 |
* documentation for the first parameter of WP_Date_Query.
|
|
|
792 |
* @return string
|
793 |
*/
|
794 |
public static function get_date_query_sql( $date_query = array() ) {
|
795 |
|
796 |
+
// Bail if not a proper date query format.
|
797 |
if ( empty( $date_query ) || ! is_array( $date_query ) ) {
|
798 |
return '';
|
799 |
}
|
800 |
|
801 |
+
// Date query.
|
802 |
$date_query = new BP_Date_Query( $date_query, 'date_recorded' );
|
803 |
|
804 |
+
// Strip the leading AND - it's handled in get().
|
805 |
return preg_replace( '/^\sAND/', '', $date_query->get_sql() );
|
806 |
}
|
807 |
|
815 |
*
|
816 |
* @param array $update_args Associative array of fields to update,
|
817 |
* and the values to update them to. Of the format
|
818 |
+
* array( 'user_id' => 4, 'component_name' => 'groups', ).
|
819 |
* @param array $where_args Associative array of columns/values, to
|
820 |
* determine which rows should be updated. Of the format
|
821 |
+
* array( 'item_id' => 7, 'component_action' => 'members', ).
|
|
|
822 |
* @return int|bool Number of rows updated on success, false on failure.
|
823 |
*/
|
824 |
public static function update( $update_args = array(), $where_args = array() ) {
|
853 |
*
|
854 |
* @param array $args Associative array of columns/values, to determine
|
855 |
* which rows should be deleted. Of the format
|
856 |
+
* array( 'item_id' => 7, 'component_action' => 'members', ).
|
|
|
857 |
* @return int|bool Number of rows deleted on success, false on failure.
|
858 |
*/
|
859 |
public static function delete( $args = array() ) {
|
884 |
* return value.
|
885 |
*
|
886 |
* @param int $id ID of the notification item to be deleted.
|
|
|
887 |
* @return bool True on success, false on failure.
|
888 |
*/
|
889 |
public static function delete_by_id( $id ) {
|
901 |
* fetched.
|
902 |
* @param string $status Optional. Status of notifications to fetch.
|
903 |
* 'is_new' to get only unread items, 'all' to get all.
|
|
|
904 |
* @return array Associative array of notification items.
|
905 |
*/
|
906 |
public static function get_all_for_user( $user_id, $status = 'is_new' ) {
|
917 |
*
|
918 |
* @param int $user_id ID of the user whose notifications are being
|
919 |
* fetched.
|
|
|
920 |
* @return array Associative array of unread notification items.
|
921 |
*/
|
922 |
public static function get_unread_for_user( $user_id = 0 ) {
|
933 |
*
|
934 |
* @param int $user_id ID of the user whose notifications are being
|
935 |
* fetched.
|
|
|
936 |
* @return array Associative array of unread notification items.
|
937 |
*/
|
938 |
public static function get_read_for_user( $user_id = 0 ) {
|
976 |
|
977 |
$notifications = self::get( $r );
|
978 |
|
979 |
+
// Bail if no notifications.
|
980 |
if ( empty( $notifications ) ) {
|
981 |
return false;
|
982 |
}
|
999 |
* @param string $component_name Name of component the notifications are for.
|
1000 |
* @param string $component_action Name of the component action.
|
1001 |
* @param int $secondary_item_id The ID of the secondary item.
|
|
|
1002 |
* @return bool|int False on failure to update. ID on success.
|
1003 |
*/
|
1004 |
public static function mark_all_for_user( $user_id, $is_new = 0, $item_id = 0, $component_name = '', $component_action = '', $secondary_item_id = 0 ) {
|
1005 |
|
1006 |
+
// Values to be updated.
|
1007 |
$update_args = array(
|
1008 |
'is_new' => $is_new,
|
1009 |
);
|
1010 |
|
1011 |
+
// WHERE clauses.
|
1012 |
$where_args = array(
|
1013 |
'user_id' => $user_id,
|
1014 |
);
|
1042 |
* @param string $component_name Name of component the notifications are for.
|
1043 |
* @param string $component_action Name of the component action.
|
1044 |
* @param int $secondary_item_id The ID of the secondary item.
|
|
|
1045 |
* @return bool|int
|
1046 |
*/
|
1047 |
public static function mark_all_from_user( $user_id, $is_new = 0, $component_name = '', $component_action = '', $secondary_item_id = 0 ) {
|
1048 |
|
1049 |
+
// Values to be updated.
|
1050 |
$update_args = array(
|
1051 |
'is_new' => $is_new,
|
1052 |
);
|
1053 |
|
1054 |
+
// WHERE clauses.
|
1055 |
$where_args = array(
|
1056 |
'item_id' => $user_id,
|
1057 |
);
|
1086 |
* are associated with.
|
1087 |
* @param int $secondary_item_id Optional. ID of the secondary
|
1088 |
* associated item.
|
|
|
1089 |
* @return bool|int
|
1090 |
*/
|
1091 |
public static function mark_all_by_type( $item_id, $is_new = 0, $component_name = '', $component_action = '', $secondary_item_id = 0 ) {
|
1092 |
|
1093 |
+
// Values to be updated.
|
1094 |
$update_args = array(
|
1095 |
'is_new' => $is_new,
|
1096 |
);
|
1097 |
|
1098 |
+
// WHERE clauses.
|
1099 |
$where_args = array(
|
1100 |
'item_id' => $item_id,
|
1101 |
);
|
@@ -90,7 +90,13 @@ function bp_settings_pending_email_notice() {
|
|
90 |
?>
|
91 |
|
92 |
<div id="message" class="bp-template-notice error">
|
93 |
-
<p><?php printf(
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
</div>
|
95 |
|
96 |
<?php
|
90 |
?>
|
91 |
|
92 |
<div id="message" class="bp-template-notice error">
|
93 |
+
<p><?php printf(
|
94 |
+
__( 'There is a pending change of your email address to %1$s.<br />Check your email (%2$s) for the verification link. <a href="%3$s">Cancel</a>', 'buddypress' ),
|
95 |
+
'<code>' . $pending_email['newemail'] . '</code>',
|
96 |
+
'<code>' . $pending_email['newemail'] . '</code>',
|
97 |
+
esc_url( bp_displayed_user_domain() . bp_get_settings_slug() . '/?dismiss_email_change=1' )
|
98 |
+
);
|
99 |
+
?></p>
|
100 |
</div>
|
101 |
|
102 |
<?php
|
@@ -1851,7 +1851,7 @@ function bp_legacy_theme_cover_image( $params = array() ) {
|
|
1851 |
color: #FFF;
|
1852 |
text-rendering: optimizelegibility;
|
1853 |
text-shadow: 0px 0px 3px rgba( 0, 0, 0, 0.8 );
|
1854 |
-
margin: 0;
|
1855 |
font-size:200%;
|
1856 |
}
|
1857 |
|
@@ -1866,13 +1866,14 @@ function bp_legacy_theme_cover_image( $params = array() ) {
|
|
1866 |
}
|
1867 |
|
1868 |
#buddypress #item-header-cover-image #item-buttons {
|
1869 |
-
|
1870 |
-
margin: 20px 0 10px;
|
1871 |
padding: 0 0 5px;
|
1872 |
}
|
1873 |
|
1874 |
-
#buddypress #item-header-cover-image #item-buttons:
|
1875 |
-
|
|
|
|
|
1876 |
}
|
1877 |
|
1878 |
@media screen and (max-width: 782px) {
|
1851 |
color: #FFF;
|
1852 |
text-rendering: optimizelegibility;
|
1853 |
text-shadow: 0px 0px 3px rgba( 0, 0, 0, 0.8 );
|
1854 |
+
margin: 0 0 .6em;
|
1855 |
font-size:200%;
|
1856 |
}
|
1857 |
|
1866 |
}
|
1867 |
|
1868 |
#buddypress #item-header-cover-image #item-buttons {
|
1869 |
+
margin: 0 0 10px;
|
|
|
1870 |
padding: 0 0 5px;
|
1871 |
}
|
1872 |
|
1873 |
+
#buddypress #item-header-cover-image #item-buttons:after {
|
1874 |
+
clear: both;
|
1875 |
+
content: "";
|
1876 |
+
display: table;
|
1877 |
}
|
1878 |
|
1879 |
@media screen and (max-width: 782px) {
|
@@ -64,7 +64,7 @@ do_action( 'bp_before_activity_entry' ); ?>
|
|
64 |
|
65 |
<?php if ( bp_activity_can_comment() ) : ?>
|
66 |
|
67 |
-
<a href="<?php bp_activity_comment_link(); ?>" class="button acomment-reply bp-primary-action" id="acomment-comment-<?php bp_activity_id(); ?>"><?php printf( __( 'Comment
|
68 |
|
69 |
<?php endif; ?>
|
70 |
|
64 |
|
65 |
<?php if ( bp_activity_can_comment() ) : ?>
|
66 |
|
67 |
+
<a href="<?php bp_activity_comment_link(); ?>" class="button acomment-reply bp-primary-action" id="acomment-comment-<?php bp_activity_id(); ?>"><?php printf( __( 'Comment %s', 'buddypress' ), '<span>' . bp_activity_get_comment_count() . '</span>' ); ?></a>
|
68 |
|
69 |
<?php endif; ?>
|
70 |
|
@@ -52,7 +52,7 @@ do_action( 'bp_before_directory_activity' ); ?>
|
|
52 |
*/
|
53 |
do_action( 'bp_before_activity_type_tab_all' ); ?>
|
54 |
|
55 |
-
<li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( __( 'All Members
|
56 |
|
57 |
<?php if ( is_user_logged_in() ) : ?>
|
58 |
|
@@ -69,7 +69,7 @@ do_action( 'bp_before_directory_activity' ); ?>
|
|
69 |
|
70 |
<?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?>
|
71 |
|
72 |
-
<li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of my friends only.', 'buddypress' ); ?>"><?php printf( __( 'My Friends
|
73 |
|
74 |
<?php endif; ?>
|
75 |
|
@@ -88,7 +88,7 @@ do_action( 'bp_before_directory_activity' ); ?>
|
|
88 |
|
89 |
<?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?>
|
90 |
|
91 |
-
<li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of groups I am a member of.', 'buddypress' ); ?>"><?php printf( __( 'My Groups
|
92 |
|
93 |
<?php endif; ?>
|
94 |
|
@@ -105,7 +105,7 @@ do_action( 'bp_before_directory_activity' ); ?>
|
|
105 |
|
106 |
<?php if ( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) : ?>
|
107 |
|
108 |
-
<li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>" title="<?php esc_attr_e( "The activity I've marked as a favorite.", 'buddypress' ); ?>"><?php printf( __( 'My Favorites
|
109 |
|
110 |
<?php endif; ?>
|
111 |
|
52 |
*/
|
53 |
do_action( 'bp_before_activity_type_tab_all' ); ?>
|
54 |
|
55 |
+
<li class="selected" id="activity-all"><a href="<?php bp_activity_directory_permalink(); ?>" title="<?php esc_attr_e( 'The public activity for everyone on this site.', 'buddypress' ); ?>"><?php printf( __( 'All Members %s', 'buddypress' ), '<span>' . bp_get_total_member_count() . '</span>' ); ?></a></li>
|
56 |
|
57 |
<?php if ( is_user_logged_in() ) : ?>
|
58 |
|
69 |
|
70 |
<?php if ( bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?>
|
71 |
|
72 |
+
<li id="activity-friends"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_friends_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of my friends only.', 'buddypress' ); ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
|
73 |
|
74 |
<?php endif; ?>
|
75 |
|
88 |
|
89 |
<?php if ( bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?>
|
90 |
|
91 |
+
<li id="activity-groups"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/' . bp_get_groups_slug() . '/'; ?>" title="<?php esc_attr_e( 'The activity of groups I am a member of.', 'buddypress' ); ?>"><?php printf( __( 'My Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
|
92 |
|
93 |
<?php endif; ?>
|
94 |
|
105 |
|
106 |
<?php if ( bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) : ?>
|
107 |
|
108 |
+
<li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . bp_get_activity_slug() . '/favorites/'; ?>" title="<?php esc_attr_e( "The activity I've marked as a favorite.", 'buddypress' ); ?>"><?php printf( __( 'My Favorites %s', 'buddypress' ), '<span>' . bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
|
109 |
|
110 |
<?php endif; ?>
|
111 |
|
@@ -50,11 +50,11 @@ do_action( 'bp_before_directory_blogs_page' ); ?>
|
|
50 |
|
51 |
<div class="item-list-tabs" role="navigation">
|
52 |
<ul>
|
53 |
-
<li class="selected" id="blogs-all"><a href="<?php bp_root_domain(); ?>/<?php bp_blogs_root_slug(); ?>"><?php printf( __( 'All Sites
|
54 |
|
55 |
<?php if ( is_user_logged_in() && bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) ) : ?>
|
56 |
|
57 |
-
<li id="blogs-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_blogs_slug(); ?>"><?php printf( __( 'My Sites
|
58 |
|
59 |
<?php endif; ?>
|
60 |
|
50 |
|
51 |
<div class="item-list-tabs" role="navigation">
|
52 |
<ul>
|
53 |
+
<li class="selected" id="blogs-all"><a href="<?php bp_root_domain(); ?>/<?php bp_blogs_root_slug(); ?>"><?php printf( __( 'All Sites %s', 'buddypress' ), '<span>' . bp_get_total_blog_count() . '</span>' ); ?></a></li>
|
54 |
|
55 |
<?php if ( is_user_logged_in() && bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) ) : ?>
|
56 |
|
57 |
+
<li id="blogs-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_blogs_slug(); ?>"><?php printf( __( 'My Sites %s', 'buddypress' ), '<span>' . bp_get_total_blog_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
|
58 |
|
59 |
<?php endif; ?>
|
60 |
|
@@ -49,11 +49,11 @@
|
|
49 |
|
50 |
<div class="item-list-tabs" role="navigation">
|
51 |
<ul>
|
52 |
-
<li class="selected" id="forums-all"><a href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_forums_root_slug() ); ?>"><?php printf( __( 'All Topics
|
53 |
|
54 |
<?php if ( is_user_logged_in() && bp_get_forum_topic_count_for_user( bp_loggedin_user_id() ) ) : ?>
|
55 |
|
56 |
-
<li id="forums-personal"><a href="<?php echo trailingslashit( bp_loggedin_user_domain() . bp_get_forums_slug() . '/topics' ); ?>"><?php printf( __( 'My Topics
|
57 |
|
58 |
<?php endif; ?>
|
59 |
|
49 |
|
50 |
<div class="item-list-tabs" role="navigation">
|
51 |
<ul>
|
52 |
+
<li class="selected" id="forums-all"><a href="<?php echo trailingslashit( bp_get_root_domain() . '/' . bp_get_forums_root_slug() ); ?>"><?php printf( __( 'All Topics %s', 'buddypress' ), '<span>' . bp_get_forum_topic_count() . '</span>' ); ?></a></li>
|
53 |
|
54 |
<?php if ( is_user_logged_in() && bp_get_forum_topic_count_for_user( bp_loggedin_user_id() ) ) : ?>
|
55 |
|
56 |
+
<li id="forums-personal"><a href="<?php echo trailingslashit( bp_loggedin_user_domain() . bp_get_forums_slug() . '/topics' ); ?>"><?php printf( __( 'My Topics %s', 'buddypress' ), '<span>' . bp_get_forum_topic_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
|
57 |
|
58 |
<?php endif; ?>
|
59 |
|
@@ -46,10 +46,10 @@ do_action( 'bp_before_directory_groups_page' ); ?>
|
|
46 |
|
47 |
<div class="item-list-tabs" role="navigation">
|
48 |
<ul>
|
49 |
-
<li class="selected" id="groups-all"><a href="<?php bp_groups_directory_permalink(); ?>"><?php printf( __( 'All Groups
|
50 |
|
51 |
<?php if ( is_user_logged_in() && bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?>
|
52 |
-
<li id="groups-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_groups_slug() . '/my-groups/'; ?>"><?php printf( __( 'My Groups
|
53 |
<?php endif; ?>
|
54 |
|
55 |
<?php
|
46 |
|
47 |
<div class="item-list-tabs" role="navigation">
|
48 |
<ul>
|
49 |
+
<li class="selected" id="groups-all"><a href="<?php bp_groups_directory_permalink(); ?>"><?php printf( __( 'All Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count() . '</span>' ); ?></a></li>
|
50 |
|
51 |
<?php if ( is_user_logged_in() && bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ) : ?>
|
52 |
+
<li id="groups-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_groups_slug() . '/my-groups/'; ?>"><?php printf( __( 'My Groups %s', 'buddypress' ), '<span>' . bp_get_total_group_count_for_user( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
|
53 |
<?php endif; ?>
|
54 |
|
55 |
<?php
|
@@ -13,104 +13,102 @@
|
|
13 |
*/
|
14 |
do_action( 'bp_before_group_header' ); ?>
|
15 |
|
16 |
-
<
|
|
|
17 |
|
18 |
-
<div id="item-header-cover-image">
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
|
23 |
-
|
24 |
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
|
29 |
-
|
30 |
|
31 |
-
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
*/
|
40 |
-
do_action( 'bp_group_header_actions' ); ?>
|
41 |
-
|
42 |
-
</div><!-- #item-buttons -->
|
43 |
-
|
44 |
-
<?php
|
45 |
-
|
46 |
-
/**
|
47 |
-
* Fires before the display of the group's header meta.
|
48 |
-
*
|
49 |
-
* @since 1.2.0
|
50 |
-
*/
|
51 |
-
do_action( 'bp_before_group_header_meta' ); ?>
|
52 |
-
|
53 |
-
<div id="item-meta">
|
54 |
|
55 |
<?php
|
56 |
|
57 |
/**
|
58 |
-
* Fires
|
59 |
*
|
60 |
* @since 1.2.0
|
61 |
*/
|
62 |
-
do_action( '
|
63 |
|
64 |
-
<
|
65 |
-
<span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span>
|
66 |
|
67 |
-
|
68 |
|
69 |
-
|
70 |
-
|
|
|
|
|
|
|
|
|
71 |
|
72 |
-
|
|
|
73 |
|
74 |
-
|
75 |
|
76 |
-
|
|
|
77 |
|
78 |
-
|
79 |
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
* @since 1.1.0
|
84 |
-
*/
|
85 |
-
do_action( 'bp_after_group_menu_admins' );
|
86 |
|
87 |
-
|
88 |
|
89 |
/**
|
90 |
-
* Fires
|
91 |
*
|
92 |
* @since 1.1.0
|
93 |
*/
|
94 |
-
do_action( '
|
95 |
|
96 |
-
|
97 |
|
98 |
-
|
|
|
|
|
|
|
|
|
|
|
99 |
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
|
|
|
|
|
|
|
|
106 |
|
107 |
-
|
108 |
|
109 |
-
|
110 |
|
111 |
-
|
112 |
|
113 |
-
</div><!-- #item-header-cover-image -->
|
|
|
114 |
|
115 |
<?php
|
116 |
|
13 |
*/
|
14 |
do_action( 'bp_before_group_header' ); ?>
|
15 |
|
16 |
+
<div id="cover-image-container">
|
17 |
+
<a id="header-cover-image" href="<?php bp_group_permalink(); ?>"></a>
|
18 |
|
19 |
+
<div id="item-header-cover-image">
|
20 |
+
<?php if ( ! bp_disable_group_avatar_uploads() ) : ?>
|
21 |
+
<div id="item-header-avatar">
|
22 |
+
<a href="<?php bp_group_permalink(); ?>" title="<?php bp_group_name(); ?>">
|
23 |
|
24 |
+
<?php bp_group_avatar(); ?>
|
25 |
|
26 |
+
</a>
|
27 |
+
</div><!-- #item-header-avatar -->
|
28 |
+
<?php endif; ?>
|
29 |
|
30 |
+
<div id="item-header-content">
|
31 |
|
32 |
+
<div id="item-buttons"><?php
|
33 |
|
34 |
+
/**
|
35 |
+
* Fires in the group header actions section.
|
36 |
+
*
|
37 |
+
* @since 1.2.6
|
38 |
+
*/
|
39 |
+
do_action( 'bp_group_header_actions' ); ?></div><!-- #item-buttons -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
|
41 |
<?php
|
42 |
|
43 |
/**
|
44 |
+
* Fires before the display of the group's header meta.
|
45 |
*
|
46 |
* @since 1.2.0
|
47 |
*/
|
48 |
+
do_action( 'bp_before_group_header_meta' ); ?>
|
49 |
|
50 |
+
<div id="item-meta">
|
|
|
51 |
|
52 |
+
<?php
|
53 |
|
54 |
+
/**
|
55 |
+
* Fires after the group header actions section.
|
56 |
+
*
|
57 |
+
* @since 1.2.0
|
58 |
+
*/
|
59 |
+
do_action( 'bp_group_header_meta' ); ?>
|
60 |
|
61 |
+
<span class="highlight"><?php bp_group_type(); ?></span>
|
62 |
+
<span class="activity"><?php printf( __( 'active %s', 'buddypress' ), bp_get_group_last_active() ); ?></span>
|
63 |
|
64 |
+
<?php bp_group_description(); ?>
|
65 |
|
66 |
+
</div>
|
67 |
+
</div><!-- #item-header-content -->
|
68 |
|
69 |
+
<div id="item-actions">
|
70 |
|
71 |
+
<?php if ( bp_group_is_visible() ) : ?>
|
72 |
+
|
73 |
+
<h3><?php _e( 'Group Admins', 'buddypress' ); ?></h3>
|
|
|
|
|
|
|
74 |
|
75 |
+
<?php bp_group_list_admins();
|
76 |
|
77 |
/**
|
78 |
+
* Fires after the display of the group's administrators.
|
79 |
*
|
80 |
* @since 1.1.0
|
81 |
*/
|
82 |
+
do_action( 'bp_after_group_menu_admins' );
|
83 |
|
84 |
+
if ( bp_group_has_moderators() ) :
|
85 |
|
86 |
+
/**
|
87 |
+
* Fires before the display of the group's moderators, if there are any.
|
88 |
+
*
|
89 |
+
* @since 1.1.0
|
90 |
+
*/
|
91 |
+
do_action( 'bp_before_group_menu_mods' ); ?>
|
92 |
|
93 |
+
<h3><?php _e( 'Group Mods' , 'buddypress' ); ?></h3>
|
94 |
+
|
95 |
+
<?php bp_group_list_mods();
|
96 |
+
|
97 |
+
/**
|
98 |
+
* Fires after the display of the group's moderators, if there are any.
|
99 |
+
*
|
100 |
+
* @since 1.1.0
|
101 |
+
*/
|
102 |
+
do_action( 'bp_after_group_menu_mods' );
|
103 |
|
104 |
+
endif;
|
105 |
|
106 |
+
endif; ?>
|
107 |
|
108 |
+
</div><!-- #item-actions -->
|
109 |
|
110 |
+
</div><!-- #item-header-cover-image -->
|
111 |
+
</div><!-- #cover-image-container -->
|
112 |
|
113 |
<?php
|
114 |
|
@@ -50,10 +50,10 @@ do_action( 'bp_before_directory_members_page' ); ?>
|
|
50 |
|
51 |
<div class="item-list-tabs" role="navigation">
|
52 |
<ul>
|
53 |
-
<li class="selected" id="members-all"><a href="<?php bp_members_directory_permalink(); ?>"><?php printf( __( 'All Members
|
54 |
|
55 |
<?php if ( is_user_logged_in() && bp_is_active( 'friends' ) && bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?>
|
56 |
-
<li id="members-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/'; ?>"><?php printf( __( 'My Friends
|
57 |
<?php endif; ?>
|
58 |
|
59 |
<?php
|
50 |
|
51 |
<div class="item-list-tabs" role="navigation">
|
52 |
<ul>
|
53 |
+
<li class="selected" id="members-all"><a href="<?php bp_members_directory_permalink(); ?>"><?php printf( __( 'All Members %s', 'buddypress' ), '<span>' . bp_get_total_member_count() . '</span>' ); ?></a></li>
|
54 |
|
55 |
<?php if ( is_user_logged_in() && bp_is_active( 'friends' ) && bp_get_total_friend_count( bp_loggedin_user_id() ) ) : ?>
|
56 |
+
<li id="members-personal"><a href="<?php echo bp_loggedin_user_domain() . bp_get_friends_slug() . '/my-friends/'; ?>"><?php printf( __( 'My Friends %s', 'buddypress' ), '<span>' . bp_get_total_friend_count( bp_loggedin_user_id() ) . '</span>' ); ?></a></li>
|
57 |
<?php endif; ?>
|
58 |
|
59 |
<?php
|
@@ -175,7 +175,13 @@
|
|
175 |
|
176 |
if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
|
177 |
<p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
|
178 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
</p>
|
180 |
|
181 |
<div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
|
@@ -190,7 +196,12 @@
|
|
190 |
</div>
|
191 |
<?php else : ?>
|
192 |
<p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
|
193 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
194 |
</p>
|
195 |
<?php endif ?>
|
196 |
|
175 |
|
176 |
if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
|
177 |
<p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
|
178 |
+
<?php
|
179 |
+
printf(
|
180 |
+
__( 'This field can be seen by: %s', 'buddypress' ),
|
181 |
+
'<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>'
|
182 |
+
);
|
183 |
+
?>
|
184 |
+
<a href="#" class="visibility-toggle-link"><?php _ex( 'Change', 'Change profile field visibility level', 'buddypress' ); ?></a>
|
185 |
</p>
|
186 |
|
187 |
<div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
|
196 |
</div>
|
197 |
<?php else : ?>
|
198 |
<p class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
|
199 |
+
<?php
|
200 |
+
printf(
|
201 |
+
__( 'This field can be seen by: %s', 'buddypress' ),
|
202 |
+
'<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>'
|
203 |
+
);
|
204 |
+
?>
|
205 |
</p>
|
206 |
<?php endif ?>
|
207 |
|
@@ -17,78 +17,76 @@
|
|
17 |
*/
|
18 |
do_action( 'bp_before_member_header' ); ?>
|
19 |
|
20 |
-
<
|
|
|
21 |
|
22 |
-
<div id="item-header-cover-image">
|
23 |
-
|
24 |
-
|
25 |
|
26 |
-
|
27 |
|
28 |
-
|
29 |
-
|
30 |
|
31 |
-
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
|
37 |
-
|
38 |
|
39 |
<?php
|
40 |
|
41 |
/**
|
42 |
-
* Fires
|
43 |
*
|
44 |
-
* @since 1.2.
|
45 |
*/
|
46 |
-
do_action( '
|
47 |
-
|
48 |
-
</div><!-- #item-buttons -->
|
49 |
-
|
50 |
-
<span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
|
51 |
|
52 |
-
|
53 |
|
54 |
-
|
55 |
-
* Fires before the display of the member's header meta.
|
56 |
-
*
|
57 |
-
* @since 1.2.0
|
58 |
-
*/
|
59 |
-
do_action( 'bp_before_member_header_meta' ); ?>
|
60 |
|
61 |
-
|
62 |
|
63 |
-
|
64 |
|
65 |
-
|
66 |
|
67 |
-
|
68 |
|
69 |
-
|
70 |
-
|
71 |
-
<?php endif; ?>
|
72 |
-
|
73 |
-
<?php
|
74 |
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
|
85 |
-
|
86 |
|
87 |
-
|
88 |
|
89 |
-
|
90 |
|
91 |
-
</div><!-- #item-header-cover-image -->
|
|
|
92 |
|
93 |
<?php
|
94 |
|
17 |
*/
|
18 |
do_action( 'bp_before_member_header' ); ?>
|
19 |
|
20 |
+
<div id="cover-image-container">
|
21 |
+
<a id="header-cover-image" href="<?php bp_displayed_user_link(); ?>"></a>
|
22 |
|
23 |
+
<div id="item-header-cover-image">
|
24 |
+
<div id="item-header-avatar">
|
25 |
+
<a href="<?php bp_displayed_user_link(); ?>">
|
26 |
|
27 |
+
<?php bp_displayed_user_avatar( 'type=full' ); ?>
|
28 |
|
29 |
+
</a>
|
30 |
+
</div><!-- #item-header-avatar -->
|
31 |
|
32 |
+
<div id="item-header-content">
|
33 |
|
34 |
+
<?php if ( bp_is_active( 'activity' ) && bp_activity_do_mentions() ) : ?>
|
35 |
+
<h2 class="user-nicename">@<?php bp_displayed_user_mentionname(); ?></h2>
|
36 |
+
<?php endif; ?>
|
37 |
+
|
38 |
+
<div id="item-buttons"><?php
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Fires in the member header actions section.
|
42 |
+
*
|
43 |
+
* @since 1.2.6
|
44 |
+
*/
|
45 |
+
do_action( 'bp_member_header_actions' ); ?></div><!-- #item-buttons -->
|
46 |
|
47 |
+
<span class="activity"><?php bp_last_activity( bp_displayed_user_id() ); ?></span>
|
48 |
|
49 |
<?php
|
50 |
|
51 |
/**
|
52 |
+
* Fires before the display of the member's header meta.
|
53 |
*
|
54 |
+
* @since 1.2.0
|
55 |
*/
|
56 |
+
do_action( 'bp_before_member_header_meta' ); ?>
|
|
|
|
|
|
|
|
|
57 |
|
58 |
+
<div id="item-meta">
|
59 |
|
60 |
+
<?php if ( bp_is_active( 'activity' ) ) : ?>
|
|
|
|
|
|
|
|
|
|
|
61 |
|
62 |
+
<div id="latest-update">
|
63 |
|
64 |
+
<?php bp_activity_latest_update( bp_displayed_user_id() ); ?>
|
65 |
|
66 |
+
</div>
|
67 |
|
68 |
+
<?php endif; ?>
|
69 |
|
70 |
+
<?php
|
|
|
|
|
|
|
|
|
71 |
|
72 |
+
/**
|
73 |
+
* Fires after the group header actions section.
|
74 |
+
*
|
75 |
+
* If you'd like to show specific profile fields here use:
|
76 |
+
* bp_member_profile_data( 'field=About Me' ); -- Pass the name of the field
|
77 |
+
*
|
78 |
+
* @since 1.2.0
|
79 |
+
*/
|
80 |
+
do_action( 'bp_profile_header_meta' );
|
81 |
|
82 |
+
?>
|
83 |
|
84 |
+
</div><!-- #item-meta -->
|
85 |
|
86 |
+
</div><!-- #item-header-content -->
|
87 |
|
88 |
+
</div><!-- #item-header-cover-image -->
|
89 |
+
</div><!-- #cover-image-container -->
|
90 |
|
91 |
<?php
|
92 |
|
@@ -48,10 +48,10 @@ do_action( 'bp_before_profile_avatar_upload_content' ); ?>
|
|
48 |
|
49 |
<h5><?php _e( 'Crop Your New Profile Photo', 'buddypress' ); ?></h5>
|
50 |
|
51 |
-
<img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile
|
52 |
|
53 |
<div id="avatar-crop-pane">
|
54 |
-
<img src="<?php bp_avatar_to_crop(); ?>" id="avatar-crop-preview" class="avatar" alt="<?php esc_attr_e( 'Profile
|
55 |
</div>
|
56 |
|
57 |
<input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php esc_attr_e( 'Crop Image', 'buddypress' ); ?>" />
|
48 |
|
49 |
<h5><?php _e( 'Crop Your New Profile Photo', 'buddypress' ); ?></h5>
|
50 |
|
51 |
+
<img src="<?php bp_avatar_to_crop(); ?>" id="avatar-to-crop" class="avatar" alt="<?php esc_attr_e( 'Profile photo to crop', 'buddypress' ); ?>" />
|
52 |
|
53 |
<div id="avatar-crop-pane">
|
54 |
+
<img src="<?php bp_avatar_to_crop(); ?>" id="avatar-crop-preview" class="avatar" alt="<?php esc_attr_e( 'Profile photo preview', 'buddypress' ); ?>" />
|
55 |
</div>
|
56 |
|
57 |
<input type="submit" name="avatar-crop-submit" id="avatar-crop-submit" value="<?php esc_attr_e( 'Crop Image', 'buddypress' ); ?>" />
|
@@ -53,7 +53,13 @@ if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() ) )
|
|
53 |
|
54 |
<?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
|
55 |
<p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
|
56 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
57 |
</p>
|
58 |
|
59 |
<div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
|
@@ -67,7 +73,12 @@ if ( bp_has_profile( 'profile_group_id=' . bp_get_current_profile_group_id() ) )
|
|
67 |
</div>
|
68 |
<?php else : ?>
|
69 |
<div class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
|
70 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
71 |
</div>
|
72 |
<?php endif ?>
|
73 |
|
53 |
|
54 |
<?php if ( bp_current_user_can( 'bp_xprofile_change_field_visibility' ) ) : ?>
|
55 |
<p class="field-visibility-settings-toggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
|
56 |
+
<?php
|
57 |
+
printf(
|
58 |
+
__( 'This field can be seen by: %s', 'buddypress' ),
|
59 |
+
'<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>'
|
60 |
+
);
|
61 |
+
?>
|
62 |
+
<a href="#" class="visibility-toggle-link"><?php _e( 'Change', 'buddypress' ); ?></a>
|
63 |
</p>
|
64 |
|
65 |
<div class="field-visibility-settings" id="field-visibility-settings-<?php bp_the_profile_field_id() ?>">
|
73 |
</div>
|
74 |
<?php else : ?>
|
75 |
<div class="field-visibility-settings-notoggle" id="field-visibility-settings-toggle-<?php bp_the_profile_field_id() ?>">
|
76 |
+
<?php
|
77 |
+
printf(
|
78 |
+
__( 'This field can be seen by: %s', 'buddypress' ),
|
79 |
+
'<span class="current-visibility-level">' . bp_get_the_profile_field_visibility_level_label() . '</span>'
|
80 |
+
);
|
81 |
+
?>
|
82 |
</div>
|
83 |
<?php endif ?>
|
84 |
|
@@ -125,12 +125,14 @@ Hello, this is the BuddyPress Legacy stylesheet.
|
|
125 |
}
|
126 |
#buddypress form#whats-new-form textarea {
|
127 |
background: #fff;
|
|
|
128 |
color: #555;
|
129 |
font-family: inherit;
|
130 |
font-size: medium;
|
131 |
-
height:
|
|
|
132 |
padding: 6px;
|
133 |
-
width:
|
134 |
}
|
135 |
body.no-js #buddypress form#whats-new-form textarea {
|
136 |
height: 50px;
|
@@ -143,9 +145,10 @@ body.no-js #buddypress form#whats-new-form textarea {
|
|
143 |
float: left;
|
144 |
margin-top: 12px;
|
145 |
}
|
146 |
-
#buddypress #whats-new-options {
|
147 |
-
|
148 |
-
|
|
|
149 |
}
|
150 |
body.no-js #buddypress #whats-new-options {
|
151 |
height: auto;
|
@@ -1173,9 +1176,10 @@ a.bp-title-button {
|
|
1173 |
border: 1px solid #cb2;
|
1174 |
color: #440;
|
1175 |
}
|
1176 |
-
#buddypress
|
1177 |
-
|
1178 |
-
|
|
|
1179 |
}
|
1180 |
#buddypress div#item-header div#item-header-content {
|
1181 |
float: right;
|
@@ -1403,11 +1407,18 @@ body.activity-permalink #buddypress ul.item-list li.activity-item {
|
|
1403 |
overflow: auto;
|
1404 |
list-style: none;
|
1405 |
}
|
|
|
|
|
|
|
1406 |
|
1407 |
/*--------------------------------------------------------------
|
1408 |
3.8.1 - Cover Image
|
1409 |
--------------------------------------------------------------*/
|
1410 |
|
|
|
|
|
|
|
|
|
1411 |
#buddypress #header-cover-image {
|
1412 |
background-color: #c5c5c5;
|
1413 |
background-position: center top;
|
125 |
}
|
126 |
#buddypress form#whats-new-form textarea {
|
127 |
background: #fff;
|
128 |
+
box-sizing: border-box;
|
129 |
color: #555;
|
130 |
font-family: inherit;
|
131 |
font-size: medium;
|
132 |
+
height: 2.2em;
|
133 |
+
line-height: 1.4;
|
134 |
padding: 6px;
|
135 |
+
width: 100%;
|
136 |
}
|
137 |
body.no-js #buddypress form#whats-new-form textarea {
|
138 |
height: 50px;
|
145 |
float: left;
|
146 |
margin-top: 12px;
|
147 |
}
|
148 |
+
#buddypress #whats-new-options:after {
|
149 |
+
clear: both;
|
150 |
+
content: "";
|
151 |
+
display: table;
|
152 |
}
|
153 |
body.no-js #buddypress #whats-new-options {
|
154 |
height: auto;
|
1176 |
border: 1px solid #cb2;
|
1177 |
color: #440;
|
1178 |
}
|
1179 |
+
#buddypress #item-header:after {
|
1180 |
+
clear: both;
|
1181 |
+
content: "";
|
1182 |
+
display: table;
|
1183 |
}
|
1184 |
#buddypress div#item-header div#item-header-content {
|
1185 |
float: right;
|
1407 |
overflow: auto;
|
1408 |
list-style: none;
|
1409 |
}
|
1410 |
+
#buddypress #item-buttons:empty {
|
1411 |
+
display: none;
|
1412 |
+
}
|
1413 |
|
1414 |
/*--------------------------------------------------------------
|
1415 |
3.8.1 - Cover Image
|
1416 |
--------------------------------------------------------------*/
|
1417 |
|
1418 |
+
#buddypress #cover-image-container {
|
1419 |
+
position: relative;
|
1420 |
+
}
|
1421 |
+
|
1422 |
#buddypress #header-cover-image {
|
1423 |
background-color: #c5c5c5;
|
1424 |
background-position: center top;
|
@@ -1 +1 @@
|
|
1 |
-
#buddypress div.pagination .pagination-links a:hover,#buddypress ul.button-nav li.current a{font-weight:700}#buddypress div.pagination{background:0 0;border:none;color:#888;font-size:small;margin:0;position:relative;display:block;float:right;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:right;margin-right:10px}#buddypress div.pagination .pagination-links{float:left;margin-left:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:right}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:right}#buddypress form#whats-new-form #whats-new-content{margin-right:55px;padding:0 20px 20px 0}#buddypress form#whats-new-form p.activity-greeting{line-height:.5em;margin-bottom:15px;margin-right:75px}#buddypress form#whats-new-form textarea{background:#fff;color:#555;font-family:inherit;font-size:medium;height:20px;padding:6px;width:98%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:left;margin-top:12px}#buddypress #whats-new-options{overflow:auto;height:0}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:right}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-right:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-right:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#888;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 70px 0 0}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:150%;margin-right:170px;margin-left:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#888;line-height:220%}#buddypress .activity-header{margin-left:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 0 -8px 5px!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-left:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 0 5px 10px;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-right:2px solid #EAEAEA;margin-right:5px;padding-right:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-right:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner,#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:right;margin:0 0 5px 10px}#buddypress .activity-read-more{margin-right:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4D4D4D}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#aaa;text-decoration:none}#buddypress a.activity-time-since:hover{color:#888;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-left:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#999;color:#fff;font-size:90%;margin-right:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 70px 0 0;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-right:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 10px 0 0}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-right:30px;margin-top:0;padding-right:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 15px 0 10px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:right;height:25px;margin-left:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 40px 0 0}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#888;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-left:15px;clear:both}#buddypress div.activity-comments form.root{margin-right:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:right}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#888;margin-right:50px;padding-right:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:right;margin:5px 40px 5px 0}#buddypress .acomment-options a{color:#999}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:left;margin:-39px 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .current-member-type{font-style:italic}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:right;color:#800}#buddypress div#message.warning p{background-color:#ffe0af;border:1px solid #ffd087;clear:right;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 0 5px 5px;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:right;margin-right:10px}#buddypress ul.button-nav li{float:right;margin:0 0 10px 10px;list-style:none}#sitewide-notice #message{right:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#888;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress .standard-form #invite-list label,#buddypress .standard-form p label{font-weight:400;margin:auto}#buddypress .standard-form div.checkbox label:nth-child(n+2),#buddypress .standard-form div.radio div label{color:#888;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:left}#buddypress div#signup-avatar img{margin:0 0 10px 15px}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#888;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-left:15px}#buddypress .standard-form div.radio ul{margin:10px 38px 15px 0;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon,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 .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:right;width:48%}#buddypress .standard-form #profile-details-section{float:left}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:right}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress .generic-button a,#buddypress a.button,#buddypress button,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#777;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:right}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 1% 0 0}#buddypress form.standard-form .main-column{margin-right:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:right}#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 8px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}.bp-screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-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}}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#777}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled],#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#888;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-right:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#888;font-size:80%;position:absolute;top:15px;left:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{left:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table tr td.thread-info p,#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-left:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p.thread-excerpt{color:#888;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5}#buddypress table.notification-settings{margin-bottom:20px;text-align:right}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-right:35px}#buddypress table.forum td p.topic-text{color:#888;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-right:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-left:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:right}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#888}#buddypress table.forum td img.avatar{float:none;margin:0 0 -8px 5px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}#buddypress span.user-nicename{color:#777;display:inline-block;font-size:120%;font-weight:700}#buddypress div#message p,#sitewide-notice p{font-weight:400;margin-top:3px;text-decoration:none;background-color:#ffd;border:1px solid #cb2;color:#440}#buddypress div#item-header{overflow:hidden;position:relative}#buddypress div#item-header div#item-header-content{float:right;margin-right:0}#buddypress div#item-header h2{line-height:120%;margin:0 0 15px}#buddypress div#item-header h2 a{color:#777;text-decoration:none}#buddypress div#item-header img.avatar{float:right;margin:0 0 19px 15px}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:170%;vertical-align:middle;display:inline-block}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span,body.no-js #buddypress div#item-header .js-self-profile-button{display:none}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;left:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#aaa;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:left;margin:0 15px 15px 0;text-align:left;width:20%}#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header ul{margin-bottom:15px;overflow:hidden}#buddypress div#item-header ul li{float:left;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:right;margin:10px 0 0 10px}#buddypress div#item-header div#message.info{line-height:80%}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:right;margin:0 0 0 10px}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#999;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#888;font-size:80%;margin:10px 60px 0 0;width:50%}#buddypress ul.item-list li.group-no-avatar div.item-desc{margin-right:0}#buddypress ul.item-list li div.action{position:absolute;top:15px;left:0;text-align:left}#buddypress ul.item-list li div.meta{color:#888;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:left;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:right;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:right;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:left;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#999;display:inline;font-size:70%;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.8;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:12% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress div#message-thread div.message-metadata,.widget.buddypress div.avatar-block{overflow:hidden}#buddypress #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}#buddypress #item-header-cover-image{padding:0 1em;position:relative;z-index:999}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:right;margin:0 0 0 10px;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-content{margin-right:45px}#buddypress div#message-thread div.message-options{text-align:left}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:left;margin:0 20px}.message-metadata{position:relative}.message-star-actions{position:absolute;left:0;top:0}#buddypress a.message-action-star,#buddypress a.message-action-unstar{border-bottom:0;text-decoration:none;outline:0}a.message-action-star{opacity:.7}a.message-action-star:hover{opacity:1}.message-action-star span.icon:before,.message-action-unstar span.icon:before{font-family:dashicons;font-size:18px}.message-action-star span.icon:before{color:#aaa;content:"\f154"}.message-action-unstar span.icon:before{color:#FCDD77;content:"\f155"}#buddypress div.profile h4{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#888}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}#buddypress .wp-editor-container{border:1px solid #dedede}#buddypress .html-active button.switch-html,#buddypress .tmce-active button.switch-tmce{border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0;background:#f5f5f5}#buddypress .standard-form .wp-editor-container textarea{width:100%;padding-top:0;padding-bottom:0}.widget.buddypress div.item-avatar img.avatar{float:right;margin:0 0 15px 10px}.widget.buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-right:50px}.widget.buddypress ul.item-list img.avatar{height:40px;margin-left:10px;width:40px}.widget.buddypress div.item-avatar img{height:40px;margin:1px;width:40px}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-left:10px}.widget.buddypress .bp-login-widget-user-avatar{float:right}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-right:60px;margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-right:0;padding-right:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{clear:both;list-style-type:none}@media only screen and (max-width:480px){#buddypress div.dir-search{float:left;margin-top:-50px;text-align:left}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-right:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search,#buddypress ul.item-list li div.action{clear:right;float:right;margin-top:0;text-align:right}#buddypress li#groups-order-select{clear:right;float:right}#buddypress ul.item-list li div.action{margin-right:70px;position:relative;top:0;left:0}#buddypress ul.item-list li div.item-desc{clear:right;float:right;margin:10px 0 0;width:auto}#buddypress li div.item{margin-right:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-right:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:right;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:right}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-right:45px}h1 a.bp-title-button{clear:right;float:right;margin:10px 0 20px}}
|
1 |
+
#buddypress div.pagination .pagination-links a:hover,#buddypress ul.button-nav li.current a{font-weight:700}#buddypress div.pagination{background:0 0;border:none;color:#888;font-size:small;margin:0;position:relative;display:block;float:right;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:right;margin-right:10px}#buddypress div.pagination .pagination-links{float:left;margin-left:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:right}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:right}#buddypress form#whats-new-form #whats-new-content{margin-right:55px;padding:0 20px 20px 0}#buddypress form#whats-new-form p.activity-greeting{line-height:.5em;margin-bottom:15px;margin-right:75px}#buddypress form#whats-new-form textarea{background:#fff;box-sizing:border-box;color:#555;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:left;margin-top:12px}#buddypress #whats-new-options:after{clear:both;content:"";display:table}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:right}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-right:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-right:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#888;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 70px 0 0}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:150%;margin-right:170px;margin-left:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#888;line-height:220%}#buddypress .activity-header{margin-left:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 0 -8px 5px!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-left:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 0 5px 10px;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-right:2px solid #EAEAEA;margin-right:5px;padding-right:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-right:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner,#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:right;margin:0 0 5px 10px}#buddypress .activity-read-more{margin-right:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4D4D4D}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#aaa;text-decoration:none}#buddypress a.activity-time-since:hover{color:#888;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-left:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#999;color:#fff;font-size:90%;margin-right:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 70px 0 0;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-right:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 10px 0 0}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-right:30px;margin-top:0;padding-right:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 15px 0 10px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:right;height:25px;margin-left:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 40px 0 0}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#888;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-left:15px;clear:both}#buddypress div.activity-comments form.root{margin-right:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:right}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#888;margin-right:50px;padding-right:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:right;margin:5px 40px 5px 0}#buddypress .acomment-options a{color:#999}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:left;margin:-39px 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .current-member-type{font-style:italic}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:right;color:#800}#buddypress div#message.warning p{background-color:#ffe0af;border:1px solid #ffd087;clear:right;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 0 5px 5px;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:right;margin-right:10px}#buddypress ul.button-nav li{float:right;margin:0 0 10px 10px;list-style:none}#sitewide-notice #message{right:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#888;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress .standard-form #invite-list label,#buddypress .standard-form p label{font-weight:400;margin:auto}#buddypress .standard-form div.checkbox label:nth-child(n+2),#buddypress .standard-form div.radio div label{color:#888;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:left}#buddypress div#signup-avatar img{margin:0 0 10px 15px}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#888;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-left:15px}#buddypress .standard-form div.radio ul{margin:10px 38px 15px 0;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon,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 .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:right;width:48%}#buddypress .standard-form #profile-details-section{float:left}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:right}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress .generic-button a,#buddypress a.button,#buddypress button,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#777;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:right}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 1% 0 0}#buddypress form.standard-form .main-column{margin-right:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:right}#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 8px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}.bp-screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-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}}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#777}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled],#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#888;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-right:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#888;font-size:80%;position:absolute;top:15px;left:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{left:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table tr td.thread-info p,#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-left:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p.thread-excerpt{color:#888;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5}#buddypress table.notification-settings{margin-bottom:20px;text-align:right}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-right:35px}#buddypress table.forum td p.topic-text{color:#888;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-right:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-left:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:right}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#888}#buddypress table.forum td img.avatar{float:none;margin:0 0 -8px 5px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}#buddypress span.user-nicename{color:#777;display:inline-block;font-size:120%;font-weight:700}#buddypress div#message p,#sitewide-notice p{font-weight:400;margin-top:3px;text-decoration:none;background-color:#ffd;border:1px solid #cb2;color:#440}#buddypress #item-header:after{clear:both;content:"";display:table}#buddypress div#item-header div#item-header-content{float:right;margin-right:0}#buddypress div#item-header h2{line-height:120%;margin:0 0 15px}#buddypress div#item-header h2 a{color:#777;text-decoration:none}#buddypress div#item-header img.avatar{float:right;margin:0 0 19px 15px}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:170%;vertical-align:middle;display:inline-block}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span,body.no-js #buddypress div#item-header .js-self-profile-button{display:none}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;left:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#aaa;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:left;margin:0 15px 15px 0;text-align:left;width:20%}#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header ul{margin-bottom:15px;overflow:hidden}#buddypress div#item-header ul li{float:left;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:right;margin:10px 0 0 10px}#buddypress div#item-header div#message.info{line-height:80%}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:right;margin:0 0 0 10px}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#999;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#888;font-size:80%;margin:10px 60px 0 0;width:50%}#buddypress ul.item-list li.group-no-avatar div.item-desc{margin-right:0}#buddypress ul.item-list li div.action{position:absolute;top:15px;left:0;text-align:left}#buddypress ul.item-list li div.meta{color:#888;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:left;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:right;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:right;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:left;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#999;display:inline;font-size:70%;margin-right:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.8;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:12% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress div#message-thread div.message-metadata,.widget.buddypress div.avatar-block{overflow:hidden}#buddypress #item-buttons:empty{display:none}#buddypress #cover-image-container{position:relative}#buddypress #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}#buddypress #item-header-cover-image{padding:0 1em;position:relative;z-index:999}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:right;margin:0 0 0 10px;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-content{margin-right:45px}#buddypress div#message-thread div.message-options{text-align:left}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:left;margin:0 20px}.message-metadata{position:relative}.message-star-actions{position:absolute;left:0;top:0}#buddypress a.message-action-star,#buddypress a.message-action-unstar{border-bottom:0;text-decoration:none;outline:0}a.message-action-star{opacity:.7}a.message-action-star:hover{opacity:1}.message-action-star span.icon:before,.message-action-unstar span.icon:before{font-family:dashicons;font-size:18px}.message-action-star span.icon:before{color:#aaa;content:"\f154"}.message-action-unstar span.icon:before{color:#FCDD77;content:"\f155"}#buddypress div.profile h4{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#888}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}#buddypress .wp-editor-container{border:1px solid #dedede}#buddypress .html-active button.switch-html,#buddypress .tmce-active button.switch-tmce{border-bottom-color:transparent;border-bottom-right-radius:0;border-bottom-left-radius:0;background:#f5f5f5}#buddypress .standard-form .wp-editor-container textarea{width:100%;padding-top:0;padding-bottom:0}.widget.buddypress div.item-avatar img.avatar{float:right;margin:0 0 15px 10px}.widget.buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-right:50px}.widget.buddypress ul.item-list img.avatar{height:40px;margin-left:10px;width:40px}.widget.buddypress div.item-avatar img{height:40px;margin:1px;width:40px}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-left:10px}.widget.buddypress .bp-login-widget-user-avatar{float:right}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-right:60px;margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-right:0;padding-right:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{clear:both;list-style-type:none}@media only screen and (max-width:480px){#buddypress div.dir-search{float:left;margin-top:-50px;text-align:left}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-right:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search,#buddypress ul.item-list li div.action{margin-top:0;text-align:right;clear:right;float:right}#buddypress li#groups-order-select{clear:right;float:right}#buddypress ul.item-list li div.action{margin-right:70px;position:relative;top:0;left:0}#buddypress ul.item-list li div.item-desc{clear:right;float:right;margin:10px 0 0;width:auto}#buddypress li div.item{margin-right:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-right:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:right;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:right}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-right:45px}h1 a.bp-title-button{clear:right;float:right;margin:10px 0 20px}}
|
@@ -125,12 +125,14 @@ Hello, this is the BuddyPress Legacy stylesheet.
|
|
125 |
}
|
126 |
#buddypress form#whats-new-form textarea {
|
127 |
background: #fff;
|
|
|
128 |
color: #555;
|
129 |
font-family: inherit;
|
130 |
font-size: medium;
|
131 |
-
height:
|
|
|
132 |
padding: 6px;
|
133 |
-
width:
|
134 |
}
|
135 |
body.no-js #buddypress form#whats-new-form textarea {
|
136 |
height: 50px;
|
@@ -143,9 +145,10 @@ body.no-js #buddypress form#whats-new-form textarea {
|
|
143 |
float: right;
|
144 |
margin-top: 12px;
|
145 |
}
|
146 |
-
#buddypress #whats-new-options {
|
147 |
-
|
148 |
-
|
|
|
149 |
}
|
150 |
body.no-js #buddypress #whats-new-options {
|
151 |
height: auto;
|
@@ -1173,9 +1176,10 @@ a.bp-title-button {
|
|
1173 |
border: 1px solid #cb2;
|
1174 |
color: #440;
|
1175 |
}
|
1176 |
-
#buddypress
|
1177 |
-
|
1178 |
-
|
|
|
1179 |
}
|
1180 |
#buddypress div#item-header div#item-header-content {
|
1181 |
float: left;
|
@@ -1403,11 +1407,18 @@ body.activity-permalink #buddypress ul.item-list li.activity-item {
|
|
1403 |
overflow: auto;
|
1404 |
list-style: none;
|
1405 |
}
|
|
|
|
|
|
|
1406 |
|
1407 |
/*--------------------------------------------------------------
|
1408 |
3.8.1 - Cover Image
|
1409 |
--------------------------------------------------------------*/
|
1410 |
|
|
|
|
|
|
|
|
|
1411 |
#buddypress #header-cover-image {
|
1412 |
background-color: #c5c5c5;
|
1413 |
background-position: center top;
|
125 |
}
|
126 |
#buddypress form#whats-new-form textarea {
|
127 |
background: #fff;
|
128 |
+
box-sizing: border-box;
|
129 |
color: #555;
|
130 |
font-family: inherit;
|
131 |
font-size: medium;
|
132 |
+
height: 2.2em;
|
133 |
+
line-height: 1.4;
|
134 |
padding: 6px;
|
135 |
+
width: 100%;
|
136 |
}
|
137 |
body.no-js #buddypress form#whats-new-form textarea {
|
138 |
height: 50px;
|
145 |
float: right;
|
146 |
margin-top: 12px;
|
147 |
}
|
148 |
+
#buddypress #whats-new-options:after {
|
149 |
+
clear: both;
|
150 |
+
content: "";
|
151 |
+
display: table;
|
152 |
}
|
153 |
body.no-js #buddypress #whats-new-options {
|
154 |
height: auto;
|
1176 |
border: 1px solid #cb2;
|
1177 |
color: #440;
|
1178 |
}
|
1179 |
+
#buddypress #item-header:after {
|
1180 |
+
clear: both;
|
1181 |
+
content: "";
|
1182 |
+
display: table;
|
1183 |
}
|
1184 |
#buddypress div#item-header div#item-header-content {
|
1185 |
float: left;
|
1407 |
overflow: auto;
|
1408 |
list-style: none;
|
1409 |
}
|
1410 |
+
#buddypress #item-buttons:empty {
|
1411 |
+
display: none;
|
1412 |
+
}
|
1413 |
|
1414 |
/*--------------------------------------------------------------
|
1415 |
3.8.1 - Cover Image
|
1416 |
--------------------------------------------------------------*/
|
1417 |
|
1418 |
+
#buddypress #cover-image-container {
|
1419 |
+
position: relative;
|
1420 |
+
}
|
1421 |
+
|
1422 |
#buddypress #header-cover-image {
|
1423 |
background-color: #c5c5c5;
|
1424 |
background-position: center top;
|
@@ -1 +1 @@
|
|
1 |
-
#buddypress div.pagination .pagination-links a:hover,#buddypress ul.button-nav li.current a{font-weight:700}#buddypress div.pagination{background:0 0;border:none;color:#888;font-size:small;margin:0;position:relative;display:block;float:left;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:left;margin-left:10px}#buddypress div.pagination .pagination-links{float:right;margin-right:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:left}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:left}#buddypress form#whats-new-form #whats-new-content{margin-left:55px;padding:0 0 20px 20px}#buddypress form#whats-new-form p.activity-greeting{line-height:.5em;margin-bottom:15px;margin-left:75px}#buddypress form#whats-new-form textarea{background:#fff;color:#555;font-family:inherit;font-size:medium;height:20px;padding:6px;width:98%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:right;margin-top:12px}#buddypress #whats-new-options{overflow:auto;height:0}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:left}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-left:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-left:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#888;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 0 0 70px}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:150%;margin-left:170px;margin-right:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#888;line-height:220%}#buddypress .activity-header{margin-right:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 5px -8px 0!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-right:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 10px 5px 0;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-left:2px solid #EAEAEA;margin-left:5px;padding-left:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-left:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner,#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:left;margin:0 10px 5px 0}#buddypress .activity-read-more{margin-left:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4D4D4D}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#aaa;text-decoration:none}#buddypress a.activity-time-since:hover{color:#888;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-right:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#999;color:#fff;font-size:90%;margin-left:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 0 0 70px;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-left:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 0 0 10px}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-left:30px;margin-top:0;padding-left:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 10px 0 15px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:left;height:25px;margin-right:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 0 0 40px}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#888;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-right:15px;clear:both}#buddypress div.activity-comments form.root{margin-left:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:left}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#888;margin-left:50px;padding-left:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:left;margin:5px 0 5px 40px}#buddypress .acomment-options a{color:#999}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:right;margin:-39px 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .current-member-type{font-style:italic}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:left;color:#800}#buddypress div#message.warning p{background-color:#ffe0af;border:1px solid #ffd087;clear:left;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 5px 5px 0;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:left;margin-left:10px}#buddypress ul.button-nav li{float:left;margin:0 10px 10px 0;list-style:none}#sitewide-notice #message{left:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#888;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress .standard-form #invite-list label,#buddypress .standard-form p label{font-weight:400;margin:auto}#buddypress .standard-form div.checkbox label:nth-child(n+2),#buddypress .standard-form div.radio div label{color:#888;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:right}#buddypress div#signup-avatar img{margin:0 15px 10px 0}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#888;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-right:15px}#buddypress .standard-form div.radio ul{margin:10px 0 15px 38px;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon,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 .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:left;width:48%}#buddypress .standard-form #profile-details-section{float:right}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:left}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress .generic-button a,#buddypress a.button,#buddypress button,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#777;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:left}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 0 0 1%}#buddypress form.standard-form .main-column{margin-left:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:left}#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 8px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}.bp-screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-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}}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#777}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled],#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#888;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-left:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#888;font-size:80%;position:absolute;top:15px;right:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{right:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table tr td.thread-info p,#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-right:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p.thread-excerpt{color:#888;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5}#buddypress table.notification-settings{margin-bottom:20px;text-align:left}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-left:35px}#buddypress table.forum td p.topic-text{color:#888;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-left:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-right:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:left}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#888}#buddypress table.forum td img.avatar{float:none;margin:0 5px -8px 0}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}#buddypress span.user-nicename{color:#777;display:inline-block;font-size:120%;font-weight:700}#buddypress div#message p,#sitewide-notice p{font-weight:400;margin-top:3px;text-decoration:none;background-color:#ffd;border:1px solid #cb2;color:#440}#buddypress div#item-header{overflow:hidden;position:relative}#buddypress div#item-header div#item-header-content{float:left;margin-left:0}#buddypress div#item-header h2{line-height:120%;margin:0 0 15px}#buddypress div#item-header h2 a{color:#777;text-decoration:none}#buddypress div#item-header img.avatar{float:left;margin:0 15px 19px 0}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:170%;vertical-align:middle;display:inline-block}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span,body.no-js #buddypress div#item-header .js-self-profile-button{display:none}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;right:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#aaa;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:right;margin:0 0 15px 15px;text-align:right;width:20%}#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header ul{margin-bottom:15px;overflow:hidden}#buddypress div#item-header ul li{float:right;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:left;margin:10px 10px 0 0}#buddypress div#item-header div#message.info{line-height:80%}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:left;margin:0 10px 0 0}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#999;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#888;font-size:80%;margin:10px 0 0 60px;width:50%}#buddypress ul.item-list li.group-no-avatar div.item-desc{margin-left:0}#buddypress ul.item-list li div.action{position:absolute;top:15px;right:0;text-align:right}#buddypress ul.item-list li div.meta{color:#888;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:right;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:left;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:left;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:right;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#999;display:inline;font-size:70%;margin-left:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.8;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:88% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress div#message-thread div.message-metadata,.widget.buddypress div.avatar-block{overflow:hidden}#buddypress #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}#buddypress #item-header-cover-image{padding:0 1em;position:relative;z-index:999}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:left;margin:0 10px 0 0;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-content{margin-left:45px}#buddypress div#message-thread div.message-options{text-align:right}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:right;margin:0 20px}.message-metadata{position:relative}.message-star-actions{position:absolute;right:0;top:0}#buddypress a.message-action-star,#buddypress a.message-action-unstar{border-bottom:0;text-decoration:none;outline:0}a.message-action-star{opacity:.7}a.message-action-star:hover{opacity:1}.message-action-star span.icon:before,.message-action-unstar span.icon:before{font-family:dashicons;font-size:18px}.message-action-star span.icon:before{color:#aaa;content:"\f154"}.message-action-unstar span.icon:before{color:#FCDD77;content:"\f155"}#buddypress div.profile h4{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#888}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}#buddypress .wp-editor-container{border:1px solid #dedede}#buddypress .html-active button.switch-html,#buddypress .tmce-active button.switch-tmce{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0;background:#f5f5f5}#buddypress .standard-form .wp-editor-container textarea{width:100%;padding-top:0;padding-bottom:0}.widget.buddypress div.item-avatar img.avatar{float:left;margin:0 10px 15px 0}.widget.buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-left:50px}.widget.buddypress ul.item-list img.avatar{height:40px;margin-right:10px;width:40px}.widget.buddypress div.item-avatar img{height:40px;margin:1px;width:40px}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-right:10px}.widget.buddypress .bp-login-widget-user-avatar{float:left}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-left:60px;margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-left:0;padding-left:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{clear:both;list-style-type:none}@media only screen and (max-width:480px){#buddypress div.dir-search{float:right;margin-top:-50px;text-align:right}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-left:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search,#buddypress ul.item-list li div.action{clear:left;float:left;margin-top:0;text-align:left}#buddypress li#groups-order-select{clear:left;float:left}#buddypress ul.item-list li div.action{margin-left:70px;position:relative;top:0;right:0}#buddypress ul.item-list li div.item-desc{clear:left;float:left;margin:10px 0 0;width:auto}#buddypress li div.item{margin-left:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-left:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:left;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:left}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-left:45px}h1 a.bp-title-button{clear:left;float:left;margin:10px 0 20px}}
|
1 |
+
#buddypress div.pagination .pagination-links a:hover,#buddypress ul.button-nav li.current a{font-weight:700}#buddypress div.pagination{background:0 0;border:none;color:#888;font-size:small;margin:0;position:relative;display:block;float:left;width:100%;padding:10px 0}#buddypress div.pagination .pag-count{float:left;margin-left:10px}#buddypress div.pagination .pagination-links{float:right;margin-right:10px}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{font-size:90%;padding:0 5px}#buddypress noscript div.pagination{margin-bottom:15px}#buddypress #nav-above{display:none}#buddypress .paged #nav-above{display:block}#buddypress img.wp-smiley{border:none!important;clear:none!important;float:none!important;margin:0!important;padding:0!important}#buddypress .clear{clear:left}#buddypress #activity-stream{margin-top:-5px}#buddypress #activity-stream p{margin:5px 0}#buddypress #item-body form#whats-new-form{margin:0;padding:0}#buddypress .home-page form#whats-new-form{border-bottom:none;padding-bottom:0}#buddypress form#whats-new-form #whats-new-avatar{float:left}#buddypress form#whats-new-form #whats-new-content{margin-left:55px;padding:0 0 20px 20px}#buddypress form#whats-new-form p.activity-greeting{line-height:.5em;margin-bottom:15px;margin-left:75px}#buddypress form#whats-new-form textarea{background:#fff;box-sizing:border-box;color:#555;font-family:inherit;font-size:medium;height:2.2em;line-height:1.4;padding:6px;width:100%}body.no-js #buddypress form#whats-new-form textarea{height:50px}#buddypress form#whats-new-form #whats-new-options select{max-width:200px;margin-top:12px}#buddypress form#whats-new-form #whats-new-submit{float:right;margin-top:12px}#buddypress #whats-new-options:after{clear:both;content:"";display:table}body.no-js #buddypress #whats-new-options{height:auto}#buddypress #whats-new:focus{border-color:rgba(31,179,221,.9)!important;outline-color:rgba(31,179,221,.9)}#buddypress ul.activity-list li{overflow:hidden;padding:15px 0 0;list-style:none}#buddypress .activity-list .activity-avatar{float:left}#buddypress ul.item-list.activity-list li.has-comments{padding-bottom:15px}body.activity-permalink #buddypress ul.activity-list li.has-comments{padding-bottom:0}#buddypress .activity-list li.mini{font-size:80%;position:relative}#buddypress .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-list li.mini .activity-avatar img.avatar{height:20px;margin-left:30px;width:20px}#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.FB_profile_pic,#buddypress .activity-permalink .activity-list li.mini .activity-avatar img.avatar{height:auto;margin-left:0;width:auto}body.activity-permalink #buddypress .activity-list>li:first-child{padding-top:0}#buddypress .activity-list li .activity-content{position:relative}#buddypress .activity-list li.mini .activity-content p{margin:0}#buddypress .activity-list li.mini .activity-comments{clear:both;font-size:120%}body.activity-permalink #buddypress li.mini .activity-meta{margin-top:4px}#buddypress .activity-list li .activity-inreplyto{color:#888;font-size:80%}#buddypress .activity-list li .activity-inreplyto>p{margin:0;display:inline}#buddypress .activity-list li .activity-inreplyto blockquote,#buddypress .activity-list li .activity-inreplyto div.activity-inner{background:0 0;border:none;display:inline;margin:0;overflow:hidden;padding:0}#buddypress .activity-list .activity-content{margin:0 0 0 70px}body.activity-permalink #buddypress .activity-list li .activity-content{border:none;font-size:100%;line-height:150%;margin-left:170px;margin-right:0;padding:0}body.activity-permalink #buddypress .activity-list li .activity-header>p{margin:0;padding:5px 0 0}#buddypress .activity-list .activity-content .activity-header,#buddypress .activity-list .activity-content .comment-header{color:#888;line-height:220%}#buddypress .activity-header{margin-right:20px}#buddypress .acomment-meta a,#buddypress .activity-header a,#buddypress .comment-meta a{text-decoration:none}#buddypress .activity-list .activity-content .activity-header img.avatar{float:none!important;margin:0 5px -8px 0!important}#buddypress a.bp-secondary-action,#buddypress span.highlight{font-size:80%;padding:0;margin-right:5px;text-decoration:none}#buddypress .activity-list .activity-content .activity-inner,#buddypress .activity-list .activity-content blockquote{margin:10px 10px 5px 0;overflow:hidden}#buddypress .activity-list li.new_forum_post .activity-content .activity-inner,#buddypress .activity-list li.new_forum_topic .activity-content .activity-inner{border-left:2px solid #EAEAEA;margin-left:5px;padding-left:10px}body.activity-permalink #buddypress .activity-content .activity-inner,body.activity-permalink #buddypress .activity-content blockquote{margin-left:0;margin-top:5px}#buddypress .activity-inner>p{word-wrap:break-word}#buddypress .activity-inner>.activity-inner,#buddypress .activity-inner>blockquote{margin:0}#buddypress .activity-list .activity-content img.thumbnail{border:2px solid #eee;float:left;margin:0 10px 5px 0}#buddypress .activity-read-more{margin-left:1em;white-space:nowrap}#buddypress .activity-list li.load-more,#buddypress .activity-list li.load-newest{background:#f0f0f0;font-size:110%;margin:15px 0;padding:10px 15px;text-align:center}#buddypress .activity-list li.load-more a,#buddypress .activity-list li.load-newest a{color:#4D4D4D}#buddypress div.activity-meta{margin:18px 0 0}body.activity-permalink #buddypress div.activity-meta{margin-bottom:6px}#buddypress div.activity-meta a{padding:4px 8px}#buddypress a.activity-time-since{color:#aaa;text-decoration:none}#buddypress a.activity-time-since:hover{color:#888;text-decoration:underline}#buddypress #reply-title small a,#buddypress a.bp-primary-action{font-size:80%;margin-right:5px;text-decoration:none}#buddypress #reply-title small a span,#buddypress a.bp-primary-action span{background:#999;color:#fff;font-size:90%;margin-left:2px;padding:0 5px}#buddypress #reply-title small a:hover span,#buddypress a.bp-primary-action:hover span{background:#555;color:#fff}#buddypress div.activity-comments{margin:0 0 0 70px;overflow:hidden;position:relative;width:auto;clear:both}body.activity-permalink #buddypress div.activity-comments{background:0 0;margin-left:170px;width:auto}#buddypress div.activity-comments>ul{padding:0 0 0 10px}#buddypress div.activity-comments ul,#buddypress div.activity-comments ul li{border:none;list-style:none}#buddypress div.activity-comments ul{clear:both;margin:0}#buddypress div.activity-comments ul li{border-top:1px solid #eee;padding:10px 0 0}body.activity-permalink #buddypress .activity-list li.mini .activity-comments{clear:none;margin-top:0}body.activity-permalink #buddypress div.activity-comments ul li{border-width:1px;padding:10px 0 0}#buddypress div.activity-comments>ul>li:first-child{border-top:none}#buddypress div.activity-comments ul li:last-child{margin-bottom:0}#buddypress div.activity-comments ul li>ul{margin-left:30px;margin-top:0;padding-left:10px}body.activity-permalink #buddypress div.activity-comments ul li>ul{margin-top:10px}body.activity-permalink #buddypress div.activity-comments>ul{padding:0 10px 0 15px}#buddypress div.activity-comments div.acomment-avatar img{border-width:1px;float:left;height:25px;margin-right:10px;width:25px}#buddypress div.activity-comments div.acomment-content{font-size:80%;margin:5px 0 0 40px}#buddypress div.acomment-content .activity-delete-link,#buddypress div.acomment-content .comment-header,#buddypress div.acomment-content .time-since{display:none}body.activity-permalink #buddypress div.activity-comments div.acomment-content{font-size:90%}#buddypress div.activity-comments div.acomment-meta{color:#888;font-size:80%}#buddypress div.activity-comments form.ac-form{display:none;padding:10px}#buddypress div.activity-comments li form.ac-form{margin-right:15px;clear:both}#buddypress div.activity-comments form.root{margin-left:0}#buddypress div.activity-comments div#message{margin-top:15px;margin-bottom:0}#buddypress div.activity-comments form .ac-textarea{background:#fff;border:1px inset #ccc;margin-bottom:10px;padding:8px}#buddypress div.activity-comments form textarea{border:none;background:0 0;box-shadow:none;outline:0;color:#555;font-family:inherit;font-size:100%;height:60px;padding:0;margin:0;width:100%}#buddypress div.activity-comments form input{margin-top:5px}#buddypress div.activity-comments form div.ac-reply-avatar{float:left}#buddypress div.ac-reply-avatar img{border:1px solid #eee}#buddypress div.activity-comments form div.ac-reply-content{color:#888;margin-left:50px;padding-left:15px}#buddypress div.activity-comments form div.ac-reply-content a{text-decoration:none}#buddypress .acomment-options{float:left;margin:5px 0 5px 40px}#buddypress .acomment-options a{color:#999}#buddypress .acomment-options a:hover{color:inherit}#buddypress div.dir-search{float:right;margin:-39px 0 0}#buddypress div.dir-search input[type=text],#buddypress li.groups-members-search input[type=text]{font-size:90%;padding:1px 3px}#buddypress .current-member-type{font-style:italic}#buddypress .dir-form{clear:both}#buddypress div#message{margin:0 0 15px}#buddypress #message.info{margin-bottom:0}#buddypress div#message.updated{clear:both;display:block}#buddypress div#message p,#sitewide-notice p{font-size:90%;display:block;padding:10px 15px}#buddypress div#message.error p{background-color:#fdc;border:1px solid #a00;clear:left;color:#800}#buddypress div#message.warning p{background-color:#ffe0af;border:1px solid #ffd087;clear:left;color:#800}#buddypress div#message.updated p{background-color:#efc;border:1px solid #591;color:#250}#buddypress #pass-strength-result{background-color:#eee;border-color:#ddd;border-style:solid;border-width:1px;display:none;margin:5px 5px 5px 0;padding:5px;text-align:center;width:150px}#buddypress .standard-form #basic-details-section #pass-strength-result{width:35%}#buddypress #pass-strength-result.bad,#buddypress #pass-strength-result.error{background-color:#ffb78c;border-color:#ff853c!important;display:block}#buddypress #pass-strength-result.good{background-color:#ffec8b;border-color:#fc0!important;display:block}#buddypress #pass-strength-result.short{background-color:#ffa0a0;border-color:#f04040!important;display:block}#buddypress #pass-strength-result.strong{background-color:#c3ff88;border-color:#8dff1c!important;display:block}#buddypress .standard-form#signup_form div div.error{background:#faa;color:#a00;margin:0 0 10px;padding:6px;width:90%}#buddypress div.accept,#buddypress div.reject{float:left;margin-left:10px}#buddypress ul.button-nav li{float:left;margin:0 10px 10px 0;list-style:none}#sitewide-notice #message{left:2%;position:fixed;top:1em;width:96%;z-index:9999}#sitewide-notice.admin-bar-on #message{top:3.3em}#sitewide-notice strong{display:block;margin-bottom:-1em}#buddypress .dir-search input[type=search],#buddypress .dir-search input[type=text],#buddypress .groups-members-search input[type=search],#buddypress .groups-members-search input[type=text],#buddypress .standard-form input[type=color],#buddypress .standard-form input[type=date],#buddypress .standard-form input[type=datetime-local],#buddypress .standard-form input[type=datetime],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=month],#buddypress .standard-form input[type=number],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=range],#buddypress .standard-form input[type=search],#buddypress .standard-form input[type=tel],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=time],#buddypress .standard-form input[type=url],#buddypress .standard-form input[type=week],#buddypress .standard-form select,#buddypress .standard-form textarea{border:1px solid #ccc;background:#fafafa;border-radius:0;color:#888;font:inherit;font-size:100%;padding:6px}#buddypress .standard-form select{padding:3px}#buddypress .standard-form input[type=password]{margin-bottom:5px}#buddypress .standard-form label,#buddypress .standard-form span.label{display:block;font-weight:700;margin:15px 0 5px;width:auto}#buddypress .standard-form #invite-list label,#buddypress .standard-form p label{font-weight:400;margin:auto}#buddypress .standard-form div.checkbox label:nth-child(n+2),#buddypress .standard-form div.radio div label{color:#888;font-size:100%;font-weight:400;margin:5px 0 0}#buddypress .standard-form#sidebar-login-form label{margin-top:5px}#buddypress .standard-form input[type=text]{width:75%}#buddypress .standard-form#sidebar-login-form input[type=password],#buddypress .standard-form#sidebar-login-form input[type=text]{padding:4px;width:95%}#buddypress .standard-form #basic-details-section input[type=password],#buddypress .standard-form #blog-details-section input#signup_blog_url{width:35%}#buddypress #commentform input[type=text],#buddypress #commentform textarea,#buddypress .form-allowed-tags,#buddypress .standard-form#signup_form input[type=text],#buddypress .standard-form#signup_form textarea{width:90%}#buddypress .standard-form#signup_form div.submit{float:right}#buddypress div#signup-avatar img{margin:0 15px 10px 0}#buddypress .standard-form textarea{width:75%;height:120px}#buddypress .standard-form textarea#message_content{height:200px}#buddypress .standard-form#send-reply textarea{width:97.5%}#buddypress .standard-form p.description{color:#888;font-size:80%;margin:5px 0}#buddypress .standard-form div.submit{clear:both;padding:15px 0 0}#buddypress .standard-form p.submit{margin-bottom:0;padding:15px 0 0}#buddypress .standard-form div.submit input{margin-right:15px}#buddypress .standard-form div.radio ul{margin:10px 0 15px 38px;list-style:disc}#buddypress .standard-form div.radio ul li{margin-bottom:5px}#buddypress .standard-form a.clear-value{display:block;margin-top:5px;outline:0}#buddypress table.notification-settings td:first-child,#buddypress table.notification-settings th.icon,#buddypress table.notifications td:first-child,#buddypress table.notifications th.icon,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 .standard-form #basic-details-section,#buddypress .standard-form #blog-details-section,#buddypress .standard-form #profile-details-section{float:left;width:48%}#buddypress .standard-form #profile-details-section{float:right}#buddypress #notifications-bulk-management,#buddypress .standard-form #blog-details-section{clear:left}#buddypress .standard-form input:focus,#buddypress .standard-form select:focus,#buddypress .standard-form textarea:focus{background:#fafafa;color:#555}#buddypress form#send-invite-form{margin-top:20px}#buddypress div#invite-list{background:#f5f5f5;height:400px;margin:0 0 10px;overflow:auto;padding:5px;width:160px}#buddypress .comment-reply-link,#buddypress .generic-button a,#buddypress a.button,#buddypress button,#buddypress input[type=button],#buddypress input[type=reset],#buddypress input[type=submit],#buddypress ul.button-nav li a,a.bp-title-button{background:#fff;border:1px solid #ccc;color:#777;font-size:small;cursor:pointer;outline:0;padding:4px 10px;text-align:center;text-decoration:none}#buddypress .comment-reply-link:hover,#buddypress a.button:focus,#buddypress a.button:hover,#buddypress button:hover,#buddypress div.generic-button a:hover,#buddypress input[type=button]:hover,#buddypress input[type=reset]:hover,#buddypress input[type=submit]:hover,#buddypress ul.button-nav li a:hover,#buddypress ul.button-nav li.current a{background:#ededed;border:1px solid #bbb;color:#555;outline:0;text-decoration:none}#buddypress form.standard-form .left-menu{float:left}#buddypress form.standard-form .left-menu #invite-list ul{margin:1%;list-style:none}#buddypress form.standard-form .left-menu #invite-list ul li{margin:0 0 0 1%}#buddypress form.standard-form .main-column{margin-left:190px}#buddypress form.standard-form .main-column ul#friend-list{clear:none;float:left}#buddypress form.standard-form .main-column ul#friend-list h4{clear:none}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 8px 1px}#buddypress form [disabled=disabled]{cursor:default;opacity:.4}.bp-screen-reader-text{position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip:rect(0 0 0 0);border:0;word-wrap:normal!important}#buddypress a.loading,#buddypress input.loading{-webkit-animation:loader-pulsate .5s infinite ease-in-out alternate;-moz-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}}#buddypress a.loading:hover,#buddypress input.loading:hover{color:#777}#buddypress a.disabled,#buddypress button.disabled,#buddypress button.pending,#buddypress div.pending a,#buddypress input[type=submit].disabled,#buddypress input[type=submit].pending,#buddypress input[type=submit][disabled=disabled],#buddypress input[type=button].disabled,#buddypress input[type=button].pending,#buddypress input[type=reset].disabled,#buddypress input[type=reset].pending{border-color:#eee;color:#bbb;cursor:default}#buddypress a.disabled:hover,#buddypress button.disabled:hover,#buddypress button.pending:hover,#buddypress div.pending a:hover,#buddypress input[type=submit]:hover.disabled,#buddypress input[type=submit]:hover.pending,#buddypress input[type=button]:hover.disabled,#buddypress input[type=button]:hover.pending,#buddypress input[type=reset]:hover.disabled,#buddypress input[type=reset]:hover.pending{border-color:#eee;color:#bbb}#buddypress ul#topic-post-list{margin:0;width:auto}#buddypress ul#topic-post-list li{padding:15px;position:relative}#buddypress ul#topic-post-list li.alt{background:#f5f5f5}#buddypress ul#topic-post-list li div.poster-meta{color:#888;margin-bottom:10px}#buddypress ul#topic-post-list li div.post-content{margin-left:54px}#buddypress div.topic-tags{font-size:80%}#buddypress div.admin-links{color:#888;font-size:80%;position:absolute;top:15px;right:25px}#buddypress div#topic-meta{margin:0;padding:5px 19px 30px;position:relative}#buddypress div#topic-meta div.admin-links{right:19px;top:-36px}#buddypress div#topic-meta h3{margin:5px 0}#buddypress div#new-topic-post{display:none;margin:20px 0 0;padding:1px 0 0}#buddypress table.forum,#buddypress table.messages-notices,#buddypress table.notifications,#buddypress table.notifications-settings,#buddypress table.profile-fields,#buddypress table.profile-settings,#buddypress table.wp-profile-fields{width:100%}#buddypress table.forum thead tr,#buddypress table.messages-notices thead tr,#buddypress table.notifications thead tr,#buddypress table.notifications-settings thead tr,#buddypress table.profile-fields thead tr,#buddypress table.profile-settings thead tr,#buddypress table.wp-profile-fields thead tr{background:#eaeaea}#buddypress table#message-threads{clear:both}#buddypress table.profile-fields{margin-bottom:20px}#buddypress table tr td.thread-info p,#buddypress table.profile-fields p{margin:0}#buddypress table.profile-fields:last-child{margin-bottom:0}#buddypress table.profile-fields p:last-child{margin-top:0}#buddypress table.forum tr td,#buddypress table.forum tr th,#buddypress table.messages-notices tr td,#buddypress table.messages-notices tr th,#buddypress table.notifications tr td,#buddypress table.notifications tr th,#buddypress table.notifications-settings tr td,#buddypress table.notifications-settings tr th,#buddypress table.profile-fields tr td,#buddypress table.profile-fields tr th,#buddypress table.profile-settings tr td,#buddypress table.wp-profile-fields tr td,#buddypress table.wp-profile-fields tr th{padding:8px;vertical-align:middle}#buddypress table.forum tr td.label,#buddypress table.messages-notices tr td.label,#buddypress table.notifications tr td.label,#buddypress table.notifications-settings tr td.label,#buddypress table.profile-fields tr td.label,#buddypress table.wp-profile-fields tr td.label{border-right:1px solid #eaeaea;font-weight:700;width:25%}#buddypress #message-threads .thread-info{min-width:40%}#buddypress table tr td.thread-info p.thread-excerpt{color:#888;font-size:80%;margin-top:3px}#buddypress table.forum td{text-align:center}#buddypress table.forum tr.alt td,#buddypress table.messages-notices tr.alt td,#buddypress table.notifications tr.alt td,#buddypress table.notifications-settings tr.alt td,#buddypress table.profile-fields tr.alt td,#buddypress table.profile-settings tr.alt td,#buddypress table.wp-profile-fields tr.alt td{background:#f5f5f5}#buddypress table.notification-settings{margin-bottom:20px;text-align:left}#buddypress #groups-notification-settings{margin-bottom:0}#buddypress table.notification-settings th.title,#buddypress table.profile-settings th.title{width:80%}#buddypress table.notification-settings .no,#buddypress table.notification-settings .yes{text-align:center;width:40px}#buddypress table.forum{margin:0;width:auto;clear:both}#buddypress table.forum tr.sticky td{font-size:110%;background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4}#buddypress table.forum tr.closed td.td-title{padding-left:35px}#buddypress table.forum td p.topic-text{color:#888;font-size:100%}#buddypress table.forum tr>td:first-child,#buddypress table.forum tr>th:first-child{padding-left:15px}#buddypress table.forum tr>td:last-child,#buddypress table.forum tr>th:last-child{padding-right:15px}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster,#buddypress table.forum td.td-title,#buddypress table.forum tr th#th-group,#buddypress table.forum tr th#th-poster,#buddypress table.forum tr th#th-title{text-align:left}#buddypress table.forum tr td.td-title a.topic-title{font-size:110%}#buddypress table.forum td.td-freshness{white-space:nowrap}#buddypress table.forum td.td-freshness span.time-since{font-size:80%;color:#888}#buddypress table.forum td img.avatar{float:none;margin:0 5px -8px 0}#buddypress table.forum td.td-group,#buddypress table.forum td.td-poster{min-width:140px}#buddypress table.forum th#th-title{width:80%}#buddypress table.forum th#th-freshness{width:25%}#buddypress table.forum th#th-postcount{width:15%}#buddypress table.forum p.topic-meta{font-size:80%;margin:5px 0 0}#buddypress .item-body{margin:20px 0}#buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}#buddypress span.user-nicename{color:#777;display:inline-block;font-size:120%;font-weight:700}#buddypress div#message p,#sitewide-notice p{font-weight:400;margin-top:3px;text-decoration:none;background-color:#ffd;border:1px solid #cb2;color:#440}#buddypress #item-header:after{clear:both;content:"";display:table}#buddypress div#item-header div#item-header-content{float:left;margin-left:0}#buddypress div#item-header h2{line-height:120%;margin:0 0 15px}#buddypress div#item-header h2 a{color:#777;text-decoration:none}#buddypress div#item-header img.avatar{float:left;margin:0 15px 19px 0}#buddypress div#item-header h2{margin-bottom:5px}#buddypress div#item-header h2 span.highlight{font-size:60%;font-weight:400;line-height:170%;vertical-align:middle;display:inline-block}#buddypress div#item-header ul h5,#buddypress div#item-header ul hr,#buddypress div#item-header ul span,body.no-js #buddypress div#item-header .js-self-profile-button{display:none}#buddypress div#item-header h2 span.highlight span{background:#a1dcfa;color:#fff;cursor:pointer;font-weight:700;font-size:80%;margin-bottom:2px;padding:1px 4px;position:relative;right:-2px;top:-2px;vertical-align:middle}#buddypress div#item-header div#item-meta{font-size:80%;color:#aaa;overflow:hidden;margin:15px 0 5px;padding-bottom:10px}#buddypress div#item-header div#item-actions{float:right;margin:0 0 15px 15px;text-align:right;width:20%}#buddypress div#item-header div#item-actions h3{margin:0 0 5px}#buddypress div#item-header ul{margin-bottom:15px;overflow:hidden}#buddypress div#item-header ul li{float:right;list-style:none}#buddypress div#item-header ul img.avatar,#buddypress div#item-header ul.avatars img.avatar{height:30px;margin:2px;width:30px}#buddypress div#item-header a.button,#buddypress div#item-header div.generic-button{float:left;margin:10px 10px 0 0}#buddypress div#item-header div#message.info{line-height:80%}#buddypress ul.item-list{border-top:1px solid #eaeaea;width:100%;list-style:none;clear:both;margin:0;padding:0}body.activity-permalink #buddypress ul.item-list,body.activity-permalink #buddypress ul.item-list li.activity-item{border:none}#buddypress ul.item-list li{border-bottom:1px solid #eaeaea;padding:15px 0;margin:0;position:relative;list-style:none}#buddypress ul.single-line li{border:none}#buddypress ul.item-list li img.avatar{float:left;margin:0 10px 0 0}#buddypress ul.item-list li div.item-title,#buddypress ul.item-list li h4{font-weight:400;font-size:90%;margin:0;width:75%}#buddypress ul.item-list li div.item-title span{color:#999;font-size:80%}#buddypress ul.item-list li div.item-desc{color:#888;font-size:80%;margin:10px 0 0 60px;width:50%}#buddypress ul.item-list li.group-no-avatar div.item-desc{margin-left:0}#buddypress ul.item-list li div.action{position:absolute;top:15px;right:0;text-align:right}#buddypress ul.item-list li div.meta{color:#888;font-size:80%;margin-top:10px}#buddypress ul.item-list li h5 span.small{float:right;font-size:80%;font-weight:400}#buddypress div.item-list-tabs{background:0 0;clear:left;overflow:hidden}#buddypress div.item-list-tabs ul{margin:0;padding:0}#buddypress div.item-list-tabs ul li{float:left;margin:0;list-style:none}#buddypress div.item-list-tabs#subnav ul li{margin-top:0}#buddypress div.item-list-tabs ul li.last{float:right;margin:7px 0 0}#buddypress div.item-list-tabs#subnav ul li.last{margin-top:4px}#buddypress div.item-list-tabs ul li.last select{max-width:185px}#buddypress div.item-list-tabs ul li a,#buddypress div.item-list-tabs ul li span{display:block;padding:5px 10px;text-decoration:none}#buddypress div.item-list-tabs ul li a span{background:#eee;border-radius:50%;border:1px solid #ccc;color:#999;display:inline;font-size:70%;margin-left:2px;padding:3px 6px;text-align:center;vertical-align:middle}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background-color:#eee;color:#555;opacity:.8;font-weight:700}#buddypress div.item-list-tabs ul li a:hover span,#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#eee}#buddypress div.item-list-tabs ul li.current a span,#buddypress div.item-list-tabs ul li.selected a span{background-color:#fff}#buddypress div#item-nav ul li.loading a{background-position:88% 50%}#buddypress div.item-list-tabs#object-nav{margin-top:0}#buddypress div.item-list-tabs#subnav{background:0 0;margin:10px 0;overflow:hidden}#buddypress #admins-list li,#buddypress #members-list li,#buddypress #mods-list li{overflow:auto;list-style:none}#buddypress div#message-thread div.message-metadata,.widget.buddypress div.avatar-block{overflow:hidden}#buddypress #item-buttons:empty{display:none}#buddypress #cover-image-container{position:relative}#buddypress #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}#buddypress #item-header-cover-image{padding:0 1em;position:relative;z-index:999}#buddypress table#message-threads tr.unread td{background:#fff9db;border-top:1px solid #ffe8c4;border-bottom:1px solid #ffe8c4;font-weight:700}#buddypress table#message-threads tr.unread td .activity,#buddypress table#message-threads tr.unread td .thread-excerpt,#buddypress table#message-threads tr.unread td.thread-options{font-weight:400}#buddypress li span.unread-count,#buddypress tr.unread span.unread-count{background:#d00;color:#fff;font-weight:700;padding:2px 8px}#buddypress div.item-list-tabs ul li a span.unread-count{padding:1px 6px;color:#fff}#buddypress div#message-thread div.message-box{margin:0;padding:15px}#buddypress div#message-thread div.alt{background:#f4f4f4}#buddypress div#message-thread p#message-recipients{margin:10px 0 20px}#buddypress div#message-thread img.avatar{float:left;margin:0 10px 0 0;vertical-align:middle}#buddypress div#message-thread strong{font-size:100%;margin:0}#buddypress div#message-thread strong a{text-decoration:none}#buddypress div#message-thread strong span.activity{margin-top:4px}#buddypress div#message-thread div.message-content{margin-left:45px}#buddypress div#message-thread div.message-options{text-align:right}#buddypress #message-threads img.avatar{max-width:none}#buddypress div.message-search{float:right;margin:0 20px}.message-metadata{position:relative}.message-star-actions{position:absolute;right:0;top:0}#buddypress a.message-action-star,#buddypress a.message-action-unstar{border-bottom:0;text-decoration:none;outline:0}a.message-action-star{opacity:.7}a.message-action-star:hover{opacity:1}.message-action-star span.icon:before,.message-action-unstar span.icon:before{font-family:dashicons;font-size:18px}.message-action-star span.icon:before{color:#aaa;content:"\f154"}.message-action-unstar span.icon:before{color:#FCDD77;content:"\f155"}#buddypress div.profile h4{margin-bottom:auto;margin-top:15px}#buddypress #profile-edit-form ul.button-nav{margin-top:15px}body.no-js #buddypress .field-visibility-settings-close,body.no-js #buddypress .field-visibility-settings-toggle{display:none}#buddypress .field-visibility-settings{display:none;margin-top:10px}body.no-js #buddypress .field-visibility-settings{display:block}#buddypress .current-visibility-level{font-weight:700;font-style:normal}#buddypress .field-visibility-settings,#buddypress .field-visibility-settings-notoggle,#buddypress .field-visibility-settings-toggle{color:#888}#buddypress .field-visibility-settings a,#buddypress .field-visibility-settings-toggle a{font-size:80%}body.register #buddypress div.page ul{list-style:none}#buddypress .standard-form .field-visibility-settings label{margin:0;font-weight:400}#buddypress .field-visibility-settings legend,#buddypress .field-visibility-settings-toggle{font-style:italic}#buddypress .field-visibility-settings .radio{list-style:none;margin-bottom:0}#buddypress .field-visibility select{margin:0}#buddypress .wp-editor-container{border:1px solid #dedede}#buddypress .html-active button.switch-html,#buddypress .tmce-active button.switch-tmce{border-bottom-color:transparent;border-bottom-left-radius:0;border-bottom-right-radius:0;background:#f5f5f5}#buddypress .standard-form .wp-editor-container textarea{width:100%;padding-top:0;padding-bottom:0}.widget.buddypress div.item-avatar img.avatar{float:left;margin:0 10px 15px 0}.widget.buddypress span.activity{display:inline-block;font-size:small;opacity:.8;padding:0}.widget.buddypress div.item-options{font-size:90%;margin:0 0 1em;padding:1em 0}.widget.buddypress div.item{margin:0 0 1em}.widget.buddypress div.item-content,.widget.buddypress div.item-meta{font-size:11px;margin-left:50px}.widget.buddypress ul.item-list img.avatar{height:40px;margin-right:10px;width:40px}.widget.buddypress div.item-avatar img{height:40px;margin:1px;width:40px}.widget.buddypress #bp-login-widget-form label{display:block;margin:1rem 0 .5rem}.widget.buddypress #bp-login-widget-form #bp-login-widget-submit{margin-right:10px}.widget.buddypress .bp-login-widget-user-avatar{float:left}.bp-login-widget-user-avatar img.avatar{height:40px;width:40px}.widget.buddypress .bp-login-widget-user-links>div{padding-left:60px;margin-bottom:.5rem}.widget.buddypress .bp-login-widget-user-links>div.bp-login-widget-user-link a{font-weight:700}.widget.buddypress #friends-list,.widget.buddypress #groups-list,.widget.buddypress #members-list{margin-left:0;padding-left:0}.widget.buddypress #friends-list li,.widget.buddypress #groups-list li,.widget.buddypress #members-list li{clear:both;list-style-type:none}@media only screen and (max-width:480px){#buddypress div.dir-search{float:right;margin-top:-50px;text-align:right}#buddypress div.dir-search input[type=text]{margin-bottom:1em;width:50%}a.bp-title-button{margin-left:10px}#buddypress form.standard-form .main-column div.action{position:relative;margin-bottom:1em}#buddypress form.standard-form .main-column ul#friend-list h4{width:100%}}@media only screen and (max-width:320px){#buddypress div.dir-search,#buddypress ul.item-list li div.action{margin-top:0;text-align:left;clear:left;float:left}#buddypress li#groups-order-select{clear:left;float:left}#buddypress ul.item-list li div.action{margin-left:70px;position:relative;top:0;right:0}#buddypress ul.item-list li div.item-desc{clear:left;float:left;margin:10px 0 0;width:auto}#buddypress li div.item{margin-left:70px;width:auto}#buddypress ul.item-list li div.meta{margin-top:0}#buddypress .item-desc p{margin:0 0 10px}#buddypress div.pagination .pag-count{margin-left:0}}@media only screen and (max-width:240px){#buddypress div.dir-search{float:left;margin:0}#buddypress div.dir-search input[type=text]{width:50%}#buddypress li#groups-order-select{float:left}#buddypress ul.item-list li img.avatar{width:30px;height:auto}#buddypress li div.item,#buddypress ul.item-list li div.action{margin-left:45px}h1 a.bp-title-button{clear:left;float:left;margin:10px 0 20px}}
|
@@ -457,10 +457,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
457 |
line-height: 1.4;
|
458 |
}
|
459 |
|
460 |
-
#buddypress form#whats-new-form textarea {
|
461 |
-
width: 100%;
|
462 |
-
}
|
463 |
-
|
464 |
@media screen and (max-width: 30em) {
|
465 |
#buddypress form#whats-new-form #whats-new-post-in-box select {
|
466 |
font-size: 14px;
|
@@ -493,11 +489,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
493 |
}
|
494 |
}
|
495 |
|
496 |
-
#buddypress form#whats-new-form #whats-new-options[style] {
|
497 |
-
min-height: 6rem;
|
498 |
-
overflow: visible;
|
499 |
-
}
|
500 |
-
|
501 |
#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box {
|
502 |
border: 1px solid rgba(153, 153, 153, 0.5);
|
503 |
float: right;
|
@@ -969,7 +960,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
969 |
.bp-user #buddypress #item-header #item-header-avatar img.avatar,
|
970 |
.bp-user #buddypress #item-header #item-header-avatar a {
|
971 |
float: right;
|
972 |
-
width: 100%;
|
973 |
}
|
974 |
.bp-user #buddypress #item-header #item-header-content {
|
975 |
float: left;
|
457 |
line-height: 1.4;
|
458 |
}
|
459 |
|
|
|
|
|
|
|
|
|
460 |
@media screen and (max-width: 30em) {
|
461 |
#buddypress form#whats-new-form #whats-new-post-in-box select {
|
462 |
font-size: 14px;
|
489 |
}
|
490 |
}
|
491 |
|
|
|
|
|
|
|
|
|
|
|
492 |
#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box {
|
493 |
border: 1px solid rgba(153, 153, 153, 0.5);
|
494 |
float: right;
|
960 |
.bp-user #buddypress #item-header #item-header-avatar img.avatar,
|
961 |
.bp-user #buddypress #item-header #item-header-avatar a {
|
962 |
float: right;
|
|
|
963 |
}
|
964 |
.bp-user #buddypress #item-header #item-header-content {
|
965 |
float: left;
|
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before,.buddypress div.clear{display:none}#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress main{padding-top:4%}@media screen and (min-width:59.6875em){.buddypress main{padding-top:0}}.buddypress main article{margin:0 4%;padding-top:8.3333%}@media screen and (min-width:59.6875em){.buddypress main article{margin:0 1px 0 0}}@media screen and (min-width:87.6875em){.buddypress main article{margin:0 8.3333% 0 4.3333%}}.buddypress main article .entry-content,.buddypress main article .entry-header{padding:0 3rem 3rem}.buddypress main article #buddypress{margin-bottom:40px}.buddypress .site-footer{margin:0 4%}@media screen and (min-width:59.6875em){.buddypress .site-footer{margin:0 35.2941% 0 0;width:61.8235%}}.buddypress #buddypress #latest-update a,.buddypress #buddypress .activity-comments a,.buddypress #buddypress .activity-header a,.buddypress #buddypress .activity-inner a,.buddypress #buddypress .avatar-nav-items a,.buddypress #buddypress .field-visibility-settings-toggle a,.buddypress #buddypress .item-list-tabs a,.buddypress #buddypress .item-title a,.buddypress #buddypress .load-more a,.buddypress #buddypress .pagination-links a,.buddypress #buddypress .pagination-links span,.buddypress #buddypress table a{border-bottom:0}#buddypress div.item-list-tabs ul{background-color:#f7f7f7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:5px 0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 0 5px 5px;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:1.4rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:right}#buddypress div#subnav.item-list-tabs ul li.last{text-align:left}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}@media screen and (min-width:55em){.bp-user #buddypress,.single-item.groups #buddypress{background:#f7f7f7}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}#buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 20px 0 0;width:auto}#buddypress #item-body #subnav{margin:0 -20px 0 0}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Noto Sans",sans-serif}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}}#buddypress ul.item-list li .item{margin-right:25%}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:70%}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:10%;margin-right:0;position:relative;width:55%}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-20px;margin-right:0;padding:20px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}#buddypress form#whats-new-form textarea{width:100%}@media screen and (max-width:30em){#buddypress form#whats-new-form #whats-new-post-in-box select{font-size:14px;font-size:1.4rem;max-width:120px}}@media screen and (max-width:38.75em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 40px;padding:10px 0 0}#buddypress form#whats-new-form #whats-new-content #whats-new-submit{float:none}#buddypress form#whats-new-form #whats-new-content #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-options #whats-new-post-in-box{order:1}}#buddypress form#whats-new-form #whats-new-options[style]{min-height:6rem;overflow:visible}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(153,153,153,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;outline:0;padding-right:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-submit{float:left}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:1.4rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.6rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:13px;font-size:1.3rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin:0 0 5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress{background:0 0}.activity-permalink #buddypress #activity-stream li.activity-item{padding:20px 0}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.6rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:2rem}}.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .activity-comments{margin:10px 0 0}#buddypress #activity-stream .activity-comments.has-comments{border-right:1px solid #eaeaea}#buddypress #activity-stream .activity-comments .ac-form{padding:20px 0 0}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments>ul{margin-right:70px}}#buddypress #activity-stream .activity-comments>ul ul{margin-right:1%;padding-right:0}@media screen and (min-width:30em){#buddypress #activity-stream .activity-comments>ul ul{margin-right:1%;padding-right:1em}}#buddypress #activity-stream .activity-comments>ul ul li{border-right:1px solid #eaeaea;border-top:0;padding-right:.2em}#buddypress #activity-stream .activity-comments>ul .acomment-meta{border-bottom:1px solid #eaeaea;font-style:italic}@media screen and (max-width:38.75em){#buddypress #activity-stream .activity-comments>ul .acomment-avatar{display:block;text-align:center}#buddypress #activity-stream .activity-comments>ul .acomment-avatar a,#buddypress #activity-stream .activity-comments>ul .acomment-avatar img.avatar{display:inline;float:none}#buddypress #activity-stream .activity-comments>ul .acomment-content,#buddypress #activity-stream .activity-comments>ul .acomment-meta,#buddypress #activity-stream .activity-comments>ul .acomment-options{margin:5px}#buddypress #activity-stream .activity-comments>ul .acomment-content{padding:0 10px}}#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:none}#buddypress #activity-stream .activity-comments .ac-reply-content{margin-right:0;padding-right:0}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:block}#buddypress #activity-stream .activity-comments .ac-reply-content{overflow:hidden}}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(51,51,51,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:1.2rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(153,153,153,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}@media screen and (max-width:38.75em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{clear:none;float:left;width:50%}}.single-item.groups #buddypress div#item-header div#item-actions h3{background:#555;color:#fff;font-size:14px;font-size:1.4rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:16px;font-size:1.6rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:right;width:20%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{float:right;width:100%}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:5%;width:69%}}#item-body h1,#item-body h2,#item-body h3,#item-body h4,#item-body h5,#item-body h6{margin:1em 0}#item-body h1 a,#item-body h2 a,#item-body h3 a,#item-body h4 a,#item-body h5 a,#item-body h6 a{border-bottom:0}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups #group-settings-form #request-list h4{background:0 0;color:inherit}.groups.edit-details #group-settings-form label{background:#555;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;color:#fff;display:inline-block;margin-bottom:0;padding:.2em;width:80%}@media screen and (min-width:38.75em){.groups.edit-details #group-settings-form label{width:60%}}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:1.4rem;width:auto}.groups.group-settings #create-group-form div.radio label,.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #create-group-form div.radio ul,.groups.group-settings #group-settings-form div.radio ul{color:rgba(51,51,51,.6);font-size:14px;font-size:1.4rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.group-members #buddypress #members-group-list li h5 a,.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}@media screen and (max-width:30em){.groups.group-members #buddypress #members-group-list li>a{border-bottom:0;display:block;margin-bottom:10px;text-align:center}.groups.group-members #buddypress #members-group-list li>a img.avatar{display:inline;float:none}}.groups.group-members #buddypress #members-group-list li h5{display:inline-block;font-size:14px;font-size:1.4rem;margin:0}@media screen and (min-width:59.6875em){.groups.group-members #buddypress #members-group-list li h5{font-size:16px;font-size:1.6rem}}.groups.group-members #buddypress #members-group-list li span.activity{font-size:12px;font-size:1.2rem}.groups.group-members #buddypress #members-group-list li .action{top:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.groups.group-invites #item-body .item-list .action{margin-bottom:0}@media screen and (min-width:46.25em){.groups.group-invites #buddypress #item-body #message{margin-top:0}}@media screen and (min-width:55em){.groups.group-invites #buddypress #send-invite-form{margin-top:0}}@media screen and (max-width:46.25em){.groups.group-invites #item-body .left-menu{float:none;margin:10px 0}.groups.group-invites #item-body .left-menu #invite-list{height:auto;width:auto}.groups.group-invites #item-body .main-column{margin-right:0}.groups.group-invites #item-body .submit input{display:inline-block;width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:1.4rem}.bp-user #buddypress table td{font-size:12px;font-size:1.2rem}@media screen and (min-width:46.25em){.bp-user #buddypress table th{font-size:16px;font-size:1.6rem}.bp-user #buddypress table td{font-size:14px;font-size:1.4rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.8rem}.bp-user #buddypress table td{font-size:16px;font-size:1.6rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:right;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:50%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:1.4rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:60%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:left;font-family:"Noto Serif",serif;line-height:1.5;margin-top:10px;width:100%}.bp-user #buddypress .messages-options-nav input[disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled]:hover{background:0 0}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{margin-top:0;width:38%}}.bp-user #buddypress .profile .bp-widget h4{background:#6e6e6e;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.8rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:1.4rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6e6e6e;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6e6e6e}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#b7b7b7;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td,.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:2.6em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:1.2rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:1.2rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:1.1rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d1d1d1}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress .acfb-holder li.friend-tab{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;margin-left:.5em;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td{width:100%}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6e6e6e;color:#fff;display:block;margin-bottom:.4em;padding-right:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:#b7b7b7;line-height:1;text-align:left}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:2rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings th.title{width:75%}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#buddypress .group-create-form input[type=text],#buddypress .group-create-form textarea,#buddypress .standard-form input[type=text],#buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(153,153,153,.3)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress select{border:1px solid rgba(153,153,153,.5)}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 5px 1px}#buddypress .group-create-form li,#buddypress .standard-form li{float:none}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(153,153,153,.4);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{font-size:14px;font-size:1.4rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:80%;border-left:1px solid rgba(153,153,153,.4);padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=text],#buddypress .dir-search form input[type=submit],#buddypress .message-search form input[type=text],#buddypress .message-search form input[type=submit]{font-size:16px;font-size:1.6rem}}#buddypress table{font-size:14px;font-size:1.4rem;margin:20px 0}#buddypress table tr th{background:#6e6e6e;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress #item-body div#message{margin-top:20px}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1.6rem}#buddypress #item-body div#message{margin-left:20px}}#buddypress div#message p{font-size:18px;font-size:1.8rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
1 |
+
@charset "UTF-8";#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before,.buddypress div.clear{display:none}#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress main{padding-top:4%}@media screen and (min-width:59.6875em){.buddypress main{padding-top:0}}.buddypress main article{margin:0 4%;padding-top:8.3333%}@media screen and (min-width:59.6875em){.buddypress main article{margin:0 1px 0 0}}@media screen and (min-width:87.6875em){.buddypress main article{margin:0 8.3333% 0 4.3333%}}.buddypress main article .entry-content,.buddypress main article .entry-header{padding:0 3rem 3rem}.buddypress main article #buddypress{margin-bottom:40px}.buddypress .site-footer{margin:0 4%}@media screen and (min-width:59.6875em){.buddypress .site-footer{margin:0 35.2941% 0 0;width:61.8235%}}.buddypress #buddypress #latest-update a,.buddypress #buddypress .activity-comments a,.buddypress #buddypress .activity-header a,.buddypress #buddypress .activity-inner a,.buddypress #buddypress .avatar-nav-items a,.buddypress #buddypress .field-visibility-settings-toggle a,.buddypress #buddypress .item-list-tabs a,.buddypress #buddypress .item-title a,.buddypress #buddypress .load-more a,.buddypress #buddypress .pagination-links a,.buddypress #buddypress .pagination-links span,.buddypress #buddypress table a{border-bottom:0}#buddypress div.item-list-tabs ul{background-color:#f7f7f7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:5px 0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 0 5px 5px;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:1.4rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:right}#buddypress div#subnav.item-list-tabs ul li.last{text-align:left}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}@media screen and (min-width:55em){.bp-user #buddypress,.single-item.groups #buddypress{background:#f7f7f7}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}#buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 20px 0 0;width:auto}#buddypress #item-body #subnav{margin:0 -20px 0 0}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Noto Sans",sans-serif}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}}#buddypress ul.item-list li .item{margin-right:25%}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:70%}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:10%;margin-right:0;position:relative;width:55%}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-20px;margin-right:0;padding:20px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:30em){#buddypress form#whats-new-form #whats-new-post-in-box select{font-size:14px;font-size:1.4rem;max-width:120px}}@media screen and (max-width:38.75em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 40px;padding:10px 0 0}#buddypress form#whats-new-form #whats-new-content #whats-new-submit{float:none}#buddypress form#whats-new-form #whats-new-content #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-options #whats-new-post-in-box{order:1}}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(153,153,153,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;outline:0;padding-right:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-submit{float:left}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:1.4rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.6rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:13px;font-size:1.3rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin:0 0 5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress{background:0 0}.activity-permalink #buddypress #activity-stream li.activity-item{padding:20px 0}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.6rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:2rem}}.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .activity-comments{margin:10px 0 0}#buddypress #activity-stream .activity-comments.has-comments{border-right:1px solid #eaeaea}#buddypress #activity-stream .activity-comments .ac-form{padding:20px 0 0}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments>ul{margin-right:70px}}#buddypress #activity-stream .activity-comments>ul ul{margin-right:1%;padding-right:0}@media screen and (min-width:30em){#buddypress #activity-stream .activity-comments>ul ul{margin-right:1%;padding-right:1em}}#buddypress #activity-stream .activity-comments>ul ul li{border-right:1px solid #eaeaea;border-top:0;padding-right:.2em}#buddypress #activity-stream .activity-comments>ul .acomment-meta{border-bottom:1px solid #eaeaea;font-style:italic}@media screen and (max-width:38.75em){#buddypress #activity-stream .activity-comments>ul .acomment-avatar{display:block;text-align:center}#buddypress #activity-stream .activity-comments>ul .acomment-avatar a,#buddypress #activity-stream .activity-comments>ul .acomment-avatar img.avatar{display:inline;float:none}#buddypress #activity-stream .activity-comments>ul .acomment-content,#buddypress #activity-stream .activity-comments>ul .acomment-meta,#buddypress #activity-stream .activity-comments>ul .acomment-options{margin:5px}#buddypress #activity-stream .activity-comments>ul .acomment-content{padding:0 10px}.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}}#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:none}#buddypress #activity-stream .activity-comments .ac-reply-content{margin-right:0;padding-right:0}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:block}#buddypress #activity-stream .activity-comments .ac-reply-content{overflow:hidden}}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(51,51,51,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:1.2rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(153,153,153,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{clear:none;float:left;width:50%}}.single-item.groups #buddypress div#item-header div#item-actions h3{background:#555;color:#fff;font-size:14px;font-size:1.4rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:16px;font-size:1.6rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:right;width:20%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{float:right}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:5%;width:69%}}#item-body h1,#item-body h2,#item-body h3,#item-body h4,#item-body h5,#item-body h6{margin:1em 0}#item-body h1 a,#item-body h2 a,#item-body h3 a,#item-body h4 a,#item-body h5 a,#item-body h6 a{border-bottom:0}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups #group-settings-form #request-list h4{background:0 0;color:inherit}.groups.edit-details #group-settings-form label{background:#555;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;color:#fff;display:inline-block;margin-bottom:0;padding:.2em;width:80%}@media screen and (min-width:38.75em){.groups.edit-details #group-settings-form label{width:60%}}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:1.4rem;width:auto}.groups.group-settings #create-group-form div.radio label,.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #create-group-form div.radio ul,.groups.group-settings #group-settings-form div.radio ul{color:rgba(51,51,51,.6);font-size:14px;font-size:1.4rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.group-members #buddypress #members-group-list li h5 a,.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}@media screen and (max-width:30em){.groups.group-members #buddypress #members-group-list li>a{border-bottom:0;display:block;margin-bottom:10px;text-align:center}.groups.group-members #buddypress #members-group-list li>a img.avatar{display:inline;float:none}}.groups.group-members #buddypress #members-group-list li h5{display:inline-block;font-size:14px;font-size:1.4rem;margin:0}@media screen and (min-width:59.6875em){.groups.group-members #buddypress #members-group-list li h5{font-size:16px;font-size:1.6rem}}.groups.group-members #buddypress #members-group-list li span.activity{font-size:12px;font-size:1.2rem}.groups.group-members #buddypress #members-group-list li .action{top:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.groups.group-invites #item-body .item-list .action{margin-bottom:0}@media screen and (min-width:46.25em){.groups.group-invites #buddypress #item-body #message{margin-top:0}}@media screen and (min-width:55em){.groups.group-invites #buddypress #send-invite-form{margin-top:0}}@media screen and (max-width:46.25em){.groups.group-invites #item-body .left-menu{float:none;margin:10px 0}.groups.group-invites #item-body .left-menu #invite-list{height:auto;width:auto}.groups.group-invites #item-body .main-column{margin-right:0}.groups.group-invites #item-body .submit input{display:inline-block;width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:1.4rem}.bp-user #buddypress table td{font-size:12px;font-size:1.2rem}@media screen and (min-width:46.25em){.bp-user #buddypress table th{font-size:16px;font-size:1.6rem}.bp-user #buddypress table td{font-size:14px;font-size:1.4rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.8rem}.bp-user #buddypress table td{font-size:16px;font-size:1.6rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:right;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:50%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:1.4rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:60%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:left;font-family:"Noto Serif",serif;line-height:1.5;margin-top:10px;width:100%}.bp-user #buddypress .messages-options-nav input[disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled]:hover{background:0 0}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{margin-top:0;width:38%}}.bp-user #buddypress .profile .bp-widget h4{background:#6e6e6e;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.8rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:1.4rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6e6e6e;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6e6e6e}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#b7b7b7;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:2.6em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:1.2rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:1.2rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:1.1rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d1d1d1}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td,.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress .acfb-holder li.friend-tab{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;margin-left:.5em;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td{width:100%}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6e6e6e;color:#fff;display:block;margin-bottom:.4em;padding-right:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:#b7b7b7;line-height:1;text-align:left}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:2rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings th.title{width:75%}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#buddypress .group-create-form input[type=text],#buddypress .group-create-form textarea,#buddypress .standard-form input[type=text],#buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(153,153,153,.3)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress select{border:1px solid rgba(153,153,153,.5)}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 5px 1px}#buddypress .group-create-form li,#buddypress .standard-form li{float:none}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(153,153,153,.4);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{font-size:14px;font-size:1.4rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:80%;border-left:1px solid rgba(153,153,153,.4);padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=text],#buddypress .dir-search form input[type=submit],#buddypress .message-search form input[type=text],#buddypress .message-search form input[type=submit]{font-size:16px;font-size:1.6rem}}#buddypress table{font-size:14px;font-size:1.4rem;margin:20px 0}#buddypress table tr th{background:#6e6e6e;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress #item-body div#message{margin-top:20px}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1.6rem}#buddypress #item-body div#message{margin-left:20px}}#buddypress div#message p{font-size:18px;font-size:1.8rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
@@ -457,10 +457,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
457 |
line-height: 1.4;
|
458 |
}
|
459 |
|
460 |
-
#buddypress form#whats-new-form textarea {
|
461 |
-
width: 100%;
|
462 |
-
}
|
463 |
-
|
464 |
@media screen and (max-width: 30em) {
|
465 |
#buddypress form#whats-new-form #whats-new-post-in-box select {
|
466 |
font-size: 14px;
|
@@ -493,11 +489,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
493 |
}
|
494 |
}
|
495 |
|
496 |
-
#buddypress form#whats-new-form #whats-new-options[style] {
|
497 |
-
min-height: 6rem;
|
498 |
-
overflow: visible;
|
499 |
-
}
|
500 |
-
|
501 |
#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box {
|
502 |
border: 1px solid rgba(153, 153, 153, 0.5);
|
503 |
float: left;
|
@@ -969,7 +960,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
969 |
.bp-user #buddypress #item-header #item-header-avatar img.avatar,
|
970 |
.bp-user #buddypress #item-header #item-header-avatar a {
|
971 |
float: left;
|
972 |
-
width: 100%;
|
973 |
}
|
974 |
.bp-user #buddypress #item-header #item-header-content {
|
975 |
float: right;
|
457 |
line-height: 1.4;
|
458 |
}
|
459 |
|
|
|
|
|
|
|
|
|
460 |
@media screen and (max-width: 30em) {
|
461 |
#buddypress form#whats-new-form #whats-new-post-in-box select {
|
462 |
font-size: 14px;
|
489 |
}
|
490 |
}
|
491 |
|
|
|
|
|
|
|
|
|
|
|
492 |
#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box {
|
493 |
border: 1px solid rgba(153, 153, 153, 0.5);
|
494 |
float: left;
|
960 |
.bp-user #buddypress #item-header #item-header-avatar img.avatar,
|
961 |
.bp-user #buddypress #item-header #item-header-avatar a {
|
962 |
float: left;
|
|
|
963 |
}
|
964 |
.bp-user #buddypress #item-header #item-header-content {
|
965 |
float: right;
|
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before,.buddypress div.clear{display:none}#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress main{padding-top:4%}@media screen and (min-width:59.6875em){.buddypress main{padding-top:0}}.buddypress main article{margin:0 4%;padding-top:8.3333%}@media screen and (min-width:59.6875em){.buddypress main article{margin:0 0 0 1px}}@media screen and (min-width:87.6875em){.buddypress main article{margin:0 4.3333% 0 8.3333%}}.buddypress main article .entry-content,.buddypress main article .entry-header{padding:0 3rem 3rem}.buddypress main article #buddypress{margin-bottom:40px}.buddypress .site-footer{margin:0 4%}@media screen and (min-width:59.6875em){.buddypress .site-footer{margin:0 0 0 35.2941%;width:61.8235%}}.buddypress #buddypress #latest-update a,.buddypress #buddypress .activity-comments a,.buddypress #buddypress .activity-header a,.buddypress #buddypress .activity-inner a,.buddypress #buddypress .avatar-nav-items a,.buddypress #buddypress .field-visibility-settings-toggle a,.buddypress #buddypress .item-list-tabs a,.buddypress #buddypress .item-title a,.buddypress #buddypress .load-more a,.buddypress #buddypress .pagination-links a,.buddypress #buddypress .pagination-links span,.buddypress #buddypress table a{border-bottom:0}#buddypress div.item-list-tabs ul{background-color:#f7f7f7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:5px 0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 5px 5px 0;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:1.4rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:left}#buddypress div#subnav.item-list-tabs ul li.last{text-align:right}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}@media screen and (min-width:55em){.bp-user #buddypress,.single-item.groups #buddypress{background:#f7f7f7}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}#buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 20px;width:auto}#buddypress #item-body #subnav{margin:0 0 0 -20px}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Noto Sans",sans-serif}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}}#buddypress ul.item-list li .item{margin-left:25%}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:70%}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:10%;margin-left:0;position:relative;width:55%}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-20px;margin-left:0;padding:20px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}#buddypress form#whats-new-form textarea{width:100%}@media screen and (max-width:30em){#buddypress form#whats-new-form #whats-new-post-in-box select{font-size:14px;font-size:1.4rem;max-width:120px}}@media screen and (max-width:38.75em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 40px;padding:10px 0 0}#buddypress form#whats-new-form #whats-new-content #whats-new-submit{float:none}#buddypress form#whats-new-form #whats-new-content #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-options #whats-new-post-in-box{order:1}}#buddypress form#whats-new-form #whats-new-options[style]{min-height:6rem;overflow:visible}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(153,153,153,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;outline:0;padding-left:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-submit{float:right}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:1.4rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.6rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:13px;font-size:1.3rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin:0 0 5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress{background:0 0}.activity-permalink #buddypress #activity-stream li.activity-item{padding:20px 0}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.6rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:2rem}}.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .activity-comments{margin:10px 0 0}#buddypress #activity-stream .activity-comments.has-comments{border-left:1px solid #eaeaea}#buddypress #activity-stream .activity-comments .ac-form{padding:20px 0 0}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments>ul{margin-left:70px}}#buddypress #activity-stream .activity-comments>ul ul{margin-left:1%;padding-left:0}@media screen and (min-width:30em){#buddypress #activity-stream .activity-comments>ul ul{margin-left:1%;padding-left:1em}}#buddypress #activity-stream .activity-comments>ul ul li{border-left:1px solid #eaeaea;border-top:0;padding-left:.2em}#buddypress #activity-stream .activity-comments>ul .acomment-meta{border-bottom:1px solid #eaeaea;font-style:italic}@media screen and (max-width:38.75em){#buddypress #activity-stream .activity-comments>ul .acomment-avatar{display:block;text-align:center}#buddypress #activity-stream .activity-comments>ul .acomment-avatar a,#buddypress #activity-stream .activity-comments>ul .acomment-avatar img.avatar{display:inline;float:none}#buddypress #activity-stream .activity-comments>ul .acomment-content,#buddypress #activity-stream .activity-comments>ul .acomment-meta,#buddypress #activity-stream .activity-comments>ul .acomment-options{margin:5px}#buddypress #activity-stream .activity-comments>ul .acomment-content{padding:0 10px}}#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:none}#buddypress #activity-stream .activity-comments .ac-reply-content{margin-left:0;padding-left:0}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:block}#buddypress #activity-stream .activity-comments .ac-reply-content{overflow:hidden}}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(51,51,51,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:1.2rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(153,153,153,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}@media screen and (max-width:38.75em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{clear:none;float:right;width:50%}}.single-item.groups #buddypress div#item-header div#item-actions h3{background:#555;color:#fff;font-size:14px;font-size:1.4rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:16px;font-size:1.6rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:left;width:20%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{float:left;width:100%}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:5%;width:69%}}#item-body h1,#item-body h2,#item-body h3,#item-body h4,#item-body h5,#item-body h6{margin:1em 0}#item-body h1 a,#item-body h2 a,#item-body h3 a,#item-body h4 a,#item-body h5 a,#item-body h6 a{border-bottom:0}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups #group-settings-form #request-list h4{background:0 0;color:inherit}.groups.edit-details #group-settings-form label{background:#555;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;color:#fff;display:inline-block;margin-bottom:0;padding:.2em;width:80%}@media screen and (min-width:38.75em){.groups.edit-details #group-settings-form label{width:60%}}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:1.4rem;width:auto}.groups.group-settings #create-group-form div.radio label,.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #create-group-form div.radio ul,.groups.group-settings #group-settings-form div.radio ul{color:rgba(51,51,51,.6);font-size:14px;font-size:1.4rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.group-members #buddypress #members-group-list li h5 a,.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}@media screen and (max-width:30em){.groups.group-members #buddypress #members-group-list li>a{border-bottom:0;display:block;margin-bottom:10px;text-align:center}.groups.group-members #buddypress #members-group-list li>a img.avatar{display:inline;float:none}}.groups.group-members #buddypress #members-group-list li h5{display:inline-block;font-size:14px;font-size:1.4rem;margin:0}@media screen and (min-width:59.6875em){.groups.group-members #buddypress #members-group-list li h5{font-size:16px;font-size:1.6rem}}.groups.group-members #buddypress #members-group-list li span.activity{font-size:12px;font-size:1.2rem}.groups.group-members #buddypress #members-group-list li .action{top:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.groups.group-invites #item-body .item-list .action{margin-bottom:0}@media screen and (min-width:46.25em){.groups.group-invites #buddypress #item-body #message{margin-top:0}}@media screen and (min-width:55em){.groups.group-invites #buddypress #send-invite-form{margin-top:0}}@media screen and (max-width:46.25em){.groups.group-invites #item-body .left-menu{float:none;margin:10px 0}.groups.group-invites #item-body .left-menu #invite-list{height:auto;width:auto}.groups.group-invites #item-body .main-column{margin-left:0}.groups.group-invites #item-body .submit input{display:inline-block;width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:1.4rem}.bp-user #buddypress table td{font-size:12px;font-size:1.2rem}@media screen and (min-width:46.25em){.bp-user #buddypress table th{font-size:16px;font-size:1.6rem}.bp-user #buddypress table td{font-size:14px;font-size:1.4rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.8rem}.bp-user #buddypress table td{font-size:16px;font-size:1.6rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:left;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:50%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:1.4rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:60%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:right;font-family:"Noto Serif",serif;line-height:1.5;margin-top:10px;width:100%}.bp-user #buddypress .messages-options-nav input[disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled]:hover{background:0 0}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{margin-top:0;width:38%}}.bp-user #buddypress .profile .bp-widget h4{background:#6e6e6e;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.8rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:1.4rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6e6e6e;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6e6e6e}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#b7b7b7;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td,.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:2.6em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:1.2rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:1.2rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:1.1rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d1d1d1}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress .acfb-holder li.friend-tab{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;margin-right:.5em;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td{width:100%}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6e6e6e;color:#fff;display:block;margin-bottom:.4em;padding-left:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:#b7b7b7;line-height:1;text-align:right}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:2rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings th.title{width:75%}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#buddypress .group-create-form input[type=text],#buddypress .group-create-form textarea,#buddypress .standard-form input[type=text],#buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(153,153,153,.3)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress select{border:1px solid rgba(153,153,153,.5)}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 5px 1px}#buddypress .group-create-form li,#buddypress .standard-form li{float:none}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(153,153,153,.4);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{font-size:14px;font-size:1.4rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:80%;border-right:1px solid rgba(153,153,153,.4);padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=text],#buddypress .dir-search form input[type=submit],#buddypress .message-search form input[type=text],#buddypress .message-search form input[type=submit]{font-size:16px;font-size:1.6rem}}#buddypress table{font-size:14px;font-size:1.4rem;margin:20px 0}#buddypress table tr th{background:#6e6e6e;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress #item-body div#message{margin-top:20px}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1.6rem}#buddypress #item-body div#message{margin-right:20px}}#buddypress div#message p{font-size:18px;font-size:1.8rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
1 |
+
@charset "UTF-8";#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before,.buddypress div.clear{display:none}#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress main{padding-top:4%}@media screen and (min-width:59.6875em){.buddypress main{padding-top:0}}.buddypress main article{margin:0 4%;padding-top:8.3333%}@media screen and (min-width:59.6875em){.buddypress main article{margin:0 0 0 1px}}@media screen and (min-width:87.6875em){.buddypress main article{margin:0 4.3333% 0 8.3333%}}.buddypress main article .entry-content,.buddypress main article .entry-header{padding:0 3rem 3rem}.buddypress main article #buddypress{margin-bottom:40px}.buddypress .site-footer{margin:0 4%}@media screen and (min-width:59.6875em){.buddypress .site-footer{margin:0 0 0 35.2941%;width:61.8235%}}.buddypress #buddypress #latest-update a,.buddypress #buddypress .activity-comments a,.buddypress #buddypress .activity-header a,.buddypress #buddypress .activity-inner a,.buddypress #buddypress .avatar-nav-items a,.buddypress #buddypress .field-visibility-settings-toggle a,.buddypress #buddypress .item-list-tabs a,.buddypress #buddypress .item-title a,.buddypress #buddypress .load-more a,.buddypress #buddypress .pagination-links a,.buddypress #buddypress .pagination-links span,.buddypress #buddypress table a{border-bottom:0}#buddypress div.item-list-tabs ul{background-color:#f7f7f7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:5px 0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 5px 5px 0;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:1.4rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:left}#buddypress div#subnav.item-list-tabs ul li.last{text-align:right}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}@media screen and (min-width:55em){.bp-user #buddypress,.single-item.groups #buddypress{background:#f7f7f7}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}#buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 20px;width:auto}#buddypress #item-body #subnav{margin:0 0 0 -20px}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Noto Sans",sans-serif}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}}#buddypress ul.item-list li .item{margin-left:25%}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:70%}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:10%;margin-left:0;position:relative;width:55%}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-20px;margin-left:0;padding:20px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:30em){#buddypress form#whats-new-form #whats-new-post-in-box select{font-size:14px;font-size:1.4rem;max-width:120px}}@media screen and (max-width:38.75em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 40px;padding:10px 0 0}#buddypress form#whats-new-form #whats-new-content #whats-new-submit{float:none}#buddypress form#whats-new-form #whats-new-content #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-options #whats-new-post-in-box{order:1}}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(153,153,153,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;outline:0;padding-left:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-options[style] #whats-new-submit{float:right}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:1.4rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1.6rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:13px;font-size:1.3rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin:0 0 5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress{background:0 0}.activity-permalink #buddypress #activity-stream li.activity-item{padding:20px 0}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1.6rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:2rem}}.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .activity-comments{margin:10px 0 0}#buddypress #activity-stream .activity-comments.has-comments{border-left:1px solid #eaeaea}#buddypress #activity-stream .activity-comments .ac-form{padding:20px 0 0}#buddypress #activity-stream .activity-comments>ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments>ul{margin-left:70px}}#buddypress #activity-stream .activity-comments>ul ul{margin-left:1%;padding-left:0}@media screen and (min-width:30em){#buddypress #activity-stream .activity-comments>ul ul{margin-left:1%;padding-left:1em}}#buddypress #activity-stream .activity-comments>ul ul li{border-left:1px solid #eaeaea;border-top:0;padding-left:.2em}#buddypress #activity-stream .activity-comments>ul .acomment-meta{border-bottom:1px solid #eaeaea;font-style:italic}@media screen and (max-width:38.75em){#buddypress #activity-stream .activity-comments>ul .acomment-avatar{display:block;text-align:center}#buddypress #activity-stream .activity-comments>ul .acomment-avatar a,#buddypress #activity-stream .activity-comments>ul .acomment-avatar img.avatar{display:inline;float:none}#buddypress #activity-stream .activity-comments>ul .acomment-content,#buddypress #activity-stream .activity-comments>ul .acomment-meta,#buddypress #activity-stream .activity-comments>ul .acomment-options{margin:5px}#buddypress #activity-stream .activity-comments>ul .acomment-content{padding:0 10px}.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}}#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:none}#buddypress #activity-stream .activity-comments .ac-reply-content{margin-left:0;padding-left:0}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-comments .ac-reply-avatar{display:block}#buddypress #activity-stream .activity-comments .ac-reply-content{overflow:hidden}}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(51,51,51,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:1.2rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(153,153,153,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{clear:none;float:right;width:50%}}.single-item.groups #buddypress div#item-header div#item-actions h3{background:#555;color:#fff;font-size:14px;font-size:1.4rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:16px;font-size:1.6rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:left;width:20%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{float:left}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:5%;width:69%}}#item-body h1,#item-body h2,#item-body h3,#item-body h4,#item-body h5,#item-body h6{margin:1em 0}#item-body h1 a,#item-body h2 a,#item-body h3 a,#item-body h4 a,#item-body h5 a,#item-body h6 a{border-bottom:0}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups #group-settings-form #request-list h4{background:0 0;color:inherit}.groups.edit-details #group-settings-form label{background:#555;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;color:#fff;display:inline-block;margin-bottom:0;padding:.2em;width:80%}@media screen and (min-width:38.75em){.groups.edit-details #group-settings-form label{width:60%}}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:1.4rem;width:auto}.groups.group-settings #create-group-form div.radio label,.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #create-group-form div.radio ul,.groups.group-settings #group-settings-form div.radio ul{color:rgba(51,51,51,.6);font-size:14px;font-size:1.4rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.group-members #buddypress #members-group-list li h5 a,.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}@media screen and (max-width:30em){.groups.group-members #buddypress #members-group-list li>a{border-bottom:0;display:block;margin-bottom:10px;text-align:center}.groups.group-members #buddypress #members-group-list li>a img.avatar{display:inline;float:none}}.groups.group-members #buddypress #members-group-list li h5{display:inline-block;font-size:14px;font-size:1.4rem;margin:0}@media screen and (min-width:59.6875em){.groups.group-members #buddypress #members-group-list li h5{font-size:16px;font-size:1.6rem}}.groups.group-members #buddypress #members-group-list li span.activity{font-size:12px;font-size:1.2rem}.groups.group-members #buddypress #members-group-list li .action{top:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.groups.group-invites #item-body .item-list .action{margin-bottom:0}@media screen and (min-width:46.25em){.groups.group-invites #buddypress #item-body #message{margin-top:0}}@media screen and (min-width:55em){.groups.group-invites #buddypress #send-invite-form{margin-top:0}}@media screen and (max-width:46.25em){.groups.group-invites #item-body .left-menu{float:none;margin:10px 0}.groups.group-invites #item-body .left-menu #invite-list{height:auto;width:auto}.groups.group-invites #item-body .main-column{margin-left:0}.groups.group-invites #item-body .submit input{display:inline-block;width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:1.4rem}.bp-user #buddypress table td{font-size:12px;font-size:1.2rem}@media screen and (min-width:46.25em){.bp-user #buddypress table th{font-size:16px;font-size:1.6rem}.bp-user #buddypress table td{font-size:14px;font-size:1.4rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.8rem}.bp-user #buddypress table td{font-size:16px;font-size:1.6rem}}.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{float:left;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav,.bp-user #buddypress .notifications-options-nav{width:50%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{font-size:14px;font-size:1.4rem;outline:0;padding:0}.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:100%}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav select,.bp-user #buddypress .notifications-options-nav select{width:60%}}.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{float:right;font-family:"Noto Serif",serif;line-height:1.5;margin-top:10px;width:100%}.bp-user #buddypress .messages-options-nav input[disabled]:hover,.bp-user #buddypress .notifications-options-nav input[disabled]:hover{background:0 0}@media screen and (min-width:30em){.bp-user #buddypress .messages-options-nav input,.bp-user #buddypress .notifications-options-nav input{margin-top:0;width:38%}}.bp-user #buddypress .profile .bp-widget h4{background:#6e6e6e;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.8rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:1.4rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6e6e6e;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6e6e6e}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#b7b7b7;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:2.6em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:1.2rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:1.2rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:1.1rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d1d1d1}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td,.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress .acfb-holder li.friend-tab{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;margin-right:.5em;width:20px!important}.bp-user #buddypress #message-threads.sitewide-notices td{width:100%}.bp-user #buddypress #message-threads.sitewide-notices td strong{background:#6e6e6e;color:#fff;display:block;margin-bottom:.4em;padding-left:.2em}.bp-user #buddypress #message-threads.sitewide-notices td a{display:inline-block}.bp-user #buddypress #message-threads.sitewide-notices td:first-child{display:none}.bp-user #buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}.bp-user #buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:#b7b7b7;line-height:1;text-align:right}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}.bp-user #buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:2rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings th.title{width:75%}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#buddypress .group-create-form input[type=text],#buddypress .group-create-form textarea,#buddypress .standard-form input[type=text],#buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(153,153,153,.3)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress select{border:1px solid rgba(153,153,153,.5)}#buddypress .wp-editor-wrap a.button,#buddypress .wp-editor-wrap button,#buddypress .wp-editor-wrap input[type=button],#buddypress .wp-editor-wrap input[type=reset],#buddypress .wp-editor-wrap input[type=submit]{padding:0 5px 1px}#buddypress .group-create-form li,#buddypress .standard-form li{float:none}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(153,153,153,.4);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{font-size:14px;font-size:1.4rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:80%;border-right:1px solid rgba(153,153,153,.4);padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=text],#buddypress .dir-search form input[type=submit],#buddypress .message-search form input[type=text],#buddypress .message-search form input[type=submit]{font-size:16px;font-size:1.6rem}}#buddypress table{font-size:14px;font-size:1.4rem;margin:20px 0}#buddypress table tr th{background:#6e6e6e;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress #item-body div#message{margin-top:20px}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1.6rem}#buddypress #item-body div#message{margin-right:20px}}#buddypress div#message p{font-size:18px;font-size:1.8rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
@@ -651,7 +651,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
651 |
line-height: 1.4;
|
652 |
}
|
653 |
|
654 |
-
textarea {width: 100%;}
|
655 |
// corrective measure for clipped elements due to JS inline styling
|
656 |
|
657 |
@media screen and (max-width: 30em) {
|
@@ -686,9 +685,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
686 |
} // close @media
|
687 |
|
688 |
#whats-new-options[style] {
|
689 |
-
min-height: 6rem;
|
690 |
-
overflow: visible;
|
691 |
-
|
692 |
#whats-new-post-in-box {
|
693 |
border: 1px solid rgba($border-color, 0.5);
|
694 |
float: left;
|
@@ -1214,7 +1210,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1214 |
img.avatar,
|
1215 |
a {
|
1216 |
float: left;
|
1217 |
-
width: 100%;
|
1218 |
}
|
1219 |
}
|
1220 |
|
651 |
line-height: 1.4;
|
652 |
}
|
653 |
|
|
|
654 |
// corrective measure for clipped elements due to JS inline styling
|
655 |
|
656 |
@media screen and (max-width: 30em) {
|
685 |
} // close @media
|
686 |
|
687 |
#whats-new-options[style] {
|
|
|
|
|
|
|
688 |
#whats-new-post-in-box {
|
689 |
border: 1px solid rgba($border-color, 0.5);
|
690 |
float: left;
|
1210 |
img.avatar,
|
1211 |
a {
|
1212 |
float: left;
|
|
|
1213 |
}
|
1214 |
}
|
1215 |
|
@@ -424,14 +424,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
424 |
margin-bottom: 5px;
|
425 |
}
|
426 |
|
427 |
-
#buddypress form#whats-new-form textarea#whats-new {
|
428 |
-
width: 100%;
|
429 |
-
}
|
430 |
-
|
431 |
-
#buddypress form#whats-new-form #whats-new-content #whats-new-options[style] {
|
432 |
-
height: auto !important;
|
433 |
-
}
|
434 |
-
|
435 |
@media screen and (max-width: 594px) {
|
436 |
#buddypress form#whats-new-form #whats-new-content #whats-new-options {
|
437 |
display: flex;
|
424 |
margin-bottom: 5px;
|
425 |
}
|
426 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
427 |
@media screen and (max-width: 594px) {
|
428 |
#buddypress form#whats-new-form #whats-new-content #whats-new-options {
|
429 |
display: flex;
|
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress .site-content{padding-bottom:20px;padding-top:4%}@media screen and (min-width:59.6875em){.buddypress .site-content{padding-top:0}}.buddypress .site-content article{margin:0 4%;padding-top:0}.buddypress .site-content article .entry-content,.buddypress .site-content article .entry-header{max-width:100%;padding:0}.buddypress .site-content article #buddypress{margin-bottom:40px}#buddypress .item-list-tabs ul li{width:100%}@media screen and (min-width:400px){#buddypress .item-list-tabs ul li{width:50%}}@media screen and (min-width:594px){#buddypress .item-list-tabs ul li{width:auto}}.directory #buddypress .item-list-tabs ul:after,.directory #buddypress .item-list-tabs ul:before{content:" ";display:table}.directory #buddypress .item-list-tabs ul:after{clear:both}.directory #buddypress .item-list-tabs ul{border-bottom:1px solid rgba(0,0,0,.2);padding-bottom:10px}@media screen and (min-width:783px){.directory #buddypress .item-list-tabs ul{padding-bottom:0}.directory #buddypress .item-list-tabs ul li.selected{border:1px solid rgba(0,0,0,.2);border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}.directory #buddypress .item-list-tabs ul li.selected a{background:0 0;outline:0}}.directory #buddypress #subnav ul{border-bottom:0}#buddypress #subnav li#activity-filter-select.last{line-height:2.1;margin-top:0}@media screen and (max-width:783px){#buddypress #object-nav ul{border-bottom:1px solid rgba(0,0,0,.2);overflow:hidden;padding-bottom:10px}#buddypress div#subnav.item-list-tabs{margin-bottom:40px}#buddypress div#subnav.item-list-tabs ul li{width:auto}}@media screen and (min-width:783px){.bp-user #buddypress,.single-item.groups #buddypress{background:#d8d8d8}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #object-nav{background:#d8d8d8;border-left:1px solid #bebebe;float:right;margin-left:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;border-top:1px solid #bebebe;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#bebebe}#buddypress #object-nav ul li span{border-radius:10%;float:left;margin-left:15px}#buddypress #object-nav ul li.current{background:#f1f1f1}#buddypress #item-body{border-right:1px solid #bebebe;overflow:hidden;padding:0 20px;width:auto}#buddypress #item-body #subnav{border:1px solid #bebebe;border-right:0;border-left:0;margin:0 -20px 20px}#buddypress #item-body #subnav li:focus,#buddypress #item-body #subnav li:hover{background:#bebebe}#buddypress #item-body #subnav li.current{background:#f1f1f1}#buddypress #item-body #subnav li#activity-filter-select:focus,#buddypress #item-body #subnav li#activity-filter-select:hover{background:0 0}#buddypress #item-body #subnav li#activity-filter-select select{max-width:130px}}#buddypress div.pagination .pag-count,#buddypress ul.item-list li .item{margin-right:0}#buddypress .item-list .item-title a{display:block;font-size:22px;font-size:1.375rem;text-decoration:none}#buddypress .item-list .item-title span a,#buddypress .item-list .item-title span.update{font-size:12px;font-size:.75rem}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress ul.item-list li .item-avatar a img.avatar{float:none}#buddypress ul.item-list li div.item-title{float:none;width:100%}#buddypress ul.item-list li div.item-title>a{text-align:center}#buddypress ul.item-list li div.item-desc{margin-right:0;width:auto}#buddypress ul.item-list li div.action{clear:both;float:none;margin:0;position:relative;text-align:right}#buddypress ul.item-list li div.action div{margin:0 0 10px}#buddypress ul.item-list li .action,#buddypress ul.item-list li .activity-meta{float:none}#buddypress ul.item-list li .action a,#buddypress ul.item-list li .action div,#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:block;margin:5px 0}@media screen and (min-width:594px){#buddypress ul.item-list li .item-avatar{float:right;margin-bottom:0}#buddypress ul.item-list li div.item-title>a{text-align:right}#buddypress ul.item-list li .item{float:left;margin-right:5%;width:80%}#buddypress ul.item-list li .activity-meta{clear:both}#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:inline-block;margin:5px 0 0 5px}}@media screen and (min-width:783px){#buddypress ul.item-list li .item{float:right;width:55%}#buddypress ul.item-list li .item div.item-desc{margin:0;width:auto}#buddypress ul.item-list li div.action{clear:none;float:left;top:0;width:25%}#buddypress ul.item-list li div.action div{display:block}#buddypress ul.item-list li div.action div a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}#buddypress ul.item-list li div.action .meta{text-align:center}}#buddypress ul.item-list li .item-meta .activity,#buddypress ul.item-list li .meta{font-style:italic}#buddypress form#whats-new-form{margin:40px 0}#buddypress form#whats-new-form #whats-new-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{margin-right:0;padding-right:0}#buddypress form#whats-new-form p.activity-greeting{clear:right;line-height:inherit;margin-bottom:5px}#buddypress form#whats-new-form textarea#whats-new{width:100%}#buddypress form#whats-new-form #whats-new-content #whats-new-options[style]{height:auto!important}@media screen and (max-width:594px){#buddypress form#whats-new-form #whats-new-content #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box{margin-top:10px;order:1}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box select{margin-top:5px;max-width:100%;width:100%}}@media screen and (min-width:594px){#buddypress form#whats-new-form #whats-new-avatar{float:right}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{clear:none;overflow:hidden;padding-right:20px}}#buddypress #activity-stream{margin-top:40px}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:none;margin-bottom:10px;text-align:center}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar img.avatar{margin-right:0}#buddypress .activity-list li.mini .activity-meta a{font-size:12px;font-size:.75rem}#buddypress .activity-list .activity-content{margin:0}#buddypress .activity-list .activity-content .activity-header{margin:-.5em 0 0}#buddypress .activity-list .activity-content .activity-header>p{line-height:1.4;margin-top:-10px}#buddypress .activity-list .activity-content .activity-header img.avatar{margin-bottom:0!important;vertical-align:middle}#buddypress .activity-list .activity-content .activity-inner{margin:10px 0}@media screen and (min-width:594px){#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:right;margin:0 0 0 20px}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar{margin:0 5% 0 10px}#buddypress .activity-list .activity-content{margin-right:0;overflow:hidden}}body.activity-permalink #buddypress{background:0 0}@media screen and (max-width:760px){body.activity-permalink #buddypress .activity-list li .activity-comments,body.activity-permalink #buddypress .activity-list li .activity-content{margin-right:0}}#buddypress .activity .activity-comments{margin-right:0;margin-top:5px}@media screen and (min-width:594px){#buddypress .activity .activity-comments{margin-right:70px}}#buddypress .activity .activity-comments ul{background:rgba(247,247,247,.6);margin:30px 2px 0 0}#buddypress .activity .activity-comments ul ul{border-right:1px solid rgba(0,0,0,.1);padding-right:2%}@media screen and (max-width:400px){#buddypress .activity .activity-comments .acomment-avatar{display:block;text-align:center}#buddypress .activity .activity-comments .acomment-avatar a,#buddypress .activity .activity-comments .acomment-avatar img.avatar{display:inline;float:none}#buddypress .activity .activity-comments .acomment-content,#buddypress .activity .activity-comments .acomment-meta,#buddypress .activity .activity-comments .acomment-options{margin:5px}#buddypress .activity .activity-comments .acomment-content{padding:0 10px}}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel,#buddypress .activity .activity-comments .ac-form input[type=submit]{color:rgba(43,43,43,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(0,0,0,.2);text-align:center}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}.bp-user .entry-title,.single-item.groups .entry-title{background:#4d4d4d;color:#fff;font-size:22px;font-size:1.375rem;margin-bottom:10px;padding:.2em}@media screen and (min-width:673px){.bp-user .entry-title,.single-item.groups .entry-title{font-size:28px;font-size:1.75rem}}#buddypress div#item-header{padding-bottom:10px}#buddypress div#item-header img.avatar{margin:0 0 10px 20px}#buddypress div#item-header #message{clear:both;margin-bottom:5px;padding-top:10px}#buddypress div#item-header #message p{margin-bottom:0}@media screen and (max-width:594px){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{margin-right:0;order:3;text-align:right}.single-item.groups #buddypress div#item-header #item-actions ul{margin-right:0}.single-item.groups #buddypress div#item-header #item-actions ul li{float:right}.single-item.groups #buddypress div#item-header #message{order:4}}.single-item.groups #buddypress #item-header #item-actions{float:none;margin:0 20px 0 0;width:auto}.single-item.groups #buddypress #item-header #item-actions h3{font-size:20px;font-size:1.25rem}.single-item.groups #buddypress #item-header #item-header-avatar{text-align:center}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}@media screen and (min-width:594px){.single-item.groups #buddypress #item-header #item-actions{float:left}.single-item.groups #buddypress #item-header #item-header-avatar{float:right}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar img{float:none}.bp-user #buddypress #item-header #latest-update{margin-bottom:10px}@media screen and (max-width:594px){.bp-user #buddypress #item-header #item-buttons div.generic-button{display:inline-block;float:none;margin:0 0 5px;width:100%}.bp-user #buddypress #item-header #item-buttons div.generic-button a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}}@media screen and (min-width:673px){.bp-user #buddypress #item-header #item-header-avatar{float:right;overflow:hidden;text-align:right;width:20%}.bp-user #buddypress #item-header #item-header-content{float:left;width:78%}.bp-user #buddypress #item-header #item-header-content #latest-update{margin-bottom:20px}}#create-group-form .radio strong,#group-settings-form .radio strong{font-size:18px;font-size:1.125rem}#create-group-form .radio ul,#group-settings-form .radio ul{color:#777}#create-group-form #group-creation-previous,#group-settings-form #group-creation-previous{margin:10px 0}.groups.manage-members #group-settings-form h4{margin-top:40px}.groups.manage-members #group-settings-form .item-list{background:#f7f7f7;border-top:0;padding:0 .5em}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid rgba(0,0,0,.1)}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a,.groups.manage-members #group-settings-form .item-list li:last-child{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{clear:none;float:right}#buddypress .profile #profile-edit-form .button-nav:after,.groups.group-members #subnav ul:after{clear:both}.groups.manage-members #group-settings-form .item-list li span.small{display:block;float:none;margin-top:10px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}#buddypress #members-group-list .item-list h5{display:inline-block;margin:0}#buddypress #members-group-list .item-list span.activity{padding-right:10px}#buddypress #item-body #subnav li.groups-members-search:focus,#buddypress #item-body #subnav li.groups-members-search:hover,#buddypress #item-body #subnav li.last:focus,#buddypress #item-body #subnav li.last:hover{background:0 0}.groups.group-members #subnav ul:after,.groups.group-members #subnav ul:before{content:" ";display:table}.groups.group-members #subnav ul{padding:5px 0}.groups.group-members #subnav li #search-members-form{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:right}@media screen and (max-width:400px){.groups.group-members #subnav li{background:#fff;padding:10px 0;width:100%!important}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}@media screen and (min-width:783px){.groups.group-members #subnav li #search-members-form{margin-right:3px}.send-invites #buddypress #item-body{border-top:1px solid #bebebe}}@media screen and (max-width:400px){.send-invites #buddypress #item-body .left-menu{float:none}.send-invites #buddypress #item-body .left-menu #invite-list{height:auto;width:auto}.send-invites #buddypress #item-body .main-column{margin-right:0}}.send-invites #buddypress #item-body li img.avatar{display:block;float:none;margin:10px auto}.send-invites #buddypress #item-body li .action{margin-top:10px;text-align:right;width:100%}@media screen and (min-width:38.75em){.send-invites #buddypress #item-body li .action{text-align:left}}@media screen and (min-width:594px){.send-invites #buddypress #item-body #invite-list{width:160px}.send-invites #buddypress #item-body .main-column{margin-right:190px}.send-invites #buddypress #item-body li img.avatar{float:right;margin:0 0 0 10px}}#buddypress .profile .bp-widget h4{background:#999;color:#fff;padding:.4em .2em}#buddypress .profile #profile-edit-form .button-nav:after,#buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}#buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid rgba(0,0,0,.1);margin-right:0}#buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}#buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid rgba(0,0,0,.1);border-bottom-color:#fff;margin-bottom:-1px}#buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}#buddypress .profile #profile-edit-form .field-visibility-settings,#buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}#buddypress .profile #profile-edit-form .field-visibility-settings-close,#buddypress .profile #profile-edit-form .visibility-toggle-link{background:#000;color:#fff;padding:.2em .5em}#buddypress table#message-threads{border-right:1px solid rgba(0,0,0,.2);border-left:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tbody>tr:first-child td.bulk-select-check,#buddypress table#message-threads tbody>tr:first-child td.thread-from{border-top:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tr td{background:#fff;border-left:0!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:right}#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{border-bottom-color:rgba(0,0,0,.2);border-bottom-width:2px;border-right:0;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:549px){#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{padding-top:0}}#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{border-right:0;height:2.6em}#buddypress table#message-threads tr td.thread-from,#buddypress table#message-threads tr td.thread-options{border-right:0;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}#buddypress table#message-threads tr td.thread-info{border-right:0;padding-right:41px;width:100%}#buddypress table#message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}#buddypress table#message-threads tr td.thread-options{text-align:left}#buddypress table#message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}#buddypress table#message-threads tr span.from{display:none}#buddypress table#message-threads tr span.activity{display:block;float:left;line-height:2}@media screen and (max-width:320px){#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{height:5.2em}#buddypress table#message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}#buddypress table#message-threads tr.unread td{background:#f1f4ff;border-color:rgba(0,0,0,.2);border-top:0;border-width:1px}#buddypress table#message-threads th{display:none}#buddypress table#message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}#buddypress table#message-threads td.bulk-select-check,#buddypress table#message-threads td.thread-star,#buddypress table#message-threads th.bulk-select-all{border-left:0;width:30px}#buddypress #message-threads.sitewide-notices td,#buddypress table.profile-settings{width:100%}#buddypress #message-thread #message-subject{background:#4d4d4d;color:#fff;padding:.5em}#buddypress #message-thread .message-box .message-metadata{margin-bottom:10px}#buddypress #message-thread .message-box .message-content{clear:right;margin-right:0}#buddypress #message-threads.sitewide-notices td strong{background:#4d4d4d;color:#fff;font-size:16px;font-size:1rem;display:block;margin-bottom:.4em;padding:.2em}#buddypress #message-threads.sitewide-notices td a{display:inline-block;line-height:initial}#buddypress #message-threads.sitewide-notices td:first-child{display:none}#buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}#buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}#buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:rgba(0,0,0,.2);line-height:1;text-align:left}#buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}#buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}#buddypress #settings-form>p{font-size:20px;font-size:1.25rem}#buddypress table.notification-settings td.no,#buddypress table.notification-settings td.yes{vertical-align:middle}#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:401px){#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:70%}}#buddypress #send-reply.standard-form textarea,#buddypress .standard-form input[type=submit],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form textarea,#buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress input[type=submit],#buddypress input[type=text],#buddypress input[type=email],#buddypress input[type=password],#buddypress select,#buddypress textarea{border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{clear:both;float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid #ccc;overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{border:0;font-size:14px;font-size:.875rem;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:80%;border-left:1px solid #ccc;padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:401px){#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}#buddypress div.dir-search,#buddypress div.message-search{clear:none;float:left}#buddypress div.message-search{margin:3px 0 0}}#buddypress table{border-color:rgba(0,0,0,.2)}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
1 |
+
@charset "UTF-8";#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress .site-content{padding-bottom:20px;padding-top:4%}@media screen and (min-width:59.6875em){.buddypress .site-content{padding-top:0}}.buddypress .site-content article{margin:0 4%;padding-top:0}.buddypress .site-content article .entry-content,.buddypress .site-content article .entry-header{max-width:100%;padding:0}.buddypress .site-content article #buddypress{margin-bottom:40px}#buddypress .item-list-tabs ul li{width:100%}@media screen and (min-width:400px){#buddypress .item-list-tabs ul li{width:50%}}@media screen and (min-width:594px){#buddypress .item-list-tabs ul li{width:auto}}.directory #buddypress .item-list-tabs ul:after,.directory #buddypress .item-list-tabs ul:before{content:" ";display:table}.directory #buddypress .item-list-tabs ul:after{clear:both}.directory #buddypress .item-list-tabs ul{border-bottom:1px solid rgba(0,0,0,.2);padding-bottom:10px}@media screen and (min-width:783px){.directory #buddypress .item-list-tabs ul{padding-bottom:0}.directory #buddypress .item-list-tabs ul li.selected{border:1px solid rgba(0,0,0,.2);border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}.directory #buddypress .item-list-tabs ul li.selected a{background:0 0;outline:0}}.directory #buddypress #subnav ul{border-bottom:0}#buddypress #subnav li#activity-filter-select.last{line-height:2.1;margin-top:0}@media screen and (max-width:783px){#buddypress #object-nav ul{border-bottom:1px solid rgba(0,0,0,.2);overflow:hidden;padding-bottom:10px}#buddypress div#subnav.item-list-tabs{margin-bottom:40px}#buddypress div#subnav.item-list-tabs ul li{width:auto}}@media screen and (min-width:783px){.bp-user #buddypress,.single-item.groups #buddypress{background:#d8d8d8}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #item-body{border-right:1px solid #bebebe;overflow:hidden;padding:0 20px;width:auto}#buddypress #object-nav{background:#d8d8d8;border-left:1px solid #bebebe;float:right;margin-left:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;border-top:1px solid #bebebe;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#bebebe}#buddypress #object-nav ul li span{border-radius:10%;float:left;margin-left:15px}#buddypress #object-nav ul li.current{background:#f1f1f1}#buddypress #item-body #subnav{border:1px solid #bebebe;border-right:0;border-left:0;margin:0 -20px 20px}#buddypress #item-body #subnav li:focus,#buddypress #item-body #subnav li:hover{background:#bebebe}#buddypress #item-body #subnav li.current{background:#f1f1f1}#buddypress #item-body #subnav li#activity-filter-select:focus,#buddypress #item-body #subnav li#activity-filter-select:hover{background:0 0}#buddypress #item-body #subnav li#activity-filter-select select{max-width:130px}}#buddypress div.pagination .pag-count,#buddypress ul.item-list li .item{margin-right:0}#buddypress .item-list .item-title a{display:block;font-size:22px;font-size:1.375rem;text-decoration:none}#buddypress .item-list .item-title span a,#buddypress .item-list .item-title span.update{font-size:12px;font-size:.75rem}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress ul.item-list li .item-avatar a img.avatar{float:none}#buddypress ul.item-list li div.item-title{float:none;width:100%}#buddypress ul.item-list li div.item-title>a{text-align:center}#buddypress ul.item-list li div.item-desc{margin-right:0;width:auto}#buddypress ul.item-list li div.action{clear:both;float:none;margin:0;position:relative;text-align:right}#buddypress ul.item-list li div.action div{margin:0 0 10px}#buddypress ul.item-list li .action,#buddypress ul.item-list li .activity-meta{float:none}#buddypress ul.item-list li .action a,#buddypress ul.item-list li .action div,#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:block;margin:5px 0}@media screen and (min-width:594px){#buddypress ul.item-list li .item-avatar{float:right;margin-bottom:0}#buddypress ul.item-list li div.item-title>a{text-align:right}#buddypress ul.item-list li .item{float:left;margin-right:5%;width:80%}#buddypress ul.item-list li .activity-meta{clear:both}#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:inline-block;margin:5px 0 0 5px}}@media screen and (min-width:783px){#buddypress ul.item-list li .item{float:right;width:55%}#buddypress ul.item-list li .item div.item-desc{margin:0;width:auto}#buddypress ul.item-list li div.action{clear:none;float:left;top:0;width:25%}#buddypress ul.item-list li div.action div{display:block}#buddypress ul.item-list li div.action div a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}#buddypress ul.item-list li div.action .meta{text-align:center}}#buddypress ul.item-list li .item-meta .activity,#buddypress ul.item-list li .meta{font-style:italic}#buddypress form#whats-new-form{margin:40px 0}#buddypress form#whats-new-form #whats-new-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{margin-right:0;padding-right:0}#buddypress form#whats-new-form p.activity-greeting{clear:right;line-height:inherit;margin-bottom:5px}@media screen and (max-width:594px){#buddypress form#whats-new-form #whats-new-content #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box{margin-top:10px;order:1}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box select{margin-top:5px;max-width:100%;width:100%}}@media screen and (min-width:594px){#buddypress form#whats-new-form #whats-new-avatar{float:right}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{clear:none;overflow:hidden;padding-right:20px}}#buddypress #activity-stream{margin-top:40px}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:none;margin-bottom:10px;text-align:center}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar img.avatar{margin-right:0}#buddypress .activity-list li.mini .activity-meta a{font-size:12px;font-size:.75rem}#buddypress .activity-list .activity-content{margin:0}#buddypress .activity-list .activity-content .activity-header{margin:-.5em 0 0}#buddypress .activity-list .activity-content .activity-header>p{line-height:1.4;margin-top:-10px}#buddypress .activity-list .activity-content .activity-header img.avatar{margin-bottom:0!important;vertical-align:middle}#buddypress .activity-list .activity-content .activity-inner{margin:10px 0}@media screen and (min-width:594px){#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:right;margin:0 0 0 20px}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar{margin:0 5% 0 10px}#buddypress .activity-list .activity-content{margin-right:0;overflow:hidden}}body.activity-permalink #buddypress{background:0 0}@media screen and (max-width:760px){body.activity-permalink #buddypress .activity-list li .activity-comments,body.activity-permalink #buddypress .activity-list li .activity-content{margin-right:0}}#buddypress .activity .activity-comments{margin-right:0;margin-top:5px}@media screen and (min-width:594px){#buddypress .activity .activity-comments{margin-right:70px}}#buddypress .activity .activity-comments ul{background:rgba(247,247,247,.6);margin:30px 2px 0 0}#buddypress .activity .activity-comments ul ul{border-right:1px solid rgba(0,0,0,.1);padding-right:2%}@media screen and (max-width:400px){#buddypress .activity .activity-comments .acomment-avatar{display:block;text-align:center}#buddypress .activity .activity-comments .acomment-avatar a,#buddypress .activity .activity-comments .acomment-avatar img.avatar{display:inline;float:none}#buddypress .activity .activity-comments .acomment-content,#buddypress .activity .activity-comments .acomment-meta,#buddypress .activity .activity-comments .acomment-options{margin:5px}#buddypress .activity .activity-comments .acomment-content{padding:0 10px}}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel,#buddypress .activity .activity-comments .ac-form input[type=submit]{color:rgba(43,43,43,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(0,0,0,.2);text-align:center}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}.bp-user .entry-title,.single-item.groups .entry-title{background:#4d4d4d;color:#fff;font-size:22px;font-size:1.375rem;margin-bottom:10px;padding:.2em}@media screen and (min-width:673px){.bp-user .entry-title,.single-item.groups .entry-title{font-size:28px;font-size:1.75rem}}#buddypress div#item-header{padding-bottom:10px}#buddypress div#item-header img.avatar{margin:0 0 10px 20px}#buddypress div#item-header #message{clear:both;margin-bottom:5px;padding-top:10px}#buddypress div#item-header #message p{margin-bottom:0}@media screen and (max-width:594px){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{margin-right:0;order:3;text-align:right}.single-item.groups #buddypress div#item-header #item-actions ul{margin-right:0}.single-item.groups #buddypress div#item-header #item-actions ul li{float:right}.single-item.groups #buddypress div#item-header #message{order:4}}.single-item.groups #buddypress #item-header #item-actions{float:none;margin:0 20px 0 0;width:auto}.single-item.groups #buddypress #item-header #item-actions h3{font-size:20px;font-size:1.25rem}.single-item.groups #buddypress #item-header #item-header-avatar{text-align:center}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}@media screen and (min-width:594px){.single-item.groups #buddypress #item-header #item-actions{float:left}.single-item.groups #buddypress #item-header #item-header-avatar{float:right}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar img{float:none}.bp-user #buddypress #item-header #latest-update{margin-bottom:10px}@media screen and (max-width:594px){.bp-user #buddypress #item-header #item-buttons div.generic-button{display:inline-block;float:none;margin:0 0 5px;width:100%}.bp-user #buddypress #item-header #item-buttons div.generic-button a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}}@media screen and (min-width:673px){.bp-user #buddypress #item-header #item-header-avatar{float:right;overflow:hidden;text-align:right;width:20%}.bp-user #buddypress #item-header #item-header-content{float:left;width:78%}.bp-user #buddypress #item-header #item-header-content #latest-update{margin-bottom:20px}}#create-group-form .radio strong,#group-settings-form .radio strong{font-size:18px;font-size:1.125rem}#create-group-form .radio ul,#group-settings-form .radio ul{color:#777}#create-group-form #group-creation-previous,#group-settings-form #group-creation-previous{margin:10px 0}.groups.manage-members #group-settings-form h4{margin-top:40px}.groups.manage-members #group-settings-form .item-list{background:#f7f7f7;border-top:0;padding:0 .5em}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid rgba(0,0,0,.1)}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a,.groups.manage-members #group-settings-form .item-list li:last-child{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{clear:none;float:right}#buddypress .profile #profile-edit-form .button-nav:after,.groups.group-members #subnav ul:after{clear:both}.groups.manage-members #group-settings-form .item-list li span.small{display:block;float:none;margin-top:10px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}#buddypress #members-group-list .item-list h5{display:inline-block;margin:0}#buddypress #members-group-list .item-list span.activity{padding-right:10px}#buddypress #item-body #subnav li.groups-members-search:focus,#buddypress #item-body #subnav li.groups-members-search:hover,#buddypress #item-body #subnav li.last:focus,#buddypress #item-body #subnav li.last:hover{background:0 0}.groups.group-members #subnav ul:after,.groups.group-members #subnav ul:before{content:" ";display:table}.groups.group-members #subnav ul{padding:5px 0}.groups.group-members #subnav li #search-members-form{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:right}@media screen and (max-width:400px){.groups.group-members #subnav li{background:#fff;padding:10px 0;width:100%!important}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}@media screen and (min-width:783px){.groups.group-members #subnav li #search-members-form{margin-right:3px}.send-invites #buddypress #item-body{border-top:1px solid #bebebe}}@media screen and (max-width:400px){.send-invites #buddypress #item-body .left-menu{float:none}.send-invites #buddypress #item-body .left-menu #invite-list{height:auto;width:auto}.send-invites #buddypress #item-body .main-column{margin-right:0}}.send-invites #buddypress #item-body li img.avatar{display:block;float:none;margin:10px auto}.send-invites #buddypress #item-body li .action{margin-top:10px;text-align:right;width:100%}@media screen and (min-width:38.75em){.send-invites #buddypress #item-body li .action{text-align:left}}@media screen and (min-width:594px){.send-invites #buddypress #item-body #invite-list{width:160px}.send-invites #buddypress #item-body .main-column{margin-right:190px}.send-invites #buddypress #item-body li img.avatar{float:right;margin:0 0 0 10px}}#buddypress .profile .bp-widget h4{background:#999;color:#fff;padding:.4em .2em}#buddypress .profile #profile-edit-form .button-nav:after,#buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}#buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid rgba(0,0,0,.1);margin-right:0}#buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}#buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid rgba(0,0,0,.1);border-bottom-color:#fff;margin-bottom:-1px}#buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}#buddypress .profile #profile-edit-form .field-visibility-settings,#buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}#buddypress .profile #profile-edit-form .field-visibility-settings-close,#buddypress .profile #profile-edit-form .visibility-toggle-link{background:#000;color:#fff;padding:.2em .5em}#buddypress table#message-threads{border-right:1px solid rgba(0,0,0,.2);border-left:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tbody>tr:first-child td.bulk-select-check,#buddypress table#message-threads tbody>tr:first-child td.thread-from{border-top:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tr td{background:#fff;border-left:0!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:right}#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{border-bottom-color:rgba(0,0,0,.2);border-bottom-width:2px;border-right:0;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:549px){#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{padding-top:0}}#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{border-right:0;height:2.6em}#buddypress table#message-threads tr td.thread-from,#buddypress table#message-threads tr td.thread-options{border-right:0;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}#buddypress table#message-threads tr td.thread-info{border-right:0;padding-right:41px;width:100%}#buddypress table#message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}#buddypress table#message-threads tr td.thread-options{text-align:left}#buddypress table#message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}#buddypress table#message-threads tr span.from{display:none}#buddypress table#message-threads tr span.activity{display:block;float:left;line-height:2}@media screen and (max-width:320px){#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{height:5.2em}#buddypress table#message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}#buddypress table#message-threads tr.unread td{background:#f1f4ff;border-color:rgba(0,0,0,.2);border-top:0;border-width:1px}#buddypress table#message-threads th{display:none}#buddypress table#message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}#buddypress table#message-threads td.bulk-select-check,#buddypress table#message-threads td.thread-star,#buddypress table#message-threads th.bulk-select-all{border-left:0;width:30px}#buddypress #message-threads.sitewide-notices td,#buddypress table.profile-settings{width:100%}#buddypress #message-thread #message-subject{background:#4d4d4d;color:#fff;padding:.5em}#buddypress #message-thread .message-box .message-metadata{margin-bottom:10px}#buddypress #message-thread .message-box .message-content{clear:right;margin-right:0}#buddypress #message-threads.sitewide-notices td strong{background:#4d4d4d;color:#fff;font-size:16px;font-size:1rem;display:block;margin-bottom:.4em;padding:.2em}#buddypress #message-threads.sitewide-notices td a{display:inline-block;line-height:initial}#buddypress #message-threads.sitewide-notices td:first-child{display:none}#buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}#buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}#buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:rgba(0,0,0,.2);line-height:1;text-align:left}#buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-right:.7em;text-indent:-999em}#buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}#buddypress #settings-form>p{font-size:20px;font-size:1.25rem}#buddypress table.notification-settings td.no,#buddypress table.notification-settings td.yes{vertical-align:middle}#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:401px){#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:70%}}#buddypress #send-reply.standard-form textarea,#buddypress .standard-form input[type=submit],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form textarea,#buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress input[type=submit],#buddypress input[type=text],#buddypress input[type=email],#buddypress input[type=password],#buddypress select,#buddypress textarea{border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{clear:both;float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid #ccc;overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{border:0;font-size:14px;font-size:.875rem;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:80%;border-left:1px solid #ccc;padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:401px){#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}#buddypress div.dir-search,#buddypress div.message-search{clear:none;float:left}#buddypress div.message-search{margin:3px 0 0}}#buddypress table{border-color:rgba(0,0,0,.2)}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
@@ -424,14 +424,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
424 |
margin-bottom: 5px;
|
425 |
}
|
426 |
|
427 |
-
#buddypress form#whats-new-form textarea#whats-new {
|
428 |
-
width: 100%;
|
429 |
-
}
|
430 |
-
|
431 |
-
#buddypress form#whats-new-form #whats-new-content #whats-new-options[style] {
|
432 |
-
height: auto !important;
|
433 |
-
}
|
434 |
-
|
435 |
@media screen and (max-width: 594px) {
|
436 |
#buddypress form#whats-new-form #whats-new-content #whats-new-options {
|
437 |
display: flex;
|
424 |
margin-bottom: 5px;
|
425 |
}
|
426 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
427 |
@media screen and (max-width: 594px) {
|
428 |
#buddypress form#whats-new-form #whats-new-content #whats-new-options {
|
429 |
display: flex;
|
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress .site-content{padding-bottom:20px;padding-top:4%}@media screen and (min-width:59.6875em){.buddypress .site-content{padding-top:0}}.buddypress .site-content article{margin:0 4%;padding-top:0}.buddypress .site-content article .entry-content,.buddypress .site-content article .entry-header{max-width:100%;padding:0}.buddypress .site-content article #buddypress{margin-bottom:40px}#buddypress .item-list-tabs ul li{width:100%}@media screen and (min-width:400px){#buddypress .item-list-tabs ul li{width:50%}}@media screen and (min-width:594px){#buddypress .item-list-tabs ul li{width:auto}}.directory #buddypress .item-list-tabs ul:after,.directory #buddypress .item-list-tabs ul:before{content:" ";display:table}.directory #buddypress .item-list-tabs ul:after{clear:both}.directory #buddypress .item-list-tabs ul{border-bottom:1px solid rgba(0,0,0,.2);padding-bottom:10px}@media screen and (min-width:783px){.directory #buddypress .item-list-tabs ul{padding-bottom:0}.directory #buddypress .item-list-tabs ul li.selected{border:1px solid rgba(0,0,0,.2);border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}.directory #buddypress .item-list-tabs ul li.selected a{background:0 0;outline:0}}.directory #buddypress #subnav ul{border-bottom:0}#buddypress #subnav li#activity-filter-select.last{line-height:2.1;margin-top:0}@media screen and (max-width:783px){#buddypress #object-nav ul{border-bottom:1px solid rgba(0,0,0,.2);overflow:hidden;padding-bottom:10px}#buddypress div#subnav.item-list-tabs{margin-bottom:40px}#buddypress div#subnav.item-list-tabs ul li{width:auto}}@media screen and (min-width:783px){.bp-user #buddypress,.single-item.groups #buddypress{background:#d8d8d8}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #object-nav{background:#d8d8d8;border-right:1px solid #bebebe;float:left;margin-right:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;border-top:1px solid #bebebe;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#bebebe}#buddypress #object-nav ul li span{border-radius:10%;float:right;margin-right:15px}#buddypress #object-nav ul li.current{background:#f1f1f1}#buddypress #item-body{border-left:1px solid #bebebe;overflow:hidden;padding:0 20px;width:auto}#buddypress #item-body #subnav{border:1px solid #bebebe;border-left:0;border-right:0;margin:0 -20px 20px}#buddypress #item-body #subnav li:focus,#buddypress #item-body #subnav li:hover{background:#bebebe}#buddypress #item-body #subnav li.current{background:#f1f1f1}#buddypress #item-body #subnav li#activity-filter-select:focus,#buddypress #item-body #subnav li#activity-filter-select:hover{background:0 0}#buddypress #item-body #subnav li#activity-filter-select select{max-width:130px}}#buddypress div.pagination .pag-count,#buddypress ul.item-list li .item{margin-left:0}#buddypress .item-list .item-title a{display:block;font-size:22px;font-size:1.375rem;text-decoration:none}#buddypress .item-list .item-title span a,#buddypress .item-list .item-title span.update{font-size:12px;font-size:.75rem}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress ul.item-list li .item-avatar a img.avatar{float:none}#buddypress ul.item-list li div.item-title{float:none;width:100%}#buddypress ul.item-list li div.item-title>a{text-align:center}#buddypress ul.item-list li div.item-desc{margin-left:0;width:auto}#buddypress ul.item-list li div.action{clear:both;float:none;margin:0;position:relative;text-align:left}#buddypress ul.item-list li div.action div{margin:0 0 10px}#buddypress ul.item-list li .action,#buddypress ul.item-list li .activity-meta{float:none}#buddypress ul.item-list li .action a,#buddypress ul.item-list li .action div,#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:block;margin:5px 0}@media screen and (min-width:594px){#buddypress ul.item-list li .item-avatar{float:left;margin-bottom:0}#buddypress ul.item-list li div.item-title>a{text-align:left}#buddypress ul.item-list li .item{float:right;margin-left:5%;width:80%}#buddypress ul.item-list li .activity-meta{clear:both}#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:inline-block;margin:5px 5px 0 0}}@media screen and (min-width:783px){#buddypress ul.item-list li .item{float:left;width:55%}#buddypress ul.item-list li .item div.item-desc{margin:0;width:auto}#buddypress ul.item-list li div.action{clear:none;float:right;top:0;width:25%}#buddypress ul.item-list li div.action div{display:block}#buddypress ul.item-list li div.action div a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}#buddypress ul.item-list li div.action .meta{text-align:center}}#buddypress ul.item-list li .item-meta .activity,#buddypress ul.item-list li .meta{font-style:italic}#buddypress form#whats-new-form{margin:40px 0}#buddypress form#whats-new-form #whats-new-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{margin-left:0;padding-left:0}#buddypress form#whats-new-form p.activity-greeting{clear:left;line-height:inherit;margin-bottom:5px}#buddypress form#whats-new-form textarea#whats-new{width:100%}#buddypress form#whats-new-form #whats-new-content #whats-new-options[style]{height:auto!important}@media screen and (max-width:594px){#buddypress form#whats-new-form #whats-new-content #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box{margin-top:10px;order:1}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box select{margin-top:5px;max-width:100%;width:100%}}@media screen and (min-width:594px){#buddypress form#whats-new-form #whats-new-avatar{float:left}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{clear:none;overflow:hidden;padding-left:20px}}#buddypress #activity-stream{margin-top:40px}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:none;margin-bottom:10px;text-align:center}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar img.avatar{margin-left:0}#buddypress .activity-list li.mini .activity-meta a{font-size:12px;font-size:.75rem}#buddypress .activity-list .activity-content{margin:0}#buddypress .activity-list .activity-content .activity-header{margin:-.5em 0 0}#buddypress .activity-list .activity-content .activity-header>p{line-height:1.4;margin-top:-10px}#buddypress .activity-list .activity-content .activity-header img.avatar{margin-bottom:0!important;vertical-align:middle}#buddypress .activity-list .activity-content .activity-inner{margin:10px 0}@media screen and (min-width:594px){#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:left;margin:0 20px 0 0}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar{margin:0 10px 0 5%}#buddypress .activity-list .activity-content{margin-left:0;overflow:hidden}}body.activity-permalink #buddypress{background:0 0}@media screen and (max-width:760px){body.activity-permalink #buddypress .activity-list li .activity-comments,body.activity-permalink #buddypress .activity-list li .activity-content{margin-left:0}}#buddypress .activity .activity-comments{margin-left:0;margin-top:5px}@media screen and (min-width:594px){#buddypress .activity .activity-comments{margin-left:70px}}#buddypress .activity .activity-comments ul{background:rgba(247,247,247,.6);margin:30px 0 0 2px}#buddypress .activity .activity-comments ul ul{border-left:1px solid rgba(0,0,0,.1);padding-left:2%}@media screen and (max-width:400px){#buddypress .activity .activity-comments .acomment-avatar{display:block;text-align:center}#buddypress .activity .activity-comments .acomment-avatar a,#buddypress .activity .activity-comments .acomment-avatar img.avatar{display:inline;float:none}#buddypress .activity .activity-comments .acomment-content,#buddypress .activity .activity-comments .acomment-meta,#buddypress .activity .activity-comments .acomment-options{margin:5px}#buddypress .activity .activity-comments .acomment-content{padding:0 10px}}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel,#buddypress .activity .activity-comments .ac-form input[type=submit]{color:rgba(43,43,43,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(0,0,0,.2);text-align:center}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}.bp-user .entry-title,.single-item.groups .entry-title{background:#4d4d4d;color:#fff;font-size:22px;font-size:1.375rem;margin-bottom:10px;padding:.2em}@media screen and (min-width:673px){.bp-user .entry-title,.single-item.groups .entry-title{font-size:28px;font-size:1.75rem}}#buddypress div#item-header{padding-bottom:10px}#buddypress div#item-header img.avatar{margin:0 20px 10px 0}#buddypress div#item-header #message{clear:both;margin-bottom:5px;padding-top:10px}#buddypress div#item-header #message p{margin-bottom:0}@media screen and (max-width:594px){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{margin-left:0;order:3;text-align:left}.single-item.groups #buddypress div#item-header #item-actions ul{margin-left:0}.single-item.groups #buddypress div#item-header #item-actions ul li{float:left}.single-item.groups #buddypress div#item-header #message{order:4}}.single-item.groups #buddypress #item-header #item-actions{float:none;margin:0 0 0 20px;width:auto}.single-item.groups #buddypress #item-header #item-actions h3{font-size:20px;font-size:1.25rem}.single-item.groups #buddypress #item-header #item-header-avatar{text-align:center}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}@media screen and (min-width:594px){.single-item.groups #buddypress #item-header #item-actions{float:right}.single-item.groups #buddypress #item-header #item-header-avatar{float:left}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar img{float:none}.bp-user #buddypress #item-header #latest-update{margin-bottom:10px}@media screen and (max-width:594px){.bp-user #buddypress #item-header #item-buttons div.generic-button{display:inline-block;float:none;margin:0 0 5px;width:100%}.bp-user #buddypress #item-header #item-buttons div.generic-button a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}}@media screen and (min-width:673px){.bp-user #buddypress #item-header #item-header-avatar{float:left;overflow:hidden;text-align:left;width:20%}.bp-user #buddypress #item-header #item-header-content{float:right;width:78%}.bp-user #buddypress #item-header #item-header-content #latest-update{margin-bottom:20px}}#create-group-form .radio strong,#group-settings-form .radio strong{font-size:18px;font-size:1.125rem}#create-group-form .radio ul,#group-settings-form .radio ul{color:#777}#create-group-form #group-creation-previous,#group-settings-form #group-creation-previous{margin:10px 0}.groups.manage-members #group-settings-form h4{margin-top:40px}.groups.manage-members #group-settings-form .item-list{background:#f7f7f7;border-top:0;padding:0 .5em}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid rgba(0,0,0,.1)}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a,.groups.manage-members #group-settings-form .item-list li:last-child{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{clear:none;float:left}#buddypress .profile #profile-edit-form .button-nav:after,.groups.group-members #subnav ul:after{clear:both}.groups.manage-members #group-settings-form .item-list li span.small{display:block;float:none;margin-top:10px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}#buddypress #members-group-list .item-list h5{display:inline-block;margin:0}#buddypress #members-group-list .item-list span.activity{padding-left:10px}#buddypress #item-body #subnav li.groups-members-search:focus,#buddypress #item-body #subnav li.groups-members-search:hover,#buddypress #item-body #subnav li.last:focus,#buddypress #item-body #subnav li.last:hover{background:0 0}.groups.group-members #subnav ul:after,.groups.group-members #subnav ul:before{content:" ";display:table}.groups.group-members #subnav ul{padding:5px 0}.groups.group-members #subnav li #search-members-form{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left}@media screen and (max-width:400px){.groups.group-members #subnav li{background:#fff;padding:10px 0;width:100%!important}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}@media screen and (min-width:783px){.groups.group-members #subnav li #search-members-form{margin-left:3px}.send-invites #buddypress #item-body{border-top:1px solid #bebebe}}@media screen and (max-width:400px){.send-invites #buddypress #item-body .left-menu{float:none}.send-invites #buddypress #item-body .left-menu #invite-list{height:auto;width:auto}.send-invites #buddypress #item-body .main-column{margin-left:0}}.send-invites #buddypress #item-body li img.avatar{display:block;float:none;margin:10px auto}.send-invites #buddypress #item-body li .action{margin-top:10px;text-align:left;width:100%}@media screen and (min-width:38.75em){.send-invites #buddypress #item-body li .action{text-align:right}}@media screen and (min-width:594px){.send-invites #buddypress #item-body #invite-list{width:160px}.send-invites #buddypress #item-body .main-column{margin-left:190px}.send-invites #buddypress #item-body li img.avatar{float:left;margin:0 10px 0 0}}#buddypress .profile .bp-widget h4{background:#999;color:#fff;padding:.4em .2em}#buddypress .profile #profile-edit-form .button-nav:after,#buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}#buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid rgba(0,0,0,.1);margin-left:0}#buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}#buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid rgba(0,0,0,.1);border-bottom-color:#fff;margin-bottom:-1px}#buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}#buddypress .profile #profile-edit-form .field-visibility-settings,#buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}#buddypress .profile #profile-edit-form .field-visibility-settings-close,#buddypress .profile #profile-edit-form .visibility-toggle-link{background:#000;color:#fff;padding:.2em .5em}#buddypress table#message-threads{border-left:1px solid rgba(0,0,0,.2);border-right:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tbody>tr:first-child td.bulk-select-check,#buddypress table#message-threads tbody>tr:first-child td.thread-from{border-top:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tr td{background:#fff;border-right:0!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:left}#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{border-bottom-color:rgba(0,0,0,.2);border-bottom-width:2px;border-left:0;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:549px){#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{padding-top:0}}#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{border-left:0;height:2.6em}#buddypress table#message-threads tr td.thread-from,#buddypress table#message-threads tr td.thread-options{border-left:0;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}#buddypress table#message-threads tr td.thread-info{border-left:0;padding-left:41px;width:100%}#buddypress table#message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}#buddypress table#message-threads tr td.thread-options{text-align:right}#buddypress table#message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}#buddypress table#message-threads tr span.from{display:none}#buddypress table#message-threads tr span.activity{display:block;float:right;line-height:2}@media screen and (max-width:320px){#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{height:5.2em}#buddypress table#message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}#buddypress table#message-threads tr.unread td{background:#f1f4ff;border-color:rgba(0,0,0,.2);border-top:0;border-width:1px}#buddypress table#message-threads th{display:none}#buddypress table#message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}#buddypress table#message-threads td.bulk-select-check,#buddypress table#message-threads td.thread-star,#buddypress table#message-threads th.bulk-select-all{border-right:0;width:30px}#buddypress #message-threads.sitewide-notices td,#buddypress table.profile-settings{width:100%}#buddypress #message-thread #message-subject{background:#4d4d4d;color:#fff;padding:.5em}#buddypress #message-thread .message-box .message-metadata{margin-bottom:10px}#buddypress #message-thread .message-box .message-content{clear:left;margin-left:0}#buddypress #message-threads.sitewide-notices td strong{background:#4d4d4d;color:#fff;font-size:16px;font-size:1rem;display:block;margin-bottom:.4em;padding:.2em}#buddypress #message-threads.sitewide-notices td a{display:inline-block;line-height:initial}#buddypress #message-threads.sitewide-notices td:first-child{display:none}#buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}#buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}#buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:rgba(0,0,0,.2);line-height:1;text-align:right}#buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}#buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}#buddypress #settings-form>p{font-size:20px;font-size:1.25rem}#buddypress table.notification-settings td.no,#buddypress table.notification-settings td.yes{vertical-align:middle}#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:401px){#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:70%}}#buddypress #send-reply.standard-form textarea,#buddypress .standard-form input[type=submit],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form textarea,#buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress input[type=submit],#buddypress input[type=text],#buddypress input[type=email],#buddypress input[type=password],#buddypress select,#buddypress textarea{border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{clear:both;float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid #ccc;overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{border:0;font-size:14px;font-size:.875rem;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:80%;border-right:1px solid #ccc;padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:401px){#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}#buddypress div.dir-search,#buddypress div.message-search{clear:none;float:right}#buddypress div.message-search{margin:3px 0 0}}#buddypress table{border-color:rgba(0,0,0,.2)}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
1 |
+
@charset "UTF-8";#buddypress h1,#buddypress h2,#buddypress h3,#buddypress h4,#buddypress h5,#buddypress h6{clear:none}.buddypress .site-content{padding-bottom:20px;padding-top:4%}@media screen and (min-width:59.6875em){.buddypress .site-content{padding-top:0}}.buddypress .site-content article{margin:0 4%;padding-top:0}.buddypress .site-content article .entry-content,.buddypress .site-content article .entry-header{max-width:100%;padding:0}.buddypress .site-content article #buddypress{margin-bottom:40px}#buddypress .item-list-tabs ul li{width:100%}@media screen and (min-width:400px){#buddypress .item-list-tabs ul li{width:50%}}@media screen and (min-width:594px){#buddypress .item-list-tabs ul li{width:auto}}.directory #buddypress .item-list-tabs ul:after,.directory #buddypress .item-list-tabs ul:before{content:" ";display:table}.directory #buddypress .item-list-tabs ul:after{clear:both}.directory #buddypress .item-list-tabs ul{border-bottom:1px solid rgba(0,0,0,.2);padding-bottom:10px}@media screen and (min-width:783px){.directory #buddypress .item-list-tabs ul{padding-bottom:0}.directory #buddypress .item-list-tabs ul li.selected{border:1px solid rgba(0,0,0,.2);border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}.directory #buddypress .item-list-tabs ul li.selected a{background:0 0;outline:0}}.directory #buddypress #subnav ul{border-bottom:0}#buddypress #subnav li#activity-filter-select.last{line-height:2.1;margin-top:0}@media screen and (max-width:783px){#buddypress #object-nav ul{border-bottom:1px solid rgba(0,0,0,.2);overflow:hidden;padding-bottom:10px}#buddypress div#subnav.item-list-tabs{margin-bottom:40px}#buddypress div#subnav.item-list-tabs ul li{width:auto}}@media screen and (min-width:783px){.bp-user #buddypress,.single-item.groups #buddypress{background:#d8d8d8}#buddypress #item-body,#buddypress #item-header{background:#fff}#buddypress #item-body{border-left:1px solid #bebebe;overflow:hidden;padding:0 20px;width:auto}#buddypress #object-nav{background:#d8d8d8;border-right:1px solid #bebebe;float:left;margin-right:-1px;width:200px}#buddypress #object-nav ul{border-bottom:0;border-top:1px solid #bebebe;padding:0}#buddypress #object-nav ul li{float:none;overflow:hidden}#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#bebebe}#buddypress #object-nav ul li span{border-radius:10%;float:right;margin-right:15px}#buddypress #object-nav ul li.current{background:#f1f1f1}#buddypress #item-body #subnav{border:1px solid #bebebe;border-left:0;border-right:0;margin:0 -20px 20px}#buddypress #item-body #subnav li:focus,#buddypress #item-body #subnav li:hover{background:#bebebe}#buddypress #item-body #subnav li.current{background:#f1f1f1}#buddypress #item-body #subnav li#activity-filter-select:focus,#buddypress #item-body #subnav li#activity-filter-select:hover{background:0 0}#buddypress #item-body #subnav li#activity-filter-select select{max-width:130px}}#buddypress div.pagination .pag-count,#buddypress ul.item-list li .item{margin-left:0}#buddypress .item-list .item-title a{display:block;font-size:22px;font-size:1.375rem;text-decoration:none}#buddypress .item-list .item-title span a,#buddypress .item-list .item-title span.update{font-size:12px;font-size:.75rem}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress ul.item-list li .item-avatar a img.avatar{float:none}#buddypress ul.item-list li div.item-title{float:none;width:100%}#buddypress ul.item-list li div.item-title>a{text-align:center}#buddypress ul.item-list li div.item-desc{margin-left:0;width:auto}#buddypress ul.item-list li div.action{clear:both;float:none;margin:0;position:relative;text-align:left}#buddypress ul.item-list li div.action div{margin:0 0 10px}#buddypress ul.item-list li .action,#buddypress ul.item-list li .activity-meta{float:none}#buddypress ul.item-list li .action a,#buddypress ul.item-list li .action div,#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:block;margin:5px 0}@media screen and (min-width:594px){#buddypress ul.item-list li .item-avatar{float:left;margin-bottom:0}#buddypress ul.item-list li div.item-title>a{text-align:left}#buddypress ul.item-list li .item{float:right;margin-left:5%;width:80%}#buddypress ul.item-list li .activity-meta{clear:both}#buddypress ul.item-list li .activity-meta a,#buddypress ul.item-list li .activity-meta div{display:inline-block;margin:5px 5px 0 0}}@media screen and (min-width:783px){#buddypress ul.item-list li .item{float:left;width:55%}#buddypress ul.item-list li .item div.item-desc{margin:0;width:auto}#buddypress ul.item-list li div.action{clear:none;float:right;top:0;width:25%}#buddypress ul.item-list li div.action div{display:block}#buddypress ul.item-list li div.action div a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}#buddypress ul.item-list li div.action .meta{text-align:center}}#buddypress ul.item-list li .item-meta .activity,#buddypress ul.item-list li .meta{font-style:italic}#buddypress form#whats-new-form{margin:40px 0}#buddypress form#whats-new-form #whats-new-avatar{float:none;margin-bottom:20px;text-align:center}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{margin-left:0;padding-left:0}#buddypress form#whats-new-form p.activity-greeting{clear:left;line-height:inherit;margin-bottom:5px}@media screen and (max-width:594px){#buddypress form#whats-new-form #whats-new-content #whats-new-options{display:flex;flex-direction:column}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit{order:2}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-submit input{width:100%}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box{margin-top:10px;order:1}#buddypress form#whats-new-form #whats-new-content #whats-new-options #whats-new-post-in-box select{margin-top:5px;max-width:100%;width:100%}}@media screen and (min-width:594px){#buddypress form#whats-new-form #whats-new-avatar{float:left}#buddypress form#whats-new-form #whats-new-content,#buddypress form#whats-new-form p.activity-greeting{clear:none;overflow:hidden;padding-left:20px}}#buddypress #activity-stream{margin-top:40px}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:none;margin-bottom:10px;text-align:center}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar img.avatar{margin-left:0}#buddypress .activity-list li.mini .activity-meta a{font-size:12px;font-size:.75rem}#buddypress .activity-list .activity-content{margin:0}#buddypress .activity-list .activity-content .activity-header{margin:-.5em 0 0}#buddypress .activity-list .activity-content .activity-header>p{line-height:1.4;margin-top:-10px}#buddypress .activity-list .activity-content .activity-header img.avatar{margin-bottom:0!important;vertical-align:middle}#buddypress .activity-list .activity-content .activity-inner{margin:10px 0}@media screen and (min-width:594px){#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar{float:left;margin:0 20px 0 0}#buddypress .activity-list li.activity-item:not(.mini) .activity-avatar img.avatar{display:inline;float:none}#buddypress .activity-list li.mini .activity-avatar{margin:0 10px 0 5%}#buddypress .activity-list .activity-content{margin-left:0;overflow:hidden}}body.activity-permalink #buddypress{background:0 0}@media screen and (max-width:760px){body.activity-permalink #buddypress .activity-list li .activity-comments,body.activity-permalink #buddypress .activity-list li .activity-content{margin-left:0}}#buddypress .activity .activity-comments{margin-left:0;margin-top:5px}@media screen and (min-width:594px){#buddypress .activity .activity-comments{margin-left:70px}}#buddypress .activity .activity-comments ul{background:rgba(247,247,247,.6);margin:30px 0 0 2px}#buddypress .activity .activity-comments ul ul{border-left:1px solid rgba(0,0,0,.1);padding-left:2%}@media screen and (max-width:400px){#buddypress .activity .activity-comments .acomment-avatar{display:block;text-align:center}#buddypress .activity .activity-comments .acomment-avatar a,#buddypress .activity .activity-comments .acomment-avatar img.avatar{display:inline;float:none}#buddypress .activity .activity-comments .acomment-content,#buddypress .activity .activity-comments .acomment-meta,#buddypress .activity .activity-comments .acomment-options{margin:5px}#buddypress .activity .activity-comments .acomment-content{padding:0 10px}}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel,#buddypress .activity .activity-comments .ac-form input[type=submit]{color:rgba(43,43,43,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(0,0,0,.2);text-align:center}#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress .activity .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}.bp-user .entry-title,.single-item.groups .entry-title{background:#4d4d4d;color:#fff;font-size:22px;font-size:1.375rem;margin-bottom:10px;padding:.2em}@media screen and (min-width:673px){.bp-user .entry-title,.single-item.groups .entry-title{font-size:28px;font-size:1.75rem}}#buddypress div#item-header{padding-bottom:10px}#buddypress div#item-header img.avatar{margin:0 20px 10px 0}#buddypress div#item-header #message{clear:both;margin-bottom:5px;padding-top:10px}#buddypress div#item-header #message p{margin-bottom:0}@media screen and (max-width:594px){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{margin-left:0;order:3;text-align:left}.single-item.groups #buddypress div#item-header #item-actions ul{margin-left:0}.single-item.groups #buddypress div#item-header #item-actions ul li{float:left}.single-item.groups #buddypress div#item-header #message{order:4}}.single-item.groups #buddypress #item-header #item-actions{float:none;margin:0 0 0 20px;width:auto}.single-item.groups #buddypress #item-header #item-actions h3{font-size:20px;font-size:1.25rem}.single-item.groups #buddypress #item-header #item-header-avatar{text-align:center}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}@media screen and (min-width:594px){.single-item.groups #buddypress #item-header #item-actions{float:right}.single-item.groups #buddypress #item-header #item-header-avatar{float:left}.single-item.groups #buddypress #item-header #item-header-content{float:none;overflow:hidden}}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar img{float:none}.bp-user #buddypress #item-header #latest-update{margin-bottom:10px}@media screen and (max-width:594px){.bp-user #buddypress #item-header #item-buttons div.generic-button{display:inline-block;float:none;margin:0 0 5px;width:100%}.bp-user #buddypress #item-header #item-buttons div.generic-button a{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;width:100%}}@media screen and (min-width:673px){.bp-user #buddypress #item-header #item-header-avatar{float:left;overflow:hidden;text-align:left;width:20%}.bp-user #buddypress #item-header #item-header-content{float:right;width:78%}.bp-user #buddypress #item-header #item-header-content #latest-update{margin-bottom:20px}}#create-group-form .radio strong,#group-settings-form .radio strong{font-size:18px;font-size:1.125rem}#create-group-form .radio ul,#group-settings-form .radio ul{color:#777}#create-group-form #group-creation-previous,#group-settings-form #group-creation-previous{margin:10px 0}.groups.manage-members #group-settings-form h4{margin-top:40px}.groups.manage-members #group-settings-form .item-list{background:#f7f7f7;border-top:0;padding:0 .5em}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid rgba(0,0,0,.1)}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a,.groups.manage-members #group-settings-form .item-list li:last-child{border-bottom:0}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{clear:none;float:left}#buddypress .profile #profile-edit-form .button-nav:after,.groups.group-members #subnav ul:after{clear:both}.groups.manage-members #group-settings-form .item-list li span.small{display:block;float:none;margin-top:10px;width:100%}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}#buddypress #members-group-list .item-list h5{display:inline-block;margin:0}#buddypress #members-group-list .item-list span.activity{padding-left:10px}#buddypress #item-body #subnav li.groups-members-search:focus,#buddypress #item-body #subnav li.groups-members-search:hover,#buddypress #item-body #subnav li.last:focus,#buddypress #item-body #subnav li.last:hover{background:0 0}.groups.group-members #subnav ul:after,.groups.group-members #subnav ul:before{content:" ";display:table}.groups.group-members #subnav ul{padding:5px 0}.groups.group-members #subnav li #search-members-form{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;float:left}@media screen and (max-width:400px){.groups.group-members #subnav li{background:#fff;padding:10px 0;width:100%!important}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}@media screen and (min-width:783px){.groups.group-members #subnav li #search-members-form{margin-left:3px}.send-invites #buddypress #item-body{border-top:1px solid #bebebe}}@media screen and (max-width:400px){.send-invites #buddypress #item-body .left-menu{float:none}.send-invites #buddypress #item-body .left-menu #invite-list{height:auto;width:auto}.send-invites #buddypress #item-body .main-column{margin-left:0}}.send-invites #buddypress #item-body li img.avatar{display:block;float:none;margin:10px auto}.send-invites #buddypress #item-body li .action{margin-top:10px;text-align:left;width:100%}@media screen and (min-width:38.75em){.send-invites #buddypress #item-body li .action{text-align:right}}@media screen and (min-width:594px){.send-invites #buddypress #item-body #invite-list{width:160px}.send-invites #buddypress #item-body .main-column{margin-left:190px}.send-invites #buddypress #item-body li img.avatar{float:left;margin:0 10px 0 0}}#buddypress .profile .bp-widget h4{background:#999;color:#fff;padding:.4em .2em}#buddypress .profile #profile-edit-form .button-nav:after,#buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}#buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid rgba(0,0,0,.1);margin-left:0}#buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}#buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid rgba(0,0,0,.1);border-bottom-color:#fff;margin-bottom:-1px}#buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}#buddypress .profile #profile-edit-form .field-visibility-settings,#buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}#buddypress .profile #profile-edit-form .field-visibility-settings-close,#buddypress .profile #profile-edit-form .visibility-toggle-link{background:#000;color:#fff;padding:.2em .5em}#buddypress table#message-threads{border-left:1px solid rgba(0,0,0,.2);border-right:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tbody>tr:first-child td.bulk-select-check,#buddypress table#message-threads tbody>tr:first-child td.thread-from{border-top:1px solid rgba(0,0,0,.2)}#buddypress table#message-threads tr td{background:#fff;border-right:0!important;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:inline-block;float:left}#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{border-bottom-color:rgba(0,0,0,.2);border-bottom-width:2px;border-left:0;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:549px){#buddypress table#message-threads tr td.thread-options,#buddypress table#message-threads tr td.thread-star{padding-top:0}}#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{border-left:0;height:2.6em}#buddypress table#message-threads tr td.thread-from,#buddypress table#message-threads tr td.thread-options{border-left:0;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}#buddypress table#message-threads tr td.thread-info{border-left:0;padding-left:41px;width:100%}#buddypress table#message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}#buddypress table#message-threads tr td.thread-options{text-align:right}#buddypress table#message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}#buddypress table#message-threads tr span.from{display:none}#buddypress table#message-threads tr span.activity{display:block;float:right;line-height:2}@media screen and (max-width:320px){#buddypress table#message-threads tr td.bulk-select-check,#buddypress table#message-threads tr td.thread-from{height:5.2em}#buddypress table#message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}#buddypress table#message-threads tr.unread td{background:#f1f4ff;border-color:rgba(0,0,0,.2);border-top:0;border-width:1px}#buddypress table#message-threads th{display:none}#buddypress table#message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}#buddypress table#message-threads td.bulk-select-check,#buddypress table#message-threads td.thread-star,#buddypress table#message-threads th.bulk-select-all{border-right:0;width:30px}#buddypress #message-threads.sitewide-notices td,#buddypress table.profile-settings{width:100%}#buddypress #message-thread #message-subject{background:#4d4d4d;color:#fff;padding:.5em}#buddypress #message-thread .message-box .message-metadata{margin-bottom:10px}#buddypress #message-thread .message-box .message-content{clear:left;margin-left:0}#buddypress #message-threads.sitewide-notices td strong{background:#4d4d4d;color:#fff;font-size:16px;font-size:1rem;display:block;margin-bottom:.4em;padding:.2em}#buddypress #message-threads.sitewide-notices td a{display:inline-block;line-height:initial}#buddypress #message-threads.sitewide-notices td:first-child{display:none}#buddypress #message-threads.sitewide-notices td:first-child+td+td{border-bottom:0}#buddypress #message-threads.sitewide-notices td:first-child+td+td span{line-height:1}#buddypress #message-threads.sitewide-notices td:last-child{border-bottom-color:rgba(0,0,0,.2);line-height:1;text-align:right}#buddypress #message-threads.sitewide-notices td:last-child a:last-child{line-height:0;margin-left:.7em;text-indent:-999em}#buddypress #message-threads.sitewide-notices td:last-child a:last-child::after{content:attr(title);display:block;line-height:initial;text-indent:0}#buddypress #settings-form>p{font-size:20px;font-size:1.25rem}#buddypress table.notification-settings td.no,#buddypress table.notification-settings td.yes{vertical-align:middle}#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:401px){#buddypress table.profile-settings td.field-name,#buddypress table.profile-settings th.field-group-name{width:70%}}#buddypress #send-reply.standard-form textarea,#buddypress .standard-form input[type=submit],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form textarea,#buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress input[type=submit],#buddypress input[type=text],#buddypress input[type=email],#buddypress input[type=password],#buddypress select,#buddypress textarea{border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(0,0,0,.2)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{clear:both;float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid #ccc;overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:80%}#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit]{border:0;font-size:14px;font-size:.875rem;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:80%;border-right:1px solid #ccc;padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:401px){#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form label{width:auto}#buddypress div.dir-search,#buddypress div.message-search{clear:none;float:right}#buddypress div.message-search{margin:3px 0 0}}#buddypress table{border-color:rgba(0,0,0,.2)}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
@@ -672,17 +672,7 @@ $nav-background-border: #bebebe;
|
|
672 |
margin-bottom: $spacing-val-xs;
|
673 |
}
|
674 |
|
675 |
-
textarea#whats-new {
|
676 |
-
width: 100%;
|
677 |
-
}
|
678 |
-
|
679 |
#whats-new-content {
|
680 |
-
|
681 |
-
#whats-new-options[style] {
|
682 |
-
// Have to override the BP fixed height
|
683 |
-
height: auto !important;
|
684 |
-
}
|
685 |
-
|
686 |
@media screen and (max-width: 594px) {
|
687 |
#whats-new-options {
|
688 |
display: flex;
|
672 |
margin-bottom: $spacing-val-xs;
|
673 |
}
|
674 |
|
|
|
|
|
|
|
|
|
675 |
#whats-new-content {
|
|
|
|
|
|
|
|
|
|
|
|
|
676 |
@media screen and (max-width: 594px) {
|
677 |
#whats-new-options {
|
678 |
display: flex;
|
@@ -137,8 +137,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
137 |
*----------------------------------------------------------
|
138 |
*/
|
139 |
#buddypress div.item-list-tabs ul li.selected a {
|
140 |
-
background:
|
141 |
-
color: #fff;
|
142 |
opacity: 1;
|
143 |
}
|
144 |
|
@@ -154,6 +153,40 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
154 |
border-radius: 25%;
|
155 |
}
|
156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
/*__ Horizontal menus __*/
|
158 |
#buddypress #object-nav ul {
|
159 |
overflow: hidden;
|
@@ -228,13 +261,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
228 |
}
|
229 |
}
|
230 |
|
231 |
-
#budypress div.item-list-tabs ul li.selected a,
|
232 |
-
#budypress div.item-list-tabs ul li.current a {
|
233 |
-
background: #555;
|
234 |
-
color: #fff;
|
235 |
-
opacity: 1;
|
236 |
-
}
|
237 |
-
|
238 |
/*__ Vertical menu User Account / Group single screens __*/
|
239 |
@media screen and (min-width: 55em) {
|
240 |
body.no-sidebar #buddypress #item-header,
|
@@ -384,14 +410,14 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
384 |
|
385 |
#buddypress .activity-meta .button:focus,
|
386 |
#buddypress .activity-meta .button:hover {
|
387 |
-
background:
|
388 |
-
color: #
|
389 |
}
|
390 |
|
391 |
#buddypress .action .generic-button a:focus,
|
392 |
#buddypress .action .generic-button a:hover {
|
393 |
-
background:
|
394 |
-
color: #
|
395 |
}
|
396 |
|
397 |
#buddypress ul.item-list li {
|
@@ -544,10 +570,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
544 |
line-height: 1.4;
|
545 |
}
|
546 |
|
547 |
-
#buddypress form#whats-new-form textarea {
|
548 |
-
width: 100%;
|
549 |
-
}
|
550 |
-
|
551 |
@media screen and (max-width: 46.25em) {
|
552 |
#buddypress form#whats-new-form #whats-new-content {
|
553 |
clear: right;
|
@@ -556,11 +578,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
556 |
}
|
557 |
}
|
558 |
|
559 |
-
#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] {
|
560 |
-
min-height: 6rem;
|
561 |
-
overflow: visible;
|
562 |
-
}
|
563 |
-
|
564 |
#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box {
|
565 |
border: 1px solid rgba(212, 208, 186, 0.5);
|
566 |
float: right;
|
@@ -1160,36 +1177,11 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1160 |
margin-bottom: 0.5em;
|
1161 |
}
|
1162 |
|
1163 |
-
|
1164 |
-
/**
|
1165 |
*--------------------------------------------
|
1166 |
* @subsection 6.2.2.1 - classes, pag, filters
|
1167 |
*--------------------------------------------
|
1168 |
*/
|
1169 |
-
/**
|
1170 |
-
*-------------------------------------------
|
1171 |
-
* @subsection 6.2.2.2 - Extended Profiles
|
1172 |
-
*-------------------------------------------
|
1173 |
-
*/
|
1174 |
-
/**
|
1175 |
-
*-------------------------------------------
|
1176 |
-
* @subsection 6.2.2.3 - Groups
|
1177 |
-
*-------------------------------------------
|
1178 |
-
*/
|
1179 |
-
/**
|
1180 |
-
*-------------------------------------------
|
1181 |
-
* @subsection 6.2.2.5 - Private Messaging
|
1182 |
-
*-------------------------------------------
|
1183 |
-
*/
|
1184 |
-
/* Auto Complete background */
|
1185 |
-
/* Sitewide Notices loop */
|
1186 |
-
/**
|
1187 |
-
*------------------------------
|
1188 |
-
* @subsection 6.2.2.6 - Settings
|
1189 |
-
*------------------------------
|
1190 |
-
*/
|
1191 |
-
}
|
1192 |
-
|
1193 |
.bp-user #buddypress table th {
|
1194 |
font-size: 14px;
|
1195 |
font-size: 0.875rem;
|
@@ -1260,6 +1252,11 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1260 |
width: 40%;
|
1261 |
}
|
1262 |
|
|
|
|
|
|
|
|
|
|
|
1263 |
.bp-user #buddypress .profile {
|
1264 |
/* Edit profile */
|
1265 |
}
|
@@ -1325,6 +1322,11 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1325 |
font-size: inherit;
|
1326 |
}
|
1327 |
|
|
|
|
|
|
|
|
|
|
|
1328 |
@media screen and (min-width: 77.5em) {
|
1329 |
.bp-user #buddypress #groups-list li .item {
|
1330 |
right: 5%;
|
@@ -1332,6 +1334,15 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1332 |
}
|
1333 |
}
|
1334 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1335 |
.bp-user #buddypress #message-thread a {
|
1336 |
border-bottom: 0;
|
1337 |
}
|
@@ -1522,6 +1533,11 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1522 |
padding-right: 0.2em;
|
1523 |
}
|
1524 |
|
|
|
|
|
|
|
|
|
|
|
1525 |
.bp-user #buddypress #settings-form > p {
|
1526 |
font-size: 20px;
|
1527 |
font-size: 1.25rem;
|
@@ -1628,7 +1644,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1628 |
#buddypress li.groups-members-search form input[type='text'] {
|
1629 |
float: right;
|
1630 |
margin: 0;
|
1631 |
-
width:
|
1632 |
}
|
1633 |
|
1634 |
#buddypress div.dir-search form input[type='text'],
|
137 |
*----------------------------------------------------------
|
138 |
*/
|
139 |
#buddypress div.item-list-tabs ul li.selected a {
|
140 |
+
background: inherit;
|
|
|
141 |
opacity: 1;
|
142 |
}
|
143 |
|
153 |
border-radius: 25%;
|
154 |
}
|
155 |
|
156 |
+
@media screen and (max-width: 38.75em) {
|
157 |
+
.bp-user #buddypress #object-nav {
|
158 |
+
background: #f7f5e7;
|
159 |
+
border: 1px solid #eaeaea;
|
160 |
+
overflow: visible;
|
161 |
+
padding: 10px;
|
162 |
+
}
|
163 |
+
.bp-user #buddypress #object-nav ul {
|
164 |
+
border: 0;
|
165 |
+
height: 0;
|
166 |
+
transition: height 0.3s ease-in-out 0.7s;
|
167 |
+
visibility: hidden;
|
168 |
+
}
|
169 |
+
.bp-user #buddypress #object-nav:before {
|
170 |
+
content: "Menu \021E9";
|
171 |
+
display: inline;
|
172 |
+
opacity: 0.7;
|
173 |
+
}
|
174 |
+
.bp-user #buddypress #object-nav:hover:before,
|
175 |
+
.bp-user #buddypress #object-nav:focus:before {
|
176 |
+
content: "Menu \021E7";
|
177 |
+
}
|
178 |
+
.bp-user #buddypress #object-nav:hover ul,
|
179 |
+
.bp-user #buddypress #object-nav:focus ul {
|
180 |
+
height: 320px;
|
181 |
+
opacity: 1;
|
182 |
+
overflow-y: auto;
|
183 |
+
visibility: visible;
|
184 |
+
}
|
185 |
+
.bp-user #buddypress #subnav {
|
186 |
+
clear: both;
|
187 |
+
}
|
188 |
+
}
|
189 |
+
|
190 |
/*__ Horizontal menus __*/
|
191 |
#buddypress #object-nav ul {
|
192 |
overflow: hidden;
|
261 |
}
|
262 |
}
|
263 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
/*__ Vertical menu User Account / Group single screens __*/
|
265 |
@media screen and (min-width: 55em) {
|
266 |
body.no-sidebar #buddypress #item-header,
|
410 |
|
411 |
#buddypress .activity-meta .button:focus,
|
412 |
#buddypress .activity-meta .button:hover {
|
413 |
+
background: inherit;
|
414 |
+
color: #000;
|
415 |
}
|
416 |
|
417 |
#buddypress .action .generic-button a:focus,
|
418 |
#buddypress .action .generic-button a:hover {
|
419 |
+
background: inherit;
|
420 |
+
color: #000;
|
421 |
}
|
422 |
|
423 |
#buddypress ul.item-list li {
|
570 |
line-height: 1.4;
|
571 |
}
|
572 |
|
|
|
|
|
|
|
|
|
573 |
@media screen and (max-width: 46.25em) {
|
574 |
#buddypress form#whats-new-form #whats-new-content {
|
575 |
clear: right;
|
578 |
}
|
579 |
}
|
580 |
|
|
|
|
|
|
|
|
|
|
|
581 |
#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box {
|
582 |
border: 1px solid rgba(212, 208, 186, 0.5);
|
583 |
float: right;
|
1177 |
margin-bottom: 0.5em;
|
1178 |
}
|
1179 |
|
1180 |
+
/**
|
|
|
1181 |
*--------------------------------------------
|
1182 |
* @subsection 6.2.2.1 - classes, pag, filters
|
1183 |
*--------------------------------------------
|
1184 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1185 |
.bp-user #buddypress table th {
|
1186 |
font-size: 14px;
|
1187 |
font-size: 0.875rem;
|
1252 |
width: 40%;
|
1253 |
}
|
1254 |
|
1255 |
+
/**
|
1256 |
+
*-------------------------------------------
|
1257 |
+
* @subsection 6.2.2.2 - Extended Profiles
|
1258 |
+
*-------------------------------------------
|
1259 |
+
*/
|
1260 |
.bp-user #buddypress .profile {
|
1261 |
/* Edit profile */
|
1262 |
}
|
1322 |
font-size: inherit;
|
1323 |
}
|
1324 |
|
1325 |
+
/**
|
1326 |
+
*-------------------------------------------
|
1327 |
+
* @subsection 6.2.2.3 - Groups
|
1328 |
+
*-------------------------------------------
|
1329 |
+
*/
|
1330 |
@media screen and (min-width: 77.5em) {
|
1331 |
.bp-user #buddypress #groups-list li .item {
|
1332 |
right: 5%;
|
1334 |
}
|
1335 |
}
|
1336 |
|
1337 |
+
/**
|
1338 |
+
*-------------------------------------------
|
1339 |
+
* @subsection 6.2.2.5 - Private Messaging
|
1340 |
+
*-------------------------------------------
|
1341 |
+
*/
|
1342 |
+
.bp-user #buddypress {
|
1343 |
+
/* Auto Complete background */
|
1344 |
+
}
|
1345 |
+
|
1346 |
.bp-user #buddypress #message-thread a {
|
1347 |
border-bottom: 0;
|
1348 |
}
|
1533 |
padding-right: 0.2em;
|
1534 |
}
|
1535 |
|
1536 |
+
/**
|
1537 |
+
*------------------------------
|
1538 |
+
* @subsection 6.2.2.6 - Settings
|
1539 |
+
*------------------------------
|
1540 |
+
*/
|
1541 |
.bp-user #buddypress #settings-form > p {
|
1542 |
font-size: 20px;
|
1543 |
font-size: 1.25rem;
|
1644 |
#buddypress li.groups-members-search form input[type='text'] {
|
1645 |
float: right;
|
1646 |
margin: 0;
|
1647 |
+
width: 70%;
|
1648 |
}
|
1649 |
|
1650 |
#buddypress div.dir-search form input[type='text'],
|
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.buddypress div.clear{display:none}.buddypress #page a{box-shadow:none;text-decoration:none!important}.buddypress .entry-title{text-align:center}@media screen and (min-width:44.375em){.buddypress #primary{float:none;margin:0;width:auto}.buddypress #primary .entry-header{margin:0}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-right:7.6923%;margin-left:7.6923%}.buddypress .sidebar{float:none;margin-right:0;padding:0 7.6923%;width:auto}}@media screen and (min-width:61.5625em){.buddypress .entry-title{text-align:right}.buddypress #primary{float:right;margin-left:-100%;width:70%}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-right:0;margin-left:0}.buddypress .sidebar{float:right;margin-right:75%;padding:0;width:25%}}.buddypress.no-sidebar #primary{float:none;margin:0;width:auto}#buddypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f4f2df}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 0 5px 5px;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:right}#buddypress div#subnav.item-list-tabs ul li.last{text-align:left}}#budypress div.item-list-tabs ul li.current a,#budypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}@media screen and (min-width:55em){body.no-sidebar #buddypress #item-body,body.no-sidebar #buddypress #item-header{background:#fff}body.no-sidebar #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body.no-sidebar #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.no-sidebar #buddypress #object-nav ul li{float:none;overflow:hidden}body.no-sidebar #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body.no-sidebar #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 20px 0 0;width:auto}body.no-sidebar #buddypress #item-body #subnav{margin:0 -20px 0 0}body.no-sidebar #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:#e37a5a;color:#f7f5e7}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-right:15%}}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2}#buddypress ul.item-list li .item .item-title .update{font-size:12px;font-size:.75rem}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:10%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-20px;margin-right:0;padding:20px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}#buddypress form#whats-new-form textarea{width:100%}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style]{min-height:6rem;overflow:visible}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;padding-right:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:left}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-right:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:61.5625em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}@media screen and (max-width:38.75em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:16px;font-size:1rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:right;width:20%}.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:5%;width:69%}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:12px;font-size:.75rem}@media screen and (min-width:61.5625em){.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:75em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:right;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h4{background:#6e6e6e;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6e6e6e;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6e6e6e}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress .acfb-holder li.friend-tab{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;margin-left:.5em;width:20px!important}.bp-user #buddypress .sitewide-notices tr td:first-child{display:none}.bp-user #buddypress .sitewide-notices td strong{background:#6e6e6e;color:#fff;display:block;padding-right:.2em}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:100%;border-left:1px solid rgba(212,208,186,.6);padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:75em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6e6e6e;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
1 |
+
@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.buddypress div.clear{display:none}.buddypress #page a{box-shadow:none;text-decoration:none!important}.buddypress .entry-title{text-align:center}@media screen and (min-width:44.375em){.buddypress #primary{float:none;margin:0;width:auto}.buddypress #primary .entry-header{margin:0}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-right:7.6923%;margin-left:7.6923%}.buddypress .sidebar{float:none;margin-right:0;padding:0 7.6923%;width:auto}}@media screen and (min-width:61.5625em){.buddypress .entry-title{text-align:right}.buddypress #primary{float:right;margin-left:-100%;width:70%}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-right:0;margin-left:0}.buddypress .sidebar{float:right;margin-right:75%;padding:0;width:25%}}.buddypress.no-sidebar #primary{float:none;margin:0;width:auto}#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:38.75em){.bp-user #buddypress #object-nav{background:#f7f5e7;border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f4f2df}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 0 5px 5px;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:right}#buddypress div#subnav.item-list-tabs ul li.last{text-align:left}}@media screen and (min-width:55em){body.no-sidebar #buddypress #item-body,body.no-sidebar #buddypress #item-header{background:#fff}body.no-sidebar #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body.no-sidebar #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.no-sidebar #buddypress #object-nav ul li{float:none;overflow:hidden}body.no-sidebar #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body.no-sidebar #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 20px 0 0;width:auto}body.no-sidebar #buddypress #item-body #subnav{margin:0 -20px 0 0}body.no-sidebar #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:inherit;color:#000}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-right:15%}}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2}#buddypress ul.item-list li .item .item-title .update{font-size:12px;font-size:.75rem}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:10%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-20px;margin-right:0;padding:20px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;padding-right:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:left}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-right:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:61.5625em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:16px;font-size:1rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:left;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:right;width:20%}.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:left;margin-left:5%;width:69%}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:12px;font-size:.75rem}@media screen and (min-width:61.5625em){.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:75em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:right;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h4{background:#6e6e6e;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6e6e6e;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6e6e6e}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress .acfb-holder li.friend-tab{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;margin-left:.5em;width:20px!important}.bp-user #buddypress .sitewide-notices tr td:first-child{display:none}.bp-user #buddypress .sitewide-notices td strong{background:#6e6e6e;color:#fff;display:block;padding-right:.2em}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:70%;border-left:1px solid rgba(212,208,186,.6);padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:75em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6e6e6e;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
@@ -137,8 +137,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
137 |
*----------------------------------------------------------
|
138 |
*/
|
139 |
#buddypress div.item-list-tabs ul li.selected a {
|
140 |
-
background:
|
141 |
-
color: #fff;
|
142 |
opacity: 1;
|
143 |
}
|
144 |
|
@@ -154,6 +153,40 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
154 |
border-radius: 25%;
|
155 |
}
|
156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
/*__ Horizontal menus __*/
|
158 |
#buddypress #object-nav ul {
|
159 |
overflow: hidden;
|
@@ -228,13 +261,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
228 |
}
|
229 |
}
|
230 |
|
231 |
-
#budypress div.item-list-tabs ul li.selected a,
|
232 |
-
#budypress div.item-list-tabs ul li.current a {
|
233 |
-
background: #555;
|
234 |
-
color: #fff;
|
235 |
-
opacity: 1;
|
236 |
-
}
|
237 |
-
|
238 |
/*__ Vertical menu User Account / Group single screens __*/
|
239 |
@media screen and (min-width: 55em) {
|
240 |
body.no-sidebar #buddypress #item-header,
|
@@ -384,14 +410,14 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
384 |
|
385 |
#buddypress .activity-meta .button:focus,
|
386 |
#buddypress .activity-meta .button:hover {
|
387 |
-
background:
|
388 |
-
color: #
|
389 |
}
|
390 |
|
391 |
#buddypress .action .generic-button a:focus,
|
392 |
#buddypress .action .generic-button a:hover {
|
393 |
-
background:
|
394 |
-
color: #
|
395 |
}
|
396 |
|
397 |
#buddypress ul.item-list li {
|
@@ -544,10 +570,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
544 |
line-height: 1.4;
|
545 |
}
|
546 |
|
547 |
-
#buddypress form#whats-new-form textarea {
|
548 |
-
width: 100%;
|
549 |
-
}
|
550 |
-
|
551 |
@media screen and (max-width: 46.25em) {
|
552 |
#buddypress form#whats-new-form #whats-new-content {
|
553 |
clear: left;
|
@@ -556,11 +578,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
556 |
}
|
557 |
}
|
558 |
|
559 |
-
#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] {
|
560 |
-
min-height: 6rem;
|
561 |
-
overflow: visible;
|
562 |
-
}
|
563 |
-
|
564 |
#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box {
|
565 |
border: 1px solid rgba(212, 208, 186, 0.5);
|
566 |
float: left;
|
@@ -1160,36 +1177,11 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1160 |
margin-bottom: 0.5em;
|
1161 |
}
|
1162 |
|
1163 |
-
|
1164 |
-
/**
|
1165 |
*--------------------------------------------
|
1166 |
* @subsection 6.2.2.1 - classes, pag, filters
|
1167 |
*--------------------------------------------
|
1168 |
*/
|
1169 |
-
/**
|
1170 |
-
*-------------------------------------------
|
1171 |
-
* @subsection 6.2.2.2 - Extended Profiles
|
1172 |
-
*-------------------------------------------
|
1173 |
-
*/
|
1174 |
-
/**
|
1175 |
-
*-------------------------------------------
|
1176 |
-
* @subsection 6.2.2.3 - Groups
|
1177 |
-
*-------------------------------------------
|
1178 |
-
*/
|
1179 |
-
/**
|
1180 |
-
*-------------------------------------------
|
1181 |
-
* @subsection 6.2.2.5 - Private Messaging
|
1182 |
-
*-------------------------------------------
|
1183 |
-
*/
|
1184 |
-
/* Auto Complete background */
|
1185 |
-
/* Sitewide Notices loop */
|
1186 |
-
/**
|
1187 |
-
*------------------------------
|
1188 |
-
* @subsection 6.2.2.6 - Settings
|
1189 |
-
*------------------------------
|
1190 |
-
*/
|
1191 |
-
}
|
1192 |
-
|
1193 |
.bp-user #buddypress table th {
|
1194 |
font-size: 14px;
|
1195 |
font-size: 0.875rem;
|
@@ -1260,6 +1252,11 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1260 |
width: 40%;
|
1261 |
}
|
1262 |
|
|
|
|
|
|
|
|
|
|
|
1263 |
.bp-user #buddypress .profile {
|
1264 |
/* Edit profile */
|
1265 |
}
|
@@ -1325,6 +1322,11 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1325 |
font-size: inherit;
|
1326 |
}
|
1327 |
|
|
|
|
|
|
|
|
|
|
|
1328 |
@media screen and (min-width: 77.5em) {
|
1329 |
.bp-user #buddypress #groups-list li .item {
|
1330 |
left: 5%;
|
@@ -1332,6 +1334,15 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1332 |
}
|
1333 |
}
|
1334 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1335 |
.bp-user #buddypress #message-thread a {
|
1336 |
border-bottom: 0;
|
1337 |
}
|
@@ -1522,6 +1533,11 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1522 |
padding-left: 0.2em;
|
1523 |
}
|
1524 |
|
|
|
|
|
|
|
|
|
|
|
1525 |
.bp-user #buddypress #settings-form > p {
|
1526 |
font-size: 20px;
|
1527 |
font-size: 1.25rem;
|
@@ -1628,7 +1644,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1628 |
#buddypress li.groups-members-search form input[type='text'] {
|
1629 |
float: left;
|
1630 |
margin: 0;
|
1631 |
-
width:
|
1632 |
}
|
1633 |
|
1634 |
#buddypress div.dir-search form input[type='text'],
|
137 |
*----------------------------------------------------------
|
138 |
*/
|
139 |
#buddypress div.item-list-tabs ul li.selected a {
|
140 |
+
background: inherit;
|
|
|
141 |
opacity: 1;
|
142 |
}
|
143 |
|
153 |
border-radius: 25%;
|
154 |
}
|
155 |
|
156 |
+
@media screen and (max-width: 38.75em) {
|
157 |
+
.bp-user #buddypress #object-nav {
|
158 |
+
background: #f7f5e7;
|
159 |
+
border: 1px solid #eaeaea;
|
160 |
+
overflow: visible;
|
161 |
+
padding: 10px;
|
162 |
+
}
|
163 |
+
.bp-user #buddypress #object-nav ul {
|
164 |
+
border: 0;
|
165 |
+
height: 0;
|
166 |
+
transition: height 0.3s ease-in-out 0.7s;
|
167 |
+
visibility: hidden;
|
168 |
+
}
|
169 |
+
.bp-user #buddypress #object-nav:before {
|
170 |
+
content: "Menu \021E9";
|
171 |
+
display: inline;
|
172 |
+
opacity: 0.7;
|
173 |
+
}
|
174 |
+
.bp-user #buddypress #object-nav:hover:before,
|
175 |
+
.bp-user #buddypress #object-nav:focus:before {
|
176 |
+
content: "Menu \021E7";
|
177 |
+
}
|
178 |
+
.bp-user #buddypress #object-nav:hover ul,
|
179 |
+
.bp-user #buddypress #object-nav:focus ul {
|
180 |
+
height: 320px;
|
181 |
+
opacity: 1;
|
182 |
+
overflow-y: auto;
|
183 |
+
visibility: visible;
|
184 |
+
}
|
185 |
+
.bp-user #buddypress #subnav {
|
186 |
+
clear: both;
|
187 |
+
}
|
188 |
+
}
|
189 |
+
|
190 |
/*__ Horizontal menus __*/
|
191 |
#buddypress #object-nav ul {
|
192 |
overflow: hidden;
|
261 |
}
|
262 |
}
|
263 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
264 |
/*__ Vertical menu User Account / Group single screens __*/
|
265 |
@media screen and (min-width: 55em) {
|
266 |
body.no-sidebar #buddypress #item-header,
|
410 |
|
411 |
#buddypress .activity-meta .button:focus,
|
412 |
#buddypress .activity-meta .button:hover {
|
413 |
+
background: inherit;
|
414 |
+
color: #000;
|
415 |
}
|
416 |
|
417 |
#buddypress .action .generic-button a:focus,
|
418 |
#buddypress .action .generic-button a:hover {
|
419 |
+
background: inherit;
|
420 |
+
color: #000;
|
421 |
}
|
422 |
|
423 |
#buddypress ul.item-list li {
|
570 |
line-height: 1.4;
|
571 |
}
|
572 |
|
|
|
|
|
|
|
|
|
573 |
@media screen and (max-width: 46.25em) {
|
574 |
#buddypress form#whats-new-form #whats-new-content {
|
575 |
clear: left;
|
578 |
}
|
579 |
}
|
580 |
|
|
|
|
|
|
|
|
|
|
|
581 |
#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box {
|
582 |
border: 1px solid rgba(212, 208, 186, 0.5);
|
583 |
float: left;
|
1177 |
margin-bottom: 0.5em;
|
1178 |
}
|
1179 |
|
1180 |
+
/**
|
|
|
1181 |
*--------------------------------------------
|
1182 |
* @subsection 6.2.2.1 - classes, pag, filters
|
1183 |
*--------------------------------------------
|
1184 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1185 |
.bp-user #buddypress table th {
|
1186 |
font-size: 14px;
|
1187 |
font-size: 0.875rem;
|
1252 |
width: 40%;
|
1253 |
}
|
1254 |
|
1255 |
+
/**
|
1256 |
+
*-------------------------------------------
|
1257 |
+
* @subsection 6.2.2.2 - Extended Profiles
|
1258 |
+
*-------------------------------------------
|
1259 |
+
*/
|
1260 |
.bp-user #buddypress .profile {
|
1261 |
/* Edit profile */
|
1262 |
}
|
1322 |
font-size: inherit;
|
1323 |
}
|
1324 |
|
1325 |
+
/**
|
1326 |
+
*-------------------------------------------
|
1327 |
+
* @subsection 6.2.2.3 - Groups
|
1328 |
+
*-------------------------------------------
|
1329 |
+
*/
|
1330 |
@media screen and (min-width: 77.5em) {
|
1331 |
.bp-user #buddypress #groups-list li .item {
|
1332 |
left: 5%;
|
1334 |
}
|
1335 |
}
|
1336 |
|
1337 |
+
/**
|
1338 |
+
*-------------------------------------------
|
1339 |
+
* @subsection 6.2.2.5 - Private Messaging
|
1340 |
+
*-------------------------------------------
|
1341 |
+
*/
|
1342 |
+
.bp-user #buddypress {
|
1343 |
+
/* Auto Complete background */
|
1344 |
+
}
|
1345 |
+
|
1346 |
.bp-user #buddypress #message-thread a {
|
1347 |
border-bottom: 0;
|
1348 |
}
|
1533 |
padding-left: 0.2em;
|
1534 |
}
|
1535 |
|
1536 |
+
/**
|
1537 |
+
*------------------------------
|
1538 |
+
* @subsection 6.2.2.6 - Settings
|
1539 |
+
*------------------------------
|
1540 |
+
*/
|
1541 |
.bp-user #buddypress #settings-form > p {
|
1542 |
font-size: 20px;
|
1543 |
font-size: 1.25rem;
|
1644 |
#buddypress li.groups-members-search form input[type='text'] {
|
1645 |
float: left;
|
1646 |
margin: 0;
|
1647 |
+
width: 70%;
|
1648 |
}
|
1649 |
|
1650 |
#buddypress div.dir-search form input[type='text'],
|
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.buddypress div.clear{display:none}.buddypress #page a{box-shadow:none;text-decoration:none!important}.buddypress .entry-title{text-align:center}@media screen and (min-width:44.375em){.buddypress #primary{float:none;margin:0;width:auto}.buddypress #primary .entry-header{margin:0}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-left:7.6923%;margin-right:7.6923%}.buddypress .sidebar{float:none;margin-left:0;padding:0 7.6923%;width:auto}}@media screen and (min-width:61.5625em){.buddypress .entry-title{text-align:left}.buddypress #primary{float:left;margin-right:-100%;width:70%}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-left:0;margin-right:0}.buddypress .sidebar{float:left;margin-left:75%;padding:0;width:25%}}.buddypress.no-sidebar #primary{float:none;margin:0;width:auto}#buddypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f4f2df}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 5px 5px 0;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:left}#buddypress div#subnav.item-list-tabs ul li.last{text-align:right}}#budypress div.item-list-tabs ul li.current a,#budypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}@media screen and (min-width:55em){body.no-sidebar #buddypress #item-body,body.no-sidebar #buddypress #item-header{background:#fff}body.no-sidebar #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body.no-sidebar #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.no-sidebar #buddypress #object-nav ul li{float:none;overflow:hidden}body.no-sidebar #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body.no-sidebar #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 20px;width:auto}body.no-sidebar #buddypress #item-body #subnav{margin:0 0 0 -20px}body.no-sidebar #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:#e37a5a;color:#f7f5e7}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-left:15%}}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2}#buddypress ul.item-list li .item .item-title .update{font-size:12px;font-size:.75rem}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:10%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-20px;margin-left:0;padding:20px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}#buddypress form#whats-new-form textarea{width:100%}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style]{min-height:6rem;overflow:visible}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;padding-left:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:right}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-left:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:61.5625em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}@media screen and (max-width:38.75em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:16px;font-size:1rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:left;width:20%}.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:5%;width:69%}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:12px;font-size:.75rem}@media screen and (min-width:61.5625em){.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:75em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:left;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h4{background:#6e6e6e;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6e6e6e;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6e6e6e}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress .acfb-holder li.friend-tab{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;margin-right:.5em;width:20px!important}.bp-user #buddypress .sitewide-notices tr td:first-child{display:none}.bp-user #buddypress .sitewide-notices td strong{background:#6e6e6e;color:#fff;display:block;padding-left:.2em}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:100%;border-right:1px solid rgba(212,208,186,.6);padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:75em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6e6e6e;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
1 |
+
@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.buddypress div.clear{display:none}.buddypress #page a{box-shadow:none;text-decoration:none!important}.buddypress .entry-title{text-align:center}@media screen and (min-width:44.375em){.buddypress #primary{float:none;margin:0;width:auto}.buddypress #primary .entry-header{margin:0}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-left:7.6923%;margin-right:7.6923%}.buddypress .sidebar{float:none;margin-left:0;padding:0 7.6923%;width:auto}}@media screen and (min-width:61.5625em){.buddypress .entry-title{text-align:left}.buddypress #primary{float:left;margin-right:-100%;width:70%}.buddypress #primary .content-bottom-widgets,.buddypress #primary .entry-content{margin-left:0;margin-right:0}.buddypress .sidebar{float:left;margin-left:75%;padding:0;width:25%}}.buddypress.no-sidebar #primary{float:none;margin:0;width:auto}#buddypress div.item-list-tabs ul li.selected a{background:inherit;opacity:1}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:38.75em){.bp-user #buddypress #object-nav{background:#f7f5e7;border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(.selected):focus,#buddypress #object-nav ul li:not(.selected):hover{background:#f4f2df}}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 5px 5px 0;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:left}#buddypress div#subnav.item-list-tabs ul li.last{text-align:right}}@media screen and (min-width:55em){body.no-sidebar #buddypress #item-body,body.no-sidebar #buddypress #item-header{background:#fff}body.no-sidebar #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body.no-sidebar #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body.no-sidebar #buddypress #object-nav ul li{float:none;overflow:hidden}body.no-sidebar #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body.no-sidebar #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 20px;width:auto}body.no-sidebar #buddypress #item-body #subnav{margin:0 0 0 -20px}body.no-sidebar #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding-bottom:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none;min-height:0}#buddypress div.pagination:after,#buddypress div.pagination:before{height:0;width:0}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:inherit;color:#000}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-left:15%}}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2}#buddypress ul.item-list li .item .item-title .update{font-size:12px;font-size:.75rem}@media screen and (min-width:61.5625em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:10%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-20px;margin-left:0;padding:20px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:61.5625em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;padding-left:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:right}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-left:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:61.5625em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:16px;font-size:1rem}.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{float:right;width:28%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:left;width:20%}.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:right;margin-right:5%;width:69%}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:12px;font-size:.75rem}@media screen and (min-width:61.5625em){.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:75em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:left;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h4{background:#6e6e6e;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6e6e6e;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6e6e6e}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" ‖ " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:11px;font-size:.6875rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress .acfb-holder li.friend-tab{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;margin-right:.5em;width:20px!important}.bp-user #buddypress .sitewide-notices tr td:first-child{display:none}.bp-user #buddypress .sitewide-notices td strong{background:#6e6e6e;color:#fff;display:block;padding-left:.2em}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:70%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:70%;border-right:1px solid rgba(212,208,186,.6);padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:30%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:75em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6e6e6e;border-color:#b7b7b7;color:#fff}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
@@ -1,3 +1,4 @@
|
|
|
|
1 |
// Stylesheet Guidence Notes
|
2 |
// Table of content represents a guide to sections of the sheet.
|
3 |
// Note that not all sections may be described in the body of the
|
@@ -345,14 +346,13 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
345 |
ul {
|
346 |
li.selected {
|
347 |
a {
|
348 |
-
background:
|
349 |
-
color: #fff;
|
350 |
opacity: 1;
|
351 |
}
|
352 |
}
|
353 |
}
|
354 |
}
|
355 |
-
//
|
356 |
div.item-list-tabs {
|
357 |
ul {
|
358 |
background-color: $cream-background;
|
@@ -371,6 +371,55 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
371 |
|
372 |
} // close #buddypress
|
373 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
374 |
/*__ Horizontal menus __*/
|
375 |
#buddypress {
|
376 |
|
@@ -451,23 +500,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
451 |
|
452 |
} // close #buddypress
|
453 |
|
454 |
-
#budypress {
|
455 |
-
|
456 |
-
// active/current states all navs
|
457 |
-
div.item-list-tabs {
|
458 |
-
ul {
|
459 |
-
li.selected,
|
460 |
-
li.current {
|
461 |
-
a {
|
462 |
-
background: $dark-background;
|
463 |
-
color: #fff;
|
464 |
-
opacity: 1;
|
465 |
-
}
|
466 |
-
}
|
467 |
-
}
|
468 |
-
}
|
469 |
-
|
470 |
-
} // close #buddypress
|
471 |
|
472 |
/*__ Vertical menu User Account / Group single screens __*/
|
473 |
|
@@ -659,8 +691,8 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
659 |
.button {
|
660 |
&:focus,
|
661 |
&:hover {
|
662 |
-
background:
|
663 |
-
color:
|
664 |
}
|
665 |
}
|
666 |
}
|
@@ -670,8 +702,8 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
670 |
a {
|
671 |
&:focus,
|
672 |
&:hover {
|
673 |
-
background:
|
674 |
-
color:
|
675 |
}
|
676 |
}
|
677 |
}
|
@@ -840,7 +872,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
840 |
line-height: 1.4;
|
841 |
}
|
842 |
|
843 |
-
textarea {width: 100%;}
|
844 |
// corrective measure for clipped elements due to JS inline styling
|
845 |
|
846 |
@media screen and (max-width: 46.25em) {
|
@@ -853,9 +884,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
853 |
|
854 |
#whats-new-content.active {
|
855 |
#whats-new-options[style] {
|
856 |
-
min-height: 6rem; // unit open to debate px value might be better.
|
857 |
-
overflow: visible;
|
858 |
-
|
859 |
#whats-new-post-in-box {
|
860 |
border: 1px solid rgba($border-color, 0.5);
|
861 |
float: left;
|
@@ -1559,14 +1587,16 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1559 |
|
1560 |
.bp-user {
|
1561 |
.entry-title {margin-bottom: 0.5em;}
|
1562 |
-
|
1563 |
-
#buddypress {
|
1564 |
|
1565 |
/**
|
1566 |
*--------------------------------------------
|
1567 |
* @subsection 6.2.2.1 - classes, pag, filters
|
1568 |
*--------------------------------------------
|
1569 |
*/
|
|
|
|
|
|
|
1570 |
|
1571 |
table {
|
1572 |
th {@include font-size(14)}
|
@@ -1616,11 +1646,19 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1616 |
|
1617 |
} // close .notifications-options-nav
|
1618 |
|
|
|
|
|
|
|
1619 |
/**
|
1620 |
*-------------------------------------------
|
1621 |
* @subsection 6.2.2.2 - Extended Profiles
|
1622 |
*-------------------------------------------
|
1623 |
*/
|
|
|
|
|
|
|
|
|
|
|
1624 |
.profile {
|
1625 |
.bp-widget {
|
1626 |
h4 {
|
@@ -1687,12 +1725,19 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1687 |
}
|
1688 |
} // close .profile
|
1689 |
|
|
|
|
|
|
|
1690 |
/**
|
1691 |
*-------------------------------------------
|
1692 |
* @subsection 6.2.2.3 - Groups
|
1693 |
*-------------------------------------------
|
1694 |
*/
|
1695 |
|
|
|
|
|
|
|
|
|
1696 |
#groups-list {
|
1697 |
li {
|
1698 |
.item {
|
@@ -1704,12 +1749,19 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1704 |
}
|
1705 |
}
|
1706 |
|
|
|
|
|
|
|
1707 |
/**
|
1708 |
*-------------------------------------------
|
1709 |
* @subsection 6.2.2.5 - Private Messaging
|
1710 |
*-------------------------------------------
|
1711 |
*/
|
1712 |
|
|
|
|
|
|
|
|
|
1713 |
#message-thread {
|
1714 |
//Single message view
|
1715 |
a {
|
@@ -1893,7 +1945,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1893 |
}
|
1894 |
}
|
1895 |
|
1896 |
-
/* Sitewide Notices loop */
|
1897 |
.sitewide-notices {
|
1898 |
tr {
|
1899 |
td:first-child {
|
@@ -1911,12 +1962,19 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1911 |
}
|
1912 |
}
|
1913 |
|
|
|
|
|
|
|
1914 |
/**
|
1915 |
*------------------------------
|
1916 |
* @subsection 6.2.2.6 - Settings
|
1917 |
*------------------------------
|
1918 |
*/
|
1919 |
|
|
|
|
|
|
|
|
|
1920 |
#settings-form {
|
1921 |
// 'p' = email notification screen sub heading
|
1922 |
> p {
|
@@ -1957,7 +2015,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1957 |
}
|
1958 |
}
|
1959 |
|
1960 |
-
} // close #
|
1961 |
|
1962 |
} // close .bp-user
|
1963 |
|
@@ -2049,7 +2107,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
2049 |
input[type='text'] {
|
2050 |
float: left;
|
2051 |
margin: 0;
|
2052 |
-
width:
|
2053 |
}
|
2054 |
|
2055 |
input[type='text'],
|
1 |
+
|
2 |
// Stylesheet Guidence Notes
|
3 |
// Table of content represents a guide to sections of the sheet.
|
4 |
// Note that not all sections may be described in the body of the
|
346 |
ul {
|
347 |
li.selected {
|
348 |
a {
|
349 |
+
background: inherit;
|
|
|
350 |
opacity: 1;
|
351 |
}
|
352 |
}
|
353 |
}
|
354 |
}
|
355 |
+
// global nav styles
|
356 |
div.item-list-tabs {
|
357 |
ul {
|
358 |
background-color: $cream-background;
|
371 |
|
372 |
} // close #buddypress
|
373 |
|
374 |
+
// .bp-user #object-nav @ small screen as a dropdown
|
375 |
+
|
376 |
+
.bp-user {
|
377 |
+
|
378 |
+
#buddypress {
|
379 |
+
|
380 |
+
@media screen and (max-width: 38.75em) {
|
381 |
+
|
382 |
+
#object-nav {
|
383 |
+
background: $cream-background;
|
384 |
+
border: 1px solid $border-light;
|
385 |
+
overflow: visible;
|
386 |
+
padding: $spacing-val-sm;
|
387 |
+
|
388 |
+
ul {
|
389 |
+
border: 0;
|
390 |
+
height: 0;
|
391 |
+
// all latest vendor releases handle transitions, so no prefixes used.
|
392 |
+
transition: height 0.3s ease-in-out 0.7s;
|
393 |
+
visibility: hidden;
|
394 |
+
}
|
395 |
+
|
396 |
+
&:before {
|
397 |
+
content: "Menu \021E9";
|
398 |
+
display: inline;
|
399 |
+
opacity: 0.7;
|
400 |
+
}
|
401 |
+
|
402 |
+
&:hover,
|
403 |
+
&:focus {
|
404 |
+
&:before {content: "Menu \021E7";}
|
405 |
+
|
406 |
+
ul {
|
407 |
+
height: 320px;
|
408 |
+
opacity: 1;
|
409 |
+
overflow-y: auto;
|
410 |
+
visibility: visible;
|
411 |
+
}
|
412 |
+
}
|
413 |
+
}
|
414 |
+
|
415 |
+
#subnav {
|
416 |
+
clear: both;
|
417 |
+
}
|
418 |
+
|
419 |
+
} // close @media
|
420 |
+
}
|
421 |
+
}
|
422 |
+
|
423 |
/*__ Horizontal menus __*/
|
424 |
#buddypress {
|
425 |
|
500 |
|
501 |
} // close #buddypress
|
502 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
503 |
|
504 |
/*__ Vertical menu User Account / Group single screens __*/
|
505 |
|
691 |
.button {
|
692 |
&:focus,
|
693 |
&:hover {
|
694 |
+
background: inherit;
|
695 |
+
color: #000;
|
696 |
}
|
697 |
}
|
698 |
}
|
702 |
a {
|
703 |
&:focus,
|
704 |
&:hover {
|
705 |
+
background: inherit;
|
706 |
+
color: #000;
|
707 |
}
|
708 |
}
|
709 |
}
|
872 |
line-height: 1.4;
|
873 |
}
|
874 |
|
|
|
875 |
// corrective measure for clipped elements due to JS inline styling
|
876 |
|
877 |
@media screen and (max-width: 46.25em) {
|
884 |
|
885 |
#whats-new-content.active {
|
886 |
#whats-new-options[style] {
|
|
|
|
|
|
|
887 |
#whats-new-post-in-box {
|
888 |
border: 1px solid rgba($border-color, 0.5);
|
889 |
float: left;
|
1587 |
|
1588 |
.bp-user {
|
1589 |
.entry-title {margin-bottom: 0.5em;}
|
1590 |
+
}
|
|
|
1591 |
|
1592 |
/**
|
1593 |
*--------------------------------------------
|
1594 |
* @subsection 6.2.2.1 - classes, pag, filters
|
1595 |
*--------------------------------------------
|
1596 |
*/
|
1597 |
+
.bp-user {
|
1598 |
+
|
1599 |
+
#buddypress {
|
1600 |
|
1601 |
table {
|
1602 |
th {@include font-size(14)}
|
1646 |
|
1647 |
} // close .notifications-options-nav
|
1648 |
|
1649 |
+
} //close #buddypress
|
1650 |
+
} // close .bp-user
|
1651 |
+
|
1652 |
/**
|
1653 |
*-------------------------------------------
|
1654 |
* @subsection 6.2.2.2 - Extended Profiles
|
1655 |
*-------------------------------------------
|
1656 |
*/
|
1657 |
+
|
1658 |
+
.bp-user {
|
1659 |
+
|
1660 |
+
#buddypress {
|
1661 |
+
|
1662 |
.profile {
|
1663 |
.bp-widget {
|
1664 |
h4 {
|
1725 |
}
|
1726 |
} // close .profile
|
1727 |
|
1728 |
+
} // close #buddypress
|
1729 |
+
} // close .bp-user
|
1730 |
+
|
1731 |
/**
|
1732 |
*-------------------------------------------
|
1733 |
* @subsection 6.2.2.3 - Groups
|
1734 |
*-------------------------------------------
|
1735 |
*/
|
1736 |
|
1737 |
+
.bp-user {
|
1738 |
+
|
1739 |
+
#buddypress {
|
1740 |
+
|
1741 |
#groups-list {
|
1742 |
li {
|
1743 |
.item {
|
1749 |
}
|
1750 |
}
|
1751 |
|
1752 |
+
} // close #buddypress
|
1753 |
+
} // close .bp-user
|
1754 |
+
|
1755 |
/**
|
1756 |
*-------------------------------------------
|
1757 |
* @subsection 6.2.2.5 - Private Messaging
|
1758 |
*-------------------------------------------
|
1759 |
*/
|
1760 |
|
1761 |
+
.bp-user {
|
1762 |
+
|
1763 |
+
#buddypress {
|
1764 |
+
|
1765 |
#message-thread {
|
1766 |
//Single message view
|
1767 |
a {
|
1945 |
}
|
1946 |
}
|
1947 |
|
|
|
1948 |
.sitewide-notices {
|
1949 |
tr {
|
1950 |
td:first-child {
|
1962 |
}
|
1963 |
}
|
1964 |
|
1965 |
+
} // #buddypress
|
1966 |
+
} // close .bp-user
|
1967 |
+
|
1968 |
/**
|
1969 |
*------------------------------
|
1970 |
* @subsection 6.2.2.6 - Settings
|
1971 |
*------------------------------
|
1972 |
*/
|
1973 |
|
1974 |
+
.bp-user {
|
1975 |
+
|
1976 |
+
#buddypress {
|
1977 |
+
|
1978 |
#settings-form {
|
1979 |
// 'p' = email notification screen sub heading
|
1980 |
> p {
|
2015 |
}
|
2016 |
}
|
2017 |
|
2018 |
+
} // close #buddyPress
|
2019 |
|
2020 |
} // close .bp-user
|
2021 |
|
2107 |
input[type='text'] {
|
2108 |
float: left;
|
2109 |
margin: 0;
|
2110 |
+
width: 70%;
|
2111 |
}
|
2112 |
|
2113 |
input[type='text'],
|
@@ -94,16 +94,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
94 |
* The main navigational elements for all BP screens
|
95 |
*----------------------------------------------------------
|
96 |
*/
|
97 |
-
#buddypress {
|
98 |
-
/*__ Horizontal menus & small screen __*/
|
99 |
-
}
|
100 |
-
|
101 |
-
#buddypress div.item-list-tabs ul li.selected a {
|
102 |
-
background: #555;
|
103 |
-
color: #fff;
|
104 |
-
opacity: 1;
|
105 |
-
}
|
106 |
-
|
107 |
#buddypress div.item-list-tabs ul {
|
108 |
background-color: #f7f5e7;
|
109 |
border-bottom: 1px solid rgba(234, 234, 234, 0.9);
|
@@ -116,6 +106,41 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
116 |
border-radius: 25%;
|
117 |
}
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
#buddypress #object-nav ul {
|
120 |
overflow: hidden;
|
121 |
}
|
@@ -191,8 +216,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
191 |
|
192 |
#buddypress div.item-list-tabs ul li.selected a,
|
193 |
#buddypress div.item-list-tabs ul li.current a {
|
194 |
-
background:
|
195 |
-
color: #fff;
|
196 |
opacity: 1;
|
197 |
}
|
198 |
|
@@ -498,10 +522,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
498 |
line-height: 1.4;
|
499 |
}
|
500 |
|
501 |
-
#buddypress form#whats-new-form textarea {
|
502 |
-
width: 100%;
|
503 |
-
}
|
504 |
-
|
505 |
@media screen and (max-width: 46.25em) {
|
506 |
#buddypress form#whats-new-form #whats-new-content {
|
507 |
clear: right;
|
@@ -510,11 +530,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
510 |
}
|
511 |
}
|
512 |
|
513 |
-
#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] {
|
514 |
-
min-height: 6rem;
|
515 |
-
overflow: visible;
|
516 |
-
}
|
517 |
-
|
518 |
#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box {
|
519 |
border: 1px solid rgba(212, 208, 186, 0.5);
|
520 |
float: right;
|
@@ -1233,44 +1248,19 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1233 |
margin-bottom: 0.5em;
|
1234 |
}
|
1235 |
|
1236 |
-
|
1237 |
-
/**
|
1238 |
*--------------------------------------------
|
1239 |
* @subsection 6.2.2.1 - classes, pag, filters
|
1240 |
*--------------------------------------------
|
1241 |
*/
|
1242 |
-
/**
|
1243 |
-
*-------------------------------------------
|
1244 |
-
* @subsection 6.2.2.2 - Extended Profiles
|
1245 |
-
*-------------------------------------------
|
1246 |
-
*/
|
1247 |
-
/**
|
1248 |
-
*-------------------------------------------
|
1249 |
-
* @subsection 6.2.2.3 - Groups
|
1250 |
-
*-------------------------------------------
|
1251 |
-
*/
|
1252 |
-
/**
|
1253 |
-
*-------------------------------------------
|
1254 |
-
* @subsection 6.2.2.5 - Private Messaging
|
1255 |
-
*-------------------------------------------
|
1256 |
-
*/
|
1257 |
-
/* Auto Complete background */
|
1258 |
-
/* Sitewide Notices loop */
|
1259 |
-
/**
|
1260 |
-
*------------------------------
|
1261 |
-
* @subsection 6.2.2.6 - Settings
|
1262 |
-
*------------------------------
|
1263 |
-
*/
|
1264 |
-
}
|
1265 |
-
|
1266 |
.bp-user #buddypress table th {
|
1267 |
font-size: 14px;
|
1268 |
font-size: 0.875rem;
|
1269 |
}
|
1270 |
|
1271 |
.bp-user #buddypress table td {
|
1272 |
-
font-size:
|
1273 |
-
font-size: 0.
|
1274 |
}
|
1275 |
|
1276 |
@media screen and (min-width: 46.25em) {
|
@@ -1333,10 +1323,11 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1333 |
width: 40%;
|
1334 |
}
|
1335 |
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
|
|
1340 |
.bp-user #buddypress .profile .bp-widget h4 {
|
1341 |
background: #6e6e6e;
|
1342 |
color: #fff;
|
@@ -1399,6 +1390,11 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1399 |
font-size: inherit;
|
1400 |
}
|
1401 |
|
|
|
|
|
|
|
|
|
|
|
1402 |
@media screen and (min-width: 77.5em) {
|
1403 |
.bp-user #buddypress #groups-list li .item {
|
1404 |
right: 5%;
|
@@ -1406,6 +1402,16 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1406 |
}
|
1407 |
}
|
1408 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1409 |
.bp-user #buddypress #message-thread a {
|
1410 |
border-bottom: 0;
|
1411 |
}
|
@@ -1485,6 +1491,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1485 |
.bp-user #buddypress #message-threads tr td.thread-options {
|
1486 |
padding-top: 0;
|
1487 |
}
|
|
|
|
|
|
|
|
|
1488 |
}
|
1489 |
|
1490 |
.bp-user #buddypress #message-threads tr .thread-checkbox {
|
@@ -1605,6 +1615,15 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1605 |
padding-right: 0.2em;
|
1606 |
}
|
1607 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1608 |
.bp-user #buddypress #settings-form > p {
|
1609 |
font-size: 20px;
|
1610 |
font-size: 1.25rem;
|
94 |
* The main navigational elements for all BP screens
|
95 |
*----------------------------------------------------------
|
96 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
#buddypress div.item-list-tabs ul {
|
98 |
background-color: #f7f5e7;
|
99 |
border-bottom: 1px solid rgba(234, 234, 234, 0.9);
|
106 |
border-radius: 25%;
|
107 |
}
|
108 |
|
109 |
+
@media screen and (max-width: 38.75em) {
|
110 |
+
.bp-user #buddypress #object-nav {
|
111 |
+
background: #f7f5e7;
|
112 |
+
border: 1px solid #eaeaea;
|
113 |
+
overflow: visible;
|
114 |
+
padding: 10px;
|
115 |
+
}
|
116 |
+
.bp-user #buddypress #object-nav ul {
|
117 |
+
border: 0;
|
118 |
+
height: 0;
|
119 |
+
transition: height 0.3s ease-in-out 0.7s;
|
120 |
+
visibility: hidden;
|
121 |
+
}
|
122 |
+
.bp-user #buddypress #object-nav:before {
|
123 |
+
content: "Menu \021E9";
|
124 |
+
display: inline;
|
125 |
+
opacity: 0.7;
|
126 |
+
}
|
127 |
+
.bp-user #buddypress #object-nav:hover:before,
|
128 |
+
.bp-user #buddypress #object-nav:focus:before {
|
129 |
+
content: "Menu \021E7";
|
130 |
+
}
|
131 |
+
.bp-user #buddypress #object-nav:hover ul,
|
132 |
+
.bp-user #buddypress #object-nav:focus ul {
|
133 |
+
height: 320px;
|
134 |
+
opacity: 1;
|
135 |
+
overflow-y: auto;
|
136 |
+
visibility: visible;
|
137 |
+
}
|
138 |
+
.bp-user #buddypress #subnav {
|
139 |
+
clear: both;
|
140 |
+
}
|
141 |
+
}
|
142 |
+
|
143 |
+
/*__ Horizontal menus & small screen __*/
|
144 |
#buddypress #object-nav ul {
|
145 |
overflow: hidden;
|
146 |
}
|
216 |
|
217 |
#buddypress div.item-list-tabs ul li.selected a,
|
218 |
#buddypress div.item-list-tabs ul li.current a {
|
219 |
+
background: none;
|
|
|
220 |
opacity: 1;
|
221 |
}
|
222 |
|
522 |
line-height: 1.4;
|
523 |
}
|
524 |
|
|
|
|
|
|
|
|
|
525 |
@media screen and (max-width: 46.25em) {
|
526 |
#buddypress form#whats-new-form #whats-new-content {
|
527 |
clear: right;
|
530 |
}
|
531 |
}
|
532 |
|
|
|
|
|
|
|
|
|
|
|
533 |
#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box {
|
534 |
border: 1px solid rgba(212, 208, 186, 0.5);
|
535 |
float: right;
|
1248 |
margin-bottom: 0.5em;
|
1249 |
}
|
1250 |
|
1251 |
+
/**
|
|
|
1252 |
*--------------------------------------------
|
1253 |
* @subsection 6.2.2.1 - classes, pag, filters
|
1254 |
*--------------------------------------------
|
1255 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1256 |
.bp-user #buddypress table th {
|
1257 |
font-size: 14px;
|
1258 |
font-size: 0.875rem;
|
1259 |
}
|
1260 |
|
1261 |
.bp-user #buddypress table td {
|
1262 |
+
font-size: 13px;
|
1263 |
+
font-size: 0.8125rem;
|
1264 |
}
|
1265 |
|
1266 |
@media screen and (min-width: 46.25em) {
|
1323 |
width: 40%;
|
1324 |
}
|
1325 |
|
1326 |
+
/**
|
1327 |
+
*-------------------------------------------
|
1328 |
+
* @subsection 6.2.2.2 - Extended Profiles
|
1329 |
+
*-------------------------------------------
|
1330 |
+
*/
|
1331 |
.bp-user #buddypress .profile .bp-widget h4 {
|
1332 |
background: #6e6e6e;
|
1333 |
color: #fff;
|
1390 |
font-size: inherit;
|
1391 |
}
|
1392 |
|
1393 |
+
/**
|
1394 |
+
*-------------------------------------------
|
1395 |
+
* @subsection 6.2.2.3 - Groups
|
1396 |
+
*-------------------------------------------
|
1397 |
+
*/
|
1398 |
@media screen and (min-width: 77.5em) {
|
1399 |
.bp-user #buddypress #groups-list li .item {
|
1400 |
right: 5%;
|
1402 |
}
|
1403 |
}
|
1404 |
|
1405 |
+
/**
|
1406 |
+
*-------------------------------------------
|
1407 |
+
* @subsection 6.2.2.5 - Private Messaging
|
1408 |
+
*-------------------------------------------
|
1409 |
+
*/
|
1410 |
+
.bp-user #buddypress {
|
1411 |
+
/* Auto Complete background */
|
1412 |
+
/* Sitewide Notices loop */
|
1413 |
+
}
|
1414 |
+
|
1415 |
.bp-user #buddypress #message-thread a {
|
1416 |
border-bottom: 0;
|
1417 |
}
|
1491 |
.bp-user #buddypress #message-threads tr td.thread-options {
|
1492 |
padding-top: 0;
|
1493 |
}
|
1494 |
+
.bp-user #buddypress #message-threads tr td.thread-star span.icon:before,
|
1495 |
+
.bp-user #buddypress #message-threads tr td.thread-options span.icon:before {
|
1496 |
+
font-size: 14px;
|
1497 |
+
}
|
1498 |
}
|
1499 |
|
1500 |
.bp-user #buddypress #message-threads tr .thread-checkbox {
|
1615 |
padding-right: 0.2em;
|
1616 |
}
|
1617 |
|
1618 |
+
/**
|
1619 |
+
*------------------------------
|
1620 |
+
* @subsection 6.2.2.6 - Settings
|
1621 |
+
*------------------------------
|
1622 |
+
*/
|
1623 |
+
.bp-user #buddypress #settings-form {
|
1624 |
+
padding: 0 10px;
|
1625 |
+
}
|
1626 |
+
|
1627 |
.bp-user #buddypress #settings-form > p {
|
1628 |
font-size: 20px;
|
1629 |
font-size: 1.25rem;
|
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.buddypress div.clear{display:none}@media (max-width:999px){.buddypress #content{padding:0 20px}}@media (max-width:643px){.buddypress #content{padding:0}}.buddypress .entry-content,.buddypress .entry-header,.buddypress .entry-meta,.buddypress .entry-summary{max-width:890px}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#f4f2df}#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 0 5px 5px;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:right}#buddypress div#subnav.item-list-tabs ul li.last{text-align:left}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}@media screen and (min-width:55em){body:not(.sidebar) #buddypress #item-body,body:not(.sidebar) #buddypress #item-header{background:#fff}body:not(.sidebar) #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body:not(.sidebar) #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body:not(.sidebar) #buddypress #object-nav ul li{float:none;overflow:hidden}body:not(.sidebar) #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body:not(.sidebar) #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 20px 0 0;width:auto}body:not(.sidebar) #buddypress #item-body #subnav{margin:0 -20px 0 0}body:not(.sidebar) #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:#e37a5a;color:#f7f5e7}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-right:15%}}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2}#buddypress ul.item-list li .item .item-title .update{font-size:12px;font-size:.75rem}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:10%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-20px;margin-right:0;padding:20px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}#buddypress form#whats-new-form textarea{width:100%}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style]{min-height:6rem;overflow:visible}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;padding-right:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:left}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-right:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user .entry-header,.single-item.groups .entry-header{margin-bottom:0}.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{color:#8c8c7f;font-size:32px;font-size:2rem;margin-bottom:10px;text-align:center}@media screen and (min-width:46.25em){.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{text-align:right}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}@media screen and (max-width:38.75em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{clear:both;float:left;width:28%}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem}}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border:0;float:none;width:auto}@media screen and (max-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{clear:both!important}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content{padding-right:10px}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content #item-buttons{margin-top:0}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border-right:1px solid #eaeaea;clear:none;float:left;margin-top:230px!important;padding-top:0!important;width:20%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{display:block;text-align:center}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:right;width:auto}.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:none;overflow:hidden}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{text-align:right}.bp-user #buddypress #item-header #item-header-content #item-meta{margin-top:0}.bp-user #buddypress #item-header-cover-image #item-header-content .user-nicename{margin-bottom:20px}.bp-user #buddypress #item-header-cover-image #item-header-content #item-buttons{margin:0}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}#buddypress div.invite .left-menu{float:none}#buddypress div.invite #invite-list{border:1px solid #eaeaea;height:auto;min-height:3.125em;padding:0 .3em .5em;width:auto}#buddypress div.invite #invite-list ul{padding-right:0}#buddypress div.invite .main-column{margin-right:0}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:12px;font-size:.75rem}@media screen and (min-width:46.25em){#buddypress div.invite .left-menu{float:right}#buddypress div.invite #invite-list{width:220px}#buddypress div.invite .main-column{margin-right:235px}.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:right;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h4{background:#6e6e6e;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0;padding:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6e6e6e;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6e6e6e}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr .thread-checkbox{padding:0 .3em 0 0}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-info .thread-excerpt{font-size:14px;font-size:.875rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:12px;font-size:.75rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress .acfb-holder li.friend-tab{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;margin-left:.5em;width:20px!important}.bp-user #buddypress .sitewide-notices tr td:first-child{display:none}.bp-user #buddypress .sitewide-notices td strong{background:#6e6e6e;color:#fff;display:block;padding-right:.2em}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:80%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:80%;border-left:1px solid rgba(212,208,186,.6);padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6e6e6e;border-color:#b7b7b7;color:#fff}#buddypress table td,#buddypress table th{padding:.3em}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
1 |
+
@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.buddypress div.clear{display:none}@media (max-width:999px){.buddypress #content{padding:0 20px}}@media (max-width:643px){.buddypress #content{padding:0}}.buddypress .entry-content,.buddypress .entry-header,.buddypress .entry-meta,.buddypress .entry-summary{max-width:890px}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:38.75em){.bp-user #buddypress #object-nav{background:#f7f5e7;border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#f4f2df}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 0 5px 5px;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:right}#buddypress div#subnav.item-list-tabs ul li.last{text-align:left}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:0 0;opacity:1}@media screen and (min-width:55em){body:not(.sidebar) #buddypress #item-body,body:not(.sidebar) #buddypress #item-header{background:#fff}body:not(.sidebar) #buddypress #object-nav{border-left:1px solid #ddd;float:right;margin-left:-1px;width:200px}body:not(.sidebar) #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body:not(.sidebar) #buddypress #object-nav ul li{float:none;overflow:hidden}body:not(.sidebar) #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:left;margin-left:2px}body:not(.sidebar) #buddypress #item-body{border-right:1px solid #ddd;overflow:hidden;padding:0 20px 0 0;width:auto}body:not(.sidebar) #buddypress #item-body #subnav{margin:0 -20px 0 0}body:not(.sidebar) #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:right;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-right:0}#buddypress div.pagination .pagination-links{margin-left:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{right:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;left:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:#e37a5a;color:#f7f5e7}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:right}}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-right:15%}}#buddypress ul.item-list li .item .item-desc{margin-right:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2}#buddypress ul.item-list li .item .item-title .update{font-size:12px;font-size:.75rem}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:right}#buddypress ul.item-list li .item{right:10%;margin-right:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:right;float:none;margin-bottom:-20px;margin-right:0;padding:20px 0 5px;position:relative;text-align:right;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:left;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 0 10px 10px;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:left;float:left;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:right;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:right;line-height:1.5em;margin-top:12px;padding-right:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:left;margin:0;min-height:1.5em;padding-right:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:left}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-right:0;width:60px}#buddypress #activity-stream li .activity-content{margin-right:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:right;margin-left:10px;text-align:right}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-right:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-left:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-right:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 2px 0 0}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:right}#buddypress #members-list li .action{float:left}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:left}#buddypress #signup_form.standard-form #basic-details-section{float:right}}.bp-user .entry-header,.single-item.groups .entry-header{margin-bottom:0}.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{color:#8c8c7f;font-size:32px;font-size:2rem;margin-bottom:10px;text-align:center}@media screen and (min-width:46.25em){.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{text-align:right}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:right}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-left:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-right:1px solid #eaeaea;clear:none;float:left;padding-right:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-right:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:right}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-right:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{clear:both;float:left;width:28%}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem}}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border:0;float:none;width:auto}@media screen and (max-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{clear:both!important}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content{padding-right:10px}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content #item-buttons{margin-top:0}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border-right:1px solid #eaeaea;clear:none;float:left;margin-top:230px!important;padding-top:0!important;width:20%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{display:block;text-align:center}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:right;width:auto}.bp-user #buddypress #item-header #item-header-avatar a{float:right}.bp-user #buddypress #item-header #item-header-content{float:none;overflow:hidden}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{text-align:right}.bp-user #buddypress #item-header #item-header-content #item-meta{margin-top:0}.bp-user #buddypress #item-header-cover-image #item-header-content .user-nicename{margin-bottom:20px}.bp-user #buddypress #item-header-cover-image #item-header-content #item-buttons{margin:0}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:right}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:right;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:left;margin:5px 0 0 5px}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}#buddypress div.invite .left-menu{float:none}#buddypress div.invite #invite-list{border:1px solid #eaeaea;height:auto;min-height:3.125em;padding:0 .3em .5em;width:auto}#buddypress div.invite #invite-list ul{padding-right:0}#buddypress div.invite .main-column{margin-right:0}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:13px;font-size:.8125rem}@media screen and (min-width:46.25em){#buddypress div.invite .left-menu{float:right}#buddypress div.invite #invite-list{width:220px}#buddypress div.invite .main-column{margin-right:235px}.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:right;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:right;margin-left:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:left;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h4{background:#6e6e6e;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-right:0;padding:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:right;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{right:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6e6e6e;color:#fff;padding:.3em .2em .3em 0}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:right}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:left;margin-left:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6e6e6e}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:right}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}.bp-user #buddypress #message-threads tr td.thread-options span.icon:before,.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px}}.bp-user #buddypress #message-threads tr .thread-checkbox{padding:0 .3em 0 0}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-right:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-right:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-right:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-info .thread-excerpt{font-size:14px;font-size:.875rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:left}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:left;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:12px;font-size:.75rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:right}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-left:0;width:30px}.bp-user #buddypress .acfb-holder li.friend-tab{margin-left:0}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;margin-left:.5em;width:20px!important}.bp-user #buddypress .sitewide-notices tr td:first-child{display:none}.bp-user #buddypress .sitewide-notices td strong{background:#6e6e6e;color:#fff;display:block;padding-right:.2em}.bp-user #buddypress #settings-form{padding:0 10px}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-left:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:right;width:80%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:right;margin:0;width:80%;border-left:1px solid rgba(212,208,186,.6);padding:.2em .2em .2em 0}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:left;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:left;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6e6e6e;border-color:#b7b7b7;color:#fff}#buddypress table td,#buddypress table th{padding:.3em}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
@@ -94,16 +94,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
94 |
* The main navigational elements for all BP screens
|
95 |
*----------------------------------------------------------
|
96 |
*/
|
97 |
-
#buddypress {
|
98 |
-
/*__ Horizontal menus & small screen __*/
|
99 |
-
}
|
100 |
-
|
101 |
-
#buddypress div.item-list-tabs ul li.selected a {
|
102 |
-
background: #555;
|
103 |
-
color: #fff;
|
104 |
-
opacity: 1;
|
105 |
-
}
|
106 |
-
|
107 |
#buddypress div.item-list-tabs ul {
|
108 |
background-color: #f7f5e7;
|
109 |
border-bottom: 1px solid rgba(234, 234, 234, 0.9);
|
@@ -116,6 +106,41 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
116 |
border-radius: 25%;
|
117 |
}
|
118 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
119 |
#buddypress #object-nav ul {
|
120 |
overflow: hidden;
|
121 |
}
|
@@ -191,8 +216,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
191 |
|
192 |
#buddypress div.item-list-tabs ul li.selected a,
|
193 |
#buddypress div.item-list-tabs ul li.current a {
|
194 |
-
background:
|
195 |
-
color: #fff;
|
196 |
opacity: 1;
|
197 |
}
|
198 |
|
@@ -498,10 +522,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
498 |
line-height: 1.4;
|
499 |
}
|
500 |
|
501 |
-
#buddypress form#whats-new-form textarea {
|
502 |
-
width: 100%;
|
503 |
-
}
|
504 |
-
|
505 |
@media screen and (max-width: 46.25em) {
|
506 |
#buddypress form#whats-new-form #whats-new-content {
|
507 |
clear: left;
|
@@ -510,11 +530,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
510 |
}
|
511 |
}
|
512 |
|
513 |
-
#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] {
|
514 |
-
min-height: 6rem;
|
515 |
-
overflow: visible;
|
516 |
-
}
|
517 |
-
|
518 |
#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box {
|
519 |
border: 1px solid rgba(212, 208, 186, 0.5);
|
520 |
float: left;
|
@@ -1233,44 +1248,19 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1233 |
margin-bottom: 0.5em;
|
1234 |
}
|
1235 |
|
1236 |
-
|
1237 |
-
/**
|
1238 |
*--------------------------------------------
|
1239 |
* @subsection 6.2.2.1 - classes, pag, filters
|
1240 |
*--------------------------------------------
|
1241 |
*/
|
1242 |
-
/**
|
1243 |
-
*-------------------------------------------
|
1244 |
-
* @subsection 6.2.2.2 - Extended Profiles
|
1245 |
-
*-------------------------------------------
|
1246 |
-
*/
|
1247 |
-
/**
|
1248 |
-
*-------------------------------------------
|
1249 |
-
* @subsection 6.2.2.3 - Groups
|
1250 |
-
*-------------------------------------------
|
1251 |
-
*/
|
1252 |
-
/**
|
1253 |
-
*-------------------------------------------
|
1254 |
-
* @subsection 6.2.2.5 - Private Messaging
|
1255 |
-
*-------------------------------------------
|
1256 |
-
*/
|
1257 |
-
/* Auto Complete background */
|
1258 |
-
/* Sitewide Notices loop */
|
1259 |
-
/**
|
1260 |
-
*------------------------------
|
1261 |
-
* @subsection 6.2.2.6 - Settings
|
1262 |
-
*------------------------------
|
1263 |
-
*/
|
1264 |
-
}
|
1265 |
-
|
1266 |
.bp-user #buddypress table th {
|
1267 |
font-size: 14px;
|
1268 |
font-size: 0.875rem;
|
1269 |
}
|
1270 |
|
1271 |
.bp-user #buddypress table td {
|
1272 |
-
font-size:
|
1273 |
-
font-size: 0.
|
1274 |
}
|
1275 |
|
1276 |
@media screen and (min-width: 46.25em) {
|
@@ -1333,10 +1323,11 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1333 |
width: 40%;
|
1334 |
}
|
1335 |
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
|
|
|
1340 |
.bp-user #buddypress .profile .bp-widget h4 {
|
1341 |
background: #6e6e6e;
|
1342 |
color: #fff;
|
@@ -1399,6 +1390,11 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1399 |
font-size: inherit;
|
1400 |
}
|
1401 |
|
|
|
|
|
|
|
|
|
|
|
1402 |
@media screen and (min-width: 77.5em) {
|
1403 |
.bp-user #buddypress #groups-list li .item {
|
1404 |
left: 5%;
|
@@ -1406,6 +1402,16 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1406 |
}
|
1407 |
}
|
1408 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1409 |
.bp-user #buddypress #message-thread a {
|
1410 |
border-bottom: 0;
|
1411 |
}
|
@@ -1485,6 +1491,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1485 |
.bp-user #buddypress #message-threads tr td.thread-options {
|
1486 |
padding-top: 0;
|
1487 |
}
|
|
|
|
|
|
|
|
|
1488 |
}
|
1489 |
|
1490 |
.bp-user #buddypress #message-threads tr .thread-checkbox {
|
@@ -1605,6 +1615,15 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1605 |
padding-left: 0.2em;
|
1606 |
}
|
1607 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1608 |
.bp-user #buddypress #settings-form > p {
|
1609 |
font-size: 20px;
|
1610 |
font-size: 1.25rem;
|
94 |
* The main navigational elements for all BP screens
|
95 |
*----------------------------------------------------------
|
96 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
97 |
#buddypress div.item-list-tabs ul {
|
98 |
background-color: #f7f5e7;
|
99 |
border-bottom: 1px solid rgba(234, 234, 234, 0.9);
|
106 |
border-radius: 25%;
|
107 |
}
|
108 |
|
109 |
+
@media screen and (max-width: 38.75em) {
|
110 |
+
.bp-user #buddypress #object-nav {
|
111 |
+
background: #f7f5e7;
|
112 |
+
border: 1px solid #eaeaea;
|
113 |
+
overflow: visible;
|
114 |
+
padding: 10px;
|
115 |
+
}
|
116 |
+
.bp-user #buddypress #object-nav ul {
|
117 |
+
border: 0;
|
118 |
+
height: 0;
|
119 |
+
transition: height 0.3s ease-in-out 0.7s;
|
120 |
+
visibility: hidden;
|
121 |
+
}
|
122 |
+
.bp-user #buddypress #object-nav:before {
|
123 |
+
content: "Menu \021E9";
|
124 |
+
display: inline;
|
125 |
+
opacity: 0.7;
|
126 |
+
}
|
127 |
+
.bp-user #buddypress #object-nav:hover:before,
|
128 |
+
.bp-user #buddypress #object-nav:focus:before {
|
129 |
+
content: "Menu \021E7";
|
130 |
+
}
|
131 |
+
.bp-user #buddypress #object-nav:hover ul,
|
132 |
+
.bp-user #buddypress #object-nav:focus ul {
|
133 |
+
height: 320px;
|
134 |
+
opacity: 1;
|
135 |
+
overflow-y: auto;
|
136 |
+
visibility: visible;
|
137 |
+
}
|
138 |
+
.bp-user #buddypress #subnav {
|
139 |
+
clear: both;
|
140 |
+
}
|
141 |
+
}
|
142 |
+
|
143 |
+
/*__ Horizontal menus & small screen __*/
|
144 |
#buddypress #object-nav ul {
|
145 |
overflow: hidden;
|
146 |
}
|
216 |
|
217 |
#buddypress div.item-list-tabs ul li.selected a,
|
218 |
#buddypress div.item-list-tabs ul li.current a {
|
219 |
+
background: none;
|
|
|
220 |
opacity: 1;
|
221 |
}
|
222 |
|
522 |
line-height: 1.4;
|
523 |
}
|
524 |
|
|
|
|
|
|
|
|
|
525 |
@media screen and (max-width: 46.25em) {
|
526 |
#buddypress form#whats-new-form #whats-new-content {
|
527 |
clear: left;
|
530 |
}
|
531 |
}
|
532 |
|
|
|
|
|
|
|
|
|
|
|
533 |
#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box {
|
534 |
border: 1px solid rgba(212, 208, 186, 0.5);
|
535 |
float: left;
|
1248 |
margin-bottom: 0.5em;
|
1249 |
}
|
1250 |
|
1251 |
+
/**
|
|
|
1252 |
*--------------------------------------------
|
1253 |
* @subsection 6.2.2.1 - classes, pag, filters
|
1254 |
*--------------------------------------------
|
1255 |
*/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1256 |
.bp-user #buddypress table th {
|
1257 |
font-size: 14px;
|
1258 |
font-size: 0.875rem;
|
1259 |
}
|
1260 |
|
1261 |
.bp-user #buddypress table td {
|
1262 |
+
font-size: 13px;
|
1263 |
+
font-size: 0.8125rem;
|
1264 |
}
|
1265 |
|
1266 |
@media screen and (min-width: 46.25em) {
|
1323 |
width: 40%;
|
1324 |
}
|
1325 |
|
1326 |
+
/**
|
1327 |
+
*-------------------------------------------
|
1328 |
+
* @subsection 6.2.2.2 - Extended Profiles
|
1329 |
+
*-------------------------------------------
|
1330 |
+
*/
|
1331 |
.bp-user #buddypress .profile .bp-widget h4 {
|
1332 |
background: #6e6e6e;
|
1333 |
color: #fff;
|
1390 |
font-size: inherit;
|
1391 |
}
|
1392 |
|
1393 |
+
/**
|
1394 |
+
*-------------------------------------------
|
1395 |
+
* @subsection 6.2.2.3 - Groups
|
1396 |
+
*-------------------------------------------
|
1397 |
+
*/
|
1398 |
@media screen and (min-width: 77.5em) {
|
1399 |
.bp-user #buddypress #groups-list li .item {
|
1400 |
left: 5%;
|
1402 |
}
|
1403 |
}
|
1404 |
|
1405 |
+
/**
|
1406 |
+
*-------------------------------------------
|
1407 |
+
* @subsection 6.2.2.5 - Private Messaging
|
1408 |
+
*-------------------------------------------
|
1409 |
+
*/
|
1410 |
+
.bp-user #buddypress {
|
1411 |
+
/* Auto Complete background */
|
1412 |
+
/* Sitewide Notices loop */
|
1413 |
+
}
|
1414 |
+
|
1415 |
.bp-user #buddypress #message-thread a {
|
1416 |
border-bottom: 0;
|
1417 |
}
|
1491 |
.bp-user #buddypress #message-threads tr td.thread-options {
|
1492 |
padding-top: 0;
|
1493 |
}
|
1494 |
+
.bp-user #buddypress #message-threads tr td.thread-star span.icon:before,
|
1495 |
+
.bp-user #buddypress #message-threads tr td.thread-options span.icon:before {
|
1496 |
+
font-size: 14px;
|
1497 |
+
}
|
1498 |
}
|
1499 |
|
1500 |
.bp-user #buddypress #message-threads tr .thread-checkbox {
|
1615 |
padding-left: 0.2em;
|
1616 |
}
|
1617 |
|
1618 |
+
/**
|
1619 |
+
*------------------------------
|
1620 |
+
* @subsection 6.2.2.6 - Settings
|
1621 |
+
*------------------------------
|
1622 |
+
*/
|
1623 |
+
.bp-user #buddypress #settings-form {
|
1624 |
+
padding: 0 10px;
|
1625 |
+
}
|
1626 |
+
|
1627 |
.bp-user #buddypress #settings-form > p {
|
1628 |
font-size: 20px;
|
1629 |
font-size: 1.25rem;
|
@@ -1 +1 @@
|
|
1 |
-
@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.buddypress div.clear{display:none}@media (max-width:999px){.buddypress #content{padding:0 20px}}@media (max-width:643px){.buddypress #content{padding:0}}.buddypress .entry-content,.buddypress .entry-header,.buddypress .entry-meta,.buddypress .entry-summary{max-width:890px}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#f4f2df}#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 5px 5px 0;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:left}#buddypress div#subnav.item-list-tabs ul li.last{text-align:right}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:#555;color:#fff;opacity:1}@media screen and (min-width:55em){body:not(.sidebar) #buddypress #item-body,body:not(.sidebar) #buddypress #item-header{background:#fff}body:not(.sidebar) #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body:not(.sidebar) #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body:not(.sidebar) #buddypress #object-nav ul li{float:none;overflow:hidden}body:not(.sidebar) #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body:not(.sidebar) #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 20px;width:auto}body:not(.sidebar) #buddypress #item-body #subnav{margin:0 0 0 -20px}body:not(.sidebar) #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:#e37a5a;color:#f7f5e7}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-left:15%}}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2}#buddypress ul.item-list li .item .item-title .update{font-size:12px;font-size:.75rem}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:10%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-20px;margin-left:0;padding:20px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}#buddypress form#whats-new-form textarea{width:100%}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style]{min-height:6rem;overflow:visible}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;padding-left:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:right}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-left:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user .entry-header,.single-item.groups .entry-header{margin-bottom:0}.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{color:#8c8c7f;font-size:32px;font-size:2rem;margin-bottom:10px;text-align:center}@media screen and (min-width:46.25em){.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{text-align:left}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}@media screen and (max-width:38.75em){.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{clear:both;float:right;width:28%}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem}}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border:0;float:none;width:auto}@media screen and (max-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{clear:both!important}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content{padding-left:10px}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content #item-buttons{margin-top:0}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border-left:1px solid #eaeaea;clear:none;float:right;margin-top:230px!important;padding-top:0!important;width:20%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{display:block;text-align:center}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:left;width:auto}.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:none;overflow:hidden}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{text-align:left}.bp-user #buddypress #item-header #item-header-content #item-meta{margin-top:0}.bp-user #buddypress #item-header-cover-image #item-header-content .user-nicename{margin-bottom:20px}.bp-user #buddypress #item-header-cover-image #item-header-content #item-buttons{margin:0}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}#buddypress div.invite .left-menu{float:none}#buddypress div.invite #invite-list{border:1px solid #eaeaea;height:auto;min-height:3.125em;padding:0 .3em .5em;width:auto}#buddypress div.invite #invite-list ul{padding-left:0}#buddypress div.invite .main-column{margin-left:0}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:12px;font-size:.75rem}@media screen and (min-width:46.25em){#buddypress div.invite .left-menu{float:left}#buddypress div.invite #invite-list{width:220px}#buddypress div.invite .main-column{margin-left:235px}.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:left;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h4{background:#6e6e6e;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0;padding:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6e6e6e;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6e6e6e}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}}.bp-user #buddypress #message-threads tr .thread-checkbox{padding:0 0 0 .3em}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-info .thread-excerpt{font-size:14px;font-size:.875rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:12px;font-size:.75rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress .acfb-holder li.friend-tab{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;margin-right:.5em;width:20px!important}.bp-user #buddypress .sitewide-notices tr td:first-child{display:none}.bp-user #buddypress .sitewide-notices td strong{background:#6e6e6e;color:#fff;display:block;padding-left:.2em}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form input[type=email],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:80%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:80%;border-right:1px solid rgba(212,208,186,.6);padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6e6e6e;border-color:#b7b7b7;color:#fff}#buddypress table td,#buddypress table th{padding:.3em}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
1 |
+
@charset "UTF-8";#buddypress #activity-stream .load-more:focus a,#buddypress #activity-stream .load-more:hover a,#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress ul.item-list li .item span.activity,#buddypress ul.item-list li div.action .meta,.bp-user #buddypress #message-thread #message-recipients,.bp-user #buddypress .pag-count{font-style:italic}.buddypress div.clear{display:none}@media (max-width:999px){.buddypress #content{padding:0 20px}}@media (max-width:643px){.buddypress #content{padding:0}}.buddypress .entry-content,.buddypress .entry-header,.buddypress .entry-meta,.buddypress .entry-summary{max-width:890px}#buddypress div.item-list-tabs ul{background-color:#f7f5e7;border-bottom:1px solid rgba(234,234,234,.9);border-top:1px solid rgba(234,234,234,.9);overflow:hidden;padding:0}#buddypress div.item-list-tabs ul li a span{border-radius:25%}@media screen and (max-width:38.75em){.bp-user #buddypress #object-nav{background:#f7f5e7;border:1px solid #eaeaea;overflow:visible;padding:10px}.bp-user #buddypress #object-nav ul{border:0;height:0;transition:height .3s ease-in-out .7s;visibility:hidden}.bp-user #buddypress #object-nav:before{content:"Menu \021E9";display:inline;opacity:.7}.bp-user #buddypress #object-nav:focus:before,.bp-user #buddypress #object-nav:hover:before{content:"Menu \021E7"}.bp-user #buddypress #object-nav:focus ul,.bp-user #buddypress #object-nav:hover ul{height:320px;opacity:1;overflow-y:auto;visibility:visible}.bp-user #buddypress #subnav{clear:both}#buddypress #object-nav ul li:focus,#buddypress #object-nav ul li:hover{background:#f4f2df}}#buddypress #object-nav ul{overflow:hidden}#buddypress #object-nav ul li{float:none}@media screen and (max-width:38.75em){#buddypress #object-nav ul li:not(:last-child){border-bottom:1px solid #eaeaea}}#buddypress #object-nav ul li:not(.selected) a{opacity:.7}#buddypress div#subnav.item-list-tabs{margin-top:0}#buddypress div#subnav.item-list-tabs ul{background-color:#f7f7f7;border-bottom:0;margin-top:5px;padding:0}#buddypress div#subnav.item-list-tabs ul li.last{background:#fff;margin-top:0;padding:5px 5px 5px 0;width:100%}#buddypress div#subnav.item-list-tabs ul li.last select,#buddypress div#subnav.item-list-tabs ul li.last select:focus{background:0 0;border:0;outline:0}#buddypress div#subnav.item-list-tabs ul li.last label,#buddypress div#subnav.item-list-tabs ul li.last option,#buddypress div#subnav.item-list-tabs ul li.last select{font-size:14px;font-size:.875rem}@media screen and (min-width:38.75em){#buddypress #object-nav ul li{float:left}#buddypress div#subnav.item-list-tabs ul li.last{text-align:right}}#buddypress div.item-list-tabs ul li.current a,#buddypress div.item-list-tabs ul li.selected a{background:0 0;opacity:1}@media screen and (min-width:55em){body:not(.sidebar) #buddypress #item-body,body:not(.sidebar) #buddypress #item-header{background:#fff}body:not(.sidebar) #buddypress #object-nav{border-right:1px solid #ddd;float:left;margin-right:-1px;width:200px}body:not(.sidebar) #buddypress #object-nav ul{background:0 0;border-bottom:0;padding:0}body:not(.sidebar) #buddypress #object-nav ul li{float:none;overflow:hidden}body:not(.sidebar) #buddypress #object-nav ul li span{background:#fff;border-radius:10%;float:right;margin-right:2px}body:not(.sidebar) #buddypress #item-body{border-left:1px solid #ddd;overflow:hidden;padding:0 0 0 20px;width:auto}body:not(.sidebar) #buddypress #item-body #subnav{margin:0 0 0 -20px}body:not(.sidebar) #buddypress #item-body #subnav ul{margin-top:0}}@media screen and (min-width:46.25em){#main #buddypress #group-create-tabs.item-list-tabs ul:after,#main #buddypress #group-create-tabs.item-list-tabs ul:before{content:" ";display:table}#main #buddypress #group-create-tabs.item-list-tabs ul:after{clear:both}#main #buddypress #group-create-tabs.item-list-tabs ul{background:0 0;border:0;border-bottom:1px solid #ddd;overflow:visible;padding:0}#main #buddypress #group-create-tabs.item-list-tabs ul li{float:left;width:auto}#main #buddypress #group-create-tabs.item-list-tabs ul li.current,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected{border:1px solid #ddd;border-bottom-color:#fff;-webkit-border-top-right-radius:4px;border-top-right-radius:4px;-webkit-border-top-left-radius:4px;border-top-left-radius:4px;background-clip:padding-box;margin-bottom:-1px}#main #buddypress #group-create-tabs.item-list-tabs ul li.current a,#main #buddypress #group-create-tabs.item-list-tabs ul li.selected a{background:0 0;color:#141412;outline:0}#main #buddypress #subnav ul{border-bottom:0}}#buddypress div.pagination{box-shadow:none}#buddypress div.pagination .pag-count{margin-left:0}#buddypress div.pagination .pagination-links{margin-right:0}#buddypress div.pagination .pagination-links a,#buddypress div.pagination .pagination-links span{height:auto;line-height:1;padding:5px}#buddypress div.pagination .pagination-links .next,#buddypress div.pagination .pagination-links .prev{background-color:transparent;color:inherit;overflow:visible;width:auto}#buddypress div.pagination .pagination-links .next:before,#buddypress div.pagination .pagination-links .prev:before{display:none}#buddypress div.pagination .pagination-links .prev{left:auto;position:static}#buddypress div.pagination .pagination-links .next{position:static;right:auto}#buddypress .item-list .activity-header,#buddypress .item-list .activity-meta{font-family:"Source Sans Pro",Helvetica,sans-serif}#buddypress .action .generic-button a:focus,#buddypress .action .generic-button a:hover,#buddypress .activity-meta .button:focus,#buddypress .activity-meta .button:hover{background:#e37a5a;color:#f7f5e7}#buddypress ul.item-list li{overflow:hidden!important}#buddypress ul.item-list li .item-avatar{margin-bottom:10px;text-align:center}#buddypress ul.item-list li .item-avatar a{border-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:inline-block;float:none}@media screen and (min-width:38.75em){#buddypress ul.item-list li .item-avatar{margin-bottom:0}#buddypress ul.item-list li .item-avatar img.avatar{display:block;float:left}}#buddypress ul.item-list li .item{overflow:hidden}@media screen and (min-width:46.25em){#buddypress ul.item-list li .item{margin-left:15%}}#buddypress ul.item-list li .item .item-desc{margin-left:0;width:94%}#buddypress ul.item-list li .item .item-title{font-size:18px;font-size:1.125rem;line-height:1.2}#buddypress ul.item-list li .item .item-title .update{font-size:12px;font-size:.75rem}@media screen and (min-width:59.6875em){#buddypress ul.item-list li .item .item-title .update{font-size:14px;font-size:.875rem}#buddypress ul.item-list li .action,#buddypress ul.item-list li .item,#buddypress ul.item-list li .item-avatar{float:left}#buddypress ul.item-list li .item{left:10%;margin-left:0;position:relative;width:55%}#buddypress ul.item-list li .item .item-title{font-size:22px;font-size:1.375rem}}#buddypress ul.item-list li div.action{clear:left;float:none;margin-bottom:-20px;margin-left:0;padding:20px 0 5px;position:relative;text-align:left;top:0}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action{clear:none;float:right;margin-bottom:0;padding:0}}#buddypress ul.item-list li div.action div{display:inline-block;margin:10px 0;width:100%}#buddypress ul.item-list li div.action div a{display:block;width:100%}@media screen and (min-width:38.75em){#buddypress ul.item-list li div.action div{margin:0 10px 10px 0;width:auto}}@media screen and (min-width:59.6875em){#buddypress ul.item-list li div.action div{clear:right;float:right;margin:0 0 10px}}#buddypress form#whats-new-form p.activity-greeting{line-height:1.4}@media screen and (max-width:46.25em){#buddypress form#whats-new-form #whats-new-content{clear:left;margin:10px 0 20px;padding:10px 0 0}}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{border:1px solid rgba(212,208,186,.5);float:left;line-height:1.5em;margin-top:12px;padding-left:.2em;width:100%}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box select{background:0 0;border:0;float:right;margin:0;min-height:1.5em;padding-left:.4em}@media screen and (min-width:30em){#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-post-in-box{width:auto}#buddypress form#whats-new-form #whats-new-content.active #whats-new-options[style] #whats-new-submit{float:right}}#buddypress #item-body form#whats-new-form{margin:40px 0}#buddypress #activity-stream li{padding:25px 0 15px}#buddypress #activity-stream li .activity-avatar{float:none;text-align:center}#buddypress #activity-stream li .activity-avatar a{display:inline-block}#buddypress #activity-stream li .activity-avatar a img.avatar{display:inline;float:none;height:60px;margin-bottom:20px;margin-left:0;width:60px}#buddypress #activity-stream li .activity-content{margin-left:0}#buddypress #activity-stream li .activity-content .activity-header{font-size:14px;font-size:.875rem}@media screen and (min-width:46.25em){#buddypress #activity-stream li .activity-avatar{float:left;margin-right:10px;text-align:left}#buddypress #activity-stream li .activity-avatar a{border-bottom:0}#buddypress #activity-stream li .activity-content{margin:0;overflow:hidden}#buddypress #activity-stream li .activity-content .activity-header{font-size:16px;font-size:1rem}}#buddypress #activity-stream li.mini .activity-avatar a img.avatar{height:30px;margin-left:15px;width:30px}#buddypress #activity-stream li.mini .activity-content .activity-header{font-size:14px;font-size:.875rem}#buddypress #activity-stream .activity-content{margin-top:-12px}#buddypress #activity-stream .activity-content .activity-header{line-height:inherit;margin-right:0}#buddypress #activity-stream .activity-content .activity-header p{background-color:#f7f7f7;border:1px solid rgba(234,234,234,.6);margin-top:0;padding:0 .2em}#buddypress #activity-stream .activity-content .activity-header img.avatar{display:inline-block;margin-bottom:0!important}#buddypress #activity-stream .activity-content .activity-meta a{display:block;margin-bottom:5px}@media screen and (min-width:38.75em){#buddypress #activity-stream .activity-content .activity-meta a{display:inline-block;margin-bottom:0}}#buddypress #activity-stream .load-more{background:#f7f7f7;border:1px solid transparent;padding:10px}.activity-permalink #buddypress #activity-stream li.activity-item,.activity-permalink #buddypress #activity-stream li.mini .activity-header p{padding:20px}#buddypress #activity-stream .load-more:focus,#buddypress #activity-stream .load-more:hover{background:#f4f4f4;border:1px solid rgba(159,209,226,.3)}#buddypress #activity-stream .load-more a{display:block}.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:16px;font-size:1rem;margin-bottom:40px}@media screen and (min-width:46.25em){.activity-permalink #buddypress #activity-stream li.mini .activity-header{font-size:20px;font-size:1.25rem}}#buddypress #activity-stream .activity-comments{border-left:1px solid #eaeaea;margin-top:5px}#buddypress #activity-stream .activity-comments ul{background:rgba(247,247,247,.6);margin:15px 0 0 2px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel,#buddypress #activity-stream .activity-comments .ac-form input[type=submit]{color:rgba(20,20,18,.8);display:inline-block;font-family:inherit;font-size:12px;font-size:.75rem;font-weight:400;line-height:1.2;padding:4px 10px;text-transform:lowercase;width:100px}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel{border:1px solid rgba(212,208,186,.7);text-align:center}#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:focus,#buddypress #activity-stream .activity-comments .ac-form .ac-reply-cancel:hover{background:#ededed}@media screen and (min-width:59.6875em){#buddypress #members-list li .item,#buddypress #members-list li .item-avatar{float:left}#buddypress #members-list li .action{float:right}}#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{float:none;width:100%}@media screen and (min-width:38.75em){#buddypress #signup_form.standard-form #basic-details-section,#buddypress #signup_form.standard-form #blog-details-section,#buddypress #signup_form.standard-form #profile-details-section{width:48%}#buddypress #signup_form.standard-form #profile-details-section{float:right}#buddypress #signup_form.standard-form #basic-details-section{float:left}}.bp-user .entry-header,.single-item.groups .entry-header{margin-bottom:0}.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{color:#8c8c7f;font-size:32px;font-size:2rem;margin-bottom:10px;text-align:center}@media screen and (min-width:46.25em){.bp-user .entry-header .entry-title,.single-item.groups .entry-header .entry-title{text-align:left}}.bp-user #buddypress #item-header-content #item-meta,.single-item.groups #buddypress #item-header-content #item-meta{font-size:14px;font-size:.875rem;text-align:left}.bp-user #buddypress #item-header-content #item-meta p,.single-item.groups #buddypress #item-header-content #item-meta p{margin-bottom:.5em}@media screen and (max-width:46.25em){.bp-user main header.entry-header,.single-item.groups main header.entry-header{padding-bottom:1rem}.bp-user #buddypress #item-header .generic-button,.single-item.groups #buddypress #item-header .generic-button{float:none;margin:1.5em 0 0}}@media screen and (max-width:38.75em){.bp-user #item-header-content,.bp-user h1,.single-item.groups #item-header-content,.single-item.groups h1{text-align:center}.bp-user #buddypress h1,.single-item.groups #buddypress h1{margin-bottom:0}.bp-user #buddypress #item-header-avatar img.avatar,.single-item.groups #buddypress #item-header-avatar img.avatar{margin-right:0}.bp-user #buddypress #item-header-content,.single-item.groups #buddypress #item-header-content{width:100%}.single-item.groups #buddypress div#item-header{display:flex;flex-direction:column}.single-item.groups #buddypress div#item-header #item-header-avatar{order:1;text-align:center}.single-item.groups #buddypress div#item-header #item-header-avatar a{border-bottom:0}.single-item.groups #buddypress div#item-header #item-header-avatar a img{display:inline-block;float:none}.single-item.groups #buddypress div#item-header #item-header-content{order:2}.single-item.groups #buddypress div#item-header #item-actions{order:3}.single-item.groups #buddypress div#item-header #item-actions h3{border-bottom:1px solid #eaeaea;text-align:center}}@media screen and (max-width:46.25em){.single-item.groups #buddypress #item-header #item-meta{margin-bottom:20px}}.single-item.groups #buddypress div#item-header{padding-bottom:40px}.single-item.groups #buddypress div#item-header div#item-actions{margin:0;width:100%}@media screen and (min-width:38.75em){.single-item.groups #buddypress div#item-header div#item-actions{border-left:1px solid #eaeaea;clear:none;float:right;padding-left:.2em;width:30%}}.single-item.groups #buddypress div#item-header div#item-actions ul{margin-top:0;padding-left:0}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem;padding:.2em}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-avatar,.single-item.groups #buddypress div#item-header #item-header-content{float:left}.single-item.groups #buddypress div#item-header #item-header-avatar{width:21%}.single-item.groups #buddypress div#item-header #item-header-content{margin-left:4%;width:40%}.single-item.groups #buddypress div#item-header div#item-actions{clear:both;float:right;width:28%}.single-item.groups #buddypress div#item-header div#item-actions h3{font-size:14px;font-size:.875rem}}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border:0;float:none;width:auto}@media screen and (max-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{clear:both!important}}@media screen and (min-width:46.25em){.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content{padding-left:10px}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-header-content #item-buttons{margin-top:0}.single-item.groups #buddypress div#item-header #item-header-cover-image #item-actions{border-left:1px solid #eaeaea;clear:none;float:right;margin-top:230px!important;padding-top:0!important;width:20%}}.bp-user #buddypress #item-header{padding:20px 0}.bp-user #buddypress #item-header #item-header-avatar{text-align:center;width:100%}.bp-user #buddypress #item-header #item-header-avatar a,.bp-user #buddypress #item-header #item-header-avatar img.avatar{border-bottom:0;display:inline-block;float:none}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{display:block;text-align:center}@media screen and (min-width:46.25em){.bp-user #buddypress #item-header #item-header-avatar{float:left;width:auto}.bp-user #buddypress #item-header #item-header-avatar a{float:left}.bp-user #buddypress #item-header #item-header-content{float:none;overflow:hidden}.bp-user #buddypress #item-header #item-header-content .user-nicename,.bp-user #buddypress #item-header #item-header-content span.activity{text-align:left}.bp-user #buddypress #item-header #item-header-content #item-meta{margin-top:0}.bp-user #buddypress #item-header-cover-image #item-header-content .user-nicename{margin-bottom:20px}.bp-user #buddypress #item-header-cover-image #item-header-content #item-buttons{margin:0}}.groups #group-settings-form h4{background:#555;color:#fff;padding:.2em}.groups.edit-details #group-settings-form label{margin-bottom:0;padding:.2em;width:80%}.groups.edit-details #group-settings-form textarea+p label{background:0 0;color:inherit;font-size:14px;font-size:.875rem;width:auto}.groups.edit-details #group-settings-form textarea{height:auto;min-height:100px;overflow:auto}.groups.group-settings #group-settings-form div.radio label{border:1px solid #eaeaea;padding:.2em}.groups.group-settings #group-settings-form div.radio label ul{color:rgba(20,20,18,.6);font-size:14px;font-size:.875rem}.groups.group-avatar form>p{margin-top:20px}.groups.manage-members #group-settings-form .item-list li{border-bottom:1px solid #eaeaea}.groups.manage-members #group-settings-form .item-list li h5,.groups.manage-members #group-settings-form .item-list li img{float:left}.groups.manage-members #group-settings-form .item-list li h5>a,.groups.manage-members #group-settings-form .item-list li img>a{border-bottom:0}.groups.manage-members #group-settings-form .item-list li span.small{clear:left;display:block;float:none;margin-top:10px}.groups.manage-members #group-settings-form .item-list li span.small a{display:inline-block;margin:5px 0;width:100%}@media screen and (min-width:38.75em){.groups.manage-members #group-settings-form .item-list li span.small a{width:auto}}.groups.manage-members #group-settings-form .item-list li h5{margin:0}.groups.group-members #subnav li{width:100%}.groups.group-members #subnav li #search-members-form{float:right;margin:5px 5px 0 0}@media screen and (max-width:38.75em){.groups.group-members #subnav li{background:#fff;padding:20px 0}.groups.group-members #subnav li #search-members-form{margin:0;width:100%}.groups.group-members #subnav li #search-members-form label input[type=text]{width:100%}}#buddypress div.invite .left-menu{float:none}#buddypress div.invite #invite-list{border:1px solid #eaeaea;height:auto;min-height:3.125em;padding:0 .3em .5em;width:auto}#buddypress div.invite #invite-list ul{padding-left:0}#buddypress div.invite .main-column{margin-left:0}.bp-user .entry-title{margin-bottom:.5em}.bp-user #buddypress table th{font-size:14px;font-size:.875rem}.bp-user #buddypress table td{font-size:13px;font-size:.8125rem}@media screen and (min-width:46.25em){#buddypress div.invite .left-menu{float:left}#buddypress div.invite #invite-list{width:220px}#buddypress div.invite .main-column{margin-left:235px}.bp-user #buddypress table th{font-size:16px;font-size:1rem}.bp-user #buddypress table td{font-size:14px;font-size:.875rem}}@media screen and (min-width:77.5em){.bp-user #buddypress table th{font-size:18px;font-size:1.125rem}.bp-user #buddypress table td{font-size:16px;font-size:1rem}}.bp-user #buddypress .notifications-options-nav{border:1px solid rgba(212,208,186,.5);float:left;width:100%}@media screen and (min-width:38.75em){.bp-user #buddypress .notifications-options-nav{width:300px}}.bp-user #buddypress .notifications-options-nav input,.bp-user #buddypress .notifications-options-nav select{border:0;font-size:14px;font-size:.875rem;outline:0;padding:0}.bp-user #buddypress .notifications-options-nav select{float:left;margin-right:0;width:60%}.bp-user #buddypress .notifications-options-nav input{float:right;font-family:inherit;line-height:20px;width:40%}.bp-user #buddypress .profile .bp-widget h4{background:#6e6e6e;color:#fff;margin-bottom:0;padding:.4em}.bp-user #buddypress .profile .bp-widget table{margin-top:0}.bp-user #buddypress .profile #profile-edit-form .button-nav:after,.bp-user #buddypress .profile #profile-edit-form .button-nav:before{content:" ";display:table}.bp-user #buddypress .profile #profile-edit-form .button-nav:after{clear:both}.bp-user #buddypress .profile #profile-edit-form ul.button-nav{border-bottom:1px solid #eaeaea;margin-left:0;padding:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li{float:left;margin-bottom:0}.bp-user #buddypress .profile #profile-edit-form ul.button-nav li.current{border:1px solid #eaeaea;border-bottom-color:#fff;margin-bottom:-1px}.bp-user #buddypress .profile #profile-edit-form ul.button-nav a{background:0 0;border:0;font-size:18px;font-size:1.125rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings,.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-toggle{font-size:14px;font-size:.875rem}.bp-user #buddypress .profile #profile-edit-form .field-visibility-settings-close,.bp-user #buddypress .profile #profile-edit-form .visibility-toggle-link{background:#555;color:#fff;padding:.2em .5em}.bp-user #buddypress .profile .bp-avatar #bp-delete-avatar a{font-size:inherit}@media screen and (min-width:77.5em){.bp-user #buddypress #groups-list li .item{left:5%;width:50%}}.bp-user #buddypress #message-thread a{border-bottom:0}.bp-user #buddypress #message-thread #message-subject{background:#6e6e6e;color:#fff;padding:.3em 0 .3em .2em}.bp-user #buddypress #message-thread #message-recipients a.confirm{border:1px solid #eaeaea;font-style:normal}.bp-user #buddypress #message-thread .message-metadata{overflow:hidden}.bp-user #buddypress #message-thread .message-metadata img.avatar{float:none}@media screen and (min-width:46.25em){.bp-user #buddypress #message-thread .message-metadata img.avatar{float:left}}.bp-user #buddypress #message-thread .message-metadata .message-star-actions{float:right;margin-right:5px;position:static}.bp-user #buddypress #message-thread .message-content{background:#f7f7f7;border:1px solid #eaeaea;margin:10px 0 0;padding:.3em}.bp-user #buddypress #message-thread #send-reply .message-content{background:#fff;border:0}.bp-user #buddypress #message-thread .alt{background:#fff}.bp-user #buddypress #message-threads thead tr{background:#6e6e6e}.bp-user #buddypress #message-threads tr td{background:#fff;display:inline-block;float:left}.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{border-bottom-color:#ccc;border-bottom-width:2px;height:2.4em;padding-bottom:.2em;padding-top:.2em}@media screen and (max-width:46.25em){.bp-user #buddypress #message-threads tr td.thread-options,.bp-user #buddypress #message-threads tr td.thread-star{padding-top:0}.bp-user #buddypress #message-threads tr td.thread-options span.icon:before,.bp-user #buddypress #message-threads tr td.thread-star span.icon:before{font-size:14px}}.bp-user #buddypress #message-threads tr .thread-checkbox{padding:0 0 0 .3em}.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:3em}.bp-user #buddypress #message-threads tr td.thread-from,.bp-user #buddypress #message-threads tr td.thread-options{border-left:0!important;width:-webkit-calc(100% - 30px);width:-moz-calc(100% - 30px);width:calc(100% - 30px);margin-left:0}.bp-user #buddypress #message-threads tr td.thread-info{padding-left:41px;width:100%}.bp-user #buddypress #message-threads tr td.thread-info a::after{content:" – " attr(title);font-size:12px;font-size:.75rem}.bp-user #buddypress #message-threads tr td.thread-info .thread-excerpt{font-size:14px;font-size:.875rem}.bp-user #buddypress #message-threads tr td.thread-options{text-align:right}.bp-user #buddypress #message-threads tr td.thread-options a{font-size:12px;font-size:.75rem;line-height:2.2}.bp-user #buddypress #message-threads tr span.from{display:none}.bp-user #buddypress #message-threads tr span.activity{display:block;float:right;line-height:2}#buddypress #signup_form.standard-form div.submit,#main #buddypress .standard-form li{float:none}@media screen and (max-width:38.75em){.bp-user #buddypress #message-threads tr td.bulk-select-check,.bp-user #buddypress #message-threads tr td.thread-from{height:5.2em}.bp-user #buddypress #message-threads tr span.activity{clear:both;font-size:12px;font-size:.75rem;width:100%}}.bp-user #buddypress #message-threads tr.unread td{background:#dce5ff;border-color:#d4d0ba}.bp-user #buddypress #message-threads th{display:none}.bp-user #buddypress #message-threads th.bulk-select-all{border-bottom:0;display:inline-block;text-align:left}.bp-user #buddypress #message-threads td.bulk-select-check,.bp-user #buddypress #message-threads td.thread-star,.bp-user #buddypress #message-threads th.bulk-select-all{border-right:0;width:30px}.bp-user #buddypress .acfb-holder li.friend-tab{margin-right:0}.bp-user #buddypress .acfb-holder li.friend-tab a{border-bottom:0}.bp-user #buddypress .acfb-holder li.friend-tab a img{display:inline;height:20px;margin-right:.5em;width:20px!important}.bp-user #buddypress .sitewide-notices tr td:first-child{display:none}.bp-user #buddypress .sitewide-notices td strong{background:#6e6e6e;color:#fff;display:block;padding-left:.2em}.bp-user #buddypress #settings-form{padding:0 10px}.bp-user #buddypress #settings-form>p{font-size:20px;font-size:1.25rem;margin:20px 0 10px}.bp-user #buddypress table.notification-settings td.no,.bp-user #buddypress table.notification-settings td.yes{vertical-align:middle}.bp-user #buddypress table.profile-settings{width:100%}.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:50%}@media screen and (min-width:46.25em){.bp-user #buddypress table.profile-settings td.field-name,.bp-user #buddypress table.profile-settings th.field-group-name{width:70%}}.bp-user #buddypress table.profile-settings td.field-visibility,.bp-user #buddypress table.profile-settings th.title{width:30%}#main #buddypress .standard-form input[type=password],#main #buddypress .standard-form input[type=text],#main #buddypress .standard-form input[type=email],#main #buddypress .standard-form textarea,.bp-user #buddypress table.profile-settings td.field-visibility select{width:100%}#buddypress div.activity-comments form .ac-textarea{background:#f7f7f7;border:1px solid rgba(212,208,186,.5)}#buddypress div.activity-comments form .ac-textarea textarea{background:0 0;border:0}#buddypress .standard-form button,#buddypress .standard-form input[type=email],#buddypress .standard-form input[type=password],#buddypress .standard-form input[type=text],#buddypress .standard-form select,#buddypress .standard-form textarea{border-color:rgba(212,208,186,.5);border-width:1px}#buddypress #signup_form.standard-form div.submit input{margin-right:0}#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:none;margin:10px 0}#buddypress div.dir-search form,#buddypress div.message-search form,#buddypress li.groups-members-search form{border:1px solid rgba(212,208,186,.6);overflow:hidden}#buddypress div.dir-search form label,#buddypress div.message-search form label,#buddypress li.groups-members-search form label{float:left;width:80%}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text]{font-size:14px;font-size:.875rem;border:0;line-height:inherit}#buddypress div.dir-search form input[type=text],#buddypress div.message-search form input[type=text],#buddypress li.groups-members-search form input[type=text]{float:left;margin:0;width:80%;border-right:1px solid rgba(212,208,186,.6);padding:.2em 0 .2em .2em}#buddypress div.dir-search form input[type=submit],#buddypress div.message-search form input[type=submit],#buddypress li.groups-members-search form input[type=submit]{float:right;font-weight:400;padding:.2em 1em;text-align:center;text-transform:none;width:20%}@media screen and (min-width:38.75em){#buddypress div.dir-search,#buddypress div.message-search,#buddypress li.groups-members-search{float:right;margin-bottom:5px!important}#buddypress div.dir-search form input[type=submit],#buddypress div.dir-search form input[type=text],#buddypress div.dir-search form label,#buddypress div.message-search form input[type=submit],#buddypress div.message-search form input[type=text],#buddypress div.message-search form label,#buddypress li.groups-members-search form input[type=submit],#buddypress li.groups-members-search form input[type=text],#buddypress li.groups-members-search form label{width:auto}}@media screen and (min-width:77.5em){#buddypress .dir-search form input[type=submit],#buddypress .dir-search form input[type=text],#buddypress .message-search form input[type=submit],#buddypress .message-search form input[type=text]{font-size:16px;font-size:1rem}}#buddypress table{font-size:14px;font-size:.875rem;margin:20px 0}#buddypress table tr th{background:#6e6e6e;border-color:#b7b7b7;color:#fff}#buddypress table td,#buddypress table th{padding:.3em}#buddypress table p{margin-bottom:.5em}@media screen and (min-width:55em){#buddypress table{font-size:16px;font-size:1rem}}#buddypress .messages-notices th,#buddypress .notifications th{width:30%}#buddypress .messages-notices th.bulk-select-all,#buddypress .notifications th.bulk-select-all{text-align:center;width:10%}#buddypress .messages-notices .bulk-select-check,#buddypress .messages-notices .notification-actions,#buddypress .messages-notices .thread-star,#buddypress .messages-notices td.thread-options,#buddypress .notifications .bulk-select-check,#buddypress .notifications .notification-actions,#buddypress .notifications .thread-star,#buddypress .notifications td.thread-options{text-align:center}#buddypress .messages-notices .notification-actions a,#buddypress .messages-notices td.thread-options a,#buddypress .notifications .notification-actions a,#buddypress .notifications td.thread-options a{display:inline-block;margin:0;padding:0}#buddypress .messages-notices td .button,#buddypress .notifications td .button{border:0;display:block;padding:0;text-align:center}#buddypress div#message p{font-size:18px;font-size:1.125rem;font-weight:700}#buddypress div#message.info p{background:#c6e4ee;border:1px solid #78bed6;color:#1e5264}#buddypress div#message.updated p{background:#dee6b2;border:1px solid #becc66;color:#454d19}.delete-group #buddypress div#message.info p{background:#db7e7e;border:1px solid #be3535;color:#1f0808}#buddypress .acfb-holder li.friend-tab{background:#9fd1e2;border:inherit}
|
@@ -259,18 +259,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
259 |
|
260 |
#buddypress {
|
261 |
|
262 |
-
// active/current states all navs
|
263 |
-
div.item-list-tabs {
|
264 |
-
ul {
|
265 |
-
li.selected {
|
266 |
-
a {
|
267 |
-
background: $dark-background;
|
268 |
-
color: #fff;
|
269 |
-
opacity: 1;
|
270 |
-
}
|
271 |
-
}
|
272 |
-
}
|
273 |
-
}
|
274 |
// Global Nav Styles
|
275 |
div.item-list-tabs {
|
276 |
ul {
|
@@ -287,8 +275,55 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
287 |
}
|
288 |
}
|
289 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
290 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
291 |
/*__ Horizontal menus & small screen __*/
|
|
|
|
|
|
|
292 |
#object-nav {
|
293 |
|
294 |
ul {
|
@@ -370,8 +405,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
370 |
li.selected,
|
371 |
li.current {
|
372 |
a {
|
373 |
-
background:
|
374 |
-
color: #fff;
|
375 |
opacity: 1;
|
376 |
}
|
377 |
}
|
@@ -747,7 +781,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
747 |
line-height: 1.4;
|
748 |
}
|
749 |
|
750 |
-
textarea {width: 100%;}
|
751 |
// corrective measure for clipped elements due to JS inline styling
|
752 |
|
753 |
@media screen and (max-width: 46.25em) {
|
@@ -760,9 +793,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
760 |
|
761 |
#whats-new-content.active {
|
762 |
#whats-new-options[style] {
|
763 |
-
min-height: 6rem; // unit open to debate px value might be better.
|
764 |
-
overflow: visible;
|
765 |
-
|
766 |
#whats-new-post-in-box {
|
767 |
border: 1px solid rgba($border-color, 0.5);
|
768 |
float: left;
|
@@ -1589,8 +1619,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1589 |
|
1590 |
.bp-user {
|
1591 |
.entry-title {margin-bottom: 0.5em;}
|
1592 |
-
|
1593 |
-
#buddypress {
|
1594 |
|
1595 |
/**
|
1596 |
*--------------------------------------------
|
@@ -1598,9 +1627,13 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1598 |
*--------------------------------------------
|
1599 |
*/
|
1600 |
|
|
|
|
|
|
|
|
|
1601 |
table {
|
1602 |
th {@include font-size(14)}
|
1603 |
-
td {@include font-size(
|
1604 |
|
1605 |
@media screen and (min-width: 46.25em) {
|
1606 |
th {@include font-size(16)}
|
@@ -1645,12 +1678,19 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1645 |
}
|
1646 |
|
1647 |
} // close .notifications-options-nav
|
|
|
|
|
1648 |
|
1649 |
/**
|
1650 |
*-------------------------------------------
|
1651 |
* @subsection 6.2.2.2 - Extended Profiles
|
1652 |
*-------------------------------------------
|
1653 |
*/
|
|
|
|
|
|
|
|
|
|
|
1654 |
.profile {
|
1655 |
.bp-widget {
|
1656 |
h4 {
|
@@ -1662,7 +1702,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1662 |
|
1663 |
table {margin-top: 0;}
|
1664 |
}
|
1665 |
-
/* Edit profile */
|
1666 |
|
1667 |
#profile-edit-form {
|
1668 |
|
@@ -1718,6 +1757,8 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1718 |
}
|
1719 |
}
|
1720 |
} // close .profile
|
|
|
|
|
1721 |
|
1722 |
/**
|
1723 |
*-------------------------------------------
|
@@ -1725,6 +1766,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1725 |
*-------------------------------------------
|
1726 |
*/
|
1727 |
|
|
|
|
|
|
|
|
|
1728 |
#groups-list {
|
1729 |
li {
|
1730 |
.item {
|
@@ -1735,6 +1780,8 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1735 |
}
|
1736 |
}
|
1737 |
}
|
|
|
|
|
1738 |
|
1739 |
/**
|
1740 |
*-------------------------------------------
|
@@ -1742,6 +1789,10 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1742 |
*-------------------------------------------
|
1743 |
*/
|
1744 |
|
|
|
|
|
|
|
|
|
1745 |
#message-thread {
|
1746 |
//Single message view
|
1747 |
a {
|
@@ -1827,6 +1878,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1827 |
|
1828 |
@media screen and (max-width: 46.25em) {
|
1829 |
padding-top: 0;
|
|
|
1830 |
}
|
1831 |
}
|
1832 |
|
@@ -1863,8 +1915,6 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1863 |
}
|
1864 |
}
|
1865 |
|
1866 |
-
|
1867 |
-
|
1868 |
td.thread-options {
|
1869 |
text-align: right;
|
1870 |
|
@@ -1952,6 +2002,8 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1952 |
}
|
1953 |
}
|
1954 |
}
|
|
|
|
|
1955 |
|
1956 |
/**
|
1957 |
*------------------------------
|
@@ -1959,8 +2011,13 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1959 |
*------------------------------
|
1960 |
*/
|
1961 |
|
|
|
|
|
|
|
|
|
1962 |
#settings-form {
|
1963 |
-
|
|
|
1964 |
> p {
|
1965 |
@include font-size(20);
|
1966 |
margin: $spacing-val-md 0 $spacing-val-sm;
|
@@ -1999,7 +2056,7 @@ http://codex.buddypress.org/themes/buddypress-companion-stylesheets/
|
|
1999 |
}
|
2000 |
}
|
2001 |
|
2002 |
-
} // close #
|
2003 |
|
2004 |
} // close .bp-user
|
2005 |
|
259 |
|
260 |
#buddypress {
|
261 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
262 |
// Global Nav Styles
|
263 |
div.item-list-tabs {
|
264 |
ul {
|
275 |
}
|
276 |
}
|
277 |
}
|
278 |
+
}
|
279 |
+
// .bp-user #object-nav @ small screen as a dropdown
|
280 |
+
|
281 |
+
.bp-user {
|
282 |
+
#buddypress {
|
283 |
+
@media screen and (max-width: 38.75em) {
|
284 |
+
|
285 |
+
#object-nav {
|
286 |
+
background: $cream-background;
|
287 |
+
border: 1px solid $border-light;
|
288 |
+
overflow: visible;
|
289 |
+
padding: $spacing-val-sm;
|
290 |
+
|
291 |
+
ul {
|
292 |
+
border: 0;
|
293 |
+
height: 0;
|
294 |
+
// all latest vendor releases handle transitions, so no prefixes used.
|
295 |
+
transition: height 0.3s ease-in-out 0.7s;
|
296 |
+
visibility: hidden;
|
297 |
+
}
|
298 |
|
299 |
+
&:before {
|
300 |
+
content: "Menu \021E9";
|
301 |
+
display: inline;
|
302 |
+
opacity: 0.7;
|
303 |
+
}
|
304 |
+
|
305 |
+
&:hover,
|
306 |
+
&:focus {
|
307 |
+
&:before {content: "Menu \021E7";}
|
308 |
+
|
309 |
+
ul {
|
310 |
+
height: 320px;
|
311 |
+
opacity: 1;
|
312 |
+
overflow-y: auto;
|
313 |
+
visibility: visible;
|
314 |
+
}
|
315 |
+
}
|
316 |
+
}
|
317 |
+
|
318 |
+
#subnav {clear: both;}
|
319 |
+
|
320 |
+
} // close @media
|
321 |
+
}
|
322 |
+
}
|
323 |
/*__ Horizontal menus & small screen __*/
|
324 |
+
|
325 |
+
#buddypress {
|
326 |
+
|
327 |
#object-nav {
|
328 |
|
329 |
ul {
|
405 |
li.selected,
|
406 |
li.current {
|
407 |
a {
|
408 |
+
background: none;
|
|
|
409 |
opacity: 1;
|
410 |
}
|
411 |
}
|
781 |
line-height: 1.4;
|
782 |
}
|
783 |
|
|
|
784 |
// corrective measure for clipped elements due to JS inline styling
|
785 |
|
786 |
@media screen and (max-width: 46.25em) {
|
793 |
|
794 |
#whats-new-content.active {
|
795 |
#whats-new-options[style] {
|
|
|
|
|
|
|
796 |
#whats-new-post-in-box {
|
797 |
border: 1px solid rgba($border-color, 0.5);
|
798 |
float: left;
|
1619 |
|
1620 |
.bp-user {
|
1621 |
.entry-title {margin-bottom: 0.5em;}
|
1622 |
+
}
|
|
|
1623 |
|
1624 |
/**
|
1625 |
*--------------------------------------------
|
1627 |
*--------------------------------------------
|
1628 |
*/
|
1629 |
|
1630 |
+
.bp-user {
|
1631 |
+
|
1632 |
+
#buddypress {
|
1633 |
+
|
1634 |
table {
|
1635 |
th {@include font-size(14)}
|
1636 |
+
td {@include font-size(13)}
|
1637 |
|
1638 |
@media screen and (min-width: 46.25em) {
|
1639 |
th {@include font-size(16)}
|
1678 |
}
|
1679 |
|
1680 |
} // close .notifications-options-nav
|
1681 |
+
} // close #buddypress
|
1682 |
+
} // close .bp-user
|
1683 |
|
1684 |
/**
|
1685 |
*-------------------------------------------
|
1686 |
* @subsection 6.2.2.2 - Extended Profiles
|
1687 |
*-------------------------------------------
|
1688 |
*/
|
1689 |
+
|
1690 |
+
.bp-user {
|
1691 |
+
|
1692 |
+
#buddypress {
|
1693 |
+
|
1694 |
.profile {
|
1695 |
.bp-widget {
|
1696 |
h4 {
|
1702 |
|
1703 |
table {margin-top: 0;}
|
1704 |
}
|
|
|
1705 |
|
1706 |
#profile-edit-form {
|
1707 |
|
1757 |
}
|
1758 |
}
|
1759 |
} // close .profile
|
1760 |
+
} // close #buddyPress
|
1761 |
+
} // close .bp-user
|
1762 |
|
1763 |
/**
|
1764 |
*-------------------------------------------
|
1766 |
*-------------------------------------------
|
1767 |
*/
|
1768 |
|
1769 |
+
.bp-user {
|
1770 |
+
|
1771 |
+
#buddypress {
|
1772 |
+
|
1773 |
#groups-list {
|
1774 |
li {
|
1775 |
.item {
|
1780 |
}
|
1781 |
}
|
1782 |
}
|
1783 |
+
}
|
1784 |
+
}
|
1785 |
|
1786 |
/**
|
1787 |
*-------------------------------------------
|
1789 |
*-------------------------------------------
|
1790 |
*/
|
1791 |
|
1792 |
+
.bp-user {
|
1793 |
+
|
1794 |
+
#buddypress {
|
1795 |
+
|
1796 |
#message-thread {
|
1797 |
//Single message view
|
1798 |
a {
|
1878 |
|
1879 |
@media screen and (max-width: 46.25em) {
|
1880 |
padding-top: 0;
|
1881 |
+
span.icon:before {font-size: 14px;}
|
1882 |
}
|
1883 |
}
|
1884 |
|
1915 |
}
|
1916 |
}
|
1917 |
|
|
|
|
|
1918 |
td.thread-options {
|
1919 |
text-align: right;
|
1920 |
|
2002 |
}
|
2003 |
}
|
2004 |
}
|
2005 |
+
} // close #buddypress
|
2006 |
+
} // close .bp-user
|
2007 |
|
2008 |
/**
|
2009 |
*------------------------------
|
2011 |
*------------------------------
|
2012 |
*/
|
2013 |
|
2014 |
+
.bp-user {
|
2015 |
+
|
2016 |
+
#buddypress {
|
2017 |
+
|
2018 |
#settings-form {
|
2019 |
+
padding: 0 $spacing-val-sm;
|
2020 |
+
// 'p' = email notification screen sub heading
|
2021 |
> p {
|
2022 |
@include font-size(20);
|
2023 |
margin: $spacing-val-md 0 $spacing-val-sm;
|
2056 |
}
|
2057 |
}
|
2058 |
|
2059 |
+
} // close #buddyPress
|
2060 |
|
2061 |
} // close .bp-user
|
2062 |
|
@@ -32,12 +32,10 @@ jq(document).ready( function() {
|
|
32 |
if ( $whats_new.length && bp_get_querystring('r') ) {
|
33 |
var $member_nicename = $whats_new.val();
|
34 |
|
35 |
-
jq('#whats-new-options').
|
36 |
-
height:'50px'
|
37 |
-
});
|
38 |
|
39 |
$whats_new.animate({
|
40 |
-
height:'
|
41 |
});
|
42 |
|
43 |
jq.scrollTo( $whats_new, 500, {
|
@@ -46,20 +44,23 @@ jq(document).ready( function() {
|
|
46 |
} );
|
47 |
|
48 |
$whats_new.val('').focus().val( $member_nicename );
|
|
|
|
|
49 |
}
|
50 |
|
51 |
/**** Activity Posting ********************************************************/
|
52 |
|
53 |
/* Textarea focus */
|
54 |
$whats_new.focus( function(){
|
55 |
-
jq('#whats-new-options').
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
height:'50px'
|
60 |
});
|
|
|
61 |
jq('#aw-whats-new-submit').prop('disabled', false);
|
62 |
|
|
|
63 |
jq( '#whats-new-content' ).addClass( 'active' );
|
64 |
|
65 |
var $whats_new_form = jq('form#whats-new-form'),
|
@@ -83,34 +84,62 @@ jq(document).ready( function() {
|
|
83 |
}
|
84 |
});
|
85 |
|
86 |
-
/*
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
|
|
|
|
|
|
|
|
|
|
96 |
});
|
97 |
-
|
|
|
|
|
|
|
|
|
98 |
jq( '#whats-new-content' ).removeClass( 'active' );
|
|
|
99 |
}
|
100 |
-
}
|
101 |
-
});
|
102 |
|
103 |
/* New posts */
|
104 |
jq('#aw-whats-new-submit').on( 'click', function() {
|
105 |
var last_date_recorded = 0,
|
106 |
button = jq(this),
|
107 |
-
form = button.closest('form#whats-new-form')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
|
109 |
-
form.
|
110 |
-
if ( jq.nodeName(this, 'textarea') || jq.nodeName(this, 'input') ) {
|
111 |
jq(this).prop( 'disabled', true );
|
112 |
}
|
113 |
-
});
|
114 |
|
115 |
/* Remove any errors */
|
116 |
jq('div.error').remove();
|
@@ -145,7 +174,7 @@ jq(document).ready( function() {
|
|
145 |
object = jq('#whats-new-post-object').val();
|
146 |
}
|
147 |
|
148 |
-
jq.
|
149 |
action: 'post_update',
|
150 |
'cookie': bp_get_cookies(),
|
151 |
'_wpnonce_post_update': jq('#_wpnonce_post_update').val(),
|
@@ -154,11 +183,11 @@ jq(document).ready( function() {
|
|
154 |
'item_id': item_id,
|
155 |
'since': last_date_recorded,
|
156 |
'_bp_as_nonce': jq('#_bp_as_nonce').val() || ''
|
157 |
-
},
|
158 |
-
function(response) {
|
159 |
|
160 |
-
|
161 |
-
|
|
|
162 |
jq(this).prop( 'disabled', false );
|
163 |
}
|
164 |
});
|
@@ -205,17 +234,16 @@ jq(document).ready( function() {
|
|
205 |
jq('li.new-update').hide().slideDown( 300 );
|
206 |
jq('li.new-update').removeClass( 'new-update' );
|
207 |
jq('#whats-new').val('');
|
|
|
208 |
|
209 |
// reset vars to get newest activities
|
210 |
newest_activities = '';
|
211 |
activity_last_recorded = 0;
|
212 |
}
|
213 |
|
214 |
-
jq('#whats-new-options').
|
215 |
-
height:'0px'
|
216 |
-
});
|
217 |
jq('#whats-new-form textarea').animate({
|
218 |
-
height:'
|
219 |
});
|
220 |
jq('#aw-whats-new-submit').prop('disabled', true).removeClass('loading');
|
221 |
jq( '#whats-new-content' ).removeClass( 'active' );
|
32 |
if ( $whats_new.length && bp_get_querystring('r') ) {
|
33 |
var $member_nicename = $whats_new.val();
|
34 |
|
35 |
+
jq('#whats-new-options').slideDown();
|
|
|
|
|
36 |
|
37 |
$whats_new.animate({
|
38 |
+
height:'3.8em'
|
39 |
});
|
40 |
|
41 |
jq.scrollTo( $whats_new, 500, {
|
44 |
} );
|
45 |
|
46 |
$whats_new.val('').focus().val( $member_nicename );
|
47 |
+
} else {
|
48 |
+
jq('#whats-new-options').hide();
|
49 |
}
|
50 |
|
51 |
/**** Activity Posting ********************************************************/
|
52 |
|
53 |
/* Textarea focus */
|
54 |
$whats_new.focus( function(){
|
55 |
+
jq( '#whats-new-options' ).slideDown();
|
56 |
+
|
57 |
+
jq( this ).animate({
|
58 |
+
height:'3.8em'
|
|
|
59 |
});
|
60 |
+
|
61 |
jq('#aw-whats-new-submit').prop('disabled', false);
|
62 |
|
63 |
+
jq( this ).parent().addClass( 'active' );
|
64 |
jq( '#whats-new-content' ).addClass( 'active' );
|
65 |
|
66 |
var $whats_new_form = jq('form#whats-new-form'),
|
84 |
}
|
85 |
});
|
86 |
|
87 |
+
/* For the "What's New" form, do the following on focusout. */
|
88 |
+
jq( '#whats-new-form' ).on( 'focusout', function( e ) {
|
89 |
+
var elem = jq( this );
|
90 |
+
|
91 |
+
// Let child hover actions passthrough.
|
92 |
+
// This allows click events to go through without focusout.
|
93 |
+
setTimeout( function () {
|
94 |
+
if ( ! elem.find(':hover').length ) {
|
95 |
+
// Do not slide up if textarea has content.
|
96 |
+
if ( '' !== $whats_new.val() ) {
|
97 |
+
return;
|
98 |
+
}
|
99 |
+
|
100 |
+
$whats_new.animate({
|
101 |
+
height:'2.2em'
|
102 |
});
|
103 |
+
|
104 |
+
jq( '#whats-new-options' ).slideUp();
|
105 |
+
|
106 |
+
jq('#aw-whats-new-submit').prop( 'disabled', true );
|
107 |
+
|
108 |
jq( '#whats-new-content' ).removeClass( 'active' );
|
109 |
+
$whats_new.parent().removeClass( 'active' );
|
110 |
}
|
111 |
+
}, 0 );
|
112 |
+
} );
|
113 |
|
114 |
/* New posts */
|
115 |
jq('#aw-whats-new-submit').on( 'click', function() {
|
116 |
var last_date_recorded = 0,
|
117 |
button = jq(this),
|
118 |
+
form = button.closest('form#whats-new-form'),
|
119 |
+
inputs = {}, post_data;
|
120 |
+
|
121 |
+
// Get all inputs and organize them into an object {name: value}
|
122 |
+
jq.each( form.serializeArray(), function( key, input ) {
|
123 |
+
// Only include public extra data
|
124 |
+
if ( '_' !== input.name.substr( 0, 1 ) && 'whats-new' !== input.name.substr( 0, 9 ) ) {
|
125 |
+
if ( ! inputs[ input.name ] ) {
|
126 |
+
inputs[ input.name ] = input.value;
|
127 |
+
} else {
|
128 |
+
// Checkboxes/dropdown list can have multiple selected value
|
129 |
+
if ( ! jq.isArray( inputs[ input.name ] ) ) {
|
130 |
+
inputs[ input.name ] = new Array( inputs[ input.name ], input.value );
|
131 |
+
} else {
|
132 |
+
inputs[ input.name ].push( input.value );
|
133 |
+
}
|
134 |
+
}
|
135 |
+
}
|
136 |
+
} );
|
137 |
|
138 |
+
form.find( '*' ).each( function() {
|
139 |
+
if ( jq.nodeName( this, 'textarea' ) || jq.nodeName( this, 'input' ) ) {
|
140 |
jq(this).prop( 'disabled', true );
|
141 |
}
|
142 |
+
} );
|
143 |
|
144 |
/* Remove any errors */
|
145 |
jq('div.error').remove();
|
174 |
object = jq('#whats-new-post-object').val();
|
175 |
}
|
176 |
|
177 |
+
post_data = jq.extend( {
|
178 |
action: 'post_update',
|
179 |
'cookie': bp_get_cookies(),
|
180 |
'_wpnonce_post_update': jq('#_wpnonce_post_update').val(),
|
183 |
'item_id': item_id,
|
184 |
'since': last_date_recorded,
|
185 |
'_bp_as_nonce': jq('#_bp_as_nonce').val() || ''
|
186 |
+
}, inputs );
|
|
|
187 |
|
188 |
+
jq.post( ajaxurl, post_data, function( response ) {
|
189 |
+
form.find( '*' ).each( function() {
|
190 |
+
if ( jq.nodeName( this, 'textarea' ) || jq.nodeName( this, 'input' ) ) {
|
191 |
jq(this).prop( 'disabled', false );
|
192 |
}
|
193 |
});
|
234 |
jq('li.new-update').hide().slideDown( 300 );
|
235 |
jq('li.new-update').removeClass( 'new-update' );
|
236 |
jq('#whats-new').val('');
|
237 |
+
form.get(0).reset();
|
238 |
|
239 |
// reset vars to get newest activities
|
240 |
newest_activities = '';
|
241 |
activity_last_recorded = 0;
|
242 |
}
|
243 |
|
244 |
+
jq('#whats-new-options').slideUp();
|
|
|
|
|
245 |
jq('#whats-new-form textarea').animate({
|
246 |
+
height:'2.2em'
|
247 |
});
|
248 |
jq('#aw-whats-new-submit').prop('disabled', true).removeClass('loading');
|
249 |
jq( '#whats-new-content' ).removeClass( 'active' );
|
@@ -1,3 +1,3 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
-
function bp_init_activity(){jq.cookie("bp-activity-oldestpage",1,{path:"/"}),void 0!==jq.cookie("bp-activity-filter")&&jq("#activity-filter-select").length&&jq('#activity-filter-select select option[value="'+jq.cookie("bp-activity-filter")+'"]').prop("selected",!0),void 0!==jq.cookie("bp-activity-scope")&&jq(".activity-type-tabs").length&&(jq(".activity-type-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#activity-"+jq.cookie("bp-activity-scope")+", .item-list-tabs li.current").addClass("selected"))}function bp_init_objects(a){jq(a).each(function(b){void 0!==jq.cookie("bp-"+a[b]+"-filter")&&jq("#"+a[b]+"-order-select select").length&&jq("#"+a[b]+'-order-select select option[value="'+jq.cookie("bp-"+a[b]+"-filter")+'"]').prop("selected",!0),void 0!==jq.cookie("bp-"+a[b]+"-scope")&&jq("div."+a[b]).length&&(jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a[b]+"-"+jq.cookie("bp-"+a[b]+"-scope")+", #object-nav li.current").addClass("selected"))})}function bp_filter_request(a,b,c,d,e,f,g,h,i){return"activity"===a?!1:(null===c&&(c="all"),jq.cookie("bp-"+a+"-scope",c,{path:"/"}),jq.cookie("bp-"+a+"-filter",b,{path:"/"}),jq.cookie("bp-"+a+"-extras",g,{path:"/"}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a+"-"+c+", #object-nav li.current").addClass("selected"),jq(".item-list-tabs li.selected").addClass("loading"),jq('.item-list-tabs select option[value="'+b+'"]').prop("selected",!0),("friends"===a||"group_members"===a)&&(a="members"),bp_ajax_request&&bp_ajax_request.abort(),void(bp_ajax_request=jq.post(ajaxurl,{action:a+"_filter",cookie:bp_get_cookies(),object:a,filter:b,search_terms:e,scope:c,page:f,extras:g,template:i},function(a){if("pag-bottom"===h&&jq("#subnav").length){var b=jq("#subnav").parent();jq("html,body").animate({scrollTop:b.offset().top},"slow",function(){jq(d).fadeOut(100,function(){jq(this).html(a),jq(this).fadeIn(100)})})}else jq(d).fadeOut(100,function(){jq(this).html(a),jq(this).fadeIn(100)});jq(".item-list-tabs li.selected").removeClass("loading")})))}function bp_activity_request(a,b){null!==a&&jq.cookie("bp-activity-scope",a,{path:"/"}),null!==b&&jq.cookie("bp-activity-filter",b,{path:"/"}),jq.cookie("bp-activity-oldestpage",1,{path:"/"}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected loading")}),jq("#activity-"+a+", .item-list-tabs li.current").addClass("selected"),jq("#object-nav.item-list-tabs li.selected, div.activity-type-tabs li.selected").addClass("loading"),jq('#activity-filter-select select option[value="'+b+'"]').prop("selected",!0),jq(".widget_bp_activity_widget h2 span.ajax-loader").show(),bp_ajax_request&&bp_ajax_request.abort(),bp_ajax_request=jq.post(ajaxurl,{action:"activity_widget_filter",cookie:bp_get_cookies(),_wpnonce_activity_filter:jq("#_wpnonce_activity_filter").val(),scope:a,filter:b},function(a){jq(".widget_bp_activity_widget h2 span.ajax-loader").hide(),jq("div.activity").fadeOut(100,function(){jq(this).html(a.contents),jq(this).fadeIn(100),bp_legacy_theme_hide_comments()}),void 0!==a.feed_url&&jq(".directory #subnav li.feed a, .home-page #subnav li.feed a").attr("href",a.feed_url),jq(".item-list-tabs li.selected").removeClass("loading")},"json")}function bp_legacy_theme_hide_comments(){var a,b,c,d=jq("div.activity-comments");return d.length?void d.each(function(){jq(this).children("ul").children("li").length<5||(comments_div=jq(this),a=comments_div.parents("#activity-stream > li"),b=jq(this).children("ul").children("li"),c=" ",jq("#"+a.attr("id")+" a.acomment-reply span").length&&(c=jq("#"+a.attr("id")+" a.acomment-reply span").html()),b.each(function(d){d<b.length-5&&(jq(this).addClass("hidden"),jq(this).toggle(),d||jq(this).before('<li class="show-all"><a href="#'+a.attr("id")+'/show-all/" title="'+BP_DTheme.show_all_comments+'">'+BP_DTheme.show_x_comments.replace("%d",c)+"</a></li>"))}))}):!1}function checkAll(){var a,b=document.getElementsByTagName("input");for(a=0;a<b.length;a++)"checkbox"===b[a].type&&(""===$("check_all").checked?b[a].checked="":b[a].checked="checked")}function clear(a){if(a=document.getElementById(a)){var b=a.getElementsByTagName("INPUT"),c=a.getElementsByTagName("OPTION"),d=0;if(b)for(d=0;d<b.length;d++)b[d].checked="";if(c)for(d=0;d<c.length;d++)c[d].selected=!1}}function bp_get_cookies(){var a,b,c,d,e,f=document.cookie.split(";"),g={},h="bp-";for(a=0;a<f.length;a++)b=f[a],c=b.indexOf("="),d=jq.trim(unescape(b.slice(0,c))),e=unescape(b.slice(c+1)),0===d.indexOf(h)&&(g[d]=e);return encodeURIComponent(jq.param(g))}var jq=jQuery,bp_ajax_request=null,newest_activities="",activity_last_recorded=0;jq(document).ready(function(){"-1"===window.location.search.indexOf("new")&&jq("div.forums").length?jq("#new-topic-post").hide():jq("#new-topic-post").show(),bp_init_activity();var a=["members","groups","blogs","forums","group_members"],b=jq("#whats-new");if(bp_init_objects(a),b.length&&bp_get_querystring("r")){var c=b.val();jq("#whats-new-options").animate({height:"50px"}),b.animate({height:"50px"}),jq.scrollTo(b,500,{offset:-125,easing:"swing"}),b.val("").focus().val(c)}if(b.focus(function(){jq("#whats-new-options").animate({height:"50px"}),jq("#whats-new-form textarea").animate({height:"50px"}),jq("#aw-whats-new-submit").prop("disabled",!1),jq("#whats-new-content").addClass("active");var a=jq("form#whats-new-form"),b=jq("#activity-all");a.hasClass("submitted")&&a.removeClass("submitted"),b.length&&(b.hasClass("selected")?"-1"!==jq("#activity-filter-select select").val()&&(jq("#activity-filter-select select").val("-1"),jq("#activity-filter-select select").trigger("change")):(jq("#activity-filter-select select").val("-1"),b.children("a").trigger("click")))}),b.blur(function(){document.activeElement!==this&&(this.value.match(/\S+/)||(this.value="",jq("#whats-new-options").animate({height:"0"}),jq("form#whats-new-form textarea").animate({height:"20px"}),jq("#aw-whats-new-submit").prop("disabled",!0),jq("#whats-new-content").removeClass("active")))}),jq("#aw-whats-new-submit").on("click",function(){var a=0,b=jq(this),c=b.closest("form#whats-new-form");return c.children().each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!0)}),jq("div.error").remove(),b.addClass("loading"),b.prop("disabled",!0),c.addClass("submitted"),object="",item_id=jq("#whats-new-post-in").val(),content=jq("#whats-new").val(),firstrow=jq("#buddypress ul.activity-list li").first(),activity_row=firstrow,timestamp=null,firstrow.length&&(activity_row.hasClass("load-newest")&&(activity_row=firstrow.next()),timestamp=activity_row.prop("class").match(/date-recorded-([0-9]+)/)),timestamp&&(a=timestamp[1]),item_id>0&&(object=jq("#whats-new-post-object").val()),jq.post(ajaxurl,{action:"post_update",cookie:bp_get_cookies(),_wpnonce_post_update:jq("#_wpnonce_post_update").val(),content:content,object:object,item_id:item_id,since:a,_bp_as_nonce:jq("#_bp_as_nonce").val()||""},function(b){if(c.children().each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!1)}),b[0]+b[1]==="-1")c.prepend(b.substr(2,b.length)),jq("#"+c.attr("id")+" div.error").hide().fadeIn(200);else{if(0===jq("ul.activity-list").length&&(jq("div.error").slideUp(100).remove(),jq("#message").slideUp(100).remove(),jq("div.activity").append('<ul id="activity-stream" class="activity-list item-list">')),firstrow.hasClass("load-newest")&&firstrow.remove(),jq("#activity-stream").prepend(b),a||jq("#activity-stream li:first").addClass("new-update just-posted"),0!==jq("#latest-update").length){var d=jq("#activity-stream li.new-update .activity-content .activity-inner p").html(),e=jq("#activity-stream li.new-update .activity-content .activity-header p a.view").attr("href"),f=jq("#activity-stream li.new-update .activity-content .activity-inner p").text(),g="";""!==f&&(g=d+" "),g+='<a href="'+e+'" rel="nofollow">'+BP_DTheme.view+"</a>",jq("#latest-update").slideUp(300,function(){jq("#latest-update").html(g),jq("#latest-update").slideDown(300)})}jq("li.new-update").hide().slideDown(300),jq("li.new-update").removeClass("new-update"),jq("#whats-new").val(""),newest_activities="",activity_last_recorded=0}jq("#whats-new-options").animate({height:"0px"}),jq("#whats-new-form textarea").animate({height:"20px"}),jq("#aw-whats-new-submit").prop("disabled",!0).removeClass("loading"),jq("#whats-new-content").removeClass("active")}),!1}),jq("div.activity-type-tabs").on("click",function(a){var b,c,d=jq(a.target).parent();if("STRONG"===a.target.nodeName||"SPAN"===a.target.nodeName)d=d.parent();else if("A"!==a.target.nodeName)return!1;return jq.cookie("bp-activity-oldestpage",1,{path:"/"}),b=d.attr("id").substr(9,d.attr("id").length),c=jq("#activity-filter-select select").val(),"mentions"===b&&jq("#"+d.attr("id")+" a strong").remove(),bp_activity_request(b,c),!1}),jq("#activity-filter-select select").change(function(){var a,b=jq("div.activity-type-tabs li.selected"),c=jq(this).val();return a=b.length?b.attr("id").substr(9,b.attr("id").length):null,bp_activity_request(a,c),!1}),jq("div.activity").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l=jq(a.target);return l.hasClass("fav")||l.hasClass("unfav")?(b=l.hasClass("fav")?"fav":"unfav",c=l.closest(".activity-item"),d=c.attr("id").substr(9,c.attr("id").length),l.addClass("loading"),jq.post(ajaxurl,{action:"activity_mark_"+b,cookie:bp_get_cookies(),id:d},function(a){l.removeClass("loading"),l.fadeOut(200,function(){jq(this).html(a),jq(this).attr("title","fav"===b?BP_DTheme.remove_fav:BP_DTheme.mark_as_fav),jq(this).fadeIn(200)}),"fav"===b?(jq(".item-list-tabs #activity-favs-personal-li").length||(jq(".item-list-tabs #activity-favorites").length||jq(".item-list-tabs ul #activity-mentions").before('<li id="activity-favorites"><a href="#">'+BP_DTheme.my_favs+" <span>0</span></a></li>"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())+1)),l.removeClass("fav"),l.addClass("unfav")):(l.removeClass("unfav"),l.addClass("fav"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())-1),Number(jq(".item-list-tabs ul #activity-favorites span").html())||(jq(".item-list-tabs ul #activity-favorites").hasClass("selected")&&bp_activity_request(null,null),jq(".item-list-tabs ul #activity-favorites").remove())),"activity-favorites"===jq(".item-list-tabs li.selected").attr("id")&&l.closest(".activity-item").slideUp(100)}),!1):l.hasClass("delete-activity")?(e=l.parents("div.activity ul li"),f=e.attr("id").substr(9,e.attr("id").length),g=l.attr("href"),h=g.split("_wpnonce="),i=e.prop("class").match(/date-recorded-([0-9]+)/),h=h[1],l.addClass("loading"),jq.post(ajaxurl,{action:"delete_activity",cookie:bp_get_cookies(),id:f,_wpnonce:h},function(a){a[0]+a[1]==="-1"?(e.prepend(a.substr(2,a.length)),e.children("#message").hide().fadeIn(300)):(e.slideUp(300),i&&activity_last_recorded===i[1]&&(newest_activities="",activity_last_recorded=0))}),!1):l.hasClass("spam-activity")?(e=l.parents("div.activity ul li"),i=e.prop("class").match(/date-recorded-([0-9]+)/),l.addClass("loading"),jq.post(ajaxurl,{action:"bp_spam_activity",cookie:encodeURIComponent(document.cookie),id:e.attr("id").substr(9,e.attr("id").length),_wpnonce:l.attr("href").split("_wpnonce=")[1]},function(a){a[0]+a[1]==="-1"?(e.prepend(a.substr(2,a.length)),e.children("#message").hide().fadeIn(300)):(e.slideUp(300),i&&activity_last_recorded===i[1]&&(newest_activities="",activity_last_recorded=0))}),!1):l.parent().hasClass("load-more")?(bp_ajax_request&&bp_ajax_request.abort(),jq("#buddypress li.load-more").addClass("loading"),null===jq.cookie("bp-activity-oldestpage")&&jq.cookie("bp-activity-oldestpage",1,{path:"/"}),j=1*jq.cookie("bp-activity-oldestpage")+1,k=[],jq(".activity-list li.just-posted").each(function(){k.push(jq(this).attr("id").replace("activity-",""))}),load_more_args={action:"activity_get_older_updates",cookie:bp_get_cookies(),page:j,exclude_just_posted:k.join(",")},load_more_search=bp_get_querystring("s"),load_more_search&&(load_more_args.search_terms=load_more_search),bp_ajax_request=jq.post(ajaxurl,load_more_args,function(a){jq("#buddypress li.load-more").removeClass("loading"),jq.cookie("bp-activity-oldestpage",j,{path:"/"}),jq("#buddypress ul.activity-list").append(a.contents),l.parent().hide()},"json"),!1):void(l.parent().hasClass("load-newest")&&(a.preventDefault(),l.parent().hide(),activity_html=jq.parseHTML(newest_activities),jq.each(activity_html,function(a,b){"LI"===b.nodeName&&jq(b).hasClass("just-posted")&&jq("#"+jq(b).attr("id")).length&&jq("#"+jq(b).attr("id")).remove()}),jq("#buddypress ul.activity-list").prepend(newest_activities),newest_activities=""))}),jq("div.activity").on("click",".activity-read-more a",function(a){var b,c,d=jq(a.target),e=d.parent().attr("id").split("-"),f=e[3],g=e[0];return b="acomment"===g?"acomment-content":"activity-inner",c=jq("#"+g+"-"+f+" ."+b+":first"),jq(d).addClass("loading"),jq.post(ajaxurl,{action:"get_single_activity_content",activity_id:f},function(a){jq(c).slideUp(300).html(a).slideDown(300)}),!1}),jq("form.ac-form").hide(),jq(".activity-comments").length&&bp_legacy_theme_hide_comments(),jq("div.activity").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=jq(a.target);return r.hasClass("acomment-reply")||r.parent().hasClass("acomment-reply")?(r.parent().hasClass("acomment-reply")&&(r=r.parent()),b=r.attr("id"),c=b.split("-"),d=c[2],e=r.attr("href").substr(10,r.attr("href").length),f=jq("#ac-form-"+d),f.css("display","none"),f.removeClass("root"),jq(".ac-form").hide(),f.children("div").each(function(){jq(this).hasClass("error")&&jq(this).hide()}),"comment"!==c[1]?jq("#acomment-"+e).append(f):jq("#activity-"+d+" .activity-comments").append(f),f.parent().hasClass("activity-comments")&&f.addClass("root"),f.slideDown(200),jq.scrollTo(f,500,{offset:-100,easing:"swing"}),jq("#ac-form-"+c[2]+" textarea").focus(),!1):"ac_form_submit"===r.attr("name")?(f=r.parents("form"),g=f.parent(),h=f.attr("id").split("-"),g.hasClass("activity-comments")?j=h[2]:(i=g.attr("id").split("-"),j=i[1]),content=jq("#"+f.attr("id")+" textarea"),jq("#"+f.attr("id")+" div.error").hide(),r.addClass("loading").prop("disabled",!0),content.addClass("loading").prop("disabled",!0),k={action:"new_activity_comment",cookie:bp_get_cookies(),_wpnonce_new_activity_comment:jq("#_wpnonce_new_activity_comment").val(),comment_id:j,form_id:h[2],content:content.val()},l=jq("#_bp_as_nonce_"+j).val(),l&&(k["_bp_as_nonce_"+j]=l),jq.post(ajaxurl,k,function(a){if(r.removeClass("loading"),content.removeClass("loading"),a[0]+a[1]==="-1")f.append(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b=f.parent();f.fadeOut(200,function(){0===b.children("ul").length&&(b.hasClass("activity-comments")?b.prepend("<ul></ul>"):b.append("<ul></ul>"));var c=jq.trim(a);b.children("ul").append(jq(c).hide().fadeIn(200)),f.children("textarea").val(""),b.parent().addClass("has-comments")}),jq("#"+f.attr("id")+" textarea").val(""),jq("#activity-"+h[2]+" a.acomment-reply span").html(Number(jq("#activity-"+h[2]+" a.acomment-reply span").html())+1),m=b.find(".show-all").find("a"),m&&(n=jq("li#activity-"+h[2]+" a.acomment-reply span").html(),m.html(BP_DTheme.show_x_comments.replace("%d",n)))}jq(r).prop("disabled",!1),jq(content).prop("disabled",!1)}),!1):r.hasClass("acomment-delete")?(o=r.attr("href"),p=r.parent().parent(),f=p.parents("div.activity-comments").children("form"),q=o.split("_wpnonce="),q=q[1],j=o.split("cid="),j=j[1].split("&"),j=j[0],r.addClass("loading"),jq(".activity-comments ul .error").remove(),p.parents(".activity-comments").append(f),jq.post(ajaxurl,{action:"delete_activity_comment",cookie:bp_get_cookies(),_wpnonce:q,id:j},function(a){if(a[0]+a[1]==="-1")p.prepend(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b,c,d,e=jq("#"+p.attr("id")+" ul").children("li"),f=0;jq(e).each(function(){jq(this).is(":hidden")||f++}),p.fadeOut(200,function(){p.remove()}),b=jq("#"+p.parents("#activity-stream > li").attr("id")+" a.acomment-reply span"),c=b.html()-(1+f),b.html(c),d=p.siblings(".show-all").find("a"),d&&d.html(BP_DTheme.show_x_comments.replace("%d",c)),0===c&&jq(p.parents("#activity-stream > li")).removeClass("has-comments")}}),!1):r.hasClass("spam-activity-comment")?(o=r.attr("href"),p=r.parent().parent(),r.addClass("loading"),jq(".activity-comments ul div.error").remove(),p.parents(".activity-comments").append(p.parents(".activity-comments").children("form")),jq.post(ajaxurl,{action:"bp_spam_activity_comment",cookie:encodeURIComponent(document.cookie),_wpnonce:o.split("_wpnonce=")[1],id:o.split("cid=")[1].split("&")[0]},function(a){if(a[0]+a[1]==="-1")p.prepend(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b,c=jq("#"+p.attr("id")+" ul").children("li"),d=0;jq(c).each(function(){jq(this).is(":hidden")||d++}),p.fadeOut(200),b=p.parents("#activity-stream > li"),jq("#"+b.attr("id")+" a.acomment-reply span").html(jq("#"+b.attr("id")+" a.acomment-reply span").html()-(1+d))}}),!1):r.parent().hasClass("show-all")?(r.parent().addClass("loading"),setTimeout(function(){r.parent().parent().children("li").fadeIn(200,function(){r.parent().remove()})},600),!1):r.hasClass("ac-reply-cancel")?(jq(r).closest(".ac-form").slideUp(200),!1):void 0}),jq(document).keydown(function(a){if(a=a||window.event,a.target?element=a.target:a.srcElement&&(element=a.srcElement),3===element.nodeType&&(element=element.parentNode),a.ctrlKey!==!0&&a.altKey!==!0&&a.metaKey!==!0){var b=a.keyCode?a.keyCode:a.which;27===b&&"TEXTAREA"===element.tagName&&jq(element).hasClass("ac-input")&&jq(element).parent().parent().parent().slideUp(200)}}),jq(".dir-search, .groups-members-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c,d,e=jq(a.target);return"submit"===e.attr("type")?(b=jq(".item-list-tabs li.selected").attr("id").split("-"),c=b[0],d=null,"groups-members-search"===a.currentTarget.className&&(c="group_members",d="groups/single/members"),bp_filter_request(c,jq.cookie("bp-"+c+"-filter"),jq.cookie("bp-"+c+"-scope"),"div."+c,e.parent().children("label").children("input").val(),1,jq.cookie("bp-"+c+"-extras"),null,d),!1):void 0}}),jq("div.item-list-tabs").on("click",function(a){if(!jq(this).hasClass("no-ajax")&&!jq(a.target).hasClass("no-ajax")){var b,c,d,e,f,g="SPAN"===a.target.nodeName?a.target.parentNode:a.target,h=jq(g).parent();return"LI"!==h[0].nodeName||h.hasClass("last")?void 0:(b=h.attr("id").split("-"),c=b[0],"activity"===c?!1:(d=b[1],e=jq("#"+c+"-order-select select").val(),f=jq("#"+c+"_search").val(),bp_filter_request(c,e,d,"div."+c,f,1,jq.cookie("bp-"+c+"-extras")),!1))}}),jq("li.filter select").change(function(){var a,b,c,d,e,f,g,h;return a=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":this),b=a.attr("id").split("-"),c=b[0],d=b[1],e=jq(this).val(),f=!1,g=null,jq(".dir-search input").length&&(f=jq(".dir-search input").val()),h=jq(".groups-members-search input"),h.length&&(f=h.val(),c="members",d="groups"),"members"===c&&"groups"===d&&(c="group_members",g="groups/single/members"),"friends"===c&&(c="members"),bp_filter_request(c,e,d,"div."+c,f,1,jq.cookie("bp-"+c+"-extras"),null,g),!1}),jq("#buddypress").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l=jq(a.target);return l.hasClass("button")?!0:l.parent().parent().hasClass("pagination")&&!l.parent().parent().hasClass("no-ajax")?l.hasClass("dots")||l.hasClass("current")?!1:(b=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":"li.filter select"),c=b.attr("id").split("-"),d=c[0],e=!1,f=jq(l).closest(".pagination-links").attr("id"),g=null,h=l.attr("href").split("&"),i=h[0].split("="),i=i[1],jq("div.dir-search input").length&&(e=jq(".dir-search input").val(),!e&&bp_get_querystring("s")&&(e=jq(".dir-search input").prop("placeholder"))),j=jq(".groups-members-search input"),j.length&&(e=j.val(),d="members"),"members"===d&&"groups"===c[1]&&(d="group_members",g="groups/single/members"),"admin"===d&&jq("body").hasClass("membership-requests")&&(d="requests"),k=-1!==f.indexOf("pag-bottom")?"pag-bottom":null,bp_filter_request(d,jq.cookie("bp-"+d+"-filter"),jq.cookie("bp-"+d+"-scope"),"div."+d,e,i,jq.cookie("bp-"+d+"-extras"),k,g),!1):void 0}),jq("a.show-hide-new").on("click",function(){return jq("#new-topic-post").length?(jq("#new-topic-post").is(":visible")?jq("#new-topic-post").slideUp(200):jq("#new-topic-post").slideDown(200,function(){jq("#topic_title").focus()}),!1):!1}),jq("#submit_topic_cancel").on("click",function(){return jq("#new-topic-post").length?(jq("#new-topic-post").slideUp(200),!1):!1}),jq("#forum-directory-tags a").on("click",function(){return bp_filter_request("forums","tags",jq.cookie("bp-forums-scope"),"div.forums",jq(this).html().replace(/ /g,"-"),1,jq.cookie("bp-forums-extras")),!1}),jq("#send-invite-form").on("click","#invite-list input",function(){var a,b,c=jq("#send-invite-form > .invite").length;jq(".ajax-loader").toggle(),c&&jq(this).parents("ul").find("input").prop("disabled",!0),a=jq(this).val(),b=jq(this).prop("checked")===!0?"invite":"uninvite",c||jq(".item-list-tabs li.selected").addClass("loading"),jq.post(ajaxurl,{action:"groups_invite_user",friend_action:b,cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:a,group_id:jq("#group_id").val()},function(d){jq("#message")&&jq("#message").hide(),c?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),"invite"===b?jq("#friend-list").append(d):"uninvite"===b&&jq("#friend-list li#uid-"+a).remove(),jq(".item-list-tabs li.selected").removeClass("loading"))})}),jq("#send-invite-form").on("click","a.remove",function(){var a=jq("#send-invite-form > .invite").length,b=jq(this).attr("id");return jq(".ajax-loader").toggle(),b=b.split("-"),b=b[1],jq.post(ajaxurl,{action:"groups_invite_user",friend_action:"uninvite",cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:b,group_id:jq("#group_id").val()},function(c){a?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),jq("#friend-list #uid-"+b).remove(),jq("#invite-list #f-"+b).prop("checked",!1))}),!1}),jq(".visibility-toggle-link").on("click",function(a){a.preventDefault(),jq(this).parent().hide().addClass("field-visibility-settings-hide").siblings(".field-visibility-settings").show().addClass("field-visibility-settings-open")}),jq(".field-visibility-settings-close").on("click",function(a){a.preventDefault();var b=jq(this).parent(),c=b.find("input:checked").parent().text();b.hide().removeClass("field-visibility-settings-open").siblings(".field-visibility-settings-toggle").children(".current-visibility-level").text(c).end().show().removeClass("field-visibility-settings-hide")}),jq("#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select, #signup_form input:not(:submit), #signup_form textarea, #signup_form select").change(function(){var a=!0;jq("#profile-edit-form input:submit, #signup_form input:submit").on("click",function(){a=!1}),window.onbeforeunload=function(b){return a?BP_DTheme.unsaved_changes:void 0}}),jq("#friend-list a.accept, #friend-list a.reject").on("click",function(){var a,b=jq(this),c=jq(this).parents("#friend-list li"),d=jq(this).parents("li div.action"),e=c.attr("id").substr(11,c.attr("id").length),f=b.attr("href"),g=f.split("_wpnonce=")[1];return jq(this).hasClass("accepted")||jq(this).hasClass("rejected")?!1:(jq(this).hasClass("accept")?(a="accept_friendship",d.children("a.reject").css("visibility","hidden")):(a="reject_friendship",d.children("a.accept").css("visibility","hidden")),b.addClass("loading"),jq.post(ajaxurl,{action:a,cookie:bp_get_cookies(),id:e,_wpnonce:g},function(a){b.removeClass("loading"),a[0]+a[1]==="-1"?(c.prepend(a.substr(2,a.length)),c.children("#message").hide().fadeIn(200)):b.fadeOut(100,function(){jq(this).hasClass("accept")?(d.children("a.reject").hide(),jq(this).html(BP_DTheme.accepted).contents().unwrap()):(d.children("a.accept").hide(),jq(this).html(BP_DTheme.rejected).contents().unwrap())})}),!1)}),jq("#members-dir-list, #members-group-list, #item-header").on("click",".friendship-button a",function(){jq(this).parent().addClass("loading");var a=jq(this).attr("id"),b=jq(this).attr("href"),c=jq(this);return a=a.split("-"),a=a[1],b=b.split("?_wpnonce="),b=b[1].split("&"),b=b[0],jq.post(ajaxurl,{action:"addremove_friend",cookie:bp_get_cookies(),fid:a,_wpnonce:b},function(a){var b=c.attr("rel");parentdiv=c.parent(),"add"===b?jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("add_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("pending_friend"),parentdiv.fadeIn(200).html(a)}):"remove"===b&&jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("remove_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("add"),parentdiv.fadeIn(200).html(a)})}),!1}),jq("#buddypress").on("click",".group-button .leave-group",function(){return!1===confirm(BP_DTheme.leave_group_confirm)?!1:void 0}),jq("#groups-dir-list").on("click",".group-button a",function(){var a=jq(this).parent().attr("id"),b=jq(this).attr("href"),c=jq(this);return a=a.split("-"),a=a[1],b=b.split("?_wpnonce="),b=b[1].split("&"),b=b[0],c.hasClass("leave-group")&&!1===confirm(BP_DTheme.leave_group_confirm)?!1:(jq.post(ajaxurl,{action:"joinleave_group",cookie:bp_get_cookies(),gid:a,_wpnonce:b},function(a){var b=c.parent();jq("body.directory").length?jq(b).fadeOut(200,function(){b.fadeIn(200).html(a);var d=jq("#groups-personal span"),e=1;c.hasClass("leave-group")?(b.hasClass("hidden")&&b.closest("li").slideUp(200),e=0):c.hasClass("request-membership")&&(e=!1),d.length&&e!==!1&&(e?d.text((d.text()>>0)+1):d.text((d.text()>>0)-1))}):window.location.reload()}),!1)}),jq("#buddypress").on("click",".pending",function(){return!1}),jq("body").hasClass("register")){var d=jq("#signup_with_blog");d.prop("checked")||jq("#blog-details").toggle(),d.change(function(){jq("#blog-details").toggle()})}jq(".message-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c=jq(a.target);return"submit"===c.attr("type")||"button"===c.attr("type")?(b="messages",bp_filter_request(b,jq.cookie("bp-"+b+"-filter"),jq.cookie("bp-"+b+"-scope"),"div."+b,jq("#messages_search").val(),1,jq.cookie("bp-"+b+"-extras")),!1):void 0}}),jq("#send_reply_button").click(function(){var a=jq("#messages_order").val()||"ASC",b=jq("#message-recipients").offset(),c=jq("#send_reply_button");return jq(c).addClass("loading"),jq.post(ajaxurl,{action:"messages_send_reply",cookie:bp_get_cookies(),_wpnonce:jq("#send_message_nonce").val(),content:jq("#message_content").val(),send_to:jq("#send_to").val(),subject:jq("#subject").val(),thread_id:jq("#thread_id").val()},function(d){d[0]+d[1]==="-1"?jq("#send-reply").prepend(d.substr(2,d.length)):(jq("#send-reply #message").remove(),jq("#message_content").val(""),"ASC"===a?jq("#send-reply").before(d):(jq("#message-recipients").after(d),jq(window).scrollTop(b.top)),jq(".new-message").hide().slideDown(200,function(){jq(".new-message").removeClass("new-message")})),jq(c).removeClass("loading")}),!1}),jq("#mark_as_read, #mark_as_unread").click(function(){var a,b,c,d,e,f,g,h,i="",j=jq('#message-threads tr td input[type="checkbox"]');return"mark_as_unread"===jq(this).attr("id")?(a="read",b="unread",c=1,d=0,e="inline",f="messages_markunread"):(a="unread",b="read",c=0,d=1,e="none",f="messages_markread"),j.each(function(d){jq(this).is(":checked")&&jq("#m-"+jq(this).attr("value")).hasClass(a)&&(i+=jq(this).attr("value"),jq("#m-"+jq(this).attr("value")).removeClass(a),jq("#m-"+jq(this).attr("value")).addClass(b),h=jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(),jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(c),jq("#m-"+jq(this).attr("value")+" td span.unread-count").css("display",e),g=jq("tr.unread").length,jq("#user-messages span").html(g),d!==j.length-1&&(i+=","))}),jq.post(ajaxurl,{action:f,thread_ids:i}),!1}),jq("body.messages #item-body div.messages").on("change","#message-type-select",function(){var a=this.value,b=jq('td input[type="checkbox"]'),c="checked";switch(b.each(function(a){b[a].checked=""}),a){case"unread":b=jq('tr.unread td input[type="checkbox"]');break;case"read":b=jq('tr.read td input[type="checkbox"]');break;case"":c=""}b.each(function(a){b[a].checked=c})}),jq("body.messages #item-body div.messages").on("click",".messages-options-nav a",function(){return-1!==jq.inArray(this.id,Array("delete_sentbox_messages","delete_inbox_messages"))?(checkboxes_tosend="",checkboxes=jq('#message-threads tr td input[type="checkbox"]'),jq("#message").remove(),jq(this).addClass("loading"),jq(checkboxes).each(function(a){jq(this).is(":checked")&&(checkboxes_tosend+=jq(this).attr("value")+",")}),""===checkboxes_tosend?(jq(this).removeClass("loading"),!1):(jq.post(ajaxurl,{action:"messages_delete",thread_ids:checkboxes_tosend},function(a){a[0]+a[1]==="-1"?jq("#message-threads").prepend(a.substr(2,a.length)):(jq("#message-threads").before('<div id="message" class="updated"><p>'+a+"</p></div>"),jq(checkboxes).each(function(a){jq(this).is(":checked")&&(jq(this).attr("checked",!1),jq(this).parent().parent().fadeOut(150))})),jq("#message").hide().slideDown(150),jq("#delete_inbox_messages, #delete_sentbox_messages").removeClass("loading")}),!1)):void 0}),jq("#select-all-messages").click(function(a){this.checked?jq(".message-check").each(function(){this.checked=!0}):jq(".message-check").each(function(){this.checked=!1})}),jq("#messages-bulk-manage").attr("disabled","disabled"),jq("#messages-select").on("change",function(){jq("#messages-bulk-manage").attr("disabled",jq(this).val().length<=0)}),starAction=function(){var a=jq(this);return jq.post(ajaxurl,{action:"messages_star",message_id:a.data("message-id"),star_status:a.data("star-status"),nonce:a.data("star-nonce"),bulk:a.data("star-bulk")},function(b){1===parseInt(b,10)&&("unstar"===a.data("star-status")?(a.data("star-status","star"),a.removeClass("message-action-unstar").addClass("message-action-star"),a.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_star),1===BP_PM_Star.is_single_thread?a.prop("title",BP_PM_Star.strings.title_star):a.prop("title",BP_PM_Star.strings.title_star_thread)):(a.data("star-status","unstar"),a.removeClass("message-action-star").addClass("message-action-unstar"),a.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_unstar),1===BP_PM_Star.is_single_thread?a.prop("title",BP_PM_Star.strings.title_unstar):a.prop("title",BP_PM_Star.strings.title_unstar_thread)))}),!1},jq("#message-threads").on("click","td.thread-star a",starAction),jq("#message-thread").on("click",".message-star-actions a",starAction),jq("#message-threads td.bulk-select-check :checkbox").on("change",function(){var a=jq(this),b=a.closest("tr").find(".thread-star a");a.prop("checked")?"unstar"===b.data("star-status")?BP_PM_Star.star_counter++:BP_PM_Star.unstar_counter++:"unstar"===b.data("star-status")?BP_PM_Star.star_counter--:BP_PM_Star.unstar_counter--,BP_PM_Star.star_counter>0&&0===parseInt(BP_PM_Star.unstar_counter,10)?jq('option[value="star"]').hide():jq('option[value="star"]').show(),BP_PM_Star.unstar_counter>0&&0===parseInt(BP_PM_Star.star_counter,10)?jq('option[value="unstar"]').hide():jq('option[value="unstar"]').show()}),jq("#select-all-notifications").click(function(a){this.checked?jq(".notification-check").each(function(){this.checked=!0}):jq(".notification-check").each(function(){this.checked=!1})}),jq("#notification-bulk-manage").attr("disabled","disabled"),jq("#notification-select").on("change",function(){jq("#notification-bulk-manage").attr("disabled",jq(this).val().length<=0)}),jq("#close-notice").on("click",function(){return jq(this).addClass("loading"),jq("#sidebar div.error").remove(),jq.post(ajaxurl,{action:"messages_close_notice",notice_id:jq(".notice").attr("rel").substr(2,jq(".notice").attr("rel").length)
|
3 |
-
},function(a){jq("#close-notice").removeClass("loading"),a[0]+a[1]==="-1"?(jq(".notice").prepend(a.substr(2,a.length)),jq("#sidebar div.error").hide().fadeIn(200)):jq(".notice").slideUp(100)}),!1}),jq("#wp-admin-bar ul.main-nav li, #nav li").mouseover(function(){jq(this).addClass("sfhover")}),jq("#wp-admin-bar ul.main-nav li, #nav li").mouseout(function(){jq(this).removeClass("sfhover")}),jq("#wp-admin-bar-logout, a.logout").on("click",function(){jq.removeCookie("bp-activity-scope",{path:"/"}),jq.removeCookie("bp-activity-filter",{path:"/"}),jq.removeCookie("bp-activity-oldestpage",{path:"/"});var a=["members","groups","blogs","forums"];jq(a).each(function(b){jq.removeCookie("bp-"+a[b]+"-scope",{path:"/"}),jq.removeCookie("bp-"+a[b]+"-filter",{path:"/"}),jq.removeCookie("bp-"+a[b]+"-extras",{path:"/"})})}),jq("body").hasClass("no-js")&&jq("body").attr("class",jq("body").attr("class").replace(/no-js/,"js")),"undefined"!=typeof wp&&"undefined"!=typeof wp.heartbeat&&"undefined"!=typeof BP_DTheme.pulse&&(wp.heartbeat.interval(Number(BP_DTheme.pulse)),jq.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}}));var e=0;jq(document).on("heartbeat-send.buddypress",function(a,b){e=0,jq("#buddypress ul.activity-list li").first().prop("id")&&(timestamp=jq("#buddypress ul.activity-list li").first().prop("class").match(/date-recorded-([0-9]+)/),timestamp&&(e=timestamp[1])),(0===activity_last_recorded||Number(e)>activity_last_recorded)&&(activity_last_recorded=Number(e)),b.bp_activity_last_recorded=activity_last_recorded,last_recorded_search=bp_get_querystring("s"),last_recorded_search&&(b.bp_activity_last_recorded_search_terms=last_recorded_search)}),jq(document).on("heartbeat-tick",function(a,b){b.bp_activity_newest_activities&&(newest_activities=b.bp_activity_newest_activities.activities+newest_activities,activity_last_recorded=Number(b.bp_activity_newest_activities.last_recorded),jq("#buddypress ul.activity-list li").first().hasClass("load-newest")||jq("#buddypress ul.activity-list").prepend('<li class="load-newest"><a href="#newest">'+BP_DTheme.newest+"</a></li>"))})});
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
+
function bp_init_activity(){jq.cookie("bp-activity-oldestpage",1,{path:"/"}),void 0!==jq.cookie("bp-activity-filter")&&jq("#activity-filter-select").length&&jq('#activity-filter-select select option[value="'+jq.cookie("bp-activity-filter")+'"]').prop("selected",!0),void 0!==jq.cookie("bp-activity-scope")&&jq(".activity-type-tabs").length&&(jq(".activity-type-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#activity-"+jq.cookie("bp-activity-scope")+", .item-list-tabs li.current").addClass("selected"))}function bp_init_objects(a){jq(a).each(function(b){void 0!==jq.cookie("bp-"+a[b]+"-filter")&&jq("#"+a[b]+"-order-select select").length&&jq("#"+a[b]+'-order-select select option[value="'+jq.cookie("bp-"+a[b]+"-filter")+'"]').prop("selected",!0),void 0!==jq.cookie("bp-"+a[b]+"-scope")&&jq("div."+a[b]).length&&(jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a[b]+"-"+jq.cookie("bp-"+a[b]+"-scope")+", #object-nav li.current").addClass("selected"))})}function bp_filter_request(a,b,c,d,e,f,g,h,i){return"activity"===a?!1:(null===c&&(c="all"),jq.cookie("bp-"+a+"-scope",c,{path:"/"}),jq.cookie("bp-"+a+"-filter",b,{path:"/"}),jq.cookie("bp-"+a+"-extras",g,{path:"/"}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected")}),jq("#"+a+"-"+c+", #object-nav li.current").addClass("selected"),jq(".item-list-tabs li.selected").addClass("loading"),jq('.item-list-tabs select option[value="'+b+'"]').prop("selected",!0),("friends"===a||"group_members"===a)&&(a="members"),bp_ajax_request&&bp_ajax_request.abort(),void(bp_ajax_request=jq.post(ajaxurl,{action:a+"_filter",cookie:bp_get_cookies(),object:a,filter:b,search_terms:e,scope:c,page:f,extras:g,template:i},function(a){if("pag-bottom"===h&&jq("#subnav").length){var b=jq("#subnav").parent();jq("html,body").animate({scrollTop:b.offset().top},"slow",function(){jq(d).fadeOut(100,function(){jq(this).html(a),jq(this).fadeIn(100)})})}else jq(d).fadeOut(100,function(){jq(this).html(a),jq(this).fadeIn(100)});jq(".item-list-tabs li.selected").removeClass("loading")})))}function bp_activity_request(a,b){null!==a&&jq.cookie("bp-activity-scope",a,{path:"/"}),null!==b&&jq.cookie("bp-activity-filter",b,{path:"/"}),jq.cookie("bp-activity-oldestpage",1,{path:"/"}),jq(".item-list-tabs li").each(function(){jq(this).removeClass("selected loading")}),jq("#activity-"+a+", .item-list-tabs li.current").addClass("selected"),jq("#object-nav.item-list-tabs li.selected, div.activity-type-tabs li.selected").addClass("loading"),jq('#activity-filter-select select option[value="'+b+'"]').prop("selected",!0),jq(".widget_bp_activity_widget h2 span.ajax-loader").show(),bp_ajax_request&&bp_ajax_request.abort(),bp_ajax_request=jq.post(ajaxurl,{action:"activity_widget_filter",cookie:bp_get_cookies(),_wpnonce_activity_filter:jq("#_wpnonce_activity_filter").val(),scope:a,filter:b},function(a){jq(".widget_bp_activity_widget h2 span.ajax-loader").hide(),jq("div.activity").fadeOut(100,function(){jq(this).html(a.contents),jq(this).fadeIn(100),bp_legacy_theme_hide_comments()}),void 0!==a.feed_url&&jq(".directory #subnav li.feed a, .home-page #subnav li.feed a").attr("href",a.feed_url),jq(".item-list-tabs li.selected").removeClass("loading")},"json")}function bp_legacy_theme_hide_comments(){var a,b,c,d=jq("div.activity-comments");return d.length?void d.each(function(){jq(this).children("ul").children("li").length<5||(comments_div=jq(this),a=comments_div.parents("#activity-stream > li"),b=jq(this).children("ul").children("li"),c=" ",jq("#"+a.attr("id")+" a.acomment-reply span").length&&(c=jq("#"+a.attr("id")+" a.acomment-reply span").html()),b.each(function(d){d<b.length-5&&(jq(this).addClass("hidden"),jq(this).toggle(),d||jq(this).before('<li class="show-all"><a href="#'+a.attr("id")+'/show-all/" title="'+BP_DTheme.show_all_comments+'">'+BP_DTheme.show_x_comments.replace("%d",c)+"</a></li>"))}))}):!1}function checkAll(){var a,b=document.getElementsByTagName("input");for(a=0;a<b.length;a++)"checkbox"===b[a].type&&(""===$("check_all").checked?b[a].checked="":b[a].checked="checked")}function clear(a){if(a=document.getElementById(a)){var b=a.getElementsByTagName("INPUT"),c=a.getElementsByTagName("OPTION"),d=0;if(b)for(d=0;d<b.length;d++)b[d].checked="";if(c)for(d=0;d<c.length;d++)c[d].selected=!1}}function bp_get_cookies(){var a,b,c,d,e,f=document.cookie.split(";"),g={},h="bp-";for(a=0;a<f.length;a++)b=f[a],c=b.indexOf("="),d=jq.trim(unescape(b.slice(0,c))),e=unescape(b.slice(c+1)),0===d.indexOf(h)&&(g[d]=e);return encodeURIComponent(jq.param(g))}var jq=jQuery,bp_ajax_request=null,newest_activities="",activity_last_recorded=0;jq(document).ready(function(){"-1"===window.location.search.indexOf("new")&&jq("div.forums").length?jq("#new-topic-post").hide():jq("#new-topic-post").show(),bp_init_activity();var a=["members","groups","blogs","forums","group_members"],b=jq("#whats-new");if(bp_init_objects(a),b.length&&bp_get_querystring("r")){var c=b.val();jq("#whats-new-options").slideDown(),b.animate({height:"3.8em"}),jq.scrollTo(b,500,{offset:-125,easing:"swing"}),b.val("").focus().val(c)}else jq("#whats-new-options").hide();if(b.focus(function(){jq("#whats-new-options").slideDown(),jq(this).animate({height:"3.8em"}),jq("#aw-whats-new-submit").prop("disabled",!1),jq(this).parent().addClass("active"),jq("#whats-new-content").addClass("active");var a=jq("form#whats-new-form"),b=jq("#activity-all");a.hasClass("submitted")&&a.removeClass("submitted"),b.length&&(b.hasClass("selected")?"-1"!==jq("#activity-filter-select select").val()&&(jq("#activity-filter-select select").val("-1"),jq("#activity-filter-select select").trigger("change")):(jq("#activity-filter-select select").val("-1"),b.children("a").trigger("click")))}),jq("#whats-new-form").on("focusout",function(a){var c=jq(this);setTimeout(function(){if(!c.find(":hover").length){if(""!==b.val())return;b.animate({height:"2.2em"}),jq("#whats-new-options").slideUp(),jq("#aw-whats-new-submit").prop("disabled",!0),jq("#whats-new-content").removeClass("active"),b.parent().removeClass("active")}},0)}),jq("#aw-whats-new-submit").on("click",function(){var a,b=0,c=jq(this),d=c.closest("form#whats-new-form"),e={};return jq.each(d.serializeArray(),function(a,b){"_"!==b.name.substr(0,1)&&"whats-new"!==b.name.substr(0,9)&&(e[b.name]?jq.isArray(e[b.name])?e[b.name].push(b.value):e[b.name]=new Array(e[b.name],b.value):e[b.name]=b.value)}),d.find("*").each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!0)}),jq("div.error").remove(),c.addClass("loading"),c.prop("disabled",!0),d.addClass("submitted"),object="",item_id=jq("#whats-new-post-in").val(),content=jq("#whats-new").val(),firstrow=jq("#buddypress ul.activity-list li").first(),activity_row=firstrow,timestamp=null,firstrow.length&&(activity_row.hasClass("load-newest")&&(activity_row=firstrow.next()),timestamp=activity_row.prop("class").match(/date-recorded-([0-9]+)/)),timestamp&&(b=timestamp[1]),item_id>0&&(object=jq("#whats-new-post-object").val()),a=jq.extend({action:"post_update",cookie:bp_get_cookies(),_wpnonce_post_update:jq("#_wpnonce_post_update").val(),content:content,object:object,item_id:item_id,since:b,_bp_as_nonce:jq("#_bp_as_nonce").val()||""},e),jq.post(ajaxurl,a,function(a){if(d.find("*").each(function(){(jq.nodeName(this,"textarea")||jq.nodeName(this,"input"))&&jq(this).prop("disabled",!1)}),a[0]+a[1]==="-1")d.prepend(a.substr(2,a.length)),jq("#"+d.attr("id")+" div.error").hide().fadeIn(200);else{if(0===jq("ul.activity-list").length&&(jq("div.error").slideUp(100).remove(),jq("#message").slideUp(100).remove(),jq("div.activity").append('<ul id="activity-stream" class="activity-list item-list">')),firstrow.hasClass("load-newest")&&firstrow.remove(),jq("#activity-stream").prepend(a),b||jq("#activity-stream li:first").addClass("new-update just-posted"),0!==jq("#latest-update").length){var c=jq("#activity-stream li.new-update .activity-content .activity-inner p").html(),e=jq("#activity-stream li.new-update .activity-content .activity-header p a.view").attr("href"),f=jq("#activity-stream li.new-update .activity-content .activity-inner p").text(),g="";""!==f&&(g=c+" "),g+='<a href="'+e+'" rel="nofollow">'+BP_DTheme.view+"</a>",jq("#latest-update").slideUp(300,function(){jq("#latest-update").html(g),jq("#latest-update").slideDown(300)})}jq("li.new-update").hide().slideDown(300),jq("li.new-update").removeClass("new-update"),jq("#whats-new").val(""),d.get(0).reset(),newest_activities="",activity_last_recorded=0}jq("#whats-new-options").slideUp(),jq("#whats-new-form textarea").animate({height:"2.2em"}),jq("#aw-whats-new-submit").prop("disabled",!0).removeClass("loading"),jq("#whats-new-content").removeClass("active")}),!1}),jq("div.activity-type-tabs").on("click",function(a){var b,c,d=jq(a.target).parent();if("STRONG"===a.target.nodeName||"SPAN"===a.target.nodeName)d=d.parent();else if("A"!==a.target.nodeName)return!1;return jq.cookie("bp-activity-oldestpage",1,{path:"/"}),b=d.attr("id").substr(9,d.attr("id").length),c=jq("#activity-filter-select select").val(),"mentions"===b&&jq("#"+d.attr("id")+" a strong").remove(),bp_activity_request(b,c),!1}),jq("#activity-filter-select select").change(function(){var a,b=jq("div.activity-type-tabs li.selected"),c=jq(this).val();return a=b.length?b.attr("id").substr(9,b.attr("id").length):null,bp_activity_request(a,c),!1}),jq("div.activity").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l=jq(a.target);return l.hasClass("fav")||l.hasClass("unfav")?(b=l.hasClass("fav")?"fav":"unfav",c=l.closest(".activity-item"),d=c.attr("id").substr(9,c.attr("id").length),l.addClass("loading"),jq.post(ajaxurl,{action:"activity_mark_"+b,cookie:bp_get_cookies(),id:d},function(a){l.removeClass("loading"),l.fadeOut(200,function(){jq(this).html(a),jq(this).attr("title","fav"===b?BP_DTheme.remove_fav:BP_DTheme.mark_as_fav),jq(this).fadeIn(200)}),"fav"===b?(jq(".item-list-tabs #activity-favs-personal-li").length||(jq(".item-list-tabs #activity-favorites").length||jq(".item-list-tabs ul #activity-mentions").before('<li id="activity-favorites"><a href="#">'+BP_DTheme.my_favs+" <span>0</span></a></li>"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())+1)),l.removeClass("fav"),l.addClass("unfav")):(l.removeClass("unfav"),l.addClass("fav"),jq(".item-list-tabs ul #activity-favorites span").html(Number(jq(".item-list-tabs ul #activity-favorites span").html())-1),Number(jq(".item-list-tabs ul #activity-favorites span").html())||(jq(".item-list-tabs ul #activity-favorites").hasClass("selected")&&bp_activity_request(null,null),jq(".item-list-tabs ul #activity-favorites").remove())),"activity-favorites"===jq(".item-list-tabs li.selected").attr("id")&&l.closest(".activity-item").slideUp(100)}),!1):l.hasClass("delete-activity")?(e=l.parents("div.activity ul li"),f=e.attr("id").substr(9,e.attr("id").length),g=l.attr("href"),h=g.split("_wpnonce="),i=e.prop("class").match(/date-recorded-([0-9]+)/),h=h[1],l.addClass("loading"),jq.post(ajaxurl,{action:"delete_activity",cookie:bp_get_cookies(),id:f,_wpnonce:h},function(a){a[0]+a[1]==="-1"?(e.prepend(a.substr(2,a.length)),e.children("#message").hide().fadeIn(300)):(e.slideUp(300),i&&activity_last_recorded===i[1]&&(newest_activities="",activity_last_recorded=0))}),!1):l.hasClass("spam-activity")?(e=l.parents("div.activity ul li"),i=e.prop("class").match(/date-recorded-([0-9]+)/),l.addClass("loading"),jq.post(ajaxurl,{action:"bp_spam_activity",cookie:encodeURIComponent(document.cookie),id:e.attr("id").substr(9,e.attr("id").length),_wpnonce:l.attr("href").split("_wpnonce=")[1]},function(a){a[0]+a[1]==="-1"?(e.prepend(a.substr(2,a.length)),e.children("#message").hide().fadeIn(300)):(e.slideUp(300),i&&activity_last_recorded===i[1]&&(newest_activities="",activity_last_recorded=0))}),!1):l.parent().hasClass("load-more")?(bp_ajax_request&&bp_ajax_request.abort(),jq("#buddypress li.load-more").addClass("loading"),null===jq.cookie("bp-activity-oldestpage")&&jq.cookie("bp-activity-oldestpage",1,{path:"/"}),j=1*jq.cookie("bp-activity-oldestpage")+1,k=[],jq(".activity-list li.just-posted").each(function(){k.push(jq(this).attr("id").replace("activity-",""))}),load_more_args={action:"activity_get_older_updates",cookie:bp_get_cookies(),page:j,exclude_just_posted:k.join(",")},load_more_search=bp_get_querystring("s"),load_more_search&&(load_more_args.search_terms=load_more_search),bp_ajax_request=jq.post(ajaxurl,load_more_args,function(a){jq("#buddypress li.load-more").removeClass("loading"),jq.cookie("bp-activity-oldestpage",j,{path:"/"}),jq("#buddypress ul.activity-list").append(a.contents),l.parent().hide()},"json"),!1):void(l.parent().hasClass("load-newest")&&(a.preventDefault(),l.parent().hide(),activity_html=jq.parseHTML(newest_activities),jq.each(activity_html,function(a,b){"LI"===b.nodeName&&jq(b).hasClass("just-posted")&&jq("#"+jq(b).attr("id")).length&&jq("#"+jq(b).attr("id")).remove()}),jq("#buddypress ul.activity-list").prepend(newest_activities),newest_activities=""))}),jq("div.activity").on("click",".activity-read-more a",function(a){var b,c,d=jq(a.target),e=d.parent().attr("id").split("-"),f=e[3],g=e[0];return b="acomment"===g?"acomment-content":"activity-inner",c=jq("#"+g+"-"+f+" ."+b+":first"),jq(d).addClass("loading"),jq.post(ajaxurl,{action:"get_single_activity_content",activity_id:f},function(a){jq(c).slideUp(300).html(a).slideDown(300)}),!1}),jq("form.ac-form").hide(),jq(".activity-comments").length&&bp_legacy_theme_hide_comments(),jq("div.activity").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=jq(a.target);return r.hasClass("acomment-reply")||r.parent().hasClass("acomment-reply")?(r.parent().hasClass("acomment-reply")&&(r=r.parent()),b=r.attr("id"),c=b.split("-"),d=c[2],e=r.attr("href").substr(10,r.attr("href").length),f=jq("#ac-form-"+d),f.css("display","none"),f.removeClass("root"),jq(".ac-form").hide(),f.children("div").each(function(){jq(this).hasClass("error")&&jq(this).hide()}),"comment"!==c[1]?jq("#acomment-"+e).append(f):jq("#activity-"+d+" .activity-comments").append(f),f.parent().hasClass("activity-comments")&&f.addClass("root"),f.slideDown(200),jq.scrollTo(f,500,{offset:-100,easing:"swing"}),jq("#ac-form-"+c[2]+" textarea").focus(),!1):"ac_form_submit"===r.attr("name")?(f=r.parents("form"),g=f.parent(),h=f.attr("id").split("-"),g.hasClass("activity-comments")?j=h[2]:(i=g.attr("id").split("-"),j=i[1]),content=jq("#"+f.attr("id")+" textarea"),jq("#"+f.attr("id")+" div.error").hide(),r.addClass("loading").prop("disabled",!0),content.addClass("loading").prop("disabled",!0),k={action:"new_activity_comment",cookie:bp_get_cookies(),_wpnonce_new_activity_comment:jq("#_wpnonce_new_activity_comment").val(),comment_id:j,form_id:h[2],content:content.val()},l=jq("#_bp_as_nonce_"+j).val(),l&&(k["_bp_as_nonce_"+j]=l),jq.post(ajaxurl,k,function(a){if(r.removeClass("loading"),content.removeClass("loading"),a[0]+a[1]==="-1")f.append(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b=f.parent();f.fadeOut(200,function(){0===b.children("ul").length&&(b.hasClass("activity-comments")?b.prepend("<ul></ul>"):b.append("<ul></ul>"));var c=jq.trim(a);b.children("ul").append(jq(c).hide().fadeIn(200)),f.children("textarea").val(""),b.parent().addClass("has-comments")}),jq("#"+f.attr("id")+" textarea").val(""),jq("#activity-"+h[2]+" a.acomment-reply span").html(Number(jq("#activity-"+h[2]+" a.acomment-reply span").html())+1),m=b.find(".show-all").find("a"),m&&(n=jq("li#activity-"+h[2]+" a.acomment-reply span").html(),m.html(BP_DTheme.show_x_comments.replace("%d",n)))}jq(r).prop("disabled",!1),jq(content).prop("disabled",!1)}),!1):r.hasClass("acomment-delete")?(o=r.attr("href"),p=r.parent().parent(),f=p.parents("div.activity-comments").children("form"),q=o.split("_wpnonce="),q=q[1],j=o.split("cid="),j=j[1].split("&"),j=j[0],r.addClass("loading"),jq(".activity-comments ul .error").remove(),p.parents(".activity-comments").append(f),jq.post(ajaxurl,{action:"delete_activity_comment",cookie:bp_get_cookies(),_wpnonce:q,id:j},function(a){if(a[0]+a[1]==="-1")p.prepend(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b,c,d,e=jq("#"+p.attr("id")+" ul").children("li"),f=0;jq(e).each(function(){jq(this).is(":hidden")||f++}),p.fadeOut(200,function(){p.remove()}),b=jq("#"+p.parents("#activity-stream > li").attr("id")+" a.acomment-reply span"),c=b.html()-(1+f),b.html(c),d=p.siblings(".show-all").find("a"),d&&d.html(BP_DTheme.show_x_comments.replace("%d",c)),0===c&&jq(p.parents("#activity-stream > li")).removeClass("has-comments")}}),!1):r.hasClass("spam-activity-comment")?(o=r.attr("href"),p=r.parent().parent(),r.addClass("loading"),jq(".activity-comments ul div.error").remove(),p.parents(".activity-comments").append(p.parents(".activity-comments").children("form")),jq.post(ajaxurl,{action:"bp_spam_activity_comment",cookie:encodeURIComponent(document.cookie),_wpnonce:o.split("_wpnonce=")[1],id:o.split("cid=")[1].split("&")[0]},function(a){if(a[0]+a[1]==="-1")p.prepend(jq(a.substr(2,a.length)).hide().fadeIn(200));else{var b,c=jq("#"+p.attr("id")+" ul").children("li"),d=0;jq(c).each(function(){jq(this).is(":hidden")||d++}),p.fadeOut(200),b=p.parents("#activity-stream > li"),jq("#"+b.attr("id")+" a.acomment-reply span").html(jq("#"+b.attr("id")+" a.acomment-reply span").html()-(1+d))}}),!1):r.parent().hasClass("show-all")?(r.parent().addClass("loading"),setTimeout(function(){r.parent().parent().children("li").fadeIn(200,function(){r.parent().remove()})},600),!1):r.hasClass("ac-reply-cancel")?(jq(r).closest(".ac-form").slideUp(200),!1):void 0}),jq(document).keydown(function(a){if(a=a||window.event,a.target?element=a.target:a.srcElement&&(element=a.srcElement),3===element.nodeType&&(element=element.parentNode),a.ctrlKey!==!0&&a.altKey!==!0&&a.metaKey!==!0){var b=a.keyCode?a.keyCode:a.which;27===b&&"TEXTAREA"===element.tagName&&jq(element).hasClass("ac-input")&&jq(element).parent().parent().parent().slideUp(200)}}),jq(".dir-search, .groups-members-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c,d,e=jq(a.target);return"submit"===e.attr("type")?(b=jq(".item-list-tabs li.selected").attr("id").split("-"),c=b[0],d=null,"groups-members-search"===a.currentTarget.className&&(c="group_members",d="groups/single/members"),bp_filter_request(c,jq.cookie("bp-"+c+"-filter"),jq.cookie("bp-"+c+"-scope"),"div."+c,e.parent().children("label").children("input").val(),1,jq.cookie("bp-"+c+"-extras"),null,d),!1):void 0}}),jq("div.item-list-tabs").on("click",function(a){if(!jq(this).hasClass("no-ajax")&&!jq(a.target).hasClass("no-ajax")){var b,c,d,e,f,g="SPAN"===a.target.nodeName?a.target.parentNode:a.target,h=jq(g).parent();return"LI"!==h[0].nodeName||h.hasClass("last")?void 0:(b=h.attr("id").split("-"),c=b[0],"activity"===c?!1:(d=b[1],e=jq("#"+c+"-order-select select").val(),f=jq("#"+c+"_search").val(),bp_filter_request(c,e,d,"div."+c,f,1,jq.cookie("bp-"+c+"-extras")),!1))}}),jq("li.filter select").change(function(){var a,b,c,d,e,f,g,h;return a=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":this),b=a.attr("id").split("-"),c=b[0],d=b[1],e=jq(this).val(),f=!1,g=null,jq(".dir-search input").length&&(f=jq(".dir-search input").val()),h=jq(".groups-members-search input"),h.length&&(f=h.val(),c="members",d="groups"),"members"===c&&"groups"===d&&(c="group_members",g="groups/single/members"),"friends"===c&&(c="members"),bp_filter_request(c,e,d,"div."+c,f,1,jq.cookie("bp-"+c+"-extras"),null,g),!1}),jq("#buddypress").on("click",function(a){var b,c,d,e,f,g,h,i,j,k,l=jq(a.target);return l.hasClass("button")?!0:l.parent().parent().hasClass("pagination")&&!l.parent().parent().hasClass("no-ajax")?l.hasClass("dots")||l.hasClass("current")?!1:(b=jq(jq(".item-list-tabs li.selected").length?".item-list-tabs li.selected":"li.filter select"),c=b.attr("id").split("-"),d=c[0],e=!1,f=jq(l).closest(".pagination-links").attr("id"),g=null,h=l.attr("href").split("&"),i=h[0].split("="),i=i[1],jq("div.dir-search input").length&&(e=jq(".dir-search input").val(),!e&&bp_get_querystring("s")&&(e=jq(".dir-search input").prop("placeholder"))),j=jq(".groups-members-search input"),j.length&&(e=j.val(),d="members"),"members"===d&&"groups"===c[1]&&(d="group_members",g="groups/single/members"),"admin"===d&&jq("body").hasClass("membership-requests")&&(d="requests"),k=-1!==f.indexOf("pag-bottom")?"pag-bottom":null,bp_filter_request(d,jq.cookie("bp-"+d+"-filter"),jq.cookie("bp-"+d+"-scope"),"div."+d,e,i,jq.cookie("bp-"+d+"-extras"),k,g),!1):void 0}),jq("a.show-hide-new").on("click",function(){return jq("#new-topic-post").length?(jq("#new-topic-post").is(":visible")?jq("#new-topic-post").slideUp(200):jq("#new-topic-post").slideDown(200,function(){jq("#topic_title").focus()}),!1):!1}),jq("#submit_topic_cancel").on("click",function(){return jq("#new-topic-post").length?(jq("#new-topic-post").slideUp(200),!1):!1}),jq("#forum-directory-tags a").on("click",function(){return bp_filter_request("forums","tags",jq.cookie("bp-forums-scope"),"div.forums",jq(this).html().replace(/ /g,"-"),1,jq.cookie("bp-forums-extras")),!1}),jq("#send-invite-form").on("click","#invite-list input",function(){var a,b,c=jq("#send-invite-form > .invite").length;jq(".ajax-loader").toggle(),c&&jq(this).parents("ul").find("input").prop("disabled",!0),a=jq(this).val(),b=jq(this).prop("checked")===!0?"invite":"uninvite",c||jq(".item-list-tabs li.selected").addClass("loading"),jq.post(ajaxurl,{action:"groups_invite_user",friend_action:b,cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:a,group_id:jq("#group_id").val()},function(d){jq("#message")&&jq("#message").hide(),c?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),"invite"===b?jq("#friend-list").append(d):"uninvite"===b&&jq("#friend-list li#uid-"+a).remove(),jq(".item-list-tabs li.selected").removeClass("loading"))})}),jq("#send-invite-form").on("click","a.remove",function(){var a=jq("#send-invite-form > .invite").length,b=jq(this).attr("id");return jq(".ajax-loader").toggle(),b=b.split("-"),b=b[1],jq.post(ajaxurl,{action:"groups_invite_user",friend_action:"uninvite",cookie:bp_get_cookies(),_wpnonce:jq("#_wpnonce_invite_uninvite_user").val(),friend_id:b,group_id:jq("#group_id").val()},function(c){a?bp_filter_request("invite","bp-invite-filter","bp-invite-scope","div.invite",!1,1,"","",""):(jq(".ajax-loader").toggle(),jq("#friend-list #uid-"+b).remove(),jq("#invite-list #f-"+b).prop("checked",!1))}),!1}),jq(".visibility-toggle-link").on("click",function(a){a.preventDefault(),jq(this).parent().hide().addClass("field-visibility-settings-hide").siblings(".field-visibility-settings").show().addClass("field-visibility-settings-open")}),jq(".field-visibility-settings-close").on("click",function(a){a.preventDefault();var b=jq(this).parent(),c=b.find("input:checked").parent().text();b.hide().removeClass("field-visibility-settings-open").siblings(".field-visibility-settings-toggle").children(".current-visibility-level").text(c).end().show().removeClass("field-visibility-settings-hide")}),jq("#profile-edit-form input:not(:submit), #profile-edit-form textarea, #profile-edit-form select, #signup_form input:not(:submit), #signup_form textarea, #signup_form select").change(function(){var a=!0;jq("#profile-edit-form input:submit, #signup_form input:submit").on("click",function(){a=!1}),window.onbeforeunload=function(b){return a?BP_DTheme.unsaved_changes:void 0}}),jq("#friend-list a.accept, #friend-list a.reject").on("click",function(){var a,b=jq(this),c=jq(this).parents("#friend-list li"),d=jq(this).parents("li div.action"),e=c.attr("id").substr(11,c.attr("id").length),f=b.attr("href"),g=f.split("_wpnonce=")[1];return jq(this).hasClass("accepted")||jq(this).hasClass("rejected")?!1:(jq(this).hasClass("accept")?(a="accept_friendship",d.children("a.reject").css("visibility","hidden")):(a="reject_friendship",d.children("a.accept").css("visibility","hidden")),b.addClass("loading"),jq.post(ajaxurl,{action:a,cookie:bp_get_cookies(),id:e,_wpnonce:g},function(a){b.removeClass("loading"),a[0]+a[1]==="-1"?(c.prepend(a.substr(2,a.length)),c.children("#message").hide().fadeIn(200)):b.fadeOut(100,function(){jq(this).hasClass("accept")?(d.children("a.reject").hide(),jq(this).html(BP_DTheme.accepted).contents().unwrap()):(d.children("a.accept").hide(),jq(this).html(BP_DTheme.rejected).contents().unwrap())})}),!1)}),jq("#members-dir-list, #members-group-list, #item-header").on("click",".friendship-button a",function(){jq(this).parent().addClass("loading");var a=jq(this).attr("id"),b=jq(this).attr("href"),c=jq(this);return a=a.split("-"),a=a[1],b=b.split("?_wpnonce="),b=b[1].split("&"),b=b[0],jq.post(ajaxurl,{action:"addremove_friend",cookie:bp_get_cookies(),fid:a,_wpnonce:b},function(a){var b=c.attr("rel");parentdiv=c.parent(),"add"===b?jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("add_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("pending_friend"),parentdiv.fadeIn(200).html(a)}):"remove"===b&&jq(parentdiv).fadeOut(200,function(){parentdiv.removeClass("remove_friend"),parentdiv.removeClass("loading"),parentdiv.addClass("add"),parentdiv.fadeIn(200).html(a)})}),!1}),jq("#buddypress").on("click",".group-button .leave-group",function(){return!1===confirm(BP_DTheme.leave_group_confirm)?!1:void 0}),jq("#groups-dir-list").on("click",".group-button a",function(){var a=jq(this).parent().attr("id"),b=jq(this).attr("href"),c=jq(this);return a=a.split("-"),a=a[1],b=b.split("?_wpnonce="),b=b[1].split("&"),b=b[0],c.hasClass("leave-group")&&!1===confirm(BP_DTheme.leave_group_confirm)?!1:(jq.post(ajaxurl,{action:"joinleave_group",cookie:bp_get_cookies(),gid:a,_wpnonce:b},function(a){var b=c.parent();jq("body.directory").length?jq(b).fadeOut(200,function(){b.fadeIn(200).html(a);var d=jq("#groups-personal span"),e=1;c.hasClass("leave-group")?(b.hasClass("hidden")&&b.closest("li").slideUp(200),e=0):c.hasClass("request-membership")&&(e=!1),d.length&&e!==!1&&(e?d.text((d.text()>>0)+1):d.text((d.text()>>0)-1))}):window.location.reload()}),!1)}),jq("#buddypress").on("click",".pending",function(){return!1}),jq("body").hasClass("register")){var d=jq("#signup_with_blog");d.prop("checked")||jq("#blog-details").toggle(),d.change(function(){jq("#blog-details").toggle()})}jq(".message-search").on("click",function(a){if(!jq(this).hasClass("no-ajax")){var b,c=jq(a.target);return"submit"===c.attr("type")||"button"===c.attr("type")?(b="messages",bp_filter_request(b,jq.cookie("bp-"+b+"-filter"),jq.cookie("bp-"+b+"-scope"),"div."+b,jq("#messages_search").val(),1,jq.cookie("bp-"+b+"-extras")),!1):void 0}}),jq("#send_reply_button").click(function(){var a=jq("#messages_order").val()||"ASC",b=jq("#message-recipients").offset(),c=jq("#send_reply_button");return jq(c).addClass("loading"),jq.post(ajaxurl,{action:"messages_send_reply",cookie:bp_get_cookies(),_wpnonce:jq("#send_message_nonce").val(),content:jq("#message_content").val(),send_to:jq("#send_to").val(),subject:jq("#subject").val(),thread_id:jq("#thread_id").val()},function(d){d[0]+d[1]==="-1"?jq("#send-reply").prepend(d.substr(2,d.length)):(jq("#send-reply #message").remove(),jq("#message_content").val(""),"ASC"===a?jq("#send-reply").before(d):(jq("#message-recipients").after(d),jq(window).scrollTop(b.top)),jq(".new-message").hide().slideDown(200,function(){jq(".new-message").removeClass("new-message")})),jq(c).removeClass("loading")}),!1}),jq("#mark_as_read, #mark_as_unread").click(function(){var a,b,c,d,e,f,g,h,i="",j=jq('#message-threads tr td input[type="checkbox"]');return"mark_as_unread"===jq(this).attr("id")?(a="read",b="unread",c=1,d=0,e="inline",f="messages_markunread"):(a="unread",b="read",c=0,d=1,e="none",f="messages_markread"),j.each(function(d){jq(this).is(":checked")&&jq("#m-"+jq(this).attr("value")).hasClass(a)&&(i+=jq(this).attr("value"),jq("#m-"+jq(this).attr("value")).removeClass(a),jq("#m-"+jq(this).attr("value")).addClass(b),h=jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(),jq("#m-"+jq(this).attr("value")+" td span.unread-count").html(c),jq("#m-"+jq(this).attr("value")+" td span.unread-count").css("display",e),g=jq("tr.unread").length,jq("#user-messages span").html(g),d!==j.length-1&&(i+=","))}),jq.post(ajaxurl,{action:f,thread_ids:i}),!1}),jq("body.messages #item-body div.messages").on("change","#message-type-select",function(){var a=this.value,b=jq('td input[type="checkbox"]'),c="checked";switch(b.each(function(a){b[a].checked=""}),a){case"unread":b=jq('tr.unread td input[type="checkbox"]');break;case"read":b=jq('tr.read td input[type="checkbox"]');break;case"":c=""}b.each(function(a){b[a].checked=c})}),jq("body.messages #item-body div.messages").on("click",".messages-options-nav a",function(){return-1!==jq.inArray(this.id,Array("delete_sentbox_messages","delete_inbox_messages"))?(checkboxes_tosend="",checkboxes=jq('#message-threads tr td input[type="checkbox"]'),jq("#message").remove(),jq(this).addClass("loading"),jq(checkboxes).each(function(a){jq(this).is(":checked")&&(checkboxes_tosend+=jq(this).attr("value")+",")}),""===checkboxes_tosend?(jq(this).removeClass("loading"),!1):(jq.post(ajaxurl,{action:"messages_delete",thread_ids:checkboxes_tosend},function(a){a[0]+a[1]==="-1"?jq("#message-threads").prepend(a.substr(2,a.length)):(jq("#message-threads").before('<div id="message" class="updated"><p>'+a+"</p></div>"),jq(checkboxes).each(function(a){jq(this).is(":checked")&&(jq(this).attr("checked",!1),jq(this).parent().parent().fadeOut(150))})),jq("#message").hide().slideDown(150),jq("#delete_inbox_messages, #delete_sentbox_messages").removeClass("loading")}),!1)):void 0}),jq("#select-all-messages").click(function(a){this.checked?jq(".message-check").each(function(){this.checked=!0}):jq(".message-check").each(function(){this.checked=!1})}),jq("#messages-bulk-manage").attr("disabled","disabled"),jq("#messages-select").on("change",function(){jq("#messages-bulk-manage").attr("disabled",jq(this).val().length<=0)}),starAction=function(){var a=jq(this);return jq.post(ajaxurl,{action:"messages_star",message_id:a.data("message-id"),star_status:a.data("star-status"),nonce:a.data("star-nonce"),bulk:a.data("star-bulk")},function(b){1===parseInt(b,10)&&("unstar"===a.data("star-status")?(a.data("star-status","star"),a.removeClass("message-action-unstar").addClass("message-action-star"),a.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_star),1===BP_PM_Star.is_single_thread?a.prop("title",BP_PM_Star.strings.title_star):a.prop("title",BP_PM_Star.strings.title_star_thread)):(a.data("star-status","unstar"),a.removeClass("message-action-star").addClass("message-action-unstar"),a.find(".bp-screen-reader-text").text(BP_PM_Star.strings.text_unstar),1===BP_PM_Star.is_single_thread?a.prop("title",BP_PM_Star.strings.title_unstar):a.prop("title",BP_PM_Star.strings.title_unstar_thread)))}),!1},jq("#message-threads").on("click","td.thread-star a",starAction),jq("#message-thread").on("click",".message-star-actions a",starAction),jq("#message-threads td.bulk-select-check :checkbox").on("change",function(){var a=jq(this),b=a.closest("tr").find(".thread-star a");a.prop("checked")?"unstar"===b.data("star-status")?BP_PM_Star.star_counter++:BP_PM_Star.unstar_counter++:"unstar"===b.data("star-status")?BP_PM_Star.star_counter--:BP_PM_Star.unstar_counter--,BP_PM_Star.star_counter>0&&0===parseInt(BP_PM_Star.unstar_counter,10)?jq('option[value="star"]').hide():jq('option[value="star"]').show(),BP_PM_Star.unstar_counter>0&&0===parseInt(BP_PM_Star.star_counter,10)?jq('option[value="unstar"]').hide():jq('option[value="unstar"]').show()}),jq("#select-all-notifications").click(function(a){this.checked?jq(".notification-check").each(function(){this.checked=!0}):jq(".notification-check").each(function(){this.checked=!1})}),jq("#notification-bulk-manage").attr("disabled","disabled"),
|
3 |
+
jq("#notification-select").on("change",function(){jq("#notification-bulk-manage").attr("disabled",jq(this).val().length<=0)}),jq("#close-notice").on("click",function(){return jq(this).addClass("loading"),jq("#sidebar div.error").remove(),jq.post(ajaxurl,{action:"messages_close_notice",notice_id:jq(".notice").attr("rel").substr(2,jq(".notice").attr("rel").length)},function(a){jq("#close-notice").removeClass("loading"),a[0]+a[1]==="-1"?(jq(".notice").prepend(a.substr(2,a.length)),jq("#sidebar div.error").hide().fadeIn(200)):jq(".notice").slideUp(100)}),!1}),jq("#wp-admin-bar ul.main-nav li, #nav li").mouseover(function(){jq(this).addClass("sfhover")}),jq("#wp-admin-bar ul.main-nav li, #nav li").mouseout(function(){jq(this).removeClass("sfhover")}),jq("#wp-admin-bar-logout, a.logout").on("click",function(){jq.removeCookie("bp-activity-scope",{path:"/"}),jq.removeCookie("bp-activity-filter",{path:"/"}),jq.removeCookie("bp-activity-oldestpage",{path:"/"});var a=["members","groups","blogs","forums"];jq(a).each(function(b){jq.removeCookie("bp-"+a[b]+"-scope",{path:"/"}),jq.removeCookie("bp-"+a[b]+"-filter",{path:"/"}),jq.removeCookie("bp-"+a[b]+"-extras",{path:"/"})})}),jq("body").hasClass("no-js")&&jq("body").attr("class",jq("body").attr("class").replace(/no-js/,"js")),"undefined"!=typeof wp&&"undefined"!=typeof wp.heartbeat&&"undefined"!=typeof BP_DTheme.pulse&&(wp.heartbeat.interval(Number(BP_DTheme.pulse)),jq.fn.extend({"heartbeat-send":function(){return this.bind("heartbeat-send.buddypress")}}));var e=0;jq(document).on("heartbeat-send.buddypress",function(a,b){e=0,jq("#buddypress ul.activity-list li").first().prop("id")&&(timestamp=jq("#buddypress ul.activity-list li").first().prop("class").match(/date-recorded-([0-9]+)/),timestamp&&(e=timestamp[1])),(0===activity_last_recorded||Number(e)>activity_last_recorded)&&(activity_last_recorded=Number(e)),b.bp_activity_last_recorded=activity_last_recorded,last_recorded_search=bp_get_querystring("s"),last_recorded_search&&(b.bp_activity_last_recorded_search_terms=last_recorded_search)}),jq(document).on("heartbeat-tick",function(a,b){b.bp_activity_newest_activities&&(newest_activities=b.bp_activity_newest_activities.activities+newest_activities,activity_last_recorded=Number(b.bp_activity_newest_activities.last_recorded),jq("#buddypress ul.activity-list li").first().hasClass("load-newest")||jq("#buddypress ul.activity-list").prepend('<li class="load-newest"><a href="#newest">'+BP_DTheme.newest+"</a></li>"))})});
|
@@ -1,2 +1,2 @@
|
|
1 |
-
/*! buddypress - v2.4.0 - 2015-10-
|
2 |
!function(a){function b(){var b,c=a(".password-entry").val(),d=a(".password-entry-confirm").val();if(a("#pass-strength-result").removeClass("short bad good strong"),!c)return void a("#pass-strength-result").html(pwsL10n.empty);switch(b=wp.passwordStrength.meter(c,wp.passwordStrength.userInputBlacklist(),d)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n["short"])}}a(document).ready(function(){a(".password-entry").val("").keyup(b),a(".password-entry-confirm").val("").keyup(b)})}(jQuery);
|
1 |
+
/*! buddypress - v2.4.0 - 2015-10-22 1:39:20 PM UTC - https://wordpress.org/plugins/buddypress/ */
|
2 |
!function(a){function b(){var b,c=a(".password-entry").val(),d=a(".password-entry-confirm").val();if(a("#pass-strength-result").removeClass("short bad good strong"),!c)return void a("#pass-strength-result").html(pwsL10n.empty);switch(b=wp.passwordStrength.meter(c,wp.passwordStrength.userInputBlacklist(),d)){case 2:a("#pass-strength-result").addClass("bad").html(pwsL10n.bad);break;case 3:a("#pass-strength-result").addClass("good").html(pwsL10n.good);break;case 4:a("#pass-strength-result").addClass("strong").html(pwsL10n.strong);break;case 5:a("#pass-strength-result").addClass("short").html(pwsL10n.mismatch);break;default:a("#pass-strength-result").addClass("short").html(pwsL10n["short"])}}a(document).ready(function(){a(".password-entry").val("").keyup(b),a(".password-entry-confirm").val("").keyup(b)})}(jQuery);
|
@@ -1 +1 @@
|
|
1 |
-
#tabs,.field-group .xprofile-field{position:relative}@-o-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-webkit-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-moz-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}#profile-field-form{margin-top:12px}p.nofields{margin:20px 0 0}ul#field-group-tabs{float:right;padding:0 15px 0 0;margin:0;display:none}ul#field-group-tabs li{float:right;margin-left:8px;margin-bottom:-1px}ul#field-group-tabs li.ui-state-hover a.ui-tab{color:#d54e21}ul#field-group-tabs li.ui-state-acceptable:not(.ui-state-active) a.ui-tab{-webkit-animation:tab-throb 2s infinite;-moz-animation:tab-throb 2s infinite;-o-animation:tab-throb 2s infinite;animation:tab-throb 2s infinite}ul#field-group-tabs li.drop-candidate.ui-state-acceptable:not(.ui-state-active) a.ui-tab{-webkit-box-shadow:0 0 10px green;-moz-box-shadow:0 0 10px green;-o-box-shadow:0 0 10px green;box-shadow:0 0 10px green;-webkit-animation:none;-moz-animation:none;-o-animation:none;animation:none;color:#000}ul#field-group-tabs li a.ui-tab{font-size:14px;display:block;margin-top:3px;padding:5px 10px 6px;border:1px solid #e5e5e5;background-color:#f5f5f5;text-decoration:none;color:#000;outline:0}ul#field-group-tabs li.ui-state-active a.ui-tab{background-color:#fff;margin-top:0;padding:7px 10px;border-bottom:1px solid transparent;color:#000}.tab-toolbar{clear:right;border-width:1px;border-color:#e5e5e5;border-style:solid
|
1 |
+
#tabs,.field-group .xprofile-field{position:relative}@-o-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-webkit-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-moz-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}#profile-field-form{margin-top:12px}p.nofields{margin:20px 0 0}ul#field-group-tabs{float:right;padding:0 15px 0 0;margin:0;display:none}ul#field-group-tabs li{float:right;margin-left:8px;margin-bottom:-1px}ul#field-group-tabs li.ui-state-hover a.ui-tab{color:#d54e21}ul#field-group-tabs li.ui-state-acceptable:not(.ui-state-active) a.ui-tab{-webkit-animation:tab-throb 2s infinite;-moz-animation:tab-throb 2s infinite;-o-animation:tab-throb 2s infinite;animation:tab-throb 2s infinite}ul#field-group-tabs li.drop-candidate.ui-state-acceptable:not(.ui-state-active) a.ui-tab{-webkit-box-shadow:0 0 10px green;-moz-box-shadow:0 0 10px green;-o-box-shadow:0 0 10px green;box-shadow:0 0 10px green;-webkit-animation:none;-moz-animation:none;-o-animation:none;animation:none;color:#000}ul#field-group-tabs li a.ui-tab{font-size:14px;display:block;margin-top:3px;padding:5px 10px 6px;border:1px solid #e5e5e5;background-color:#f5f5f5;text-decoration:none;color:#000;outline:0}ul#field-group-tabs li.ui-state-active a.ui-tab{background-color:#fff;margin-top:0;padding:7px 10px;border-bottom:1px solid transparent;color:#000}.tab-toolbar{clear:right;background:#fff;border-width:1px;border-color:#e5e5e5;border-style:solid;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);padding:10px;margin-bottom:10px}.bp-option a.delete,.field-wrapper a.deletion,.tab-toolbar a.deletion{color:red;border-bottom:1px solid red;text-decoration:none;padding:0}div.delete-button{float:left;line-height:28px}div.field-group{clear:right}.field-group{cursor:default;border:1px solid #e5e5e5;background:#fff;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.04);box-shadow:0 1px 1px rgba(0,0,0,.04);margin-top:10px;padding:0 20px 20px}.field-group fieldset{position:relative;border:1px solid #ddd;margin:20px 0 0;cursor:move;background:#fafafa;padding:10px 0 0}.field-group fieldset legend{position:absolute;top:10px;right:10px;padding:0}fieldset.checkbox div label,fieldset.radio div div label{margin-left:20px}fieldset.clear-value{margin-right:10px}fieldset div.field-wrapper{padding:25px 10px 10px}.field-group div.actions{float:none;border-top:1px solid #ddd;margin:10px 0 0;padding-top:10px}.field-group div.actions a,.field-group div.actions button,.field-group div.actions input{float:none}.field-group fieldset:hover{border-color:#999}.field-group fieldset:hover div.actions{display:block}#field-group-tabs .ui-sortable-placeholder,.bp-options-box .ui-sortable-placeholder,.field-group fieldset.ui-sortable-placeholder{border:1px dashed #999;background-color:#fff;visibility:visible!important}#field-group-tabs .ui-sortable-placeholder{background:0 0;border-bottom:none;margin:-1px 0 -1px 6px}ul.forTab{list-style:none;padding:0;margin:0 1em 0 0}ul.forTab li{margin:0 0 1em}ul.forTab li label{display:block}ul.forTab li input{font-size:1.4em}p.success{background:green}p.err{border-top:2px solid red;border-bottom:2px solid red;color:red;padding:5px 0;width:40%}span.desc,span.signup-description{display:block;font-size:11px;color:#555}ul.multi-checkbox{margin:0 0 0 5px;padding:.5em .9em;height:10em;overflow:auto;list-style:none;border:1px solid #ccc;width:90%}ul.multi-checkbox li{padding:0;margin:0}div.bp-option{background:#fafafa;border:1px solid #dfdfdf;margin:10px 0;padding:10px 5px}div.bp-option:hover{border:1px solid #999}.bp-option-icon{font:400 20px/1 dashicons;speak:none;display:inline-block;padding:0 2px 0 0;top:5px;position:relative;vertical-align:top;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important;color:#888}div.bp-option .grabber:before{content:"\f329"}th a{background:#fff;padding:2px 5px;top:-2px}textarea#description,textarea#group_description{border:1px solid #ddd;width:100%}#bp-xprofile-add-field .titlewrap,#bp-xprofile-add-field-group .titlewrap{margin-bottom:20px}#bp-xprofile-add-field #post-body-content{margin-bottom:0}p.member-type-none-notice,span.member-type-none-notice{color:red}.hide{display:none;visibility:hidden}
|
@@ -1 +1 @@
|
|
1 |
-
#tabs,.field-group .xprofile-field{position:relative}@-o-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-webkit-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-moz-keyframes tab-throb{from,to{box-shadow:0 0 10px #
|
1 |
+
#tabs,.field-group .xprofile-field{position:relative}@-o-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-webkit-keyframes tab-throb{from,to{box-shadow:0 0 10px #1e8cbe}50%{box-shadow:0 0 0 #1e8cbe}}@-moz-keyframes tab-throb{from,to{box-shadow:0 0 10px #1
|