Some styling tweaks to header and submit box.

git-svn-id: http://svn.automattic.com/wordpress/trunk@6611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2008-01-14 07:21:25 +00:00
parent 74cad1dac8
commit 5ff7c8126a
2 changed files with 23 additions and 10 deletions

View File

@ -85,9 +85,9 @@ addLoadEvent(focusit);
<div id="previewview"> <div id="previewview">
<?php if ( 'publish' == $post->post_status ) { ?> <?php if ( 'publish' == $post->post_status ) { ?>
<a href="<?php echo clean_url(get_permalink($post->ID)); ?>" class="view-link" target="_blank"><?php _e('View &raquo;'); ?></a> <a href="<?php echo clean_url(get_permalink($post->ID)); ?>" target="_blank"><?php _e('View this Post'); ?></a>
<?php } elseif ( 'edit' == $action ) { ?> <?php } elseif ( 'edit' == $action ) { ?>
<a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" class="view-link" target="_blank"><?php _e('Preview &raquo;'); ?></a> <a href="<?php echo clean_url(apply_filters('preview_post_link', add_query_arg('preview', 'true', get_permalink($post->ID)))); ?>" target="_blank"><?php _e('Preview this Post'); ?></a>
<?php } ?> <?php } ?>
</div> </div>

View File

@ -806,8 +806,8 @@ a.view-comment-post-link {
#user_info { #user_info {
position: absolute; position: absolute;
right: 25%; right: 25%;
top: 10px; top: 9px;
color: #fff; color: #ccc;
font-size: 12px; font-size: 12px;
} }
@ -821,7 +821,7 @@ a.view-comment-post-link {
} }
#wphead { #wphead {
border-top: 35px solid #464646; border-top: 30px solid #464646;
background: #e4f2fd; background: #e4f2fd;
} }
@ -854,14 +854,15 @@ a.view-comment-post-link {
margin: 0; margin: 0;
list-style: none; list-style: none;
position: absolute; position: absolute;
top: 7px; top: 4px;
left: 0; left: 0;
font-size: 12px;
padding-left: 12px; padding-left: 12px;
} }
#dashmenu a { #dashmenu a {
color: #999; color: #999;
padding: 6px; padding: 4px 6px;
line-height: 220%; line-height: 220%;
margin-right: 8px; margin-right: 8px;
} }
@ -1241,14 +1242,26 @@ html, body {
#submitpost { #submitpost {
position: fixed; position: fixed;
background-color: #eaf3fa; background-color: #eaf3fa;
width: 250px; width: 200px;
top: 225px; top: 194px;
right: 25%; right: 25%;
margin-right: -125px; -moz-border-radius: 3px;
} }
#submitpost #previewview { #submitpost #previewview {
background-color: #2683ae; background-color: #2683ae;
padding: 15px 10px;
}
#submitpost #previewview a {
background: #ebebeb;
-moz-border-radius: 5px;
padding: 6px;
font-weight: normal;
color: #264761;
border-bottom: none;
font-size: 14px;
} }
#submitpost .submit { #submitpost .submit {