Skip to content

Commit

Permalink
Import 51870.2.diff and adjust some instances.
Browse files Browse the repository at this point in the history
  • Loading branch information
kebbet committed Feb 6, 2024
1 parent a0fedc9 commit bcba25e
Show file tree
Hide file tree
Showing 18 changed files with 122 additions and 123 deletions.
61 changes: 34 additions & 27 deletions src/wp-admin/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,9 @@ a:focus .media-icon img,
a:focus .plugin-icon,
.wp-person a:focus .gravatar {
color: #043959;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

#adminmenu a:focus {
Expand Down Expand Up @@ -844,9 +842,9 @@ img.emoji {
}

.tagchecklist .ntdelbutton:focus .remove-tag-icon:before {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

.key-labels label {
Expand Down Expand Up @@ -1460,10 +1458,9 @@ div.error p,
}

.notice-dismiss:focus {
outline: none;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

.notice-success,
Expand Down Expand Up @@ -1764,8 +1761,10 @@ p.auto-update-status {
}

#screen-meta-links .show-settings:focus {
border-color: #4f94d4;
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
border-color: #3582c4;
box-shadow: 0 0 0 1px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

#screen-meta-links .show-settings:active {
Expand Down Expand Up @@ -2103,8 +2102,8 @@ html.wp-toolbar {
.postbox .handle-order-higher,
.postbox .handle-order-lower,
.postbox .handlediv {
width: 36px;
height: 36px;
width: 1.62rem;
height: 1.62rem;
margin: 0;
padding: 0;
border: 0;
Expand Down Expand Up @@ -3146,11 +3145,10 @@ img {
.postbox .handle-order-higher:focus,
.postbox .handle-order-lower:focus,
.postbox .handlediv:focus {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
box-shadow: inset 0 0 0 2px #3582c4;
border-radius: 50%;
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
outline: 2px solid transparent;
}

.postbox .handle-order-higher:focus .order-higher-indicator::before,
Expand Down Expand Up @@ -3249,12 +3247,17 @@ img {
[role="treeitem"] {
outline: 0;
}

[role="treeitem"] a:focus,
[role="treeitem"] .folder-label.focus {
color: #043959;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
/* 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 #3582c4;
outline-offset: -2px;
}

[role="treeitem"].hover,
[role="treeitem"] .folder-label.hover {
background-color: #f0f0f1;
Expand Down Expand Up @@ -3396,6 +3399,10 @@ img {
text-decoration: none;
}

#templateside li.current-file > a {
padding-bottom: 0;
}

#templateside li:not(.howto) > a:first-of-type {
padding-top: 0;
}
Expand Down Expand Up @@ -3481,13 +3488,13 @@ img {
.accordion-section-title:hover:after {
color: #1d2327;
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
outline: 2px solid transparent;
}

.widget-top .widget-action:focus .toggle-indicator:before {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

.control-section .accordion-section-title:after,
Expand Down
13 changes: 6 additions & 7 deletions src/wp-admin/css/customize-controls.css
Original file line number Diff line number Diff line change
Expand Up @@ -1566,10 +1566,9 @@ p.customize-section-description {
}

.customize-control-header .choice:focus {
outline: none;
box-shadow:
0 0 0 1px #4f94d4,
0 0 3px 1px rgba(79, 148, 212, 0.8);
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

.customize-control-header .uploaded div:last-child > .choice {
Expand Down Expand Up @@ -2679,9 +2678,9 @@ body.adding-widget .add-new-widget:before,

#available-widgets-filter .clear-results:focus,
#available-menu-items-search .clear-results:focus {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

#available-menu-items-search .search-icon:after,
Expand Down
8 changes: 4 additions & 4 deletions src/wp-admin/css/customize-nav-menus.css
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
.customize-screen-options-toggle:focus,
#customize-controls .customize-info .customize-help-toggle:focus {
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
outline: 2px solid transparent;
}

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


Expand Down
5 changes: 3 additions & 2 deletions src/wp-admin/css/edit.css
Original file line number Diff line number Diff line change
Expand Up @@ -1293,8 +1293,9 @@ div.tabs-panel-inactive {
}

div.tabs-panel-active:focus {
box-shadow: inset 0 0 0 1px #4f94d4, inset 0 0 2px 1px rgba(79, 148, 212, 0.8);
outline: 0 none;
box-shadow: inset 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

#front-page-warning,
Expand Down
7 changes: 7 additions & 0 deletions src/wp-admin/css/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,13 @@ fieldset label,
border-color: #68de7c;
}

#pass1:focus,
#pass1-text:focus {
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

.pw-weak {
display: none;
}
Expand Down
6 changes: 3 additions & 3 deletions src/wp-admin/css/install.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ a:active {

a:focus {
color: #043959;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

h1, h2 {
Expand Down
19 changes: 11 additions & 8 deletions src/wp-admin/css/list-tables.css
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,10 @@
}

th .comment-grey-bubble {
height: 16px;
width: 16px;
/* Make sure the link clickable area fills the entire table header. */
position: relative;
top: 2px;
}

th .comment-grey-bubble:before {
Expand Down Expand Up @@ -343,7 +345,6 @@ table.fixed {

.fixed .column-comments {
width: 5.5em;
padding: 8px 0;
text-align: left;
}

Expand Down Expand Up @@ -537,9 +538,9 @@ th.sorted.desc:hover .sorting-indicator.asc:before {
}

.wp-list-table .toggle-row:focus:before {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

.wp-list-table .toggle-row:active {
Expand Down Expand Up @@ -650,9 +651,11 @@ th.sorted a {
padding: 8px;
}

.fixed .column-comments.sortable a,
.fixed .column-comments.sorted a {
padding: 8px 0;
th.sortable a:focus,
th.sorted a:focus {
box-shadow: inset 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

th.sortable a span,
Expand Down
6 changes: 3 additions & 3 deletions src/wp-admin/css/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ a:active {

a:focus {
color: #043959;
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

p {
Expand Down
12 changes: 4 additions & 8 deletions src/wp-admin/css/media.css
Original file line number Diff line number Diff line change
Expand Up @@ -356,9 +356,7 @@
}

#find-posts-close:focus {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
outline-offset: -2px;
Expand Down Expand Up @@ -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 .selected.attachment:focus,
.media-frame.mode-grid .attachment.details:focus {
box-shadow:
inset 0 0 2px 3px #f0f0f1,
inset 0 0 0 7px #4f94d4;
box-shadow: inset 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
outline-offset: -6px;
Expand Down Expand Up @@ -1172,8 +1168,8 @@ border color while dragging a file over the uploader drop area */

.image-editor .imgedit-settings .imgedit-help-toggle:focus {
color: #2271b1;
border-color: #4f94d4;
box-shadow: 0 0 3px rgba(34, 113, 177, 0.8);
border-color: #3582c4;
box-shadow: 0 0 0 1px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
Expand Down
10 changes: 5 additions & 5 deletions src/wp-admin/css/nav-menus.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ ul.add-menu-item-tabs li {

#nav-menu-bulk-actions-bottom {
margin: 1em 0;
margin: calc( 1em + 9px ) 0 ;
margin: calc( 1em + 9px ) 0;
}

.bulk-actions input.button {
Expand Down Expand Up @@ -732,9 +732,9 @@ body.menu-max-depth-11 { min-width: 1280px !important; }
}

.nav-menus-php .item-edit:focus:before {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

/* Menu editing */
Expand Down Expand Up @@ -991,7 +991,7 @@ body.menu-max-depth-11 { min-width: 1280px !important; }

@media only screen and (min-width: 783px) {
@supports (position: sticky) and (scroll-margin-bottom: 130px) {

#nav-menu-footer {
position: sticky;
bottom: 0;
Expand Down
14 changes: 8 additions & 6 deletions src/wp-admin/css/themes.css
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,14 @@ body.js .theme-browser.search-loading {
}

.theme-browser .theme .more-details:focus {
box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2271b1;
box-shadow: 0 0 0 2px #3582c4;
}

.theme-browser .theme.focus {
border-color: #4f94d4;
box-shadow: 0 0 2px rgba(79, 148, 212, 0.8);
border-color: #3582c4;
box-shadow: 0 0 0 1px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

.theme-browser .theme.focus .more-details {
Expand Down Expand Up @@ -1586,9 +1588,9 @@ body.full-overlay-active {

.wp-full-overlay .collapse-sidebar:hover .collapse-sidebar-arrow,
.wp-full-overlay .collapse-sidebar:focus .collapse-sidebar-arrow {
box-shadow:
0 0 0 1px #4f94d4,
0 0 2px 1px rgba(79, 148, 212, 0.8);
box-shadow: 0 0 0 2px #3582c4;
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}

.wp-full-overlay .collapse-sidebar-label {
Expand Down
6 changes: 3 additions & 3 deletions src/wp-admin/css/widgets.css
Original file line number Diff line number Diff line change
Expand Up @@ -336,9 +336,9 @@
}

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

.sidebar-name h2,
Expand Down
Loading

0 comments on commit bcba25e

Please sign in to comment.