Admin: Miscellaneous reskin color and alignment fixes.

Fix a few miscellaneous colors and alignment shifts missed in previous updates. Apply the new admin link and button colors on missed cases in the customizer, classic widgets, skip links, help and screen options, and admin nav menus. 

Props joedolson, fabiankaegy.
Fixes #64652.
Built from https://develop.svn.wordpress.org/trunk@61682


git-svn-id: http://core.svn.wordpress.org/trunk@60990 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson
2026-02-18 22:03:43 +00:00
parent b9dd8f612b
commit 5444cf51c7
19 changed files with 45 additions and 37 deletions

View File

@@ -156,8 +156,8 @@
font-weight: 600;
padding: 15px 23px 14px;
/* Background and color set to prevent false positives in automated accessibility tests. */
background: #f0f0f1;
color: #2271b1;
background: #ffffff;
color: var(--wp-admin-theme-color, #3858e9);
z-index: 100000;
line-height: normal;
}
@@ -165,8 +165,8 @@
.screen-reader-shortcut:focus {
top: -25px;
/* Overrides a:focus in the admin. See ticket #56789. */
color: #2271b1;
box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
color: var(--wp-admin-theme-color, #3858e9);
box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9);
text-decoration: none;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
@@ -1895,8 +1895,8 @@ p.auto-update-status {
}
#screen-meta-links .show-settings:focus {
border-color: #2271b1;
box-shadow: 0 0 0 1px #2271b1;
border-color: var(--wp-admin-theme-color, #3858e9);
box-shadow: 0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9);
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
@@ -3446,7 +3446,7 @@ img {
/* Reset default focus style. */
box-shadow: none;
/* Use an inset outline instead, so it's visible also over the current file item. */
outline: 2px solid #2271b1;
outline: 2px solid var(--wp-admin-theme-color, #3858e9);
outline-offset: -2px;
}