Press This: fix the header styling and add a logo.

Props Michael-Arestad. Fixes #31472.
Built from https://develop.svn.wordpress.org/trunk@31807


git-svn-id: http://core.svn.wordpress.org/trunk@31789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2015-03-18 02:09:27 +00:00
parent 7d9eee8920
commit 441e1e6ab9
8 changed files with 36 additions and 14 deletions

View File

@ -1156,12 +1156,24 @@ html {
}
}
.current-site span:nth-child(2) {
.current-site-link {
text-decoration: none;
}
.current-site-link:focus {
outline: 0;
}
.current-site-link:focus .current-site-name{
text-decoration: underline;
}
.current-site-name {
color: #ededed;
}
@media (max-width: 320px) {
.current-site span:nth-child(2) {
.current-site-name {
font-weight: 600;
}
}

File diff suppressed because one or more lines are too long

View File

@ -1156,12 +1156,24 @@ html {
}
}
.current-site span:nth-child(2) {
.current-site-link {
text-decoration: none;
}
.current-site-link:focus {
outline: 0;
}
.current-site-link:focus .current-site-name{
text-decoration: underline;
}
.current-site-name {
color: #ededed;
}
@media (max-width: 320px) {
.current-site span:nth-child(2) {
.current-site-name {
font-weight: 600;
}
}

File diff suppressed because one or more lines are too long

View File

@ -1150,8 +1150,10 @@ class WP_Press_This {
<body class="wp-admin wp-core-ui <?php echo $admin_body_classes . ' ' . $admin_body_class; ?>">
<div id="adminbar" class="adminbar">
<h1 id="current-site" class="current-site">
<span class="dashicons dashicons-wordpress"></span>
<span><?php bloginfo( 'name' ); ?></span>
<a class="current-site-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" target="_blank" rel="home">
<span class="dashicons dashicons-wordpress"></span>
<span class="current-site-name"><?php bloginfo( 'name' ); ?></span>
</a>
</h1>
<button type="button" class="options-open button-subtle">
<span class="dashicons dashicons-tag"></span><span class="screen-reader-text"><?php _e( 'Show post options' ); ?></span>

View File

@ -581,10 +581,6 @@
} );
});
$( '#current-site a').click( function( e ) {
e.preventDefault();
} );
// Publish, Draft and Preview buttons
$( '.post-actions' ).on( 'click.press-this', function( event ) {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-beta1-31806';
$wp_version = '4.2-beta1-31807';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.