Move inline styles to wp-admin.css. see #4068
git-svn-id: https://develop.svn.wordpress.org/trunk@5182 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
42414763e8
commit
8044a5fec7
|
@ -147,9 +147,9 @@ endforeach;
|
||||||
<legend><?php _e('Post') ?>
|
<legend><?php _e('Post') ?>
|
||||||
|
|
||||||
<?php if ( 'publish' == $post->post_status ) { ?>
|
<?php if ( 'publish' == $post->post_status ) { ?>
|
||||||
<a href="<?php echo clean_url(get_permalink($post->ID)); ?>" style="position: absolute; right: 2em; margin-right: 19em; text-decoration: underline;" target="_blank"><?php _e('View »'); ?></a>
|
<a href="<?php echo clean_url(get_permalink($post->ID)); ?>" class="view-link" target="_blank"><?php _e('View »'); ?></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)))); ?>" style="position: absolute; right: 2em; margin-right: 19em; text-decoration: underline;" target="_blank"><?php _e('Preview »'); ?></a>
|
<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 »'); ?></a>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
</legend>
|
</legend>
|
||||||
|
|
||||||
|
|
|
@ -1332,3 +1332,10 @@ a.page-numbers:hover {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin: 0 6px;
|
margin: 0 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.view-link {
|
||||||
|
position: absolute;
|
||||||
|
right: 2em;
|
||||||
|
margin-right: 19em;
|
||||||
|
text-decoration:underline;
|
||||||
|
}
|
Loading…
Reference in New Issue