mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-15 23:25:50 +01:00
Administration: Attempt to even-out the new Up/Down arrows in metabox headings and make them look a bit better. Also group them a little closer together in an attempt to reduce confusion of having two down arrows next to one another. Move the focus outline to the button instead of only the icon.
Fixes #39074. Built from https://develop.svn.wordpress.org/trunk@48465 git-svn-id: http://core.svn.wordpress.org/trunk@48234 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a386eaebf3
commit
02d1cc0fea
@ -2028,6 +2028,7 @@ html.wp-toolbar {
|
|||||||
.postbox .handle-order-higher,
|
.postbox .handle-order-higher,
|
||||||
.postbox .handle-order-lower {
|
.postbox .handle-order-lower {
|
||||||
color: #72777c;
|
color: #72777c;
|
||||||
|
width: 1.62rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Post box order buttons in the block editor meta boxes area. */
|
/* Post box order buttons in the block editor meta boxes area. */
|
||||||
@ -2056,6 +2057,10 @@ html.wp-toolbar {
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.postbox.closed {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* user-select is not a part of the CSS standard - may change behavior in the future */
|
/* user-select is not a part of the CSS standard - may change behavior in the future */
|
||||||
.postbox .hndle,
|
.postbox .hndle,
|
||||||
.stuffbox .hndle {
|
.stuffbox .hndle {
|
||||||
@ -3022,13 +3027,21 @@ img {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.postbox .handle-order-higher .order-higher-indicator::before,
|
.postbox .handle-order-higher .order-higher-indicator::before,
|
||||||
.postbox .handle-order-lower .order-lower-indicator::before,
|
.postbox .handle-order-lower .order-lower-indicator::before {
|
||||||
|
position: relative;
|
||||||
|
top: 0.11rem;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.postbox .handlediv .toggle-indicator::before {
|
.postbox .handlediv .toggle-indicator::before {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.postbox .handlediv .toggle-indicator::before {
|
.postbox .handlediv .toggle-indicator::before {
|
||||||
|
position: relative;
|
||||||
|
top: 0.05rem;
|
||||||
text-indent: -1px; /* account for the dashicon glyph uneven horizontal alignment */
|
text-indent: -1px; /* account for the dashicon glyph uneven horizontal alignment */
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3045,7 +3058,9 @@ img {
|
|||||||
.postbox .handle-order-higher:focus,
|
.postbox .handle-order-higher:focus,
|
||||||
.postbox .handle-order-lower:focus,
|
.postbox .handle-order-lower:focus,
|
||||||
.postbox .handlediv:focus {
|
.postbox .handlediv:focus {
|
||||||
box-shadow: none;
|
box-shadow:
|
||||||
|
0 0 0 1px #5b9dd9,
|
||||||
|
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||||
/* Only visible in Windows High Contrast mode */
|
/* Only visible in Windows High Contrast mode */
|
||||||
outline: 1px solid transparent;
|
outline: 1px solid transparent;
|
||||||
}
|
}
|
||||||
@ -3053,9 +3068,7 @@ img {
|
|||||||
.postbox .handle-order-higher:focus .order-higher-indicator::before,
|
.postbox .handle-order-higher:focus .order-higher-indicator::before,
|
||||||
.postbox .handle-order-lower:focus .order-lower-indicator::before,
|
.postbox .handle-order-lower:focus .order-lower-indicator::before,
|
||||||
.postbox .handlediv:focus .toggle-indicator::before {
|
.postbox .handlediv:focus .toggle-indicator::before {
|
||||||
box-shadow:
|
box-shadow: none;
|
||||||
0 0 0 1px #5b9dd9,
|
|
||||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
|
||||||
/* Only visible in Windows High Contrast mode */
|
/* Only visible in Windows High Contrast mode */
|
||||||
outline: 1px solid transparent;
|
outline: 1px solid transparent;
|
||||||
}
|
}
|
||||||
|
2
wp-admin/css/common-rtl.min.css
vendored
2
wp-admin/css/common-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -2027,6 +2027,7 @@ html.wp-toolbar {
|
|||||||
.postbox .handle-order-higher,
|
.postbox .handle-order-higher,
|
||||||
.postbox .handle-order-lower {
|
.postbox .handle-order-lower {
|
||||||
color: #72777c;
|
color: #72777c;
|
||||||
|
width: 1.62rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Post box order buttons in the block editor meta boxes area. */
|
/* Post box order buttons in the block editor meta boxes area. */
|
||||||
@ -2055,6 +2056,10 @@ html.wp-toolbar {
|
|||||||
line-height: 1;
|
line-height: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.postbox.closed {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* user-select is not a part of the CSS standard - may change behavior in the future */
|
/* user-select is not a part of the CSS standard - may change behavior in the future */
|
||||||
.postbox .hndle,
|
.postbox .hndle,
|
||||||
.stuffbox .hndle {
|
.stuffbox .hndle {
|
||||||
@ -3021,13 +3026,21 @@ img {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.postbox .handle-order-higher .order-higher-indicator::before,
|
.postbox .handle-order-higher .order-higher-indicator::before,
|
||||||
.postbox .handle-order-lower .order-lower-indicator::before,
|
.postbox .handle-order-lower .order-lower-indicator::before {
|
||||||
|
position: relative;
|
||||||
|
top: 0.11rem;
|
||||||
|
width: 20px;
|
||||||
|
height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.postbox .handlediv .toggle-indicator::before {
|
.postbox .handlediv .toggle-indicator::before {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.postbox .handlediv .toggle-indicator::before {
|
.postbox .handlediv .toggle-indicator::before {
|
||||||
|
position: relative;
|
||||||
|
top: 0.05rem;
|
||||||
text-indent: -1px; /* account for the dashicon glyph uneven horizontal alignment */
|
text-indent: -1px; /* account for the dashicon glyph uneven horizontal alignment */
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3044,7 +3057,9 @@ img {
|
|||||||
.postbox .handle-order-higher:focus,
|
.postbox .handle-order-higher:focus,
|
||||||
.postbox .handle-order-lower:focus,
|
.postbox .handle-order-lower:focus,
|
||||||
.postbox .handlediv:focus {
|
.postbox .handlediv:focus {
|
||||||
box-shadow: none;
|
box-shadow:
|
||||||
|
0 0 0 1px #5b9dd9,
|
||||||
|
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
||||||
/* Only visible in Windows High Contrast mode */
|
/* Only visible in Windows High Contrast mode */
|
||||||
outline: 1px solid transparent;
|
outline: 1px solid transparent;
|
||||||
}
|
}
|
||||||
@ -3052,9 +3067,7 @@ img {
|
|||||||
.postbox .handle-order-higher:focus .order-higher-indicator::before,
|
.postbox .handle-order-higher:focus .order-higher-indicator::before,
|
||||||
.postbox .handle-order-lower:focus .order-lower-indicator::before,
|
.postbox .handle-order-lower:focus .order-lower-indicator::before,
|
||||||
.postbox .handlediv:focus .toggle-indicator::before {
|
.postbox .handlediv:focus .toggle-indicator::before {
|
||||||
box-shadow:
|
box-shadow: none;
|
||||||
0 0 0 1px #5b9dd9,
|
|
||||||
0 0 2px 1px rgba(30, 140, 190, 0.8);
|
|
||||||
/* Only visible in Windows High Contrast mode */
|
/* Only visible in Windows High Contrast mode */
|
||||||
outline: 1px solid transparent;
|
outline: 1px solid transparent;
|
||||||
}
|
}
|
||||||
|
2
wp-admin/css/common.min.css
vendored
2
wp-admin/css/common.min.css
vendored
File diff suppressed because one or more lines are too long
@ -13,7 +13,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.5-beta1-48464';
|
$wp_version = '5.5-beta1-48465';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 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