New manage posts almost fully functional, and some admin CSS reorganization. TODO: Delete buttons and checkboxes are currently impotent.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6778 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1edf014a54
commit
df17a15b02
|
@ -14,7 +14,10 @@ get_admin_page_title();
|
|||
<head>
|
||||
<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php echo get_option('blog_charset'); ?>" />
|
||||
<title><?php bloginfo('name') ?> › <?php echo wp_specialchars( strip_tags( $title ) ); ?> — WordPress</title>
|
||||
<?php wp_admin_css(); ?>
|
||||
<?php
|
||||
wp_admin_css( 'css/global' );
|
||||
wp_admin_css();
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
addLoadEvent=(function(){var e=[],t,s,n,i,o,d=document,w=window,r='readyState',c='onreadystatechange',x=function(){n=1;clearInterval(t);while(i=e.shift())i();if(s)s[c]=''};return function(f){if(n)return f();if(!e[0]){d.addEventListener&&d.addEventListener("DOMContentLoaded",x,false);/*@cc_on@*//*@if(@_win32)d.write("<script id=__ie_onload defer src=//0><\/scr"+"ipt>");s=d.getElementById("__ie_onload");s[c]=function(){s[r]=="complete"&&x()};/*@end@*/if(/WebKit/i.test(navigator.userAgent))t=setInterval(function(){/loaded|complete/.test(d[r])&&x()},10);o=w.onload;w.onload=function(){x();o&&o()}}e.push(f)}})();//]]>
|
||||
|
|
|
@ -0,0 +1,93 @@
|
|||
/* styles for use by people extending the WordPress interface */
|
||||
|
||||
a { color: #2583ad; text-decoration: none; }
|
||||
|
||||
a:hover, .subsubsub a:hover, .subsubsub a.current:hover { color: #d54e21; }
|
||||
|
||||
body {
|
||||
background: #ffffff;
|
||||
color: #333333;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body, td {
|
||||
font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
form, label input { margin: 0; padding: 0; }
|
||||
|
||||
img { border: 0; }
|
||||
|
||||
label { cursor: pointer; }
|
||||
|
||||
li, dd { margin-bottom: 6px; }
|
||||
|
||||
p, li, dl, dd, dt { line-height: 140%; }
|
||||
|
||||
textarea, input, select {
|
||||
font: 13px Verdana, Arial, Helvetica, sans-serif;
|
||||
margin: 1px;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.alignleft { float: left; }
|
||||
|
||||
.alignright { float: right; }
|
||||
|
||||
.alternate { background: #f9f9f9; }
|
||||
|
||||
.clear { clear: both; height: 2px; }
|
||||
|
||||
.hidden { display: none; }
|
||||
|
||||
.subsubsub {
|
||||
color: #999999;
|
||||
list-style: none;
|
||||
margin: 15px 0 10px 0;
|
||||
padding: 0;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.subsubsub a { line-height: 200%; padding: 3px; }
|
||||
|
||||
.subsubsub a.current { color: #000000; font-weight: bold; }
|
||||
|
||||
.subsubsub li { display: inline; margin: 0; padding: 0; }
|
||||
|
||||
.widefat {
|
||||
border: 1px solid #cccccc;
|
||||
border-collapse: collapse;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.widefat td, .widefat th {
|
||||
border-bottom: 1px solid #cccccc;
|
||||
font-size: 12px;
|
||||
padding: 10px 6px 20px 6px;
|
||||
}
|
||||
|
||||
.widefat th {
|
||||
padding-bottom: 8px;
|
||||
padding-top: 10px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.widefat thead, .thead { background: #464646; color: #d7d7d7; }
|
||||
|
||||
.wrap {
|
||||
margin: 0;
|
||||
margin-left: 15px;
|
||||
margin-right: 15%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.wrap h2 {
|
||||
border-bottom: 1px solid #dadada;
|
||||
clear: both;
|
||||
color: #666666;
|
||||
font: 24px Georgia, "Times New Roman", Times, serif;
|
||||
margin: 0 0 0 -5px;
|
||||
padding: 0;
|
||||
padding-bottom: 5px;
|
||||
}
|
|
@ -22,7 +22,7 @@ $class = ( $i_post > 15 || 'alternate' == $class) ? '' : 'alternate';
|
|||
global $current_user;
|
||||
$post_owner = ( $current_user->ID == $post->post_author ? 'self' : 'other' );
|
||||
?>
|
||||
<tr id='post-<?php echo $id; ?>' class='<?php echo trim( $class . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>'>
|
||||
<tr id='post-<?php echo $id; ?>' class='<?php echo trim( $class . ' author-' . $post_owner . ' status-' . $post->post_status ); ?>' valign="top">
|
||||
|
||||
<?php
|
||||
|
||||
|
@ -30,31 +30,67 @@ foreach($posts_columns as $column_name=>$column_display_name) {
|
|||
|
||||
switch($column_name) {
|
||||
|
||||
case 'id':
|
||||
case 'cb':
|
||||
?>
|
||||
<th scope="row" style="text-align: center"><?php echo $id ?></th>
|
||||
<th scope="row" style="text-align: center"><input type="checkbox" name="delete[]" value="<?php the_ID(); ?>" /></th>
|
||||
<?php
|
||||
break;
|
||||
case 'modified':
|
||||
?>
|
||||
<td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Never'); else the_modified_time(__('Y-m-d \<\b\r \/\> g:i:s a')); ?></td>
|
||||
<td><?php if ( '0000-00-00 00:00:00' ==$post->post_modified ) _e('Never'); else the_modified_time(__('Y/m/d \<\b\r \/\> g:i:s a')); ?></td>
|
||||
<?php
|
||||
break;
|
||||
case 'date':
|
||||
?>
|
||||
<td><?php if ( '0000-00-00 00:00:00' ==$post->post_date) _e('Unpublished'); else the_time(__('Y-m-d \<\b\r \/\> g:i:s a')); ?></td>
|
||||
<td><a href="<?php the_permalink(); ?>" rel="permalink">
|
||||
<?php
|
||||
if ( '0000-00-00 00:00:00' ==$post->post_date ) {
|
||||
_e('Unpublished');
|
||||
} else {
|
||||
if ( ( time() - get_post_time() ) < 86400 )
|
||||
echo sprintf( __('%s ago'), human_time_diff( get_post_time() ) );
|
||||
else
|
||||
the_time(__('Y/m/d'));
|
||||
}
|
||||
?></a></td>
|
||||
<?php
|
||||
break;
|
||||
case 'title':
|
||||
?>
|
||||
<td><?php the_title() ?>
|
||||
<?php if ('private' == $post->post_status) _e(' - <strong>Private</strong>'); ?></td>
|
||||
<td><strong><a href="post.php?action=edit&post=<?php the_ID(); ?>"><?php the_title() ?></a></strong>
|
||||
<?php if ('private' == $post->post_status) _e(' — <strong>Private</strong>'); ?></td>
|
||||
<?php
|
||||
break;
|
||||
|
||||
case 'categories':
|
||||
?>
|
||||
<td><?php the_category(','); ?></td>
|
||||
<td><?php
|
||||
$categories = get_the_category();
|
||||
if ( !empty( $categories ) ) {
|
||||
$out = array();
|
||||
foreach ( $categories as $c )
|
||||
$out[] = "<a href='edit.php?category_name=$c->slug'> " . wp_specialchars( $c->name) . "</a>";
|
||||
echo join( ', ', $out );
|
||||
} else {
|
||||
_e('Uncategorized');
|
||||
}
|
||||
?></td>
|
||||
<?php
|
||||
break;
|
||||
|
||||
case 'tags':
|
||||
?>
|
||||
<td><?php
|
||||
$tags = get_the_tags();
|
||||
if ( !empty( $tags ) ) {
|
||||
$out = array();
|
||||
foreach ( $tags as $c )
|
||||
$out[] = "<a href='edit.php?tag=$c->slug'> " . wp_specialchars( $c->name) . "</a>";
|
||||
echo join( ', ', $out );
|
||||
} else {
|
||||
_e('No Tags');
|
||||
}
|
||||
?></td>
|
||||
<?php
|
||||
break;
|
||||
|
||||
|
@ -66,7 +102,7 @@ foreach($posts_columns as $column_name=>$column_display_name) {
|
|||
$pending_phrase = sprintf( __('%s pending'), number_format( $left ) );
|
||||
if ( $left )
|
||||
echo '<strong>';
|
||||
comments_number("<a href='edit.php?p=$id&c=1' title='$pending_phrase' class='post-com-count'>" . __('0') . '</a>', "<a href='edit.php?p=$id&c=1' title='$pending_phrase' class='post-com-count'>" . __('1') . '</a>', "<a href='edit.php?p=$id&c=1' title='$pending_phrase' class='post-com-count'>" . __('%') . '</a>');
|
||||
comments_number("<a href='edit.php?p=$id&c=1' title='$pending_phrase' class='post-com-count comment-count'><span>" . __('0') . '</span></a>', "<a href='edit.php?p=$id&c=1' title='$pending_phrase' class='post-com-count comment-count'><span>" . __('1') . '</span></a>', "<a href='edit.php?p=$id&c=1' title='$pending_phrase' class='post-com-count comment-count'><span>" . __('%') . '</span></a>');
|
||||
if ( $left )
|
||||
echo '</strong>';
|
||||
?>
|
||||
|
@ -76,7 +112,31 @@ foreach($posts_columns as $column_name=>$column_display_name) {
|
|||
|
||||
case 'author':
|
||||
?>
|
||||
<td><?php the_author() ?></td>
|
||||
<td><a href="edit.php?author=<?php the_author_ID(); ?>"><?php the_author() ?></a></td>
|
||||
<?php
|
||||
break;
|
||||
|
||||
case 'status':
|
||||
?>
|
||||
<td>
|
||||
<?php
|
||||
switch ( $post->post_status ) {
|
||||
case 'publish' :
|
||||
case 'private' :
|
||||
_e('Published');
|
||||
break;
|
||||
case 'future' :
|
||||
_e('Scheduled');
|
||||
break;
|
||||
case 'pending' :
|
||||
_e('Pending Review');
|
||||
break;
|
||||
case 'draft' :
|
||||
_e('Unpublished');
|
||||
break;
|
||||
}
|
||||
?>
|
||||
</td>
|
||||
<?php
|
||||
break;
|
||||
|
||||
|
|
|
@ -108,6 +108,7 @@ if ( $page_links )
|
|||
?>
|
||||
|
||||
<div style="float: left">
|
||||
<input type="button" value="<?php _e('Delete'); ?>" name="deleteit" />
|
||||
<?php
|
||||
|
||||
$arc_query = "SELECT DISTINCT YEAR(post_date) AS yyear, MONTH(post_date) AS mmonth FROM $wpdb->posts WHERE post_type = 'post' ORDER BY post_date DESC";
|
||||
|
@ -163,12 +164,7 @@ foreach ($arc_result as $arc_row) {
|
|||
if ( $page_links )
|
||||
echo "<div class='tablenav-pages'>$page_links</div>";
|
||||
?>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="navigation">
|
||||
<div class="alignleft"><?php next_posts_link(__('« Older Entries')) ?></div>
|
||||
<div class="alignright"><?php previous_posts_link(__('Newer Entries »')) ?></div>
|
||||
<br style="clear:both;" />
|
||||
</div>
|
||||
|
||||
<?php
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 158 B |
Binary file not shown.
Before Width: | Height: | Size: 525 B After Width: | Height: | Size: 1.0 KiB |
|
@ -302,24 +302,22 @@ function tag_rows( $page = 0, $pagesize = 20, $searchterms = '' ) {
|
|||
// define the columns to display, the syntax is 'internal name' => 'display name'
|
||||
function wp_manage_posts_columns() {
|
||||
$posts_columns = array();
|
||||
$posts_columns['id'] = '<div style="text-align: center">' . __('ID') . '</div>';
|
||||
$posts_columns['cb'] = '<div style="text-align: center"><input type="checkbox" name="TODO" /></div>';
|
||||
if ( 'draft' === $_GET['post_status'] )
|
||||
$posts_columns['modified'] = __('Modified');
|
||||
elseif ( 'pending' === $_GET['post_status'] )
|
||||
$posts_columns['modified'] = __('Submitted');
|
||||
else
|
||||
$posts_columns['date'] = __('When');
|
||||
$posts_columns['date'] = __('Date');
|
||||
$posts_columns['title'] = __('Title');
|
||||
$posts_columns['categories'] = __('Categories');
|
||||
if ( !in_array($_GET['post_status'], array('pending', 'draft', 'future')) )
|
||||
$posts_columns['comments'] = '<div style="text-align: center">' . __('Comments') . '</div>';
|
||||
$posts_columns['author'] = __('Author');
|
||||
$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['status'] = __('Status');
|
||||
$posts_columns = apply_filters('manage_posts_columns', $posts_columns);
|
||||
|
||||
// you can not edit these at the moment
|
||||
$posts_columns['control_view'] = '';
|
||||
$posts_columns['control_edit'] = '';
|
||||
$posts_columns['control_delete'] = '';
|
||||
|
||||
return $posts_columns;
|
||||
}
|
||||
|
|
|
@ -1,49 +1,12 @@
|
|||
* html #poststuff {
|
||||
height: 100%; /* kill peekaboo bug in IE */
|
||||
}
|
||||
|
||||
/* This is the Holly Hack \*/
|
||||
* html .wrap { height: 1% }
|
||||
/* For Win IE's eyes only */
|
||||
|
||||
a {
|
||||
color: #2583ad;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
a.delete:hover {
|
||||
background: #c00;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wrap {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-left: 15px;
|
||||
margin-right: 25%;
|
||||
}
|
||||
|
||||
.wrap h2 {
|
||||
font: 24px Georgia, "Times New Roman", Times, serif;
|
||||
color: #666;
|
||||
border-bottom: 1px solid #dadada;
|
||||
padding: 0;
|
||||
margin: 0 0 0 -5px;
|
||||
padding-bottom: 5px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.widefat {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.widefat td, .widefat th {
|
||||
padding: 5px 6px;
|
||||
}
|
||||
|
||||
.widefat th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.plugins p {
|
||||
margin: 4px;
|
||||
|
@ -58,88 +21,16 @@ a.delete:hover {
|
|||
font-size: 16px;
|
||||
}
|
||||
|
||||
thead, .thead {
|
||||
background: #dfdfdf
|
||||
}
|
||||
|
||||
#import-upload-form {
|
||||
margin: auto;
|
||||
background: #eee;
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
a.view, a.edit, a.delete, a.view:hover, a.edit:hover, a.delete:hover {
|
||||
border-bottom: none;
|
||||
display: block;
|
||||
padding: 5px 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
a.view:hover, a.edit:hover {
|
||||
background: #ccc;
|
||||
color: #036;
|
||||
}
|
||||
|
||||
a:visited {
|
||||
color: #004;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: #069;
|
||||
}
|
||||
|
||||
body {
|
||||
background: #fff;
|
||||
color: #333;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body, td {
|
||||
font: 13px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
|
||||
}
|
||||
|
||||
fieldset.options {
|
||||
padding: 1em;
|
||||
}
|
||||
|
||||
fieldset.options legend {
|
||||
font-size: 1.5em;
|
||||
font-weight: bold;
|
||||
font-family: Georgia, "Times New Roman", Times, serif;
|
||||
}
|
||||
|
||||
form, label input {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
img {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.form-invalid {
|
||||
background-color: #FF9999 !important;
|
||||
}
|
||||
|
||||
label {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
li, dd {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
p, li, dl, dd, dt {
|
||||
line-height: 140%;
|
||||
}
|
||||
|
||||
textarea, input, select {
|
||||
font: 13px Verdana, Arial, Helvetica, sans-serif;
|
||||
margin: 1px;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
#uploading {
|
||||
border-style: none;
|
||||
padding: 0;
|
||||
|
@ -165,18 +56,6 @@ form#upload #post_content {
|
|||
text-align: center;
|
||||
}
|
||||
|
||||
.alignleft {
|
||||
float: left
|
||||
}
|
||||
|
||||
.alignright {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.alternate {
|
||||
background: #f1f1f1;
|
||||
}
|
||||
|
||||
.anchors {
|
||||
margin: 10px 20px 10px 20px;
|
||||
}
|
||||
|
@ -236,22 +115,6 @@ form#upload #post_content {
|
|||
margin: 0 0 .8em;
|
||||
}
|
||||
|
||||
.clear {
|
||||
clear: both;
|
||||
height: 2px;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.navigation {
|
||||
display: block;
|
||||
text-align: center;
|
||||
margin-top: 10px;
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.post-categories {
|
||||
display: inline;
|
||||
margin: 0;
|
||||
|
@ -313,7 +176,7 @@ form#upload #post_content {
|
|||
margin-left: 15px;
|
||||
padding: 0 15px;
|
||||
margin-bottom: 20px;
|
||||
margin-right: 25%;
|
||||
margin-right: 15%;
|
||||
}
|
||||
|
||||
.updated a, .error a {
|
||||
|
@ -455,119 +318,6 @@ input.delete:hover {
|
|||
width: 100%;
|
||||
}
|
||||
|
||||
#login {
|
||||
position: relative;
|
||||
background: url('images/login-bkg-tile.gif') no-repeat top center;
|
||||
color: #fff;
|
||||
margin: 5em auto 1em;
|
||||
padding: 20px 0 0;
|
||||
width: 425px;
|
||||
_width: 390px;
|
||||
}
|
||||
|
||||
#login form {
|
||||
background: url('images/login-bkg-bottom.gif') no-repeat bottom center;
|
||||
padding: 0 50px 25px;
|
||||
_width: 325px;
|
||||
_margin: 0 auto;
|
||||
min-height: 200px;
|
||||
height: auto !important; /* min-height fast hack */
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
#login #login_error {
|
||||
background: #0e3350;
|
||||
border: 1px solid #2571ab;
|
||||
color: #ebcd4e;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
padding: .6em;
|
||||
width: 310px;
|
||||
margin: 0 50px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#login p {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#login p.message {
|
||||
width: 310px;
|
||||
margin: 0 auto 1em;
|
||||
}
|
||||
|
||||
#login #login_error a {
|
||||
color: #ebcd4e;
|
||||
border-color: #ebcd4e;
|
||||
}
|
||||
|
||||
#login #send {
|
||||
color: #fff;
|
||||
text-align: left;
|
||||
font-weight: normal;
|
||||
font-size: 1.1em;
|
||||
_width: 325px;
|
||||
_margin: 0 auto 15px;
|
||||
}
|
||||
|
||||
#login h1 a {
|
||||
margin: 0 auto;
|
||||
height: 88px;
|
||||
width: 320px;
|
||||
display: block;
|
||||
border-bottom: none;
|
||||
text-indent: -9999px;
|
||||
}
|
||||
|
||||
#login .message {
|
||||
font-size: 10pt;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#login .register {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
#login input {
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.login ul, #protected #login .bottom {
|
||||
list-style: none;
|
||||
width: 325px;
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.login ul li {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.login ul li a {
|
||||
color: #0d324f;
|
||||
border: none;
|
||||
}
|
||||
|
||||
#login ul li a:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
#login .input {
|
||||
font-size: 1.8em;
|
||||
margin-top: 3px;
|
||||
width: 97%;
|
||||
}
|
||||
|
||||
#login p label {
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
#login #submit {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.plugins p {
|
||||
}
|
||||
|
||||
|
@ -741,7 +491,7 @@ div.nav {
|
|||
}
|
||||
|
||||
.page-numbers {
|
||||
padding: 4px 7px;
|
||||
padding: 2px 4px;
|
||||
border: 1px solid #fff;
|
||||
margin-right: 3px;
|
||||
background-color: #fff;
|
||||
|
@ -772,6 +522,37 @@ p.pagenav {
|
|||
margin: 0 6px;
|
||||
}
|
||||
|
||||
.tablenav .dots {
|
||||
background-color: #e4f2fd;
|
||||
border-color: #e4f2fd;
|
||||
}
|
||||
|
||||
.tablenav .next, .tablenav .prev{
|
||||
border-color: #e4f2fd;
|
||||
background-color: #e4f2fd;
|
||||
border-bottom: 1px solid #2583ad;
|
||||
padding: 0;
|
||||
color: #2583ad;
|
||||
}
|
||||
|
||||
.tablenav .next:hover, .tablenav .prev:hover {
|
||||
color: #d54e21;
|
||||
border-color: #e4f2fd;
|
||||
border-bottom: 1px solid #d54e21;
|
||||
}
|
||||
|
||||
.tablenav {
|
||||
background-color: #e4f2fd;
|
||||
padding: 10px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.tablenav .tablenav-pages {
|
||||
float: right;
|
||||
height: 24px;
|
||||
padding-top: 6px;
|
||||
}
|
||||
|
||||
#update-nag, .plugin-update {
|
||||
border-bottom: 1px solid #ccc;
|
||||
border-top: 1px solid #ccc;
|
||||
|
@ -826,7 +607,7 @@ a.view-comment-post-link {
|
|||
|
||||
#user_info {
|
||||
position: absolute;
|
||||
right: 25%;
|
||||
right: 15%;
|
||||
top: 9px;
|
||||
color: #ccc;
|
||||
font-size: 12px;
|
||||
|
@ -866,7 +647,7 @@ a.view-comment-post-link {
|
|||
letter-spacing: -.03em;
|
||||
padding: 15px 170px 18px 15px;
|
||||
margin: 0;
|
||||
margin-right: 25%;
|
||||
margin-right: 15%;
|
||||
}
|
||||
|
||||
/* menu stuff */
|
||||
|
@ -883,7 +664,7 @@ a.view-comment-post-link {
|
|||
|
||||
#dashmenu a {
|
||||
color: #999;
|
||||
padding: 4px 6px;
|
||||
padding: 5px 6px;
|
||||
line-height: 220%;
|
||||
margin-right: 8px;
|
||||
}
|
||||
|
@ -903,6 +684,11 @@ a.view-comment-post-link {
|
|||
padding-left: 10px;
|
||||
}
|
||||
|
||||
/* Because we don't want visited on these links */
|
||||
#adminmenu a, #submenu a {
|
||||
color: #2583ad;
|
||||
}
|
||||
|
||||
#adminmenu a {
|
||||
font-size: 16px;
|
||||
padding: 6px;
|
||||
|
@ -931,7 +717,7 @@ a.view-comment-post-link {
|
|||
color: #999;
|
||||
list-style: none;
|
||||
position: absolute;
|
||||
right: 25%;
|
||||
right: 15%;
|
||||
top: 55px;
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
@ -967,6 +753,49 @@ a.view-comment-post-link {
|
|||
width: 1em;
|
||||
}
|
||||
|
||||
.post-com-count {
|
||||
background-image: url(images/comment-stalk.gif);
|
||||
background-repeat: no-repeat;
|
||||
background-position: -240px bottom;
|
||||
height: 0.9em;
|
||||
margin-top: 7px;
|
||||
width: 1em;
|
||||
display: block;
|
||||
position: absolute;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.post-com-count span {
|
||||
color: #fff;
|
||||
top: -0.7em;
|
||||
right: 0;
|
||||
position: absolute;
|
||||
display: block;
|
||||
height: 1.3em;
|
||||
line-height: 1.3em;
|
||||
padding: 0 0.6em;
|
||||
background-color: #bbb;
|
||||
-moz-border-radius: 0.3em;
|
||||
-khtml-border-radius: 0.3em;
|
||||
border-radius: 0.3em;
|
||||
}
|
||||
|
||||
strong .post-com-count {
|
||||
background-position: -160px bottom;
|
||||
}
|
||||
|
||||
strong .post-com-count span {
|
||||
background-color: #2583ad;
|
||||
}
|
||||
|
||||
.post-com-count:hover {
|
||||
background-position: 0 bottom;
|
||||
}
|
||||
|
||||
.post-com-count:hover span {
|
||||
background-color: #d54e21;
|
||||
}
|
||||
|
||||
#adminmenu li a:hover #awaiting-mod {
|
||||
background-position: -80px bottom;
|
||||
}
|
||||
|
@ -1009,33 +838,6 @@ a.view-comment-post-link {
|
|||
height: 15px;
|
||||
}
|
||||
|
||||
.subsubsub {
|
||||
margin: 15px 0 10px 0;
|
||||
padding: 0;
|
||||
color: #999;
|
||||
list-style: none;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.subsubsub li {
|
||||
display: inline;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.subsubsub a {
|
||||
padding: 3px;
|
||||
line-height: 200%;
|
||||
}
|
||||
|
||||
.subsubsub a:hover, .subsubsub a.current:hover {
|
||||
color: #d54e21;
|
||||
}
|
||||
|
||||
.subsubsub a.current {
|
||||
color: #000;
|
||||
font-weight: bold;
|
||||
}
|
||||
/* end menu stuff */
|
||||
|
||||
/* Admin Footer */
|
||||
|
@ -1321,11 +1123,11 @@ html, body {
|
|||
}
|
||||
|
||||
#submitpost {
|
||||
position: fixed;
|
||||
position: absolute;
|
||||
background-color: #eaf3fa;
|
||||
width: 200px;
|
||||
top: 194px;
|
||||
right: 25%;
|
||||
right: 15%;
|
||||
-moz-border-radius: 3px;
|
||||
}
|
||||
|
||||
|
@ -1463,20 +1265,6 @@ p#post-search {
|
|||
padding: 0 0 .2em 1px;
|
||||
}
|
||||
|
||||
.tablenav {
|
||||
background-color: #e4f2fd;
|
||||
padding: 10px;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.tablenav .dots {
|
||||
border-color: #e4f2fd;
|
||||
}
|
||||
|
||||
.tablenav .tablenav-pages {
|
||||
float: right;
|
||||
}
|
||||
|
||||
/* Global classes */
|
||||
.wp-hidden-children .wp-hidden-child { display: none; }
|
||||
.wp-no-js-hidden { display: none; }
|
||||
|
|
Loading…
Reference in New Issue