mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Press This: ensure proper tab order in the split button. Tweak padding and border color a bit.
See #32757. Built from https://develop.svn.wordpress.org/trunk@32921 git-svn-id: http://core.svn.wordpress.org/trunk@32892 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
f4109b0c5d
commit
f8cf80e9b1
@ -398,15 +398,13 @@ strong {
|
|||||||
.split-button-body {
|
.split-button-body {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 37px;
|
bottom: 39px;
|
||||||
left: 0;
|
left: 0;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ddd;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
min-width: 160px;
|
min-width: 180px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding: 5px;
|
padding: 8px;
|
||||||
-webkit-border-radius: 3px;
|
|
||||||
border-radius: 3px;
|
|
||||||
-webkit-box-shadow: -1px 0 4px rgba( 0, 0, 0, 0.15 );
|
-webkit-box-shadow: -1px 0 4px rgba( 0, 0, 0, 0.15 );
|
||||||
box-shadow: -1px 0 4px rgba( 0, 0, 0, 0.15 );
|
box-shadow: -1px 0 4px rgba( 0, 0, 0, 0.15 );
|
||||||
}
|
}
|
||||||
@ -425,7 +423,7 @@ strong {
|
|||||||
|
|
||||||
.split-button-body:before {
|
.split-button-body:before {
|
||||||
bottom: -18px;
|
bottom: -18px;
|
||||||
border-top-color: #a0a5aa;
|
border-top-color: #ccc;
|
||||||
border-width: 9px;
|
border-width: 9px;
|
||||||
left: 11px;
|
left: 11px;
|
||||||
}
|
}
|
||||||
@ -438,7 +436,7 @@ strong {
|
|||||||
|
|
||||||
.split-button-body .split-button-option {
|
.split-button-body .split-button-option {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 4px 10px;
|
padding: 5px 15px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
|
2
wp-admin/css/press-this-rtl.min.css
vendored
2
wp-admin/css/press-this-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -398,15 +398,13 @@ strong {
|
|||||||
.split-button-body {
|
.split-button-body {
|
||||||
display: none;
|
display: none;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
bottom: 37px;
|
bottom: 39px;
|
||||||
right: 0;
|
right: 0;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ddd;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
min-width: 160px;
|
min-width: 180px;
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
padding: 5px;
|
padding: 8px;
|
||||||
-webkit-border-radius: 3px;
|
|
||||||
border-radius: 3px;
|
|
||||||
-webkit-box-shadow: 1px 0 4px rgba( 0, 0, 0, 0.15 );
|
-webkit-box-shadow: 1px 0 4px rgba( 0, 0, 0, 0.15 );
|
||||||
box-shadow: 1px 0 4px rgba( 0, 0, 0, 0.15 );
|
box-shadow: 1px 0 4px rgba( 0, 0, 0, 0.15 );
|
||||||
}
|
}
|
||||||
@ -425,7 +423,7 @@ strong {
|
|||||||
|
|
||||||
.split-button-body:before {
|
.split-button-body:before {
|
||||||
bottom: -18px;
|
bottom: -18px;
|
||||||
border-top-color: #a0a5aa;
|
border-top-color: #ccc;
|
||||||
border-width: 9px;
|
border-width: 9px;
|
||||||
right: 11px;
|
right: 11px;
|
||||||
}
|
}
|
||||||
@ -438,7 +436,7 @@ strong {
|
|||||||
|
|
||||||
.split-button-body .split-button-option {
|
.split-button-body .split-button-option {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 4px 10px;
|
padding: 5px 15px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
2
wp-admin/css/press-this.min.css
vendored
2
wp-admin/css/press-this.min.css
vendored
File diff suppressed because one or more lines are too long
@ -1450,11 +1450,6 @@ class WP_Press_This {
|
|||||||
<div class="post-actions">
|
<div class="post-actions">
|
||||||
<span class="spinner"> </span>
|
<span class="spinner"> </span>
|
||||||
<div class="split-button">
|
<div class="split-button">
|
||||||
<div class="split-button-body">
|
|
||||||
<button type="button" class="button-subtle draft-button split-button-option" aria-live="polite"><?php _e( 'Save Draft' ); ?></button>
|
|
||||||
<a href="<?php echo esc_url( get_edit_post_link( $post_ID ) ); ?>" class="edit-post-link split-button-option" target="_blank"><?php _e( 'Standard Editor' ); ?></a>
|
|
||||||
<button type="button" class="button-subtle preview-button split-button-option"><?php _e( 'Preview' ); ?></button>
|
|
||||||
</div>
|
|
||||||
<div class="split-button-head">
|
<div class="split-button-head">
|
||||||
<button type="button" class="publish-button split-button-primary"><?php
|
<button type="button" class="publish-button split-button-primary"><?php
|
||||||
echo ( current_user_can( 'publish_posts' ) ) ? __( 'Publish' ) : __( 'Submit for Review' );
|
echo ( current_user_can( 'publish_posts' ) ) ? __( 'Publish' ) : __( 'Submit for Review' );
|
||||||
@ -1463,6 +1458,11 @@ class WP_Press_This {
|
|||||||
<span class="screen-reader-text"><?php _e('Toggle dropdown'); ?></span>
|
<span class="screen-reader-text"><?php _e('Toggle dropdown'); ?></span>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="split-button-body">
|
||||||
|
<button type="button" class="button-subtle draft-button split-button-option" aria-live="polite"><?php _e( 'Save Draft' ); ?></button>
|
||||||
|
<a href="<?php echo esc_url( get_edit_post_link( $post_ID ) ); ?>" class="edit-post-link split-button-option" target="_blank"><?php _e( 'Standard Editor' ); ?></a>
|
||||||
|
<button type="button" class="button-subtle preview-button split-button-option"><?php _e( 'Preview' ); ?></button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.3-alpha-32920';
|
$wp_version = '4.3-alpha-32921';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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
Block a user