Toolbar: Add search icon prefix to command palette item in admin bar.

Displays a search icon before the shortcut text in desktop view to clarify the item's purpose.

Follow-up to [61912], [61979].

Props sabernhardt, siliconforks, presskopp, westonruter, wildworks.
See #64672.
Built from https://develop.svn.wordpress.org/trunk@62092


git-svn-id: http://core.svn.wordpress.org/trunk@61374 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
wildworks
2026-03-23 11:02:57 +00:00
parent ee25f8b635
commit 1d1a1ae9e2
5 changed files with 5 additions and 19 deletions

View File

@@ -698,13 +698,10 @@ html:lang(he-il) .rtl #wpadminbar * {
/**
* Command Palette
*/
#wpadminbar #wp-admin-bar-command-palette .ab-icon {
display: none; /* Icon displayed only on mobile */
}
#wpadminbar #wp-admin-bar-command-palette .ab-icon:before {
content: "\f179";
content: "\f179" / '';
top: 3px;
}
#wpadminbar #wp-admin-bar-command-palette kbd {
@@ -959,10 +956,6 @@ html:lang(he-il) .rtl #wpadminbar * {
margin: 0;
}
#wpadminbar #wp-admin-bar-command-palette .ab-icon {
display: block; /* Icon is only shown on mobile, while the keyboard shortcut is hidden */
}
#wpadminbar #wp-admin-bar-comments .ab-icon:before,
#wpadminbar #wp-admin-bar-command-palette .ab-icon:before {
display: block;

File diff suppressed because one or more lines are too long

View File

@@ -697,13 +697,10 @@ html:lang(he-il) .rtl #wpadminbar * {
/**
* Command Palette
*/
#wpadminbar #wp-admin-bar-command-palette .ab-icon {
display: none; /* Icon displayed only on mobile */
}
#wpadminbar #wp-admin-bar-command-palette .ab-icon:before {
content: "\f179";
content: "\f179" / '';
top: 3px;
}
#wpadminbar #wp-admin-bar-command-palette kbd {
@@ -958,10 +955,6 @@ html:lang(he-il) .rtl #wpadminbar * {
margin: 0;
}
#wpadminbar #wp-admin-bar-command-palette .ab-icon {
display: block; /* Icon is only shown on mobile, while the keyboard shortcut is hidden */
}
#wpadminbar #wp-admin-bar-comments .ab-icon:before,
#wpadminbar #wp-admin-bar-command-palette .ab-icon:before {
display: block;

File diff suppressed because one or more lines are too long

View File

@@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '7.0-beta6-62091';
$wp_version = '7.0-beta6-62092';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.