Changeset 2476
- Timestamp:
- 01/29/2010 02:56:12 PM (15 years ago)
- Location:
- trunk/bp-themes/bp-default
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-themes/bp-default/_inc/css/default.css
r2460 r2476 309 309 } 310 310 311 div#item-header span.activity { 312 margin: 0 0 5px 4px; 313 vertical-align: bottom; 311 div#item-header h2 { margin-bottom: 5px; } 312 313 div#item-header span.activity, div#item-header h2 span.highlight { 314 vertical-align: middle; 314 315 font-size: 11px; 315 316 font-weight: normal; 316 317 line-height: 170%; 317 318 } 318 .groups div#item-header span.activity { margin-bottom: -2px; } 319 320 div#item-header h2 span.highlight { font-size: 16px; } 321 div#item-header h2 span.highlight span { 322 position: relative; 323 top: -2px; 324 right: -2px; 325 font-weight: bold; 326 font-size: 11px; 327 background: #a1dcfa; 328 color: #fff; 329 padding: 1px 4px; 330 margin-bottom: 2px; 331 -moz-border-radius: 3px; 332 -webkit-border-radius: 3px; 333 vertical-align: middle; 334 cursor: pointer; 335 display: none; 336 } 319 337 320 338 div#item-header div#item-meta { … … 359 377 float: left; 360 378 margin: 10px 10px 0 0; 379 } 380 381 div#item-header div#message.info { 382 margin-left: 170px; 383 line-height: 80%; 361 384 } 362 385 … … 525 548 border-right: 1px solid #FFE8C4; 526 549 color: #ffa200; 527 padding: 2px 8px;528 margin-top: 8px;550 padding: 1px 8px; 551 margin-top: 6px; 529 552 text-decoration: none; 530 553 -moz-border-radius: 3px; -
trunk/bp-themes/bp-default/_inc/global.js
r2473 r2476 34 34 } 35 35 36 /* @me ssageCompose Scrolling */36 /* @mention Compose Scrolling */ 37 37 if ( j.query.get('r') ) { 38 38 if ( j('textarea#whats-new').length ) { … … 41 41 } 42 42 } 43 44 /* @mention username help button display */ 45 if ( j( 'span.highlight span' ).length ) 46 j( 'span.highlight span' ).toggle(); 43 47 44 48 /**** Activity Posting ********************************************************/ … … 445 449 } 446 450 }); 451 452 /**** @mention username help tooltip **************************************/ 453 454 j('span.highlight span').click( function() { 455 j('div.help').remove(); 456 j(this).parent().after( '<div id="message" class="info help"><p>' + bp_mention_explain + '</p></div>' ); 457 j('div.help').hide().slideDown(200); 458 }) 447 459 448 460 /**** Directory Search ****************************************************/ -
trunk/bp-themes/bp-default/functions.php
r2373 r2476 210 210 var bp_terms_show_all = '<?php _e( "Show all", "buddypress" ) ?>'; 211 211 var bp_terms_comments = '<?php _e( "comments", "buddypress" ) ?>'; 212 var bp_mention_explain = '<?php printf( __( "%s is a unique identifier for %s that you can type into any message on this site. %s will be sent a notification and a link to your message any time you use it.", "buddypress" ), '@' . bp_get_displayed_user_username(), bp_dtheme_firstname(bp_get_displayed_user_fullname()), bp_dtheme_firstname(bp_get_displayed_user_fullname()) ); ?>'; 212 213 </script> 213 214 <?php -
trunk/bp-themes/bp-default/members/single/member-header.php
r2461 r2476 3 3 <?php bp_displayed_user_avatar( 'type=full' ) ?> 4 4 5 <h2 class="fn"><a href="<?php bp_user_link() ?>"><?php bp_displayed_user_fullname() ?></a> <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ) ?></span></h2> 5 <h2 class="fn"><a href="<?php bp_user_link() ?>"><?php bp_displayed_user_fullname() ?></a> <span class="highlight">@<?php bp_displayed_user_username() ?> <span>?</span></h2> 6 <span class="activity"><?php bp_last_activity( bp_displayed_user_id() ) ?></span> 6 7 7 8 <?php do_action( 'bp_before_member_header_meta' ) ?>
Note: See TracChangeset
for help on using the changeset viewer.