Skip to:
Content

BuddyPress.org

Changeset 4287


Ignore:
Timestamp:
04/24/2011 09:34:40 PM (13 years ago)
Author:
djpaul
Message:

Correct zebra striping. Fixes #3074

Location:
trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-screens.php

    r4263 r4287  
    141141        $reply = 'yes'; ?>
    142142
    143     <table class="notification-settings zebra" id="activity-notification-settings">
     143    <table class="notification-settings" id="activity-notification-settings">
    144144        <thead>
    145145            <tr>
  • trunk/bp-core/deprecated/1.3.php

    r4137 r4287  
    243243    <h4><?php _e( 'My Profile' ) ?></h4>
    244244
    245     <table class="wp-profile-fields zebra">
     245    <table class="wp-profile-fields">
    246246
    247247        <?php if ( $ud->display_name ) : ?>
  • trunk/bp-friends/bp-friends-screens.php

    r3917 r4287  
    6363?>
    6464
    65     <table class="notification-settings zebra" id="friends-notification-settings">
     65    <table class="notification-settings" id="friends-notification-settings">
    6666        <thead>
    6767            <tr>
  • trunk/bp-groups/bp-groups-screens.php

    r4219 r4287  
    791791?>
    792792
    793     <table class="notification-settings zebra" id="groups-notification-settings">
     793    <table class="notification-settings" id="groups-notification-settings">
    794794        <thead>
    795795            <tr>
  • trunk/bp-messages/bp-messages-screens.php

    r3870 r4287  
    112112?>
    113113
    114     <table class="notification-settings zebra" id="messages-notification-settings">
     114    <table class="notification-settings" id="messages-notification-settings">
    115115        <thead>
    116116            <tr>
  • trunk/bp-themes/bp-default/_inc/global.js

    r4285 r4287  
    854854    });
    855855
    856     /** Alternate Highlighting ******************************************/
    857 
    858     jq('body#bp-default table.zebra tbody tr').mouseover( function() {
    859         jq(this).addClass('over');
    860     }).mouseout( function() {
    861         jq(this).removeClass('over');
    862     });
    863 
    864     jq('body#bp-default table.zebra tbody tr:odd').addClass('alt');
    865 
    866     jq('div.message-box').each( function(i) {
    867         if ( i % 2 == 1 )
    868             jq(this).addClass('alt');
    869     });
    870 
    871856    /** Private Messaging ******************************************/
    872857
     
    906891                    jq("div.new-message").hide().slideDown( 200, function() {
    907892                        jq('div.new-message').removeClass('new-message');
    908                     });
    909 
    910                     jq('div.message-box').each( function(i) {
    911                         jq(this).removeClass('alt');
    912                         if ( i % 2 != 1 )
    913                             jq(this).addClass('alt');
    914893                    });
    915894                }
  • trunk/bp-themes/bp-default/forums/forums-loop.php

    r4009 r4287  
    3434    <?php do_action( 'bp_before_directory_forums_list' ); ?>
    3535
    36     <table class="forum zebra">
     36    <table class="forum">
    3737        <thead>
    3838            <tr>
  • trunk/bp-themes/bp-default/members/single/messages/messages-loop.php

    r4136 r4287  
    1818    <?php do_action( 'bp_before_member_messages_threads' ) ?>
    1919
    20     <table id="message-threads" class="zebra messages-notices">
     20    <table id="message-threads" class="messages-notices">
    2121        <?php while ( bp_message_threads() ) : bp_message_thread(); ?>
    2222
    23             <tr id="m-<?php bp_message_thread_id() ?>"<?php if ( bp_message_thread_has_unread() ) : ?> class="unread"<?php else: ?> class="read"<?php endif; ?>>
     23            <tr id="m-<?php bp_message_thread_id() ?>" class="<?php bp_message_css_class(); ?><?php if ( bp_message_thread_has_unread() ) : ?> unread"<?php else: ?> read"<?php endif; ?>>
    2424                <td width="1%" class="thread-count">
    2525                    <span class="unread-count"><?php bp_message_thread_unread_count() ?></span>
  • trunk/bp-themes/bp-default/members/single/messages/notices-loop.php

    r3771 r4287  
    1818    <?php do_action( 'bp_before_notices' ) ?>
    1919
    20     <table id="message-threads" class="zebra messages-notices">
     20    <table id="message-threads" class="messages-notices">
    2121        <?php while ( bp_message_threads() ) : bp_message_thread(); ?>
    22             <tr id="notice-<?php bp_message_notice_id() ?>">
     22            <tr id="notice-<?php bp_message_notice_id() ?>" class="<?php bp_message_css_class(); ?>">
    2323                <td width="1%">
    2424                </td>
  • trunk/bp-themes/bp-default/members/single/messages/single.php

    r3771 r4287  
    1818        <?php while ( bp_thread_messages() ) : bp_thread_the_message(); ?>
    1919
    20             <div class="message-box">
     20            <div class="message-box <?php bp_the_thread_message_alt_class(); ?>">
    2121
    2222                <div class="message-metadata">
  • trunk/bp-themes/bp-default/members/single/profile/profile-loop.php

    r3806 r4287  
    1414                <?php endif; ?>
    1515
    16                 <table class="profile-fields zebra">
     16                <table class="profile-fields">
    1717                    <?php while ( bp_profile_fields() ) : bp_the_profile_field(); ?>
    1818
  • trunk/bp-themes/bp-default/members/single/profile/profile-wp.php

    r4016 r4287  
    88        <h4><?php bp_is_my_profile() ? _e( 'My Profile' ) : printf( __( "%s's Profile", 'buddypress' ), bp_get_displayed_user_fullname() ); ?></h4>
    99
    10         <table class="wp-profile-fields zebra">
     10        <table class="wp-profile-fields">
    1111
    1212            <?php if ( $ud->display_name ) : ?>
Note: See TracChangeset for help on using the changeset viewer.