Changeset 2133
- Timestamp:
- 11/26/2009 11:02:14 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-activity/bp-activity-templatetags.php
r2132 r2133 450 450 global $activities_template; 451 451 452 return apply_filters( 'bp_get_activity_css_class', $activities_template->activity->component_name . ' ' . $activities_template->activity->component_action ); 452 $mini_activity_actions = apply_filters( 'bp_activity_mini_activity_actions', array( 453 'friendship_accepted', 454 'friendship_created', 455 'new_blog', 456 'joined_group', 457 'created_group', 458 'new_member' 459 ) ); 460 461 $mini_class = ''; 462 if ( in_array( $activities_template->activity->component_action, (array)$mini_activity_actions ) ) 463 $mini_class = ' mini'; 464 465 return apply_filters( 'bp_get_activity_css_class', $activities_template->activity->component_name . ' ' . $activities_template->activity->component_action . $mini_class ); 453 466 } 454 467 -
trunk/bp-themes/bp-default/_inc/css/screen.css
r2131 r2133 1303 1303 } 1304 1304 1305 .activity-list li.friendship_created, 1306 .activity-list li.joined_group, 1307 .activity-list li.new_member { 1305 .activity-list li.mini { 1308 1306 font-size: 11px; 1309 1307 } 1310 .activity-list li.friendship_created .activity-avatar img.avatar, 1311 .activity-list li.joined_group .activity-avatar img.avatar, 1312 .activity-list li.new_member .activity-avatar img.avatar { 1308 .activity-list li.mini .activity-avatar img.avatar { 1313 1309 width: 20px; 1314 1310 height: 20px; … … 1316 1312 } 1317 1313 1318 .activity-list li.friendship_created .activity-content p, 1319 .activity-list li.joined_group .activity-content p, 1320 .activity-list li.new_member .activity-content p { 1314 .activity-list li.mini .activity-content p { 1321 1315 margin: 0; 1322 1316 float: left; 1323 1317 } 1324 1318 1325 .activity-list li.friendship_created .activity-meta, 1326 .activity-list li.joined_group .activity-meta, 1327 .activity-list li.new_member .activity-meta { 1319 .activity-list li.mini .activity-meta { 1328 1320 float: right; 1329 1321 } 1330 1322 1331 .activity-list li.friendship_created .activity-comments, 1332 .activity-list li.joined_group .activity-comments, 1333 .activity-list li.new_member .activity-comments { 1323 .activity-list li.mini .activity-comments { 1334 1324 clear: left; 1335 1325 } 1336 1337 1338 1339 1326 1340 1327 .activity-list li div.activity-avatar {
Note: See TracChangeset
for help on using the changeset viewer.