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:
parent
7d9eee8920
commit
441e1e6ab9
|
@ -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;
|
color: #ededed;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 320px) {
|
@media (max-width: 320px) {
|
||||||
.current-site span:nth-child(2) {
|
.current-site-name {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -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;
|
color: #ededed;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 320px) {
|
@media (max-width: 320px) {
|
||||||
.current-site span:nth-child(2) {
|
.current-site-name {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1150,8 +1150,10 @@ class WP_Press_This {
|
||||||
<body class="wp-admin wp-core-ui <?php echo $admin_body_classes . ' ' . $admin_body_class; ?>">
|
<body class="wp-admin wp-core-ui <?php echo $admin_body_classes . ' ' . $admin_body_class; ?>">
|
||||||
<div id="adminbar" class="adminbar">
|
<div id="adminbar" class="adminbar">
|
||||||
<h1 id="current-site" class="current-site">
|
<h1 id="current-site" class="current-site">
|
||||||
<span class="dashicons dashicons-wordpress"></span>
|
<a class="current-site-link" href="<?php echo esc_url( home_url( '/' ) ); ?>" target="_blank" rel="home">
|
||||||
<span><?php bloginfo( 'name' ); ?></span>
|
<span class="dashicons dashicons-wordpress"></span>
|
||||||
|
<span class="current-site-name"><?php bloginfo( 'name' ); ?></span>
|
||||||
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
<button type="button" class="options-open button-subtle">
|
<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>
|
<span class="dashicons dashicons-tag"></span><span class="screen-reader-text"><?php _e( 'Show post options' ); ?></span>
|
||||||
|
|
|
@ -581,10 +581,6 @@
|
||||||
} );
|
} );
|
||||||
});
|
});
|
||||||
|
|
||||||
$( '#current-site a').click( function( e ) {
|
|
||||||
e.preventDefault();
|
|
||||||
} );
|
|
||||||
|
|
||||||
// Publish, Draft and Preview buttons
|
// Publish, Draft and Preview buttons
|
||||||
|
|
||||||
$( '.post-actions' ).on( 'click.press-this', function( event ) {
|
$( '.post-actions' ).on( 'click.press-this', function( event ) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @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.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue