Administration: Improve contrast and consistency of focus styles.

Apply new focus styles from WordPress 5.3 more broadly. An updated focus style for form inputs, buttons, and link styled as buttons was added in WordPress 5.3; this commit makes other focus styles consistent with those changes so they meet accessibility standards for color contrast.

Props johnbillion, kebbet, joedolson, afercia.
Fixes #51870.
Built from https://develop.svn.wordpress.org/trunk@57553


git-svn-id: http://core.svn.wordpress.org/trunk@57054 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
joedolson 2024-02-07 16:56:13 +00:00
parent 24ea4aaafb
commit 7464bdc47a
68 changed files with 290 additions and 285 deletions

View File

@ -280,11 +280,9 @@ a:focus .media-icon img,
a:focus .plugin-icon, a:focus .plugin-icon,
.wp-person a:focus .gravatar { .wp-person a:focus .gravatar {
color: #043959; color: #043959;
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
#adminmenu a:focus { #adminmenu a:focus {
@ -845,9 +843,9 @@ img.emoji {
} }
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before { .tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
.key-labels label { .key-labels label {
@ -1461,10 +1459,9 @@ div.error p,
} }
.notice-dismiss:focus { .notice-dismiss:focus {
outline: none; box-shadow: 0 0 0 2px #2271b1;
box-shadow: /* Only visible in Windows High Contrast mode */
0 0 0 1px #4f94d4, outline: 2px solid transparent;
0 0 2px 1px rgba(79, 148, 212, 0.8);
} }
.notice-success, .notice-success,
@ -1805,8 +1802,10 @@ p.auto-update-status {
} }
#screen-meta-links .show-settings:focus { #screen-meta-links .show-settings:focus {
border-color: #4f94d4; border-color: #2271b1;
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
#screen-meta-links .show-settings:active { #screen-meta-links .show-settings:active {
@ -2144,8 +2143,8 @@ html.wp-toolbar {
.postbox .handle-order-higher, .postbox .handle-order-higher,
.postbox .handle-order-lower, .postbox .handle-order-lower,
.postbox .handlediv { .postbox .handlediv {
width: 36px; width: 1.62rem;
height: 36px; height: 1.62rem;
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
@ -3187,11 +3186,10 @@ 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: box-shadow: inset 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, border-radius: 50%;
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.postbox .handle-order-higher:focus .order-higher-indicator::before, .postbox .handle-order-higher:focus .order-higher-indicator::before,
@ -3290,12 +3288,17 @@ img {
[role="treeitem"] { [role="treeitem"] {
outline: 0; outline: 0;
} }
[role="treeitem"] a:focus,
[role="treeitem"] .folder-label.focus { [role="treeitem"] .folder-label.focus {
color: #043959; color: #043959;
box-shadow: /* Reset default focus style. */
0 0 0 1px #4f94d4, box-shadow: none;
0 0 2px 1px rgba(79, 148, 212, 0.8); /* Use an inset outline instead, so it's visible also over the current file item. */
outline: 2px solid #2271b1;
outline-offset: -2px;
} }
[role="treeitem"].hover, [role="treeitem"].hover,
[role="treeitem"] .folder-label.hover { [role="treeitem"] .folder-label.hover {
background-color: #f0f0f1; background-color: #f0f0f1;
@ -3437,6 +3440,10 @@ img {
text-decoration: none; text-decoration: none;
} }
#templateside li.current-file > a {
padding-bottom: 0;
}
#templateside li:not(.howto) > a:first-of-type { #templateside li:not(.howto) > a:first-of-type {
padding-top: 0; padding-top: 0;
} }
@ -3522,13 +3529,13 @@ img {
.accordion-section-title:hover:after { .accordion-section-title:hover:after {
color: #1d2327; color: #1d2327;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.widget-top .widget-action:focus .toggle-indicator:before { .widget-top .widget-action:focus .toggle-indicator:before {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
.control-section .accordion-section-title:after, .control-section .accordion-section-title:after,

File diff suppressed because one or more lines are too long

View File

@ -279,11 +279,9 @@ a:focus .media-icon img,
a:focus .plugin-icon, a:focus .plugin-icon,
.wp-person a:focus .gravatar { .wp-person a:focus .gravatar {
color: #043959; color: #043959;
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
#adminmenu a:focus { #adminmenu a:focus {
@ -844,9 +842,9 @@ img.emoji {
} }
.tagchecklist .ntdelbutton:focus .remove-tag-icon:before { .tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
.key-labels label { .key-labels label {
@ -1460,10 +1458,9 @@ div.error p,
} }
.notice-dismiss:focus { .notice-dismiss:focus {
outline: none; box-shadow: 0 0 0 2px #2271b1;
box-shadow: /* Only visible in Windows High Contrast mode */
0 0 0 1px #4f94d4, outline: 2px solid transparent;
0 0 2px 1px rgba(79, 148, 212, 0.8);
} }
.notice-success, .notice-success,
@ -1804,8 +1801,10 @@ p.auto-update-status {
} }
#screen-meta-links .show-settings:focus { #screen-meta-links .show-settings:focus {
border-color: #4f94d4; border-color: #2271b1;
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
#screen-meta-links .show-settings:active { #screen-meta-links .show-settings:active {
@ -2143,8 +2142,8 @@ html.wp-toolbar {
.postbox .handle-order-higher, .postbox .handle-order-higher,
.postbox .handle-order-lower, .postbox .handle-order-lower,
.postbox .handlediv { .postbox .handlediv {
width: 36px; width: 1.62rem;
height: 36px; height: 1.62rem;
margin: 0; margin: 0;
padding: 0; padding: 0;
border: 0; border: 0;
@ -3186,11 +3185,10 @@ 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: box-shadow: inset 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, border-radius: 50%;
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.postbox .handle-order-higher:focus .order-higher-indicator::before, .postbox .handle-order-higher:focus .order-higher-indicator::before,
@ -3289,12 +3287,17 @@ img {
[role="treeitem"] { [role="treeitem"] {
outline: 0; outline: 0;
} }
[role="treeitem"] a:focus,
[role="treeitem"] .folder-label.focus { [role="treeitem"] .folder-label.focus {
color: #043959; color: #043959;
box-shadow: /* Reset default focus style. */
0 0 0 1px #4f94d4, box-shadow: none;
0 0 2px 1px rgba(79, 148, 212, 0.8); /* Use an inset outline instead, so it's visible also over the current file item. */
outline: 2px solid #2271b1;
outline-offset: -2px;
} }
[role="treeitem"].hover, [role="treeitem"].hover,
[role="treeitem"] .folder-label.hover { [role="treeitem"] .folder-label.hover {
background-color: #f0f0f1; background-color: #f0f0f1;
@ -3436,6 +3439,10 @@ img {
text-decoration: none; text-decoration: none;
} }
#templateside li.current-file > a {
padding-bottom: 0;
}
#templateside li:not(.howto) > a:first-of-type { #templateside li:not(.howto) > a:first-of-type {
padding-top: 0; padding-top: 0;
} }
@ -3521,13 +3528,13 @@ img {
.accordion-section-title:hover:after { .accordion-section-title:hover:after {
color: #1d2327; color: #1d2327;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.widget-top .widget-action:focus .toggle-indicator:before { .widget-top .widget-action:focus .toggle-indicator:before {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
.control-section .accordion-section-title:after, .control-section .accordion-section-title:after,

File diff suppressed because one or more lines are too long

View File

@ -1567,10 +1567,9 @@ p.customize-section-description {
} }
.customize-control-header .choice:focus { .customize-control-header .choice:focus {
outline: none; box-shadow: 0 0 0 2px #2271b1;
box-shadow: /* Only visible in Windows High Contrast mode */
0 0 0 1px #4f94d4, outline: 2px solid transparent;
0 0 3px 1px rgba(79, 148, 212, 0.8);
} }
.customize-control-header .uploaded div:last-child > .choice { .customize-control-header .uploaded div:last-child > .choice {
@ -2680,9 +2679,9 @@ body.adding-widget .add-new-widget:before,
#available-widgets-filter .clear-results:focus, #available-widgets-filter .clear-results:focus,
#available-menu-items-search .clear-results:focus { #available-menu-items-search .clear-results:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
#available-menu-items-search .search-icon:after, #available-menu-items-search .search-icon:after,

File diff suppressed because one or more lines are too long

View File

@ -1566,10 +1566,9 @@ p.customize-section-description {
} }
.customize-control-header .choice:focus { .customize-control-header .choice:focus {
outline: none; box-shadow: 0 0 0 2px #2271b1;
box-shadow: /* Only visible in Windows High Contrast mode */
0 0 0 1px #4f94d4, outline: 2px solid transparent;
0 0 3px 1px rgba(79, 148, 212, 0.8);
} }
.customize-control-header .uploaded div:last-child > .choice { .customize-control-header .uploaded div:last-child > .choice {
@ -2679,9 +2678,9 @@ body.adding-widget .add-new-widget:before,
#available-widgets-filter .clear-results:focus, #available-widgets-filter .clear-results:focus,
#available-menu-items-search .clear-results:focus { #available-menu-items-search .clear-results:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
#available-menu-items-search .search-icon:after, #available-menu-items-search .search-icon:after,

File diff suppressed because one or more lines are too long

View File

@ -272,7 +272,7 @@
.customize-screen-options-toggle:focus, .customize-screen-options-toggle:focus,
#customize-controls .customize-info .customize-help-toggle:focus { #customize-controls .customize-info .customize-help-toggle:focus {
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.customize-screen-options-toggle:before { .customize-screen-options-toggle:before {
@ -865,9 +865,9 @@ li.assigned-to-menu-location .add-new-menu-item {
.menu-delete:focus, .menu-delete:focus,
.menu-item-bar .item-delete:focus:before, .menu-item-bar .item-delete:focus:before,
#available-menu-items .item-add:focus:before { #available-menu-items .item-add:focus:before {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }

File diff suppressed because one or more lines are too long

View File

@ -271,7 +271,7 @@
.customize-screen-options-toggle:focus, .customize-screen-options-toggle:focus,
#customize-controls .customize-info .customize-help-toggle:focus { #customize-controls .customize-info .customize-help-toggle:focus {
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.customize-screen-options-toggle:before { .customize-screen-options-toggle:before {
@ -864,9 +864,9 @@ li.assigned-to-menu-location .add-new-menu-item {
.menu-delete:focus, .menu-delete:focus,
.menu-item-bar .item-delete:focus:before, .menu-item-bar .item-delete:focus:before,
#available-menu-items .item-add:focus:before { #available-menu-items .item-add:focus:before {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }

File diff suppressed because one or more lines are too long

View File

@ -1294,8 +1294,9 @@ div.tabs-panel-inactive {
} }
div.tabs-panel-active:focus { div.tabs-panel-active:focus {
box-shadow: inset 0 0 0 1px #4f94d4, inset 0 0 2px 1px rgba(79, 148, 212, 0.8); box-shadow: inset 0 0 0 2px #2271b1;
outline: 0 none; /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
#front-page-warning, #front-page-warning,

File diff suppressed because one or more lines are too long

View File

@ -1293,8 +1293,9 @@ div.tabs-panel-inactive {
} }
div.tabs-panel-active:focus { div.tabs-panel-active:focus {
box-shadow: inset 0 0 0 1px #4f94d4, inset 0 0 2px 1px rgba(79, 148, 212, 0.8); box-shadow: inset 0 0 0 2px #2271b1;
outline: 0 none; /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
#front-page-warning, #front-page-warning,

File diff suppressed because one or more lines are too long

View File

@ -680,6 +680,13 @@ fieldset label,
border-color: #68de7c; border-color: #68de7c;
} }
#pass1:focus,
#pass1-text:focus {
box-shadow: 0 0 0 2px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
.pw-weak { .pw-weak {
display: none; display: none;
} }

File diff suppressed because one or more lines are too long

View File

@ -679,6 +679,13 @@ fieldset label,
border-color: #68de7c; border-color: #68de7c;
} }
#pass1:focus,
#pass1-text:focus {
box-shadow: 0 0 0 2px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
.pw-weak { .pw-weak {
display: none; display: none;
} }

File diff suppressed because one or more lines are too long

View File

@ -27,9 +27,9 @@ a:active {
a:focus { a:focus {
color: #043959; color: #043959;
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
h1, h2 { h1, h2 {

File diff suppressed because one or more lines are too long

View File

@ -26,9 +26,9 @@ a:active {
a:focus { a:focus {
color: #043959; color: #043959;
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
h1, h2 { h1, h2 {

File diff suppressed because one or more lines are too long

View File

@ -262,8 +262,10 @@
} }
th .comment-grey-bubble { th .comment-grey-bubble {
height: 16px;
width: 16px; width: 16px;
/* Make sure the link clickable area fills the entire table header. */
position: relative;
top: 2px;
} }
th .comment-grey-bubble:before { th .comment-grey-bubble:before {
@ -344,7 +346,6 @@ table.fixed {
.fixed .column-comments { .fixed .column-comments {
width: 5.5em; width: 5.5em;
padding: 8px 0;
text-align: right; text-align: right;
} }
@ -538,9 +539,9 @@ th.sorted.desc:hover .sorting-indicator.asc:before {
} }
.wp-list-table .toggle-row:focus:before { .wp-list-table .toggle-row:focus:before {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
.wp-list-table .toggle-row:active { .wp-list-table .toggle-row:active {
@ -650,9 +651,11 @@ th.sorted a {
padding: 8px; padding: 8px;
} }
.fixed .column-comments.sortable a, th.sortable a:focus,
.fixed .column-comments.sorted a { th.sorted a:focus {
padding: 8px 0; box-shadow: inset 0 0 0 2px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
th.sortable a span, th.sortable a span,

File diff suppressed because one or more lines are too long

View File

@ -261,8 +261,10 @@
} }
th .comment-grey-bubble { th .comment-grey-bubble {
height: 16px;
width: 16px; width: 16px;
/* Make sure the link clickable area fills the entire table header. */
position: relative;
top: 2px;
} }
th .comment-grey-bubble:before { th .comment-grey-bubble:before {
@ -343,7 +345,6 @@ table.fixed {
.fixed .column-comments { .fixed .column-comments {
width: 5.5em; width: 5.5em;
padding: 8px 0;
text-align: left; text-align: left;
} }
@ -537,9 +538,9 @@ th.sorted.desc:hover .sorting-indicator.asc:before {
} }
.wp-list-table .toggle-row:focus:before { .wp-list-table .toggle-row:focus:before {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
.wp-list-table .toggle-row:active { .wp-list-table .toggle-row:active {
@ -649,9 +650,11 @@ th.sorted a {
padding: 8px; padding: 8px;
} }
.fixed .column-comments.sortable a, th.sortable a:focus,
.fixed .column-comments.sorted a { th.sorted a:focus {
padding: 8px 0; box-shadow: inset 0 0 0 2px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
th.sortable a span, th.sortable a span,

File diff suppressed because one or more lines are too long

View File

@ -33,9 +33,9 @@ a:active {
a:focus { a:focus {
color: #043959; color: #043959;
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
p { p {

File diff suppressed because one or more lines are too long

View File

@ -32,9 +32,9 @@ a:active {
a:focus { a:focus {
color: #043959; color: #043959;
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
p { p {

File diff suppressed because one or more lines are too long

View File

@ -357,9 +357,7 @@
} }
#find-posts-close:focus { #find-posts-close:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent; outline: 2px solid transparent;
outline-offset: -2px; outline-offset: -2px;
@ -534,9 +532,7 @@ border color while dragging a file over the uploader drop area */
.media-frame.mode-grid .attachment:focus, .media-frame.mode-grid .attachment:focus,
.media-frame.mode-grid .selected.attachment:focus, .media-frame.mode-grid .selected.attachment:focus,
.media-frame.mode-grid .attachment.details:focus { .media-frame.mode-grid .attachment.details:focus {
box-shadow: box-shadow: inset 0 0 0 2px #2271b1;
inset 0 0 2px 3px #f0f0f1,
inset 0 0 0 7px #4f94d4;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent; outline: 2px solid transparent;
outline-offset: -6px; outline-offset: -6px;
@ -1173,8 +1169,8 @@ border color while dragging a file over the uploader drop area */
.image-editor .imgedit-settings .imgedit-help-toggle:focus { .image-editor .imgedit-settings .imgedit-help-toggle:focus {
color: #2271b1; color: #2271b1;
border-color: #4f94d4; border-color: #2271b1;
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent; outline: 2px solid transparent;
} }

File diff suppressed because one or more lines are too long

View File

@ -356,9 +356,7 @@
} }
#find-posts-close:focus { #find-posts-close:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent; outline: 2px solid transparent;
outline-offset: -2px; outline-offset: -2px;
@ -533,9 +531,7 @@ border color while dragging a file over the uploader drop area */
.media-frame.mode-grid .attachment:focus, .media-frame.mode-grid .attachment:focus,
.media-frame.mode-grid .selected.attachment:focus, .media-frame.mode-grid .selected.attachment:focus,
.media-frame.mode-grid .attachment.details:focus { .media-frame.mode-grid .attachment.details:focus {
box-shadow: box-shadow: inset 0 0 0 2px #2271b1;
inset 0 0 2px 3px #f0f0f1,
inset 0 0 0 7px #4f94d4;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent; outline: 2px solid transparent;
outline-offset: -6px; outline-offset: -6px;
@ -1172,8 +1168,8 @@ border color while dragging a file over the uploader drop area */
.image-editor .imgedit-settings .imgedit-help-toggle:focus { .image-editor .imgedit-settings .imgedit-help-toggle:focus {
color: #2271b1; color: #2271b1;
border-color: #4f94d4; border-color: #2271b1;
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent; outline: 2px solid transparent;
} }

File diff suppressed because one or more lines are too long

View File

@ -104,7 +104,7 @@ ul.add-menu-item-tabs li {
#nav-menu-bulk-actions-bottom { #nav-menu-bulk-actions-bottom {
margin: 1em 0; margin: 1em 0;
margin: calc( 1em + 9px ) 0 ; margin: calc( 1em + 9px ) 0;
} }
.bulk-actions input.button { .bulk-actions input.button {
@ -733,9 +733,9 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
} }
.nav-menus-php .item-edit:focus:before { .nav-menus-php .item-edit:focus:before {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
/* Menu editing */ /* Menu editing */

File diff suppressed because one or more lines are too long

View File

@ -103,7 +103,7 @@ ul.add-menu-item-tabs li {
#nav-menu-bulk-actions-bottom { #nav-menu-bulk-actions-bottom {
margin: 1em 0; margin: 1em 0;
margin: calc( 1em + 9px ) 0 ; margin: calc( 1em + 9px ) 0;
} }
.bulk-actions input.button { .bulk-actions input.button {
@ -732,9 +732,9 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
} }
.nav-menus-php .item-edit:focus:before { .nav-menus-php .item-edit:focus:before {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
/* Menu editing */ /* Menu editing */

File diff suppressed because one or more lines are too long

View File

@ -177,12 +177,14 @@ body.js .theme-browser.search-loading {
} }
.theme-browser .theme .more-details:focus { .theme-browser .theme .more-details:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1; box-shadow: 0 0 0 2px #2271b1;
} }
.theme-browser .theme.focus { .theme-browser .theme.focus {
border-color: #4f94d4; border-color: #2271b1;
box-shadow: 0 0 2px rgba(79, 148, 212, 0.8); box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
.theme-browser .theme.focus .more-details { .theme-browser .theme.focus .more-details {
@ -1587,9 +1589,9 @@ body.full-overlay-active {
.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
.wp-full-overlay .collapse-sidebar-label { .wp-full-overlay .collapse-sidebar-label {

File diff suppressed because one or more lines are too long

View File

@ -176,12 +176,14 @@ body.js .theme-browser.search-loading {
} }
.theme-browser .theme .more-details:focus { .theme-browser .theme .more-details:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1; box-shadow: 0 0 0 2px #2271b1;
} }
.theme-browser .theme.focus { .theme-browser .theme.focus {
border-color: #4f94d4; border-color: #2271b1;
box-shadow: 0 0 2px rgba(79, 148, 212, 0.8); box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
.theme-browser .theme.focus .more-details { .theme-browser .theme.focus .more-details {
@ -1586,9 +1588,9 @@ body.full-overlay-active {
.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow, .wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow { .wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
.wp-full-overlay .collapse-sidebar-label { .wp-full-overlay .collapse-sidebar-label {

File diff suppressed because one or more lines are too long

View File

@ -337,9 +337,9 @@
} }
.sidebar-name .handlediv:focus .toggle-indicator:before { .sidebar-name .handlediv:focus .toggle-indicator:before {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
.sidebar-name h2, .sidebar-name h2,

File diff suppressed because one or more lines are too long

View File

@ -336,9 +336,9 @@
} }
.sidebar-name .handlediv:focus .toggle-indicator:before { .sidebar-name .handlediv:focus .toggle-indicator:before {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
.sidebar-name h2, .sidebar-name h2,

File diff suppressed because one or more lines are too long

View File

@ -216,11 +216,9 @@ TABLE OF CONTENTS:
.wp-core-ui .button-link:focus { .wp-core-ui .button-link:focus {
color: #043959; color: #043959;
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.wp-core-ui .button-link-delete { .wp-core-ui .button-link-delete {

File diff suppressed because one or more lines are too long

View File

@ -215,11 +215,9 @@ TABLE OF CONTENTS:
.wp-core-ui .button-link:focus { .wp-core-ui .button-link:focus {
color: #043959; color: #043959;
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.wp-core-ui .button-link-delete { .wp-core-ui .button-link-delete {

File diff suppressed because one or more lines are too long

View File

@ -88,8 +88,9 @@
.mce-window-head .mce-close:focus .mce-i-remove, .mce-window-head .mce-close:focus .mce-i-remove,
div.mce-tab:focus { div.mce-tab:focus {
box-shadow: 0 0 0 1px #4f94d4, box-shadow: 0 0 0 2px #2271b1;
0 0 2px 1px rgba(79, 148, 212, 0.8); /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
.mce-window .mce-window-head .mce-dragh { .mce-window .mce-window-head .mce-dragh {
@ -114,7 +115,9 @@ div.mce-tab:focus {
.mce-checkbox:focus i.mce-i-checkbox, .mce-checkbox:focus i.mce-i-checkbox,
#wp-link .query-results:focus { #wp-link .query-results:focus {
border-color: #4f94d4; border-color: #4f94d4;
box-shadow: 0 0 2px rgba(79, 148, 212, 0.8); box-shadow: 0 0 0 2px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
.mce-window .mce-wp-help { .mce-window .mce-wp-help {
@ -410,10 +413,10 @@ div.mce-path {
.qt-dfw:hover, .qt-dfw:hover,
.qt-dfw:focus { .qt-dfw:focus {
background: #f6f7f7; background: #f6f7f7;
border-color: #50575e;
color: #1d2327; color: #1d2327;
box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0, 0, 0, 0.08); box-shadow: 0 0 0 2px #2271b1;
outline: none; /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
.mce-toolbar .mce-btn-group .mce-btn.mce-active, .mce-toolbar .mce-btn-group .mce-btn.mce-active,
@ -421,7 +424,6 @@ div.mce-path {
.qt-dfw.active { .qt-dfw.active {
background: #f0f0f1; background: #f0f0f1;
border-color: #50575e; border-color: #50575e;
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.3);
} }
.mce-btn.mce-active, .mce-btn.mce-active,
@ -533,12 +535,13 @@ div.mce-path {
direction: rtl; direction: rtl;
background: #fff; background: #fff;
border: 1px solid #dcdcde; border: 1px solid #dcdcde;
box-shadow: inset 0 1px 1px -1px rgba(0, 0, 0, 0.2);
} }
.mce-toolbar .mce-btn-group .mce-btn.mce-listbox:hover, .mce-toolbar .mce-btn-group .mce-btn.mce-listbox:hover,
.mce-toolbar .mce-btn-group .mce-btn.mce-listbox:focus { .mce-toolbar .mce-btn-group .mce-btn.mce-listbox:focus {
border-color: #c3c4c7; box-shadow: 0 0 0 2px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
.mce-panel .mce-btn i.mce-caret { .mce-panel .mce-btn i.mce-caret {
@ -636,9 +639,9 @@ div.mce-menubar {
.mce-menubar .mce-menubtn:focus { .mce-menubar .mce-menubtn:focus {
color: #043959; color: #043959;
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
div.mce-menu .mce-menu-item-sep, div.mce-menu .mce-menu-item-sep,
@ -1132,10 +1135,9 @@ i.mce-i-wp_code:before {
} }
.wp-switch-editor:focus { .wp-switch-editor:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
outline: none;
color: #1d2327; color: #1d2327;
} }
@ -1446,10 +1448,7 @@ i.mce-i-wp_code:before {
} }
#wp-link-close:focus { #wp-link-close:focus {
outline: none; box-shadow: 0 0 0 2px #2271b1;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent; outline: 2px solid transparent;
outline-offset: -2px; outline-offset: -2px;

File diff suppressed because one or more lines are too long

View File

@ -87,8 +87,9 @@
.mce-window-head .mce-close:focus .mce-i-remove, .mce-window-head .mce-close:focus .mce-i-remove,
div.mce-tab:focus { div.mce-tab:focus {
box-shadow: 0 0 0 1px #4f94d4, box-shadow: 0 0 0 2px #2271b1;
0 0 2px 1px rgba(79, 148, 212, 0.8); /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
.mce-window .mce-window-head .mce-dragh { .mce-window .mce-window-head .mce-dragh {
@ -113,7 +114,9 @@ div.mce-tab:focus {
.mce-checkbox:focus i.mce-i-checkbox, .mce-checkbox:focus i.mce-i-checkbox,
#wp-link .query-results:focus { #wp-link .query-results:focus {
border-color: #4f94d4; border-color: #4f94d4;
box-shadow: 0 0 2px rgba(79, 148, 212, 0.8); box-shadow: 0 0 0 2px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
.mce-window .mce-wp-help { .mce-window .mce-wp-help {
@ -409,10 +412,10 @@ div.mce-path {
.qt-dfw:hover, .qt-dfw:hover,
.qt-dfw:focus { .qt-dfw:focus {
background: #f6f7f7; background: #f6f7f7;
border-color: #50575e;
color: #1d2327; color: #1d2327;
box-shadow: inset 0 1px 0 #fff, 0 1px 0 rgba(0, 0, 0, 0.08); box-shadow: 0 0 0 2px #2271b1;
outline: none; /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
.mce-toolbar .mce-btn-group .mce-btn.mce-active, .mce-toolbar .mce-btn-group .mce-btn.mce-active,
@ -420,7 +423,6 @@ div.mce-path {
.qt-dfw.active { .qt-dfw.active {
background: #f0f0f1; background: #f0f0f1;
border-color: #50575e; border-color: #50575e;
box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.3);
} }
.mce-btn.mce-active, .mce-btn.mce-active,
@ -532,12 +534,13 @@ div.mce-path {
direction: ltr; direction: ltr;
background: #fff; background: #fff;
border: 1px solid #dcdcde; border: 1px solid #dcdcde;
box-shadow: inset 0 1px 1px -1px rgba(0, 0, 0, 0.2);
} }
.mce-toolbar .mce-btn-group .mce-btn.mce-listbox:hover, .mce-toolbar .mce-btn-group .mce-btn.mce-listbox:hover,
.mce-toolbar .mce-btn-group .mce-btn.mce-listbox:focus { .mce-toolbar .mce-btn-group .mce-btn.mce-listbox:focus {
border-color: #c3c4c7; box-shadow: 0 0 0 2px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
} }
.mce-panel .mce-btn i.mce-caret { .mce-panel .mce-btn i.mce-caret {
@ -635,9 +638,9 @@ div.mce-menubar {
.mce-menubar .mce-menubtn:focus { .mce-menubar .mce-menubtn:focus {
color: #043959; color: #043959;
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
} }
div.mce-menu .mce-menu-item-sep, div.mce-menu .mce-menu-item-sep,
@ -1131,10 +1134,9 @@ i.mce-i-wp_code:before {
} }
.wp-switch-editor:focus { .wp-switch-editor:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4, /* Only visible in Windows High Contrast mode */
0 0 2px 1px rgba(79, 148, 212, 0.8); outline: 2px solid transparent;
outline: none;
color: #1d2327; color: #1d2327;
} }
@ -1445,10 +1447,7 @@ i.mce-i-wp_code:before {
} }
#wp-link-close:focus { #wp-link-close:focus {
outline: none; box-shadow: 0 0 0 2px #2271b1;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent; outline: 2px solid transparent;
outline-offset: -2px; outline-offset: -2px;

File diff suppressed because one or more lines are too long

View File

@ -313,9 +313,7 @@
} }
.ui-button.ui-dialog-titlebar-close:focus { .ui-button.ui-dialog-titlebar-close:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent; outline: 2px solid transparent;
outline-offset: -2px; outline-offset: -2px;

View File

@ -15,4 +15,4 @@
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
* Released under the MIT license. * Released under the MIT license.
* http://jquery.org/license * http://jquery.org/license
*/.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;right:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;right:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-button{display:inline-block;text-decoration:none;font-size:13px;line-height:2;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;color:#50575e;border-color:#c3c4c7;background:#f6f7f7;box-shadow:0 1px 0 #c3c4c7;vertical-align:top}.ui-button:active,.ui-button:focus{outline:0}.ui-button::-moz-focus-inner{border-width:0;border-style:none;padding:0}.ui-button:focus,.ui-button:hover{background:#f6f7f7;border-color:#8c8f94;color:#1d2327}.ui-button:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8)}.ui-button:active{background:#f0f0f1;border-color:#8c8f94;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.ui-button:disabled,.ui-button[disabled]{color:#a7aaad!important;border-color:#dcdcde!important;background:#f6f7f7!important;box-shadow:none!important;text-shadow:0 1px 0 #fff!important;cursor:default;transform:none!important}@media screen and (max-width:782px){.ui-button{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}}.ui-dialog{position:absolute;top:0;right:0;z-index:100102;background-color:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);overflow:hidden}.ui-dialog-titlebar{background:#fff;border-bottom:1px solid #dcdcde;height:36px;font-size:18px;font-weight:600;line-height:2;padding:0 16px 0 36px}.ui-button.ui-dialog-titlebar-close{background:0 0;border:none;box-shadow:none;color:#646970;cursor:pointer;display:block;padding:0;position:absolute;top:0;left:0;width:36px;height:36px;text-align:center;border-radius:0;overflow:hidden}.ui-dialog-titlebar-close:before{font:normal 20px/1 dashicons;vertical-align:top;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.8;width:36px;height:36px;content:"\f158"}.ui-button.ui-dialog-titlebar-close:focus,.ui-button.ui-dialog-titlebar-close:hover{color:#135e96}.ui-button.ui-dialog-titlebar-close:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:2px solid transparent;outline-offset:-2px}.ui-dialog-content{padding:16px;overflow:auto}.ui-dialog-buttonpane{background:#fff;border-top:1px solid #dcdcde;padding:16px}.ui-dialog-buttonpane .ui-button{margin-right:16px}.ui-dialog-buttonpane .ui-dialog-buttonset{float:left}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-widget-overlay{position:fixed;top:0;right:0;left:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:100101} */.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;right:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;right:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-button{display:inline-block;text-decoration:none;font-size:13px;line-height:2;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;color:#50575e;border-color:#c3c4c7;background:#f6f7f7;box-shadow:0 1px 0 #c3c4c7;vertical-align:top}.ui-button:active,.ui-button:focus{outline:0}.ui-button::-moz-focus-inner{border-width:0;border-style:none;padding:0}.ui-button:focus,.ui-button:hover{background:#f6f7f7;border-color:#8c8f94;color:#1d2327}.ui-button:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8)}.ui-button:active{background:#f0f0f1;border-color:#8c8f94;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.ui-button:disabled,.ui-button[disabled]{color:#a7aaad!important;border-color:#dcdcde!important;background:#f6f7f7!important;box-shadow:none!important;text-shadow:0 1px 0 #fff!important;cursor:default;transform:none!important}@media screen and (max-width:782px){.ui-button{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}}.ui-dialog{position:absolute;top:0;right:0;z-index:100102;background-color:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);overflow:hidden}.ui-dialog-titlebar{background:#fff;border-bottom:1px solid #dcdcde;height:36px;font-size:18px;font-weight:600;line-height:2;padding:0 16px 0 36px}.ui-button.ui-dialog-titlebar-close{background:0 0;border:none;box-shadow:none;color:#646970;cursor:pointer;display:block;padding:0;position:absolute;top:0;left:0;width:36px;height:36px;text-align:center;border-radius:0;overflow:hidden}.ui-dialog-titlebar-close:before{font:normal 20px/1 dashicons;vertical-align:top;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.8;width:36px;height:36px;content:"\f158"}.ui-button.ui-dialog-titlebar-close:focus,.ui-button.ui-dialog-titlebar-close:hover{color:#135e96}.ui-button.ui-dialog-titlebar-close:focus{box-shadow:0 0 0 2px #2271b1;outline:2px solid transparent;outline-offset:-2px}.ui-dialog-content{padding:16px;overflow:auto}.ui-dialog-buttonpane{background:#fff;border-top:1px solid #dcdcde;padding:16px}.ui-dialog-buttonpane .ui-button{margin-right:16px}.ui-dialog-buttonpane .ui-dialog-buttonset{float:left}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-widget-overlay{position:fixed;top:0;right:0;left:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:100101}

View File

@ -312,9 +312,7 @@
} }
.ui-button.ui-dialog-titlebar-close:focus { .ui-button.ui-dialog-titlebar-close:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent; outline: 2px solid transparent;
outline-offset: -2px; outline-offset: -2px;

View File

@ -15,4 +15,4 @@
* Copyright jQuery Foundation and other contributors * Copyright jQuery Foundation and other contributors
* Released under the MIT license. * Released under the MIT license.
* http://jquery.org/license * http://jquery.org/license
*/.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-button{display:inline-block;text-decoration:none;font-size:13px;line-height:2;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;color:#50575e;border-color:#c3c4c7;background:#f6f7f7;box-shadow:0 1px 0 #c3c4c7;vertical-align:top}.ui-button:active,.ui-button:focus{outline:0}.ui-button::-moz-focus-inner{border-width:0;border-style:none;padding:0}.ui-button:focus,.ui-button:hover{background:#f6f7f7;border-color:#8c8f94;color:#1d2327}.ui-button:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8)}.ui-button:active{background:#f0f0f1;border-color:#8c8f94;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.ui-button:disabled,.ui-button[disabled]{color:#a7aaad!important;border-color:#dcdcde!important;background:#f6f7f7!important;box-shadow:none!important;text-shadow:0 1px 0 #fff!important;cursor:default;transform:none!important}@media screen and (max-width:782px){.ui-button{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}}.ui-dialog{position:absolute;top:0;left:0;z-index:100102;background-color:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);overflow:hidden}.ui-dialog-titlebar{background:#fff;border-bottom:1px solid #dcdcde;height:36px;font-size:18px;font-weight:600;line-height:2;padding:0 36px 0 16px}.ui-button.ui-dialog-titlebar-close{background:0 0;border:none;box-shadow:none;color:#646970;cursor:pointer;display:block;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;border-radius:0;overflow:hidden}.ui-dialog-titlebar-close:before{font:normal 20px/1 dashicons;vertical-align:top;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.8;width:36px;height:36px;content:"\f158"}.ui-button.ui-dialog-titlebar-close:focus,.ui-button.ui-dialog-titlebar-close:hover{color:#135e96}.ui-button.ui-dialog-titlebar-close:focus{box-shadow:0 0 0 1px #4f94d4,0 0 2px 1px rgba(79,148,212,.8);outline:2px solid transparent;outline-offset:-2px}.ui-dialog-content{padding:16px;overflow:auto}.ui-dialog-buttonpane{background:#fff;border-top:1px solid #dcdcde;padding:16px}.ui-dialog-buttonpane .ui-button{margin-left:16px}.ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-widget-overlay{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:100101} */.ui-resizable{position:relative}.ui-resizable-handle{position:absolute;font-size:.1px;display:block;touch-action:none}.ui-resizable-autohide .ui-resizable-handle,.ui-resizable-disabled .ui-resizable-handle{display:none}.ui-resizable-n{cursor:n-resize;height:7px;width:100%;top:-5px;left:0}.ui-resizable-s{cursor:s-resize;height:7px;width:100%;bottom:-5px;left:0}.ui-resizable-e{cursor:e-resize;width:7px;right:-5px;top:0;height:100%}.ui-resizable-w{cursor:w-resize;width:7px;left:-5px;top:0;height:100%}.ui-resizable-se{cursor:se-resize;width:12px;height:12px;right:1px;bottom:1px}.ui-resizable-sw{cursor:sw-resize;width:9px;height:9px;left:-5px;bottom:-5px}.ui-resizable-nw{cursor:nw-resize;width:9px;height:9px;left:-5px;top:-5px}.ui-resizable-ne{cursor:ne-resize;width:9px;height:9px;right:-5px;top:-5px}.ui-button{display:inline-block;text-decoration:none;font-size:13px;line-height:2;height:28px;margin:0;padding:0 10px 1px;cursor:pointer;border-width:1px;border-style:solid;-webkit-appearance:none;border-radius:3px;white-space:nowrap;box-sizing:border-box;color:#50575e;border-color:#c3c4c7;background:#f6f7f7;box-shadow:0 1px 0 #c3c4c7;vertical-align:top}.ui-button:active,.ui-button:focus{outline:0}.ui-button::-moz-focus-inner{border-width:0;border-style:none;padding:0}.ui-button:focus,.ui-button:hover{background:#f6f7f7;border-color:#8c8f94;color:#1d2327}.ui-button:focus{border-color:#4f94d4;box-shadow:0 0 3px rgba(34,113,177,.8)}.ui-button:active{background:#f0f0f1;border-color:#8c8f94;box-shadow:inset 0 2px 5px -3px rgba(0,0,0,.5)}.ui-button:disabled,.ui-button[disabled]{color:#a7aaad!important;border-color:#dcdcde!important;background:#f6f7f7!important;box-shadow:none!important;text-shadow:0 1px 0 #fff!important;cursor:default;transform:none!important}@media screen and (max-width:782px){.ui-button{padding:6px 14px;line-height:normal;font-size:14px;vertical-align:middle;height:auto;margin-bottom:4px}}.ui-dialog{position:absolute;top:0;left:0;z-index:100102;background-color:#fff;box-shadow:0 3px 6px rgba(0,0,0,.3);overflow:hidden}.ui-dialog-titlebar{background:#fff;border-bottom:1px solid #dcdcde;height:36px;font-size:18px;font-weight:600;line-height:2;padding:0 36px 0 16px}.ui-button.ui-dialog-titlebar-close{background:0 0;border:none;box-shadow:none;color:#646970;cursor:pointer;display:block;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;border-radius:0;overflow:hidden}.ui-dialog-titlebar-close:before{font:normal 20px/1 dashicons;vertical-align:top;speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.8;width:36px;height:36px;content:"\f158"}.ui-button.ui-dialog-titlebar-close:focus,.ui-button.ui-dialog-titlebar-close:hover{color:#135e96}.ui-button.ui-dialog-titlebar-close:focus{box-shadow:0 0 0 2px #2271b1;outline:2px solid transparent;outline-offset:-2px}.ui-dialog-content{padding:16px;overflow:auto}.ui-dialog-buttonpane{background:#fff;border-top:1px solid #dcdcde;padding:16px}.ui-dialog-buttonpane .ui-button{margin-left:16px}.ui-dialog-buttonpane .ui-dialog-buttonset{float:right}.ui-draggable .ui-dialog-titlebar{cursor:move}.ui-widget-overlay{position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;z-index:100101}

View File

@ -46,12 +46,10 @@
} }
.media-frame a:focus { .media-frame a:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
color: #043959; color: #043959;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.media-frame a.button { .media-frame a.button {
@ -650,12 +648,10 @@
} }
.media-menu .media-menu-item:focus { .media-menu .media-menu-item:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
color: #043959; color: #043959;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.media-menu .separator { .media-menu .separator {
@ -705,12 +701,10 @@
} }
.media-router .media-menu-item:focus { .media-router .media-menu-item:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
color: #043959; color: #043959;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.media-router .active, .media-router .active,
@ -2018,8 +2012,8 @@
.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus { .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus {
color: #2271b1; color: #2271b1;
border-color: #4f94d4; border-color: #2271b1;
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent; outline: 2px solid transparent;
} }
@ -2135,8 +2129,8 @@
} }
.mejs-container:focus { .mejs-container:focus {
outline: 1px solid #4f94d4; outline: 1px solid #2271b1;
box-shadow: 0 0 2px 1px rgba(79, 148, 212, 0.8); box-shadow: 0 0 0 2px #2271b1;
} }
.image-details .media-modal { .image-details .media-modal {

File diff suppressed because one or more lines are too long

View File

@ -45,12 +45,10 @@
} }
.media-frame a:focus { .media-frame a:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
color: #043959; color: #043959;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.media-frame a.button { .media-frame a.button {
@ -649,12 +647,10 @@
} }
.media-menu .media-menu-item:focus { .media-menu .media-menu-item:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
color: #043959; color: #043959;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.media-menu .separator { .media-menu .separator {
@ -704,12 +700,10 @@
} }
.media-router .media-menu-item:focus { .media-router .media-menu-item:focus {
box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
color: #043959; color: #043959;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 1px solid transparent; outline: 2px solid transparent;
} }
.media-router .active, .media-router .active,
@ -2017,8 +2011,8 @@
.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus { .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus {
color: #2271b1; color: #2271b1;
border-color: #4f94d4; border-color: #2271b1;
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); box-shadow: 0 0 0 1px #2271b1;
/* Only visible in Windows High Contrast mode */ /* Only visible in Windows High Contrast mode */
outline: 2px solid transparent; outline: 2px solid transparent;
} }
@ -2134,8 +2128,8 @@
} }
.mejs-container:focus { .mejs-container:focus {
outline: 1px solid #4f94d4; outline: 1px solid #2271b1;
box-shadow: 0 0 2px 1px rgba(79, 148, 212, 0.8); box-shadow: 0 0 0 2px #2271b1;
} }
.image-details .media-modal { .image-details .media-modal {

File diff suppressed because one or more lines are too long

View File

@ -216,7 +216,9 @@ p.wp-embed-heading {
.wp-embed-share-dialog-open:focus .dashicons, .wp-embed-share-dialog-open:focus .dashicons,
.wp-embed-share-dialog-close:focus .dashicons { .wp-embed-share-dialog-close:focus .dashicons {
box-shadow: 0 0 0 1px #4f94d4, 0 0 2px 1px rgba(79, 148, 212, 0.8); box-shadow: 0 0 0 2px #2271b1;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
border-radius: 100%; border-radius: 100%;
} }

File diff suppressed because one or more lines are too long

View File

@ -3905,21 +3905,16 @@ function _default_wp_die_handler( $message, $title = '', $args = array() ) {
font-size: 14px ; font-size: 14px ;
} }
a { a {
color: #0073aa; color: #2271b1;
} }
a:hover, a:hover,
a:active { a:active {
color: #006799; color: #135e96;
} }
a:focus { a:focus {
color: #124964; color: #043959;
-webkit-box-shadow: box-shadow: 0 0 0 2px #2271b1;
0 0 0 1px #5b9dd9, outline: 2px solid transparent;
0 0 2px 1px rgba(30, 140, 190, 0.8);
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, 0.8);
outline: none;
} }
.button { .button {
background: #f3f5f6; background: #f3f5f6;

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.5-alpha-57552'; $wp_version = '6.5-alpha-57553';
/** /**
* 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.