Buttons: Fix a few `.button-link` glitches after [40052].
Removes some stray underlines. Explicitly set the button text to be left aligned. Props Cheffheid, f.staude, Presskopp. See #34242. Fixes #35126, #38712. Built from https://develop.svn.wordpress.org/trunk@40059 git-svn-id: http://core.svn.wordpress.org/trunk@39996 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1d337dec33
commit
ca44bbd134
|
@ -2046,7 +2046,11 @@ html.wp-toolbar {
|
||||||
float: left;
|
float: left;
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
background: none;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.js .postbox .handlediv {
|
.js .postbox .handlediv {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2046,7 +2046,11 @@ html.wp-toolbar {
|
||||||
float: right;
|
float: right;
|
||||||
width: 36px;
|
width: 36px;
|
||||||
height: 36px;
|
height: 36px;
|
||||||
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
|
border: 0;
|
||||||
|
background: none;
|
||||||
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
.js .postbox .handlediv {
|
.js .postbox .handlediv {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1462,24 +1462,11 @@ body.cheatin p {
|
||||||
|
|
||||||
/* Reordering */
|
/* Reordering */
|
||||||
.reorder-toggle {
|
.reorder-toggle {
|
||||||
color: #0073aa;
|
|
||||||
float: left;
|
float: left;
|
||||||
padding: 5px 8px;
|
padding: 5px 8px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
outline: none;
|
outline: none;
|
||||||
-webkit-user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
-ms-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reorder-toggle:hover {
|
|
||||||
color: #00a0d2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reorder-toggle:focus {
|
|
||||||
outline: 1px dotted;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.reorder,
|
.reorder,
|
||||||
|
@ -1491,13 +1478,6 @@ body.cheatin p {
|
||||||
.reorder-done,
|
.reorder-done,
|
||||||
.reordering .reorder {
|
.reordering .reorder {
|
||||||
display: none;
|
display: none;
|
||||||
color: #0073aa;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reorder-toggle:hover .reorder-done,
|
|
||||||
.reorder-toggle:active .reorder-done,
|
|
||||||
.reorder-toggle:focus .reorder-done {
|
|
||||||
color: #00a0d2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-reorder-nav span,
|
.widget-reorder-nav span,
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1462,24 +1462,11 @@ body.cheatin p {
|
||||||
|
|
||||||
/* Reordering */
|
/* Reordering */
|
||||||
.reorder-toggle {
|
.reorder-toggle {
|
||||||
color: #0073aa;
|
|
||||||
float: right;
|
float: right;
|
||||||
padding: 5px 8px;
|
padding: 5px 8px;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
outline: none;
|
outline: none;
|
||||||
-webkit-user-select: none;
|
|
||||||
-moz-user-select: none;
|
|
||||||
-ms-user-select: none;
|
|
||||||
user-select: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reorder-toggle:hover {
|
|
||||||
color: #00a0d2;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reorder-toggle:focus {
|
|
||||||
outline: 1px dotted;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.reorder,
|
.reorder,
|
||||||
|
@ -1491,13 +1478,6 @@ body.cheatin p {
|
||||||
.reorder-done,
|
.reorder-done,
|
||||||
.reordering .reorder {
|
.reordering .reorder {
|
||||||
display: none;
|
display: none;
|
||||||
color: #0073aa;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reorder-toggle:hover .reorder-done,
|
|
||||||
.reorder-toggle:active .reorder-done,
|
|
||||||
.reorder-toggle:focus .reorder-done {
|
|
||||||
color: #00a0d2;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.widget-reorder-nav span,
|
.widget-reorder-nav span,
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1038,7 +1038,7 @@ function do_meta_boxes( $screen, $context, $object ) {
|
||||||
unset( $box[ 'args' ][ '__widget_basename' ] );
|
unset( $box[ 'args' ][ '__widget_basename' ] );
|
||||||
}
|
}
|
||||||
|
|
||||||
echo '<button type="button" class="handlediv button-link" aria-expanded="true">';
|
echo '<button type="button" class="handlediv" aria-expanded="true">';
|
||||||
echo '<span class="screen-reader-text">' . sprintf( __( 'Toggle panel: %s' ), $widget_title ) . '</span>';
|
echo '<span class="screen-reader-text">' . sprintf( __( 'Toggle panel: %s' ), $widget_title ) . '</span>';
|
||||||
echo '<span class="toggle-indicator" aria-hidden="true"></span>';
|
echo '<span class="toggle-indicator" aria-hidden="true"></span>';
|
||||||
echo '</button>';
|
echo '</button>';
|
||||||
|
|
|
@ -209,6 +209,7 @@ TABLE OF CONTENTS:
|
||||||
background: none;
|
background: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
text-align: right;
|
||||||
/* Mimics the default link style in common.css */
|
/* Mimics the default link style in common.css */
|
||||||
color: #0073aa;
|
color: #0073aa;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -209,6 +209,7 @@ TABLE OF CONTENTS:
|
||||||
background: none;
|
background: none;
|
||||||
outline: none;
|
outline: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
text-align: left;
|
||||||
/* Mimics the default link style in common.css */
|
/* Mimics the default link style in common.css */
|
||||||
color: #0073aa;
|
color: #0073aa;
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
|
|
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.8-alpha-40058';
|
$wp_version = '4.8-alpha-40059';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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