Admin style tweaks from mt. fixes #5974

git-svn-id: http://svn.automattic.com/wordpress/trunk@6997 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-24 02:07:51 +00:00
parent c615381288
commit 1e2c4818e8
11 changed files with 39 additions and 36 deletions

View File

@ -4,12 +4,6 @@ a { color: #2583ad; text-decoration: none; }
a:hover, .subsubsub a:hover, .subsubsub a.current:hover { color: #d54e21; }
a:focus, a:active {
border: none;
-moz-outline: none;
outline: none;
}
body {
background: #ffffff;
color: #333333;
@ -48,28 +42,30 @@ textarea, input, select {
.hidden { display: none; }
.subsubsub {
color: #999999;
color: #999;
list-style: none;
margin: 15px 0 10px 0;
padding: 0;
white-space: nowrap;
font-size: 12px;
}
.subsubsub a { line-height: 200%; padding: 3px; }
.subsubsub a.current { color: #000000; font-weight: bold; }
.subsubsub a.current { color: #000; font-weight: bold; }
.subsubsub li { display: inline; margin: 0; padding: 0; }
.widefat {
border: 1px solid #cccccc;
border: 1px solid #ccc;
border-collapse: collapse;
width: 100%;
clear: both;
}
.widefat td, .widefat th {
border-bottom: 1px solid #cccccc;
font-size: 12px;
border-bottom: 1px solid #ccc;
font-size: 10px;
padding: 10px 6px 20px 6px;
}

View File

@ -102,8 +102,6 @@ unset($status_links);
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" />
</p>
<br style="clear:both;" />
<div class="tablenav">
<div style="float: left">

View File

@ -68,7 +68,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
if ( empty($title) )
$title = __('(no title)');
?>
<td><strong><a href="post.php?action=edit&amp;post=<?php the_ID(); ?>"><?php echo $title ?></a></strong>
<td><strong><a class="row-title" href="post.php?action=edit&amp;post=<?php the_ID(); ?>"><?php echo $title ?></a></strong>
<?php if ('private' == $post->post_status) _e(' &#8212; <strong>Private</strong>'); ?></td>
<?php
break;

View File

@ -118,8 +118,6 @@ endif;
<?php do_action('restrict_manage_posts'); ?>
<br style="clear:both;" />
<div class="tablenav">
<?php

View File

@ -21,7 +21,7 @@ require_once ('admin-header.php');
<form action="" method="get">
<h3><?php _e('Optional options'); ?></h3>
<table>
<table class="niceblue">
<tr>
<th><?php _e('Restrict Author:'); ?></th>
<td>

View File

@ -44,7 +44,7 @@ if (empty ($importers)) {
$style = 'class="'.$style.'"';
echo "
<tr $style>
<td class='import-system'>$action</td>
<td class='import-system row-title'>$action</td>
<td class='desc'>{$data[1]}</td>
</tr>";
}

View File

@ -145,7 +145,7 @@ function media_buttons() {
$uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID);
$multimedia_upload_iframe_src = "media-upload.php?type=multimedia&amp;post_id=$uploading_iframe_ID";
$multimedia_upload_iframe_src = apply_filters('multimedia_upload_iframe_src', $multimedia_upload_iframe_src);
echo "<a href='$multimedia_upload_iframe_src&amp;TB_iframe=true&amp;height=500&amp;width=640' class='button thickbox'>" . __('Add media'). '</a>';
echo "<a href='$multimedia_upload_iframe_src&amp;TB_iframe=true&amp;height=500&amp;width=640' class='button-secondary thickbox'>" . __('Add media'). '</a>';
}
add_action( 'media_buttons', 'media_buttons' );

View File

@ -42,7 +42,7 @@ function _cat_row( $category, $level, $name_override = false ) {
$pad = str_repeat( '&#8212; ', $level );
if ( current_user_can( 'manage_categories' ) ) {
$edit = "<a href='categories.php?action=edit&amp;cat_ID=$category->term_id'>". ( $name_override ? $name_override : $pad . ' ' . $category->name ) ."</a>";
$edit = "<a class='row-title' href='categories.php?action=edit&amp;cat_ID=$category->term_id'>". ( $name_override ? $name_override : $pad . ' ' . $category->name ) ."</a>";
$default_cat_id = (int) get_option( 'default_category' );
} else {
$edit = ( $name_override ? $name_override : $pad . ' ' . $category->name );
@ -70,7 +70,7 @@ function link_cat_row( $category ) {
return $category;
if ( current_user_can( 'manage_categories' ) ) {
$edit = "<a href='link-category.php?action=edit&amp;cat_ID=$category->term_id' class='edit'>". ( $name_override ? $name_override : $category->name ) ."</a>";
$edit = "<a class='row-title' href='link-category.php?action=edit&amp;cat_ID=$category->term_id' class='edit'>". ( $name_override ? $name_override : $category->name ) ."</a>";
$default_cat_id = (int) get_option( 'default_link_category' );
} else {
$edit = ( $name_override ? $name_override : $category->name );
@ -235,7 +235,7 @@ function _tag_row( $tag, $class = '' ) {
$out = '';
$out .= '<tr id="tag-' . $tag->term_id . '"' . $class . '>';
$out .= '<th scope="row" class="check-column"> <input type="checkbox" name="delete_tags[]" value="' . $tag->term_id . '" /></th>';
$out .= '<td><a href="edit-tags.php?action=edit&amp;tag_ID=' . $tag->term_id . '">' .
$out .= '<td><strong><a class="row-title" href="edit-tags.php?action=edit&amp;tag_ID=' . $tag->term_id . '">' .
apply_filters( 'term_name', $tag->name ) . '</a></td>';
$out .= "<td>$count</td>";
@ -299,7 +299,7 @@ function wp_manage_posts_columns() {
$posts_columns['categories'] = __('Categories');
$posts_columns['tags'] = __('Tags');
if ( !in_array($_GET['post_status'], array('pending', 'draft', 'future')) )
$posts_columns['comments'] = '<div style="text-align: center"><img alt="" src="images/comment-grey-bubble.png" /></div>';
$posts_columns['comments'] = '<img class="comment-column" alt="Comments" src="images/comment-grey-bubble.png" /></div>';
$posts_columns['status'] = __('Status');
$posts_columns = apply_filters('manage_posts_columns', $posts_columns);
@ -403,7 +403,7 @@ foreach ($posts_columns as $column_name=>$column_display_name) {
if ( empty($title) )
$title = __('(no title)');
?>
<td><strong><a href="page.php?action=edit&amp;post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong>
<td><strong><a class="row-title" href="page.php?action=edit&amp;post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong>
<?php if ('private' == $page->post_status) _e(' &#8212; <strong>Private</strong>'); ?></td>
<?php
break;

View File

@ -171,7 +171,7 @@ if ( $links ) {
switch($column_name) {
case 'name':
echo "<td><a href='link.php?link_id=$link->link_id&amp;action=edit' class='edit'>$link->link_name</a><br />";
echo "<td><strong><a class='row-title' href='link.php?link_id=$link->link_id&amp;action=edit' class='edit'>$link->link_name</a></strong><br />";
echo $link->link_description . "</td>";
break;
case 'url':

View File

@ -121,8 +121,6 @@ endif;
<?php do_action('restrict_manage_posts'); ?>
<br style="clear:both;" />
<div class="tablenav">
<?php

View File

@ -539,6 +539,15 @@ p.pagenav {
margin: 0 6px;
}
.row-title {
font-size: 12px !important;
font-weight: bold;
}
.comment-column {
margin-left: -5px;
}
.tablenav .dots {
background-color: #e4f2fd;
border-color: #e4f2fd;
@ -559,9 +568,10 @@ p.pagenav {
}
.tablenav {
background-color: #e4f2fd;
padding: 10px;
background-color: #eaf3fa;
padding: 10px 10px 8px;
clear: both;
margin-bottom: -10px;
}
.tablenav .tablenav-pages {
@ -782,6 +792,10 @@ a.view-comment-post-link {
padding: 0;
}
#submenu li {
padding: 0 0 8px 17px;
}
#adminmenu li a #awaiting-mod {
position: absolute;
margin-left: -0.2em;
@ -869,7 +883,6 @@ strong .post-com-count span {
#submenu a {
font-size: 14px;
padding: 0 0 8px 17px;
}
#submenu a.current, #submenu a:hover {
@ -1010,9 +1023,9 @@ html, body {
#poststuff h3 {
background: #eaf3fa;
font-size: 15px;
font-size: 14px;
font-weight: bold;
padding: 10px 5px;
padding: 8px 5px;
margin: 0 0 10px;
}
@ -1104,12 +1117,12 @@ html, body {
#poststuff .togbox {
background-color:#b2b2b2;
background-image:url(images/toggle-arrow.gif);
background-position:-10px 18px;
background-position:-10px 16px;
background-repeat:no-repeat;
display:block;
height:44px;
height:39px;
margin-left:-19px;
margin-top:-13px;
margin-top:-11px;
overflow:hidden;
position:absolute;
text-indent:-9999px;
@ -1135,7 +1148,7 @@ html, body {
#poststuff .closed .togbox {
background-color:#2583ad;
background-image:url(images/toggle-arrow.gif);
background-position: 4px 18px;
background-position: 4px 16px;
}
.submitbox {