mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-09 09:57:38 +01:00
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:
parent
c615381288
commit
1e2c4818e8
@ -4,12 +4,6 @@ a { color: #2583ad; text-decoration: none; }
|
|||||||
|
|
||||||
a:hover, .subsubsub a:hover, .subsubsub a.current:hover { color: #d54e21; }
|
a:hover, .subsubsub a:hover, .subsubsub a.current:hover { color: #d54e21; }
|
||||||
|
|
||||||
a:focus, a:active {
|
|
||||||
border: none;
|
|
||||||
-moz-outline: none;
|
|
||||||
outline: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
@ -48,28 +42,30 @@ textarea, input, select {
|
|||||||
.hidden { display: none; }
|
.hidden { display: none; }
|
||||||
|
|
||||||
.subsubsub {
|
.subsubsub {
|
||||||
color: #999999;
|
color: #999;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 15px 0 10px 0;
|
margin: 15px 0 10px 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.subsubsub a { line-height: 200%; padding: 3px; }
|
.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; }
|
.subsubsub li { display: inline; margin: 0; padding: 0; }
|
||||||
|
|
||||||
.widefat {
|
.widefat {
|
||||||
border: 1px solid #cccccc;
|
border: 1px solid #ccc;
|
||||||
border-collapse: collapse;
|
border-collapse: collapse;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
clear: both;
|
||||||
}
|
}
|
||||||
|
|
||||||
.widefat td, .widefat th {
|
.widefat td, .widefat th {
|
||||||
border-bottom: 1px solid #cccccc;
|
border-bottom: 1px solid #ccc;
|
||||||
font-size: 12px;
|
font-size: 10px;
|
||||||
padding: 10px 6px 20px 6px;
|
padding: 10px 6px 20px 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -102,8 +102,6 @@ unset($status_links);
|
|||||||
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" />
|
<input type="submit" value="<?php _e( 'Search Pages' ); ?>" class="button" />
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<br style="clear:both;" />
|
|
||||||
|
|
||||||
<div class="tablenav">
|
<div class="tablenav">
|
||||||
|
|
||||||
<div style="float: left">
|
<div style="float: left">
|
||||||
|
@ -68,7 +68,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
|
|||||||
if ( empty($title) )
|
if ( empty($title) )
|
||||||
$title = __('(no title)');
|
$title = __('(no title)');
|
||||||
?>
|
?>
|
||||||
<td><strong><a href="post.php?action=edit&post=<?php the_ID(); ?>"><?php echo $title ?></a></strong>
|
<td><strong><a class="row-title" href="post.php?action=edit&post=<?php the_ID(); ?>"><?php echo $title ?></a></strong>
|
||||||
<?php if ('private' == $post->post_status) _e(' — <strong>Private</strong>'); ?></td>
|
<?php if ('private' == $post->post_status) _e(' — <strong>Private</strong>'); ?></td>
|
||||||
<?php
|
<?php
|
||||||
break;
|
break;
|
||||||
|
@ -118,8 +118,6 @@ endif;
|
|||||||
|
|
||||||
<?php do_action('restrict_manage_posts'); ?>
|
<?php do_action('restrict_manage_posts'); ?>
|
||||||
|
|
||||||
<br style="clear:both;" />
|
|
||||||
|
|
||||||
<div class="tablenav">
|
<div class="tablenav">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -21,7 +21,7 @@ require_once ('admin-header.php');
|
|||||||
<form action="" method="get">
|
<form action="" method="get">
|
||||||
<h3><?php _e('Optional options'); ?></h3>
|
<h3><?php _e('Optional options'); ?></h3>
|
||||||
|
|
||||||
<table>
|
<table class="niceblue">
|
||||||
<tr>
|
<tr>
|
||||||
<th><?php _e('Restrict Author:'); ?></th>
|
<th><?php _e('Restrict Author:'); ?></th>
|
||||||
<td>
|
<td>
|
||||||
|
@ -44,7 +44,7 @@ if (empty ($importers)) {
|
|||||||
$style = 'class="'.$style.'"';
|
$style = 'class="'.$style.'"';
|
||||||
echo "
|
echo "
|
||||||
<tr $style>
|
<tr $style>
|
||||||
<td class='import-system'>$action</td>
|
<td class='import-system row-title'>$action</td>
|
||||||
<td class='desc'>{$data[1]}</td>
|
<td class='desc'>{$data[1]}</td>
|
||||||
</tr>";
|
</tr>";
|
||||||
}
|
}
|
||||||
|
@ -145,7 +145,7 @@ function media_buttons() {
|
|||||||
$uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID);
|
$uploading_iframe_ID = (int) (0 == $post_ID ? $temp_ID : $post_ID);
|
||||||
$multimedia_upload_iframe_src = "media-upload.php?type=multimedia&post_id=$uploading_iframe_ID";
|
$multimedia_upload_iframe_src = "media-upload.php?type=multimedia&post_id=$uploading_iframe_ID";
|
||||||
$multimedia_upload_iframe_src = apply_filters('multimedia_upload_iframe_src', $multimedia_upload_iframe_src);
|
$multimedia_upload_iframe_src = apply_filters('multimedia_upload_iframe_src', $multimedia_upload_iframe_src);
|
||||||
echo "<a href='$multimedia_upload_iframe_src&TB_iframe=true&height=500&width=640' class='button thickbox'>" . __('Add media'). '</a>';
|
echo "<a href='$multimedia_upload_iframe_src&TB_iframe=true&height=500&width=640' class='button-secondary thickbox'>" . __('Add media'). '</a>';
|
||||||
}
|
}
|
||||||
add_action( 'media_buttons', 'media_buttons' );
|
add_action( 'media_buttons', 'media_buttons' );
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ function _cat_row( $category, $level, $name_override = false ) {
|
|||||||
|
|
||||||
$pad = str_repeat( '— ', $level );
|
$pad = str_repeat( '— ', $level );
|
||||||
if ( current_user_can( 'manage_categories' ) ) {
|
if ( current_user_can( 'manage_categories' ) ) {
|
||||||
$edit = "<a href='categories.php?action=edit&cat_ID=$category->term_id'>". ( $name_override ? $name_override : $pad . ' ' . $category->name ) ."</a>";
|
$edit = "<a class='row-title' href='categories.php?action=edit&cat_ID=$category->term_id'>". ( $name_override ? $name_override : $pad . ' ' . $category->name ) ."</a>";
|
||||||
$default_cat_id = (int) get_option( 'default_category' );
|
$default_cat_id = (int) get_option( 'default_category' );
|
||||||
} else {
|
} else {
|
||||||
$edit = ( $name_override ? $name_override : $pad . ' ' . $category->name );
|
$edit = ( $name_override ? $name_override : $pad . ' ' . $category->name );
|
||||||
@ -70,7 +70,7 @@ function link_cat_row( $category ) {
|
|||||||
return $category;
|
return $category;
|
||||||
|
|
||||||
if ( current_user_can( 'manage_categories' ) ) {
|
if ( current_user_can( 'manage_categories' ) ) {
|
||||||
$edit = "<a href='link-category.php?action=edit&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&cat_ID=$category->term_id' class='edit'>". ( $name_override ? $name_override : $category->name ) ."</a>";
|
||||||
$default_cat_id = (int) get_option( 'default_link_category' );
|
$default_cat_id = (int) get_option( 'default_link_category' );
|
||||||
} else {
|
} else {
|
||||||
$edit = ( $name_override ? $name_override : $category->name );
|
$edit = ( $name_override ? $name_override : $category->name );
|
||||||
@ -235,7 +235,7 @@ function _tag_row( $tag, $class = '' ) {
|
|||||||
$out = '';
|
$out = '';
|
||||||
$out .= '<tr id="tag-' . $tag->term_id . '"' . $class . '>';
|
$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 .= '<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&tag_ID=' . $tag->term_id . '">' .
|
$out .= '<td><strong><a class="row-title" href="edit-tags.php?action=edit&tag_ID=' . $tag->term_id . '">' .
|
||||||
apply_filters( 'term_name', $tag->name ) . '</a></td>';
|
apply_filters( 'term_name', $tag->name ) . '</a></td>';
|
||||||
|
|
||||||
$out .= "<td>$count</td>";
|
$out .= "<td>$count</td>";
|
||||||
@ -299,7 +299,7 @@ function wp_manage_posts_columns() {
|
|||||||
$posts_columns['categories'] = __('Categories');
|
$posts_columns['categories'] = __('Categories');
|
||||||
$posts_columns['tags'] = __('Tags');
|
$posts_columns['tags'] = __('Tags');
|
||||||
if ( !in_array($_GET['post_status'], array('pending', 'draft', 'future')) )
|
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['status'] = __('Status');
|
||||||
$posts_columns = apply_filters('manage_posts_columns', $posts_columns);
|
$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) )
|
if ( empty($title) )
|
||||||
$title = __('(no title)');
|
$title = __('(no title)');
|
||||||
?>
|
?>
|
||||||
<td><strong><a href="page.php?action=edit&post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong>
|
<td><strong><a class="row-title" href="page.php?action=edit&post=<?php the_ID(); ?>"><?php echo $pad; echo $title ?></a></strong>
|
||||||
<?php if ('private' == $page->post_status) _e(' — <strong>Private</strong>'); ?></td>
|
<?php if ('private' == $page->post_status) _e(' — <strong>Private</strong>'); ?></td>
|
||||||
<?php
|
<?php
|
||||||
break;
|
break;
|
||||||
|
@ -171,7 +171,7 @@ if ( $links ) {
|
|||||||
switch($column_name) {
|
switch($column_name) {
|
||||||
case 'name':
|
case 'name':
|
||||||
|
|
||||||
echo "<td><a href='link.php?link_id=$link->link_id&action=edit' class='edit'>$link->link_name</a><br />";
|
echo "<td><strong><a class='row-title' href='link.php?link_id=$link->link_id&action=edit' class='edit'>$link->link_name</a></strong><br />";
|
||||||
echo $link->link_description . "</td>";
|
echo $link->link_description . "</td>";
|
||||||
break;
|
break;
|
||||||
case 'url':
|
case 'url':
|
||||||
|
@ -121,8 +121,6 @@ endif;
|
|||||||
|
|
||||||
<?php do_action('restrict_manage_posts'); ?>
|
<?php do_action('restrict_manage_posts'); ?>
|
||||||
|
|
||||||
<br style="clear:both;" />
|
|
||||||
|
|
||||||
<div class="tablenav">
|
<div class="tablenav">
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
|
@ -539,6 +539,15 @@ p.pagenav {
|
|||||||
margin: 0 6px;
|
margin: 0 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.row-title {
|
||||||
|
font-size: 12px !important;
|
||||||
|
font-weight: bold;
|
||||||
|
}
|
||||||
|
|
||||||
|
.comment-column {
|
||||||
|
margin-left: -5px;
|
||||||
|
}
|
||||||
|
|
||||||
.tablenav .dots {
|
.tablenav .dots {
|
||||||
background-color: #e4f2fd;
|
background-color: #e4f2fd;
|
||||||
border-color: #e4f2fd;
|
border-color: #e4f2fd;
|
||||||
@ -559,9 +568,10 @@ p.pagenav {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.tablenav {
|
.tablenav {
|
||||||
background-color: #e4f2fd;
|
background-color: #eaf3fa;
|
||||||
padding: 10px;
|
padding: 10px 10px 8px;
|
||||||
clear: both;
|
clear: both;
|
||||||
|
margin-bottom: -10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tablenav .tablenav-pages {
|
.tablenav .tablenav-pages {
|
||||||
@ -782,6 +792,10 @@ a.view-comment-post-link {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#submenu li {
|
||||||
|
padding: 0 0 8px 17px;
|
||||||
|
}
|
||||||
|
|
||||||
#adminmenu li a #awaiting-mod {
|
#adminmenu li a #awaiting-mod {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
margin-left: -0.2em;
|
margin-left: -0.2em;
|
||||||
@ -869,7 +883,6 @@ strong .post-com-count span {
|
|||||||
|
|
||||||
#submenu a {
|
#submenu a {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
padding: 0 0 8px 17px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#submenu a.current, #submenu a:hover {
|
#submenu a.current, #submenu a:hover {
|
||||||
@ -1010,9 +1023,9 @@ html, body {
|
|||||||
|
|
||||||
#poststuff h3 {
|
#poststuff h3 {
|
||||||
background: #eaf3fa;
|
background: #eaf3fa;
|
||||||
font-size: 15px;
|
font-size: 14px;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding: 10px 5px;
|
padding: 8px 5px;
|
||||||
margin: 0 0 10px;
|
margin: 0 0 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1104,12 +1117,12 @@ html, body {
|
|||||||
#poststuff .togbox {
|
#poststuff .togbox {
|
||||||
background-color:#b2b2b2;
|
background-color:#b2b2b2;
|
||||||
background-image:url(images/toggle-arrow.gif);
|
background-image:url(images/toggle-arrow.gif);
|
||||||
background-position:-10px 18px;
|
background-position:-10px 16px;
|
||||||
background-repeat:no-repeat;
|
background-repeat:no-repeat;
|
||||||
display:block;
|
display:block;
|
||||||
height:44px;
|
height:39px;
|
||||||
margin-left:-19px;
|
margin-left:-19px;
|
||||||
margin-top:-13px;
|
margin-top:-11px;
|
||||||
overflow:hidden;
|
overflow:hidden;
|
||||||
position:absolute;
|
position:absolute;
|
||||||
text-indent:-9999px;
|
text-indent:-9999px;
|
||||||
@ -1135,7 +1148,7 @@ html, body {
|
|||||||
#poststuff .closed .togbox {
|
#poststuff .closed .togbox {
|
||||||
background-color:#2583ad;
|
background-color:#2583ad;
|
||||||
background-image:url(images/toggle-arrow.gif);
|
background-image:url(images/toggle-arrow.gif);
|
||||||
background-position: 4px 18px;
|
background-position: 4px 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.submitbox {
|
.submitbox {
|
||||||
|
Loading…
Reference in New Issue
Block a user