Ticket #8581: 8581.patch
File 8581.patch, 71.5 KB (added by , 3 years ago) |
---|
-
src/bp-core/bp-core-attachments.php
diff --git src/bp-core/bp-core-attachments.php src/bp-core/bp-core-attachments.php index e99ed0c14..1a3d7f33c 100644
function bp_attachments_cover_image_ajax_upload() { 1502 1502 'members_cover_image_deleted' 1503 1503 ); 1504 1504 } 1505 1506 /* 1507 * Create member cover photo activity 1508 */ 1509 if ( 'members' === $component ) { 1510 if ( empty( $user_id ) ) { 1511 $user_id = bp_displayed_user_id(); 1512 } 1505 1513 1514 // Add the activity. 1515 $activity_id = bp_activity_add( 1516 array( 1517 'user_id' => $user_id, 1518 'component' => buddypress()->members->id, 1519 'type' => 'new_cover_photo', 1520 'item_id' => $item_id, 1521 'secondary_item_id' => $item_id, 1522 ) 1523 ); 1524 1525 $type = pathinfo($cover_url, PATHINFO_EXTENSION); 1526 $data = wp_remote_get( $cover_url); 1527 $data = wp_remote_retrieve_body( $data ); 1528 $avatar_image_base64 = 'data:image/' . $type . ';base64,' . base64_encode($data); 1529 bp_activity_update_meta( $activity_id, 'member_cover_image', $avatar_image_base64 ); 1530 bp_activity_update_meta( $activity_id, 'member_cover_image_name', $name ); 1531 } 1532 1533 1506 1534 // Finally return the cover image url to the UI. 1507 1535 bp_attachments_json_response( true, $is_html4, array( 1508 1536 'name' => $name, -
src/bp-groups/bp-groups-activity.php
diff --git src/bp-groups/bp-groups-activity.php src/bp-groups/bp-groups-activity.php index 473dbf1a6..a774b79ae 100644
function groups_register_activity_actions() { 62 62 __( 'Group Activity Updates', 'buddypress' ), 63 63 array( 'activity', 'group', 'member', 'member_groups' ) 64 64 ); 65 66 bp_activity_set_action( 67 $bp->groups->id, 68 'new_group_avatar', 69 __( 'Member changed group picture', 'buddypress' ), 70 'bp_groups_format_activity_action_new_group_avatar', 71 __( 'Updated Group Photos', 'buddypress' ) 72 ); 73 74 bp_activity_set_action( 75 $bp->groups->id, 76 'new_group_cover_photo', 77 __( 'Member changed group cover photo', 'buddypress' ), 78 'bp_groups_format_activity_action_new_group_cover_photo', 79 __( 'Updated Group Cover Photos', 'buddypress' ) 80 ); 65 81 66 82 /** 67 83 * Fires at end of registration of the default activity actions for the Groups component. … … function bp_groups_leave_group_delete_recent_activity( $group_id, $user_id ) { 901 917 add_action( 'groups_leave_group', 'bp_groups_leave_group_delete_recent_activity', 10, 2 ); 902 918 add_action( 'groups_remove_member', 'bp_groups_leave_group_delete_recent_activity', 10, 2 ); 903 919 add_action( 'groups_ban_member', 'bp_groups_leave_group_delete_recent_activity', 10, 2 ); 920 921 922 923 /** 924 * Format 'new_group_avatar' activity actions. 925 * 926 * @since 10.0.0 927 * 928 * @param string $action Static activity action. 929 * @param object $activity Activity object. 930 * @return string 931 */ 932 function bp_groups_format_activity_action_new_group_avatar( $action, $activity ) { 933 $userlink = bp_core_get_userlink( $activity->user_id ); 934 935 $group = groups_get_group( array( 'group_id' => $activity->item_id ) ); 936 $group_link = bp_get_group_permalink( $group ); 937 $grouplink = '<a href="' . esc_url( $group_link ) . '">' . esc_html( $group->name ) . '</a>'; 938 939 /* translators: %s: user link */ 940 $action = sprintf( esc_html__( '%1$s changed %2$s group photo', 'buddypress' ), $userlink, $grouplink ); 941 942 return apply_filters( 'bp_groups_format_activity_action_new_group_avatar', $action, $activity ); 943 } 944 945 946 /** 947 * Format 'new_group_cover_photo' activity actions. 948 * 949 * @since 10.0.0 950 * 951 * @param string $action Static activity action. 952 * @param object $activity Activity object. 953 * @return string 954 */ 955 956 957 function bp_groups_format_activity_action_new_group_cover_photo( $action, $activity ) { 958 $userlink = bp_core_get_userlink( $activity->user_id ); 959 960 $group = groups_get_group( array( 'group_id' => $activity->item_id ) ); 961 $group_link = bp_get_group_permalink( $group ); 962 $grouplink = '<a href="' . esc_url( $group_link ) . '">' . esc_html( $group->name ) . '</a>'; 963 964 /* translators: %s: user link */ 965 $action = sprintf( esc_html__( '%1$s changed %2$s group cover photo', 'buddypress' ), $userlink, $grouplink ); 966 967 return apply_filters( 'bp_groups_format_activity_action_new_group_cover_photo', $action, $activity ); 968 } 969 970 /** 971 * Adds an activity stream item when a user has uploaded a new group avatar. 972 * 973 * @since 10.0.0 974 */ 975 function bp_groups_avatar_uploaded( $item_id = 0, $type ) { 976 977 // Bail if activity component is not active. 978 if ( ! bp_is_active( 'activity' ) ) { 979 return false; 980 } 981 982 $user_id = get_current_user_id(); 983 984 // Add the activity. 985 $activity_id = bp_activity_add( 986 array( 987 'user_id' => $user_id, 988 'component' => buddypress()->groups->id, 989 'type' => 'new_group_avatar', 990 'item_id' => $item_id, 991 ) 992 ); 993 994 $avatar_url = bp_core_fetch_avatar( 995 array( 996 'item_id' => $item_id, 997 'type' => 'full', 998 'avatar_dir' => 'group-avatars', 999 'object' => 'group', 1000 'width' => 400, 1001 'height' => 400, 1002 'html' => false, 1003 ) 1004 ); 1005 $title = basename( $avatar_url ); 1006 $type = pathinfo($avatar_url, PATHINFO_EXTENSION); 1007 $data = wp_remote_get( $avatar_url); 1008 $data = wp_remote_retrieve_body( $data ); 1009 $avatar_image_base64 = 'data:image/' . $type . ';base64,' . base64_encode($data); 1010 bp_activity_update_meta( $activity_id, 'group_avatar_image', $avatar_image_base64 ); 1011 bp_activity_update_meta( $activity_id, 'group_avatar_image_name', $title ); 1012 } 1013 add_action( 'groups_avatar_uploaded', 'bp_groups_avatar_uploaded', 20, 2 ); 1014 1015 1016 /** 1017 * Adds an activity stream item when a user has uploaded a new group cover image. 1018 * 1019 * @since 10.0.0 1020 */ 1021 function bp_groups_cover_image_uploaded( $item_id, $name, $cover_url, $feedback_code ) { 1022 1023 // Bail if activity component is not active. 1024 if ( ! bp_is_active( 'activity' ) ) { 1025 return false; 1026 } 1027 1028 if ( empty( $user_id ) ) { 1029 $user_id = bp_displayed_user_id(); 1030 } 1031 1032 $user_id = get_current_user_id(); 1033 1034 // Add the activity. 1035 $activity_id = bp_activity_add( 1036 array( 1037 'user_id' => $user_id, 1038 'component' => buddypress()->groups->id, 1039 'type' => 'new_group_cover_photo', 1040 'item_id' => $item_id, 1041 ) 1042 ); 1043 1044 1045 $type = pathinfo($cover_url, PATHINFO_EXTENSION); 1046 $data = wp_remote_get( $cover_url); 1047 $data = wp_remote_retrieve_body( $data ); 1048 $avatar_image_base64 = 'data:image/' . $type . ';base64,' . base64_encode($data); 1049 bp_activity_update_meta( $activity_id, 'group_cover_image', $avatar_image_base64 ); 1050 bp_activity_update_meta( $activity_id, 'group_cover_image_name', $name ); 1051 } 1052 add_action( 'groups_cover_image_uploaded', 'bp_groups_cover_image_uploaded', 10, 4 ); 1053 1054 1055 add_action( 'bp_activity_entry_content', 'bp_groups_activity_entry_content' ); 1056 add_action( 'bp_activity_embed_after_media', 'bp_groups_activity_entry_content' ); 1057 function bp_groups_activity_entry_content() { 1058 if ( ! bp_activity_has_content() ) { 1059 global $activities_template; 1060 1061 $activity_id = $activities_template->activity->id; 1062 $activity_type = $activities_template->activity->type; 1063 $activity = $activities_template->activity; 1064 1065 switch ( $activity_type ) { 1066 case 'joined_group': 1067 case 'new_group_avatar': 1068 case 'new_group_cover_photo': 1069 bp_groups_new_avatar_activity_content( $activity ); 1070 break; 1071 default: 1072 break; 1073 1074 } 1075 } 1076 } 1077 1078 function bp_groups_new_avatar_activity_content( $activity ) { 1079 1080 $args = array( 1081 'activity_id' => $activity->id, 1082 'user_id' => $activity->user_id, 1083 'item_id' => $activity->item_id, 1084 'secondary_item_id' => $activity->secondary_item_id, 1085 'component' => $activity->component, 1086 'type' => $activity->type, 1087 ); 1088 extract( $args ); 1089 1090 $display_action_button = false; 1091 1092 $group = groups_get_group( array( 'group_id' => $item_id ) ); 1093 $url = bp_get_group_permalink( $group ); 1094 1095 if ( $type == 'new_group_cover_photo' ) { 1096 $cover_url = bp_activity_get_meta( $activity_id, 'group_cover_image', true ); 1097 } else { 1098 $cover_url = bp_get_group_cover_url( $group ); 1099 $display_action_button = true; 1100 $action_button_text = esc_html__( 'Visit Group', 'buddypress'); 1101 } 1102 $itme_name = $group->name; 1103 $itme_slug = $group->slug; 1104 1105 $avatar_url = bp_activity_get_meta( $activity_id, 'group_avatar_image', true ); 1106 1107 ?> 1108 <div class="bp-group-activity-preview"> 1109 <a href="<?php echo esc_url( $url ); ?>"> 1110 <div class="bp-group-preview-cover"> 1111 <?php if ( !empty( $cover_url ) ) : ?> 1112 <img src="<?php echo esc_url( $cover_url, array( 'data', 'http', 'https' ) ); ?>" alt="<?php echo esc_attr( 'cover-image' ); ?>"/> 1113 <?php endif; ?> 1114 </div> 1115 </a> 1116 <?php if ( $type != 'new_cover_photo' && $type != 'new_group_cover_photo') : ?> 1117 <div class="bp-group-short-description"> 1118 <a href="<?php echo esc_url( $url ); ?>" class="item-avatar-group bp-group-avatar bp-group-short-description-avatar"> 1119 <div class="bp-group-avatar-content"> 1120 <?php if ( $type == 'new_group_avatar' && $avatar_url != '' ) :?> 1121 <img loading="lazy" src="<?php echo esc_url( $avatar_url , array( 'data', 'http', 'https' ) ); ?>" class="avatar group-<?php echo esc_attr( $item_id );?>-avatar avatar-150 photo" width="150" height="150"> 1122 1123 <?php else: 1124 $avatar_url = bp_core_fetch_avatar( 1125 array( 1126 'item_id' => $item_id, 1127 'type' => 'full', 1128 'avatar_dir' => 'group-avatars', 1129 'object' => 'group', 1130 'width' => 150, 1131 'height' => 150 1132 ) 1133 ); 1134 echo wp_kses_post ( $avatar_url ); 1135 endif;?> 1136 </div> 1137 </a> 1138 <p class="bp-group-short-description-title"> 1139 <a href="<?php echo esc_url( $url ); ?>"><?php echo esc_html( $itme_name ); ?></a> 1140 </p> 1141 <?php 1142 1143 if ( $display_action_button ) { 1144 echo $action_button = sprintf( 1145 '<div class="bp-profile-button"> 1146 <a href="%1$s" class="button large primary button-primary" role="button">%2$s</a> 1147 </div>', 1148 esc_url( $url ), 1149 $action_button_text 1150 ); 1151 } 1152 ?> 1153 </div> 1154 <?php endif; ?> 1155 </div> 1156 <?php 1157 } -
src/bp-members/bp-members-activity.php
diff --git src/bp-members/bp-members-activity.php src/bp-members/bp-members-activity.php index 3f0d28945..043a490dc 100644
function bp_members_register_activity_actions() { 35 35 'bp_members_format_activity_action_new_avatar', 36 36 __( 'Updated Profile Photos', 'buddypress' ) 37 37 ); 38 39 // Register the member cover photo activity stream actions for this component. 40 bp_activity_set_action( 41 buddypress()->members->id, 42 'new_cover_photo', 43 __( 'Member changed cover photo', 'buddypress' ), 44 'bp_members_format_activity_action_new_cover_photo', 45 __( 'Updated Cover Photo', 'buddypress' ) 46 ); 38 47 39 48 /** 40 49 * Fires after the default 'new member' activity types are registered. … … function bp_members_format_activity_action_new_avatar( $action, $activity ) { 131 140 return apply_filters( 'bp_members_format_activity_action_new_avatar', $action, $activity ); 132 141 } 133 142 143 /** 144 * Format 'new_cover_photo' activity actions. 145 * 146 * @since 8.0.0 147 * 148 * @param string $action Static activity action. 149 * @param object $activity Activity object. 150 * @return string 151 */ 152 function bp_members_format_activity_action_new_cover_photo( $action, $activity ) { 153 $userlink = bp_core_get_userlink( $activity->user_id ); 154 155 /* translators: %s: user link */ 156 $action = sprintf( esc_html__( '%s changed their cover photo', 'buddypress' ), $userlink ); 157 158 // Legacy filter - pass $user_id instead of $activity. 159 if ( has_filter( 'bp_xprofile_new_avatar_action' ) ) { 160 $action = apply_filters( 'bp_xprofile_new_avatar_action', $action, $activity->user_id ); 161 } 162 163 return apply_filters( 'bp_members_format_activity_action_new_cover_photo', $action, $activity ); 164 } 165 134 166 /** 135 167 * Create a "became a registered user" activity item when a user activates his account. 136 168 * … … add_action( 'bp_core_activated_user', 'bp_core_new_user_activity' ); 165 197 /** 166 198 * Adds an activity stream item when a user has uploaded a new avatar. 167 199 * 168 * @since 8.0.0200 * @since 10.0.0 169 201 * 170 202 * @param int $user_id The user id the avatar was set for. 171 203 */ … … function bp_members_new_avatar_activity( $user_id = 0 ) { 186 218 /** 187 219 * Filters the user ID when a user has uploaded a new avatar. 188 220 * 189 * @since 8.0.0221 * @since 10.0.0 190 222 * 191 223 * @param int $user_id ID of the user the avatar was set for. 192 224 */ 193 225 $user_id = apply_filters( 'bp_members_new_avatar_user_id', $user_id ); 194 226 195 227 // Add the activity. 196 bp_activity_add( array(228 $activity_id = bp_activity_add( array( 197 229 'user_id' => $user_id, 198 230 'component' => buddypress()->members->id, 199 231 'type' => 'new_avatar' 200 232 ) ); 233 234 $avatar_url = bp_core_fetch_avatar( 235 array( 236 'item_id' => $user_id, 237 'type' => 'full', 238 'width' => 400, 239 'height' => 400, 240 'html' => false, 241 ) 242 ); 243 244 $title = basename( $avatar_url ); 245 $type = pathinfo($avatar_url, PATHINFO_EXTENSION); 246 $data = wp_remote_get( $avatar_url); 247 $data = wp_remote_retrieve_body( $data ); 248 $avatar_image_base64 = 'data:image/' . $type . ';base64,' . base64_encode($data); 249 bp_activity_update_meta( $activity_id, 'member_avatar_image', $avatar_image_base64 ); 250 bp_activity_update_meta( $activity_id, 'member_avatar_image_name', $title ); 201 251 } 202 252 add_action( 'bp_members_avatar_uploaded', 'bp_members_new_avatar_activity' ); 253 254 255 256 add_action( 'bp_activity_entry_content', 'bp_members_activity_entry_content' ); 257 add_action( 'bp_activity_embed_after_media', 'bp_members_activity_entry_content' ); 258 function bp_members_activity_entry_content() { 259 if ( ! bp_activity_has_content() ) { 260 global $activities_template; 261 262 $activity_id = $activities_template->activity->id; 263 $activity_type = $activities_template->activity->type; 264 $activity = $activities_template->activity; 265 266 switch ( $activity_type ) { 267 case 'friendship_created': 268 case 'new_avatar': 269 case 'new_cover_photo': 270 bp_members_new_avatar_activity_content( $activity ); 271 break; 272 default: 273 break; 274 275 } 276 } 277 } 278 279 function bp_members_new_avatar_activity_content( $activity ) { 280 281 $args = array( 282 'activity_id' => $activity->id, 283 'user_id' => $activity->user_id, 284 'item_id' => $activity->item_id, 285 'secondary_item_id' => $activity->secondary_item_id, 286 'component' => $activity->component, 287 'type' => $activity->type, 288 ); 289 extract( $args ); 290 291 $display_action_button = false; 292 293 if ( 'friends' === $component ) { 294 $url = bp_core_get_user_domain( $secondary_item_id ); 295 $itme_name = bp_core_get_user_displayname( $secondary_item_id ); 296 $itme_slug = bp_activity_get_user_mentionname( $secondary_item_id ); 297 $display_action_button = true; 298 $action_button_text = esc_html__( 'View Profile', 'buddypress'); 299 $cover_url = bp_attachments_get_attachment( 300 'url', 301 array( 302 'object_dir' => 'members', 303 'item_id' => $secondary_item_id, 304 ) 305 ); 306 307 $avatar_url = bp_core_fetch_avatar( 308 array( 309 'item_id' => $secondary_item_id, 310 'type' => 'full', 311 'width' => 150, 312 'height' => 150, 313 'class' => 'avatar', 314 'id' => false, 315 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), $itme_name ), 316 ) 317 ); 318 319 } else { 320 if ( $type == 'new_avatar') { 321 $secondary_item_id = $user_id; 322 $display_action_button = true; 323 $action_button_text = esc_html__( 'View Profile', 'buddypress'); 324 } 325 326 $url = bp_core_get_user_domain( $secondary_item_id ); 327 $itme_name = bp_core_get_user_displayname( $secondary_item_id ); 328 $itme_slug = bp_activity_get_user_mentionname( $secondary_item_id ); 329 330 if ( $type == 'new_cover_photo' ) { 331 $cover_url = bp_activity_get_meta( $activity_id, 'member_cover_image', true ); 332 } else { 333 $cover_url = bp_attachments_get_attachment( 334 'url', 335 array( 336 'object_dir' => 'members', 337 'item_id' => $secondary_item_id, 338 ) 339 ); 340 } 341 342 $avatar_url = bp_activity_get_meta( $activity_id, 'member_avatar_image', true ); 343 if ( $type == 'new_avatar' && !$avatar_url ) { 344 return; 345 } 346 347 } 348 349 ?> 350 <div class="bp-member-activity-preview"> 351 <a href="<?php echo esc_url( $url ); ?>"> 352 <div class="bp-member-preview-cover"> 353 <?php if ( !empty( $cover_url ) ) : ?> 354 <img src="<?php echo esc_url( $cover_url, array( 'data', 'http', 'https' ) ); ?>" alt="<?php echo esc_attr( 'cover-image' ); ?>"/> 355 <?php endif; ?> 356 </div> 357 </a> 358 <?php if ( $type != 'new_cover_photo' && $type != 'new_group_cover_photo') : ?> 359 <div class="bp-member-short-description"> 360 <a href="<?php echo esc_url( $url ); ?>" class="item-avatar-group bp-member-avatar bp-member-short-description-avatar"> 361 <div class="bp-member-avatar-content"> 362 <?php if ( $type == 'new_avatar' && $avatar_url != '' ) : ?> 363 <img loading="lazy" src="<?php echo esc_url( $avatar_url, array( 'data', 'http', 'https' ) ); ?>" class="avatar user-<?php echo esc_attr( $item_id ) ;?>-avatar avatar-150 photo" width="150" height="150"> 364 <?php else: 365 $avatar_url = bp_core_fetch_avatar( 366 array( 367 'item_id' => $secondary_item_id, 368 'type' => 'full', 369 'width' => 150, 370 'height' => 150, 371 'class' => 'avatar', 372 'id' => false, 373 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), $itme_name ), 374 ) 375 ); 376 echo wp_kses_post($avatar_url); 377 endif;?> 378 </div> 379 </a> 380 <p class="bp-member-short-description-title"> 381 <a href="<?php echo esc_url( $url ); ?>"><?php echo esc_html( $itme_name ); ?></a> 382 </p> 383 <?php if ( $type == 'new_avatar') : ?> 384 <p class="bp-member-nickname"> 385 <a href="<?php echo esc_url( $url ); ?>">@<?php echo esc_html( $itme_slug ); ?></a> 386 </p> 387 <?php endif; 388 389 if ( $display_action_button ) { 390 echo $action_button = sprintf( 391 '<div class="bp-profile-button"> 392 <a href="%1$s" class="button large primary button-primary" role="button">%2$s</a> 393 </div>', 394 esc_url( $url ), 395 $action_button_text 396 ); 397 } 398 ?> 399 </div> 400 <?php endif;?> 401 </div> 402 <?php 403 } -
src/bp-templates/bp-legacy/css/buddypress-rtl.css
diff --git src/bp-templates/bp-legacy/css/buddypress-rtl.css src/bp-templates/bp-legacy/css/buddypress-rtl.css index d99591d63..7811e95d7 100644
Hello, this is the BuddyPress Legacy stylesheet. 30 30 4.1 - Smartphones Landscape 31 31 4.2 - Smartphones Portrait 32 32 4.3 - Smartphones - smaller screen sizes 33 34 5.0 - Activity Types. 33 35 --------------------------------------------------------------*/ 34 36 35 37 /*-------------------------------------------------------------- … … body.register #buddypress div.page ul { 2281 2283 margin: 10px 0 20px; 2282 2284 } 2283 2285 } 2286 2287 /** 2288 *------------------------------------------------------------------------------- 2289 * @section 5.0 - Activity Types 2290 *------------------------------------------------------------------------------- 2291 */ 2292 .bp-member-preview-cover, 2293 .bp-group-preview-cover { 2294 position: relative; 2295 min-height: 150px; 2296 background: #c5c5c5; 2297 } 2298 2299 .new_cover_photo .bp-member-preview-cover, 2300 .new_group_cover_photo .bp-group-preview-cover { 2301 min-height: 100%; 2302 } 2303 2304 .bp-member-preview-cover img, 2305 .bp-group-preview-cover img { 2306 background: #c5c5c5; 2307 object-fit: cover; 2308 border: 0; 2309 display: block; 2310 margin: 0; 2311 padding: 0; 2312 width: 100%; 2313 z-index: 1; 2314 height: 150px; 2315 } 2316 2317 .new_cover_photo .bp-member-preview-cover img, 2318 .new_group_cover_photo .bp-group-preview-cover img { 2319 height: 100%; 2320 } 2321 2322 .bp-member-short-description-avatar, 2323 .bp-group-short-description-avatar { 2324 float: right; 2325 } 2326 2327 .bp-member-avatar-content, 2328 .bp-group-avatar-content { 2329 width: 200px; 2330 margin-top: -75px; 2331 position: relative; 2332 z-index: 2; 2333 } 2334 2335 .bp-member-avatar-content img.avatar, 2336 .bp-group-avatar-content img.avatar, 2337 #buddypress ul.item-list li .bp-member-avatar-content img.avatar, 2338 #buddypress ul.item-list li .bp-group-avatar-content img.avatar { 2339 border: solid 2px #fff; 2340 background: rgba(255,255,255,.8); 2341 margin-right: 20px; 2342 } 2343 2344 .bp-member-short-description-title a, 2345 .bp-group-short-description-title a { 2346 font-weight: 600; 2347 } 2348 2349 @media screen and (max-width: 46.8em) { 2350 .bp-member-short-description, 2351 .bp-group-short-description { 2352 text-align: center; 2353 } 2354 2355 .bp-member-short-description-avatar, 2356 .bp-group-short-description-avatar { 2357 width: 100%; 2358 margin-bottom: 15px; 2359 } 2360 2361 .bp-member-avatar-content, 2362 .bp-group-avatar-content { 2363 margin-right: auto; 2364 margin-left: auto; 2365 } 2366 2367 .bp-member-avatar-content img.avatar, 2368 .bp-group-avatar-content img.avatar, 2369 #buddypress ul.item-list li .bp-member-avatar-content img.avatar, 2370 #buddypress ul.item-list li .bp-group-avatar-content img.avatar { 2371 float: none; 2372 margin: auto; 2373 } 2374 2375 .bp-profile-button { 2376 margin-top: 15px; 2377 } 2378 } 2379 2380 @media screen and (min-width: 46.8em) { 2381 .bp-profile-button { 2382 text-align: left; 2383 } 2384 } -
src/bp-templates/bp-legacy/css/buddypress.css
diff --git src/bp-templates/bp-legacy/css/buddypress.css src/bp-templates/bp-legacy/css/buddypress.css index be7270d71..c8592d6b2 100644
Hello, this is the BuddyPress Legacy stylesheet. 30 30 4.1 - Smartphones Landscape 31 31 4.2 - Smartphones Portrait 32 32 4.3 - Smartphones - smaller screen sizes 33 34 5.0 - Activity Types. 33 35 --------------------------------------------------------------*/ 34 36 35 37 /*-------------------------------------------------------------- … … body.register #buddypress div.page ul { 2281 2283 margin: 10px 0 20px; 2282 2284 } 2283 2285 } 2286 2287 /** 2288 *------------------------------------------------------------------------------- 2289 * @section 5.0 - Activity Types 2290 *------------------------------------------------------------------------------- 2291 */ 2292 .bp-member-preview-cover, 2293 .bp-group-preview-cover { 2294 position: relative; 2295 min-height: 150px; 2296 background: #c5c5c5; 2297 } 2298 2299 .new_cover_photo .bp-member-preview-cover, 2300 .new_group_cover_photo .bp-group-preview-cover { 2301 min-height: 100%; 2302 } 2303 2304 .bp-member-preview-cover img, 2305 .bp-group-preview-cover img { 2306 background: #c5c5c5; 2307 object-fit: cover; 2308 border: 0; 2309 display: block; 2310 margin: 0; 2311 padding: 0; 2312 width: 100%; 2313 z-index: 1; 2314 height: 150px; 2315 } 2316 2317 .new_cover_photo .bp-member-preview-cover img, 2318 .new_group_cover_photo .bp-group-preview-cover img { 2319 height: 100%; 2320 } 2321 2322 .bp-member-short-description-avatar, 2323 .bp-group-short-description-avatar { 2324 float: left; 2325 } 2326 2327 .bp-member-avatar-content, 2328 .bp-group-avatar-content { 2329 width: 200px; 2330 margin-top: -75px; 2331 position: relative; 2332 z-index: 2; 2333 } 2334 2335 .bp-member-avatar-content img.avatar, 2336 .bp-group-avatar-content img.avatar, 2337 #buddypress ul.item-list li .bp-member-avatar-content img.avatar, 2338 #buddypress ul.item-list li .bp-group-avatar-content img.avatar { 2339 border: solid 2px #fff; 2340 background: rgba(255,255,255,.8); 2341 margin-left: 20px; 2342 } 2343 2344 .bp-member-short-description-title a, 2345 .bp-group-short-description-title a { 2346 font-weight: 600; 2347 } 2348 2349 @media screen and (max-width: 46.8em) { 2350 .bp-member-short-description, 2351 .bp-group-short-description { 2352 text-align: center; 2353 } 2354 2355 .bp-member-short-description-avatar, 2356 .bp-group-short-description-avatar { 2357 width: 100%; 2358 margin-bottom: 15px; 2359 } 2360 2361 .bp-member-avatar-content, 2362 .bp-group-avatar-content { 2363 margin-left: auto; 2364 margin-right: auto; 2365 } 2366 2367 .bp-member-avatar-content img.avatar, 2368 .bp-group-avatar-content img.avatar, 2369 #buddypress ul.item-list li .bp-member-avatar-content img.avatar, 2370 #buddypress ul.item-list li .bp-group-avatar-content img.avatar { 2371 float: none; 2372 margin: auto; 2373 } 2374 2375 .bp-profile-button { 2376 margin-top: 15px; 2377 } 2378 } 2379 2380 @media screen and (min-width: 46.8em) { 2381 .bp-profile-button { 2382 text-align: right; 2383 } 2384 } -
src/bp-templates/bp-legacy/css/embeds-activity-rtl.css
diff --git src/bp-templates/bp-legacy/css/embeds-activity-rtl.css src/bp-templates/bp-legacy/css/embeds-activity-rtl.css index ac6fda0ee..0ece96c83 100644
a.play-btn:hover { 154 154 width: 35px; 155 155 } 156 156 } 157 158 /** 159 *------------------------------------------------------------------------------- 160 * Activity Types 161 *------------------------------------------------------------------------------- 162 */ 163 .bp-member-preview-cover, 164 .bp-group-preview-cover { 165 position: relative; 166 min-height: 150px; 167 background: #c5c5c5; 168 } 169 170 .new_cover_photo .bp-member-preview-cover, 171 .new_group_cover_photo .bp-group-preview-cover { 172 min-height: 100%; 173 } 174 175 .bp-member-preview-cover img, 176 .bp-group-preview-cover img { 177 background: #c5c5c5; 178 object-fit: cover; 179 border: 0; 180 display: block; 181 margin: 0; 182 padding: 0; 183 width: 100%; 184 z-index: 1; 185 height: 150px; 186 } 187 188 .new_cover_photo .bp-member-preview-cover img, 189 .new_group_cover_photo .bp-group-preview-cover img { 190 height: 100%; 191 } 192 193 .bp-member-short-description-avatar, 194 .bp-group-short-description-avatar { 195 float: right; 196 } 197 198 .bp-member-avatar-content, 199 .bp-group-avatar-content { 200 width: 200px; 201 margin-top: -75px; 202 position: relative; 203 z-index: 2; 204 } 205 206 .bp-member-avatar-content img.avatar, 207 .bp-group-avatar-content img.avatar, 208 #buddypress ul.item-list li .bp-member-avatar-content img.avatar, 209 #buddypress ul.item-list li .bp-group-avatar-content img.avatar { 210 border: solid 2px #fff; 211 background: rgba(255,255,255,.8); 212 margin-right: 20px; 213 } 214 215 .bp-member-short-description-title a, 216 .bp-group-short-description-title a { 217 font-weight: 600; 218 } 219 220 @media screen and (max-width: 46.8em) { 221 .bp-member-short-description, 222 .bp-group-short-description { 223 text-align: center; 224 } 225 226 .bp-member-short-description-avatar, 227 .bp-group-short-description-avatar { 228 width: 100%; 229 margin-bottom: 15px; 230 } 231 232 .bp-member-avatar-content, 233 .bp-group-avatar-content { 234 margin-right: auto; 235 margin-left: auto; 236 } 237 238 .bp-member-avatar-content img.avatar, 239 .bp-group-avatar-content img.avatar, 240 #buddypress ul.item-list li .bp-member-avatar-content img.avatar, 241 #buddypress ul.item-list li .bp-group-avatar-content img.avatar { 242 float: none; 243 margin: auto; 244 } 245 246 .bp-profile-button { 247 margin-top: 15px; 248 } 249 } 250 251 @media screen and (min-width: 46.8em) { 252 .bp-profile-button { 253 text-align: left; 254 } 255 } 256 No newline at end of file -
src/bp-templates/bp-legacy/css/embeds-activity.css
diff --git src/bp-templates/bp-legacy/css/embeds-activity.css src/bp-templates/bp-legacy/css/embeds-activity.css index 9e0b465d9..bd74ee5e4 100644
a.play-btn:hover { 154 154 width: 35px; 155 155 } 156 156 } 157 158 /** 159 *------------------------------------------------------------------------------- 160 * Activity Types 161 *------------------------------------------------------------------------------- 162 */ 163 .bp-member-preview-cover, 164 .bp-group-preview-cover { 165 position: relative; 166 min-height: 150px; 167 background: #c5c5c5; 168 } 169 170 .new_cover_photo .bp-member-preview-cover, 171 .new_group_cover_photo .bp-group-preview-cover { 172 min-height: 100%; 173 } 174 175 .bp-member-preview-cover img, 176 .bp-group-preview-cover img { 177 background: #c5c5c5; 178 object-fit: cover; 179 border: 0; 180 display: block; 181 margin: 0; 182 padding: 0; 183 width: 100%; 184 z-index: 1; 185 height: 150px; 186 } 187 188 .new_cover_photo .bp-member-preview-cover img, 189 .new_group_cover_photo .bp-group-preview-cover img { 190 height: 100%; 191 } 192 193 .bp-member-short-description-avatar, 194 .bp-group-short-description-avatar { 195 float: left; 196 } 197 198 .bp-member-avatar-content, 199 .bp-group-avatar-content { 200 width: 200px; 201 margin-top: -75px; 202 position: relative; 203 z-index: 2; 204 } 205 206 .bp-member-avatar-content img.avatar, 207 .bp-group-avatar-content img.avatar, 208 #buddypress ul.item-list li .bp-member-avatar-content img.avatar, 209 #buddypress ul.item-list li .bp-group-avatar-content img.avatar { 210 border: solid 2px #fff; 211 background: rgba(255,255,255,.8); 212 margin-left: 20px; 213 } 214 215 .bp-member-short-description-title a, 216 .bp-group-short-description-title a { 217 font-weight: 600; 218 } 219 220 @media screen and (max-width: 46.8em) { 221 .bp-member-short-description, 222 .bp-group-short-description { 223 text-align: center; 224 } 225 226 .bp-member-short-description-avatar, 227 .bp-group-short-description-avatar { 228 width: 100%; 229 margin-bottom: 15px; 230 } 231 232 .bp-member-avatar-content, 233 .bp-group-avatar-content { 234 margin-left: auto; 235 margin-right: auto; 236 } 237 238 .bp-member-avatar-content img.avatar, 239 .bp-group-avatar-content img.avatar, 240 #buddypress ul.item-list li .bp-member-avatar-content img.avatar, 241 #buddypress ul.item-list li .bp-group-avatar-content img.avatar { 242 float: none; 243 margin: auto; 244 } 245 246 .bp-profile-button { 247 margin-top: 15px; 248 } 249 } 250 251 @media screen and (min-width: 46.8em) { 252 .bp-profile-button { 253 text-align: right; 254 } 255 } 256 No newline at end of file -
src/bp-templates/bp-nouveau/common-styles/_bp_activity_entries.scss
diff --git src/bp-templates/bp-nouveau/common-styles/_bp_activity_entries.scss src/bp-templates/bp-nouveau/common-styles/_bp_activity_entries.scss index edd598f92..1fff16e0d 100644
body.activity-permalink { 436 436 437 437 } 438 438 } 439 440 // Activity Types Entry View 441 .bp-member-preview-cover, 442 .bp-group-preview-cover { 443 position: relative; 444 min-height: 150px; 445 background: #c5c5c5; 446 447 img { 448 background: #c5c5c5; 449 object-fit: cover; 450 border: 0; 451 display: block; 452 margin: 0; 453 padding: 0; 454 width: 100%; 455 z-index: 1; 456 height: 150px; 457 } 458 } 459 460 .new_cover_photo .bp-member-preview-cover, 461 .new_group_cover_photo .bp-group-preview-cover { 462 min-height: 100%; 463 464 img { 465 height: 100%; 466 } 467 } 468 469 .bp-member-short-description-avatar, 470 .bp-group-short-description-avatar { 471 float: left; 472 } 473 474 .bp-member-avatar-content, 475 .bp-group-avatar-content { 476 width: 200px; 477 margin-top: -75px; 478 position: relative; 479 z-index: 2; 480 481 img.avatar { 482 border: solid 2px #fff; 483 background: rgba(255,255,255,.8); 484 margin-left: 20px; 485 } 486 } 487 488 .bp-member-short-description-title a, 489 .bp-group-short-description-title a { 490 font-weight: 600; 491 } 492 493 @include medium-max() { 494 495 .bp-member-short-description, 496 .bp-group-short-description { 497 text-align: center; 498 } 499 500 .bp-member-short-description-avatar, 501 .bp-group-short-description-avatar { 502 width: 100%; 503 margin-bottom: 15px; 504 } 505 506 .bp-member-avatar-content, 507 .bp-group-avatar-content { 508 margin-left: auto; 509 margin-right: auto; 510 } 511 512 .bp-member-avatar-content img.avatar, 513 .bp-group-avatar-content img.avatar { 514 margin: auto; 515 } 516 517 .bp-profile-button { 518 margin-top: 15px; 519 } 520 521 } // close @media 522 523 @include medium-up { 524 525 .bp-profile-button { 526 text-align: right; 527 } 528 529 } // close @media -
src/bp-templates/bp-nouveau/css/buddypress-rtl.css
diff --git src/bp-templates/bp-nouveau/css/buddypress-rtl.css src/bp-templates/bp-nouveau/css/buddypress-rtl.css index e67c2b8f0..e5f42eab6 100644
body #buddypress select, 69 69 body #buddypress input[type="search"], 70 70 body #buddypress input[type="submit"], 71 71 body #buddypress input[type="reset"] { 72 -webkit-border-radius: 2px; 73 -moz-border-radius: 2px; 74 -ms-border-radius: 2px; 72 75 border-radius: 2px; 73 76 background-clip: padding-box; 74 77 } … … body #buddypress .bp-lists blockquote { 79 82 } 80 83 81 84 body #buddypress .bp-list .action { 85 -webkit-box-sizing: border-box; 86 -moz-box-sizing: border-box; 82 87 box-sizing: border-box; 83 88 } 84 89 … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 375 380 .buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links) { 376 381 border-bottom: 1px solid #eee; 377 382 border-top: 1px solid #eee; 383 -webkit-box-shadow: 0 2px 12px 0 #fafafa; 384 -moz-box-shadow: 0 2px 12px 0 #fafafa; 378 385 box-shadow: 0 2px 12px 0 #fafafa; 379 386 } 380 387 } … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 868 875 } 869 876 870 877 .bp-list { 878 -webkit-box-sizing: border-box; 879 -moz-box-sizing: border-box; 871 880 box-sizing: border-box; 872 881 border-top: 1px solid #eaeaea; 873 882 clear: both; … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1018 1027 .activity-list.bp-list .activity-item { 1019 1028 background: #fff; 1020 1029 border: 1px solid #b7b7b7; 1030 -webkit-box-shadow: 0 0 6px #d2d2d2; 1031 -moz-box-shadow: 0 0 6px #d2d2d2; 1021 1032 box-shadow: 0 0 6px #d2d2d2; 1022 1033 margin: 20px 0; 1023 1034 } … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1038 1049 @media screen and (min-width: 46.8em) { 1039 1050 .friends-request-list li, 1040 1051 .membership-requests-list li { 1052 display: -webkit-flex; 1041 1053 display: -moz-flex; 1042 1054 display: -ms-flex; 1043 1055 display: -o-flex; 1044 1056 display: flex; 1057 -webkit-flex-flow: row nowrap; 1058 -moz-flex-flow: row nowrap; 1059 -ms-flex-flow: row nowrap; 1045 1060 -o-flex-flow: row nowrap; 1046 1061 flex-flow: row nowrap; 1047 1062 } 1048 1063 .friends-request-list li .item, 1049 1064 .membership-requests-list li .item { 1065 -webkit-flex: 1 1 auto; 1050 1066 -moz-flex: 1 1 auto; 1067 -ms-flex: 1 1 auto; 1051 1068 -o-flex: 1 1 auto; 1052 1069 flex: 1 1 auto; 1053 1070 } … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1103 1120 1104 1121 .activity-update-form { 1105 1122 border: 1px solid #ccc; 1123 -webkit-box-shadow: inset 0 0 6px #eee; 1124 -moz-box-shadow: inset 0 0 6px #eee; 1106 1125 box-shadow: inset 0 0 6px #eee; 1107 1126 margin: 15px 0; 1108 1127 } … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1125 1144 1126 1145 .activity-update-form #whats-new-textarea textarea { 1127 1146 background: #fff; 1147 -webkit-box-sizing: border-box; 1148 -moz-box-sizing: border-box; 1128 1149 box-sizing: border-box; 1129 1150 color: #333; 1130 1151 font-family: inherit; … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1136 1157 } 1137 1158 1138 1159 .activity-update-form #whats-new-textarea textarea:focus { 1160 -webkit-box-shadow: 0 0 6px 0 #d6d6d6; 1161 -moz-box-shadow: 0 0 6px 0 #d6d6d6; 1139 1162 box-shadow: 0 0 6px 0 #d6d6d6; 1140 1163 } 1141 1164 … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1164 1187 } 1165 1188 1166 1189 .activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object { 1190 display: -webkit-box; 1191 display: -ms-flexbox; 1192 display: -webkit-flex; 1167 1193 display: flex; 1194 -ms-flex-align: center; 1195 -webkit-align-items: center; 1196 -webkit-box-align: center; 1168 1197 align-items: center; 1169 1198 padding: 0.2em; 1170 1199 } … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1512 1541 .buddypress-wrap .activity-list .load-newest:focus, 1513 1542 .buddypress-wrap .activity-list .load-newest:hover { 1514 1543 border-color: #e1e1e1; 1544 -webkit-box-shadow: 0 0 6px 0 #eaeaea; 1545 -moz-box-shadow: 0 0 6px 0 #eaeaea; 1515 1546 box-shadow: 0 0 6px 0 #eaeaea; 1516 1547 } 1517 1548 … … body.activity-permalink .activity-list .activity-comments { 1577 1608 top: -20px; 1578 1609 } 1579 1610 body.activity-permalink .activity-list .activity-avatar img { 1611 -webkit-box-shadow: 0 0 0 8px #fff; 1580 1612 box-shadow: 0 0 0 8px #fff; 1581 1613 } 1582 1614 body.activity-permalink .activity-list .activity-content { … … body.activity-permalink .activity-list .activity-comments { 1587 1619 } 1588 1620 } 1589 1621 1622 .bp-member-preview-cover, 1623 .bp-group-preview-cover { 1624 position: relative; 1625 min-height: 150px; 1626 background: #c5c5c5; 1627 } 1628 1629 .bp-member-preview-cover img, 1630 .bp-group-preview-cover img { 1631 background: #c5c5c5; 1632 object-fit: cover; 1633 border: 0; 1634 display: block; 1635 margin: 0; 1636 padding: 0; 1637 width: 100%; 1638 z-index: 1; 1639 height: 150px; 1640 } 1641 1642 .new_cover_photo .bp-member-preview-cover, 1643 .new_group_cover_photo .bp-group-preview-cover { 1644 min-height: 100%; 1645 } 1646 1647 .new_cover_photo .bp-member-preview-cover img, 1648 .new_group_cover_photo .bp-group-preview-cover img { 1649 height: 100%; 1650 } 1651 1652 .bp-member-short-description-avatar, 1653 .bp-group-short-description-avatar { 1654 float: right; 1655 } 1656 1657 .bp-member-avatar-content, 1658 .bp-group-avatar-content { 1659 width: 200px; 1660 margin-top: -75px; 1661 position: relative; 1662 z-index: 2; 1663 } 1664 1665 .bp-member-avatar-content img.avatar, 1666 .bp-group-avatar-content img.avatar { 1667 border: solid 2px #fff; 1668 background: rgba(255, 255, 255, 0.8); 1669 margin-right: 20px; 1670 } 1671 1672 .bp-member-short-description-title a, 1673 .bp-group-short-description-title a { 1674 font-weight: 600; 1675 } 1676 1677 @media screen and (max-width: 46.8em) { 1678 .bp-member-short-description, 1679 .bp-group-short-description { 1680 text-align: center; 1681 } 1682 .bp-member-short-description-avatar, 1683 .bp-group-short-description-avatar { 1684 width: 100%; 1685 margin-bottom: 15px; 1686 } 1687 .bp-member-avatar-content, 1688 .bp-group-avatar-content { 1689 margin-right: auto; 1690 margin-left: auto; 1691 } 1692 .bp-member-avatar-content img.avatar, 1693 .bp-group-avatar-content img.avatar { 1694 margin: auto; 1695 } 1696 .bp-profile-button { 1697 margin-top: 15px; 1698 } 1699 } 1700 1701 @media screen and (min-width: 46.8em) { 1702 .bp-profile-button { 1703 text-align: left; 1704 } 1705 } 1706 1590 1707 /** 1591 1708 *----------------------------------------------------- 1592 1709 * @section 3.1.3 - Activity Comments … … form.ac-form .ac-reply-content .ac-textarea textarea { 1757 1874 } 1758 1875 1759 1876 form.ac-form .ac-reply-content .ac-textarea textarea:focus { 1877 -webkit-box-shadow: 0 0 6px #d6d6d6; 1878 -moz-box-shadow: 0 0 6px #d6d6d6; 1760 1879 box-shadow: 0 0 6px #d6d6d6; 1761 1880 } 1762 1881 … … form.ac-form .ac-reply-content input { 1820 1939 1821 1940 .buddypress-wrap .groups-list li .group-desc { 1822 1941 border: 1px solid #eaeaea; 1942 -webkit-border-radius: 10px; 1943 -moz-border-radius: 10px; 1944 -ms-border-radius: 10px; 1823 1945 border-radius: 10px; 1824 1946 background-clip: padding-box; 1825 1947 font-size: 13px; … … form.ac-form .ac-reply-content input { 1895 2017 1896 2018 .buddypress-wrap .members-list li .user-update { 1897 2019 border: 1px solid #eaeaea; 2020 -webkit-border-radius: 10px; 2021 -moz-border-radius: 10px; 2022 -ms-border-radius: 10px; 1898 2023 border-radius: 10px; 1899 2024 background-clip: padding-box; 1900 2025 color: #737373; … … form.ac-form .ac-reply-content input { 1944 2069 *------------------------------------------------------------------------------- 1945 2070 */ 1946 2071 .register-page .register-section { 2072 -webkit-box-sizing: border-box; 2073 -moz-box-sizing: border-box; 1947 2074 box-sizing: border-box; 1948 2075 } 1949 2076 … … body.no-js .single-item-header .js-self-profile-button { 2353 2480 } 2354 2481 2355 2482 .groups-header .moderators-lists img.avatar { 2483 -moz-box-shadow: none; 2484 -webkit-box-shadow: none; 2356 2485 box-shadow: none; 2357 2486 float: none; 2358 2487 height: 30px; … … body.no-js .single-item-header .js-self-profile-button { 2390 2519 2391 2520 .groups-header .desc-wrap .group-description { 2392 2521 background: #fafafa; 2522 -webkit-box-shadow: inset 0 0 9px #ccc; 2523 -moz-box-shadow: inset 0 0 9px #ccc; 2393 2524 box-shadow: inset 0 0 9px #ccc; 2394 2525 padding: 1em; 2395 2526 text-align: right; … … body.buddypress.bp-user .buddypress-wrap .member-header-actions * > * { 2668 2799 } 2669 2800 2670 2801 .buddypress .bp-invites-content ul.item-list li.selected { 2802 -webkit-box-shadow: inset 0 0 12px 0 rgba(237, 187, 52, 0.2); 2803 -moz-box-shadow: inset 0 0 12px 0 rgba(237, 187, 52, 0.2); 2671 2804 box-shadow: inset 0 0 12px 0 rgba(237, 187, 52, 0.2); 2672 2805 } 2673 2806 … … body.buddypress.bp-user .buddypress-wrap .member-header-actions * > * { 2739 2872 2740 2873 @media screen and (min-width: 46.8em) { 2741 2874 .buddypress .bp-invites-content ul.item-list > li { 2875 -webkit-box-sizing: border-box; 2876 -moz-box-sizing: border-box; 2742 2877 box-sizing: border-box; 2743 2878 border: 1px solid #eaeaea; 2744 2879 float: right; … … body.buddypress.bp-user .buddypress-wrap .member-header-actions * > * { 2760 2895 2761 2896 @media screen and (min-width: 46.8em) { 2762 2897 :not(.vertical) + .item-body #group-invites-container { 2898 display: -ms-grid; 2763 2899 display: grid; 2900 -ms-grid-columns: 25% auto; 2764 2901 grid-template-columns: 25% auto; 2765 2902 grid-template-areas: "group-invites-nav group-invites-column"; 2766 2903 } … … body.register .buddypress-wrap .page ul { 3019 3156 } 3020 3157 3021 3158 .bp-messages-content .avatar { 3159 -moz-box-shadow: none; 3160 -webkit-box-shadow: none; 3022 3161 box-shadow: none; 3023 3162 } 3024 3163 … … body.register .buddypress-wrap .page ul { 3049 3188 3050 3189 #message-threads li { 3051 3190 border-bottom: 1px solid #eaeaea; 3191 display: -webkit-flex; 3052 3192 display: -moz-flex; 3053 3193 display: -ms-flex; 3054 3194 display: -o-flex; 3055 3195 display: flex; 3196 -webkit-flex-flow: row nowrap; 3197 -moz-flex-flow: row nowrap; 3198 -ms-flex-flow: row nowrap; 3056 3199 -o-flex-flow: row nowrap; 3057 3200 flex-flow: row nowrap; 3058 3201 margin: 0; … … body.register .buddypress-wrap .page ul { 3061 3204 } 3062 3205 3063 3206 #message-threads li .thread-cb { 3207 display: -webkit-box; 3208 display: -ms-flexbox; 3209 display: -webkit-flex; 3064 3210 display: flex; 3211 -ms-flex-align: center; 3212 -webkit-align-items: center; 3213 -webkit-box-align: center; 3065 3214 align-items: center; 3215 -webkit-flex: 1 2 5%; 3066 3216 -moz-flex: 1 2 5%; 3217 -ms-flex: 1 2 5%; 3067 3218 -o-flex: 1 2 5%; 3068 3219 flex: 1 2 5%; 3069 3220 } 3070 3221 3071 3222 #message-threads li .thread-from, 3072 3223 #message-threads li .thread-to { 3224 -webkit-flex: 1 2 20%; 3073 3225 -moz-flex: 1 2 20%; 3226 -ms-flex: 1 2 20%; 3074 3227 -o-flex: 1 2 20%; 3075 3228 flex: 1 2 20%; 3076 3229 } … … body.register .buddypress-wrap .page ul { 3096 3249 } 3097 3250 3098 3251 #message-threads li .thread-content { 3252 -webkit-flex: 1 2 60%; 3099 3253 -moz-flex: 1 2 60%; 3254 -ms-flex: 1 2 60%; 3100 3255 -o-flex: 1 2 60%; 3101 3256 flex: 1 2 60%; 3102 3257 } 3103 3258 3104 3259 #message-threads li .thread-date { 3260 -webkit-flex: 1 2 15%; 3105 3261 -moz-flex: 1 2 15%; 3262 -ms-flex: 1 2 15%; 3106 3263 -o-flex: 1 2 15%; 3107 3264 flex: 1 2 15%; 3108 3265 } … … body.register .buddypress-wrap .page ul { 3204 3361 3205 3362 .bp-messages-content #bp-message-thread-list .message-metadata { 3206 3363 border-bottom: 1px solid #ccc; 3364 -webkit-box-shadow: 2px 1px 9px 0 #eee; 3365 -moz-box-shadow: 2px 1px 9px 0 #eee; 3207 3366 box-shadow: 2px 1px 9px 0 #eee; 3208 3367 display: table; 3209 3368 padding: 0.2em; … … body.buddypress.settings.data #buddypress.buddypress-wrap .item-body p a { 3447 3606 .buddypress-wrap input[type="url"]:focus, 3448 3607 .buddypress-wrap input[type="tel"]:focus, 3449 3608 .buddypress-wrap input[type="password"]:focus { 3609 -webkit-box-shadow: 0 0 8px #eaeaea; 3610 -moz-box-shadow: 0 0 8px #eaeaea; 3450 3611 box-shadow: 0 0 8px #eaeaea; 3451 3612 } 3452 3613 … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 3686 3847 } 3687 3848 3688 3849 .buddypress-wrap .select-wrap select { 3850 -moz-appearance: none; 3689 3851 -webkit-appearance: none; 3690 3852 -o-appearance: none; 3691 3853 appearance: none; … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 3780 3942 .buddypress-wrap form#group-members-search button[type="submit"] { 3781 3943 background: none; 3782 3944 border: 0; 3945 -webkit-border-radius: 0; 3946 -moz-border-radius: 0; 3947 -ms-border-radius: 0; 3783 3948 border-radius: 0; 3784 3949 background-clip: padding-box; 3785 3950 } … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4056 4221 } 4057 4222 4058 4223 .center-vert { 4224 display: -ms-flexbox; 4225 display: -webkit-flex; 4059 4226 display: flex; 4227 -ms-flex-align: center; 4228 -webkit-align-items: center; 4229 -webkit-box-align: center; 4060 4230 align-items: center; 4061 4231 } 4062 4232 … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4170 4340 .buddypress .buddypress-wrap input.text-button { 4171 4341 background: none; 4172 4342 border: 0; 4343 -moz-box-shadow: none; 4344 -webkit-box-shadow: none; 4173 4345 box-shadow: none; 4174 4346 color: #767676; 4175 4347 } … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4265 4437 4266 4438 .buddypress #buddypress .create-button a { 4267 4439 border: 1px solid #ccc; 4440 -webkit-border-radius: 5px; 4441 -moz-border-radius: 5px; 4442 -ms-border-radius: 5px; 4268 4443 border-radius: 5px; 4269 4444 background-clip: padding-box; 4445 -webkit-box-shadow: inset 0 0 6px 0 #eaeaea; 4446 -moz-box-shadow: inset 0 0 6px 0 #eaeaea; 4270 4447 box-shadow: inset 0 0 6px 0 #eaeaea; 4271 4448 margin: 0.2em 0; 4272 4449 width: auto; … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4275 4452 .buddypress #buddypress .create-button a:focus, .buddypress #buddypress .create-button a:hover { 4276 4453 background: none; 4277 4454 border-color: #ccc; 4455 -webkit-box-shadow: inset 0 0 12px 0 #eaeaea; 4456 -moz-box-shadow: inset 0 0 12px 0 #eaeaea; 4278 4457 box-shadow: inset 0 0 12px 0 #eaeaea; 4279 4458 } 4280 4459 … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4296 4475 .buddypress #buddypress.bp-dir-hori-nav .create-button a:hover { 4297 4476 background: none; 4298 4477 border: 0; 4478 -moz-box-shadow: none; 4479 -webkit-box-shadow: none; 4299 4480 box-shadow: none; 4300 4481 margin: 0; 4301 4482 } … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4396 4577 .buddypress-wrap #group-create-body .bp-cover-image-status p.warning { 4397 4578 background: #0b80a4; 4398 4579 border: 0; 4580 -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2); 4581 -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2); 4399 4582 box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2); 4400 4583 color: #fff; 4401 4584 } 4402 4585 4403 4586 .buddypress-wrap .bp-feedback:not(.custom-homepage-info) { 4587 display: -webkit-flex; 4404 4588 display: -moz-flex; 4405 4589 display: -ms-flex; 4406 4590 display: -o-flex; 4407 4591 display: flex; 4592 -webkit-flex-flow: row nowrap; 4593 -moz-flex-flow: row nowrap; 4594 -ms-flex-flow: row nowrap; 4408 4595 -o-flex-flow: row nowrap; 4409 4596 flex-flow: row nowrap; 4597 -ms-flex-align: stretch; 4598 -webkit-align-items: stretch; 4599 -webkit-box-align: stretch; 4410 4600 align-items: stretch; 4411 4601 align-items: center; 4412 4602 } … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4414 4604 .buddypress-wrap .bp-feedback { 4415 4605 background: #fff; 4416 4606 color: #807f7f; 4607 -webkit-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1); 4608 -moz-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1); 4417 4609 box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1); 4418 4610 color: #737373; 4419 4611 margin: 10px 0; … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4492 4684 .buddypress-wrap .bp-feedback.loading .bp-icon, 4493 4685 .buddypress-wrap .bp-feedback.success .bp-icon, 4494 4686 .buddypress-wrap .bp-feedback.updated .bp-icon { 4687 display: -webkit-box; 4688 display: -ms-flexbox; 4689 display: -webkit-flex; 4495 4690 display: flex; 4691 -ms-flex-align: center; 4692 -webkit-align-items: center; 4693 -webkit-box-align: center; 4496 4694 align-items: center; 4497 4695 align-self: stretch; 4498 4696 } … … body.create-blog #buddypress .error, 4615 4813 body.create-blog #buddypress .success { 4616 4814 background: #fff; 4617 4815 color: #807f7f; 4816 -webkit-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1); 4817 -moz-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1); 4618 4818 box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1); 4619 4819 color: #737373; 4620 4820 padding: 10px 15px; … … body.create-blog #buddypress .success { 4734 4934 } 4735 4935 4736 4936 .buddypress.widget .avatar-block { 4937 display: -webkit-flex; 4737 4938 display: -moz-flex; 4738 4939 display: -ms-flex; 4739 4940 display: -o-flex; 4740 4941 display: flex; 4942 -webkit-flex-flow: row wrap; 4943 -moz-flex-flow: row wrap; 4944 -ms-flex-flow: row wrap; 4741 4945 -o-flex-flow: row wrap; 4742 4946 flex-flow: row wrap; 4743 4947 } … … body.create-blog #buddypress .success { 4784 4988 .buddypress-wrap .buddypress.widget ul#friends-list, 4785 4989 .buddypress-wrap .buddypress.widget ul#groups-list, 4786 4990 .buddypress-wrap .buddypress.widget ul#members-list { 4991 display: -webkit-flex; 4787 4992 display: -moz-flex; 4788 4993 display: -ms-flex; 4789 4994 display: -o-flex; 4790 4995 display: flex; 4996 -webkit-flex-flow: column nowrap; 4997 -moz-flex-flow: column nowrap; 4998 -ms-flex-flow: column nowrap; 4791 4999 -o-flex-flow: column nowrap; 4792 5000 flex-flow: column nowrap; 4793 5001 } … … body.create-blog #buddypress .success { 4796 5004 .buddypress-wrap .buddypress.widget ul#friends-list, 4797 5005 .buddypress-wrap .buddypress.widget ul#groups-list, 4798 5006 .buddypress-wrap .buddypress.widget ul#members-list { 5007 display: -webkit-flex; 4799 5008 display: -moz-flex; 4800 5009 display: -ms-flex; 4801 5010 display: -o-flex; 4802 5011 display: flex; 5012 -webkit-flex-flow: row wrap; 5013 -moz-flex-flow: row wrap; 5014 -ms-flex-flow: row wrap; 4803 5015 -o-flex-flow: row wrap; 4804 5016 flex-flow: row wrap; 4805 5017 } … … body.create-blog #buddypress .success { 4809 5021 .buddypress-wrap .buddypress.widget ul#groups-list li, 4810 5022 .buddypress-wrap .buddypress.widget ul#members-list li { 4811 5023 border: 1px solid #eee; 5024 -ms-flex-align: stretch; 5025 -webkit-align-items: stretch; 5026 -webkit-box-align: stretch; 4812 5027 align-items: stretch; 5028 -webkit-flex: 1 1 46%; 4813 5029 -moz-flex: 1 1 46%; 5030 -ms-flex: 1 1 46%; 4814 5031 -o-flex: 1 1 46%; 4815 5032 flex: 1 1 46%; 4816 5033 margin: 2%; … … body.create-blog #buddypress .success { 4820 5037 .buddypress-wrap .buddypress.widget ul#friends-list li, 4821 5038 .buddypress-wrap .buddypress.widget ul#groups-list li, 4822 5039 .buddypress-wrap .buddypress.widget ul#members-list li { 5040 -webkit-flex: 0 1 20%; 4823 5041 -moz-flex: 0 1 20%; 5042 -ms-flex: 0 1 20%; 4824 5043 -o-flex: 0 1 20%; 4825 5044 flex: 0 1 20%; 4826 5045 } … … body.create-blog #buddypress .success { 4856 5075 .buddypress-wrap .buddypress.widget ul#friends-list li, 4857 5076 .buddypress-wrap .buddypress.widget ul#groups-list li, 4858 5077 .buddypress-wrap .buddypress.widget ul#members-list li { 5078 -webkit-flex: 0 1 auto; 4859 5079 -moz-flex: 0 1 auto; 5080 -ms-flex: 0 1 auto; 4860 5081 -o-flex: 0 1 auto; 4861 5082 flex: 0 1 auto; 4862 5083 margin: 10px 2% 1%; … … body.create-blog #buddypress .success { 4884 5105 4885 5106 .buddypress-wrap a.loading, 4886 5107 .buddypress-wrap input.loading { 5108 -moz-animation: loader-pulsate 0.5s infinite ease-in-out alternate; 5109 -webkit-animation: loader-pulsate 0.5s infinite ease-in-out alternate; 4887 5110 animation: loader-pulsate 0.5s infinite ease-in-out alternate; 4888 5111 border-color: #aaa; 4889 5112 } 4890 5113 5114 @-webkit-keyframes loader-pulsate { 5115 from { 5116 border-color: #aaa; 5117 -webkit-box-shadow: 0 0 6px #ccc; 5118 box-shadow: 0 0 6px #ccc; 5119 } 5120 to { 5121 border-color: #ccc; 5122 -webkit-box-shadow: 0 0 6px #f8f8f8; 5123 box-shadow: 0 0 6px #f8f8f8; 5124 } 5125 } 5126 5127 @-moz-keyframes loader-pulsate { 5128 from { 5129 border-color: #aaa; 5130 -moz-box-shadow: 0 0 6px #ccc; 5131 box-shadow: 0 0 6px #ccc; 5132 } 5133 to { 5134 border-color: #ccc; 5135 -moz-box-shadow: 0 0 6px #f8f8f8; 5136 box-shadow: 0 0 6px #f8f8f8; 5137 } 5138 } 5139 4891 5140 @keyframes loader-pulsate { 4892 5141 from { 4893 5142 border-color: #aaa; 5143 -moz-box-shadow: 0 0 6px #ccc; 4894 5144 box-shadow: 0 0 6px #ccc; 4895 5145 } 4896 5146 to { 4897 5147 border-color: #ccc; 5148 -moz-box-shadow: 0 0 6px #f8f8f8; 4898 5149 box-shadow: 0 0 6px #f8f8f8; 4899 5150 } 4900 5151 } … … body.create-blog #buddypress .success { 4913 5164 display: none; 4914 5165 opacity: 0; 4915 5166 position: absolute; 5167 -webkit-transform: translate3d(0, 0, 0); 5168 -ms-transform: translate3d(0, 0, 0); 4916 5169 transform: translate3d(0, 0, 0); 4917 5170 visibility: hidden; 4918 5171 } … … body.create-blog #buddypress .success { 4933 5186 pointer-events: none; 4934 5187 text-shadow: none; 4935 5188 text-transform: none; 5189 -webkit-transition: all 1.5s ease; 5190 -ms-transition: all 1.5s ease; 4936 5191 transition: all 1.5s ease; 4937 5192 white-space: nowrap; 4938 5193 word-wrap: break-word; … … body.create-blog #buddypress .success { 4956 5211 right: 50%; 4957 5212 margin-top: 7px; 4958 5213 top: 110%; 5214 -webkit-transform: translate(50%, 0); 5215 -ms-transform: translate(50%, 0); 4959 5216 transform: translate(50%, 0); 4960 5217 } 4961 5218 4962 5219 .user-list .bp-tooltip:after { 4963 5220 right: 0; 5221 -webkit-transform: translate(0, 0); 5222 -ms-transform: translate(0, 0); 4964 5223 transform: translate(0, 0); 4965 5224 } 4966 5225 … … body.create-blog #buddypress .success { 4968 5227 .user-list .bp-tooltip:after { 4969 5228 right: auto; 4970 5229 left: 0; 5230 -webkit-transform: translate(0, 0); 5231 -ms-transform: translate(0, 0); 4971 5232 transform: translate(0, 0); 4972 5233 } 4973 5234 } … … body.create-blog #buddypress .success { 4978 5239 .notification-actions .bp-tooltip:after, 4979 5240 .participants-list .bp-tooltip:after { 4980 5241 right: 0; 5242 -webkit-transform: translate(0, 0); 5243 -ms-transform: translate(0, 0); 4981 5244 transform: translate(0, 0); 4982 5245 } 4983 5246 … … body.create-blog #buddypress .success { 4986 5249 .single-message-thread-header .actions .bp-tooltip:after { 4987 5250 right: auto; 4988 5251 left: 0; 5252 -webkit-transform: translate(0, 0); 5253 -ms-transform: translate(0, 0); 4989 5254 transform: translate(0, 0); 4990 5255 } 4991 5256 … … body.create-blog #buddypress .success { 5001 5266 */ 5002 5267 #item-body, 5003 5268 .single-screen-navs { 5269 -webkit-box-sizing: border-box; 5270 -moz-box-sizing: border-box; 5004 5271 box-sizing: border-box; 5005 5272 } 5006 5273 5007 5274 .grid > li, 5008 5275 .grid > li .generic-button a { 5276 -webkit-box-sizing: border-box; 5277 -moz-box-sizing: border-box; 5009 5278 box-sizing: border-box; 5010 5279 } 5011 5280 -
src/bp-templates/bp-nouveau/css/buddypress.css
diff --git src/bp-templates/bp-nouveau/css/buddypress.css src/bp-templates/bp-nouveau/css/buddypress.css index 526ff907e..98b1a4d2f 100644
body #buddypress select, 69 69 body #buddypress input[type="search"], 70 70 body #buddypress input[type="submit"], 71 71 body #buddypress input[type="reset"] { 72 -webkit-border-radius: 2px; 73 -moz-border-radius: 2px; 74 -ms-border-radius: 2px; 72 75 border-radius: 2px; 73 76 background-clip: padding-box; 74 77 } … … body #buddypress .bp-lists blockquote { 79 82 } 80 83 81 84 body #buddypress .bp-list .action { 85 -webkit-box-sizing: border-box; 86 -moz-box-sizing: border-box; 82 87 box-sizing: border-box; 83 88 } 84 89 … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 375 380 .buddypress-wrap.bp-dir-hori-nav:not(.bp-vertical-navs) nav:not(.tabbed-links) { 376 381 border-bottom: 1px solid #eee; 377 382 border-top: 1px solid #eee; 383 -webkit-box-shadow: 0 2px 12px 0 #fafafa; 384 -moz-box-shadow: 0 2px 12px 0 #fafafa; 378 385 box-shadow: 0 2px 12px 0 #fafafa; 379 386 } 380 387 } … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 868 875 } 869 876 870 877 .bp-list { 878 -webkit-box-sizing: border-box; 879 -moz-box-sizing: border-box; 871 880 box-sizing: border-box; 872 881 border-top: 1px solid #eaeaea; 873 882 clear: both; … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1018 1027 .activity-list.bp-list .activity-item { 1019 1028 background: #fff; 1020 1029 border: 1px solid #b7b7b7; 1030 -webkit-box-shadow: 0 0 6px #d2d2d2; 1031 -moz-box-shadow: 0 0 6px #d2d2d2; 1021 1032 box-shadow: 0 0 6px #d2d2d2; 1022 1033 margin: 20px 0; 1023 1034 } … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1038 1049 @media screen and (min-width: 46.8em) { 1039 1050 .friends-request-list li, 1040 1051 .membership-requests-list li { 1052 display: -webkit-flex; 1041 1053 display: -moz-flex; 1042 1054 display: -ms-flex; 1043 1055 display: -o-flex; 1044 1056 display: flex; 1057 -webkit-flex-flow: row nowrap; 1058 -moz-flex-flow: row nowrap; 1059 -ms-flex-flow: row nowrap; 1045 1060 -o-flex-flow: row nowrap; 1046 1061 flex-flow: row nowrap; 1047 1062 } 1048 1063 .friends-request-list li .item, 1049 1064 .membership-requests-list li .item { 1065 -webkit-flex: 1 1 auto; 1050 1066 -moz-flex: 1 1 auto; 1067 -ms-flex: 1 1 auto; 1051 1068 -o-flex: 1 1 auto; 1052 1069 flex: 1 1 auto; 1053 1070 } … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1103 1120 1104 1121 .activity-update-form { 1105 1122 border: 1px solid #ccc; 1123 -webkit-box-shadow: inset 0 0 6px #eee; 1124 -moz-box-shadow: inset 0 0 6px #eee; 1106 1125 box-shadow: inset 0 0 6px #eee; 1107 1126 margin: 15px 0; 1108 1127 } … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1125 1144 1126 1145 .activity-update-form #whats-new-textarea textarea { 1127 1146 background: #fff; 1147 -webkit-box-sizing: border-box; 1148 -moz-box-sizing: border-box; 1128 1149 box-sizing: border-box; 1129 1150 color: #333; 1130 1151 font-family: inherit; … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1136 1157 } 1137 1158 1138 1159 .activity-update-form #whats-new-textarea textarea:focus { 1160 -webkit-box-shadow: 0 0 6px 0 #d6d6d6; 1161 -moz-box-shadow: 0 0 6px 0 #d6d6d6; 1139 1162 box-shadow: 0 0 6px 0 #d6d6d6; 1140 1163 } 1141 1164 … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1164 1187 } 1165 1188 1166 1189 .activity-update-form #whats-new-post-in-box #whats-new-post-in-box-items .bp-activity-object { 1190 display: -webkit-box; 1191 display: -ms-flexbox; 1192 display: -webkit-flex; 1167 1193 display: flex; 1194 -ms-flex-align: center; 1195 -webkit-align-items: center; 1196 -webkit-box-align: center; 1168 1197 align-items: center; 1169 1198 padding: 0.2em; 1170 1199 } … … body.buddypress article.page > .entry-header:not(.alignwide):not(.alignfull) .en 1512 1541 .buddypress-wrap .activity-list .load-newest:focus, 1513 1542 .buddypress-wrap .activity-list .load-newest:hover { 1514 1543 border-color: #e1e1e1; 1544 -webkit-box-shadow: 0 0 6px 0 #eaeaea; 1545 -moz-box-shadow: 0 0 6px 0 #eaeaea; 1515 1546 box-shadow: 0 0 6px 0 #eaeaea; 1516 1547 } 1517 1548 … … body.activity-permalink .activity-list .activity-comments { 1577 1608 top: -20px; 1578 1609 } 1579 1610 body.activity-permalink .activity-list .activity-avatar img { 1611 -webkit-box-shadow: 0 0 0 8px #fff; 1580 1612 box-shadow: 0 0 0 8px #fff; 1581 1613 } 1582 1614 body.activity-permalink .activity-list .activity-content { … … body.activity-permalink .activity-list .activity-comments { 1587 1619 } 1588 1620 } 1589 1621 1622 .bp-member-preview-cover, 1623 .bp-group-preview-cover { 1624 position: relative; 1625 min-height: 150px; 1626 background: #c5c5c5; 1627 } 1628 1629 .bp-member-preview-cover img, 1630 .bp-group-preview-cover img { 1631 background: #c5c5c5; 1632 object-fit: cover; 1633 border: 0; 1634 display: block; 1635 margin: 0; 1636 padding: 0; 1637 width: 100%; 1638 z-index: 1; 1639 height: 150px; 1640 } 1641 1642 .new_cover_photo .bp-member-preview-cover, 1643 .new_group_cover_photo .bp-group-preview-cover { 1644 min-height: 100%; 1645 } 1646 1647 .new_cover_photo .bp-member-preview-cover img, 1648 .new_group_cover_photo .bp-group-preview-cover img { 1649 height: 100%; 1650 } 1651 1652 .bp-member-short-description-avatar, 1653 .bp-group-short-description-avatar { 1654 float: left; 1655 } 1656 1657 .bp-member-avatar-content, 1658 .bp-group-avatar-content { 1659 width: 200px; 1660 margin-top: -75px; 1661 position: relative; 1662 z-index: 2; 1663 } 1664 1665 .bp-member-avatar-content img.avatar, 1666 .bp-group-avatar-content img.avatar { 1667 border: solid 2px #fff; 1668 background: rgba(255, 255, 255, 0.8); 1669 margin-left: 20px; 1670 } 1671 1672 .bp-member-short-description-title a, 1673 .bp-group-short-description-title a { 1674 font-weight: 600; 1675 } 1676 1677 @media screen and (max-width: 46.8em) { 1678 .bp-member-short-description, 1679 .bp-group-short-description { 1680 text-align: center; 1681 } 1682 .bp-member-short-description-avatar, 1683 .bp-group-short-description-avatar { 1684 width: 100%; 1685 margin-bottom: 15px; 1686 } 1687 .bp-member-avatar-content, 1688 .bp-group-avatar-content { 1689 margin-left: auto; 1690 margin-right: auto; 1691 } 1692 .bp-member-avatar-content img.avatar, 1693 .bp-group-avatar-content img.avatar { 1694 margin: auto; 1695 } 1696 .bp-profile-button { 1697 margin-top: 15px; 1698 } 1699 } 1700 1701 @media screen and (min-width: 46.8em) { 1702 .bp-profile-button { 1703 text-align: right; 1704 } 1705 } 1706 1590 1707 /** 1591 1708 *----------------------------------------------------- 1592 1709 * @section 3.1.3 - Activity Comments … … form.ac-form .ac-reply-content .ac-textarea textarea { 1757 1874 } 1758 1875 1759 1876 form.ac-form .ac-reply-content .ac-textarea textarea:focus { 1877 -webkit-box-shadow: 0 0 6px #d6d6d6; 1878 -moz-box-shadow: 0 0 6px #d6d6d6; 1760 1879 box-shadow: 0 0 6px #d6d6d6; 1761 1880 } 1762 1881 … … form.ac-form .ac-reply-content input { 1820 1939 1821 1940 .buddypress-wrap .groups-list li .group-desc { 1822 1941 border: 1px solid #eaeaea; 1942 -webkit-border-radius: 10px; 1943 -moz-border-radius: 10px; 1944 -ms-border-radius: 10px; 1823 1945 border-radius: 10px; 1824 1946 background-clip: padding-box; 1825 1947 font-size: 13px; … … form.ac-form .ac-reply-content input { 1895 2017 1896 2018 .buddypress-wrap .members-list li .user-update { 1897 2019 border: 1px solid #eaeaea; 2020 -webkit-border-radius: 10px; 2021 -moz-border-radius: 10px; 2022 -ms-border-radius: 10px; 1898 2023 border-radius: 10px; 1899 2024 background-clip: padding-box; 1900 2025 color: #737373; … … form.ac-form .ac-reply-content input { 1944 2069 *------------------------------------------------------------------------------- 1945 2070 */ 1946 2071 .register-page .register-section { 2072 -webkit-box-sizing: border-box; 2073 -moz-box-sizing: border-box; 1947 2074 box-sizing: border-box; 1948 2075 } 1949 2076 … … body.no-js .single-item-header .js-self-profile-button { 2353 2480 } 2354 2481 2355 2482 .groups-header .moderators-lists img.avatar { 2483 -moz-box-shadow: none; 2484 -webkit-box-shadow: none; 2356 2485 box-shadow: none; 2357 2486 float: none; 2358 2487 height: 30px; … … body.no-js .single-item-header .js-self-profile-button { 2390 2519 2391 2520 .groups-header .desc-wrap .group-description { 2392 2521 background: #fafafa; 2522 -webkit-box-shadow: inset 0 0 9px #ccc; 2523 -moz-box-shadow: inset 0 0 9px #ccc; 2393 2524 box-shadow: inset 0 0 9px #ccc; 2394 2525 padding: 1em; 2395 2526 text-align: left; … … body.buddypress.bp-user .buddypress-wrap .member-header-actions * > * { 2668 2799 } 2669 2800 2670 2801 .buddypress .bp-invites-content ul.item-list li.selected { 2802 -webkit-box-shadow: inset 0 0 12px 0 rgba(237, 187, 52, 0.2); 2803 -moz-box-shadow: inset 0 0 12px 0 rgba(237, 187, 52, 0.2); 2671 2804 box-shadow: inset 0 0 12px 0 rgba(237, 187, 52, 0.2); 2672 2805 } 2673 2806 … … body.buddypress.bp-user .buddypress-wrap .member-header-actions * > * { 2739 2872 2740 2873 @media screen and (min-width: 46.8em) { 2741 2874 .buddypress .bp-invites-content ul.item-list > li { 2875 -webkit-box-sizing: border-box; 2876 -moz-box-sizing: border-box; 2742 2877 box-sizing: border-box; 2743 2878 border: 1px solid #eaeaea; 2744 2879 float: left; … … body.buddypress.bp-user .buddypress-wrap .member-header-actions * > * { 2760 2895 2761 2896 @media screen and (min-width: 46.8em) { 2762 2897 :not(.vertical) + .item-body #group-invites-container { 2898 display: -ms-grid; 2763 2899 display: grid; 2900 -ms-grid-columns: 25% auto; 2764 2901 grid-template-columns: 25% auto; 2765 2902 grid-template-areas: "group-invites-nav group-invites-column"; 2766 2903 } … … body.register .buddypress-wrap .page ul { 3019 3156 } 3020 3157 3021 3158 .bp-messages-content .avatar { 3159 -moz-box-shadow: none; 3160 -webkit-box-shadow: none; 3022 3161 box-shadow: none; 3023 3162 } 3024 3163 … … body.register .buddypress-wrap .page ul { 3049 3188 3050 3189 #message-threads li { 3051 3190 border-bottom: 1px solid #eaeaea; 3191 display: -webkit-flex; 3052 3192 display: -moz-flex; 3053 3193 display: -ms-flex; 3054 3194 display: -o-flex; 3055 3195 display: flex; 3196 -webkit-flex-flow: row nowrap; 3197 -moz-flex-flow: row nowrap; 3198 -ms-flex-flow: row nowrap; 3056 3199 -o-flex-flow: row nowrap; 3057 3200 flex-flow: row nowrap; 3058 3201 margin: 0; … … body.register .buddypress-wrap .page ul { 3061 3204 } 3062 3205 3063 3206 #message-threads li .thread-cb { 3207 display: -webkit-box; 3208 display: -ms-flexbox; 3209 display: -webkit-flex; 3064 3210 display: flex; 3211 -ms-flex-align: center; 3212 -webkit-align-items: center; 3213 -webkit-box-align: center; 3065 3214 align-items: center; 3215 -webkit-flex: 1 2 5%; 3066 3216 -moz-flex: 1 2 5%; 3217 -ms-flex: 1 2 5%; 3067 3218 -o-flex: 1 2 5%; 3068 3219 flex: 1 2 5%; 3069 3220 } 3070 3221 3071 3222 #message-threads li .thread-from, 3072 3223 #message-threads li .thread-to { 3224 -webkit-flex: 1 2 20%; 3073 3225 -moz-flex: 1 2 20%; 3226 -ms-flex: 1 2 20%; 3074 3227 -o-flex: 1 2 20%; 3075 3228 flex: 1 2 20%; 3076 3229 } … … body.register .buddypress-wrap .page ul { 3096 3249 } 3097 3250 3098 3251 #message-threads li .thread-content { 3252 -webkit-flex: 1 2 60%; 3099 3253 -moz-flex: 1 2 60%; 3254 -ms-flex: 1 2 60%; 3100 3255 -o-flex: 1 2 60%; 3101 3256 flex: 1 2 60%; 3102 3257 } 3103 3258 3104 3259 #message-threads li .thread-date { 3260 -webkit-flex: 1 2 15%; 3105 3261 -moz-flex: 1 2 15%; 3262 -ms-flex: 1 2 15%; 3106 3263 -o-flex: 1 2 15%; 3107 3264 flex: 1 2 15%; 3108 3265 } … … body.register .buddypress-wrap .page ul { 3204 3361 3205 3362 .bp-messages-content #bp-message-thread-list .message-metadata { 3206 3363 border-bottom: 1px solid #ccc; 3364 -webkit-box-shadow: -2px 1px 9px 0 #eee; 3365 -moz-box-shadow: -2px 1px 9px 0 #eee; 3207 3366 box-shadow: -2px 1px 9px 0 #eee; 3208 3367 display: table; 3209 3368 padding: 0.2em; … … body.buddypress.settings.data #buddypress.buddypress-wrap .item-body p a { 3447 3606 .buddypress-wrap input[type="url"]:focus, 3448 3607 .buddypress-wrap input[type="tel"]:focus, 3449 3608 .buddypress-wrap input[type="password"]:focus { 3609 -webkit-box-shadow: 0 0 8px #eaeaea; 3610 -moz-box-shadow: 0 0 8px #eaeaea; 3450 3611 box-shadow: 0 0 8px #eaeaea; 3451 3612 } 3452 3613 … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 3686 3847 } 3687 3848 3688 3849 .buddypress-wrap .select-wrap select { 3850 -moz-appearance: none; 3689 3851 -webkit-appearance: none; 3690 3852 -o-appearance: none; 3691 3853 appearance: none; … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 3780 3942 .buddypress-wrap form#group-members-search button[type="submit"] { 3781 3943 background: none; 3782 3944 border: 0; 3945 -webkit-border-radius: 0; 3946 -moz-border-radius: 0; 3947 -ms-border-radius: 0; 3783 3948 border-radius: 0; 3784 3949 background-clip: padding-box; 3785 3950 } … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4056 4221 } 4057 4222 4058 4223 .center-vert { 4224 display: -ms-flexbox; 4225 display: -webkit-flex; 4059 4226 display: flex; 4227 -ms-flex-align: center; 4228 -webkit-align-items: center; 4229 -webkit-box-align: center; 4060 4230 align-items: center; 4061 4231 } 4062 4232 … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4170 4340 .buddypress .buddypress-wrap input.text-button { 4171 4341 background: none; 4172 4342 border: 0; 4343 -moz-box-shadow: none; 4344 -webkit-box-shadow: none; 4173 4345 box-shadow: none; 4174 4346 color: #767676; 4175 4347 } … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4265 4437 4266 4438 .buddypress #buddypress .create-button a { 4267 4439 border: 1px solid #ccc; 4440 -webkit-border-radius: 5px; 4441 -moz-border-radius: 5px; 4442 -ms-border-radius: 5px; 4268 4443 border-radius: 5px; 4269 4444 background-clip: padding-box; 4445 -webkit-box-shadow: inset 0 0 6px 0 #eaeaea; 4446 -moz-box-shadow: inset 0 0 6px 0 #eaeaea; 4270 4447 box-shadow: inset 0 0 6px 0 #eaeaea; 4271 4448 margin: 0.2em 0; 4272 4449 width: auto; … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4275 4452 .buddypress #buddypress .create-button a:focus, .buddypress #buddypress .create-button a:hover { 4276 4453 background: none; 4277 4454 border-color: #ccc; 4455 -webkit-box-shadow: inset 0 0 12px 0 #eaeaea; 4456 -moz-box-shadow: inset 0 0 12px 0 #eaeaea; 4278 4457 box-shadow: inset 0 0 12px 0 #eaeaea; 4279 4458 } 4280 4459 … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4296 4475 .buddypress #buddypress.bp-dir-hori-nav .create-button a:hover { 4297 4476 background: none; 4298 4477 border: 0; 4478 -moz-box-shadow: none; 4479 -webkit-box-shadow: none; 4299 4480 box-shadow: none; 4300 4481 margin: 0; 4301 4482 } … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4396 4577 .buddypress-wrap #group-create-body .bp-cover-image-status p.warning { 4397 4578 background: #0b80a4; 4398 4579 border: 0; 4580 -webkit-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2); 4581 -moz-box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2); 4399 4582 box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.2); 4400 4583 color: #fff; 4401 4584 } 4402 4585 4403 4586 .buddypress-wrap .bp-feedback:not(.custom-homepage-info) { 4587 display: -webkit-flex; 4404 4588 display: -moz-flex; 4405 4589 display: -ms-flex; 4406 4590 display: -o-flex; 4407 4591 display: flex; 4592 -webkit-flex-flow: row nowrap; 4593 -moz-flex-flow: row nowrap; 4594 -ms-flex-flow: row nowrap; 4408 4595 -o-flex-flow: row nowrap; 4409 4596 flex-flow: row nowrap; 4597 -ms-flex-align: stretch; 4598 -webkit-align-items: stretch; 4599 -webkit-box-align: stretch; 4410 4600 align-items: stretch; 4411 4601 align-items: center; 4412 4602 } … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4414 4604 .buddypress-wrap .bp-feedback { 4415 4605 background: #fff; 4416 4606 color: #807f7f; 4607 -webkit-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1); 4608 -moz-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1); 4417 4609 box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1); 4418 4610 color: #737373; 4419 4611 margin: 10px 0; … … body.no-js .buddypress #messages-bulk-management #select-all-messages { 4492 4684 .buddypress-wrap .bp-feedback.loading .bp-icon, 4493 4685 .buddypress-wrap .bp-feedback.success .bp-icon, 4494 4686 .buddypress-wrap .bp-feedback.updated .bp-icon { 4687 display: -webkit-box; 4688 display: -ms-flexbox; 4689 display: -webkit-flex; 4495 4690 display: flex; 4691 -ms-flex-align: center; 4692 -webkit-align-items: center; 4693 -webkit-box-align: center; 4496 4694 align-items: center; 4497 4695 align-self: stretch; 4498 4696 } … … body.create-blog #buddypress .error, 4615 4813 body.create-blog #buddypress .success { 4616 4814 background: #fff; 4617 4815 color: #807f7f; 4816 -webkit-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1); 4817 -moz-box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1); 4618 4818 box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.1); 4619 4819 color: #737373; 4620 4820 padding: 10px 15px; … … body.create-blog #buddypress .success { 4734 4934 } 4735 4935 4736 4936 .buddypress.widget .avatar-block { 4937 display: -webkit-flex; 4737 4938 display: -moz-flex; 4738 4939 display: -ms-flex; 4739 4940 display: -o-flex; 4740 4941 display: flex; 4942 -webkit-flex-flow: row wrap; 4943 -moz-flex-flow: row wrap; 4944 -ms-flex-flow: row wrap; 4741 4945 -o-flex-flow: row wrap; 4742 4946 flex-flow: row wrap; 4743 4947 } … … body.create-blog #buddypress .success { 4784 4988 .buddypress-wrap .buddypress.widget ul#friends-list, 4785 4989 .buddypress-wrap .buddypress.widget ul#groups-list, 4786 4990 .buddypress-wrap .buddypress.widget ul#members-list { 4991 display: -webkit-flex; 4787 4992 display: -moz-flex; 4788 4993 display: -ms-flex; 4789 4994 display: -o-flex; 4790 4995 display: flex; 4996 -webkit-flex-flow: column nowrap; 4997 -moz-flex-flow: column nowrap; 4998 -ms-flex-flow: column nowrap; 4791 4999 -o-flex-flow: column nowrap; 4792 5000 flex-flow: column nowrap; 4793 5001 } … … body.create-blog #buddypress .success { 4796 5004 .buddypress-wrap .buddypress.widget ul#friends-list, 4797 5005 .buddypress-wrap .buddypress.widget ul#groups-list, 4798 5006 .buddypress-wrap .buddypress.widget ul#members-list { 5007 display: -webkit-flex; 4799 5008 display: -moz-flex; 4800 5009 display: -ms-flex; 4801 5010 display: -o-flex; 4802 5011 display: flex; 5012 -webkit-flex-flow: row wrap; 5013 -moz-flex-flow: row wrap; 5014 -ms-flex-flow: row wrap; 4803 5015 -o-flex-flow: row wrap; 4804 5016 flex-flow: row wrap; 4805 5017 } … … body.create-blog #buddypress .success { 4809 5021 .buddypress-wrap .buddypress.widget ul#groups-list li, 4810 5022 .buddypress-wrap .buddypress.widget ul#members-list li { 4811 5023 border: 1px solid #eee; 5024 -ms-flex-align: stretch; 5025 -webkit-align-items: stretch; 5026 -webkit-box-align: stretch; 4812 5027 align-items: stretch; 5028 -webkit-flex: 1 1 46%; 4813 5029 -moz-flex: 1 1 46%; 5030 -ms-flex: 1 1 46%; 4814 5031 -o-flex: 1 1 46%; 4815 5032 flex: 1 1 46%; 4816 5033 margin: 2%; … … body.create-blog #buddypress .success { 4820 5037 .buddypress-wrap .buddypress.widget ul#friends-list li, 4821 5038 .buddypress-wrap .buddypress.widget ul#groups-list li, 4822 5039 .buddypress-wrap .buddypress.widget ul#members-list li { 5040 -webkit-flex: 0 1 20%; 4823 5041 -moz-flex: 0 1 20%; 5042 -ms-flex: 0 1 20%; 4824 5043 -o-flex: 0 1 20%; 4825 5044 flex: 0 1 20%; 4826 5045 } … … body.create-blog #buddypress .success { 4856 5075 .buddypress-wrap .buddypress.widget ul#friends-list li, 4857 5076 .buddypress-wrap .buddypress.widget ul#groups-list li, 4858 5077 .buddypress-wrap .buddypress.widget ul#members-list li { 5078 -webkit-flex: 0 1 auto; 4859 5079 -moz-flex: 0 1 auto; 5080 -ms-flex: 0 1 auto; 4860 5081 -o-flex: 0 1 auto; 4861 5082 flex: 0 1 auto; 4862 5083 margin: 10px 2% 1%; … … body.create-blog #buddypress .success { 4884 5105 4885 5106 .buddypress-wrap a.loading, 4886 5107 .buddypress-wrap input.loading { 5108 -moz-animation: loader-pulsate 0.5s infinite ease-in-out alternate; 5109 -webkit-animation: loader-pulsate 0.5s infinite ease-in-out alternate; 4887 5110 animation: loader-pulsate 0.5s infinite ease-in-out alternate; 4888 5111 border-color: #aaa; 4889 5112 } 4890 5113 5114 @-webkit-keyframes loader-pulsate { 5115 from { 5116 border-color: #aaa; 5117 -webkit-box-shadow: 0 0 6px #ccc; 5118 box-shadow: 0 0 6px #ccc; 5119 } 5120 to { 5121 border-color: #ccc; 5122 -webkit-box-shadow: 0 0 6px #f8f8f8; 5123 box-shadow: 0 0 6px #f8f8f8; 5124 } 5125 } 5126 5127 @-moz-keyframes loader-pulsate { 5128 from { 5129 border-color: #aaa; 5130 -moz-box-shadow: 0 0 6px #ccc; 5131 box-shadow: 0 0 6px #ccc; 5132 } 5133 to { 5134 border-color: #ccc; 5135 -moz-box-shadow: 0 0 6px #f8f8f8; 5136 box-shadow: 0 0 6px #f8f8f8; 5137 } 5138 } 5139 4891 5140 @keyframes loader-pulsate { 4892 5141 from { 4893 5142 border-color: #aaa; 5143 -moz-box-shadow: 0 0 6px #ccc; 4894 5144 box-shadow: 0 0 6px #ccc; 4895 5145 } 4896 5146 to { 4897 5147 border-color: #ccc; 5148 -moz-box-shadow: 0 0 6px #f8f8f8; 4898 5149 box-shadow: 0 0 6px #f8f8f8; 4899 5150 } 4900 5151 } … … body.create-blog #buddypress .success { 4913 5164 display: none; 4914 5165 opacity: 0; 4915 5166 position: absolute; 5167 -webkit-transform: translate3d(0, 0, 0); 5168 -ms-transform: translate3d(0, 0, 0); 4916 5169 transform: translate3d(0, 0, 0); 4917 5170 visibility: hidden; 4918 5171 } … … body.create-blog #buddypress .success { 4933 5186 pointer-events: none; 4934 5187 text-shadow: none; 4935 5188 text-transform: none; 5189 -webkit-transition: all 1.5s ease; 5190 -ms-transition: all 1.5s ease; 4936 5191 transition: all 1.5s ease; 4937 5192 white-space: nowrap; 4938 5193 word-wrap: break-word; … … body.create-blog #buddypress .success { 4956 5211 left: 50%; 4957 5212 margin-top: 7px; 4958 5213 top: 110%; 5214 -webkit-transform: translate(-50%, 0); 5215 -ms-transform: translate(-50%, 0); 4959 5216 transform: translate(-50%, 0); 4960 5217 } 4961 5218 4962 5219 .user-list .bp-tooltip:after { 4963 5220 left: 0; 5221 -webkit-transform: translate(0, 0); 5222 -ms-transform: translate(0, 0); 4964 5223 transform: translate(0, 0); 4965 5224 } 4966 5225 … … body.create-blog #buddypress .success { 4968 5227 .user-list .bp-tooltip:after { 4969 5228 left: auto; 4970 5229 right: 0; 5230 -webkit-transform: translate(0, 0); 5231 -ms-transform: translate(0, 0); 4971 5232 transform: translate(0, 0); 4972 5233 } 4973 5234 } … … body.create-blog #buddypress .success { 4978 5239 .notification-actions .bp-tooltip:after, 4979 5240 .participants-list .bp-tooltip:after { 4980 5241 left: 0; 5242 -webkit-transform: translate(0, 0); 5243 -ms-transform: translate(0, 0); 4981 5244 transform: translate(0, 0); 4982 5245 } 4983 5246 … … body.create-blog #buddypress .success { 4986 5249 .single-message-thread-header .actions .bp-tooltip:after { 4987 5250 left: auto; 4988 5251 right: 0; 5252 -webkit-transform: translate(0, 0); 5253 -ms-transform: translate(0, 0); 4989 5254 transform: translate(0, 0); 4990 5255 } 4991 5256 … … body.create-blog #buddypress .success { 5001 5266 */ 5002 5267 #item-body, 5003 5268 .single-screen-navs { 5269 -webkit-box-sizing: border-box; 5270 -moz-box-sizing: border-box; 5004 5271 box-sizing: border-box; 5005 5272 } 5006 5273 5007 5274 .grid > li, 5008 5275 .grid > li .generic-button a { 5276 -webkit-box-sizing: border-box; 5277 -moz-box-sizing: border-box; 5009 5278 box-sizing: border-box; 5010 5279 } 5011 5280