Skip to:
Content

BuddyPress.org

Changeset 5853


Ignore:
Timestamp:
02/27/2012 07:20:37 AM (13 years ago)
Author:
johnjamesjacoby
Message:

Add icons to components screen. Copy WP menu.png into admin images folder, as WordPress could be installed anywhere relative to the plugins folder.

Location:
trunk/bp-core/admin
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/admin/bp-core-components.php

    r5850 r5853  
    219219                        endif; ?>
    220220
    221                         <tr id="<?php echo $name; ?>" class="<?php echo $class; ?>">
     221                        <tr id="<?php echo $name; ?>" class="<?php echo $name . ' ' . $class; ?>">
    222222                            <th scope="row">
    223223
     
    231231                            </th>
    232232                            <td class="plugin-title" style="width: 190px;">
     233                                <span></span>
    233234                                <strong><?php echo esc_html( $labels['title'] ); ?></strong>
    234235                                <div class="row-actions-visible">
  • trunk/bp-core/admin/css/common.dev.css

    r5749 r5853  
    6565}
    6666
     67
     68/* Components
     69------------------------------------------------------------------------------*/
     70
     71td.plugin-title span {
     72    float: left;
     73    width: 18px;
     74    height: 18px;
     75    background-image: url( ../images/menu.png );
     76    background-position: -4px -40px;
     77    background-repeat: no-repeat;
     78    margin-right: 5px;
     79}
     80
     81tr.active td.plugin-title span {
     82    background-position-y: -7px;
     83}
     84
     85tr.activity td.plugin-title span {
     86    background-position-x: -4px;
     87}
     88
     89tr.xprofile td.plugin-title span {
     90    background-image: url( ../images/menu-wp.png );
     91    background-position-x: -305px;
     92}
     93
     94tr.settings td.plugin-title span {
     95    background-image: url( ../images/menu-wp.png );
     96    background-position-x: -334px;
     97}
     98
     99tr.groups td.plugin-title span {
     100    background-position-x: -66px;
     101}
     102
     103tr.messages td.plugin-title span {
     104    background-position-x: -154px;
     105}
     106
     107tr.forums td.plugin-title span {
     108    background-image: url( ../images/menu-wp.png );
     109    background-position-x: -36px;
     110}
     111
     112tr.blogs td.plugin-title span {
     113    background-position-x: -125px;
     114}
     115
     116tr.friends td.plugin-title span {
     117    background-position-x: -95px;
     118}
     119
     120tr.core td.plugin-title span {
     121    background-position-x: -184px;
     122}
     123
     124tr.members td.plugin-title span {
     125    background-position-x: -36px;
     126}
    67127
    68128/* Dashboard Widget
Note: See TracChangeset for help on using the changeset viewer.