mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 05:31:25 +01:00
Menus: Hide the "Remove selected item" from Menus screen when no item is selected.
This changeset removes the "Remove selected item" from the classic Navigation Menus screen when no item is selected, and makes it non focusable from assistive technologies. Plus, this changeset fixes a small unrelated coding standard issue in `nav-menus.css`. Props kebbet, joedolson, audrasjb. Fixes #56942. Built from https://develop.svn.wordpress.org/trunk@55109 git-svn-id: http://core.svn.wordpress.org/trunk@54642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
73f6748ea4
commit
c58a08d9df
@ -170,7 +170,7 @@ label.bulk-select-button:focus-within {
|
||||
color: #0a4b78;
|
||||
}
|
||||
|
||||
input.bulk-select-switcher:focus + .bulk-select-button-label{
|
||||
input.bulk-select-switcher:focus + .bulk-select-button-label {
|
||||
color: #0a4b78;
|
||||
}
|
||||
|
||||
@ -192,9 +192,7 @@ input.bulk-select-switcher:focus + .bulk-select-button-label{
|
||||
}
|
||||
|
||||
.bulk-actions input.menu-items-delete.disabled {
|
||||
cursor: default;
|
||||
color: #a7aaad;
|
||||
box-shadow: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-settings {
|
||||
|
2
wp-admin/css/nav-menus-rtl.min.css
vendored
2
wp-admin/css/nav-menus-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -169,7 +169,7 @@ label.bulk-select-button:focus-within {
|
||||
color: #0a4b78;
|
||||
}
|
||||
|
||||
input.bulk-select-switcher:focus + .bulk-select-button-label{
|
||||
input.bulk-select-switcher:focus + .bulk-select-button-label {
|
||||
color: #0a4b78;
|
||||
}
|
||||
|
||||
@ -191,9 +191,7 @@ input.bulk-select-switcher:focus + .bulk-select-button-label{
|
||||
}
|
||||
|
||||
.bulk-actions input.menu-items-delete.disabled {
|
||||
cursor: default;
|
||||
color: #a7aaad;
|
||||
box-shadow: none;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.menu-settings {
|
||||
|
2
wp-admin/css/nav-menus.min.css
vendored
2
wp-admin/css/nav-menus.min.css
vendored
File diff suppressed because one or more lines are too long
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.2-alpha-55108';
|
||||
$wp_version = '6.2-alpha-55109';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user