mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-23 06:55:28 +00:00
Active plugin highlighting tweaks from MT. fixes #6275
git-svn-id: http://svn.automattic.com/wordpress/trunk@7538 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
b39d0790ec
commit
bfba721708
@ -380,7 +380,7 @@ input.readonly {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#plugins .active {
|
#plugins .active {
|
||||||
background-color: #EAF3FA;
|
background-color: #e7f7d3;
|
||||||
}
|
}
|
||||||
|
|
||||||
#plugins .togl {
|
#plugins .togl {
|
||||||
|
@ -117,7 +117,7 @@ h6 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.widefat td {
|
.widefat td {
|
||||||
padding: 7px 15px 6px 10px;
|
padding: 7px 15px 9px 10px;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
BIN
wp-admin/images/active.png
Normal file
BIN
wp-admin/images/active.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 781 B |
@ -106,7 +106,7 @@ if (empty($plugins)) {
|
|||||||
<th><?php _e('Plugin'); ?></th>
|
<th><?php _e('Plugin'); ?></th>
|
||||||
<th class="num"><?php _e('Version'); ?></th>
|
<th class="num"><?php _e('Version'); ?></th>
|
||||||
<th><?php _e('Description'); ?></th>
|
<th><?php _e('Description'); ?></th>
|
||||||
<th><?php _e('Status') ?></th>
|
<th class="status"><?php _e('Status') ?></th>
|
||||||
<th class="action-links"><?php _e('Action'); ?></th>
|
<th class="action-links"><?php _e('Action'); ?></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@ -147,9 +147,9 @@ if (empty($plugins)) {
|
|||||||
<td class='desc'><p>{$plugin_data['Description']}$author</p></td>
|
<td class='desc'><p>{$plugin_data['Description']}$author</p></td>
|
||||||
<td class='status'>";
|
<td class='status'>";
|
||||||
if ( is_plugin_active($plugin_file) )
|
if ( is_plugin_active($plugin_file) )
|
||||||
echo __('Active');
|
echo __('<span class="active">Active</span>');
|
||||||
else
|
else
|
||||||
_e('Inactive');
|
_e('<span class="inactive">Inactive</span>');
|
||||||
echo "</td>
|
echo "</td>
|
||||||
<td class='togl action-links'>$toggle";
|
<td class='togl action-links'>$toggle";
|
||||||
if ( !empty($action_links) )
|
if ( !empty($action_links) )
|
||||||
|
@ -1460,3 +1460,17 @@ td.action-links, th.action-links {
|
|||||||
.hide-if-no-js {
|
.hide-if-no-js {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.status * {
|
||||||
|
line-height: 16px;
|
||||||
|
display: block;
|
||||||
|
padding-left: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
th.status {
|
||||||
|
padding-left: 28px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.status .active {
|
||||||
|
background: url(images/active.png) center left no-repeat;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user